@wistia/vhs 2.77.1-beta.58d8b36a.01cf871 → 2.77.1-beta.6a2e2372.0db3645

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.
Files changed (120) hide show
  1. package/dist/components/ActionModal/index.d.ts +1 -0
  2. package/dist/components/ActionModal/index.d.ts.map +1 -1
  3. package/dist/components/Backdrop/index.d.ts +1 -0
  4. package/dist/components/Backdrop/index.d.ts.map +1 -1
  5. package/dist/components/BackgroundImage/index.d.ts +1 -0
  6. package/dist/components/BackgroundImage/index.d.ts.map +1 -1
  7. package/dist/components/Badge/index.d.ts +1 -1
  8. package/dist/components/Badge/index.d.ts.map +1 -1
  9. package/dist/components/Banner/index.d.ts +1 -0
  10. package/dist/components/Banner/index.d.ts.map +1 -1
  11. package/dist/components/Box/index.d.ts +1 -0
  12. package/dist/components/Box/index.d.ts.map +1 -1
  13. package/dist/components/Breakline/index.d.ts +1 -0
  14. package/dist/components/Breakline/index.d.ts.map +1 -1
  15. package/dist/components/ButtonGroup/index.d.ts +1 -0
  16. package/dist/components/ButtonGroup/index.d.ts.map +1 -1
  17. package/dist/components/ButtonLink/index.d.ts +1 -0
  18. package/dist/components/ButtonLink/index.d.ts.map +1 -1
  19. package/dist/components/Checkbox/Checkbox.d.ts +1 -1
  20. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  21. package/dist/components/Checkbox/index.d.ts +1 -0
  22. package/dist/components/Checkbox/index.d.ts.map +1 -1
  23. package/dist/components/CheckboxGroup/index.d.ts +1 -0
  24. package/dist/components/CheckboxGroup/index.d.ts.map +1 -1
  25. package/dist/components/ClickArea/index.d.ts +1 -0
  26. package/dist/components/ClickArea/index.d.ts.map +1 -1
  27. package/dist/components/CloseButton/index.d.ts +1 -0
  28. package/dist/components/CloseButton/index.d.ts.map +1 -1
  29. package/dist/components/CollapsibleGroup/index.d.ts +1 -0
  30. package/dist/components/CollapsibleGroup/index.d.ts.map +1 -1
  31. package/dist/components/Divider/index.d.ts +1 -0
  32. package/dist/components/Divider/index.d.ts.map +1 -1
  33. package/dist/components/Ellipsis/index.d.ts +1 -0
  34. package/dist/components/Ellipsis/index.d.ts.map +1 -1
  35. package/dist/components/FileSelect/index.d.ts +1 -0
  36. package/dist/components/FileSelect/index.d.ts.map +1 -1
  37. package/dist/components/Form/index.d.ts +1 -1
  38. package/dist/components/Form/index.d.ts.map +1 -1
  39. package/dist/components/FormButtons/index.d.ts +1 -0
  40. package/dist/components/FormButtons/index.d.ts.map +1 -1
  41. package/dist/components/FormFieldError/FormFieldError.d.ts +2 -2
  42. package/dist/components/FormFieldError/FormFieldError.d.ts.map +1 -1
  43. package/dist/components/FormFieldError/index.d.ts +1 -0
  44. package/dist/components/FormFieldError/index.d.ts.map +1 -1
  45. package/dist/components/FullScreenModal/index.d.ts +1 -0
  46. package/dist/components/FullScreenModal/index.d.ts.map +1 -1
  47. package/dist/components/IconButton/index.d.ts +1 -0
  48. package/dist/components/IconButton/index.d.ts.map +1 -1
  49. package/dist/components/Image/index.d.ts +1 -0
  50. package/dist/components/Image/index.d.ts.map +1 -1
  51. package/dist/components/Input/index.d.ts +1 -0
  52. package/dist/components/Input/index.d.ts.map +1 -1
  53. package/dist/components/Label/index.d.ts +1 -0
  54. package/dist/components/Label/index.d.ts.map +1 -1
  55. package/dist/components/LabelDescription/index.d.ts +1 -0
  56. package/dist/components/LabelDescription/index.d.ts.map +1 -1
  57. package/dist/components/Link/index.d.ts +1 -0
  58. package/dist/components/Link/index.d.ts.map +1 -1
  59. package/dist/components/LinkButton/index.d.ts +1 -0
  60. package/dist/components/LinkButton/index.d.ts.map +1 -1
  61. package/dist/components/List/index.d.ts +2 -0
  62. package/dist/components/List/index.d.ts.map +1 -1
  63. package/dist/components/MediaObject/index.d.ts +1 -0
  64. package/dist/components/MediaObject/index.d.ts.map +1 -1
  65. package/dist/components/Menu/index.d.ts +2 -0
  66. package/dist/components/Menu/index.d.ts.map +1 -1
  67. package/dist/components/MenuButton/index.d.ts +1 -0
  68. package/dist/components/MenuButton/index.d.ts.map +1 -1
  69. package/dist/components/ModalBase/index.d.ts +1 -1
  70. package/dist/components/ModalBase/index.d.ts.map +1 -1
  71. package/dist/components/Paper/index.d.ts +1 -0
  72. package/dist/components/Paper/index.d.ts.map +1 -1
  73. package/dist/components/ProgressBar/index.d.ts +1 -0
  74. package/dist/components/ProgressBar/index.d.ts.map +1 -1
  75. package/dist/components/Radio/index.d.ts +1 -0
  76. package/dist/components/Radio/index.d.ts.map +1 -1
  77. package/dist/components/RadioGroup/index.d.ts +1 -0
  78. package/dist/components/RadioGroup/index.d.ts.map +1 -1
  79. package/dist/components/RangeSelectorCalendar/index.d.ts +1 -0
  80. package/dist/components/RangeSelectorCalendar/index.d.ts.map +1 -1
  81. package/dist/components/RangeSelectorInput/RangeSelectorInput.d.ts.map +1 -1
  82. package/dist/components/RangeSelectorInput/index.d.ts +1 -0
  83. package/dist/components/RangeSelectorInput/index.d.ts.map +1 -1
  84. package/dist/components/RichTextEditor/index.d.ts +1 -0
  85. package/dist/components/RichTextEditor/index.d.ts.map +1 -1
  86. package/dist/components/ScreenReaderOnly/index.d.ts +1 -0
  87. package/dist/components/ScreenReaderOnly/index.d.ts.map +1 -1
  88. package/dist/components/Select/Select.d.ts +1 -1
  89. package/dist/components/Select/Select.d.ts.map +1 -1
  90. package/dist/components/Select/index.d.ts +1 -1
  91. package/dist/components/Select/index.d.ts.map +1 -1
  92. package/dist/components/Slider/index.d.ts +1 -0
  93. package/dist/components/Slider/index.d.ts.map +1 -1
  94. package/dist/components/Stack/index.d.ts +1 -0
  95. package/dist/components/Stack/index.d.ts.map +1 -1
  96. package/dist/components/Switch/index.d.ts +1 -0
  97. package/dist/components/Switch/index.d.ts.map +1 -1
  98. package/dist/components/Text/index.d.ts +1 -0
  99. package/dist/components/Text/index.d.ts.map +1 -1
  100. package/dist/components/Thumbnail/index.d.ts +1 -0
  101. package/dist/components/Thumbnail/index.d.ts.map +1 -1
  102. package/dist/components/ThumbnailCollage/ThumbnailCollage.d.ts +1 -1
  103. package/dist/components/ThumbnailCollage/ThumbnailCollage.d.ts.map +1 -1
  104. package/dist/components/ThumbnailCollage/index.d.ts +1 -0
  105. package/dist/components/ThumbnailCollage/index.d.ts.map +1 -1
  106. package/dist/components/Toast/index.d.ts +1 -1
  107. package/dist/components/Toast/index.d.ts.map +1 -1
  108. package/dist/components/Truncate/index.d.ts +1 -0
  109. package/dist/components/Truncate/index.d.ts.map +1 -1
  110. package/dist/components/WistiaLogo/index.d.ts +1 -0
  111. package/dist/components/WistiaLogo/index.d.ts.map +1 -1
  112. package/dist/components/WistiaLogoNew/WistiaLogoNew.d.ts +2 -2
  113. package/dist/components/WistiaLogoNew/WistiaLogoNew.d.ts.map +1 -1
  114. package/dist/components/WistiaLogoNew/index.d.ts +1 -0
  115. package/dist/components/WistiaLogoNew/index.d.ts.map +1 -1
  116. package/dist/index.cjs +115 -115
  117. package/dist/index.cjs.map +3 -3
  118. package/dist/index.mjs +114 -114
  119. package/dist/index.mjs.map +3 -3
  120. package/package.json +12 -12
package/dist/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
 
2
2
  /*
3
- * @license @wistia/vhs v2.77.1-beta.58d8b36a.01cf871
3
+ * @license @wistia/vhs v2.77.1-beta.6a2e2372.0db3645
4
4
  *
5
5
  * Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
6
6
  *
7
7
  * This source code is unlicensed, all rights reserved.
8
8
  */
9
9
 
10
- var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDescriptor;var kO=Object.getOwnPropertyNames;var VO=Object.getPrototypeOf,NO=Object.prototype.hasOwnProperty;var L1=(e,t)=>()=>(e&&(t=e(e=0)),t);var Me=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$1=(e,t)=>{for(var r in t)_u(e,r,{get:t[r],enumerable:!0})},n5=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of kO(t))!NO.call(e,o)&&o!==r&&_u(e,o,{get:()=>t[o],enumerable:!(n=IO(t,o))||n.enumerable});return e};var kr=(e,t,r)=>(r=e!=null?MO(VO(e)):{},n5(t||!e||!e.__esModule?_u(r,"default",{value:e,enumerable:!0}):r,e)),LO=e=>n5(_u({},"__esModule",{value:!0}),e);import*as f from"react";var i=L1(()=>{"use strict"});var e4=Me((upe,dm)=>{i();var Q5=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);Q5?(fm=new Uint8Array(16),dm.exports=function(){return Q5(fm),fm}):(pm=new Array(16),dm.exports=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),pm[t]=r>>>((t&3)<<3)&255;return pm});var fm,pm});var n4=Me((fpe,r4)=>{i();var t4=[];for(js=0;js<256;++js)t4[js]=(js+256).toString(16).substr(1);var js;function ZM(e,t){var r=t||0,n=t4;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("")}r4.exports=ZM});var i4=Me((dpe,o4)=>{i();var QM=e4(),eI=n4();function tI(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||QM)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t)for(var a=0;a<16;++a)t[n+a]=o[a];return t||eI(o)}o4.exports=tI});function S6(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var D6=L1(()=>{i()});var E6={};$1(E6,{default:()=>Mk});var Ok,Mk,T6=L1(()=>{i();D6();Ok=/^((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|fetchpriority|fetchPriority|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)-.*))$/,Mk=S6(function(e){return Ok.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})});var ew=Me(($He,Qx)=>{"use strict";i();var Jx=Array.isArray,Zx=Object.keys,bj=Object.prototype.hasOwnProperty,Cj=typeof Element<"u";function nh(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=Jx(e),n=Jx(t),o,a,s;if(r&&n){if(a=e.length,a!=t.length)return!1;for(o=a;o--!==0;)if(!nh(e[o],t[o]))return!1;return!0}if(r!=n)return!1;var l=e instanceof Date,u=t instanceof Date;if(l!=u)return!1;if(l&&u)return e.getTime()==t.getTime();var c=e instanceof RegExp,p=t instanceof RegExp;if(c!=p)return!1;if(c&&p)return e.toString()==t.toString();var d=Zx(e);if(a=d.length,a!==Zx(t).length)return!1;for(o=a;o--!==0;)if(!bj.call(t,d[o]))return!1;if(Cj&&e instanceof Element&&t instanceof Element)return e===t;for(o=a;o--!==0;)if(s=d[o],!(s==="_owner"&&e.$$typeof)&&!nh(e[s],t[s]))return!1;return!0}return e!==e&&t!==t}Qx.exports=function(t,r){try{return nh(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 pw=Me(Re=>{"use strict";i();var vt=typeof Symbol=="function"&&Symbol.for,sh=vt?Symbol.for("react.element"):60103,lh=vt?Symbol.for("react.portal"):60106,ep=vt?Symbol.for("react.fragment"):60107,tp=vt?Symbol.for("react.strict_mode"):60108,rp=vt?Symbol.for("react.profiler"):60114,np=vt?Symbol.for("react.provider"):60109,op=vt?Symbol.for("react.context"):60110,uh=vt?Symbol.for("react.async_mode"):60111,ip=vt?Symbol.for("react.concurrent_mode"):60111,ap=vt?Symbol.for("react.forward_ref"):60112,sp=vt?Symbol.for("react.suspense"):60113,$j=vt?Symbol.for("react.suspense_list"):60120,lp=vt?Symbol.for("react.memo"):60115,up=vt?Symbol.for("react.lazy"):60116,zj=vt?Symbol.for("react.block"):60121,Gj=vt?Symbol.for("react.fundamental"):60117,Hj=vt?Symbol.for("react.responder"):60118,jj=vt?Symbol.for("react.scope"):60119;function mr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case sh:switch(e=e.type,e){case uh:case ip:case ep:case rp:case tp:case sp:return e;default:switch(e=e&&e.$$typeof,e){case op:case ap:case up:case lp:case np:return e;default:return t}}case lh:return t}}}function fw(e){return mr(e)===ip}Re.AsyncMode=uh;Re.ConcurrentMode=ip;Re.ContextConsumer=op;Re.ContextProvider=np;Re.Element=sh;Re.ForwardRef=ap;Re.Fragment=ep;Re.Lazy=up;Re.Memo=lp;Re.Portal=lh;Re.Profiler=rp;Re.StrictMode=tp;Re.Suspense=sp;Re.isAsyncMode=function(e){return fw(e)||mr(e)===uh};Re.isConcurrentMode=fw;Re.isContextConsumer=function(e){return mr(e)===op};Re.isContextProvider=function(e){return mr(e)===np};Re.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===sh};Re.isForwardRef=function(e){return mr(e)===ap};Re.isFragment=function(e){return mr(e)===ep};Re.isLazy=function(e){return mr(e)===up};Re.isMemo=function(e){return mr(e)===lp};Re.isPortal=function(e){return mr(e)===lh};Re.isProfiler=function(e){return mr(e)===rp};Re.isStrictMode=function(e){return mr(e)===tp};Re.isSuspense=function(e){return mr(e)===sp};Re.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ep||e===ip||e===rp||e===tp||e===sp||e===$j||typeof e=="object"&&e!==null&&(e.$$typeof===up||e.$$typeof===lp||e.$$typeof===np||e.$$typeof===op||e.$$typeof===ap||e.$$typeof===Gj||e.$$typeof===Hj||e.$$typeof===jj||e.$$typeof===zj)};Re.typeOf=mr});var mw=Me((Fje,dw)=>{"use strict";i();dw.exports=pw()});var xw=Me((Oje,Cw)=>{"use strict";i();var ch=mw(),Wj={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},_j={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Uj={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yw={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},fh={};fh[ch.ForwardRef]=Uj;fh[ch.Memo]=yw;function hw(e){return ch.isMemo(e)?yw:fh[e.$$typeof]||Wj}var Kj=Object.defineProperty,qj=Object.getOwnPropertyNames,gw=Object.getOwnPropertySymbols,Xj=Object.getOwnPropertyDescriptor,Yj=Object.getPrototypeOf,vw=Object.prototype;function bw(e,t,r){if(typeof t!="string"){if(vw){var n=Yj(t);n&&n!==vw&&bw(e,n,r)}var o=qj(t);gw&&(o=o.concat(gw(t)));for(var a=hw(e),s=hw(t),l=0;l<o.length;++l){var u=o[l];if(!_j[u]&&!(r&&r[u])&&!(s&&s[u])&&!(a&&a[u])){var c=Xj(t,u);try{Kj(e,u,c)}catch{}}}}return e}Cw.exports=bw});var mp=Me((t_e,Fw)=>{i();var MW=typeof Element<"u",IW=typeof Map=="function",kW=typeof Set=="function",VW=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function dp(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(!dp(e[n],t[n]))return!1;return!0}var a;if(IW&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;for(a=e.entries();!(n=a.next()).done;)if(!dp(n.value[1],t.get(n.value[0])))return!1;return!0}if(kW&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(VW&&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(MW&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!dp(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}Fw.exports=function(t,r){try{return dp(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}});var fD=Me((Yet,cD)=>{"use strict";i();cD.exports=hX;var lD="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",uD="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",dX=new RegExp("^[^"+uD+"]*["+lD+"]"),mX=new RegExp("^[^"+lD+"]*["+uD+"]");function hX(e){return e=String(e||""),dX.test(e)?"rtl":mX.test(e)?"ltr":"neutral"}});var Xp=Me((Zet,pD)=>{i();function gX(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}pD.exports=gX});var mD=Me((ett,dD)=>{i();var vX=typeof window=="object"&&window&&window.Object===Object&&window;dD.exports=vX});var i2=Me((rtt,hD)=>{i();var yX=mD(),bX=typeof self=="object"&&self&&self.Object===Object&&self,CX=yX||bX||Function("return this")();hD.exports=CX});var vD=Me((ott,gD)=>{i();var xX=i2(),wX=function(){return xX.Date.now()};gD.exports=wX});var bD=Me((att,yD)=>{i();var SX=/\s/;function DX(e){for(var t=e.length;t--&&SX.test(e.charAt(t)););return t}yD.exports=DX});var xD=Me((ltt,CD)=>{i();var EX=bD(),TX=/^\s+/;function PX(e){return e&&e.slice(0,EX(e)+1).replace(TX,"")}CD.exports=PX});var a2=Me((ctt,wD)=>{i();var AX=i2(),RX=AX.Symbol;wD.exports=RX});var TD=Me((ptt,ED)=>{i();var SD=a2(),DD=Object.prototype,FX=DD.hasOwnProperty,BX=DD.toString,Zl=SD?SD.toStringTag:void 0;function OX(e){var t=FX.call(e,Zl),r=e[Zl];try{e[Zl]=void 0;var n=!0}catch{}var o=BX.call(e);return n&&(t?e[Zl]=r:delete e[Zl]),o}ED.exports=OX});var AD=Me((mtt,PD)=>{i();var MX=Object.prototype,IX=MX.toString;function kX(e){return IX.call(e)}PD.exports=kX});var OD=Me((gtt,BD)=>{i();var RD=a2(),VX=TD(),NX=AD(),LX="[object Null]",$X="[object Undefined]",FD=RD?RD.toStringTag:void 0;function zX(e){return e==null?e===void 0?$X:LX:FD&&FD in Object(e)?VX(e):NX(e)}BD.exports=zX});var ID=Me((ytt,MD)=>{i();function GX(e){return e!=null&&typeof e=="object"}MD.exports=GX});var VD=Me((Ctt,kD)=>{i();var HX=OD(),jX=ID(),WX="[object Symbol]";function _X(e){return typeof e=="symbol"||jX(e)&&HX(e)==WX}kD.exports=_X});var zD=Me((wtt,$D)=>{i();var UX=xD(),ND=Xp(),KX=VD(),LD=NaN,qX=/^[-+]0x[0-9a-f]+$/i,XX=/^0b[01]+$/i,YX=/^0o[0-7]+$/i,JX=parseInt;function ZX(e){if(typeof e=="number")return e;if(KX(e))return LD;if(ND(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ND(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=UX(e);var r=XX.test(e);return r||YX.test(e)?JX(e.slice(2),r?2:8):qX.test(e)?LD:+e}$D.exports=ZX});var l2=Me((Dtt,HD)=>{i();var QX=Xp(),s2=vD(),GD=zD(),eY="Expected a function",tY=Math.max,rY=Math.min;function nY(e,t,r){var n,o,a,s,l,u,c=0,p=!1,d=!1,h=!0;if(typeof e!="function")throw new TypeError(eY);t=GD(t)||0,QX(r)&&(p=!!r.leading,d="maxWait"in r,a=d?tY(GD(r.maxWait)||0,t):a,h="trailing"in r?!!r.trailing:h);function g(S){var E=n,R=o;return n=o=void 0,c=S,s=e.apply(R,E),s}function v(S){return c=S,l=setTimeout(y,t),p?g(S):s}function m(S){var E=S-u,R=S-c,B=t-E;return d?rY(B,a-R):B}function b(S){var E=S-u,R=S-c;return u===void 0||E>=t||E<0||d&&R>=a}function y(){var S=s2();if(b(S))return x(S);l=setTimeout(y,m(S))}function x(S){return l=void 0,h&&n?g(S):(n=o=void 0,s)}function w(){l!==void 0&&clearTimeout(l),c=0,n=u=o=l=void 0}function D(){return l===void 0?s:x(s2())}function T(){var S=s2(),E=b(S);if(n=arguments,o=this,u=S,E){if(l===void 0)return v(u);if(d)return clearTimeout(l),l=setTimeout(y,t),g(u)}return l===void 0&&(l=setTimeout(y,t)),s}return T.cancel=w,T.flush=D,T}HD.exports=nY});var WD=Me((Ttt,jD)=>{i();var oY=l2(),iY=Xp(),aY="Expected a function";function sY(e,t,r){var n=!0,o=!0;if(typeof e!="function")throw new TypeError(aY);return iY(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),oY(e,t,{leading:n,maxWait:t,trailing:o})}jD.exports=sY});var sT=Me(fn=>{"use strict";i();Object.defineProperty(fn,"__esModule",{value:!0});var _Z=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),H2={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},UZ={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:_Z?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},nT={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(au=1;au<20;au++)nT["f"+au]=111+au;var au;function pd(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return oT(s,t)}),o=function(l){return n.some(function(u){return iT(u,l)})},a=r==null?o:o(r);return a}function KZ(e,t){return pd(e,t)}function qZ(e,t){return pd(e,{byKey:!0},t)}function oT(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in H2)n[H2[s]]=!1;var l=!0,u=!1,c=void 0;try{for(var p=o[Symbol.iterator](),d;!(l=(d=p.next()).done);l=!0){var h=d.value,g=h.endsWith("?")&&h.length>1;g&&(h=h.slice(0,-1));var v=j2(h),m=H2[v];(a===1||!m)&&(r?n.key=v:n.which=aT(h)),m&&(n[m]=g?null:!0)}}catch(b){u=!0,c=b}finally{try{!l&&p.return&&p.return()}finally{if(u)throw c}}return n}function iT(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 aT(e){e=j2(e);var t=nT[e]||e.toUpperCase().charCodeAt(0);return t}function j2(e){return e=e.toLowerCase(),e=UZ[e]||e,e}fn.default=pd;fn.isHotkey=pd;fn.isCodeHotkey=KZ;fn.isKeyHotkey=qZ;fn.parseHotkey=oT;fn.compareHotkey=iT;fn.toKeyCode=aT;fn.toKeyName=j2});var JT=Me(pn=>{"use strict";i();Object.defineProperty(pn,"__esModule",{value:!0});var Cee=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),sg={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},KT={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:Cee?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},lg={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++)lg["f"+pu]=111+pu;var pu;function Sd(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return qT(s,t)}),o=function(l){return n.some(function(u){return XT(u,l)})},a=r==null?o:o(r);return a}function xee(e,t){return Sd(e,t)}function wee(e,t){return Sd(e,{byKey:!0},t)}function qT(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in sg)n[sg[s]]=!1;var l=!0,u=!1,c=void 0;try{for(var p=o[Symbol.iterator](),d;!(l=(d=p.next()).done);l=!0){var h=d.value,g=h.endsWith("?")&&h.length>1;g&&(h=h.slice(0,-1));var v=ug(h),m=sg[v];if(h.length>1&&!m&&!KT[h]&&!lg[v])throw new TypeError('Unknown modifier: "'+h+'"');(a===1||!m)&&(r?n.key=v:n.which=YT(h)),m&&(n[m]=g?null:!0)}}catch(b){u=!0,c=b}finally{try{!l&&p.return&&p.return()}finally{if(u)throw c}}return n}function XT(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 YT(e){e=ug(e);var t=lg[e]||e.toUpperCase().charCodeAt(0);return t}function ug(e){return e=e.toLowerCase(),e=KT[e]||e,e}pn.default=Sd;pn.isHotkey=Sd;pn.isCodeHotkey=xee;pn.isKeyHotkey=wee;pn.parseHotkey=qT;pn.compareHotkey=XT;pn.toKeyCode=YT;pn.toKeyName=ug});i();i();i();var Fs=async e=>{if(navigator.clipboard)return navigator.clipboard.writeText(e).catch(a=>{throw a instanceof Error?a:new DOMException("The clipboard is not accessible","NotAllowedError")});let t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",document.body.appendChild(t);let r=window.getSelection(),n=window.document.createRange();r?.removeAllRanges(),n.selectNode(t),r?.addRange(n);let o=!1;try{o=window.document.execCommand("copy")}catch(a){console.error("error",a)}return r?.removeAllRanges(),window.document.body.removeChild(t),o?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))};i();i();i();var kse=[!1,0,-0,0n,"",null,void 0,Number.NaN],$O=e=>e===null;var dt=e=>e===void 0,ee=e=>!dt(e),le=e=>$O(e)||dt(e),F=e=>!le(e),st=e=>typeof e=="string";var z1=e=>st(e)&&e==="",ve=e=>st(e)&&!z1(e),G1=e=>typeof e=="number";var zO=e=>F(e)&&typeof e=="object"&&!(e instanceof Array);var GO=e=>zO(e)&&Object.keys(e).length>0,Cn=e=>F(e)&&typeof e=="object"&&e instanceof Array;var Bs=e=>Cn(e)&&e.length>0,xn=e=>F(e)&&typeof e=="function";var Uu=e=>F(e)&&typeof e=="boolean";var o5=(e,t)=>GO(e)&&t in e;i();i();i();var HO=Math.pow(10,8)*24*60*60*1e3,Lse=-HO;var i5=864e5;var jO=3600;var a5=jO*24,$se=a5*7,WO=a5*365.2425,_O=WO/12,zse=_O*3,H1=Symbol.for("constructDateFrom");function Nt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&H1 in e?e[H1](t):e instanceof Date?new e.constructor(t):new Date(t)}i();function he(e,t){return Nt(t||e,e)}function j1(e,t,r){let n=he(e,r?.in);return isNaN(t)?Nt(r?.in||e,NaN):(t&&n.setDate(n.getDate()+t),n)}i();function Os(e,t,r){let n=he(e,r?.in);if(isNaN(t))return Nt(r?.in||e,NaN);if(!t)return n;let o=n.getDate(),a=Nt(r?.in||e,n.getTime());a.setMonth(n.getMonth()+t+1,0);let s=a.getDate();return o>=s?a:(n.setFullYear(a.getFullYear(),a.getMonth(),o),n)}i();i();function W1(e){let t=he(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}i();function oo(e,...t){let r=Nt.bind(null,e||t.find(n=>typeof n=="object"));return t.map(r)}i();function Vr(e,t){let r=he(e,t?.in);return r.setHours(0,0,0,0),r}function Ku(e,t,r){let[n,o]=oo(r?.in,e,t),a=Vr(n),s=Vr(o),l=+a-W1(a),u=+s-W1(s);return Math.round((l-u)/i5)}i();function _1(e,t,r){return Os(e,t*12,r)}i();function qu(e,t){let r=+he(e)-+he(t);return r<0?-1:r>0?1:r}i();function ur(e,t,r){let[n,o]=oo(r?.in,e,t);return+Vr(n)==+Vr(o)}i();i();function s5(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ms(e){return!(!s5(e)&&typeof e!="number"||isNaN(+he(e)))}i();function u5(e,t,r){let[n,o]=oo(r?.in,e,t),a=l5(n,o),s=Math.abs(Ku(n,o));n.setDate(n.getDate()-a*s);let l=+(l5(n,o)===-a),u=a*(s-l);return u===0?0:u}function l5(e,t){let r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}i();function ta(e,t){let r=he(e,t?.in);return r.setHours(23,59,59,999),r}i();function U1(e,t){let r=he(e,t?.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}i();i();function Xu(e,t){let[r,n]=oo(e,t.start,t.end);return{start:r,end:n}}function c5(e,t){let{start:r,end:n}=Xu(t?.in,e),o=+r>+n,a=o?+r:+n,s=o?n:r;s.setHours(0,0,0,0);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);let u=[];for(;+s<=a;)u.push(Nt(r,s)),s.setDate(s.getDate()+l),s.setHours(0,0,0,0);return o?u.reverse():u}i();function K1(e,t){let{start:r,end:n}=Xu(t?.in,e),o=+r>+n,a=o?+r:+n,s=o?n:r;s.setHours(0,0,0,0),s.setDate(1);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);let u=[];for(;+s<=a;)u.push(Nt(r,s)),s.setMonth(s.getMonth()+l);return o?u.reverse():u}i();function Is(e,t){let r=he(e,t?.in);return r.setDate(1),r.setHours(0,0,0,0),r}i();function f5(e,t){return he(e,t?.in).getDay()}i();function q1(e,t){let r=he(e,t?.in),n=r.getFullYear(),o=r.getMonth(),a=Nt(r,0);return a.setFullYear(n,o+1,0),a.setHours(0,0,0,0),a.getDate()}i();function X1(e,t){return he(e,t?.in).getFullYear()}i();function p5(e,t){return+he(e)>+he(t)}i();function Zr(e,t){return+he(e)<+he(t)}i();function Y1(e,t){return+he(e)==+he(t)}i();function d5(e){return+he(e)>Date.now()}i();function m5(e,t,r){let n=+he(e,r?.in),[o,a]=[+he(t.start,r?.in),+he(t.end,r?.in)].sort((s,l)=>s-l);return n>=o&&n<=a}var g5=1e3,J1=60,Vs=60,h5=30,Nr=["en-US"],wn=Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC",ks=e=>e.toString().padStart(2,"0"),Lr=e=>e instanceof Date,Sn=e=>!Lr(e)||e.getTime()===0,Z1=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{return new Intl.DateTimeFormat(Nr,{dateStyle:"medium",timeZone:t}).format(e)}catch(r){return console.error(r),""}},v5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{return new Intl.DateTimeFormat(Nr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},y5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{let o=new Intl.DateTimeFormat(Nr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).formatToParts(e).reduce((a,s)=>(a[s.type]=s.value,a),{});return`${o.year}-${o.month}-${o.day}`}catch(r){return console.error(r),""}},b5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{return new Intl.DateTimeFormat(Nr,{month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},Q1=(e,{timeZone:t=wn}={})=>{if(e===null)return"";try{return new Intl.DateTimeFormat(Nr,{weekday:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},C5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{return new Intl.DateTimeFormat(Nr,{timeStyle:"short",timeZone:t}).format(e)}catch(r){return console.error(r),""}},Yu=(e,{timeZone:t=wn,omitYear:r=!1}={})=>{if(le(e))return"";let n=new Date(e);if(Sn(n))return"";try{let o={month:"short",day:"numeric",hour:"numeric",minute:"2-digit",timeZone:t},a=r?o:{...o,year:"numeric"};return n.toLocaleDateString(Nr,a)}catch(o){return console.error(o),""}},x5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{let{year:r,month:n,day:o,hour:a,minute:s,dayPeriod:l}=new Intl.DateTimeFormat(Nr,{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",timeZone:t}).formatToParts(e).reduce((u,c)=>(c.type!=="literal"&&(u[c.type]=c.value),u),{});return`${n} ${o}, ${r}, ${a}:${s} ${l}`}catch(r){return console.error(r),""}},w5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{return new Intl.DateTimeFormat(Nr,{dateStyle:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},S5=(e,{nowAnchor:t=new Date,includeTime:r=!0}={})=>{if(Sn(e))return"";let n=(t.valueOf()-e.valueOf())/(J1*g5),o=Math.round(n),a=Ku(t,e),s=e.getFullYear()===t.getFullYear();return n<0?Yu(e):n<1?"< 1 minute ago":o<2?"1 minute ago":o<=Vs?`${o} minutes ago`:a===0?r?`Today, ${Intl.DateTimeFormat(Nr,{hour:"numeric",minute:"2-digit"}).format(e)}`:"Today":a===1?r?`Yesterday, ${Intl.DateTimeFormat(Nr,{hour:"numeric",minute:"2-digit"}).format(e)}`:"Yesterday":a<7&&!r?`on ${Q1(e)}`:r?Yu(e,{omitYear:s}):Z1(e,{omitYear:s})},D5=e=>{let t=e.getTimezoneOffset()/Vs*-1,r=Math.round(t),n=(t-r)*Vs,o=r>=0?"+":"",a=`${r}`.padStart(2,"0"),s=`${n}`.padStart(2,"0");return`${o}${a}:${s}`},Ns=e=>{let t=Math.floor(e/g5),r=Math.floor(t/J1),n=Math.floor(r/Vs),o=t-r*J1,a=r-n*Vs;return{seconds:o,minutes:a,hours:n}},E5=e=>{let{hours:t,minutes:r,seconds:n}=Ns(e);return t<1?`${r}:${ks(n)}`:`${t}:${ks(r)}:${ks(n)}`},T5=e=>{let{hours:t,minutes:r,seconds:n}=Ns(e);return`${t}:${ks(r)}:${ks(n)}`},em=e=>Lr(e)?{year:e.getFullYear(),month:e.getMonth(),dayOfMonth:e.getDate(),hours:e.getHours(),minutes:e.getMinutes()}:null,Ju=e=>{let{year:t,month:r,dayOfMonth:n,hours:o,minutes:a}=e??{};return t!==void 0&&r!==void 0&&n!==void 0?new Date(t,r,n,o??0,a??0):null},tm=e=>Ju(e)?.toISOString()??null,P5=(e,t=!0)=>{let r=e.getMinutes()<=h5,n=r?e.getHours():e.getHours()+1,o=r?h5:0,a={...em(e),hours:n,minutes:o};return t?tm(a):Ju(a)},A5=e=>{let{seconds:t,minutes:r,hours:n}=Ns(e),o="PT";return n&&(o+=`${n}H`),r&&(o+=`${r}M`),t&&(o+=`${t}S`),t||r||n||(o+="0S"),o};var kue={isDate:Lr,dateOnlyString:Z1,dateOnlyStringNumeric:v5,dateOnlyISOString:y5,monthDayStringNumeric:b5,dayOfWeekString:Q1,timeOnlyString:C5,dateTimeString:Yu,dateTimeStringForSentence:x5,dateOnlyStringForSentence:w5,timeAgoString:S5,dateUTCOffset:D5,buildTimeDuration:Ns,mediaDurationString:E5,sessionDurationString:T5,dateToDateTime:em,dateTimeToDate:Ju,dateTimeToISO:tm,dateTimeRounded:P5,millisecondsToDurationISOString:A5};i();i();import{css as Ft}from"styled-components";var rm={defaultDarkOne:Ft`
10
+ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDescriptor;var kO=Object.getOwnPropertyNames;var VO=Object.getPrototypeOf,NO=Object.prototype.hasOwnProperty;var L1=(e,t)=>()=>(e&&(t=e(e=0)),t);var Me=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$1=(e,t)=>{for(var r in t)_u(e,r,{get:t[r],enumerable:!0})},n5=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of kO(t))!NO.call(e,o)&&o!==r&&_u(e,o,{get:()=>t[o],enumerable:!(n=IO(t,o))||n.enumerable});return e};var kr=(e,t,r)=>(r=e!=null?MO(VO(e)):{},n5(t||!e||!e.__esModule?_u(r,"default",{value:e,enumerable:!0}):r,e)),LO=e=>n5(_u({},"__esModule",{value:!0}),e);import*as f from"react";var i=L1(()=>{"use strict"});var e4=Me((upe,dm)=>{i();var Q5=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);Q5?(fm=new Uint8Array(16),dm.exports=function(){return Q5(fm),fm}):(pm=new Array(16),dm.exports=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),pm[t]=r>>>((t&3)<<3)&255;return pm});var fm,pm});var n4=Me((fpe,r4)=>{i();var t4=[];for(js=0;js<256;++js)t4[js]=(js+256).toString(16).substr(1);var js;function ZM(e,t){var r=t||0,n=t4;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("")}r4.exports=ZM});var i4=Me((dpe,o4)=>{i();var QM=e4(),eI=n4();function tI(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||QM)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t)for(var a=0;a<16;++a)t[n+a]=o[a];return t||eI(o)}o4.exports=tI});function S6(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var D6=L1(()=>{i()});var E6={};$1(E6,{default:()=>Mk});var Ok,Mk,P6=L1(()=>{i();D6();Ok=/^((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|fetchpriority|fetchPriority|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)-.*))$/,Mk=S6(function(e){return Ok.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})});var ew=Me(($He,Qx)=>{"use strict";i();var Jx=Array.isArray,Zx=Object.keys,bj=Object.prototype.hasOwnProperty,Cj=typeof Element<"u";function nh(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=Jx(e),n=Jx(t),o,a,s;if(r&&n){if(a=e.length,a!=t.length)return!1;for(o=a;o--!==0;)if(!nh(e[o],t[o]))return!1;return!0}if(r!=n)return!1;var l=e instanceof Date,u=t instanceof Date;if(l!=u)return!1;if(l&&u)return e.getTime()==t.getTime();var c=e instanceof RegExp,p=t instanceof RegExp;if(c!=p)return!1;if(c&&p)return e.toString()==t.toString();var d=Zx(e);if(a=d.length,a!==Zx(t).length)return!1;for(o=a;o--!==0;)if(!bj.call(t,d[o]))return!1;if(Cj&&e instanceof Element&&t instanceof Element)return e===t;for(o=a;o--!==0;)if(s=d[o],!(s==="_owner"&&e.$$typeof)&&!nh(e[s],t[s]))return!1;return!0}return e!==e&&t!==t}Qx.exports=function(t,r){try{return nh(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 pw=Me(Re=>{"use strict";i();var vt=typeof Symbol=="function"&&Symbol.for,sh=vt?Symbol.for("react.element"):60103,lh=vt?Symbol.for("react.portal"):60106,ep=vt?Symbol.for("react.fragment"):60107,tp=vt?Symbol.for("react.strict_mode"):60108,rp=vt?Symbol.for("react.profiler"):60114,np=vt?Symbol.for("react.provider"):60109,op=vt?Symbol.for("react.context"):60110,uh=vt?Symbol.for("react.async_mode"):60111,ip=vt?Symbol.for("react.concurrent_mode"):60111,ap=vt?Symbol.for("react.forward_ref"):60112,sp=vt?Symbol.for("react.suspense"):60113,$j=vt?Symbol.for("react.suspense_list"):60120,lp=vt?Symbol.for("react.memo"):60115,up=vt?Symbol.for("react.lazy"):60116,zj=vt?Symbol.for("react.block"):60121,Gj=vt?Symbol.for("react.fundamental"):60117,Hj=vt?Symbol.for("react.responder"):60118,jj=vt?Symbol.for("react.scope"):60119;function mr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case sh:switch(e=e.type,e){case uh:case ip:case ep:case rp:case tp:case sp:return e;default:switch(e=e&&e.$$typeof,e){case op:case ap:case up:case lp:case np:return e;default:return t}}case lh:return t}}}function fw(e){return mr(e)===ip}Re.AsyncMode=uh;Re.ConcurrentMode=ip;Re.ContextConsumer=op;Re.ContextProvider=np;Re.Element=sh;Re.ForwardRef=ap;Re.Fragment=ep;Re.Lazy=up;Re.Memo=lp;Re.Portal=lh;Re.Profiler=rp;Re.StrictMode=tp;Re.Suspense=sp;Re.isAsyncMode=function(e){return fw(e)||mr(e)===uh};Re.isConcurrentMode=fw;Re.isContextConsumer=function(e){return mr(e)===op};Re.isContextProvider=function(e){return mr(e)===np};Re.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===sh};Re.isForwardRef=function(e){return mr(e)===ap};Re.isFragment=function(e){return mr(e)===ep};Re.isLazy=function(e){return mr(e)===up};Re.isMemo=function(e){return mr(e)===lp};Re.isPortal=function(e){return mr(e)===lh};Re.isProfiler=function(e){return mr(e)===rp};Re.isStrictMode=function(e){return mr(e)===tp};Re.isSuspense=function(e){return mr(e)===sp};Re.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ep||e===ip||e===rp||e===tp||e===sp||e===$j||typeof e=="object"&&e!==null&&(e.$$typeof===up||e.$$typeof===lp||e.$$typeof===np||e.$$typeof===op||e.$$typeof===ap||e.$$typeof===Gj||e.$$typeof===Hj||e.$$typeof===jj||e.$$typeof===zj)};Re.typeOf=mr});var mw=Me((Fje,dw)=>{"use strict";i();dw.exports=pw()});var xw=Me((Oje,Cw)=>{"use strict";i();var ch=mw(),Wj={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},_j={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Uj={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yw={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},fh={};fh[ch.ForwardRef]=Uj;fh[ch.Memo]=yw;function hw(e){return ch.isMemo(e)?yw:fh[e.$$typeof]||Wj}var Kj=Object.defineProperty,qj=Object.getOwnPropertyNames,gw=Object.getOwnPropertySymbols,Xj=Object.getOwnPropertyDescriptor,Yj=Object.getPrototypeOf,vw=Object.prototype;function bw(e,t,r){if(typeof t!="string"){if(vw){var n=Yj(t);n&&n!==vw&&bw(e,n,r)}var o=qj(t);gw&&(o=o.concat(gw(t)));for(var a=hw(e),s=hw(t),l=0;l<o.length;++l){var u=o[l];if(!_j[u]&&!(r&&r[u])&&!(s&&s[u])&&!(a&&a[u])){var c=Xj(t,u);try{Kj(e,u,c)}catch{}}}}return e}Cw.exports=bw});var mp=Me((t_e,Fw)=>{i();var MW=typeof Element<"u",IW=typeof Map=="function",kW=typeof Set=="function",VW=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function dp(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(!dp(e[n],t[n]))return!1;return!0}var a;if(IW&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;for(a=e.entries();!(n=a.next()).done;)if(!dp(n.value[1],t.get(n.value[0])))return!1;return!0}if(kW&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(VW&&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(MW&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!dp(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}Fw.exports=function(t,r){try{return dp(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}});var fD=Me((Yet,cD)=>{"use strict";i();cD.exports=hX;var lD="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",uD="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",dX=new RegExp("^[^"+uD+"]*["+lD+"]"),mX=new RegExp("^[^"+lD+"]*["+uD+"]");function hX(e){return e=String(e||""),dX.test(e)?"rtl":mX.test(e)?"ltr":"neutral"}});var Xp=Me((Zet,pD)=>{i();function gX(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}pD.exports=gX});var mD=Me((ett,dD)=>{i();var vX=typeof window=="object"&&window&&window.Object===Object&&window;dD.exports=vX});var i2=Me((rtt,hD)=>{i();var yX=mD(),bX=typeof self=="object"&&self&&self.Object===Object&&self,CX=yX||bX||Function("return this")();hD.exports=CX});var vD=Me((ott,gD)=>{i();var xX=i2(),wX=function(){return xX.Date.now()};gD.exports=wX});var bD=Me((att,yD)=>{i();var SX=/\s/;function DX(e){for(var t=e.length;t--&&SX.test(e.charAt(t)););return t}yD.exports=DX});var xD=Me((ltt,CD)=>{i();var EX=bD(),PX=/^\s+/;function TX(e){return e&&e.slice(0,EX(e)+1).replace(PX,"")}CD.exports=TX});var a2=Me((ctt,wD)=>{i();var AX=i2(),RX=AX.Symbol;wD.exports=RX});var PD=Me((ptt,ED)=>{i();var SD=a2(),DD=Object.prototype,FX=DD.hasOwnProperty,BX=DD.toString,Zl=SD?SD.toStringTag:void 0;function OX(e){var t=FX.call(e,Zl),r=e[Zl];try{e[Zl]=void 0;var n=!0}catch{}var o=BX.call(e);return n&&(t?e[Zl]=r:delete e[Zl]),o}ED.exports=OX});var AD=Me((mtt,TD)=>{i();var MX=Object.prototype,IX=MX.toString;function kX(e){return IX.call(e)}TD.exports=kX});var OD=Me((gtt,BD)=>{i();var RD=a2(),VX=PD(),NX=AD(),LX="[object Null]",$X="[object Undefined]",FD=RD?RD.toStringTag:void 0;function zX(e){return e==null?e===void 0?$X:LX:FD&&FD in Object(e)?VX(e):NX(e)}BD.exports=zX});var ID=Me((ytt,MD)=>{i();function GX(e){return e!=null&&typeof e=="object"}MD.exports=GX});var VD=Me((Ctt,kD)=>{i();var HX=OD(),jX=ID(),WX="[object Symbol]";function _X(e){return typeof e=="symbol"||jX(e)&&HX(e)==WX}kD.exports=_X});var zD=Me((wtt,$D)=>{i();var UX=xD(),ND=Xp(),KX=VD(),LD=NaN,qX=/^[-+]0x[0-9a-f]+$/i,XX=/^0b[01]+$/i,YX=/^0o[0-7]+$/i,JX=parseInt;function ZX(e){if(typeof e=="number")return e;if(KX(e))return LD;if(ND(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ND(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=UX(e);var r=XX.test(e);return r||YX.test(e)?JX(e.slice(2),r?2:8):qX.test(e)?LD:+e}$D.exports=ZX});var l2=Me((Dtt,HD)=>{i();var QX=Xp(),s2=vD(),GD=zD(),eY="Expected a function",tY=Math.max,rY=Math.min;function nY(e,t,r){var n,o,a,s,l,u,c=0,p=!1,d=!1,h=!0;if(typeof e!="function")throw new TypeError(eY);t=GD(t)||0,QX(r)&&(p=!!r.leading,d="maxWait"in r,a=d?tY(GD(r.maxWait)||0,t):a,h="trailing"in r?!!r.trailing:h);function g(S){var E=n,R=o;return n=o=void 0,c=S,s=e.apply(R,E),s}function v(S){return c=S,l=setTimeout(y,t),p?g(S):s}function m(S){var E=S-u,R=S-c,B=t-E;return d?rY(B,a-R):B}function b(S){var E=S-u,R=S-c;return u===void 0||E>=t||E<0||d&&R>=a}function y(){var S=s2();if(b(S))return x(S);l=setTimeout(y,m(S))}function x(S){return l=void 0,h&&n?g(S):(n=o=void 0,s)}function w(){l!==void 0&&clearTimeout(l),c=0,n=u=o=l=void 0}function D(){return l===void 0?s:x(s2())}function P(){var S=s2(),E=b(S);if(n=arguments,o=this,u=S,E){if(l===void 0)return v(u);if(d)return clearTimeout(l),l=setTimeout(y,t),g(u)}return l===void 0&&(l=setTimeout(y,t)),s}return P.cancel=w,P.flush=D,P}HD.exports=nY});var WD=Me((Ptt,jD)=>{i();var oY=l2(),iY=Xp(),aY="Expected a function";function sY(e,t,r){var n=!0,o=!0;if(typeof e!="function")throw new TypeError(aY);return iY(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),oY(e,t,{leading:n,maxWait:t,trailing:o})}jD.exports=sY});var sP=Me(fn=>{"use strict";i();Object.defineProperty(fn,"__esModule",{value:!0});var _Z=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),H2={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},UZ={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:_Z?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},nP={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(au=1;au<20;au++)nP["f"+au]=111+au;var au;function pd(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return oP(s,t)}),o=function(l){return n.some(function(u){return iP(u,l)})},a=r==null?o:o(r);return a}function KZ(e,t){return pd(e,t)}function qZ(e,t){return pd(e,{byKey:!0},t)}function oP(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in H2)n[H2[s]]=!1;var l=!0,u=!1,c=void 0;try{for(var p=o[Symbol.iterator](),d;!(l=(d=p.next()).done);l=!0){var h=d.value,g=h.endsWith("?")&&h.length>1;g&&(h=h.slice(0,-1));var v=j2(h),m=H2[v];(a===1||!m)&&(r?n.key=v:n.which=aP(h)),m&&(n[m]=g?null:!0)}}catch(b){u=!0,c=b}finally{try{!l&&p.return&&p.return()}finally{if(u)throw c}}return n}function iP(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 aP(e){e=j2(e);var t=nP[e]||e.toUpperCase().charCodeAt(0);return t}function j2(e){return e=e.toLowerCase(),e=UZ[e]||e,e}fn.default=pd;fn.isHotkey=pd;fn.isCodeHotkey=KZ;fn.isKeyHotkey=qZ;fn.parseHotkey=oP;fn.compareHotkey=iP;fn.toKeyCode=aP;fn.toKeyName=j2});var JP=Me(pn=>{"use strict";i();Object.defineProperty(pn,"__esModule",{value:!0});var Cee=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),sg={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},KP={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:Cee?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},lg={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++)lg["f"+pu]=111+pu;var pu;function Sd(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return qP(s,t)}),o=function(l){return n.some(function(u){return XP(u,l)})},a=r==null?o:o(r);return a}function xee(e,t){return Sd(e,t)}function wee(e,t){return Sd(e,{byKey:!0},t)}function qP(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in sg)n[sg[s]]=!1;var l=!0,u=!1,c=void 0;try{for(var p=o[Symbol.iterator](),d;!(l=(d=p.next()).done);l=!0){var h=d.value,g=h.endsWith("?")&&h.length>1;g&&(h=h.slice(0,-1));var v=ug(h),m=sg[v];if(h.length>1&&!m&&!KP[h]&&!lg[v])throw new TypeError('Unknown modifier: "'+h+'"');(a===1||!m)&&(r?n.key=v:n.which=YP(h)),m&&(n[m]=g?null:!0)}}catch(b){u=!0,c=b}finally{try{!l&&p.return&&p.return()}finally{if(u)throw c}}return n}function XP(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 YP(e){e=ug(e);var t=lg[e]||e.toUpperCase().charCodeAt(0);return t}function ug(e){return e=e.toLowerCase(),e=KP[e]||e,e}pn.default=Sd;pn.isHotkey=Sd;pn.isCodeHotkey=xee;pn.isKeyHotkey=wee;pn.parseHotkey=qP;pn.compareHotkey=XP;pn.toKeyCode=YP;pn.toKeyName=ug});i();i();i();var Fs=async e=>{if(navigator.clipboard)return navigator.clipboard.writeText(e).catch(a=>{throw a instanceof Error?a:new DOMException("The clipboard is not accessible","NotAllowedError")});let t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",document.body.appendChild(t);let r=window.getSelection(),n=window.document.createRange();r?.removeAllRanges(),n.selectNode(t),r?.addRange(n);let o=!1;try{o=window.document.execCommand("copy")}catch(a){console.error("error",a)}return r?.removeAllRanges(),window.document.body.removeChild(t),o?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))};i();i();i();var kse=[!1,0,-0,0n,"",null,void 0,Number.NaN],$O=e=>e===null;var dt=e=>e===void 0,ee=e=>!dt(e),le=e=>$O(e)||dt(e),F=e=>!le(e),st=e=>typeof e=="string";var z1=e=>st(e)&&e==="",ve=e=>st(e)&&!z1(e),G1=e=>typeof e=="number";var zO=e=>F(e)&&typeof e=="object"&&!(e instanceof Array);var GO=e=>zO(e)&&Object.keys(e).length>0,Cn=e=>F(e)&&typeof e=="object"&&e instanceof Array;var Bs=e=>Cn(e)&&e.length>0,xn=e=>F(e)&&typeof e=="function";var Uu=e=>F(e)&&typeof e=="boolean";var o5=(e,t)=>GO(e)&&t in e;i();i();i();var HO=Math.pow(10,8)*24*60*60*1e3,Lse=-HO;var i5=864e5;var jO=3600;var a5=jO*24,$se=a5*7,WO=a5*365.2425,_O=WO/12,zse=_O*3,H1=Symbol.for("constructDateFrom");function Nt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&H1 in e?e[H1](t):e instanceof Date?new e.constructor(t):new Date(t)}i();function he(e,t){return Nt(t||e,e)}function j1(e,t,r){let n=he(e,r?.in);return isNaN(t)?Nt(r?.in||e,NaN):(t&&n.setDate(n.getDate()+t),n)}i();function Os(e,t,r){let n=he(e,r?.in);if(isNaN(t))return Nt(r?.in||e,NaN);if(!t)return n;let o=n.getDate(),a=Nt(r?.in||e,n.getTime());a.setMonth(n.getMonth()+t+1,0);let s=a.getDate();return o>=s?a:(n.setFullYear(a.getFullYear(),a.getMonth(),o),n)}i();i();function W1(e){let t=he(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}i();function oo(e,...t){let r=Nt.bind(null,e||t.find(n=>typeof n=="object"));return t.map(r)}i();function Vr(e,t){let r=he(e,t?.in);return r.setHours(0,0,0,0),r}function Ku(e,t,r){let[n,o]=oo(r?.in,e,t),a=Vr(n),s=Vr(o),l=+a-W1(a),u=+s-W1(s);return Math.round((l-u)/i5)}i();function _1(e,t,r){return Os(e,t*12,r)}i();function qu(e,t){let r=+he(e)-+he(t);return r<0?-1:r>0?1:r}i();function ur(e,t,r){let[n,o]=oo(r?.in,e,t);return+Vr(n)==+Vr(o)}i();i();function s5(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ms(e){return!(!s5(e)&&typeof e!="number"||isNaN(+he(e)))}i();function u5(e,t,r){let[n,o]=oo(r?.in,e,t),a=l5(n,o),s=Math.abs(Ku(n,o));n.setDate(n.getDate()-a*s);let l=+(l5(n,o)===-a),u=a*(s-l);return u===0?0:u}function l5(e,t){let r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}i();function ta(e,t){let r=he(e,t?.in);return r.setHours(23,59,59,999),r}i();function U1(e,t){let r=he(e,t?.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}i();i();function Xu(e,t){let[r,n]=oo(e,t.start,t.end);return{start:r,end:n}}function c5(e,t){let{start:r,end:n}=Xu(t?.in,e),o=+r>+n,a=o?+r:+n,s=o?n:r;s.setHours(0,0,0,0);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);let u=[];for(;+s<=a;)u.push(Nt(r,s)),s.setDate(s.getDate()+l),s.setHours(0,0,0,0);return o?u.reverse():u}i();function K1(e,t){let{start:r,end:n}=Xu(t?.in,e),o=+r>+n,a=o?+r:+n,s=o?n:r;s.setHours(0,0,0,0),s.setDate(1);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);let u=[];for(;+s<=a;)u.push(Nt(r,s)),s.setMonth(s.getMonth()+l);return o?u.reverse():u}i();function Is(e,t){let r=he(e,t?.in);return r.setDate(1),r.setHours(0,0,0,0),r}i();function f5(e,t){return he(e,t?.in).getDay()}i();function q1(e,t){let r=he(e,t?.in),n=r.getFullYear(),o=r.getMonth(),a=Nt(r,0);return a.setFullYear(n,o+1,0),a.setHours(0,0,0,0),a.getDate()}i();function X1(e,t){return he(e,t?.in).getFullYear()}i();function p5(e,t){return+he(e)>+he(t)}i();function Zr(e,t){return+he(e)<+he(t)}i();function Y1(e,t){return+he(e)==+he(t)}i();function d5(e){return+he(e)>Date.now()}i();function m5(e,t,r){let n=+he(e,r?.in),[o,a]=[+he(t.start,r?.in),+he(t.end,r?.in)].sort((s,l)=>s-l);return n>=o&&n<=a}var g5=1e3,J1=60,Vs=60,h5=30,Nr=["en-US"],wn=Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC",ks=e=>e.toString().padStart(2,"0"),Lr=e=>e instanceof Date,Sn=e=>!Lr(e)||e.getTime()===0,Z1=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{return new Intl.DateTimeFormat(Nr,{dateStyle:"medium",timeZone:t}).format(e)}catch(r){return console.error(r),""}},v5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{return new Intl.DateTimeFormat(Nr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},y5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{let o=new Intl.DateTimeFormat(Nr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).formatToParts(e).reduce((a,s)=>(a[s.type]=s.value,a),{});return`${o.year}-${o.month}-${o.day}`}catch(r){return console.error(r),""}},b5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{return new Intl.DateTimeFormat(Nr,{month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},Q1=(e,{timeZone:t=wn}={})=>{if(e===null)return"";try{return new Intl.DateTimeFormat(Nr,{weekday:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},C5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{return new Intl.DateTimeFormat(Nr,{timeStyle:"short",timeZone:t}).format(e)}catch(r){return console.error(r),""}},Yu=(e,{timeZone:t=wn,omitYear:r=!1}={})=>{if(le(e))return"";let n=new Date(e);if(Sn(n))return"";try{let o={month:"short",day:"numeric",hour:"numeric",minute:"2-digit",timeZone:t},a=r?o:{...o,year:"numeric"};return n.toLocaleDateString(Nr,a)}catch(o){return console.error(o),""}},x5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{let{year:r,month:n,day:o,hour:a,minute:s,dayPeriod:l}=new Intl.DateTimeFormat(Nr,{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",timeZone:t}).formatToParts(e).reduce((u,c)=>(c.type!=="literal"&&(u[c.type]=c.value),u),{});return`${n} ${o}, ${r}, ${a}:${s} ${l}`}catch(r){return console.error(r),""}},w5=(e,{timeZone:t=wn}={})=>{if(!Lr(e)||Sn(e))return"";try{return new Intl.DateTimeFormat(Nr,{dateStyle:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},S5=(e,{nowAnchor:t=new Date,includeTime:r=!0}={})=>{if(Sn(e))return"";let n=(t.valueOf()-e.valueOf())/(J1*g5),o=Math.round(n),a=Ku(t,e),s=e.getFullYear()===t.getFullYear();return n<0?Yu(e):n<1?"< 1 minute ago":o<2?"1 minute ago":o<=Vs?`${o} minutes ago`:a===0?r?`Today, ${Intl.DateTimeFormat(Nr,{hour:"numeric",minute:"2-digit"}).format(e)}`:"Today":a===1?r?`Yesterday, ${Intl.DateTimeFormat(Nr,{hour:"numeric",minute:"2-digit"}).format(e)}`:"Yesterday":a<7&&!r?`on ${Q1(e)}`:r?Yu(e,{omitYear:s}):Z1(e,{omitYear:s})},D5=e=>{let t=e.getTimezoneOffset()/Vs*-1,r=Math.round(t),n=(t-r)*Vs,o=r>=0?"+":"",a=`${r}`.padStart(2,"0"),s=`${n}`.padStart(2,"0");return`${o}${a}:${s}`},Ns=e=>{let t=Math.floor(e/g5),r=Math.floor(t/J1),n=Math.floor(r/Vs),o=t-r*J1,a=r-n*Vs;return{seconds:o,minutes:a,hours:n}},E5=e=>{let{hours:t,minutes:r,seconds:n}=Ns(e);return t<1?`${r}:${ks(n)}`:`${t}:${ks(r)}:${ks(n)}`},P5=e=>{let{hours:t,minutes:r,seconds:n}=Ns(e);return`${t}:${ks(r)}:${ks(n)}`},em=e=>Lr(e)?{year:e.getFullYear(),month:e.getMonth(),dayOfMonth:e.getDate(),hours:e.getHours(),minutes:e.getMinutes()}:null,Ju=e=>{let{year:t,month:r,dayOfMonth:n,hours:o,minutes:a}=e??{};return t!==void 0&&r!==void 0&&n!==void 0?new Date(t,r,n,o??0,a??0):null},tm=e=>Ju(e)?.toISOString()??null,T5=(e,t=!0)=>{let r=e.getMinutes()<=h5,n=r?e.getHours():e.getHours()+1,o=r?h5:0,a={...em(e),hours:n,minutes:o};return t?tm(a):Ju(a)},A5=e=>{let{seconds:t,minutes:r,hours:n}=Ns(e),o="PT";return n&&(o+=`${n}H`),r&&(o+=`${r}M`),t&&(o+=`${t}S`),t||r||n||(o+="0S"),o};var kue={isDate:Lr,dateOnlyString:Z1,dateOnlyStringNumeric:v5,dateOnlyISOString:y5,monthDayStringNumeric:b5,dayOfWeekString:Q1,timeOnlyString:C5,dateTimeString:Yu,dateTimeStringForSentence:x5,dateOnlyStringForSentence:w5,timeAgoString:S5,dateUTCOffset:D5,buildTimeDuration:Ns,mediaDurationString:E5,sessionDurationString:P5,dateToDateTime:em,dateTimeToDate:Ju,dateTimeToISO:tm,dateTimeRounded:T5,millisecondsToDurationISOString:A5};i();i();import{css as Ft}from"styled-components";var rm={defaultDarkOne:Ft`
11
11
  background-color: #222d66;
12
12
  background-image:
13
13
  radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
@@ -113,7 +113,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
113
113
  radial-gradient(farthest-corner at top right, #bcbf19, transparent 70%),
114
114
  radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
115
115
  radial-gradient(farthest-corner at bottom right, #2949e5, transparent 55%);
116
- `},Zu=Object.keys(rm),Cr=(e=void 0)=>F(e)?rm[e]:rm.defaultDarkOne;i();var UO=31,Uue=e=>{let t=null;if(typeof e=="string"&&e)t=Array.from(e).reduce((n,o)=>Math.imul(UO,n)+o.charCodeAt(0)||0,0);else return Zu[0];let r=Math.abs(t)%Zu.length;return Zu[r]};i();i();i();i();function Lt(){return Lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Lt.apply(null,arguments)}i();function R5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}i();i();function io(e,t){return io=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},io(e,t)}function Qu(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,io(e,t)}i();i();function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ec(e)}i();function F5(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}i();i();function nm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(nm=function(){return!!e})()}function B5(e,t,r){if(nm())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&io(o,r.prototype),o}function tc(e){var t=typeof Map=="function"?new Map:void 0;return tc=function(n){if(n===null||!F5(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return B5(n,arguments,ec(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),io(o,n)},tc(e)}i();var _t=function(e){Qu(t,e);function t(r){var n;if(1)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this;else for(var o,a,s;s<o;s++);return R5(n)}return t}(tc(Error));function O5(e,t){return e.substr(-t.length)===t}var KO=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function M5(e){if(typeof e!="string")return e;var t=e.match(KO);return t?parseFloat(e):e}var qO=function(t){return function(r,n){n===void 0&&(n="16px");var o=r,a=n;if(typeof r=="string"){if(!O5(r,"px"))throw new _t(69,t,r);o=M5(r)}if(typeof n=="string"){if(!O5(n,"px"))throw new _t(70,t,n);a=M5(n)}if(typeof o=="string")throw new _t(71,r,t);if(typeof a=="string")throw new _t(72,n,t);return""+o/a+t}},k5=qO,Ace=k5("em");var XO=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function V5(e){if(typeof e!="string")return[e,""];var t=e.match(XO);return t?[parseFloat(e),t[2]]:[e,void 0]}var Rce=k5("rem");function om(e){return Math.round(e*255)}function YO(e,t,r){return om(e)+","+om(t)+","+om(r)}function Ls(e,t,r,n){if(n===void 0&&(n=YO),t===0)return n(r,r,r);var o=(e%360+360)%360/60,a=(1-Math.abs(2*r-1))*t,s=a*(1-Math.abs(o%2-1)),l=0,u=0,c=0;o>=0&&o<1?(l=a,u=s):o>=1&&o<2?(l=s,u=a):o>=2&&o<3?(u=a,c=s):o>=3&&o<4?(u=s,c=a):o>=4&&o<5?(l=s,c=a):o>=5&&o<6&&(l=a,c=s);var p=r-a/2,d=l+p,h=u+p,g=c+p;return n(d,h,g)}var I5={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 JO(e){if(typeof e!="string")return e;var t=e.toLowerCase();return I5[t]?"#"+I5[t]:e}var ZO=/^#[a-fA-F0-9]{6}$/,QO=/^#[a-fA-F0-9]{8}$/,eM=/^#[a-fA-F0-9]{3}$/,tM=/^#[a-fA-F0-9]{4}$/,im=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rM=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,nM=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,oM=/^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 ra(e){if(typeof e!="string")throw new _t(3);var t=JO(e);if(t.match(ZO))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(QO)){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(eM))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(tM)){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=im.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=rM.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var s=nM.exec(t);if(s){var l=parseInt(""+s[1],10),u=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,p="rgb("+Ls(l,u,c)+")",d=im.exec(p);if(!d)throw new _t(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var h=oM.exec(t.substring(0,50));if(h){var g=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,m=parseInt(""+h[3],10)/100,b="rgb("+Ls(g,v,m)+")",y=im.exec(b);if(!y)throw new _t(4,t,b);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new _t(5)}function iM(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),s=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l,u=o-a,c=s>.5?u/(2-o-a):u/(o+a);switch(o){case t:l=(r-n)/u+(r<n?6:0);break;case r:l=(n-t)/u+2;break;default:l=(t-r)/u+4;break}return l*=60,e.alpha!==void 0?{hue:l,saturation:c,lightness:s,alpha:e.alpha}:{hue:l,saturation:c,lightness:s}}function ao(e){return iM(ra(e))}var aM=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},sm=aM;function qo(e){var t=e.toString(16);return t.length===1?"0"+t:t}function am(e){return qo(Math.round(e*255))}function sM(e,t,r){return sm("#"+am(e)+am(t)+am(r))}function rc(e,t,r){return Ls(e,t,r,sM)}function lM(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return rc(e,t,r);if(typeof e=="object"&&t===void 0&&r===void 0)return rc(e.hue,e.saturation,e.lightness);throw new _t(1)}function uM(e,t,r,n){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?rc(e,t,r):"rgba("+Ls(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?rc(e.hue,e.saturation,e.lightness):"rgba("+Ls(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new _t(2)}function lm(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return sm("#"+qo(e)+qo(t)+qo(r));if(typeof e=="object"&&t===void 0&&r===void 0)return sm("#"+qo(e.red)+qo(e.green)+qo(e.blue));throw new _t(6)}function nc(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=ra(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?lm(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?lm(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new _t(7)}var cM=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},fM=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},pM=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},dM=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function so(e){if(typeof e!="object")throw new _t(8);if(fM(e))return nc(e);if(cM(e))return lm(e);if(dM(e))return uM(e);if(pM(e))return lM(e);throw new _t(8)}function N5(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):N5(e,t,o)}}function cr(e){return N5(e,e.length,[])}function mM(e,t){if(t==="transparent")return t;var r=ao(t);return so(Lt({},r,{hue:r.hue+parseFloat(e)}))}var Fce=cr(mM);function na(e,t,r){return Math.max(e,Math.min(t,r))}function hM(e,t){if(t==="transparent")return t;var r=ao(t);return so(Lt({},r,{lightness:na(0,1,r.lightness-parseFloat(e))}))}var gM=cr(hM),Ye=gM;function vM(e,t){if(t==="transparent")return t;var r=ao(t);return so(Lt({},r,{saturation:na(0,1,r.saturation-parseFloat(e))}))}var Bce=cr(vM);function yM(e,t){if(t==="transparent")return t;var r=ao(t);return so(Lt({},r,{lightness:na(0,1,r.lightness+parseFloat(e))}))}var Oce=cr(yM);function bM(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=ra(t),o=Lt({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),a=ra(r),s=Lt({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),l=o.alpha-s.alpha,u=parseFloat(e)*2-1,c=u*l===-1?u:u+l,p=1+u*l,d=(c/p+1)/2,h=1-d,g={red:Math.floor(o.red*d+s.red*h),green:Math.floor(o.green*d+s.green*h),blue:Math.floor(o.blue*d+s.blue*h),alpha:o.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return nc(g)}var CM=cr(bM),L5=CM;function xM(e,t){if(t==="transparent")return t;var r=ra(t),n=typeof r.alpha=="number"?r.alpha:1,o=Lt({},r,{alpha:na(0,1,(n*100+parseFloat(e)*100)/100)});return nc(o)}var Mce=cr(xM);function wM(e,t){if(t==="transparent")return t;var r=ao(t);return so(Lt({},r,{saturation:na(0,1,r.saturation+parseFloat(e))}))}var Ice=cr(wM);function SM(e,t){return t==="transparent"?t:so(Lt({},ao(t),{hue:parseFloat(e)}))}var kce=cr(SM);function DM(e,t){return t==="transparent"?t:so(Lt({},ao(t),{lightness:parseFloat(e)}))}var Vce=cr(DM);function EM(e,t){return t==="transparent"?t:so(Lt({},ao(t),{saturation:parseFloat(e)}))}var Nce=cr(EM);function TM(e,t){return t==="transparent"?t:L5(parseFloat(e),"rgb(0, 0, 0)",t)}var Lce=cr(TM);function PM(e,t){return t==="transparent"?t:L5(parseFloat(e),"rgb(255, 255, 255)",t)}var $ce=cr(PM);function AM(e,t){if(t==="transparent")return t;var r=ra(t),n=typeof r.alpha=="number"?r.alpha:1,o=Lt({},r,{alpha:na(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return nc(o)}var RM=cr(AM),Ut=RM;var $s=e=>{let[r,n]=V5(e);return`@media (max-width: ${Math.max(r-.0025,0)}${n})`},FM=({theme:e})=>`@media (min-width: ${e.breakpoint.xs})`,BM=({theme:e})=>`@media (min-width: ${e.breakpoint.sm})`,OM=({theme:e})=>`@media (min-width: ${e.breakpoint.md})`,MM=({theme:e})=>`@media (min-width: ${e.breakpoint.lg})`,IM=({theme:e})=>`@media (min-width: ${e.breakpoint.xl})`,kM=({theme:e})=>$s(e.breakpoint.xs),VM=({theme:e})=>$s(e.breakpoint.sm),NM=({theme:e})=>$s(e.breakpoint.md),LM=({theme:e})=>$s(e.breakpoint.lg),$M=({theme:e})=>$s(e.breakpoint.xl),Ae={xsAndUp:FM,smAndUp:BM,mdAndUp:OM,lgAndUp:MM,xlAndUp:IM,xsAndDown:kM,smAndDown:VM,mdAndDown:NM,lgAndDown:LM,xlAndDown:$M};i();i();var Dn=e=>e!=null&&(Object.getPrototypeOf(e)===null||e.constructor===Object);i();var um=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])&&um(e[t])}),e);i();var zs=(e,...t)=>{if(!t.length)return e;let r={...e};return t.forEach(n=>{Dn(n)&&Object.keys(n).forEach(o=>{Dn(n[o])?r[o]===null||r[o]===void 0?r[o]={...n[o]}:r[o]=zs(r[o],n[o]):r[o]=n[o]})}),r};i();var $5=(e,t)=>t.reduce((r,n)=>(Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]),r),{});var sfe={isObject:Dn,deepFreeze:um,merge:zs,selectKeys:$5};i();i();var z5=(e="")=>e.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g,(t,r)=>+t==0?"":r===0?t.toLowerCase():t.toUpperCase());i();var En=e=>e==="true"||e==="false"?e==="true":!!e;i();var $t=e=>e==null?"":String(e);i();i();var oa=e=>typeof e=="string"||e instanceof String;var G5=e=>{if(!oa(e))return!1;try{let t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}};i();var lo=e=>{let t=/^(?:\w+:)?\/\/(\S+)$/,r=/^localhost[:?\d]*(?:[^:?\d]\S*)?$/,n=/^[^\s.]+\.\S{2,}$/;if(!oa(e))return!1;let o=t.exec(e);if(!o)return!1;let a=o[1];return a===void 0||!a?!1:r.test(a)||n.test(a)};i();var H5=(e="")=>(e[0]?.toLowerCase()??"")+e.slice(1);i();var j5=e=>e.replace(/\n/g,"");i();var W5=e=>(e||"").replace(/\.[^/.]{1,4}$/,"");i();var _5=(e,t)=>e.length<=t?e:`${e.slice(0,t-3)}...`;i();var U5=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1);var _fe={camelCase:z5,coerceToBoolean:En,coerceToString:$t,isHttpUrl:G5,isString:oa,isUrl:lo,lowerFirst:H5,removeNewlines:j5,stripExtension:W5,truncate:_5,upperFirst:U5};i();i();i();import Z5,{Component as YM}from"react";i();import Hs,{Component as WM}from"react";i();import zM from"react";var GM={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},K5=function(t){var r=t.message,n=t["aria-live"];return zM.createElement("div",{style:GM,role:"log","aria-live":n},r||"")};K5.propTypes={};var Gs=K5;function HM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q5(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 jM(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 X5=function(e){jM(t,e);function t(){var r,n,o;HM(this,t);for(var a=arguments.length,s=Array(a),l=0;l<a;l++)s[l]=arguments[l];return o=(r=(n=q5(this,e.call.apply(e,[this].concat(s))),n),n.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},r),q5(n,o)}return t.getDerivedStateFromProps=function(n,o){var a=o.oldPolitemessage,s=o.oldPoliteMessageId,l=o.oldAssertiveMessage,u=o.oldAssertiveMessageId,c=n.politeMessage,p=n.politeMessageId,d=n.assertiveMessage,h=n.assertiveMessageId;return a!==c||s!==p?{politeMessage1:o.setAlternatePolite?"":c,politeMessage2:o.setAlternatePolite?c:"",oldPolitemessage:c,oldPoliteMessageId:p,setAlternatePolite:!o.setAlternatePolite}:l!==d||u!==h?{assertiveMessage1:o.setAlternateAssertive?"":d,assertiveMessage2:o.setAlternateAssertive?d:"",oldAssertiveMessage:d,oldAssertiveMessageId:h,setAlternateAssertive:!o.setAlternateAssertive}:null},t.prototype.render=function(){var n=this.state,o=n.assertiveMessage1,a=n.assertiveMessage2,s=n.politeMessage1,l=n.politeMessage2;return Hs.createElement("div",null,Hs.createElement(Gs,{"aria-live":"assertive",message:o}),Hs.createElement(Gs,{"aria-live":"assertive",message:a}),Hs.createElement(Gs,{"aria-live":"polite",message:s}),Hs.createElement(Gs,{"aria-live":"polite",message:l}))},t}(WM);X5.propTypes={};var Y5=X5;i();import _M from"react";var UM=_M.createContext({announceAssertive:J5,announcePolite:J5});function J5(){console.warn("Announcement failed, LiveAnnouncer context is missing")}var ia=UM;function KM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qM(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 XM(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 JM=function(e){XM(t,e);function t(r){KM(this,t);var n=qM(this,e.call(this,r));return n.announcePolite=function(o,a){n.setState({announcePoliteMessage:o,politeMessageId:a||""})},n.announceAssertive=function(o,a){n.setState({announceAssertiveMessage:o,assertiveMessageId:a||""})},n.state={announcePoliteMessage:"",politeMessageId:"",announceAssertiveMessage:"",assertiveMessageId:"",updateFunctions:{announcePolite:n.announcePolite,announceAssertive:n.announceAssertive}},n}return t.prototype.render=function(){var n=this.state,o=n.announcePoliteMessage,a=n.politeMessageId,s=n.announceAssertiveMessage,l=n.assertiveMessageId,u=n.updateFunctions;return Z5.createElement(ia.Provider,{value:u},this.props.children,Z5.createElement(Y5,{assertiveMessage:s,assertiveMessageId:l,politeMessage:o,politeMessageId:a}))},t}(YM),cm=JM;i();import u4 from"react";i();var mm=kr(i4());import{Component as oI}from"react";function rI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a4(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 nI(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 s4=function(e){nI(t,e);function t(){var r,n,o;rI(this,t);for(var a=arguments.length,s=Array(a),l=0;l<a;l++)s[l]=arguments[l];return o=(r=(n=a4(this,e.call.apply(e,[this].concat(s))),n),n.announce=function(){var u=n.props,c=u.message,p=u["aria-live"],d=u.announceAssertive,h=u.announcePolite;p==="assertive"&&d(c||"",(0,mm.default)()),p==="polite"&&h(c||"",(0,mm.default)())},r),a4(n,o)}return t.prototype.componentDidMount=function(){this.announce()},t.prototype.componentDidUpdate=function(n){var o=this.props.message;o!==n.message&&this.announce()},t.prototype.componentWillUnmount=function(){var n=this.props,o=n.clearOnUnmount,a=n.announceAssertive,s=n.announcePolite;(o===!0||o==="true")&&(a(""),s(""))},t.prototype.render=function(){return null},t}(oI);s4.propTypes={};var l4=s4;var iI=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},c4=function(t){return u4.createElement(ia.Consumer,null,function(r){return u4.createElement(l4,iI({},r,t))})};c4.propTypes={};var Ws=c4;i();import aI from"react";var sI=function(t){var r=t.children;return aI.createElement(ia.Consumer,null,function(n){return r(n)})};sI.propTypes={};i();i();import{jsx as y6,Fragment as Pk}from"react/jsx-runtime";import{useMemo as Ak,useRef as b6,useState as C6,useContext as Rk}from"react";i();import{createContext as lI}from"react";var aa=lI({});i();import{useRef as uI}from"react";function uo(e){let t=uI(null);return t.current===null&&(t.current=e()),t.current}i();import{useLayoutEffect as cI,useEffect as fI}from"react";i();var sa=typeof window<"u";var oc=sa?cI:fI;i();import{jsx as m6}from"react/jsx-runtime";import*as g6 from"react";import{useId as bk,useMemo as h6}from"react";i();import{createContext as pI}from"react";var co=pI(null);i();import{jsx as hk}from"react/jsx-runtime";i();i();i();i();function Xo(e,t){e.indexOf(t)===-1&&e.push(t)}function Yo(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}i();var mt=(e,t,r)=>r>t?t:r<e?e:r;i();var Tn=()=>{},xr=()=>{};i();var Bt={};i();var _s=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);i();function Us(e){return typeof e=="object"&&e!==null}i();var Ks=e=>/^0[^.\s]+$/u.test(e);i();function Jo(e){let t;return()=>(t===void 0&&(t=e()),t)}i();var _e=e=>e;i();var dI=(e,t)=>r=>t(e(r)),$r=(...e)=>e.reduce(dI);i();var Qr=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};i();var Pn=class{constructor(){this.subscriptions=[]}add(t){return Xo(this.subscriptions,t),()=>Yo(this.subscriptions,t)}notify(t,r,n){let o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(let a=0;a<o;a++){let s=this.subscriptions[a];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};i();var lt=e=>e*1e3,Et=e=>e/1e3;i();function qs(e,t){return t?e*(1e3/t):0}i();i();i();var f4=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,mI=1e-7,hI=12;function gI(e,t,r,n,o){let a,s,l=0;do s=t+(r-t)/2,a=f4(s,n,o)-e,a>0?r=s:t=s;while(Math.abs(a)>mI&&++l<hI);return s}function fo(e,t,r,n){if(e===t&&r===n)return _e;let o=a=>gI(a,0,1,e,r);return a=>a===0||a===1?a:f4(o(a),t,n)}i();var ic=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;i();var ac=e=>t=>1-e(1-t);var sc=fo(.33,1.53,.69,.99),la=ac(sc),Xs=ic(la);var Ys=e=>(e*=2)<1?.5*la(e):.5*(2-Math.pow(2,-10*(e-1)));i();var Js=e=>1-Math.sin(Math.acos(e)),Zs=ac(Js),Qs=ic(Js);i();var hm=fo(.42,0,1,1),gm=fo(0,0,.58,1),el=fo(.42,0,.58,1);i();var vm=e=>Array.isArray(e)&&typeof e[0]!="number";i();var tl=e=>Array.isArray(e)&&typeof e[0]=="number";i();var p4={linear:_e,easeIn:hm,easeInOut:el,easeOut:gm,circIn:Js,circInOut:Qs,circOut:Zs,backIn:la,backInOut:Xs,backOut:sc,anticipate:Ys},vI=e=>typeof e=="string",lc=e=>{if(tl(e)){xr(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,o]=e;return fo(t,r,n,o)}else if(vI(e))return xr(p4[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),p4[e];return e};i();i();i();i();var rl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];i();i();var Kt={value:null,addProjectionMetrics:null};function d4(e,t){let r=new Set,n=new Set,o=!1,a=!1,s=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function c(d){s.has(d)&&(p.schedule(d),e()),u++,d(l)}let p={schedule:(d,h=!1,g=!1)=>{let m=g&&o?r:n;return h&&s.add(d),m.has(d)||m.add(d),d},cancel:d=>{n.delete(d),s.delete(d)},process:d=>{if(l=d,o){a=!0;return}o=!0,[r,n]=[n,r],r.forEach(c),t&&Kt.value&&Kt.value.frameloop[t].push(u),u=0,r.clear(),o=!1,a&&(a=!1,p.process(d))}};return p}var yI=40;function uc(e,t){let r=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,s=rl.reduce((w,D)=>(w[D]=d4(a,t?D:void 0),w),{}),{setup:l,read:u,resolveKeyframes:c,preUpdate:p,update:d,preRender:h,render:g,postRender:v}=s,m=()=>{let w=Bt.useManualTiming?o.timestamp:performance.now();r=!1,Bt.useManualTiming||(o.delta=n?1e3/60:Math.max(Math.min(w-o.timestamp,yI),1)),o.timestamp=w,o.isProcessing=!0,l.process(o),u.process(o),c.process(o),p.process(o),d.process(o),h.process(o),g.process(o),v.process(o),o.isProcessing=!1,r&&t&&(n=!1,e(m))},b=()=>{r=!0,n=!0,o.isProcessing||e(m)};return{schedule:rl.reduce((w,D)=>{let T=s[D];return w[D]=(S,E=!1,R=!1)=>(r||b(),T.schedule(S,E,R)),w},{}),cancel:w=>{for(let D=0;D<rl.length;D++)s[rl[D]].cancel(w)},state:o,steps:s}}var{schedule:ye,cancel:qt,state:Je,steps:nl}=uc(typeof requestAnimationFrame<"u"?requestAnimationFrame:_e,!0);var cc;function bI(){cc=void 0}var Ze={now:()=>(cc===void 0&&Ze.set(Je.isProcessing||Bt.useManualTiming?Je.timestamp:performance.now()),cc),set:e=>{cc=e,queueMicrotask(bI)}};i();i();var zr={layout:0,mainThread:0,waapi:0};i();i();i();var m4=e=>t=>typeof t=="string"&&t.startsWith(e),Zo=m4("--"),CI=m4("var(--"),Qo=e=>CI(e)?xI.test(e.split("/*")[0].trim()):!1,xI=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;i();i();i();i();var en={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},An={...en,transform:e=>mt(0,1,e)},ol={...en,default:1};i();var po=e=>Math.round(e*1e5)/1e5;i();i();var ua=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;i();function h4(e){return e==null}i();var g4=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var ca=(e,t)=>r=>!!(typeof r=="string"&&g4.test(r)&&r.startsWith(e)||t&&!h4(r)&&Object.prototype.hasOwnProperty.call(r,t)),fc=(e,t,r)=>n=>{if(typeof n!="string")return n;let[o,a,s,l]=n.match(ua);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(s),alpha:l!==void 0?parseFloat(l):1}};var wI=e=>mt(0,255,e),ym={...en,transform:e=>Math.round(wI(e))},tn={test:ca("rgb","red"),parse:fc("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+ym.transform(e)+", "+ym.transform(t)+", "+ym.transform(r)+", "+po(An.transform(n))+")"};function SI(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 il={test:ca("#"),parse:SI,transform:tn.transform};i();i();var al=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Gr=al("deg"),Ot=al("%"),ie=al("px"),bm=al("vh"),Cm=al("vw"),pc={...Ot,parse:e=>Ot.parse(e)/100,transform:e=>Ot.transform(e*100)};var mo={test:ca("hsl","hue"),parse:fc("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Ot.transform(po(t))+", "+Ot.transform(po(r))+", "+po(An.transform(n))+")"};var ze={test:e=>tn.test(e)||il.test(e)||mo.test(e),parse:e=>tn.test(e)?tn.parse(e):mo.test(e)?mo.parse(e):il.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?tn.transform(e):mo.transform(e),getAnimatableNone:e=>{let t=ze.parse(e);return t.alpha=0,ze.transform(t)}};i();i();var v4=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function DI(e){return isNaN(e)&&typeof e=="string"&&(e.match(ua)?.length||0)+(e.match(v4)?.length||0)>0}var b4="number",C4="color",EI="var",TI="var(",y4="${}",PI=/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 ho(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[],a=0,l=t.replace(PI,u=>(ze.test(u)?(n.color.push(a),o.push(C4),r.push(ze.parse(u))):u.startsWith(TI)?(n.var.push(a),o.push(EI),r.push(u)):(n.number.push(a),o.push(b4),r.push(parseFloat(u))),++a,y4)).split(y4);return{values:r,split:l,indexes:n,types:o}}function x4(e){return ho(e).values}function w4(e){let{split:t,types:r}=ho(e),n=t.length;return o=>{let a="";for(let s=0;s<n;s++)if(a+=t[s],o[s]!==void 0){let l=r[s];l===b4?a+=po(o[s]):l===C4?a+=ze.transform(o[s]):a+=o[s]}return a}}var AI=e=>typeof e=="number"?0:ze.test(e)?ze.getAnimatableNone(e):e;function RI(e){let t=x4(e);return w4(e)(t.map(AI))}var Mt={test:DI,parse:x4,createTransformer:w4,getAnimatableNone:RI};i();i();function xm(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 S4({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,a=0,s=0;if(!t)o=a=s=r;else{let l=r<.5?r*(1+t):r+t-r*t,u=2*r-l;o=xm(u,l,e+1/3),a=xm(u,l,e),s=xm(u,l,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:n}}i();function fa(e,t){return r=>r>0?t:e}i();var Ce=(e,t,r)=>e+(t-e)*r;var wm=(e,t,r)=>{let n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},FI=[il,tn,mo],BI=e=>FI.find(t=>t.test(e));function D4(e){let t=BI(e);if(Tn(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===mo&&(r=S4(r)),r}var Sm=(e,t)=>{let r=D4(e),n=D4(t);if(!r||!n)return fa(e,t);let o={...r};return a=>(o.red=wm(r.red,n.red,a),o.green=wm(r.green,n.green,a),o.blue=wm(r.blue,n.blue,a),o.alpha=Ce(r.alpha,n.alpha,a),tn.transform(o))};i();var dc=new Set(["none","hidden"]);function E4(e,t){return dc.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function OI(e,t){return r=>Ce(e,t,r)}function mc(e){return typeof e=="number"?OI:typeof e=="string"?Qo(e)?fa:ze.test(e)?Sm:kI:Array.isArray(e)?T4:typeof e=="object"?ze.test(e)?Sm:MI:fa}function T4(e,t){let r=[...e],n=r.length,o=e.map((a,s)=>mc(a)(a,t[s]));return a=>{for(let s=0;s<n;s++)r[s]=o[s](a);return r}}function MI(e,t){let r={...e,...t},n={};for(let o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=mc(e[o])(e[o],t[o]));return o=>{for(let a in n)r[a]=n[a](o);return r}}function II(e,t){let r=[],n={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let a=t.types[o],s=e.indexes[a][n[a]],l=e.values[s]??0;r[o]=l,n[a]++}return r}var kI=(e,t)=>{let r=Mt.createTransformer(t),n=ho(e),o=ho(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?dc.has(e)&&!o.values.length||dc.has(t)&&!n.values.length?E4(e,t):$r(T4(II(n,o),o.values),r):(Tn(!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.`,"complex-values-different"),fa(e,t))};function hc(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?Ce(e,t,r):mc(e)(e,t)}i();var P4=e=>{let t=({timestamp:r})=>e(r);return{start:(r=!0)=>ye.update(t,r),stop:()=>qt(t),now:()=>Je.isProcessing?Je.timestamp:Ze.now()}};i();i();i();var gc=(e,t,r=10)=>{let n="",o=Math.max(Math.round(t/r),2);for(let a=0;a<o;a++)n+=Math.round(e(a/(o-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};i();function pa(e){let t=0,r=50,n=e.next(t);for(;!n.done&&t<2e4;)t+=r,n=e.next(t);return t>=2e4?1/0:t}i();function A4(e,t=100,r){let n=r({...e,keyframes:[0,t]}),o=Math.min(pa(n),2e4);return{type:"keyframes",ease:a=>n.next(o*a).value/t,duration:Et(o)}}i();var VI=5;function vc(e,t,r){let n=Math.max(t-VI,0);return qs(r-e(n),t-n)}i();var Ve={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};i();var Em=.001;function R4({duration:e=Ve.duration,bounce:t=Ve.bounce,velocity:r=Ve.velocity,mass:n=Ve.mass}){let o,a;Tn(e<=lt(Ve.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=mt(Ve.minDamping,Ve.maxDamping,s),e=mt(Ve.minDuration,Ve.maxDuration,Et(e)),s<1?(o=c=>{let p=c*s,d=p*e,h=p-r,g=yc(c,s),v=Math.exp(-d);return Em-h/g*v},a=c=>{let d=c*s*e,h=d*r+r,g=Math.pow(s,2)*Math.pow(c,2)*e,v=Math.exp(-d),m=yc(Math.pow(c,2),s);return(-o(c)+Em>0?-1:1)*((h-g)*v)/m}):(o=c=>{let p=Math.exp(-c*e),d=(c-r)*e+1;return-Em+p*d},a=c=>{let p=Math.exp(-c*e),d=(r-c)*(e*e);return p*d});let l=5/e,u=LI(o,a,l);if(e=lt(e),isNaN(u))return{stiffness:Ve.stiffness,damping:Ve.damping,duration:e};{let c=Math.pow(u,2)*n;return{stiffness:c,damping:s*2*Math.sqrt(n*c),duration:e}}}var NI=12;function LI(e,t,r){let n=r;for(let o=1;o<NI;o++)n=n-e(n)/t(n);return n}function yc(e,t){return e*Math.sqrt(1-t*t)}var $I=["duration","bounce"],zI=["stiffness","damping","mass"];function F4(e,t){return t.some(r=>e[r]!==void 0)}function GI(e){let t={velocity:Ve.velocity,stiffness:Ve.stiffness,damping:Ve.damping,mass:Ve.mass,isResolvedFromDuration:!1,...e};if(!F4(e,zI)&&F4(e,$I))if(e.visualDuration){let r=e.visualDuration,n=2*Math.PI/(r*1.2),o=n*n,a=2*mt(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:Ve.mass,stiffness:o,damping:a}}else{let r=R4(e);t={...t,...r,mass:Ve.mass},t.isResolvedFromDuration=!0}return t}function da(e=Ve.visualDuration,t=Ve.bounce){let r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:n,restDelta:o}=r,a=r.keyframes[0],s=r.keyframes[r.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:c,mass:p,duration:d,velocity:h,isResolvedFromDuration:g}=GI({...r,velocity:-Et(r.velocity||0)}),v=h||0,m=c/(2*Math.sqrt(u*p)),b=s-a,y=Et(Math.sqrt(u/p)),x=Math.abs(b)<5;n||(n=x?Ve.restSpeed.granular:Ve.restSpeed.default),o||(o=x?Ve.restDelta.granular:Ve.restDelta.default);let w;if(m<1){let T=yc(y,m);w=S=>{let E=Math.exp(-m*y*S);return s-E*((v+m*y*b)/T*Math.sin(T*S)+b*Math.cos(T*S))}}else if(m===1)w=T=>s-Math.exp(-y*T)*(b+(v+y*b)*T);else{let T=y*Math.sqrt(m*m-1);w=S=>{let E=Math.exp(-m*y*S),R=Math.min(T*S,300);return s-E*((v+m*y*b)*Math.sinh(R)+T*b*Math.cosh(R))/T}}let D={calculatedDuration:g&&d||null,next:T=>{let S=w(T);if(g)l.done=T>=d;else{let E=T===0?v:0;m<1&&(E=T===0?lt(v):vc(w,T,S));let R=Math.abs(E)<=n,B=Math.abs(s-S)<=o;l.done=R&&B}return l.value=l.done?s:S,l},toString:()=>{let T=Math.min(pa(D),2e4),S=gc(E=>D.next(T*E).value,T,30);return T+"ms "+S},toTransition:()=>{}};return D}da.applyToOptions=e=>{let t=A4(e,100,da);return e.ease=t.ease,e.duration=lt(t.duration),e.type="keyframes",e};function sl({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:s,min:l,max:u,restDelta:c=.5,restSpeed:p}){let d=e[0],h={done:!1,value:d},g=R=>l!==void 0&&R<l||u!==void 0&&R>u,v=R=>l===void 0?u:u===void 0||Math.abs(l-R)<Math.abs(u-R)?l:u,m=r*t,b=d+m,y=s===void 0?b:s(b);y!==b&&(m=y-d);let x=R=>-m*Math.exp(-R/n),w=R=>y+x(R),D=R=>{let B=x(R),k=w(R);h.done=Math.abs(B)<=c,h.value=h.done?y:k},T,S,E=R=>{g(h.value)&&(T=R,S=da({keyframes:[h.value,v(h.value)],velocity:vc(w,R,h.value),damping:o,stiffness:a,restDelta:c,restSpeed:p}))};return E(0),{calculatedDuration:null,next:R=>{let B=!1;return!S&&T===void 0&&(B=!0,D(R),E(R)),T!==void 0&&R>=T?S.next(R-T):(!B&&D(R),h)}}}i();i();function HI(e,t,r){let n=[],o=r||Bt.mix||hc,a=e.length-1;for(let s=0;s<a;s++){let l=o(e[s],e[s+1]);if(t){let u=Array.isArray(t)?t[s]||_e:t;l=$r(u,l)}n.push(l)}return n}function B4(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let a=e.length;if(xr(a===t.length,"Both input and output ranges must be the same length","range-length"),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let l=HI(t,n,o),u=l.length,c=p=>{if(s&&p<e[0])return t[0];let d=0;if(u>1)for(;d<e.length-2&&!(p<e[d+1]);d++);let h=Qr(e[d],e[d+1],p);return l[d](h)};return r?p=>c(mt(e[0],e[a-1],p)):c}i();i();function O4(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=Qr(0,t,n);e.push(Ce(r,1,o))}}function M4(e){let t=[0];return O4(t,e.length-1),t}i();function I4(e,t){return e.map(r=>r*t)}function jI(e,t){return e.map(()=>t||el).splice(0,e.length-1)}function ei({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let o=vm(n)?n.map(lc):lc(n),a={done:!1,value:t[0]},s=I4(r&&r.length===t.length?r:M4(t),e),l=B4(s,t,{ease:Array.isArray(o)?o:jI(t,o)});return{calculatedDuration:e,next:u=>(a.value=l(u),a.done=u>=e,a)}}i();var WI=e=>e!==null;function ma(e,{repeat:t,repeatType:r="loop"},n,o=1){let a=e.filter(WI),l=o<0||t&&r!=="loop"&&t%2===1?0:a.length-1;return!l||n===void 0?a[l]:n}i();var _I={decay:sl,inertia:sl,tween:ei,keyframes:ei,spring:da};function bc(e){typeof e.type=="string"&&(e.type=_I[e.type])}i();var go=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}};var UI=e=>e/100,Rn=class extends go{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:r}=this.options;r&&r.updatedAt!==Ze.now()&&this.tick(Ze.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},zr.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;bc(t);let{type:r=ei,repeat:n=0,repeatDelay:o=0,repeatType:a,velocity:s=0}=t,{keyframes:l}=t,u=r||ei;u!==ei&&typeof l[0]!="number"&&(this.mixKeyframes=$r(UI,hc(l[0],l[1])),l=[0,100]);let c=u({...t,keyframes:l});a==="mirror"&&(this.mirroredGenerator=u({...t,keyframes:[...l].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=pa(c));let{calculatedDuration:p}=c;this.calculatedDuration=p,this.resolvedDuration=p+o,this.totalDuration=this.resolvedDuration*(n+1)-o,this.generator=c}updateTime(t){let r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){let{generator:n,totalDuration:o,mixKeyframes:a,mirroredGenerator:s,resolvedDuration:l,calculatedDuration:u}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:p,repeat:d,repeatType:h,repeatDelay:g,type:v,onUpdate:m,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),r?this.currentTime=t:this.updateTime(t);let y=this.currentTime-c*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?y<0:y>o;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let w=this.currentTime,D=n;if(d){let R=Math.min(this.currentTime,o)/l,B=Math.floor(R),k=R%1;!k&&R>=1&&(k=1),k===1&&B--,B=Math.min(B,d+1),!!(B%2)&&(h==="reverse"?(k=1-k,g&&(k-=g/l)):h==="mirror"&&(D=s)),w=mt(0,1,k)*l}let T=x?{done:!1,value:p[0]}:D.next(w);a&&(T.value=a(T.value));let{done:S}=T;!x&&u!==null&&(S=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);let E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return E&&v!==sl&&(T.value=ma(p,this.options,b,this.speed)),m&&m(T.value),E&&this.finish(),T}then(t,r){return this.finished.then(t,r)}get duration(){return Et(this.calculatedDuration)}get time(){return Et(this.currentTime)}set time(t){t=lt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Ze.now());let r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=Et(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=P4,startTime:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();let n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=r??n),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ze.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,zr.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};i();i();function k4(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}i();i();var ti=e=>e*180/Math.PI,Tm=e=>{let t=ti(Math.atan2(e[1],e[0]));return Pm(t)},KI={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Tm,rotateZ:Tm,skewX:e=>ti(Math.atan(e[1])),skewY:e=>ti(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Pm=e=>(e=e%360,e<0&&(e+=360),e),V4=Tm,N4=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),L4=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),qI={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:N4,scaleY:L4,scale:e=>(N4(e)+L4(e))/2,rotateX:e=>Pm(ti(Math.atan2(e[6],e[5]))),rotateY:e=>Pm(ti(Math.atan2(-e[2],e[0]))),rotateZ:V4,rotate:V4,skewX:e=>ti(Math.atan(e[4])),skewY:e=>ti(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ll(e){return e.includes("scale")?1:0}function ul(e,t){if(!e||e==="none")return ll(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),n,o;if(r)n=qI,o=r;else{let l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=KI,o=l}if(!o)return ll(t);let a=n[t],s=o[1].split(",").map(XI);return typeof a=="function"?a(s):s[a]}var Am=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return ul(r,t)};function XI(e){return parseFloat(e.trim())}i();var Hr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],fr=new Set(Hr);var Rm=e=>e===en||e===ie,YI=new Set(["x","y","z"]),JI=Hr.filter(e=>!YI.has(e));function $4(e){let t=[];return JI.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}var vo={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:(e,{transform:t})=>ul(t,"x"),y:(e,{transform:t})=>ul(t,"y")};vo.translateX=vo.x;vo.translateY=vo.y;var ri=new Set,Fm=!1,Bm=!1,Om=!1;function z4(){if(Bm){let e=Array.from(ri).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{let o=$4(n);o.length&&(r.set(n,o),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();let o=r.get(n);o&&o.forEach(([a,s])=>{n.getValue(a)?.set(s)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}Bm=!1,Fm=!1,ri.forEach(e=>e.complete(Om)),ri.clear()}function G4(){ri.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Bm=!0)})}function Mm(){Om=!0,G4(),z4(),Om=!1}var Fn=class{constructor(t,r,n,o,a,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=n,this.motionValue=o,this.element=a,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(ri.add(this),Fm||(Fm=!0,ye.read(G4),ye.resolveKeyframes(z4))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:n,motionValue:o}=this;if(t[0]===null){let a=o?.get(),s=t[t.length-1];if(a!==void 0)t[0]=a;else if(n&&r){let l=n.readValue(r,s);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=s),o&&a===void 0&&o.set(t[0])}k4(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ri.delete(this)}cancel(){this.state==="scheduled"&&(ri.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};i();i();i();i();var H4=e=>e.startsWith("--");function j4(e,t,r){H4(t)?e.style.setProperty(t,r):e.style[t]=r}i();var W4=Jo(()=>window.ScrollTimeline!==void 0);i();i();i();i();i();var _4={};function U4(e,t){let r=Jo(e);return()=>_4[t]??r()}var Cc=U4(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");i();var ni=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`;i();var Im={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ni([0,.65,.55,1]),circOut:ni([.55,0,1,.45]),backIn:ni([.31,.01,.66,-.59]),backOut:ni([.33,1.53,.69,.99])};function km(e,t){if(e)return typeof e=="function"?Cc()?gc(e,t):"ease-out":tl(e)?ni(e):Array.isArray(e)?e.map(r=>km(r,t)||Im.easeOut):Im[e]}function K4(e,t,r,{delay:n=0,duration:o=300,repeat:a=0,repeatType:s="loop",ease:l="easeOut",times:u}={},c=void 0){let p={[t]:r};u&&(p.offset=u);let d=km(l,o);Array.isArray(d)&&(p.easing=d),Kt.value&&zr.waapi++;let h={delay:n,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"};c&&(h.pseudoElement=c);let g=e.animate(p,h);return Kt.value&&g.finished.finally(()=>{zr.waapi--}),g}i();i();function xc(e){return typeof e=="function"&&"applyToOptions"in e}function q4({type:e,...t}){return xc(e)&&Cc()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var wc=class extends go{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:r,name:n,keyframes:o,pseudoElement:a,allowFlatten:s=!1,finalKeyframe:l,onComplete:u}=t;this.isPseudoElement=!!a,this.allowFlatten=s,this.options=t,xr(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let c=q4(t);this.animation=K4(r,n,o,c,a),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let p=ma(o,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(p):j4(r,n,p),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return Et(Number(t))}get time(){return Et(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=lt(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&W4()?(this.animation.timeline=t,_e):r(this)}};i();var X4={anticipate:Ys,backInOut:Xs,circInOut:Qs};function ZI(e){return e in X4}function Y4(e){typeof e.ease=="string"&&ZI(e.ease)&&(e.ease=X4[e.ease])}var J4=10,Sc=class extends wc{constructor(t){Y4(t),bc(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:r,onUpdate:n,onComplete:o,element:a,...s}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}let l=new Rn({...s,autoplay:!1}),u=lt(this.finishedTime??this.time);r.setWithVelocity(l.sample(u-J4).value,l.sample(u).value,J4),l.stop()}};i();i();var Vm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Mt.test(e)||e==="0")&&!e.startsWith("url("));function QI(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 Z4(e,t,r,n){let o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],s=Vm(o,t),l=Vm(a,t);return Tn(s===l,`You are trying to animate ${t} from "${o}" to "${a}". "${s?a:o}" is not an animatable value.`,"value-not-animatable"),!s||!l?!1:QI(e)||(r==="spring"||xc(r))&&n}i();function ha(e){e.duration=0,e.type}i();var ek=new Set(["opacity","clipPath","filter","transform"]),tk=Jo(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Q4(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:o,damping:a,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:u,transformTemplate:c}=t.owner.getProps();return tk()&&r&&ek.has(r)&&(r!=="transform"||!c)&&!u&&!n&&o!=="mirror"&&a!==0&&s!=="inertia"}var rk=40,cl=class extends go{constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",keyframes:l,name:u,motionValue:c,element:p,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ze.now();let h={autoplay:t,delay:r,type:n,repeat:o,repeatDelay:a,repeatType:s,name:u,motionValue:c,element:p,...d},g=p?.KeyframeResolver||Fn;this.keyframeResolver=new g(l,(v,m,b)=>this.onKeyframesResolved(v,m,h,!b),u,c,p),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,r,n,o){this.keyframeResolver=void 0;let{name:a,type:s,velocity:l,delay:u,isHandoff:c,onUpdate:p}=n;this.resolvedAt=Ze.now(),Z4(t,a,s,l)||((Bt.instantAnimations||!u)&&p?.(ma(t,n,r)),t[0]=t[t.length-1],ha(n),n.repeat=0);let h={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>rk?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...n,keyframes:t},g=!c&&Q4(h)?new Sc({...h,element:h.motionValue.owner.current}):new Rn(h);g.finished.then(()=>this.notifyFinished()).catch(_e),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(t,r){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Mm()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};i();var nk=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ok(e){let t=nk.exec(e);if(!t)return[,];let[,r,n,o]=t;return[`--${r??n}`,o]}var ik=4;function Nm(e,t,r=1){xr(r<=ik,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,o]=ok(e);if(!n)return;let a=window.getComputedStyle(t).getPropertyValue(n);if(a){let s=a.trim();return _s(s)?parseFloat(s):s}return Qo(o)?Nm(o,t,r+1):o}i();function oi(e,t){return e?.[t]??e?.default??e}i();i();var fl=new Set(["width","height","top","left","right","bottom",...Hr]);i();i();var e6={test:e=>e==="auto",parse:e=>e};i();var Dc=e=>t=>t.test(e);var Lm=[en,ie,Ot,Gr,Cm,bm,e6],$m=e=>Lm.find(Dc(e));i();function t6(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Ks(e):!0}i();i();i();var ak=new Set(["brightness","contrast","saturate","opacity"]);function sk(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(ua)||[];if(!n)return e;let o=r.replace(n,""),a=ak.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+o+")"}var lk=/\b([a-z-]*)\(.*?\)/gu,pl={...Mt,getAnimatableNone:e=>{let t=e.match(lk);return t?t.map(sk).join(" "):e}};i();i();i();var zm={...en,transform:Math.round};i();var r6={rotate:Gr,rotateX:Gr,rotateY:Gr,rotateZ:Gr,scale:ol,scaleX:ol,scaleY:ol,scaleZ:ol,skew:Gr,skewX:Gr,skewY:Gr,distance:ie,translateX:ie,translateY:ie,translateZ:ie,x:ie,y:ie,z:ie,perspective:ie,transformPerspective:ie,opacity:An,originX:pc,originY:pc,originZ:ie};var ii={borderWidth:ie,borderTopWidth:ie,borderRightWidth:ie,borderBottomWidth:ie,borderLeftWidth:ie,borderRadius:ie,radius:ie,borderTopLeftRadius:ie,borderTopRightRadius:ie,borderBottomRightRadius:ie,borderBottomLeftRadius:ie,width:ie,maxWidth:ie,height:ie,maxHeight:ie,top:ie,right:ie,bottom:ie,left:ie,padding:ie,paddingTop:ie,paddingRight:ie,paddingBottom:ie,paddingLeft:ie,margin:ie,marginTop:ie,marginRight:ie,marginBottom:ie,marginLeft:ie,backgroundPositionX:ie,backgroundPositionY:ie,...r6,zIndex:zm,fillOpacity:An,strokeOpacity:An,numOctaves:zm};var n6={...ii,color:ze,backgroundColor:ze,outlineColor:ze,fill:ze,stroke:ze,borderColor:ze,borderTopColor:ze,borderRightColor:ze,borderBottomColor:ze,borderLeftColor:ze,filter:pl,WebkitFilter:pl},dl=e=>n6[e];function ml(e,t){let r=dl(e);return r!==pl&&(r=Mt),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var uk=new Set(["auto","none","0"]);function o6(e,t,r){let n=0,o;for(;n<e.length&&!o;){let a=e[n];typeof a=="string"&&!uk.has(a)&&ho(a).values.length&&(o=e[n]),n++}if(o&&r)for(let a of t)e[a]=ml(r,o)}var hl=class extends Fn{constructor(t,r,n,o,a){super(t,r,n,o,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:n}=this;if(!r||!r.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let c=t[u];if(typeof c=="string"&&(c=c.trim(),Qo(c))){let p=Nm(c,r.current);p!==void 0&&(t[u]=p),u===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!fl.has(n)||t.length!==2)return;let[o,a]=t,s=$m(o),l=$m(a);if(s!==l)if(Rm(s)&&Rm(l))for(let u=0;u<t.length;u++){let c=t[u];typeof c=="string"&&(t[u]=parseFloat(c))}else vo[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,n=[];for(let o=0;o<t.length;o++)(t[o]===null||t6(t[o]))&&n.push(o);n.length&&o6(t,n,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=vo[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(){let{element:t,name:r,unresolvedKeyframes:n}=this;if(!t||!t.current)return;let o=t.getValue(r);o&&o.jump(this.measuredOrigin,!1);let a=n.length-1,s=n[a];n[a]=vo[r](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}};i();function i6(e,t,r){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let n=document;t&&(n=t.current);let o=r?.[e]??n.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}i();var gl=(e,t)=>t&&typeof e=="number"?t.transform(e):e;i();function vl(e){return Us(e)&&"offsetHeight"in e}i();var a6=30,ck=e=>!isNaN(parseFloat(e)),Gm={current:void 0},Ec=class{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{let o=Ze.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Ze.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=ck(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 Pn);let n=this.events[t].add(r);return t==="change"?()=>{n(),ye.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){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}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()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Gm.current&&Gm.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Ze.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>a6)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,a6);return qs(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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function wr(e,t){return new Ec(e,t)}i();var{schedule:ai,cancel:fk}=uc(queueMicrotask,!1);i();var Sr={x:!1,y:!1};function Tc(){return Sr.x||Sr.y}i();function Hm(e){return e==="x"||e==="y"?Sr[e]?null:(Sr[e]=!0,()=>{Sr[e]=!1}):Sr.x||Sr.y?null:(Sr.x=Sr.y=!0,()=>{Sr.x=Sr.y=!1})}i();i();function Pc(e,t){let r=i6(e),n=new AbortController,o={passive:!0,...t,signal:n.signal};return[r,o,()=>n.abort()]}function s6(e){return!(e.pointerType==="touch"||Tc())}function jm(e,t,r={}){let[n,o,a]=Pc(e,r),s=l=>{if(!s6(l))return;let{target:u}=l,c=t(u,l);if(typeof c!="function"||!u)return;let p=d=>{s6(d)&&(c(d),u.removeEventListener("pointerleave",p))};u.addEventListener("pointerleave",p,o)};return n.forEach(l=>{l.addEventListener("pointerenter",s,o)}),a}i();i();var Wm=(e,t)=>t?e===t?!0:Wm(e,t.parentElement):!1;i();var si=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;i();var pk=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function l6(e){return pk.has(e.tagName)||e.tabIndex!==-1}i();i();var ga=new WeakSet;function u6(e){return t=>{t.key==="Enter"&&e(t)}}function _m(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var c6=(e,t)=>{let r=e.currentTarget;if(!r)return;let n=u6(()=>{if(ga.has(r))return;_m(r,"down");let o=u6(()=>{_m(r,"up")}),a=()=>_m(r,"cancel");r.addEventListener("keyup",o,t),r.addEventListener("blur",a,t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)};function f6(e){return si(e)&&!Tc()}function Um(e,t,r={}){let[n,o,a]=Pc(e,r),s=l=>{let u=l.currentTarget;if(!f6(l))return;ga.add(u);let c=t(u,l),p=(g,v)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",h),ga.has(u)&&ga.delete(u),f6(g)&&typeof c=="function"&&c(g,{success:v})},d=g=>{p(g,u===window||u===document||r.useGlobalTarget||Wm(u,g.target))},h=g=>{p(g,!1)};window.addEventListener("pointerup",d,o),window.addEventListener("pointercancel",h,o)};return n.forEach(l=>{(r.useGlobalTarget?window:l).addEventListener("pointerdown",s,o),vl(l)&&(l.addEventListener("focus",c=>c6(c,o)),!l6(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),a}i();function yl(e){return Us(e)&&"ownerSVGElement"in e}i();function Km(e){return yl(e)&&e.tagName==="svg"}i();var Be=e=>!!(e&&e.getVelocity);i();var dk=[...Lm,ze,Mt],qm=e=>dk.find(Dc(e));import*as Ac from"react";import{useId as gk,useRef as p6,useContext as vk,useInsertionEffect as yk}from"react";i();import{createContext as mk}from"react";var Bn=mk({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var Xm=class extends Ac.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let n=r.offsetParent,o=vl(n)&&n.offsetWidth||0,a=this.props.sizeRef.current;a.height=r.offsetHeight||0,a.width=r.offsetWidth||0,a.top=r.offsetTop,a.left=r.offsetLeft,a.right=o-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}};function d6({children:e,isPresent:t,anchorX:r,root:n}){let o=gk(),a=p6(null),s=p6({width:0,height:0,top:0,left:0,right:0}),{nonce:l}=vk(Bn);return yk(()=>{let{width:u,height:c,top:p,left:d,right:h}=s.current;if(t||!a.current||!u||!c)return;let g=r==="left"?`left: ${d}`:`right: ${h}`;a.current.dataset.motionPopId=o;let v=document.createElement("style");l&&(v.nonce=l);let m=n??document.head;return m.appendChild(v),v.sheet&&v.sheet.insertRule(`
116
+ `},Zu=Object.keys(rm),Cr=(e=void 0)=>F(e)?rm[e]:rm.defaultDarkOne;i();var UO=31,Uue=e=>{let t=null;if(typeof e=="string"&&e)t=Array.from(e).reduce((n,o)=>Math.imul(UO,n)+o.charCodeAt(0)||0,0);else return Zu[0];let r=Math.abs(t)%Zu.length;return Zu[r]};i();i();i();i();function Lt(){return Lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Lt.apply(null,arguments)}i();function R5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}i();i();function io(e,t){return io=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},io(e,t)}function Qu(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,io(e,t)}i();i();function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ec(e)}i();function F5(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}i();i();function nm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(nm=function(){return!!e})()}function B5(e,t,r){if(nm())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&io(o,r.prototype),o}function tc(e){var t=typeof Map=="function"?new Map:void 0;return tc=function(n){if(n===null||!F5(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return B5(n,arguments,ec(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),io(o,n)},tc(e)}i();var _t=(function(e){Qu(t,e);function t(r){var n;if(1)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this;else for(var o,a,s;s<o;s++);return R5(n)}return t})(tc(Error));function O5(e,t){return e.substr(-t.length)===t}var KO=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function M5(e){if(typeof e!="string")return e;var t=e.match(KO);return t?parseFloat(e):e}var qO=function(t){return function(r,n){n===void 0&&(n="16px");var o=r,a=n;if(typeof r=="string"){if(!O5(r,"px"))throw new _t(69,t,r);o=M5(r)}if(typeof n=="string"){if(!O5(n,"px"))throw new _t(70,t,n);a=M5(n)}if(typeof o=="string")throw new _t(71,r,t);if(typeof a=="string")throw new _t(72,n,t);return""+o/a+t}},k5=qO,Ace=k5("em");var XO=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function V5(e){if(typeof e!="string")return[e,""];var t=e.match(XO);return t?[parseFloat(e),t[2]]:[e,void 0]}var Rce=k5("rem");function om(e){return Math.round(e*255)}function YO(e,t,r){return om(e)+","+om(t)+","+om(r)}function Ls(e,t,r,n){if(n===void 0&&(n=YO),t===0)return n(r,r,r);var o=(e%360+360)%360/60,a=(1-Math.abs(2*r-1))*t,s=a*(1-Math.abs(o%2-1)),l=0,u=0,c=0;o>=0&&o<1?(l=a,u=s):o>=1&&o<2?(l=s,u=a):o>=2&&o<3?(u=a,c=s):o>=3&&o<4?(u=s,c=a):o>=4&&o<5?(l=s,c=a):o>=5&&o<6&&(l=a,c=s);var p=r-a/2,d=l+p,h=u+p,g=c+p;return n(d,h,g)}var I5={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 JO(e){if(typeof e!="string")return e;var t=e.toLowerCase();return I5[t]?"#"+I5[t]:e}var ZO=/^#[a-fA-F0-9]{6}$/,QO=/^#[a-fA-F0-9]{8}$/,eM=/^#[a-fA-F0-9]{3}$/,tM=/^#[a-fA-F0-9]{4}$/,im=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rM=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,nM=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,oM=/^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 ra(e){if(typeof e!="string")throw new _t(3);var t=JO(e);if(t.match(ZO))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(QO)){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(eM))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(tM)){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=im.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=rM.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var s=nM.exec(t);if(s){var l=parseInt(""+s[1],10),u=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,p="rgb("+Ls(l,u,c)+")",d=im.exec(p);if(!d)throw new _t(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var h=oM.exec(t.substring(0,50));if(h){var g=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,m=parseInt(""+h[3],10)/100,b="rgb("+Ls(g,v,m)+")",y=im.exec(b);if(!y)throw new _t(4,t,b);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new _t(5)}function iM(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),s=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l,u=o-a,c=s>.5?u/(2-o-a):u/(o+a);switch(o){case t:l=(r-n)/u+(r<n?6:0);break;case r:l=(n-t)/u+2;break;default:l=(t-r)/u+4;break}return l*=60,e.alpha!==void 0?{hue:l,saturation:c,lightness:s,alpha:e.alpha}:{hue:l,saturation:c,lightness:s}}function ao(e){return iM(ra(e))}var aM=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},sm=aM;function qo(e){var t=e.toString(16);return t.length===1?"0"+t:t}function am(e){return qo(Math.round(e*255))}function sM(e,t,r){return sm("#"+am(e)+am(t)+am(r))}function rc(e,t,r){return Ls(e,t,r,sM)}function lM(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return rc(e,t,r);if(typeof e=="object"&&t===void 0&&r===void 0)return rc(e.hue,e.saturation,e.lightness);throw new _t(1)}function uM(e,t,r,n){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?rc(e,t,r):"rgba("+Ls(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?rc(e.hue,e.saturation,e.lightness):"rgba("+Ls(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new _t(2)}function lm(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return sm("#"+qo(e)+qo(t)+qo(r));if(typeof e=="object"&&t===void 0&&r===void 0)return sm("#"+qo(e.red)+qo(e.green)+qo(e.blue));throw new _t(6)}function nc(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=ra(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?lm(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?lm(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new _t(7)}var cM=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},fM=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},pM=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},dM=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function so(e){if(typeof e!="object")throw new _t(8);if(fM(e))return nc(e);if(cM(e))return lm(e);if(dM(e))return uM(e);if(pM(e))return lM(e);throw new _t(8)}function N5(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):N5(e,t,o)}}function cr(e){return N5(e,e.length,[])}function mM(e,t){if(t==="transparent")return t;var r=ao(t);return so(Lt({},r,{hue:r.hue+parseFloat(e)}))}var Fce=cr(mM);function na(e,t,r){return Math.max(e,Math.min(t,r))}function hM(e,t){if(t==="transparent")return t;var r=ao(t);return so(Lt({},r,{lightness:na(0,1,r.lightness-parseFloat(e))}))}var gM=cr(hM),Ye=gM;function vM(e,t){if(t==="transparent")return t;var r=ao(t);return so(Lt({},r,{saturation:na(0,1,r.saturation-parseFloat(e))}))}var Bce=cr(vM);function yM(e,t){if(t==="transparent")return t;var r=ao(t);return so(Lt({},r,{lightness:na(0,1,r.lightness+parseFloat(e))}))}var Oce=cr(yM);function bM(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=ra(t),o=Lt({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),a=ra(r),s=Lt({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),l=o.alpha-s.alpha,u=parseFloat(e)*2-1,c=u*l===-1?u:u+l,p=1+u*l,d=(c/p+1)/2,h=1-d,g={red:Math.floor(o.red*d+s.red*h),green:Math.floor(o.green*d+s.green*h),blue:Math.floor(o.blue*d+s.blue*h),alpha:o.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return nc(g)}var CM=cr(bM),L5=CM;function xM(e,t){if(t==="transparent")return t;var r=ra(t),n=typeof r.alpha=="number"?r.alpha:1,o=Lt({},r,{alpha:na(0,1,(n*100+parseFloat(e)*100)/100)});return nc(o)}var Mce=cr(xM);function wM(e,t){if(t==="transparent")return t;var r=ao(t);return so(Lt({},r,{saturation:na(0,1,r.saturation+parseFloat(e))}))}var Ice=cr(wM);function SM(e,t){return t==="transparent"?t:so(Lt({},ao(t),{hue:parseFloat(e)}))}var kce=cr(SM);function DM(e,t){return t==="transparent"?t:so(Lt({},ao(t),{lightness:parseFloat(e)}))}var Vce=cr(DM);function EM(e,t){return t==="transparent"?t:so(Lt({},ao(t),{saturation:parseFloat(e)}))}var Nce=cr(EM);function PM(e,t){return t==="transparent"?t:L5(parseFloat(e),"rgb(0, 0, 0)",t)}var Lce=cr(PM);function TM(e,t){return t==="transparent"?t:L5(parseFloat(e),"rgb(255, 255, 255)",t)}var $ce=cr(TM);function AM(e,t){if(t==="transparent")return t;var r=ra(t),n=typeof r.alpha=="number"?r.alpha:1,o=Lt({},r,{alpha:na(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return nc(o)}var RM=cr(AM),Ut=RM;var $s=e=>{let[r,n]=V5(e);return`@media (max-width: ${Math.max(r-.0025,0)}${n})`},FM=({theme:e})=>`@media (min-width: ${e.breakpoint.xs})`,BM=({theme:e})=>`@media (min-width: ${e.breakpoint.sm})`,OM=({theme:e})=>`@media (min-width: ${e.breakpoint.md})`,MM=({theme:e})=>`@media (min-width: ${e.breakpoint.lg})`,IM=({theme:e})=>`@media (min-width: ${e.breakpoint.xl})`,kM=({theme:e})=>$s(e.breakpoint.xs),VM=({theme:e})=>$s(e.breakpoint.sm),NM=({theme:e})=>$s(e.breakpoint.md),LM=({theme:e})=>$s(e.breakpoint.lg),$M=({theme:e})=>$s(e.breakpoint.xl),Ae={xsAndUp:FM,smAndUp:BM,mdAndUp:OM,lgAndUp:MM,xlAndUp:IM,xsAndDown:kM,smAndDown:VM,mdAndDown:NM,lgAndDown:LM,xlAndDown:$M};i();i();var Dn=e=>e!=null&&(Object.getPrototypeOf(e)===null||e.constructor===Object);i();var um=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])&&um(e[t])}),e);i();var zs=(e,...t)=>{if(!t.length)return e;let r={...e};return t.forEach(n=>{Dn(n)&&Object.keys(n).forEach(o=>{Dn(n[o])?r[o]===null||r[o]===void 0?r[o]={...n[o]}:r[o]=zs(r[o],n[o]):r[o]=n[o]})}),r};i();var $5=(e,t)=>t.reduce((r,n)=>(Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]),r),{});var sfe={isObject:Dn,deepFreeze:um,merge:zs,selectKeys:$5};i();i();var z5=(e="")=>e.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g,(t,r)=>+t==0?"":r===0?t.toLowerCase():t.toUpperCase());i();var En=e=>e==="true"||e==="false"?e==="true":!!e;i();var $t=e=>e==null?"":String(e);i();i();var oa=e=>typeof e=="string"||e instanceof String;var G5=e=>{if(!oa(e))return!1;try{let t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}};i();var lo=e=>{let t=/^(?:\w+:)?\/\/(\S+)$/,r=/^localhost[:?\d]*(?:[^:?\d]\S*)?$/,n=/^[^\s.]+\.\S{2,}$/;if(!oa(e))return!1;let o=t.exec(e);if(!o)return!1;let a=o[1];return a===void 0||!a?!1:r.test(a)||n.test(a)};i();var H5=(e="")=>(e[0]?.toLowerCase()??"")+e.slice(1);i();var j5=e=>e.replace(/\n/g,"");i();var W5=e=>(e||"").replace(/\.[^/.]{1,4}$/,"");i();var _5=(e,t)=>e.length<=t?e:`${e.slice(0,t-3)}...`;i();var U5=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1);var _fe={camelCase:z5,coerceToBoolean:En,coerceToString:$t,isHttpUrl:G5,isString:oa,isUrl:lo,lowerFirst:H5,removeNewlines:j5,stripExtension:W5,truncate:_5,upperFirst:U5};i();i();i();import Z5,{Component as YM}from"react";i();import Hs,{Component as WM}from"react";i();import zM from"react";var GM={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},K5=function(t){var r=t.message,n=t["aria-live"];return zM.createElement("div",{style:GM,role:"log","aria-live":n},r||"")};K5.propTypes={};var Gs=K5;function HM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q5(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 jM(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 X5=(function(e){jM(t,e);function t(){var r,n,o;HM(this,t);for(var a=arguments.length,s=Array(a),l=0;l<a;l++)s[l]=arguments[l];return o=(r=(n=q5(this,e.call.apply(e,[this].concat(s))),n),n.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},r),q5(n,o)}return t.getDerivedStateFromProps=function(n,o){var a=o.oldPolitemessage,s=o.oldPoliteMessageId,l=o.oldAssertiveMessage,u=o.oldAssertiveMessageId,c=n.politeMessage,p=n.politeMessageId,d=n.assertiveMessage,h=n.assertiveMessageId;return a!==c||s!==p?{politeMessage1:o.setAlternatePolite?"":c,politeMessage2:o.setAlternatePolite?c:"",oldPolitemessage:c,oldPoliteMessageId:p,setAlternatePolite:!o.setAlternatePolite}:l!==d||u!==h?{assertiveMessage1:o.setAlternateAssertive?"":d,assertiveMessage2:o.setAlternateAssertive?d:"",oldAssertiveMessage:d,oldAssertiveMessageId:h,setAlternateAssertive:!o.setAlternateAssertive}:null},t.prototype.render=function(){var n=this.state,o=n.assertiveMessage1,a=n.assertiveMessage2,s=n.politeMessage1,l=n.politeMessage2;return Hs.createElement("div",null,Hs.createElement(Gs,{"aria-live":"assertive",message:o}),Hs.createElement(Gs,{"aria-live":"assertive",message:a}),Hs.createElement(Gs,{"aria-live":"polite",message:s}),Hs.createElement(Gs,{"aria-live":"polite",message:l}))},t})(WM);X5.propTypes={};var Y5=X5;i();import _M from"react";var UM=_M.createContext({announceAssertive:J5,announcePolite:J5});function J5(){console.warn("Announcement failed, LiveAnnouncer context is missing")}var ia=UM;function KM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qM(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 XM(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 JM=(function(e){XM(t,e);function t(r){KM(this,t);var n=qM(this,e.call(this,r));return n.announcePolite=function(o,a){n.setState({announcePoliteMessage:o,politeMessageId:a||""})},n.announceAssertive=function(o,a){n.setState({announceAssertiveMessage:o,assertiveMessageId:a||""})},n.state={announcePoliteMessage:"",politeMessageId:"",announceAssertiveMessage:"",assertiveMessageId:"",updateFunctions:{announcePolite:n.announcePolite,announceAssertive:n.announceAssertive}},n}return t.prototype.render=function(){var n=this.state,o=n.announcePoliteMessage,a=n.politeMessageId,s=n.announceAssertiveMessage,l=n.assertiveMessageId,u=n.updateFunctions;return Z5.createElement(ia.Provider,{value:u},this.props.children,Z5.createElement(Y5,{assertiveMessage:s,assertiveMessageId:l,politeMessage:o,politeMessageId:a}))},t})(YM),cm=JM;i();import u4 from"react";i();var mm=kr(i4());import{Component as oI}from"react";function rI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a4(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 nI(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 s4=(function(e){nI(t,e);function t(){var r,n,o;rI(this,t);for(var a=arguments.length,s=Array(a),l=0;l<a;l++)s[l]=arguments[l];return o=(r=(n=a4(this,e.call.apply(e,[this].concat(s))),n),n.announce=function(){var u=n.props,c=u.message,p=u["aria-live"],d=u.announceAssertive,h=u.announcePolite;p==="assertive"&&d(c||"",(0,mm.default)()),p==="polite"&&h(c||"",(0,mm.default)())},r),a4(n,o)}return t.prototype.componentDidMount=function(){this.announce()},t.prototype.componentDidUpdate=function(n){var o=this.props.message;o!==n.message&&this.announce()},t.prototype.componentWillUnmount=function(){var n=this.props,o=n.clearOnUnmount,a=n.announceAssertive,s=n.announcePolite;(o===!0||o==="true")&&(a(""),s(""))},t.prototype.render=function(){return null},t})(oI);s4.propTypes={};var l4=s4;var iI=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},c4=function(t){return u4.createElement(ia.Consumer,null,function(r){return u4.createElement(l4,iI({},r,t))})};c4.propTypes={};var Ws=c4;i();import aI from"react";var sI=function(t){var r=t.children;return aI.createElement(ia.Consumer,null,function(n){return r(n)})};sI.propTypes={};i();i();import{jsx as y6,Fragment as Tk}from"react/jsx-runtime";import{useMemo as Ak,useRef as b6,useState as C6,useContext as Rk}from"react";i();import{createContext as lI}from"react";var aa=lI({});i();import{useRef as uI}from"react";function uo(e){let t=uI(null);return t.current===null&&(t.current=e()),t.current}i();import{useLayoutEffect as cI,useEffect as fI}from"react";i();var sa=typeof window<"u";var oc=sa?cI:fI;i();import{jsx as m6}from"react/jsx-runtime";import*as g6 from"react";import{useId as bk,useMemo as h6}from"react";i();import{createContext as pI}from"react";var co=pI(null);i();import{jsx as hk}from"react/jsx-runtime";i();i();i();i();function Xo(e,t){e.indexOf(t)===-1&&e.push(t)}function Yo(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}i();var mt=(e,t,r)=>r>t?t:r<e?e:r;i();var Pn=()=>{},xr=()=>{};i();var Bt={};i();var _s=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);i();function Us(e){return typeof e=="object"&&e!==null}i();var Ks=e=>/^0[^.\s]+$/u.test(e);i();function Jo(e){let t;return()=>(t===void 0&&(t=e()),t)}i();var _e=e=>e;i();var dI=(e,t)=>r=>t(e(r)),$r=(...e)=>e.reduce(dI);i();var Qr=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};i();var Tn=class{constructor(){this.subscriptions=[]}add(t){return Xo(this.subscriptions,t),()=>Yo(this.subscriptions,t)}notify(t,r,n){let o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(let a=0;a<o;a++){let s=this.subscriptions[a];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};i();var lt=e=>e*1e3,Et=e=>e/1e3;i();function qs(e,t){return t?e*(1e3/t):0}i();i();i();var f4=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,mI=1e-7,hI=12;function gI(e,t,r,n,o){let a,s,l=0;do s=t+(r-t)/2,a=f4(s,n,o)-e,a>0?r=s:t=s;while(Math.abs(a)>mI&&++l<hI);return s}function fo(e,t,r,n){if(e===t&&r===n)return _e;let o=a=>gI(a,0,1,e,r);return a=>a===0||a===1?a:f4(o(a),t,n)}i();var ic=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;i();var ac=e=>t=>1-e(1-t);var sc=fo(.33,1.53,.69,.99),la=ac(sc),Xs=ic(la);var Ys=e=>(e*=2)<1?.5*la(e):.5*(2-Math.pow(2,-10*(e-1)));i();var Js=e=>1-Math.sin(Math.acos(e)),Zs=ac(Js),Qs=ic(Js);i();var hm=fo(.42,0,1,1),gm=fo(0,0,.58,1),el=fo(.42,0,.58,1);i();var vm=e=>Array.isArray(e)&&typeof e[0]!="number";i();var tl=e=>Array.isArray(e)&&typeof e[0]=="number";i();var p4={linear:_e,easeIn:hm,easeInOut:el,easeOut:gm,circIn:Js,circInOut:Qs,circOut:Zs,backIn:la,backInOut:Xs,backOut:sc,anticipate:Ys},vI=e=>typeof e=="string",lc=e=>{if(tl(e)){xr(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,o]=e;return fo(t,r,n,o)}else if(vI(e))return xr(p4[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),p4[e];return e};i();i();i();i();var rl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];i();i();var Kt={value:null,addProjectionMetrics:null};function d4(e,t){let r=new Set,n=new Set,o=!1,a=!1,s=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function c(d){s.has(d)&&(p.schedule(d),e()),u++,d(l)}let p={schedule:(d,h=!1,g=!1)=>{let m=g&&o?r:n;return h&&s.add(d),m.has(d)||m.add(d),d},cancel:d=>{n.delete(d),s.delete(d)},process:d=>{if(l=d,o){a=!0;return}o=!0,[r,n]=[n,r],r.forEach(c),t&&Kt.value&&Kt.value.frameloop[t].push(u),u=0,r.clear(),o=!1,a&&(a=!1,p.process(d))}};return p}var yI=40;function uc(e,t){let r=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,s=rl.reduce((w,D)=>(w[D]=d4(a,t?D:void 0),w),{}),{setup:l,read:u,resolveKeyframes:c,preUpdate:p,update:d,preRender:h,render:g,postRender:v}=s,m=()=>{let w=Bt.useManualTiming?o.timestamp:performance.now();r=!1,Bt.useManualTiming||(o.delta=n?1e3/60:Math.max(Math.min(w-o.timestamp,yI),1)),o.timestamp=w,o.isProcessing=!0,l.process(o),u.process(o),c.process(o),p.process(o),d.process(o),h.process(o),g.process(o),v.process(o),o.isProcessing=!1,r&&t&&(n=!1,e(m))},b=()=>{r=!0,n=!0,o.isProcessing||e(m)};return{schedule:rl.reduce((w,D)=>{let P=s[D];return w[D]=(S,E=!1,R=!1)=>(r||b(),P.schedule(S,E,R)),w},{}),cancel:w=>{for(let D=0;D<rl.length;D++)s[rl[D]].cancel(w)},state:o,steps:s}}var{schedule:ye,cancel:qt,state:Je,steps:nl}=uc(typeof requestAnimationFrame<"u"?requestAnimationFrame:_e,!0);var cc;function bI(){cc=void 0}var Ze={now:()=>(cc===void 0&&Ze.set(Je.isProcessing||Bt.useManualTiming?Je.timestamp:performance.now()),cc),set:e=>{cc=e,queueMicrotask(bI)}};i();i();var zr={layout:0,mainThread:0,waapi:0};i();i();i();var m4=e=>t=>typeof t=="string"&&t.startsWith(e),Zo=m4("--"),CI=m4("var(--"),Qo=e=>CI(e)?xI.test(e.split("/*")[0].trim()):!1,xI=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;i();i();i();i();var en={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},An={...en,transform:e=>mt(0,1,e)},ol={...en,default:1};i();var po=e=>Math.round(e*1e5)/1e5;i();i();var ua=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;i();function h4(e){return e==null}i();var g4=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var ca=(e,t)=>r=>!!(typeof r=="string"&&g4.test(r)&&r.startsWith(e)||t&&!h4(r)&&Object.prototype.hasOwnProperty.call(r,t)),fc=(e,t,r)=>n=>{if(typeof n!="string")return n;let[o,a,s,l]=n.match(ua);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(s),alpha:l!==void 0?parseFloat(l):1}};var wI=e=>mt(0,255,e),ym={...en,transform:e=>Math.round(wI(e))},tn={test:ca("rgb","red"),parse:fc("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+ym.transform(e)+", "+ym.transform(t)+", "+ym.transform(r)+", "+po(An.transform(n))+")"};function SI(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 il={test:ca("#"),parse:SI,transform:tn.transform};i();i();var al=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Gr=al("deg"),Ot=al("%"),ie=al("px"),bm=al("vh"),Cm=al("vw"),pc={...Ot,parse:e=>Ot.parse(e)/100,transform:e=>Ot.transform(e*100)};var mo={test:ca("hsl","hue"),parse:fc("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Ot.transform(po(t))+", "+Ot.transform(po(r))+", "+po(An.transform(n))+")"};var ze={test:e=>tn.test(e)||il.test(e)||mo.test(e),parse:e=>tn.test(e)?tn.parse(e):mo.test(e)?mo.parse(e):il.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?tn.transform(e):mo.transform(e),getAnimatableNone:e=>{let t=ze.parse(e);return t.alpha=0,ze.transform(t)}};i();i();var v4=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function DI(e){return isNaN(e)&&typeof e=="string"&&(e.match(ua)?.length||0)+(e.match(v4)?.length||0)>0}var b4="number",C4="color",EI="var",PI="var(",y4="${}",TI=/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 ho(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[],a=0,l=t.replace(TI,u=>(ze.test(u)?(n.color.push(a),o.push(C4),r.push(ze.parse(u))):u.startsWith(PI)?(n.var.push(a),o.push(EI),r.push(u)):(n.number.push(a),o.push(b4),r.push(parseFloat(u))),++a,y4)).split(y4);return{values:r,split:l,indexes:n,types:o}}function x4(e){return ho(e).values}function w4(e){let{split:t,types:r}=ho(e),n=t.length;return o=>{let a="";for(let s=0;s<n;s++)if(a+=t[s],o[s]!==void 0){let l=r[s];l===b4?a+=po(o[s]):l===C4?a+=ze.transform(o[s]):a+=o[s]}return a}}var AI=e=>typeof e=="number"?0:ze.test(e)?ze.getAnimatableNone(e):e;function RI(e){let t=x4(e);return w4(e)(t.map(AI))}var Mt={test:DI,parse:x4,createTransformer:w4,getAnimatableNone:RI};i();i();function xm(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 S4({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,a=0,s=0;if(!t)o=a=s=r;else{let l=r<.5?r*(1+t):r+t-r*t,u=2*r-l;o=xm(u,l,e+1/3),a=xm(u,l,e),s=xm(u,l,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:n}}i();function fa(e,t){return r=>r>0?t:e}i();var Ce=(e,t,r)=>e+(t-e)*r;var wm=(e,t,r)=>{let n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},FI=[il,tn,mo],BI=e=>FI.find(t=>t.test(e));function D4(e){let t=BI(e);if(Pn(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===mo&&(r=S4(r)),r}var Sm=(e,t)=>{let r=D4(e),n=D4(t);if(!r||!n)return fa(e,t);let o={...r};return a=>(o.red=wm(r.red,n.red,a),o.green=wm(r.green,n.green,a),o.blue=wm(r.blue,n.blue,a),o.alpha=Ce(r.alpha,n.alpha,a),tn.transform(o))};i();var dc=new Set(["none","hidden"]);function E4(e,t){return dc.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function OI(e,t){return r=>Ce(e,t,r)}function mc(e){return typeof e=="number"?OI:typeof e=="string"?Qo(e)?fa:ze.test(e)?Sm:kI:Array.isArray(e)?P4:typeof e=="object"?ze.test(e)?Sm:MI:fa}function P4(e,t){let r=[...e],n=r.length,o=e.map((a,s)=>mc(a)(a,t[s]));return a=>{for(let s=0;s<n;s++)r[s]=o[s](a);return r}}function MI(e,t){let r={...e,...t},n={};for(let o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=mc(e[o])(e[o],t[o]));return o=>{for(let a in n)r[a]=n[a](o);return r}}function II(e,t){let r=[],n={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let a=t.types[o],s=e.indexes[a][n[a]],l=e.values[s]??0;r[o]=l,n[a]++}return r}var kI=(e,t)=>{let r=Mt.createTransformer(t),n=ho(e),o=ho(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?dc.has(e)&&!o.values.length||dc.has(t)&&!n.values.length?E4(e,t):$r(P4(II(n,o),o.values),r):(Pn(!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.`,"complex-values-different"),fa(e,t))};function hc(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?Ce(e,t,r):mc(e)(e,t)}i();var T4=e=>{let t=({timestamp:r})=>e(r);return{start:(r=!0)=>ye.update(t,r),stop:()=>qt(t),now:()=>Je.isProcessing?Je.timestamp:Ze.now()}};i();i();i();var gc=(e,t,r=10)=>{let n="",o=Math.max(Math.round(t/r),2);for(let a=0;a<o;a++)n+=Math.round(e(a/(o-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};i();function pa(e){let t=0,r=50,n=e.next(t);for(;!n.done&&t<2e4;)t+=r,n=e.next(t);return t>=2e4?1/0:t}i();function A4(e,t=100,r){let n=r({...e,keyframes:[0,t]}),o=Math.min(pa(n),2e4);return{type:"keyframes",ease:a=>n.next(o*a).value/t,duration:Et(o)}}i();var VI=5;function vc(e,t,r){let n=Math.max(t-VI,0);return qs(r-e(n),t-n)}i();var Ve={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};i();var Em=.001;function R4({duration:e=Ve.duration,bounce:t=Ve.bounce,velocity:r=Ve.velocity,mass:n=Ve.mass}){let o,a;Pn(e<=lt(Ve.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=mt(Ve.minDamping,Ve.maxDamping,s),e=mt(Ve.minDuration,Ve.maxDuration,Et(e)),s<1?(o=c=>{let p=c*s,d=p*e,h=p-r,g=yc(c,s),v=Math.exp(-d);return Em-h/g*v},a=c=>{let d=c*s*e,h=d*r+r,g=Math.pow(s,2)*Math.pow(c,2)*e,v=Math.exp(-d),m=yc(Math.pow(c,2),s);return(-o(c)+Em>0?-1:1)*((h-g)*v)/m}):(o=c=>{let p=Math.exp(-c*e),d=(c-r)*e+1;return-Em+p*d},a=c=>{let p=Math.exp(-c*e),d=(r-c)*(e*e);return p*d});let l=5/e,u=LI(o,a,l);if(e=lt(e),isNaN(u))return{stiffness:Ve.stiffness,damping:Ve.damping,duration:e};{let c=Math.pow(u,2)*n;return{stiffness:c,damping:s*2*Math.sqrt(n*c),duration:e}}}var NI=12;function LI(e,t,r){let n=r;for(let o=1;o<NI;o++)n=n-e(n)/t(n);return n}function yc(e,t){return e*Math.sqrt(1-t*t)}var $I=["duration","bounce"],zI=["stiffness","damping","mass"];function F4(e,t){return t.some(r=>e[r]!==void 0)}function GI(e){let t={velocity:Ve.velocity,stiffness:Ve.stiffness,damping:Ve.damping,mass:Ve.mass,isResolvedFromDuration:!1,...e};if(!F4(e,zI)&&F4(e,$I))if(e.visualDuration){let r=e.visualDuration,n=2*Math.PI/(r*1.2),o=n*n,a=2*mt(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:Ve.mass,stiffness:o,damping:a}}else{let r=R4(e);t={...t,...r,mass:Ve.mass},t.isResolvedFromDuration=!0}return t}function da(e=Ve.visualDuration,t=Ve.bounce){let r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:n,restDelta:o}=r,a=r.keyframes[0],s=r.keyframes[r.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:c,mass:p,duration:d,velocity:h,isResolvedFromDuration:g}=GI({...r,velocity:-Et(r.velocity||0)}),v=h||0,m=c/(2*Math.sqrt(u*p)),b=s-a,y=Et(Math.sqrt(u/p)),x=Math.abs(b)<5;n||(n=x?Ve.restSpeed.granular:Ve.restSpeed.default),o||(o=x?Ve.restDelta.granular:Ve.restDelta.default);let w;if(m<1){let P=yc(y,m);w=S=>{let E=Math.exp(-m*y*S);return s-E*((v+m*y*b)/P*Math.sin(P*S)+b*Math.cos(P*S))}}else if(m===1)w=P=>s-Math.exp(-y*P)*(b+(v+y*b)*P);else{let P=y*Math.sqrt(m*m-1);w=S=>{let E=Math.exp(-m*y*S),R=Math.min(P*S,300);return s-E*((v+m*y*b)*Math.sinh(R)+P*b*Math.cosh(R))/P}}let D={calculatedDuration:g&&d||null,next:P=>{let S=w(P);if(g)l.done=P>=d;else{let E=P===0?v:0;m<1&&(E=P===0?lt(v):vc(w,P,S));let R=Math.abs(E)<=n,B=Math.abs(s-S)<=o;l.done=R&&B}return l.value=l.done?s:S,l},toString:()=>{let P=Math.min(pa(D),2e4),S=gc(E=>D.next(P*E).value,P,30);return P+"ms "+S},toTransition:()=>{}};return D}da.applyToOptions=e=>{let t=A4(e,100,da);return e.ease=t.ease,e.duration=lt(t.duration),e.type="keyframes",e};function sl({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:s,min:l,max:u,restDelta:c=.5,restSpeed:p}){let d=e[0],h={done:!1,value:d},g=R=>l!==void 0&&R<l||u!==void 0&&R>u,v=R=>l===void 0?u:u===void 0||Math.abs(l-R)<Math.abs(u-R)?l:u,m=r*t,b=d+m,y=s===void 0?b:s(b);y!==b&&(m=y-d);let x=R=>-m*Math.exp(-R/n),w=R=>y+x(R),D=R=>{let B=x(R),k=w(R);h.done=Math.abs(B)<=c,h.value=h.done?y:k},P,S,E=R=>{g(h.value)&&(P=R,S=da({keyframes:[h.value,v(h.value)],velocity:vc(w,R,h.value),damping:o,stiffness:a,restDelta:c,restSpeed:p}))};return E(0),{calculatedDuration:null,next:R=>{let B=!1;return!S&&P===void 0&&(B=!0,D(R),E(R)),P!==void 0&&R>=P?S.next(R-P):(!B&&D(R),h)}}}i();i();function HI(e,t,r){let n=[],o=r||Bt.mix||hc,a=e.length-1;for(let s=0;s<a;s++){let l=o(e[s],e[s+1]);if(t){let u=Array.isArray(t)?t[s]||_e:t;l=$r(u,l)}n.push(l)}return n}function B4(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let a=e.length;if(xr(a===t.length,"Both input and output ranges must be the same length","range-length"),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let l=HI(t,n,o),u=l.length,c=p=>{if(s&&p<e[0])return t[0];let d=0;if(u>1)for(;d<e.length-2&&!(p<e[d+1]);d++);let h=Qr(e[d],e[d+1],p);return l[d](h)};return r?p=>c(mt(e[0],e[a-1],p)):c}i();i();function O4(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=Qr(0,t,n);e.push(Ce(r,1,o))}}function M4(e){let t=[0];return O4(t,e.length-1),t}i();function I4(e,t){return e.map(r=>r*t)}function jI(e,t){return e.map(()=>t||el).splice(0,e.length-1)}function ei({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let o=vm(n)?n.map(lc):lc(n),a={done:!1,value:t[0]},s=I4(r&&r.length===t.length?r:M4(t),e),l=B4(s,t,{ease:Array.isArray(o)?o:jI(t,o)});return{calculatedDuration:e,next:u=>(a.value=l(u),a.done=u>=e,a)}}i();var WI=e=>e!==null;function ma(e,{repeat:t,repeatType:r="loop"},n,o=1){let a=e.filter(WI),l=o<0||t&&r!=="loop"&&t%2===1?0:a.length-1;return!l||n===void 0?a[l]:n}i();var _I={decay:sl,inertia:sl,tween:ei,keyframes:ei,spring:da};function bc(e){typeof e.type=="string"&&(e.type=_I[e.type])}i();var go=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}};var UI=e=>e/100,Rn=class extends go{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:r}=this.options;r&&r.updatedAt!==Ze.now()&&this.tick(Ze.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},zr.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;bc(t);let{type:r=ei,repeat:n=0,repeatDelay:o=0,repeatType:a,velocity:s=0}=t,{keyframes:l}=t,u=r||ei;u!==ei&&typeof l[0]!="number"&&(this.mixKeyframes=$r(UI,hc(l[0],l[1])),l=[0,100]);let c=u({...t,keyframes:l});a==="mirror"&&(this.mirroredGenerator=u({...t,keyframes:[...l].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=pa(c));let{calculatedDuration:p}=c;this.calculatedDuration=p,this.resolvedDuration=p+o,this.totalDuration=this.resolvedDuration*(n+1)-o,this.generator=c}updateTime(t){let r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){let{generator:n,totalDuration:o,mixKeyframes:a,mirroredGenerator:s,resolvedDuration:l,calculatedDuration:u}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:p,repeat:d,repeatType:h,repeatDelay:g,type:v,onUpdate:m,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),r?this.currentTime=t:this.updateTime(t);let y=this.currentTime-c*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?y<0:y>o;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let w=this.currentTime,D=n;if(d){let R=Math.min(this.currentTime,o)/l,B=Math.floor(R),k=R%1;!k&&R>=1&&(k=1),k===1&&B--,B=Math.min(B,d+1),!!(B%2)&&(h==="reverse"?(k=1-k,g&&(k-=g/l)):h==="mirror"&&(D=s)),w=mt(0,1,k)*l}let P=x?{done:!1,value:p[0]}:D.next(w);a&&(P.value=a(P.value));let{done:S}=P;!x&&u!==null&&(S=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);let E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return E&&v!==sl&&(P.value=ma(p,this.options,b,this.speed)),m&&m(P.value),E&&this.finish(),P}then(t,r){return this.finished.then(t,r)}get duration(){return Et(this.calculatedDuration)}get time(){return Et(this.currentTime)}set time(t){t=lt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Ze.now());let r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=Et(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=T4,startTime:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();let n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=r??n),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ze.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,zr.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};i();i();function k4(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}i();i();var ti=e=>e*180/Math.PI,Pm=e=>{let t=ti(Math.atan2(e[1],e[0]));return Tm(t)},KI={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Pm,rotateZ:Pm,skewX:e=>ti(Math.atan(e[1])),skewY:e=>ti(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Tm=e=>(e=e%360,e<0&&(e+=360),e),V4=Pm,N4=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),L4=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),qI={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:N4,scaleY:L4,scale:e=>(N4(e)+L4(e))/2,rotateX:e=>Tm(ti(Math.atan2(e[6],e[5]))),rotateY:e=>Tm(ti(Math.atan2(-e[2],e[0]))),rotateZ:V4,rotate:V4,skewX:e=>ti(Math.atan(e[4])),skewY:e=>ti(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ll(e){return e.includes("scale")?1:0}function ul(e,t){if(!e||e==="none")return ll(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),n,o;if(r)n=qI,o=r;else{let l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=KI,o=l}if(!o)return ll(t);let a=n[t],s=o[1].split(",").map(XI);return typeof a=="function"?a(s):s[a]}var Am=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return ul(r,t)};function XI(e){return parseFloat(e.trim())}i();var Hr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],fr=new Set(Hr);var Rm=e=>e===en||e===ie,YI=new Set(["x","y","z"]),JI=Hr.filter(e=>!YI.has(e));function $4(e){let t=[];return JI.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}var vo={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:(e,{transform:t})=>ul(t,"x"),y:(e,{transform:t})=>ul(t,"y")};vo.translateX=vo.x;vo.translateY=vo.y;var ri=new Set,Fm=!1,Bm=!1,Om=!1;function z4(){if(Bm){let e=Array.from(ri).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{let o=$4(n);o.length&&(r.set(n,o),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();let o=r.get(n);o&&o.forEach(([a,s])=>{n.getValue(a)?.set(s)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}Bm=!1,Fm=!1,ri.forEach(e=>e.complete(Om)),ri.clear()}function G4(){ri.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Bm=!0)})}function Mm(){Om=!0,G4(),z4(),Om=!1}var Fn=class{constructor(t,r,n,o,a,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=n,this.motionValue=o,this.element=a,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(ri.add(this),Fm||(Fm=!0,ye.read(G4),ye.resolveKeyframes(z4))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:n,motionValue:o}=this;if(t[0]===null){let a=o?.get(),s=t[t.length-1];if(a!==void 0)t[0]=a;else if(n&&r){let l=n.readValue(r,s);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=s),o&&a===void 0&&o.set(t[0])}k4(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ri.delete(this)}cancel(){this.state==="scheduled"&&(ri.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};i();i();i();i();var H4=e=>e.startsWith("--");function j4(e,t,r){H4(t)?e.style.setProperty(t,r):e.style[t]=r}i();var W4=Jo(()=>window.ScrollTimeline!==void 0);i();i();i();i();i();var _4={};function U4(e,t){let r=Jo(e);return()=>_4[t]??r()}var Cc=U4(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");i();var ni=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`;i();var Im={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ni([0,.65,.55,1]),circOut:ni([.55,0,1,.45]),backIn:ni([.31,.01,.66,-.59]),backOut:ni([.33,1.53,.69,.99])};function km(e,t){if(e)return typeof e=="function"?Cc()?gc(e,t):"ease-out":tl(e)?ni(e):Array.isArray(e)?e.map(r=>km(r,t)||Im.easeOut):Im[e]}function K4(e,t,r,{delay:n=0,duration:o=300,repeat:a=0,repeatType:s="loop",ease:l="easeOut",times:u}={},c=void 0){let p={[t]:r};u&&(p.offset=u);let d=km(l,o);Array.isArray(d)&&(p.easing=d),Kt.value&&zr.waapi++;let h={delay:n,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"};c&&(h.pseudoElement=c);let g=e.animate(p,h);return Kt.value&&g.finished.finally(()=>{zr.waapi--}),g}i();i();function xc(e){return typeof e=="function"&&"applyToOptions"in e}function q4({type:e,...t}){return xc(e)&&Cc()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var wc=class extends go{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:r,name:n,keyframes:o,pseudoElement:a,allowFlatten:s=!1,finalKeyframe:l,onComplete:u}=t;this.isPseudoElement=!!a,this.allowFlatten=s,this.options=t,xr(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let c=q4(t);this.animation=K4(r,n,o,c,a),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let p=ma(o,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(p):j4(r,n,p),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return Et(Number(t))}get time(){return Et(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=lt(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&W4()?(this.animation.timeline=t,_e):r(this)}};i();var X4={anticipate:Ys,backInOut:Xs,circInOut:Qs};function ZI(e){return e in X4}function Y4(e){typeof e.ease=="string"&&ZI(e.ease)&&(e.ease=X4[e.ease])}var J4=10,Sc=class extends wc{constructor(t){Y4(t),bc(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:r,onUpdate:n,onComplete:o,element:a,...s}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}let l=new Rn({...s,autoplay:!1}),u=lt(this.finishedTime??this.time);r.setWithVelocity(l.sample(u-J4).value,l.sample(u).value,J4),l.stop()}};i();i();var Vm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Mt.test(e)||e==="0")&&!e.startsWith("url("));function QI(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 Z4(e,t,r,n){let o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],s=Vm(o,t),l=Vm(a,t);return Pn(s===l,`You are trying to animate ${t} from "${o}" to "${a}". "${s?a:o}" is not an animatable value.`,"value-not-animatable"),!s||!l?!1:QI(e)||(r==="spring"||xc(r))&&n}i();function ha(e){e.duration=0,e.type}i();var ek=new Set(["opacity","clipPath","filter","transform"]),tk=Jo(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Q4(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:o,damping:a,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:u,transformTemplate:c}=t.owner.getProps();return tk()&&r&&ek.has(r)&&(r!=="transform"||!c)&&!u&&!n&&o!=="mirror"&&a!==0&&s!=="inertia"}var rk=40,cl=class extends go{constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",keyframes:l,name:u,motionValue:c,element:p,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ze.now();let h={autoplay:t,delay:r,type:n,repeat:o,repeatDelay:a,repeatType:s,name:u,motionValue:c,element:p,...d},g=p?.KeyframeResolver||Fn;this.keyframeResolver=new g(l,(v,m,b)=>this.onKeyframesResolved(v,m,h,!b),u,c,p),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,r,n,o){this.keyframeResolver=void 0;let{name:a,type:s,velocity:l,delay:u,isHandoff:c,onUpdate:p}=n;this.resolvedAt=Ze.now(),Z4(t,a,s,l)||((Bt.instantAnimations||!u)&&p?.(ma(t,n,r)),t[0]=t[t.length-1],ha(n),n.repeat=0);let h={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>rk?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...n,keyframes:t},g=!c&&Q4(h)?new Sc({...h,element:h.motionValue.owner.current}):new Rn(h);g.finished.then(()=>this.notifyFinished()).catch(_e),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(t,r){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Mm()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};i();var nk=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ok(e){let t=nk.exec(e);if(!t)return[,];let[,r,n,o]=t;return[`--${r??n}`,o]}var ik=4;function Nm(e,t,r=1){xr(r<=ik,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,o]=ok(e);if(!n)return;let a=window.getComputedStyle(t).getPropertyValue(n);if(a){let s=a.trim();return _s(s)?parseFloat(s):s}return Qo(o)?Nm(o,t,r+1):o}i();function oi(e,t){return e?.[t]??e?.default??e}i();i();var fl=new Set(["width","height","top","left","right","bottom",...Hr]);i();i();var e6={test:e=>e==="auto",parse:e=>e};i();var Dc=e=>t=>t.test(e);var Lm=[en,ie,Ot,Gr,Cm,bm,e6],$m=e=>Lm.find(Dc(e));i();function t6(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Ks(e):!0}i();i();i();var ak=new Set(["brightness","contrast","saturate","opacity"]);function sk(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(ua)||[];if(!n)return e;let o=r.replace(n,""),a=ak.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+o+")"}var lk=/\b([a-z-]*)\(.*?\)/gu,pl={...Mt,getAnimatableNone:e=>{let t=e.match(lk);return t?t.map(sk).join(" "):e}};i();i();i();var zm={...en,transform:Math.round};i();var r6={rotate:Gr,rotateX:Gr,rotateY:Gr,rotateZ:Gr,scale:ol,scaleX:ol,scaleY:ol,scaleZ:ol,skew:Gr,skewX:Gr,skewY:Gr,distance:ie,translateX:ie,translateY:ie,translateZ:ie,x:ie,y:ie,z:ie,perspective:ie,transformPerspective:ie,opacity:An,originX:pc,originY:pc,originZ:ie};var ii={borderWidth:ie,borderTopWidth:ie,borderRightWidth:ie,borderBottomWidth:ie,borderLeftWidth:ie,borderRadius:ie,radius:ie,borderTopLeftRadius:ie,borderTopRightRadius:ie,borderBottomRightRadius:ie,borderBottomLeftRadius:ie,width:ie,maxWidth:ie,height:ie,maxHeight:ie,top:ie,right:ie,bottom:ie,left:ie,padding:ie,paddingTop:ie,paddingRight:ie,paddingBottom:ie,paddingLeft:ie,margin:ie,marginTop:ie,marginRight:ie,marginBottom:ie,marginLeft:ie,backgroundPositionX:ie,backgroundPositionY:ie,...r6,zIndex:zm,fillOpacity:An,strokeOpacity:An,numOctaves:zm};var n6={...ii,color:ze,backgroundColor:ze,outlineColor:ze,fill:ze,stroke:ze,borderColor:ze,borderTopColor:ze,borderRightColor:ze,borderBottomColor:ze,borderLeftColor:ze,filter:pl,WebkitFilter:pl},dl=e=>n6[e];function ml(e,t){let r=dl(e);return r!==pl&&(r=Mt),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var uk=new Set(["auto","none","0"]);function o6(e,t,r){let n=0,o;for(;n<e.length&&!o;){let a=e[n];typeof a=="string"&&!uk.has(a)&&ho(a).values.length&&(o=e[n]),n++}if(o&&r)for(let a of t)e[a]=ml(r,o)}var hl=class extends Fn{constructor(t,r,n,o,a){super(t,r,n,o,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:n}=this;if(!r||!r.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let c=t[u];if(typeof c=="string"&&(c=c.trim(),Qo(c))){let p=Nm(c,r.current);p!==void 0&&(t[u]=p),u===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!fl.has(n)||t.length!==2)return;let[o,a]=t,s=$m(o),l=$m(a);if(s!==l)if(Rm(s)&&Rm(l))for(let u=0;u<t.length;u++){let c=t[u];typeof c=="string"&&(t[u]=parseFloat(c))}else vo[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,n=[];for(let o=0;o<t.length;o++)(t[o]===null||t6(t[o]))&&n.push(o);n.length&&o6(t,n,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=vo[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(){let{element:t,name:r,unresolvedKeyframes:n}=this;if(!t||!t.current)return;let o=t.getValue(r);o&&o.jump(this.measuredOrigin,!1);let a=n.length-1,s=n[a];n[a]=vo[r](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}};i();function i6(e,t,r){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let n=document;t&&(n=t.current);let o=r?.[e]??n.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}i();var gl=(e,t)=>t&&typeof e=="number"?t.transform(e):e;i();function vl(e){return Us(e)&&"offsetHeight"in e}i();var a6=30,ck=e=>!isNaN(parseFloat(e)),Gm={current:void 0},Ec=class{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{let o=Ze.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Ze.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=ck(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 Tn);let n=this.events[t].add(r);return t==="change"?()=>{n(),ye.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){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}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()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Gm.current&&Gm.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Ze.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>a6)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,a6);return qs(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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function wr(e,t){return new Ec(e,t)}i();var{schedule:ai,cancel:fk}=uc(queueMicrotask,!1);i();var Sr={x:!1,y:!1};function Pc(){return Sr.x||Sr.y}i();function Hm(e){return e==="x"||e==="y"?Sr[e]?null:(Sr[e]=!0,()=>{Sr[e]=!1}):Sr.x||Sr.y?null:(Sr.x=Sr.y=!0,()=>{Sr.x=Sr.y=!1})}i();i();function Tc(e,t){let r=i6(e),n=new AbortController,o={passive:!0,...t,signal:n.signal};return[r,o,()=>n.abort()]}function s6(e){return!(e.pointerType==="touch"||Pc())}function jm(e,t,r={}){let[n,o,a]=Tc(e,r),s=l=>{if(!s6(l))return;let{target:u}=l,c=t(u,l);if(typeof c!="function"||!u)return;let p=d=>{s6(d)&&(c(d),u.removeEventListener("pointerleave",p))};u.addEventListener("pointerleave",p,o)};return n.forEach(l=>{l.addEventListener("pointerenter",s,o)}),a}i();i();var Wm=(e,t)=>t?e===t?!0:Wm(e,t.parentElement):!1;i();var si=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;i();var pk=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function l6(e){return pk.has(e.tagName)||e.tabIndex!==-1}i();i();var ga=new WeakSet;function u6(e){return t=>{t.key==="Enter"&&e(t)}}function _m(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var c6=(e,t)=>{let r=e.currentTarget;if(!r)return;let n=u6(()=>{if(ga.has(r))return;_m(r,"down");let o=u6(()=>{_m(r,"up")}),a=()=>_m(r,"cancel");r.addEventListener("keyup",o,t),r.addEventListener("blur",a,t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)};function f6(e){return si(e)&&!Pc()}function Um(e,t,r={}){let[n,o,a]=Tc(e,r),s=l=>{let u=l.currentTarget;if(!f6(l))return;ga.add(u);let c=t(u,l),p=(g,v)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",h),ga.has(u)&&ga.delete(u),f6(g)&&typeof c=="function"&&c(g,{success:v})},d=g=>{p(g,u===window||u===document||r.useGlobalTarget||Wm(u,g.target))},h=g=>{p(g,!1)};window.addEventListener("pointerup",d,o),window.addEventListener("pointercancel",h,o)};return n.forEach(l=>{(r.useGlobalTarget?window:l).addEventListener("pointerdown",s,o),vl(l)&&(l.addEventListener("focus",c=>c6(c,o)),!l6(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),a}i();function yl(e){return Us(e)&&"ownerSVGElement"in e}i();function Km(e){return yl(e)&&e.tagName==="svg"}i();var Be=e=>!!(e&&e.getVelocity);i();var dk=[...Lm,ze,Mt],qm=e=>dk.find(Dc(e));import*as Ac from"react";import{useId as gk,useRef as p6,useContext as vk,useInsertionEffect as yk}from"react";i();import{createContext as mk}from"react";var Bn=mk({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var Xm=class extends Ac.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let n=r.offsetParent,o=vl(n)&&n.offsetWidth||0,a=this.props.sizeRef.current;a.height=r.offsetHeight||0,a.width=r.offsetWidth||0,a.top=r.offsetTop,a.left=r.offsetLeft,a.right=o-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}};function d6({children:e,isPresent:t,anchorX:r,root:n}){let o=gk(),a=p6(null),s=p6({width:0,height:0,top:0,left:0,right:0}),{nonce:l}=vk(Bn);return yk(()=>{let{width:u,height:c,top:p,left:d,right:h}=s.current;if(t||!a.current||!u||!c)return;let g=r==="left"?`left: ${d}`:`right: ${h}`;a.current.dataset.motionPopId=o;let v=document.createElement("style");l&&(v.nonce=l);let m=n??document.head;return m.appendChild(v),v.sheet&&v.sheet.insertRule(`
117
117
  [data-motion-pop-id="${o}"] {
118
118
  position: absolute !important;
119
119
  width: ${u}px !important;
@@ -121,8 +121,8 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
121
121
  ${g}px !important;
122
122
  top: ${p}px !important;
123
123
  }
124
- `),()=>{m.contains(v)&&m.removeChild(v)}},[t]),hk(Xm,{isPresent:t,childRef:a,sizeRef:s,children:Ac.cloneElement(e,{ref:a})})}var v6=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:a,mode:s,anchorX:l,root:u})=>{let c=uo(Ck),p=bk(),d=!0,h=h6(()=>(d=!1,{id:p,initial:t,isPresent:r,custom:o,onExitComplete:g=>{c.set(g,!0);for(let v of c.values())if(!v)return;n&&n()},register:g=>(c.set(g,!1),()=>c.delete(g))}),[r,c,n]);return a&&d&&(h={...h}),h6(()=>{c.forEach((g,v)=>c.set(v,!1))},[r]),g6.useEffect(()=>{!r&&!c.size&&n&&n()},[r]),s==="popLayout"&&(e=m6(d6,{isPresent:r,anchorX:l,root:u,children:e})),m6(co.Provider,{value:h,children:e})};function Ck(){return new Map}i();import{useContext as xk,useId as wk,useEffect as Sk,useCallback as Dk}from"react";function Rc(e=!0){let t=xk(co);if(t===null)return[!0,null];let{isPresent:r,onExitComplete:n,register:o}=t,a=wk();Sk(()=>{if(e)return o(a)},[e]);let s=Dk(()=>e&&n&&n(a),[a,n,e]);return!r&&n?[!1,s]:[!0]}i();import{Children as Ek,isValidElement as Tk}from"react";var bl=e=>e.key||"";function Ym(e){let t=[];return Ek.forEach(e,r=>{Tk(r)&&t.push(r)}),t}var Cl=({children:e,custom:t,initial:r=!0,onExitComplete:n,presenceAffectsLayout:o=!0,mode:a="sync",propagate:s=!1,anchorX:l="left",root:u})=>{let[c,p]=Rc(s),d=Ak(()=>Ym(e),[e]),h=s&&!c?[]:d.map(bl),g=b6(!0),v=b6(d),m=uo(()=>new Map),[b,y]=C6(d),[x,w]=C6(d);oc(()=>{g.current=!1,v.current=d;for(let S=0;S<x.length;S++){let E=bl(x[S]);h.includes(E)?m.delete(E):m.get(E)!==!0&&m.set(E,!1)}},[x,h.length,h.join("-")]);let D=[];if(d!==b){let S=[...d];for(let E=0;E<x.length;E++){let R=x[E],B=bl(R);h.includes(B)||(S.splice(E,0,R),D.push(R))}return a==="wait"&&D.length&&(S=D),w(Ym(S)),y(d),null}let{forceRender:T}=Rk(aa);return y6(Pk,{children:x.map(S=>{let E=bl(S),R=s&&!c?!1:d===x||h.includes(E),B=()=>{if(m.has(E))m.set(E,!0);else return;let k=!0;m.forEach(j=>{j||(k=!1)}),k&&(T?.(),w(v.current),s&&p?.(),n&&n())};return y6(v6,{isPresent:R,initial:!g.current||r?void 0:!1,custom:t,presenceAffectsLayout:o,mode:a,root:u,onExitComplete:R?void 0:B,anchorX:l,children:S},E)})})};i();import{createContext as Fk}from"react";var Fc=Fk({strict:!1});i();i();var x6={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"]},On={};for(let e in x6)On[e]={isEnabled:t=>x6[e].some(r=>!!t[r])};function w6(e){for(let t in e)On[t]={...On[t],...e[t]}}i();import{jsx as Ik}from"react/jsx-runtime";import{useContext as kk,useMemo as Vk}from"react";i();i();var Bk=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 xl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Bk.has(e)}var P6=e=>!xl(e);function Jm(e){typeof e=="function"&&(P6=t=>t.startsWith("on")?!xl(t):e(t))}try{Jm((T6(),LO(E6)).default)}catch{}function A6(e,t,r){let n={};for(let o in e)o==="values"&&typeof e.values=="object"||(P6(o)||r===!0&&xl(o)||!t&&!xl(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function Zm({children:e,isValidProp:t,...r}){t&&Jm(t),r={...kk(Bn),...r},r.isStatic=uo(()=>r.isStatic);let n=Vk(()=>r,[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion]);return Ik(Bn.Provider,{value:n,children:e})}i();i();import{jsxs as iV,jsx as aV}from"react/jsx-runtime";import{forwardRef as sV,useContext as t0}from"react";i();import{createContext as Nk}from"react";var yo=Nk({});i();import{useContext as Lk,useMemo as $k}from"react";i();i();i();function bo(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}i();function Mn(e){return typeof e=="string"||Array.isArray(e)}i();var Bc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],wl=["initial",...Bc];function li(e){return bo(e.animate)||wl.some(t=>Mn(e[t]))}function Oc(e){return!!(li(e)||e.variants)}function R6(e,t){if(li(e)){let{initial:r,animate:n}=e;return{initial:r===!1||Mn(r)?r:void 0,animate:Mn(n)?n:void 0}}return e.inherit!==!1?t:{}}function B6(e){let{initial:t,animate:r}=R6(e,Lk(yo));return $k(()=>({initial:t,animate:r}),[F6(t),F6(r)])}function F6(e){return Array.isArray(e)?e.join(" "):e}i();import{Fragment as qk,useMemo as Xk,createElement as Yk}from"react";i();import{useMemo as Hk}from"react";i();i();var ui={};function O6(e){for(let t in e)ui[t]=e[t],Zo(t)&&(ui[t].isCSSVariable=!0)}function Mc(e,{layout:t,layoutId:r}){return fr.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!ui[e]||e==="opacity")}i();i();var zk={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Gk=Hr.length;function M6(e,t,r){let n="",o=!0;for(let a=0;a<Gk;a++){let s=Hr[a],l=e[s];if(l===void 0)continue;let u=!0;if(typeof l=="number"?u=l===(s.startsWith("scale")?1:0):u=parseFloat(l)===0,!u||r){let c=gl(l,ii[s]);if(!u){o=!1;let p=zk[s]||s;n+=`${p}(${c}) `}r&&(t[s]=c)}}return n=n.trim(),r?n=r(t,o?"":n):o&&(n="none"),n}function va(e,t,r){let{style:n,vars:o,transformOrigin:a}=e,s=!1,l=!1;for(let u in t){let c=t[u];if(fr.has(u)){s=!0;continue}else if(Zo(u)){o[u]=c;continue}else{let p=gl(c,ii[u]);u.startsWith("origin")?(l=!0,a[u]=p):n[u]=p}}if(t.transform||(s||r?n.transform=M6(t,e.transform,r):n.transform&&(n.transform="none")),l){let{originX:u="50%",originY:c="50%",originZ:p=0}=a;n.transformOrigin=`${u} ${c} ${p}`}}i();var ya=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Qm(e,t,r){for(let n in t)!Be(t[n])&&!Mc(n,r)&&(e[n]=t[n])}function jk({transformTemplate:e},t){return Hk(()=>{let r=ya();return va(r,t,e),Object.assign({},r.vars,r.style)},[t])}function Wk(e,t){let r=e.style||{},n={};return Qm(n,r,e),Object.assign(n,jk(e,t)),n}function I6(e,t){let r={},n=Wk(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r}i();import{useMemo as Kk}from"react";i();i();var _k={offset:"stroke-dashoffset",array:"stroke-dasharray"},Uk={offset:"strokeDashoffset",array:"strokeDasharray"};function k6(e,t,r=1,n=0,o=!0){e.pathLength=1;let a=o?_k:Uk;e[a.offset]=ie.transform(-n);let s=ie.transform(t),l=ie.transform(r);e[a.array]=`${s} ${l}`}function Ic(e,{attrX:t,attrY:r,attrScale:n,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,c,p){if(va(e,l,c),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h}=e;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=p?.transformBox??"fill-box",delete d.transformBox),t!==void 0&&(d.x=t),r!==void 0&&(d.y=r),n!==void 0&&(d.scale=n),o!==void 0&&k6(d,o,a,s,!1)}i();var kc=()=>({...ya(),attrs:{}});i();var Vc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function V6(e,t,r,n){let o=Kk(()=>{let a=kc();return Ic(a,t,Vc(n),e.transformTemplate,e.style),{...a.attrs,style:{...a.style}}},[t]);if(e.style){let a={};Qm(a,e.style,e),o.style={...a,...o.style}}return o}i();i();var N6=["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 ba(e){return typeof e!="string"||e.includes("-")?!1:!!(N6.indexOf(e)>-1||/[A-Z]/u.test(e))}function L6(e,t,r,{latestValues:n},o,a=!1){let l=(ba(e)?V6:I6)(t,n,o,e),u=A6(t,typeof e=="string",a),c=e!==qk?{...u,...l,ref:r}:{},{children:p}=t,d=Xk(()=>Be(p)?p.get():p,[p]);return Yk(e,{...c,children:d})}i();i();import{useContext as z6}from"react";i();function $6(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,a]=$6(n);t=t(r!==void 0?r:e.custom,o,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[o,a]=$6(n);t=t(r!==void 0?r:e.custom,o,a)}return t}i();function xa(e){return Be(e)?e.get():e}function Jk({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,o){return{latestValues:Zk(r,n,o,e),renderState:t()}}function Zk(e,t,r,n){let o={},a=n(e,{});for(let h in a)o[h]=xa(a[h]);let{initial:s,animate:l}=e,u=li(e),c=Oc(e);t&&c&&!u&&e.inherit!==!1&&(s===void 0&&(s=t.initial),l===void 0&&(l=t.animate));let p=r?r.initial===!1:!1;p=p||s===!1;let d=p?l:s;if(d&&typeof d!="boolean"&&!bo(d)){let h=Array.isArray(d)?d:[d];for(let g=0;g<h.length;g++){let v=Ca(e,h[g]);if(v){let{transitionEnd:m,transition:b,...y}=v;for(let x in y){let w=y[x];if(Array.isArray(w)){let D=p?w.length-1:0;w=w[D]}w!==null&&(o[x]=w)}for(let x in m)o[x]=m[x]}}}return o}var Nc=e=>(t,r)=>{let n=z6(yo),o=z6(co),a=()=>Jk(e,t,n,o);return r?a():uo(a)};i();function wa(e,t,r){let{style:n}=e,o={};for(let a in n)(Be(n[a])||t.style&&Be(t.style[a])||Mc(a,e)||r?.getValue(a)?.liveStyle!==void 0)&&(o[a]=n[a]);return o}var G6=Nc({scrapeMotionValuesFromProps:wa,createRenderState:ya});i();i();function Lc(e,t,r){let n=wa(e,t,r);for(let o in e)if(Be(e[o])||Be(t[o])){let a=Hr.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;n[a]=e[o]}return n}var H6=Nc({scrapeMotionValuesFromProps:Lc,createRenderState:kc});i();var j6=Symbol.for("motionComponentSymbol");i();import{useCallback as Qk}from"react";i();function In(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function W6(e,t,r){return Qk(n=>{n&&e.onMount&&e.onMount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):In(r)&&(r.current=n))},[t])}i();import{useContext as Sl,useRef as e0,useInsertionEffect as rV,useEffect as nV}from"react";i();i();var Sa=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var eV="framerAppearId",$c="data-"+Sa(eV);i();import{createContext as tV}from"react";var zc=tV({});function _6(e,t,r,n,o){let{visualElement:a}=Sl(yo),s=Sl(Fc),l=Sl(co),u=Sl(Bn).reducedMotion,c=e0(null);n=n||s.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:a,props:r,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));let p=c.current,d=Sl(zc);p&&!p.projection&&o&&(p.type==="html"||p.type==="svg")&&oV(c.current,r,o,d);let h=e0(!1);rV(()=>{p&&h.current&&p.update(r,l)});let g=r[$c],v=e0(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return oc(()=>{p&&(h.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),v.current&&p.animationState&&p.animationState.animateChanges())}),nV(()=>{p&&(!v.current&&p.animationState&&p.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),v.current=!1),p.enteringChildren=void 0)}),p}function oV(e,t,r,n){let{layoutId:o,layout:a,drag:s,dragConstraints:l,layoutScroll:u,layoutRoot:c,layoutCrossfade:p}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:U6(e.parent)),e.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:!!s||l&&In(l),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:n,crossfade:p,layoutScroll:u,layoutRoot:c})}function U6(e){if(e)return e.options.allowProjection!==!1?e.projection:U6(e.parent)}function Gc(e,{forwardMotionProps:t=!1}={},r,n){r&&w6(r);let o=ba(e)?H6:G6;function a(l,u){let c,p={...t0(Bn),...l,layoutId:lV(l)},{isStatic:d}=p,h=B6(l),g=o(l,d);if(!d&&sa){uV(p,r);let v=cV(p);c=v.MeasureLayout,h.visualElement=_6(e,g,p,n,v.ProjectionNode)}return iV(yo.Provider,{value:h,children:[c&&h.visualElement?aV(c,{visualElement:h.visualElement,...p}):null,L6(e,l,W6(g,h.visualElement,u),g,d,t)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;let s=sV(a);return s[j6]=e,s}function lV({layoutId:e}){let t=t0(aa).id;return t&&e!==void 0?t+"-"+e:e}function uV(e,t){let r=t0(Fc).strict}function cV(e){let{drag:t,layout:r}=On;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}function K6(e,t){if(typeof Proxy>"u")return Gc;let r=new Map,n=(a,s)=>Gc(a,s,e,t),o=(a,s)=>n(a,s);return new Proxy(o,{get:(a,s)=>s==="create"?n:(r.has(s)||r.set(s,Gc(s,void 0,e,t)),r.get(s))})}i();i();import{Fragment as pV}from"react";i();i();i();function Hc({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function q6({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function X6(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}i();i();function r0(e){return e===void 0||e===1}function jc({scale:e,scaleX:t,scaleY:r}){return!r0(e)||!r0(t)||!r0(r)}function kn(e){return jc(e)||n0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function n0(e){return Y6(e.x)||Y6(e.y)}function Y6(e){return e&&e!=="0%"}function Dl(e,t,r){let n=e-r,o=t*n;return r+o}function J6(e,t,r,n,o){return o!==void 0&&(e=Dl(e,o,n)),Dl(e,r,n)+t}function o0(e,t=0,r=1,n,o){e.min=J6(e.min,t,r,n,o),e.max=J6(e.max,t,r,n,o)}function i0(e,{x:t,y:r}){o0(e.x,t.translate,t.scale,t.originPoint),o0(e.y,r.translate,r.scale,r.originPoint)}var Z6=.999999999999,Q6=1.0000000000001;function t7(e,t,r,n=!1){let o=r.length;if(!o)return;t.x=t.y=1;let a,s;for(let l=0;l<o;l++){a=r[l],s=a.projectionDelta;let{visualElement:u}=a.options;u&&u.props.style&&u.props.style.display==="contents"||(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&ci(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,i0(e,s)),n&&kn(a.latestValues)&&ci(e,a.latestValues))}t.x<Q6&&t.x>Z6&&(t.x=1),t.y<Q6&&t.y>Z6&&(t.y=1)}function Co(e,t){e.min=e.min+t,e.max=e.max+t}function e7(e,t,r,n,o=.5){let a=Ce(e.min,e.max,o);o0(e,t,r,a,n)}function ci(e,t){e7(e.x,t.x,t.scaleX,t.scale,t.originX),e7(e.y,t.y,t.scaleY,t.scale,t.originY)}function a0(e,t){return Hc(X6(e.getBoundingClientRect(),t))}function r7(e,t,r){let n=a0(e,r),{scroll:o}=t;return o&&(Co(n.x,o.offset.x),Co(n.y,o.offset.y)),n}i();i();i();var n7=()=>({translate:0,scale:1,origin:0,originPoint:0}),fi=()=>({x:n7(),y:n7()}),o7=()=>({min:0,max:0}),Ne=()=>({x:o7(),y:o7()});i();i();var El={current:null},Wc={current:!1};function i7(){if(Wc.current=!0,!!sa)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>El.current=e.matches;e.addEventListener("change",t),t()}else El.current=!1}i();var a7=new WeakMap;i();function s7(e,t,r){for(let n in t){let o=t[n],a=r[n];if(Be(o))e.addValue(n,o);else if(Be(a))e.addValue(n,wr(o,{owner:e}));else if(a!==o)if(e.hasValue(n)){let s=e.getValue(n);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{let s=e.getStaticValue(n);e.addValue(n,wr(s!==void 0?s:o,{owner:e}))}}for(let n in r)t[n]===void 0&&e.removeValue(n);return t}var l7=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],_c=class{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:a,visualState:s},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Fn,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.renderScheduledAt=0,this.scheduleRender=()=>{let h=Ze.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,ye.render(this.render,!1,!0))};let{latestValues:u,renderState:c}=s;this.latestValues=u,this.baseTarget={...u},this.initialValues=r.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=l,this.blockInitialAnimation=!!a,this.isControllingVariants=li(r),this.isVariantNode=Oc(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...d}=this.scrapeMotionValuesFromProps(r,{},this);for(let h in d){let g=d[h];u[h]!==void 0&&Be(g)&&g.set(u[h])}}mount(t){this.current=t,a7.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)),Wc.current||i7(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:El.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),qt(this.notifyUpdate),qt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,r){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=fr.has(t);n&&this.onBindTransform&&this.onBindTransform();let o=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ye.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{o(),a&&a(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in On){let r=On[t];if(!r)continue;let{isEnabled:n,Feature:o}=r;if(!this.features[t]&&o&&n(this.props)&&(this.features[t]=new o(this)),this.features[t]){let a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ne()}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<l7.length;n++){let o=l7[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);let a="on"+o,s=t[a];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=s7(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}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=wr(r===null?void 0:r,{owner:this}),this.addValue(t,n)),n}readValue(t,r){let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return n!=null&&(typeof n=="string"&&(_s(n)||Ks(n))?n=parseFloat(n):!qm(n)&&Mt.test(r)&&(n=ml(t,r)),this.setBaseTarget(t,Be(n)?n.get():n)),Be(n)?n.get():n}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){let{initial:r}=this.props,n;if(typeof r=="string"||typeof r=="object"){let a=Ca(this.props,r,this.presenceContext?.custom);a&&(n=a[t])}if(r&&n!==void 0)return n;let o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Be(o)?o:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Pn),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}scheduleRenderMicrotask(){ai.render(this.render)}};var Da=class extends _c{constructor(){super(...arguments),this.KeyframeResolver=hl}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]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Be(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}};i();function Uc(e,{style:t,vars:r},n,o){let a=e.style,s;for(s in t)a[s]=t[s];o?.applyProjectionStyles(a,n);for(s in r)a.setProperty(s,r[s])}function fV(e){return window.getComputedStyle(e)}var Kc=class extends Da{constructor(){super(...arguments),this.type="html",this.renderInstance=Uc}readValueFromInstance(t,r){if(fr.has(r))return this.projection?.isProjecting?ll(r):Am(t,r);{let n=fV(t),o=(Zo(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return a0(t,r)}build(t,r,n){va(t,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return wa(t,r,n)}};i();i();var qc=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"]);i();function u7(e,t,r,n){Uc(e,t,void 0,n);for(let o in t.attrs)e.setAttribute(qc.has(o)?o:Sa(o),t.attrs[o])}var Xc=class extends Da{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ne}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(fr.has(r)){let n=dl(r);return n&&n.default||0}return r=qc.has(r)?r:Sa(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,n){return Lc(t,r,n)}build(t,r,n){Ic(t,r,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,r,n,o){u7(t,r,n,o)}mount(t){this.isSVGTag=Vc(t.tagName),super.mount(t)}};var c7=(e,t)=>ba(e)?new Xc(t):new Kc(t,{allowProjection:e!==pV});i();i();i();i();i();i();function rn(e,t,r){let n=e.getProps();return Ca(n,t,r!==void 0?r:n.custom,e)}i();i();i();var Tl=e=>Array.isArray(e);function dV(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,wr(r))}function mV(e){return Tl(e)?e[e.length-1]||0:e}function f7(e,t){let r=rn(e,t),{transitionEnd:n={},transition:o={},...a}=r||{};a={...a,...n};for(let s in a){let l=mV(a[s]);dV(e,s,l)}}i();i();function p7(e){return!!(Be(e)&&e.add)}function Pl(e,t){let r=e.getValue("willChange");if(p7(r))return r.add(t);if(!r&&Bt.WillChange){let n=new Bt.WillChange("auto");e.addValue("willChange",n),n.add(t)}}i();function Yc(e){return e.props[$c]}i();i();var hV=e=>e!==null;function d7(e,{repeat:t,repeatType:r="loop"},n){let o=e.filter(hV),a=t&&r!=="loop"&&t%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}i();var gV={type:"spring",stiffness:500,damping:25,restSpeed:10},vV=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),yV={type:"keyframes",duration:.8},bV={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},m7=(e,{keyframes:t})=>t.length>2?yV:fr.has(e)?e.startsWith("scale")?vV(t[1]):gV:bV;i();function h7({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:a,repeatType:s,repeatDelay:l,from:u,elapsed:c,...p}){return!!Object.keys(p).length}var Ea=(e,t,r,n={},o,a)=>s=>{let l=oi(n,e)||{},u=l.delay||n.delay||0,{elapsed:c=0}=n;c=c-lt(u);let p={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-c,onUpdate:h=>{t.set(h),l.onUpdate&&l.onUpdate(h)},onComplete:()=>{s(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:a?void 0:o};h7(l)||Object.assign(p,m7(e,p)),p.duration&&(p.duration=lt(p.duration)),p.repeatDelay&&(p.repeatDelay=lt(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let d=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(ha(p),p.delay===0&&(d=!0)),(Bt.instantAnimations||Bt.skipAnimations)&&(d=!0,ha(p),p.delay=0),p.allowFlatten=!l.type&&!l.ease,d&&!a&&t.get()!==void 0){let h=d7(p.keyframes,l);if(h!==void 0){ye.update(()=>{p.onUpdate(h),p.onComplete()});return}}return l.isSync?new Rn(p):new cl(p)};function CV({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function Jc(e,t,{delay:r=0,transitionOverride:n,type:o}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;n&&(a=n);let u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(let p in l){let d=e.getValue(p,e.latestValues[p]??null),h=l[p];if(h===void 0||c&&CV(c,p))continue;let g={delay:r,...oi(a||{},p)},v=d.get();if(v!==void 0&&!d.isAnimating&&!Array.isArray(h)&&h===v&&!g.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){let y=Yc(e);if(y){let x=window.MotionHandoffAnimation(y,p,ye);x!==null&&(g.startTime=x,m=!0)}}Pl(e,p),d.start(Ea(p,d,h,e.shouldReduceMotion&&fl.has(p)?{type:!1}:g,e,m));let b=d.animation;b&&u.push(b)}return s&&Promise.all(u).then(()=>{ye.update(()=>{s&&f7(e,s)})}),u}i();i();function Zc(e,t,r,n=0,o=1){let a=Array.from(e).sort((c,p)=>c.sortNodePosition(p)).indexOf(t),s=e.size,l=(s-1)*n;return typeof r=="function"?r(a,s):o===1?a*n:l-a*n}function Qc(e,t,r={}){let n=rn(e,t,r.type==="exit"?e.presenceContext?.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(o=r.transitionOverride);let a=n?()=>Promise.all(Jc(e,n,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{let{delayChildren:c=0,staggerChildren:p,staggerDirection:d}=o;return xV(e,t,u,c,p,d,r)}:()=>Promise.resolve(),{when:l}=o;if(l){let[u,c]=l==="beforeChildren"?[a,s]:[s,a];return u().then(()=>c())}else return Promise.all([a(),s(r.delay)])}function xV(e,t,r=0,n=0,o=0,a=1,s){let l=[];for(let u of e.variantChildren)u.notify("AnimationStart",t),l.push(Qc(u,t,{...s,delay:r+(typeof n=="function"?0:n)+Zc(e.variantChildren,u,n,o,a)}).then(()=>u.notify("AnimationComplete",t)));return Promise.all(l)}function g7(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let o=t.map(a=>Qc(e,a,r));n=Promise.all(o)}else if(typeof t=="string")n=Qc(e,t,r);else{let o=typeof t=="function"?rn(e,t,r.custom):t;n=Promise.all(Jc(e,o,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}i();function s0(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}i();var wV=wl.length;function l0(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent?l0(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}let t={};for(let r=0;r<wV;r++){let n=wl[r],o=e.props[n];(Mn(o)||o===!1)&&(t[n]=o)}return t}var SV=[...Bc].reverse(),DV=Bc.length;function EV(e){return t=>Promise.all(t.map(({animation:r,options:n})=>g7(e,r,n)))}function y7(e){let t=EV(e),r=v7(),n=!0,o=u=>(c,p)=>{let d=rn(e,p,u==="exit"?e.presenceContext?.custom:void 0);if(d){let{transition:h,transitionEnd:g,...v}=d;c={...c,...v,...g}}return c};function a(u){t=u(e)}function s(u){let{props:c}=e,p=l0(e.parent)||{},d=[],h=new Set,g={},v=1/0;for(let b=0;b<DV;b++){let y=SV[b],x=r[y],w=c[y]!==void 0?c[y]:p[y],D=Mn(w),T=y===u?x.isActive:null;T===!1&&(v=b);let S=w===p[y]&&w!==c[y]&&D;if(S&&n&&e.manuallyAnimateOnMount&&(S=!1),x.protectedKeys={...g},!x.isActive&&T===null||!w&&!x.prevProp||bo(w)||typeof w=="boolean")continue;let E=TV(x.prevProp,w),R=E||y===u&&x.isActive&&!S&&D||b>v&&D,B=!1,k=Array.isArray(w)?w:[w],j=k.reduce(o(y),{});T===!1&&(j={});let{prevResolvedValues:I={}}=x,V={...I,...j},N=Q=>{R=!0,h.has(Q)&&(B=!0,h.delete(Q)),x.needsAnimating[Q]=!0;let X=e.getValue(Q);X&&(X.liveStyle=!1)};for(let Q in V){let X=j[Q],G=I[Q];if(g.hasOwnProperty(Q))continue;let re=!1;Tl(X)&&Tl(G)?re=!s0(X,G):re=X!==G,re?X!=null?N(Q):h.add(Q):X!==void 0&&h.has(Q)?N(Q):x.protectedKeys[Q]=!0}x.prevProp=w,x.prevResolvedValues=j,x.isActive&&(g={...g,...j}),n&&e.blockInitialAnimation&&(R=!1);let H=S&&E;R&&(!H||B)&&d.push(...k.map(Q=>{let X={type:y};if(typeof Q=="string"&&n&&!H&&e.manuallyAnimateOnMount&&e.parent){let{parent:G}=e,re=rn(G,Q);if(G.enteringChildren&&re){let{delayChildren:de}=re.transition||{};X.delay=Zc(G.enteringChildren,e,de)}}return{animation:Q,options:X}}))}if(h.size){let b={};if(typeof c.initial!="boolean"){let y=rn(e,Array.isArray(c.initial)?c.initial[0]:c.initial);y&&y.transition&&(b.transition=y.transition)}h.forEach(y=>{let x=e.getBaseTarget(y),w=e.getValue(y);w&&(w.liveStyle=!0),b[y]=x??null}),d.push({animation:b})}let m=!!d.length;return n&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,m?t(d):Promise.resolve()}function l(u,c){if(r[u].isActive===c)return Promise.resolve();e.variantChildren?.forEach(d=>d.animationState?.setActive(u,c)),r[u].isActive=c;let p=s(u);for(let d in r)r[d].protectedKeys={};return p}return{animateChanges:s,setActive:l,setAnimateFunction:a,getState:()=>r,reset:()=>{r=v7(),n=!0}}}function TV(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!s0(t,e):!1}function pi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function v7(){return{animate:pi(!0),whileInView:pi(),whileHover:pi(),whileTap:pi(),whileDrag:pi(),whileFocus:pi(),exit:pi()}}i();var ht=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};var ef=class extends ht{constructor(t){super(t),t.animationState||(t.animationState=y7(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();bo(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}};i();var PV=0,tf=class extends ht{constructor(){super(...arguments),this.id=PV++}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,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),t&&(this.unmount=t(this.id))}unmount(){}};var b7={animation:{Feature:ef},exit:{Feature:tf}};i();i();i();i();function Vn(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}i();i();function Nn(e){return{point:{x:e.pageX,y:e.pageY}}}var C7=e=>t=>si(t)&&e(t,Nn(t));function xo(e,t,r,n){return Vn(e,t,C7(r),n)}i();var D7=1e-4,AV=1-D7,RV=1+D7,E7=.01,FV=0-E7,BV=0+E7;function ut(e){return e.max-e.min}function T7(e,t,r){return Math.abs(e-t)<=r}function x7(e,t,r,n=.5){e.origin=n,e.originPoint=Ce(t.min,t.max,e.origin),e.scale=ut(r)/ut(t),e.translate=Ce(r.min,r.max,e.origin)-e.originPoint,(e.scale>=AV&&e.scale<=RV||isNaN(e.scale))&&(e.scale=1),(e.translate>=FV&&e.translate<=BV||isNaN(e.translate))&&(e.translate=0)}function Ta(e,t,r,n){x7(e.x,t.x,r.x,n?n.originX:void 0),x7(e.y,t.y,r.y,n?n.originY:void 0)}function w7(e,t,r){e.min=r.min+t.min,e.max=e.min+ut(t)}function P7(e,t,r){w7(e.x,t.x,r.x),w7(e.y,t.y,r.y)}function S7(e,t,r){e.min=t.min-r.min,e.max=e.min+ut(t)}function Pa(e,t,r){S7(e.x,t.x,r.x),S7(e.y,t.y,r.y)}i();function Xt(e){return[e("x"),e("y")]}i();var rf=({current:e})=>e?e.ownerDocument.defaultView:null;i();i();var A7=(e,t)=>Math.abs(e-t);function R7(e,t){let r=A7(e.x,t.x),n=A7(e.y,t.y);return Math.sqrt(r**2+n**2)}var Aa=class{constructor(t,r,{transformPagePoint:n,contextWindow:o=window,dragSnapToOrigin:a=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let h=c0(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,v=R7(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!v)return;let{point:m}=h,{timestamp:b}=Je;this.history.push({...m,timestamp:b});let{onStart:y,onMove:x}=this.handlers;g||(y&&y(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,h)},this.handlePointerMove=(h,g)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=u0(g,this.transformPagePoint),ye.update(this.updatePoint,!0)},this.handlePointerUp=(h,g)=>{this.end();let{onEnd:v,onSessionEnd:m,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let y=c0(h.type==="pointercancel"?this.lastMoveEventInfo:u0(g,this.transformPagePoint),this.history);this.startEvent&&v&&v(h,y),m&&m(h,y)},!si(t))return;this.dragSnapToOrigin=a,this.handlers=r,this.transformPagePoint=n,this.distanceThreshold=s,this.contextWindow=o||window;let l=Nn(t),u=u0(l,this.transformPagePoint),{point:c}=u,{timestamp:p}=Je;this.history=[{...c,timestamp:p}];let{onSessionStart:d}=r;d&&d(t,c0(u,this.history)),this.removeListeners=$r(xo(this.contextWindow,"pointermove",this.handlePointerMove),xo(this.contextWindow,"pointerup",this.handlePointerUp),xo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),qt(this.updatePoint)}};function u0(e,t){return t?{point:t(e.point)}:e}function F7(e,t){return{x:e.x-t.x,y:e.y-t.y}}function c0({point:e},t){return{point:e,delta:F7(e,B7(t)),offset:F7(e,OV(t)),velocity:MV(t,.1)}}function OV(e){return e[0]}function B7(e){return e[e.length-1]}function MV(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,o=B7(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>lt(t)));)r--;if(!n)return{x:0,y:0};let a=Et(o.timestamp-n.timestamp);if(a===0)return{x:0,y:0};let s={x:(o.x-n.x)/a,y:(o.y-n.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}i();function V7(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?Ce(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?Ce(r,e,n.max):Math.min(e,r)),e}function O7(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 N7(e,{top:t,left:r,bottom:n,right:o}){return{x:O7(e.x,r,o),y:O7(e.y,t,n)}}function M7(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 L7(e,t){return{x:M7(e.x,t.x),y:M7(e.y,t.y)}}function $7(e,t){let r=.5,n=ut(e),o=ut(t);return o>n?r=Qr(t.min,t.max-n,e.min):n>o&&(r=Qr(e.min,e.max-o,t.min)),mt(0,1,r)}function z7(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 nf=.35;function G7(e=nf){return e===!1?e=0:e===!0&&(e=nf),{x:I7(e,"left","right"),y:I7(e,"top","bottom")}}function I7(e,t,r){return{min:k7(e,t),max:k7(e,r)}}function k7(e,t){return typeof e=="number"?e:e[t]||0}var IV=new WeakMap,af=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ne(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:r=!1,distanceThreshold:n}={}){let{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;let a=d=>{let{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Nn(d).point)},s=(d,h)=>{let{drag:g,dragPropagation:v,onDragStart:m}=this.getProps();if(g&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Hm(g),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Xt(y=>{let x=this.getAxisMotionValue(y).get()||0;if(Ot.test(x)){let{projection:w}=this.visualElement;if(w&&w.layout){let D=w.layout.layoutBox[y];D&&(x=ut(D)*(parseFloat(x)/100))}}this.originPoint[y]=x}),m&&ye.postRender(()=>m(d,h)),Pl(this.visualElement,"transform");let{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},l=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h;let{dragPropagation:g,dragDirectionLock:v,onDirectionLock:m,onDrag:b}=this.getProps();if(!g&&!this.openDragLock)return;let{offset:y}=h;if(v&&this.currentDirection===null){this.currentDirection=kV(y),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",h.point,y),this.updateAxis("y",h.point,y),this.visualElement.render(),b&&b(d,h)},u=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h,this.stop(d,h),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>Xt(d=>this.getAnimationState(d)==="paused"&&this.getAxisMotionValue(d).animation?.play()),{dragSnapToOrigin:p}=this.getProps();this.panSession=new Aa(t,{onSessionStart:a,onStart:s,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,distanceThreshold:n,contextWindow:rf(this.visualElement)})}stop(t,r){let n=t||this.latestPointerEvent,o=r||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!o||!n)return;let{velocity:s}=o;this.startAnimation(s);let{onDragEnd:l}=this.getProps();l&&ye.postRender(()=>l(n,o))}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.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){let{drag:o}=this.getProps();if(!n||!of(t,o,this.currentDirection))return;let a=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=V7(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&In(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=N7(n.layoutBox,t):this.constraints=!1,this.elastic=G7(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Xt(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=z7(n.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!In(t))return!1;let n=t.current;xr(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let a=r7(n,o.root,this.visualElement.getTransformPagePoint()),s=L7(o.layout.layoutBox,a);if(r){let l=r(q6(s));this.hasMutatedConstraints=!!l,l&&(s=Hc(l))}return s}startAnimation(t){let{drag:r,dragMomentum:n,dragElastic:o,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:l}=this.getProps(),u=this.constraints||{},c=Xt(p=>{if(!of(p,r,this.currentDirection))return;let d=u&&u[p]||{};s&&(d={min:0,max:0});let h=o?200:1e6,g=o?40:1e7,v={type:"inertia",velocity:n?t[p]:0,bounceStiffness:h,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(p,v)});return Promise.all(c).then(l)}startAxisValueAnimation(t,r){let n=this.getAxisMotionValue(t);return Pl(this.visualElement,t),n.start(Ea(t,n,0,r,this.visualElement,!1))}stopAnimation(){Xt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Xt(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.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){Xt(r=>{let{drag:n}=this.getProps();if(!of(r,n,this.currentDirection))return;let{projection:o}=this.visualElement,a=this.getAxisMotionValue(r);if(o&&o.layout){let{min:s,max:l}=o.layout.layoutBox[r];a.set(t[r]-Ce(s,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!In(r)||!n||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};Xt(s=>{let l=this.getAxisMotionValue(s);if(l&&this.constraints!==!1){let u=l.get();o[s]=$7({min:u,max:u},this.constraints[s])}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Xt(s=>{if(!of(s,t,null))return;let l=this.getAxisMotionValue(s),{min:u,max:c}=this.constraints[s];l.set(Ce(u,c,o[s]))})}addListeners(){if(!this.visualElement.current)return;IV.set(this.visualElement,this);let t=this.visualElement.current,r=xo(t,"pointerdown",u=>{let{drag:c,dragListener:p=!0}=this.getProps();c&&p&&this.start(u)}),n=()=>{let{dragConstraints:u}=this.getProps();In(u)&&u.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),ye.read(n);let s=Vn(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Xt(p=>{let d=this.getAxisMotionValue(p);d&&(this.originPoint[p]+=u[p].translate,d.set(d.get()+u[p].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),l&&l()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:s=nf,dragMomentum:l=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:a,dragElastic:s,dragMomentum:l}}};function of(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function kV(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var sf=class extends ht{constructor(t){super(t),this.removeGroupControls=_e,this.removeListeners=_e,this.controls=new af(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()}};i();var H7=e=>(t,r)=>{e&&ye.postRender(()=>e(t,r))},lf=class extends ht{constructor(){super(...arguments),this.removePointerDownListener=_e}onPointerDown(t){this.session=new Aa(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rf(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:H7(t),onStart:H7(r),onMove:n,onEnd:(a,s)=>{delete this.session,o&&ye.postRender(()=>o(a,s))}}}mount(){this.removePointerDownListener=xo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};i();import{jsx as VV}from"react/jsx-runtime";import{useContext as _7,Component as NV}from"react";i();var Ra={hasAnimatedSinceResize:!0,hasEverUpdated:!1};i();function j7(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Fa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ie.test(e))e=parseFloat(e);else return e;let r=j7(e,t.target.x),n=j7(e,t.target.y);return`${r}% ${n}%`}};i();var W7={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,o=Mt.parse(e);if(o.length>5)return n;let a=Mt.createTransformer(e),s=typeof o[0]!="number"?1:0,l=r.x.scale*t.x,u=r.y.scale*t.y;o[0+s]/=l,o[1+s]/=u;let c=Ce(l,u,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),a(o)}};var f0=!1,p0=class extends NV{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:a}=t;O6(LV),a&&(r.group&&r.group.add(a),n&&n.register&&o&&n.register(a),f0&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Ra.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:n,drag:o,isPresent:a}=this.props,{projection:s}=n;return s&&(s.isPresent=a,f0=!0,o||t.layoutDependency!==r||r===void 0||t.isPresent!==a?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||ye.postRender(()=>{let l=s.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ai.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;f0=!0,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 uf(e){let[t,r]=Rc(),n=_7(aa);return VV(p0,{...e,layoutGroup:n,switchLayoutGroup:_7(zc),isPresent:t,safeToRemove:r})}var LV={borderRadius:{...Fa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Fa,borderTopRightRadius:Fa,borderBottomLeftRadius:Fa,borderBottomRightRadius:Fa,boxShadow:W7};i();i();i();function U7(e,t,r){let n=Be(e)?e:wr(e);return n.start(Ea("",n,t,r)),n.animation}i();i();var K7=(e,t)=>e.depth-t.depth;var cf=class{constructor(){this.children=[],this.isDirty=!1}add(t){Xo(this.children,t),this.isDirty=!0}remove(t){Yo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(K7),this.isDirty=!1,this.children.forEach(t)}};i();function q7(e,t){let r=Ze.now(),n=({timestamp:o})=>{let a=o-r;a>=t&&(qt(n),e(a-t))};return ye.setup(n,!0),()=>qt(n)}i();var Z7=["TopLeft","TopRight","BottomLeft","BottomRight"],$V=Z7.length,X7=e=>typeof e=="string"?parseFloat(e):e,Y7=e=>typeof e=="number"||ie.test(e);function Q7(e,t,r,n,o,a){o?(e.opacity=Ce(0,r.opacity??1,zV(n)),e.opacityExit=Ce(t.opacity??1,0,GV(n))):a&&(e.opacity=Ce(t.opacity??1,r.opacity??1,n));for(let s=0;s<$V;s++){let l=`border${Z7[s]}Radius`,u=J7(t,l),c=J7(r,l);if(u===void 0&&c===void 0)continue;u||(u=0),c||(c=0),u===0||c===0||Y7(u)===Y7(c)?(e[l]=Math.max(Ce(X7(u),X7(c),n),0),(Ot.test(c)||Ot.test(u))&&(e[l]+="%")):e[l]=c}(t.rotate||r.rotate)&&(e.rotate=Ce(t.rotate||0,r.rotate||0,n))}function J7(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var zV=ev(0,.5,Zs),GV=ev(.5,.95,_e);function ev(e,t,r){return n=>n<e?0:n>t?1:r(Qr(e,t,n))}i();function tv(e,t){e.min=t.min,e.max=t.max}function pr(e,t){tv(e.x,t.x),tv(e.y,t.y)}function d0(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}i();function rv(e,t,r,n,o){return e-=t,e=Dl(e,1/r,n),o!==void 0&&(e=Dl(e,1/o,n)),e}function HV(e,t=0,r=1,n=.5,o,a=e,s=e){if(Ot.test(t)&&(t=parseFloat(t),t=Ce(s.min,s.max,t/100)-s.min),typeof t!="number")return;let l=Ce(a.min,a.max,n);e===a&&(l-=t),e.min=rv(e.min,t,r,l,o),e.max=rv(e.max,t,r,l,o)}function nv(e,t,[r,n,o],a,s){HV(e,t[r],t[n],t[o],t.scale,a,s)}var jV=["x","scaleX","originX"],WV=["y","scaleY","originY"];function m0(e,t,r,n){nv(e.x,t,jV,r?r.x:void 0,n?n.x:void 0),nv(e.y,t,WV,r?r.y:void 0,n?n.y:void 0)}i();function ov(e){return e.translate===0&&e.scale===1}function h0(e){return ov(e.x)&&ov(e.y)}function iv(e,t){return e.min===t.min&&e.max===t.max}function sv(e,t){return iv(e.x,t.x)&&iv(e.y,t.y)}function av(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function g0(e,t){return av(e.x,t.x)&&av(e.y,t.y)}function v0(e){return ut(e.x)/ut(e.y)}function y0(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}i();var ff=class{constructor(){this.members=[]}add(t){Xo(this.members,t),t.scheduleRender()}remove(t){if(Yo(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){let r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){let a=this.members[o];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1}promote(t,r){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};i();function lv(e,t,r){let n="",o=e.x.translate/t.x,a=e.y.translate/t.y,s=r?.z||0;if((o||a||s)&&(n=`translate3d(${o}px, ${a}px, ${s}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:c,rotate:p,rotateX:d,rotateY:h,skewX:g,skewY:v}=r;c&&(n=`perspective(${c}px) ${n}`),p&&(n+=`rotate(${p}deg) `),d&&(n+=`rotateX(${d}deg) `),h&&(n+=`rotateY(${h}deg) `),g&&(n+=`skewX(${g}deg) `),v&&(n+=`skewY(${v}deg) `)}let l=e.x.scale*t.x,u=e.y.scale*t.y;return(l!==1||u!==1)&&(n+=`scale(${l}, ${u})`),n||"none"}var di={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},b0=["","X","Y","Z"],_V=1e3,UV=0;function C0(e,t,r,n){let{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function vv(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let r=Yc(t);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:o,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",ye,!(o||a))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&vv(n)}function pf({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},l=t?.()){this.id=UV++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Kt.value&&(di.nodes=di.calculatedTargetDeltas=di.calculatedProjections=0),this.nodes.forEach(XV),this.nodes.forEach(QV),this.nodes.forEach(eN),this.nodes.forEach(YV),Kt.addProjectionMetrics&&Kt.addProjectionMetrics(di)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new cf)}addEventListener(s,l){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Pn),this.eventHandlers.get(s).add(l)}notifyListeners(s,...l){let u=this.eventHandlers.get(s);u&&u.notify(...l)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=yl(s)&&!Km(s),this.instance=s;let{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(u||l)&&(this.isLayoutDirty=!0),e){let p,d=0,h=()=>this.root.updateBlockedByResize=!1;ye.read(()=>{d=window.innerWidth}),e(s,()=>{let g=window.innerWidth;g!==d&&(d=g,this.root.updateBlockedByResize=!0,p&&p(),p=q7(h,250),Ra.hasAnimatedSinceResize&&(Ra.hasAnimatedSinceResize=!1,this.nodes.forEach(fv)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:d,hasRelativeLayoutChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let v=this.options.transition||c.getDefaultTransition()||iN,{onLayoutAnimationStart:m,onLayoutAnimationComplete:b}=c.getProps(),y=!this.targetLayout||!g0(this.targetLayout,g),x=!d&&h;if(this.options.layoutRoot||this.resumeFrom||x||d&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let w={...oi(v,"layout"),onPlay:m,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(p,x)}else d||fv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}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,this.eventHandlers.clear(),qt(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(tN),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.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&vv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){let d=this.path[p];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}let{layoutId:l,layout:u}=this.options;if(l===void 0&&!u)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(uv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(cv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ZV),this.nodes.forEach(KV),this.nodes.forEach(qV)):this.nodes.forEach(cv),this.clearAllSnapshots();let l=Ze.now();Je.delta=mt(0,1e3/60,l-Je.timestamp),Je.timestamp=l,Je.isProcessing=!0,nl.update.process(Je),nl.preRender.process(Je),nl.render.process(Je),Je.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ai.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(JV),this.sharedNodes.forEach(rN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ye.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ye.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ut(this.snapshot.measuredBox.x)&&!ut(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u<this.path.length;u++)this.path[u].updateScroll();let s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ne(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(l=!1),l&&this.instance){let u=n(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:u,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:u}}}resetTransform(){if(!o)return;let s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!h0(this.projectionDelta),u=this.getTransformTemplate(),c=u?u(this.latestValues,""):void 0,p=c!==this.prevTransformTemplateValue;s&&this.instance&&(l||kn(this.latestValues)||p)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let l=this.measurePageBox(),u=this.removeElementScroll(l);return s&&(u=this.removeTransform(u)),aN(u),{animationId:this.root.animationId,measuredBox:l,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:s}=this.options;if(!s)return Ne();let l=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(sN))){let{scroll:c}=this.root;c&&(Co(l.x,c.offset.x),Co(l.y,c.offset.y))}return l}removeElementScroll(s){let l=Ne();if(pr(l,s),this.scroll?.wasRoot)return l;for(let u=0;u<this.path.length;u++){let c=this.path[u],{scroll:p,options:d}=c;c!==this.root&&p&&d.layoutScroll&&(p.wasRoot&&pr(l,s),Co(l.x,p.offset.x),Co(l.y,p.offset.y))}return l}applyTransform(s,l=!1){let u=Ne();pr(u,s);for(let c=0;c<this.path.length;c++){let p=this.path[c];!l&&p.options.layoutScroll&&p.scroll&&p!==p.root&&ci(u,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),kn(p.latestValues)&&ci(u,p.latestValues)}return kn(this.latestValues)&&ci(u,this.latestValues),u}removeTransform(s){let l=Ne();pr(l,s);for(let u=0;u<this.path.length;u++){let c=this.path[u];if(!c.instance||!kn(c.latestValues))continue;jc(c.latestValues)&&c.updateSnapshot();let p=Ne(),d=c.measurePageBox();pr(p,d),m0(l,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,p)}return kn(this.latestValues)&&m0(l,this.latestValues),l}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!==Je.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let u=!!this.resumingFrom||this!==l;if(!(s||u&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:p,layoutId:d}=this.options;if(!(!this.layout||!(p||d))){if(this.resolvedRelativeTargetAt=Je.timestamp,!this.targetDelta&&!this.relativeTarget){let h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ne(),this.relativeTargetOrigin=Ne(),Pa(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),pr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ne(),this.targetWithTransforms=Ne()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),P7(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):pr(this.target,this.layout.layoutBox),i0(this.target,this.targetDelta)):pr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ne(),this.relativeTargetOrigin=Ne(),Pa(this.relativeTargetOrigin,this.target,h.target),pr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Kt.value&&di.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||jc(this.parent.latestValues)||n0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let s=this.getLead(),l=!!this.resumingFrom||this!==s,u=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===Je.timestamp&&(u=!1),u)return;let{layout:c,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||p))return;pr(this.layoutCorrected,this.layout.layoutBox);let d=this.treeScale.x,h=this.treeScale.y;t7(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=Ne());let{target:g}=s;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(d0(this.prevProjectionDelta.x,this.projectionDelta.x),d0(this.prevProjectionDelta.y,this.projectionDelta.y)),Ta(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==h||!y0(this.projectionDelta.x,this.prevProjectionDelta.x)||!y0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),Kt.value&&di.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.visualElement?.scheduleRender(),s){let l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=fi(),this.projectionDelta=fi(),this.projectionDeltaWithTransform=fi()}setAnimationOrigin(s,l=!1){let u=this.snapshot,c=u?u.latestValues:{},p={...this.latestValues},d=fi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;let h=Ne(),g=u?u.source:void 0,v=this.layout?this.layout.source:void 0,m=g!==v,b=this.getStack(),y=!b||b.members.length<=1,x=!!(m&&!y&&this.options.crossfade===!0&&!this.path.some(oN));this.animationProgress=0;let w;this.mixTargetDelta=D=>{let T=D/1e3;pv(d.x,s.x,T),pv(d.y,s.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Pa(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),nN(this.relativeTarget,this.relativeTargetOrigin,h,T),w&&sv(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Ne()),pr(w,this.relativeTarget)),m&&(this.animationValues=p,Q7(p,c,this.latestValues,T,x,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(qt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ye.update(()=>{Ra.hasAnimatedSinceResize=!0,zr.layout++,this.motionValue||(this.motionValue=wr(0)),this.currentAnimation=U7(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),s.onUpdate&&s.onUpdate(l)},onStop:()=>{zr.layout--},onComplete:()=>{zr.layout--,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(_V),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:l,target:u,layout:c,latestValues:p}=s;if(!(!l||!u||!c)){if(this!==s&&this.layout&&c&&yv(this.options.animationType,this.layout.layoutBox,c.layoutBox)){u=this.target||Ne();let d=ut(this.layout.layoutBox.x);u.x.min=s.target.x.min,u.x.max=u.x.min+d;let h=ut(this.layout.layoutBox.y);u.y.min=s.target.y.min,u.y.max=u.y.min+h}pr(l,u),ci(l,p),Ta(this.projectionDeltaWithTransform,this.layoutCorrected,l,p)}}registerSharedNode(s,l){this.sharedNodes.has(s)||this.sharedNodes.set(s,new ff),this.sharedNodes.get(s).add(l);let c=l.options.initialPromotionConfig;l.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(l):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){let{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:l,preserveFollowOpacity:u}={}){let c=this.getStack();c&&c.promote(this,u),s&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let l=!1,{latestValues:u}=s;if((u.z||u.rotate||u.rotateX||u.rotateY||u.rotateZ||u.skewX||u.skewY)&&(l=!0),!l)return;let c={};u.z&&C0("z",s,c,this.animationValues);for(let p=0;p<b0.length;p++)C0(`rotate${b0[p]}`,s,c,this.animationValues),C0(`skew${b0[p]}`,s,c,this.animationValues);s.render();for(let p in c)s.setStaticValue(p,c[p]),this.animationValues&&(this.animationValues[p]=c[p]);s.scheduleRender()}applyProjectionStyles(s,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}let u=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=xa(l?.pointerEvents)||"",s.transform=u?u(this.latestValues,""):"none";return}let c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=xa(l?.pointerEvents)||""),this.hasProjected&&!kn(this.latestValues)&&(s.transform=u?u({},""):"none",this.hasProjected=!1);return}s.visibility="";let p=c.animationValues||c.latestValues;this.applyTransformsToTarget();let d=lv(this.projectionDeltaWithTransform,this.treeScale,p);u&&(d=u(p,d)),s.transform=d;let{x:h,y:g}=this.projectionDelta;s.transformOrigin=`${h.origin*100}% ${g.origin*100}% 0`,c.animationValues?s.opacity=c===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:s.opacity=c===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(let v in ui){if(p[v]===void 0)continue;let{correct:m,applyTo:b,isCSSVariable:y}=ui[v],x=d==="none"?p[v]:m(p[v],c);if(b){let w=b.length;for(let D=0;D<w;D++)s[b[D]]=x}else y?this.options.visualElement.renderState.vars[v]=x:s[v]=x}this.options.layoutId&&(s.pointerEvents=c===this?xa(l?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(uv),this.root.sharedNodes.clear()}}}function KV(e){e.updateLayout()}function qV(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:o}=e.options,a=t.source!==e.layout.source;o==="size"?Xt(p=>{let d=a?t.measuredBox[p]:t.layoutBox[p],h=ut(d);d.min=r[p].min,d.max=d.min+h}):yv(o,t.layoutBox,r)&&Xt(p=>{let d=a?t.measuredBox[p]:t.layoutBox[p],h=ut(r[p]);d.max=d.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+h)});let s=fi();Ta(s,r,t.layoutBox);let l=fi();a?Ta(l,e.applyTransform(n,!0),t.measuredBox):Ta(l,r,t.layoutBox);let u=!h0(s),c=!1;if(!e.resumeFrom){let p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){let{snapshot:d,layout:h}=p;if(d&&h){let g=Ne();Pa(g,t.layoutBox,d.layoutBox);let v=Ne();Pa(v,r,h.layoutBox),g0(g,v)||(c=!0),p.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=g,e.relativeParent=p)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:s,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function XV(e){Kt.value&&di.nodes++,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 YV(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function JV(e){e.clearSnapshot()}function uv(e){e.clearMeasurements()}function cv(e){e.isLayoutDirty=!1}function ZV(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function fv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function QV(e){e.resolveTargetDelta()}function eN(e){e.calcProjection()}function tN(e){e.resetSkewAndRotation()}function rN(e){e.removeLeadSnapshot()}function pv(e,t,r){e.translate=Ce(t.translate,0,r),e.scale=Ce(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function dv(e,t,r,n){e.min=Ce(t.min,r.min,n),e.max=Ce(t.max,r.max,n)}function nN(e,t,r,n){dv(e.x,t.x,r.x,n),dv(e.y,t.y,r.y,n)}function oN(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var iN={duration:.45,ease:[.4,0,.1,1]},mv=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hv=mv("applewebkit/")&&!mv("chrome/")?Math.round:_e;function gv(e){e.min=hv(e.min),e.max=hv(e.max)}function aN(e){gv(e.x),gv(e.y)}function yv(e,t,r){return e==="position"||e==="preserve-aspect"&&!T7(v0(t),v0(r),.2)}function sN(e){return e!==e.root&&e.scroll?.wasRoot}i();var bv=pf({attachResizeListener:(e,t)=>Vn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var x0={current:void 0},df=pf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!x0.current){let e=new bv({});e.mount(window),e.setOptions({layoutScroll:!0}),x0.current=e}return x0.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var Cv={pan:{Feature:lf},drag:{Feature:sf,ProjectionNode:df,MeasureLayout:uf}};i();i();function xv(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover",r==="Start");let o="onHover"+r,a=n[o];a&&ye.postRender(()=>a(t,Nn(t)))}var mf=class extends ht{mount(){let{current:t}=this.node;t&&(this.unmount=jm(t,(r,n)=>(xv(this.node,n,"Start"),o=>xv(this.node,o,"End"))))}unmount(){}};i();var hf=class extends ht{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=$r(Vn(this.node.current,"focus",()=>this.onFocus()),Vn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};i();function wv(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap",r==="Start");let o="onTap"+(r==="End"?"":r),a=n[o];a&&ye.postRender(()=>a(t,Nn(t)))}var gf=class extends ht{mount(){let{current:t}=this.node;t&&(this.unmount=Um(t,(r,n)=>(wv(this.node,n,"Start"),(o,{success:a})=>wv(this.node,o,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};i();i();var S0=new WeakMap,w0=new WeakMap,lN=e=>{let t=S0.get(e.target);t&&t(e)},uN=e=>{e.forEach(lN)};function cN({root:e,...t}){let r=e||document;w0.has(r)||w0.set(r,{});let n=w0.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(uN,{root:e,...t})),n[o]}function Sv(e,t,r){let n=cN(t);return S0.set(e,r),n.observe(e),()=>{S0.delete(e),n.unobserve(e)}}var fN={some:0,all:1},vf=class extends ht{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:o="some",once:a}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:fN[o]},l=u=>{let{isIntersecting:c}=u;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:p,onViewportLeave:d}=this.node.getProps(),h=c?p:d;h&&h(u)};return Sv(this.node.current,s,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:r}=this.node;["amount","margin","root"].some(pN(t,r))&&this.startObserver()}unmount(){}};function pN({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var Dv={inView:{Feature:vf},tap:{Feature:gf},focus:{Feature:hf},hover:{Feature:mf}};i();var Ev={layout:{ProjectionNode:df,MeasureLayout:uf}};var Tv={...b7,...Dv,...Cv,...Ev};var Al=K6(Tv,c7);i();import{ThemeProvider as hN}from"styled-components";i();i();i();var gt={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:"InterVariable, 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 dN=100,mN=200,Pv=300,Rl=500,Av={breakpoint:{...gt.breakpoint},color:{...gt.color},duration:{...gt.duration},easing:{...gt.easing},font:{family:{default:"InterVariable, Helvetica, Arial, sans-serif",monospace:gt.font.family.monospace},size:gt.font.size,weight:Object.fromEntries(Object.entries(gt.font.weight).map(([e,t])=>[e,Number(t)]))},shadow:{...gt.shadow},spacing:{...gt.spacing},zIndex:{ModalCloseButton:dN,Backdrop:mN,ActionModal:Pv,FullScreenModal:Pv,RangeSelector:Rl,MenuComponent:Rl,Toast:Rl,Tooltip:Rl,BackdropElevated:Rl},button:{borderRadius:"4px"},buttonGroup:{gap:"16px"},headline:{family:gt.font.family,headline1:{weight:gt.font.weight.bold},headline2:{weight:gt.font.weight.medium},headline3:{weight:gt.font.weight.bold}},paper:{elevation0:gt.shadow.elevation0,elevation1:gt.shadow.elevation1,elevation2:gt.shadow.elevation2}};import{jsx as gN}from"react/jsx-runtime";var Rv=({children:e,theme:t})=>{let r=zs(Av,t);return gN(hN,{theme:r,children:e})};i();import{createContext as vN,useContext as yN}from"react";var Fv=vN({}),Bv=()=>yN(Fv),Ov=Fv.Provider;i();import{useState as hi,useCallback as sL}from"react";i();import{memo as YN,useState as JN,useEffect as Zb,useCallback as ZN,Fragment as QN}from"react";import{createPortal as eL}from"react-dom";import eC from"styled-components";i();i();i();import{useTheme as bN}from"styled-components";var Ln=()=>bN();i();i();i();i();import{useState as xN,useLayoutEffect as wN}from"react";i();function CN(e,t,r){var n=r||{},o=n.noTrailing,a=o===void 0?!1:o,s=n.noLeading,l=s===void 0?!1:s,u=n.debounceMode,c=u===void 0?void 0:u,p,d=!1,h=0;function g(){p&&clearTimeout(p)}function v(b){var y=b||{},x=y.upcomingOnly,w=x===void 0?!1:x;g(),d=!w}function m(){for(var b=arguments.length,y=new Array(b),x=0;x<b;x++)y[x]=arguments[x];var w=this,D=Date.now()-h;if(d)return;function T(){h=Date.now(),t.apply(w,y)}function S(){p=void 0}!l&&c&&!p&&T(),g(),c===void 0&&D>e?l?(h=Date.now(),a||(p=setTimeout(c?S:T,e))):T():a!==!0&&(p=setTimeout(c?S:T,c===void 0?e-D:e))}return m.cancel=v,m}function Fl(e,t,r){var n=r||{},o=n.atBegin,a=o===void 0?!1:o;return CN(e,t,{debounceMode:a!==!1})}i();i();var yf=()=>typeof window<"u"&&typeof document<"u";var D0=(e=0)=>{let[t,r]=xN({width:yf()?window.innerWidth:0,height:yf()?window.innerHeight:0});return wN(()=>{let n=Fl(e,()=>r({width:window.innerWidth,height:window.innerHeight}));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),t};var SN=16,$n=()=>{let e=D0().width/SN,t=Ln(),r=!0,n=e>=Number.parseFloat(t.breakpoint.sm),o=e>=Number.parseFloat(t.breakpoint.md),a=e>=Number.parseFloat(t.breakpoint.lg),s=e>=Number.parseFloat(t.breakpoint.xl),l=e<Number.parseFloat(t.breakpoint.sm),u=e<Number.parseFloat(t.breakpoint.md),c=e<Number.parseFloat(t.breakpoint.lg),p=e<Number.parseFloat(t.breakpoint.xl);return{isXsAndUp:r,isSmAndUp:n,isMdAndUp:o,isLgAndUp:a,isXlAndUp:s,isXsAndDown:l,isSmAndDown:u,isMdAndDown:c,isLgAndDown:p,isXlAndDown:!0}};import{Fragment as PN,jsx as E0}from"react/jsx-runtime";var T0=24,DN={bottom:T0,left:T0,position:"fixed"},EN={minWidth:"352px",width:"400px"},TN={width:`calc(100% - ${T0*2}px)`},Mv=({children:e,in:t,renderInPlace:r})=>{let{isSmAndUp:n}=$n(),{duration:o,zIndex:a}=Ln(),s=Number.parseInt(o.expressive.fast,10)/1e3,l={...DN,...n?EN:TN,willChange:"auto",zIndex:a.Toast};return r?E0(PN,{children:e}):E0(Cl,{children:t?E0(Al.div,{animate:{opacity:1,y:"0%"},exit:{opacity:0,y:"100%"},initial:{opacity:0,y:"100%"},style:l,transition:{duration:s},children:e}):null})};i();i();var Iv=(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]},Oe=(e=null)=>{let r=Ln().color;if(!Object.keys({...r}).length)throw new Error("The `useThemeColor` hook could not find any defined colors. A possible cause of this error is that your component is not wrapped in a theme provider such as `<VHSProvider />`");return e===null?r:Array.isArray(e)?e.map(o=>Iv(r,o)):Iv(r,e)};i();import{forwardRef as XN}from"react";i();import Cf from"styled-components";i();i();i();var P0={"ab-test":"AbTestIcon","all-content":"AllContentIcon",archived:"ArchivedIcon","arrow-down":"ArrowDownIcon","arrow-left":"ArrowLeftIcon","arrow-right":"ArrowRightIcon","arrow-up":"ArrowUpIcon",asterisk:"AsteriskIcon",audience:"AudienceIcon",calendar:"CalendarIcon",camera:"CameraIcon","caret-down":"CaretDownIcon","caret-left":"CaretLeftIcon","caret-right":"CaretRightIcon","caret-up":"CaretUpIcon",channel:"ChannelIcon",checkmark:"CheckmarkIcon","checkmark-circle":"CheckmarkCircleIcon","checkmark-circle-outline":"CheckmarkCircleOutlineIcon","checkmark-circle-three-quarters":"CheckmarkCircleThreeQuartersIcon","checkmark-underlined":"CheckmarkUnderlinedIcon",close:"CloseIcon","close-circle":"CloseCircleIcon","collect-video":"CollectVideoIcon",collection:"CollectionIcon",comment:"CommentIcon",community:"CommunityIcon","contact-us":"ContactUsIcon",copy:"CopyIcon","copy-disabled":"CopyDisabledIcon",create:"CreateIcon",delete:"DeleteIcon","delete-sm":"DeleteSmIcon","dottie-clock":"DottieClockIcon",download:"DownloadIcon",draggable:"DraggableIcon",edit:"PencilIcon",ellipsis:"EllipsisIcon","ellipsis-vertical":"EllipsisVerticalIcon",embed:"EmbedIcon",episodes:"EpisodesIcon",error:"TriangleIcon",expand:"ExpandIcon",export:"DownloadIcon",favorite:"FavoriteIcon","favorite-outline":"FavoriteOutlineIcon",filter:"FilterIcon",gear:"GearIcon","getting-started":"GettingStartedIcon",globe:"GlobeIcon","grid-view":"GridViewIcon","group-record":"GroupRecordIcon",hamburger:"HamburgerIcon",hazard:"HazardIcon","help-center":"HelpCenterIcon",hide:"HideIcon",home:"HomeIcon",hourglass:"HourglassIcon",import:"ImportIcon",info:"InfoIcon",integrations:"IntegrationsIcon",invite:"InviteIcon","invite-to-record":"InviteToRecordIcon","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",playlist:"PlaylistIcon",podcast:"PodcastIcon",preview:"PreviewIcon","private-user-sessions":"PrivateUserSessionsIcon",project:"ProjectIcon","question-mark":"QuestionMarkIcon",react:"ReactIcon",record:"RecordIcon",redo:"RedoIcon","remove-from-channel":"RemoveFromChannelIcon",replace:"ReplaceIcon",reply:"ReplyIcon","save-copy":"CopyIcon",scissors:"ScissorsIcon",search:"SearchIcon",send:"SendIcon",settings:"SettingsIcon",share:"ShareIcon",soapbox:"SoapboxIcon",sort:"SortIcon",sparkle:"SparkleIcon",spinner:"SpinnerIcon",stats:"StatsIcon","switch-accounts":"SwitchAccountsIcon",tag:"TagIcon",team:"TeamIcon","thumbs-down":"ThumbsDownIcon","thumbs-up":"ThumbsUpIcon",triangle:"TriangleIcon",undo:"UndoIcon",unlock:"UnlockIcon",upload:"UploadIcon","users-permissions":"UsersPermissionsIcon","view-stream":"ViewStreamIcon",wand:"WandIcon","zoom-in":"ZoomInIcon","zoom-out":"ZoomOutIcon"};var F0={};$1(F0,{AbTestIcon:()=>Vv,AllContentIcon:()=>Lv,ArchivedIcon:()=>zv,ArrowDownIcon:()=>Hv,ArrowLeftIcon:()=>Wv,ArrowRightIcon:()=>Uv,ArrowUpIcon:()=>qv,AsteriskIcon:()=>Yv,AudienceIcon:()=>Zv,CalendarIcon:()=>e8,CameraIcon:()=>r8,CaretDownIcon:()=>o8,CaretLeftIcon:()=>a8,CaretRightIcon:()=>l8,CaretUpIcon:()=>c8,ChannelIcon:()=>p8,CheckmarkCircleIcon:()=>m8,CheckmarkCircleOutlineIcon:()=>g8,CheckmarkCircleThreeQuartersIcon:()=>y8,CheckmarkIcon:()=>C8,CheckmarkUnderlinedIcon:()=>w8,CloseCircleIcon:()=>D8,CloseIcon:()=>T8,CollectVideoIcon:()=>A8,CollectionIcon:()=>Ob,CommentIcon:()=>F8,CommunityIcon:()=>O8,ContactUsIcon:()=>I8,CopyDisabledIcon:()=>V8,CopyIcon:()=>L8,CreateIcon:()=>z8,DeleteIcon:()=>H8,DeleteSmIcon:()=>j8,DottieClockIcon:()=>_8,DownloadIcon:()=>K8,DraggableIcon:()=>X8,EllipsisIcon:()=>J8,EllipsisVerticalIcon:()=>Q8,EmbedIcon:()=>t9,EpisodesIcon:()=>n9,ExpandIcon:()=>i9,FavoriteIcon:()=>s9,FavoriteOutlineIcon:()=>u9,FilterIcon:()=>f9,GearIcon:()=>d9,GettingStartedIcon:()=>h9,GlobeIcon:()=>g9,GridViewIcon:()=>y9,GroupRecordIcon:()=>Ab,HamburgerIcon:()=>C9,HazardIcon:()=>w9,HelpCenterIcon:()=>D9,HideIcon:()=>T9,HomeIcon:()=>A9,HourglassIcon:()=>F9,ImportIcon:()=>O9,InfoIcon:()=>I9,IntegrationsIcon:()=>V9,InviteIcon:()=>L9,InviteToRecordIcon:()=>Fb,LightningBoltIcon:()=>z9,LinkIcon:()=>H9,ListViewIcon:()=>W9,LiveIcon:()=>U9,LockIcon:()=>q9,LogoutIcon:()=>Y9,MediaIcon:()=>Z9,MegaphoneIcon:()=>ey,MoreOptionsIcon:()=>ry,OpenNewIcon:()=>oy,OverviewIcon:()=>ay,PaintIcon:()=>ly,PencilIcon:()=>cy,PlayIcon:()=>py,PlaylistIcon:()=>Ib,PodcastIcon:()=>my,PreviewIcon:()=>gy,PrivateUserSessionsIcon:()=>yy,ProjectIcon:()=>Cy,QuestionMarkIcon:()=>wy,ReactIcon:()=>Dy,RecordIcon:()=>Ty,RedoIcon:()=>Ay,RemoveFromChannelIcon:()=>Fy,ReplaceIcon:()=>Oy,ReplyIcon:()=>Iy,ScissorsIcon:()=>Vy,SearchIcon:()=>Ly,SendIcon:()=>zy,SettingsIcon:()=>Hy,ShareIcon:()=>Wy,SoapboxIcon:()=>Uy,SortIcon:()=>qy,SparkleIcon:()=>Yy,SpinnerIcon:()=>Jy,StatsIcon:()=>Qy,SwitchAccountsIcon:()=>tb,TagIcon:()=>nb,TeamIcon:()=>ib,ThumbsDownIcon:()=>sb,ThumbsUpIcon:()=>ub,TriangleIcon:()=>fb,UndoIcon:()=>db,UnlockIcon:()=>hb,UploadIcon:()=>vb,UsersPermissionsIcon:()=>bb,ViewStreamIcon:()=>xb,WandIcon:()=>Sb,ZoomInIcon:()=>Eb,ZoomOutIcon:()=>Pb});i();i();import{jsx as kv}from"react/jsx-runtime";var Vv=e=>kv("svg",{...e,children:kv("path",{d:"M8.78042 2.11118C6.86612 2.34876 6.94137 3.15354 6.99208 3.69591V3.69599C6.99476 3.72465 6.99738 3.75258 6.99962 3.77965C7.04436 4.31904 7.55048 5.39025 8.78042 5.39025H8.79735L8.79731 5.40433C8.79731 5.40433 9.05197 8.22842 8.79731 9.662C8.63183 10.5935 8.18982 11.2329 7.69474 11.865C8.39927 11.9016 9.14688 11.9764 9.93037 12.0994C10.4699 12.1842 10.8383 12.6879 10.753 13.2246C10.6678 13.7612 10.1613 14.1276 9.62166 14.0428C8.33927 13.8413 7.1731 13.7835 6.16316 13.812C5.48376 14.6589 4.44391 15.9821 3.58432 17.1925C5.12252 17.2343 7.05517 17.2692 9.48309 17.1438C10.0287 17.1157 10.4939 17.5327 10.5222 18.0753C10.5504 18.6178 10.1312 19.0805 9.58566 19.1086C6.78798 19.253 4.53527 19.189 2.90579 19.1426C2.71222 19.1371 2.52744 19.1319 2.35159 19.1273C1.49048 20.8558 2.24968 21.573 4.20714 21.7855C6.33564 22.0165 18.0133 22.1217 19.9478 21.7855C21.8825 21.4493 22.5323 19.9214 21.5397 18.6499C20.547 17.3783 17.7768 13.4113 16.9172 11.9984C16.7004 11.642 16.4948 11.3282 16.3083 11.0435C15.7556 10.1997 15.3708 9.61242 15.36 8.93404L15.3601 5.40433L15.36 5.39025H15.3746C16.8928 5.34284 17.0231 4.6562 17.0231 3.75071C17.0231 2.84523 16.285 2.11118 15.3746 2.11118C15.3746 2.11118 10.7959 1.86103 8.78042 2.11118Z",fill:"currentColor"})});i();import{jsx as Nv}from"react/jsx-runtime";var Lv=e=>Nv("svg",{...e,children:Nv("path",{d:"m3.09059 3.5023c.5523 0 1 .4477 1 1l-.00092.70188c-.01018 3.93536-.10142 7.15092-.08848 9.77572.0068 1.3587.0426 2.4727.1299 3.3301.071.6968.16857 1.1263.25679 1.3643l.00412.0107.04589.0175c.01953.007.04171.0145.06676.0224l.08404.025c.2655.0742.6435.1409 1.1387.1952.9865.1081 2.3084.1539 3.8524.1644 3.14371.0213 6.85261-.0993 10.44111-.0993l.1166.0067c.4974.0578.8834.4805.8834.9933 0 .5522-.4477 1-1 1l-.738.0017c-3.232.0147-6.8753.1168-9.71671.0976-1.558-.0106-2.9641-.0566-4.0568-.1763-.5444-.0597-1.0437-.141-1.4591-.2571-.3702-.1035-.8555-.2808-1.185-.649l-.05731-.0703-.05079-.0751-.10286-.186c-.29118-.5812-.4296-1.3656-.51294-2.183-.0974-.9568-.1333-2.1494-.1402-3.5229-.0133-2.6853.0894-6.4106.0894-10.4876l.00673-.11652c.05776-.49735.48042-.88338.99327-.88338zm6.5557-1.37637.53051.02595c1.8616.09188 3.7138.19142 3.7138.19142s1.0423-.01829 2.2175-.02072l.4451-.0001c.8957.00155 1.802.01442 2.3355.05302 2.564.2222 2.6272 1.1409 2.7026 2.237.0118.172.024.3485.0461.5273.2722 2.1214.4627 4.9141.4627 6.5213 0 1.6393-.0545 5.1864-.245 5.4757-.2721.4178-.7348.9964-2.6398.8357-1.5154-.1278-7.0949-.2353-9.79337-.2416l-.43309-.0001c-.46931.0011-.80752.0065-.95905.0167-.9525.0643-2.0683-.0643-2.2588-1.125-.17942-.9182-.22215-3.2602-.2137-5.7009l.00427-.7725c.01347-1.80295.04985-3.58372.07493-4.8122.0148-.7225.0256-1.254.0256-1.4866 0-.0124-.0004-.0308-.001-.0543-.0081-.3442-.0425-1.796.8683-1.796.39926 0 1.70989.05778 3.1169.12593zm1.68581 5.01357c-.0356.94577-.0413 3.5445-.0421 5.0123l-.0002.688c0 .1695.1692.2755.3172.1907.9725-.551 3.89-2.2463 4.7145-3.327.0846-.106.0423-.2543-.0634-.3179l-4.6089-2.4156c-.148-.0848-.3171.0212-.3171.1695z",fill:"currentColor"})});i();import{jsx as $v}from"react/jsx-runtime";var zv=e=>$v("svg",{...e,children:$v("path",{clipRule:"evenodd",d:"m1.73061 4.12674c-.00015-.04078-.00031-.08299-.0006-.12674.00196-.01564.00388-.03112.00579-.04645.14457-1.16135.18151-1.45809 3.76421-1.95355 4.033-.558 11.67499-.278 15.49699.892.433.133 1.003.608 1.003 1.108 0 .63366.0008.64812.0016.66226.0007.01356.0014.02683.0014.58474-.1073.53269-.783.38874-1.8549.16039-.8357-.17804-1.9122-.40739-3.1481-.40739-.9352 0-2.0855-.03207-3.3103-.06622-2.7041-.07539-5.7715-.16091-7.68969.06622-.93175.05647-1.70731.17102-2.3234.26202-.91133.1346-1.47374.21767-1.6766-.01502-.26635-.30625-.26743-.59442-.2694-1.12026zm.38218 9.34776.0002.0065c.027.913.053 1.802.033 2.573l-.01.316-.00009.0031c-.05397 1.901-.10965 3.8622.37509 4.4189.34.39 1.277.743 3.591.743 2.315 0 11.63801.264 12.80501.403 1.168.14 2.548.112 2.739-.836.303-1.4255.306-4.3452.308-6.2904v-.0386c0-.625 0-1.147.01-1.48.031-1.25-.024-1.967-.081-2.702-.021-.266-.042-.534-.059-.83-.005-.146-.008-.281-.01-.406l-.0001-.00311c-.0169-.82786-.0249-1.21719-.8169-1.45989-3.822-1.171-11.46401-1.45-15.49701-.892-3.195.442-3.233.992-3.297 1.935-.00056.00797-.00112.01597-.00168.024-.00848.12097-.01744.24897-.03432.384-.14378 1.1792-.09814 2.6835-.0542 4.1315zm5.0572-1.8505c-.316-.349-.254-1.079-.149-1.376.114-.297 3.05201-.268 5.00901-.214 1.5006.0502 2.997.1864 4.482.408.298.052.613.705.465 1.175l-.023.075c-.037.13-.075.263-.17.274-.36.012-6.747-.068-6.747-.068s-2.55201.074-2.86701-.274z",fill:"currentColor"})});i();import{jsx as Gv}from"react/jsx-runtime";var Hv=e=>Gv("svg",{...e,children:Gv("path",{d:"m19.7685 14.8636c.615-.555.6637-1.5035.1087-2.1185-.555-.6151-1.5035-.6637-2.1185-.1088l-4.2587 3.8429v-12.27446c0-.82845-.6716-1.5-1.5-1.5s-1.5.67155-1.5 1.5v12.27446l-4.25874-3.8429c-.615-.555-1.56345-.5063-2.11845.1088-.555.615-.5064 1.5635.10875 2.1185l6.76354 6.1031c.5709.5152 1.4389.5152 2.0098 0z",fill:"currentColor"})});i();import{jsx as jv}from"react/jsx-runtime";var Wv=e=>jv("svg",{...e,children:jv("path",{d:"M9.1653 19.7974C9.72028 20.4124 10.6688 20.4611 11.2838 19.9061C11.8989 19.3512 11.9476 18.4027 11.3926 17.7876L7.54974 13.5289L19.8242 13.5289C20.6526 13.5289 21.3242 12.8573 21.3242 12.0289C21.3242 11.2005 20.6526 10.5289 19.8242 10.5289L7.54975 10.5289L11.3926 6.27019C11.9476 5.65519 11.8989 4.70674 11.2838 4.15174C10.6688 3.59674 9.72028 3.64534 9.16529 4.26049L3.06217 11.024C2.54703 11.5949 2.54703 12.4629 3.06217 13.0338L9.1653 19.7974Z",fill:"currentColor"})});i();import{jsx as _v}from"react/jsx-runtime";var Uv=e=>_v("svg",{...e,children:_v("path",{d:"M14.8347 4.26044C14.2797 3.6454 13.3312 3.59671 12.7162 4.15169C12.1011 4.70668 12.0524 5.65517 12.6074 6.27022L16.4502 10.5289L4.17581 10.5289C3.34736 10.5289 2.67581 11.2005 2.67581 12.0289C2.67581 12.8573 3.34736 13.5289 4.17581 13.5289L16.4502 13.5289L12.6074 17.7877C12.0524 18.4027 12.1011 19.3511 12.7161 19.9061C13.3312 20.4611 14.2797 20.4125 14.8347 19.7974L20.9378 13.0338C21.453 12.4629 21.453 11.5949 20.9378 11.024L14.8347 4.26044Z",fill:"currentColor"})});i();import{jsx as Kv}from"react/jsx-runtime";var qv=e=>Kv("svg",{...e,children:Kv("path",{d:"M4.23151 9.19422C3.61647 9.7492 3.56778 10.6977 4.12276 11.3127C4.67775 11.9278 5.62624 11.9765 6.24129 11.4215L10.5 7.57866L10.5 19.8531C10.5 20.6815 11.1716 21.3531 12 21.3531C12.8284 21.3531 13.5 20.6815 13.5 19.8531L13.5 7.57867L17.7587 11.4215C18.3737 11.9765 19.3222 11.9278 19.8772 11.3128C20.4322 10.6977 20.3836 9.7492 19.7684 9.19422L13.0049 3.09109C12.434 2.57595 11.566 2.57595 10.9951 3.09109L4.23151 9.19422",fill:"currentColor"})});i();import{jsx as Xv}from"react/jsx-runtime";var Yv=e=>Xv("svg",{...e,children:Xv("path",{d:"M14.4425 22L13.9358 15.3633L19.5575 19.0908L22 14.9542L15.3642 11.9542L22 9L19.5575 4.86333L13.9358 8.63667L14.4425 2H9.5575L10.0183 8.68167L4.39667 4.90917L2 9.04583L8.4975 12L2 14.9092L4.39667 19L10.0183 15.2725L9.5575 22H14.4425Z",fill:"currentColor"})});i();import{jsx as Jv}from"react/jsx-runtime";var Zv=e=>Jv("svg",{...e,children:Jv("path",{d:"m11.1744 3.04659c2.6835 2.33688 2.1425 8.06531-2.85234 7.99341-4.99483-.0719-5.03082-5.26362-3.69418-7.27726 1.33665-2.01364 4.64706-2.37021 6.54652-.71615zm8.511 8.47051c1.505 1.3105 1.2016 4.523-1.5995 4.4827-2.8011-.0404-2.8213-2.9519-2.0717-4.0811s2.6061-1.3292 3.6712-.4016zm-16.99799 10.3336c-.32545.0141-.61759-.3577-.6444-.8086-.15145-2.3574.04693-5.2652 1.4129-7.0804 2.86859-3.7922 9.46089-1.5366 10.60059 2.1134.236.7357.4008 1.5352.4961 2.3645.1371-.16.2718-.3099.3984-.4466 1.7601-1.8904 5.8048-.766 6.5041 1.0535.2965.751.4096 1.6354.3492 2.5077-.0098.2438-.2089.4477-.4506.4458h-7.4492-.0132-.0022-.4484c-.0235.0008-.0471-.0016-.0706-.0069z",fill:"currentColor"})});i();import{jsx as Qv}from"react/jsx-runtime";var e8=e=>Qv("svg",{...e,children:Qv("path",{clipRule:"evenodd",d:"m7.5 2.9895c.82843 0 1.5.67157 1.5 1.5v1.51041l6 .00003c0-.00001 0 .00001 0 0v-1.51044c0-.82843.6716-1.5 1.5-1.5s1.5.67157 1.5 1.5v1.51041c0-.00001 0 .00001 0 0l1.5.00003c.8284 0 1.5.67157 1.5 1.5v1.5c0 .82843-.6716 1.49996-1.5 1.49996h-15c-.82843 0-1.5-.67153-1.5-1.49996v-1.5c0-.82843.67157-1.5 1.5-1.5h1.5v-1.51044c0-.82843.67157-1.5 1.5-1.5zm-3 9.0104c-.82843 0-1.5.6716-1.5 1.5v6c0 .8285.67157 1.5 1.5 1.5h15c.8284 0 1.5-.6715 1.5-1.5v-6c0-.8284-.6716-1.5-1.5-1.5z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as t8}from"react/jsx-runtime";var r8=e=>t8("svg",{...e,children:t8("path",{clipRule:"evenodd",d:"M11.3162 20.979C11.6222 20.9857 11.9282 20.9924 12.2342 21V20.992C12.276 20.992 12.3178 20.9924 12.3595 20.9928C12.443 20.9935 12.5264 20.9942 12.6096 20.992C12.9666 20.9825 13.3235 20.9735 13.6805 20.9645C14.6678 20.9395 15.6552 20.9144 16.6423 20.8803C17.3374 20.8559 18.032 20.8127 18.7251 20.7569C19.3748 20.7048 20.0238 20.6415 20.6727 20.5783C20.9177 20.5544 21.1626 20.5305 21.4076 20.5072C21.8887 20.4612 22.2848 20.0971 22.3749 19.624C22.5973 18.4536 22.7728 17.2761 22.8625 16.0887C22.9258 15.2478 22.9671 14.403 22.9784 13.5597C22.9883 12.8257 22.9578 12.0898 22.9174 11.3563C22.8803 10.6899 22.8278 10.023 22.7433 9.36129C22.6605 8.71089 22.5531 8.06362 22.4457 7.41667C22.4215 7.27097 22.3974 7.12528 22.3735 6.97958C22.2928 6.48916 21.8624 6.12123 21.3663 6.08228C21.0761 6.05955 20.7863 6.03115 20.4965 6.00274C20.2656 5.98012 20.0347 5.9575 19.8036 5.93773C19.2277 5.88845 18.6514 5.84434 18.0747 5.80586C17.9794 5.79929 17.9418 5.76737 17.9151 5.67868L17.8955 5.61308C17.7345 5.07457 17.5734 4.53581 17.3998 4.00139C17.2445 3.5227 16.7784 3.15664 16.3077 3.1313C16.1265 3.12155 15.9453 3.11126 15.7641 3.10098C15.1608 3.06675 14.5575 3.03253 13.9537 3.01773C12.2178 2.97502 10.4823 3.00787 8.75008 3.13365C8.62103 3.14303 8.48634 3.17917 8.36901 3.23455C8.02173 3.39833 7.773 3.66208 7.65567 4.03236C7.56181 4.32848 7.47105 4.62568 7.38028 4.92287C7.3013 5.18146 7.22232 5.44004 7.14131 5.69792C7.12817 5.73922 7.07937 5.79131 7.04041 5.79741C6.95316 5.81131 6.86434 5.81585 6.77551 5.82041C6.73533 5.82246 6.69516 5.82452 6.65512 5.82744C6.53247 5.83652 6.40978 5.84531 6.28709 5.8541C5.96567 5.87712 5.64421 5.90015 5.32324 5.92834C5.07994 5.94972 4.83701 5.97418 4.59413 5.99864C4.29308 6.02896 3.99209 6.05927 3.69053 6.08368C3.21982 6.1217 2.78478 6.49432 2.70453 6.96316C2.66943 7.16876 2.63372 7.37429 2.59802 7.57982C2.47619 8.28117 2.35434 8.98263 2.25634 9.68746C2.15263 10.4327 2.06674 11.1841 2.03202 11.9354C1.99259 12.782 1.9879 13.6329 2.02732 14.479C2.06674 15.3322 2.1545 16.1854 2.26714 17.032C2.35101 17.6614 2.46316 18.287 2.5753 18.9124C2.61877 19.1549 2.66224 19.3973 2.70406 19.64C2.77868 20.0708 3.19542 20.4636 3.61263 20.5044C3.69683 20.5127 3.78099 20.5213 3.86514 20.5298C4.03332 20.5469 4.20149 20.564 4.37008 20.579C4.58912 20.5986 4.80813 20.6188 5.02715 20.639C5.58193 20.6903 6.13681 20.7416 6.69266 20.7813C7.51863 20.8404 8.34601 20.8897 9.17386 20.9207C9.88781 20.9476 10.602 20.9633 11.3162 20.979ZM6.3909 12.7131C6.41718 9.38992 9.19264 6.63089 12.5083 6.64872C15.8811 6.66703 18.5796 9.38664 18.5707 12.7375C18.5618 16.0676 15.807 18.8534 12.4721 18.8328C9.15556 18.8121 6.36462 16.0512 6.3909 12.7131ZM16.2261 12.7248C16.2383 10.658 14.5539 8.99148 12.4754 8.99524L12.4749 8.99571C10.4006 8.99899 8.72848 10.6655 8.73318 12.7243C8.73834 14.7935 10.4217 16.4942 12.4806 16.4867C14.5619 16.4792 16.2139 14.8104 16.2261 12.7248Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as n8}from"react/jsx-runtime";var o8=e=>n8("svg",{...e,children:n8("path",{d:"m2.68581 7.2381c.52393-.57331 1.39057-.64667 2.00074-.19312l.11843.09775 7.19402 6.57527 7.196-6.57527c.5733-.52393 1.443-.51915 2.01-.01262l.1092.10799c.5239.57331.5191 1.44304.0126 2.01l-.108.10918-8.2069 7.50002c-.5348.4887-1.3351.5213-1.9053.0977l-.1185-.0977-8.20691-7.50002c-.61154-.55886-.65424-1.50764-.09538-2.11918z",fill:"currentColor"})});i();import{jsx as i8}from"react/jsx-runtime";var a8=e=>i8("svg",{...e,children:i8("path",{d:"m16.7619 2.68582c.5733.52393.6467 1.39057.1931 2.00074l-.0977.11844-6.5753 7.194 6.5753 7.196c.5239.5733.5191 1.443.0126 2.01l-.108.1092c-.5733.5239-1.443.5191-2.01.0126l-.1092-.108-7.49998-8.2069c-.48873-.5348-.52131-1.3351-.09775-1.9053l.09775-.1185 7.49998-8.2069c.5589-.61153 1.5077-.65423 2.1192-.09538z",fill:"currentColor"})});i();import{jsx as s8}from"react/jsx-runtime";var l8=e=>s8("svg",{...e,children:s8("path",{d:"m7.23808 21.3142c-.57331-.524-.64667-1.3906-.19312-2.0008l.09774-.1184 6.5753-7.194-6.57529-7.196c-.52393-.57331-.51915-1.44303-.01262-2.01l.10799-.10917c.57331-.52393 1.44303-.51915 2.01-.01262l.10917.10799 7.50005 8.2069c.4887.5348.5213 1.3351.0977 1.9053l-.0977.1185-7.50004 8.2069c-.55886.6115-1.50765.6542-2.11918.0954z",fill:"currentColor"})});i();import{jsx as u8}from"react/jsx-runtime";var c8=e=>u8("svg",{...e,children:u8("path",{d:"m21.3141 16.7619c-.5239.5733-1.3905.6467-2.0007.1931l-.1184-.0977-7.194-6.5753-7.19602 6.5753c-.57331.5239-1.44304.5191-2.01.0126l-.10918-.108c-.52393-.5733-.51915-1.443-.01261-2.01l.10798-.1092 8.20683-7.49998c.5348-.48873 1.3352-.52131 1.9054-.09775l.1184.09775 8.207 7.49998c.6115.5589.6542 1.5077.0953 2.1192z",fill:"currentColor"})});i();import{jsx as f8}from"react/jsx-runtime";var p8=e=>f8("svg",{...e,children:f8("path",{clipRule:"evenodd",d:"m5.64571 1.19092c-.44678-.324663-1.07216-.225666-1.39682.22112-.32466.44678-.22567 1.07215.22111 1.39682 1.28625.93467 2.48092 2.19849 3.54704 3.39817-1.62947-.00332-2.92814.02027-3.46778.08086-1.98082.22241-2.2359 1.3046-2.45624 2.97122-.22035 1.66659.01731 8.61489.2821 10.20679s1.03019 2.2578 3.23903 2.2185c1.36389-.0243 5.14395.102 8.22435.2049 1.9081.0637 3.5484.1185 4.1789.123l.0126.0001c1.6426.0116 2.973.0211 3.5839-1.2509.6125-1.2752.3643-9.5706.2662-11.15071-.0982-1.58008-.6322-2.71681-1.8871-2.99303-.4032-.08875-1.9372-.17748-3.8995-.24967.9793-1.0846 2.1361-2.34437 3.5284-3.63478.405-.37542.4291-1.00813.0536-1.41319-.3754-.405062-1.0081-.429086-1.4132-.05366-1.61 1.49224-2.9274 2.95491-3.9684 4.11064-.1937.21508-.3778.41955-.5525.61158-.0947.10407-.1859.20373-.2738.29896-.9155-.02314-1.8546-.0422-2.7663-.056-.1596-.18054-.3281-.37314-.5061-.57663l-.1089-.12441c-1.18229-1.35084-2.71275-3.08411-4.44059-4.33968zm9.86039 12.42148c-1.0777 1.4126-4.8912 3.6285-6.16234 4.3486-.19344.1108-.41451-.0277-.41451-.2493 0-1.468 0-5.9827.05527-7.4507 0-.1939.22107-.3324.4145-.2216l6.02418 3.1576c.1382.0831.1934.2769.0829.4154z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as d8}from"react/jsx-runtime";var m8=e=>d8("svg",{...e,children:d8("path",{clipRule:"evenodd",d:"m21.8158 14.5648c3.0982-10.94829-8.8224-15.41821-15.39746-10.85188-4.65388 3.23212-6.673329 10.24658-3.15895 14.34028 3.51439 4.0936 15.45811 7.4598 18.55641-3.4884zm-4.1007-5.8658c.3861-.39496.3788-1.02808-.0161-1.41413-.395-.38604-1.0281-.37882-1.4141.01613l-6.127 6.2684-2.44277-2.4992c-.38605-.3949-1.01917-.4021-1.41413-.0161-.39495.3861-.40217 1.0192-.01612 1.4141l3.15789 3.2308c.18815.1925.44596.301.71513.301.2692 0 .527-.1085.7151-.301z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as h8,jsxs as AN}from"react/jsx-runtime";var g8=({...e})=>AN("svg",{...e,children:[h8("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"}),h8("path",{clipRule:"evenodd",d:"M17.1237 7.35609C17.6174 7.83865 17.6265 8.63005 17.1439 9.12374L10.3018 16.1237C10.0666 16.3644 9.74436 16.5 9.4079 16.5C9.07143 16.5 8.74918 16.3644 8.51399 16.1237L5.35609 12.893C4.87354 12.3993 4.88256 11.6079 5.37626 11.1253C5.86995 10.6428 6.66135 10.6518 7.14391 11.1455L9.4079 13.4617L15.3561 7.37626C15.8386 6.88256 16.6301 6.87354 17.1237 7.35609Z",fill:"currentColor",fillRule:"evenodd"})]});i();import{jsx as v8}from"react/jsx-runtime";var y8=e=>v8("svg",{...e,children:v8("path",{d:"m5.06066 10.1406c1.02693-3.83255 4.96634-6.10695 8.79884-5.08003.8844.23699 1.7935-.28787 2.0305-1.1723.237-.88444-.2879-1.79352-1.1723-2.0305-5.60142-1.500892-11.35896 1.82322-12.85985 7.42462-1.500884 5.60141 1.82323 11.35891 7.42463 12.85981 5.60142 1.5009 11.35892-1.8232 12.85982-7.4246.237-.8844-.2879-1.7935-1.1723-2.0305s-1.7935.2879-2.0305 1.1723c-1.0269 3.8325-4.9663 6.1069-8.7988 5.08-3.83257-1.0269-6.10696-4.9663-5.08004-8.7988zm16.57534-2.98696c.6582-.63651.6758-1.68609.0392-2.34429-.6365-.65821-1.686-.67579-2.3442-.03928l-7.5698 7.32023-2.17928-2.46975c-.60581-.68657-1.65349-.75203-2.34005-.14621-.68656.60576-.75202 1.65346-.14621 2.34006l2.94474 3.3372c.8339.9451 2.2881 1.0027 3.1942.1265z",fill:"currentColor"})});i();import{jsx as b8}from"react/jsx-runtime";var C8=e=>b8("svg",{...e,children:b8("path",{d:"m8.79289 18.7054-6.50001-6.5374c-.39051-.3927-.39051-1.0295 0-1.4223l1.41418-1.42238c.39051-.39279 1.02371-.39279 1.41422 0l4.37872 4.40388 9.3787-9.43263c.3905-.39276 1.0237-.39276 1.4142 0l1.4142 1.42235c.3905.39275.3905 1.02956 0 1.42235l-11.5 11.56613c-.39054.3928-1.0237.3928-1.41421 0z",fill:"currentColor"})});i();import{jsx as x8}from"react/jsx-runtime";var w8=e=>x8("svg",{...e,children:x8("path",{d:"M9.54401 12.95L17.994 4.49995C18.194 4.29995 18.4315 4.19995 18.7065 4.19995C18.9815 4.19995 19.219 4.29995 19.419 4.49995C19.619 4.69995 19.719 4.93745 19.719 5.21245C19.719 5.48745 19.619 5.72495 19.419 5.92495L10.244 15.1C10.044 15.3 9.81067 15.4 9.54401 15.4C9.27734 15.4 9.04401 15.3 8.84401 15.1L4.56901 10.825C4.36901 10.625 4.27317 10.3875 4.28151 10.1125C4.28984 9.83745 4.39401 9.59995 4.59401 9.39995C4.79401 9.19995 5.03151 9.09995 5.30651 9.09995C5.58151 9.09995 5.81901 9.19995 6.01901 9.39995L9.54401 12.95ZM5.99401 19.8C5.71067 19.8 5.47317 19.7041 5.28151 19.5125C5.08984 19.3208 4.99401 19.0833 4.99401 18.8C4.99401 18.5166 5.08984 18.2791 5.28151 18.0875C5.47317 17.8958 5.71067 17.8 5.99401 17.8H17.994C18.2773 17.8 18.5148 17.8958 18.7065 18.0875C18.8982 18.2791 18.994 18.5166 18.994 18.8C18.994 19.0833 18.8982 19.3208 18.7065 19.5125C18.5148 19.7041 18.2773 19.8 17.994 19.8H5.99401Z",fill:"currentColor"})});i();import{jsx as S8}from"react/jsx-runtime";var D8=e=>S8("svg",{...e,children:S8("path",{clipRule:"evenodd",d:`M13.8186 20.4731C4.60239 22.893 -2.98829 15.5818 3.31523 6.74072C9.6261 -2.10038 19.5705 4.8504 21.402 9.84467C23.2334 14.8389 19.0556 19.105 13.8186 20.4731Z
125
- M15.0413 8.87414C15.4318 8.48355 15.4318 7.85028 15.0413 7.45969C14.6508 7.0691 14.0178 7.0691 13.6273 7.45969L11.0001 10.0878L8.37284 7.4597C7.98238 7.06911 7.34932 7.06911 6.95886 7.4597C6.5684 7.85029 6.5684 8.48356 6.95886 8.87415L9.5861 11.5023L6.95886 14.1304C6.5684 14.5209 6.5684 15.1542 6.95886 15.5448C7.34932 15.9354 7.98238 15.9354 8.37284 15.5448L11.0001 12.9167L13.6273 15.5448C14.0178 15.9354 14.6508 15.9354 15.0413 15.5448C15.4318 15.1542 15.4318 14.521 15.0413 14.1304L12.4141 11.5023L15.0413 8.87414Z`,fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as E8}from"react/jsx-runtime";var T8=e=>E8("svg",{...e,children:E8("path",{d:"m17.7742 19.618c.5091.5093 1.3347.5093 1.8439 0 .5091-.5091.5091-1.3347 0-1.8438l-5.7742-5.7742 5.7742-5.77422c.5091-.50918.5091-1.3347 0-1.84387-.5092-.50917-1.3348-.50917-1.8439 0l-5.7742 5.77419-5.77426-5.77422c-.50917-.50917-1.33469-.50917-1.84387 0-.50916.50917-.50916 1.3347 0 1.84386l5.77423 5.77426-5.77421 5.7742c-.50918.5092-.50918 1.3347 0 1.8439.50916.5092 1.33469.5092 1.84385 0l5.77426-5.7742z",fill:"currentColor"})});i();import{jsx as P8}from"react/jsx-runtime";var A8=e=>P8("svg",{...e,children:P8("path",{clipRule:"evenodd",d:"M12 6.85714H3V4.92857C3 3.864 3.864 3 4.92857 3H8.74072C9.17014 3 9.57257 3.21471 9.81043 3.57214L12 6.85714ZM3 6.85718H19.0714C20.136 6.85718 21 7.72118 21 8.78575V13.1438C20.9149 13.1202 20.8253 13.1077 20.7328 13.1077H13.3066L14.7071 11.7071C15.0976 11.3166 15.0976 10.6834 14.7071 10.2929C14.3166 9.90237 13.6834 9.90237 13.2929 10.2929L10.2929 13.2929C10.1054 13.4804 10 13.7348 10 14C10 14.2652 10.1054 14.5196 10.2929 14.7071L13.2929 17.7071C13.6834 18.0976 14.3166 18.0976 14.7071 17.7071C15.0976 17.3166 15.0976 16.6834 14.7071 16.2929L13.5219 15.1077H20.7328C20.8253 15.1077 20.9149 15.0951 21 15.0716V17.1429C21 19.272 19.272 21 17.1429 21H6.85714C4.728 21 3 19.272 3 17.1429V6.85718Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as R8}from"react/jsx-runtime";var F8=e=>R8("svg",{...e,children:R8("path",{clipRule:"evenodd",d:"M2.0994 10.6931C2.04002 8.22692 1.96942 5.29509 2.11584 4.25593C2.13365 4.13216 2.14292 4.01528 2.1517 3.90469C2.21613 3.09248 2.25369 2.61894 5.44865 2.23843C9.48199 1.75807 17.1241 1.99825 20.9452 3.007C21.7385 3.21574 21.7461 3.55147 21.7624 4.26645C21.7648 4.37414 21.7675 4.49044 21.773 4.6162C21.8367 5.57691 22.0066 10.2604 21.9641 11.7255C21.9538 12.0123 21.9535 12.4616 21.9532 13.001V13.001C21.9522 14.6749 21.9507 17.2153 21.6457 18.4505C21.4546 19.2671 20.0748 19.2911 18.9073 19.171C18.4972 19.1289 17.0813 19.0734 15.3164 19.0193C14.4586 19.7428 13.2551 20.8268 12.6703 21.669C12.4667 21.9623 12.1951 22 11.9708 22C11.7566 22 11.6986 21.9343 11.3756 21.5684L11.3281 21.5147C10.6506 20.7484 9.58149 19.5267 9.00085 18.8624C7.74516 18.8383 6.69432 18.8234 6.10233 18.8234C3.78846 18.8234 2.85054 18.5199 2.51089 18.1837C2.02619 17.7038 2.08219 16.014 2.13647 14.3759L2.14543 14.1031C2.16606 13.462 2.13471 12.1599 2.0994 10.6931ZM4.33635 7.16713C4.33635 7.16713 3.83065 8.24157 4.01326 8.52809C4.14949 8.74182 8.25659 8.84926 10.9526 8.91979L10.9527 8.91979C11.8709 8.94381 12.6253 8.96354 13.0036 8.98174C14.1695 9.05337 17.7376 8.83848 19.2126 8.74298C19.24 8.74161 19.2672 8.74047 19.2943 8.73935C19.7381 8.72089 20.1152 8.7052 19.943 7.69241C19.9149 7.5014 19.8166 7.38202 19.634 7.38202C19.044 7.38202 9.89913 7.38202 7.90439 7.191L7.64546 7.16615C5.81529 6.99024 4.8063 6.89326 4.33635 7.16713ZM19.8977 11.4732C20.0908 11.7527 19.6254 12.8452 19.6254 12.8452C19.166 13.1363 18.1541 13.0769 16.3186 12.9692C16.2338 12.9642 16.1473 12.9591 16.059 12.9539C14.0586 12.8372 4.92114 13.177 4.33049 13.199L4.33037 13.199C4.14788 13.2058 4.04518 13.0901 4.01001 12.9003C3.80035 11.8946 4.17656 11.8649 4.61942 11.83C4.64638 11.8278 4.67359 11.8257 4.70093 11.8233C6.17134 11.673 9.72893 11.3257 10.8967 11.3539C11.2754 11.3581 12.0301 11.3498 12.9486 11.3396C15.6454 11.3099 19.7536 11.2646 19.8977 11.4732Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as B8}from"react/jsx-runtime";var O8=e=>B8("svg",{...e,children:B8("path",{d:"m14.8307 3.14077c.3645.16757.686.31534.9541.40981l.0186.00652c1.2355.43528 5.3747 1.89346 6.0303 4.36204.5612 2.11356-.3999 4.17296-1.3677 6.24656-.1682.3606-.3367.7217-.4975 1.0835-.0379.0854-.0756.1704-.1132.255-1.4657 3.3022-2.6018 5.8617-4.6582 6.3731-2.1092.5247-5.1606-.7312-7.71054-1.9147-.05102-.0244-.10251-.0491-.15441-.0738-1.99154-.951-4.60465-2.1987-5.20489-4.1987-.61588-2.0523 1.14517-6.02627 2.25161-7.92519.20562-.35289.40011-.72469.59807-1.10314.86724-1.65795 1.80113-3.44328 4.02973-4.32392 2.19233-.86633 4.35703.12865 5.82403.80292zm-2.2269 2.13686c-.5027-.24679-1.1143-.04716-1.366.44591l-.6538 1.281-1.30983-.64294c-.50277-.24679-1.11436-.04714-1.36603.44591-.25167.49306-.04812 1.09282.45465 1.33961l1.3098.64293-1.50554 2.94955-1.44199-.7078c-.50276-.2468-1.11435-.0471-1.36602.4459-.25167.4931-.04812 1.0928.45465 1.3396l1.44198.7078-.77998 1.5281c-.25167.4931-.04812 1.0929.45464 1.3396.50277.2468 1.11436.0472 1.36603-.4459l.77999-1.5281 2.98935 1.4674-.7622 1.4931c-.2517.4931-.0481 1.0929.4547 1.3397.5027.2467 1.1143.0471 1.366-.446l.7622-1.4931 1.4413.7075c.5028.2468 1.1144.0471 1.366-.446.2517-.4929.0482-1.0928-.4546-1.3396l-1.4414-.7074 1.5055-2.9496 1.5735.7724c.5028.2468 1.1144.0472 1.3661-.4459.2516-.4931.0481-1.0928-.4546-1.3396l-1.5736-.7724.6717-1.31597c.2518-.49306.0482-1.09282-.4546-1.33961-.5027-.24679-1.1143-.04715-1.366.4459l-.6718 1.31598-2.9892-1.46736.6538-1.281c.2517-.49306.0481-1.09283-.4547-1.33961zm1.8788 5.87347-1.5055 2.9496-2.98937-1.4674 1.50557-2.94954z",fill:"currentColor"})});i();import{jsx as M8}from"react/jsx-runtime";var I8=e=>M8("svg",{...e,children:M8("path",{d:"m2 7.13053c1.02794.75462 2.30848 1.82137 3.61006 2.90567 0 0 5.06424 3.9629 5.81564 3.9629 1.8549 0 3.7992-1.8146 5.1678-2.8746 1.3176-1.0205 2.7467-2.21282 4.0625-3.31055.1651-.13774.3285-.27408.4895-.40831-.0011.22999.0035.44719.0315.64131.3947 2.63975.4326 8.17435 0 11.09695-.3145.4144-.8493.9882-3.0513.8288s-11.82778-.2869-12.92877-.2231c-1.101.0637-2.39073-.0638-2.61093-1.1158-.40264-1.7682-.5511-8.74247-.586-11.50327zm16.4311-2.99936c1.2812.09529 1.9619.48357 2.322 1.00077-.4574.37757-.9338.77506-1.4207 1.18138-1.2989 1.0838-2.6732 2.23056-3.9636 3.22999-.9655.74789-1.8517 1.38729-2.5896 1.83539-.3691.2242-.6815.3884-.9342.4939-.2367.0989-.3632.1358-.5917.0084-.2306-.1286-.5322-.3283-.8998-.5958-.73248-.5331-1.63926-1.2708-2.61739-2.08202-.26991-.22385-.54604-.45404-.8253-.68686-.21657-.18055-.43504-.36268-.65398-.54466l-.65679-.54374c-1.20143-.98965-2.37365-1.92213-3.27827-2.50838.22838-.42619.59195-.78832 1.14091-.78831 1.57531.00002 3.21902-.03191 4.885-.06428 3.39902-.06604 6.89072-.13388 10.08342.06422z",fill:"currentColor"})});i();import{jsx as k8}from"react/jsx-runtime";var V8=e=>k8("svg",{...e,children:k8("path",{d:"m23.7071 1.70711c.3905-.39053.3905-1.023692 0-1.414217-.3905-.3905241-1.0237-.3905241-1.4142 0l-22.000007 22.000007c-.3905238.3905-.3905242 1.0237 0 1.4142.390524.3905 1.023687.3905 1.414217 0zm-5.0845.29289c.1737 0 .3443.01298.5109.03803l-3.3066 3.30661h-8.21351c-.93263 0-1.68869-.74873-1.68869-1.67232 0-.92361.75606-1.67232 1.68869-1.67232zm-14.9339 4.94911h10.5338l-12.2225 12.22249v-10.55017c0-.92359.75605-1.67232 1.6887-1.67232zm13.5095 2.68113-12.36977 12.36976h10.68107c.9327 0 1.6887-.7487 1.6887-1.6723zm4.7671-4.76707-3.3427 3.34265v8.10658c0 .9235.756 1.6724 1.6887 1.6724s1.6887-.7489 1.6887-1.6724v-10.96776c0-.1635-.0118-.32425-.0347-.48147z",fill:"currentColor"})});i();import{jsx as N8}from"react/jsx-runtime";var L8=e=>N8("svg",{...e,children:N8("path",{d:"m18.6226 16.3124c0 .9235.756 1.6724 1.6887 1.6724s1.6887-.7489 1.6887-1.6724v-10.96776c0-1.8472-1.5122-3.34464-3.3774-3.34464h-11.00921c-.93263 0-1.68869.74871-1.68869 1.67232 0 .92359.75606 1.67232 1.68869 1.67232h11.00921zm-3.1131 5.6876c.9327 0 1.6887-.7487 1.6887-1.6723v-11.70627c0-.92359-.756-1.67232-1.6887-1.67232h-11.8208c-.93265 0-1.6887.74873-1.6887 1.67232v11.70627c0 .9236.75605 1.6723 1.6887 1.6723z",fill:"currentColor"})});i();import{jsx as $8}from"react/jsx-runtime";var z8=e=>$8("svg",{...e,children:$8("path",{d:"m10.3966 3.60341c0-.88553.7179-1.60341 1.6034-1.60341s1.6034.71788 1.6034 1.60341v6.79319h6.7932c.8856 0 1.6034.7179 1.6034 1.6034 0 .8856-.7178 1.6034-1.6034 1.6034h-6.7932v6.7932c0 .8856-.7179 1.6034-1.6034 1.6034s-1.6034-.7178-1.6034-1.6034v-6.7932h-6.7932c-.88554 0-1.6034-.7178-1.6034-1.6034 0-.8855.71786-1.6034 1.6034-1.6034h6.7932z",fill:"currentColor"})});i();import{jsx as G8}from"react/jsx-runtime";var H8=e=>G8("svg",{...e,children:G8("path",{d:"m14.904 2.36857c.6808.18014 1.0637 1.89327 1.3326 3.11843 1.0626.02303 2.1802.06975 3.3652.15126.5509.0379.9669.51528.929 1.06626-.0379.55099-.5153.96692-1.0663.92902-3.2573-.22405-5.9961-.17824-8.5308-.1036-.3474.01023-.6918.02104-1.03385.03178-2.1416.06726-4.18778.13153-6.28166.02989-.55163-.02678-.97711-.49568-.95034-1.04731.02678-.55164.49568-.97712 1.04731-.95034 1.04212.05058 2.0709.0584 3.11959.04482.08961-.94493.83902-2.66045 1.49748-3.27021.72917-.67525 5.56337-.2668 6.57177 0zm-8.53971 18.93913c-.38411-1.7907-1.43613-8.7724-1.60784-10.1112-.01239-.0967-.02523-.1887-.03746-.2764-.1573-1.12763-.21516-1.5424 2.05023-1.84784 2.71293-.36579 9.32588-.45722 11.89608.31093.5336.15895.5387.4146.5496.95901.0017.082.0035.1706.0072.2664 0 2.8358-.6932 5.8331-1.3554 8.6963-.1564.6763-.3112 1.3453-.4546 2.0028-.1285.6219-1.0566.6401-1.842.5487-.7853-.0915-5.4362-.2926-6.99265-.2926-1.55635 0-1.98471 0-2.21316-.2561zm8.97891-9.2246c-.0298-.5515-.501-.9744-1.0525-.9446s-.9744.501-.9446 1.0525c.0309.5711-.027 1.5863-.123 2.7715-.0544.6721-.1166 1.3496-.1763 2.0013-.0459.5008-.0905.9868-.1291 1.4427-.0465.5504.3619 1.0342.9122 1.0807.5503.0466 1.0342-.3618 1.0807-.9122.0351-.4152.0789-.8939.1249-1.3962l.0002-.0017.0001-.0015c.0616-.6734.1271-1.3892.1808-2.0516.094-1.1611.166-2.312.1266-3.0409zm-5.56465 7.4093c.55025.0479 1.03505-.3594 1.08295-.9096.0632-.7272.0291-1.8798-.0269-3.0434-.0319-.6643-.0739-1.3823-.1135-2.0578-.0295-.504-.0576-.985-.0791-1.4014-.0285-.5516-.4987-.9756-1.05025-.9472-.55156.0285-.97562.4987-.94716 1.0502.02358.4571.05217.944.08167 1.4462.03835.653.07827 1.3328.11063 2.006.0571 1.1878.08163 2.2042.03206 2.7741-.04786.5502.3594 1.035.9096 1.0829z",fill:"currentColor"})});i();import{jsx as A0,jsxs as RN}from"react/jsx-runtime";var j8=e=>A0("svg",{...e,children:RN("g",{fill:"currentColor",children:[A0("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"}),A0("path",{d:"m6.63212 10c-.9389 0-1.63212.7462-1.63212 1.6667v8.8333c0 .9205.36086 1.5 1.29975 1.5h11.19995c.9389 0 1.5003-.5795 1.5003-1.5l-.1-8.8333c0-.9205-.4611-1.6667-1.4-1.6667z"})]})});i();import{jsx as W8}from"react/jsx-runtime";var _8=e=>W8("svg",{...e,children:W8("path",{clipRule:"evenodd",d:"M10 18.8889C9.54004 18.8889 9.16671 18.5155 9.16671 18.0555C9.16671 17.5955 9.54004 17.2222 10 17.2222C13.9823 17.2222 17.2223 13.9822 17.2223 9.99997C17.2223 6.01775 13.9823 2.77775 10 2.77775C9.54004 2.77775 9.16671 2.40442 9.16671 1.94442C9.16671 1.48442 9.54004 1.11108 10 1.11108C14.9012 1.11108 18.8889 5.09886 18.8889 9.99997C18.8889 14.9011 14.9012 18.8889 10 18.8889ZM13.61 13.3333C13.4478 13.3333 13.2812 13.2855 13.1367 13.1855L9.5256 10.6855C9.30115 10.53 9.16671 10.2733 9.16671 9.99997V5.27775C9.16671 4.81775 9.54004 4.44442 10 4.44442C10.46 4.44442 10.8334 4.81775 10.8334 5.27775V9.56331L14.0856 11.8144C14.4645 12.0766 14.5589 12.5955 14.2956 12.9733C14.1334 13.2066 13.8745 13.3322 13.61 13.3322V13.3333ZM5.13676 15.6966C5.13676 16.1568 4.76366 16.5299 4.30343 16.5299C3.84319 16.5299 3.47009 16.1568 3.47009 15.6966C3.47009 15.2363 3.84319 14.8632 4.30343 14.8632C4.76366 14.8632 5.13676 15.2363 5.13676 15.6966ZM1.94442 10.8333C2.40465 10.8333 2.77775 10.4602 2.77775 9.99994C2.77775 9.5397 2.40465 9.16661 1.94442 9.16661C1.48418 9.16661 1.11108 9.5397 1.11108 9.99994C1.11108 10.4602 1.48418 10.8333 1.94442 10.8333ZM5.13676 4.30332C5.13676 4.76356 4.76366 5.13666 4.30343 5.13666C3.84319 5.13666 3.47009 4.76356 3.47009 4.30332C3.47009 3.84309 3.84319 3.46999 4.30343 3.46999C4.76366 3.46999 5.13676 3.84309 5.13676 4.30332ZM6.91777 18.2755C7.378 18.2755 7.7511 17.9024 7.7511 17.4422C7.7511 16.9819 7.378 16.6088 6.91777 16.6088C6.45753 16.6088 6.08443 16.9819 6.08443 17.4422C6.08443 17.9024 6.45753 18.2755 6.91777 18.2755ZM3.39115 13.0822C3.39115 13.5425 3.01806 13.9155 2.55782 13.9155C2.09758 13.9155 1.72449 13.5425 1.72449 13.0822C1.72449 12.622 2.09758 12.2489 2.55782 12.2489C3.01806 12.2489 3.39115 12.622 3.39115 13.0822ZM2.55782 7.751C3.01806 7.751 3.39115 7.3779 3.39115 6.91766C3.39115 6.45743 3.01806 6.08433 2.55782 6.08433C2.09758 6.08433 1.72449 6.45743 1.72449 6.91766C1.72449 7.3779 2.09758 7.751 2.55782 7.751ZM7.7511 2.55772C7.7511 3.01796 7.378 3.39105 6.91777 3.39105C6.45753 3.39105 6.08443 3.01796 6.08443 2.55772C6.08443 2.09748 6.45753 1.72439 6.91777 1.72439C7.378 1.72439 7.7511 2.09748 7.7511 2.55772Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as U8}from"react/jsx-runtime";var K8=e=>U8("svg",{...e,children:U8("path",{d:"m8.60831 3.62342c0-.89747.72755-1.625 1.62499-1.625h3.25c.8974 0 1.6249.72753 1.6249 1.625l-.0733 5.37819h2.169c1.5012 0 2.1996 1.86149 1.0688 2.84899l-5.4188 4.7324c-.6123.5347-1.5256.5347-2.1378 0l-5.41894-4.7324c-1.13072-.9875-.43233-2.84899 1.06891-2.84899h2.16889zm-4.94834 15.12818c-.89747 0-1.625.7275-1.625 1.625s.72753 1.625 1.625 1.625h16.68003c.8975 0 1.625-.7275 1.625-1.625s-.7275-1.625-1.625-1.625z",fill:"currentColor"})});i();import{jsx as q8}from"react/jsx-runtime";var X8=e=>q8("svg",{...e,children:q8("path",{d:"m8.4 22c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656 1.035-.7344 1.695-.7344 1.225.2448 1.695.7344.705 1.0781.705 1.7656-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm7.2 0c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656 1.035-.7344 1.695-.7344 1.225.2448 1.695.7344.705 1.0781.705 1.7656-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm-7.2-7.5c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656c.47-.48961 1.035-.7344 1.695-.7344s1.225.24479 1.695.7344c.47.4896.705 1.0781.705 1.7656s-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm7.2 0c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656c.47-.48961 1.035-.7344 1.695-.7344s1.225.24479 1.695.7344c.47.4896.705 1.0781.705 1.7656s-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm-7.2-7.5c-.66 0-1.225-.24479-1.695-.73437-.47-.48959-.705-1.07813-.705-1.76563s.235-1.27604.705-1.76562c.47-.48959 1.035-.73438 1.695-.73438s1.225.24479 1.695.73438c.47.48958.705 1.07812.705 1.76562s-.235 1.27604-.705 1.76563c-.47.48958-1.035.73437-1.695.73437zm7.2 0c-.66 0-1.225-.24479-1.695-.73437-.47-.48959-.705-1.07813-.705-1.76563s.235-1.27604.705-1.76562c.47-.48959 1.035-.73438 1.695-.73438s1.225.24479 1.695.73438c.47.48958.705 1.07812.705 1.76562s-.235 1.27604-.705 1.76563c-.47.48958-1.035.73437-1.695.73437z",fill:"currentColor"})});i();import{jsx as Y8}from"react/jsx-runtime";var J8=e=>Y8("svg",{...e,children:Y8("path",{d:"m6.8654 12.0577c0 1.2745-1.03319 2.3077-2.3077 2.3077s-2.3077-1.0332-2.3077-2.3077 1.03319-2.3077 2.3077-2.3077 2.3077 1.0332 2.3077 2.3077zm7.6923 0c0 1.2745-1.0331 2.3077-2.3077 2.3077-1.2745 0-2.30766-1.0332-2.30766-2.3077s1.03316-2.3077 2.30766-2.3077c1.2746 0 2.3077 1.0332 2.3077 2.3077zm5.3846 2.3077c1.2746 0 2.3077-1.0332 2.3077-2.3077s-1.0331-2.3077-2.3077-2.3077c-1.2745 0-2.3077 1.0332-2.3077 2.3077s1.0332 2.3077 2.3077 2.3077z",fill:"currentColor"})});i();import{jsx as Z8}from"react/jsx-runtime";var Q8=e=>Z8("svg",{...e,children:Z8("path",{d:"m12.25 6.67311c-1.2745 0-2.30769-1.03319-2.30769-2.30771 0-1.27451 1.03319-2.3077 2.30769-2.3077s2.3077 1.03319 2.3077 2.3077c0 1.27452-1.0332 2.30771-2.3077 2.30771zm0 7.69229c-1.2745 0-2.30769-1.0331-2.30769-2.3077 0-1.2745 1.03319-2.30766 2.30769-2.30766s2.3077 1.03316 2.3077 2.30766c0 1.2746-1.0332 2.3077-2.3077 2.3077zm-2.30769 5.3846c0 1.2746 1.03319 2.3077 2.30769 2.3077s2.3077-1.0331 2.3077-2.3077c0-1.2745-1.0332-2.3077-2.3077-2.3077s-2.30769 1.0332-2.30769 2.3077z",fill:"currentColor"})});i();import{jsx as e9}from"react/jsx-runtime";var t9=e=>e9("svg",{...e,children:e9("path",{d:"m13.7617 2c.0584 0 .12.00417.18.01417.6751.1 1.1442.745 1.0451 1.43166l-2.5243 17.47497c-.09.6259-.6225 1.0792-1.2251 1.0792-.0591 0-.1191-.005-.18-.0142-.6733-.1-1.14336-.745-1.0442-1.4316l2.5226-17.4767c.09-.625.6242-1.0775 1.2251-1.0775zm-7.00456 5c.31886 0 .63772.12667.87943.38167.48343.50833.48343 1.33916 0 1.8475l-2.63657 2.77083 2.63743 2.7708c.48343.5084.48343 1.3409 0 1.8492-.24172.2533-.56057.38-.87943.38-.318 0-.63771-.1267-.87857-.38l-3.51686-3.6967c-.48343-.5083-.48343-1.3391 0-1.8466l3.51686-3.69503c.24086-.255.56057-.38167.87771-.38167zm10.48556 0c.3179 0 .6376.12667.8784.38167l3.5164 3.69503c.4833.5083.4833 1.3391 0 1.8466l-3.5164 3.6967c-.2408.2533-.5605.38-.8784.38-.3188 0-.6376-.1267-.8793-.38-.4834-.5083-.4834-1.3408 0-1.8475l2.6362-2.7725-2.6371-2.77083c-.4833-.50834-.4833-1.33917 0-1.8475.2417-.255.5605-.38167.8793-.38167z",fill:"currentColor"})});i();import{jsx as r9}from"react/jsx-runtime";var n9=e=>r9("svg",{...e,children:r9("path",{d:"M1.412 6.647c.78 0 1.412.633 1.412 1.412v12.706H16.94c.78 0 1.412.632 1.412 1.411 0 .78-.633 1.412-1.412 1.412H1.411C.633 23.588 0 22.956 0 22.176V8.06c0-.78.632-1.412 1.412-1.412zM22.588 1C23.368 1 24 1.632 24 2.412v14.117c0 .78-.632 1.412-1.412 1.412H7.058c-.778 0-1.41-.632-1.41-1.412V2.412c0-.78.632-1.412 1.41-1.412h15.53zm-1.412 2.824H8.471v11.294h12.705V3.824zm-8.755 2.531c.252-.142.77-.138 1.019.01l4.02 2.416c.24.145.383.406.383.69 0 .282-.162.544-.403.689l-4.052 2.415c-.127.077-.324.115-.466.115-.137 0-.378-.034-.501-.105-.253-.142-.617-.409-.617-.7v-4.83c0-.289.364-.557.617-.7z",fill:"currentColor"})});i();import{jsx as o9}from"react/jsx-runtime";var i9=e=>o9("svg",{...e,children:o9("path",{clipRule:"evenodd",d:"m13.0984 3.43938c-.5858-.58578-1.5356-.58578-2.1214 0l-3.76881 3.76885c-.58579.58579-.58579 1.53554 0 2.12132.58578.58579 1.53553.58579 2.12132 0l2.70819-2.70819 2.7082 2.70819c.5858.58579 1.5355.58579 2.1213 0 .5858-.58578.5858-1.53553 0-2.12132zm-5.9543 13.41652 3.8329 3.8329c.5858.5858 1.5356.5858 2.1214 0l3.8329-3.8329c.5858-.5858.5858-1.5356 0-2.1214s-1.5355-.5858-2.1213 0l-2.7723 2.7723-2.77228-2.7723c-.58579-.5858-1.53553-.5858-2.12132 0s-.58579 1.5356 0 2.1214z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as a9}from"react/jsx-runtime";var s9=e=>a9("svg",{...e,children:a9("path",{d:"m10.5016 2.97092c.6129-1.29459 2.3837-1.29459 2.9966.00001l1.7958 3.79325c.2434.51408.7138.8704 1.258.95284l4.0155.60828c1.3705.2076 1.9177 1.9633.926 2.971l-2.9056 2.9526c-.3938.4002-.5735.9767-.4805 1.5418l.6859 4.1691c.2341 1.4229-1.1985 2.508-2.4243 1.8362l-3.5916-1.9684c-.4867-.2668-1.0682-.2668-1.555 0l-3.59154 1.9684c-1.22576.6718-2.65839-.4132-2.42429-1.8361l.68593-4.1692c.09296-.5651-.08673-1.1416-.48052-1.5418l-2.90564-2.9526c-.99167-1.0077-.44446-2.7634.92599-2.971l4.0155-.60828c.5442-.08244 1.01465-.43876 1.25803-.95284z",fill:"currentColor"})});i();import{jsx as l9}from"react/jsx-runtime";var u9=e=>l9("svg",{...e,children:l9("path",{clipRule:"evenodd",d:"m11.985 5.812-1.0288 2.17325c-.586 1.23773-1.74668 2.14615-3.14789 2.35845l-2.51017.3802 1.88529 1.9158c.96838.984 1.38702 2.3703 1.16718 3.7065l-.42276 2.5696 2.07515-1.1373c1.2371-.678 2.727-.678 3.9641 0l2.0751 1.1373-.4227-2.5696c-.2199-1.3362.1988-2.7225 1.1672-3.7065l1.8853-1.9158-2.5102-.3802c-1.4012-.2123-2.5619-1.12072-3.1479-2.35845zm1.4983-2.69239c-.6128-1.2946-2.3837-1.2946-2.9965 0l-1.79583 3.79325c-.24338.51408-.71383.87041-1.25803.95284l-4.0155.60828c-1.37045.2076-1.91766 1.96332-.926 2.97102l2.90565 2.9526c.39379.4002.57348.9767.48052 1.5417l-.68593 4.1692c-.2341 1.4229 1.19852 2.508 2.42429 1.8362l3.59153-1.9684c.4868-.2668 1.0683-.2668 1.5551 0l3.5915 1.9684c1.2258.6718 2.6584-.4133 2.4243-1.8362l-.6859-4.1692c-.093-.565.0867-1.1415.4805-1.5417l2.9057-2.9526c.9916-1.0077.4444-2.76342-.926-2.97102l-4.0155-.60828c-.5442-.08243-1.0147-.43875-1.2581-.95284z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as c9}from"react/jsx-runtime";var f9=e=>c9("svg",{...e,children:c9("path",{clipRule:"evenodd",d:"M2 6.28571C2 5.49673 2.63959 4.85714 3.42857 4.85714H20.5714C21.3604 4.85714 22 5.49673 22 6.28571C22 7.07469 21.3604 7.71428 20.5714 7.71428H3.42857C2.63959 7.71428 2 7.07469 2 6.28571ZM4.85714 12C4.85714 11.211 5.49674 10.5714 6.28571 10.5714H17.7143C18.5033 10.5714 19.1429 11.211 19.1429 12C19.1429 12.789 18.5033 13.4286 17.7143 13.4286H6.28571C5.49674 13.4286 4.85714 12.789 4.85714 12ZM9.85714 16.2857C9.06816 16.2857 8.42857 16.9253 8.42857 17.7143C8.42857 18.5033 9.06817 19.1429 9.85714 19.1429H14.1429C14.9318 19.1429 15.5714 18.5033 15.5714 17.7143C15.5714 16.9253 14.9318 16.2857 14.1429 16.2857H9.85714Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as p9}from"react/jsx-runtime";var d9=e=>p9("svg",{...e,children:p9("path",{d:"m8.67556 21.6465 1.89584.3535.3926-1.9249c1.1027.034 2.1897-.0828 3.2074-.367l1.0729 1.7617 1.6555-.9092c.6409-.3283 1.255-.7575 1.7891-1.2373l1.3885-1.2374-1.4908-1.4954c.5245-.7911.9285-1.7273 1.1783-2.8192l2.0748.1226.1335-1.7929c.0268-.3282.0268-.6817.0268-1.01v-.2273-.0001c0-.2525 0-.4545-.0268-.6818l-.1335-1.81815-2.1093.12467c-.3096-1.10015-.8292-1.97313-1.4952-2.64471l1.0411-1.92441-1.7089-.83334c-.6676-.30303-1.3885-.55556-2.1629-.70708l-1.8692-.37878-.4549 2.02227c-1.0724.02298-2.1706.21979-3.21617.5585l-.97506-1.72218-1.68224.85858c-.61415.30303-1.2016.68182-1.76234 1.08586l-1.52203 1.16163 1.46422 1.72321c-.47141.78434-.85454 1.74705-1.11019 2.78393l-2.06298-.1637-.1602 1.8182c-.02671.4041-.05341.808-.05341 1.1869 0 .2524 0 .505.0267.7575l.10681 1.8182 2.10099-.1241c.27942 1.014.75807 1.9261 1.47723 2.6267l-.8813 2.0681 1.76235.6566c.0465.0165.09173.033.13625.0493.16001.0583.31079.1132.4779.1528.48065.1262.98799.2524 1.46863.3282zm.61417-12.55053c2.29637-1.71717 6.72897-1.81818 6.78237 2.34843.0534 4.1668-3.3378 5.2526-6.22162 4.4192-2.88385-.8333-2.13619-5.606-.56075-6.76763z",fill:"currentColor"})});i();import{jsx as m9}from"react/jsx-runtime";var h9=e=>m9("svg",{...e,children:m9("path",{d:"m4.217 3.06901c.04358-.54546-.36709-1.02266-.91726-1.06587-.55017-.0432-1.03149.36395-1.07507.9094-.40883 5.11717-.16781 10.44226.00568 14.27546.07054 1.5585.12991 2.8704.12992 3.8213 0 .5472.44739.9907.99929.9907.55188 0 .99928-.4435.99928-.9907 0-1.0818-.06403-2.4873-.13829-4.1175-.1733-3.8042-.40231-8.83162-.00355-13.82279zm9.9563 12.74949c-2.2507.1558-5.3327.2449-6.97506-.1558-.97326-.2449-1.05436-.7346-1.1963-5.3426l-.00276-.09c-.13968-4.53423-.17773-5.76919.12443-6.47688.34469-.8459 1.56125-1.06851 2.98058-1.29111 1.27741-.20035 11.58171-.88811 12.66971 0 .5698.46517-.7384 1.42159-2.4235 2.65368-1.5322 1.12022-3.376 2.46834-4.4034 3.88231 1.3949 1.3481 3.0566 2.4259 4.4165 3.308 1.8792 1.2189 3.1824 2.0642 2.4104 2.7326-.6999.6059-2.7027.6408-4.8097.6775-.9455.0165-1.9119.0333-2.7909.1023z",fill:"currentColor"})});i();import{jsx as mi,jsxs as FN}from"react/jsx-runtime";var g9=({...e})=>mi("svg",{...e,children:FN("g",{id:"path",children:[mi("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"}),mi("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"}),mi("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"}),mi("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"}),mi("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"}),mi("path",{d:"M16.531 8.4941C16.7122 9.22762 16.8596 9.98738 16.9572 10.7629C18.3381 10.8507 19.7575 10.9751 21.1969 11.1446L21.1977 11.0964C21.2835 4.96044 17.6372 1.77532 13.4486 1.10179C13.6348 1.42031 13.8387 1.78254 14.0519 2.18276C14.905 3.78384 15.9176 6.01212 16.531 8.4941Z",fill:"currentColor"})]})});i();import{jsx as v9}from"react/jsx-runtime";var y9=e=>v9("svg",{...e,children:v9("path",{clipRule:"evenodd",d:"m14.6005 10.65c-.6903 0-1.25-.5597-1.25-1.25002v-6.14997c0-.69036.5597-1.25001 1.25-1.25001h6.1497c.6903 0 1.25.55965 1.25 1.25001v6.14997c0 .69032-.5597 1.25002-1.25 1.25002zm-12.6005 10.1c0 .6904.55965 1.25 1.25001 1.25h6.14961c.69038 0 1.25008-.5596 1.25008-1.25v-6.1499c0-.6903-.5597-1.25-1.25008-1.25h-6.14961c-.69036 0-1.25001.5597-1.25001 1.25zm11.3505 0c0 .6904.5597 1.25 1.25 1.25h6.1497c.6903 0 1.25-.5596 1.25-1.25v-6.1499c0-.6903-.5597-1.25-1.25-1.25h-6.1497c-.6903 0-1.25.5597-1.25 1.25zm-11.3505-11.35002c0 .69032.55965 1.25002 1.25001 1.25002h6.14961c.69038 0 1.25008-.5597 1.25008-1.25002v-6.14997c0-.69036-.5597-1.25001-1.25008-1.25001h-6.14961c-.69036 0-1.25001.55965-1.25001 1.25001z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as b9}from"react/jsx-runtime";var C9=e=>b9("svg",{...e,children:b9("path",{clipRule:"evenodd",d:"m22.0882 7.28569c-.0338.55114-.5079.9675-1.0591.92995-3.7464-.25521-6.8936-.23457-9.7993-.18333-.3986.00703-.7934.01466-1.1851.02223-2.4532.04744-4.78505.09252-7.17257-.02796-.55162-.02783-.97929-.49765-.95522-1.04937s.49076-.97641 1.04239-.94857c2.31236.11668 4.56689.07325 7.02439.0259.39351-.00758.79231-.01527 1.19731-.02241 2.9241-.05155 6.1384-.0734 9.9705.18765.5511.03754.9705.51477.9367 1.06591zm0 5.78541c-.0338.5512-.5079.9675-1.0591.93-3.7464-.2552-6.8936-.2346-9.7993-.1834-.3988.0071-.7938.0147-1.1857.0223-2.45322.0474-4.78446.0925-7.17197-.028-.55162-.0278-.97929-.4976-.95522-1.0493.02407-.5518.49076-.9765 1.04239-.9486 2.31235.1167 4.56688.0732 7.02436.0259.39354-.0076.79234-.0153 1.19734-.0224 2.9241-.0516 6.1384-.0734 9.9705.1876.5511.0376.9705.5148.9367 1.0659zm-.9753 6.5159c.552-.008.99-.4623.9782-1.0147-.0118-.5523-.4689-.9936-1.0209-.9856-6.2773.0914-10.4894-.01-14.77115-.1131-1.10589-.0266-2.21649-.0533-3.36847-.0769-.5521-.0113-1.00577.4273-1.01329.9796-.00753.5523.43393 1.0092.98603 1.0205 1.14246.0234 2.2471.05 3.3496.0765 4.28668.1032 8.54098.2057 14.85998.1137z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as x9}from"react/jsx-runtime";var w9=e=>x9("svg",{...e,children:x9("path",{d:"m12.7865 2.94054c.7413.21443 1.3767.75049 1.8003 1.39377l6.9896 12.43669c.2118.4288.4236.9649.4236 1.5009 0 1.6082-1.2708 2.8948-2.8594 2.8948h-14.19093c-.52951 0-1.05902-.1072-1.48264-.4289-1.37673-.8577-1.90624-2.6803-1.05902-4.0741l7.09548-12.32939c.2118-.42885.63541-.8577 1.05901-1.07213.6354-.42885 1.4826-.53606 2.224-.32164zm-.5295 2.03704h-.2119c-.2118 0-.3177 0-.4236.10721l-.1588.16082-.1589.16082-7.09545 12.43667c-.2118.3216-.1059.8577.31771 1.0721.08825.0893.25005.1042.36282.1067l14.25172.0005c.4236 0 .8472-.3216.8472-.8577 0-.1072 0-.3216-.1059-.4288l-7.2013-12.32947c-.1059-.21442-.2118-.32164-.4236-.42885zm.6354 11.47172c.4236.4289.4236 1.1794 0 1.6082-.3177.2144-.6354.3216-.8473.3216-.1059 0-.3177 0-.4236-.1072s-.2118-.1072-.3177-.2144c-.3953-.4003-.4217-1.0807-.079-1.5183l.079-.0899c.4236-.4288 1.165-.4288 1.5886 0zm.4236-7.93371v.21443l-.4236 5.03898c0 .7505-.2118 1.3938-.8473 1.3938-.7413 0-.9531-.6433-.9531-1.2866l-.4236-5.03897c0-.75049.5295-1.39376 1.2708-1.50097.7414-.10722 1.3768.42885 1.3768 1.17933z",fill:"currentColor"})});i();import{jsx as S9}from"react/jsx-runtime";var D9=e=>S9("svg",{...e,children:S9("path",{d:"m3.81493 6.36059c3.08876-4.51878 10.40947-5.95666 14.79867-2.2448 6.2012 5.24418 4.951 18.09941-6.5912 17.93811-11.542153-.1614-11.296231-11.1745-8.20747-15.69331zm.3161 4.74441c-.21438 1.3577-.18185 2.8247.21769 4.1649.39061 1.3102 1.11527 2.4485 2.26201 3.2804.47657.3457 1.05138.6568 1.74342.9052l.22047-2.8886c-1.45328-.9896-2.00163-2.605-1.99252-4.1767zm15.52497-2.11314-2.0825 1.92114c.4477 2.0742-.1406 4.3636-1.9318 5.6316l.1812 2.9024c.678-.2623 1.2582-.5962 1.7512-.9755 1.2454-.9582 2.0658-2.3068 2.4595-3.8531.4672-1.8346.3121-3.8498-.3776-5.62654zm-5.2445.22952c-.6711-.57069-1.6504-.81143-2.7043-.63891-1.0636.17412-1.97562.73537-2.47215 1.45763-.52483.7633-.86487 2.2708-.50246 3.4986.16442.557.45675 1.0039.90194 1.3287.44947.328 1.20237.6385 2.46407.6595 1.1982.02 1.9722-.2946 2.4683-.6741.5044-.3858.8546-.9408 1.0289-1.6177.3699-1.4361-.1222-3.1105-1.1843-4.01372zm-3.3565-5.09683c-.9833.16372-1.92577.48149-2.77592.92687l2.16822 1.78626c.6128-.20104 1.2593-.30765 1.903-.30943l1.694-2.39577c-.96-.17519-1.9746-.17686-2.9893-.00793z",fill:"currentColor"})});i();import{jsx as E9}from"react/jsx-runtime";var T9=e=>E9("svg",{...e,viewBox:"0 0 24 24",children:E9("path",{clipRule:"evenodd",d:"m4.99451 4.11717c-.26525.00112-.51919.10753-.70601.29583-.18671.18841-.29096.44324-.28983.70849.00112.26525.10753.51919.29583.70601l.009.009.0045-.0045 13.932 13.8195-.0045.0045c.1909.1788.4442.2758.7056.2701.2615-.0056.5104-.1134.6934-.3003.1829-.1869.2855-.438.2856-.6995.0001-.2616-.1023-.5128-.2851-.6998l-1.4775-1.4655c2.0625-1.6245 3.9225-3.5325 3.84-4.6875.0675-.957-1.209-2.49-3.024-4.179-2.8755-2.6775-7.899-3.9105-11.553-1.7835l-1.7175-1.704c-.18841-.18671-.44325-.29096-.70849-.28983zm5.95399 5.49333-1.464-1.4505c1.5315-.7665 3.6135-.636 4.9635.519 1.533 1.311 1.983 3.738 1.113 5.508l-1.455-1.4445c.2235-.9285-.081-2.01-.825-2.64-.6315-.534-1.5405-.684-2.3325-.492zm-8.946 2.3145c-.06-.8415.915-2.088 2.25-3.33l3.1155 3.09c-.138 2.1285.897 4.5885 4.3065 4.6365.121.0017.2421-.0003.363-.006l2.4315 2.412c-3.3015.792-7.0905-.432-9.4425-2.622-1.8135-1.689-3.0915-3.2205-3.024-4.1805z",fill:"currentColor"})});i();import{jsx as P9}from"react/jsx-runtime";var A9=e=>P9("svg",{...e,children:P9("path",{d:"m20.2951 12.8675c.39.3916 1.0223.3916 1.4123 0 .3901-.3915.3901-1.0264 0-1.418-.5441-.5463-1.0963-1.185-1.7355-1.92403-1.5548-1.798-3.6235-4.19026-7.3397-7.29367-.3677-.30698-.9005-.30929-1.2707-.00552-2.80856 2.30436-4.3166 3.73206-9.11644 9.27432-.3619.4179-.31787 1.0512.09835 1.4145.41623.3634 1.04703.3192 1.40893-.0987.22242-.2568.43756-.5046.64588-.7437-.12635 2.67-.31165 6.9451-.23082 7.493.03562.2352.06232.4794.08762.7106.05894.539.11018 1.0073.24856 1.1258.2571.2118.73171.2329 2.49178.2541.43145.0052 1.20203.0212 2.13063.0436-.04005-.8221-.09121-2.9385-.11733-4.0194l-.00919-.3784c-.01478-.1881-.01071-.5289-.00583-.9389.00278-.2332.00583-.4887.00583-.7514.02316-1.5293.99606-2.8171 2.31633-3.0049 1.4361-.2147 2.71.9122 2.9649 2.5488.0232.1342.0463.2683.0694.3756.1622.8049.278 4.9904.139 6.0636-.013.0978-.0151.1825-.0169.2563v.0011c1.1948.0404 2.1271.0788 2.4112.1058.8899.0847 1.9183.0847 2.0567-.4233.2768-1.0162.4548-5.9783.4548-6.6981.0122-.5599.0019-1.8728-.017-2.9434.3011.335.6026.6584.9172.9743z",fill:"currentColor"})});i();import{jsx as R9}from"react/jsx-runtime";var F9=e=>R9("svg",{...e,children:R9("path",{d:"m15.7232 10.2988c-.6792.8959-.3199 2.4081.2552 2.9902.575.5821.2595.2692 2.8516 3.3035 2.5921 3.0344-.2717 3.8307-2.8485 3.8203l-7.07912-.0286c-2.54232-.0103-5.19674-1.1217-2.25149-4.8988.67569-.7818 1.33873-1.5406 1.9048-2.1733.77137-.8621.78975-2.2582.04095-3.1399-.89303-1.05163-1.88693-2.29888-2.76384-3.4247-1.43635-2.02599-.07259-3.1681 1.57519-3.16031l9.31711.04403c1.6246.00768 2.5595 1.84424 1.601 3.15606-.8543 1.16929-1.8098 2.46542-2.6029 3.51152zm.8976 8.1748c-1.0924.2669-6.5677.2362-8.11503-.0174-1.54734-.2535-.98222-1.1902-.42583-1.8964.55639-.7061 1.20002-1.166 1.79963-1.8301.45553-.5046.92993-.9558 1.41473-1.4203.0189-.0182.0205-.0197.0076-.0097.3977-.3063 1.1425-.4605 1.6217-.2591.6321.2657 1.1417.8642 1.6292 1.3291.7252.6914 1.6262 1.596 2.4986 2.5248.5045.537.6617 1.3122-.4306 1.5791z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as B9}from"react/jsx-runtime";var O9=e=>B9("svg",{...e,children:B9("path",{d:"M20.9995 14.0626C20.9631 16.5163 18.9626 18.4942 16.5002 18.4942H13.263V12.8027L14.6115 14.1068C15.0581 14.5387 15.7702 14.5268 16.2022 14.0802C16.6342 13.6336 16.6222 12.9213 16.1757 12.4894L13.0084 9.42632C12.9532 9.359 12.8904 9.2982 12.8212 9.24525C12.3745 8.81431 11.6631 8.82653 11.2314 9.27282L7.98828 12.6262C7.55634 13.0729 7.56825 13.7851 8.01486 14.217C8.46148 14.649 9.17371 14.6371 9.60565 14.1904L11.013 12.7352V18.4942H7.50003C5.03754 18.4942 3.03702 16.5163 3.00051 14.0626L3 14.0284V13.9943C3.03192 11.8494 4.56491 10.0682 6.59484 9.65361C6.72933 6.7847 9.09789 4.5 12.0001 4.5C14.9886 4.5 17.4114 6.92271 17.4114 9.91127C17.4114 9.98315 17.4099 10.0546 17.4072 10.1256C19.3761 10.1616 20.9661 11.8738 20.9995 13.9943L21 14.0281L20.9995 14.0626Z",fill:"currentColor"})});i();import{jsx as M9}from"react/jsx-runtime";var I9=e=>M9("svg",{...e,children:M9("path",{d:"m21.9985 12.0962c.156-11.337814-12.26789-12.565873-17.33611-6.47453-3.58731 4.31149-3.71983 11.58443.64734 14.61853 4.36716 3.034 16.53287 3.1937 16.68877-8.144zm-8.5688-1.5609v7.29h-2.4297v-7.29zm-.3492-2.77932c-.2329.23288-.5214.34931-.8656.34931s-.6328-.11643-.8656-.34931c-.2329-.23287-.3493-.52144-.3493-.86569s.1164-.63281.3493-.86568c.2328-.23288.5214-.34932.8656-.34932s.6327.11644.8656.34932c.2328.23287.3492.52143.3492.86568s-.1164.63282-.3492.86569z",fill:"currentColor"})});i();import{jsx as k9}from"react/jsx-runtime";var V9=e=>k9("svg",{...e,children:k9("path",{d:"m17.556 2c-.5523 0-1 .44771-1 1v2.43713h-2.4371c-.5523 0-1 .44772-1 1 0 .55229.4477 1 1 1h2.4371v2.43706c0 .55231.4477 1.00001 1 1.00001s1-.4477 1-1.00001v-2.43706h2.4371c.5523 0 1-.44771 1-1 0-.55228-.4477-1-1-1h-2.4371v-2.43713c0-.55229-.4477-1-1-1zm-11.16851 1.26404c1.23017-.04521 2.91132-.02893 3.79511.2616.5235.17684.5544.48675.507 3.38818l-.001.05678c-.0467 2.85493-.0594 3.6326-.2431 4.0706-.2107.5239-.87939.6353-1.65859.742-.70121.096-5.08453.1317-5.9701-.1168-.54681-.1498-.67672-.7304-.73486-3.74861-.06216-3.43916.04971-3.98138.6889-4.17828.6165-.18385 2.06436-.40204 3.61664-.47547zm.12642 18.83116c-1.22709.0981-2.90743.1543-3.80287-.098-.53064-.1541-.57486-.4625-.65224-3.3633l-.00151-.0567c-.07615-2.8543-.0969-3.6317.06784-4.0772.18793-.5325.85123-.6727 1.62507-.8128.69645-.1261 5.07421-.3503 5.96961-.1401.55279.1261.70749.7007.89549 3.7136.21 3.4333.1212 4.1716-.5089 4.3958-.54029.1923-1.46289.2656-2.56636.3533h-.00003-.00022c-.32776.026-.67148.0534-1.02588.0854zm5.85269-7.7969c-.2522.8955-.3521 2.4643-.254 3.6914.1402 1.5478.3059 2.9399.5161 3.5479.2242.6301 1.1312.7485 4.5645.5384 3.0129-.1879 3.5875-.3426 3.7136-.8953.2102-.8955-.014-5.2733-.1401-5.9698-.1402-.7737-.2803-1.4371-.8128-1.625-.4455-.1647-1.2229-.144-4.0773-.0678l-.0567.0015c-2.9008.0774-3.2991.2481-3.4533.7787z",fill:"currentColor"})});i();import{jsx as N9,jsxs as BN}from"react/jsx-runtime";var L9=e=>BN("svg",{...e,children:[N9("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"}),N9("path",{clipRule:"evenodd",d:"M18.3015 16.7C18.3015 16.3134 18.6149 16 19.0015 16C19.3881 16 19.7015 16.3134 19.7015 16.7V18.3012H21.3025C21.6891 18.3012 22.0025 18.6146 22.0025 19.0012C22.0025 19.3878 21.6891 19.7012 21.3025 19.7012H19.7015V21.3025C19.7015 21.6891 19.3881 22.0025 19.0015 22.0025C18.6149 22.0025 18.3015 21.6891 18.3015 21.3025V19.7012H16.7C16.3134 19.7012 16 19.3878 16 19.0012C16 18.6146 16.3134 18.3012 16.7 18.3012H18.3015V16.7Z",fill:"currentColor",fillRule:"evenodd"})]});i();import{jsx as $9}from"react/jsx-runtime";var z9=({...e})=>$9("svg",{...e,children:$9("path",{clipRule:"evenodd",d:"M10.9912 2.11398C13.1572 1.94882 16.3205 1.97579 18.5935 2.11398C19.3811 2.16116 20.1345 2.60607 19.4239 3.66777C18.2339 5.44738 16.9412 6.85287 15.3189 8.67629C16.6715 8.64259 18.1183 8.58866 19.5865 8.62911C20.8579 8.66618 21.5256 9.28972 20.494 10.3649C16.9027 14.1028 12.2839 17.9788 7.77226 21.0493C5.69192 22.4649 4.57469 22.384 5.34947 20.2337C6.00011 18.4305 7.42982 15.4139 8.80387 12.9399C7.47262 13.0074 5.53782 13.0208 4.18945 12.9939C3.1878 12.9737 2.81539 12.4276 3.08507 11.6962C4.02679 9.1212 6.26123 5.60579 8.21743 3.39476C9.04786 2.45777 9.48448 2.22857 10.9912 2.11398Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as G9}from"react/jsx-runtime";var H9=e=>G9("svg",{...e,children:G9("path",{d:"m19.1411 3.22522c-1.6336-1.63363-4.2823-1.63363-5.9159 0l-4.42241 4.42244c-1.63362 1.63364-1.63362 4.28224 0 5.91594l1.12908 1.1291c.54453.5445 1.42743.5445 1.97203 0 .5445-.5446.5445-1.4275 0-1.972l-1.1291-1.1291c-.5446-.5445-.5446-1.4274 0-1.97196l4.4224-4.42245c.5445-.54454 1.4275-.54454 1.972 0l1.6336 1.63364c.5446.54455.5446 1.42744 0 1.97198l-1.514 1.51399c-.5445.5445-.5445 1.4274 0 1.972.5445.5445 1.4274.5445 1.972 0l1.514-1.514c1.6337-1.63365 1.6337-4.28229 0-5.91593zm-14.28222 17.54948c1.63363 1.6337 4.28228 1.6337 5.91592 0l4.4224-4.4224c1.6337-1.6336 1.6337-4.2822 0-5.9159l-.891-.89097c-.5445-.54454-1.4274-.54454-1.9719 0-.5446.54457-.5446 1.42747 0 1.97197l.891.891c.5445.5445.5445 1.4274 0 1.972l-4.42248 4.4224c-.54455.5445-1.42742.5445-1.97198 0l-1.63365-1.6337c-.54454-.5445-.54454-1.4274 0-1.9719l1.51404-1.5141c.54454-.5445.54454-1.4274 0-1.9719-.54455-.5446-1.42744-.5446-1.97197 0l-1.51405 1.514c-1.63362 1.6337-1.63361 4.2823.00002 5.9159z",fill:"currentColor"})});i();import{jsx as j9}from"react/jsx-runtime";var W9=e=>j9("svg",{...e,children:j9("path",{clipRule:"evenodd",d:"m9.59493 13.25c.70527 0 1.19227.4311 1.25817 1.0932l.0077.1568v6.25c0 .6964-.4366 1.1773-1.10708 1.2424l-.15879.0076h-6.3291c-.70525 0-1.19221-.4311-1.25817-1.0932l-.00766-.1568v-6.25c0-.6964.43658-1.1773 1.10704-1.2424l.15879-.0076zm11.13927 5c.7595 0 1.2658.5 1.2658 1.25 0 .6964-.4366 1.1773-1.107 1.2424l-.1588.0076h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.6964.4366-1.1773 1.1071-1.2424l.1588-.0076zm0-3.75c.7595 0 1.2658.5 1.2658 1.25 0 .6964-.4366 1.1773-1.107 1.2424l-.1588.0076h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.6964.4366-1.1773 1.1071-1.2424l.1588-.0076zm-11.13927-12.5c.70527 0 1.19227.43112 1.25817 1.0932l.0077.1568v6.25c0 .6964-.4366 1.1773-1.10708 1.2424l-.15879.0076h-6.3291c-.70525 0-1.19221-.4311-1.25817-1.0932l-.00766-.1568v-6.25c0-.69643.43658-1.1773 1.10704-1.24244l.15879-.00756zm11.13927 5c.7595 0 1.2658.5 1.2658 1.25 0 .69642-.4366 1.17729-1.107 1.24243l-.1588.00757h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.69642.4366-1.17729 1.1071-1.24243l.1588-.00757zm0-3.75c.7595 0 1.2658.5 1.2658 1.25 0 .69642-.4366 1.1773-1.107 1.24244l-.1588.00756h-6.3291c-.6329 0-1.2659-.5-1.2659-1.25 0-.69643.4366-1.1773 1.1071-1.24244l.1588-.00756z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as _9}from"react/jsx-runtime";var U9=e=>_9("svg",{...e,children:_9("path",{d:"m22.9958 11.8791c-.0478 1.702-.5318 3.3895-1.4008 4.8848-.0956.168-.2708.2707-.4681.2768-.19.0048-.3505-.0762-.4498-.2225-.0464-.0856-.1002-.1603-.1479-.2267l-.0004-.0005c-.0171-.023-.0331-.0459-.0539-.0762-.1373-.1849-.1557-.4073-.0527-.5959.7145-1.2596 1.0981-2.6291 1.1398-4.0809v-.2671c0-2.35354-.929-4.59584-2.6166-6.31354-1.7648-1.79263-4.1375-2.81406-6.6878-2.87571h-.2574c-2.49402 0-4.85688.92593-6.65354 2.60857-1.80157 1.68626-2.83103 3.94308-2.89721 6.35578-.04167 1.6585.36644 3.2819 1.17653 4.6865.1103.2067.09804.4461-.04167.6516-.00792.0135-.0171.0274-.02656.0417-.00665.01-.01343.0203-.02001.0308-.01961.029-.03922.0592-.05393.0822-.11642.1813-.31374.2889-.53434.2841-.21815-.0037-.40566-.1112-.51596-.2938-.99269-1.6838-1.486591-3.5913-1.42899-5.5169.07966-2.82857 1.29786-5.4589 3.4291-7.40627 2.05893-1.87967 4.73186-2.90593 7.55798-2.90593.103 0 .2059 0 .3088.00484 2.9438.07615 5.6731 1.25109 7.6867 3.30604 2.0197 2.05253 3.0884 4.74088 3.0087 7.56822zm-3.391.5476c-.0307 1.1242-.277 2.1855-.7341 3.1598-.0834.1837-.2304.3203-.413.3844-.1778.0604-.3689.0459-.5405-.0399l-.0662-.0339h-.0172c-.3394-.2018-.4644-.6467-.2843-1.0419.3481-.764.5442-1.621.5662-2.4768.0441-1.6742-.5466-3.26741-1.6643-4.48829-1.1263-1.21725-2.6484-1.91352-4.2931-1.95945h-.1581c-1.5969 0-3.10922.63461-4.25878 1.78538-1.14712 1.14956-1.80402 2.68836-1.84569 4.33106-.02206.8462.1152 1.6718.40934 2.4539.14094.3663.0147.7712-.29291.9719l-.07966.035c-.17525.0907-.38482.1016-.57233.0327-.19242-.0726-.34071-.2164-.41547-.4086-.39462-.9949-.57968-2.0525-.54904-3.1465.05515-2.15044.9449-4.1377 2.5038-5.5955 1.46576-1.37077 3.35434-2.09484 5.31404-2.04165 1.9351.04956 3.7428.84374 5.1203 2.2411l-.0086.00846.1937.20912c1.4057 1.52187 2.1471 3.51757 2.0859 5.61967zm-5.3532-2.91072c2.1287 1.76482 1.7071 6.09952-2.2624 6.04882-3.95856-.0508-3.9892-3.989-2.93032-5.5085 1.05892-1.51944 3.68152-1.79505 5.19272-.54032zm-8.66839 13.38252c-.37011.0109-.69979-.2345-.73043-.5403v-.0012c-.17525-1.5811.05148-3.5394 1.60425-4.7639 3.25997-2.5602 10.76767-1.0407 12.06317 1.4179.5453 1.0106.761 2.2145.6483 3.3871-.0111.3263-.3812.6019-.8334.6019z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as K9}from"react/jsx-runtime";var q9=e=>K9("svg",{...e,children:K9("path",{d:"m12 3c3.3137 0 5.9999 2.68629 5.9999 6 .8285 0 1.5.67158 1.5 1.5v9c0 .8284-.6715 1.5-1.5 1.5h-11.9999c-.82844 0-1.5-.6716-1.5-1.5v-9c0-.82842.67156-1.5 1.5-1.5 0-3.31371 2.68629-6 6-6zm0 3c-1.6569 0-3 1.34314-3 3h5.9999c0-1.65686-1.343-3-2.9999-3zm0 12c1.6569 0 2.9999-1.3431 2.9999-3s-1.343-3-2.9999-3-3 1.3431-3 3 1.3431 3 3 3z",fill:"currentColor"})});i();import{jsx as X9}from"react/jsx-runtime";var Y9=e=>X9("svg",{...e,children:X9("path",{d:"m2.70507 7.67368c1.74622-5.02899 8.66503-6.766142 13.67123-4.38094 7.0728 3.36988 9.1132 15.77696-1.6595 18.53426-10.77276 2.7573-13.757949-9.1243-12.01173-14.15332zm7.80893-.83709c-.3854-.38176-1.00379-.37523-1.38114.0146l-2.96599 3.06372c-.02406.02443-.04687.05013-.06831.07698-.0482.06031-.08835.12501-.12044.19261-.05827.1225-.09227.259-.09573.4033-.00048.0193-.00031.0386.00025.0579.00388.1177.02812.2303.06928.3341.04648.1175.11615.2278.20904.3237l2.9719 3.0699c.37735.3898.99574.3963 1.38114.0145.3853-.3818.3918-1.0072.0143-1.3971l-1.34627-1.3907h1.58317c2.6969 0 4.8831 2.2116 4.8831 4.9397v.4083c0 .5457.4372.988.9766.988s.9766-.4423.9766-.988v-.4083c0-3.8194-3.0607-6.91554-6.8363-6.91554h-1.58306l1.34616-1.39058c.3775-.38982.371-1.01532-.0143-1.39709z",fill:"currentColor"})});i();import{jsx as J9}from"react/jsx-runtime";var Z9=e=>J9("svg",{...e,children:J9("path",{clipRule:"evenodd",d:"m12.0946 20.4146c-2.54091-.0423-5.06588-.0847-6.15454-.0847-3.43484 0-3.51232-.6046-3.74674-2.4432-.024-.1906-.0495-.381-.07648-.5712-.19072-1.292-.10927-9.0787-.02682-10.80108.00993-.23536.01092-.45497.0139-.66079.01689-1.62391.02384-2.35363 3.34445-2.35363 2.48524 0 7.86103.07189 11.47163.12113 1.8247.02462 3.1985.04333 3.5193.04333.9555.03348 1.4194 1.09311 1.474 2.08774.0547.99463.0269 5.566 0 7.0569-.0079.3349.011.8312.0338 1.4103.0586 1.5461.1391 3.6801-.1976 4.8845-.3 1.1935-1.7204 1.3925-2.9213 1.3925-.7103.0177-3.7329-.0325-6.7336-.0818zm-7.78952-14.74217.03775.9769c.00376.10022.04593.19523.11791.26568s.16836.11103.26947.11347l1.28136.03052c.05395.00123.10758-.00845.15762-.02844.05005-.01999.09547-.04988.13348-.08785.03801-.03796.06783-.0832.08763-.13296.0198-.04977.02917-.10301.02753-.15648l-.02781-.92766c-.00278-.09829-.04254-.19199-.11147-.2627-.06892-.0707-.16203-.11329-.26102-.1194l-1.29129-.07878c-.05542-.00335-.11094.00486-.16297.0241-.05203.01923-.09941.04907-.13909.08757-.03969.03851-.07079.08484-.0913.136-.02051.05115-.02998.10502-.0278.16003zm3.23121.9769-.03774-.97591c-.00219-.05501.00728-.10987.0278-.16102.02051-.05116.05161-.09749.09129-.136.03969-.0385.08707-.06834.1391-.08757.05203-.01924.10754-.02745.16297-.0241l1.29129.07878c.09899.00611.19209.0487.26102.1194.06892.07071.10869.16441.11147.2627l.02781.92766c.00164.05356-.00776.10688-.02762.15671s-.04976.09512-.08789.1331c-.03812.03798-.08365.06785-.13382.08778-.05016.01993-.1039.02951-.15792.02814l-1.28037-.03052c-.10112-.00244-.19749-.04302-.26947-.11347s-.11415-.16546-.11792-.26568zm11.65041 11.52887-.0397-.9769c-.004-.1001-.0463-.1948-.1182-.2651-.072-.0702-.1682-.1107-.2692-.1131l-1.2794-.0315c-.054-.0014-.1077.0082-.1579.0282-.0502.0199-.0957.0498-.1338.0877-.0381.038-.068.0833-.0879.1331-.0199.0499-.0293.1032-.0276.1567l.0278.9287c.0028.0983.0425.192.1115.2627.0689.0707.162.1133.261.1194l1.2913.0788c.0555.0035.1111-.0046.1633-.0238.0521-.0192.0996-.049.1394-.0875s.071-.0849.0916-.1362c.0205-.0512.03-.1061.0278-.1612zm-8.4579-11.52887-.0388-.97591c-.0022-.0551.0073-.11004.0279-.16127s.0518-.09761.0916-.13613c.0397-.03852.0873-.06834.1394-.08751s.1078-.02727.1633-.02378l1.2913.07878c.099.00611.1921.0487.261.1194.0689.07071.1087.16441.1115.2627l.0278.92766c.0016.05356-.0078.10688-.0276.15671-.0199.04983-.0498.09512-.0879.1331-.0382.03798-.0837.06785-.1339.08778-.0501.01993-.1039.02951-.1579.02814l-1.2803-.03052c-.1012-.00244-.1975-.04302-.2695-.11347s-.1142-.16546-.1179-.26568zm3.1547 10.56767.0397.9769c.0038.1003.046.1953.1179.2657.072.0705.1684.111.2695.1135l1.2794.0305c.054.0014.1077-.0082.1579-.0281.0502-.02.0957-.0498.1338-.0878.0382-.038.0681-.0833.0879-.1331.0199-.0498.0293-.1032.0276-.1567l-.0278-.9277c-.0028-.0983-.0425-.192-.1114-.2627-.069-.0707-.1621-.1133-.2611-.1194l-1.2913-.0788c-.0554-.0034-.1109.0046-.163.0237-.0521.0192-.0995.0489-.1393.0873s-.071.0847-.0916.1358c-.0207.0511-.0303.1059-.0282.1609zm2.07-11.56033.0388.97691c.0022.0551-.0073.11004-.0279.16126-.0206.05123-.0518.09761-.0916.13613-.0397.03853-.0873.06834-.1394.08751s-.1078.02727-.1633.02378l-1.2913-.07878c-.099-.00611-.1921-.0487-.261-.1194s-.1087-.16441-.1115-.2627l-.0268-.92865c-.0015-.05347.008-.10668.0279-.1564.02-.04971.0499-.09488.088-.13275.0381-.03788.0836-.06766.1337-.08753s.1037-.02942.1577-.02806l1.2793.03053c.101.00242.1972.04286.2692.11311.0719.07024.1142.16501.1182.26504zm-3.1547 12.52153-.0397-.9769c-.004-.1001-.0463-.1948-.1183-.2651-.0719-.0702-.1682-.1107-.2691-.1131l-1.2794-.0315c-.054-.0014-.1077.0082-.1579.0282-.0502.0199-.0957.0498-.1338.0877-.0382.038-.0681.0833-.0879.1331-.0199.0499-.0293.1032-.0276.1567l.0278.9287c.0028.0983.0425.192.1114.2627.069.0707.1621.1133.2611.1194l1.2913.0788c.0555.0035.1111-.0046.1632-.0238.0522-.0192.0997-.049.1395-.0875s.071-.0849.0915-.1362c.0206-.0512.0301-.1061.0279-.1612zm4.3169-11.52887-.0387-.97591c-.0022-.0551.0073-.11004.0278-.16127.0206-.05123.0518-.09761.0916-.13613s.0873-.06834.1394-.08751c.0522-.01917.1078-.02727.1633-.02378l1.2913.07878c.099.00611.1921.0487.261.1194.0689.07071.1087.16441.1115.2627l.0268.92766c.0017.05356-.0077.10688-.0276.15671s-.0498.09512-.0879.1331-.0836.06785-.1338.08778-.1039.02951-.1579.02814l-1.2794-.03052c-.1011-.00244-.1975-.04302-.2695-.11347s-.1141-.16546-.1179-.26568zm-9.61715 10.56767.03774.9769c.00377.1003.04594.1953.11792.2657.07198.0705.16835.111.26947.1135l1.28037.0305c.05402.0014.10776-.0082.15792-.0281.05017-.02.0957-.0498.13382-.0878.03813-.038.06803-.0833.08789-.1331s.02926-.1032.02762-.1567l-.02781-.9277c-.00278-.0983-.04255-.192-.11147-.2627-.06893-.0707-.16203-.1133-.26102-.1194l-1.29129-.0788c-.05534-.0033-.11077.0049-.16273.0241-.05196.0191-.09929.0489-.13896.0873-.03966.0384-.07079.0846-.09136.1356-.02058.0511-.03016.1058-.02811.1607zm-1.12442-.0157.03874.9769c.0022.0551-.0073.11-.02787.1612-.02057.0513-.05177.0977-.09156.1362s-.0873.0683-.13945.0875c-.05214.0192-.10777.0273-.16328.0238l-1.29129-.0788c-.09899-.0061-.19209-.0487-.26102-.1194-.06892-.0707-.10868-.1644-.11147-.2627l-.02682-.9287c-.00163-.0535.00776-.1068.02762-.1567.01987-.0498.04977-.0951.08789-.1331.03812-.0379.08366-.0678.13382-.0877.05017-.02.1039-.0296.15793-.0282l1.27937.0315c.10095.0024.19719.0429.26914.1131.07196.0703.11424.165.11825.2651zm3.80237-2.9248c.7986-.4491 3.1935-1.8288 3.8699-2.7082.0695-.0866.0348-.2068-.0517-.259l-3.7834-1.9656c-.1212-.06893-.26029.01773-.26029.13787-.03477.91383-.03476 3.72543-.03476 4.63833 0 .1379.13905.2245.26025.1556z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as Q9}from"react/jsx-runtime";var ey=e=>Q9("svg",{...e,children:Q9("path",{clipRule:"evenodd",d:"m17.5195 3.01289c-4.627 1.42268-11.69556 3.59505-15.22532 6.18514-.42573.28958-.38276 3.56277.08595 3.85137l3.70565.9222c0 1.5508.65158 6.8268 4.88692 7.9398 2.7752.5721 4.9538-1.682 6.3529-5.1187 1.3822.3522 2.4765.6347 3.0381.787.9834.4561 1.0593.1413 1.1653-.2986l.028-.113c.7675-5.272.3407-12.86975.1699-14.64054-.042-.41268-.6806-.65887-1.2353-.45404-.7635.26032-1.7888.57512-2.9721.93937zm-1.9957 13.32381c-2.4993-.6302-4.9994-1.2571-7.50025-1.8808.13291 2.0079.52966 4.711 3.14105 5.2478 2.3435.7133 3.1889-.9989 4.1973-3.0391z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as ty}from"react/jsx-runtime";var ry=e=>ty("svg",{...e,children:ty("path",{d:"m20.5717 17.2858c.79 0 1.4283.6384 1.4283 1.4284s-.6383 1.4283-1.4283 1.4283h-11.43003c-.78834 0-1.42834-.6383-1.42834-1.4283s.64-1.4284 1.42834-1.4284zm-17.14337 0c.79 0 1.42917.6384 1.42917 1.4284s-.63917 1.4283-1.42917 1.4283c-.78833 0-1.42833-.6383-1.42833-1.4283s.64-1.4284 1.42833-1.4284zm17.14337-7.1433c.79 0 1.4283.6392 1.4283 1.4292s-.6383 1.4283-1.4283 1.4283h-11.43003c-.78834 0-1.42834-.6383-1.42834-1.4283s.64-1.4292 1.42834-1.4292zm-17.14337 0c.79 0 1.42917.6392 1.42917 1.4292s-.63917 1.4283-1.42917 1.4283c-.78833 0-1.42833-.6383-1.42833-1.4283s.64-1.4292 1.42833-1.4292zm17.14337-7.1425c.79 0 1.4283.63833 1.4283 1.42833s-.6383 1.42917-1.4283 1.42917h-11.43003c-.78834 0-1.42834-.63917-1.42834-1.42917.00084-.79.64084-1.42833 1.42917-1.42833zm-17.14337 0c.79 0 1.42917.63833 1.42917 1.42833s-.63917 1.43-1.42917 1.43c-.78833-.00083-1.42833-.64-1.42833-1.43s.64-1.42833 1.42833-1.42833z",fill:"currentColor"})});i();import{jsx as ny}from"react/jsx-runtime";var oy=e=>ny("svg",{...e,children:ny("path",{d:"m12.3369 3.55763c.0451-.89627.7944-1.58554 1.6736-1.53953l6.1462.32164c.8161.04271 1.4683.7076 1.5101 1.53953l.3155 6.26593c.0452.8963-.6309 1.6602-1.5101 1.7062-.8791.046-1.6284-.6433-1.6735-1.5396l-.1317-2.61568-7.4804 7.62608c-.6225.6346-1.6317.6346-2.25417 0s-.62247-1.6635 0-2.2981l7.48037-7.62606-2.5658-.13428c-.8791-.046-1.5552-.80987-1.5101-1.70613zm8.9774 15.19197c0 1.7778-1.4412 3.219-3.2191 3.219h-12.87616c-1.77784 0-3.21905-1.4412-3.21905-3.219v-13.18963c0-1.77783 1.44122-3.21905 3.21905-3.21905h3.21904c.88892 0 1.60952.72061 1.60952 1.60953s-.7206 1.60952-1.60952 1.60952h-3.21904v13.18963h12.87616v-3.3131c0-.8889.7206-1.6095 1.6095-1.6095.889 0 1.6096.7206 1.6096 1.6095z",fill:"currentColor"})});i();import{jsx as iy}from"react/jsx-runtime";var ay=e=>iy("svg",{...e,children:iy("path",{d:"m18.6532 18.6542c-.325.325-.8316.4883-1.5066.4883-.7042 0-1.5059-.1883-2.3484-.505.6984-.5475 1.3859-1.1392 2.0417-1.7958.6533-.6517 1.2375-1.3359 1.785-2.0317.0442.1158.11.2375.1483.3517.5284 1.5833.4834 2.89-.12 3.4925zm-11.79996.4883c-.675 0-1.18166-.1642-1.50583-.4883-.60417-.6025-.64833-1.9084-.12-3.4925.0375-.1142.10417-.2359.1475-.3517.54667.6958 1.1325 1.38 1.78333 2.0317.6575.6566 1.34417 1.2483 2.0425 1.7958-.84166.3167-1.64333.505-2.3475.505zm-1.625-10.305c-.52916-1.58333-.485-2.88917.11917-3.49167.325-.325.83-.48833 1.50583-.48833.70417 0 1.505.18833 2.3475.505-.69833.5475-1.385 1.13917-2.04166 1.795-.65167.6525-1.2375 1.33667-1.78417 2.0325-.04333-.11583-.11-.23833-.1475-.3525zm11.92166 3.1625c-.6558.9717-1.4392 1.9333-2.3283 2.8217-.9.9008-1.8592 1.6808-2.82 2.3333-.9634-.6525-1.9225-1.4325-2.82252-2.3333-.88917-.8892-1.67167-1.85-2.32917-2.8217.6575-.9717 1.44-1.9333 2.32833-2.8225.89996-.9 1.85916-1.68167 2.82246-2.33167.9609.65 1.9209 1.43167 2.82 2.33167.8892.8892 1.6725 1.8508 2.3292 2.8225zm-.0025-7.1425c.675 0 1.1825.16417 1.5067.48833.6025.6025.6483 1.90834.12 3.49167-.0384.11417-.1042.23667-.1484.3525-.5475-.69583-1.1316-1.38-1.7841-2.03333-.6567-.655-1.3442-1.24667-2.0417-1.79417.8417-.31667 1.6433-.505 2.3475-.505zm3.3242 7.1425c.405-.7575.7641-1.5142 1.0108-2.25833.9042-2.71167.6167-4.99-.81-6.41667-.8642-.86667-2.085-1.325-3.5258-1.325-1.5559 0-3.3417.54833-5.1467 1.51583-1.805-.96666-3.59166-1.51583-5.14666-1.51583-1.44 0-2.65916.45833-3.525 1.325-1.42666 1.4275-1.715 3.70583-.81166 6.41667.2475.74413.60583 1.50083 1.01333 2.25833-.4075.7575-.76667 1.5142-1.01333 2.2575-.90334 2.7125-.615 4.9917.81166 6.4167.86584.8675 2.085 1.3258 3.525 1.3258 1.555 0 3.34166-.5483 5.14746-1.5158 1.8034.9666 3.59 1.5158 5.1459 1.5158 1.4408 0 2.6608-.4583 3.5258-1.325 1.4267-1.4267 1.7142-3.705.81-6.4175-.2467-.7433-.6058-1.5-1.0108-2.2575z",fill:"currentColor"})});i();import{jsx as sy}from"react/jsx-runtime";var ly=e=>sy("svg",{...e,children:sy("path",{clipRule:"evenodd",d:"m22.0003 11.4141c-.1004-11.304369-11.1037-11.060891-16.78934-6.40002-3.84615 3.16522-5.317726 14.50432 1.80602 16.73042 2.31016.7268 2.59201-.1753 3.02362-1.5568.312-.9985.7022-2.2475 1.9931-3.3128.8231-.6896 2.2559-.6232 3.7827-.5525 2.9397.1361 6.2279.2884 6.1839-4.9083zm-16.32113 5.6348c.23411.3826.63545.5913 1.03679.5913.23411 0 .43478-.0348.602-.1739.56856-.3827.73579-1.1479.40134-1.7392l-.03344-.0348c-.33445-.5913-1.07024-.7652-1.6388-.3826s-.70234 1.1479-.36789 1.7392zm12.14043-5.0087c.0669.6608.5686 1.1478 1.204 1.1478h.0669c.6689-.0696 1.1706-.6609 1.1037-1.3565v-.0696-.0348c-.0669-.6608-.6689-1.1478-1.3378-1.0782-.6354.0695-1.1037.6956-1.0368 1.3913zm-12.17388-.4522c.13378.0348.26756.0696.40134.0696.50167 0 1.00334-.3479 1.13712-.8348.23412-.6609-.10033-1.35655-.73578-1.60002-.63545-.24348-1.30435.10434-1.53846.76521v.03481c-.23412.6261.10033 1.3217.73578 1.5652zm9.63208-3.72175c.2007.13913.4348.2087.6689.2087.4014 0 .7693-.2087 1.0034-.5913.3344-.59131.2006-1.35653-.3679-1.73913l-.0335-.03479c-.5685-.34782-1.2709-.17391-1.6388.41739-.3679.59131-.2006 1.35653.3679 1.73913zm-6.22071-1.32173c.16723.52173.63545.83478 1.13711.83478.1108 0 .2217-.02387.3515-.05184.0269-.00579.0546-.01176.0833-.01773.6355-.24348.9699-.93913.7358-1.6s-.903-1.00869-1.53848-.76521h-.03344c-.63545.24347-.9699.93913-.73579 1.6z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as uy}from"react/jsx-runtime";var cy=e=>uy("svg",{...e,children:uy("path",{d:"m13.4144 6 4.5856 4.5857-9.95735 9.9576-4.0884.4514c-.54731.0605-1.00974-.4023-.94885-.9496l.45491-4.0914zm7.1077-.47944-2.0427-2.04268c-.6371-.63717-1.6705-.63717-2.3077 0l-1.9217 1.9217 4.3504 4.35042 1.9217-1.9217c.6372-.63751.6372-1.67057 0-2.30774z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as fy}from"react/jsx-runtime";var py=e=>fy("svg",{...e,children:fy("path",{d:"M19.5427 9.71299C21.3396 10.7505 21.3396 13.3441 19.5427 14.3816L6.89773 21.6822C5.10078 22.7196 2.8546 21.4228 2.8546 19.3479L2.8546 4.74675C2.8546 2.67181 5.10078 1.37497 6.89774 2.41244L19.5427 9.71299Z",fill:"currentColor"})});i();import{jsx as dy}from"react/jsx-runtime";var my=e=>dy("svg",{...e,children:dy("path",{d:"m5.03666 10.8522c.51251.0183.92109.4193.96101.9183l.00255.1168.00044.1828c.01531.6885.18571 1.6057.62783 2.4885.78316 1.5638 2.20547 2.5134 4.58571 2.5969 2.7301.0958 4.4504-.6666 5.4599-1.9712.3259-.4211.5542-.8737.7008-1.3244.0282-.0868.0512-.1658.0695-.2354l.0421-.1798.0185-.1156c.0553-.5495.5457-.9501 1.0952-.8947.5495.0553.9501.5456.8947 1.0951-.0767.7623-.4212 1.8219-1.2391 2.8788-1.1367 1.469-2.8727 2.4274-5.2555 2.6851l-.0013.924 1.001.0008c.5522 0 1 .4477 1 1 0 .5129-.3861.9355-.8834.9933l-.1166.0067h-4.00004c-.55229 0-1-.4477-1-1 0-.5128.38604-.9355.88338-.9932l.11662-.0068.99904-.0008v-.871l-.1745-.008c-2.94807-.1902-4.91745-1.554-5.98428-3.6842-.37658-.7519-.61294-1.5476-.73949-2.3471-.06944-.4386-.09766-.8183-.10067-1.1147l.00144-.1767c.01977-.5519.48323-.9833 1.03516-.9635zm5.14174-8.74976c.3849-.068 1.1957-.02029 2.0375.03843l.5056.03571c.3354.02358.6631.04556.9579.05926 1.319.079 2.426 1.7858 2.3807 4.4442-.0308 1.80785-.0421 2.74853-.0441 3.80146v.6471c.0004.1822.0012.3292.0023.4367.023 1.5111-.5191 3.3964-1.467 3.7293-.4376.1976-1.7443.3194-2.7857.2553-.7982-.047-2.15774-.2241-2.94204-.6081s-1.1882-1.903-1.1703-2.7445c.0117-.942.1799-4.32316.2155-6.00616.0797-2.6608 1.1813-3.878 2.30964-4.0887z",fill:"currentColor"})});i();import{jsx as hy}from"react/jsx-runtime";var gy=e=>hy("svg",{...e,children:hy("path",{d:"m10.7498 2.00041c4.8325 0 8.75 3.9175 8.75 8.74999 0 1.9642-.655 3.7733-1.7492 5.2333l3.8834 3.885c.4883.4859.4883 1.2809 0 1.7667-.2417.2433-.5617.3642-.8834.3642-.32 0-.64-.1209-.8833-.3634l-3.8833-3.8833c-1.4617 1.0917-3.2692 1.7467-5.2342 1.7467-4.83335.0008-8.75001-3.9159-8.75001-8.7492 0-4.83165 3.91666-8.74999 8.75001-8.74999zm0 2.5c-3.44668 0-6.25001 2.8025-6.25001 6.24999 0 3.4475 2.80333 6.25 6.25001 6.25 3.4458 0 6.25-2.8033 6.25-6.25 0-3.44665-2.8042-6.24999-6.25-6.24999zm-1.75001 3.49167c.22333-.12667.68166-.1225.90333.00833l3.55748 2.13919c.215.1275.34.36.34.61 0 .2508-.1425.4833-.3566.6108l-3.58755 2.14c-.1125.0667-.28583.1008-.41333.1008-.12 0-.33333-.03-.44417-.0916-.2225-.1267-.545-.3642-.545-.6209v-4.27662c0-.25834.3225-.4925.545-.62z",fill:"currentColor"})});i();import{jsx as vy}from"react/jsx-runtime";var yy=e=>vy("svg",{...e,children:vy("path",{d:"m16.3564 2c1.5175.00328 2.7654.05959 3.3551.19802 1.2681.28936 1.6232 1.60755 2.0544 8.51998.4819 7.877.2781 9.5709-1.1676 10.0853-1.2394.441-3.3562.6093-5.8879.8106l-.5708.0456c-.5773.0463-1.1734.0953-1.7834.1505-2.81531.2251-6.67048.3537-8.72489-.225-1.21742-.3537-1.31887-1.061-1.49641-7.7162l-.00348-.1303c-.07337-2.7504-.12433-4.66021-.13075-6.02614l.00004-.55296c.00836-1.50623.08983-2.24363.28637-2.77512.43117-1.22173 1.95295-1.54324 3.72836-1.86475 1.11233-.20143 6.31756-.51193 10.07126-.51953zm3.1428 5.19947-15.49271 1.15568c.01637 1.28708.06245 3.01455.12591 5.39325l.00179.067c.09105 3.4133.16207 5.0486.32392 5.9018l.00263.0138c.76761.1673 1.90292.2576 3.26301.268 1.49142.0114 3.09275-.0725 4.46275-.1818.87-.0787 1.6602-.1412 2.401-.1999.8576-.0679 1.6491-.1306 2.4216-.207 1.3162-.1301 2.2225-.2729 2.7833-.4464.0351-.1138.0851-.3222.126-.6736.1469-1.2621.0949-3.4668-.1487-7.4489-.0929-1.4893-.1808-2.68305-.2705-3.64193zm-11.14647 2.93623c2.58087-1.8752 6.39687-1.02448 8.52877.9606 1.2696 1.1821 2.1643 2.255 2.1166 2.9255l-.0003.1105c-.0672.9454-1.7348 2.4982-3.3505 3.6722-2.5808 1.8753-6.39694 1.0245-8.52883-.9606-1.26956-1.1821-2.16431-2.255-2.11656-2.9254l.00028-.1104c.06722-.9455 1.73482-2.4983 3.35054-3.6724zm.90454 1.9887c-.90992 1.3477-.88542 4.8225 2.51483 4.8706 3.4002.0482 3.7685-3.7858 1.9417-5.3499-1.293-1.107-3.5466-.8684-4.45653.4793zm3.63903.5174c1.0567.8936.8436 3.0841-1.1232 3.0566-1.96671-.0275-1.98091-2.0128-1.4546-2.7827.5263-.77 1.8299-.9064 2.5778-.2739z",fill:"currentColor"})});i();import{jsx as by}from"react/jsx-runtime";var Cy=e=>by("svg",{...e,children:by("path",{d:"m2.25954 20.5314c.23026 1.1309 1.57918 1.268 2.7308 1.1994 1.15151-.0685 11.21906.0686 13.52216.2399 2.303.1713 2.8623-.4456 3.1913-.891.2304-.3084.2962-4.0903.2962-5.8381 0-1.7135-.2304-4.691-.5594-6.95284-.1974-1.40511.2632-2.67311-3.3229-2.94722-1.6121-.10278-3.0812-.10278-6.0423-.03433-.296-.78822-1.2946-2.8142-1.9526-3.15687-.98704-.41132-6.54729.13701-7.23818.27412-.75669.17133-.75669.58265-.75669 1.50788v2.98165c0 1.30222-.36187 11.38971.13161 13.61741z",fill:"currentColor"})});i();import{jsx as xy}from"react/jsx-runtime";var wy=e=>xy("svg",{...e,children:xy("path",{d:"m21.9985 12.0962c.156-11.337813-12.26789-12.565874-17.33611-6.47453-3.58731 4.31149-3.71983 11.58443.64734 14.61853 4.36716 3.034 16.53287 3.1937 16.68877-8.144zm-8.8773 1.238h-2.3237v-.1495c0-.9268.1764-1.4649 1.0589-2.0629l.6912-.4634c.5736-.3886.8236-.77726.8236-1.40508 0-.7175-.4706-1.16594-1.1472-1.16594-.8236 0-1.4265.46339-1.4265 1.55459h-2.35319c0-1.8984 1.22069-3.37826 3.85329-3.37826 2.0295 0 3.4561 1.01647 3.4561 2.88497 0 1.30052-.6912 2.03292-1.456 2.61592l-.603.4484c-.4412.3439-.5735.5531-.5735.9418zm.3676 2.2571c0 .8371-.6765 1.5397-1.5295 1.5397-.8677 0-1.5295-.7026-1.5295-1.5397s.6618-1.5247 1.5295-1.5247c.853 0 1.5295.6876 1.5295 1.5247z",fill:"currentColor"})});i();import{jsx as Sy}from"react/jsx-runtime";var Dy=e=>Sy("svg",{...e,children:Sy("path",{clipRule:"evenodd",d:"m12 22c5.5228 0 10-4.4772 10-10 0-5.52285-4.4772-10-10-10-5.52285 0-10 4.47715-10 10 0 5.5228 4.47715 10 10 10zm-3.33333-11.6667c.92047 0 1.66663-.74616 1.66663-1.66663 0-.92048-.74616-1.66667-1.66663-1.66667s-1.66667.74619-1.66667 1.66667c0 .92047.7462 1.66663 1.66667 1.66663zm8.33333 3.3334c0 2.7614-2.2386 5-5 5-2.76142 0-5-2.2386-5-5zm0-5.00003c0 .92047-.7462 1.66663-1.6667 1.66663-.9204 0-1.6666-.74616-1.6666-1.66663 0-.92048.7462-1.66667 1.6666-1.66667.9205 0 1.6667.74619 1.6667 1.66667z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as Ey,jsxs as ON}from"react/jsx-runtime";var Ty=e=>ON("svg",{...e,children:[Ey("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"}),Ey("path",{d:"M7.66621 8.21881C9.16184 6.42126 11.7691 5.68812 13.9883 6.26249C15.0878 6.54707 16.077 7.14918 16.787 8.08709C17.4957 9.0234 17.9503 10.3264 17.9266 12.0543C17.9028 13.7834 17.4234 15.0307 16.7129 15.9152C16 16.8027 15.0236 17.3629 13.9441 17.6616C11.7547 18.2675 9.2536 17.7685 7.98327 16.886C6.7448 16.0256 6.1109 14.5403 6.07219 12.894C6.03347 11.2477 6.59545 9.50574 7.66621 8.21881Z",fill:"currentColor",stroke:"transparent"})]});i();import{jsx as Py}from"react/jsx-runtime";var Ay=e=>Py("svg",{...e,children:Py("path",{d:"m6.87391 20.4397c-1.80165-.6674-3.34245-1.8936-4.39695-3.4997-1.0545-1.6059-1.567498-3.5072-1.46385-5.4256.10365-1.91847.81855-3.7534 2.04-5.23636s2.8854-2.53613 4.74855-3.00542c1.863-.46929 3.82734-.33007 5.60554.39728 1.7783.72735 3.2771 2.00467 4.2772 3.64507.7418 1.21674 1.1804 2.58587 1.2889 3.99293l.642-.536c.6359-.531 1.5818-.4459 2.1128.1899.5309.6359.4459 1.5819-.19 2.1128l-2.996 2.5018c-.5567.4648-1.3662.4648-1.9228 0l-2.996-2.5018c-.6359-.5309-.721-1.4769-.19-2.1128.531-.6358 1.4769-.7209 2.1128-.1899l.385.3215c-.1193-.7805-.3922-1.53458-.8082-2.21675-.6667-1.0936-1.6659-1.94515-2.8514-2.43006-1.1855-.4849-2.49506-.57771-3.73709-.26485-1.242.31287-2.3514 1.01497-3.16575 2.00362-.8142.98864-1.2909 2.21194-1.3599 3.49094-.06915 1.2789.27285 2.5464.9759 3.617.70305 1.0707 1.73025 1.8882 2.9313 2.3331 1.20109.4449 2.51304.4938 3.74384.1394.7961-.2291 1.6273.2304 1.8565 1.0266.2291.796-.2304 1.6272-1.0265 1.8564-1.8463.5314-3.81421.4582-5.61589-.2091z",fill:"currentColor"})});i();import{jsx as Ry}from"react/jsx-runtime";var Fy=e=>Ry("svg",{...e,children:Ry("path",{d:"M5.64571 1.19092C5.19893 0.866257 4.57355 0.965254 4.24889 1.41204C3.92423 1.85882 4.02322 2.48419 4.47 2.80886C5.75625 3.74353 6.95092 5.00735 8.01704 6.20703C6.38757 6.20371 5.0889 6.2273 4.54926 6.28789C2.56844 6.5103 2.31336 7.59249 2.09302 9.25911C1.87267 10.9257 2.11033 17.874 2.37512 19.4659C2.63991 21.0578 3.40531 21.7237 5.61415 21.6844C6.9775 21.6601 10.7551 21.7863 13.8349 21.8892L13.8531 21.8898C15.7549 21.9533 17.3885 22.0078 18.0174 22.0123L18.03 22.0124C19.6724 22.024 21.003 22.0334 21.6139 20.7615C22.2264 19.4863 21.9782 11.1909 21.8801 9.61079C21.7819 8.03071 21.2479 6.89398 19.993 6.61776C19.5898 6.52901 18.0558 6.44028 16.0935 6.36809C17.0728 5.28349 18.2296 4.02372 19.6219 2.73331C20.0269 2.35789 20.051 1.72518 19.6755 1.32012C19.3001 0.915058 18.6674 0.891034 18.2623 1.26646C16.6527 2.7583 15.3356 4.22058 14.2947 5.37616L14.2798 5.39271C14.0913 5.60208 13.9119 5.8013 13.7414 5.98868C13.6467 6.09275 13.5555 6.19241 13.4676 6.28764C12.5521 6.2645 11.613 6.24544 10.7013 6.23164C10.5417 6.0511 10.3732 5.8585 10.1952 5.65501L10.0863 5.5306C8.90401 4.17976 7.37355 2.44649 5.64571 1.19092ZM6.2929 14.9216C5.95119 14.5799 5.90848 14.0524 6.16476 13.6642C6.20137 13.6088 6.24408 13.5562 6.2929 13.5074L9.82843 9.97183C10.219 9.5813 10.8521 9.5813 11.2426 9.97183C11.6332 10.3623 11.6332 10.9955 11.2426 11.386L9.46447 13.1642H16.5858C17.1381 13.1642 17.5858 13.6119 17.5858 14.1642C17.5858 14.7165 17.1381 15.1642 16.5858 15.1642H9.36396L11.2426 17.0429C11.6332 17.4334 11.6332 18.0666 11.2426 18.4571C10.8521 18.8476 10.219 18.8476 9.82843 18.4571L6.2929 14.9216Z",fill:"currentColor"})});i();import{jsx as By}from"react/jsx-runtime";var Oy=e=>By("svg",{...e,children:By("path",{d:"m11.6953 2c-2.36214 0-4.62753.93836-6.29781 2.60864-.58578.58578-.58578 1.53553 0 2.12131.58579.58579 1.53553.58579 2.12133 0 1.10766-1.10768 2.60998-1.72995 4.17648-1.72995s3.0688.62227 4.1765 1.72995c.7623.76237 1.2948 1.7117 1.5527 2.7402l-.5756-.48053c-.6358-.53098-1.5817-.44591-2.1127.18997-.531.63589-.446 1.58181.1899 2.11281l2.9961 2.5017c.5566.4648 1.3662.4648 1.9228 0l2.996-2.5017c.6358-.531.7209-1.47692.19-2.11281-.531-.63588-1.477-.72095-2.1129-.18997l-.4506.37628c-.3144-1.79011-1.1718-3.45466-2.4744-4.75726-1.6702-1.67028-3.9357-2.60864-6.2978-2.60864zm7.4377 16.8867c-1.5536 1.7794-3.7502 2.869-6.1069 3.0288-2.3567.1599-4.68042-.623-6.45992-2.1765-1.32667-1.1582-2.26984-2.6738-2.73018-4.3469l-.17388.2132c-.52381.6417-1.46874.7374-2.11053.2136-.641801-.5238-.737441-1.4687-.21363-2.1105l2.57465-3.1546c.26245-.3216.64644-.52 1.06057-.5481.41414-.02809.82139.1167 1.12487.3999l2.97703 2.778c.60569.5652.63851 1.5143.07332 2.12-.5652.6057-1.51437.6386-2.12005.0734l-.04151-.0389c.34575.8142.87327 1.5482 1.55225 2.141 1.18009 1.03 2.72111 1.5493 4.28401 1.4433 1.5628-.1061 3.0196-.8285 4.0498-2.0087.5448-.624 1.4924-.6883 2.1165-.1435.624.5448.6884 1.4923.1436 2.1165z",fill:"currentColor"})});i();import{jsx as My}from"react/jsx-runtime";var Iy=e=>My("svg",{...e,children:My("path",{clipRule:"evenodd",d:"m3.43934 7.93934c-.58579.58579-.58579 1.53553 0 2.12136l4.5 4.5c.58579.5857 1.53553.5857 2.12136 0 .5857-.5858.5857-1.5356 0-2.1214l-1.93938-1.9393h.87868c4.9706 0 9 4.0294 9 9 0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5c0-6.6274-5.3726-12-12-12h-.87868l1.93938-1.93934c.5857-.58579.5857-1.53553 0-2.12132-.58583-.58579-1.53557-.58579-2.12136 0z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as ky}from"react/jsx-runtime";var Vy=e=>ky("svg",{...e,children:ky("path",{d:"m8.03043 13.6607c-.29507.3401-.77967.4312-1.22762.3856-.26063-.0266-.53261-.0225-.83308-.0225-2.20558 0-3.95014 2.0802-3.992 3.992-.04187 1.9117 1.25486 4.1879 3.992 3.992 2.73715-.1959 3.99201-1.7864 3.99201-3.992 0-.3414-.04361-.6694-.125-.982-.10544-.4049-.03782-.8512.25806-1.1471l1.1558-1.1558c.3906-.3905 1.0237-.3905 1.4142 0l1.1558 1.1558c.296.2959.3636.7422.2581 1.1471-.0813.3126-.125.6406-.125.982 0 2.2056 1.2079 4.1121 3.992 3.992 2.1682 0 3.9313-1.7263 3.9905-3.8801.0021-.0742.0111-.1481.0221-.2214.249-1.6525-2.0736-4.0873-4.0126-3.8825-.3396 0-.6661.0432-.9773.1238-.4074.1055-.8563.036-1.152-.2635l-.2823-.286c-.3353-.3396-.3855-.8665-.1187-1.2621 1.2897-1.9126 4.8975-7.29122 5.5061-8.5084.5957-1.19133-.0999-1.55313-.4001-1.64993-.0817-.02633-.1675-.02743-.2521-.01311-.3067.0519-1.1141.23047-1.8398.75302-.8699.6263-7.2522 7.11612-10.39907 10.74312zm-.0647 4.3551c0 1.0978-.33819 2.1849-2.02833 2.2762-1.69015.0913-1.93466-.9724-1.96367-2.2762s.81534-1.7091 1.92989-1.7429 2.06211.6451 2.06211 1.7429zm11.62977-.1c0 1.0978-.6104 1.7735-1.7181 1.7735-1.1078 0-1.6627-.5095-1.6627-1.6073s.4995-1.7181 1.6072-1.7181c1.1078 0 1.7736.4541 1.7736 1.5519zm-16.00097-13.65035c.36312.61452 4.38321 5.68498 5.13739 6.04815.75418.3631 3.01228-2.35364 2.62128-3.13575-.3911-.78212-6.57133-4.945-7.37947-5.13008-.51609-.11819-.77828.15828-.90039.37355-.07895.13919-.07354.30477-.02904.45848.09686.33451.29621.95576.55023 1.38565z",fill:"currentColor"})});i();import{jsx as Ny}from"react/jsx-runtime";var Ly=e=>Ny("svg",{...e,children:Ny("path",{clipRule:"evenodd",d:"m18.1805 10.0368c.1262-9.02516-9.92582-10.002742-14.02641-5.15382-2.90243 3.43213-3.00965 9.22162.52374 11.63682 2.18864 1.496 6.79817 2.1141 10.01977.223.1591.1745.3297.3626.5089.5601l.0011.0012.028.0308c.3639.4012.7527.8439 1.1456 1.2911 1.4196 1.6159 2.8916 3.2914 3.4268 3.2876.9201-.0065 1.8533-.8438 1.8058-1.6624-.0358-.617-3.0505-4.1585-4.5332-5.8655.6663-1.1243 1.0748-2.556 1.0999-4.3489zm-3.0735-.0148c.078-5.63543-6.13398-6.24583-8.66808-3.21812-1.79365 2.14306-1.85991 5.75812.32367 7.26612 1.35254.9342 4.20111 1.3201 6.19201.1393.3521-.2089 1.2447-.8717 1.4727-1.4718.0304-.08.062-.1614.0941-.2443h.0001c.2656-.6842.5717-1.4727.5855-2.4712z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as $y}from"react/jsx-runtime";var zy=e=>$y("svg",{...e,children:$y("path",{d:"m2.08399 13.9107c.0602 3.3015.20898 6.331.4105 7.6243.0499.3202.29259.5164.60534.4312 3.13827-.855 18.95577-8.2148 18.95577-9.9463 0-1.2384-16.56256-9.66456-19.1655-10.02992-.19461-.02731-.34033.09248-.39323.28174-.29629 1.05988-.42832 4.29228-.44124 7.85348l14.16417 1.8946z",fill:"currentColor"})});i();import{jsx as Gy}from"react/jsx-runtime";var Hy=e=>Gy("svg",{...e,children:Gy("path",{clipRule:"evenodd",d:"m6.24843 6.77277c.74955 2.13722 3.90597 2.17402 4.61477.46032.0683-.1408.125-.2811.1707-.42046.6058-.00536 1.1978-.0136 1.7785-.0229.4047-.00648.8032-.01346 1.1969-.02035 2.4581-.04305 4.7202-.08264 7.0401.0237.5014.02298.9266-.36485.9495-.86627.023-.50141-.3648-.92652-.8662-.94951-2.382-.10919-4.7076-.06836-7.1622-.02525-.3921.00689-.7877.01383-1.1872.02023-.57.00912-1.1495.01719-1.7411.02251-.1944-.59562-.5734-1.11691-1.05139-1.50894-.92757-.76087-3.35974-.86696-3.825 1.46603-1.01999-.03054-2.08381-.07744-3.2008-.14657-.50098-.031-.93224.34999-.96324.85097-.03101.50098.34999.93224.85097.96325 1.18803.07352 2.31663.12231 3.39569.15324zm-4.2483 5.54683c0-.5019.4069-.9088.90884-.9088 1.40629 0 2.64238-.0161 3.88561-.0323 1.96291-.0254 3.94372-.0511 6.64042-.0143.5017-2.38934 3.3463-2.2812 4.2812-1.51432.5667.46472.9111 1.01612 1.0122 1.64502.7524.0257 1.5502.0552 2.3993.0894.5015.0202.8917.443.8716.9445-.0202.5016-.4431.8919-.9447.8717-.9361-.0376-1.8091-.0697-2.6268-.097-.0222.0498-.0455.0999-.0699.1503-.7019 1.6972-3.9734 1.7795-4.8058-.2702-2.7348-.0393-4.72571-.0135-6.71331.0124-1.24973.0162-2.49855.0325-3.92982.0325-.50194 0-.90884-.4069-.90884-.9089zm0 6.1328c-.00116-.5019.40481-.9097.90675-.9109 1.07677-.0025 2.10118-.0058 3.08174-.0089.11298-.0004.2258-.0008.33762-.0011.05692-.1747.12895-.3528.21677-.5339.73063-1.7666 3.87449-1.7897 4.45259.5249 3.676.0025 6.8235.0408 10.1372.1927.5014.0229.8892.4481.8662.9495-.0229.5014-.4481.8892-.9495.8663-3.2903-.1508-6.4125-.1885-10.0872-.1907-.5634 2.1212-2.87808 1.9991-3.77763 1.2612-.42273-.3467-.72861-.77-.89095-1.2522-.09774.0003-.19592.0006-.29455.001-.98121.003-2.00765.0064-3.0881.0089-.50195.0011-.90979-.4048-.91094-.9068z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as jy}from"react/jsx-runtime";var Wy=e=>jy("svg",{...e,children:jy("path",{d:"m10.6913 7.39911c.578 0 1.0471.46807 1.0471 1.04714 0 .57802-.4691 1.04714-1.0471 1.04714h-6.59702v9.31951h15.39302v-5.7592c0-.5791.468-1.0472 1.0471-1.0472s1.0471.4681 1.0471 1.0472v6.8064c0 .5791-.468 1.0471-1.0471 1.0471h-17.48726c-.57907 0-1.04714-.468-1.04714-1.0471v-11.41385c0-.57907.46807-1.04714 1.04714-1.04714zm5.8803-4.34459 4.7121 1.57071c.288.09529.5194.31205.6367.59268.1162.27959.1047.59687-.0314.86913l-2.4074 4.81686c-.1833.3675-.5539.5791-.9382.5791-.1571 0-.3173-.0356-.4671-.11-.5173-.2597-.7277-.888-.4691-1.40526l1.1889-2.37891c-4.0996 1.68797-6.3249 4.53987-6.3249 8.18697 0 .5791-.4681 1.0472-1.0471 1.0472-.5791 0-1.0472-.4681-1.0472-1.0472 0-4.4699 2.7028-8.04278 7.5143-10.07421l-1.9824-.66064c-.5477-.18221-.844-.77594-.6608-1.32464.1822-.54765.7717-.84609 1.3236-.66179z",fill:"currentColor"})});i();import{jsx as _y}from"react/jsx-runtime";var Uy=e=>_y("svg",{...e,children:_y("path",{d:"m15.7829 19.9195c1.7831-.0396 2.688-.079 3.4524-.079 2.4101 0 2.4643-.5698 2.6291-2.2998.0161-.1681.0331-.3472.0535-.5377.1341-1.2162.0766-8.54397.0191-10.16543-.0064-.2209-.008-.42798-.0095-.62158-.0121-1.52821-.0174-2.21601-2.3473-2.21601-1.7437 0-4.6496.06881-7.1831.115-1.2804.02334-2.2443.04093-2.46946.04093-.67064.03118-.99638 1.029-1.0347 1.96448-.02098.51212-.02473 2.03357-.02069 3.53602-2.0997-1.99934-5.23506-4.27551-5.94338-4.62817-.23692-.17101-.5951.06006-.65895.36744-.51522 2.4804-.24785 10.79872.42166 14.00882.10701.5131.5848.5653.89181.352 1.82324-1.2674 3.87556-3.4426 5.27447-5.2548-.03781 1.4028-.06521 3.1549.15005 4.1851.21076 1.1226 1.20719 1.3097 2.05019 1.3097.4981.0169 2.6193-.0302 4.7248-.077z",fill:"currentColor"})});i();import{jsx as Ky}from"react/jsx-runtime";var qy=e=>Ky("svg",{...e,children:Ky("path",{clipRule:"evenodd",d:"M2 6.28572C2 5.49674 2.63959 4.85715 3.42857 4.85715H20.5714C21.3604 4.85715 22 5.49674 22 6.28572C22 7.0747 21.3604 7.71429 20.5714 7.71429H3.42857C2.63959 7.71429 2 7.0747 2 6.28572ZM2 12C2 11.211 2.63959 10.5714 3.42857 10.5714H14.8571C15.6461 10.5714 16.2857 11.211 16.2857 12C16.2857 12.789 15.6461 13.4286 14.8571 13.4286H3.42857C2.63959 13.4286 2 12.789 2 12ZM3.42857 16.2857C2.63959 16.2857 2 16.9253 2 17.7143C2 18.5033 2.63959 19.1429 3.42857 19.1429H7.71429C8.50326 19.1429 9.14286 18.5033 9.14286 17.7143C9.14286 16.9253 8.50326 16.2857 7.71428 16.2857H3.42857Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as Xy}from"react/jsx-runtime";var Yy=e=>Xy("svg",{...e,children:Xy("path",{clipRule:"evenodd",d:"m18.4814 8.67568-.6644 2.03912c-.1208.3764-.7329.3834-.8658.0139l-.8174-2.24473c-.1531-.4148-.4953-.75988-.9463-.9481l-1.9289-.80868c-.3584-.14988-.3342-.59953.0403-.72153l1.9449-.62742c.5316-.1708.9423-.54725 1.1074-1.01433l.741-2.08443c.1328-.38343.7651-.366.8738.0244l.5798 2.10534c.1289.46359.4954.85399.9947 1.05964l2.2027.90279c.3785.15337.3342.63091-.0685.73199l-1.9409.48103c-.6081.14988-1.0792.56467-1.2524 1.09101zm-11.00752 2.19872 1.03356-3.39854c.18792-.62742 1.14004-.63904 1.34675-.02324l1.27161 3.74128c.238.6913.7705 1.2665 1.472 1.5802l3.0005 1.3478c.5575.2498.5199.9992-.0627 1.2025l-3.0255 1.0457c-.8268.2847-1.4658.9121-1.7226 1.6906l-1.15255 3.474c-.20671.6391-1.19015.61-1.35928-.0406l-.90201-3.5089c-.20045-.7727-.77047-1.4234-1.54721-1.7661l-3.4264-1.5047c-.58881-.2556-.51991-1.0515.10649-1.2199l3.01924-.8018c.94586-.2498 1.67875-.9411 1.9481-1.8183z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as R0}from"react/jsx-runtime";var Jy=e=>R0("svg",{...e,children:R0("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:R0("animateTransform",{attributeName:"transform",dur:"1.5s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})})});i();import{jsx as Zy}from"react/jsx-runtime";var Qy=e=>Zy("svg",{...e,children:Zy("path",{d:"m16.5566 10.0643c-.0138-1.76364-.0349-4.48222.0778-6.10188.0712-1.21794.7119-1.9487 2.3848-1.9487 1.4949-.09744 1.8509.34102 2.0644.77948 1.1747 2.63075.9255 14.9563.8187 16.9537-.0103.1819-.0095.3498-.0088.5049.0044.9247.0067 1.3953-2.3404 1.6874-2.3136.2923-2.5627-.4872-2.634-1.9487-.0711-1.1692-.3203-7.0153-.3558-8.7692 0-.2944-.0032-.6926-.0067-1.157zm-14.48339-1.50187c-.14486 1.45517-.03621 4.88197 0 5.86777.03621 1.2674.32593 5.3514.39835 6.1963.07243 1.0797.18107 1.5491 2.57119 1.3144 2.38974-.2414 2.38569-.931 2.38125-1.6846-.00073-.1258-.00149-.2533.00887-.3809.10864-1.4552-.21728-8.872-.39835-9.9986-.06291-.39135-.10395-.76005-.13985-1.08248-.06745-.60575-.11671-1.04819-.25851-1.17073-.28971-.28165-.76049-.70413-2.49876-.61025-1.77448.14083-1.95554.70413-2.06419 1.54909zm12.34129 3.27277c.1806.8473.2413 2.5838.2777 3.6225.0093.2658.0171.4859.0247.6338.0379.9189-.0378 3.9177-.0755 4.5464-.0379.7739-.1513 1.3059-2.6088 1.3543-2.49154.0828-2.51834-.5076-2.54541-1.104-.00455-.1004-.00912-.201-.02546-.2986-.18904-1.0157-.37808-7.8354.18903-8.9479.18904-.3385.64274-.7255 2.45744-.8706s2.155.4837 2.3063 1.0641z",fill:"currentColor"})});i();import{jsx as eb}from"react/jsx-runtime";var tb=e=>eb("svg",{...e,children:eb("path",{d:"m19.9646 3.56989c1.8831 1.70948 2.0107 4.32673 2.0173 6.99611l-.0001.9022c0 .5142.0048 1.0139.0095 1.4974.0315 3.247.0561 5.7743-1.4399 7.1725-1.292 1.2075-3.7521 1.737-6.1439 1.8298-.7898.0306-2.3731.0535-3.3766 0-2.50856-.1338-5.72463-.3411-7.52574-1.8764-1.58915-1.3545-1.45707-4.3243-1.46202-6.8769-.00066-.3406-.0013-.6675-.00565-.9747-.00365-.2567-.0094-.5236-.01531-.7981-.05418-2.51434-.12193-5.65891 1.29137-7.39433 1.56755-1.92485 6.85845-2.02051 8.54555-2.02051.1646 0 .3708-.00475.6101-.01026 1.8411-.04241 5.6413-.12995 7.4954 1.55319zm-13.46158 6.43131c-.27704.0188-.53391.1518-.70948.3673l-1.99272 2.4455c-.35041.43-.28643 1.0632.14291 1.4142s1.06144.2869 1.41186-.1431l.33308-.4088c.31302 1.3863 1.05786 2.648 2.14023 3.5944 1.3458 1.1767 3.1031 1.7698 4.8856 1.6487 1.7824-.1211 3.4436-.9464 4.6185-2.2944.3644-.4182.3215-1.0531-.0961-1.4182-.4174-.365-1.0513-.322-1.4157.0962-.8248.9464-1.9912 1.5258-3.2425 1.6109-1.2514.085-2.4852-.3314-3.43001-1.1576-.70847-.6194-1.21095-1.4312-1.45381-2.327l.49561.4632c.40517.3787 1.04013.3567 1.41822-.0492.3781-.4058.35612-1.0418-.04906-1.4205l-2.30414-2.1536c-.20301-.1898-.47546-.28678-.75249-.268zm5.45468-5.37285c-1.7866 0-3.49982.71082-4.76304 1.97611-.39187.39251-.39187 1.02889 0 1.42141.39187.3925 1.02721.3925 1.41908 0 .8869-.88831 2.08976-1.38736 3.34396-1.38736s2.457.49905 3.3438 1.38736c.6097.61063 1.0357 1.3708 1.2424 2.19443l-.3233-.30964c-.4006-.3836-1.0358-.36931-1.4187.03186-.383.40118-.3688 1.03748.0318 1.42108l2.0251 1.9394c.388.3715.9991.3715 1.387 0l2.0251-1.9394c.4006-.3836.4149-1.0199.0319-1.42108-.383-.40117-1.0181-.41546-1.4187-.03186l-.2948.28234c-.2399-1.35029-.8873-2.60548-1.8687-3.58853-1.2633-1.2653-2.9765-1.97612-4.7629-1.97612z",fill:"currentColor"})});i();import{jsx as rb}from"react/jsx-runtime";var nb=e=>rb("svg",{...e,children:rb("path",{d:"m4.11263 5.04041c-.18667 1.92432.04424 9.01979.00001 11.01579-.04423 1.9961.12249 4.3531.29625 5.0481.15491.6196 1.84727 1.5368 3.03625.3225 1.18899-1.2142 2.57456-2.7822 4.57456-4.1325 2.0186 1.5231 3.2093 2.9179 4.4324 4.1325 1.2231 1.2147 3.0966.6257 3.2493-.3225.3224-1.8964.2206-6.4423.2546-7.8088.0339-1.7012-.1019-7.13954-.1528-8.25509-.0339-1.11555.0771-1.94224-.6526-2.22113-3.0546-1.17133-9.17301-1.09763-12.39732-.53985-2.90187.502-2.52186 1.56177-2.64065 2.76098z",fill:"currentColor"})});i();import{jsx as ob}from"react/jsx-runtime";var ib=e=>ob("svg",{...e,children:ob("path",{clipRule:"evenodd",d:"M2 4a2 2 0 012-2h8a2 2 0 012 2v18H2V4zm5.5 3a1.5 1.5 0 100 3h1a1.5 1.5 0 100-3h-1zm0 7a1.5 1.5 0 000 3h1a1.5 1.5 0 000-3h-1zm8.5-4h5a1 1 0 011 1v11h-6V10z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as ab}from"react/jsx-runtime";var sb=e=>ab("svg",{...e,children:ab("path",{d:"m17.2519 13.3364-3.0265-11.67337c-.0339-.00525-.0679-.01016-.102-.01475-2.9405-.39243-6.71014-.39244-8.53416-.21004-2.95711.29848-2.5315 2.75261-2.5315 2.75261-1.58081 1.62503-.6467 3.6425-.6467 3.6425-2.023 2.24965-.4643 3.95755-.4643 3.95755-1.835066 1.6858-.45876 3.5817 1.111 3.7144 1.19943.105 4.08468.0663 5.3836.0442.33164-.0055.58591.2985.5251.6246-.87331 4.9193 1.00597 8.1196 3.03446 7.8045 1.0853-.1713 1.0845-1.7357 1.0838-3.0809-.0003-.6075-.0006-1.1702.0991-1.5399.3316-1.2326 1.614-2.9405 2.9295-4.444.4315-.4931.8118-1.0216 1.1386-1.5774zm-1.9146-11.36956c.0096.00386.0193.00776.0289.01168-.015-.10585-.0277-.20524-.0379-.29704-.0884-.818045.0608-.912012 1.4979-1.298924 1.4371-.38691271 1.8185-.4864 2.1004-.270833.1495.114118.2991.595245.4945 1.223977.079.25439.1656.53295.2627.82114.3372 1.00044 2.0341 7.87086 2.2054 9.24716.0154.1205.0372.2305.0575.3323.1255.6317.1892.952-1.7433 1.547-1.043.3216-1.5483.4667-1.8348.3757z",fill:"currentColor"})});i();import{jsx as lb}from"react/jsx-runtime";var ub=e=>lb("svg",{...e,children:lb("path",{d:"m5.81817 10.6635 3.02644 11.6734c.0339.0053.06791.0102.10202.0148 2.94057.3924 6.71017.3924 8.53417.21 2.9571-.2985 2.5315-2.7526 2.5315-2.7526 1.5808-1.625.6467-3.6425.6467-3.6425 2.023-2.2496.4643-3.9576.4643-3.9576 1.8351-1.6858.4588-3.58165-1.111-3.71431-1.1994-.10502-4.0847-.06633-5.3836-.04422-.3316.00553-.5859-.29848-.5251-.62459.8733-4.91931-1.006-8.119626-3.0345-7.8045688-1.08524.1713558-1.08442 1.7357188-1.08372 3.0809688.00032.60744.00061 1.1702-.09912 1.53987-.33164 1.23259-1.61397 2.94053-2.92947 4.44396-.43149.49313-.81189 1.02159-1.13862 1.57739zm1.91462 11.3696c-.00967-.0038-.01932-.0077-.02895-.0117.01497.1059.02772.2053.03792.2971.08843.818-.06082.912-1.49792 1.2989s-1.81848.4864-2.10037.2708c-.14954-.1141-.29907-.5952-.49448-1.2239-.07906-.2544-.16564-.533-.26276-.8212-.33717-1.0004-2.03406-7.8709-2.20541-9.2472-.01535-.1205-.0372-.2304-.05744-.3323-.12554-.6316-.189207-.952 1.74328-1.547 1.04301-.3216 1.54824-.4667 1.83482-.3757z",fill:"currentColor"})});i();import{jsx as cb}from"react/jsx-runtime";var fb=e=>cb("svg",{...e,children:cb("path",{d:"m20.2254 20.7499h-16.26331c-.7475 0-1.30834-.37-1.6825-.9258-.37334-.5559-.37334-1.2967 0-1.8517l8.03831-13.88917c.7484-1.11083 2.8042-1.11083 3.365 0l8.0375 13.88917c.3734.555.3734 1.2958 0 1.8517-.3741.5558-.935.9258-1.4958.9258zm-12.89831-3.7033h9.71921l-5.0459-8.33337-4.67248 8.33337z",fill:"currentColor"})});i();import{jsx as pb}from"react/jsx-runtime";var db=e=>pb("svg",{...e,children:pb("path",{d:"m16.2028 20.4397c1.8016-.6674 3.3424-1.8936 4.3969-3.4997 1.0545-1.6059 1.5675-3.5072 1.4639-5.4256-.1037-1.91847-.8185-3.7534-2.04-5.23636s-2.8854-2.53613-4.7486-3.00542c-1.863-.46929-3.8273-.33007-5.60553.39728-1.77825.72735-3.27706 2.00467-4.27719 3.64507-.74181 1.21674-1.18038 2.58587-1.28892 3.99293l-.64191-.536c-.63589-.531-1.58182-.4459-2.11279.1899-.530981.6359-.44593 1.5819.18996 2.1128l2.99601 2.5018c.55666.4648 1.36615.4648 1.92282 0l2.99601-2.5018c.63594-.5309.72094-1.4769.18997-2.1128-.53098-.6358-1.47691-.7209-2.11281-.1899l-.385.3215c.11931-.7805.39223-1.53458.80815-2.21675.66674-1.0936 1.66595-1.94515 2.85143-2.43006 1.1855-.4849 2.4951-.57771 3.7371-.26485 1.242.31287 2.3514 1.01497 3.1657 2.00362.8142.98864 1.2909 2.21194 1.3599 3.49094.0692 1.2789-.2728 2.5464-.9759 3.617-.703 1.0707-1.7302 1.8882-2.9313 2.3331-1.201.4449-2.513.4938-3.7438.1394-.7961-.2291-1.62728.2304-1.85645 1.0266-.22918.796.2304 1.6272 1.02645 1.8564 1.8463.5314 3.8142.4582 5.6159-.2091z",fill:"currentColor"})});i();import{jsx as mb}from"react/jsx-runtime";var hb=e=>mb("svg",{...e,children:mb("path",{clipRule:"evenodd",d:"m18.4 8.86859h-.3298c.1092-2.46877-1.1518-4.89701-3.4269-6.11864-2.6473-1.42146-5.82043-.75428-7.72874 1.42683-.59024.67464-.27474 1.6864.50816 2.10678.78292.42037 1.74028.0553 2.47566-.44737.94172-.64368 2.18772-.75397 3.26102-.1777 1.1838.63567 1.8185 1.92477 1.7035 3.2101h-9.26289c-.88367 0-1.60001.73488-1.60001 1.64141v9.8486c0 .9065.71634 1.6414 1.60001 1.6414h12.79999c.8837 0 1.6-.7349 1.6-1.6414v-9.8486c0-.90653-.7163-1.64141-1.6-1.64141zm-6.4 9.84861c1.7674 0 3.2-1.4698 3.2-3.2829s-1.4326-3.2828-3.2-3.2828c-1.7673 0-3.19998 1.4697-3.19998 3.2828s1.43268 3.2829 3.19998 3.2829z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as gb}from"react/jsx-runtime";var vb=e=>gb("svg",{...e,children:gb("path",{d:"m15.4036 20.3766c0 .8975-.7301 1.625-1.6307 1.625h-3.2614c-.9006 0-1.63067-.7275-1.63067-1.625l.07361-5.3782h-2.17666c-1.50644 0-2.20732-1.8615-1.07251-2.849l5.43783-4.73245c.6145-.53462 1.5309-.53462 2.1453 0l5.438 4.73245c1.1347.9875.4338 2.849-1.0727 2.849h-2.1765zm4.9657-15.12818c.9006 0 1.6307-.72751 1.6307-1.625s-.7301-1.625-1.6307-1.625h-16.73859c-.90064 0-1.63071.72751-1.63071 1.625s.73007 1.625 1.63071 1.625z",fill:"currentColor"})});i();import{jsx as yb}from"react/jsx-runtime";var bb=e=>yb("svg",{...e,children:yb("path",{d:"m11.9795 11.586c5.5082.0762 6.1048-5.99821 3.1455-8.47622-2.0947-1.75393-5.74531-1.37583-7.21932.75941s-1.43432 7.64051 4.07382 7.71681zm-9.91151 9.511c.04238.425.50422.7755 1.01871.7622l17.7118.1408c.6229.0035 1.1358-.382 1.161-.843.1556-1.6495-.1357-3.3218-.8998-4.7419-1.8017-3.4404-12.22326-5.5665-16.7581-1.992-2.15941 1.711-2.47302 4.4518-2.23361 6.6739z",fill:"currentColor"})});i();import{jsx as Cb}from"react/jsx-runtime";var xb=e=>Cb("svg",{...e,children:Cb("path",{d:"m18.9737 7.86457c1.8137 1.68881 3.0919 3.22143 3.0237 4.17933.0942 1.3301-2.3864 3.6597-4.787 5.4039-3.6869 2.679-9.13851 1.4637-12.1841-1.3722-1.81366-1.6888-3.0919-3.2215-3.0237-4.1793-.09423-1.3301 2.38644-3.65971 4.78695-5.40395 3.68695-2.67898 9.13855-1.46365 12.18415 1.37222zm-4.5254.78409c-1.8472-1.58151-5.06662-1.24058-6.36652.68474-1.29991 1.9253-1.26491 6.8893 3.59262 6.9581 4.8576.0688 5.3837-5.4084 2.7739-7.64284zm-2.7724 5.79044c2.8097.0393 3.1141-3.09 1.6045-4.3666-1.0685-.90364-2.9307-.70885-3.68257.3912-.7519 1.1-.73165 3.9362 2.07807 3.9754z",fill:"currentColor"})});i();import{jsx as wb}from"react/jsx-runtime";var Sb=e=>wb("svg",{...e,children:wb("path",{d:"m14.48 4.5c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67583.5525-1.23 1.23-1.23s1.23.55333 1.23 1.23v.04c0 .67667-.5525 1.23-1.23 1.23zm5 1.25c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67667.5525-1.23 1.23-1.23s1.23.55333 1.23 1.23v.04c0 .67667-.5525 1.23-1.23 1.23zm.0583 3.73083v-.03916c0-.6775.5542-1.23084 1.23-1.23084.6775 0 1.2317.55334 1.2317 1.23084v.03916c0 .67587-.5542 1.22997-1.2317 1.22997-.6758 0-1.23-.5541-1.23-1.22997zm-.0583 3.76917c.6775 0 1.23.5542 1.23 1.23v.04c0 .6767-.5525 1.23-1.23 1.23s-1.23-.5542-1.23-1.23v-.04c0-.6767.5525-1.23 1.23-1.23zm-9.96083-7.5c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67667.5525-1.23 1.23-1.23.67753 0 1.23003.55333 1.23003 1.23v.04c0 .67667-.5525 1.23-1.23003 1.23zm-.01917 3.73083v.03834c0 .67663-.55417 1.23163-1.23 1.23163-.6775 0-1.23167-.555-1.23167-1.23163v-.03834c0-.6775.55417-1.23 1.23167-1.23.67583-.00083 1.23.5525 1.23 1.23zm4.98 5.01917c.6775 0 1.23.5542 1.23 1.23v.04c0 .6758-.5525 1.23-1.23 1.23s-1.23-.5542-1.23-1.23v-.04c0-.6758.5525-1.23 1.23-1.23zm-1.23-5c0 .6883.5608 1.25 1.25 1.25.6883 0 1.25-.5617 1.25-1.25 0-.69-.5617-1.25-1.25-1.25-.6892 0-1.25.56-1.25 1.25zm-10.885 12.135c-.48667-.4867-.48667-1.2817 0-1.7675l8.76-8.76c-.2333-.4892-.375-1.03-.375-1.6075 0-2.07167 1.6783-3.75 3.75-3.75 2.0708 0 3.75 1.67833 3.75 3.75 0 2.0717-1.6792 3.75-3.75 3.75-.5775 0-1.1192-.1417-1.6083-.375l-8.75837 8.76c-.2425.2425-.56416.365-.88333.365-.32083 0-.64167-.1225-.88417-.365z",fill:"currentColor"})});i();import{jsx as Db}from"react/jsx-runtime";var Eb=e=>Db("svg",{...e,children:Db("path",{d:"m4.34613 4.96934c4.1006-4.848919 14.15257-3.87134 14.02637 5.15386-.0251 1.7929-.4336 3.2246-1.0999 4.3489 1.4827 1.707 4.4974 5.2485 4.5332 5.8655.0475.8186-.696 1.5695-1.6161 1.576-.6833.0048-3.0833-2.6413-4.7621-4.4923-.1897-.2092-.3703-.4082-.538-.5921-3.2216 1.8911-7.83109 1.273-10.01973-.2231-3.53338-2.4152-3.42617-8.20463-.52374-11.63676zm4.93672 1.64027c0-.55228.44772-1 1.00005-1 .5522 0 1 .44772 1 1v2.43714h2.437c.5523 0 1 .44771 1 .99995 0 .5523-.4477 1-1 1h-2.437v2.4371c0 .5523-.4478 1-1 1-.55233 0-1.00005-.4477-1.00005-1v-2.4371h-2.4371c-.55229 0-1-.4477-1-1 0-.55224.44771-.99995 1-.99995h2.4371z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as Tb}from"react/jsx-runtime";var Pb=e=>Tb("svg",{...e,children:Tb("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"})});i();import{jsx as Bl,jsxs as MN}from"react/jsx-runtime";var Ab=e=>MN("svg",{...e,children:[Bl("path",{d:"M 7.6660156 13.333984 C 4.6033687 13.333984 1.8196082 15.261562 0.73828125 18.130859 C 0.52228147 18.702859 0.54974052 19.324766 0.81640625 19.884766 C 1.091068 20.460765 1.5970887 20.908628 2.2050781 21.111328 C 3.9717464 21.700628 5.8100275 22 7.6660156 22 C 9.4455743 22 11.208675 21.721851 12.908203 21.179688 C 12.33347 20.258643 12 19.170101 12 18 C 12 17.017544 12.235211 16.092267 12.650391 15.275391 C 11.311039 14.056643 9.5409138 13.333984 7.6660156 13.333984 z ",fill:"currentColor",id:"path1080"}),Bl("path",{d:"M 16 10 C 14.110702 10 12.33098 10.736657 10.988281 11.972656 C 12.030725 12.37129 12.995063 12.950091 13.835938 13.675781 C 14.913535 12.638129 16.378956 12 18 12 C 19.911892 12 21.607843 12.886783 22.705078 14.271484 C 21.496969 11.695436 18.871278 10 16 10 z ",fill:"currentColor",id:"path1078"}),Bl("path",{d:"M 11.3332,8.3333 C 11.3332,10.3583 9.69162,12 7.66659,12 5.64155,12 3.99993,10.3583 3.99993,8.3333 c 0,-2.02504 1.64162,-3.66666 3.66666,-3.66666 2.02503,0 3.66661,1.64162 3.66661,3.66666 z",fill:"currentColor",id:"path1076"}),Bl("path",{d:"m 19.6666,4.99997 c 0,2.02504 -1.6417,3.66666 -3.6667,3.66666 -2.025,0 -3.6667,-1.64162 -3.6667,-3.66666 0,-2.02504 1.6417,-3.66666 3.6667,-3.66666 2.025,0 3.6667,1.64162 3.6667,3.66666 z",fill:"currentColor",id:"path90"}),Bl("path",{clipRule:"evenodd",d:"M13.2 18C13.2 15.3534 15.3534 13.2 18 13.2C20.6466 13.2 22.8 15.3534 22.8 18C22.8 20.6466 20.6466 22.8 18 22.8C15.3534 22.8 13.2 20.6466 13.2 18ZM14.1 18C14.1 20.1504 15.8496 21.9 18 21.9C20.1504 21.9 21.9 20.1504 21.9 18C21.9 15.8496 20.1504 14.1 18 14.1C15.8496 14.1 14.1 15.8496 14.1 18ZM21 18C21 19.6569 19.6568 21 18 21C16.3431 21 15 19.6569 15 18C15 16.3432 16.3431 15 18 15C19.6568 15 21 16.3432 21 18Z",fill:"currentColor",fillRule:"evenodd",id:"path94"})]});i();import{jsx as Ol,jsxs as Rb}from"react/jsx-runtime";var Fb=e=>Rb("svg",{...e,children:[Rb("g",{clipPath:"url(#clip0_23610_312)",id:"g8",children:[Ol("path",{d:"M 3.8007812 2 C 2.8071822 2 2 2.8071822 2 3.8007812 L 2 5.5996094 L 2 15.199219 C 2 17.186417 3.6124214 18.800781 5.5996094 18.800781 L 12.054688 18.800781 C 12.019999 18.538708 12 18.271851 12 18 C 12 14.676003 14.676003 12 18 12 C 18.271851 12 18.538708 12.019999 18.800781 12.054688 L 18.800781 7.4003906 C 18.800781 6.4067916 17.993599 5.5996094 17 5.5996094 L 10.400391 5.5996094 L 8.3554688 2.5332031 C 8.133479 2.1996035 7.7582215 2 7.3574219 2 L 3.8007812 2 z ",fill:"currentColor"}),Ol("path",{clipRule:"evenodd",d:"M13.2 18C13.2 15.3534 15.3534 13.2 18 13.2C20.6466 13.2 22.8 15.3534 22.8 18C22.8 20.6466 20.6466 22.8 18 22.8C15.3534 22.8 13.2 20.6466 13.2 18ZM14.1 18C14.1 20.1504 15.8496 21.9 18 21.9C20.1504 21.9 21.9 20.1504 21.9 18C21.9 15.8496 20.1504 14.1 18 14.1C15.8496 14.1 14.1 15.8496 14.1 18ZM21 18C21 19.6569 19.6568 21 18 21C16.3431 21 15 19.6569 15 18C15 16.3432 16.3431 15 18 15C19.6568 15 21 16.3432 21 18Z",fill:"currentColor",fillRule:"evenodd",id:"path6"})]}),Ol("defs",{id:"defs13",children:Ol("clipPath",{id:"clip0_23610_312",children:Ol("rect",{fill:"white",height:"23.9999",id:"rect10",width:"23.9999"})})})]});i();import{jsx as Bb}from"react/jsx-runtime";var Ob=e=>Bb("svg",{...e,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:Bb("path",{d:"M8.00037 13.111C8.61387 13.1112 9.11072 13.6088 9.11072 14.2224C9.11066 14.8358 8.61383 15.3335 8.00037 15.3337C7.38675 15.3337 6.88909 14.836 6.88904 14.2224C6.88904 13.6087 7.38672 13.111 8.00037 13.111ZM4.4447 13.3337C4.93552 13.3338 5.33337 13.7315 5.33337 14.2224C5.33332 14.7132 4.93549 15.1109 4.4447 15.111C3.95382 15.111 3.55608 14.7132 3.55603 14.2224C3.55603 13.7314 3.95378 13.3337 4.4447 13.3337ZM11.556 13.3337C12.0468 13.3339 12.4447 13.7316 12.4447 14.2224C12.4446 14.7131 12.0467 15.1108 11.556 15.111C11.0651 15.111 10.6664 14.7132 10.6664 14.2224C10.6664 13.7314 11.0651 13.3337 11.556 13.3337ZM12.6664 1.77802C14.0164 1.77802 15.1107 2.87232 15.1107 4.22235V9.55536C15.1107 10.9054 14.0164 11.9997 12.6664 11.9997H3.33337C1.98335 11.9997 0.889038 10.9054 0.889038 9.55536V4.22235C0.889038 2.87232 1.98335 1.77802 3.33337 1.77802H12.6664Z",fill:"currentColor"})});i();import{jsx as Mb}from"react/jsx-runtime";var Ib=e=>Mb("svg",{...e,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:Mb("path",{d:"M13.4127 11.582C13.8595 11.5821 14.2223 11.9801 14.2223 12.4707C14.2222 12.9612 13.8595 13.3593 13.4127 13.3594H5.23401C4.78722 13.3594 4.42455 12.9613 4.42444 12.4707C4.42444 11.98 4.78715 11.582 5.23401 11.582H13.4127ZM2.15588 5.62109C2.38676 5.51013 2.6605 5.54203 2.86096 5.70215L5.08362 7.47949C5.24149 7.60572 5.33362 7.79739 5.33362 8C5.3336 8.20261 5.24152 8.39421 5.08362 8.52051L2.86096 10.2979C2.6605 10.4579 2.38677 10.4899 2.15588 10.3789C1.92451 10.2682 1.77795 10.0334 1.77795 9.77734V6.22266C1.77795 5.96657 1.92451 5.73176 2.15588 5.62109ZM13.4127 7.33301C13.8596 7.33301 14.2223 7.73199 14.2223 8.22266C14.2221 8.71312 13.8594 9.11133 13.4127 9.11133H7.4762C7.02948 9.11132 6.66684 8.71312 6.66663 8.22266C6.66663 7.732 7.02935 7.33302 7.4762 7.33301H13.4127ZM13.4127 2.66699C13.8595 2.66704 14.2223 3.06503 14.2223 3.55566C14.2222 4.04625 13.8595 4.44428 13.4127 4.44434H5.23401C4.78718 4.44434 4.42449 4.04628 4.42444 3.55566C4.42444 3.065 4.78715 2.66699 5.23401 2.66699H13.4127Z",fill:"currentColor",id:"Vector"})});import{jsx as IN}from"react/jsx-runtime";var bf={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},Ee=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(le(n))throw new Error("An Icon component requires a `type` prop to be provided");if(le(P0[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(le(bf[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=F0[P0[n]],s={verticalAlign:"middle",...r};return IN(a,{"aria-hidden":"true",color:e,height:`${bf[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${bf[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};Ee.displayName="Icon_VHS";import{Fragment as Vb,jsx as Ba,jsxs as B0}from"react/jsx-runtime";var kN=Cf.span`
124
+ `),()=>{m.contains(v)&&m.removeChild(v)}},[t]),hk(Xm,{isPresent:t,childRef:a,sizeRef:s,children:Ac.cloneElement(e,{ref:a})})}var v6=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:a,mode:s,anchorX:l,root:u})=>{let c=uo(Ck),p=bk(),d=!0,h=h6(()=>(d=!1,{id:p,initial:t,isPresent:r,custom:o,onExitComplete:g=>{c.set(g,!0);for(let v of c.values())if(!v)return;n&&n()},register:g=>(c.set(g,!1),()=>c.delete(g))}),[r,c,n]);return a&&d&&(h={...h}),h6(()=>{c.forEach((g,v)=>c.set(v,!1))},[r]),g6.useEffect(()=>{!r&&!c.size&&n&&n()},[r]),s==="popLayout"&&(e=m6(d6,{isPresent:r,anchorX:l,root:u,children:e})),m6(co.Provider,{value:h,children:e})};function Ck(){return new Map}i();import{useContext as xk,useId as wk,useEffect as Sk,useCallback as Dk}from"react";function Rc(e=!0){let t=xk(co);if(t===null)return[!0,null];let{isPresent:r,onExitComplete:n,register:o}=t,a=wk();Sk(()=>{if(e)return o(a)},[e]);let s=Dk(()=>e&&n&&n(a),[a,n,e]);return!r&&n?[!1,s]:[!0]}i();import{Children as Ek,isValidElement as Pk}from"react";var bl=e=>e.key||"";function Ym(e){let t=[];return Ek.forEach(e,r=>{Pk(r)&&t.push(r)}),t}var Cl=({children:e,custom:t,initial:r=!0,onExitComplete:n,presenceAffectsLayout:o=!0,mode:a="sync",propagate:s=!1,anchorX:l="left",root:u})=>{let[c,p]=Rc(s),d=Ak(()=>Ym(e),[e]),h=s&&!c?[]:d.map(bl),g=b6(!0),v=b6(d),m=uo(()=>new Map),[b,y]=C6(d),[x,w]=C6(d);oc(()=>{g.current=!1,v.current=d;for(let S=0;S<x.length;S++){let E=bl(x[S]);h.includes(E)?m.delete(E):m.get(E)!==!0&&m.set(E,!1)}},[x,h.length,h.join("-")]);let D=[];if(d!==b){let S=[...d];for(let E=0;E<x.length;E++){let R=x[E],B=bl(R);h.includes(B)||(S.splice(E,0,R),D.push(R))}return a==="wait"&&D.length&&(S=D),w(Ym(S)),y(d),null}let{forceRender:P}=Rk(aa);return y6(Tk,{children:x.map(S=>{let E=bl(S),R=s&&!c?!1:d===x||h.includes(E),B=()=>{if(m.has(E))m.set(E,!0);else return;let k=!0;m.forEach(j=>{j||(k=!1)}),k&&(P?.(),w(v.current),s&&p?.(),n&&n())};return y6(v6,{isPresent:R,initial:!g.current||r?void 0:!1,custom:t,presenceAffectsLayout:o,mode:a,root:u,onExitComplete:R?void 0:B,anchorX:l,children:S},E)})})};i();import{createContext as Fk}from"react";var Fc=Fk({strict:!1});i();i();var x6={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"]},On={};for(let e in x6)On[e]={isEnabled:t=>x6[e].some(r=>!!t[r])};function w6(e){for(let t in e)On[t]={...On[t],...e[t]}}i();import{jsx as Ik}from"react/jsx-runtime";import{useContext as kk,useMemo as Vk}from"react";i();i();var Bk=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 xl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Bk.has(e)}var T6=e=>!xl(e);function Jm(e){typeof e=="function"&&(T6=t=>t.startsWith("on")?!xl(t):e(t))}try{Jm((P6(),LO(E6)).default)}catch{}function A6(e,t,r){let n={};for(let o in e)o==="values"&&typeof e.values=="object"||(T6(o)||r===!0&&xl(o)||!t&&!xl(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function Zm({children:e,isValidProp:t,...r}){t&&Jm(t),r={...kk(Bn),...r},r.isStatic=uo(()=>r.isStatic);let n=Vk(()=>r,[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion]);return Ik(Bn.Provider,{value:n,children:e})}i();i();import{jsxs as iV,jsx as aV}from"react/jsx-runtime";import{forwardRef as sV,useContext as t0}from"react";i();import{createContext as Nk}from"react";var yo=Nk({});i();import{useContext as Lk,useMemo as $k}from"react";i();i();i();function bo(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}i();function Mn(e){return typeof e=="string"||Array.isArray(e)}i();var Bc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],wl=["initial",...Bc];function li(e){return bo(e.animate)||wl.some(t=>Mn(e[t]))}function Oc(e){return!!(li(e)||e.variants)}function R6(e,t){if(li(e)){let{initial:r,animate:n}=e;return{initial:r===!1||Mn(r)?r:void 0,animate:Mn(n)?n:void 0}}return e.inherit!==!1?t:{}}function B6(e){let{initial:t,animate:r}=R6(e,Lk(yo));return $k(()=>({initial:t,animate:r}),[F6(t),F6(r)])}function F6(e){return Array.isArray(e)?e.join(" "):e}i();import{Fragment as qk,useMemo as Xk,createElement as Yk}from"react";i();import{useMemo as Hk}from"react";i();i();var ui={};function O6(e){for(let t in e)ui[t]=e[t],Zo(t)&&(ui[t].isCSSVariable=!0)}function Mc(e,{layout:t,layoutId:r}){return fr.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!ui[e]||e==="opacity")}i();i();var zk={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Gk=Hr.length;function M6(e,t,r){let n="",o=!0;for(let a=0;a<Gk;a++){let s=Hr[a],l=e[s];if(l===void 0)continue;let u=!0;if(typeof l=="number"?u=l===(s.startsWith("scale")?1:0):u=parseFloat(l)===0,!u||r){let c=gl(l,ii[s]);if(!u){o=!1;let p=zk[s]||s;n+=`${p}(${c}) `}r&&(t[s]=c)}}return n=n.trim(),r?n=r(t,o?"":n):o&&(n="none"),n}function va(e,t,r){let{style:n,vars:o,transformOrigin:a}=e,s=!1,l=!1;for(let u in t){let c=t[u];if(fr.has(u)){s=!0;continue}else if(Zo(u)){o[u]=c;continue}else{let p=gl(c,ii[u]);u.startsWith("origin")?(l=!0,a[u]=p):n[u]=p}}if(t.transform||(s||r?n.transform=M6(t,e.transform,r):n.transform&&(n.transform="none")),l){let{originX:u="50%",originY:c="50%",originZ:p=0}=a;n.transformOrigin=`${u} ${c} ${p}`}}i();var ya=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Qm(e,t,r){for(let n in t)!Be(t[n])&&!Mc(n,r)&&(e[n]=t[n])}function jk({transformTemplate:e},t){return Hk(()=>{let r=ya();return va(r,t,e),Object.assign({},r.vars,r.style)},[t])}function Wk(e,t){let r=e.style||{},n={};return Qm(n,r,e),Object.assign(n,jk(e,t)),n}function I6(e,t){let r={},n=Wk(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r}i();import{useMemo as Kk}from"react";i();i();var _k={offset:"stroke-dashoffset",array:"stroke-dasharray"},Uk={offset:"strokeDashoffset",array:"strokeDasharray"};function k6(e,t,r=1,n=0,o=!0){e.pathLength=1;let a=o?_k:Uk;e[a.offset]=ie.transform(-n);let s=ie.transform(t),l=ie.transform(r);e[a.array]=`${s} ${l}`}function Ic(e,{attrX:t,attrY:r,attrScale:n,pathLength:o,pathSpacing:a=1,pathOffset:s=0,...l},u,c,p){if(va(e,l,c),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h}=e;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=p?.transformBox??"fill-box",delete d.transformBox),t!==void 0&&(d.x=t),r!==void 0&&(d.y=r),n!==void 0&&(d.scale=n),o!==void 0&&k6(d,o,a,s,!1)}i();var kc=()=>({...ya(),attrs:{}});i();var Vc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function V6(e,t,r,n){let o=Kk(()=>{let a=kc();return Ic(a,t,Vc(n),e.transformTemplate,e.style),{...a.attrs,style:{...a.style}}},[t]);if(e.style){let a={};Qm(a,e.style,e),o.style={...a,...o.style}}return o}i();i();var N6=["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 ba(e){return typeof e!="string"||e.includes("-")?!1:!!(N6.indexOf(e)>-1||/[A-Z]/u.test(e))}function L6(e,t,r,{latestValues:n},o,a=!1){let l=(ba(e)?V6:I6)(t,n,o,e),u=A6(t,typeof e=="string",a),c=e!==qk?{...u,...l,ref:r}:{},{children:p}=t,d=Xk(()=>Be(p)?p.get():p,[p]);return Yk(e,{...c,children:d})}i();i();import{useContext as z6}from"react";i();function $6(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,a]=$6(n);t=t(r!==void 0?r:e.custom,o,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[o,a]=$6(n);t=t(r!==void 0?r:e.custom,o,a)}return t}i();function xa(e){return Be(e)?e.get():e}function Jk({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,o){return{latestValues:Zk(r,n,o,e),renderState:t()}}function Zk(e,t,r,n){let o={},a=n(e,{});for(let h in a)o[h]=xa(a[h]);let{initial:s,animate:l}=e,u=li(e),c=Oc(e);t&&c&&!u&&e.inherit!==!1&&(s===void 0&&(s=t.initial),l===void 0&&(l=t.animate));let p=r?r.initial===!1:!1;p=p||s===!1;let d=p?l:s;if(d&&typeof d!="boolean"&&!bo(d)){let h=Array.isArray(d)?d:[d];for(let g=0;g<h.length;g++){let v=Ca(e,h[g]);if(v){let{transitionEnd:m,transition:b,...y}=v;for(let x in y){let w=y[x];if(Array.isArray(w)){let D=p?w.length-1:0;w=w[D]}w!==null&&(o[x]=w)}for(let x in m)o[x]=m[x]}}}return o}var Nc=e=>(t,r)=>{let n=z6(yo),o=z6(co),a=()=>Jk(e,t,n,o);return r?a():uo(a)};i();function wa(e,t,r){let{style:n}=e,o={};for(let a in n)(Be(n[a])||t.style&&Be(t.style[a])||Mc(a,e)||r?.getValue(a)?.liveStyle!==void 0)&&(o[a]=n[a]);return o}var G6=Nc({scrapeMotionValuesFromProps:wa,createRenderState:ya});i();i();function Lc(e,t,r){let n=wa(e,t,r);for(let o in e)if(Be(e[o])||Be(t[o])){let a=Hr.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;n[a]=e[o]}return n}var H6=Nc({scrapeMotionValuesFromProps:Lc,createRenderState:kc});i();var j6=Symbol.for("motionComponentSymbol");i();import{useCallback as Qk}from"react";i();function In(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function W6(e,t,r){return Qk(n=>{n&&e.onMount&&e.onMount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):In(r)&&(r.current=n))},[t])}i();import{useContext as Sl,useRef as e0,useInsertionEffect as rV,useEffect as nV}from"react";i();i();var Sa=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var eV="framerAppearId",$c="data-"+Sa(eV);i();import{createContext as tV}from"react";var zc=tV({});function _6(e,t,r,n,o){let{visualElement:a}=Sl(yo),s=Sl(Fc),l=Sl(co),u=Sl(Bn).reducedMotion,c=e0(null);n=n||s.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:a,props:r,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));let p=c.current,d=Sl(zc);p&&!p.projection&&o&&(p.type==="html"||p.type==="svg")&&oV(c.current,r,o,d);let h=e0(!1);rV(()=>{p&&h.current&&p.update(r,l)});let g=r[$c],v=e0(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return oc(()=>{p&&(h.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),v.current&&p.animationState&&p.animationState.animateChanges())}),nV(()=>{p&&(!v.current&&p.animationState&&p.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),v.current=!1),p.enteringChildren=void 0)}),p}function oV(e,t,r,n){let{layoutId:o,layout:a,drag:s,dragConstraints:l,layoutScroll:u,layoutRoot:c,layoutCrossfade:p}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:U6(e.parent)),e.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:!!s||l&&In(l),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:n,crossfade:p,layoutScroll:u,layoutRoot:c})}function U6(e){if(e)return e.options.allowProjection!==!1?e.projection:U6(e.parent)}function Gc(e,{forwardMotionProps:t=!1}={},r,n){r&&w6(r);let o=ba(e)?H6:G6;function a(l,u){let c,p={...t0(Bn),...l,layoutId:lV(l)},{isStatic:d}=p,h=B6(l),g=o(l,d);if(!d&&sa){uV(p,r);let v=cV(p);c=v.MeasureLayout,h.visualElement=_6(e,g,p,n,v.ProjectionNode)}return iV(yo.Provider,{value:h,children:[c&&h.visualElement?aV(c,{visualElement:h.visualElement,...p}):null,L6(e,l,W6(g,h.visualElement,u),g,d,t)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;let s=sV(a);return s[j6]=e,s}function lV({layoutId:e}){let t=t0(aa).id;return t&&e!==void 0?t+"-"+e:e}function uV(e,t){let r=t0(Fc).strict}function cV(e){let{drag:t,layout:r}=On;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}function K6(e,t){if(typeof Proxy>"u")return Gc;let r=new Map,n=(a,s)=>Gc(a,s,e,t),o=(a,s)=>n(a,s);return new Proxy(o,{get:(a,s)=>s==="create"?n:(r.has(s)||r.set(s,Gc(s,void 0,e,t)),r.get(s))})}i();i();import{Fragment as pV}from"react";i();i();i();function Hc({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function q6({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function X6(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}i();i();function r0(e){return e===void 0||e===1}function jc({scale:e,scaleX:t,scaleY:r}){return!r0(e)||!r0(t)||!r0(r)}function kn(e){return jc(e)||n0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function n0(e){return Y6(e.x)||Y6(e.y)}function Y6(e){return e&&e!=="0%"}function Dl(e,t,r){let n=e-r,o=t*n;return r+o}function J6(e,t,r,n,o){return o!==void 0&&(e=Dl(e,o,n)),Dl(e,r,n)+t}function o0(e,t=0,r=1,n,o){e.min=J6(e.min,t,r,n,o),e.max=J6(e.max,t,r,n,o)}function i0(e,{x:t,y:r}){o0(e.x,t.translate,t.scale,t.originPoint),o0(e.y,r.translate,r.scale,r.originPoint)}var Z6=.999999999999,Q6=1.0000000000001;function t7(e,t,r,n=!1){let o=r.length;if(!o)return;t.x=t.y=1;let a,s;for(let l=0;l<o;l++){a=r[l],s=a.projectionDelta;let{visualElement:u}=a.options;u&&u.props.style&&u.props.style.display==="contents"||(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&ci(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,i0(e,s)),n&&kn(a.latestValues)&&ci(e,a.latestValues))}t.x<Q6&&t.x>Z6&&(t.x=1),t.y<Q6&&t.y>Z6&&(t.y=1)}function Co(e,t){e.min=e.min+t,e.max=e.max+t}function e7(e,t,r,n,o=.5){let a=Ce(e.min,e.max,o);o0(e,t,r,a,n)}function ci(e,t){e7(e.x,t.x,t.scaleX,t.scale,t.originX),e7(e.y,t.y,t.scaleY,t.scale,t.originY)}function a0(e,t){return Hc(X6(e.getBoundingClientRect(),t))}function r7(e,t,r){let n=a0(e,r),{scroll:o}=t;return o&&(Co(n.x,o.offset.x),Co(n.y,o.offset.y)),n}i();i();i();var n7=()=>({translate:0,scale:1,origin:0,originPoint:0}),fi=()=>({x:n7(),y:n7()}),o7=()=>({min:0,max:0}),Ne=()=>({x:o7(),y:o7()});i();i();var El={current:null},Wc={current:!1};function i7(){if(Wc.current=!0,!!sa)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>El.current=e.matches;e.addEventListener("change",t),t()}else El.current=!1}i();var a7=new WeakMap;i();function s7(e,t,r){for(let n in t){let o=t[n],a=r[n];if(Be(o))e.addValue(n,o);else if(Be(a))e.addValue(n,wr(o,{owner:e}));else if(a!==o)if(e.hasValue(n)){let s=e.getValue(n);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{let s=e.getStaticValue(n);e.addValue(n,wr(s!==void 0?s:o,{owner:e}))}}for(let n in r)t[n]===void 0&&e.removeValue(n);return t}var l7=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],_c=class{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:a,visualState:s},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Fn,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.renderScheduledAt=0,this.scheduleRender=()=>{let h=Ze.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,ye.render(this.render,!1,!0))};let{latestValues:u,renderState:c}=s;this.latestValues=u,this.baseTarget={...u},this.initialValues=r.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=l,this.blockInitialAnimation=!!a,this.isControllingVariants=li(r),this.isVariantNode=Oc(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...d}=this.scrapeMotionValuesFromProps(r,{},this);for(let h in d){let g=d[h];u[h]!==void 0&&Be(g)&&g.set(u[h])}}mount(t){this.current=t,a7.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)),Wc.current||i7(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:El.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),qt(this.notifyUpdate),qt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,r){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=fr.has(t);n&&this.onBindTransform&&this.onBindTransform();let o=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ye.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{o(),a&&a(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in On){let r=On[t];if(!r)continue;let{isEnabled:n,Feature:o}=r;if(!this.features[t]&&o&&n(this.props)&&(this.features[t]=new o(this)),this.features[t]){let a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ne()}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<l7.length;n++){let o=l7[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);let a="on"+o,s=t[a];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=s7(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}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=wr(r===null?void 0:r,{owner:this}),this.addValue(t,n)),n}readValue(t,r){let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return n!=null&&(typeof n=="string"&&(_s(n)||Ks(n))?n=parseFloat(n):!qm(n)&&Mt.test(r)&&(n=ml(t,r)),this.setBaseTarget(t,Be(n)?n.get():n)),Be(n)?n.get():n}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){let{initial:r}=this.props,n;if(typeof r=="string"||typeof r=="object"){let a=Ca(this.props,r,this.presenceContext?.custom);a&&(n=a[t])}if(r&&n!==void 0)return n;let o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Be(o)?o:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Tn),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}scheduleRenderMicrotask(){ai.render(this.render)}};var Da=class extends _c{constructor(){super(...arguments),this.KeyframeResolver=hl}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]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Be(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}};i();function Uc(e,{style:t,vars:r},n,o){let a=e.style,s;for(s in t)a[s]=t[s];o?.applyProjectionStyles(a,n);for(s in r)a.setProperty(s,r[s])}function fV(e){return window.getComputedStyle(e)}var Kc=class extends Da{constructor(){super(...arguments),this.type="html",this.renderInstance=Uc}readValueFromInstance(t,r){if(fr.has(r))return this.projection?.isProjecting?ll(r):Am(t,r);{let n=fV(t),o=(Zo(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return a0(t,r)}build(t,r,n){va(t,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return wa(t,r,n)}};i();i();var qc=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"]);i();function u7(e,t,r,n){Uc(e,t,void 0,n);for(let o in t.attrs)e.setAttribute(qc.has(o)?o:Sa(o),t.attrs[o])}var Xc=class extends Da{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ne}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(fr.has(r)){let n=dl(r);return n&&n.default||0}return r=qc.has(r)?r:Sa(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,n){return Lc(t,r,n)}build(t,r,n){Ic(t,r,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,r,n,o){u7(t,r,n,o)}mount(t){this.isSVGTag=Vc(t.tagName),super.mount(t)}};var c7=(e,t)=>ba(e)?new Xc(t):new Kc(t,{allowProjection:e!==pV});i();i();i();i();i();i();function rn(e,t,r){let n=e.getProps();return Ca(n,t,r!==void 0?r:n.custom,e)}i();i();i();var Pl=e=>Array.isArray(e);function dV(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,wr(r))}function mV(e){return Pl(e)?e[e.length-1]||0:e}function f7(e,t){let r=rn(e,t),{transitionEnd:n={},transition:o={},...a}=r||{};a={...a,...n};for(let s in a){let l=mV(a[s]);dV(e,s,l)}}i();i();function p7(e){return!!(Be(e)&&e.add)}function Tl(e,t){let r=e.getValue("willChange");if(p7(r))return r.add(t);if(!r&&Bt.WillChange){let n=new Bt.WillChange("auto");e.addValue("willChange",n),n.add(t)}}i();function Yc(e){return e.props[$c]}i();i();var hV=e=>e!==null;function d7(e,{repeat:t,repeatType:r="loop"},n){let o=e.filter(hV),a=t&&r!=="loop"&&t%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}i();var gV={type:"spring",stiffness:500,damping:25,restSpeed:10},vV=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),yV={type:"keyframes",duration:.8},bV={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},m7=(e,{keyframes:t})=>t.length>2?yV:fr.has(e)?e.startsWith("scale")?vV(t[1]):gV:bV;i();function h7({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:a,repeatType:s,repeatDelay:l,from:u,elapsed:c,...p}){return!!Object.keys(p).length}var Ea=(e,t,r,n={},o,a)=>s=>{let l=oi(n,e)||{},u=l.delay||n.delay||0,{elapsed:c=0}=n;c=c-lt(u);let p={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-c,onUpdate:h=>{t.set(h),l.onUpdate&&l.onUpdate(h)},onComplete:()=>{s(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:a?void 0:o};h7(l)||Object.assign(p,m7(e,p)),p.duration&&(p.duration=lt(p.duration)),p.repeatDelay&&(p.repeatDelay=lt(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let d=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(ha(p),p.delay===0&&(d=!0)),(Bt.instantAnimations||Bt.skipAnimations)&&(d=!0,ha(p),p.delay=0),p.allowFlatten=!l.type&&!l.ease,d&&!a&&t.get()!==void 0){let h=d7(p.keyframes,l);if(h!==void 0){ye.update(()=>{p.onUpdate(h),p.onComplete()});return}}return l.isSync?new Rn(p):new cl(p)};function CV({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function Jc(e,t,{delay:r=0,transitionOverride:n,type:o}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;n&&(a=n);let u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(let p in l){let d=e.getValue(p,e.latestValues[p]??null),h=l[p];if(h===void 0||c&&CV(c,p))continue;let g={delay:r,...oi(a||{},p)},v=d.get();if(v!==void 0&&!d.isAnimating&&!Array.isArray(h)&&h===v&&!g.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){let y=Yc(e);if(y){let x=window.MotionHandoffAnimation(y,p,ye);x!==null&&(g.startTime=x,m=!0)}}Tl(e,p),d.start(Ea(p,d,h,e.shouldReduceMotion&&fl.has(p)?{type:!1}:g,e,m));let b=d.animation;b&&u.push(b)}return s&&Promise.all(u).then(()=>{ye.update(()=>{s&&f7(e,s)})}),u}i();i();function Zc(e,t,r,n=0,o=1){let a=Array.from(e).sort((c,p)=>c.sortNodePosition(p)).indexOf(t),s=e.size,l=(s-1)*n;return typeof r=="function"?r(a,s):o===1?a*n:l-a*n}function Qc(e,t,r={}){let n=rn(e,t,r.type==="exit"?e.presenceContext?.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(o=r.transitionOverride);let a=n?()=>Promise.all(Jc(e,n,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{let{delayChildren:c=0,staggerChildren:p,staggerDirection:d}=o;return xV(e,t,u,c,p,d,r)}:()=>Promise.resolve(),{when:l}=o;if(l){let[u,c]=l==="beforeChildren"?[a,s]:[s,a];return u().then(()=>c())}else return Promise.all([a(),s(r.delay)])}function xV(e,t,r=0,n=0,o=0,a=1,s){let l=[];for(let u of e.variantChildren)u.notify("AnimationStart",t),l.push(Qc(u,t,{...s,delay:r+(typeof n=="function"?0:n)+Zc(e.variantChildren,u,n,o,a)}).then(()=>u.notify("AnimationComplete",t)));return Promise.all(l)}function g7(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let o=t.map(a=>Qc(e,a,r));n=Promise.all(o)}else if(typeof t=="string")n=Qc(e,t,r);else{let o=typeof t=="function"?rn(e,t,r.custom):t;n=Promise.all(Jc(e,o,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}i();function s0(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}i();var wV=wl.length;function l0(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent?l0(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}let t={};for(let r=0;r<wV;r++){let n=wl[r],o=e.props[n];(Mn(o)||o===!1)&&(t[n]=o)}return t}var SV=[...Bc].reverse(),DV=Bc.length;function EV(e){return t=>Promise.all(t.map(({animation:r,options:n})=>g7(e,r,n)))}function y7(e){let t=EV(e),r=v7(),n=!0,o=u=>(c,p)=>{let d=rn(e,p,u==="exit"?e.presenceContext?.custom:void 0);if(d){let{transition:h,transitionEnd:g,...v}=d;c={...c,...v,...g}}return c};function a(u){t=u(e)}function s(u){let{props:c}=e,p=l0(e.parent)||{},d=[],h=new Set,g={},v=1/0;for(let b=0;b<DV;b++){let y=SV[b],x=r[y],w=c[y]!==void 0?c[y]:p[y],D=Mn(w),P=y===u?x.isActive:null;P===!1&&(v=b);let S=w===p[y]&&w!==c[y]&&D;if(S&&n&&e.manuallyAnimateOnMount&&(S=!1),x.protectedKeys={...g},!x.isActive&&P===null||!w&&!x.prevProp||bo(w)||typeof w=="boolean")continue;let E=PV(x.prevProp,w),R=E||y===u&&x.isActive&&!S&&D||b>v&&D,B=!1,k=Array.isArray(w)?w:[w],j=k.reduce(o(y),{});P===!1&&(j={});let{prevResolvedValues:I={}}=x,V={...I,...j},N=Q=>{R=!0,h.has(Q)&&(B=!0,h.delete(Q)),x.needsAnimating[Q]=!0;let X=e.getValue(Q);X&&(X.liveStyle=!1)};for(let Q in V){let X=j[Q],G=I[Q];if(g.hasOwnProperty(Q))continue;let re=!1;Pl(X)&&Pl(G)?re=!s0(X,G):re=X!==G,re?X!=null?N(Q):h.add(Q):X!==void 0&&h.has(Q)?N(Q):x.protectedKeys[Q]=!0}x.prevProp=w,x.prevResolvedValues=j,x.isActive&&(g={...g,...j}),n&&e.blockInitialAnimation&&(R=!1);let H=S&&E;R&&(!H||B)&&d.push(...k.map(Q=>{let X={type:y};if(typeof Q=="string"&&n&&!H&&e.manuallyAnimateOnMount&&e.parent){let{parent:G}=e,re=rn(G,Q);if(G.enteringChildren&&re){let{delayChildren:de}=re.transition||{};X.delay=Zc(G.enteringChildren,e,de)}}return{animation:Q,options:X}}))}if(h.size){let b={};if(typeof c.initial!="boolean"){let y=rn(e,Array.isArray(c.initial)?c.initial[0]:c.initial);y&&y.transition&&(b.transition=y.transition)}h.forEach(y=>{let x=e.getBaseTarget(y),w=e.getValue(y);w&&(w.liveStyle=!0),b[y]=x??null}),d.push({animation:b})}let m=!!d.length;return n&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,m?t(d):Promise.resolve()}function l(u,c){if(r[u].isActive===c)return Promise.resolve();e.variantChildren?.forEach(d=>d.animationState?.setActive(u,c)),r[u].isActive=c;let p=s(u);for(let d in r)r[d].protectedKeys={};return p}return{animateChanges:s,setActive:l,setAnimateFunction:a,getState:()=>r,reset:()=>{r=v7(),n=!0}}}function PV(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!s0(t,e):!1}function pi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function v7(){return{animate:pi(!0),whileInView:pi(),whileHover:pi(),whileTap:pi(),whileDrag:pi(),whileFocus:pi(),exit:pi()}}i();var ht=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};var ef=class extends ht{constructor(t){super(t),t.animationState||(t.animationState=y7(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();bo(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}};i();var TV=0,tf=class extends ht{constructor(){super(...arguments),this.id=TV++}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,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),t&&(this.unmount=t(this.id))}unmount(){}};var b7={animation:{Feature:ef},exit:{Feature:tf}};i();i();i();i();function Vn(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}i();i();function Nn(e){return{point:{x:e.pageX,y:e.pageY}}}var C7=e=>t=>si(t)&&e(t,Nn(t));function xo(e,t,r,n){return Vn(e,t,C7(r),n)}i();var D7=1e-4,AV=1-D7,RV=1+D7,E7=.01,FV=0-E7,BV=0+E7;function ut(e){return e.max-e.min}function P7(e,t,r){return Math.abs(e-t)<=r}function x7(e,t,r,n=.5){e.origin=n,e.originPoint=Ce(t.min,t.max,e.origin),e.scale=ut(r)/ut(t),e.translate=Ce(r.min,r.max,e.origin)-e.originPoint,(e.scale>=AV&&e.scale<=RV||isNaN(e.scale))&&(e.scale=1),(e.translate>=FV&&e.translate<=BV||isNaN(e.translate))&&(e.translate=0)}function Pa(e,t,r,n){x7(e.x,t.x,r.x,n?n.originX:void 0),x7(e.y,t.y,r.y,n?n.originY:void 0)}function w7(e,t,r){e.min=r.min+t.min,e.max=e.min+ut(t)}function T7(e,t,r){w7(e.x,t.x,r.x),w7(e.y,t.y,r.y)}function S7(e,t,r){e.min=t.min-r.min,e.max=e.min+ut(t)}function Ta(e,t,r){S7(e.x,t.x,r.x),S7(e.y,t.y,r.y)}i();function Xt(e){return[e("x"),e("y")]}i();var rf=({current:e})=>e?e.ownerDocument.defaultView:null;i();i();var A7=(e,t)=>Math.abs(e-t);function R7(e,t){let r=A7(e.x,t.x),n=A7(e.y,t.y);return Math.sqrt(r**2+n**2)}var Aa=class{constructor(t,r,{transformPagePoint:n,contextWindow:o=window,dragSnapToOrigin:a=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let h=c0(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,v=R7(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!v)return;let{point:m}=h,{timestamp:b}=Je;this.history.push({...m,timestamp:b});let{onStart:y,onMove:x}=this.handlers;g||(y&&y(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,h)},this.handlePointerMove=(h,g)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=u0(g,this.transformPagePoint),ye.update(this.updatePoint,!0)},this.handlePointerUp=(h,g)=>{this.end();let{onEnd:v,onSessionEnd:m,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let y=c0(h.type==="pointercancel"?this.lastMoveEventInfo:u0(g,this.transformPagePoint),this.history);this.startEvent&&v&&v(h,y),m&&m(h,y)},!si(t))return;this.dragSnapToOrigin=a,this.handlers=r,this.transformPagePoint=n,this.distanceThreshold=s,this.contextWindow=o||window;let l=Nn(t),u=u0(l,this.transformPagePoint),{point:c}=u,{timestamp:p}=Je;this.history=[{...c,timestamp:p}];let{onSessionStart:d}=r;d&&d(t,c0(u,this.history)),this.removeListeners=$r(xo(this.contextWindow,"pointermove",this.handlePointerMove),xo(this.contextWindow,"pointerup",this.handlePointerUp),xo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),qt(this.updatePoint)}};function u0(e,t){return t?{point:t(e.point)}:e}function F7(e,t){return{x:e.x-t.x,y:e.y-t.y}}function c0({point:e},t){return{point:e,delta:F7(e,B7(t)),offset:F7(e,OV(t)),velocity:MV(t,.1)}}function OV(e){return e[0]}function B7(e){return e[e.length-1]}function MV(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,o=B7(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>lt(t)));)r--;if(!n)return{x:0,y:0};let a=Et(o.timestamp-n.timestamp);if(a===0)return{x:0,y:0};let s={x:(o.x-n.x)/a,y:(o.y-n.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}i();function V7(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?Ce(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?Ce(r,e,n.max):Math.min(e,r)),e}function O7(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 N7(e,{top:t,left:r,bottom:n,right:o}){return{x:O7(e.x,r,o),y:O7(e.y,t,n)}}function M7(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 L7(e,t){return{x:M7(e.x,t.x),y:M7(e.y,t.y)}}function $7(e,t){let r=.5,n=ut(e),o=ut(t);return o>n?r=Qr(t.min,t.max-n,e.min):n>o&&(r=Qr(e.min,e.max-o,t.min)),mt(0,1,r)}function z7(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 nf=.35;function G7(e=nf){return e===!1?e=0:e===!0&&(e=nf),{x:I7(e,"left","right"),y:I7(e,"top","bottom")}}function I7(e,t,r){return{min:k7(e,t),max:k7(e,r)}}function k7(e,t){return typeof e=="number"?e:e[t]||0}var IV=new WeakMap,af=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ne(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:r=!1,distanceThreshold:n}={}){let{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;let a=d=>{let{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Nn(d).point)},s=(d,h)=>{let{drag:g,dragPropagation:v,onDragStart:m}=this.getProps();if(g&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Hm(g),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Xt(y=>{let x=this.getAxisMotionValue(y).get()||0;if(Ot.test(x)){let{projection:w}=this.visualElement;if(w&&w.layout){let D=w.layout.layoutBox[y];D&&(x=ut(D)*(parseFloat(x)/100))}}this.originPoint[y]=x}),m&&ye.postRender(()=>m(d,h)),Tl(this.visualElement,"transform");let{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},l=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h;let{dragPropagation:g,dragDirectionLock:v,onDirectionLock:m,onDrag:b}=this.getProps();if(!g&&!this.openDragLock)return;let{offset:y}=h;if(v&&this.currentDirection===null){this.currentDirection=kV(y),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",h.point,y),this.updateAxis("y",h.point,y),this.visualElement.render(),b&&b(d,h)},u=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h,this.stop(d,h),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>Xt(d=>this.getAnimationState(d)==="paused"&&this.getAxisMotionValue(d).animation?.play()),{dragSnapToOrigin:p}=this.getProps();this.panSession=new Aa(t,{onSessionStart:a,onStart:s,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,distanceThreshold:n,contextWindow:rf(this.visualElement)})}stop(t,r){let n=t||this.latestPointerEvent,o=r||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!o||!n)return;let{velocity:s}=o;this.startAnimation(s);let{onDragEnd:l}=this.getProps();l&&ye.postRender(()=>l(n,o))}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.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){let{drag:o}=this.getProps();if(!n||!of(t,o,this.currentDirection))return;let a=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=V7(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&In(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=N7(n.layoutBox,t):this.constraints=!1,this.elastic=G7(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Xt(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=z7(n.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!In(t))return!1;let n=t.current;xr(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let a=r7(n,o.root,this.visualElement.getTransformPagePoint()),s=L7(o.layout.layoutBox,a);if(r){let l=r(q6(s));this.hasMutatedConstraints=!!l,l&&(s=Hc(l))}return s}startAnimation(t){let{drag:r,dragMomentum:n,dragElastic:o,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:l}=this.getProps(),u=this.constraints||{},c=Xt(p=>{if(!of(p,r,this.currentDirection))return;let d=u&&u[p]||{};s&&(d={min:0,max:0});let h=o?200:1e6,g=o?40:1e7,v={type:"inertia",velocity:n?t[p]:0,bounceStiffness:h,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(p,v)});return Promise.all(c).then(l)}startAxisValueAnimation(t,r){let n=this.getAxisMotionValue(t);return Tl(this.visualElement,t),n.start(Ea(t,n,0,r,this.visualElement,!1))}stopAnimation(){Xt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Xt(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.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){Xt(r=>{let{drag:n}=this.getProps();if(!of(r,n,this.currentDirection))return;let{projection:o}=this.visualElement,a=this.getAxisMotionValue(r);if(o&&o.layout){let{min:s,max:l}=o.layout.layoutBox[r];a.set(t[r]-Ce(s,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!In(r)||!n||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};Xt(s=>{let l=this.getAxisMotionValue(s);if(l&&this.constraints!==!1){let u=l.get();o[s]=$7({min:u,max:u},this.constraints[s])}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Xt(s=>{if(!of(s,t,null))return;let l=this.getAxisMotionValue(s),{min:u,max:c}=this.constraints[s];l.set(Ce(u,c,o[s]))})}addListeners(){if(!this.visualElement.current)return;IV.set(this.visualElement,this);let t=this.visualElement.current,r=xo(t,"pointerdown",u=>{let{drag:c,dragListener:p=!0}=this.getProps();c&&p&&this.start(u)}),n=()=>{let{dragConstraints:u}=this.getProps();In(u)&&u.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),ye.read(n);let s=Vn(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",(({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Xt(p=>{let d=this.getAxisMotionValue(p);d&&(this.originPoint[p]+=u[p].translate,d.set(d.get()+u[p].translate))}),this.visualElement.render())}));return()=>{s(),r(),a(),l&&l()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:s=nf,dragMomentum:l=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:a,dragElastic:s,dragMomentum:l}}};function of(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function kV(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var sf=class extends ht{constructor(t){super(t),this.removeGroupControls=_e,this.removeListeners=_e,this.controls=new af(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()}};i();var H7=e=>(t,r)=>{e&&ye.postRender(()=>e(t,r))},lf=class extends ht{constructor(){super(...arguments),this.removePointerDownListener=_e}onPointerDown(t){this.session=new Aa(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rf(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:H7(t),onStart:H7(r),onMove:n,onEnd:(a,s)=>{delete this.session,o&&ye.postRender(()=>o(a,s))}}}mount(){this.removePointerDownListener=xo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};i();import{jsx as VV}from"react/jsx-runtime";import{useContext as _7,Component as NV}from"react";i();var Ra={hasAnimatedSinceResize:!0,hasEverUpdated:!1};i();function j7(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Fa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ie.test(e))e=parseFloat(e);else return e;let r=j7(e,t.target.x),n=j7(e,t.target.y);return`${r}% ${n}%`}};i();var W7={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,o=Mt.parse(e);if(o.length>5)return n;let a=Mt.createTransformer(e),s=typeof o[0]!="number"?1:0,l=r.x.scale*t.x,u=r.y.scale*t.y;o[0+s]/=l,o[1+s]/=u;let c=Ce(l,u,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),a(o)}};var f0=!1,p0=class extends NV{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:a}=t;O6(LV),a&&(r.group&&r.group.add(a),n&&n.register&&o&&n.register(a),f0&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Ra.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:n,drag:o,isPresent:a}=this.props,{projection:s}=n;return s&&(s.isPresent=a,f0=!0,o||t.layoutDependency!==r||r===void 0||t.isPresent!==a?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||ye.postRender(()=>{let l=s.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ai.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;f0=!0,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 uf(e){let[t,r]=Rc(),n=_7(aa);return VV(p0,{...e,layoutGroup:n,switchLayoutGroup:_7(zc),isPresent:t,safeToRemove:r})}var LV={borderRadius:{...Fa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Fa,borderTopRightRadius:Fa,borderBottomLeftRadius:Fa,borderBottomRightRadius:Fa,boxShadow:W7};i();i();i();function U7(e,t,r){let n=Be(e)?e:wr(e);return n.start(Ea("",n,t,r)),n.animation}i();i();var K7=(e,t)=>e.depth-t.depth;var cf=class{constructor(){this.children=[],this.isDirty=!1}add(t){Xo(this.children,t),this.isDirty=!0}remove(t){Yo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(K7),this.isDirty=!1,this.children.forEach(t)}};i();function q7(e,t){let r=Ze.now(),n=({timestamp:o})=>{let a=o-r;a>=t&&(qt(n),e(a-t))};return ye.setup(n,!0),()=>qt(n)}i();var Z7=["TopLeft","TopRight","BottomLeft","BottomRight"],$V=Z7.length,X7=e=>typeof e=="string"?parseFloat(e):e,Y7=e=>typeof e=="number"||ie.test(e);function Q7(e,t,r,n,o,a){o?(e.opacity=Ce(0,r.opacity??1,zV(n)),e.opacityExit=Ce(t.opacity??1,0,GV(n))):a&&(e.opacity=Ce(t.opacity??1,r.opacity??1,n));for(let s=0;s<$V;s++){let l=`border${Z7[s]}Radius`,u=J7(t,l),c=J7(r,l);if(u===void 0&&c===void 0)continue;u||(u=0),c||(c=0),u===0||c===0||Y7(u)===Y7(c)?(e[l]=Math.max(Ce(X7(u),X7(c),n),0),(Ot.test(c)||Ot.test(u))&&(e[l]+="%")):e[l]=c}(t.rotate||r.rotate)&&(e.rotate=Ce(t.rotate||0,r.rotate||0,n))}function J7(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var zV=ev(0,.5,Zs),GV=ev(.5,.95,_e);function ev(e,t,r){return n=>n<e?0:n>t?1:r(Qr(e,t,n))}i();function tv(e,t){e.min=t.min,e.max=t.max}function pr(e,t){tv(e.x,t.x),tv(e.y,t.y)}function d0(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}i();function rv(e,t,r,n,o){return e-=t,e=Dl(e,1/r,n),o!==void 0&&(e=Dl(e,1/o,n)),e}function HV(e,t=0,r=1,n=.5,o,a=e,s=e){if(Ot.test(t)&&(t=parseFloat(t),t=Ce(s.min,s.max,t/100)-s.min),typeof t!="number")return;let l=Ce(a.min,a.max,n);e===a&&(l-=t),e.min=rv(e.min,t,r,l,o),e.max=rv(e.max,t,r,l,o)}function nv(e,t,[r,n,o],a,s){HV(e,t[r],t[n],t[o],t.scale,a,s)}var jV=["x","scaleX","originX"],WV=["y","scaleY","originY"];function m0(e,t,r,n){nv(e.x,t,jV,r?r.x:void 0,n?n.x:void 0),nv(e.y,t,WV,r?r.y:void 0,n?n.y:void 0)}i();function ov(e){return e.translate===0&&e.scale===1}function h0(e){return ov(e.x)&&ov(e.y)}function iv(e,t){return e.min===t.min&&e.max===t.max}function sv(e,t){return iv(e.x,t.x)&&iv(e.y,t.y)}function av(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function g0(e,t){return av(e.x,t.x)&&av(e.y,t.y)}function v0(e){return ut(e.x)/ut(e.y)}function y0(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}i();var ff=class{constructor(){this.members=[]}add(t){Xo(this.members,t),t.scheduleRender()}remove(t){if(Yo(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){let r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){let a=this.members[o];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1}promote(t,r){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};i();function lv(e,t,r){let n="",o=e.x.translate/t.x,a=e.y.translate/t.y,s=r?.z||0;if((o||a||s)&&(n=`translate3d(${o}px, ${a}px, ${s}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:c,rotate:p,rotateX:d,rotateY:h,skewX:g,skewY:v}=r;c&&(n=`perspective(${c}px) ${n}`),p&&(n+=`rotate(${p}deg) `),d&&(n+=`rotateX(${d}deg) `),h&&(n+=`rotateY(${h}deg) `),g&&(n+=`skewX(${g}deg) `),v&&(n+=`skewY(${v}deg) `)}let l=e.x.scale*t.x,u=e.y.scale*t.y;return(l!==1||u!==1)&&(n+=`scale(${l}, ${u})`),n||"none"}var di={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},b0=["","X","Y","Z"],_V=1e3,UV=0;function C0(e,t,r,n){let{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function vv(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let r=Yc(t);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:o,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",ye,!(o||a))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&vv(n)}function pf({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},l=t?.()){this.id=UV++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Kt.value&&(di.nodes=di.calculatedTargetDeltas=di.calculatedProjections=0),this.nodes.forEach(XV),this.nodes.forEach(QV),this.nodes.forEach(eN),this.nodes.forEach(YV),Kt.addProjectionMetrics&&Kt.addProjectionMetrics(di)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new cf)}addEventListener(s,l){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Tn),this.eventHandlers.get(s).add(l)}notifyListeners(s,...l){let u=this.eventHandlers.get(s);u&&u.notify(...l)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=yl(s)&&!Km(s),this.instance=s;let{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(u||l)&&(this.isLayoutDirty=!0),e){let p,d=0,h=()=>this.root.updateBlockedByResize=!1;ye.read(()=>{d=window.innerWidth}),e(s,()=>{let g=window.innerWidth;g!==d&&(d=g,this.root.updateBlockedByResize=!0,p&&p(),p=q7(h,250),Ra.hasAnimatedSinceResize&&(Ra.hasAnimatedSinceResize=!1,this.nodes.forEach(fv)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:d,hasRelativeLayoutChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let v=this.options.transition||c.getDefaultTransition()||iN,{onLayoutAnimationStart:m,onLayoutAnimationComplete:b}=c.getProps(),y=!this.targetLayout||!g0(this.targetLayout,g),x=!d&&h;if(this.options.layoutRoot||this.resumeFrom||x||d&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let w={...oi(v,"layout"),onPlay:m,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(p,x)}else d||fv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}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,this.eventHandlers.clear(),qt(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(tN),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.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&vv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){let d=this.path[p];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}let{layoutId:l,layout:u}=this.options;if(l===void 0&&!u)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(uv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(cv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ZV),this.nodes.forEach(KV),this.nodes.forEach(qV)):this.nodes.forEach(cv),this.clearAllSnapshots();let l=Ze.now();Je.delta=mt(0,1e3/60,l-Je.timestamp),Je.timestamp=l,Je.isProcessing=!0,nl.update.process(Je),nl.preRender.process(Je),nl.render.process(Je),Je.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ai.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(JV),this.sharedNodes.forEach(rN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ye.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ye.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ut(this.snapshot.measuredBox.x)&&!ut(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u<this.path.length;u++)this.path[u].updateScroll();let s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ne(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(l=!1),l&&this.instance){let u=n(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:u,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:u}}}resetTransform(){if(!o)return;let s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!h0(this.projectionDelta),u=this.getTransformTemplate(),c=u?u(this.latestValues,""):void 0,p=c!==this.prevTransformTemplateValue;s&&this.instance&&(l||kn(this.latestValues)||p)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let l=this.measurePageBox(),u=this.removeElementScroll(l);return s&&(u=this.removeTransform(u)),aN(u),{animationId:this.root.animationId,measuredBox:l,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:s}=this.options;if(!s)return Ne();let l=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(sN))){let{scroll:c}=this.root;c&&(Co(l.x,c.offset.x),Co(l.y,c.offset.y))}return l}removeElementScroll(s){let l=Ne();if(pr(l,s),this.scroll?.wasRoot)return l;for(let u=0;u<this.path.length;u++){let c=this.path[u],{scroll:p,options:d}=c;c!==this.root&&p&&d.layoutScroll&&(p.wasRoot&&pr(l,s),Co(l.x,p.offset.x),Co(l.y,p.offset.y))}return l}applyTransform(s,l=!1){let u=Ne();pr(u,s);for(let c=0;c<this.path.length;c++){let p=this.path[c];!l&&p.options.layoutScroll&&p.scroll&&p!==p.root&&ci(u,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),kn(p.latestValues)&&ci(u,p.latestValues)}return kn(this.latestValues)&&ci(u,this.latestValues),u}removeTransform(s){let l=Ne();pr(l,s);for(let u=0;u<this.path.length;u++){let c=this.path[u];if(!c.instance||!kn(c.latestValues))continue;jc(c.latestValues)&&c.updateSnapshot();let p=Ne(),d=c.measurePageBox();pr(p,d),m0(l,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,p)}return kn(this.latestValues)&&m0(l,this.latestValues),l}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!==Je.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let u=!!this.resumingFrom||this!==l;if(!(s||u&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:p,layoutId:d}=this.options;if(!(!this.layout||!(p||d))){if(this.resolvedRelativeTargetAt=Je.timestamp,!this.targetDelta&&!this.relativeTarget){let h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ne(),this.relativeTargetOrigin=Ne(),Ta(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),pr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ne(),this.targetWithTransforms=Ne()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),T7(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):pr(this.target,this.layout.layoutBox),i0(this.target,this.targetDelta)):pr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ne(),this.relativeTargetOrigin=Ne(),Ta(this.relativeTargetOrigin,this.target,h.target),pr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Kt.value&&di.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||jc(this.parent.latestValues)||n0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let s=this.getLead(),l=!!this.resumingFrom||this!==s,u=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===Je.timestamp&&(u=!1),u)return;let{layout:c,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||p))return;pr(this.layoutCorrected,this.layout.layoutBox);let d=this.treeScale.x,h=this.treeScale.y;t7(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=Ne());let{target:g}=s;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(d0(this.prevProjectionDelta.x,this.projectionDelta.x),d0(this.prevProjectionDelta.y,this.projectionDelta.y)),Pa(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==h||!y0(this.projectionDelta.x,this.prevProjectionDelta.x)||!y0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),Kt.value&&di.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.visualElement?.scheduleRender(),s){let l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=fi(),this.projectionDelta=fi(),this.projectionDeltaWithTransform=fi()}setAnimationOrigin(s,l=!1){let u=this.snapshot,c=u?u.latestValues:{},p={...this.latestValues},d=fi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;let h=Ne(),g=u?u.source:void 0,v=this.layout?this.layout.source:void 0,m=g!==v,b=this.getStack(),y=!b||b.members.length<=1,x=!!(m&&!y&&this.options.crossfade===!0&&!this.path.some(oN));this.animationProgress=0;let w;this.mixTargetDelta=D=>{let P=D/1e3;pv(d.x,s.x,P),pv(d.y,s.y,P),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ta(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),nN(this.relativeTarget,this.relativeTargetOrigin,h,P),w&&sv(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Ne()),pr(w,this.relativeTarget)),m&&(this.animationValues=p,Q7(p,c,this.latestValues,P,x,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(qt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ye.update(()=>{Ra.hasAnimatedSinceResize=!0,zr.layout++,this.motionValue||(this.motionValue=wr(0)),this.currentAnimation=U7(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),s.onUpdate&&s.onUpdate(l)},onStop:()=>{zr.layout--},onComplete:()=>{zr.layout--,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(_V),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:l,target:u,layout:c,latestValues:p}=s;if(!(!l||!u||!c)){if(this!==s&&this.layout&&c&&yv(this.options.animationType,this.layout.layoutBox,c.layoutBox)){u=this.target||Ne();let d=ut(this.layout.layoutBox.x);u.x.min=s.target.x.min,u.x.max=u.x.min+d;let h=ut(this.layout.layoutBox.y);u.y.min=s.target.y.min,u.y.max=u.y.min+h}pr(l,u),ci(l,p),Pa(this.projectionDeltaWithTransform,this.layoutCorrected,l,p)}}registerSharedNode(s,l){this.sharedNodes.has(s)||this.sharedNodes.set(s,new ff),this.sharedNodes.get(s).add(l);let c=l.options.initialPromotionConfig;l.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(l):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){let{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:l,preserveFollowOpacity:u}={}){let c=this.getStack();c&&c.promote(this,u),s&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let l=!1,{latestValues:u}=s;if((u.z||u.rotate||u.rotateX||u.rotateY||u.rotateZ||u.skewX||u.skewY)&&(l=!0),!l)return;let c={};u.z&&C0("z",s,c,this.animationValues);for(let p=0;p<b0.length;p++)C0(`rotate${b0[p]}`,s,c,this.animationValues),C0(`skew${b0[p]}`,s,c,this.animationValues);s.render();for(let p in c)s.setStaticValue(p,c[p]),this.animationValues&&(this.animationValues[p]=c[p]);s.scheduleRender()}applyProjectionStyles(s,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}let u=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=xa(l?.pointerEvents)||"",s.transform=u?u(this.latestValues,""):"none";return}let c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=xa(l?.pointerEvents)||""),this.hasProjected&&!kn(this.latestValues)&&(s.transform=u?u({},""):"none",this.hasProjected=!1);return}s.visibility="";let p=c.animationValues||c.latestValues;this.applyTransformsToTarget();let d=lv(this.projectionDeltaWithTransform,this.treeScale,p);u&&(d=u(p,d)),s.transform=d;let{x:h,y:g}=this.projectionDelta;s.transformOrigin=`${h.origin*100}% ${g.origin*100}% 0`,c.animationValues?s.opacity=c===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:s.opacity=c===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(let v in ui){if(p[v]===void 0)continue;let{correct:m,applyTo:b,isCSSVariable:y}=ui[v],x=d==="none"?p[v]:m(p[v],c);if(b){let w=b.length;for(let D=0;D<w;D++)s[b[D]]=x}else y?this.options.visualElement.renderState.vars[v]=x:s[v]=x}this.options.layoutId&&(s.pointerEvents=c===this?xa(l?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(uv),this.root.sharedNodes.clear()}}}function KV(e){e.updateLayout()}function qV(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:o}=e.options,a=t.source!==e.layout.source;o==="size"?Xt(p=>{let d=a?t.measuredBox[p]:t.layoutBox[p],h=ut(d);d.min=r[p].min,d.max=d.min+h}):yv(o,t.layoutBox,r)&&Xt(p=>{let d=a?t.measuredBox[p]:t.layoutBox[p],h=ut(r[p]);d.max=d.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+h)});let s=fi();Pa(s,r,t.layoutBox);let l=fi();a?Pa(l,e.applyTransform(n,!0),t.measuredBox):Pa(l,r,t.layoutBox);let u=!h0(s),c=!1;if(!e.resumeFrom){let p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){let{snapshot:d,layout:h}=p;if(d&&h){let g=Ne();Ta(g,t.layoutBox,d.layoutBox);let v=Ne();Ta(v,r,h.layoutBox),g0(g,v)||(c=!0),p.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=g,e.relativeParent=p)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:s,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function XV(e){Kt.value&&di.nodes++,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 YV(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function JV(e){e.clearSnapshot()}function uv(e){e.clearMeasurements()}function cv(e){e.isLayoutDirty=!1}function ZV(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function fv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function QV(e){e.resolveTargetDelta()}function eN(e){e.calcProjection()}function tN(e){e.resetSkewAndRotation()}function rN(e){e.removeLeadSnapshot()}function pv(e,t,r){e.translate=Ce(t.translate,0,r),e.scale=Ce(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function dv(e,t,r,n){e.min=Ce(t.min,r.min,n),e.max=Ce(t.max,r.max,n)}function nN(e,t,r,n){dv(e.x,t.x,r.x,n),dv(e.y,t.y,r.y,n)}function oN(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var iN={duration:.45,ease:[.4,0,.1,1]},mv=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hv=mv("applewebkit/")&&!mv("chrome/")?Math.round:_e;function gv(e){e.min=hv(e.min),e.max=hv(e.max)}function aN(e){gv(e.x),gv(e.y)}function yv(e,t,r){return e==="position"||e==="preserve-aspect"&&!P7(v0(t),v0(r),.2)}function sN(e){return e!==e.root&&e.scroll?.wasRoot}i();var bv=pf({attachResizeListener:(e,t)=>Vn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var x0={current:void 0},df=pf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!x0.current){let e=new bv({});e.mount(window),e.setOptions({layoutScroll:!0}),x0.current=e}return x0.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var Cv={pan:{Feature:lf},drag:{Feature:sf,ProjectionNode:df,MeasureLayout:uf}};i();i();function xv(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover",r==="Start");let o="onHover"+r,a=n[o];a&&ye.postRender(()=>a(t,Nn(t)))}var mf=class extends ht{mount(){let{current:t}=this.node;t&&(this.unmount=jm(t,(r,n)=>(xv(this.node,n,"Start"),o=>xv(this.node,o,"End"))))}unmount(){}};i();var hf=class extends ht{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=$r(Vn(this.node.current,"focus",()=>this.onFocus()),Vn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};i();function wv(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap",r==="Start");let o="onTap"+(r==="End"?"":r),a=n[o];a&&ye.postRender(()=>a(t,Nn(t)))}var gf=class extends ht{mount(){let{current:t}=this.node;t&&(this.unmount=Um(t,(r,n)=>(wv(this.node,n,"Start"),(o,{success:a})=>wv(this.node,o,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};i();i();var S0=new WeakMap,w0=new WeakMap,lN=e=>{let t=S0.get(e.target);t&&t(e)},uN=e=>{e.forEach(lN)};function cN({root:e,...t}){let r=e||document;w0.has(r)||w0.set(r,{});let n=w0.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(uN,{root:e,...t})),n[o]}function Sv(e,t,r){let n=cN(t);return S0.set(e,r),n.observe(e),()=>{S0.delete(e),n.unobserve(e)}}var fN={some:0,all:1},vf=class extends ht{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:o="some",once:a}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:fN[o]},l=u=>{let{isIntersecting:c}=u;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:p,onViewportLeave:d}=this.node.getProps(),h=c?p:d;h&&h(u)};return Sv(this.node.current,s,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:r}=this.node;["amount","margin","root"].some(pN(t,r))&&this.startObserver()}unmount(){}};function pN({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var Dv={inView:{Feature:vf},tap:{Feature:gf},focus:{Feature:hf},hover:{Feature:mf}};i();var Ev={layout:{ProjectionNode:df,MeasureLayout:uf}};var Pv={...b7,...Dv,...Cv,...Ev};var Al=K6(Pv,c7);i();import{ThemeProvider as hN}from"styled-components";i();i();i();var gt={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:"InterVariable, 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 dN=100,mN=200,Tv=300,Rl=500,Av={breakpoint:{...gt.breakpoint},color:{...gt.color},duration:{...gt.duration},easing:{...gt.easing},font:{family:{default:"InterVariable, Helvetica, Arial, sans-serif",monospace:gt.font.family.monospace},size:gt.font.size,weight:Object.fromEntries(Object.entries(gt.font.weight).map(([e,t])=>[e,Number(t)]))},shadow:{...gt.shadow},spacing:{...gt.spacing},zIndex:{ModalCloseButton:dN,Backdrop:mN,ActionModal:Tv,FullScreenModal:Tv,RangeSelector:Rl,MenuComponent:Rl,Toast:Rl,Tooltip:Rl,BackdropElevated:Rl},button:{borderRadius:"4px"},buttonGroup:{gap:"16px"},headline:{family:gt.font.family,headline1:{weight:gt.font.weight.bold},headline2:{weight:gt.font.weight.medium},headline3:{weight:gt.font.weight.bold}},paper:{elevation0:gt.shadow.elevation0,elevation1:gt.shadow.elevation1,elevation2:gt.shadow.elevation2}};import{jsx as gN}from"react/jsx-runtime";var Rv=({children:e,theme:t})=>{let r=zs(Av,t);return gN(hN,{theme:r,children:e})};i();import{createContext as vN,useContext as yN}from"react";var Fv=vN({}),Bv=()=>yN(Fv),Ov=Fv.Provider;i();import{useState as hi,useCallback as sL}from"react";i();import{memo as YN,useState as JN,useEffect as Zb,useCallback as ZN,Fragment as QN}from"react";import{createPortal as eL}from"react-dom";import eC from"styled-components";i();i();i();import{useTheme as bN}from"styled-components";var Ln=()=>bN();i();i();i();i();import{useState as xN,useLayoutEffect as wN}from"react";i();function CN(e,t,r){var n=r||{},o=n.noTrailing,a=o===void 0?!1:o,s=n.noLeading,l=s===void 0?!1:s,u=n.debounceMode,c=u===void 0?void 0:u,p,d=!1,h=0;function g(){p&&clearTimeout(p)}function v(b){var y=b||{},x=y.upcomingOnly,w=x===void 0?!1:x;g(),d=!w}function m(){for(var b=arguments.length,y=new Array(b),x=0;x<b;x++)y[x]=arguments[x];var w=this,D=Date.now()-h;if(d)return;function P(){h=Date.now(),t.apply(w,y)}function S(){p=void 0}!l&&c&&!p&&P(),g(),c===void 0&&D>e?l?(h=Date.now(),a||(p=setTimeout(c?S:P,e))):P():a!==!0&&(p=setTimeout(c?S:P,c===void 0?e-D:e))}return m.cancel=v,m}function Fl(e,t,r){var n=r||{},o=n.atBegin,a=o===void 0?!1:o;return CN(e,t,{debounceMode:a!==!1})}i();i();var yf=()=>typeof window<"u"&&typeof document<"u";var D0=(e=0)=>{let[t,r]=xN({width:yf()?window.innerWidth:0,height:yf()?window.innerHeight:0});return wN(()=>{let n=Fl(e,()=>r({width:window.innerWidth,height:window.innerHeight}));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),t};var SN=16,$n=()=>{let e=D0().width/SN,t=Ln(),r=!0,n=e>=Number.parseFloat(t.breakpoint.sm),o=e>=Number.parseFloat(t.breakpoint.md),a=e>=Number.parseFloat(t.breakpoint.lg),s=e>=Number.parseFloat(t.breakpoint.xl),l=e<Number.parseFloat(t.breakpoint.sm),u=e<Number.parseFloat(t.breakpoint.md),c=e<Number.parseFloat(t.breakpoint.lg),p=e<Number.parseFloat(t.breakpoint.xl);return{isXsAndUp:r,isSmAndUp:n,isMdAndUp:o,isLgAndUp:a,isXlAndUp:s,isXsAndDown:l,isSmAndDown:u,isMdAndDown:c,isLgAndDown:p,isXlAndDown:!0}};import{Fragment as TN,jsx as E0}from"react/jsx-runtime";var P0=24,DN={bottom:P0,left:P0,position:"fixed"},EN={minWidth:"352px",width:"400px"},PN={width:`calc(100% - ${P0*2}px)`},Mv=({children:e,in:t,renderInPlace:r})=>{let{isSmAndUp:n}=$n(),{duration:o,zIndex:a}=Ln(),s=Number.parseInt(o.expressive.fast,10)/1e3,l={...DN,...n?EN:PN,willChange:"auto",zIndex:a.Toast};return r?E0(TN,{children:e}):E0(Cl,{children:t?E0(Al.div,{animate:{opacity:1,y:"0%"},exit:{opacity:0,y:"100%"},initial:{opacity:0,y:"100%"},style:l,transition:{duration:s},children:e}):null})};i();i();var Iv=(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]},Oe=(e=null)=>{let r=Ln().color;if(!Object.keys({...r}).length)throw new Error("The `useThemeColor` hook could not find any defined colors. A possible cause of this error is that your component is not wrapped in a theme provider such as `<VHSProvider />`");return e===null?r:Array.isArray(e)?e.map(o=>Iv(r,o)):Iv(r,e)};i();import{forwardRef as XN}from"react";i();import Cf from"styled-components";i();i();i();var T0={"ab-test":"AbTestIcon","all-content":"AllContentIcon",archived:"ArchivedIcon","arrow-down":"ArrowDownIcon","arrow-left":"ArrowLeftIcon","arrow-right":"ArrowRightIcon","arrow-up":"ArrowUpIcon",asterisk:"AsteriskIcon",audience:"AudienceIcon",calendar:"CalendarIcon",camera:"CameraIcon","caret-down":"CaretDownIcon","caret-left":"CaretLeftIcon","caret-right":"CaretRightIcon","caret-up":"CaretUpIcon",channel:"ChannelIcon",checkmark:"CheckmarkIcon","checkmark-circle":"CheckmarkCircleIcon","checkmark-circle-outline":"CheckmarkCircleOutlineIcon","checkmark-circle-three-quarters":"CheckmarkCircleThreeQuartersIcon","checkmark-underlined":"CheckmarkUnderlinedIcon",close:"CloseIcon","close-circle":"CloseCircleIcon","collect-video":"CollectVideoIcon",collection:"CollectionIcon",comment:"CommentIcon",community:"CommunityIcon","contact-us":"ContactUsIcon",copy:"CopyIcon","copy-disabled":"CopyDisabledIcon",create:"CreateIcon",delete:"DeleteIcon","delete-sm":"DeleteSmIcon","dottie-clock":"DottieClockIcon",download:"DownloadIcon",draggable:"DraggableIcon",edit:"PencilIcon",ellipsis:"EllipsisIcon","ellipsis-vertical":"EllipsisVerticalIcon",embed:"EmbedIcon",episodes:"EpisodesIcon",error:"TriangleIcon",expand:"ExpandIcon",export:"DownloadIcon",favorite:"FavoriteIcon","favorite-outline":"FavoriteOutlineIcon",filter:"FilterIcon",gear:"GearIcon","getting-started":"GettingStartedIcon",globe:"GlobeIcon","grid-view":"GridViewIcon","group-record":"GroupRecordIcon",hamburger:"HamburgerIcon",hazard:"HazardIcon","help-center":"HelpCenterIcon",hide:"HideIcon",home:"HomeIcon",hourglass:"HourglassIcon",import:"ImportIcon",info:"InfoIcon",integrations:"IntegrationsIcon",invite:"InviteIcon","invite-to-record":"InviteToRecordIcon","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",playlist:"PlaylistIcon",podcast:"PodcastIcon",preview:"PreviewIcon","private-user-sessions":"PrivateUserSessionsIcon",project:"ProjectIcon","question-mark":"QuestionMarkIcon",react:"ReactIcon",record:"RecordIcon",redo:"RedoIcon","remove-from-channel":"RemoveFromChannelIcon",replace:"ReplaceIcon",reply:"ReplyIcon","save-copy":"CopyIcon",scissors:"ScissorsIcon",search:"SearchIcon",send:"SendIcon",settings:"SettingsIcon",share:"ShareIcon",soapbox:"SoapboxIcon",sort:"SortIcon",sparkle:"SparkleIcon",spinner:"SpinnerIcon",stats:"StatsIcon","switch-accounts":"SwitchAccountsIcon",tag:"TagIcon",team:"TeamIcon","thumbs-down":"ThumbsDownIcon","thumbs-up":"ThumbsUpIcon",triangle:"TriangleIcon",undo:"UndoIcon",unlock:"UnlockIcon",upload:"UploadIcon","users-permissions":"UsersPermissionsIcon","view-stream":"ViewStreamIcon",wand:"WandIcon","zoom-in":"ZoomInIcon","zoom-out":"ZoomOutIcon"};var F0={};$1(F0,{AbTestIcon:()=>Vv,AllContentIcon:()=>Lv,ArchivedIcon:()=>zv,ArrowDownIcon:()=>Hv,ArrowLeftIcon:()=>Wv,ArrowRightIcon:()=>Uv,ArrowUpIcon:()=>qv,AsteriskIcon:()=>Yv,AudienceIcon:()=>Zv,CalendarIcon:()=>e8,CameraIcon:()=>r8,CaretDownIcon:()=>o8,CaretLeftIcon:()=>a8,CaretRightIcon:()=>l8,CaretUpIcon:()=>c8,ChannelIcon:()=>p8,CheckmarkCircleIcon:()=>m8,CheckmarkCircleOutlineIcon:()=>g8,CheckmarkCircleThreeQuartersIcon:()=>y8,CheckmarkIcon:()=>C8,CheckmarkUnderlinedIcon:()=>w8,CloseCircleIcon:()=>D8,CloseIcon:()=>P8,CollectVideoIcon:()=>A8,CollectionIcon:()=>Ob,CommentIcon:()=>F8,CommunityIcon:()=>O8,ContactUsIcon:()=>I8,CopyDisabledIcon:()=>V8,CopyIcon:()=>L8,CreateIcon:()=>z8,DeleteIcon:()=>H8,DeleteSmIcon:()=>j8,DottieClockIcon:()=>_8,DownloadIcon:()=>K8,DraggableIcon:()=>X8,EllipsisIcon:()=>J8,EllipsisVerticalIcon:()=>Q8,EmbedIcon:()=>t9,EpisodesIcon:()=>n9,ExpandIcon:()=>i9,FavoriteIcon:()=>s9,FavoriteOutlineIcon:()=>u9,FilterIcon:()=>f9,GearIcon:()=>d9,GettingStartedIcon:()=>h9,GlobeIcon:()=>g9,GridViewIcon:()=>y9,GroupRecordIcon:()=>Ab,HamburgerIcon:()=>C9,HazardIcon:()=>w9,HelpCenterIcon:()=>D9,HideIcon:()=>P9,HomeIcon:()=>A9,HourglassIcon:()=>F9,ImportIcon:()=>O9,InfoIcon:()=>I9,IntegrationsIcon:()=>V9,InviteIcon:()=>L9,InviteToRecordIcon:()=>Fb,LightningBoltIcon:()=>z9,LinkIcon:()=>H9,ListViewIcon:()=>W9,LiveIcon:()=>U9,LockIcon:()=>q9,LogoutIcon:()=>Y9,MediaIcon:()=>Z9,MegaphoneIcon:()=>ey,MoreOptionsIcon:()=>ry,OpenNewIcon:()=>oy,OverviewIcon:()=>ay,PaintIcon:()=>ly,PencilIcon:()=>cy,PlayIcon:()=>py,PlaylistIcon:()=>Ib,PodcastIcon:()=>my,PreviewIcon:()=>gy,PrivateUserSessionsIcon:()=>yy,ProjectIcon:()=>Cy,QuestionMarkIcon:()=>wy,ReactIcon:()=>Dy,RecordIcon:()=>Py,RedoIcon:()=>Ay,RemoveFromChannelIcon:()=>Fy,ReplaceIcon:()=>Oy,ReplyIcon:()=>Iy,ScissorsIcon:()=>Vy,SearchIcon:()=>Ly,SendIcon:()=>zy,SettingsIcon:()=>Hy,ShareIcon:()=>Wy,SoapboxIcon:()=>Uy,SortIcon:()=>qy,SparkleIcon:()=>Yy,SpinnerIcon:()=>Jy,StatsIcon:()=>Qy,SwitchAccountsIcon:()=>tb,TagIcon:()=>nb,TeamIcon:()=>ib,ThumbsDownIcon:()=>sb,ThumbsUpIcon:()=>ub,TriangleIcon:()=>fb,UndoIcon:()=>db,UnlockIcon:()=>hb,UploadIcon:()=>vb,UsersPermissionsIcon:()=>bb,ViewStreamIcon:()=>xb,WandIcon:()=>Sb,ZoomInIcon:()=>Eb,ZoomOutIcon:()=>Tb});i();i();import{jsx as kv}from"react/jsx-runtime";var Vv=e=>kv("svg",{...e,children:kv("path",{d:"M8.78042 2.11118C6.86612 2.34876 6.94137 3.15354 6.99208 3.69591V3.69599C6.99476 3.72465 6.99738 3.75258 6.99962 3.77965C7.04436 4.31904 7.55048 5.39025 8.78042 5.39025H8.79735L8.79731 5.40433C8.79731 5.40433 9.05197 8.22842 8.79731 9.662C8.63183 10.5935 8.18982 11.2329 7.69474 11.865C8.39927 11.9016 9.14688 11.9764 9.93037 12.0994C10.4699 12.1842 10.8383 12.6879 10.753 13.2246C10.6678 13.7612 10.1613 14.1276 9.62166 14.0428C8.33927 13.8413 7.1731 13.7835 6.16316 13.812C5.48376 14.6589 4.44391 15.9821 3.58432 17.1925C5.12252 17.2343 7.05517 17.2692 9.48309 17.1438C10.0287 17.1157 10.4939 17.5327 10.5222 18.0753C10.5504 18.6178 10.1312 19.0805 9.58566 19.1086C6.78798 19.253 4.53527 19.189 2.90579 19.1426C2.71222 19.1371 2.52744 19.1319 2.35159 19.1273C1.49048 20.8558 2.24968 21.573 4.20714 21.7855C6.33564 22.0165 18.0133 22.1217 19.9478 21.7855C21.8825 21.4493 22.5323 19.9214 21.5397 18.6499C20.547 17.3783 17.7768 13.4113 16.9172 11.9984C16.7004 11.642 16.4948 11.3282 16.3083 11.0435C15.7556 10.1997 15.3708 9.61242 15.36 8.93404L15.3601 5.40433L15.36 5.39025H15.3746C16.8928 5.34284 17.0231 4.6562 17.0231 3.75071C17.0231 2.84523 16.285 2.11118 15.3746 2.11118C15.3746 2.11118 10.7959 1.86103 8.78042 2.11118Z",fill:"currentColor"})});i();import{jsx as Nv}from"react/jsx-runtime";var Lv=e=>Nv("svg",{...e,children:Nv("path",{d:"m3.09059 3.5023c.5523 0 1 .4477 1 1l-.00092.70188c-.01018 3.93536-.10142 7.15092-.08848 9.77572.0068 1.3587.0426 2.4727.1299 3.3301.071.6968.16857 1.1263.25679 1.3643l.00412.0107.04589.0175c.01953.007.04171.0145.06676.0224l.08404.025c.2655.0742.6435.1409 1.1387.1952.9865.1081 2.3084.1539 3.8524.1644 3.14371.0213 6.85261-.0993 10.44111-.0993l.1166.0067c.4974.0578.8834.4805.8834.9933 0 .5522-.4477 1-1 1l-.738.0017c-3.232.0147-6.8753.1168-9.71671.0976-1.558-.0106-2.9641-.0566-4.0568-.1763-.5444-.0597-1.0437-.141-1.4591-.2571-.3702-.1035-.8555-.2808-1.185-.649l-.05731-.0703-.05079-.0751-.10286-.186c-.29118-.5812-.4296-1.3656-.51294-2.183-.0974-.9568-.1333-2.1494-.1402-3.5229-.0133-2.6853.0894-6.4106.0894-10.4876l.00673-.11652c.05776-.49735.48042-.88338.99327-.88338zm6.5557-1.37637.53051.02595c1.8616.09188 3.7138.19142 3.7138.19142s1.0423-.01829 2.2175-.02072l.4451-.0001c.8957.00155 1.802.01442 2.3355.05302 2.564.2222 2.6272 1.1409 2.7026 2.237.0118.172.024.3485.0461.5273.2722 2.1214.4627 4.9141.4627 6.5213 0 1.6393-.0545 5.1864-.245 5.4757-.2721.4178-.7348.9964-2.6398.8357-1.5154-.1278-7.0949-.2353-9.79337-.2416l-.43309-.0001c-.46931.0011-.80752.0065-.95905.0167-.9525.0643-2.0683-.0643-2.2588-1.125-.17942-.9182-.22215-3.2602-.2137-5.7009l.00427-.7725c.01347-1.80295.04985-3.58372.07493-4.8122.0148-.7225.0256-1.254.0256-1.4866 0-.0124-.0004-.0308-.001-.0543-.0081-.3442-.0425-1.796.8683-1.796.39926 0 1.70989.05778 3.1169.12593zm1.68581 5.01357c-.0356.94577-.0413 3.5445-.0421 5.0123l-.0002.688c0 .1695.1692.2755.3172.1907.9725-.551 3.89-2.2463 4.7145-3.327.0846-.106.0423-.2543-.0634-.3179l-4.6089-2.4156c-.148-.0848-.3171.0212-.3171.1695z",fill:"currentColor"})});i();import{jsx as $v}from"react/jsx-runtime";var zv=e=>$v("svg",{...e,children:$v("path",{clipRule:"evenodd",d:"m1.73061 4.12674c-.00015-.04078-.00031-.08299-.0006-.12674.00196-.01564.00388-.03112.00579-.04645.14457-1.16135.18151-1.45809 3.76421-1.95355 4.033-.558 11.67499-.278 15.49699.892.433.133 1.003.608 1.003 1.108 0 .63366.0008.64812.0016.66226.0007.01356.0014.02683.0014.58474-.1073.53269-.783.38874-1.8549.16039-.8357-.17804-1.9122-.40739-3.1481-.40739-.9352 0-2.0855-.03207-3.3103-.06622-2.7041-.07539-5.7715-.16091-7.68969.06622-.93175.05647-1.70731.17102-2.3234.26202-.91133.1346-1.47374.21767-1.6766-.01502-.26635-.30625-.26743-.59442-.2694-1.12026zm.38218 9.34776.0002.0065c.027.913.053 1.802.033 2.573l-.01.316-.00009.0031c-.05397 1.901-.10965 3.8622.37509 4.4189.34.39 1.277.743 3.591.743 2.315 0 11.63801.264 12.80501.403 1.168.14 2.548.112 2.739-.836.303-1.4255.306-4.3452.308-6.2904v-.0386c0-.625 0-1.147.01-1.48.031-1.25-.024-1.967-.081-2.702-.021-.266-.042-.534-.059-.83-.005-.146-.008-.281-.01-.406l-.0001-.00311c-.0169-.82786-.0249-1.21719-.8169-1.45989-3.822-1.171-11.46401-1.45-15.49701-.892-3.195.442-3.233.992-3.297 1.935-.00056.00797-.00112.01597-.00168.024-.00848.12097-.01744.24897-.03432.384-.14378 1.1792-.09814 2.6835-.0542 4.1315zm5.0572-1.8505c-.316-.349-.254-1.079-.149-1.376.114-.297 3.05201-.268 5.00901-.214 1.5006.0502 2.997.1864 4.482.408.298.052.613.705.465 1.175l-.023.075c-.037.13-.075.263-.17.274-.36.012-6.747-.068-6.747-.068s-2.55201.074-2.86701-.274z",fill:"currentColor"})});i();import{jsx as Gv}from"react/jsx-runtime";var Hv=e=>Gv("svg",{...e,children:Gv("path",{d:"m19.7685 14.8636c.615-.555.6637-1.5035.1087-2.1185-.555-.6151-1.5035-.6637-2.1185-.1088l-4.2587 3.8429v-12.27446c0-.82845-.6716-1.5-1.5-1.5s-1.5.67155-1.5 1.5v12.27446l-4.25874-3.8429c-.615-.555-1.56345-.5063-2.11845.1088-.555.615-.5064 1.5635.10875 2.1185l6.76354 6.1031c.5709.5152 1.4389.5152 2.0098 0z",fill:"currentColor"})});i();import{jsx as jv}from"react/jsx-runtime";var Wv=e=>jv("svg",{...e,children:jv("path",{d:"M9.1653 19.7974C9.72028 20.4124 10.6688 20.4611 11.2838 19.9061C11.8989 19.3512 11.9476 18.4027 11.3926 17.7876L7.54974 13.5289L19.8242 13.5289C20.6526 13.5289 21.3242 12.8573 21.3242 12.0289C21.3242 11.2005 20.6526 10.5289 19.8242 10.5289L7.54975 10.5289L11.3926 6.27019C11.9476 5.65519 11.8989 4.70674 11.2838 4.15174C10.6688 3.59674 9.72028 3.64534 9.16529 4.26049L3.06217 11.024C2.54703 11.5949 2.54703 12.4629 3.06217 13.0338L9.1653 19.7974Z",fill:"currentColor"})});i();import{jsx as _v}from"react/jsx-runtime";var Uv=e=>_v("svg",{...e,children:_v("path",{d:"M14.8347 4.26044C14.2797 3.6454 13.3312 3.59671 12.7162 4.15169C12.1011 4.70668 12.0524 5.65517 12.6074 6.27022L16.4502 10.5289L4.17581 10.5289C3.34736 10.5289 2.67581 11.2005 2.67581 12.0289C2.67581 12.8573 3.34736 13.5289 4.17581 13.5289L16.4502 13.5289L12.6074 17.7877C12.0524 18.4027 12.1011 19.3511 12.7161 19.9061C13.3312 20.4611 14.2797 20.4125 14.8347 19.7974L20.9378 13.0338C21.453 12.4629 21.453 11.5949 20.9378 11.024L14.8347 4.26044Z",fill:"currentColor"})});i();import{jsx as Kv}from"react/jsx-runtime";var qv=e=>Kv("svg",{...e,children:Kv("path",{d:"M4.23151 9.19422C3.61647 9.7492 3.56778 10.6977 4.12276 11.3127C4.67775 11.9278 5.62624 11.9765 6.24129 11.4215L10.5 7.57866L10.5 19.8531C10.5 20.6815 11.1716 21.3531 12 21.3531C12.8284 21.3531 13.5 20.6815 13.5 19.8531L13.5 7.57867L17.7587 11.4215C18.3737 11.9765 19.3222 11.9278 19.8772 11.3128C20.4322 10.6977 20.3836 9.7492 19.7684 9.19422L13.0049 3.09109C12.434 2.57595 11.566 2.57595 10.9951 3.09109L4.23151 9.19422",fill:"currentColor"})});i();import{jsx as Xv}from"react/jsx-runtime";var Yv=e=>Xv("svg",{...e,children:Xv("path",{d:"M14.4425 22L13.9358 15.3633L19.5575 19.0908L22 14.9542L15.3642 11.9542L22 9L19.5575 4.86333L13.9358 8.63667L14.4425 2H9.5575L10.0183 8.68167L4.39667 4.90917L2 9.04583L8.4975 12L2 14.9092L4.39667 19L10.0183 15.2725L9.5575 22H14.4425Z",fill:"currentColor"})});i();import{jsx as Jv}from"react/jsx-runtime";var Zv=e=>Jv("svg",{...e,children:Jv("path",{d:"m11.1744 3.04659c2.6835 2.33688 2.1425 8.06531-2.85234 7.99341-4.99483-.0719-5.03082-5.26362-3.69418-7.27726 1.33665-2.01364 4.64706-2.37021 6.54652-.71615zm8.511 8.47051c1.505 1.3105 1.2016 4.523-1.5995 4.4827-2.8011-.0404-2.8213-2.9519-2.0717-4.0811s2.6061-1.3292 3.6712-.4016zm-16.99799 10.3336c-.32545.0141-.61759-.3577-.6444-.8086-.15145-2.3574.04693-5.2652 1.4129-7.0804 2.86859-3.7922 9.46089-1.5366 10.60059 2.1134.236.7357.4008 1.5352.4961 2.3645.1371-.16.2718-.3099.3984-.4466 1.7601-1.8904 5.8048-.766 6.5041 1.0535.2965.751.4096 1.6354.3492 2.5077-.0098.2438-.2089.4477-.4506.4458h-7.4492-.0132-.0022-.4484c-.0235.0008-.0471-.0016-.0706-.0069z",fill:"currentColor"})});i();import{jsx as Qv}from"react/jsx-runtime";var e8=e=>Qv("svg",{...e,children:Qv("path",{clipRule:"evenodd",d:"m7.5 2.9895c.82843 0 1.5.67157 1.5 1.5v1.51041l6 .00003c0-.00001 0 .00001 0 0v-1.51044c0-.82843.6716-1.5 1.5-1.5s1.5.67157 1.5 1.5v1.51041c0-.00001 0 .00001 0 0l1.5.00003c.8284 0 1.5.67157 1.5 1.5v1.5c0 .82843-.6716 1.49996-1.5 1.49996h-15c-.82843 0-1.5-.67153-1.5-1.49996v-1.5c0-.82843.67157-1.5 1.5-1.5h1.5v-1.51044c0-.82843.67157-1.5 1.5-1.5zm-3 9.0104c-.82843 0-1.5.6716-1.5 1.5v6c0 .8285.67157 1.5 1.5 1.5h15c.8284 0 1.5-.6715 1.5-1.5v-6c0-.8284-.6716-1.5-1.5-1.5z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as t8}from"react/jsx-runtime";var r8=e=>t8("svg",{...e,children:t8("path",{clipRule:"evenodd",d:"M11.3162 20.979C11.6222 20.9857 11.9282 20.9924 12.2342 21V20.992C12.276 20.992 12.3178 20.9924 12.3595 20.9928C12.443 20.9935 12.5264 20.9942 12.6096 20.992C12.9666 20.9825 13.3235 20.9735 13.6805 20.9645C14.6678 20.9395 15.6552 20.9144 16.6423 20.8803C17.3374 20.8559 18.032 20.8127 18.7251 20.7569C19.3748 20.7048 20.0238 20.6415 20.6727 20.5783C20.9177 20.5544 21.1626 20.5305 21.4076 20.5072C21.8887 20.4612 22.2848 20.0971 22.3749 19.624C22.5973 18.4536 22.7728 17.2761 22.8625 16.0887C22.9258 15.2478 22.9671 14.403 22.9784 13.5597C22.9883 12.8257 22.9578 12.0898 22.9174 11.3563C22.8803 10.6899 22.8278 10.023 22.7433 9.36129C22.6605 8.71089 22.5531 8.06362 22.4457 7.41667C22.4215 7.27097 22.3974 7.12528 22.3735 6.97958C22.2928 6.48916 21.8624 6.12123 21.3663 6.08228C21.0761 6.05955 20.7863 6.03115 20.4965 6.00274C20.2656 5.98012 20.0347 5.9575 19.8036 5.93773C19.2277 5.88845 18.6514 5.84434 18.0747 5.80586C17.9794 5.79929 17.9418 5.76737 17.9151 5.67868L17.8955 5.61308C17.7345 5.07457 17.5734 4.53581 17.3998 4.00139C17.2445 3.5227 16.7784 3.15664 16.3077 3.1313C16.1265 3.12155 15.9453 3.11126 15.7641 3.10098C15.1608 3.06675 14.5575 3.03253 13.9537 3.01773C12.2178 2.97502 10.4823 3.00787 8.75008 3.13365C8.62103 3.14303 8.48634 3.17917 8.36901 3.23455C8.02173 3.39833 7.773 3.66208 7.65567 4.03236C7.56181 4.32848 7.47105 4.62568 7.38028 4.92287C7.3013 5.18146 7.22232 5.44004 7.14131 5.69792C7.12817 5.73922 7.07937 5.79131 7.04041 5.79741C6.95316 5.81131 6.86434 5.81585 6.77551 5.82041C6.73533 5.82246 6.69516 5.82452 6.65512 5.82744C6.53247 5.83652 6.40978 5.84531 6.28709 5.8541C5.96567 5.87712 5.64421 5.90015 5.32324 5.92834C5.07994 5.94972 4.83701 5.97418 4.59413 5.99864C4.29308 6.02896 3.99209 6.05927 3.69053 6.08368C3.21982 6.1217 2.78478 6.49432 2.70453 6.96316C2.66943 7.16876 2.63372 7.37429 2.59802 7.57982C2.47619 8.28117 2.35434 8.98263 2.25634 9.68746C2.15263 10.4327 2.06674 11.1841 2.03202 11.9354C1.99259 12.782 1.9879 13.6329 2.02732 14.479C2.06674 15.3322 2.1545 16.1854 2.26714 17.032C2.35101 17.6614 2.46316 18.287 2.5753 18.9124C2.61877 19.1549 2.66224 19.3973 2.70406 19.64C2.77868 20.0708 3.19542 20.4636 3.61263 20.5044C3.69683 20.5127 3.78099 20.5213 3.86514 20.5298C4.03332 20.5469 4.20149 20.564 4.37008 20.579C4.58912 20.5986 4.80813 20.6188 5.02715 20.639C5.58193 20.6903 6.13681 20.7416 6.69266 20.7813C7.51863 20.8404 8.34601 20.8897 9.17386 20.9207C9.88781 20.9476 10.602 20.9633 11.3162 20.979ZM6.3909 12.7131C6.41718 9.38992 9.19264 6.63089 12.5083 6.64872C15.8811 6.66703 18.5796 9.38664 18.5707 12.7375C18.5618 16.0676 15.807 18.8534 12.4721 18.8328C9.15556 18.8121 6.36462 16.0512 6.3909 12.7131ZM16.2261 12.7248C16.2383 10.658 14.5539 8.99148 12.4754 8.99524L12.4749 8.99571C10.4006 8.99899 8.72848 10.6655 8.73318 12.7243C8.73834 14.7935 10.4217 16.4942 12.4806 16.4867C14.5619 16.4792 16.2139 14.8104 16.2261 12.7248Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as n8}from"react/jsx-runtime";var o8=e=>n8("svg",{...e,children:n8("path",{d:"m2.68581 7.2381c.52393-.57331 1.39057-.64667 2.00074-.19312l.11843.09775 7.19402 6.57527 7.196-6.57527c.5733-.52393 1.443-.51915 2.01-.01262l.1092.10799c.5239.57331.5191 1.44304.0126 2.01l-.108.10918-8.2069 7.50002c-.5348.4887-1.3351.5213-1.9053.0977l-.1185-.0977-8.20691-7.50002c-.61154-.55886-.65424-1.50764-.09538-2.11918z",fill:"currentColor"})});i();import{jsx as i8}from"react/jsx-runtime";var a8=e=>i8("svg",{...e,children:i8("path",{d:"m16.7619 2.68582c.5733.52393.6467 1.39057.1931 2.00074l-.0977.11844-6.5753 7.194 6.5753 7.196c.5239.5733.5191 1.443.0126 2.01l-.108.1092c-.5733.5239-1.443.5191-2.01.0126l-.1092-.108-7.49998-8.2069c-.48873-.5348-.52131-1.3351-.09775-1.9053l.09775-.1185 7.49998-8.2069c.5589-.61153 1.5077-.65423 2.1192-.09538z",fill:"currentColor"})});i();import{jsx as s8}from"react/jsx-runtime";var l8=e=>s8("svg",{...e,children:s8("path",{d:"m7.23808 21.3142c-.57331-.524-.64667-1.3906-.19312-2.0008l.09774-.1184 6.5753-7.194-6.57529-7.196c-.52393-.57331-.51915-1.44303-.01262-2.01l.10799-.10917c.57331-.52393 1.44303-.51915 2.01-.01262l.10917.10799 7.50005 8.2069c.4887.5348.5213 1.3351.0977 1.9053l-.0977.1185-7.50004 8.2069c-.55886.6115-1.50765.6542-2.11918.0954z",fill:"currentColor"})});i();import{jsx as u8}from"react/jsx-runtime";var c8=e=>u8("svg",{...e,children:u8("path",{d:"m21.3141 16.7619c-.5239.5733-1.3905.6467-2.0007.1931l-.1184-.0977-7.194-6.5753-7.19602 6.5753c-.57331.5239-1.44304.5191-2.01.0126l-.10918-.108c-.52393-.5733-.51915-1.443-.01261-2.01l.10798-.1092 8.20683-7.49998c.5348-.48873 1.3352-.52131 1.9054-.09775l.1184.09775 8.207 7.49998c.6115.5589.6542 1.5077.0953 2.1192z",fill:"currentColor"})});i();import{jsx as f8}from"react/jsx-runtime";var p8=e=>f8("svg",{...e,children:f8("path",{clipRule:"evenodd",d:"m5.64571 1.19092c-.44678-.324663-1.07216-.225666-1.39682.22112-.32466.44678-.22567 1.07215.22111 1.39682 1.28625.93467 2.48092 2.19849 3.54704 3.39817-1.62947-.00332-2.92814.02027-3.46778.08086-1.98082.22241-2.2359 1.3046-2.45624 2.97122-.22035 1.66659.01731 8.61489.2821 10.20679s1.03019 2.2578 3.23903 2.2185c1.36389-.0243 5.14395.102 8.22435.2049 1.9081.0637 3.5484.1185 4.1789.123l.0126.0001c1.6426.0116 2.973.0211 3.5839-1.2509.6125-1.2752.3643-9.5706.2662-11.15071-.0982-1.58008-.6322-2.71681-1.8871-2.99303-.4032-.08875-1.9372-.17748-3.8995-.24967.9793-1.0846 2.1361-2.34437 3.5284-3.63478.405-.37542.4291-1.00813.0536-1.41319-.3754-.405062-1.0081-.429086-1.4132-.05366-1.61 1.49224-2.9274 2.95491-3.9684 4.11064-.1937.21508-.3778.41955-.5525.61158-.0947.10407-.1859.20373-.2738.29896-.9155-.02314-1.8546-.0422-2.7663-.056-.1596-.18054-.3281-.37314-.5061-.57663l-.1089-.12441c-1.18229-1.35084-2.71275-3.08411-4.44059-4.33968zm9.86039 12.42148c-1.0777 1.4126-4.8912 3.6285-6.16234 4.3486-.19344.1108-.41451-.0277-.41451-.2493 0-1.468 0-5.9827.05527-7.4507 0-.1939.22107-.3324.4145-.2216l6.02418 3.1576c.1382.0831.1934.2769.0829.4154z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as d8}from"react/jsx-runtime";var m8=e=>d8("svg",{...e,children:d8("path",{clipRule:"evenodd",d:"m21.8158 14.5648c3.0982-10.94829-8.8224-15.41821-15.39746-10.85188-4.65388 3.23212-6.673329 10.24658-3.15895 14.34028 3.51439 4.0936 15.45811 7.4598 18.55641-3.4884zm-4.1007-5.8658c.3861-.39496.3788-1.02808-.0161-1.41413-.395-.38604-1.0281-.37882-1.4141.01613l-6.127 6.2684-2.44277-2.4992c-.38605-.3949-1.01917-.4021-1.41413-.0161-.39495.3861-.40217 1.0192-.01612 1.4141l3.15789 3.2308c.18815.1925.44596.301.71513.301.2692 0 .527-.1085.7151-.301z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as h8,jsxs as AN}from"react/jsx-runtime";var g8=({...e})=>AN("svg",{...e,children:[h8("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"}),h8("path",{clipRule:"evenodd",d:"M17.1237 7.35609C17.6174 7.83865 17.6265 8.63005 17.1439 9.12374L10.3018 16.1237C10.0666 16.3644 9.74436 16.5 9.4079 16.5C9.07143 16.5 8.74918 16.3644 8.51399 16.1237L5.35609 12.893C4.87354 12.3993 4.88256 11.6079 5.37626 11.1253C5.86995 10.6428 6.66135 10.6518 7.14391 11.1455L9.4079 13.4617L15.3561 7.37626C15.8386 6.88256 16.6301 6.87354 17.1237 7.35609Z",fill:"currentColor",fillRule:"evenodd"})]});i();import{jsx as v8}from"react/jsx-runtime";var y8=e=>v8("svg",{...e,children:v8("path",{d:"m5.06066 10.1406c1.02693-3.83255 4.96634-6.10695 8.79884-5.08003.8844.23699 1.7935-.28787 2.0305-1.1723.237-.88444-.2879-1.79352-1.1723-2.0305-5.60142-1.500892-11.35896 1.82322-12.85985 7.42462-1.500884 5.60141 1.82323 11.35891 7.42463 12.85981 5.60142 1.5009 11.35892-1.8232 12.85982-7.4246.237-.8844-.2879-1.7935-1.1723-2.0305s-1.7935.2879-2.0305 1.1723c-1.0269 3.8325-4.9663 6.1069-8.7988 5.08-3.83257-1.0269-6.10696-4.9663-5.08004-8.7988zm16.57534-2.98696c.6582-.63651.6758-1.68609.0392-2.34429-.6365-.65821-1.686-.67579-2.3442-.03928l-7.5698 7.32023-2.17928-2.46975c-.60581-.68657-1.65349-.75203-2.34005-.14621-.68656.60576-.75202 1.65346-.14621 2.34006l2.94474 3.3372c.8339.9451 2.2881 1.0027 3.1942.1265z",fill:"currentColor"})});i();import{jsx as b8}from"react/jsx-runtime";var C8=e=>b8("svg",{...e,children:b8("path",{d:"m8.79289 18.7054-6.50001-6.5374c-.39051-.3927-.39051-1.0295 0-1.4223l1.41418-1.42238c.39051-.39279 1.02371-.39279 1.41422 0l4.37872 4.40388 9.3787-9.43263c.3905-.39276 1.0237-.39276 1.4142 0l1.4142 1.42235c.3905.39275.3905 1.02956 0 1.42235l-11.5 11.56613c-.39054.3928-1.0237.3928-1.41421 0z",fill:"currentColor"})});i();import{jsx as x8}from"react/jsx-runtime";var w8=e=>x8("svg",{...e,children:x8("path",{d:"M9.54401 12.95L17.994 4.49995C18.194 4.29995 18.4315 4.19995 18.7065 4.19995C18.9815 4.19995 19.219 4.29995 19.419 4.49995C19.619 4.69995 19.719 4.93745 19.719 5.21245C19.719 5.48745 19.619 5.72495 19.419 5.92495L10.244 15.1C10.044 15.3 9.81067 15.4 9.54401 15.4C9.27734 15.4 9.04401 15.3 8.84401 15.1L4.56901 10.825C4.36901 10.625 4.27317 10.3875 4.28151 10.1125C4.28984 9.83745 4.39401 9.59995 4.59401 9.39995C4.79401 9.19995 5.03151 9.09995 5.30651 9.09995C5.58151 9.09995 5.81901 9.19995 6.01901 9.39995L9.54401 12.95ZM5.99401 19.8C5.71067 19.8 5.47317 19.7041 5.28151 19.5125C5.08984 19.3208 4.99401 19.0833 4.99401 18.8C4.99401 18.5166 5.08984 18.2791 5.28151 18.0875C5.47317 17.8958 5.71067 17.8 5.99401 17.8H17.994C18.2773 17.8 18.5148 17.8958 18.7065 18.0875C18.8982 18.2791 18.994 18.5166 18.994 18.8C18.994 19.0833 18.8982 19.3208 18.7065 19.5125C18.5148 19.7041 18.2773 19.8 17.994 19.8H5.99401Z",fill:"currentColor"})});i();import{jsx as S8}from"react/jsx-runtime";var D8=e=>S8("svg",{...e,children:S8("path",{clipRule:"evenodd",d:`M13.8186 20.4731C4.60239 22.893 -2.98829 15.5818 3.31523 6.74072C9.6261 -2.10038 19.5705 4.8504 21.402 9.84467C23.2334 14.8389 19.0556 19.105 13.8186 20.4731Z
125
+ M15.0413 8.87414C15.4318 8.48355 15.4318 7.85028 15.0413 7.45969C14.6508 7.0691 14.0178 7.0691 13.6273 7.45969L11.0001 10.0878L8.37284 7.4597C7.98238 7.06911 7.34932 7.06911 6.95886 7.4597C6.5684 7.85029 6.5684 8.48356 6.95886 8.87415L9.5861 11.5023L6.95886 14.1304C6.5684 14.5209 6.5684 15.1542 6.95886 15.5448C7.34932 15.9354 7.98238 15.9354 8.37284 15.5448L11.0001 12.9167L13.6273 15.5448C14.0178 15.9354 14.6508 15.9354 15.0413 15.5448C15.4318 15.1542 15.4318 14.521 15.0413 14.1304L12.4141 11.5023L15.0413 8.87414Z`,fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as E8}from"react/jsx-runtime";var P8=e=>E8("svg",{...e,children:E8("path",{d:"m17.7742 19.618c.5091.5093 1.3347.5093 1.8439 0 .5091-.5091.5091-1.3347 0-1.8438l-5.7742-5.7742 5.7742-5.77422c.5091-.50918.5091-1.3347 0-1.84387-.5092-.50917-1.3348-.50917-1.8439 0l-5.7742 5.77419-5.77426-5.77422c-.50917-.50917-1.33469-.50917-1.84387 0-.50916.50917-.50916 1.3347 0 1.84386l5.77423 5.77426-5.77421 5.7742c-.50918.5092-.50918 1.3347 0 1.8439.50916.5092 1.33469.5092 1.84385 0l5.77426-5.7742z",fill:"currentColor"})});i();import{jsx as T8}from"react/jsx-runtime";var A8=e=>T8("svg",{...e,children:T8("path",{clipRule:"evenodd",d:"M12 6.85714H3V4.92857C3 3.864 3.864 3 4.92857 3H8.74072C9.17014 3 9.57257 3.21471 9.81043 3.57214L12 6.85714ZM3 6.85718H19.0714C20.136 6.85718 21 7.72118 21 8.78575V13.1438C20.9149 13.1202 20.8253 13.1077 20.7328 13.1077H13.3066L14.7071 11.7071C15.0976 11.3166 15.0976 10.6834 14.7071 10.2929C14.3166 9.90237 13.6834 9.90237 13.2929 10.2929L10.2929 13.2929C10.1054 13.4804 10 13.7348 10 14C10 14.2652 10.1054 14.5196 10.2929 14.7071L13.2929 17.7071C13.6834 18.0976 14.3166 18.0976 14.7071 17.7071C15.0976 17.3166 15.0976 16.6834 14.7071 16.2929L13.5219 15.1077H20.7328C20.8253 15.1077 20.9149 15.0951 21 15.0716V17.1429C21 19.272 19.272 21 17.1429 21H6.85714C4.728 21 3 19.272 3 17.1429V6.85718Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as R8}from"react/jsx-runtime";var F8=e=>R8("svg",{...e,children:R8("path",{clipRule:"evenodd",d:"M2.0994 10.6931C2.04002 8.22692 1.96942 5.29509 2.11584 4.25593C2.13365 4.13216 2.14292 4.01528 2.1517 3.90469C2.21613 3.09248 2.25369 2.61894 5.44865 2.23843C9.48199 1.75807 17.1241 1.99825 20.9452 3.007C21.7385 3.21574 21.7461 3.55147 21.7624 4.26645C21.7648 4.37414 21.7675 4.49044 21.773 4.6162C21.8367 5.57691 22.0066 10.2604 21.9641 11.7255C21.9538 12.0123 21.9535 12.4616 21.9532 13.001V13.001C21.9522 14.6749 21.9507 17.2153 21.6457 18.4505C21.4546 19.2671 20.0748 19.2911 18.9073 19.171C18.4972 19.1289 17.0813 19.0734 15.3164 19.0193C14.4586 19.7428 13.2551 20.8268 12.6703 21.669C12.4667 21.9623 12.1951 22 11.9708 22C11.7566 22 11.6986 21.9343 11.3756 21.5684L11.3281 21.5147C10.6506 20.7484 9.58149 19.5267 9.00085 18.8624C7.74516 18.8383 6.69432 18.8234 6.10233 18.8234C3.78846 18.8234 2.85054 18.5199 2.51089 18.1837C2.02619 17.7038 2.08219 16.014 2.13647 14.3759L2.14543 14.1031C2.16606 13.462 2.13471 12.1599 2.0994 10.6931ZM4.33635 7.16713C4.33635 7.16713 3.83065 8.24157 4.01326 8.52809C4.14949 8.74182 8.25659 8.84926 10.9526 8.91979L10.9527 8.91979C11.8709 8.94381 12.6253 8.96354 13.0036 8.98174C14.1695 9.05337 17.7376 8.83848 19.2126 8.74298C19.24 8.74161 19.2672 8.74047 19.2943 8.73935C19.7381 8.72089 20.1152 8.7052 19.943 7.69241C19.9149 7.5014 19.8166 7.38202 19.634 7.38202C19.044 7.38202 9.89913 7.38202 7.90439 7.191L7.64546 7.16615C5.81529 6.99024 4.8063 6.89326 4.33635 7.16713ZM19.8977 11.4732C20.0908 11.7527 19.6254 12.8452 19.6254 12.8452C19.166 13.1363 18.1541 13.0769 16.3186 12.9692C16.2338 12.9642 16.1473 12.9591 16.059 12.9539C14.0586 12.8372 4.92114 13.177 4.33049 13.199L4.33037 13.199C4.14788 13.2058 4.04518 13.0901 4.01001 12.9003C3.80035 11.8946 4.17656 11.8649 4.61942 11.83C4.64638 11.8278 4.67359 11.8257 4.70093 11.8233C6.17134 11.673 9.72893 11.3257 10.8967 11.3539C11.2754 11.3581 12.0301 11.3498 12.9486 11.3396C15.6454 11.3099 19.7536 11.2646 19.8977 11.4732Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as B8}from"react/jsx-runtime";var O8=e=>B8("svg",{...e,children:B8("path",{d:"m14.8307 3.14077c.3645.16757.686.31534.9541.40981l.0186.00652c1.2355.43528 5.3747 1.89346 6.0303 4.36204.5612 2.11356-.3999 4.17296-1.3677 6.24656-.1682.3606-.3367.7217-.4975 1.0835-.0379.0854-.0756.1704-.1132.255-1.4657 3.3022-2.6018 5.8617-4.6582 6.3731-2.1092.5247-5.1606-.7312-7.71054-1.9147-.05102-.0244-.10251-.0491-.15441-.0738-1.99154-.951-4.60465-2.1987-5.20489-4.1987-.61588-2.0523 1.14517-6.02627 2.25161-7.92519.20562-.35289.40011-.72469.59807-1.10314.86724-1.65795 1.80113-3.44328 4.02973-4.32392 2.19233-.86633 4.35703.12865 5.82403.80292zm-2.2269 2.13686c-.5027-.24679-1.1143-.04716-1.366.44591l-.6538 1.281-1.30983-.64294c-.50277-.24679-1.11436-.04714-1.36603.44591-.25167.49306-.04812 1.09282.45465 1.33961l1.3098.64293-1.50554 2.94955-1.44199-.7078c-.50276-.2468-1.11435-.0471-1.36602.4459-.25167.4931-.04812 1.0928.45465 1.3396l1.44198.7078-.77998 1.5281c-.25167.4931-.04812 1.0929.45464 1.3396.50277.2468 1.11436.0472 1.36603-.4459l.77999-1.5281 2.98935 1.4674-.7622 1.4931c-.2517.4931-.0481 1.0929.4547 1.3397.5027.2467 1.1143.0471 1.366-.446l.7622-1.4931 1.4413.7075c.5028.2468 1.1144.0471 1.366-.446.2517-.4929.0482-1.0928-.4546-1.3396l-1.4414-.7074 1.5055-2.9496 1.5735.7724c.5028.2468 1.1144.0472 1.3661-.4459.2516-.4931.0481-1.0928-.4546-1.3396l-1.5736-.7724.6717-1.31597c.2518-.49306.0482-1.09282-.4546-1.33961-.5027-.24679-1.1143-.04715-1.366.4459l-.6718 1.31598-2.9892-1.46736.6538-1.281c.2517-.49306.0481-1.09283-.4547-1.33961zm1.8788 5.87347-1.5055 2.9496-2.98937-1.4674 1.50557-2.94954z",fill:"currentColor"})});i();import{jsx as M8}from"react/jsx-runtime";var I8=e=>M8("svg",{...e,children:M8("path",{d:"m2 7.13053c1.02794.75462 2.30848 1.82137 3.61006 2.90567 0 0 5.06424 3.9629 5.81564 3.9629 1.8549 0 3.7992-1.8146 5.1678-2.8746 1.3176-1.0205 2.7467-2.21282 4.0625-3.31055.1651-.13774.3285-.27408.4895-.40831-.0011.22999.0035.44719.0315.64131.3947 2.63975.4326 8.17435 0 11.09695-.3145.4144-.8493.9882-3.0513.8288s-11.82778-.2869-12.92877-.2231c-1.101.0637-2.39073-.0638-2.61093-1.1158-.40264-1.7682-.5511-8.74247-.586-11.50327zm16.4311-2.99936c1.2812.09529 1.9619.48357 2.322 1.00077-.4574.37757-.9338.77506-1.4207 1.18138-1.2989 1.0838-2.6732 2.23056-3.9636 3.22999-.9655.74789-1.8517 1.38729-2.5896 1.83539-.3691.2242-.6815.3884-.9342.4939-.2367.0989-.3632.1358-.5917.0084-.2306-.1286-.5322-.3283-.8998-.5958-.73248-.5331-1.63926-1.2708-2.61739-2.08202-.26991-.22385-.54604-.45404-.8253-.68686-.21657-.18055-.43504-.36268-.65398-.54466l-.65679-.54374c-1.20143-.98965-2.37365-1.92213-3.27827-2.50838.22838-.42619.59195-.78832 1.14091-.78831 1.57531.00002 3.21902-.03191 4.885-.06428 3.39902-.06604 6.89072-.13388 10.08342.06422z",fill:"currentColor"})});i();import{jsx as k8}from"react/jsx-runtime";var V8=e=>k8("svg",{...e,children:k8("path",{d:"m23.7071 1.70711c.3905-.39053.3905-1.023692 0-1.414217-.3905-.3905241-1.0237-.3905241-1.4142 0l-22.000007 22.000007c-.3905238.3905-.3905242 1.0237 0 1.4142.390524.3905 1.023687.3905 1.414217 0zm-5.0845.29289c.1737 0 .3443.01298.5109.03803l-3.3066 3.30661h-8.21351c-.93263 0-1.68869-.74873-1.68869-1.67232 0-.92361.75606-1.67232 1.68869-1.67232zm-14.9339 4.94911h10.5338l-12.2225 12.22249v-10.55017c0-.92359.75605-1.67232 1.6887-1.67232zm13.5095 2.68113-12.36977 12.36976h10.68107c.9327 0 1.6887-.7487 1.6887-1.6723zm4.7671-4.76707-3.3427 3.34265v8.10658c0 .9235.756 1.6724 1.6887 1.6724s1.6887-.7489 1.6887-1.6724v-10.96776c0-.1635-.0118-.32425-.0347-.48147z",fill:"currentColor"})});i();import{jsx as N8}from"react/jsx-runtime";var L8=e=>N8("svg",{...e,children:N8("path",{d:"m18.6226 16.3124c0 .9235.756 1.6724 1.6887 1.6724s1.6887-.7489 1.6887-1.6724v-10.96776c0-1.8472-1.5122-3.34464-3.3774-3.34464h-11.00921c-.93263 0-1.68869.74871-1.68869 1.67232 0 .92359.75606 1.67232 1.68869 1.67232h11.00921zm-3.1131 5.6876c.9327 0 1.6887-.7487 1.6887-1.6723v-11.70627c0-.92359-.756-1.67232-1.6887-1.67232h-11.8208c-.93265 0-1.6887.74873-1.6887 1.67232v11.70627c0 .9236.75605 1.6723 1.6887 1.6723z",fill:"currentColor"})});i();import{jsx as $8}from"react/jsx-runtime";var z8=e=>$8("svg",{...e,children:$8("path",{d:"m10.3966 3.60341c0-.88553.7179-1.60341 1.6034-1.60341s1.6034.71788 1.6034 1.60341v6.79319h6.7932c.8856 0 1.6034.7179 1.6034 1.6034 0 .8856-.7178 1.6034-1.6034 1.6034h-6.7932v6.7932c0 .8856-.7179 1.6034-1.6034 1.6034s-1.6034-.7178-1.6034-1.6034v-6.7932h-6.7932c-.88554 0-1.6034-.7178-1.6034-1.6034 0-.8855.71786-1.6034 1.6034-1.6034h6.7932z",fill:"currentColor"})});i();import{jsx as G8}from"react/jsx-runtime";var H8=e=>G8("svg",{...e,children:G8("path",{d:"m14.904 2.36857c.6808.18014 1.0637 1.89327 1.3326 3.11843 1.0626.02303 2.1802.06975 3.3652.15126.5509.0379.9669.51528.929 1.06626-.0379.55099-.5153.96692-1.0663.92902-3.2573-.22405-5.9961-.17824-8.5308-.1036-.3474.01023-.6918.02104-1.03385.03178-2.1416.06726-4.18778.13153-6.28166.02989-.55163-.02678-.97711-.49568-.95034-1.04731.02678-.55164.49568-.97712 1.04731-.95034 1.04212.05058 2.0709.0584 3.11959.04482.08961-.94493.83902-2.66045 1.49748-3.27021.72917-.67525 5.56337-.2668 6.57177 0zm-8.53971 18.93913c-.38411-1.7907-1.43613-8.7724-1.60784-10.1112-.01239-.0967-.02523-.1887-.03746-.2764-.1573-1.12763-.21516-1.5424 2.05023-1.84784 2.71293-.36579 9.32588-.45722 11.89608.31093.5336.15895.5387.4146.5496.95901.0017.082.0035.1706.0072.2664 0 2.8358-.6932 5.8331-1.3554 8.6963-.1564.6763-.3112 1.3453-.4546 2.0028-.1285.6219-1.0566.6401-1.842.5487-.7853-.0915-5.4362-.2926-6.99265-.2926-1.55635 0-1.98471 0-2.21316-.2561zm8.97891-9.2246c-.0298-.5515-.501-.9744-1.0525-.9446s-.9744.501-.9446 1.0525c.0309.5711-.027 1.5863-.123 2.7715-.0544.6721-.1166 1.3496-.1763 2.0013-.0459.5008-.0905.9868-.1291 1.4427-.0465.5504.3619 1.0342.9122 1.0807.5503.0466 1.0342-.3618 1.0807-.9122.0351-.4152.0789-.8939.1249-1.3962l.0002-.0017.0001-.0015c.0616-.6734.1271-1.3892.1808-2.0516.094-1.1611.166-2.312.1266-3.0409zm-5.56465 7.4093c.55025.0479 1.03505-.3594 1.08295-.9096.0632-.7272.0291-1.8798-.0269-3.0434-.0319-.6643-.0739-1.3823-.1135-2.0578-.0295-.504-.0576-.985-.0791-1.4014-.0285-.5516-.4987-.9756-1.05025-.9472-.55156.0285-.97562.4987-.94716 1.0502.02358.4571.05217.944.08167 1.4462.03835.653.07827 1.3328.11063 2.006.0571 1.1878.08163 2.2042.03206 2.7741-.04786.5502.3594 1.035.9096 1.0829z",fill:"currentColor"})});i();import{jsx as A0,jsxs as RN}from"react/jsx-runtime";var j8=e=>A0("svg",{...e,children:RN("g",{fill:"currentColor",children:[A0("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"}),A0("path",{d:"m6.63212 10c-.9389 0-1.63212.7462-1.63212 1.6667v8.8333c0 .9205.36086 1.5 1.29975 1.5h11.19995c.9389 0 1.5003-.5795 1.5003-1.5l-.1-8.8333c0-.9205-.4611-1.6667-1.4-1.6667z"})]})});i();import{jsx as W8}from"react/jsx-runtime";var _8=e=>W8("svg",{...e,children:W8("path",{clipRule:"evenodd",d:"M10 18.8889C9.54004 18.8889 9.16671 18.5155 9.16671 18.0555C9.16671 17.5955 9.54004 17.2222 10 17.2222C13.9823 17.2222 17.2223 13.9822 17.2223 9.99997C17.2223 6.01775 13.9823 2.77775 10 2.77775C9.54004 2.77775 9.16671 2.40442 9.16671 1.94442C9.16671 1.48442 9.54004 1.11108 10 1.11108C14.9012 1.11108 18.8889 5.09886 18.8889 9.99997C18.8889 14.9011 14.9012 18.8889 10 18.8889ZM13.61 13.3333C13.4478 13.3333 13.2812 13.2855 13.1367 13.1855L9.5256 10.6855C9.30115 10.53 9.16671 10.2733 9.16671 9.99997V5.27775C9.16671 4.81775 9.54004 4.44442 10 4.44442C10.46 4.44442 10.8334 4.81775 10.8334 5.27775V9.56331L14.0856 11.8144C14.4645 12.0766 14.5589 12.5955 14.2956 12.9733C14.1334 13.2066 13.8745 13.3322 13.61 13.3322V13.3333ZM5.13676 15.6966C5.13676 16.1568 4.76366 16.5299 4.30343 16.5299C3.84319 16.5299 3.47009 16.1568 3.47009 15.6966C3.47009 15.2363 3.84319 14.8632 4.30343 14.8632C4.76366 14.8632 5.13676 15.2363 5.13676 15.6966ZM1.94442 10.8333C2.40465 10.8333 2.77775 10.4602 2.77775 9.99994C2.77775 9.5397 2.40465 9.16661 1.94442 9.16661C1.48418 9.16661 1.11108 9.5397 1.11108 9.99994C1.11108 10.4602 1.48418 10.8333 1.94442 10.8333ZM5.13676 4.30332C5.13676 4.76356 4.76366 5.13666 4.30343 5.13666C3.84319 5.13666 3.47009 4.76356 3.47009 4.30332C3.47009 3.84309 3.84319 3.46999 4.30343 3.46999C4.76366 3.46999 5.13676 3.84309 5.13676 4.30332ZM6.91777 18.2755C7.378 18.2755 7.7511 17.9024 7.7511 17.4422C7.7511 16.9819 7.378 16.6088 6.91777 16.6088C6.45753 16.6088 6.08443 16.9819 6.08443 17.4422C6.08443 17.9024 6.45753 18.2755 6.91777 18.2755ZM3.39115 13.0822C3.39115 13.5425 3.01806 13.9155 2.55782 13.9155C2.09758 13.9155 1.72449 13.5425 1.72449 13.0822C1.72449 12.622 2.09758 12.2489 2.55782 12.2489C3.01806 12.2489 3.39115 12.622 3.39115 13.0822ZM2.55782 7.751C3.01806 7.751 3.39115 7.3779 3.39115 6.91766C3.39115 6.45743 3.01806 6.08433 2.55782 6.08433C2.09758 6.08433 1.72449 6.45743 1.72449 6.91766C1.72449 7.3779 2.09758 7.751 2.55782 7.751ZM7.7511 2.55772C7.7511 3.01796 7.378 3.39105 6.91777 3.39105C6.45753 3.39105 6.08443 3.01796 6.08443 2.55772C6.08443 2.09748 6.45753 1.72439 6.91777 1.72439C7.378 1.72439 7.7511 2.09748 7.7511 2.55772Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as U8}from"react/jsx-runtime";var K8=e=>U8("svg",{...e,children:U8("path",{d:"m8.60831 3.62342c0-.89747.72755-1.625 1.62499-1.625h3.25c.8974 0 1.6249.72753 1.6249 1.625l-.0733 5.37819h2.169c1.5012 0 2.1996 1.86149 1.0688 2.84899l-5.4188 4.7324c-.6123.5347-1.5256.5347-2.1378 0l-5.41894-4.7324c-1.13072-.9875-.43233-2.84899 1.06891-2.84899h2.16889zm-4.94834 15.12818c-.89747 0-1.625.7275-1.625 1.625s.72753 1.625 1.625 1.625h16.68003c.8975 0 1.625-.7275 1.625-1.625s-.7275-1.625-1.625-1.625z",fill:"currentColor"})});i();import{jsx as q8}from"react/jsx-runtime";var X8=e=>q8("svg",{...e,children:q8("path",{d:"m8.4 22c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656 1.035-.7344 1.695-.7344 1.225.2448 1.695.7344.705 1.0781.705 1.7656-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm7.2 0c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656 1.035-.7344 1.695-.7344 1.225.2448 1.695.7344.705 1.0781.705 1.7656-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm-7.2-7.5c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656c.47-.48961 1.035-.7344 1.695-.7344s1.225.24479 1.695.7344c.47.4896.705 1.0781.705 1.7656s-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm7.2 0c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656c.47-.48961 1.035-.7344 1.695-.7344s1.225.24479 1.695.7344c.47.4896.705 1.0781.705 1.7656s-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm-7.2-7.5c-.66 0-1.225-.24479-1.695-.73437-.47-.48959-.705-1.07813-.705-1.76563s.235-1.27604.705-1.76562c.47-.48959 1.035-.73438 1.695-.73438s1.225.24479 1.695.73438c.47.48958.705 1.07812.705 1.76562s-.235 1.27604-.705 1.76563c-.47.48958-1.035.73437-1.695.73437zm7.2 0c-.66 0-1.225-.24479-1.695-.73437-.47-.48959-.705-1.07813-.705-1.76563s.235-1.27604.705-1.76562c.47-.48959 1.035-.73438 1.695-.73438s1.225.24479 1.695.73438c.47.48958.705 1.07812.705 1.76562s-.235 1.27604-.705 1.76563c-.47.48958-1.035.73437-1.695.73437z",fill:"currentColor"})});i();import{jsx as Y8}from"react/jsx-runtime";var J8=e=>Y8("svg",{...e,children:Y8("path",{d:"m6.8654 12.0577c0 1.2745-1.03319 2.3077-2.3077 2.3077s-2.3077-1.0332-2.3077-2.3077 1.03319-2.3077 2.3077-2.3077 2.3077 1.0332 2.3077 2.3077zm7.6923 0c0 1.2745-1.0331 2.3077-2.3077 2.3077-1.2745 0-2.30766-1.0332-2.30766-2.3077s1.03316-2.3077 2.30766-2.3077c1.2746 0 2.3077 1.0332 2.3077 2.3077zm5.3846 2.3077c1.2746 0 2.3077-1.0332 2.3077-2.3077s-1.0331-2.3077-2.3077-2.3077c-1.2745 0-2.3077 1.0332-2.3077 2.3077s1.0332 2.3077 2.3077 2.3077z",fill:"currentColor"})});i();import{jsx as Z8}from"react/jsx-runtime";var Q8=e=>Z8("svg",{...e,children:Z8("path",{d:"m12.25 6.67311c-1.2745 0-2.30769-1.03319-2.30769-2.30771 0-1.27451 1.03319-2.3077 2.30769-2.3077s2.3077 1.03319 2.3077 2.3077c0 1.27452-1.0332 2.30771-2.3077 2.30771zm0 7.69229c-1.2745 0-2.30769-1.0331-2.30769-2.3077 0-1.2745 1.03319-2.30766 2.30769-2.30766s2.3077 1.03316 2.3077 2.30766c0 1.2746-1.0332 2.3077-2.3077 2.3077zm-2.30769 5.3846c0 1.2746 1.03319 2.3077 2.30769 2.3077s2.3077-1.0331 2.3077-2.3077c0-1.2745-1.0332-2.3077-2.3077-2.3077s-2.30769 1.0332-2.30769 2.3077z",fill:"currentColor"})});i();import{jsx as e9}from"react/jsx-runtime";var t9=e=>e9("svg",{...e,children:e9("path",{d:"m13.7617 2c.0584 0 .12.00417.18.01417.6751.1 1.1442.745 1.0451 1.43166l-2.5243 17.47497c-.09.6259-.6225 1.0792-1.2251 1.0792-.0591 0-.1191-.005-.18-.0142-.6733-.1-1.14336-.745-1.0442-1.4316l2.5226-17.4767c.09-.625.6242-1.0775 1.2251-1.0775zm-7.00456 5c.31886 0 .63772.12667.87943.38167.48343.50833.48343 1.33916 0 1.8475l-2.63657 2.77083 2.63743 2.7708c.48343.5084.48343 1.3409 0 1.8492-.24172.2533-.56057.38-.87943.38-.318 0-.63771-.1267-.87857-.38l-3.51686-3.6967c-.48343-.5083-.48343-1.3391 0-1.8466l3.51686-3.69503c.24086-.255.56057-.38167.87771-.38167zm10.48556 0c.3179 0 .6376.12667.8784.38167l3.5164 3.69503c.4833.5083.4833 1.3391 0 1.8466l-3.5164 3.6967c-.2408.2533-.5605.38-.8784.38-.3188 0-.6376-.1267-.8793-.38-.4834-.5083-.4834-1.3408 0-1.8475l2.6362-2.7725-2.6371-2.77083c-.4833-.50834-.4833-1.33917 0-1.8475.2417-.255.5605-.38167.8793-.38167z",fill:"currentColor"})});i();import{jsx as r9}from"react/jsx-runtime";var n9=e=>r9("svg",{...e,children:r9("path",{d:"M1.412 6.647c.78 0 1.412.633 1.412 1.412v12.706H16.94c.78 0 1.412.632 1.412 1.411 0 .78-.633 1.412-1.412 1.412H1.411C.633 23.588 0 22.956 0 22.176V8.06c0-.78.632-1.412 1.412-1.412zM22.588 1C23.368 1 24 1.632 24 2.412v14.117c0 .78-.632 1.412-1.412 1.412H7.058c-.778 0-1.41-.632-1.41-1.412V2.412c0-.78.632-1.412 1.41-1.412h15.53zm-1.412 2.824H8.471v11.294h12.705V3.824zm-8.755 2.531c.252-.142.77-.138 1.019.01l4.02 2.416c.24.145.383.406.383.69 0 .282-.162.544-.403.689l-4.052 2.415c-.127.077-.324.115-.466.115-.137 0-.378-.034-.501-.105-.253-.142-.617-.409-.617-.7v-4.83c0-.289.364-.557.617-.7z",fill:"currentColor"})});i();import{jsx as o9}from"react/jsx-runtime";var i9=e=>o9("svg",{...e,children:o9("path",{clipRule:"evenodd",d:"m13.0984 3.43938c-.5858-.58578-1.5356-.58578-2.1214 0l-3.76881 3.76885c-.58579.58579-.58579 1.53554 0 2.12132.58578.58579 1.53553.58579 2.12132 0l2.70819-2.70819 2.7082 2.70819c.5858.58579 1.5355.58579 2.1213 0 .5858-.58578.5858-1.53553 0-2.12132zm-5.9543 13.41652 3.8329 3.8329c.5858.5858 1.5356.5858 2.1214 0l3.8329-3.8329c.5858-.5858.5858-1.5356 0-2.1214s-1.5355-.5858-2.1213 0l-2.7723 2.7723-2.77228-2.7723c-.58579-.5858-1.53553-.5858-2.12132 0s-.58579 1.5356 0 2.1214z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as a9}from"react/jsx-runtime";var s9=e=>a9("svg",{...e,children:a9("path",{d:"m10.5016 2.97092c.6129-1.29459 2.3837-1.29459 2.9966.00001l1.7958 3.79325c.2434.51408.7138.8704 1.258.95284l4.0155.60828c1.3705.2076 1.9177 1.9633.926 2.971l-2.9056 2.9526c-.3938.4002-.5735.9767-.4805 1.5418l.6859 4.1691c.2341 1.4229-1.1985 2.508-2.4243 1.8362l-3.5916-1.9684c-.4867-.2668-1.0682-.2668-1.555 0l-3.59154 1.9684c-1.22576.6718-2.65839-.4132-2.42429-1.8361l.68593-4.1692c.09296-.5651-.08673-1.1416-.48052-1.5418l-2.90564-2.9526c-.99167-1.0077-.44446-2.7634.92599-2.971l4.0155-.60828c.5442-.08244 1.01465-.43876 1.25803-.95284z",fill:"currentColor"})});i();import{jsx as l9}from"react/jsx-runtime";var u9=e=>l9("svg",{...e,children:l9("path",{clipRule:"evenodd",d:"m11.985 5.812-1.0288 2.17325c-.586 1.23773-1.74668 2.14615-3.14789 2.35845l-2.51017.3802 1.88529 1.9158c.96838.984 1.38702 2.3703 1.16718 3.7065l-.42276 2.5696 2.07515-1.1373c1.2371-.678 2.727-.678 3.9641 0l2.0751 1.1373-.4227-2.5696c-.2199-1.3362.1988-2.7225 1.1672-3.7065l1.8853-1.9158-2.5102-.3802c-1.4012-.2123-2.5619-1.12072-3.1479-2.35845zm1.4983-2.69239c-.6128-1.2946-2.3837-1.2946-2.9965 0l-1.79583 3.79325c-.24338.51408-.71383.87041-1.25803.95284l-4.0155.60828c-1.37045.2076-1.91766 1.96332-.926 2.97102l2.90565 2.9526c.39379.4002.57348.9767.48052 1.5417l-.68593 4.1692c-.2341 1.4229 1.19852 2.508 2.42429 1.8362l3.59153-1.9684c.4868-.2668 1.0683-.2668 1.5551 0l3.5915 1.9684c1.2258.6718 2.6584-.4133 2.4243-1.8362l-.6859-4.1692c-.093-.565.0867-1.1415.4805-1.5417l2.9057-2.9526c.9916-1.0077.4444-2.76342-.926-2.97102l-4.0155-.60828c-.5442-.08243-1.0147-.43875-1.2581-.95284z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as c9}from"react/jsx-runtime";var f9=e=>c9("svg",{...e,children:c9("path",{clipRule:"evenodd",d:"M2 6.28571C2 5.49673 2.63959 4.85714 3.42857 4.85714H20.5714C21.3604 4.85714 22 5.49673 22 6.28571C22 7.07469 21.3604 7.71428 20.5714 7.71428H3.42857C2.63959 7.71428 2 7.07469 2 6.28571ZM4.85714 12C4.85714 11.211 5.49674 10.5714 6.28571 10.5714H17.7143C18.5033 10.5714 19.1429 11.211 19.1429 12C19.1429 12.789 18.5033 13.4286 17.7143 13.4286H6.28571C5.49674 13.4286 4.85714 12.789 4.85714 12ZM9.85714 16.2857C9.06816 16.2857 8.42857 16.9253 8.42857 17.7143C8.42857 18.5033 9.06817 19.1429 9.85714 19.1429H14.1429C14.9318 19.1429 15.5714 18.5033 15.5714 17.7143C15.5714 16.9253 14.9318 16.2857 14.1429 16.2857H9.85714Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as p9}from"react/jsx-runtime";var d9=e=>p9("svg",{...e,children:p9("path",{d:"m8.67556 21.6465 1.89584.3535.3926-1.9249c1.1027.034 2.1897-.0828 3.2074-.367l1.0729 1.7617 1.6555-.9092c.6409-.3283 1.255-.7575 1.7891-1.2373l1.3885-1.2374-1.4908-1.4954c.5245-.7911.9285-1.7273 1.1783-2.8192l2.0748.1226.1335-1.7929c.0268-.3282.0268-.6817.0268-1.01v-.2273-.0001c0-.2525 0-.4545-.0268-.6818l-.1335-1.81815-2.1093.12467c-.3096-1.10015-.8292-1.97313-1.4952-2.64471l1.0411-1.92441-1.7089-.83334c-.6676-.30303-1.3885-.55556-2.1629-.70708l-1.8692-.37878-.4549 2.02227c-1.0724.02298-2.1706.21979-3.21617.5585l-.97506-1.72218-1.68224.85858c-.61415.30303-1.2016.68182-1.76234 1.08586l-1.52203 1.16163 1.46422 1.72321c-.47141.78434-.85454 1.74705-1.11019 2.78393l-2.06298-.1637-.1602 1.8182c-.02671.4041-.05341.808-.05341 1.1869 0 .2524 0 .505.0267.7575l.10681 1.8182 2.10099-.1241c.27942 1.014.75807 1.9261 1.47723 2.6267l-.8813 2.0681 1.76235.6566c.0465.0165.09173.033.13625.0493.16001.0583.31079.1132.4779.1528.48065.1262.98799.2524 1.46863.3282zm.61417-12.55053c2.29637-1.71717 6.72897-1.81818 6.78237 2.34843.0534 4.1668-3.3378 5.2526-6.22162 4.4192-2.88385-.8333-2.13619-5.606-.56075-6.76763z",fill:"currentColor"})});i();import{jsx as m9}from"react/jsx-runtime";var h9=e=>m9("svg",{...e,children:m9("path",{d:"m4.217 3.06901c.04358-.54546-.36709-1.02266-.91726-1.06587-.55017-.0432-1.03149.36395-1.07507.9094-.40883 5.11717-.16781 10.44226.00568 14.27546.07054 1.5585.12991 2.8704.12992 3.8213 0 .5472.44739.9907.99929.9907.55188 0 .99928-.4435.99928-.9907 0-1.0818-.06403-2.4873-.13829-4.1175-.1733-3.8042-.40231-8.83162-.00355-13.82279zm9.9563 12.74949c-2.2507.1558-5.3327.2449-6.97506-.1558-.97326-.2449-1.05436-.7346-1.1963-5.3426l-.00276-.09c-.13968-4.53423-.17773-5.76919.12443-6.47688.34469-.8459 1.56125-1.06851 2.98058-1.29111 1.27741-.20035 11.58171-.88811 12.66971 0 .5698.46517-.7384 1.42159-2.4235 2.65368-1.5322 1.12022-3.376 2.46834-4.4034 3.88231 1.3949 1.3481 3.0566 2.4259 4.4165 3.308 1.8792 1.2189 3.1824 2.0642 2.4104 2.7326-.6999.6059-2.7027.6408-4.8097.6775-.9455.0165-1.9119.0333-2.7909.1023z",fill:"currentColor"})});i();import{jsx as mi,jsxs as FN}from"react/jsx-runtime";var g9=({...e})=>mi("svg",{...e,children:FN("g",{id:"path",children:[mi("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"}),mi("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"}),mi("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"}),mi("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"}),mi("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"}),mi("path",{d:"M16.531 8.4941C16.7122 9.22762 16.8596 9.98738 16.9572 10.7629C18.3381 10.8507 19.7575 10.9751 21.1969 11.1446L21.1977 11.0964C21.2835 4.96044 17.6372 1.77532 13.4486 1.10179C13.6348 1.42031 13.8387 1.78254 14.0519 2.18276C14.905 3.78384 15.9176 6.01212 16.531 8.4941Z",fill:"currentColor"})]})});i();import{jsx as v9}from"react/jsx-runtime";var y9=e=>v9("svg",{...e,children:v9("path",{clipRule:"evenodd",d:"m14.6005 10.65c-.6903 0-1.25-.5597-1.25-1.25002v-6.14997c0-.69036.5597-1.25001 1.25-1.25001h6.1497c.6903 0 1.25.55965 1.25 1.25001v6.14997c0 .69032-.5597 1.25002-1.25 1.25002zm-12.6005 10.1c0 .6904.55965 1.25 1.25001 1.25h6.14961c.69038 0 1.25008-.5596 1.25008-1.25v-6.1499c0-.6903-.5597-1.25-1.25008-1.25h-6.14961c-.69036 0-1.25001.5597-1.25001 1.25zm11.3505 0c0 .6904.5597 1.25 1.25 1.25h6.1497c.6903 0 1.25-.5596 1.25-1.25v-6.1499c0-.6903-.5597-1.25-1.25-1.25h-6.1497c-.6903 0-1.25.5597-1.25 1.25zm-11.3505-11.35002c0 .69032.55965 1.25002 1.25001 1.25002h6.14961c.69038 0 1.25008-.5597 1.25008-1.25002v-6.14997c0-.69036-.5597-1.25001-1.25008-1.25001h-6.14961c-.69036 0-1.25001.55965-1.25001 1.25001z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as b9}from"react/jsx-runtime";var C9=e=>b9("svg",{...e,children:b9("path",{clipRule:"evenodd",d:"m22.0882 7.28569c-.0338.55114-.5079.9675-1.0591.92995-3.7464-.25521-6.8936-.23457-9.7993-.18333-.3986.00703-.7934.01466-1.1851.02223-2.4532.04744-4.78505.09252-7.17257-.02796-.55162-.02783-.97929-.49765-.95522-1.04937s.49076-.97641 1.04239-.94857c2.31236.11668 4.56689.07325 7.02439.0259.39351-.00758.79231-.01527 1.19731-.02241 2.9241-.05155 6.1384-.0734 9.9705.18765.5511.03754.9705.51477.9367 1.06591zm0 5.78541c-.0338.5512-.5079.9675-1.0591.93-3.7464-.2552-6.8936-.2346-9.7993-.1834-.3988.0071-.7938.0147-1.1857.0223-2.45322.0474-4.78446.0925-7.17197-.028-.55162-.0278-.97929-.4976-.95522-1.0493.02407-.5518.49076-.9765 1.04239-.9486 2.31235.1167 4.56688.0732 7.02436.0259.39354-.0076.79234-.0153 1.19734-.0224 2.9241-.0516 6.1384-.0734 9.9705.1876.5511.0376.9705.5148.9367 1.0659zm-.9753 6.5159c.552-.008.99-.4623.9782-1.0147-.0118-.5523-.4689-.9936-1.0209-.9856-6.2773.0914-10.4894-.01-14.77115-.1131-1.10589-.0266-2.21649-.0533-3.36847-.0769-.5521-.0113-1.00577.4273-1.01329.9796-.00753.5523.43393 1.0092.98603 1.0205 1.14246.0234 2.2471.05 3.3496.0765 4.28668.1032 8.54098.2057 14.85998.1137z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as x9}from"react/jsx-runtime";var w9=e=>x9("svg",{...e,children:x9("path",{d:"m12.7865 2.94054c.7413.21443 1.3767.75049 1.8003 1.39377l6.9896 12.43669c.2118.4288.4236.9649.4236 1.5009 0 1.6082-1.2708 2.8948-2.8594 2.8948h-14.19093c-.52951 0-1.05902-.1072-1.48264-.4289-1.37673-.8577-1.90624-2.6803-1.05902-4.0741l7.09548-12.32939c.2118-.42885.63541-.8577 1.05901-1.07213.6354-.42885 1.4826-.53606 2.224-.32164zm-.5295 2.03704h-.2119c-.2118 0-.3177 0-.4236.10721l-.1588.16082-.1589.16082-7.09545 12.43667c-.2118.3216-.1059.8577.31771 1.0721.08825.0893.25005.1042.36282.1067l14.25172.0005c.4236 0 .8472-.3216.8472-.8577 0-.1072 0-.3216-.1059-.4288l-7.2013-12.32947c-.1059-.21442-.2118-.32164-.4236-.42885zm.6354 11.47172c.4236.4289.4236 1.1794 0 1.6082-.3177.2144-.6354.3216-.8473.3216-.1059 0-.3177 0-.4236-.1072s-.2118-.1072-.3177-.2144c-.3953-.4003-.4217-1.0807-.079-1.5183l.079-.0899c.4236-.4288 1.165-.4288 1.5886 0zm.4236-7.93371v.21443l-.4236 5.03898c0 .7505-.2118 1.3938-.8473 1.3938-.7413 0-.9531-.6433-.9531-1.2866l-.4236-5.03897c0-.75049.5295-1.39376 1.2708-1.50097.7414-.10722 1.3768.42885 1.3768 1.17933z",fill:"currentColor"})});i();import{jsx as S9}from"react/jsx-runtime";var D9=e=>S9("svg",{...e,children:S9("path",{d:"m3.81493 6.36059c3.08876-4.51878 10.40947-5.95666 14.79867-2.2448 6.2012 5.24418 4.951 18.09941-6.5912 17.93811-11.542153-.1614-11.296231-11.1745-8.20747-15.69331zm.3161 4.74441c-.21438 1.3577-.18185 2.8247.21769 4.1649.39061 1.3102 1.11527 2.4485 2.26201 3.2804.47657.3457 1.05138.6568 1.74342.9052l.22047-2.8886c-1.45328-.9896-2.00163-2.605-1.99252-4.1767zm15.52497-2.11314-2.0825 1.92114c.4477 2.0742-.1406 4.3636-1.9318 5.6316l.1812 2.9024c.678-.2623 1.2582-.5962 1.7512-.9755 1.2454-.9582 2.0658-2.3068 2.4595-3.8531.4672-1.8346.3121-3.8498-.3776-5.62654zm-5.2445.22952c-.6711-.57069-1.6504-.81143-2.7043-.63891-1.0636.17412-1.97562.73537-2.47215 1.45763-.52483.7633-.86487 2.2708-.50246 3.4986.16442.557.45675 1.0039.90194 1.3287.44947.328 1.20237.6385 2.46407.6595 1.1982.02 1.9722-.2946 2.4683-.6741.5044-.3858.8546-.9408 1.0289-1.6177.3699-1.4361-.1222-3.1105-1.1843-4.01372zm-3.3565-5.09683c-.9833.16372-1.92577.48149-2.77592.92687l2.16822 1.78626c.6128-.20104 1.2593-.30765 1.903-.30943l1.694-2.39577c-.96-.17519-1.9746-.17686-2.9893-.00793z",fill:"currentColor"})});i();import{jsx as E9}from"react/jsx-runtime";var P9=e=>E9("svg",{...e,viewBox:"0 0 24 24",children:E9("path",{clipRule:"evenodd",d:"m4.99451 4.11717c-.26525.00112-.51919.10753-.70601.29583-.18671.18841-.29096.44324-.28983.70849.00112.26525.10753.51919.29583.70601l.009.009.0045-.0045 13.932 13.8195-.0045.0045c.1909.1788.4442.2758.7056.2701.2615-.0056.5104-.1134.6934-.3003.1829-.1869.2855-.438.2856-.6995.0001-.2616-.1023-.5128-.2851-.6998l-1.4775-1.4655c2.0625-1.6245 3.9225-3.5325 3.84-4.6875.0675-.957-1.209-2.49-3.024-4.179-2.8755-2.6775-7.899-3.9105-11.553-1.7835l-1.7175-1.704c-.18841-.18671-.44325-.29096-.70849-.28983zm5.95399 5.49333-1.464-1.4505c1.5315-.7665 3.6135-.636 4.9635.519 1.533 1.311 1.983 3.738 1.113 5.508l-1.455-1.4445c.2235-.9285-.081-2.01-.825-2.64-.6315-.534-1.5405-.684-2.3325-.492zm-8.946 2.3145c-.06-.8415.915-2.088 2.25-3.33l3.1155 3.09c-.138 2.1285.897 4.5885 4.3065 4.6365.121.0017.2421-.0003.363-.006l2.4315 2.412c-3.3015.792-7.0905-.432-9.4425-2.622-1.8135-1.689-3.0915-3.2205-3.024-4.1805z",fill:"currentColor"})});i();import{jsx as T9}from"react/jsx-runtime";var A9=e=>T9("svg",{...e,children:T9("path",{d:"m20.2951 12.8675c.39.3916 1.0223.3916 1.4123 0 .3901-.3915.3901-1.0264 0-1.418-.5441-.5463-1.0963-1.185-1.7355-1.92403-1.5548-1.798-3.6235-4.19026-7.3397-7.29367-.3677-.30698-.9005-.30929-1.2707-.00552-2.80856 2.30436-4.3166 3.73206-9.11644 9.27432-.3619.4179-.31787 1.0512.09835 1.4145.41623.3634 1.04703.3192 1.40893-.0987.22242-.2568.43756-.5046.64588-.7437-.12635 2.67-.31165 6.9451-.23082 7.493.03562.2352.06232.4794.08762.7106.05894.539.11018 1.0073.24856 1.1258.2571.2118.73171.2329 2.49178.2541.43145.0052 1.20203.0212 2.13063.0436-.04005-.8221-.09121-2.9385-.11733-4.0194l-.00919-.3784c-.01478-.1881-.01071-.5289-.00583-.9389.00278-.2332.00583-.4887.00583-.7514.02316-1.5293.99606-2.8171 2.31633-3.0049 1.4361-.2147 2.71.9122 2.9649 2.5488.0232.1342.0463.2683.0694.3756.1622.8049.278 4.9904.139 6.0636-.013.0978-.0151.1825-.0169.2563v.0011c1.1948.0404 2.1271.0788 2.4112.1058.8899.0847 1.9183.0847 2.0567-.4233.2768-1.0162.4548-5.9783.4548-6.6981.0122-.5599.0019-1.8728-.017-2.9434.3011.335.6026.6584.9172.9743z",fill:"currentColor"})});i();import{jsx as R9}from"react/jsx-runtime";var F9=e=>R9("svg",{...e,children:R9("path",{d:"m15.7232 10.2988c-.6792.8959-.3199 2.4081.2552 2.9902.575.5821.2595.2692 2.8516 3.3035 2.5921 3.0344-.2717 3.8307-2.8485 3.8203l-7.07912-.0286c-2.54232-.0103-5.19674-1.1217-2.25149-4.8988.67569-.7818 1.33873-1.5406 1.9048-2.1733.77137-.8621.78975-2.2582.04095-3.1399-.89303-1.05163-1.88693-2.29888-2.76384-3.4247-1.43635-2.02599-.07259-3.1681 1.57519-3.16031l9.31711.04403c1.6246.00768 2.5595 1.84424 1.601 3.15606-.8543 1.16929-1.8098 2.46542-2.6029 3.51152zm.8976 8.1748c-1.0924.2669-6.5677.2362-8.11503-.0174-1.54734-.2535-.98222-1.1902-.42583-1.8964.55639-.7061 1.20002-1.166 1.79963-1.8301.45553-.5046.92993-.9558 1.41473-1.4203.0189-.0182.0205-.0197.0076-.0097.3977-.3063 1.1425-.4605 1.6217-.2591.6321.2657 1.1417.8642 1.6292 1.3291.7252.6914 1.6262 1.596 2.4986 2.5248.5045.537.6617 1.3122-.4306 1.5791z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as B9}from"react/jsx-runtime";var O9=e=>B9("svg",{...e,children:B9("path",{d:"M20.9995 14.0626C20.9631 16.5163 18.9626 18.4942 16.5002 18.4942H13.263V12.8027L14.6115 14.1068C15.0581 14.5387 15.7702 14.5268 16.2022 14.0802C16.6342 13.6336 16.6222 12.9213 16.1757 12.4894L13.0084 9.42632C12.9532 9.359 12.8904 9.2982 12.8212 9.24525C12.3745 8.81431 11.6631 8.82653 11.2314 9.27282L7.98828 12.6262C7.55634 13.0729 7.56825 13.7851 8.01486 14.217C8.46148 14.649 9.17371 14.6371 9.60565 14.1904L11.013 12.7352V18.4942H7.50003C5.03754 18.4942 3.03702 16.5163 3.00051 14.0626L3 14.0284V13.9943C3.03192 11.8494 4.56491 10.0682 6.59484 9.65361C6.72933 6.7847 9.09789 4.5 12.0001 4.5C14.9886 4.5 17.4114 6.92271 17.4114 9.91127C17.4114 9.98315 17.4099 10.0546 17.4072 10.1256C19.3761 10.1616 20.9661 11.8738 20.9995 13.9943L21 14.0281L20.9995 14.0626Z",fill:"currentColor"})});i();import{jsx as M9}from"react/jsx-runtime";var I9=e=>M9("svg",{...e,children:M9("path",{d:"m21.9985 12.0962c.156-11.337814-12.26789-12.565873-17.33611-6.47453-3.58731 4.31149-3.71983 11.58443.64734 14.61853 4.36716 3.034 16.53287 3.1937 16.68877-8.144zm-8.5688-1.5609v7.29h-2.4297v-7.29zm-.3492-2.77932c-.2329.23288-.5214.34931-.8656.34931s-.6328-.11643-.8656-.34931c-.2329-.23287-.3493-.52144-.3493-.86569s.1164-.63281.3493-.86568c.2328-.23288.5214-.34932.8656-.34932s.6327.11644.8656.34932c.2328.23287.3492.52143.3492.86568s-.1164.63282-.3492.86569z",fill:"currentColor"})});i();import{jsx as k9}from"react/jsx-runtime";var V9=e=>k9("svg",{...e,children:k9("path",{d:"m17.556 2c-.5523 0-1 .44771-1 1v2.43713h-2.4371c-.5523 0-1 .44772-1 1 0 .55229.4477 1 1 1h2.4371v2.43706c0 .55231.4477 1.00001 1 1.00001s1-.4477 1-1.00001v-2.43706h2.4371c.5523 0 1-.44771 1-1 0-.55228-.4477-1-1-1h-2.4371v-2.43713c0-.55229-.4477-1-1-1zm-11.16851 1.26404c1.23017-.04521 2.91132-.02893 3.79511.2616.5235.17684.5544.48675.507 3.38818l-.001.05678c-.0467 2.85493-.0594 3.6326-.2431 4.0706-.2107.5239-.87939.6353-1.65859.742-.70121.096-5.08453.1317-5.9701-.1168-.54681-.1498-.67672-.7304-.73486-3.74861-.06216-3.43916.04971-3.98138.6889-4.17828.6165-.18385 2.06436-.40204 3.61664-.47547zm.12642 18.83116c-1.22709.0981-2.90743.1543-3.80287-.098-.53064-.1541-.57486-.4625-.65224-3.3633l-.00151-.0567c-.07615-2.8543-.0969-3.6317.06784-4.0772.18793-.5325.85123-.6727 1.62507-.8128.69645-.1261 5.07421-.3503 5.96961-.1401.55279.1261.70749.7007.89549 3.7136.21 3.4333.1212 4.1716-.5089 4.3958-.54029.1923-1.46289.2656-2.56636.3533h-.00003-.00022c-.32776.026-.67148.0534-1.02588.0854zm5.85269-7.7969c-.2522.8955-.3521 2.4643-.254 3.6914.1402 1.5478.3059 2.9399.5161 3.5479.2242.6301 1.1312.7485 4.5645.5384 3.0129-.1879 3.5875-.3426 3.7136-.8953.2102-.8955-.014-5.2733-.1401-5.9698-.1402-.7737-.2803-1.4371-.8128-1.625-.4455-.1647-1.2229-.144-4.0773-.0678l-.0567.0015c-2.9008.0774-3.2991.2481-3.4533.7787z",fill:"currentColor"})});i();import{jsx as N9,jsxs as BN}from"react/jsx-runtime";var L9=e=>BN("svg",{...e,children:[N9("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"}),N9("path",{clipRule:"evenodd",d:"M18.3015 16.7C18.3015 16.3134 18.6149 16 19.0015 16C19.3881 16 19.7015 16.3134 19.7015 16.7V18.3012H21.3025C21.6891 18.3012 22.0025 18.6146 22.0025 19.0012C22.0025 19.3878 21.6891 19.7012 21.3025 19.7012H19.7015V21.3025C19.7015 21.6891 19.3881 22.0025 19.0015 22.0025C18.6149 22.0025 18.3015 21.6891 18.3015 21.3025V19.7012H16.7C16.3134 19.7012 16 19.3878 16 19.0012C16 18.6146 16.3134 18.3012 16.7 18.3012H18.3015V16.7Z",fill:"currentColor",fillRule:"evenodd"})]});i();import{jsx as $9}from"react/jsx-runtime";var z9=({...e})=>$9("svg",{...e,children:$9("path",{clipRule:"evenodd",d:"M10.9912 2.11398C13.1572 1.94882 16.3205 1.97579 18.5935 2.11398C19.3811 2.16116 20.1345 2.60607 19.4239 3.66777C18.2339 5.44738 16.9412 6.85287 15.3189 8.67629C16.6715 8.64259 18.1183 8.58866 19.5865 8.62911C20.8579 8.66618 21.5256 9.28972 20.494 10.3649C16.9027 14.1028 12.2839 17.9788 7.77226 21.0493C5.69192 22.4649 4.57469 22.384 5.34947 20.2337C6.00011 18.4305 7.42982 15.4139 8.80387 12.9399C7.47262 13.0074 5.53782 13.0208 4.18945 12.9939C3.1878 12.9737 2.81539 12.4276 3.08507 11.6962C4.02679 9.1212 6.26123 5.60579 8.21743 3.39476C9.04786 2.45777 9.48448 2.22857 10.9912 2.11398Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as G9}from"react/jsx-runtime";var H9=e=>G9("svg",{...e,children:G9("path",{d:"m19.1411 3.22522c-1.6336-1.63363-4.2823-1.63363-5.9159 0l-4.42241 4.42244c-1.63362 1.63364-1.63362 4.28224 0 5.91594l1.12908 1.1291c.54453.5445 1.42743.5445 1.97203 0 .5445-.5446.5445-1.4275 0-1.972l-1.1291-1.1291c-.5446-.5445-.5446-1.4274 0-1.97196l4.4224-4.42245c.5445-.54454 1.4275-.54454 1.972 0l1.6336 1.63364c.5446.54455.5446 1.42744 0 1.97198l-1.514 1.51399c-.5445.5445-.5445 1.4274 0 1.972.5445.5445 1.4274.5445 1.972 0l1.514-1.514c1.6337-1.63365 1.6337-4.28229 0-5.91593zm-14.28222 17.54948c1.63363 1.6337 4.28228 1.6337 5.91592 0l4.4224-4.4224c1.6337-1.6336 1.6337-4.2822 0-5.9159l-.891-.89097c-.5445-.54454-1.4274-.54454-1.9719 0-.5446.54457-.5446 1.42747 0 1.97197l.891.891c.5445.5445.5445 1.4274 0 1.972l-4.42248 4.4224c-.54455.5445-1.42742.5445-1.97198 0l-1.63365-1.6337c-.54454-.5445-.54454-1.4274 0-1.9719l1.51404-1.5141c.54454-.5445.54454-1.4274 0-1.9719-.54455-.5446-1.42744-.5446-1.97197 0l-1.51405 1.514c-1.63362 1.6337-1.63361 4.2823.00002 5.9159z",fill:"currentColor"})});i();import{jsx as j9}from"react/jsx-runtime";var W9=e=>j9("svg",{...e,children:j9("path",{clipRule:"evenodd",d:"m9.59493 13.25c.70527 0 1.19227.4311 1.25817 1.0932l.0077.1568v6.25c0 .6964-.4366 1.1773-1.10708 1.2424l-.15879.0076h-6.3291c-.70525 0-1.19221-.4311-1.25817-1.0932l-.00766-.1568v-6.25c0-.6964.43658-1.1773 1.10704-1.2424l.15879-.0076zm11.13927 5c.7595 0 1.2658.5 1.2658 1.25 0 .6964-.4366 1.1773-1.107 1.2424l-.1588.0076h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.6964.4366-1.1773 1.1071-1.2424l.1588-.0076zm0-3.75c.7595 0 1.2658.5 1.2658 1.25 0 .6964-.4366 1.1773-1.107 1.2424l-.1588.0076h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.6964.4366-1.1773 1.1071-1.2424l.1588-.0076zm-11.13927-12.5c.70527 0 1.19227.43112 1.25817 1.0932l.0077.1568v6.25c0 .6964-.4366 1.1773-1.10708 1.2424l-.15879.0076h-6.3291c-.70525 0-1.19221-.4311-1.25817-1.0932l-.00766-.1568v-6.25c0-.69643.43658-1.1773 1.10704-1.24244l.15879-.00756zm11.13927 5c.7595 0 1.2658.5 1.2658 1.25 0 .69642-.4366 1.17729-1.107 1.24243l-.1588.00757h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.69642.4366-1.17729 1.1071-1.24243l.1588-.00757zm0-3.75c.7595 0 1.2658.5 1.2658 1.25 0 .69642-.4366 1.1773-1.107 1.24244l-.1588.00756h-6.3291c-.6329 0-1.2659-.5-1.2659-1.25 0-.69643.4366-1.1773 1.1071-1.24244l.1588-.00756z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as _9}from"react/jsx-runtime";var U9=e=>_9("svg",{...e,children:_9("path",{d:"m22.9958 11.8791c-.0478 1.702-.5318 3.3895-1.4008 4.8848-.0956.168-.2708.2707-.4681.2768-.19.0048-.3505-.0762-.4498-.2225-.0464-.0856-.1002-.1603-.1479-.2267l-.0004-.0005c-.0171-.023-.0331-.0459-.0539-.0762-.1373-.1849-.1557-.4073-.0527-.5959.7145-1.2596 1.0981-2.6291 1.1398-4.0809v-.2671c0-2.35354-.929-4.59584-2.6166-6.31354-1.7648-1.79263-4.1375-2.81406-6.6878-2.87571h-.2574c-2.49402 0-4.85688.92593-6.65354 2.60857-1.80157 1.68626-2.83103 3.94308-2.89721 6.35578-.04167 1.6585.36644 3.2819 1.17653 4.6865.1103.2067.09804.4461-.04167.6516-.00792.0135-.0171.0274-.02656.0417-.00665.01-.01343.0203-.02001.0308-.01961.029-.03922.0592-.05393.0822-.11642.1813-.31374.2889-.53434.2841-.21815-.0037-.40566-.1112-.51596-.2938-.99269-1.6838-1.486591-3.5913-1.42899-5.5169.07966-2.82857 1.29786-5.4589 3.4291-7.40627 2.05893-1.87967 4.73186-2.90593 7.55798-2.90593.103 0 .2059 0 .3088.00484 2.9438.07615 5.6731 1.25109 7.6867 3.30604 2.0197 2.05253 3.0884 4.74088 3.0087 7.56822zm-3.391.5476c-.0307 1.1242-.277 2.1855-.7341 3.1598-.0834.1837-.2304.3203-.413.3844-.1778.0604-.3689.0459-.5405-.0399l-.0662-.0339h-.0172c-.3394-.2018-.4644-.6467-.2843-1.0419.3481-.764.5442-1.621.5662-2.4768.0441-1.6742-.5466-3.26741-1.6643-4.48829-1.1263-1.21725-2.6484-1.91352-4.2931-1.95945h-.1581c-1.5969 0-3.10922.63461-4.25878 1.78538-1.14712 1.14956-1.80402 2.68836-1.84569 4.33106-.02206.8462.1152 1.6718.40934 2.4539.14094.3663.0147.7712-.29291.9719l-.07966.035c-.17525.0907-.38482.1016-.57233.0327-.19242-.0726-.34071-.2164-.41547-.4086-.39462-.9949-.57968-2.0525-.54904-3.1465.05515-2.15044.9449-4.1377 2.5038-5.5955 1.46576-1.37077 3.35434-2.09484 5.31404-2.04165 1.9351.04956 3.7428.84374 5.1203 2.2411l-.0086.00846.1937.20912c1.4057 1.52187 2.1471 3.51757 2.0859 5.61967zm-5.3532-2.91072c2.1287 1.76482 1.7071 6.09952-2.2624 6.04882-3.95856-.0508-3.9892-3.989-2.93032-5.5085 1.05892-1.51944 3.68152-1.79505 5.19272-.54032zm-8.66839 13.38252c-.37011.0109-.69979-.2345-.73043-.5403v-.0012c-.17525-1.5811.05148-3.5394 1.60425-4.7639 3.25997-2.5602 10.76767-1.0407 12.06317 1.4179.5453 1.0106.761 2.2145.6483 3.3871-.0111.3263-.3812.6019-.8334.6019z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as K9}from"react/jsx-runtime";var q9=e=>K9("svg",{...e,children:K9("path",{d:"m12 3c3.3137 0 5.9999 2.68629 5.9999 6 .8285 0 1.5.67158 1.5 1.5v9c0 .8284-.6715 1.5-1.5 1.5h-11.9999c-.82844 0-1.5-.6716-1.5-1.5v-9c0-.82842.67156-1.5 1.5-1.5 0-3.31371 2.68629-6 6-6zm0 3c-1.6569 0-3 1.34314-3 3h5.9999c0-1.65686-1.343-3-2.9999-3zm0 12c1.6569 0 2.9999-1.3431 2.9999-3s-1.343-3-2.9999-3-3 1.3431-3 3 1.3431 3 3 3z",fill:"currentColor"})});i();import{jsx as X9}from"react/jsx-runtime";var Y9=e=>X9("svg",{...e,children:X9("path",{d:"m2.70507 7.67368c1.74622-5.02899 8.66503-6.766142 13.67123-4.38094 7.0728 3.36988 9.1132 15.77696-1.6595 18.53426-10.77276 2.7573-13.757949-9.1243-12.01173-14.15332zm7.80893-.83709c-.3854-.38176-1.00379-.37523-1.38114.0146l-2.96599 3.06372c-.02406.02443-.04687.05013-.06831.07698-.0482.06031-.08835.12501-.12044.19261-.05827.1225-.09227.259-.09573.4033-.00048.0193-.00031.0386.00025.0579.00388.1177.02812.2303.06928.3341.04648.1175.11615.2278.20904.3237l2.9719 3.0699c.37735.3898.99574.3963 1.38114.0145.3853-.3818.3918-1.0072.0143-1.3971l-1.34627-1.3907h1.58317c2.6969 0 4.8831 2.2116 4.8831 4.9397v.4083c0 .5457.4372.988.9766.988s.9766-.4423.9766-.988v-.4083c0-3.8194-3.0607-6.91554-6.8363-6.91554h-1.58306l1.34616-1.39058c.3775-.38982.371-1.01532-.0143-1.39709z",fill:"currentColor"})});i();import{jsx as J9}from"react/jsx-runtime";var Z9=e=>J9("svg",{...e,children:J9("path",{clipRule:"evenodd",d:"m12.0946 20.4146c-2.54091-.0423-5.06588-.0847-6.15454-.0847-3.43484 0-3.51232-.6046-3.74674-2.4432-.024-.1906-.0495-.381-.07648-.5712-.19072-1.292-.10927-9.0787-.02682-10.80108.00993-.23536.01092-.45497.0139-.66079.01689-1.62391.02384-2.35363 3.34445-2.35363 2.48524 0 7.86103.07189 11.47163.12113 1.8247.02462 3.1985.04333 3.5193.04333.9555.03348 1.4194 1.09311 1.474 2.08774.0547.99463.0269 5.566 0 7.0569-.0079.3349.011.8312.0338 1.4103.0586 1.5461.1391 3.6801-.1976 4.8845-.3 1.1935-1.7204 1.3925-2.9213 1.3925-.7103.0177-3.7329-.0325-6.7336-.0818zm-7.78952-14.74217.03775.9769c.00376.10022.04593.19523.11791.26568s.16836.11103.26947.11347l1.28136.03052c.05395.00123.10758-.00845.15762-.02844.05005-.01999.09547-.04988.13348-.08785.03801-.03796.06783-.0832.08763-.13296.0198-.04977.02917-.10301.02753-.15648l-.02781-.92766c-.00278-.09829-.04254-.19199-.11147-.2627-.06892-.0707-.16203-.11329-.26102-.1194l-1.29129-.07878c-.05542-.00335-.11094.00486-.16297.0241-.05203.01923-.09941.04907-.13909.08757-.03969.03851-.07079.08484-.0913.136-.02051.05115-.02998.10502-.0278.16003zm3.23121.9769-.03774-.97591c-.00219-.05501.00728-.10987.0278-.16102.02051-.05116.05161-.09749.09129-.136.03969-.0385.08707-.06834.1391-.08757.05203-.01924.10754-.02745.16297-.0241l1.29129.07878c.09899.00611.19209.0487.26102.1194.06892.07071.10869.16441.11147.2627l.02781.92766c.00164.05356-.00776.10688-.02762.15671s-.04976.09512-.08789.1331c-.03812.03798-.08365.06785-.13382.08778-.05016.01993-.1039.02951-.15792.02814l-1.28037-.03052c-.10112-.00244-.19749-.04302-.26947-.11347s-.11415-.16546-.11792-.26568zm11.65041 11.52887-.0397-.9769c-.004-.1001-.0463-.1948-.1182-.2651-.072-.0702-.1682-.1107-.2692-.1131l-1.2794-.0315c-.054-.0014-.1077.0082-.1579.0282-.0502.0199-.0957.0498-.1338.0877-.0381.038-.068.0833-.0879.1331-.0199.0499-.0293.1032-.0276.1567l.0278.9287c.0028.0983.0425.192.1115.2627.0689.0707.162.1133.261.1194l1.2913.0788c.0555.0035.1111-.0046.1633-.0238.0521-.0192.0996-.049.1394-.0875s.071-.0849.0916-.1362c.0205-.0512.03-.1061.0278-.1612zm-8.4579-11.52887-.0388-.97591c-.0022-.0551.0073-.11004.0279-.16127s.0518-.09761.0916-.13613c.0397-.03852.0873-.06834.1394-.08751s.1078-.02727.1633-.02378l1.2913.07878c.099.00611.1921.0487.261.1194.0689.07071.1087.16441.1115.2627l.0278.92766c.0016.05356-.0078.10688-.0276.15671-.0199.04983-.0498.09512-.0879.1331-.0382.03798-.0837.06785-.1339.08778-.0501.01993-.1039.02951-.1579.02814l-1.2803-.03052c-.1012-.00244-.1975-.04302-.2695-.11347s-.1142-.16546-.1179-.26568zm3.1547 10.56767.0397.9769c.0038.1003.046.1953.1179.2657.072.0705.1684.111.2695.1135l1.2794.0305c.054.0014.1077-.0082.1579-.0281.0502-.02.0957-.0498.1338-.0878.0382-.038.0681-.0833.0879-.1331.0199-.0498.0293-.1032.0276-.1567l-.0278-.9277c-.0028-.0983-.0425-.192-.1114-.2627-.069-.0707-.1621-.1133-.2611-.1194l-1.2913-.0788c-.0554-.0034-.1109.0046-.163.0237-.0521.0192-.0995.0489-.1393.0873s-.071.0847-.0916.1358c-.0207.0511-.0303.1059-.0282.1609zm2.07-11.56033.0388.97691c.0022.0551-.0073.11004-.0279.16126-.0206.05123-.0518.09761-.0916.13613-.0397.03853-.0873.06834-.1394.08751s-.1078.02727-.1633.02378l-1.2913-.07878c-.099-.00611-.1921-.0487-.261-.1194s-.1087-.16441-.1115-.2627l-.0268-.92865c-.0015-.05347.008-.10668.0279-.1564.02-.04971.0499-.09488.088-.13275.0381-.03788.0836-.06766.1337-.08753s.1037-.02942.1577-.02806l1.2793.03053c.101.00242.1972.04286.2692.11311.0719.07024.1142.16501.1182.26504zm-3.1547 12.52153-.0397-.9769c-.004-.1001-.0463-.1948-.1183-.2651-.0719-.0702-.1682-.1107-.2691-.1131l-1.2794-.0315c-.054-.0014-.1077.0082-.1579.0282-.0502.0199-.0957.0498-.1338.0877-.0382.038-.0681.0833-.0879.1331-.0199.0499-.0293.1032-.0276.1567l.0278.9287c.0028.0983.0425.192.1114.2627.069.0707.1621.1133.2611.1194l1.2913.0788c.0555.0035.1111-.0046.1632-.0238.0522-.0192.0997-.049.1395-.0875s.071-.0849.0915-.1362c.0206-.0512.0301-.1061.0279-.1612zm4.3169-11.52887-.0387-.97591c-.0022-.0551.0073-.11004.0278-.16127.0206-.05123.0518-.09761.0916-.13613s.0873-.06834.1394-.08751c.0522-.01917.1078-.02727.1633-.02378l1.2913.07878c.099.00611.1921.0487.261.1194.0689.07071.1087.16441.1115.2627l.0268.92766c.0017.05356-.0077.10688-.0276.15671s-.0498.09512-.0879.1331-.0836.06785-.1338.08778-.1039.02951-.1579.02814l-1.2794-.03052c-.1011-.00244-.1975-.04302-.2695-.11347s-.1141-.16546-.1179-.26568zm-9.61715 10.56767.03774.9769c.00377.1003.04594.1953.11792.2657.07198.0705.16835.111.26947.1135l1.28037.0305c.05402.0014.10776-.0082.15792-.0281.05017-.02.0957-.0498.13382-.0878.03813-.038.06803-.0833.08789-.1331s.02926-.1032.02762-.1567l-.02781-.9277c-.00278-.0983-.04255-.192-.11147-.2627-.06893-.0707-.16203-.1133-.26102-.1194l-1.29129-.0788c-.05534-.0033-.11077.0049-.16273.0241-.05196.0191-.09929.0489-.13896.0873-.03966.0384-.07079.0846-.09136.1356-.02058.0511-.03016.1058-.02811.1607zm-1.12442-.0157.03874.9769c.0022.0551-.0073.11-.02787.1612-.02057.0513-.05177.0977-.09156.1362s-.0873.0683-.13945.0875c-.05214.0192-.10777.0273-.16328.0238l-1.29129-.0788c-.09899-.0061-.19209-.0487-.26102-.1194-.06892-.0707-.10868-.1644-.11147-.2627l-.02682-.9287c-.00163-.0535.00776-.1068.02762-.1567.01987-.0498.04977-.0951.08789-.1331.03812-.0379.08366-.0678.13382-.0877.05017-.02.1039-.0296.15793-.0282l1.27937.0315c.10095.0024.19719.0429.26914.1131.07196.0703.11424.165.11825.2651zm3.80237-2.9248c.7986-.4491 3.1935-1.8288 3.8699-2.7082.0695-.0866.0348-.2068-.0517-.259l-3.7834-1.9656c-.1212-.06893-.26029.01773-.26029.13787-.03477.91383-.03476 3.72543-.03476 4.63833 0 .1379.13905.2245.26025.1556z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as Q9}from"react/jsx-runtime";var ey=e=>Q9("svg",{...e,children:Q9("path",{clipRule:"evenodd",d:"m17.5195 3.01289c-4.627 1.42268-11.69556 3.59505-15.22532 6.18514-.42573.28958-.38276 3.56277.08595 3.85137l3.70565.9222c0 1.5508.65158 6.8268 4.88692 7.9398 2.7752.5721 4.9538-1.682 6.3529-5.1187 1.3822.3522 2.4765.6347 3.0381.787.9834.4561 1.0593.1413 1.1653-.2986l.028-.113c.7675-5.272.3407-12.86975.1699-14.64054-.042-.41268-.6806-.65887-1.2353-.45404-.7635.26032-1.7888.57512-2.9721.93937zm-1.9957 13.32381c-2.4993-.6302-4.9994-1.2571-7.50025-1.8808.13291 2.0079.52966 4.711 3.14105 5.2478 2.3435.7133 3.1889-.9989 4.1973-3.0391z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as ty}from"react/jsx-runtime";var ry=e=>ty("svg",{...e,children:ty("path",{d:"m20.5717 17.2858c.79 0 1.4283.6384 1.4283 1.4284s-.6383 1.4283-1.4283 1.4283h-11.43003c-.78834 0-1.42834-.6383-1.42834-1.4283s.64-1.4284 1.42834-1.4284zm-17.14337 0c.79 0 1.42917.6384 1.42917 1.4284s-.63917 1.4283-1.42917 1.4283c-.78833 0-1.42833-.6383-1.42833-1.4283s.64-1.4284 1.42833-1.4284zm17.14337-7.1433c.79 0 1.4283.6392 1.4283 1.4292s-.6383 1.4283-1.4283 1.4283h-11.43003c-.78834 0-1.42834-.6383-1.42834-1.4283s.64-1.4292 1.42834-1.4292zm-17.14337 0c.79 0 1.42917.6392 1.42917 1.4292s-.63917 1.4283-1.42917 1.4283c-.78833 0-1.42833-.6383-1.42833-1.4283s.64-1.4292 1.42833-1.4292zm17.14337-7.1425c.79 0 1.4283.63833 1.4283 1.42833s-.6383 1.42917-1.4283 1.42917h-11.43003c-.78834 0-1.42834-.63917-1.42834-1.42917.00084-.79.64084-1.42833 1.42917-1.42833zm-17.14337 0c.79 0 1.42917.63833 1.42917 1.42833s-.63917 1.43-1.42917 1.43c-.78833-.00083-1.42833-.64-1.42833-1.43s.64-1.42833 1.42833-1.42833z",fill:"currentColor"})});i();import{jsx as ny}from"react/jsx-runtime";var oy=e=>ny("svg",{...e,children:ny("path",{d:"m12.3369 3.55763c.0451-.89627.7944-1.58554 1.6736-1.53953l6.1462.32164c.8161.04271 1.4683.7076 1.5101 1.53953l.3155 6.26593c.0452.8963-.6309 1.6602-1.5101 1.7062-.8791.046-1.6284-.6433-1.6735-1.5396l-.1317-2.61568-7.4804 7.62608c-.6225.6346-1.6317.6346-2.25417 0s-.62247-1.6635 0-2.2981l7.48037-7.62606-2.5658-.13428c-.8791-.046-1.5552-.80987-1.5101-1.70613zm8.9774 15.19197c0 1.7778-1.4412 3.219-3.2191 3.219h-12.87616c-1.77784 0-3.21905-1.4412-3.21905-3.219v-13.18963c0-1.77783 1.44122-3.21905 3.21905-3.21905h3.21904c.88892 0 1.60952.72061 1.60952 1.60953s-.7206 1.60952-1.60952 1.60952h-3.21904v13.18963h12.87616v-3.3131c0-.8889.7206-1.6095 1.6095-1.6095.889 0 1.6096.7206 1.6096 1.6095z",fill:"currentColor"})});i();import{jsx as iy}from"react/jsx-runtime";var ay=e=>iy("svg",{...e,children:iy("path",{d:"m18.6532 18.6542c-.325.325-.8316.4883-1.5066.4883-.7042 0-1.5059-.1883-2.3484-.505.6984-.5475 1.3859-1.1392 2.0417-1.7958.6533-.6517 1.2375-1.3359 1.785-2.0317.0442.1158.11.2375.1483.3517.5284 1.5833.4834 2.89-.12 3.4925zm-11.79996.4883c-.675 0-1.18166-.1642-1.50583-.4883-.60417-.6025-.64833-1.9084-.12-3.4925.0375-.1142.10417-.2359.1475-.3517.54667.6958 1.1325 1.38 1.78333 2.0317.6575.6566 1.34417 1.2483 2.0425 1.7958-.84166.3167-1.64333.505-2.3475.505zm-1.625-10.305c-.52916-1.58333-.485-2.88917.11917-3.49167.325-.325.83-.48833 1.50583-.48833.70417 0 1.505.18833 2.3475.505-.69833.5475-1.385 1.13917-2.04166 1.795-.65167.6525-1.2375 1.33667-1.78417 2.0325-.04333-.11583-.11-.23833-.1475-.3525zm11.92166 3.1625c-.6558.9717-1.4392 1.9333-2.3283 2.8217-.9.9008-1.8592 1.6808-2.82 2.3333-.9634-.6525-1.9225-1.4325-2.82252-2.3333-.88917-.8892-1.67167-1.85-2.32917-2.8217.6575-.9717 1.44-1.9333 2.32833-2.8225.89996-.9 1.85916-1.68167 2.82246-2.33167.9609.65 1.9209 1.43167 2.82 2.33167.8892.8892 1.6725 1.8508 2.3292 2.8225zm-.0025-7.1425c.675 0 1.1825.16417 1.5067.48833.6025.6025.6483 1.90834.12 3.49167-.0384.11417-.1042.23667-.1484.3525-.5475-.69583-1.1316-1.38-1.7841-2.03333-.6567-.655-1.3442-1.24667-2.0417-1.79417.8417-.31667 1.6433-.505 2.3475-.505zm3.3242 7.1425c.405-.7575.7641-1.5142 1.0108-2.25833.9042-2.71167.6167-4.99-.81-6.41667-.8642-.86667-2.085-1.325-3.5258-1.325-1.5559 0-3.3417.54833-5.1467 1.51583-1.805-.96666-3.59166-1.51583-5.14666-1.51583-1.44 0-2.65916.45833-3.525 1.325-1.42666 1.4275-1.715 3.70583-.81166 6.41667.2475.74413.60583 1.50083 1.01333 2.25833-.4075.7575-.76667 1.5142-1.01333 2.2575-.90334 2.7125-.615 4.9917.81166 6.4167.86584.8675 2.085 1.3258 3.525 1.3258 1.555 0 3.34166-.5483 5.14746-1.5158 1.8034.9666 3.59 1.5158 5.1459 1.5158 1.4408 0 2.6608-.4583 3.5258-1.325 1.4267-1.4267 1.7142-3.705.81-6.4175-.2467-.7433-.6058-1.5-1.0108-2.2575z",fill:"currentColor"})});i();import{jsx as sy}from"react/jsx-runtime";var ly=e=>sy("svg",{...e,children:sy("path",{clipRule:"evenodd",d:"m22.0003 11.4141c-.1004-11.304369-11.1037-11.060891-16.78934-6.40002-3.84615 3.16522-5.317726 14.50432 1.80602 16.73042 2.31016.7268 2.59201-.1753 3.02362-1.5568.312-.9985.7022-2.2475 1.9931-3.3128.8231-.6896 2.2559-.6232 3.7827-.5525 2.9397.1361 6.2279.2884 6.1839-4.9083zm-16.32113 5.6348c.23411.3826.63545.5913 1.03679.5913.23411 0 .43478-.0348.602-.1739.56856-.3827.73579-1.1479.40134-1.7392l-.03344-.0348c-.33445-.5913-1.07024-.7652-1.6388-.3826s-.70234 1.1479-.36789 1.7392zm12.14043-5.0087c.0669.6608.5686 1.1478 1.204 1.1478h.0669c.6689-.0696 1.1706-.6609 1.1037-1.3565v-.0696-.0348c-.0669-.6608-.6689-1.1478-1.3378-1.0782-.6354.0695-1.1037.6956-1.0368 1.3913zm-12.17388-.4522c.13378.0348.26756.0696.40134.0696.50167 0 1.00334-.3479 1.13712-.8348.23412-.6609-.10033-1.35655-.73578-1.60002-.63545-.24348-1.30435.10434-1.53846.76521v.03481c-.23412.6261.10033 1.3217.73578 1.5652zm9.63208-3.72175c.2007.13913.4348.2087.6689.2087.4014 0 .7693-.2087 1.0034-.5913.3344-.59131.2006-1.35653-.3679-1.73913l-.0335-.03479c-.5685-.34782-1.2709-.17391-1.6388.41739-.3679.59131-.2006 1.35653.3679 1.73913zm-6.22071-1.32173c.16723.52173.63545.83478 1.13711.83478.1108 0 .2217-.02387.3515-.05184.0269-.00579.0546-.01176.0833-.01773.6355-.24348.9699-.93913.7358-1.6s-.903-1.00869-1.53848-.76521h-.03344c-.63545.24347-.9699.93913-.73579 1.6z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as uy}from"react/jsx-runtime";var cy=e=>uy("svg",{...e,children:uy("path",{d:"m13.4144 6 4.5856 4.5857-9.95735 9.9576-4.0884.4514c-.54731.0605-1.00974-.4023-.94885-.9496l.45491-4.0914zm7.1077-.47944-2.0427-2.04268c-.6371-.63717-1.6705-.63717-2.3077 0l-1.9217 1.9217 4.3504 4.35042 1.9217-1.9217c.6372-.63751.6372-1.67057 0-2.30774z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as fy}from"react/jsx-runtime";var py=e=>fy("svg",{...e,children:fy("path",{d:"M19.5427 9.71299C21.3396 10.7505 21.3396 13.3441 19.5427 14.3816L6.89773 21.6822C5.10078 22.7196 2.8546 21.4228 2.8546 19.3479L2.8546 4.74675C2.8546 2.67181 5.10078 1.37497 6.89774 2.41244L19.5427 9.71299Z",fill:"currentColor"})});i();import{jsx as dy}from"react/jsx-runtime";var my=e=>dy("svg",{...e,children:dy("path",{d:"m5.03666 10.8522c.51251.0183.92109.4193.96101.9183l.00255.1168.00044.1828c.01531.6885.18571 1.6057.62783 2.4885.78316 1.5638 2.20547 2.5134 4.58571 2.5969 2.7301.0958 4.4504-.6666 5.4599-1.9712.3259-.4211.5542-.8737.7008-1.3244.0282-.0868.0512-.1658.0695-.2354l.0421-.1798.0185-.1156c.0553-.5495.5457-.9501 1.0952-.8947.5495.0553.9501.5456.8947 1.0951-.0767.7623-.4212 1.8219-1.2391 2.8788-1.1367 1.469-2.8727 2.4274-5.2555 2.6851l-.0013.924 1.001.0008c.5522 0 1 .4477 1 1 0 .5129-.3861.9355-.8834.9933l-.1166.0067h-4.00004c-.55229 0-1-.4477-1-1 0-.5128.38604-.9355.88338-.9932l.11662-.0068.99904-.0008v-.871l-.1745-.008c-2.94807-.1902-4.91745-1.554-5.98428-3.6842-.37658-.7519-.61294-1.5476-.73949-2.3471-.06944-.4386-.09766-.8183-.10067-1.1147l.00144-.1767c.01977-.5519.48323-.9833 1.03516-.9635zm5.14174-8.74976c.3849-.068 1.1957-.02029 2.0375.03843l.5056.03571c.3354.02358.6631.04556.9579.05926 1.319.079 2.426 1.7858 2.3807 4.4442-.0308 1.80785-.0421 2.74853-.0441 3.80146v.6471c.0004.1822.0012.3292.0023.4367.023 1.5111-.5191 3.3964-1.467 3.7293-.4376.1976-1.7443.3194-2.7857.2553-.7982-.047-2.15774-.2241-2.94204-.6081s-1.1882-1.903-1.1703-2.7445c.0117-.942.1799-4.32316.2155-6.00616.0797-2.6608 1.1813-3.878 2.30964-4.0887z",fill:"currentColor"})});i();import{jsx as hy}from"react/jsx-runtime";var gy=e=>hy("svg",{...e,children:hy("path",{d:"m10.7498 2.00041c4.8325 0 8.75 3.9175 8.75 8.74999 0 1.9642-.655 3.7733-1.7492 5.2333l3.8834 3.885c.4883.4859.4883 1.2809 0 1.7667-.2417.2433-.5617.3642-.8834.3642-.32 0-.64-.1209-.8833-.3634l-3.8833-3.8833c-1.4617 1.0917-3.2692 1.7467-5.2342 1.7467-4.83335.0008-8.75001-3.9159-8.75001-8.7492 0-4.83165 3.91666-8.74999 8.75001-8.74999zm0 2.5c-3.44668 0-6.25001 2.8025-6.25001 6.24999 0 3.4475 2.80333 6.25 6.25001 6.25 3.4458 0 6.25-2.8033 6.25-6.25 0-3.44665-2.8042-6.24999-6.25-6.24999zm-1.75001 3.49167c.22333-.12667.68166-.1225.90333.00833l3.55748 2.13919c.215.1275.34.36.34.61 0 .2508-.1425.4833-.3566.6108l-3.58755 2.14c-.1125.0667-.28583.1008-.41333.1008-.12 0-.33333-.03-.44417-.0916-.2225-.1267-.545-.3642-.545-.6209v-4.27662c0-.25834.3225-.4925.545-.62z",fill:"currentColor"})});i();import{jsx as vy}from"react/jsx-runtime";var yy=e=>vy("svg",{...e,children:vy("path",{d:"m16.3564 2c1.5175.00328 2.7654.05959 3.3551.19802 1.2681.28936 1.6232 1.60755 2.0544 8.51998.4819 7.877.2781 9.5709-1.1676 10.0853-1.2394.441-3.3562.6093-5.8879.8106l-.5708.0456c-.5773.0463-1.1734.0953-1.7834.1505-2.81531.2251-6.67048.3537-8.72489-.225-1.21742-.3537-1.31887-1.061-1.49641-7.7162l-.00348-.1303c-.07337-2.7504-.12433-4.66021-.13075-6.02614l.00004-.55296c.00836-1.50623.08983-2.24363.28637-2.77512.43117-1.22173 1.95295-1.54324 3.72836-1.86475 1.11233-.20143 6.31756-.51193 10.07126-.51953zm3.1428 5.19947-15.49271 1.15568c.01637 1.28708.06245 3.01455.12591 5.39325l.00179.067c.09105 3.4133.16207 5.0486.32392 5.9018l.00263.0138c.76761.1673 1.90292.2576 3.26301.268 1.49142.0114 3.09275-.0725 4.46275-.1818.87-.0787 1.6602-.1412 2.401-.1999.8576-.0679 1.6491-.1306 2.4216-.207 1.3162-.1301 2.2225-.2729 2.7833-.4464.0351-.1138.0851-.3222.126-.6736.1469-1.2621.0949-3.4668-.1487-7.4489-.0929-1.4893-.1808-2.68305-.2705-3.64193zm-11.14647 2.93623c2.58087-1.8752 6.39687-1.02448 8.52877.9606 1.2696 1.1821 2.1643 2.255 2.1166 2.9255l-.0003.1105c-.0672.9454-1.7348 2.4982-3.3505 3.6722-2.5808 1.8753-6.39694 1.0245-8.52883-.9606-1.26956-1.1821-2.16431-2.255-2.11656-2.9254l.00028-.1104c.06722-.9455 1.73482-2.4983 3.35054-3.6724zm.90454 1.9887c-.90992 1.3477-.88542 4.8225 2.51483 4.8706 3.4002.0482 3.7685-3.7858 1.9417-5.3499-1.293-1.107-3.5466-.8684-4.45653.4793zm3.63903.5174c1.0567.8936.8436 3.0841-1.1232 3.0566-1.96671-.0275-1.98091-2.0128-1.4546-2.7827.5263-.77 1.8299-.9064 2.5778-.2739z",fill:"currentColor"})});i();import{jsx as by}from"react/jsx-runtime";var Cy=e=>by("svg",{...e,children:by("path",{d:"m2.25954 20.5314c.23026 1.1309 1.57918 1.268 2.7308 1.1994 1.15151-.0685 11.21906.0686 13.52216.2399 2.303.1713 2.8623-.4456 3.1913-.891.2304-.3084.2962-4.0903.2962-5.8381 0-1.7135-.2304-4.691-.5594-6.95284-.1974-1.40511.2632-2.67311-3.3229-2.94722-1.6121-.10278-3.0812-.10278-6.0423-.03433-.296-.78822-1.2946-2.8142-1.9526-3.15687-.98704-.41132-6.54729.13701-7.23818.27412-.75669.17133-.75669.58265-.75669 1.50788v2.98165c0 1.30222-.36187 11.38971.13161 13.61741z",fill:"currentColor"})});i();import{jsx as xy}from"react/jsx-runtime";var wy=e=>xy("svg",{...e,children:xy("path",{d:"m21.9985 12.0962c.156-11.337813-12.26789-12.565874-17.33611-6.47453-3.58731 4.31149-3.71983 11.58443.64734 14.61853 4.36716 3.034 16.53287 3.1937 16.68877-8.144zm-8.8773 1.238h-2.3237v-.1495c0-.9268.1764-1.4649 1.0589-2.0629l.6912-.4634c.5736-.3886.8236-.77726.8236-1.40508 0-.7175-.4706-1.16594-1.1472-1.16594-.8236 0-1.4265.46339-1.4265 1.55459h-2.35319c0-1.8984 1.22069-3.37826 3.85329-3.37826 2.0295 0 3.4561 1.01647 3.4561 2.88497 0 1.30052-.6912 2.03292-1.456 2.61592l-.603.4484c-.4412.3439-.5735.5531-.5735.9418zm.3676 2.2571c0 .8371-.6765 1.5397-1.5295 1.5397-.8677 0-1.5295-.7026-1.5295-1.5397s.6618-1.5247 1.5295-1.5247c.853 0 1.5295.6876 1.5295 1.5247z",fill:"currentColor"})});i();import{jsx as Sy}from"react/jsx-runtime";var Dy=e=>Sy("svg",{...e,children:Sy("path",{clipRule:"evenodd",d:"m12 22c5.5228 0 10-4.4772 10-10 0-5.52285-4.4772-10-10-10-5.52285 0-10 4.47715-10 10 0 5.5228 4.47715 10 10 10zm-3.33333-11.6667c.92047 0 1.66663-.74616 1.66663-1.66663 0-.92048-.74616-1.66667-1.66663-1.66667s-1.66667.74619-1.66667 1.66667c0 .92047.7462 1.66663 1.66667 1.66663zm8.33333 3.3334c0 2.7614-2.2386 5-5 5-2.76142 0-5-2.2386-5-5zm0-5.00003c0 .92047-.7462 1.66663-1.6667 1.66663-.9204 0-1.6666-.74616-1.6666-1.66663 0-.92048.7462-1.66667 1.6666-1.66667.9205 0 1.6667.74619 1.6667 1.66667z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as Ey,jsxs as ON}from"react/jsx-runtime";var Py=e=>ON("svg",{...e,children:[Ey("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"}),Ey("path",{d:"M7.66621 8.21881C9.16184 6.42126 11.7691 5.68812 13.9883 6.26249C15.0878 6.54707 16.077 7.14918 16.787 8.08709C17.4957 9.0234 17.9503 10.3264 17.9266 12.0543C17.9028 13.7834 17.4234 15.0307 16.7129 15.9152C16 16.8027 15.0236 17.3629 13.9441 17.6616C11.7547 18.2675 9.2536 17.7685 7.98327 16.886C6.7448 16.0256 6.1109 14.5403 6.07219 12.894C6.03347 11.2477 6.59545 9.50574 7.66621 8.21881Z",fill:"currentColor",stroke:"transparent"})]});i();import{jsx as Ty}from"react/jsx-runtime";var Ay=e=>Ty("svg",{...e,children:Ty("path",{d:"m6.87391 20.4397c-1.80165-.6674-3.34245-1.8936-4.39695-3.4997-1.0545-1.6059-1.567498-3.5072-1.46385-5.4256.10365-1.91847.81855-3.7534 2.04-5.23636s2.8854-2.53613 4.74855-3.00542c1.863-.46929 3.82734-.33007 5.60554.39728 1.7783.72735 3.2771 2.00467 4.2772 3.64507.7418 1.21674 1.1804 2.58587 1.2889 3.99293l.642-.536c.6359-.531 1.5818-.4459 2.1128.1899.5309.6359.4459 1.5819-.19 2.1128l-2.996 2.5018c-.5567.4648-1.3662.4648-1.9228 0l-2.996-2.5018c-.6359-.5309-.721-1.4769-.19-2.1128.531-.6358 1.4769-.7209 2.1128-.1899l.385.3215c-.1193-.7805-.3922-1.53458-.8082-2.21675-.6667-1.0936-1.6659-1.94515-2.8514-2.43006-1.1855-.4849-2.49506-.57771-3.73709-.26485-1.242.31287-2.3514 1.01497-3.16575 2.00362-.8142.98864-1.2909 2.21194-1.3599 3.49094-.06915 1.2789.27285 2.5464.9759 3.617.70305 1.0707 1.73025 1.8882 2.9313 2.3331 1.20109.4449 2.51304.4938 3.74384.1394.7961-.2291 1.6273.2304 1.8565 1.0266.2291.796-.2304 1.6272-1.0265 1.8564-1.8463.5314-3.81421.4582-5.61589-.2091z",fill:"currentColor"})});i();import{jsx as Ry}from"react/jsx-runtime";var Fy=e=>Ry("svg",{...e,children:Ry("path",{d:"M5.64571 1.19092C5.19893 0.866257 4.57355 0.965254 4.24889 1.41204C3.92423 1.85882 4.02322 2.48419 4.47 2.80886C5.75625 3.74353 6.95092 5.00735 8.01704 6.20703C6.38757 6.20371 5.0889 6.2273 4.54926 6.28789C2.56844 6.5103 2.31336 7.59249 2.09302 9.25911C1.87267 10.9257 2.11033 17.874 2.37512 19.4659C2.63991 21.0578 3.40531 21.7237 5.61415 21.6844C6.9775 21.6601 10.7551 21.7863 13.8349 21.8892L13.8531 21.8898C15.7549 21.9533 17.3885 22.0078 18.0174 22.0123L18.03 22.0124C19.6724 22.024 21.003 22.0334 21.6139 20.7615C22.2264 19.4863 21.9782 11.1909 21.8801 9.61079C21.7819 8.03071 21.2479 6.89398 19.993 6.61776C19.5898 6.52901 18.0558 6.44028 16.0935 6.36809C17.0728 5.28349 18.2296 4.02372 19.6219 2.73331C20.0269 2.35789 20.051 1.72518 19.6755 1.32012C19.3001 0.915058 18.6674 0.891034 18.2623 1.26646C16.6527 2.7583 15.3356 4.22058 14.2947 5.37616L14.2798 5.39271C14.0913 5.60208 13.9119 5.8013 13.7414 5.98868C13.6467 6.09275 13.5555 6.19241 13.4676 6.28764C12.5521 6.2645 11.613 6.24544 10.7013 6.23164C10.5417 6.0511 10.3732 5.8585 10.1952 5.65501L10.0863 5.5306C8.90401 4.17976 7.37355 2.44649 5.64571 1.19092ZM6.2929 14.9216C5.95119 14.5799 5.90848 14.0524 6.16476 13.6642C6.20137 13.6088 6.24408 13.5562 6.2929 13.5074L9.82843 9.97183C10.219 9.5813 10.8521 9.5813 11.2426 9.97183C11.6332 10.3623 11.6332 10.9955 11.2426 11.386L9.46447 13.1642H16.5858C17.1381 13.1642 17.5858 13.6119 17.5858 14.1642C17.5858 14.7165 17.1381 15.1642 16.5858 15.1642H9.36396L11.2426 17.0429C11.6332 17.4334 11.6332 18.0666 11.2426 18.4571C10.8521 18.8476 10.219 18.8476 9.82843 18.4571L6.2929 14.9216Z",fill:"currentColor"})});i();import{jsx as By}from"react/jsx-runtime";var Oy=e=>By("svg",{...e,children:By("path",{d:"m11.6953 2c-2.36214 0-4.62753.93836-6.29781 2.60864-.58578.58578-.58578 1.53553 0 2.12131.58579.58579 1.53553.58579 2.12133 0 1.10766-1.10768 2.60998-1.72995 4.17648-1.72995s3.0688.62227 4.1765 1.72995c.7623.76237 1.2948 1.7117 1.5527 2.7402l-.5756-.48053c-.6358-.53098-1.5817-.44591-2.1127.18997-.531.63589-.446 1.58181.1899 2.11281l2.9961 2.5017c.5566.4648 1.3662.4648 1.9228 0l2.996-2.5017c.6358-.531.7209-1.47692.19-2.11281-.531-.63588-1.477-.72095-2.1129-.18997l-.4506.37628c-.3144-1.79011-1.1718-3.45466-2.4744-4.75726-1.6702-1.67028-3.9357-2.60864-6.2978-2.60864zm7.4377 16.8867c-1.5536 1.7794-3.7502 2.869-6.1069 3.0288-2.3567.1599-4.68042-.623-6.45992-2.1765-1.32667-1.1582-2.26984-2.6738-2.73018-4.3469l-.17388.2132c-.52381.6417-1.46874.7374-2.11053.2136-.641801-.5238-.737441-1.4687-.21363-2.1105l2.57465-3.1546c.26245-.3216.64644-.52 1.06057-.5481.41414-.02809.82139.1167 1.12487.3999l2.97703 2.778c.60569.5652.63851 1.5143.07332 2.12-.5652.6057-1.51437.6386-2.12005.0734l-.04151-.0389c.34575.8142.87327 1.5482 1.55225 2.141 1.18009 1.03 2.72111 1.5493 4.28401 1.4433 1.5628-.1061 3.0196-.8285 4.0498-2.0087.5448-.624 1.4924-.6883 2.1165-.1435.624.5448.6884 1.4923.1436 2.1165z",fill:"currentColor"})});i();import{jsx as My}from"react/jsx-runtime";var Iy=e=>My("svg",{...e,children:My("path",{clipRule:"evenodd",d:"m3.43934 7.93934c-.58579.58579-.58579 1.53553 0 2.12136l4.5 4.5c.58579.5857 1.53553.5857 2.12136 0 .5857-.5858.5857-1.5356 0-2.1214l-1.93938-1.9393h.87868c4.9706 0 9 4.0294 9 9 0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5c0-6.6274-5.3726-12-12-12h-.87868l1.93938-1.93934c.5857-.58579.5857-1.53553 0-2.12132-.58583-.58579-1.53557-.58579-2.12136 0z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as ky}from"react/jsx-runtime";var Vy=e=>ky("svg",{...e,children:ky("path",{d:"m8.03043 13.6607c-.29507.3401-.77967.4312-1.22762.3856-.26063-.0266-.53261-.0225-.83308-.0225-2.20558 0-3.95014 2.0802-3.992 3.992-.04187 1.9117 1.25486 4.1879 3.992 3.992 2.73715-.1959 3.99201-1.7864 3.99201-3.992 0-.3414-.04361-.6694-.125-.982-.10544-.4049-.03782-.8512.25806-1.1471l1.1558-1.1558c.3906-.3905 1.0237-.3905 1.4142 0l1.1558 1.1558c.296.2959.3636.7422.2581 1.1471-.0813.3126-.125.6406-.125.982 0 2.2056 1.2079 4.1121 3.992 3.992 2.1682 0 3.9313-1.7263 3.9905-3.8801.0021-.0742.0111-.1481.0221-.2214.249-1.6525-2.0736-4.0873-4.0126-3.8825-.3396 0-.6661.0432-.9773.1238-.4074.1055-.8563.036-1.152-.2635l-.2823-.286c-.3353-.3396-.3855-.8665-.1187-1.2621 1.2897-1.9126 4.8975-7.29122 5.5061-8.5084.5957-1.19133-.0999-1.55313-.4001-1.64993-.0817-.02633-.1675-.02743-.2521-.01311-.3067.0519-1.1141.23047-1.8398.75302-.8699.6263-7.2522 7.11612-10.39907 10.74312zm-.0647 4.3551c0 1.0978-.33819 2.1849-2.02833 2.2762-1.69015.0913-1.93466-.9724-1.96367-2.2762s.81534-1.7091 1.92989-1.7429 2.06211.6451 2.06211 1.7429zm11.62977-.1c0 1.0978-.6104 1.7735-1.7181 1.7735-1.1078 0-1.6627-.5095-1.6627-1.6073s.4995-1.7181 1.6072-1.7181c1.1078 0 1.7736.4541 1.7736 1.5519zm-16.00097-13.65035c.36312.61452 4.38321 5.68498 5.13739 6.04815.75418.3631 3.01228-2.35364 2.62128-3.13575-.3911-.78212-6.57133-4.945-7.37947-5.13008-.51609-.11819-.77828.15828-.90039.37355-.07895.13919-.07354.30477-.02904.45848.09686.33451.29621.95576.55023 1.38565z",fill:"currentColor"})});i();import{jsx as Ny}from"react/jsx-runtime";var Ly=e=>Ny("svg",{...e,children:Ny("path",{clipRule:"evenodd",d:"m18.1805 10.0368c.1262-9.02516-9.92582-10.002742-14.02641-5.15382-2.90243 3.43213-3.00965 9.22162.52374 11.63682 2.18864 1.496 6.79817 2.1141 10.01977.223.1591.1745.3297.3626.5089.5601l.0011.0012.028.0308c.3639.4012.7527.8439 1.1456 1.2911 1.4196 1.6159 2.8916 3.2914 3.4268 3.2876.9201-.0065 1.8533-.8438 1.8058-1.6624-.0358-.617-3.0505-4.1585-4.5332-5.8655.6663-1.1243 1.0748-2.556 1.0999-4.3489zm-3.0735-.0148c.078-5.63543-6.13398-6.24583-8.66808-3.21812-1.79365 2.14306-1.85991 5.75812.32367 7.26612 1.35254.9342 4.20111 1.3201 6.19201.1393.3521-.2089 1.2447-.8717 1.4727-1.4718.0304-.08.062-.1614.0941-.2443h.0001c.2656-.6842.5717-1.4727.5855-2.4712z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as $y}from"react/jsx-runtime";var zy=e=>$y("svg",{...e,children:$y("path",{d:"m2.08399 13.9107c.0602 3.3015.20898 6.331.4105 7.6243.0499.3202.29259.5164.60534.4312 3.13827-.855 18.95577-8.2148 18.95577-9.9463 0-1.2384-16.56256-9.66456-19.1655-10.02992-.19461-.02731-.34033.09248-.39323.28174-.29629 1.05988-.42832 4.29228-.44124 7.85348l14.16417 1.8946z",fill:"currentColor"})});i();import{jsx as Gy}from"react/jsx-runtime";var Hy=e=>Gy("svg",{...e,children:Gy("path",{clipRule:"evenodd",d:"m6.24843 6.77277c.74955 2.13722 3.90597 2.17402 4.61477.46032.0683-.1408.125-.2811.1707-.42046.6058-.00536 1.1978-.0136 1.7785-.0229.4047-.00648.8032-.01346 1.1969-.02035 2.4581-.04305 4.7202-.08264 7.0401.0237.5014.02298.9266-.36485.9495-.86627.023-.50141-.3648-.92652-.8662-.94951-2.382-.10919-4.7076-.06836-7.1622-.02525-.3921.00689-.7877.01383-1.1872.02023-.57.00912-1.1495.01719-1.7411.02251-.1944-.59562-.5734-1.11691-1.05139-1.50894-.92757-.76087-3.35974-.86696-3.825 1.46603-1.01999-.03054-2.08381-.07744-3.2008-.14657-.50098-.031-.93224.34999-.96324.85097-.03101.50098.34999.93224.85097.96325 1.18803.07352 2.31663.12231 3.39569.15324zm-4.2483 5.54683c0-.5019.4069-.9088.90884-.9088 1.40629 0 2.64238-.0161 3.88561-.0323 1.96291-.0254 3.94372-.0511 6.64042-.0143.5017-2.38934 3.3463-2.2812 4.2812-1.51432.5667.46472.9111 1.01612 1.0122 1.64502.7524.0257 1.5502.0552 2.3993.0894.5015.0202.8917.443.8716.9445-.0202.5016-.4431.8919-.9447.8717-.9361-.0376-1.8091-.0697-2.6268-.097-.0222.0498-.0455.0999-.0699.1503-.7019 1.6972-3.9734 1.7795-4.8058-.2702-2.7348-.0393-4.72571-.0135-6.71331.0124-1.24973.0162-2.49855.0325-3.92982.0325-.50194 0-.90884-.4069-.90884-.9089zm0 6.1328c-.00116-.5019.40481-.9097.90675-.9109 1.07677-.0025 2.10118-.0058 3.08174-.0089.11298-.0004.2258-.0008.33762-.0011.05692-.1747.12895-.3528.21677-.5339.73063-1.7666 3.87449-1.7897 4.45259.5249 3.676.0025 6.8235.0408 10.1372.1927.5014.0229.8892.4481.8662.9495-.0229.5014-.4481.8892-.9495.8663-3.2903-.1508-6.4125-.1885-10.0872-.1907-.5634 2.1212-2.87808 1.9991-3.77763 1.2612-.42273-.3467-.72861-.77-.89095-1.2522-.09774.0003-.19592.0006-.29455.001-.98121.003-2.00765.0064-3.0881.0089-.50195.0011-.90979-.4048-.91094-.9068z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as jy}from"react/jsx-runtime";var Wy=e=>jy("svg",{...e,children:jy("path",{d:"m10.6913 7.39911c.578 0 1.0471.46807 1.0471 1.04714 0 .57802-.4691 1.04714-1.0471 1.04714h-6.59702v9.31951h15.39302v-5.7592c0-.5791.468-1.0472 1.0471-1.0472s1.0471.4681 1.0471 1.0472v6.8064c0 .5791-.468 1.0471-1.0471 1.0471h-17.48726c-.57907 0-1.04714-.468-1.04714-1.0471v-11.41385c0-.57907.46807-1.04714 1.04714-1.04714zm5.8803-4.34459 4.7121 1.57071c.288.09529.5194.31205.6367.59268.1162.27959.1047.59687-.0314.86913l-2.4074 4.81686c-.1833.3675-.5539.5791-.9382.5791-.1571 0-.3173-.0356-.4671-.11-.5173-.2597-.7277-.888-.4691-1.40526l1.1889-2.37891c-4.0996 1.68797-6.3249 4.53987-6.3249 8.18697 0 .5791-.4681 1.0472-1.0471 1.0472-.5791 0-1.0472-.4681-1.0472-1.0472 0-4.4699 2.7028-8.04278 7.5143-10.07421l-1.9824-.66064c-.5477-.18221-.844-.77594-.6608-1.32464.1822-.54765.7717-.84609 1.3236-.66179z",fill:"currentColor"})});i();import{jsx as _y}from"react/jsx-runtime";var Uy=e=>_y("svg",{...e,children:_y("path",{d:"m15.7829 19.9195c1.7831-.0396 2.688-.079 3.4524-.079 2.4101 0 2.4643-.5698 2.6291-2.2998.0161-.1681.0331-.3472.0535-.5377.1341-1.2162.0766-8.54397.0191-10.16543-.0064-.2209-.008-.42798-.0095-.62158-.0121-1.52821-.0174-2.21601-2.3473-2.21601-1.7437 0-4.6496.06881-7.1831.115-1.2804.02334-2.2443.04093-2.46946.04093-.67064.03118-.99638 1.029-1.0347 1.96448-.02098.51212-.02473 2.03357-.02069 3.53602-2.0997-1.99934-5.23506-4.27551-5.94338-4.62817-.23692-.17101-.5951.06006-.65895.36744-.51522 2.4804-.24785 10.79872.42166 14.00882.10701.5131.5848.5653.89181.352 1.82324-1.2674 3.87556-3.4426 5.27447-5.2548-.03781 1.4028-.06521 3.1549.15005 4.1851.21076 1.1226 1.20719 1.3097 2.05019 1.3097.4981.0169 2.6193-.0302 4.7248-.077z",fill:"currentColor"})});i();import{jsx as Ky}from"react/jsx-runtime";var qy=e=>Ky("svg",{...e,children:Ky("path",{clipRule:"evenodd",d:"M2 6.28572C2 5.49674 2.63959 4.85715 3.42857 4.85715H20.5714C21.3604 4.85715 22 5.49674 22 6.28572C22 7.0747 21.3604 7.71429 20.5714 7.71429H3.42857C2.63959 7.71429 2 7.0747 2 6.28572ZM2 12C2 11.211 2.63959 10.5714 3.42857 10.5714H14.8571C15.6461 10.5714 16.2857 11.211 16.2857 12C16.2857 12.789 15.6461 13.4286 14.8571 13.4286H3.42857C2.63959 13.4286 2 12.789 2 12ZM3.42857 16.2857C2.63959 16.2857 2 16.9253 2 17.7143C2 18.5033 2.63959 19.1429 3.42857 19.1429H7.71429C8.50326 19.1429 9.14286 18.5033 9.14286 17.7143C9.14286 16.9253 8.50326 16.2857 7.71428 16.2857H3.42857Z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as Xy}from"react/jsx-runtime";var Yy=e=>Xy("svg",{...e,children:Xy("path",{clipRule:"evenodd",d:"m18.4814 8.67568-.6644 2.03912c-.1208.3764-.7329.3834-.8658.0139l-.8174-2.24473c-.1531-.4148-.4953-.75988-.9463-.9481l-1.9289-.80868c-.3584-.14988-.3342-.59953.0403-.72153l1.9449-.62742c.5316-.1708.9423-.54725 1.1074-1.01433l.741-2.08443c.1328-.38343.7651-.366.8738.0244l.5798 2.10534c.1289.46359.4954.85399.9947 1.05964l2.2027.90279c.3785.15337.3342.63091-.0685.73199l-1.9409.48103c-.6081.14988-1.0792.56467-1.2524 1.09101zm-11.00752 2.19872 1.03356-3.39854c.18792-.62742 1.14004-.63904 1.34675-.02324l1.27161 3.74128c.238.6913.7705 1.2665 1.472 1.5802l3.0005 1.3478c.5575.2498.5199.9992-.0627 1.2025l-3.0255 1.0457c-.8268.2847-1.4658.9121-1.7226 1.6906l-1.15255 3.474c-.20671.6391-1.19015.61-1.35928-.0406l-.90201-3.5089c-.20045-.7727-.77047-1.4234-1.54721-1.7661l-3.4264-1.5047c-.58881-.2556-.51991-1.0515.10649-1.2199l3.01924-.8018c.94586-.2498 1.67875-.9411 1.9481-1.8183z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as R0}from"react/jsx-runtime";var Jy=e=>R0("svg",{...e,children:R0("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:R0("animateTransform",{attributeName:"transform",dur:"1.5s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})})});i();import{jsx as Zy}from"react/jsx-runtime";var Qy=e=>Zy("svg",{...e,children:Zy("path",{d:"m16.5566 10.0643c-.0138-1.76364-.0349-4.48222.0778-6.10188.0712-1.21794.7119-1.9487 2.3848-1.9487 1.4949-.09744 1.8509.34102 2.0644.77948 1.1747 2.63075.9255 14.9563.8187 16.9537-.0103.1819-.0095.3498-.0088.5049.0044.9247.0067 1.3953-2.3404 1.6874-2.3136.2923-2.5627-.4872-2.634-1.9487-.0711-1.1692-.3203-7.0153-.3558-8.7692 0-.2944-.0032-.6926-.0067-1.157zm-14.48339-1.50187c-.14486 1.45517-.03621 4.88197 0 5.86777.03621 1.2674.32593 5.3514.39835 6.1963.07243 1.0797.18107 1.5491 2.57119 1.3144 2.38974-.2414 2.38569-.931 2.38125-1.6846-.00073-.1258-.00149-.2533.00887-.3809.10864-1.4552-.21728-8.872-.39835-9.9986-.06291-.39135-.10395-.76005-.13985-1.08248-.06745-.60575-.11671-1.04819-.25851-1.17073-.28971-.28165-.76049-.70413-2.49876-.61025-1.77448.14083-1.95554.70413-2.06419 1.54909zm12.34129 3.27277c.1806.8473.2413 2.5838.2777 3.6225.0093.2658.0171.4859.0247.6338.0379.9189-.0378 3.9177-.0755 4.5464-.0379.7739-.1513 1.3059-2.6088 1.3543-2.49154.0828-2.51834-.5076-2.54541-1.104-.00455-.1004-.00912-.201-.02546-.2986-.18904-1.0157-.37808-7.8354.18903-8.9479.18904-.3385.64274-.7255 2.45744-.8706s2.155.4837 2.3063 1.0641z",fill:"currentColor"})});i();import{jsx as eb}from"react/jsx-runtime";var tb=e=>eb("svg",{...e,children:eb("path",{d:"m19.9646 3.56989c1.8831 1.70948 2.0107 4.32673 2.0173 6.99611l-.0001.9022c0 .5142.0048 1.0139.0095 1.4974.0315 3.247.0561 5.7743-1.4399 7.1725-1.292 1.2075-3.7521 1.737-6.1439 1.8298-.7898.0306-2.3731.0535-3.3766 0-2.50856-.1338-5.72463-.3411-7.52574-1.8764-1.58915-1.3545-1.45707-4.3243-1.46202-6.8769-.00066-.3406-.0013-.6675-.00565-.9747-.00365-.2567-.0094-.5236-.01531-.7981-.05418-2.51434-.12193-5.65891 1.29137-7.39433 1.56755-1.92485 6.85845-2.02051 8.54555-2.02051.1646 0 .3708-.00475.6101-.01026 1.8411-.04241 5.6413-.12995 7.4954 1.55319zm-13.46158 6.43131c-.27704.0188-.53391.1518-.70948.3673l-1.99272 2.4455c-.35041.43-.28643 1.0632.14291 1.4142s1.06144.2869 1.41186-.1431l.33308-.4088c.31302 1.3863 1.05786 2.648 2.14023 3.5944 1.3458 1.1767 3.1031 1.7698 4.8856 1.6487 1.7824-.1211 3.4436-.9464 4.6185-2.2944.3644-.4182.3215-1.0531-.0961-1.4182-.4174-.365-1.0513-.322-1.4157.0962-.8248.9464-1.9912 1.5258-3.2425 1.6109-1.2514.085-2.4852-.3314-3.43001-1.1576-.70847-.6194-1.21095-1.4312-1.45381-2.327l.49561.4632c.40517.3787 1.04013.3567 1.41822-.0492.3781-.4058.35612-1.0418-.04906-1.4205l-2.30414-2.1536c-.20301-.1898-.47546-.28678-.75249-.268zm5.45468-5.37285c-1.7866 0-3.49982.71082-4.76304 1.97611-.39187.39251-.39187 1.02889 0 1.42141.39187.3925 1.02721.3925 1.41908 0 .8869-.88831 2.08976-1.38736 3.34396-1.38736s2.457.49905 3.3438 1.38736c.6097.61063 1.0357 1.3708 1.2424 2.19443l-.3233-.30964c-.4006-.3836-1.0358-.36931-1.4187.03186-.383.40118-.3688 1.03748.0318 1.42108l2.0251 1.9394c.388.3715.9991.3715 1.387 0l2.0251-1.9394c.4006-.3836.4149-1.0199.0319-1.42108-.383-.40117-1.0181-.41546-1.4187-.03186l-.2948.28234c-.2399-1.35029-.8873-2.60548-1.8687-3.58853-1.2633-1.2653-2.9765-1.97612-4.7629-1.97612z",fill:"currentColor"})});i();import{jsx as rb}from"react/jsx-runtime";var nb=e=>rb("svg",{...e,children:rb("path",{d:"m4.11263 5.04041c-.18667 1.92432.04424 9.01979.00001 11.01579-.04423 1.9961.12249 4.3531.29625 5.0481.15491.6196 1.84727 1.5368 3.03625.3225 1.18899-1.2142 2.57456-2.7822 4.57456-4.1325 2.0186 1.5231 3.2093 2.9179 4.4324 4.1325 1.2231 1.2147 3.0966.6257 3.2493-.3225.3224-1.8964.2206-6.4423.2546-7.8088.0339-1.7012-.1019-7.13954-.1528-8.25509-.0339-1.11555.0771-1.94224-.6526-2.22113-3.0546-1.17133-9.17301-1.09763-12.39732-.53985-2.90187.502-2.52186 1.56177-2.64065 2.76098z",fill:"currentColor"})});i();import{jsx as ob}from"react/jsx-runtime";var ib=e=>ob("svg",{...e,children:ob("path",{clipRule:"evenodd",d:"M2 4a2 2 0 012-2h8a2 2 0 012 2v18H2V4zm5.5 3a1.5 1.5 0 100 3h1a1.5 1.5 0 100-3h-1zm0 7a1.5 1.5 0 000 3h1a1.5 1.5 0 000-3h-1zm8.5-4h5a1 1 0 011 1v11h-6V10z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as ab}from"react/jsx-runtime";var sb=e=>ab("svg",{...e,children:ab("path",{d:"m17.2519 13.3364-3.0265-11.67337c-.0339-.00525-.0679-.01016-.102-.01475-2.9405-.39243-6.71014-.39244-8.53416-.21004-2.95711.29848-2.5315 2.75261-2.5315 2.75261-1.58081 1.62503-.6467 3.6425-.6467 3.6425-2.023 2.24965-.4643 3.95755-.4643 3.95755-1.835066 1.6858-.45876 3.5817 1.111 3.7144 1.19943.105 4.08468.0663 5.3836.0442.33164-.0055.58591.2985.5251.6246-.87331 4.9193 1.00597 8.1196 3.03446 7.8045 1.0853-.1713 1.0845-1.7357 1.0838-3.0809-.0003-.6075-.0006-1.1702.0991-1.5399.3316-1.2326 1.614-2.9405 2.9295-4.444.4315-.4931.8118-1.0216 1.1386-1.5774zm-1.9146-11.36956c.0096.00386.0193.00776.0289.01168-.015-.10585-.0277-.20524-.0379-.29704-.0884-.818045.0608-.912012 1.4979-1.298924 1.4371-.38691271 1.8185-.4864 2.1004-.270833.1495.114118.2991.595245.4945 1.223977.079.25439.1656.53295.2627.82114.3372 1.00044 2.0341 7.87086 2.2054 9.24716.0154.1205.0372.2305.0575.3323.1255.6317.1892.952-1.7433 1.547-1.043.3216-1.5483.4667-1.8348.3757z",fill:"currentColor"})});i();import{jsx as lb}from"react/jsx-runtime";var ub=e=>lb("svg",{...e,children:lb("path",{d:"m5.81817 10.6635 3.02644 11.6734c.0339.0053.06791.0102.10202.0148 2.94057.3924 6.71017.3924 8.53417.21 2.9571-.2985 2.5315-2.7526 2.5315-2.7526 1.5808-1.625.6467-3.6425.6467-3.6425 2.023-2.2496.4643-3.9576.4643-3.9576 1.8351-1.6858.4588-3.58165-1.111-3.71431-1.1994-.10502-4.0847-.06633-5.3836-.04422-.3316.00553-.5859-.29848-.5251-.62459.8733-4.91931-1.006-8.119626-3.0345-7.8045688-1.08524.1713558-1.08442 1.7357188-1.08372 3.0809688.00032.60744.00061 1.1702-.09912 1.53987-.33164 1.23259-1.61397 2.94053-2.92947 4.44396-.43149.49313-.81189 1.02159-1.13862 1.57739zm1.91462 11.3696c-.00967-.0038-.01932-.0077-.02895-.0117.01497.1059.02772.2053.03792.2971.08843.818-.06082.912-1.49792 1.2989s-1.81848.4864-2.10037.2708c-.14954-.1141-.29907-.5952-.49448-1.2239-.07906-.2544-.16564-.533-.26276-.8212-.33717-1.0004-2.03406-7.8709-2.20541-9.2472-.01535-.1205-.0372-.2304-.05744-.3323-.12554-.6316-.189207-.952 1.74328-1.547 1.04301-.3216 1.54824-.4667 1.83482-.3757z",fill:"currentColor"})});i();import{jsx as cb}from"react/jsx-runtime";var fb=e=>cb("svg",{...e,children:cb("path",{d:"m20.2254 20.7499h-16.26331c-.7475 0-1.30834-.37-1.6825-.9258-.37334-.5559-.37334-1.2967 0-1.8517l8.03831-13.88917c.7484-1.11083 2.8042-1.11083 3.365 0l8.0375 13.88917c.3734.555.3734 1.2958 0 1.8517-.3741.5558-.935.9258-1.4958.9258zm-12.89831-3.7033h9.71921l-5.0459-8.33337-4.67248 8.33337z",fill:"currentColor"})});i();import{jsx as pb}from"react/jsx-runtime";var db=e=>pb("svg",{...e,children:pb("path",{d:"m16.2028 20.4397c1.8016-.6674 3.3424-1.8936 4.3969-3.4997 1.0545-1.6059 1.5675-3.5072 1.4639-5.4256-.1037-1.91847-.8185-3.7534-2.04-5.23636s-2.8854-2.53613-4.7486-3.00542c-1.863-.46929-3.8273-.33007-5.60553.39728-1.77825.72735-3.27706 2.00467-4.27719 3.64507-.74181 1.21674-1.18038 2.58587-1.28892 3.99293l-.64191-.536c-.63589-.531-1.58182-.4459-2.11279.1899-.530981.6359-.44593 1.5819.18996 2.1128l2.99601 2.5018c.55666.4648 1.36615.4648 1.92282 0l2.99601-2.5018c.63594-.5309.72094-1.4769.18997-2.1128-.53098-.6358-1.47691-.7209-2.11281-.1899l-.385.3215c.11931-.7805.39223-1.53458.80815-2.21675.66674-1.0936 1.66595-1.94515 2.85143-2.43006 1.1855-.4849 2.4951-.57771 3.7371-.26485 1.242.31287 2.3514 1.01497 3.1657 2.00362.8142.98864 1.2909 2.21194 1.3599 3.49094.0692 1.2789-.2728 2.5464-.9759 3.617-.703 1.0707-1.7302 1.8882-2.9313 2.3331-1.201.4449-2.513.4938-3.7438.1394-.7961-.2291-1.62728.2304-1.85645 1.0266-.22918.796.2304 1.6272 1.02645 1.8564 1.8463.5314 3.8142.4582 5.6159-.2091z",fill:"currentColor"})});i();import{jsx as mb}from"react/jsx-runtime";var hb=e=>mb("svg",{...e,children:mb("path",{clipRule:"evenodd",d:"m18.4 8.86859h-.3298c.1092-2.46877-1.1518-4.89701-3.4269-6.11864-2.6473-1.42146-5.82043-.75428-7.72874 1.42683-.59024.67464-.27474 1.6864.50816 2.10678.78292.42037 1.74028.0553 2.47566-.44737.94172-.64368 2.18772-.75397 3.26102-.1777 1.1838.63567 1.8185 1.92477 1.7035 3.2101h-9.26289c-.88367 0-1.60001.73488-1.60001 1.64141v9.8486c0 .9065.71634 1.6414 1.60001 1.6414h12.79999c.8837 0 1.6-.7349 1.6-1.6414v-9.8486c0-.90653-.7163-1.64141-1.6-1.64141zm-6.4 9.84861c1.7674 0 3.2-1.4698 3.2-3.2829s-1.4326-3.2828-3.2-3.2828c-1.7673 0-3.19998 1.4697-3.19998 3.2828s1.43268 3.2829 3.19998 3.2829z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as gb}from"react/jsx-runtime";var vb=e=>gb("svg",{...e,children:gb("path",{d:"m15.4036 20.3766c0 .8975-.7301 1.625-1.6307 1.625h-3.2614c-.9006 0-1.63067-.7275-1.63067-1.625l.07361-5.3782h-2.17666c-1.50644 0-2.20732-1.8615-1.07251-2.849l5.43783-4.73245c.6145-.53462 1.5309-.53462 2.1453 0l5.438 4.73245c1.1347.9875.4338 2.849-1.0727 2.849h-2.1765zm4.9657-15.12818c.9006 0 1.6307-.72751 1.6307-1.625s-.7301-1.625-1.6307-1.625h-16.73859c-.90064 0-1.63071.72751-1.63071 1.625s.73007 1.625 1.63071 1.625z",fill:"currentColor"})});i();import{jsx as yb}from"react/jsx-runtime";var bb=e=>yb("svg",{...e,children:yb("path",{d:"m11.9795 11.586c5.5082.0762 6.1048-5.99821 3.1455-8.47622-2.0947-1.75393-5.74531-1.37583-7.21932.75941s-1.43432 7.64051 4.07382 7.71681zm-9.91151 9.511c.04238.425.50422.7755 1.01871.7622l17.7118.1408c.6229.0035 1.1358-.382 1.161-.843.1556-1.6495-.1357-3.3218-.8998-4.7419-1.8017-3.4404-12.22326-5.5665-16.7581-1.992-2.15941 1.711-2.47302 4.4518-2.23361 6.6739z",fill:"currentColor"})});i();import{jsx as Cb}from"react/jsx-runtime";var xb=e=>Cb("svg",{...e,children:Cb("path",{d:"m18.9737 7.86457c1.8137 1.68881 3.0919 3.22143 3.0237 4.17933.0942 1.3301-2.3864 3.6597-4.787 5.4039-3.6869 2.679-9.13851 1.4637-12.1841-1.3722-1.81366-1.6888-3.0919-3.2215-3.0237-4.1793-.09423-1.3301 2.38644-3.65971 4.78695-5.40395 3.68695-2.67898 9.13855-1.46365 12.18415 1.37222zm-4.5254.78409c-1.8472-1.58151-5.06662-1.24058-6.36652.68474-1.29991 1.9253-1.26491 6.8893 3.59262 6.9581 4.8576.0688 5.3837-5.4084 2.7739-7.64284zm-2.7724 5.79044c2.8097.0393 3.1141-3.09 1.6045-4.3666-1.0685-.90364-2.9307-.70885-3.68257.3912-.7519 1.1-.73165 3.9362 2.07807 3.9754z",fill:"currentColor"})});i();import{jsx as wb}from"react/jsx-runtime";var Sb=e=>wb("svg",{...e,children:wb("path",{d:"m14.48 4.5c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67583.5525-1.23 1.23-1.23s1.23.55333 1.23 1.23v.04c0 .67667-.5525 1.23-1.23 1.23zm5 1.25c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67667.5525-1.23 1.23-1.23s1.23.55333 1.23 1.23v.04c0 .67667-.5525 1.23-1.23 1.23zm.0583 3.73083v-.03916c0-.6775.5542-1.23084 1.23-1.23084.6775 0 1.2317.55334 1.2317 1.23084v.03916c0 .67587-.5542 1.22997-1.2317 1.22997-.6758 0-1.23-.5541-1.23-1.22997zm-.0583 3.76917c.6775 0 1.23.5542 1.23 1.23v.04c0 .6767-.5525 1.23-1.23 1.23s-1.23-.5542-1.23-1.23v-.04c0-.6767.5525-1.23 1.23-1.23zm-9.96083-7.5c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67667.5525-1.23 1.23-1.23.67753 0 1.23003.55333 1.23003 1.23v.04c0 .67667-.5525 1.23-1.23003 1.23zm-.01917 3.73083v.03834c0 .67663-.55417 1.23163-1.23 1.23163-.6775 0-1.23167-.555-1.23167-1.23163v-.03834c0-.6775.55417-1.23 1.23167-1.23.67583-.00083 1.23.5525 1.23 1.23zm4.98 5.01917c.6775 0 1.23.5542 1.23 1.23v.04c0 .6758-.5525 1.23-1.23 1.23s-1.23-.5542-1.23-1.23v-.04c0-.6758.5525-1.23 1.23-1.23zm-1.23-5c0 .6883.5608 1.25 1.25 1.25.6883 0 1.25-.5617 1.25-1.25 0-.69-.5617-1.25-1.25-1.25-.6892 0-1.25.56-1.25 1.25zm-10.885 12.135c-.48667-.4867-.48667-1.2817 0-1.7675l8.76-8.76c-.2333-.4892-.375-1.03-.375-1.6075 0-2.07167 1.6783-3.75 3.75-3.75 2.0708 0 3.75 1.67833 3.75 3.75 0 2.0717-1.6792 3.75-3.75 3.75-.5775 0-1.1192-.1417-1.6083-.375l-8.75837 8.76c-.2425.2425-.56416.365-.88333.365-.32083 0-.64167-.1225-.88417-.365z",fill:"currentColor"})});i();import{jsx as Db}from"react/jsx-runtime";var Eb=e=>Db("svg",{...e,children:Db("path",{d:"m4.34613 4.96934c4.1006-4.848919 14.15257-3.87134 14.02637 5.15386-.0251 1.7929-.4336 3.2246-1.0999 4.3489 1.4827 1.707 4.4974 5.2485 4.5332 5.8655.0475.8186-.696 1.5695-1.6161 1.576-.6833.0048-3.0833-2.6413-4.7621-4.4923-.1897-.2092-.3703-.4082-.538-.5921-3.2216 1.8911-7.83109 1.273-10.01973-.2231-3.53338-2.4152-3.42617-8.20463-.52374-11.63676zm4.93672 1.64027c0-.55228.44772-1 1.00005-1 .5522 0 1 .44772 1 1v2.43714h2.437c.5523 0 1 .44771 1 .99995 0 .5523-.4477 1-1 1h-2.437v2.4371c0 .5523-.4478 1-1 1-.55233 0-1.00005-.4477-1.00005-1v-2.4371h-2.4371c-.55229 0-1-.4477-1-1 0-.55224.44771-.99995 1-.99995h2.4371z",fill:"currentColor",fillRule:"evenodd"})});i();import{jsx as Pb}from"react/jsx-runtime";var Tb=e=>Pb("svg",{...e,children:Pb("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"})});i();import{jsx as Bl,jsxs as MN}from"react/jsx-runtime";var Ab=e=>MN("svg",{...e,children:[Bl("path",{d:"M 7.6660156 13.333984 C 4.6033687 13.333984 1.8196082 15.261562 0.73828125 18.130859 C 0.52228147 18.702859 0.54974052 19.324766 0.81640625 19.884766 C 1.091068 20.460765 1.5970887 20.908628 2.2050781 21.111328 C 3.9717464 21.700628 5.8100275 22 7.6660156 22 C 9.4455743 22 11.208675 21.721851 12.908203 21.179688 C 12.33347 20.258643 12 19.170101 12 18 C 12 17.017544 12.235211 16.092267 12.650391 15.275391 C 11.311039 14.056643 9.5409138 13.333984 7.6660156 13.333984 z ",fill:"currentColor",id:"path1080"}),Bl("path",{d:"M 16 10 C 14.110702 10 12.33098 10.736657 10.988281 11.972656 C 12.030725 12.37129 12.995063 12.950091 13.835938 13.675781 C 14.913535 12.638129 16.378956 12 18 12 C 19.911892 12 21.607843 12.886783 22.705078 14.271484 C 21.496969 11.695436 18.871278 10 16 10 z ",fill:"currentColor",id:"path1078"}),Bl("path",{d:"M 11.3332,8.3333 C 11.3332,10.3583 9.69162,12 7.66659,12 5.64155,12 3.99993,10.3583 3.99993,8.3333 c 0,-2.02504 1.64162,-3.66666 3.66666,-3.66666 2.02503,0 3.66661,1.64162 3.66661,3.66666 z",fill:"currentColor",id:"path1076"}),Bl("path",{d:"m 19.6666,4.99997 c 0,2.02504 -1.6417,3.66666 -3.6667,3.66666 -2.025,0 -3.6667,-1.64162 -3.6667,-3.66666 0,-2.02504 1.6417,-3.66666 3.6667,-3.66666 2.025,0 3.6667,1.64162 3.6667,3.66666 z",fill:"currentColor",id:"path90"}),Bl("path",{clipRule:"evenodd",d:"M13.2 18C13.2 15.3534 15.3534 13.2 18 13.2C20.6466 13.2 22.8 15.3534 22.8 18C22.8 20.6466 20.6466 22.8 18 22.8C15.3534 22.8 13.2 20.6466 13.2 18ZM14.1 18C14.1 20.1504 15.8496 21.9 18 21.9C20.1504 21.9 21.9 20.1504 21.9 18C21.9 15.8496 20.1504 14.1 18 14.1C15.8496 14.1 14.1 15.8496 14.1 18ZM21 18C21 19.6569 19.6568 21 18 21C16.3431 21 15 19.6569 15 18C15 16.3432 16.3431 15 18 15C19.6568 15 21 16.3432 21 18Z",fill:"currentColor",fillRule:"evenodd",id:"path94"})]});i();import{jsx as Ol,jsxs as Rb}from"react/jsx-runtime";var Fb=e=>Rb("svg",{...e,children:[Rb("g",{clipPath:"url(#clip0_23610_312)",id:"g8",children:[Ol("path",{d:"M 3.8007812 2 C 2.8071822 2 2 2.8071822 2 3.8007812 L 2 5.5996094 L 2 15.199219 C 2 17.186417 3.6124214 18.800781 5.5996094 18.800781 L 12.054688 18.800781 C 12.019999 18.538708 12 18.271851 12 18 C 12 14.676003 14.676003 12 18 12 C 18.271851 12 18.538708 12.019999 18.800781 12.054688 L 18.800781 7.4003906 C 18.800781 6.4067916 17.993599 5.5996094 17 5.5996094 L 10.400391 5.5996094 L 8.3554688 2.5332031 C 8.133479 2.1996035 7.7582215 2 7.3574219 2 L 3.8007812 2 z ",fill:"currentColor"}),Ol("path",{clipRule:"evenodd",d:"M13.2 18C13.2 15.3534 15.3534 13.2 18 13.2C20.6466 13.2 22.8 15.3534 22.8 18C22.8 20.6466 20.6466 22.8 18 22.8C15.3534 22.8 13.2 20.6466 13.2 18ZM14.1 18C14.1 20.1504 15.8496 21.9 18 21.9C20.1504 21.9 21.9 20.1504 21.9 18C21.9 15.8496 20.1504 14.1 18 14.1C15.8496 14.1 14.1 15.8496 14.1 18ZM21 18C21 19.6569 19.6568 21 18 21C16.3431 21 15 19.6569 15 18C15 16.3432 16.3431 15 18 15C19.6568 15 21 16.3432 21 18Z",fill:"currentColor",fillRule:"evenodd",id:"path6"})]}),Ol("defs",{id:"defs13",children:Ol("clipPath",{id:"clip0_23610_312",children:Ol("rect",{fill:"white",height:"23.9999",id:"rect10",width:"23.9999"})})})]});i();import{jsx as Bb}from"react/jsx-runtime";var Ob=e=>Bb("svg",{...e,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:Bb("path",{d:"M8.00037 13.111C8.61387 13.1112 9.11072 13.6088 9.11072 14.2224C9.11066 14.8358 8.61383 15.3335 8.00037 15.3337C7.38675 15.3337 6.88909 14.836 6.88904 14.2224C6.88904 13.6087 7.38672 13.111 8.00037 13.111ZM4.4447 13.3337C4.93552 13.3338 5.33337 13.7315 5.33337 14.2224C5.33332 14.7132 4.93549 15.1109 4.4447 15.111C3.95382 15.111 3.55608 14.7132 3.55603 14.2224C3.55603 13.7314 3.95378 13.3337 4.4447 13.3337ZM11.556 13.3337C12.0468 13.3339 12.4447 13.7316 12.4447 14.2224C12.4446 14.7131 12.0467 15.1108 11.556 15.111C11.0651 15.111 10.6664 14.7132 10.6664 14.2224C10.6664 13.7314 11.0651 13.3337 11.556 13.3337ZM12.6664 1.77802C14.0164 1.77802 15.1107 2.87232 15.1107 4.22235V9.55536C15.1107 10.9054 14.0164 11.9997 12.6664 11.9997H3.33337C1.98335 11.9997 0.889038 10.9054 0.889038 9.55536V4.22235C0.889038 2.87232 1.98335 1.77802 3.33337 1.77802H12.6664Z",fill:"currentColor"})});i();import{jsx as Mb}from"react/jsx-runtime";var Ib=e=>Mb("svg",{...e,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:Mb("path",{d:"M13.4127 11.582C13.8595 11.5821 14.2223 11.9801 14.2223 12.4707C14.2222 12.9612 13.8595 13.3593 13.4127 13.3594H5.23401C4.78722 13.3594 4.42455 12.9613 4.42444 12.4707C4.42444 11.98 4.78715 11.582 5.23401 11.582H13.4127ZM2.15588 5.62109C2.38676 5.51013 2.6605 5.54203 2.86096 5.70215L5.08362 7.47949C5.24149 7.60572 5.33362 7.79739 5.33362 8C5.3336 8.20261 5.24152 8.39421 5.08362 8.52051L2.86096 10.2979C2.6605 10.4579 2.38677 10.4899 2.15588 10.3789C1.92451 10.2682 1.77795 10.0334 1.77795 9.77734V6.22266C1.77795 5.96657 1.92451 5.73176 2.15588 5.62109ZM13.4127 7.33301C13.8596 7.33301 14.2223 7.73199 14.2223 8.22266C14.2221 8.71312 13.8594 9.11133 13.4127 9.11133H7.4762C7.02948 9.11132 6.66684 8.71312 6.66663 8.22266C6.66663 7.732 7.02935 7.33302 7.4762 7.33301H13.4127ZM13.4127 2.66699C13.8595 2.66704 14.2223 3.06503 14.2223 3.55566C14.2222 4.04625 13.8595 4.44428 13.4127 4.44434H5.23401C4.78718 4.44434 4.42449 4.04628 4.42444 3.55566C4.42444 3.065 4.78715 2.66699 5.23401 2.66699H13.4127Z",fill:"currentColor",id:"Vector"})});import{jsx as IN}from"react/jsx-runtime";var bf={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},Ee=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(le(n))throw new Error("An Icon component requires a `type` prop to be provided");if(le(T0[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(le(bf[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=F0[T0[n]],s={verticalAlign:"middle",...r};return IN(a,{"aria-hidden":"true",color:e,height:`${bf[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${bf[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};Ee.displayName="Icon_VHS";import{Fragment as Vb,jsx as Ba,jsxs as B0}from"react/jsx-runtime";var kN=Cf.span`
126
126
  display: flex;
127
127
  justify-content: ${({$textAlign:e})=>e==="left"?"start":e==="right"?"end":"center"};
128
128
  position: absolute;
@@ -314,7 +314,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
314
314
  ${({$fullWidth:e})=>{if(e)return qN}}
315
315
  `,Yb=zN.button`
316
316
  ${({$noStyle:e})=>e?wo:M0}
317
- `;i();var wf=(e,t,r)=>ve(e)?e:t==="primary"?r.brandBlue500:t==="secondary"||t==="tertiary"?r.grey900:t==="dangerous"?r.red600:r.brandBlue500;import{jsx as Jb}from"react/jsx-runtime";var nt=XN(({children:e,disabled:t=!1,forceState:r,colorOverride:n,fullWidth:o=!1,icon:a,iconName:s,iconPosition:l="start",label:u,labelWrap:c=!1,isLoading:p=!1,noStyle:d=!1,onClick:h,size:g="lg",square:v=!1,textAlign:m="center",type:b="button",variant:y="primary",...x},w)=>{let D=()=>p||t,T=R=>{if(D()){R.preventDefault();return}F(h)&&h(R)},S=wf(n,y,Oe()),E=()=>F(e)?e:F(u)?u:null;return Jb(Yb,{ref:w,$buttonColor:S,$forceState:r,$fullWidth:o,$iconPosition:l,$isLoading:p,$labelWrap:c,$noStyle:d,$size:g,$square:v,$textAlign:m,$variant:y,"aria-disabled":D()||void 0,disabled:!1,onClick:T,type:b,...x,children:Jb(xf,{icon:a,iconName:s,iconPosition:l,isLoading:p,size:g,textAlign:m,children:E()})})});nt.displayName="Button_VHS";i();i();var I0=()=>typeof window>"u"||typeof document>"u";import{jsx as Sf,jsxs as Qb}from"react/jsx-runtime";var tL=["success","warning","error","dangerous"],k0="success",V0="Dismiss",N0=3e3,rL=(e,t,r)=>{if(ve(e))return e;if(!tL.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},nL=eC.div`
317
+ `;i();var wf=(e,t,r)=>ve(e)?e:t==="primary"?r.brandBlue500:t==="secondary"||t==="tertiary"?r.grey900:t==="dangerous"?r.red600:r.brandBlue500;import{jsx as Jb}from"react/jsx-runtime";var nt=XN(({children:e,disabled:t=!1,forceState:r,colorOverride:n,fullWidth:o=!1,icon:a,iconName:s,iconPosition:l="start",label:u,labelWrap:c=!1,isLoading:p=!1,noStyle:d=!1,onClick:h,size:g="lg",square:v=!1,textAlign:m="center",type:b="button",variant:y="primary",...x},w)=>{let D=()=>p||t,P=R=>{if(D()){R.preventDefault();return}F(h)&&h(R)},S=wf(n,y,Oe()),E=()=>F(e)?e:F(u)?u:null;return Jb(Yb,{ref:w,$buttonColor:S,$forceState:r,$fullWidth:o,$iconPosition:l,$isLoading:p,$labelWrap:c,$noStyle:d,$size:g,$square:v,$textAlign:m,$variant:y,"aria-disabled":D()||void 0,disabled:!1,onClick:P,type:b,...x,children:Jb(xf,{icon:a,iconName:s,iconPosition:l,isLoading:p,size:g,textAlign:m,children:E()})})});nt.displayName="Button_VHS";i();i();var I0=()=>typeof window>"u"||typeof document>"u";import{jsx as Sf,jsxs as Qb}from"react/jsx-runtime";var tL=["success","warning","error","dangerous"],k0="success",V0="Dismiss",N0=3e3,rL=(e,t,r)=>{if(ve(e))return e;if(!tL.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},nL=eC.div`
318
318
  align-items: center;
319
319
  background: white;
320
320
  border-left-color: ${({$accentColor:e})=>e};
@@ -335,7 +335,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
335
335
  > * {
336
336
  margin: 0;
337
337
  }
338
- `,iL=({children:e})=>{if(I0())return null;let t=document.getElementById("toast-portal");return t?eL(e,t):null},Ml=null,Df=YN(({actionInterceptor:e=void 0,actionLabel:t=V0,colorOverride:r=void 0,renderInPlace:n=!1,isOpen:o=!1,message:a,onClose:s,timeout:l=N0,variant:u=k0,...c})=>{let[p,d]=JN(o),g=u==="error"||u==="warning"?"assertive":"polite",v=ZN(()=>{clearTimeout(Ml??void 0),Ml=null},[]),m=()=>{v(),s()},b=()=>{Ml=setTimeout(()=>{m()},l)};Zb(()=>(p&&!n&&b(),()=>{En(Ml)&&v()})),Zb(()=>(d(o),()=>{En(Ml)&&v()}),[o,v,d]);let y=rL(r,u,Oe());return Sf(n?QN:iL,{children:Sf(Mv,{in:p,renderInPlace:n,children:Qb(nL,{$accentColor:y,"aria-hidden":!p,onMouseEnter:v,onMouseLeave:b,...c,children:[Qb(oL,{"data-testid":"toast-message",children:[Sf(Ws,{"aria-live":g,message:a}),a]}),Sf(nt,{colorOverride:y,"data-testid":"toast-action",label:t,onClick:e??m,variant:"tertiary"})]},a)})})});Df.displayName="Toast_VHS";i();import{createContext as aL}from"react";var Ef=aL(null);import{Fragment as lL,jsx as L0,jsxs as uL}from"react/jsx-runtime";var $0=({children:e})=>{let[t,r]=hi(void 0),[n,o]=hi(""),[a,s]=hi(void 0),[l,u]=hi(""),[c,p]=hi(!1),[d,h]=hi(void 0),[g,v]=hi(void 0),m=sL(({message:b,variant:y=k0,actionLabel:x=V0,actionInterceptor:w,timeout:D=N0,colorOverride:T})=>{r(w?()=>w:void 0),o(x),s(T),u(b),p(!0),h(D),v(y)},[]);return uL(lL,{children:[L0(Ef.Provider,{value:m,children:e}),L0(Df,{actionInterceptor:t,actionLabel:n,colorOverride:a,isOpen:c,message:l,onClose:()=>p(!1),timeout:d,variant:g}),L0("div",{id:"toast-portal"})]})};i();import{useRef as pL,useCallback as Oa,useMemo as dL}from"react";i();import{createContext as cL,useContext as fL}from"react";var z0=cL({}),G0=()=>fL(z0);import{jsx as mL}from"react/jsx-runtime";var Tf=({children:e})=>{let r=pL(new Set).current,n=Oa(p=>r.values().next().value===p,[r]),o=Oa(()=>{let p=r.values().next().value;xn(p)&&p(!0)},[r]),a=Oa(()=>{let p=r.values().next().value;xn(p)&&p(!1)},[r]),s=Oa(p=>{r.add(p),n(p)&&o()},[r,n,o]),l=Oa(p=>{r.add(p),n(p)?(a(),r.delete(p),o()):r.delete(p)},[r,n,a,o]),u=Oa(p=>{r.delete(p)},[r]),c=dL(()=>({attemptShowModal:s,attemptHideModal:l,removeModalFromQueue:u}),[s,l,u]);return mL(z0.Provider,{value:c,children:e})};i();import{createGlobalStyle as vL}from"styled-components";i();import{css as hL}from"styled-components";var tC=hL`
338
+ `,iL=({children:e})=>{if(I0())return null;let t=document.getElementById("toast-portal");return t?eL(e,t):null},Ml=null,Df=YN(({actionInterceptor:e=void 0,actionLabel:t=V0,colorOverride:r=void 0,renderInPlace:n=!1,isOpen:o=!1,message:a,onClose:s,timeout:l=N0,variant:u=k0,...c})=>{let[p,d]=JN(o),g=u==="error"||u==="warning"?"assertive":"polite",v=ZN(()=>{clearTimeout(Ml??void 0),Ml=null},[]),m=()=>{v(),s()},b=()=>{Ml=setTimeout(()=>{m()},l)};Zb(()=>(p&&!n&&b(),()=>{En(Ml)&&v()})),Zb(()=>(d(o),()=>{En(Ml)&&v()}),[o,v,d]);let y=rL(r,u,Oe());return Sf(n?QN:iL,{children:Sf(Mv,{in:p,renderInPlace:n,children:Qb(nL,{$accentColor:y,"aria-hidden":!p,onMouseEnter:v,onMouseLeave:b,...c,children:[Qb(oL,{"data-testid":"toast-message",children:[Sf(Ws,{"aria-live":g,message:a}),a]}),Sf(nt,{colorOverride:y,"data-testid":"toast-action",label:t,onClick:e??m,variant:"tertiary"})]},a)})})});Df.displayName="Toast_VHS";i();import{createContext as aL}from"react";var Ef=aL(null);import{Fragment as lL,jsx as L0,jsxs as uL}from"react/jsx-runtime";var $0=({children:e})=>{let[t,r]=hi(void 0),[n,o]=hi(""),[a,s]=hi(void 0),[l,u]=hi(""),[c,p]=hi(!1),[d,h]=hi(void 0),[g,v]=hi(void 0),m=sL(({message:b,variant:y=k0,actionLabel:x=V0,actionInterceptor:w,timeout:D=N0,colorOverride:P})=>{r(w?()=>w:void 0),o(x),s(P),u(b),p(!0),h(D),v(y)},[]);return uL(lL,{children:[L0(Ef.Provider,{value:m,children:e}),L0(Df,{actionInterceptor:t,actionLabel:n,colorOverride:a,isOpen:c,message:l,onClose:()=>p(!1),timeout:d,variant:g}),L0("div",{id:"toast-portal"})]})};i();import{useRef as pL,useCallback as Oa,useMemo as dL}from"react";i();import{createContext as cL,useContext as fL}from"react";var z0=cL({}),G0=()=>fL(z0);import{jsx as mL}from"react/jsx-runtime";var Pf=({children:e})=>{let r=pL(new Set).current,n=Oa(p=>r.values().next().value===p,[r]),o=Oa(()=>{let p=r.values().next().value;xn(p)&&p(!0)},[r]),a=Oa(()=>{let p=r.values().next().value;xn(p)&&p(!1)},[r]),s=Oa(p=>{r.add(p),n(p)&&o()},[r,n,o]),l=Oa(p=>{r.add(p),n(p)?(a(),r.delete(p),o()):r.delete(p)},[r,n,a,o]),u=Oa(p=>{r.delete(p)},[r]),c=dL(()=>({attemptShowModal:s,attemptHideModal:l,removeModalFromQueue:u}),[s,l,u]);return mL(z0.Provider,{value:c,children:e})};i();import{createGlobalStyle as vL}from"styled-components";i();import{css as hL}from"styled-components";var tC=hL`
339
339
  /* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
340
340
 
341
341
  /* Document
@@ -727,11 +727,11 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
727
727
  `;var nC=vL`
728
728
  ${tC}
729
729
  ${rC}
730
- `;import{jsx as Ma,jsxs as yL}from"react/jsx-runtime";var uIe=({children:e,theme:t={},globalStylesIncluded:r=!0,skipAnimations:n=!1,Link:o})=>yL(Rv,{theme:t,children:[r?Ma(nC,{}):null,Ma(cm,{children:Ma(Zm,{reducedMotion:n?"never":"user",children:Ma(Ov,{value:{Link:o},children:Ma(Tf,{children:Ma($0,{children:e})})})})})]});i();i();import{useState as bL,useCallback as H0}from"react";var j0=(e=!1)=>{let[t,r]=bL(e),n=H0(()=>r(s=>!s),[]),o=H0(()=>r(!0),[]),a=H0(()=>r(!1),[]);return[t,n,o,a,r]};i();i();import{useCallback as wL}from"react";i();i();import{useEffect as CL,useRef as oC,useState as xL}from"react";var Pf=e=>{let[t,r]=xL(!1),n=oC(),o=oC(e),a=s=>{clearTimeout(n.current),r(!o.current),n.current=window.setTimeout(()=>r(o.current),s)};return CL(()=>()=>clearTimeout(n.current),[]),[t,a]};var SL=(e,t=1500)=>{let[r,n]=Pf(!1),[o,a]=Pf(!1);return[wL(async()=>{try{await Fs(e),t&&t>0&&n(t)}catch(l){l instanceof Error&&a(t)}},[e,t,n,a]),r,o]};i();i();import{useMemo as DL,useState as EL,useRef as TL,useLayoutEffect as PL}from"react";var AL={width:0,height:0,top:0,left:0,bottom:0,right:0,x:0,y:0},W0=()=>{let e=TL(null),[t,r]=EL(AL),n=DL(()=>new window.ResizeObserver(o=>{if(o[0]){let{width:a,height:s,top:l,left:u,bottom:c,right:p,x:d,y:h}=o[0].contentRect;r({width:a,height:s,top:l,left:u,bottom:c,right:p,x:d,y:h})}}),[]);return PL(()=>{if(e.current)return n.observe(e.current),()=>{n.disconnect()}},[n]),[e,t]};i();i();import{useEffect as _0,useRef as iC}from"react";var RL=e=>!!(typeof e=="object"&&e?.addEventListener),U0=(e,t,r=window,n={})=>{let o=iC(),a=iC();_0(()=>{o.current=t},[t]),_0(()=>{a.current=n},[n]),_0(()=>{if(!e||!RL(r))return;let s=l=>o.current!==void 0?o.current(l):()=>{};return r.addEventListener(e,s,a.current),()=>{r.removeEventListener(e,s,a.current)}},[e,r,a])};i();i();import{useRef as yC,useCallback as OL,useEffect as ML}from"react";i();var q0='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, [tabindex="0"], [contenteditable]',FL=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},BL=e=>{let t=e;for(;t&&t!==document.body;){if(FL(t))return!1;t=t.parentNode}return!0},aC=e=>{let t=e.getAttribute("tabindex");return Number.parseInt(t??void 0,10)},sC=e=>{let t=aC(e);return Number.isNaN(t)},Af=e=>{let t=/input|select|textarea|button|object/,r=e.nodeName.toLowerCase(),n=!sC(e);return!!(t.test(r)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&BL(e)},X0=e=>{let t=aC(e);return(sC(e)||t>=0)&&Af(e)},lC=e=>Array.from(e.querySelectorAll(q0)).filter(X0),uC=[],Ia=null,K0=!1,cC=()=>{K0=!0},fC=()=>{if(K0){if(K0=!1,!Ia||Ia.contains(document.activeElement))return;(lC(Ia)[0]??Ia).focus()}},pC=()=>{let e=document.activeElement;e!==null&&uC.push(e)},dC=()=>{let e=null;try{e=uC.pop(),e&&e.focus()}catch{console.warn(`You tried to return focus to ${$t(e)} but it is not in the DOM anymore`)}},mC=e=>{Ia=e,document.addEventListener("focusout",cC,!1),document.addEventListener("focusin",fC,!0)},hC=()=>{Ia=null,document.removeEventListener("focusout",cC),document.removeEventListener("focusin",fC)},gC=(e,t)=>{let r=lC(e);if(!r.length){t.preventDefault();return}if(!(r[t.shiftKey?0:r.length-1]===document.activeElement||e===document.activeElement))return;t.preventDefault();let a=r[t.shiftKey?r.length-1:0];a&&a.focus()},vC=(e,t)=>{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 IL=e=>e!==null&&typeof e=="object"&&"current"in e,Y0=(e=!0,t={})=>{let r=yC(null),n=yC(null),o=OL(a=>{if(n.current!==null&&n.current(),r.current&&(dC(),hC()),e&&a!==null&&a!==void 0){mC(a),pC();let s=l=>{n.current=t.disableAriaHider??!1?null:vC(l);let u=null;if(ee(t.focusSelector)&&(IL(t.focusSelector)?u=t.focusSelector.current:u=typeof t.focusSelector=="string"?l.querySelector(t.focusSelector):t.focusSelector),!u){let c=Array.from(l.querySelectorAll(q0));u=c.find(X0)??c.find(Af)??null,!u&&Af(l)&&(u=l)}u&&u.focus()};setTimeout(()=>{a.ownerDocument&&s(a),a.ownerDocument}),r.current=a}else r.current=null},[e,t.focusSelector,t.disableAriaHider]);return ML(()=>{if(!e)return;let a=s=>{s.key==="Tab"&&r.current&&gC(r.current,s)};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}},[e]),o};i();i();import{useCallback as kL,useState as VL}from"react";var NL=()=>{let[,e]=VL(Object.create(null));return kL(()=>{e(Object.create(null))},[e])};i();i();i();var LL=function(t){return $L(t)&&!zL(t)};function $L(e){return!!e&&typeof e=="object"}function zL(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||jL(e)}var GL=typeof Symbol=="function"&&Symbol.for,HL=GL?Symbol.for("react.element"):60103;function jL(e){return e.$$typeof===HL}function WL(e){return Array.isArray(e)?[]:{}}function Rf(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Il(WL(e),e,t):e}function _L(e,t,r){return e.concat(t).map(function(n){return Rf(n,r)})}function UL(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(o){n[o]=Rf(e[o],r)}),Object.keys(t).forEach(function(o){!r.isMergeableObject(t[o])||!e[o]?n[o]=Rf(t[o],r):n[o]=Il(e[o],t[o],r)}),n}function Il(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||_L,r.isMergeableObject=r.isMergeableObject||LL;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):UL(e,t,r):Rf(t,r)}Il.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Il(n,o,r)},{})};var KL=Il,Ff=KL;i();i();i();i();i();var qL=typeof window=="object"&&window&&window.Object===Object&&window,Bf=qL;var XL=typeof self=="object"&&self&&self.Object===Object&&self,YL=Bf||XL||Function("return this")(),ot=YL;var JL=ot.Symbol,Dr=JL;i();var bC=Object.prototype,ZL=bC.hasOwnProperty,QL=bC.toString,kl=Dr?Dr.toStringTag:void 0;function e$(e){var t=ZL.call(e,kl),r=e[kl];try{e[kl]=void 0;var n=!0}catch{}var o=QL.call(e);return n&&(t?e[kl]=r:delete e[kl]),o}var CC=e$;i();var t$=Object.prototype,r$=t$.toString;function n$(e){return r$.call(e)}var xC=n$;var o$="[object Null]",i$="[object Undefined]",wC=Dr?Dr.toStringTag:void 0;function a$(e){return e==null?e===void 0?i$:o$:wC&&wC in Object(e)?CC(e):xC(e)}var dr=a$;i();i();function s$(e,t){return function(r){return e(t(r))}}var Of=s$;var l$=Of(Object.getPrototypeOf,Object),ka=l$;i();function u$(e){return e!=null&&typeof e=="object"}var Yt=u$;var c$="[object Object]",f$=Function.prototype,p$=Object.prototype,SC=f$.toString,d$=p$.hasOwnProperty,m$=SC.call(Object);function h$(e){if(!Yt(e)||dr(e)!=c$)return!1;var t=ka(e);if(t===null)return!0;var r=d$.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&SC.call(r)==m$}var J0=h$;i();i();i();i();i();function g$(){this.__data__=[],this.size=0}var DC=g$;i();i();i();function v$(e,t){return e===t||e!==e&&t!==t}var Mf=v$;function y$(e,t){for(var r=e.length;r--;)if(Mf(e[r][0],t))return r;return-1}var So=y$;var b$=Array.prototype,C$=b$.splice;function x$(e){var t=this.__data__,r=So(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():C$.call(t,r,1),--this.size,!0}var EC=x$;i();function w$(e){var t=this.__data__,r=So(t,e);return r<0?void 0:t[r][1]}var TC=w$;i();function S$(e){return So(this.__data__,e)>-1}var PC=S$;i();function D$(e,t){var r=this.__data__,n=So(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var AC=D$;function Va(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])}}Va.prototype.clear=DC;Va.prototype.delete=EC;Va.prototype.get=TC;Va.prototype.has=PC;Va.prototype.set=AC;var Do=Va;i();function E$(){this.__data__=new Do,this.size=0}var RC=E$;i();function T$(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var FC=T$;i();function P$(e){return this.__data__.get(e)}var BC=P$;i();function A$(e){return this.__data__.has(e)}var OC=A$;i();i();i();i();i();i();function R$(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nn=R$;var F$="[object AsyncFunction]",B$="[object Function]",O$="[object GeneratorFunction]",M$="[object Proxy]";function I$(e){if(!nn(e))return!1;var t=dr(e);return t==B$||t==O$||t==F$||t==M$}var If=I$;i();i();var k$=ot["__core-js_shared__"],kf=k$;var MC=function(){var e=/[^.]+$/.exec(kf&&kf.keys&&kf.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function V$(e){return!!MC&&MC in e}var IC=V$;i();var N$=Function.prototype,L$=N$.toString;function $$(e){if(e!=null){try{return L$.call(e)}catch{}try{return e+""}catch{}}return""}var zn=$$;var z$=/[\\^$.*+?()[\]{}|]/g,G$=/^\[object .+?Constructor\]$/,H$=Function.prototype,j$=Object.prototype,W$=H$.toString,_$=j$.hasOwnProperty,U$=RegExp("^"+W$.call(_$).replace(z$,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function K$(e){if(!nn(e)||IC(e))return!1;var t=If(e)?U$:G$;return t.test(zn(e))}var kC=K$;i();function q$(e,t){return e?.[t]}var VC=q$;function X$(e,t){var r=VC(e,t);return kC(r)?r:void 0}var Jt=X$;var Y$=Jt(ot,"Map"),Eo=Y$;i();i();i();i();i();var J$=Jt(Object,"create"),Gn=J$;function Z$(){this.__data__=Gn?Gn(null):{},this.size=0}var NC=Z$;i();function Q$(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var LC=Q$;i();var ez="__lodash_hash_undefined__",tz=Object.prototype,rz=tz.hasOwnProperty;function nz(e){var t=this.__data__;if(Gn){var r=t[e];return r===ez?void 0:r}return rz.call(t,e)?t[e]:void 0}var $C=nz;i();var oz=Object.prototype,iz=oz.hasOwnProperty;function az(e){var t=this.__data__;return Gn?t[e]!==void 0:iz.call(t,e)}var zC=az;i();var sz="__lodash_hash_undefined__";function lz(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Gn&&t===void 0?sz:t,this}var GC=lz;function Na(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])}}Na.prototype.clear=NC;Na.prototype.delete=LC;Na.prototype.get=$C;Na.prototype.has=zC;Na.prototype.set=GC;var Z0=Na;function uz(){this.size=0,this.__data__={hash:new Z0,map:new(Eo||Do),string:new Z0}}var HC=uz;i();i();i();function cz(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var jC=cz;function fz(e,t){var r=e.__data__;return jC(t)?r[typeof t=="string"?"string":"hash"]:r.map}var To=fz;function pz(e){var t=To(this,e).delete(e);return this.size-=t?1:0,t}var WC=pz;i();function dz(e){return To(this,e).get(e)}var _C=dz;i();function mz(e){return To(this,e).has(e)}var UC=mz;i();function hz(e,t){var r=To(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var KC=hz;function La(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])}}La.prototype.clear=HC;La.prototype.delete=WC;La.prototype.get=_C;La.prototype.has=UC;La.prototype.set=KC;var Vl=La;var gz=200;function vz(e,t){var r=this.__data__;if(r instanceof Do){var n=r.__data__;if(!Eo||n.length<gz-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Vl(n)}return r.set(e,t),this.size=r.size,this}var qC=vz;function $a(e){var t=this.__data__=new Do(e);this.size=t.size}$a.prototype.clear=RC;$a.prototype.delete=FC;$a.prototype.get=BC;$a.prototype.has=OC;$a.prototype.set=qC;var XC=$a;i();function yz(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var YC=yz;i();i();i();var bz=function(){try{var e=Jt(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Q0=bz;function Cz(e,t,r){t=="__proto__"&&Q0?Q0(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Vf=Cz;var xz=Object.prototype,wz=xz.hasOwnProperty;function Sz(e,t,r){var n=e[t];(!(wz.call(e,t)&&Mf(n,r))||r===void 0&&!(t in e))&&Vf(e,t,r)}var Nf=Sz;i();i();function Dz(e,t,r,n){var o=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var l=t[a],u=n?n(r[l],e[l],l,r,e):void 0;u===void 0&&(u=e[l]),o?Vf(r,l,u):Nf(r,l,u)}return r}var Po=Dz;i();i();i();function Ez(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var JC=Ez;i();i();var Tz="[object Arguments]";function Pz(e){return Yt(e)&&dr(e)==Tz}var eh=Pz;var ZC=Object.prototype,Az=ZC.hasOwnProperty,Rz=ZC.propertyIsEnumerable,Fz=eh(function(){return arguments}())?eh:function(e){return Yt(e)&&Az.call(e,"callee")&&!Rz.call(e,"callee")},QC=Fz;i();var Bz=Array.isArray,on=Bz;i();i();function Oz(){return!1}var ex=Oz;var nx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,tx=nx&&typeof module=="object"&&module&&!module.nodeType&&module,Mz=tx&&tx.exports===nx,rx=Mz?ot.Buffer:void 0,Iz=rx?rx.isBuffer:void 0,kz=Iz||ex,Lf=kz;i();var Vz=9007199254740991,Nz=/^(?:0|[1-9]\d*)$/;function Lz(e,t){var r=typeof e;return t=t??Vz,!!t&&(r=="number"||r!="symbol"&&Nz.test(e))&&e>-1&&e%1==0&&e<t}var ox=Lz;i();i();i();var $z=9007199254740991;function zz(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$z}var $f=zz;var Gz="[object Arguments]",Hz="[object Array]",jz="[object Boolean]",Wz="[object Date]",_z="[object Error]",Uz="[object Function]",Kz="[object Map]",qz="[object Number]",Xz="[object Object]",Yz="[object RegExp]",Jz="[object Set]",Zz="[object String]",Qz="[object WeakMap]",eG="[object ArrayBuffer]",tG="[object DataView]",rG="[object Float32Array]",nG="[object Float64Array]",oG="[object Int8Array]",iG="[object Int16Array]",aG="[object Int32Array]",sG="[object Uint8Array]",lG="[object Uint8ClampedArray]",uG="[object Uint16Array]",cG="[object Uint32Array]",Le={};Le[rG]=Le[nG]=Le[oG]=Le[iG]=Le[aG]=Le[sG]=Le[lG]=Le[uG]=Le[cG]=!0;Le[Gz]=Le[Hz]=Le[eG]=Le[jz]=Le[tG]=Le[Wz]=Le[_z]=Le[Uz]=Le[Kz]=Le[qz]=Le[Xz]=Le[Yz]=Le[Jz]=Le[Zz]=Le[Qz]=!1;function fG(e){return Yt(e)&&$f(e.length)&&!!Le[dr(e)]}var ix=fG;i();function pG(e){return function(t){return e(t)}}var za=pG;i();var ax=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Nl=ax&&typeof module=="object"&&module&&!module.nodeType&&module,dG=Nl&&Nl.exports===ax,th=dG&&Bf.process,mG=function(){try{var e=Nl&&Nl.require&&Nl.require("util").types;return e||th&&th.binding&&th.binding("util")}catch{}}(),Hn=mG;var sx=Hn&&Hn.isTypedArray,hG=sx?za(sx):ix,lx=hG;var gG=Object.prototype,vG=gG.hasOwnProperty;function yG(e,t){var r=on(e),n=!r&&QC(e),o=!r&&!n&&Lf(e),a=!r&&!n&&!o&&lx(e),s=r||n||o||a,l=s?JC(e.length,String):[],u=l.length;for(var c in e)(t||vG.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||ox(c,u)))&&l.push(c);return l}var zf=yG;i();i();var bG=Object.prototype;function CG(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||bG;return e===r}var Ga=CG;i();var xG=Of(Object.keys,Object),ux=xG;var wG=Object.prototype,SG=wG.hasOwnProperty;function DG(e){if(!Ga(e))return ux(e);var t=[];for(var r in Object(e))SG.call(e,r)&&r!="constructor"&&t.push(r);return t}var cx=DG;i();function EG(e){return e!=null&&$f(e.length)&&!If(e)}var Gf=EG;function TG(e){return Gf(e)?zf(e):cx(e)}var Ha=TG;function PG(e,t){return e&&Po(t,Ha(t),e)}var fx=PG;i();i();i();i();function AG(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var px=AG;var RG=Object.prototype,FG=RG.hasOwnProperty;function BG(e){if(!nn(e))return px(e);var t=Ga(e),r=[];for(var n in e)n=="constructor"&&(t||!FG.call(e,n))||r.push(n);return r}var dx=BG;function OG(e){return Gf(e)?zf(e,!0):dx(e)}var ja=OG;function MG(e,t){return e&&Po(t,ja(t),e)}var mx=MG;i();var yx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,hx=yx&&typeof module=="object"&&module&&!module.nodeType&&module,IG=hx&&hx.exports===yx,gx=IG?ot.Buffer:void 0,vx=gx?gx.allocUnsafe:void 0;function kG(e,t){if(t)return e.slice();var r=e.length,n=vx?vx(r):new e.constructor(r);return e.copy(n),n}var bx=kG;i();function VG(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Hf=VG;i();i();i();function NG(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[o++]=s)}return a}var Cx=NG;i();function LG(){return[]}var jf=LG;var $G=Object.prototype,zG=$G.propertyIsEnumerable,xx=Object.getOwnPropertySymbols,GG=xx?function(e){return e==null?[]:(e=Object(e),Cx(xx(e),function(t){return zG.call(e,t)}))}:jf,Wa=GG;function HG(e,t){return Po(e,Wa(e),t)}var wx=HG;i();i();i();function jG(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var Wf=jG;var WG=Object.getOwnPropertySymbols,_G=WG?function(e){for(var t=[];e;)Wf(t,Wa(e)),e=ka(e);return t}:jf,_f=_G;function UG(e,t){return Po(e,_f(e),t)}var Sx=UG;i();i();function KG(e,t,r){var n=t(e);return on(e)?n:Wf(n,r(e))}var Uf=KG;function qG(e){return Uf(e,Ha,Wa)}var Dx=qG;i();function XG(e){return Uf(e,ja,_f)}var Ex=XG;i();i();var YG=Jt(ot,"DataView"),Kf=YG;i();var JG=Jt(ot,"Promise"),qf=JG;i();var ZG=Jt(ot,"Set"),Xf=ZG;i();var QG=Jt(ot,"WeakMap"),Yf=QG;var Tx="[object Map]",eH="[object Object]",Px="[object Promise]",Ax="[object Set]",Rx="[object WeakMap]",Fx="[object DataView]",tH=zn(Kf),rH=zn(Eo),nH=zn(qf),oH=zn(Xf),iH=zn(Yf),gi=dr;(Kf&&gi(new Kf(new ArrayBuffer(1)))!=Fx||Eo&&gi(new Eo)!=Tx||qf&&gi(qf.resolve())!=Px||Xf&&gi(new Xf)!=Ax||Yf&&gi(new Yf)!=Rx)&&(gi=function(e){var t=dr(e),r=t==eH?e.constructor:void 0,n=r?zn(r):"";if(n)switch(n){case tH:return Fx;case rH:return Tx;case nH:return Px;case oH:return Ax;case iH:return Rx}return t});var _a=gi;i();var aH=Object.prototype,sH=aH.hasOwnProperty;function lH(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&sH.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var Bx=lH;i();i();i();var uH=ot.Uint8Array,rh=uH;function cH(e){var t=new e.constructor(e.byteLength);return new rh(t).set(new rh(e)),t}var Ua=cH;i();function fH(e,t){var r=t?Ua(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var Ox=fH;i();var pH=/\w*$/;function dH(e){var t=new e.constructor(e.source,pH.exec(e));return t.lastIndex=e.lastIndex,t}var Mx=dH;i();var Ix=Dr?Dr.prototype:void 0,kx=Ix?Ix.valueOf:void 0;function mH(e){return kx?Object(kx.call(e)):{}}var Vx=mH;i();function hH(e,t){var r=t?Ua(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Nx=hH;var gH="[object Boolean]",vH="[object Date]",yH="[object Map]",bH="[object Number]",CH="[object RegExp]",xH="[object Set]",wH="[object String]",SH="[object Symbol]",DH="[object ArrayBuffer]",EH="[object DataView]",TH="[object Float32Array]",PH="[object Float64Array]",AH="[object Int8Array]",RH="[object Int16Array]",FH="[object Int32Array]",BH="[object Uint8Array]",OH="[object Uint8ClampedArray]",MH="[object Uint16Array]",IH="[object Uint32Array]";function kH(e,t,r){var n=e.constructor;switch(t){case DH:return Ua(e);case gH:case vH:return new n(+e);case EH:return Ox(e,r);case TH:case PH:case AH:case RH:case FH:case BH:case OH:case MH:case IH:return Nx(e,r);case yH:return new n;case bH:case wH:return new n(e);case CH:return Mx(e);case xH:return new n;case SH:return Vx(e)}}var Lx=kH;i();i();var $x=Object.create,VH=function(){function e(){}return function(t){if(!nn(t))return{};if($x)return $x(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),zx=VH;function NH(e){return typeof e.constructor=="function"&&!Ga(e)?zx(ka(e)):{}}var Gx=NH;i();i();var LH="[object Map]";function $H(e){return Yt(e)&&_a(e)==LH}var Hx=$H;var jx=Hn&&Hn.isMap,zH=jx?za(jx):Hx,Wx=zH;i();i();var GH="[object Set]";function HH(e){return Yt(e)&&_a(e)==GH}var _x=HH;var Ux=Hn&&Hn.isSet,jH=Ux?za(Ux):_x,Kx=jH;var WH=1,_H=2,UH=4,qx="[object Arguments]",KH="[object Array]",qH="[object Boolean]",XH="[object Date]",YH="[object Error]",Xx="[object Function]",JH="[object GeneratorFunction]",ZH="[object Map]",QH="[object Number]",Yx="[object Object]",ej="[object RegExp]",tj="[object Set]",rj="[object String]",nj="[object Symbol]",oj="[object WeakMap]",ij="[object ArrayBuffer]",aj="[object DataView]",sj="[object Float32Array]",lj="[object Float64Array]",uj="[object Int8Array]",cj="[object Int16Array]",fj="[object Int32Array]",pj="[object Uint8Array]",dj="[object Uint8ClampedArray]",mj="[object Uint16Array]",hj="[object Uint32Array]",Ie={};Ie[qx]=Ie[KH]=Ie[ij]=Ie[aj]=Ie[qH]=Ie[XH]=Ie[sj]=Ie[lj]=Ie[uj]=Ie[cj]=Ie[fj]=Ie[ZH]=Ie[QH]=Ie[Yx]=Ie[ej]=Ie[tj]=Ie[rj]=Ie[nj]=Ie[pj]=Ie[dj]=Ie[mj]=Ie[hj]=!0;Ie[YH]=Ie[Xx]=Ie[oj]=!1;function Jf(e,t,r,n,o,a){var s,l=t&WH,u=t&_H,c=t&UH;if(r&&(s=o?r(e,n,o,a):r(e)),s!==void 0)return s;if(!nn(e))return e;var p=on(e);if(p){if(s=Bx(e),!l)return Hf(e,s)}else{var d=_a(e),h=d==Xx||d==JH;if(Lf(e))return bx(e,l);if(d==Yx||d==qx||h&&!o){if(s=u||h?{}:Gx(e),!l)return u?Sx(e,mx(s,e)):wx(e,fx(s,e))}else{if(!Ie[d])return o?e:{};s=Lx(e,d,l)}}a||(a=new XC);var g=a.get(e);if(g)return g;a.set(e,s),Kx(e)?e.forEach(function(b){s.add(Jf(b,t,r,b,e,a))}):Wx(e)&&e.forEach(function(b,y){s.set(y,Jf(b,t,r,y,e,a))});var v=c?u?Ex:Dx:u?ja:Ha,m=p?void 0:v(e);return YC(m||e,function(b,y){m&&(y=b,b=e[y]),Nf(s,y,Jf(b,t,r,y,e,a))}),s}var Zf=Jf;var gj=1,vj=4;function yj(e){return Zf(e,gj|vj)}var Ka=yj;var jn=kr(ew());import{createContext as Jj,useContext as Zj,Children as gh,useRef as Ao,useEffect as Ro,useState as Qj,useCallback as it,useMemo as ww,useImperativeHandle as eW,createElement as Fo,useLayoutEffect as tW,forwardRef as rW,Component as nW}from"react";i();var xj=!0;function wj(e,t){if(!xj){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var tw=wj;i();var Sj=4;function Dj(e){return Zf(e,Sj)}var oh=Dj;i();i();function Ej(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 Qf=Ej;i();var Tj="[object Symbol]";function Pj(e){return typeof e=="symbol"||Yt(e)&&dr(e)==Tj}var qa=Pj;i();i();i();var Aj="Expected a function";function ih(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Aj);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var s=e.apply(this,n);return r.cache=a.set(o,s)||a,s};return r.cache=new(ih.Cache||Vl),r}ih.Cache=Vl;var rw=ih;var Rj=500;function Fj(e){var t=rw(e,function(n){return r.size===Rj&&r.clear(),n}),r=t.cache;return t}var nw=Fj;var Bj=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Oj=/\\(\\)?/g,Mj=nw(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Bj,function(r,n,o,a){t.push(o?a.replace(Oj,"$1"):n||r)}),t}),ow=Mj;i();var Ij=1/0;function kj(e){if(typeof e=="string"||qa(e))return e;var t=e+"";return t=="0"&&1/e==-Ij?"-0":t}var iw=kj;i();i();var Vj=1/0,aw=Dr?Dr.prototype:void 0,sw=aw?aw.toString:void 0;function lw(e){if(typeof e=="string")return e;if(on(e))return Qf(e,lw)+"";if(qa(e))return sw?sw.call(e):"";var t=e+"";return t=="0"&&1/e==-Vj?"-0":t}var uw=lw;function Nj(e){return e==null?"":uw(e)}var cw=Nj;function Lj(e){return on(e)?Qf(e,iw):qa(e)?[e]:Hf(ow(cw(e)))}var ah=Lj;var oW=kr(xw());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 iW(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function yi(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var fp=Jj(void 0);fp.displayName="FormikContext";var aW=fp.Provider,Gje=fp.Consumer;function Ci(){var e=Zj(fp);return e||tw(!1),e}var Dw=function(t){return Array.isArray(t)&&t.length===0},zt=function(t){return typeof t=="function"},Ll=function(t){return t!==null&&typeof t=="object"},sW=function(t){return String(Math.floor(Number(t)))===t},ph=function(t){return Object.prototype.toString.call(t)==="[object String]"};var Tw=function(t){return gh.count(t)===0},dh=function(t){return Ll(t)&&zt(t.then)};function yt(e,t,r,n){n===void 0&&(n=0);for(var o=ah(t);e&&n<o.length;)e=e[o[n++]];return n!==o.length&&!e||e===void 0?r:e}function an(e,t,r){for(var n=oh(e),o=n,a=0,s=ah(t);a<s.length-1;a++){var l=s[a],u=yt(e,s.slice(0,a+1));if(u&&(Ll(u)||Array.isArray(u)))o=o[l]=oh(u);else{var c=s[a+1];o=o[l]=sW(c)&&Number(c)>=0?[]:{}}}return(a===0?e:o)[s[a]]===r?e:(r===void 0?delete o[s[a]]:o[s[a]]=r,a===0&&r===void 0&&delete n[s[a]],n)}function Pw(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var o=0,a=Object.keys(e);o<a.length;o++){var s=a[o],l=e[s];Ll(l)?r.get(l)||(r.set(l,!0),n[s]=Array.isArray(l)?[]:{},Pw(l,t,r,n[s])):n[s]=t}return n}function lW(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,jn.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:an(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Fe({},e,{touched:an(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Fe({},e,{errors:an(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:Pw(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 vi={},cp={};function uW(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,o=n===void 0?!0:n,a=e.validateOnMount,s=a===void 0?!1:a,l=e.isInitialValid,u=e.enableReinitialize,c=u===void 0?!1:u,p=e.onSubmit,d=yi(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),h=Fe({validateOnChange:r,validateOnBlur:o,validateOnMount:s,onSubmit:p},d),g=Ao(h.initialValues),v=Ao(h.initialErrors||vi),m=Ao(h.initialTouched||cp),b=Ao(h.initialStatus),y=Ao(!1),x=Ao({});Ro(function(){return y.current=!0,function(){y.current=!1}},[]);var w=Qj(0),D=w[1],T=Ao({values:Ka(h.initialValues),errors:Ka(h.initialErrors)||vi,touched:Ka(h.initialTouched)||cp,status:Ka(h.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),S=T.current,E=it(function(O){var Y=T.current;T.current=lW(Y,O),Y!==T.current&&D(function(te){return te+1})},[]),R=it(function(O,Y){return new Promise(function(te,q){var ae=h.validate(O,Y);ae==null?te(vi):dh(ae)?ae.then(function(Se){te(Se||vi)},function(Se){q(Se)}):te(ae)})},[h.validate]),B=it(function(O,Y){var te=h.validationSchema,q=zt(te)?te(Y):te,ae=Y&&q.validateAt?q.validateAt(Y,O):fW(O,q);return new Promise(function(Se,Pe){ae.then(function(){Se(vi)},function(Dt){Dt.name==="ValidationError"?Se(cW(Dt)):Pe(Dt)})})},[h.validationSchema]),k=it(function(O,Y){return new Promise(function(te){return te(x.current[O].validate(Y))})},[]),j=it(function(O){var Y=Object.keys(x.current).filter(function(q){return zt(x.current[q].validate)}),te=Y.length>0?Y.map(function(q){return k(q,yt(O,q))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(te).then(function(q){return q.reduce(function(ae,Se,Pe){return Se==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Se&&(ae=an(ae,Y[Pe],Se)),ae},{})})},[k]),I=it(function(O){return Promise.all([j(O),h.validationSchema?B(O):{},h.validate?R(O):{}]).then(function(Y){var te=Y[0],q=Y[1],ae=Y[2],Se=Ff.all([te,q,ae],{arrayMerge:pW});return Se})},[h.validate,h.validationSchema,j,R,B]),V=Er(function(O){return O===void 0&&(O=S.values),E({type:"SET_ISVALIDATING",payload:!0}),I(O).then(function(Y){return y.current&&(E({type:"SET_ISVALIDATING",payload:!1}),E({type:"SET_ERRORS",payload:Y})),Y})});Ro(function(){s&&y.current===!0&&(0,jn.default)(g.current,h.initialValues)&&V(g.current)},[s,V]);var N=it(function(O){var Y=O&&O.values?O.values:g.current,te=O&&O.errors?O.errors:v.current?v.current:h.initialErrors||{},q=O&&O.touched?O.touched:m.current?m.current:h.initialTouched||{},ae=O&&O.status?O.status:b.current?b.current:h.initialStatus;g.current=Y,v.current=te,m.current=q,b.current=ae;var Se=function(){E({type:"RESET_FORM",payload:{isSubmitting:!!O&&!!O.isSubmitting,errors:te,touched:q,status:ae,values:Y,isValidating:!!O&&!!O.isValidating,submitCount:O&&O.submitCount&&typeof O.submitCount=="number"?O.submitCount:0}})};if(h.onReset){var Pe=h.onReset(S.values,Te);dh(Pe)?Pe.then(Se):Se()}else Se()},[h.initialErrors,h.initialStatus,h.initialTouched,h.onReset]);Ro(function(){y.current===!0&&!(0,jn.default)(g.current,h.initialValues)&&c&&(g.current=h.initialValues,N(),s&&V(g.current))},[c,h.initialValues,N,s,V]),Ro(function(){c&&y.current===!0&&!(0,jn.default)(v.current,h.initialErrors)&&(v.current=h.initialErrors||vi,E({type:"SET_ERRORS",payload:h.initialErrors||vi}))},[c,h.initialErrors]),Ro(function(){c&&y.current===!0&&!(0,jn.default)(m.current,h.initialTouched)&&(m.current=h.initialTouched||cp,E({type:"SET_TOUCHED",payload:h.initialTouched||cp}))},[c,h.initialTouched]),Ro(function(){c&&y.current===!0&&!(0,jn.default)(b.current,h.initialStatus)&&(b.current=h.initialStatus,E({type:"SET_STATUS",payload:h.initialStatus}))},[c,h.initialStatus,h.initialTouched]);var H=Er(function(O){if(x.current[O]&&zt(x.current[O].validate)){var Y=yt(S.values,O),te=x.current[O].validate(Y);return dh(te)?(E({type:"SET_ISVALIDATING",payload:!0}),te.then(function(q){return q}).then(function(q){E({type:"SET_FIELD_ERROR",payload:{field:O,value:q}}),E({type:"SET_ISVALIDATING",payload:!1})})):(E({type:"SET_FIELD_ERROR",payload:{field:O,value:te}}),Promise.resolve(te))}else if(h.validationSchema)return E({type:"SET_ISVALIDATING",payload:!0}),B(S.values,O).then(function(q){return q}).then(function(q){E({type:"SET_FIELD_ERROR",payload:{field:O,value:yt(q,O)}}),E({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),Z=it(function(O,Y){var te=Y.validate;x.current[O]={validate:te}},[]),Q=it(function(O){delete x.current[O]},[]),X=Er(function(O,Y){E({type:"SET_TOUCHED",payload:O});var te=Y===void 0?o:Y;return te?V(S.values):Promise.resolve()}),G=it(function(O){E({type:"SET_ERRORS",payload:O})},[]),re=Er(function(O,Y){var te=zt(O)?O(S.values):O;E({type:"SET_VALUES",payload:te});var q=Y===void 0?r:Y;return q?V(te):Promise.resolve()}),de=it(function(O,Y){E({type:"SET_FIELD_ERROR",payload:{field:O,value:Y}})},[]),pe=Er(function(O,Y,te){E({type:"SET_FIELD_VALUE",payload:{field:O,value:Y}});var q=te===void 0?r:te;return q?V(an(S.values,O,Y)):Promise.resolve()}),je=it(function(O,Y){var te=Y,q=O,ae;if(!ph(O)){O.persist&&O.persist();var Se=O.target?O.target:O.currentTarget,Pe=Se.type,Dt=Se.name,no=Se.id,Ir=Se.value,V1=Se.checked,r5=Se.outerHTML,ea=Se.options,N1=Se.multiple;te=Y||Dt||no,q=/number|range/.test(Pe)?(ae=parseFloat(Ir),isNaN(ae)?"":ae):/checkbox/.test(Pe)?mW(yt(S.values,te),V1,Ir):ea&&N1?dW(ea):Ir}te&&pe(te,q)},[pe,S.values]),A=Er(function(O){if(ph(O))return function(Y){return je(Y,O)};je(O)}),_=Er(function(O,Y,te){Y===void 0&&(Y=!0),E({type:"SET_FIELD_TOUCHED",payload:{field:O,value:Y}});var q=te===void 0?o:te;return q?V(S.values):Promise.resolve()}),z=it(function(O,Y){O.persist&&O.persist();var te=O.target,q=te.name,ae=te.id,Se=te.outerHTML,Pe=Y||q||ae;_(Pe,!0)},[_]),W=Er(function(O){if(ph(O))return function(Y){return z(Y,O)};z(O)}),se=it(function(O){zt(O)?E({type:"SET_FORMIK_STATE",payload:O}):E({type:"SET_FORMIK_STATE",payload:function(){return O}})},[]),oe=it(function(O){E({type:"SET_STATUS",payload:O})},[]),me=it(function(O){E({type:"SET_ISSUBMITTING",payload:O})},[]),xe=Er(function(){return E({type:"SUBMIT_ATTEMPT"}),V().then(function(O){var Y=O instanceof Error,te=!Y&&Object.keys(O).length===0;if(te){var q;try{if(q=we(),q===void 0)return}catch(ae){throw ae}return Promise.resolve(q).then(function(ae){return y.current&&E({type:"SUBMIT_SUCCESS"}),ae}).catch(function(ae){if(y.current)throw E({type:"SUBMIT_FAILURE"}),ae})}else if(y.current&&(E({type:"SUBMIT_FAILURE"}),Y))throw O})}),De=Er(function(O){if(O&&O.preventDefault&&zt(O.preventDefault)&&O.preventDefault(),O&&O.stopPropagation&&zt(O.stopPropagation)&&O.stopPropagation(),0)var Y;xe().catch(function(te){console.warn("Warning: An unhandled error was caught from submitForm()",te)})}),Te={resetForm:N,validateForm:V,validateField:H,setErrors:G,setFieldError:de,setFieldTouched:_,setFieldValue:pe,setStatus:oe,setSubmitting:me,setTouched:X,setValues:re,setFormikState:se,submitForm:xe},we=Er(function(){return p(S.values,Te)}),wt=Er(function(O){O&&O.preventDefault&&zt(O.preventDefault)&&O.preventDefault(),O&&O.stopPropagation&&zt(O.stopPropagation)&&O.stopPropagation(),N()}),St=it(function(O){return{value:yt(S.values,O),error:yt(S.errors,O),touched:!!yt(S.touched,O),initialValue:yt(g.current,O),initialTouched:!!yt(m.current,O),initialError:yt(v.current,O)}},[S.errors,S.touched,S.values]),We=it(function(O){return{setValue:function(te,q){return pe(O,te,q)},setTouched:function(te,q){return _(O,te,q)},setError:function(te){return de(O,te)}}},[pe,_,de]),sr=it(function(O){var Y=Ll(O),te=Y?O.name:O,q=yt(S.values,te),ae={name:te,value:q,onChange:A,onBlur:W};if(Y){var Se=O.type,Pe=O.value,Dt=O.as,no=O.multiple;Se==="checkbox"?Pe===void 0?ae.checked=!!q:(ae.checked=!!(Array.isArray(q)&&~q.indexOf(Pe)),ae.value=Pe):Se==="radio"?(ae.checked=q===Pe,ae.value=Pe):Dt==="select"&&no&&(ae.value=ae.value||[],ae.multiple=!0)}return ae},[W,A,S.values]),Wt=ww(function(){return!(0,jn.default)(g.current,S.values)},[g.current,S.values]),Rt=ww(function(){return typeof l<"u"?Wt?S.errors&&Object.keys(S.errors).length===0:l!==!1&&zt(l)?l(h):l:S.errors&&Object.keys(S.errors).length===0},[l,Wt,S.errors,h]),lr=Fe({},S,{initialValues:g.current,initialErrors:v.current,initialTouched:m.current,initialStatus:b.current,handleBlur:W,handleChange:A,handleReset:wt,handleSubmit:De,resetForm:N,setErrors:G,setFormikState:se,setFieldTouched:_,setFieldValue:pe,setFieldError:de,setStatus:oe,setSubmitting:me,setTouched:X,setValues:re,submitForm:xe,validateForm:V,validateField:H,isValid:Rt,dirty:Wt,unregisterField:Q,registerField:Z,getFieldProps:sr,getFieldMeta:St,getFieldHelpers:We,validateOnBlur:o,validateOnChange:r,validateOnMount:s});return lr}function Aw(e){var t=uW(e),r=e.component,n=e.children,o=e.render,a=e.innerRef;return eW(a,function(){return t}),Fo(aW,{value:t},r?Fo(r,t):o?o(t):n?zt(n)?n(t):Tw(n)?null:gh.only(n):null)}function cW(e){var t={};if(e.inner){if(e.inner.length===0)return an(t,e.path,e.message);for(var o=e.inner,r=Array.isArray(o),n=0,o=r?o:o[Symbol.iterator]();;){var a;if(r){if(n>=o.length)break;a=o[n++]}else{if(n=o.next(),n.done)break;a=n.value}var s=a;yt(t,s.path)||(t=an(t,s.path,s.message))}}return t}function fW(e,t,r,n){r===void 0&&(r=!1);var o=hh(e);return t[r?"validateSync":"validate"](o,{abortEarly:!1,context:n||o})}function hh(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||J0(o)?hh(o):o!==""?o:void 0}):J0(e[n])?t[n]=hh(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function pW(e,t,r){var n=e.slice();return t.forEach(function(a,s){if(typeof n[s]>"u"){var l=r.clone!==!1,u=l&&r.isMergeableObject(a);n[s]=u?Ff(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[s]=Ff(e[s],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function dW(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function mW(e,t,r){if(typeof e=="boolean")return!!t;var n=[],o=!1,a=-1;if(Array.isArray(e))n=e,a=e.indexOf(r),o=a>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!o?n.concat(r):o?n.slice(0,a).concat(n.slice(a+1)):n}var hW=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?tW:Ro;function Er(e){var t=Ao(e);return hW(function(){t.current=e}),it(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 Rw(e){var t=e.validate,r=e.name,n=e.render,o=e.children,a=e.as,s=e.component,l=e.className,u=yi(e,["validate","name","render","children","as","component","className"]),c=Ci(),p=yi(c,["validate","validationSchema"]),d=p.registerField,h=p.unregisterField;Ro(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var g=p.getFieldProps(Fe({name:r},u)),v=p.getFieldMeta(r),m={field:g,form:p};if(n)return n(Fe({},m,{meta:v}));if(zt(o))return o(Fe({},m,{meta:v}));if(s){if(typeof s=="string"){var b=u.innerRef,y=yi(u,["innerRef"]);return Fo(s,Fe({ref:b},g,y,{className:l}),o)}return Fo(s,Fe({field:g,form:p},u,{className:l}),o)}var x=a||"input";if(typeof x=="string"){var w=u.innerRef,D=yi(u,["innerRef"]);return Fo(x,Fe({ref:w},g,D,{className:l}),o)}return Fo(x,Fe({},g,u,{className:l}),o)}var vh=rW(function(e,t){var r=e.action,n=yi(e,["action"]),o=r??"#",a=Ci(),s=a.handleReset,l=a.handleSubmit;return Fo("form",Fe({onSubmit:l,ref:t,onReset:s,action:o},n))});vh.displayName="Form";var gW=function(t,r,n){var o=bi(t),a=o[r];return o.splice(r,1),o.splice(n,0,a),o},vW=function(t,r,n){var o=bi(t),a=o[r];return o[r]=o[n],o[n]=a,o},mh=function(t,r,n){var o=bi(t);return o.splice(r,0,n),o},yW=function(t,r,n){var o=bi(t);return o[r]=n,o},bi=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[]},Ew=function(t,r){var n=typeof t=="function"?t:r;return function(o){if(Array.isArray(o)||Ll(o)){var a=bi(o);return n(a)}return o}},bW=function(e){iW(t,e);function t(n){var o;return o=e.call(this,n)||this,o.updateArrayField=function(a,s,l){var u=o.props,c=u.name,p=u.formik.setFormikState;p(function(d){var h=Ew(l,a),g=Ew(s,a),v=an(d.values,c,a(yt(d.values,c))),m=l?h(yt(d.errors,c)):void 0,b=s?g(yt(d.touched,c)):void 0;return Dw(m)&&(m=void 0),Dw(b)&&(b=void 0),Fe({},d,{values:v,errors:l?an(d.errors,c,m):d.errors,touched:s?an(d.touched,c,b):d.touched})})},o.push=function(a){return o.updateArrayField(function(s){return[].concat(bi(s),[Ka(a)])},!1,!1)},o.handlePush=function(a){return function(){return o.push(a)}},o.swap=function(a,s){return o.updateArrayField(function(l){return vW(l,a,s)},!0,!0)},o.handleSwap=function(a,s){return function(){return o.swap(a,s)}},o.move=function(a,s){return o.updateArrayField(function(l){return gW(l,a,s)},!0,!0)},o.handleMove=function(a,s){return function(){return o.move(a,s)}},o.insert=function(a,s){return o.updateArrayField(function(l){return mh(l,a,s)},function(l){return mh(l,a,null)},function(l){return mh(l,a,null)})},o.handleInsert=function(a,s){return function(){return o.insert(a,s)}},o.replace=function(a,s){return o.updateArrayField(function(l){return yW(l,a,s)},!1,!1)},o.handleReplace=function(a,s){return function(){return o.replace(a,s)}},o.unshift=function(a){var s=-1;return o.updateArrayField(function(l){var u=l?[a].concat(l):[a];return s=u.length,u},function(l){return l?[null].concat(l):[null]},function(l){return l?[null].concat(l):[null]}),s},o.handleUnshift=function(a){return function(){return o.unshift(a)}},o.handleRemove=function(a){return function(){return o.remove(a)}},o.handlePop=function(){return function(){return o.pop()}},o.remove=o.remove.bind(Sw(o)),o.pop=o.pop.bind(Sw(o)),o}var r=t.prototype;return r.componentDidUpdate=function(o){this.props.validateOnChange&&this.props.formik.validateOnChange&&!(0,jn.default)(yt(o.formik.values,o.name),yt(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(o){var a;return this.updateArrayField(function(s){var l=s?bi(s):[];return a||(a=l[o]),zt(l.splice)&&l.splice(o,1),zt(l.every)&&l.every(function(u){return u===void 0})?[]:l},!0,!0),a},r.pop=function(){var o;return this.updateArrayField(function(a){var s=a.slice();return o||(o=s&&s.pop&&s.pop()),s},!0,!0),o},r.render=function(){var o={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},a=this.props,s=a.component,l=a.render,u=a.children,c=a.name,p=a.formik,d=yi(p,["validate","validationSchema"]),h=Fe({},o,{form:d,name:c});return s?Fo(s,h):l?l(h):u?typeof u=="function"?u(h):Tw(u)?null:gh.only(u):null},t}(nW);bW.defaultProps={validateOnChange:!0};i();i();import{useState as CW}from"react";var xW=()=>{let[e,t]=CW(!1),r=()=>t(!0),n=()=>t(!0),o=()=>t(!0),l={onFocus:r,onMouseEnter:n,onBlur:()=>t(!1),onMouseLeave:()=>t(!1)};return e||(l.onMouseMove=o),[e,l,t]};i();i();import{useMemo as wW}from"react";var SW=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:e!=null&&e?()=>!0:()=>!1,pp=(e,t,r={},n=[e])=>{let{eventName:o="keydown",eventTarget:a,eventOptions:s}=r,l=wW(()=>{let u=SW(e);return c=>{if(!(["INPUT","TEXTAREA","SELECT"].includes(document.activeElement?.nodeName??"")||document.activeElement?.isContentEditable)&&u(c))return t(c)}},n);U0(o,l,a,s)};i();i();import{useState as DW}from"react";var yh=e=>{let[t,r]=DW([!1,null]);return pp(e,n=>r([!0,n]),{eventName:"keydown"},[t]),pp(e,n=>r([!1,n]),{eventName:"keyup"},[t]),t};i();i();i();i();import{useEffect as EW,useRef as TW}from"react";var bh=(e,t)=>{let r=TW(!0);EW(()=>r.current?(r.current=!1,()=>{}):e(),t)};var Ch=(e,t=void 0,r=void 0)=>{let[n,o]=yh(e);bh(()=>(!n&&r&&o!==null?r(o):n&&t&&o!==null&&t(o),()=>{}),[n])};i();i();import{useState as PW}from"react";var AW=(e,t,r=window.localStorage)=>{let[n,o]=PW(()=>{try{let l=r.getItem(e);return l!==null&&l?JSON.parse(l):t}catch(l){return console.log(l),t}});return[n,l=>{try{let u=l instanceof Function?l(n):l;o(u),r.setItem(e,JSON.stringify(u))}catch(u){console.error(u)}},()=>{r.removeItem(e),o(void 0)}]};i();i();var $l=e=>t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})};i();i();import{useEffect as RW}from"react";var zl=(e,t)=>{RW(()=>{let r=n=>{!e.current||e.current.contains(n.target)||t(n)};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t])};i();i();import{useLayoutEffect as FW}from"react";var xh=e=>{FW(()=>{if(e){let t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}}return()=>{}},[e])};i();i();import{useEffect as BW,useRef as OW}from"react";var Gl=e=>{let t=OW();return BW(()=>{t.current=e}),t.current};i();i();import yp from"styled-components";i();i();var Vw=kr(mp());import{useEffect as xi,useRef as Ow,useState as Mw,useCallback as Iw}from"react";import{createPortal as $W}from"react-dom";import{createGlobalStyle as zW}from"styled-components";i();i();import{Children as NW}from"react";import{jsx as Bw}from"react/jsx-runtime";var LW=100,Hl=({children:e})=>{let t=NW.map(e,r=>r)?.filter(Boolean);return Bw(Cl,{children:F(t)?t.map(r=>Bw(Al.div,{animate:{opacity:1},exit:{opacity:0},initial:{opacity:0},style:{willChange:"auto"},transition:{duration:LW/1e3},children:r},r.key)):null})};import{Fragment as jW,jsx as jl,jsxs as WW}from"react/jsx-runtime";var wh="is-scroll-locked",GW=zW`
730
+ `;import{jsx as Ma,jsxs as yL}from"react/jsx-runtime";var uIe=({children:e,theme:t={},globalStylesIncluded:r=!0,skipAnimations:n=!1,Link:o})=>yL(Rv,{theme:t,children:[r?Ma(nC,{}):null,Ma(cm,{children:Ma(Zm,{reducedMotion:n?"never":"user",children:Ma(Ov,{value:{Link:o},children:Ma(Pf,{children:Ma($0,{children:e})})})})})]});i();i();import{useState as bL,useCallback as H0}from"react";var j0=(e=!1)=>{let[t,r]=bL(e),n=H0(()=>r(s=>!s),[]),o=H0(()=>r(!0),[]),a=H0(()=>r(!1),[]);return[t,n,o,a,r]};i();i();import{useCallback as wL}from"react";i();i();import{useEffect as CL,useRef as oC,useState as xL}from"react";var Tf=e=>{let[t,r]=xL(!1),n=oC(),o=oC(e),a=s=>{clearTimeout(n.current),r(!o.current),n.current=window.setTimeout(()=>r(o.current),s)};return CL(()=>()=>clearTimeout(n.current),[]),[t,a]};var SL=(e,t=1500)=>{let[r,n]=Tf(!1),[o,a]=Tf(!1);return[wL(async()=>{try{await Fs(e),t&&t>0&&n(t)}catch(l){l instanceof Error&&a(t)}},[e,t,n,a]),r,o]};i();i();import{useMemo as DL,useState as EL,useRef as PL,useLayoutEffect as TL}from"react";var AL={width:0,height:0,top:0,left:0,bottom:0,right:0,x:0,y:0},W0=()=>{let e=PL(null),[t,r]=EL(AL),n=DL(()=>new window.ResizeObserver(o=>{if(o[0]){let{width:a,height:s,top:l,left:u,bottom:c,right:p,x:d,y:h}=o[0].contentRect;r({width:a,height:s,top:l,left:u,bottom:c,right:p,x:d,y:h})}}),[]);return TL(()=>{if(e.current)return n.observe(e.current),()=>{n.disconnect()}},[n]),[e,t]};i();i();import{useEffect as _0,useRef as iC}from"react";var RL=e=>!!(typeof e=="object"&&e?.addEventListener),U0=(e,t,r=window,n={})=>{let o=iC(),a=iC();_0(()=>{o.current=t},[t]),_0(()=>{a.current=n},[n]),_0(()=>{if(!e||!RL(r))return;let s=l=>o.current!==void 0?o.current(l):()=>{};return r.addEventListener(e,s,a.current),()=>{r.removeEventListener(e,s,a.current)}},[e,r,a])};i();i();import{useRef as yC,useCallback as OL,useEffect as ML}from"react";i();var q0='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, [tabindex="0"], [contenteditable]',FL=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},BL=e=>{let t=e;for(;t&&t!==document.body;){if(FL(t))return!1;t=t.parentNode}return!0},aC=e=>{let t=e.getAttribute("tabindex");return Number.parseInt(t??void 0,10)},sC=e=>{let t=aC(e);return Number.isNaN(t)},Af=e=>{let t=/input|select|textarea|button|object/,r=e.nodeName.toLowerCase(),n=!sC(e);return!!(t.test(r)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&BL(e)},X0=e=>{let t=aC(e);return(sC(e)||t>=0)&&Af(e)},lC=e=>Array.from(e.querySelectorAll(q0)).filter(X0),uC=[],Ia=null,K0=!1,cC=()=>{K0=!0},fC=()=>{if(K0){if(K0=!1,!Ia||Ia.contains(document.activeElement))return;(lC(Ia)[0]??Ia).focus()}},pC=()=>{let e=document.activeElement;e!==null&&uC.push(e)},dC=()=>{let e=null;try{e=uC.pop(),e&&e.focus()}catch{console.warn(`You tried to return focus to ${$t(e)} but it is not in the DOM anymore`)}},mC=e=>{Ia=e,document.addEventListener("focusout",cC,!1),document.addEventListener("focusin",fC,!0)},hC=()=>{Ia=null,document.removeEventListener("focusout",cC),document.removeEventListener("focusin",fC)},gC=(e,t)=>{let r=lC(e);if(!r.length){t.preventDefault();return}if(!(r[t.shiftKey?0:r.length-1]===document.activeElement||e===document.activeElement))return;t.preventDefault();let a=r[t.shiftKey?r.length-1:0];a&&a.focus()},vC=(e,t)=>{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 IL=e=>e!==null&&typeof e=="object"&&"current"in e,Y0=(e=!0,t={})=>{let r=yC(null),n=yC(null),o=OL(a=>{if(n.current!==null&&n.current(),r.current&&(dC(),hC()),e&&a!==null&&a!==void 0){mC(a),pC();let s=l=>{n.current=t.disableAriaHider??!1?null:vC(l);let u=null;if(ee(t.focusSelector)&&(IL(t.focusSelector)?u=t.focusSelector.current:u=typeof t.focusSelector=="string"?l.querySelector(t.focusSelector):t.focusSelector),!u){let c=Array.from(l.querySelectorAll(q0));u=c.find(X0)??c.find(Af)??null,!u&&Af(l)&&(u=l)}u&&u.focus()};setTimeout(()=>{a.ownerDocument&&s(a),a.ownerDocument}),r.current=a}else r.current=null},[e,t.focusSelector,t.disableAriaHider]);return ML(()=>{if(!e)return;let a=s=>{s.key==="Tab"&&r.current&&gC(r.current,s)};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}},[e]),o};i();i();import{useCallback as kL,useState as VL}from"react";var NL=()=>{let[,e]=VL(Object.create(null));return kL(()=>{e(Object.create(null))},[e])};i();i();i();var LL=function(t){return $L(t)&&!zL(t)};function $L(e){return!!e&&typeof e=="object"}function zL(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||jL(e)}var GL=typeof Symbol=="function"&&Symbol.for,HL=GL?Symbol.for("react.element"):60103;function jL(e){return e.$$typeof===HL}function WL(e){return Array.isArray(e)?[]:{}}function Rf(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Il(WL(e),e,t):e}function _L(e,t,r){return e.concat(t).map(function(n){return Rf(n,r)})}function UL(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(o){n[o]=Rf(e[o],r)}),Object.keys(t).forEach(function(o){!r.isMergeableObject(t[o])||!e[o]?n[o]=Rf(t[o],r):n[o]=Il(e[o],t[o],r)}),n}function Il(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||_L,r.isMergeableObject=r.isMergeableObject||LL;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):UL(e,t,r):Rf(t,r)}Il.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Il(n,o,r)},{})};var KL=Il,Ff=KL;i();i();i();i();i();var qL=typeof window=="object"&&window&&window.Object===Object&&window,Bf=qL;var XL=typeof self=="object"&&self&&self.Object===Object&&self,YL=Bf||XL||Function("return this")(),ot=YL;var JL=ot.Symbol,Dr=JL;i();var bC=Object.prototype,ZL=bC.hasOwnProperty,QL=bC.toString,kl=Dr?Dr.toStringTag:void 0;function e$(e){var t=ZL.call(e,kl),r=e[kl];try{e[kl]=void 0;var n=!0}catch{}var o=QL.call(e);return n&&(t?e[kl]=r:delete e[kl]),o}var CC=e$;i();var t$=Object.prototype,r$=t$.toString;function n$(e){return r$.call(e)}var xC=n$;var o$="[object Null]",i$="[object Undefined]",wC=Dr?Dr.toStringTag:void 0;function a$(e){return e==null?e===void 0?i$:o$:wC&&wC in Object(e)?CC(e):xC(e)}var dr=a$;i();i();function s$(e,t){return function(r){return e(t(r))}}var Of=s$;var l$=Of(Object.getPrototypeOf,Object),ka=l$;i();function u$(e){return e!=null&&typeof e=="object"}var Yt=u$;var c$="[object Object]",f$=Function.prototype,p$=Object.prototype,SC=f$.toString,d$=p$.hasOwnProperty,m$=SC.call(Object);function h$(e){if(!Yt(e)||dr(e)!=c$)return!1;var t=ka(e);if(t===null)return!0;var r=d$.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&SC.call(r)==m$}var J0=h$;i();i();i();i();i();function g$(){this.__data__=[],this.size=0}var DC=g$;i();i();i();function v$(e,t){return e===t||e!==e&&t!==t}var Mf=v$;function y$(e,t){for(var r=e.length;r--;)if(Mf(e[r][0],t))return r;return-1}var So=y$;var b$=Array.prototype,C$=b$.splice;function x$(e){var t=this.__data__,r=So(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():C$.call(t,r,1),--this.size,!0}var EC=x$;i();function w$(e){var t=this.__data__,r=So(t,e);return r<0?void 0:t[r][1]}var PC=w$;i();function S$(e){return So(this.__data__,e)>-1}var TC=S$;i();function D$(e,t){var r=this.__data__,n=So(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var AC=D$;function Va(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])}}Va.prototype.clear=DC;Va.prototype.delete=EC;Va.prototype.get=PC;Va.prototype.has=TC;Va.prototype.set=AC;var Do=Va;i();function E$(){this.__data__=new Do,this.size=0}var RC=E$;i();function P$(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var FC=P$;i();function T$(e){return this.__data__.get(e)}var BC=T$;i();function A$(e){return this.__data__.has(e)}var OC=A$;i();i();i();i();i();i();function R$(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nn=R$;var F$="[object AsyncFunction]",B$="[object Function]",O$="[object GeneratorFunction]",M$="[object Proxy]";function I$(e){if(!nn(e))return!1;var t=dr(e);return t==B$||t==O$||t==F$||t==M$}var If=I$;i();i();var k$=ot["__core-js_shared__"],kf=k$;var MC=(function(){var e=/[^.]+$/.exec(kf&&kf.keys&&kf.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function V$(e){return!!MC&&MC in e}var IC=V$;i();var N$=Function.prototype,L$=N$.toString;function $$(e){if(e!=null){try{return L$.call(e)}catch{}try{return e+""}catch{}}return""}var zn=$$;var z$=/[\\^$.*+?()[\]{}|]/g,G$=/^\[object .+?Constructor\]$/,H$=Function.prototype,j$=Object.prototype,W$=H$.toString,_$=j$.hasOwnProperty,U$=RegExp("^"+W$.call(_$).replace(z$,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function K$(e){if(!nn(e)||IC(e))return!1;var t=If(e)?U$:G$;return t.test(zn(e))}var kC=K$;i();function q$(e,t){return e?.[t]}var VC=q$;function X$(e,t){var r=VC(e,t);return kC(r)?r:void 0}var Jt=X$;var Y$=Jt(ot,"Map"),Eo=Y$;i();i();i();i();i();var J$=Jt(Object,"create"),Gn=J$;function Z$(){this.__data__=Gn?Gn(null):{},this.size=0}var NC=Z$;i();function Q$(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var LC=Q$;i();var ez="__lodash_hash_undefined__",tz=Object.prototype,rz=tz.hasOwnProperty;function nz(e){var t=this.__data__;if(Gn){var r=t[e];return r===ez?void 0:r}return rz.call(t,e)?t[e]:void 0}var $C=nz;i();var oz=Object.prototype,iz=oz.hasOwnProperty;function az(e){var t=this.__data__;return Gn?t[e]!==void 0:iz.call(t,e)}var zC=az;i();var sz="__lodash_hash_undefined__";function lz(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Gn&&t===void 0?sz:t,this}var GC=lz;function Na(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])}}Na.prototype.clear=NC;Na.prototype.delete=LC;Na.prototype.get=$C;Na.prototype.has=zC;Na.prototype.set=GC;var Z0=Na;function uz(){this.size=0,this.__data__={hash:new Z0,map:new(Eo||Do),string:new Z0}}var HC=uz;i();i();i();function cz(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var jC=cz;function fz(e,t){var r=e.__data__;return jC(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Po=fz;function pz(e){var t=Po(this,e).delete(e);return this.size-=t?1:0,t}var WC=pz;i();function dz(e){return Po(this,e).get(e)}var _C=dz;i();function mz(e){return Po(this,e).has(e)}var UC=mz;i();function hz(e,t){var r=Po(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var KC=hz;function La(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])}}La.prototype.clear=HC;La.prototype.delete=WC;La.prototype.get=_C;La.prototype.has=UC;La.prototype.set=KC;var Vl=La;var gz=200;function vz(e,t){var r=this.__data__;if(r instanceof Do){var n=r.__data__;if(!Eo||n.length<gz-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Vl(n)}return r.set(e,t),this.size=r.size,this}var qC=vz;function $a(e){var t=this.__data__=new Do(e);this.size=t.size}$a.prototype.clear=RC;$a.prototype.delete=FC;$a.prototype.get=BC;$a.prototype.has=OC;$a.prototype.set=qC;var XC=$a;i();function yz(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var YC=yz;i();i();i();var bz=(function(){try{var e=Jt(Object,"defineProperty");return e({},"",{}),e}catch{}})(),Q0=bz;function Cz(e,t,r){t=="__proto__"&&Q0?Q0(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Vf=Cz;var xz=Object.prototype,wz=xz.hasOwnProperty;function Sz(e,t,r){var n=e[t];(!(wz.call(e,t)&&Mf(n,r))||r===void 0&&!(t in e))&&Vf(e,t,r)}var Nf=Sz;i();i();function Dz(e,t,r,n){var o=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var l=t[a],u=n?n(r[l],e[l],l,r,e):void 0;u===void 0&&(u=e[l]),o?Vf(r,l,u):Nf(r,l,u)}return r}var To=Dz;i();i();i();function Ez(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var JC=Ez;i();i();var Pz="[object Arguments]";function Tz(e){return Yt(e)&&dr(e)==Pz}var eh=Tz;var ZC=Object.prototype,Az=ZC.hasOwnProperty,Rz=ZC.propertyIsEnumerable,Fz=eh((function(){return arguments})())?eh:function(e){return Yt(e)&&Az.call(e,"callee")&&!Rz.call(e,"callee")},QC=Fz;i();var Bz=Array.isArray,on=Bz;i();i();function Oz(){return!1}var ex=Oz;var nx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,tx=nx&&typeof module=="object"&&module&&!module.nodeType&&module,Mz=tx&&tx.exports===nx,rx=Mz?ot.Buffer:void 0,Iz=rx?rx.isBuffer:void 0,kz=Iz||ex,Lf=kz;i();var Vz=9007199254740991,Nz=/^(?:0|[1-9]\d*)$/;function Lz(e,t){var r=typeof e;return t=t??Vz,!!t&&(r=="number"||r!="symbol"&&Nz.test(e))&&e>-1&&e%1==0&&e<t}var ox=Lz;i();i();i();var $z=9007199254740991;function zz(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$z}var $f=zz;var Gz="[object Arguments]",Hz="[object Array]",jz="[object Boolean]",Wz="[object Date]",_z="[object Error]",Uz="[object Function]",Kz="[object Map]",qz="[object Number]",Xz="[object Object]",Yz="[object RegExp]",Jz="[object Set]",Zz="[object String]",Qz="[object WeakMap]",eG="[object ArrayBuffer]",tG="[object DataView]",rG="[object Float32Array]",nG="[object Float64Array]",oG="[object Int8Array]",iG="[object Int16Array]",aG="[object Int32Array]",sG="[object Uint8Array]",lG="[object Uint8ClampedArray]",uG="[object Uint16Array]",cG="[object Uint32Array]",Le={};Le[rG]=Le[nG]=Le[oG]=Le[iG]=Le[aG]=Le[sG]=Le[lG]=Le[uG]=Le[cG]=!0;Le[Gz]=Le[Hz]=Le[eG]=Le[jz]=Le[tG]=Le[Wz]=Le[_z]=Le[Uz]=Le[Kz]=Le[qz]=Le[Xz]=Le[Yz]=Le[Jz]=Le[Zz]=Le[Qz]=!1;function fG(e){return Yt(e)&&$f(e.length)&&!!Le[dr(e)]}var ix=fG;i();function pG(e){return function(t){return e(t)}}var za=pG;i();var ax=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Nl=ax&&typeof module=="object"&&module&&!module.nodeType&&module,dG=Nl&&Nl.exports===ax,th=dG&&Bf.process,mG=(function(){try{var e=Nl&&Nl.require&&Nl.require("util").types;return e||th&&th.binding&&th.binding("util")}catch{}})(),Hn=mG;var sx=Hn&&Hn.isTypedArray,hG=sx?za(sx):ix,lx=hG;var gG=Object.prototype,vG=gG.hasOwnProperty;function yG(e,t){var r=on(e),n=!r&&QC(e),o=!r&&!n&&Lf(e),a=!r&&!n&&!o&&lx(e),s=r||n||o||a,l=s?JC(e.length,String):[],u=l.length;for(var c in e)(t||vG.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||ox(c,u)))&&l.push(c);return l}var zf=yG;i();i();var bG=Object.prototype;function CG(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||bG;return e===r}var Ga=CG;i();var xG=Of(Object.keys,Object),ux=xG;var wG=Object.prototype,SG=wG.hasOwnProperty;function DG(e){if(!Ga(e))return ux(e);var t=[];for(var r in Object(e))SG.call(e,r)&&r!="constructor"&&t.push(r);return t}var cx=DG;i();function EG(e){return e!=null&&$f(e.length)&&!If(e)}var Gf=EG;function PG(e){return Gf(e)?zf(e):cx(e)}var Ha=PG;function TG(e,t){return e&&To(t,Ha(t),e)}var fx=TG;i();i();i();i();function AG(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var px=AG;var RG=Object.prototype,FG=RG.hasOwnProperty;function BG(e){if(!nn(e))return px(e);var t=Ga(e),r=[];for(var n in e)n=="constructor"&&(t||!FG.call(e,n))||r.push(n);return r}var dx=BG;function OG(e){return Gf(e)?zf(e,!0):dx(e)}var ja=OG;function MG(e,t){return e&&To(t,ja(t),e)}var mx=MG;i();var yx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,hx=yx&&typeof module=="object"&&module&&!module.nodeType&&module,IG=hx&&hx.exports===yx,gx=IG?ot.Buffer:void 0,vx=gx?gx.allocUnsafe:void 0;function kG(e,t){if(t)return e.slice();var r=e.length,n=vx?vx(r):new e.constructor(r);return e.copy(n),n}var bx=kG;i();function VG(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Hf=VG;i();i();i();function NG(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[o++]=s)}return a}var Cx=NG;i();function LG(){return[]}var jf=LG;var $G=Object.prototype,zG=$G.propertyIsEnumerable,xx=Object.getOwnPropertySymbols,GG=xx?function(e){return e==null?[]:(e=Object(e),Cx(xx(e),function(t){return zG.call(e,t)}))}:jf,Wa=GG;function HG(e,t){return To(e,Wa(e),t)}var wx=HG;i();i();i();function jG(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var Wf=jG;var WG=Object.getOwnPropertySymbols,_G=WG?function(e){for(var t=[];e;)Wf(t,Wa(e)),e=ka(e);return t}:jf,_f=_G;function UG(e,t){return To(e,_f(e),t)}var Sx=UG;i();i();function KG(e,t,r){var n=t(e);return on(e)?n:Wf(n,r(e))}var Uf=KG;function qG(e){return Uf(e,Ha,Wa)}var Dx=qG;i();function XG(e){return Uf(e,ja,_f)}var Ex=XG;i();i();var YG=Jt(ot,"DataView"),Kf=YG;i();var JG=Jt(ot,"Promise"),qf=JG;i();var ZG=Jt(ot,"Set"),Xf=ZG;i();var QG=Jt(ot,"WeakMap"),Yf=QG;var Px="[object Map]",eH="[object Object]",Tx="[object Promise]",Ax="[object Set]",Rx="[object WeakMap]",Fx="[object DataView]",tH=zn(Kf),rH=zn(Eo),nH=zn(qf),oH=zn(Xf),iH=zn(Yf),gi=dr;(Kf&&gi(new Kf(new ArrayBuffer(1)))!=Fx||Eo&&gi(new Eo)!=Px||qf&&gi(qf.resolve())!=Tx||Xf&&gi(new Xf)!=Ax||Yf&&gi(new Yf)!=Rx)&&(gi=function(e){var t=dr(e),r=t==eH?e.constructor:void 0,n=r?zn(r):"";if(n)switch(n){case tH:return Fx;case rH:return Px;case nH:return Tx;case oH:return Ax;case iH:return Rx}return t});var _a=gi;i();var aH=Object.prototype,sH=aH.hasOwnProperty;function lH(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&sH.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var Bx=lH;i();i();i();var uH=ot.Uint8Array,rh=uH;function cH(e){var t=new e.constructor(e.byteLength);return new rh(t).set(new rh(e)),t}var Ua=cH;i();function fH(e,t){var r=t?Ua(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var Ox=fH;i();var pH=/\w*$/;function dH(e){var t=new e.constructor(e.source,pH.exec(e));return t.lastIndex=e.lastIndex,t}var Mx=dH;i();var Ix=Dr?Dr.prototype:void 0,kx=Ix?Ix.valueOf:void 0;function mH(e){return kx?Object(kx.call(e)):{}}var Vx=mH;i();function hH(e,t){var r=t?Ua(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Nx=hH;var gH="[object Boolean]",vH="[object Date]",yH="[object Map]",bH="[object Number]",CH="[object RegExp]",xH="[object Set]",wH="[object String]",SH="[object Symbol]",DH="[object ArrayBuffer]",EH="[object DataView]",PH="[object Float32Array]",TH="[object Float64Array]",AH="[object Int8Array]",RH="[object Int16Array]",FH="[object Int32Array]",BH="[object Uint8Array]",OH="[object Uint8ClampedArray]",MH="[object Uint16Array]",IH="[object Uint32Array]";function kH(e,t,r){var n=e.constructor;switch(t){case DH:return Ua(e);case gH:case vH:return new n(+e);case EH:return Ox(e,r);case PH:case TH:case AH:case RH:case FH:case BH:case OH:case MH:case IH:return Nx(e,r);case yH:return new n;case bH:case wH:return new n(e);case CH:return Mx(e);case xH:return new n;case SH:return Vx(e)}}var Lx=kH;i();i();var $x=Object.create,VH=(function(){function e(){}return function(t){if(!nn(t))return{};if($x)return $x(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})(),zx=VH;function NH(e){return typeof e.constructor=="function"&&!Ga(e)?zx(ka(e)):{}}var Gx=NH;i();i();var LH="[object Map]";function $H(e){return Yt(e)&&_a(e)==LH}var Hx=$H;var jx=Hn&&Hn.isMap,zH=jx?za(jx):Hx,Wx=zH;i();i();var GH="[object Set]";function HH(e){return Yt(e)&&_a(e)==GH}var _x=HH;var Ux=Hn&&Hn.isSet,jH=Ux?za(Ux):_x,Kx=jH;var WH=1,_H=2,UH=4,qx="[object Arguments]",KH="[object Array]",qH="[object Boolean]",XH="[object Date]",YH="[object Error]",Xx="[object Function]",JH="[object GeneratorFunction]",ZH="[object Map]",QH="[object Number]",Yx="[object Object]",ej="[object RegExp]",tj="[object Set]",rj="[object String]",nj="[object Symbol]",oj="[object WeakMap]",ij="[object ArrayBuffer]",aj="[object DataView]",sj="[object Float32Array]",lj="[object Float64Array]",uj="[object Int8Array]",cj="[object Int16Array]",fj="[object Int32Array]",pj="[object Uint8Array]",dj="[object Uint8ClampedArray]",mj="[object Uint16Array]",hj="[object Uint32Array]",Ie={};Ie[qx]=Ie[KH]=Ie[ij]=Ie[aj]=Ie[qH]=Ie[XH]=Ie[sj]=Ie[lj]=Ie[uj]=Ie[cj]=Ie[fj]=Ie[ZH]=Ie[QH]=Ie[Yx]=Ie[ej]=Ie[tj]=Ie[rj]=Ie[nj]=Ie[pj]=Ie[dj]=Ie[mj]=Ie[hj]=!0;Ie[YH]=Ie[Xx]=Ie[oj]=!1;function Jf(e,t,r,n,o,a){var s,l=t&WH,u=t&_H,c=t&UH;if(r&&(s=o?r(e,n,o,a):r(e)),s!==void 0)return s;if(!nn(e))return e;var p=on(e);if(p){if(s=Bx(e),!l)return Hf(e,s)}else{var d=_a(e),h=d==Xx||d==JH;if(Lf(e))return bx(e,l);if(d==Yx||d==qx||h&&!o){if(s=u||h?{}:Gx(e),!l)return u?Sx(e,mx(s,e)):wx(e,fx(s,e))}else{if(!Ie[d])return o?e:{};s=Lx(e,d,l)}}a||(a=new XC);var g=a.get(e);if(g)return g;a.set(e,s),Kx(e)?e.forEach(function(b){s.add(Jf(b,t,r,b,e,a))}):Wx(e)&&e.forEach(function(b,y){s.set(y,Jf(b,t,r,y,e,a))});var v=c?u?Ex:Dx:u?ja:Ha,m=p?void 0:v(e);return YC(m||e,function(b,y){m&&(y=b,b=e[y]),Nf(s,y,Jf(b,t,r,y,e,a))}),s}var Zf=Jf;var gj=1,vj=4;function yj(e){return Zf(e,gj|vj)}var Ka=yj;var jn=kr(ew());import{createContext as Jj,useContext as Zj,Children as gh,useRef as Ao,useEffect as Ro,useState as Qj,useCallback as it,useMemo as ww,useImperativeHandle as eW,createElement as Fo,useLayoutEffect as tW,forwardRef as rW,Component as nW}from"react";i();var xj=!0;function wj(e,t){if(!xj){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var tw=wj;i();var Sj=4;function Dj(e){return Zf(e,Sj)}var oh=Dj;i();i();function Ej(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 Qf=Ej;i();var Pj="[object Symbol]";function Tj(e){return typeof e=="symbol"||Yt(e)&&dr(e)==Pj}var qa=Tj;i();i();i();var Aj="Expected a function";function ih(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Aj);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var s=e.apply(this,n);return r.cache=a.set(o,s)||a,s};return r.cache=new(ih.Cache||Vl),r}ih.Cache=Vl;var rw=ih;var Rj=500;function Fj(e){var t=rw(e,function(n){return r.size===Rj&&r.clear(),n}),r=t.cache;return t}var nw=Fj;var Bj=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Oj=/\\(\\)?/g,Mj=nw(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Bj,function(r,n,o,a){t.push(o?a.replace(Oj,"$1"):n||r)}),t}),ow=Mj;i();var Ij=1/0;function kj(e){if(typeof e=="string"||qa(e))return e;var t=e+"";return t=="0"&&1/e==-Ij?"-0":t}var iw=kj;i();i();var Vj=1/0,aw=Dr?Dr.prototype:void 0,sw=aw?aw.toString:void 0;function lw(e){if(typeof e=="string")return e;if(on(e))return Qf(e,lw)+"";if(qa(e))return sw?sw.call(e):"";var t=e+"";return t=="0"&&1/e==-Vj?"-0":t}var uw=lw;function Nj(e){return e==null?"":uw(e)}var cw=Nj;function Lj(e){return on(e)?Qf(e,iw):qa(e)?[e]:Hf(ow(cw(e)))}var ah=Lj;var oW=kr(xw());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 iW(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function yi(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var fp=Jj(void 0);fp.displayName="FormikContext";var aW=fp.Provider,Gje=fp.Consumer;function Ci(){var e=Zj(fp);return e||tw(!1),e}var Dw=function(t){return Array.isArray(t)&&t.length===0},zt=function(t){return typeof t=="function"},Ll=function(t){return t!==null&&typeof t=="object"},sW=function(t){return String(Math.floor(Number(t)))===t},ph=function(t){return Object.prototype.toString.call(t)==="[object String]"};var Pw=function(t){return gh.count(t)===0},dh=function(t){return Ll(t)&&zt(t.then)};function yt(e,t,r,n){n===void 0&&(n=0);for(var o=ah(t);e&&n<o.length;)e=e[o[n++]];return n!==o.length&&!e||e===void 0?r:e}function an(e,t,r){for(var n=oh(e),o=n,a=0,s=ah(t);a<s.length-1;a++){var l=s[a],u=yt(e,s.slice(0,a+1));if(u&&(Ll(u)||Array.isArray(u)))o=o[l]=oh(u);else{var c=s[a+1];o=o[l]=sW(c)&&Number(c)>=0?[]:{}}}return(a===0?e:o)[s[a]]===r?e:(r===void 0?delete o[s[a]]:o[s[a]]=r,a===0&&r===void 0&&delete n[s[a]],n)}function Tw(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var o=0,a=Object.keys(e);o<a.length;o++){var s=a[o],l=e[s];Ll(l)?r.get(l)||(r.set(l,!0),n[s]=Array.isArray(l)?[]:{},Tw(l,t,r,n[s])):n[s]=t}return n}function lW(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,jn.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:an(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Fe({},e,{touched:an(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Fe({},e,{errors:an(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:Tw(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 vi={},cp={};function uW(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,o=n===void 0?!0:n,a=e.validateOnMount,s=a===void 0?!1:a,l=e.isInitialValid,u=e.enableReinitialize,c=u===void 0?!1:u,p=e.onSubmit,d=yi(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),h=Fe({validateOnChange:r,validateOnBlur:o,validateOnMount:s,onSubmit:p},d),g=Ao(h.initialValues),v=Ao(h.initialErrors||vi),m=Ao(h.initialTouched||cp),b=Ao(h.initialStatus),y=Ao(!1),x=Ao({});Ro(function(){return y.current=!0,function(){y.current=!1}},[]);var w=Qj(0),D=w[1],P=Ao({values:Ka(h.initialValues),errors:Ka(h.initialErrors)||vi,touched:Ka(h.initialTouched)||cp,status:Ka(h.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),S=P.current,E=it(function(O){var Y=P.current;P.current=lW(Y,O),Y!==P.current&&D(function(te){return te+1})},[]),R=it(function(O,Y){return new Promise(function(te,q){var ae=h.validate(O,Y);ae==null?te(vi):dh(ae)?ae.then(function(Se){te(Se||vi)},function(Se){q(Se)}):te(ae)})},[h.validate]),B=it(function(O,Y){var te=h.validationSchema,q=zt(te)?te(Y):te,ae=Y&&q.validateAt?q.validateAt(Y,O):fW(O,q);return new Promise(function(Se,Te){ae.then(function(){Se(vi)},function(Dt){Dt.name==="ValidationError"?Se(cW(Dt)):Te(Dt)})})},[h.validationSchema]),k=it(function(O,Y){return new Promise(function(te){return te(x.current[O].validate(Y))})},[]),j=it(function(O){var Y=Object.keys(x.current).filter(function(q){return zt(x.current[q].validate)}),te=Y.length>0?Y.map(function(q){return k(q,yt(O,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=an(ae,Y[Te],Se)),ae},{})})},[k]),I=it(function(O){return Promise.all([j(O),h.validationSchema?B(O):{},h.validate?R(O):{}]).then(function(Y){var te=Y[0],q=Y[1],ae=Y[2],Se=Ff.all([te,q,ae],{arrayMerge:pW});return Se})},[h.validate,h.validationSchema,j,R,B]),V=Er(function(O){return O===void 0&&(O=S.values),E({type:"SET_ISVALIDATING",payload:!0}),I(O).then(function(Y){return y.current&&(E({type:"SET_ISVALIDATING",payload:!1}),E({type:"SET_ERRORS",payload:Y})),Y})});Ro(function(){s&&y.current===!0&&(0,jn.default)(g.current,h.initialValues)&&V(g.current)},[s,V]);var N=it(function(O){var Y=O&&O.values?O.values:g.current,te=O&&O.errors?O.errors:v.current?v.current:h.initialErrors||{},q=O&&O.touched?O.touched:m.current?m.current:h.initialTouched||{},ae=O&&O.status?O.status:b.current?b.current:h.initialStatus;g.current=Y,v.current=te,m.current=q,b.current=ae;var Se=function(){E({type:"RESET_FORM",payload:{isSubmitting:!!O&&!!O.isSubmitting,errors:te,touched:q,status:ae,values:Y,isValidating:!!O&&!!O.isValidating,submitCount:O&&O.submitCount&&typeof O.submitCount=="number"?O.submitCount:0}})};if(h.onReset){var Te=h.onReset(S.values,Pe);dh(Te)?Te.then(Se):Se()}else Se()},[h.initialErrors,h.initialStatus,h.initialTouched,h.onReset]);Ro(function(){y.current===!0&&!(0,jn.default)(g.current,h.initialValues)&&c&&(g.current=h.initialValues,N(),s&&V(g.current))},[c,h.initialValues,N,s,V]),Ro(function(){c&&y.current===!0&&!(0,jn.default)(v.current,h.initialErrors)&&(v.current=h.initialErrors||vi,E({type:"SET_ERRORS",payload:h.initialErrors||vi}))},[c,h.initialErrors]),Ro(function(){c&&y.current===!0&&!(0,jn.default)(m.current,h.initialTouched)&&(m.current=h.initialTouched||cp,E({type:"SET_TOUCHED",payload:h.initialTouched||cp}))},[c,h.initialTouched]),Ro(function(){c&&y.current===!0&&!(0,jn.default)(b.current,h.initialStatus)&&(b.current=h.initialStatus,E({type:"SET_STATUS",payload:h.initialStatus}))},[c,h.initialStatus,h.initialTouched]);var H=Er(function(O){if(x.current[O]&&zt(x.current[O].validate)){var Y=yt(S.values,O),te=x.current[O].validate(Y);return dh(te)?(E({type:"SET_ISVALIDATING",payload:!0}),te.then(function(q){return q}).then(function(q){E({type:"SET_FIELD_ERROR",payload:{field:O,value:q}}),E({type:"SET_ISVALIDATING",payload:!1})})):(E({type:"SET_FIELD_ERROR",payload:{field:O,value:te}}),Promise.resolve(te))}else if(h.validationSchema)return E({type:"SET_ISVALIDATING",payload:!0}),B(S.values,O).then(function(q){return q}).then(function(q){E({type:"SET_FIELD_ERROR",payload:{field:O,value:yt(q,O)}}),E({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),Z=it(function(O,Y){var te=Y.validate;x.current[O]={validate:te}},[]),Q=it(function(O){delete x.current[O]},[]),X=Er(function(O,Y){E({type:"SET_TOUCHED",payload:O});var te=Y===void 0?o:Y;return te?V(S.values):Promise.resolve()}),G=it(function(O){E({type:"SET_ERRORS",payload:O})},[]),re=Er(function(O,Y){var te=zt(O)?O(S.values):O;E({type:"SET_VALUES",payload:te});var q=Y===void 0?r:Y;return q?V(te):Promise.resolve()}),de=it(function(O,Y){E({type:"SET_FIELD_ERROR",payload:{field:O,value:Y}})},[]),pe=Er(function(O,Y,te){E({type:"SET_FIELD_VALUE",payload:{field:O,value:Y}});var q=te===void 0?r:te;return q?V(an(S.values,O,Y)):Promise.resolve()}),je=it(function(O,Y){var te=Y,q=O,ae;if(!ph(O)){O.persist&&O.persist();var Se=O.target?O.target:O.currentTarget,Te=Se.type,Dt=Se.name,no=Se.id,Ir=Se.value,V1=Se.checked,r5=Se.outerHTML,ea=Se.options,N1=Se.multiple;te=Y||Dt||no,q=/number|range/.test(Te)?(ae=parseFloat(Ir),isNaN(ae)?"":ae):/checkbox/.test(Te)?mW(yt(S.values,te),V1,Ir):ea&&N1?dW(ea):Ir}te&&pe(te,q)},[pe,S.values]),A=Er(function(O){if(ph(O))return function(Y){return je(Y,O)};je(O)}),_=Er(function(O,Y,te){Y===void 0&&(Y=!0),E({type:"SET_FIELD_TOUCHED",payload:{field:O,value:Y}});var q=te===void 0?o:te;return q?V(S.values):Promise.resolve()}),z=it(function(O,Y){O.persist&&O.persist();var te=O.target,q=te.name,ae=te.id,Se=te.outerHTML,Te=Y||q||ae;_(Te,!0)},[_]),W=Er(function(O){if(ph(O))return function(Y){return z(Y,O)};z(O)}),se=it(function(O){zt(O)?E({type:"SET_FORMIK_STATE",payload:O}):E({type:"SET_FORMIK_STATE",payload:function(){return O}})},[]),oe=it(function(O){E({type:"SET_STATUS",payload:O})},[]),me=it(function(O){E({type:"SET_ISSUBMITTING",payload:O})},[]),xe=Er(function(){return E({type:"SUBMIT_ATTEMPT"}),V().then(function(O){var Y=O instanceof Error,te=!Y&&Object.keys(O).length===0;if(te){var q;try{if(q=we(),q===void 0)return}catch(ae){throw ae}return Promise.resolve(q).then(function(ae){return y.current&&E({type:"SUBMIT_SUCCESS"}),ae}).catch(function(ae){if(y.current)throw E({type:"SUBMIT_FAILURE"}),ae})}else if(y.current&&(E({type:"SUBMIT_FAILURE"}),Y))throw O})}),De=Er(function(O){if(O&&O.preventDefault&&zt(O.preventDefault)&&O.preventDefault(),O&&O.stopPropagation&&zt(O.stopPropagation)&&O.stopPropagation(),0)var Y;xe().catch(function(te){console.warn("Warning: An unhandled error was caught from submitForm()",te)})}),Pe={resetForm:N,validateForm:V,validateField:H,setErrors:G,setFieldError:de,setFieldTouched:_,setFieldValue:pe,setStatus:oe,setSubmitting:me,setTouched:X,setValues:re,setFormikState:se,submitForm:xe},we=Er(function(){return p(S.values,Pe)}),wt=Er(function(O){O&&O.preventDefault&&zt(O.preventDefault)&&O.preventDefault(),O&&O.stopPropagation&&zt(O.stopPropagation)&&O.stopPropagation(),N()}),St=it(function(O){return{value:yt(S.values,O),error:yt(S.errors,O),touched:!!yt(S.touched,O),initialValue:yt(g.current,O),initialTouched:!!yt(m.current,O),initialError:yt(v.current,O)}},[S.errors,S.touched,S.values]),We=it(function(O){return{setValue:function(te,q){return pe(O,te,q)},setTouched:function(te,q){return _(O,te,q)},setError:function(te){return de(O,te)}}},[pe,_,de]),sr=it(function(O){var Y=Ll(O),te=Y?O.name:O,q=yt(S.values,te),ae={name:te,value:q,onChange:A,onBlur:W};if(Y){var Se=O.type,Te=O.value,Dt=O.as,no=O.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):Dt==="select"&&no&&(ae.value=ae.value||[],ae.multiple=!0)}return ae},[W,A,S.values]),Wt=ww(function(){return!(0,jn.default)(g.current,S.values)},[g.current,S.values]),Rt=ww(function(){return typeof l<"u"?Wt?S.errors&&Object.keys(S.errors).length===0:l!==!1&&zt(l)?l(h):l:S.errors&&Object.keys(S.errors).length===0},[l,Wt,S.errors,h]),lr=Fe({},S,{initialValues:g.current,initialErrors:v.current,initialTouched:m.current,initialStatus:b.current,handleBlur:W,handleChange:A,handleReset:wt,handleSubmit:De,resetForm:N,setErrors:G,setFormikState:se,setFieldTouched:_,setFieldValue:pe,setFieldError:de,setStatus:oe,setSubmitting:me,setTouched:X,setValues:re,submitForm:xe,validateForm:V,validateField:H,isValid:Rt,dirty:Wt,unregisterField:Q,registerField:Z,getFieldProps:sr,getFieldMeta:St,getFieldHelpers:We,validateOnBlur:o,validateOnChange:r,validateOnMount:s});return lr}function Aw(e){var t=uW(e),r=e.component,n=e.children,o=e.render,a=e.innerRef;return eW(a,function(){return t}),Fo(aW,{value:t},r?Fo(r,t):o?o(t):n?zt(n)?n(t):Pw(n)?null:gh.only(n):null)}function cW(e){var t={};if(e.inner){if(e.inner.length===0)return an(t,e.path,e.message);for(var o=e.inner,r=Array.isArray(o),n=0,o=r?o:o[Symbol.iterator]();;){var a;if(r){if(n>=o.length)break;a=o[n++]}else{if(n=o.next(),n.done)break;a=n.value}var s=a;yt(t,s.path)||(t=an(t,s.path,s.message))}}return t}function fW(e,t,r,n){r===void 0&&(r=!1);var o=hh(e);return t[r?"validateSync":"validate"](o,{abortEarly:!1,context:n||o})}function hh(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||J0(o)?hh(o):o!==""?o:void 0}):J0(e[n])?t[n]=hh(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function pW(e,t,r){var n=e.slice();return t.forEach(function(a,s){if(typeof n[s]>"u"){var l=r.clone!==!1,u=l&&r.isMergeableObject(a);n[s]=u?Ff(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[s]=Ff(e[s],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function dW(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function mW(e,t,r){if(typeof e=="boolean")return!!t;var n=[],o=!1,a=-1;if(Array.isArray(e))n=e,a=e.indexOf(r),o=a>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!o?n.concat(r):o?n.slice(0,a).concat(n.slice(a+1)):n}var hW=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?tW:Ro;function Er(e){var t=Ao(e);return hW(function(){t.current=e}),it(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 Rw(e){var t=e.validate,r=e.name,n=e.render,o=e.children,a=e.as,s=e.component,l=e.className,u=yi(e,["validate","name","render","children","as","component","className"]),c=Ci(),p=yi(c,["validate","validationSchema"]),d=p.registerField,h=p.unregisterField;Ro(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var g=p.getFieldProps(Fe({name:r},u)),v=p.getFieldMeta(r),m={field:g,form:p};if(n)return n(Fe({},m,{meta:v}));if(zt(o))return o(Fe({},m,{meta:v}));if(s){if(typeof s=="string"){var b=u.innerRef,y=yi(u,["innerRef"]);return Fo(s,Fe({ref:b},g,y,{className:l}),o)}return Fo(s,Fe({field:g,form:p},u,{className:l}),o)}var x=a||"input";if(typeof x=="string"){var w=u.innerRef,D=yi(u,["innerRef"]);return Fo(x,Fe({ref:w},g,D,{className:l}),o)}return Fo(x,Fe({},g,u,{className:l}),o)}var vh=rW(function(e,t){var r=e.action,n=yi(e,["action"]),o=r??"#",a=Ci(),s=a.handleReset,l=a.handleSubmit;return Fo("form",Fe({onSubmit:l,ref:t,onReset:s,action:o},n))});vh.displayName="Form";var gW=function(t,r,n){var o=bi(t),a=o[r];return o.splice(r,1),o.splice(n,0,a),o},vW=function(t,r,n){var o=bi(t),a=o[r];return o[r]=o[n],o[n]=a,o},mh=function(t,r,n){var o=bi(t);return o.splice(r,0,n),o},yW=function(t,r,n){var o=bi(t);return o[r]=n,o},bi=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[]},Ew=function(t,r){var n=typeof t=="function"?t:r;return function(o){if(Array.isArray(o)||Ll(o)){var a=bi(o);return n(a)}return o}},bW=(function(e){iW(t,e);function t(n){var o;return o=e.call(this,n)||this,o.updateArrayField=function(a,s,l){var u=o.props,c=u.name,p=u.formik.setFormikState;p(function(d){var h=Ew(l,a),g=Ew(s,a),v=an(d.values,c,a(yt(d.values,c))),m=l?h(yt(d.errors,c)):void 0,b=s?g(yt(d.touched,c)):void 0;return Dw(m)&&(m=void 0),Dw(b)&&(b=void 0),Fe({},d,{values:v,errors:l?an(d.errors,c,m):d.errors,touched:s?an(d.touched,c,b):d.touched})})},o.push=function(a){return o.updateArrayField(function(s){return[].concat(bi(s),[Ka(a)])},!1,!1)},o.handlePush=function(a){return function(){return o.push(a)}},o.swap=function(a,s){return o.updateArrayField(function(l){return vW(l,a,s)},!0,!0)},o.handleSwap=function(a,s){return function(){return o.swap(a,s)}},o.move=function(a,s){return o.updateArrayField(function(l){return gW(l,a,s)},!0,!0)},o.handleMove=function(a,s){return function(){return o.move(a,s)}},o.insert=function(a,s){return o.updateArrayField(function(l){return mh(l,a,s)},function(l){return mh(l,a,null)},function(l){return mh(l,a,null)})},o.handleInsert=function(a,s){return function(){return o.insert(a,s)}},o.replace=function(a,s){return o.updateArrayField(function(l){return yW(l,a,s)},!1,!1)},o.handleReplace=function(a,s){return function(){return o.replace(a,s)}},o.unshift=function(a){var s=-1;return o.updateArrayField(function(l){var u=l?[a].concat(l):[a];return s=u.length,u},function(l){return l?[null].concat(l):[null]},function(l){return l?[null].concat(l):[null]}),s},o.handleUnshift=function(a){return function(){return o.unshift(a)}},o.handleRemove=function(a){return function(){return o.remove(a)}},o.handlePop=function(){return function(){return o.pop()}},o.remove=o.remove.bind(Sw(o)),o.pop=o.pop.bind(Sw(o)),o}var r=t.prototype;return r.componentDidUpdate=function(o){this.props.validateOnChange&&this.props.formik.validateOnChange&&!(0,jn.default)(yt(o.formik.values,o.name),yt(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(o){var a;return this.updateArrayField(function(s){var l=s?bi(s):[];return a||(a=l[o]),zt(l.splice)&&l.splice(o,1),zt(l.every)&&l.every(function(u){return u===void 0})?[]:l},!0,!0),a},r.pop=function(){var o;return this.updateArrayField(function(a){var s=a.slice();return o||(o=s&&s.pop&&s.pop()),s},!0,!0),o},r.render=function(){var o={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},a=this.props,s=a.component,l=a.render,u=a.children,c=a.name,p=a.formik,d=yi(p,["validate","validationSchema"]),h=Fe({},o,{form:d,name:c});return s?Fo(s,h):l?l(h):u?typeof u=="function"?u(h):Pw(u)?null:gh.only(u):null},t})(nW);bW.defaultProps={validateOnChange:!0};i();i();import{useState as CW}from"react";var xW=()=>{let[e,t]=CW(!1),r=()=>t(!0),n=()=>t(!0),o=()=>t(!0),l={onFocus:r,onMouseEnter:n,onBlur:()=>t(!1),onMouseLeave:()=>t(!1)};return e||(l.onMouseMove=o),[e,l,t]};i();i();import{useMemo as wW}from"react";var SW=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:e!=null&&e?()=>!0:()=>!1,pp=(e,t,r={},n=[e])=>{let{eventName:o="keydown",eventTarget:a,eventOptions:s}=r,l=wW(()=>{let u=SW(e);return c=>{if(!(["INPUT","TEXTAREA","SELECT"].includes(document.activeElement?.nodeName??"")||document.activeElement?.isContentEditable)&&u(c))return t(c)}},n);U0(o,l,a,s)};i();i();import{useState as DW}from"react";var yh=e=>{let[t,r]=DW([!1,null]);return pp(e,n=>r([!0,n]),{eventName:"keydown"},[t]),pp(e,n=>r([!1,n]),{eventName:"keyup"},[t]),t};i();i();i();i();import{useEffect as EW,useRef as PW}from"react";var bh=(e,t)=>{let r=PW(!0);EW(()=>r.current?(r.current=!1,()=>{}):e(),t)};var Ch=(e,t=void 0,r=void 0)=>{let[n,o]=yh(e);bh(()=>(!n&&r&&o!==null?r(o):n&&t&&o!==null&&t(o),()=>{}),[n])};i();i();import{useState as TW}from"react";var AW=(e,t,r=window.localStorage)=>{let[n,o]=TW(()=>{try{let l=r.getItem(e);return l!==null&&l?JSON.parse(l):t}catch(l){return console.log(l),t}});return[n,l=>{try{let u=l instanceof Function?l(n):l;o(u),r.setItem(e,JSON.stringify(u))}catch(u){console.error(u)}},()=>{r.removeItem(e),o(void 0)}]};i();i();var $l=e=>t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})};i();i();import{useEffect as RW}from"react";var zl=(e,t)=>{RW(()=>{let r=n=>{!e.current||e.current.contains(n.target)||t(n)};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t])};i();i();import{useLayoutEffect as FW}from"react";var xh=e=>{FW(()=>{if(e){let t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}}return()=>{}},[e])};i();i();import{useEffect as BW,useRef as OW}from"react";var Gl=e=>{let t=OW();return BW(()=>{t.current=e}),t.current};i();i();import yp from"styled-components";i();i();var Vw=kr(mp());import{useEffect as xi,useRef as Ow,useState as Mw,useCallback as Iw}from"react";import{createPortal as $W}from"react-dom";import{createGlobalStyle as zW}from"styled-components";i();i();import{Children as NW}from"react";import{jsx as Bw}from"react/jsx-runtime";var LW=100,Hl=({children:e})=>{let t=NW.map(e,r=>r)?.filter(Boolean);return Bw(Cl,{children:F(t)?t.map(r=>Bw(Al.div,{animate:{opacity:1},exit:{opacity:0},initial:{opacity:0},style:{willChange:"auto"},transition:{duration:LW/1e3},children:r},r.key)):null})};import{Fragment as jW,jsx as jl,jsxs as WW}from"react/jsx-runtime";var wh="is-scroll-locked",GW=zW`
731
731
  .${wh} {
732
732
  overflow: hidden;
733
733
  }
734
- `,Nw=(e=document)=>{let t=F(e)?e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'):[];return Array.from(t).filter(r=>window.getComputedStyle(r).getPropertyValue("display")!=="none")},HW=(e,t)=>{let r=Nw(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())},kw=({className:e,initialShownState:t=!1,isDismissible:r=!0,onBeforeHide:n,onHide:o,onShow:a,render:s,toggle:l})=>{let{attemptShowModal:u,attemptHideModal:c,removeModalFromQueue:p}=G0(),[d,h]=Mw(!1),[g,v]=Mw(t),m=Gl(d),b=()=>v(!1),y=Iw(()=>v(!0),[]),x=Ow(),w=document.createElement("div");w.classList.add("Modal"),ee(e)&&w.classList.add(e);let D=Ow(w),T=Iw(()=>{if(ee(n)){let{shouldShowMessage:S,message:E}=Object(n());if(S&&!window.confirm(E))return}b(),o&&o()},[n,o]);return xi(()=>{let S=E=>{E.key==="Escape"&&r&&T()};return d&&(document.addEventListener("keyup",S),document.querySelector("body")?.classList.add(wh)),()=>{document.removeEventListener("keyup",S),document.querySelector("body")?.classList.remove(wh)}},[d,T,r]),xi(()=>{v(t)},[v,t]),xi(()=>{let S=E=>{E.key==="Tab"&&HW(D,E)};if(d){let E=Nw(D.current);if(!E.find(R=>R===document.activeElement)){let R=E[0];R&&R.focus()}document.addEventListener("keydown",S),a&&a()}return()=>{document.removeEventListener("keydown",S)}},[d,a]),xi(()=>{!d&&F(m)&&m&&x.current&&x.current.focus()},[d,m]),xi(()=>{let S=D.current;return document.body.appendChild(S),()=>S.remove()},[]),xi(()=>()=>{dt(p)||p(h)},[p]),xi(()=>{if(g&&ee(u))u(h);else{if(dt(c))return;c(h)}},[u,c,g]),!u||!c||!p?null:WW(jW,{children:[jl(GW,{}),ee(l)&&l(y,x),$W(jl(Hl,{children:d&&ee(s)?s(T):void 0}),D.current)]})},Xa=e=>{let t=G0();return(0,Vw.default)(t,{})?jl(Tf,{children:jl(kw,{...e})}):jl(kw,{...e})};Xa.displayName="ModalBase_VHS";i();i();import _W from"styled-components";import{jsx as qW}from"react/jsx-runtime";var UW=e=>{if(e==="center")return"center";if(e==="left")return"flex-start";if(e==="right")return"flex-end"},KW=_W.div`
734
+ `,Nw=(e=document)=>{let t=F(e)?e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'):[];return Array.from(t).filter(r=>window.getComputedStyle(r).getPropertyValue("display")!=="none")},HW=(e,t)=>{let r=Nw(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())},kw=({className:e,initialShownState:t=!1,isDismissible:r=!0,onBeforeHide:n,onHide:o,onShow:a,render:s,toggle:l})=>{let{attemptShowModal:u,attemptHideModal:c,removeModalFromQueue:p}=G0(),[d,h]=Mw(!1),[g,v]=Mw(t),m=Gl(d),b=()=>v(!1),y=Iw(()=>v(!0),[]),x=Ow(),w=document.createElement("div");w.classList.add("Modal"),ee(e)&&w.classList.add(e);let D=Ow(w),P=Iw(()=>{if(ee(n)){let{shouldShowMessage:S,message:E}=Object(n());if(S&&!window.confirm(E))return}b(),o&&o()},[n,o]);return xi(()=>{let S=E=>{E.key==="Escape"&&r&&P()};return d&&(document.addEventListener("keyup",S),document.querySelector("body")?.classList.add(wh)),()=>{document.removeEventListener("keyup",S),document.querySelector("body")?.classList.remove(wh)}},[d,P,r]),xi(()=>{v(t)},[v,t]),xi(()=>{let S=E=>{E.key==="Tab"&&HW(D,E)};if(d){let E=Nw(D.current);if(!E.find(R=>R===document.activeElement)){let R=E[0];R&&R.focus()}document.addEventListener("keydown",S),a&&a()}return()=>{document.removeEventListener("keydown",S)}},[d,a]),xi(()=>{!d&&F(m)&&m&&x.current&&x.current.focus()},[d,m]),xi(()=>{let S=D.current;return document.body.appendChild(S),()=>S.remove()},[]),xi(()=>()=>{dt(p)||p(h)},[p]),xi(()=>{if(g&&ee(u))u(h);else{if(dt(c))return;c(h)}},[u,c,g]),!u||!c||!p?null:WW(jW,{children:[jl(GW,{}),ee(l)&&l(y,x),$W(jl(Hl,{children:d&&ee(s)?s(P):void 0}),D.current)]})},Xa=e=>{let t=G0();return(0,Vw.default)(t,{})?jl(Pf,{children:jl(kw,{...e})}):jl(kw,{...e})};Xa.displayName="ModalBase_VHS";i();i();import _W from"styled-components";import{jsx as qW}from"react/jsx-runtime";var UW=e=>{if(e==="center")return"center";if(e==="left")return"flex-start";if(e==="right")return"flex-end"},KW=_W.div`
735
735
  display: flex;
736
736
 
737
737
  /* this helps ensure that primary buttons appear at the top of the column */
@@ -754,7 +754,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
754
754
  width: auto;
755
755
  }
756
756
  }
757
- `,Bo=({children:e,align:t="left",fullWidth:r=!1,...n})=>le(e)?null:qW(KW,{$align:t,$fullWidth:r,...n,children:e});Bo.displayName="ButtonGroup_VHS";i();i();import{forwardRef as QW}from"react";import e_,{css as Tt}from"styled-components";i();i();import XW,{css as Sh}from"styled-components";import{jsx as ZW}from"react/jsx-runtime";var Tr=Sh`
757
+ `,Bo=({children:e,align:t="left",fullWidth:r=!1,...n})=>le(e)?null:qW(KW,{$align:t,$fullWidth:r,...n,children:e});Bo.displayName="ButtonGroup_VHS";i();i();import{forwardRef as QW}from"react";import e_,{css as Pt}from"styled-components";i();i();import XW,{css as Sh}from"styled-components";import{jsx as ZW}from"react/jsx-runtime";var Pr=Sh`
758
758
  overflow: hidden;
759
759
  text-overflow: ellipsis;
760
760
  white-space: nowrap;
@@ -779,54 +779,54 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
779
779
  `,YW=Sh`
780
780
  min-width: 0;
781
781
  `,JW=XW.div`
782
- ${Tr};
782
+ ${Pr};
783
783
  ${({lines:e})=>{if(F(e))return Sh`
784
784
  -webkit-box-orient: vertical;
785
785
  -webkit-line-clamp: ${e};
786
786
  display: -webkit-box;
787
787
  white-space: initial;
788
788
  `}}
789
- `,Lw=({children:e,lines:t,...r})=>ZW(JW,{lines:t,...r,children:e});Lw.displayName="Ellipsis_VHS";import{jsx as m_}from"react/jsx-runtime";var t_={left:"left",right:"right",center:"center",justify:"justify"};var r_=Tt`
789
+ `,Lw=({children:e,lines:t,...r})=>ZW(JW,{lines:t,...r,children:e});Lw.displayName="Ellipsis_VHS";import{jsx as m_}from"react/jsx-runtime";var t_={left:"left",right:"right",center:"center",justify:"justify"};var r_=Pt`
790
790
  font-family: ${({theme:e})=>e.headline.family};
791
791
  font-size: 24px;
792
792
  font-weight: ${({theme:e})=>e.headline.headline1.weight};
793
793
  line-height: 1.25;
794
- `,n_=Tt`
794
+ `,n_=Pt`
795
795
  font-family: ${({theme:e})=>e.headline.family};
796
796
  font-size: 20px;
797
797
  font-weight: ${({theme:e})=>e.headline.headline2.weight};
798
798
  line-height: 1.25;
799
- `,o_=Tt`
799
+ `,o_=Pt`
800
800
  font-family: ${({theme:e})=>e.headline.family};
801
801
  font-size: 16px;
802
802
  font-weight: ${({theme:e})=>e.headline.headline3.weight};
803
803
  line-height: 1.25;
804
- `,i_=Tt`
804
+ `,i_=Pt`
805
805
  font-size: 12px;
806
806
  font-weight: ${({theme:e})=>e.font.weight.bold};
807
807
  line-height: 1.25;
808
808
  text-transform: uppercase;
809
- `,a_=Tt`
809
+ `,a_=Pt`
810
810
  font-size: 16px;
811
811
  font-weight: ${({theme:e})=>e.font.weight.regular};
812
812
  line-height: 1.5;
813
- `,s_=Tt`
813
+ `,s_=Pt`
814
814
  font-size: 14px;
815
815
  font-weight: ${({theme:e})=>e.font.weight.regular};
816
816
  line-height: 1.5;
817
- `,l_=Tt`
817
+ `,l_=Pt`
818
818
  font-size: 12px;
819
819
  font-weight: ${({theme:e})=>e.font.weight.regular};
820
820
  line-height: 1.5;
821
- `,u_=Tt`
821
+ `,u_=Pt`
822
822
  font-size: 16px;
823
823
  font-weight: ${({theme:e})=>e.font.weight.medium};
824
824
  line-height: 1.5;
825
- `,c_=Tt`
825
+ `,c_=Pt`
826
826
  font-size: 14px;
827
827
  font-weight: ${({theme:e})=>e.font.weight.medium};
828
828
  line-height: 1.5;
829
- `,f_=Tt`
829
+ `,f_=Pt`
830
830
  font-family: ${({theme:e})=>e.font.family.monospace};
831
831
  font-size: 14px;
832
832
  font-weight: ${({theme:e})=>e.font.weight.regular};
@@ -836,26 +836,26 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
836
836
  font-style: normal;
837
837
  margin: 0;
838
838
  ${({$variant:e})=>p_[e]}
839
- ${({$ellipsis:e})=>e&&Tr};
840
- ${({$bold:e})=>e&&Tt`
839
+ ${({$ellipsis:e})=>e&&Pr};
840
+ ${({$bold:e})=>e&&Pt`
841
841
  font-weight: ${({theme:t})=>t.font.weight.bold} !important;
842
842
  `}
843
- ${({$italic:e})=>e&&Tt`
843
+ ${({$italic:e})=>e&&Pt`
844
844
  font-style: italic;
845
845
  `}
846
- ${({$inline:e})=>e&&Tt`
846
+ ${({$inline:e})=>e&&Pt`
847
847
  display: inline-block;
848
848
  `}
849
- ${({$disabled:e})=>e&&Tt`
849
+ ${({$disabled:e})=>e&&Pt`
850
850
  opacity: 0.5;
851
851
  `}
852
- ${({$preventUserSelect:e})=>e&&Tt`
852
+ ${({$preventUserSelect:e})=>e&&Pt`
853
853
  user-select: none;
854
854
  `}
855
- ${({$align:e})=>Tt`
855
+ ${({$align:e})=>Pt`
856
856
  text-align: ${t_[e]};
857
857
  `}
858
- ${({as:e,theme:t})=>e==="p"&&Tt`
858
+ ${({as:e,theme:t})=>e==="p"&&Pt`
859
859
  display: block;
860
860
  margin-bottom: ${t.spacing.space05};
861
861
  `}
@@ -887,7 +887,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
887
887
  &:not(:focus-within) {
888
888
  ${Wl}
889
889
  }
890
- `,hp=({text:e,children:t,focusable:r=!1,...n})=>{let o=F(e)?e:t;return r?$w(w_,{...n,children:o}):$w(x_,{...n,children:o})};hp.displayName="ScreenReaderOnly_VHS";i();i();import{useEffect as B_,useState as O_,useRef as Kw,useMemo as M_}from"react";import I_ from"styled-components";i();i();var Pt=[];for(let e=0;e<256;++e)Pt.push((e+256).toString(16).slice(1));function Gw(e,t=0){return(Pt[e[t+0]]+Pt[e[t+1]]+Pt[e[t+2]]+Pt[e[t+3]]+"-"+Pt[e[t+4]]+Pt[e[t+5]]+"-"+Pt[e[t+6]]+Pt[e[t+7]]+"-"+Pt[e[t+8]]+Pt[e[t+9]]+"-"+Pt[e[t+10]]+Pt[e[t+11]]+Pt[e[t+12]]+Pt[e[t+13]]+Pt[e[t+14]]+Pt[e[t+15]]).toLowerCase()}i();var Dh,S_=new Uint8Array(16);function Eh(){if(!Dh){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Dh=crypto.getRandomValues.bind(crypto)}return Dh(S_)}i();i();var D_=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Th={randomUUID:D_};function E_(e,t,r){if(Th.randomUUID&&!t&&!e)return Th.randomUUID();e=e||{};let n=e.random??e.rng?.()??Eh();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){if(r=r||0,r<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let o=0;o<16;++o)t[r+o]=n[o];return t}return Gw(n)}var _l=E_;i();import jw,{css as gp}from"styled-components";import{jsx as Hw}from"react/jsx-runtime";var wi=8,Ul=jw.div`
890
+ `,hp=({text:e,children:t,focusable:r=!1,...n})=>{let o=F(e)?e:t;return r?$w(w_,{...n,children:o}):$w(x_,{...n,children:o})};hp.displayName="ScreenReaderOnly_VHS";i();i();import{useEffect as B_,useState as O_,useRef as Kw,useMemo as M_}from"react";import I_ from"styled-components";i();i();var Tt=[];for(let e=0;e<256;++e)Tt.push((e+256).toString(16).slice(1));function Gw(e,t=0){return(Tt[e[t+0]]+Tt[e[t+1]]+Tt[e[t+2]]+Tt[e[t+3]]+"-"+Tt[e[t+4]]+Tt[e[t+5]]+"-"+Tt[e[t+6]]+Tt[e[t+7]]+"-"+Tt[e[t+8]]+Tt[e[t+9]]+"-"+Tt[e[t+10]]+Tt[e[t+11]]+Tt[e[t+12]]+Tt[e[t+13]]+Tt[e[t+14]]+Tt[e[t+15]]).toLowerCase()}i();var Dh,S_=new Uint8Array(16);function Eh(){if(!Dh){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Dh=crypto.getRandomValues.bind(crypto)}return Dh(S_)}i();i();var D_=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ph={randomUUID:D_};function E_(e,t,r){if(Ph.randomUUID&&!t&&!e)return Ph.randomUUID();e=e||{};let n=e.random??e.rng?.()??Eh();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){if(r=r||0,r<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let o=0;o<16;++o)t[r+o]=n[o];return t}return Gw(n)}var _l=E_;i();import jw,{css as gp}from"styled-components";import{jsx as Hw}from"react/jsx-runtime";var wi=8,Ul=jw.div`
891
891
  color: ${({$fontColorOverride:e})=>e??"white"};
892
892
  font-size: 12px;
893
893
  font-weight: ${({theme:e})=>e.font.weight.regular};
@@ -909,7 +909,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
909
909
  position: absolute;
910
910
  width: 0;
911
911
  }
912
- `,T_=gp`
912
+ `,P_=gp`
913
913
  left: 50%;
914
914
  top: -10px;
915
915
  transform: translate(-50%, -100%);
@@ -921,7 +921,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
921
921
  top: 100%;
922
922
  }
923
923
  }
924
- `,P_=gp`
924
+ `,T_=gp`
925
925
  bottom: -10px;
926
926
  left: 50%;
927
927
  transform: translate(-50%, 100%);
@@ -976,13 +976,13 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
976
976
  white-space: ${({$shouldWrap:e})=>e?"normal":"nowrap"};
977
977
  }
978
978
 
979
- ${({$direction:e})=>{switch(e){case"top":return T_;case"bottom":return P_;case"left":return A_;case"right":return R_;default:return}}}
979
+ ${({$direction:e})=>{switch(e){case"top":return P_;case"bottom":return T_;case"left":return A_;case"right":return R_;default:return}}}
980
980
  `,Ww=({id:e,active:t,direction:r,children:n,forceState:o,shouldWrap:a,backgroundColorOverride:s,fontColorOverride:l})=>{let u=Oe("grey900");return Hw(F_,{$active:t,$backgroundColor:s??u,$direction:r,$fontColorOverride:l,$forceState:o,$shouldWrap:a,"aria-hidden":!t,"data-testid":"tooltip-content",id:e,children:Hw(Ul,{$fontColorOverride:l,children:n})})};i();i();import{Fragment as _w,jsx as Uw}from"react/jsx-runtime";var vp=({children:e,maxChars:t,terminator:r="...",breakOnWords:n=!1})=>{if(le(e))return null;let o=e.length+r.length>=t;if(!st(e)||t<=0||!o)return Uw(_w,{children:e});let a=e.slice(0,t-r.length);if(n){let s=Math.max(a.lastIndexOf(" "),a.lastIndexOf(`
981
- `));a=a.slice(0,s)}return a=`${a.trim()}${r}`,Uw(_w,{children:a})};vp.displayName="Truncate_VHS";import{Fragment as N_,jsx as Ph,jsxs as L_}from"react/jsx-runtime";var k_=e=>`${e}${_l()}`,V_=I_.div`
981
+ `));a=a.slice(0,s)}return a=`${a.trim()}${r}`,Uw(_w,{children:a})};vp.displayName="Truncate_VHS";import{Fragment as N_,jsx as Th,jsxs as L_}from"react/jsx-runtime";var k_=e=>`${e}${_l()}`,V_=I_.div`
982
982
  display: inline-block;
983
983
  position: relative;
984
984
  width: inherit;
985
- `,Ya=({label:e,direction:t="top",duration:r=2e3,eventType:n="hover",forceState:o=void 0,maxChars:a=null,children:s,id:l=null,shouldWrap:u=!1,backgroundColorOverride:c,fontColorOverride:p,...d})=>{let[h,g]=O_(!1),v=M_(()=>l??k_("ra-tooltip-"),[l]),m=Kw(null),b=Kw(null),y=()=>{b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{g(!1)},r)},x=()=>{g(!0),r&&(clearTimeout(b.current??void 0),y())},w=()=>g(!0),D=()=>g(!1),T=()=>x(),S=()=>g(!1);if(B_(()=>{let B=k=>{if(h){if(m.current===null||m.current.contains(k.target))return;g(!1)}};return r||document.addEventListener("mousedown",B,!1),()=>{b.current&&clearTimeout(b.current),document.removeEventListener("mousedown",B,!1)}},[h,b,r]),st(e)&&!e.length)return Ph(N_,{children:s});let E=e;return a!==null&&(E=Ph(vp,{breakOnWords:!0,maxChars:a,children:e})),L_(V_,{"aria-labelledby":v,role:"tooltip",...(()=>{let B={onFocus:T,onMouseLeave:D,onMouseOver:w,onBlur:S},k={onClick:x,ref:m};return n==="hover"?B:k})(),...d,children:[Ph(Ww,{active:h,backgroundColorOverride:c,direction:t,fontColorOverride:p,forceState:o,id:v,shouldWrap:u,children:E}),s]})};Ya.displayName="Tooltip_VHS";import{Fragment as X_,jsx as Ah,jsxs as Y_}from"react/jsx-runtime";var H_=Kl`
985
+ `,Ya=({label:e,direction:t="top",duration:r=2e3,eventType:n="hover",forceState:o=void 0,maxChars:a=null,children:s,id:l=null,shouldWrap:u=!1,backgroundColorOverride:c,fontColorOverride:p,...d})=>{let[h,g]=O_(!1),v=M_(()=>l??k_("ra-tooltip-"),[l]),m=Kw(null),b=Kw(null),y=()=>{b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{g(!1)},r)},x=()=>{g(!0),r&&(clearTimeout(b.current??void 0),y())},w=()=>g(!0),D=()=>g(!1),P=()=>x(),S=()=>g(!1);if(B_(()=>{let B=k=>{if(h){if(m.current===null||m.current.contains(k.target))return;g(!1)}};return r||document.addEventListener("mousedown",B,!1),()=>{b.current&&clearTimeout(b.current),document.removeEventListener("mousedown",B,!1)}},[h,b,r]),st(e)&&!e.length)return Th(N_,{children:s});let E=e;return a!==null&&(E=Th(vp,{breakOnWords:!0,maxChars:a,children:e})),L_(V_,{"aria-labelledby":v,role:"tooltip",...(()=>{let B={onFocus:P,onMouseLeave:D,onMouseOver:w,onBlur:S},k={onClick:x,ref:m};return n==="hover"?B:k})(),...d,children:[Th(Ww,{active:h,backgroundColorOverride:c,direction:t,fontColorOverride:p,forceState:o,id:v,shouldWrap:u,children:E}),s]})};Ya.displayName="Tooltip_VHS";import{Fragment as X_,jsx as Ah,jsxs as Y_}from"react/jsx-runtime";var H_=Kl`
986
986
  max-height: 16px;
987
987
  max-width: 16px;
988
988
  min-height: 16px;
@@ -1131,7 +1131,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1131
1131
  height: ${Yw}px;
1132
1132
  width: ${Yw}px;
1133
1133
  }
1134
- `,Zw=({alignHorizontal:e="center",alignVertical:t="center",buttons:r,children:n,className:o,elevated:a=!0,fullHeight:s=!1,closeIconColorOverride:l=void 0,illustration:u=null,illustrationBackgroundColor:c="brandBlue",initialShownState:p=!1,isDismissible:d=!0,onBeforeHide:h,onHide:g,onShow:v,render:m,title:b,toggle:y,width:x=Z_,...w})=>Wn(Xa,{className:o,initialShownState:p,isDismissible:d,onBeforeHide:h,onHide:g,onShow:v,render:D=>Wn(sn,{alignHorizontal:e,alignVertical:t,elevated:a,onClick:T=>{d&&(T.stopPropagation(),D())},children:Rh(Q_,{$fullHeight:s,"aria-labelledby":"dialogTitle","data-testid":"action-modal-dialogue",onClick:T=>T.stopPropagation(),role:"dialog",...w,children:[d?Wn(Ja,{closeIconColorOverride:l,onClick:D}):null,F(u)?Wn(rU,{illustrationBackgroundColor:c,children:typeof u=="string"?Wn("img",{alt:"",src:u}):u}):null,Rh(eU,{width:x,children:[Rh(tU,{children:[Wn(Jw,{children:b?Wn(hr,{id:"dialogTitle",renderAs:"h2",style:{marginBottom:"16px"},variant:"headline1",children:b}):null}),Wn(Jw,{children:m===void 0?n:m(D)})]}),Wn(Bo,{align:"right",style:{flexGrow:"0",marginTop:"24px"},children:typeof r=="function"?r(D):r})]})]})}),toggle:y});Zw.displayName="ActionModal_VHS";i();i();import{useMemo as aU,useState as sU,useEffect as lU}from"react";import Bh from"styled-components";i();var eS={blue:["blue600","blue700","blue800"],brandBlue:["brandBlue600","brandBlue700","brandBlue800"],green:["green600","green700","green800"],pink:["pink600","pink700","pink800"],purple:["purple600","purple700","purple800"],red:["red600","red700","red800"],yellow:["yellow700","yellow800","yellow900"]},Qw=Object.keys(eS),nU=31,oU=e=>Array.from(e).reduce((t,r)=>Math.imul(nU,t)+r.charCodeAt(0)|0,0),tS=({seed:e,themeColors:t})=>{let r=Math.abs(oU(e))%Qw.length,n=Qw[r];return eS[n].map(o=>t[o]).filter(o=>o!==void 0)};i();var iU=e=>new RegExp("<a?:.+?:\\d{18}>|\\p{Extended_Pictographic}","gu").test(e),rS=e=>le(e)||z1(e)||st(e)&&iU(e)||typeof e!="string"?"U":e.substring(0,1).toUpperCase();import{jsx as Fh}from"react/jsx-runtime";var uU=Bh.img`
1134
+ `,Zw=({alignHorizontal:e="center",alignVertical:t="center",buttons:r,children:n,className:o,elevated:a=!0,fullHeight:s=!1,closeIconColorOverride:l=void 0,illustration:u=null,illustrationBackgroundColor:c="brandBlue",initialShownState:p=!1,isDismissible:d=!0,onBeforeHide:h,onHide:g,onShow:v,render:m,title:b,toggle:y,width:x=Z_,...w})=>Wn(Xa,{className:o,initialShownState:p,isDismissible:d,onBeforeHide:h,onHide:g,onShow:v,render:D=>Wn(sn,{alignHorizontal:e,alignVertical:t,elevated:a,onClick:P=>{d&&(P.stopPropagation(),D())},children:Rh(Q_,{$fullHeight:s,"aria-labelledby":"dialogTitle","data-testid":"action-modal-dialogue",onClick:P=>P.stopPropagation(),role:"dialog",...w,children:[d?Wn(Ja,{closeIconColorOverride:l,onClick:D}):null,F(u)?Wn(rU,{illustrationBackgroundColor:c,children:typeof u=="string"?Wn("img",{alt:"",src:u}):u}):null,Rh(eU,{width:x,children:[Rh(tU,{children:[Wn(Jw,{children:b?Wn(hr,{id:"dialogTitle",renderAs:"h2",style:{marginBottom:"16px"},variant:"headline1",children:b}):null}),Wn(Jw,{children:m===void 0?n:m(D)})]}),Wn(Bo,{align:"right",style:{flexGrow:"0",marginTop:"24px"},children:typeof r=="function"?r(D):r})]})]})}),toggle:y});Zw.displayName="ActionModal_VHS";i();i();import{useMemo as aU,useState as sU,useEffect as lU}from"react";import Bh from"styled-components";i();var eS={blue:["blue600","blue700","blue800"],brandBlue:["brandBlue600","brandBlue700","brandBlue800"],green:["green600","green700","green800"],pink:["pink600","pink700","pink800"],purple:["purple600","purple700","purple800"],red:["red600","red700","red800"],yellow:["yellow700","yellow800","yellow900"]},Qw=Object.keys(eS),nU=31,oU=e=>Array.from(e).reduce((t,r)=>Math.imul(nU,t)+r.charCodeAt(0)|0,0),tS=({seed:e,themeColors:t})=>{let r=Math.abs(oU(e))%Qw.length,n=Qw[r];return eS[n].map(o=>t[o]).filter(o=>o!==void 0)};i();var iU=e=>new RegExp("<a?:.+?:\\d{18}>|\\p{Extended_Pictographic}","gu").test(e),rS=e=>le(e)||z1(e)||st(e)&&iU(e)||typeof e!="string"?"U":e.substring(0,1).toUpperCase();import{jsx as Fh}from"react/jsx-runtime";var uU=Bh.img`
1135
1135
  align-items: center;
1136
1136
  background-color: white;
1137
1137
  border-radius: 50%;
@@ -1230,7 +1230,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1230
1230
  margin-top: 0;
1231
1231
  }
1232
1232
  }
1233
- `,EU=e=>{switch(e){case"center":return"center";case"top":case void 0:default:return"flex-start"}},TU=Oh.div`
1233
+ `,EU=e=>{switch(e){case"center":return"center";case"top":case void 0:default:return"flex-start"}},PU=Oh.div`
1234
1234
  align-items: ${({$verticalAlign:e})=>EU(e)};
1235
1235
  display: flex;
1236
1236
  ${DU}
@@ -1238,7 +1238,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1238
1238
  ${Ae.smAndUp} {
1239
1239
  margin-left: ${({theme:e})=>e.spacing.space05};
1240
1240
  }
1241
- `,fS=({verticalAlign:e,children:t})=>Mh(TU,{$verticalAlign:e,children:t});import{jsx as pS,jsxs as FU}from"react/jsx-runtime";var PU=Ih.div`
1241
+ `,fS=({verticalAlign:e,children:t})=>Mh(PU,{$verticalAlign:e,children:t});import{jsx as pS,jsxs as FU}from"react/jsx-runtime";var TU=Ih.div`
1242
1242
  background: ${({theme:e,backgroundColor:t})=>t??e.color.grey200};
1243
1243
  border-radius: 8px;
1244
1244
  display: flex;
@@ -1258,7 +1258,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1258
1258
  ${Ae.smAndUp} {
1259
1259
  flex-direction: row;
1260
1260
  }
1261
- `,ql=({backgroundColor:e,icon:t,children:r,...n})=>FU(PU,{backgroundColor:e,...n,children:[F(t)?pS(AU,{"data-testid":"banner-icon",children:t}):null,pS(RU,{children:r})]});ql.Body=uS;ql.RightGutter=fS;ql.Title=cS;ql.displayName="Banner_VHS";i();i();import{forwardRef as BU}from"react";import OU from"styled-components";import{jsx as GU}from"react/jsx-runtime";var MU={around:"space-around",between:"space-between",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},IU={baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},kU={around:"space-around",between:"space-between",center:"center",end:"flex-end",evenly:"space-evenly",start:"flex-start"},VU={auto:"auto",baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},NU=e=>{if(e==="horizontal")return"width: 100%;";if(e==="vertical")return"height: 100%;";if(e)return`
1261
+ `,ql=({backgroundColor:e,icon:t,children:r,...n})=>FU(TU,{backgroundColor:e,...n,children:[F(t)?pS(AU,{"data-testid":"banner-icon",children:t}):null,pS(RU,{children:r})]});ql.Body=uS;ql.RightGutter=fS;ql.Title=cS;ql.displayName="Banner_VHS";i();i();import{forwardRef as BU}from"react";import OU from"styled-components";import{jsx as GU}from"react/jsx-runtime";var MU={around:"space-around",between:"space-between",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},IU={baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},kU={around:"space-around",between:"space-between",center:"center",end:"flex-end",evenly:"space-evenly",start:"flex-start"},VU={auto:"auto",baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},NU=e=>{if(e==="horizontal")return"width: 100%;";if(e==="vertical")return"height: 100%;";if(e)return`
1262
1262
  width: 100%;
1263
1263
  height: 100%;
1264
1264
  `},LU=e=>{if(e==="horizontal")return"width: 100vw;";if(e==="vertical")return"height: 100vh;";if(e)return`
@@ -1342,7 +1342,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1342
1342
  ${Cp}
1343
1343
  `,YU=xS.a`
1344
1344
  ${CS}
1345
- `,JU=(e,t)=>{let r=Object.keys(t);if(!r.length)return e;let n=new URL(e);return r.forEach(o=>{n.searchParams.set(o,t[o])}),n.toString()},ZU=(e,t,r,n)=>{if(n)return null;let o=e;return t==="phone"&&(o=`tel:${e}`),t==="email"&&(o=`mailto:${e}`),r!==void 0&&(o=JU(o,r)),o},QU=({RenderedLink:e,children:t,...r})=>kh(e,{...r,children:t}),xp=qU(({href:e,beforeAction:t,children:r,disabled:n=!1,forceState:o,nested:a=!1,params:s,type:l="default",unstyled:u=!1,variant:c="primary",underlineOnHover:p=!1,...d},h)=>{let g=ZU(e,l,s,n),v=l==="external"?{target:"_blank",rel:"noopener noreferrer"}:null,m=async(w,D=null)=>{if(n)w.preventDefault();else if(t){w.preventDefault();try{await t()}catch(T){console.error(T)}finally{D!==null?D():window.location.assign(g)}}},b=u?YU:XU,{Link:y=QU}=Bv()||{},x=kh(y,{ref:h,$disabledLink:n,$forceState:o,$underlineOnHover:p,$unstyled:u,$variant:c,href:g,onClick:m,RenderedLink:b,...v,...d,children:r});return a?kh("object",{"data-testid":"link-object",type:"hacky/hack",children:x}):x});xp.displayName="Link_VHS";import{jsx as wS}from"react/jsx-runtime";var rK=tK(xp)`
1345
+ `,JU=(e,t)=>{let r=Object.keys(t);if(!r.length)return e;let n=new URL(e);return r.forEach(o=>{n.searchParams.set(o,t[o])}),n.toString()},ZU=(e,t,r,n)=>{if(n)return null;let o=e;return t==="phone"&&(o=`tel:${e}`),t==="email"&&(o=`mailto:${e}`),r!==void 0&&(o=JU(o,r)),o},QU=({RenderedLink:e,children:t,...r})=>kh(e,{...r,children:t}),xp=qU(({href:e,beforeAction:t,children:r,disabled:n=!1,forceState:o,nested:a=!1,params:s,type:l="default",unstyled:u=!1,variant:c="primary",underlineOnHover:p=!1,...d},h)=>{let g=ZU(e,l,s,n),v=l==="external"?{target:"_blank",rel:"noopener noreferrer"}:null,m=async(w,D=null)=>{if(n)w.preventDefault();else if(t){w.preventDefault();try{await t()}catch(P){console.error(P)}finally{D!==null?D():window.location.assign(g)}}},b=u?YU:XU,{Link:y=QU}=Bv()||{},x=kh(y,{ref:h,$disabledLink:n,$forceState:o,$underlineOnHover:p,$unstyled:u,$variant:c,href:g,onClick:m,RenderedLink:b,...v,...d,children:r});return a?kh("object",{"data-testid":"link-object",type:"hacky/hack",children:x}):x});xp.displayName="Link_VHS";import{jsx as wS}from"react/jsx-runtime";var rK=tK(xp)`
1346
1346
  ${M0};
1347
1347
 
1348
1348
  /* Links are disabled by removing their href */
@@ -1389,7 +1389,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1389
1389
  cursor: pointer;
1390
1390
  `,ES=Za`
1391
1391
  ${Vh}
1392
- `,Tp=wp.label`
1392
+ `,Pp=wp.label`
1393
1393
  align-items: center;
1394
1394
  border: 1px solid transparent;
1395
1395
  border-radius: 4px;
@@ -1410,19 +1410,19 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1410
1410
  ${({$forceState:e})=>e==="hover"&&Vh};
1411
1411
  ${({$forceState:e,$hasError:t})=>e==="focus"&&t&&DS};
1412
1412
  ${({$forceState:e,$hasError:t})=>e==="hover"&&t&&oK};
1413
- `;import{Fragment as uK,jsx as Nh,jsxs as TS}from"react/jsx-runtime";var Pp=aK(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:a="default",label:s="default",labelDescription:l,name:u,onChange:c,required:p=!1,value:d="false",...h},g)=>{let[v,m]=sK(!1);return TS(Tp,{ref:g,$direction:t,$disabled:r,$forceState:n,$hasError:o,$isFocused:v,"aria-invalid":ee(o)&&o?"true":"false",...h,children:[Nh(Sp,{"aria-checked":e,checked:e,"data-testid":"checkbox-option-wrapper",disabled:r,id:a,name:u,onBlur:()=>m(!1),onChange:c,onFocus:()=>m(!0),required:p,type:"checkbox",value:d}),TS(Dp,{children:[Nh(uK,{children:s}),ve(l)||lK(l)?Nh(Ep,{"data-testid":"checkbox-option-sub-label",children:l}):null]})]})});Pp.displayName="Checkbox_VHS";i();i();import TK from"styled-components";i();i();import SK from"styled-components";i();i();import cK,{css as AS}from"styled-components";import{jsx as mK}from"react/jsx-runtime";var fK=AS`
1413
+ `;import{Fragment as uK,jsx as Nh,jsxs as PS}from"react/jsx-runtime";var Tp=aK(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:a="default",label:s="default",labelDescription:l,name:u,onChange:c,required:p=!1,value:d="false",...h},g)=>{let[v,m]=sK(!1);return PS(Pp,{ref:g,$direction:t,$disabled:r,$forceState:n,$hasError:o,$isFocused:v,"aria-invalid":ee(o)&&o?"true":"false",...h,children:[Nh(Sp,{"aria-checked":e,checked:e,"data-testid":"checkbox-option-wrapper",disabled:r,id:a,name:u,onBlur:()=>m(!1),onChange:c,onFocus:()=>m(!0),required:p,type:"checkbox",value:d}),PS(Dp,{children:[Nh(uK,{children:s}),ve(l)||lK(l)?Nh(Ep,{"data-testid":"checkbox-option-sub-label",children:l}):null]})]})});Tp.displayName="Checkbox_VHS";i();i();import PK from"styled-components";i();i();import SK from"styled-components";i();i();import cK,{css as AS}from"styled-components";import{jsx as mK}from"react/jsx-runtime";var fK=AS`
1414
1414
  &::after {
1415
1415
  color: red;
1416
1416
  content: ' *';
1417
1417
  }
1418
1418
  `,pK=AS`
1419
1419
  color: ${({theme:e})=>e.color.grey500};
1420
- `,PS="8px",dK=cK.label`
1420
+ `,TS="8px",dK=cK.label`
1421
1421
  color: ${({theme:e})=>e.color.grey900};
1422
1422
  display: block;
1423
1423
  font-size: 14px;
1424
1424
  font-weight: ${({theme:e})=>e.font.weight.semiBold};
1425
- margin-bottom: ${PS};
1425
+ margin-bottom: ${TS};
1426
1426
  width: 100%;
1427
1427
 
1428
1428
  /* if label is wrapping an input this ensures it appears beneath the label with a nice margin */
@@ -1430,7 +1430,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1430
1430
  > textarea,
1431
1431
  > select {
1432
1432
  display: block;
1433
- margin-top: ${PS};
1433
+ margin-top: ${TS};
1434
1434
  }
1435
1435
 
1436
1436
  > label {
@@ -1458,11 +1458,11 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1458
1458
  ${({disabled:e})=>e&&CK};
1459
1459
  `,Fp=({children:e,disabled:t=!1,...r})=>wK(xK,{disabled:t,...r,children:e});Fp.displayName="LabelDescription_VHS";import{jsx as Lh,jsxs as EK}from"react/jsx-runtime";var DK=SK.div`
1460
1460
  width: 100%;
1461
- `,Zt=({disabled:e=!1,error:t=null,label:r=null,labelDescription:n=null,labelProps:o={},labelType:a="label",name:s,children:l,labelId:u=null,...c})=>{let p=u??`group-id-${s}`,d=a==="legend"?p:null,h={id:p,htmlFor:`field-${s}`,renderAs:a,disabled:o.disabled??e,screenReaderOnly:o.screenReaderOnly??!1};return EK(DK,{...c,"aria-labelledby":d??void 0,children:[r!==null?Lh(Ap,{...h,children:r}):null,n!==null?Lh(Fp,{disabled:e,children:n}):null,t!==null?Lh(Rp,{"data-testid":`form-field-error-${s}`,children:t}):null,l]})};Zt.displayName="FormFieldWrapper_VHS";import{jsx as $h}from"react/jsx-runtime";var PK=TK.div`
1461
+ `,Zt=({disabled:e=!1,error:t=null,label:r=null,labelDescription:n=null,labelProps:o={},labelType:a="label",name:s,children:l,labelId:u=null,...c})=>{let p=u??`group-id-${s}`,d=a==="legend"?p:null,h={id:p,htmlFor:`field-${s}`,renderAs:a,disabled:o.disabled??e,screenReaderOnly:o.screenReaderOnly??!1};return EK(DK,{...c,"aria-labelledby":d??void 0,children:[r!==null?Lh(Ap,{...h,children:r}):null,n!==null?Lh(Fp,{disabled:e,children:n}):null,t!==null?Lh(Rp,{"data-testid":`form-field-error-${s}`,children:t}):null,l]})};Zt.displayName="FormFieldWrapper_VHS";import{jsx as $h}from"react/jsx-runtime";var TK=PK.div`
1462
1462
  display: flex;
1463
1463
  flex-direction: ${({direction:e})=>e==="row"?"row":"column"};
1464
1464
  gap: ${({direction:e,theme:t})=>e==="row"?t.spacing.space04:t.spacing.space01};
1465
- `,Bp=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:a={},name:s,onChange:l,options:u,value:c=!1,...p})=>$h(Zt,{disabled:t,error:r,label:n,labelDescription:o,labelProps:a,labelType:"legend",name:s,role:"group",...p,children:$h(PK,{direction:e,children:u.map(d=>{let h=Array.isArray(c)?c.includes(d.name):c;return $h(Pp,{checked:h,direction:e,disabled:t,onChange:g=>F(l)?l(g,d.name):void 0,...d},d.name)})})});Bp.displayName="CheckboxGroup_VHS";i();i();import{forwardRef as AK,useCallback as RK}from"react";import FK from"styled-components";import{jsx as OK}from"react/jsx-runtime";var BK=FK.div`
1465
+ `,Bp=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:a={},name:s,onChange:l,options:u,value:c=!1,...p})=>$h(Zt,{disabled:t,error:r,label:n,labelDescription:o,labelProps:a,labelType:"legend",name:s,role:"group",...p,children:$h(TK,{direction:e,children:u.map(d=>{let h=Array.isArray(c)?c.includes(d.name):c;return $h(Tp,{checked:h,direction:e,disabled:t,onChange:g=>F(l)?l(g,d.name):void 0,...d},d.name)})})});Bp.displayName="CheckboxGroup_VHS";i();i();import{forwardRef as AK,useCallback as RK}from"react";import FK from"styled-components";import{jsx as OK}from"react/jsx-runtime";var BK=FK.div`
1466
1466
  cursor: pointer;
1467
1467
  `,RS=AK(({renderAs:e="div",className:t,onClick:r,targetRef:n,...o},a)=>{let s=RK(l=>{let u=n.current;u!==null&&(l.defaultPrevented||(u.contains(l.target)?r&&r(l):(l.stopPropagation(),l.preventDefault(),u.focus(),u.click())))},[r,n]);return OK(BK,{ref:a,as:e,role:"presentation",...o,onClick:s})});RS.displayName="ClickArea_VHS";i();i();import MK from"styled-components";i();import{jsx as FS}from"react/jsx-runtime";var Op=()=>FS("svg",{height:"22",preserveAspectRatio:"xMidYMid meet",style:{display:"block"},viewBox:"0 0 20 20",width:"22",children:FS("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 BS}from"react/jsx-runtime";var IK=MK.button`
1468
1468
  align-items: center;
@@ -1574,7 +1574,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1574
1574
  flex-shrink: 0;
1575
1575
  min-width: 0;
1576
1576
  }
1577
- `,KK=({children:e,showActionsOnHover:t})=>le(e)?null:Mo(UK,{$showActionsOnHover:t,onClick:r=>{r.stopPropagation()},children:e}),GS=({actions:e,backgroundColor:t,caretDirection:r={open:$S,closed:zS},children:n=null,contentPadding:o=null,hideCaret:a=!1,id:s,isOpen:l,label:u,layout:c="leading",onOpenChange:p,showActionsOnHover:d=!0,showTransition:h=!1,variant:g,...v})=>{let[m,b]=zh(l??!1),[y,x]=zh({width:void 0,height:void 0}),[w,D]=zh(!1),[T,S]=W0(),E=r.open,R=r.closed,B=ve(s)?s:`CollapsibleGroup_${_l()}`;MS(()=>{x({height:S.height,width:S.width})},[S]),MS(()=>{l!==void 0&&b(l)},[l]),kK(()=>{T.current&&x({height:T.current.offsetHeight,width:T.current.offsetWidth})},[T]);let k=()=>{if(w){D(!1);return}let I=!m;b(I),p&&p(I)},j=Mo(_K,{$layout:c,"aria-expanded":m,"aria-labelledby":B,noStyle:!0,onClick:k,children:Mo(GK,{$direction:m?E:R,$isOpen:m,$layout:c,$variant:g,children:Mo(Ee,{type:"caret-down"})})});return VS(zK,{...v,children:[VS(Mp,{$backgroundColor:t,$open:m,$variant:g,onClick:k,children:[Mo(jK,{$open:m,$styleVariant:g,id:B,renderAs:"div",variant:"subtitle1",children:typeof u=="function"?u({open:m,caret:j}):u}),!a&&j,Mo(KK,{showActionsOnHover:d,children:e})]}),Mo(WK,{$backgroundColor:t,$contentPadding:o,$height:y.height,$isOpen:m,$maxHeight:y.height,$showTransition:h,$variant:g,"data-testid":"collapsible-group-content",children:Mo("div",{ref:T,style:{width:"100%",display:"inline-block"},children:n})})]})};GS.displayName="CollapsibleGroup_VHS";i();i();import qK from"styled-components";import{jsx as YK}from"react/jsx-runtime";var XK=qK.hr`
1577
+ `,KK=({children:e,showActionsOnHover:t})=>le(e)?null:Mo(UK,{$showActionsOnHover:t,onClick:r=>{r.stopPropagation()},children:e}),GS=({actions:e,backgroundColor:t,caretDirection:r={open:$S,closed:zS},children:n=null,contentPadding:o=null,hideCaret:a=!1,id:s,isOpen:l,label:u,layout:c="leading",onOpenChange:p,showActionsOnHover:d=!0,showTransition:h=!1,variant:g,...v})=>{let[m,b]=zh(l??!1),[y,x]=zh({width:void 0,height:void 0}),[w,D]=zh(!1),[P,S]=W0(),E=r.open,R=r.closed,B=ve(s)?s:`CollapsibleGroup_${_l()}`;MS(()=>{x({height:S.height,width:S.width})},[S]),MS(()=>{l!==void 0&&b(l)},[l]),kK(()=>{P.current&&x({height:P.current.offsetHeight,width:P.current.offsetWidth})},[P]);let k=()=>{if(w){D(!1);return}let I=!m;b(I),p&&p(I)},j=Mo(_K,{$layout:c,"aria-expanded":m,"aria-labelledby":B,noStyle:!0,onClick:k,children:Mo(GK,{$direction:m?E:R,$isOpen:m,$layout:c,$variant:g,children:Mo(Ee,{type:"caret-down"})})});return VS(zK,{...v,children:[VS(Mp,{$backgroundColor:t,$open:m,$variant:g,onClick:k,children:[Mo(jK,{$open:m,$styleVariant:g,id:B,renderAs:"div",variant:"subtitle1",children:typeof u=="function"?u({open:m,caret:j}):u}),!a&&j,Mo(KK,{showActionsOnHover:d,children:e})]}),Mo(WK,{$backgroundColor:t,$contentPadding:o,$height:y.height,$isOpen:m,$maxHeight:y.height,$showTransition:h,$variant:g,"data-testid":"collapsible-group-content",children:Mo("div",{ref:P,style:{width:"100%",display:"inline-block"},children:n})})]})};GS.displayName="CollapsibleGroup_VHS";i();i();import qK from"styled-components";import{jsx as YK}from"react/jsx-runtime";var XK=qK.hr`
1578
1578
  background: none;
1579
1579
  border-bottom: none;
1580
1580
  border-left: none;
@@ -1626,7 +1626,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1626
1626
  `,lq=Yl(jS)`
1627
1627
  cursor: pointer;
1628
1628
  text-decoration: underline;
1629
- `,uq=e=>{let t="error";return e>1&&(t+="s"),`${e} ${t} found on page`},cq=e=>{document.getElementById(`fieldset-${e}`)?.scrollIntoView({behavior:"smooth"})},fq=({errors:e={},statusError:t})=>WS(sq,{children:[ve(t)?Xl(jS,{children:t}):null,Object.keys(e).map(r=>Xl("li",{children:Xl(lq,{"data-testid":`form-global-error-${r}`,onClick:n=>{n.preventDefault(),cq(r)},children:e[r]})},r))]}),Vp=oq((e,t)=>{let r=Ci(),{status:n,errors:o}=r,a=Object.keys(o).length;F(n)&&n.length>0&&(a+=1);let s=F(n)&&!n.success||a;return En(s)?WS(iq,{ref:t,children:[Xl(aq,{children:uq(a)}),Xl(fq,{errors:o,statusError:n})]}):null});Vp.displayName="FormGlobalError_VHS";i();i();import{useContext as pq}from"react";var Jl=()=>pq(Ef);i();i();import{useEffect as dq}from"react";i();i();import{useCallback as jh,useEffect as _S,useRef as Wh}from"react";var _h=(e,t=0)=>{let r=Wh(!1),n=Wh(),o=Wh(e),a=jh(()=>r.current,[]),s=jh(()=>{r.current=!1,n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{r.current=!0,o.current()},t)},[t]),l=jh(()=>{r.current=null,n.current&&clearTimeout(n.current)},[]);return _S(()=>{o.current=e},[e]),_S(()=>(s(),l),[t]),[a,l,s]};var Uh=(e,t=0,r=[])=>{let[n,o,a]=_h(e,t);return dq(a,r),[n,o]};import{jsx as qS,jsxs as hq}from"react/jsx-runtime";var KS=(e,t)=>JSON.stringify(e)!==JSON.stringify(t),mq=(e,t)=>{let r={};return Object.keys(e).forEach(n=>{e[n]===null?ee(t)&&ee(t.fields)&&ee(t.fields[n])&&t.fields[n]._type==="boolean"?r[n]=!1:r[n]=void 0:r[n]=e[n]}),r},XS=({children:e,className:t,formId:r,initialValues:n,onSubmit:o,scrollToFormErrorsOnSubmit:a=!0,shareFormContext:s,style:l,submitOnChange:u=!1,validate:c,validateOnBlur:p=!1,validateOnChange:d=!1,validationSchema:h,globalErrorRef:g,showGlobalError:v=!0,innerRef:m})=>{let[b,y]=Np(),[x,w]=Np(),[D,T]=Np(0),S=Jl(),E=(j,I)=>{let V={};Object.keys(j).forEach(N=>{let H=j[N],Z=ee(h)&&ee(h.fields[N])&&h.fields[N]._type==="string";if(H==null){V[N]=null;return}if(typeof H=="number"){V[N]=H;return}H===!1&&(V[N]=!1),Z&&!H&&(V[N]=null),H&&(V[N]=Z?H.trim():H)}),o(V,I)},R=a&&(dt(b)||!b)&&(dt(x)||!x)&&ee(g.current?.scrollIntoView);US(()=>{let j=document.querySelector(`form[data-testid="${r}"]`);if((dt(b)||!b)&&ee(x)&&x&&j?.contains(document.activeElement)&&document.activeElement.blur(),R){let I=D>1?`there are ${D} errors`:"there's an error!";S({variant:"error",message:`Uh oh, ${I}`}),g.current&&g.current.scrollIntoView({behavior:"smooth"})}},[D,g,b,x,R,S,r]);let B=mq(n,h),k=750;return qS(Aw,{enableReinitialize:!0,initialValues:B,innerRef:F(m)?m:()=>{},onSubmit:E,validate:F(c)?c:()=>{},validateOnBlur:p,validateOnChange:d,validationSchema:h,children:j=>{let[I,V]=Np(j.values);if(US(()=>{ee(s)&&s(j),y(j.isSubmitting),w(j.isValid),T(Object.keys(j.errors).length),u&&KS(j.values,I)&&V(j.values)},[j,I]),u){let[,]=Uh(()=>{KS(n,I)&&j.submitForm()},k,[I])}return hq(vh,{className:t,"data-testid":r,noValidate:!0,style:l,children:[v?qS(Vp,{ref:g}):null,e]})}})};XS.displayName="Form_VHS";i();i();i();i();import{jsx as gq}from"react/jsx-runtime";var Lp=({type:e="submit",isSubmitting:t=!1,children:r,disabled:n=!1,...o})=>gq(nt,{disabled:t||n,type:e,...o,children:r});Lp.displayName="FormConnectorButton_VHS";import{jsx as YS}from"react/jsx-runtime";var vq=e=>e.preventDefault(),JS=({buttons:e,align:t="left",...r})=>{let{isSubmitting:n}=Ci();return YS(Bo,{align:t,...r,children:e.map(({name:o,type:a,...s})=>YS(Lp,{isSubmitting:n,type:a,...s,onMouseDown:vq,children:o},o))})};JS.displayName="FormButtons_VHS";i();i();import{forwardRef as kte}from"react";import XP from"styled-components";i();var ZS={checkbox:{component:"FormConnectorCheckboxGroup",inputType:null},custom:{component:"FormConnectorCustomField",inputType:null},email:{component:"FormConnectorInput",inputType:"email"},hidden:{component:"FormConnectorHidden",inputType:"hidden"},multiline:{component:"FormConnectorInput",inputType:null},number:{component:"FormConnectorInput",inputType:"number"},password:{component:"FormConnectorInput",inputType:"password"},phone:{component:"FormConnectorInput",inputType:"tel"},radio:{component:"FormConnectorRadioGroup",inputType:null},search:{component:"FormConnectorInput",inputType:"search"},select:{component:"FormConnectorSelect",inputType:null},text:{component:"FormConnectorInput",inputType:"text"},time:{component:"FormConnectorInput",inputType:"time"},timePosition:{component:"FormConnectorInput",inputType:"text"},url:{component:"FormConnectorInput",inputType:"url"},richTextEditor:{component:"FormConnectorRichTextEditor",inputType:null}};i();i();import{jsx as yq}from"react/jsx-runtime";var $p=({direction:e="column",disabled:t=!1,field:{name:r,value:n},form:{errors:o,setFieldValue:a},label:s,labelDescription:l,labelProps:u={},onChangeCustom:c,options:p=[]})=>{let d=(m,b)=>{a(b,m.target.checked)},h=(m,b)=>{let y=n;if(Cn(y))if(m.target.checked)y.push(b);else{let x=y.indexOf(b);x>-1&&y.splice(x,1)}a(b,y)},g=Array.isArray(n)&&p.length>1?h:d,v=Array.isArray(p)?p:[p];return yq(Bp,{direction:e,disabled:t,error:F(o)?o[r]:void 0,label:s,labelDescription:l,labelProps:u,name:r,onChange:(m,b)=>{g(m,b),c&&c(m.target.checked)},options:v,value:n})};$p.displayName="FormConnectorCheckboxGroup_VHS";i();i();import{jsx as QS}from"react/jsx-runtime";var zp=({customComponent:e,field:t,form:r,label:n="",labelDescription:o,labelProps:a={},...s})=>{let{name:l}=t,{errors:u}=r;return QS(Zt,{error:ee(u)?u[l]:void 0,label:n,labelDescription:o,labelProps:a,name:l,children:QS(e,{field:t,form:r,...s})})};zp.displayName="FormConnectorCustomField_VHS";i();i();i();i();import{forwardRef as $q,useEffect as zq,useRef as Gq}from"react";import Hq from"styled-components";i();import bq,{css as Di}from"styled-components";var eD=Di`
1629
+ `,uq=e=>{let t="error";return e>1&&(t+="s"),`${e} ${t} found on page`},cq=e=>{document.getElementById(`fieldset-${e}`)?.scrollIntoView({behavior:"smooth"})},fq=({errors:e={},statusError:t})=>WS(sq,{children:[ve(t)?Xl(jS,{children:t}):null,Object.keys(e).map(r=>Xl("li",{children:Xl(lq,{"data-testid":`form-global-error-${r}`,onClick:n=>{n.preventDefault(),cq(r)},children:e[r]})},r))]}),Vp=oq((e,t)=>{let r=Ci(),{status:n,errors:o}=r,a=Object.keys(o).length;F(n)&&n.length>0&&(a+=1);let s=F(n)&&!n.success||a;return En(s)?WS(iq,{ref:t,children:[Xl(aq,{children:uq(a)}),Xl(fq,{errors:o,statusError:n})]}):null});Vp.displayName="FormGlobalError_VHS";i();i();import{useContext as pq}from"react";var Jl=()=>pq(Ef);i();i();import{useEffect as dq}from"react";i();i();import{useCallback as jh,useEffect as _S,useRef as Wh}from"react";var _h=(e,t=0)=>{let r=Wh(!1),n=Wh(),o=Wh(e),a=jh(()=>r.current,[]),s=jh(()=>{r.current=!1,n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{r.current=!0,o.current()},t)},[t]),l=jh(()=>{r.current=null,n.current&&clearTimeout(n.current)},[]);return _S(()=>{o.current=e},[e]),_S(()=>(s(),l),[t]),[a,l,s]};var Uh=(e,t=0,r=[])=>{let[n,o,a]=_h(e,t);return dq(a,r),[n,o]};import{jsx as qS,jsxs as hq}from"react/jsx-runtime";var KS=(e,t)=>JSON.stringify(e)!==JSON.stringify(t),mq=(e,t)=>{let r={};return Object.keys(e).forEach(n=>{e[n]===null?ee(t)&&ee(t.fields)&&ee(t.fields[n])&&t.fields[n]._type==="boolean"?r[n]=!1:r[n]=void 0:r[n]=e[n]}),r},XS=({children:e,className:t,formId:r,initialValues:n,onSubmit:o,scrollToFormErrorsOnSubmit:a=!0,shareFormContext:s,style:l,submitOnChange:u=!1,validate:c,validateOnBlur:p=!1,validateOnChange:d=!1,validationSchema:h,globalErrorRef:g,showGlobalError:v=!0,innerRef:m})=>{let[b,y]=Np(),[x,w]=Np(),[D,P]=Np(0),S=Jl(),E=(j,I)=>{let V={};Object.keys(j).forEach(N=>{let H=j[N],Z=ee(h)&&ee(h.fields[N])&&h.fields[N]._type==="string";if(H==null){V[N]=null;return}if(typeof H=="number"){V[N]=H;return}H===!1&&(V[N]=!1),Z&&!H&&(V[N]=null),H&&(V[N]=Z?H.trim():H)}),o(V,I)},R=a&&(dt(b)||!b)&&(dt(x)||!x)&&ee(g.current?.scrollIntoView);US(()=>{let j=document.querySelector(`form[data-testid="${r}"]`);if((dt(b)||!b)&&ee(x)&&x&&j?.contains(document.activeElement)&&document.activeElement.blur(),R){let I=D>1?`there are ${D} errors`:"there's an error!";S({variant:"error",message:`Uh oh, ${I}`}),g.current&&g.current.scrollIntoView({behavior:"smooth"})}},[D,g,b,x,R,S,r]);let B=mq(n,h),k=750;return qS(Aw,{enableReinitialize:!0,initialValues:B,innerRef:F(m)?m:()=>{},onSubmit:E,validate:F(c)?c:()=>{},validateOnBlur:p,validateOnChange:d,validationSchema:h,children:j=>{let[I,V]=Np(j.values);if(US(()=>{ee(s)&&s(j),y(j.isSubmitting),w(j.isValid),P(Object.keys(j.errors).length),u&&KS(j.values,I)&&V(j.values)},[j,I]),u){let[,]=Uh(()=>{KS(n,I)&&j.submitForm()},k,[I])}return hq(vh,{className:t,"data-testid":r,noValidate:!0,style:l,children:[v?qS(Vp,{ref:g}):null,e]})}})};XS.displayName="Form_VHS";i();i();i();i();import{jsx as gq}from"react/jsx-runtime";var Lp=({type:e="submit",isSubmitting:t=!1,children:r,disabled:n=!1,...o})=>gq(nt,{disabled:t||n,type:e,...o,children:r});Lp.displayName="FormConnectorButton_VHS";import{jsx as YS}from"react/jsx-runtime";var vq=e=>e.preventDefault(),JS=({buttons:e,align:t="left",...r})=>{let{isSubmitting:n}=Ci();return YS(Bo,{align:t,...r,children:e.map(({name:o,type:a,...s})=>YS(Lp,{isSubmitting:n,type:a,...s,onMouseDown:vq,children:o},o))})};JS.displayName="FormButtons_VHS";i();i();import{forwardRef as kte}from"react";import XT from"styled-components";i();var ZS={checkbox:{component:"FormConnectorCheckboxGroup",inputType:null},custom:{component:"FormConnectorCustomField",inputType:null},email:{component:"FormConnectorInput",inputType:"email"},hidden:{component:"FormConnectorHidden",inputType:"hidden"},multiline:{component:"FormConnectorInput",inputType:null},number:{component:"FormConnectorInput",inputType:"number"},password:{component:"FormConnectorInput",inputType:"password"},phone:{component:"FormConnectorInput",inputType:"tel"},radio:{component:"FormConnectorRadioGroup",inputType:null},search:{component:"FormConnectorInput",inputType:"search"},select:{component:"FormConnectorSelect",inputType:null},text:{component:"FormConnectorInput",inputType:"text"},time:{component:"FormConnectorInput",inputType:"time"},timePosition:{component:"FormConnectorInput",inputType:"text"},url:{component:"FormConnectorInput",inputType:"url"},richTextEditor:{component:"FormConnectorRichTextEditor",inputType:null}};i();i();import{jsx as yq}from"react/jsx-runtime";var $p=({direction:e="column",disabled:t=!1,field:{name:r,value:n},form:{errors:o,setFieldValue:a},label:s,labelDescription:l,labelProps:u={},onChangeCustom:c,options:p=[]})=>{let d=(m,b)=>{a(b,m.target.checked)},h=(m,b)=>{let y=n;if(Cn(y))if(m.target.checked)y.push(b);else{let x=y.indexOf(b);x>-1&&y.splice(x,1)}a(b,y)},g=Array.isArray(n)&&p.length>1?h:d,v=Array.isArray(p)?p:[p];return yq(Bp,{direction:e,disabled:t,error:F(o)?o[r]:void 0,label:s,labelDescription:l,labelProps:u,name:r,onChange:(m,b)=>{g(m,b),c&&c(m.target.checked)},options:v,value:n})};$p.displayName="FormConnectorCheckboxGroup_VHS";i();i();import{jsx as QS}from"react/jsx-runtime";var zp=({customComponent:e,field:t,form:r,label:n="",labelDescription:o,labelProps:a={},...s})=>{let{name:l}=t,{errors:u}=r;return QS(Zt,{error:ee(u)?u[l]:void 0,label:n,labelDescription:o,labelProps:a,name:l,children:QS(e,{field:t,form:r,...s})})};zp.displayName="FormConnectorCustomField_VHS";i();i();i();i();import{forwardRef as $q,useEffect as zq,useRef as Gq}from"react";import Hq from"styled-components";i();import bq,{css as Di}from"styled-components";var eD=Di`
1630
1630
  border-color: ${({theme:e})=>e.color.brandBlue500};
1631
1631
  outline: none;
1632
1632
  `,Cq=Di`
@@ -1709,13 +1709,13 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1709
1709
  `,Kh=bq.input`
1710
1710
  ${Dq}
1711
1711
  ${({as:e})=>e==="textarea"&&Sq};
1712
- ${({as:e})=>e!=="textarea"&&Tr};
1712
+ ${({as:e})=>e!=="textarea"&&Pr};
1713
1713
  ${({$clickToCopy:e})=>e&&wq};
1714
1714
  ${({disabled:e})=>e&&xq};
1715
1715
  ${({$forceState:e})=>e==="focus"&&eD};
1716
1716
  ${({$hasError:e})=>e&&Cq};
1717
1717
  ${({readOnly:e})=>e&&tD};
1718
- `;i();import{useState as Eq,useEffect as Tq}from"react";import qh,{css as Xh}from"styled-components";import{jsx as Gp,jsxs as Iq}from"react/jsx-runtime";var Pq=Xh`
1718
+ `;i();import{useState as Eq,useEffect as Pq}from"react";import qh,{css as Xh}from"styled-components";import{jsx as Gp,jsxs as Iq}from"react/jsx-runtime";var Tq=Xh`
1719
1719
  input {
1720
1720
  cursor: pointer;
1721
1721
  }
@@ -1727,7 +1727,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1727
1727
  align-items: center;
1728
1728
  display: flex;
1729
1729
  position: relative;
1730
- ${({$disabled:e})=>!e&&Pq}
1730
+ ${({$disabled:e})=>!e&&Tq}
1731
1731
  `,Rq=Xh`
1732
1732
  cursor: not-allowed;
1733
1733
  `,Fq=Xh`
@@ -1750,7 +1750,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1750
1750
  ${({disabled:e})=>e?Rq:Fq}
1751
1751
  `,Oq=qh(Ee)`
1752
1752
  ${({disabled:e})=>e?"cursor: not-allowed;":"cursor: pointer;"}
1753
- `,Mq=({onClick:e,disabled:t=!1})=>{let r=Oe("grey500");return Gp(Bq,{"aria-disabled":t,"aria-label":"Click to Copy",disabled:t,noStyle:!0,onClick:e,children:Gp(Oq,{color:t?r:"currentColor",disabled:t,size:"md",type:t?"copy-disabled":"copy"})})},rD=({inputComponent:e,inputProps:t,onClick:r})=>{let n=Jl(),[o,a]=Eq(0),{value:s,disabled:l}=t,u=l??!1;Tq(()=>{if(o>0){let g=setTimeout(()=>a(o-1),1e3);return()=>clearTimeout(g)}return()=>{}},[o]);let c=()=>{(async()=>u||(await Fs(s),xn(r)&&r(),n({message:"Copied to clipboard"}),a(5)))()},p=o>0?{$forceState:"focus"}:void 0,d={...t,...p},h={onClick:c,disabled:u,"aria-disabled":u};return Iq(Aq,{$disabled:u,onClick:c,children:[Gp(e,{...d}),Gp(Mq,{...h})]})};i();var Hp=60,kq=e=>e.replace(/[^0-9:]/g,""),Vq=e=>e?Number.parseFloat(e):0,Nq=(e,t,r)=>{let n=F(r)&&Number(r)>0?`${r}:`:"";return n+=`${t}:${e}`,n},Lq=e=>{let t=e.split(":"),[r,n,o]=t.reverse().map(d=>Vq(d)),a=0,s=0,l=0;F(r)&&(s=Math.floor(r/Hp),F(n)&&(s+=n)),F(r)&&(a=r%Hp);let u=a.toString();u.length===1&&(a=u.padStart(2,"0"));let c=ee(o)?o:0;l=Math.floor(s/Hp)+c,s%=Hp;let p=s.toString();return l&&p.length===1&&(s=p.padStart(2,"0")),Nq(a,s,l)},Yh=e=>{if(le(e)||!st(e))return"0:00";let t=kq(e);return Lq(t)};import{jsx as Jh,jsxs as Uq}from"react/jsx-runtime";var jq=new Set(["search"]),Wq=Hq.div`
1753
+ `,Mq=({onClick:e,disabled:t=!1})=>{let r=Oe("grey500");return Gp(Bq,{"aria-disabled":t,"aria-label":"Click to Copy",disabled:t,noStyle:!0,onClick:e,children:Gp(Oq,{color:t?r:"currentColor",disabled:t,size:"md",type:t?"copy-disabled":"copy"})})},rD=({inputComponent:e,inputProps:t,onClick:r})=>{let n=Jl(),[o,a]=Eq(0),{value:s,disabled:l}=t,u=l??!1;Pq(()=>{if(o>0){let g=setTimeout(()=>a(o-1),1e3);return()=>clearTimeout(g)}return()=>{}},[o]);let c=()=>{(async()=>u||(await Fs(s),xn(r)&&r(),n({message:"Copied to clipboard"}),a(5)))()},p=o>0?{$forceState:"focus"}:void 0,d={...t,...p},h={onClick:c,disabled:u,"aria-disabled":u};return Iq(Aq,{$disabled:u,onClick:c,children:[Gp(e,{...d}),Gp(Mq,{...h})]})};i();var Hp=60,kq=e=>e.replace(/[^0-9:]/g,""),Vq=e=>e?Number.parseFloat(e):0,Nq=(e,t,r)=>{let n=F(r)&&Number(r)>0?`${r}:`:"";return n+=`${t}:${e}`,n},Lq=e=>{let t=e.split(":"),[r,n,o]=t.reverse().map(d=>Vq(d)),a=0,s=0,l=0;F(r)&&(s=Math.floor(r/Hp),F(n)&&(s+=n)),F(r)&&(a=r%Hp);let u=a.toString();u.length===1&&(a=u.padStart(2,"0"));let c=ee(o)?o:0;l=Math.floor(s/Hp)+c,s%=Hp;let p=s.toString();return l&&p.length===1&&(s=p.padStart(2,"0")),Nq(a,s,l)},Yh=e=>{if(le(e)||!st(e))return"0:00";let t=kq(e);return Lq(t)};import{jsx as Jh,jsxs as Uq}from"react/jsx-runtime";var jq=new Set(["search"]),Wq=Hq.div`
1754
1754
  position: relative;
1755
1755
 
1756
1756
  svg {
@@ -1763,7 +1763,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1763
1763
  }
1764
1764
 
1765
1765
  width: ${({$fullWidth:e})=>e?"100%":"auto"};
1766
- `,_q=(e,t)=>F(e)?e:t==="search"?Jh(Ee,{size:"md",type:"search"}):null,Qa=$q(({clickToCopy:e=!1,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,icon:a,iconPosition:s="end",innerRef:l,monospace:u=!1,onBlur:c,onChange:p,onClickToCopy:d,onFocus:h,onFocusToSelect:g,placeholder:v,readOnly:m=!1,required:b=!1,type:y="text",value:x,...w},D)=>{let T=Gq(null),S=$l([l,D,T]),E=y==="multiline"?"textarea":"input",R=m||e,B=F(a)||e||jq.has(y);zq(()=>{y==="timePosition"&&F(T.current)&&(T.current.value=Yh(x??0))},[y,x]);let I={"aria-invalid":o?"true":"false",as:E,$clickToCopy:e,disabled:t,$forceState:r,$hasError:o,$hasIcon:B,$iconPosition:y==="search"?"start":s,$monospace:u,onBlur:H=>{y==="timePosition"&&F(T.current)&&(T.current.value=Yh(H.target.value)),c&&c(H)},onChange:p,onFocus:H=>{g&&(H.target.select(),g(H)),h&&h(H)},placeholder:v,readOnly:R,ref:S,required:b,type:y},V={value:$t(x),...I,...w},N={value:x,...I,...w};return e?Jh(rD,{inputComponent:Kh,inputProps:V,onClick:d}):Uq(Wq,{$disabled:t,$fullWidth:n,$iconPosition:N.$iconPosition,children:[Jh(Kh,{...N}),_q(a,y)]})});Qa.displayName="Input_VHS";import{jsx as nD}from"react/jsx-runtime";var Kq=new Set(["text","multiline","url","email"]),jp=({disabled:e,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:a,setFieldValue:s},label:l,labelDescription:u,labelProps:c,onChangeCustom:p,placeholder:d,type:h,onFocusToSelectValue:g,...v})=>{let m=x=>{n(x),p&&p(x.target.value)},b=x=>{if(o(x),Kq.has(h)){let w=(x.target.value||"").trim();s(t,w)}},y=r===g?()=>{}:void 0;return nD(Zt,{disabled:e,error:ee(a)?a[t]:void 0,label:l,labelDescription:u,labelProps:c,name:t,children:nD(Qa,{"data-testid":`input-${t}`,disabled:e,name:t,onBlur:b,onChange:m,onFocusToSelect:y,placeholder:d,type:h,value:r,...v})})};jp.displayName="FormConnectorInput_VHS";i();i();import{useCallback as eX}from"react";i();i();import Zq from"styled-components";i();i();import{forwardRef as qq,useState as Xq,isValidElement as Yq}from"react";import{Fragment as Jq,jsx as Zh,jsxs as oD}from"react/jsx-runtime";var Wp=qq(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:a,label:s,labelDescription:l,name:u,onChange:c,value:p="false",...d},h)=>{let[g,v]=Xq(!1);return oD(Tp,{ref:h,$direction:t,$disabled:r,$forceState:n,$hasError:o,$isFocused:g,children:[Zh(Sp,{"aria-checked":e,checked:e,"data-testid":"radio-option-wrapper",disabled:r,id:a,name:u,onBlur:()=>v(!1),onChange:c,onFocus:()=>v(!0),role:"radio",type:"radio",value:p,...d}),oD(Dp,{children:[Zh(Jq,{children:s}),F(l)||Yq(l)?Zh(Ep,{"data-testid":"radio-option-sub-label",children:l}):null]})]})});Wp.displayName="Radio_VHS";import{jsx as Qh}from"react/jsx-runtime";var Qq=Zq.div`
1766
+ `,_q=(e,t)=>F(e)?e:t==="search"?Jh(Ee,{size:"md",type:"search"}):null,Qa=$q(({clickToCopy:e=!1,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,icon:a,iconPosition:s="end",innerRef:l,monospace:u=!1,onBlur:c,onChange:p,onClickToCopy:d,onFocus:h,onFocusToSelect:g,placeholder:v,readOnly:m=!1,required:b=!1,type:y="text",value:x,...w},D)=>{let P=Gq(null),S=$l([l,D,P]),E=y==="multiline"?"textarea":"input",R=m||e,B=F(a)||e||jq.has(y);zq(()=>{y==="timePosition"&&F(P.current)&&(P.current.value=Yh(x??0))},[y,x]);let I={"aria-invalid":o?"true":"false",as:E,$clickToCopy:e,disabled:t,$forceState:r,$hasError:o,$hasIcon:B,$iconPosition:y==="search"?"start":s,$monospace:u,onBlur:H=>{y==="timePosition"&&F(P.current)&&(P.current.value=Yh(H.target.value)),c&&c(H)},onChange:p,onFocus:H=>{g&&(H.target.select(),g(H)),h&&h(H)},placeholder:v,readOnly:R,ref:S,required:b,type:y},V={value:$t(x),...I,...w},N={value:x,...I,...w};return e?Jh(rD,{inputComponent:Kh,inputProps:V,onClick:d}):Uq(Wq,{$disabled:t,$fullWidth:n,$iconPosition:N.$iconPosition,children:[Jh(Kh,{...N}),_q(a,y)]})});Qa.displayName="Input_VHS";import{jsx as nD}from"react/jsx-runtime";var Kq=new Set(["text","multiline","url","email"]),jp=({disabled:e,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:a,setFieldValue:s},label:l,labelDescription:u,labelProps:c,onChangeCustom:p,placeholder:d,type:h,onFocusToSelectValue:g,...v})=>{let m=x=>{n(x),p&&p(x.target.value)},b=x=>{if(o(x),Kq.has(h)){let w=(x.target.value||"").trim();s(t,w)}},y=r===g?()=>{}:void 0;return nD(Zt,{disabled:e,error:ee(a)?a[t]:void 0,label:l,labelDescription:u,labelProps:c,name:t,children:nD(Qa,{"data-testid":`input-${t}`,disabled:e,name:t,onBlur:b,onChange:m,onFocusToSelect:y,placeholder:d,type:h,value:r,...v})})};jp.displayName="FormConnectorInput_VHS";i();i();import{useCallback as eX}from"react";i();i();import Zq from"styled-components";i();i();import{forwardRef as qq,useState as Xq,isValidElement as Yq}from"react";import{Fragment as Jq,jsx as Zh,jsxs as oD}from"react/jsx-runtime";var Wp=qq(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:a,label:s,labelDescription:l,name:u,onChange:c,value:p="false",...d},h)=>{let[g,v]=Xq(!1);return oD(Pp,{ref:h,$direction:t,$disabled:r,$forceState:n,$hasError:o,$isFocused:g,children:[Zh(Sp,{"aria-checked":e,checked:e,"data-testid":"radio-option-wrapper",disabled:r,id:a,name:u,onBlur:()=>v(!1),onChange:c,onFocus:()=>v(!0),role:"radio",type:"radio",value:p,...d}),oD(Dp,{children:[Zh(Jq,{children:s}),F(l)||Yq(l)?Zh(Ep,{"data-testid":"radio-option-sub-label",children:l}):null]})]})});Wp.displayName="Radio_VHS";import{jsx as Qh}from"react/jsx-runtime";var Qq=Zq.div`
1767
1767
  display: flex;
1768
1768
  flex-direction: ${({direction:e})=>e==="row"?"row":"column"};
1769
1769
  gap: ${({direction:e,theme:t})=>e==="row"?t.spacing.space04:t.spacing.space01};
@@ -1780,7 +1780,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1780
1780
  `,oX=e2`
1781
1781
  border: 1px solid ${({theme:e})=>e.color.error500};
1782
1782
  `,t2=rX.select`
1783
- ${Tr}
1783
+ ${Pr}
1784
1784
  appearance: none;
1785
1785
  background-color: white;
1786
1786
  border: 1px solid ${({theme:e})=>e.color.grey400};
@@ -1843,17 +1843,17 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1843
1843
  }
1844
1844
 
1845
1845
  width: ${({$fullWidth:e})=>e?"100%":"auto"};
1846
- `,o2=(e,t,r)=>{let n=({groupLabel:o,groupOptions:a,disabled:s=!1})=>n2("optgroup",{"data-testid":o,disabled:s,label:o,children:o2(a)},o);return e.map(o=>{if(Object.prototype.hasOwnProperty.call(o,"groupLabel"))return n(o);let{label:a,value:s,disabled:l=!1}=o,u=ve(r)?o[r]:s,c=ve(t)?o[t]:a;return Uu(u)&&(u=$t(u)),n2("option",{disabled:l,value:u,children:c},`${$t(c)}--${$t(u)}`)})},uX=(e,t,r)=>F(e)&&!r?o2([{label:e,value:"",disabled:t}]):null,cX=e=>e?null:n2(Ee,{size:"md",type:"caret-down"}),Ei=iX(({ariaLabel:e,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,labelName:a="label",multiple:s=!1,options:l,placeholder:u="Please select...",preventPlaceholderSelection:c=!1,required:p=!1,valueName:d="value",...h},g)=>aD(lX,{$disabled:t,$forceState:r,$fullWidth:n,children:[aD(t2,{ref:g,$forceState:r,$hasError:o,"aria-invalid":o?"true":"false","aria-label":e,disabled:t,multiple:s,required:p,...h,children:[uX(u,c,s),o2(l,a,d)]}),cX(s)]}));Ei.displayName="Select_VHS";import{jsx as sD}from"react/jsx-runtime";var Kp=({disabled:e=!1,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:a},label:s,labelDescription:l,labelProps:u={},options:c,placeholder:p,onChangeCustom:d,...h})=>{let g=v=>le(v)?"":Uu(v)?$t(r):v;return sD(Zt,{disabled:e,error:a[t],label:s,labelDescription:l,labelProps:u,name:t,children:sD(Ei,{"data-testid":`select-${t}`,disabled:e,name:t,onBlur:o,onChange:v=>{n(v),d&&d(v.target.value)},options:c,placeholder:p,value:g(r),...h})})};Kp.displayName="FormConnectorSelect_VHS";i();i();import{useEffect as fX}from"react";import{jsx as pX}from"react/jsx-runtime";var qp=({field:{name:e,value:t,onChange:r},form:{setFieldValue:n}={},onChangeCustom:o,valueState:a="",...s})=>(fX(()=>{!a&&le(t)||a!==t&&ee(n)&&n(e,a)},[n,e,a,t]),pX(Qa,{"data-testid":`input-${e}`,name:e,onChange:l=>{r(l),ee(o)&&o(l.target.value)},type:"hidden",value:le(t)?"":t,...s}));qp.displayName="FormConnectorHidden_VHS";i();i();import{useState as Bte,useEffect as Ote}from"react";import Mte from"styled-components";i();i();import{useCallback as wg,useMemo as Dte,useEffect as Ete}from"react";import _P from"styled-components";i();var Z2=kr(fD()),xT=kr(l2()),wT=kr(WD());import fe,{createContext as Ii,useContext as ls,useRef as yr,useEffect as Xn,useLayoutEffect as XZ,useState as Mi,memo as YZ,forwardRef as JZ,useCallback as ke,Component as ZZ,useReducer as QZ,useMemo as md}from"react";i();i();function _D(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function UD(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function u2(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return UD(r.overflowY,t)||UD(r.overflowX,t)||function(n){var o=function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}}(n);return!!o&&(o.clientHeight<n.scrollHeight||o.clientWidth<n.scrollWidth)}(e)}return!1}function Yp(e,t,r,n,o,a,s,l){return a<e&&s>t||a>e&&s<t?0:a<=e&&l<=r||s>=t&&l>=r?a-e-n:s>t&&l<r||a<e&&l>r?s-t+o:0}var c2=function(e,t){var r=window,n=t.scrollMode,o=t.block,a=t.inline,s=t.boundary,l=t.skipOverflowHiddenElements,u=typeof s=="function"?s:function(we){return we!==s};if(!_D(e))throw new TypeError("Invalid target");for(var c,p,d=document.scrollingElement||document.documentElement,h=[],g=e;_D(g)&&u(g);){if((g=(p=(c=g).parentElement)==null?c.getRootNode().host||null:p)===d){h.push(g);break}g!=null&&g===document.body&&u2(g)&&!u2(document.documentElement)||g!=null&&u2(g,l)&&h.push(g)}for(var v=r.visualViewport?r.visualViewport.width:innerWidth,m=r.visualViewport?r.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,x=e.getBoundingClientRect(),w=x.height,D=x.width,T=x.top,S=x.right,E=x.bottom,R=x.left,B=o==="start"||o==="nearest"?T:o==="end"?E:T+w/2,k=a==="center"?R+D/2:a==="end"?S:R,j=[],I=0;I<h.length;I++){var V=h[I],N=V.getBoundingClientRect(),H=N.height,Z=N.width,Q=N.top,X=N.right,G=N.bottom,re=N.left;if(n==="if-needed"&&T>=0&&R>=0&&E<=m&&S<=v&&T>=Q&&E<=G&&R>=re&&S<=X)return j;var de=getComputedStyle(V),pe=parseInt(de.borderLeftWidth,10),je=parseInt(de.borderTopWidth,10),A=parseInt(de.borderRightWidth,10),_=parseInt(de.borderBottomWidth,10),z=0,W=0,se="offsetWidth"in V?V.offsetWidth-V.clientWidth-pe-A:0,oe="offsetHeight"in V?V.offsetHeight-V.clientHeight-je-_:0,me="offsetWidth"in V?V.offsetWidth===0?0:Z/V.offsetWidth:0,xe="offsetHeight"in V?V.offsetHeight===0?0:H/V.offsetHeight:0;if(d===V)z=o==="start"?B:o==="end"?B-m:o==="nearest"?Yp(y,y+m,m,je,_,y+B,y+B+w,w):B-m/2,W=a==="start"?k:a==="center"?k-v/2:a==="end"?k-v:Yp(b,b+v,v,pe,A,b+k,b+k+D,D),z=Math.max(0,z+y),W=Math.max(0,W+b);else{z=o==="start"?B-Q-je:o==="end"?B-G+_+oe:o==="nearest"?Yp(Q,G,H,je,_+oe,B,B+w,w):B-(Q+H/2)+oe/2,W=a==="start"?k-re-pe:a==="center"?k-(re+Z/2)+se/2:a==="end"?k-X+A+se:Yp(re,X,Z,pe,A+se,k,k+D,D);var De=V.scrollLeft,Te=V.scrollTop;B+=Te-(z=Math.max(0,Math.min(Te+z/xe,V.scrollHeight-H/xe+oe))),k+=De-(W=Math.max(0,Math.min(De+W/me,V.scrollWidth-Z/me+se)))}j.push({el:V,top:z,left:W})}return j};function KD(e){return e===Object(e)&&Object.keys(e).length!==0}function lY(e,t){t===void 0&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(n){var o=n.el,a=n.top,s=n.left;o.scroll&&r?o.scroll({top:a,left:s,behavior:t}):(o.scrollTop=a,o.scrollLeft=s)})}function uY(e){return e===!1?{block:"end",inline:"nearest"}:KD(e)?e:{block:"start",inline:"nearest"}}function cY(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(KD(t)&&typeof t.behavior=="function")return t.behavior(r?c2(e,t):[]);if(r){var n=uY(t);return lY(c2(e,n),n.behavior)}}var qD=cY;i();i();function XD(e){return Object.prototype.toString.call(e)==="[object Object]"}function Qe(e){var t,r;return XD(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(XD(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}i();function jr(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var o,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Io(e){return!!e&&!!e[gr]}function Pi(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)===yY}(e)||Array.isArray(e)||!!e[nE]||!!(!((t=e.constructor)===null||t===void 0)&&t[nE])||C2(e)||x2(e))}function eu(e,t,r){r===void 0&&(r=!1),es(e)===0?(r?Object.keys:T2)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function es(e){var t=e[gr];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:C2(e)?2:x2(e)?3:0}function h2(e,t){return es(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function fY(e,t){return es(e)===2?e.get(t):e[t]}function oE(e,t,r){var n=es(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function pY(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function C2(e){return gY&&e instanceof Map}function x2(e){return vY&&e instanceof Set}function Ti(e){return e.o||e.t}function w2(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=bY(e);delete t[gr];for(var r=T2(t),n=0;n<r.length;n++){var o=r[n],a=t[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function S2(e,t){return t===void 0&&(t=!1),D2(e)||Io(e)||!Pi(e)||(es(e)>1&&(e.set=e.add=e.clear=e.delete=dY),Object.freeze(e),t&&eu(e,function(r,n){return S2(n,!0)},!0)),e}function dY(){jr(2)}function D2(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function un(e){var t=CY[e];return t||jr(18,e),t}function YD(){return tu}function f2(e,t){t&&(un("Patches"),e.u=[],e.s=[],e.v=t)}function Jp(e){g2(e),e.p.forEach(mY),e.p=null}function g2(e){e===tu&&(tu=e.l)}function JD(e){return tu={p:[],l:tu,h:e,m:!0,_:0}}function mY(e){var t=e[gr];t.i===0||t.i===1?t.j():t.g=!0}function p2(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||un("ES5").S(t,e,n),n?(r[gr].P&&(Jp(t),jr(4)),Pi(e)&&(e=Zp(t,e),t.l||Qp(t,e)),t.u&&un("Patches").M(r[gr].t,e,t.u,t.s)):e=Zp(t,r,[]),Jp(t),t.u&&t.v(t.u,t.s),e!==iE?e:void 0}function Zp(e,t,r){if(D2(t))return t;var n=t[gr];if(!n)return eu(t,function(l,u){return ZD(e,n,t,l,u,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Qp(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=w2(n.k):n.o,a=o,s=!1;n.i===3&&(a=new Set(o),o.clear(),s=!0),eu(a,function(l,u){return ZD(e,n,o,l,u,r,s)}),Qp(e,o,!1),r&&e.u&&un("Patches").N(n,r,e.u,e.s)}return n.o}function ZD(e,t,r,n,o,a,s){if(Io(o)){var l=Zp(e,o,a&&t&&t.i!==3&&!h2(t.R,n)?a.concat(n):void 0);if(oE(r,n,l),!Io(l))return;e.m=!1}else s&&r.add(o);if(Pi(o)&&!D2(o)){if(!e.h.D&&e._<1)return;Zp(e,o),t&&t.A.l||Qp(e,o)}}function Qp(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&S2(t,r)}function d2(e,t){var r=e[gr];return(r?Ti(r):e)[t]}function QD(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 v2(e){e.P||(e.P=!0,e.l&&v2(e.l))}function m2(e){e.o||(e.o=w2(e.t))}function y2(e,t,r){var n=C2(t)?un("MapSet").F(t,r):x2(t)?un("MapSet").T(t,r):e.O?function(o,a){var s=Array.isArray(o),l={i:s?1:0,A:a?a.A:YD(),P:!1,I:!1,R:{},l:a,t:o,k:null,o:null,j:null,C:!1},u=l,c=b2;s&&(u=[l],c=Ql);var p=Proxy.revocable(u,c),d=p.revoke,h=p.proxy;return l.k=h,l.j=d,h}(t,r):un("ES5").J(t,r);return(r?r.A:YD()).p.push(n),n}function hY(e){return Io(e)||jr(22,e),function t(r){if(!Pi(r))return r;var n,o=r[gr],a=es(r);if(o){if(!o.P&&(o.i<4||!un("ES5").K(o)))return o.t;o.I=!0,n=eE(r,a),o.I=!1}else n=eE(r,a);return eu(n,function(s,l){o&&fY(o.t,s)===l||oE(n,s,t(l))}),a===3?new Set(n):n}(e)}function eE(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return w2(e)}var tE,tu,E2=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",gY=typeof Map<"u",vY=typeof Set<"u",rE=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",iE=E2?Symbol.for("immer-nothing"):((tE={})["immer-nothing"]=!0,tE),nE=E2?Symbol.for("immer-draftable"):"__$immer_draftable",gr=E2?Symbol.for("immer-state"):"__$immer_state";var yY=""+Object.prototype.constructor,T2=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,bY=Object.getOwnPropertyDescriptors||function(e){var t={};return T2(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},CY={},b2={get:function(e,t){if(t===gr)return e;var r=Ti(e);if(!h2(r,t))return function(o,a,s){var l,u=QD(a,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(o.k):void 0}(e,r,t);var n=r[t];return e.I||!Pi(n)?n:n===d2(e.t,t)?(m2(e),e.o[t]=y2(e.A.h,n,e)):n},has:function(e,t){return t in Ti(e)},ownKeys:function(e){return Reflect.ownKeys(Ti(e))},set:function(e,t,r){var n=QD(Ti(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var o=d2(Ti(e),t),a=o?.[gr];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(pY(r,o)&&(r!==void 0||h2(e.t,t)))return!0;m2(e),v2(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 d2(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,m2(e),v2(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Ti(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){jr(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){jr(12)}},Ql={};eu(b2,function(e,t){Ql[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Ql.deleteProperty=function(e,t){return Ql.set.call(this,e,t,void 0)},Ql.set=function(e,t,r){return b2.set.call(this,e[0],t,r,e[0])};var xY=function(){function e(r){var n=this;this.O=rE,this.D=!0,this.produce=function(o,a,s){if(typeof o=="function"&&typeof a!="function"){var l=a;a=o;var u=n;return function(m){var b=this;m===void 0&&(m=l);for(var y=arguments.length,x=Array(y>1?y-1:0),w=1;w<y;w++)x[w-1]=arguments[w];return u.produce(m,function(D){var T;return(T=a).call.apply(T,[b,D].concat(x))})}}var c;if(typeof a!="function"&&jr(6),s!==void 0&&typeof s!="function"&&jr(7),Pi(o)){var p=JD(n),d=y2(n,o,void 0),h=!0;try{c=a(d),h=!1}finally{h?Jp(p):g2(p)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(m){return f2(p,s),p2(m,p)},function(m){throw Jp(p),m}):(f2(p,s),p2(c,p))}if(!o||typeof o!="object"){if((c=a(o))===void 0&&(c=o),c===iE&&(c=void 0),n.D&&S2(c,!0),s){var g=[],v=[];un("Patches").M(o,c,g,v),s(g,v)}return c}jr(21,o)},this.produceWithPatches=function(o,a){if(typeof o=="function")return function(c){for(var p=arguments.length,d=Array(p>1?p-1:0),h=1;h<p;h++)d[h-1]=arguments[h];return n.produceWithPatches(c,function(g){return o.apply(void 0,[g].concat(d))})};var s,l,u=n.produce(o,a,function(c,p){s=c,l=p});return typeof Promise<"u"&&u instanceof Promise?u.then(function(c){return[c,s,l]}):[u,s,l]},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){Pi(r)||jr(8),Io(r)&&(r=hY(r));var n=JD(this),o=y2(this,r,void 0);return o[gr].C=!0,g2(n),o},t.finishDraft=function(r,n){var o=r&&r[gr],a=o.A;return f2(a,n),p2(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!rE&&jr(20),this.O=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var a=n[o];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}o>-1&&(n=n.slice(o+1));var s=un("Patches").$;return Io(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),vr=new xY,ed=vr.produce,ktt=vr.produceWithPatches.bind(vr),Vtt=vr.setAutoFreeze.bind(vr),Ntt=vr.setUseProxies.bind(vr),Ltt=vr.applyPatches.bind(vr),P2=vr.createDraft.bind(vr),A2=vr.finishDraft.bind(vr);var wY={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()}}},SY={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=ge.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},DY={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=M.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},rd=new WeakMap,nd=new WeakMap,nu=new WeakMap,NE=new WeakMap,aE=new WeakMap,sE=new WeakMap,lE=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],a=t[n];if(o!==a)break;r.push(o)}return r},compare(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return 0},endsAfter(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),a=e[r],s=t[r];return P.equals(n,o)&&a>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),a=e[r],s=t[r];return P.equals(n,o)&&a<s},equals(e,t){return e.length===t.length&&e.every((r,n)=>r===t[n])},hasPrevious(e){return e[e.length-1]>0},isAfter(e,t){return 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],a=t[t.length-1];return o!==a&&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:a}=t;(P.equals(a,n)||P.endsBefore(a,n)||P.isAncestor(a,n))&&(n[a.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:l,position:u}=t;P.equals(l,n)||P.endsBefore(l,n)?n[l.length-1]-=1:P.isAncestor(l,n)&&(n[l.length-1]-=1,n[l.length]+=u);break}case"split_node":{var{path:c,position:p}=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]>=p&&(n[c.length-1]+=1,n[c.length]-=p);break}case"move_node":{var{path:d,newPath:h}=t;if(P.equals(d,h))return n;if(P.isAncestor(d,n)||P.equals(d,n)){var g=h.slice();return P.endsBefore(d,h)&&d.length<h.length&&(g[d.length-1]-=1),g.concat(n.slice(d.length))}else P.isSibling(d,h)&&(P.isAncestor(h,n)||P.equals(h,n))?P.endsBefore(d,n)?n[d.length-1]-=1:n[d.length-1]+=1:P.endsBefore(h,n)||P.equals(h,n)||P.isAncestor(h,n)?(P.endsBefore(d,n)&&(n[d.length-1]-=1),n[h.length-1]+=1):P.endsBefore(d,n)&&(P.equals(h,n)&&(n[h.length-1]+=1),n[d.length-1]-=1);break}}return n}};function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uE(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 ru(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?uE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var EY=(e,t,r)=>{switch(r.type){case"insert_node":{var{path:n,node:o}=r,a=U.parent(e,n),s=n[n.length-1];if(s>a.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(n,"] because the destination is past the end of the node."));if(a.children.splice(s,0,o),t)for(var[l,u]of M.points(t))t[u]=ge.transform(l,r);break}case"insert_text":{var{path:c,offset:p,text:d}=r;if(d.length===0)break;var h=U.leaf(e,c),g=h.text.slice(0,p),v=h.text.slice(p);if(h.text=g+d+v,t)for(var[m,b]of M.points(t))t[b]=ge.transform(m,r);break}case"merge_node":{var{path:y}=r,x=U.get(e,y),w=P.previous(y),D=U.get(e,w),T=U.parent(e,y),S=y[y.length-1];if(J.isText(x)&&J.isText(D))D.text+=x.text;else if(!J.isText(x)&&!J.isText(D))D.children.push(...x.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(y,"] to nodes of different interfaces: ").concat(ct.stringify(x)," ").concat(ct.stringify(D)));if(T.children.splice(S,1),t)for(var[E,R]of M.points(t))t[R]=ge.transform(E,r);break}case"move_node":{var{path:B,newPath:k}=r;if(P.isAncestor(B,k))throw new Error("Cannot move a path [".concat(B,"] to new path [").concat(k,"] because the destination is inside itself."));var j=U.get(e,B),I=U.parent(e,B),V=B[B.length-1];I.children.splice(V,1);var N=P.transform(B,r),H=U.get(e,P.parent(N)),Z=N[N.length-1];if(H.children.splice(Z,0,j),t)for(var[Q,X]of M.points(t))t[X]=ge.transform(Q,r);break}case"remove_node":{var{path:G}=r,re=G[G.length-1],de=U.parent(e,G);if(de.children.splice(re,1),t)for(var[pe,je]of M.points(t)){var A=ge.transform(pe,r);if(t!=null&&A!=null)t[je]=A;else{var _=void 0,z=void 0;for(var[W,se]of U.texts(e))if(P.compare(se,G)===-1)_=[W,se];else{z=[W,se];break}var oe=!1;_&&z&&(P.equals(z[1],G)?oe=!P.hasPrevious(z[1]):oe=P.common(_[1],G).length<P.common(z[1],G).length),_&&!oe?(pe.path=_[1],pe.offset=_[0].text.length):z?(pe.path=z[1],pe.offset=0):t=null}}break}case"remove_text":{var{path:me,offset:xe,text:De}=r;if(De.length===0)break;var Te=U.leaf(e,me),we=Te.text.slice(0,xe),wt=Te.text.slice(xe+De.length);if(Te.text=we+wt,t)for(var[St,We]of M.points(t))t[We]=ge.transform(St,r);break}case"set_node":{var{path:sr,properties:Wt,newProperties:Rt}=r;if(sr.length===0)throw new Error("Cannot set properties on the root node!");var lr=U.get(e,sr);for(var O in Rt){if(O==="children"||O==="text")throw new Error('Cannot set the "'.concat(O,'" property of nodes!'));var Y=Rt[O];Y==null?delete lr[O]:lr[O]=Y}for(var te in Wt)Rt.hasOwnProperty(te)||delete lr[te];break}case"set_selection":{var{newProperties:q}=r;if(q==null)t=q;else{if(t==null){if(!M.isRange(q))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(ct.stringify(q)," when there is no current selection."));t=ru({},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:Pe,position:Dt,properties:no}=r;if(Pe.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(Pe,"] because the root node cannot be split."));var Ir=U.get(e,Pe),V1=U.parent(e,Pe),r5=Pe[Pe.length-1],ea;if(J.isText(Ir)){var N1=Ir.text.slice(0,Dt),AO=Ir.text.slice(Dt);Ir.text=N1,ea=ru(ru({},no),{},{text:AO})}else{var RO=Ir.children.slice(0,Dt),FO=Ir.children.slice(Dt);Ir.children=RO,ea=ru(ru({},no),{},{children:FO})}if(V1.children.splice(r5+1,0,ea),t)for(var[BO,OO]of M.points(t))t[OO]=ge.transform(BO,r);break}}return t},TY={transform(e,t){e.children=P2(e.children);var r=e.selection&&P2(e.selection);try{r=EY(e,r,t)}finally{e.children=A2(e.children),r?e.selection=Io(r)?A2(r):r:e.selection=null}}},PY={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)}},AY={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)}},LE=(e,t)=>{for(var r in e){var n=e[r],o=t[r];if(Qe(n)&&Qe(o)){if(!LE(n,o))return!1}else if(Array.isArray(n)&&Array.isArray(o)){if(n.length!==o.length)return!1;for(var a=0;a<n.length;a++)if(n[a]!==o[a])return!1}else if(n!==o)return!1}for(var s in t)if(e[s]===void 0&&t[s]!==void 0)return!1;return!0};function RY(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Kn(e,t){if(e==null)return{};var r=RY(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var FY=["anchor","focus"];function cE(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 BY(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var M={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,{anchor:n,focus:o}=e;return M.isBackward(e)===r?[n,o]:[o,n]},end(e){var[,t]=M.edges(e);return t},equals(e,t){return ge.equals(e.anchor,t.anchor)&&ge.equals(e.focus,t.focus)},includes(e,t){if(M.isRange(t)){if(M.includes(e,t.anchor)||M.includes(e,t.focus))return!0;var[r,n]=M.edges(e),[o,a]=M.edges(t);return ge.isBefore(r,o)&&ge.isAfter(n,a)}var[s,l]=M.edges(e),u=!1,c=!1;return ge.isPoint(t)?(u=ge.compare(t,s)>=0,c=ge.compare(t,l)<=0):(u=P.compare(t,s.path)>=0,c=P.compare(t,l.path)<=0),u&&c},intersection(e,t){var r=Kn(e,FY),[n,o]=M.edges(e),[a,s]=M.edges(t),l=ge.isBefore(n,a)?a:n,u=ge.isBefore(o,s)?o:s;return ge.isBefore(u,l)?null:BY({anchor:l,focus:u},r)},isBackward(e){var{anchor:t,focus:r}=e;return ge.isAfter(t,r)},isCollapsed(e){var{anchor:t,focus:r}=e;return ge.equals(t,r)},isExpanded(e){return!M.isCollapsed(e)},isForward(e){return!M.isBackward(e)},isRange(e){return Qe(e)&&ge.isPoint(e.anchor)&&ge.isPoint(e.focus)},*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=M.edges(e);return t},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return ed(e,n=>{if(n===null)return null;var{affinity:o="inward"}=r,a,s;if(o==="inward"){var l=M.isCollapsed(n);M.isForward(n)?(a="forward",s=l?a:"backward"):(a="backward",s=l?a:"forward")}else o==="outward"?M.isForward(n)?(a="backward",s="forward"):(a="forward",s="backward"):(a=o,s=o);var u=ge.transform(n.anchor,t,{affinity:a}),c=ge.transform(n.focus,t,{affinity:s});if(!u||!c)return null;n.anchor=u,n.focus=c})}},fE=e=>Qe(e)&&U.isNodeList(e.children)&&!C.isEditor(e),K={isAncestor(e){return Qe(e)&&U.isNodeList(e.children)},isElement:fE,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 fE(t)&&t[n]===r},matches(e,t){for(var r in t)if(r!=="children"&&e[r]!==t[r])return!1;return!0}},OY=["children"],MY=["text"],pE=new WeakMap,U={ancestor(e,t){var r=U.get(e,t);if(J.isText(r))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(ct.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=U.ancestor(e,n),a=[o,n];yield a}},child(e,t){if(J.isText(e))throw new Error("Cannot get the child of a text node: ".concat(ct.stringify(e)));var r=e.children[t];if(r==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(ct.stringify(e)));return r},*children(e,t){for(var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:n=!1}=r,o=U.ancestor(e,t),{children:a}=o,s=n?a.length-1:0;n?s>=0:s<a.length;){var l=U.child(o,s),u=t.concat(s);yield[l,u],s=n?s-1:s+1}},common(e,t,r){var n=P.common(t,r),o=U.get(e,n);return[o,n]},descendant(e,t){var r=U.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(ct.stringify(r)));return r},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of U.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 U.nodes(e,t))K.isElement(r)&&(yield[r,n])},extractProps(e){if(K.isAncestor(e)){var t=Kn(e,OY);return t}else{var t=Kn(e,MY);return t}},first(e,t){for(var r=t.slice(),n=U.get(e,r);n&&!(J.isText(n)||n.children.length===0);)n=n.children[0],r.push(0);return[n,r]},fragment(e,t){if(J.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(ct.stringify(e)));var r=ed({children:e.children},n=>{var[o,a]=M.edges(t),s=U.nodes(n,{reverse:!0,pass:h=>{var[,g]=h;return!M.includes(t,g)}});for(var[,l]of s){if(!M.includes(t,l)){var u=U.parent(n,l),c=l[l.length-1];u.children.splice(c,1)}if(P.equals(l,a.path)){var p=U.leaf(n,l);p.text=p.text.slice(0,a.offset)}if(P.equals(l,o.path)){var d=U.leaf(n,l);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(J.isText(r)||!r.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(ct.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(J.isText(r)||!r.children[o])return!1;r=r.children[o]}return!0},isNode(e){return J.isText(e)||K.isElement(e)||C.isEditor(e)},isNodeList(e){if(!Array.isArray(e))return!1;var t=pE.get(e);if(t!==void 0)return t;var r=e.every(n=>U.isNode(n));return pE.set(e,r),r},last(e,t){for(var r=t.slice(),n=U.get(e,r);n&&!(J.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=U.get(e,t);if(!J.isText(r))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(ct.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=U.get(e,n);yield[o,n]}},matches(e,t){return K.isElement(e)&&K.isElementProps(t)&&K.matches(e,t)||J.isText(e)&&J.isTextProps(t)&&J.matches(e,t)},*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:r,reverse:n=!1}=t,{from:o=[],to:a}=t,s=new Set,l=[],u=e;!(a&&(n?P.isBefore(l,a):P.isAfter(l,a)));){if(s.has(u)||(yield[u,l]),!s.has(u)&&!J.isText(u)&&u.children.length!==0&&(r==null||r([u,l])===!1)){s.add(u);var c=n?u.children.length-1:0;P.isAncestor(l,o)&&(c=o[l.length]),l=l.concat(c),u=U.get(e,l);continue}if(l.length===0)break;if(!n){var p=P.next(l);if(U.has(e,p)){l=p,u=U.get(e,l);continue}}if(n&&l[l.length-1]!==0){var d=P.previous(l);l=d,u=U.get(e,l);continue}l=P.parent(l),u=U.get(e,l),s.add(u)}},parent(e,t){var r=P.parent(t),n=U.get(e,r);if(J.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 J.isText(e)?e.text:e.children.map(U.string).join("")},*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of U.nodes(e,t))J.isText(r)&&(yield[r,n])}};function dE(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 Ge(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Un={isNodeOperation(e){return Un.isOperation(e)&&e.type.endsWith("_node")},isOperation(e){if(!Qe(e))return!1;switch(e.type){case"insert_node":return P.isPath(e.path)&&U.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)&&Qe(e.properties);case"move_node":return P.isPath(e.path)&&P.isPath(e.newPath);case"remove_node":return P.isPath(e.path)&&U.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)&&Qe(e.properties)&&Qe(e.newProperties);case"set_selection":return e.properties===null&&M.isRange(e.newProperties)||e.newProperties===null&&M.isRange(e.properties)||Qe(e.properties)&&Qe(e.newProperties);case"split_node":return P.isPath(e.path)&&typeof e.position=="number"&&Qe(e.properties);default:return!1}},isOperationList(e){return Array.isArray(e)&&e.every(t=>Un.isOperation(t))},isSelectionOperation(e){return Un.isOperation(e)&&e.type.endsWith("_selection")},isTextOperation(e){return Un.isOperation(e)&&e.type.endsWith("_text")},inverse(e){switch(e.type){case"insert_node":return Ge(Ge({},e),{},{type:"remove_node"});case"insert_text":return Ge(Ge({},e),{},{type:"remove_text"});case"merge_node":return Ge(Ge({},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 Ge(Ge({},e),{},{path:t,newPath:r});var n=P.transform(r,e),o=P.transform(P.next(r),e);return Ge(Ge({},e),{},{path:n,newPath:o})}case"remove_node":return Ge(Ge({},e),{},{type:"insert_node"});case"remove_text":return Ge(Ge({},e),{},{type:"insert_text"});case"set_node":{var{properties:a,newProperties:s}=e;return Ge(Ge({},e),{},{properties:s,newProperties:a})}case"set_selection":{var{properties:l,newProperties:u}=e;return l==null?Ge(Ge({},e),{},{properties:u,newProperties:null}):u==null?Ge(Ge({},e),{},{properties:null,newProperties:l}):Ge(Ge({},e),{},{properties:u,newProperties:l})}case"split_node":return Ge(Ge({},e),{},{type:"merge_node",path:P.next(e.path)})}}},mE=new WeakMap,IY=e=>{var t=mE.get(e);if(t!==void 0)return t;if(!Qe(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||Qe(e.marks))&&(e.selection===null||M.isRange(e.selection))&&U.isNodeList(e.children)&&Un.isOperationList(e.operations);return mE.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 IY(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 kY={isSpan(e){return Array.isArray(e)&&e.length===2&&e.every(P.isPath)}};function hE(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 gE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ge={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 ge.compare(e,t)===1},isBefore(e,t){return ge.compare(e,t)===-1},equals(e,t){return e.offset===t.offset&&P.equals(e.path,t.path)},isPoint(e){return Qe(e)&&typeof e.offset=="number"&&P.isPath(e.path)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return ed(e,n=>{if(n===null)return null;var{affinity:o="forward"}=r,{path:a,offset:s}=n;switch(t.type){case"insert_node":case"move_node":{n.path=P.transform(a,t,r);break}case"insert_text":{P.equals(t.path,a)&&(t.offset<s||t.offset===s&&o==="forward")&&(n.offset+=t.text.length);break}case"merge_node":{P.equals(t.path,a)&&(n.offset+=t.position),n.path=P.transform(a,t,r);break}case"remove_text":{P.equals(t.path,a)&&t.offset<=s&&(n.offset-=Math.min(s-t.offset,t.text.length));break}case"remove_node":{if(P.equals(t.path,a)||P.isAncestor(t.path,a))return null;n.path=P.transform(a,t,r);break}case"split_node":{if(P.equals(t.path,a)){if(t.position===s&&o==null)return null;(t.position<s||t.position===s&&o==="forward")&&(n.offset-=t.position,n.path=P.transform(a,t,gE(gE({},r),{},{affinity:"forward"})))}else n.path=P.transform(a,t,r);break}}})}},vE=void 0,ct={setScrubber(e){vE=e},stringify(e){return JSON.stringify(e,vE)}},VY=["text"],NY=["anchor","focus"];function yE(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 _n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var J={equals(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:n=!1}=r;function o(a){var s=Kn(a,VY);return s}return LE(n?o(e):e,n?o(t):t)},isText(e){return Qe(e)&&typeof e.text=="string"},isTextList(e){return Array.isArray(e)&&e.every(t=>J.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=[_n({},e)];for(var n of t){var o=Kn(n,NY),[a,s]=M.edges(n),l=[],u=0,c=a.offset,p=s.offset;for(var d of r){var{length:h}=d.text,g=u;if(u+=h,c<=g&&u<=p){Object.assign(d,o),l.push(d);continue}if(c!==p&&(c===u||p===g)||c>u||p<g||p===g&&g!==0){l.push(d);continue}var v=d,m=void 0,b=void 0;if(p<u){var y=p-g;b=_n(_n({},v),{},{text:v.text.slice(y)}),v=_n(_n({},v),{},{text:v.text.slice(0,y)})}if(c>g){var x=c-g;m=_n(_n({},v),{},{text:v.text.slice(0,x)}),v=_n(_n({},v),{},{text:v.text.slice(x)})}Object.assign(v,o),m&&l.push(m),l.push(v),b&&l.push(b)}r=l}return r}},R2=e=>e.selection?e.selection:e.children.length>0?C.end(e,[]):[0],rs=(e,t)=>{var[r]=C.node(e,t);return n=>n===r},F2=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=!r,o=r?jY(t):t,a=ue.None,s=ue.None,l=0,u=null,c=null;for(var p of o){var d=p.codePointAt(0);if(!d)break;var h=tJ(p,d);if([a,s]=n?[s,h]:[h,a],ts(a,ue.ZWJ)&&ts(s,ue.ExtPict)&&(n?u=bE(t.substring(0,l)):u=bE(t.substring(0,t.length-l)),!u)||ts(a,ue.RI)&&ts(s,ue.RI)&&(c!==null?c=!c:n?c=!0:c=aJ(t.substring(0,t.length-l)),!c)||a!==ue.None&&s!==ue.None&&nJ(a,s))break;l+=p.length}return l||1},LY=/\s/,$Y=/[\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]/,zY=/['\u2018\u2019]/,GY=function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=0,o=!1;t.length>0;){var a=F2(t,r),[s,l]=B2(t,a,r);if(HY(s,l,r))o=!0,n+=a;else if(!o)n+=a;else break;t=l}return n},B2=(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)]},HY=function e(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(LY.test(t))return!1;if(zY.test(t)){var o=F2(r,n),[a,s]=B2(r,o,n);if(e(a,s,n))return!0}return!$Y.test(t)},jY=function*(t){for(var r=t.length-1,n=0;n<t.length;n++){var o=t.charAt(r-n);if(_Y(o.charCodeAt(0))){var a=t.charAt(r-n-1);if(WY(a.charCodeAt(0))){yield a+o,n++;continue}}yield o}},WY=e=>e>=55296&&e<=56319,_Y=e=>e>=56320&&e<=57343,ue;(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"})(ue||(ue={}));var UY=/^(?:[\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])$/,KY=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,qY=/^(?:[\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])$/,XY=/^[\u1100-\u115F\uA960-\uA97C]$/,YY=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,JY=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,ZY=/^[\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]$/,QY=/^[\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]$/,eJ=/^(?:[\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])$/,tJ=(e,t)=>{var r=ue.Any;return e.search(UY)!==-1&&(r|=ue.Extend),t===8205&&(r|=ue.ZWJ),t>=127462&&t<=127487&&(r|=ue.RI),e.search(KY)!==-1&&(r|=ue.Prepend),e.search(qY)!==-1&&(r|=ue.SpacingMark),e.search(XY)!==-1&&(r|=ue.L),e.search(YY)!==-1&&(r|=ue.V),e.search(JY)!==-1&&(r|=ue.T),e.search(ZY)!==-1&&(r|=ue.LV),e.search(QY)!==-1&&(r|=ue.LVT),e.search(eJ)!==-1&&(r|=ue.ExtPict),r};function ts(e,t){return(e&t)!==0}var rJ=[[ue.L,ue.L|ue.V|ue.LV|ue.LVT],[ue.LV|ue.V,ue.V|ue.T],[ue.LVT|ue.T,ue.T],[ue.Any,ue.Extend|ue.ZWJ],[ue.Any,ue.SpacingMark],[ue.Prepend,ue.Any],[ue.ZWJ,ue.ExtPict],[ue.RI,ue.RI]];function nJ(e,t){return rJ.findIndex(r=>ts(e,r[0])&&ts(t,r[1]))===-1}var oJ=/(?:[\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$/,bE=e=>e.search(oJ)!==-1,iJ=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,aJ=e=>{var t=e.match(iJ);if(t===null)return!1;var r=t[0].length/2;return r%2===1},sJ={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=R2(e)}=r;if(P.isPath(o)&&(o=C.range(e,o)),M.isRange(o))if(M.isCollapsed(o))o=o.anchor;else{var a=M.end(o);if(!n&&C.void(e,{at:a}))return;var s=M.start(o),l=C.pointRef(e,s),u=C.pointRef(e,a);L.delete(e,{at:o,voids:n});var c=l.unref(),p=u.unref();o=c||p,L.setSelection(e,{anchor:o,focus:o})}if(!(!n&&C.void(e,{at:o})||C.elementReadOnly(e,{at:o}))){var{path:d,offset:h}=o;t.length>0&&e.apply({type:"insert_text",path:d,offset:h,text:t})}})}};function CE(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?CE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):CE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var L=td(td(td(td({},TY),PY),AY),sJ),lJ=(e,t)=>{for(var r of C.pathRefs(e))wY.transform(r,t);for(var n of C.pointRefs(e))SY.transform(n,t);for(var o of C.rangeRefs(e))DY.transform(o,t);var a=rd.get(e)||[],s=nd.get(e)||new Set,l,u,c=v=>{if(v){var m=v.join(",");u.has(m)||(u.add(m),l.push(v))}};if(P.operationCanTransformPath(t)){l=[],u=new Set;for(var p of a){var d=P.transform(p,t);c(d)}}else l=a,u=s;var h=e.getDirtyPaths(t);for(var g of h)c(g);rd.set(e,l),nd.set(e,u),L.transform(e,t),e.operations.push(t),C.normalize(e,{operation:t}),t.type==="set_selection"&&(e.marks=null),nu.get(e)||(nu.set(e,!0),Promise.resolve().then(()=>{nu.set(e,!1),e.onChange({operation:t}),e.operations=[]}))},uJ=(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,a=P.levels(o),s=J.isText(n)?[]:Array.from(U.nodes(n),k=>{var[,j]=k;return o.concat(j)});return[...a,...s]}case"merge_node":{var{path:l}=t,u=P.ancestors(l),c=P.previous(l);return[...u,c]}case"move_node":{var{path:p,newPath:d}=t;if(P.equals(p,d))return[];var h=[],g=[];for(var v of P.ancestors(p)){var m=P.transform(v,t);h.push(m)}for(var b of P.ancestors(d)){var y=P.transform(b,t);g.push(y)}var x=g[g.length-1],w=d[d.length-1],D=x.concat(w);return[...h,...g,D]}case"remove_node":{var{path:T}=t,S=P.ancestors(T);return[...S]}case"split_node":{var{path:E}=t,R=P.levels(E),B=P.next(E);return[...R,B]}default:return[]}},cJ=e=>{var{selection:t}=e;return t?U.fragment(e,t):[]},fJ=(e,t)=>{var[r,n]=t;if(!J.isText(r)){if(K.isElement(r)&&r.children.length===0){var o={text:""};L.insertNodes(e,o,{at:n.concat(0),voids:!0});return}for(var a=C.isEditor(r)?!1:K.isElement(r)&&(e.isInline(r)||r.children.length===0||J.isText(r.children[0])||e.isInline(r.children[0])),s=0,l=0;l<r.children.length;l++,s++){var u=U.get(e,n);if(!J.isText(u)){var c=u.children[s],p=u.children[s-1],d=l===r.children.length-1,h=J.isText(c)||K.isElement(c)&&e.isInline(c);if(h!==a)L.removeNodes(e,{at:n.concat(s),voids:!0}),s--;else if(K.isElement(c)){if(e.isInline(c)){if(p==null||!J.isText(p)){var g={text:""};L.insertNodes(e,g,{at:n.concat(s),voids:!0}),s++}else if(d){var v={text:""};L.insertNodes(e,v,{at:n.concat(s+1),voids:!0}),s++}}}else p!=null&&J.isText(p)&&(J.equals(c,p,{loose:!0})?(L.mergeNodes(e,{at:n.concat(s),voids:!0}),s--):p.text===""?(L.removeNodes(e,{at:n.concat(s-1),voids:!0}),s--):c.text===""&&(L.removeNodes(e,{at:n.concat(s),voids:!0}),s--))}}}},pJ=(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},dJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:o="lowest",at:a=t.selection,match:s}=r;if(a){var l=C.path(t,a),u=o==="lowest";for(var[c,p]of C.levels(t,{at:l,voids:n,match:s,reverse:u}))if(!J.isText(c)){if(M.isRange(a)){if(P.isAncestor(p,a.anchor.path)&&P.isAncestor(p,a.focus.path))return[c,p]}else if(!P.equals(l,p))return[c,p]}}};function xE(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 wE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var mJ=(e,t,r)=>{var{selection:n}=e;if(n){var o=(d,h)=>{if(!J.isText(d))return!1;var[g,v]=C.parent(e,h);return!e.isVoid(g)||e.markableVoid(g)},a=M.isExpanded(n),s=!1;if(!a){var[l,u]=C.node(e,n);if(l&&o(l,u)){var[c]=C.parent(e,u);s=c&&e.markableVoid(c)}}if(a||s)L.setNodes(e,{[t]:r},{match:o,split:!0,voids:!0});else{var p=wE(wE({},C.marks(e)||{}),{},{[t]:r});e.marks=p,nu.get(e)||e.onChange()}}};function SE(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 DE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?SE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):SE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var hJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.point(t,r,{edge:"end"}),a=C.end(t,[]),s={anchor:o,focus:a},{distance:l=1}=n,u=0,c;for(var p of C.positions(t,DE(DE({},n),{},{at:s}))){if(u>l)break;u!==0&&(c=p),u++}return c};function EE(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 TE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?EE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):EE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var gJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.start(t,[]),a=C.point(t,r,{edge:"start"}),s={anchor:o,focus:a},{distance:l=1}=n,u=0,c;for(var p of C.positions(t,TE(TE({},n),{},{at:s,reverse:!0}))){if(u>l)break;u!==0&&(c=p),u++}return c},vJ=(e,t)=>{var{selection:r}=e;r&&M.isCollapsed(r)&&L.delete(e,{unit:t,reverse:!0})},yJ=(e,t)=>{var{selection:r}=e;r&&M.isCollapsed(r)&&L.delete(e,{unit:t})},bJ=function(t){var{direction:r="forward"}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t;n&&M.isExpanded(n)&&L.delete(t,{reverse:r==="backward"})},CJ=(e,t)=>[C.start(e,t),C.end(e,t)];function PE(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 AE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?PE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):PE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var xJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,AE(AE({},r),{},{match:n=>K.isElement(n)&&C.isElementReadOnly(t,n)}))},wJ=(e,t)=>C.point(e,t,{edge:"end"}),SJ=(e,t)=>{var r=C.path(e,t,{edge:"start"});return C.node(e,r)},DJ=(e,t)=>{var r=C.range(e,t);return U.fragment(e,r)};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 FE(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){Gt(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 EJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,FE(FE({},r),{},{match:n=>K.isElement(n)&&C.isVoid(t,n)}))},TJ=(e,t)=>t.children.some(r=>K.isElement(r)&&C.isBlock(e,r)),PJ=(e,t)=>t.children.some(r=>J.isText(r)||C.isInline(e,r)),AJ=(e,t)=>U.has(e,t),RJ=(e,t)=>t.children.every(r=>J.isText(r)),FJ=e=>{L.splitNodes(e,{always:!0})},BJ=(e,t,r)=>{L.insertNodes(e,t,r)},OJ=e=>{L.splitNodes(e,{always:!0})};function BE(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 MJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?BE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):BE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var IJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o,marks:a}=t;if(o){if(a){var s=MJ({text:r},a);L.insertNodes(t,s,{at:n.at,voids:n.voids})}else L.insertText(t,r,n);t.marks=null}},kJ=(e,t)=>!e.isInline(t),VJ=(e,t,r)=>C.isStart(e,t,r)||C.isEnd(e,t,r),NJ=(e,t)=>{var{children:r}=t,[n]=r;return r.length===0||r.length===1&&J.isText(n)&&n.text===""&&!e.isVoid(t)},LJ=(e,t,r)=>{var n=C.end(e,r);return ge.equals(t,n)},$J=e=>{var t=NE.get(e);return t===void 0?!0:t},zJ=(e,t,r)=>{if(t.offset!==0)return!1;var n=C.start(e,r);return ge.equals(t,n)},GJ=(e,t)=>{var r=C.path(e,t,{edge:"end"});return C.node(e,r)},HJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=U.leaf(t,o);return[a,o]};function*jJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,reverse:n=!1,voids:o=!1}=t,{match:a}=t;if(a==null&&(a=()=>!0),!!r){var s=[],l=C.path(e,r);for(var[u,c]of U.levels(e,l))if(a(u,c)&&(s.push([u,c]),!o&&K.isElement(u)&&C.isVoid(e,u)))break;n&&s.reverse(),yield*s}}var WJ=["text"],_J=["text"],UJ=function(t){var{marks:r,selection:n}=t;if(!n)return null;if(r)return r;if(M.isExpanded(n)){var[o]=C.nodes(t,{match:J.isText});if(o){var[a]=o,s=Kn(a,WJ);return s}else return{}}var{anchor:l}=n,{path:u}=l,[c]=C.leaf(t,u);if(l.offset===0){var p=C.previous(t,{at:u,match:J.isText}),d=C.above(t,{match:y=>K.isElement(y)&&C.isVoid(t,y)&&t.markableVoid(y)});if(!d){var h=C.above(t,{match:y=>K.isElement(y)&&C.isBlock(t,y)});if(p&&h){var[g,v]=p,[,m]=h;P.isAncestor(m,v)&&(c=g)}}}var b=Kn(c,_J);return b},KJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var l=C.after(t,s,{voids:o});if(l){var[,u]=C.last(t,[]),c=[l.path,u];if(P.isPath(s)&&s.length===0)throw new Error("Cannot get the next node from the root node!");if(a==null)if(P.isPath(s)){var[p]=C.parent(t,s);a=h=>p.children.includes(h)}else a=()=>!0;var[d]=C.nodes(t,{at:c,match:a,mode:n,voids:o});return d}}},qJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=U.get(t,o);return[a,o]};function*XJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,mode:n="all",universal:o=!1,reverse:a=!1,voids:s=!1,ignoreNonSelectable:l=!1}=t,{match:u}=t;if(u||(u=()=>!0),!!r){var c,p;if(kY.isSpan(r))c=r[0],p=r[1];else{var d=C.path(e,r,{edge:"start"}),h=C.path(e,r,{edge:"end"});c=a?h:d,p=a?d:h}var g=U.nodes(e,{reverse:a,from:c,to:p,pass:D=>{var[T]=D;return K.isElement(T)?!!(!s&&(C.isVoid(e,T)||C.isElementReadOnly(e,T))||l&&!C.isSelectable(e,T)):!1}}),v=[],m;for(var[b,y]of g)if(!(l&&K.isElement(b)&&!C.isSelectable(e,b))){var x=m&&P.compare(y,m[1])===0;if(!(n==="highest"&&x)){if(!u(b,y)){if(o&&!x&&J.isText(b))return;continue}if(n==="lowest"&&x){m=[b,y];continue}var w=n==="lowest"?m:[b,y];w&&(o?v.push(w):yield w),m=[b,y]}}n==="lowest"&&m&&(o?v.push(m):yield m),o&&(yield*v)}}var YJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1,operation:o}=r,a=p=>rd.get(p)||[],s=p=>nd.get(p)||new Set,l=p=>{var d=a(p).pop(),h=d.join(",");return s(p).delete(h),d};if(C.isNormalizing(t)){if(n){var u=Array.from(U.nodes(t),p=>{var[,d]=p;return d}),c=new Set(u.map(p=>p.join(",")));rd.set(t,u),nd.set(t,c)}a(t).length!==0&&C.withoutNormalizing(t,()=>{for(var p of a(t))if(U.has(t,p)){var d=C.node(t,p),[h,g]=d;K.isElement(h)&&h.children.length===0&&t.normalizeNode(d,{operation:o})}for(var v=a(t),m=v.length,b=0;v.length!==0;){if(!t.shouldNormalize({dirtyPaths:v,iteration:b,initialDirtyPathsLength:m,operation:o}))return;var y=l(t);if(U.has(t,y)){var x=C.node(t,y);t.normalizeNode(x,{operation:o})}b++,v=a(t)}})}},JJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=P.parent(o),s=C.node(t,a);return s},ZJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:l}=a,u=C.pathRefs(t);return u.delete(a),a.current=null,l}},s=C.pathRefs(t);return s.add(a),a},QJ=e=>{var t=aE.get(e);return t||(t=new Set,aE.set(e,t)),t},eZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:o,edge:a}=n;if(P.isPath(r)){if(a==="start"){var[,s]=U.first(t,r);r=s}else if(a==="end"){var[,l]=U.last(t,r);r=l}}return M.isRange(r)&&(a==="start"?r=M.start(r):a==="end"?r=M.end(r):r=P.common(r.anchor.path,r.focus.path)),ge.isPoint(r)&&(r=r.path),o!=null&&(r=r.slice(0,o)),r},tZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:l}=a,u=C.pointRefs(t);return u.delete(a),a.current=null,l}},s=C.pointRefs(t);return s.add(a),a},rZ=e=>{var t=sE.get(e);return t||(t=new Set,sE.set(e,t)),t},nZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:o="start"}=n;if(P.isPath(r)){var a;if(o==="end"){var[,s]=U.last(t,r);a=s}else{var[,l]=U.first(t,r);a=l}var u=U.get(t,a);if(!J.isText(u))throw new Error("Cannot get the ".concat(o," point in the node at path [").concat(r,"] because it has no ").concat(o," text node."));return{path:a,offset:o==="end"?u.text.length:0}}if(M.isRange(r)){var[c,p]=M.edges(r);return o==="start"?c:p}return r};function*oZ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,unit:n="offset",reverse:o=!1,voids:a=!1,ignoreNonSelectable:s=!1}=t;if(!r)return;var l=C.range(e,r),[u,c]=M.edges(l),p=o?c:u,d=!1,h="",g=0,v=0,m=0;for(var[b,y]of C.nodes(e,{at:r,reverse:o,voids:a,ignoreNonSelectable:s})){if(K.isElement(b)){if(!a&&(e.isVoid(b)||e.isElementReadOnly(b))){yield C.start(e,y);continue}if(e.isInline(b))continue;if(C.hasInlines(e,b)){var x=P.isAncestor(y,c.path)?c:C.end(e,y),w=P.isAncestor(y,u.path)?u:C.start(e,y);h=C.string(e,{anchor:w,focus:x},{voids:a}),d=!0}}if(J.isText(b)){var D=P.equals(y,p.path);for(D?(v=o?p.offset:b.text.length-p.offset,m=p.offset):(v=b.text.length,m=o?v:0),(D||d||n==="offset")&&(yield{path:y,offset:m},d=!1);;){if(g===0){if(h==="")break;g=T(h,n,o),h=B2(h,g,o)[1]}if(m=o?m-g:m+g,v=v-g,v<0){g=-v;break}g=0,yield{path:y,offset:m}}}}function T(S,E,R){return E==="character"?F2(S,R):E==="word"?GY(S,R):E==="line"||E==="block"?S.length:1}}var iZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var l=C.before(t,s,{voids:o});if(l){var[,u]=C.first(t,[]),c=[l.path,u];if(P.isPath(s)&&s.length===0)throw new Error("Cannot get the previous node from the root node!");if(a==null)if(P.isPath(s)){var[p]=C.parent(t,s);a=h=>p.children.includes(h)}else a=()=>!0;var[d]=C.nodes(t,{reverse:!0,at:c,match:a,mode:n,voids:o});return d}}},aZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:l}=a,u=C.rangeRefs(t);return u.delete(a),a.current=null,l}},s=C.rangeRefs(t);return s.add(a),a},sZ=e=>{var t=lE.get(e);return t||(t=new Set,lE.set(e,t)),t},lZ=(e,t,r)=>{if(M.isRange(t)&&!r)return t;var n=C.start(e,t),o=C.end(e,r||t);return{anchor:n,focus:o}};function OE(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 uZ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?OE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):OE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var cZ=(e,t)=>{var{selection:r}=e;if(r){var n=(p,d)=>{if(!J.isText(p))return!1;var[h,g]=C.parent(e,d);return!e.isVoid(h)||e.markableVoid(h)},o=M.isExpanded(r),a=!1;if(!o){var[s,l]=C.node(e,r);if(s&&n(s,l)){var[u]=C.parent(e,l);a=u&&e.markableVoid(u)}}if(o||a)L.unsetNodes(e,t,{match:n,split:!0,voids:!0});else{var c=uZ({},C.marks(e)||{});delete c[t],e.marks=c,nu.get(e)||e.onChange()}}},fZ=(e,t)=>{NE.set(e,t)},pZ=(e,t)=>C.point(e,t,{edge:"start"}),dZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,a=C.range(t,r),[s,l]=M.edges(a),u="";for(var[c,p]of C.nodes(t,{at:a,match:J.isText,voids:o})){var d=c.text;P.equals(p,l.path)&&(d=d.slice(0,l.offset)),P.equals(p,s.path)&&(d=d.slice(s.offset)),u+=d}return u},mZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,[a,s]=M.edges(r);if(a.offset!==0||s.offset!==0||M.isCollapsed(r)||P.hasPrevious(s.path))return r;var l=C.above(t,{at:s,match:v=>K.isElement(v)&&C.isBlock(t,v),voids:o}),u=l?l[1]:[],c=C.start(t,a),p={anchor:c,focus:s},d=!0;for(var[h,g]of C.nodes(t,{at:p,match:J.isText,reverse:!0,voids:o})){if(d){d=!1;continue}if(h.text!==""||P.isBefore(g,u)){s={path:g,offset:h.text.length};break}}return{anchor:a,focus:s}},hZ=(e,t)=>{var r=C.isNormalizing(e);C.setNormalizing(e,!1);try{t()}finally{C.setNormalizing(e,r)}C.normalize(e)},gZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var n,o,{reverse:a=!1,unit:s="character",distance:l=1,voids:u=!1}=r,{at:c=t.selection,hanging:p=!1}=r;if(c){var d=!1;if(M.isRange(c)&&M.isCollapsed(c)&&(d=!0,c=c.anchor),ge.isPoint(c)){var h=C.void(t,{at:c,mode:"highest"});if(!u&&h){var[,g]=h;c=g}else{var v={unit:s,distance:l},m=a?C.before(t,c,v)||C.start(t,[]):C.after(t,c,v)||C.end(t,[]);c={anchor:c,focus:m},p=!0}}if(P.isPath(c)){L.removeNodes(t,{at:c,voids:u});return}if(!M.isCollapsed(c)){if(!p){var[,b]=M.edges(c),y=C.end(t,[]);ge.equals(b,y)||(c=C.unhangRange(t,c,{voids:u}))}var[x,w]=M.edges(c),D=C.above(t,{match:we=>K.isElement(we)&&C.isBlock(t,we),at:x,voids:u}),T=C.above(t,{match:we=>K.isElement(we)&&C.isBlock(t,we),at:w,voids:u}),S=D&&T&&!P.equals(D[1],T[1]),E=P.equals(x.path,w.path),R=u?null:(n=C.void(t,{at:x,mode:"highest"}))!==null&&n!==void 0?n:C.elementReadOnly(t,{at:x,mode:"highest"}),B=u?null:(o=C.void(t,{at:w,mode:"highest"}))!==null&&o!==void 0?o:C.elementReadOnly(t,{at:w,mode:"highest"});if(R){var k=C.before(t,x);k&&D&&P.isAncestor(D[1],k.path)&&(x=k)}if(B){var j=C.after(t,w);j&&T&&P.isAncestor(T[1],j.path)&&(w=j)}var I=[],V;for(var N of C.nodes(t,{at:c,voids:u})){var[H,Z]=N;V&&P.compare(Z,V)===0||(!u&&K.isElement(H)&&(C.isVoid(t,H)||C.isElementReadOnly(t,H))||!P.isCommon(Z,x.path)&&!P.isCommon(Z,w.path))&&(I.push(N),V=Z)}var Q=Array.from(I,we=>{var[,wt]=we;return C.pathRef(t,wt)}),X=C.pointRef(t,x),G=C.pointRef(t,w),re="";if(!E&&!R){var de=X.current,[pe]=C.leaf(t,de),{path:je}=de,{offset:A}=x,_=pe.text.slice(A);_.length>0&&(t.apply({type:"remove_text",path:je,offset:A,text:_}),re=_)}if(Q.reverse().map(we=>we.unref()).filter(we=>we!==null).forEach(we=>L.removeNodes(t,{at:we,voids:u})),!B){var z=G.current,[W]=C.leaf(t,z),{path:se}=z,oe=E?x.offset:0,me=W.text.slice(oe,w.offset);me.length>0&&(t.apply({type:"remove_text",path:se,offset:oe,text:me}),re=me)}!E&&S&&G.current&&X.current&&L.mergeNodes(t,{at:G.current,hanging:!0,voids:u}),d&&a&&s==="character"&&re.length>1&&re.match(/[\u0E00-\u0E7F]+/)&&L.insertText(t,re.slice(0,re.length-l));var xe=X.unref(),De=G.unref(),Te=a?xe||De:De||xe;r.at==null&&Te&&L.select(t,Te)}}})},vZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1}=n,{at:s=R2(t)}=n;if(r.length){if(M.isRange(s))if(o||(s=C.unhangRange(t,s,{voids:a})),M.isCollapsed(s))s=s.anchor;else{var[,l]=M.edges(s);if(!a&&C.void(t,{at:l}))return;var u=C.pointRef(t,l);L.delete(t,{at:s}),s=u.unref()}else P.isPath(s)&&(s=C.start(t,s));if(!(!a&&C.void(t,{at:s}))){var c=C.above(t,{at:s,match:A=>K.isElement(A)&&C.isInline(t,A),mode:"highest",voids:a});if(c){var[,p]=c;if(C.isEnd(t,s,p)){var d=C.after(t,p);s=d}else if(C.isStart(t,s,p)){var h=C.before(t,p);s=h}}var g=C.above(t,{match:A=>K.isElement(A)&&C.isBlock(t,A),at:s,voids:a}),[,v]=g,m=C.isStart(t,s,v),b=C.isEnd(t,s,v),y=m&&b,x=!m||m&&b,w=!b,[,D]=U.first({children:r},[]),[,T]=U.last({children:r},[]),S=[],E=A=>{var[_,z]=A,W=z.length===0;return W?!1:y?!0:!(x&&P.isAncestor(z,D)&&K.isElement(_)&&!t.isVoid(_)&&!t.isInline(_)||w&&P.isAncestor(z,T)&&K.isElement(_)&&!t.isVoid(_)&&!t.isInline(_))};for(var R of U.nodes({children:r},{pass:E}))E(R)&&S.push(R);var B=[],k=[],j=[],I=!0,V=!1;for(var[N]of S)K.isElement(N)&&!t.isInline(N)?(I=!1,V=!0,k.push(N)):I?B.push(N):j.push(N);var[H]=C.nodes(t,{at:s,match:A=>J.isText(A)||C.isInline(t,A),mode:"highest",voids:a}),[,Z]=H,Q=C.isStart(t,s,Z),X=C.isEnd(t,s,Z),G=C.pathRef(t,b&&!j.length?P.next(v):v),re=C.pathRef(t,X?P.next(Z):Z);L.splitNodes(t,{at:s,match:A=>V?K.isElement(A)&&C.isBlock(t,A):J.isText(A)||C.isInline(t,A),mode:V?"lowest":"highest",always:V&&(!m||B.length>0)&&(!b||j.length>0),voids:a});var de=C.pathRef(t,!Q||Q&&X?P.next(Z):Z);if(L.insertNodes(t,B,{at:de.current,match:A=>J.isText(A)||C.isInline(t,A),mode:"highest",voids:a}),y&&!B.length&&k.length&&!j.length&&L.delete(t,{at:v,voids:a}),L.insertNodes(t,k,{at:G.current,match:A=>K.isElement(A)&&C.isBlock(t,A),mode:"lowest",voids:a}),L.insertNodes(t,j,{at:re.current,match:A=>J.isText(A)||C.isInline(t,A),mode:"highest",voids:a}),!n.at){var pe;if(j.length>0&&re.current?pe=P.previous(re.current):k.length>0&&G.current?pe=P.previous(G.current):de.current&&(pe=P.previous(de.current)),pe){var je=C.end(t,pe);L.select(t,je)}}de.unref(),G.unref(),re.unref()}}})},yZ=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")L.select(t,o.anchor);else if(n==="focus")L.select(t,o.focus);else if(n==="start"){var[a]=M.edges(o);L.select(t,a)}else if(n==="end"){var[,s]=M.edges(o);L.select(t,s)}}else return},bZ=e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},CZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t,{distance:o=1,unit:a="character",reverse:s=!1}=r,{edge:l=null}=r;if(n){l==="start"&&(l=M.isBackward(n)?"focus":"anchor"),l==="end"&&(l=M.isBackward(n)?"anchor":"focus");var{anchor:u,focus:c}=n,p={distance:o,unit:a,ignoreNonSelectable:!0},d={};if(l==null||l==="anchor"){var h=s?C.before(t,u,p):C.after(t,u,p);h&&(d.anchor=h)}if(l==null||l==="focus"){var g=s?C.before(t,c,p):C.after(t,c,p);g&&(d.focus=g)}L.setSelection(t,d)}},xZ=(e,t)=>{var{selection:r}=e;if(t=C.range(e,t),r){L.setSelection(e,t);return}if(!M.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(ct.stringify(t)));e.apply({type:"set_selection",properties:r,newProperties:t})};function ME(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 IE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ME(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ME(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var wZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o}=t,{edge:a="both"}=n;if(o){a==="start"&&(a=M.isBackward(o)?"focus":"anchor"),a==="end"&&(a=M.isBackward(o)?"anchor":"focus");var{anchor:s,focus:l}=o,u=a==="anchor"?s:l;L.setSelection(t,{[a==="anchor"?"anchor":"focus"]:IE(IE({},u),r)})}},SZ=(e,t)=>{var{selection:r}=e,n={},o={};if(r){for(var a in t)(a==="anchor"&&t.anchor!=null&&!ge.equals(t.anchor,r.anchor)||a==="focus"&&t.focus!=null&&!ge.equals(t.focus,r.focus)||a!=="anchor"&&a!=="focus"&&t[a]!==r[a])&&(n[a]=r[a],o[a]=t[a]);Object.keys(n).length>0&&e.apply({type:"set_selection",properties:n,newProperties:o})}},DZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1,mode:s="lowest"}=n,{at:l,match:u,select:c}=n;if(U.isNode(r)&&(r=[r]),r.length!==0){var[p]=r;if(l||(l=R2(t),c=!0),c==null&&(c=!1),M.isRange(l))if(o||(l=C.unhangRange(t,l,{voids:a})),M.isCollapsed(l))l=l.anchor;else{var[,d]=M.edges(l),h=C.pointRef(t,d);L.delete(t,{at:l}),l=h.unref()}if(ge.isPoint(l)){u==null&&(J.isText(p)?u=E=>J.isText(E):t.isInline(p)?u=E=>J.isText(E)||C.isInline(t,E):u=E=>K.isElement(E)&&C.isBlock(t,E));var[g]=C.nodes(t,{at:l.path,match:u,mode:s,voids:a});if(g){var[,v]=g,m=C.pathRef(t,v),b=C.isEnd(t,l,v);L.splitNodes(t,{at:l,match:u,mode:s,voids:a});var y=m.unref();l=b?P.next(y):y}else return}var x=P.parent(l),w=l[l.length-1];if(!(!a&&C.void(t,{at:x}))){for(var D of r){var T=x.concat(w);w++,t.apply({type:"insert_node",path:T,node:D}),l=P.next(l)}if(l=P.previous(l),c){var S=C.end(t,l);S&&L.select(t,S)}}}})},EZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{at:n=t.selection,mode:o="lowest",voids:a=!1}=r,{match:s}=r;if(s==null&&(s=P.isPath(n)?rs(t,n):D=>K.isElement(D)&&C.isBlock(t,D)),!!n){var l=C.nodes(t,{at:n,match:s,mode:o,voids:a}),u=Array.from(l,D=>{var[,T]=D;return C.pathRef(t,T)});for(var c of u){var p=c.unref();if(p.length<2)throw new Error("Cannot lift node at a path [".concat(p,"] because it has a depth of less than `2`."));var d=C.node(t,P.parent(p)),[h,g]=d,v=p[p.length-1],{length:m}=h.children;if(m===1){var b=P.next(g);L.moveNodes(t,{at:p,to:b,voids:a}),L.removeNodes(t,{at:g,voids:a})}else if(v===0)L.moveNodes(t,{at:p,to:g,voids:a});else if(v===m-1){var y=P.next(g);L.moveNodes(t,{at:p,to:y,voids:a})}else{var x=P.next(p),w=P.next(g);L.splitNodes(t,{at:x,voids:a}),L.moveNodes(t,{at:p,to:w,voids:a})}}}})},TZ=["text"],PZ=["children"],$E=(e,t)=>{if(K.isElement(t)){var r=t;return C.isVoid(e,t)?!0:r.children.length===1?$E(e,r.children[0]):!1}else return!C.isEditor(t)},AZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{match:n,at:o=t.selection}=r,{hanging:a=!1,voids:s=!1,mode:l="lowest"}=r;if(o){if(n==null)if(P.isPath(o)){var[u]=C.parent(t,o);n=k=>u.children.includes(k)}else n=k=>K.isElement(k)&&C.isBlock(t,k);if(!a&&M.isRange(o)&&(o=C.unhangRange(t,o,{voids:s})),M.isRange(o))if(M.isCollapsed(o))o=o.anchor;else{var[,c]=M.edges(o),p=C.pointRef(t,c);L.delete(t,{at:o}),o=p.unref(),r.at==null&&L.select(t,o)}var[d]=C.nodes(t,{at:o,match:n,voids:s,mode:l}),h=C.previous(t,{at:o,match:n,voids:s,mode:l});if(!(!d||!h)){var[g,v]=d,[m,b]=h;if(!(v.length===0||b.length===0)){var y=P.next(b),x=P.common(v,b),w=P.isSibling(v,b),D=Array.from(C.levels(t,{at:v}),k=>{var[j]=k;return j}).slice(x.length).slice(0,-1),T=C.above(t,{at:v,mode:"highest",match:k=>D.includes(k)&&$E(t,k)}),S=T&&C.pathRef(t,T[1]),E,R;if(J.isText(g)&&J.isText(m)){var B=Kn(g,TZ);R=m.text.length,E=B}else if(K.isElement(g)&&K.isElement(m)){var B=Kn(g,PZ);R=m.children.length,E=B}else throw new Error("Cannot merge the node at path [".concat(v,"] with the previous sibling because it is not the same kind: ").concat(ct.stringify(g)," ").concat(ct.stringify(m)));w||L.moveNodes(t,{at:v,to:y,voids:s}),S&&L.removeNodes(t,{at:S.current,voids:s}),K.isElement(m)&&C.isEmpty(t,m)||J.isText(m)&&m.text===""&&b[b.length-1]!==0?L.removeNodes(t,{at:b,voids:s}):t.apply({type:"merge_node",path:y,position:R,properties:E}),S&&S.unref()}}}})},RZ=(e,t)=>{C.withoutNormalizing(e,()=>{var{to:r,at:n=e.selection,mode:o="lowest",voids:a=!1}=t,{match:s}=t;if(n){s==null&&(s=P.isPath(n)?rs(e,n):g=>K.isElement(g)&&C.isBlock(e,g));var l=C.pathRef(e,r),u=C.nodes(e,{at:n,match:s,mode:o,voids:a}),c=Array.from(u,g=>{var[,v]=g;return C.pathRef(e,v)});for(var p of c){var d=p.unref(),h=l.current;d.length!==0&&e.apply({type:"move_node",path:d,newPath:h}),l.current&&P.isSibling(h,d)&&P.isAfter(h,d)&&(l.current=P.next(l.current))}l.unref()}})},FZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{hanging:n=!1,voids:o=!1,mode:a="lowest"}=r,{at:s=t.selection,match:l}=r;if(s){l==null&&(l=P.isPath(s)?rs(t,s):g=>K.isElement(g)&&C.isBlock(t,g)),!n&&M.isRange(s)&&(s=C.unhangRange(t,s,{voids:o}));var u=C.nodes(t,{at:s,match:l,mode:a,voids:o}),c=Array.from(u,g=>{var[,v]=g;return C.pathRef(t,v)});for(var p of c){var d=p.unref();if(d){var[h]=C.node(t,d);t.apply({type:"remove_node",path:d,node:h})}}}})},BZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{match:o,at:a=t.selection,compare:s,merge:l}=n,{hanging:u=!1,mode:c="lowest",split:p=!1,voids:d=!1}=n;if(a){if(o==null&&(o=P.isPath(a)?rs(t,a):R=>K.isElement(R)&&C.isBlock(t,R)),!u&&M.isRange(a)&&(a=C.unhangRange(t,a,{voids:d})),p&&M.isRange(a)){if(M.isCollapsed(a)&&C.leaf(t,a.anchor)[0].text.length>0)return;var h=C.rangeRef(t,a,{affinity:"inward"}),[g,v]=M.edges(a),m=c==="lowest"?"lowest":"highest",b=C.isEnd(t,v,v.path);L.splitNodes(t,{at:v,match:o,mode:m,voids:d,always:!b});var y=C.isStart(t,g,g.path);L.splitNodes(t,{at:g,match:o,mode:m,voids:d,always:!y}),a=h.unref(),n.at==null&&L.select(t,a)}s||(s=(R,B)=>R!==B);for(var[x,w]of C.nodes(t,{at:a,match:o,mode:c,voids:d})){var D={},T={};if(w.length!==0){var S=!1;for(var E in r)E==="children"||E==="text"||s(r[E],x[E])&&(S=!0,x.hasOwnProperty(E)&&(D[E]=x[E]),l?r[E]!=null&&(T[E]=l(x[E],r[E])):r[E]!=null&&(T[E]=r[E]));S&&t.apply({type:"set_node",path:w,properties:D,newProperties:T})}}}})},OZ=(e,t)=>{if(M.isCollapsed(t))return t.anchor;var[,r]=M.edges(t),n=C.pointRef(e,r);return L.delete(e,{at:t}),n.unref()},MZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection,height:l=0,always:u=!1}=r;if(a==null&&(a=G=>K.isElement(G)&&C.isBlock(t,G)),M.isRange(s)&&(s=OZ(t,s)),P.isPath(s)){var c=s,p=C.point(t,c),[d]=C.parent(t,c);a=G=>G===d,l=p.path.length-c.length+1,s=p,u=!0}if(s){var h=C.pointRef(t,s,{affinity:"backward"}),g;try{var[v]=C.nodes(t,{at:s,match:a,mode:n,voids:o});if(!v)return;var m=C.void(t,{at:s,mode:"highest"}),b=0;if(!o&&m){var[y,x]=m;if(K.isElement(y)&&t.isInline(y)){var w=C.after(t,x);if(!w){var D={text:""},T=P.next(x);L.insertNodes(t,D,{at:T,voids:o}),w=C.point(t,T)}s=w,u=!0}var S=s.path.length-x.length;l=S+1,u=!0}g=C.pointRef(t,s);var E=s.path.length-l,[,R]=v,B=s.path.slice(0,E),k=l===0?s.offset:s.path[E]+b;for(var[j,I]of C.levels(t,{at:B,reverse:!0,voids:o})){var V=!1;if(I.length<R.length||I.length===0||!o&&K.isElement(j)&&C.isVoid(t,j))break;var N=h.current,H=C.isEnd(t,N,I);if(u||!h||!C.isEdge(t,N,I)){V=!0;var Z=U.extractProps(j);t.apply({type:"split_node",path:I,position:k,properties:Z})}k=I[I.length-1]+(V||H?1:0)}if(r.at==null){var Q=g.current||C.end(t,[]);L.select(t,Q)}}finally{var X;h.unref(),(X=g)===null||X===void 0||X.unref()}}})},IZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(r)||(r=[r]);var o={};for(var a of r)o[a]=null;L.setNodes(t,o,n)},kZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{mode:n="lowest",split:o=!1,voids:a=!1}=r,{at:s=t.selection,match:l}=r;if(s){l==null&&(l=P.isPath(s)?rs(t,s):g=>K.isElement(g)&&C.isBlock(t,g)),P.isPath(s)&&(s=C.range(t,s));var u=M.isRange(s)?C.rangeRef(t,s):null,c=C.nodes(t,{at:s,match:l,mode:n,voids:a}),p=Array.from(c,g=>{var[,v]=g;return C.pathRef(t,v)}).reverse(),d=function(v){var m=v.unref(),[b]=C.node(t,m),y=C.range(t,m);o&&u&&(y=M.intersection(u.current,y)),L.liftNodes(t,{at:y,match:x=>K.isAncestor(b)&&b.children.includes(x),voids:a})};for(var h of p)d(h);u&&u.unref()}})};function kE(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 VE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?kE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var VZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{mode:o="lowest",split:a=!1,voids:s=!1}=n,{match:l,at:u=t.selection}=n;if(u){if(l==null&&(P.isPath(u)?l=rs(t,u):t.isInline(r)?l=y=>K.isElement(y)&&C.isInline(t,y)||J.isText(y):l=y=>K.isElement(y)&&C.isBlock(t,y)),a&&M.isRange(u)){var[c,p]=M.edges(u),d=C.rangeRef(t,u,{affinity:"inward"});L.splitNodes(t,{at:p,match:l,voids:s}),L.splitNodes(t,{at:c,match:l,voids:s}),u=d.unref(),n.at==null&&L.select(t,u)}var h=Array.from(C.nodes(t,{at:u,match:t.isInline(r)?y=>K.isElement(y)&&C.isBlock(t,y):y=>C.isEditor(y),mode:"lowest",voids:s}));for(var[,g]of h){var v=M.isRange(u)?M.intersection(u,C.range(t,g)):u;if(v){var m=Array.from(C.nodes(t,{at:v,match:l,mode:o,voids:s}));if(m.length>0){var b=function(){var[y]=m,x=m[m.length-1],[,w]=y,[,D]=x;if(w.length===0&&D.length===0)return"continue";var T=P.equals(w,D)?P.parent(w):P.common(w,D),S=C.range(t,w,D),E=C.node(t,T),[R]=E,B=T.length+1,k=P.next(D.slice(0,B)),j=VE(VE({},r),{},{children:[]});L.insertNodes(t,j,{at:k,voids:s}),L.moveNodes(t,{at:S,match:I=>K.isAncestor(R)&&R.children.includes(I),to:k.concat(0),voids:s})}();if(b==="continue")continue}}}}})},od=()=>{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 lJ(e,...n)},addMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return mJ(e,...n)},deleteBackward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return vJ(e,...n)},deleteForward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yJ(e,...n)},deleteFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bJ(e,...n)},getFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return cJ(e,...n)},insertBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return FJ(e,...n)},insertSoftBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return OJ(e,...n)},insertFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return vZ(e,...n)},insertNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return BJ(e,...n)},insertText:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IJ(e,...n)},normalizeNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return fJ(e,...n)},removeMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return cZ(e,...n)},getDirtyPaths:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return uJ(e,...n)},shouldNormalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return pJ(e,...n)},above:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return dJ(e,...n)},after:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hJ(e,...n)},before:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return gJ(e,...n)},collapse:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yZ(e,...n)},delete:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return gZ(e,...n)},deselect:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bZ(e,...n)},edges:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return CJ(e,...n)},elementReadOnly:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xJ(e,...n)},end:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wJ(e,...n)},first:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return SJ(e,...n)},fragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return DJ(e,...n)},getMarks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return UJ(e,...n)},hasBlocks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return TJ(e,...n)},hasInlines:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return PJ(e,...n)},hasPath:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AJ(e,...n)},hasTexts:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return RJ(e,...n)},insertNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return DZ(e,...n)},isBlock:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kJ(e,...n)},isEdge:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VJ(e,...n)},isEmpty:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return NJ(e,...n)},isEnd:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LJ(e,...n)},isNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $J(e,...n)},isStart:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zJ(e,...n)},last:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return GJ(e,...n)},leaf:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return HJ(e,...n)},levels:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jJ(e,...n)},liftNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return EZ(e,...n)},mergeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AZ(e,...n)},move:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return CZ(e,...n)},moveNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return RZ(e,...n)},next:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return KJ(e,...n)},node:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return qJ(e,...n)},nodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return XJ(e,...n)},normalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return YJ(e,...n)},parent:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return JJ(e,...n)},path:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return eZ(e,...n)},pathRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ZJ(e,...n)},pathRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return QJ(e,...n)},point:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return nZ(e,...n)},pointRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return tZ(e,...n)},pointRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return rZ(e,...n)},positions:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return oZ(e,...n)},previous:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return iZ(e,...n)},range:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return lZ(e,...n)},rangeRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return aZ(e,...n)},rangeRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return sZ(e,...n)},removeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return FZ(e,...n)},select:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xZ(e,...n)},setNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return BZ(e,...n)},setNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return fZ(e,...n)},setPoint:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wZ(e,...n)},setSelection:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return SZ(e,...n)},splitNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return MZ(e,...n)},start:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return pZ(e,...n)},string:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return dZ(e,...n)},unhangRange:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return mZ(e,...n)},unsetNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IZ(e,...n)},unwrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kZ(e,...n)},void:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return EJ(e,...n)},withoutNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hZ(e,...n)},wrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VZ(e,...n)}};return e};i();i();i();i();i();i();i();var Pr=[];var zE=function(){return Pr.some(function(e){return e.activeTargets.length>0})};i();var GE=function(){return Pr.some(function(e){return e.skippedTargets.length>0})};i();var HE="ResizeObserver loop completed with undelivered notifications.",jE=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:HE}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=HE),window.dispatchEvent(e)};i();i();i();i();var Ai;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ai||(Ai={}));i();i();var Wr=function(e){return Object.freeze(e)};var O2=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,Wr(this)}return e}();i();var M2=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,Wr(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,a=t.right,s=t.bottom,l=t.left,u=t.width,c=t.height;return{x:r,y:n,top:o,right:a,bottom:s,left:l,width:u,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}();i();var ou=function(e){return e instanceof SVGElement&&"getBBox"in e},id=function(e){if(ou(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,a=o.offsetWidth,s=o.offsetHeight;return!(a||s||e.getClientRects().length)},I2=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)},WE=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1};i();var Ri=typeof window<"u"?window:{};var ad=new WeakMap,_E=/auto|scroll/,NZ=/^tb|vertical/,LZ=/msie|trident/i.test(Ri.navigator&&Ri.navigator.userAgent),cn=function(e){return parseFloat(e||"0")},ns=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new O2((r?t:e)||0,(r?e:t)||0)},UE=Wr({devicePixelContentBoxSize:ns(),borderBoxSize:ns(),contentBoxSize:ns(),contentRect:new M2(0,0,0,0)}),k2=function(e,t){if(t===void 0&&(t=!1),ad.has(e)&&!t)return ad.get(e);if(id(e))return ad.set(e,UE),UE;var r=getComputedStyle(e),n=ou(e)&&e.ownerSVGElement&&e.getBBox(),o=!LZ&&r.boxSizing==="border-box",a=NZ.test(r.writingMode||""),s=!n&&_E.test(r.overflowY||""),l=!n&&_E.test(r.overflowX||""),u=n?0:cn(r.paddingTop),c=n?0:cn(r.paddingRight),p=n?0:cn(r.paddingBottom),d=n?0:cn(r.paddingLeft),h=n?0:cn(r.borderTopWidth),g=n?0:cn(r.borderRightWidth),v=n?0:cn(r.borderBottomWidth),m=n?0:cn(r.borderLeftWidth),b=d+c,y=u+p,x=m+g,w=h+v,D=l?e.offsetHeight-w-e.clientHeight:0,T=s?e.offsetWidth-x-e.clientWidth:0,S=o?b+x:0,E=o?y+w:0,R=n?n.width:cn(r.width)-S-T,B=n?n.height:cn(r.height)-E-D,k=R+b+T+x,j=B+y+D+w,I=Wr({devicePixelContentBoxSize:ns(Math.round(R*devicePixelRatio),Math.round(B*devicePixelRatio),a),borderBoxSize:ns(k,j,a),contentBoxSize:ns(R,B,a),contentRect:new M2(d,u,R,B)});return ad.set(e,I),I},sd=function(e,t,r){var n=k2(e,r),o=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case Ai.DEVICE_PIXEL_CONTENT_BOX:return s;case Ai.BORDER_BOX:return o;default:return a}};var V2=function(){function e(t){var r=k2(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=Wr([r.borderBoxSize]),this.contentBoxSize=Wr([r.contentBoxSize]),this.devicePixelContentBoxSize=Wr([r.devicePixelContentBoxSize])}return e}();i();var ld=function(e){if(id(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t};var KE=function(){var e=1/0,t=[];Pr.forEach(function(s){if(s.activeTargets.length!==0){var l=[];s.activeTargets.forEach(function(c){var p=new V2(c.target),d=ld(c.target);l.push(p),c.lastReportedSize=sd(c.target,c.observedBox),d<e&&(e=d)}),t.push(function(){s.callback.call(s.observer,l,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var o=n[r];o()}return e};i();var N2=function(e){Pr.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(o){o.isActive()&&(ld(o.target)>e?r.activeTargets.push(o):r.skippedTargets.push(o))})})};var qE=function(){var e=0;for(N2(e);zE();)e=KE(),N2(e);return GE()&&jE(),e>0};i();i();var L2,XE=[],$Z=function(){return XE.splice(0).forEach(function(e){return e()})},YE=function(e){if(!L2){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return $Z()}).observe(r,n),L2=function(){r.textContent="".concat(t?t--:t++)}}XE.push(e),L2()};var JE=function(e){YE(function(){requestAnimationFrame(e)})};var ud=0,zZ=function(){return!!ud},GZ=250,HZ={attributes:!0,characterData:!0,childList:!0,subtree:!0},ZE=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],QE=function(e){return e===void 0&&(e=0),Date.now()+e},$2=!1,jZ=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=GZ),!$2){$2=!0;var n=QE(t);JE(function(){var o=!1;try{o=qE()}finally{if($2=!1,t=n-QE(),!zZ())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,HZ)};document.body?r():Ri.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ZE.forEach(function(r){return Ri.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ZE.forEach(function(r){return Ri.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),cd=new jZ,z2=function(e){!ud&&e>0&&cd.start(),ud+=e,!ud&&cd.stop()};i();var WZ=function(e){return!ou(e)&&!WE(e)&&getComputedStyle(e).display==="inline"},eT=function(){function e(t,r){this.target=t,this.observedBox=r||Ai.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=sd(this.target,this.observedBox,!0);return WZ(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}();i();var tT=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}();var fd=new WeakMap,rT=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},iu=function(){function e(){}return e.connect=function(t,r){var n=new tT(t,r);fd.set(t,n)},e.observe=function(t,r,n){var o=fd.get(t),a=o.observationTargets.length===0;rT(o.observationTargets,r)<0&&(a&&Pr.push(o),o.observationTargets.push(new eT(r,n&&n.box)),z2(1),cd.schedule())},e.unobserve=function(t,r){var n=fd.get(t),o=rT(n.observationTargets,r),a=n.observationTargets.length===1;o>=0&&(a&&Pr.splice(Pr.indexOf(n),1),n.observationTargets.splice(o,1),z2(-1))},e.disconnect=function(t){var r=this,n=fd.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}();var G2=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.");iu.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(!I2(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");iu.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(!I2(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");iu.unobserve(this,t)},e.prototype.disconnect=function(){iu.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();var hd=kr(sT());import eQ from"react-dom";function Cd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tQ(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function as(e,t){if(e==null)return{};var r=tQ(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Q2=Ii(null),$o=()=>{var e=ls(Q2);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},ST=parseInt(fe.version.split(".")[0],10),rQ=typeof navigator<"u"&&typeof window<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,lT=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),er=typeof navigator<"u"&&/Android/.test(navigator.userAgent),lu=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),su=typeof navigator<"u"&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),nQ=typeof navigator<"u"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),DT=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent),oQ=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),iQ=er&&typeof navigator<"u"&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),aQ=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),sQ=typeof navigator<"u"&&/.*UCBrowser/.test(navigator.userAgent),lQ=typeof navigator<"u"&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent),gd=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ko=(!oQ||!iQ)&&!nQ&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",eg=new WeakMap,tg=new WeakMap,ET=new WeakMap,vd=new WeakMap,_2=new WeakMap,cu=new WeakMap,Oi=new WeakMap,yd=new WeakMap,xd=new WeakMap,U2=new WeakMap,Fi=new WeakMap,Bi=new WeakMap,uu=new WeakMap,K2=new WeakMap,rg=new WeakMap,_r=new WeakMap,qn=new WeakMap,Qt=new WeakMap,Vo=new WeakMap,No=new WeakMap,TT=new WeakMap,ss=Symbol("placeholder"),PT=Symbol("mark-placeholder"),uQ=globalThis.Text,ng=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,cQ=e=>Lo(e)&&e.nodeType===8,Ar=e=>Lo(e)&&e.nodeType===1,Lo=e=>{var t=ng(e);return!!t&&e instanceof t.Node},q2=e=>{var t=e&&e.anchorNode&&ng(e.anchorNode);return!!t&&e instanceof t.Selection},AT=e=>Lo(e)&&e.nodeType===3,fQ=e=>e.clipboardData&&e.clipboardData.getData("text/plain")!==""&&e.clipboardData.types.length===1,pQ=e=>{var[t,r]=e;if(Ar(t)&&t.childNodes.length){var n=r===t.childNodes.length,o=n?r-1:r;for([t,o]=RT(t,o,n?"backward":"forward"),n=o<r;Ar(t)&&t.childNodes.length;){var a=n?t.childNodes.length-1:0;t=mQ(t,a,n?"backward":"forward")}r=n&&t.textContent!=null?t.textContent.length:0}return[t,r]},dQ=e=>{for(var t=e&&e.parentNode;t;){if(t.toString()==="[object ShadowRoot]")return!0;t=t.parentNode}return!1},RT=(e,t,r)=>{for(var{childNodes:n}=e,o=n[t],a=t,s=!1,l=!1;(cQ(o)||Ar(o)&&o.childNodes.length===0||Ar(o)&&o.getAttribute("contenteditable")==="false")&&!(s&&l);){if(a>=n.length){s=!0,a=t-1,r="backward";continue}if(a<0){l=!0,a=t+1,r="forward";continue}o=n[a],t=a,a+=r==="forward"?1:-1}return[o,t]},mQ=(e,t,r)=>{var[n]=RT(e,t,r);return n},FT=e=>{var t="";if(AT(e)&&e.nodeValue)return e.nodeValue;if(Ar(e)){for(var r of Array.from(e.childNodes))t+=FT(r);var n=getComputedStyle(e).getPropertyValue("display");(n==="block"||n==="list"||e.tagName==="BR")&&(t+=`
1847
- `)}return t},hQ=/data-slate-fragment="(.+?)"/m,gQ=e=>{var t=e.getData("text/html"),[,r]=t.match(hQ)||[];return r},og=(e,t,r)=>{var{target:n}=t;if(Ar(n)&&n.matches('[contentEditable="false"]'))return!1;var{document:o}=$.getWindow(e);if(o.contains(n))return $.hasDOMNode(e,n,{editable:!0});var a=r.find(s=>{var{addedNodes:l,removedNodes:u}=s;for(var c of l)if(c===n||c.contains(n))return!0;for(var p of u)if(p===n||p.contains(n))return!0});return!a||a===t?!1:og(e,a,r)},vQ=0,X2=class{constructor(){this.id="".concat(vQ++)}},$={androidPendingDiffs:e=>Qt.get(e),androidScheduleFlush:e=>{var t;(t=rg.get(e))===null||t===void 0||t()},blur:e=>{var t=$.toDOMNode(e,e),r=$.findDocumentOrShadowRoot(e);Fi.set(e,!1),r.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,r=$.findDocumentOrShadowRoot(e),n=r.getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&L.deselect(e)},findDocumentOrShadowRoot:e=>{var t=$.toDOMNode(e,e),r=t.getRootNode();return(r instanceof Document||r instanceof ShadowRoot)&&r.getSelection!=null?r:t.ownerDocument},findEventRange:(e,t)=>{"nativeEvent"in t&&(t=t.nativeEvent);var{clientX:r,clientY:n,target:o}=t;if(r==null||n==null)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var a=$.toSlateNode(e,t.target),s=$.findPath(e,a);if(K.isElement(a)&&C.isVoid(e,a)){var l=o.getBoundingClientRect(),u=e.isInline(a)?r-l.left<l.left+l.width-r:n-l.top<l.top+l.height-n,c=C.point(e,s,{edge:u?"start":"end"}),p=u?C.before(e,c):C.after(e,c);if(p){var d=C.range(e,p);return d}}var h,{document:g}=$.getWindow(e);if(g.caretRangeFromPoint)h=g.caretRangeFromPoint(r,n);else{var v=g.caretPositionFromPoint(r,n);v&&(h=g.createRange(),h.setStart(v.offsetNode,v.offset),h.setEnd(v.offsetNode,v.offset))}if(!h)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var m=$.toSlateRange(e,h,{exactMatch:!1,suppressThrow:!1});return m},findKey:(e,t)=>{var r=yd.get(t);return r||(r=new X2,yd.set(t,r)),r},findPath:(e,t)=>{for(var r=[],n=t;;){var o=tg.get(n);if(o==null){if(C.isEditor(n))return r;break}var a=eg.get(n);if(a==null)break;r.unshift(a),n=o}throw new Error("Unable to find the path for Slate node: ".concat(ct.stringify(t)))},focus:e=>{var t=$.toDOMNode(e,e),r=$.findDocumentOrShadowRoot(e);if(Fi.set(e,!0),r.activeElement!==t){if(e.selection&&r instanceof Document){var n=r.getSelection(),o=$.toDOMRange(e,e.selection);n?.removeAllRanges(),n?.addRange(o)}t.focus({preventScroll:!0})}},getWindow:e=>{var t=ET.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},hasDOMNode:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{editable:o=!1}=n,a=$.toDOMNode(t,t),s;try{s=Ar(r)?r:r.parentElement}catch(l){if(!l.message.includes('Permission denied to access property "nodeType"'))throw l}return s?s.closest("[data-slate-editor]")===a&&(!o||s.isContentEditable?!0:typeof s.isContentEditable=="boolean"&&s.closest('[contenteditable="false"]')===a||!!s.getAttribute("data-slate-zero-width")):!1},hasEditableTarget:(e,t)=>Lo(t)&&$.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)=>$.hasEditableTarget(e,t)||$.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>Lo(t)&&$.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!Bi.get(e),isFocused:e=>!!Fi.get(e),isReadOnly:e=>!!U2.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(U2.get(e))return!1;var r=$.hasTarget(e,t)&&$.toSlateNode(e,t);return K.isElement(r)&&C.isVoid(e,r)},setFragmentData:(e,t,r)=>e.setFragmentData(t,r),toDOMNode:(e,t)=>{var r=xd.get(e),n=C.isEditor(t)?vd.get(e):r?.get($.findKey(e,t));if(!n)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(ct.stringify(t)));return n},toDOMPoint:(e,t)=>{var[r]=C.node(e,t.path),n=$.toDOMNode(e,r),o;C.void(e,{at:t})&&(t={path:t.path,offset:0});for(var a="[data-slate-string], [data-slate-zero-width]",s=Array.from(n.querySelectorAll(a)),l=0,u=0;u<s.length;u++){var c=s[u],p=c.childNodes[0];if(!(p==null||p.textContent==null)){var{length:d}=p.textContent,h=c.getAttribute("data-slate-length"),g=h==null?d:parseInt(h,10),v=l+g,m=s[u+1];if(t.offset===v&&m!==null&&m!==void 0&&m.hasAttribute("data-slate-mark-placeholder")){var b,y=m.childNodes[0];o=[y instanceof uQ?y:m,(b=m.textContent)!==null&&b!==void 0&&b.startsWith("\uFEFF")?1:0];break}if(t.offset<=v){var x=Math.min(d,Math.max(0,t.offset-l));o=[p,x];break}l=v}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(ct.stringify(t)));return o},toDOMRange:(e,t)=>{var{anchor:r,focus:n}=t,o=M.isBackward(t),a=$.toDOMPoint(e,r),s=M.isCollapsed(t)?a:$.toDOMPoint(e,n),l=$.getWindow(e),u=l.document.createRange(),[c,p]=o?s:a,[d,h]=o?a:s,g=Ar(c)?c:c.parentElement,v=!!g.getAttribute("data-slate-zero-width"),m=Ar(d)?d:d.parentElement,b=!!m.getAttribute("data-slate-zero-width");return u.setStart(c,v?1:p),u.setEnd(d,b?1:h),u},toSlateNode:(e,t)=>{var r=Ar(t)?t:t.parentElement;r&&!r.hasAttribute("data-slate-node")&&(r=r.closest("[data-slate-node]"));var n=r?cu.get(r):null;if(!n)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(r));return n},toSlatePoint:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,[a,s]=n?t:pQ(t),l=a.parentNode,u=null,c=0;if(l){var p,d,h=$.toDOMNode(e,e),g=l.closest('[data-slate-void="true"]'),v=g&&h.contains(g)?g:null,m=l.closest("[data-slate-leaf]"),b=null;if(m){if(u=m.closest('[data-slate-node="text"]'),u){var y=$.getWindow(e),x=y.document.createRange();x.setStart(u,0),x.setEnd(a,s);var w=x.cloneContents(),D=[...Array.prototype.slice.call(w.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(w.querySelectorAll("[contenteditable=false]"))];D.forEach(N=>{if(er&&!n&&N.hasAttribute("data-slate-zero-width")&&N.textContent.length>0&&N.textContext!=="\uFEFF"){N.textContent.startsWith("\uFEFF")&&(N.textContent=N.textContent.slice(1));return}N.parentNode.removeChild(N)}),c=w.textContent.length,b=u}}else if(v){for(var T=v.querySelectorAll("[data-slate-leaf]"),S=0;S<T.length;S++){var E=T[S];if($.hasDOMNode(e,E)){m=E;break}}m?(u=m.closest('[data-slate-node="text"]'),b=m,c=b.textContent.length,b.querySelectorAll("[data-slate-zero-width]").forEach(N=>{c-=N.textContent.length})):c=1}b&&c===b.textContent.length&&er&&b.getAttribute("data-slate-zero-width")==="z"&&(p=b.textContent)!==null&&p!==void 0&&p.startsWith("\uFEFF")&&(l.hasAttribute("data-slate-zero-width")||lu&&(d=b.textContent)!==null&&d!==void 0&&d.endsWith(`
1848
-
1849
- `))&&c--}if(er&&!u&&!n){var R=l.hasAttribute("data-slate-node")?l:l.closest("[data-slate-node]");if(R&&$.hasDOMNode(e,R,{editable:!0})){var B=$.toSlateNode(e,R),{path:k,offset:j}=C.start(e,$.findPath(e,B));return R.querySelector("[data-slate-leaf]")||(j=s),{path:k,offset:j}}}if(!u){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var I=$.toSlateNode(e,u),V=$.findPath(e,I);return{path:V,offset:c}},toSlateRange:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,a=q2(t)?t.anchorNode:t.startContainer,s,l,u,c,p;if(a)if(q2(t)){if(lu&&t.rangeCount>1){u=t.focusNode;var d=t.getRangeAt(0),h=t.getRangeAt(t.rangeCount-1);if(u instanceof HTMLTableRowElement&&d.startContainer instanceof HTMLTableRowElement&&h.startContainer instanceof HTMLTableRowElement){let T=function(S){return S.childElementCount>0?T(S.children[0]):S};var g=d.startContainer,v=h.startContainer,m=T(g.children[d.startOffset]),b=T(v.children[h.startOffset]);c=0,b.childNodes.length>0?s=b.childNodes[0]:s=b,m.childNodes.length>0?u=m.childNodes[0]:u=m,b instanceof HTMLElement?l=b.innerHTML.length:l=0}else d.startContainer===u?(s=h.endContainer,l=h.endOffset,c=d.startOffset):(s=d.startContainer,l=d.endOffset,c=h.startOffset)}else s=t.anchorNode,l=t.anchorOffset,u=t.focusNode,c=t.focusOffset;DT&&dQ(s)||lu?p=t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:p=t.isCollapsed}else s=t.startContainer,l=t.startOffset,u=t.endContainer,c=t.endOffset,p=t.collapsed;if(s==null||u==null||l==null||c==null)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));if("getAttribute"in u&&u.getAttribute("contenteditable")==="false"&&u.getAttribute("data-slate-void")!=="true"){var y;u=s,c=((y=s.textContent)===null||y===void 0?void 0:y.length)||0}var x=$.toSlatePoint(e,[s,l],{exactMatch:n,suppressThrow:o});if(!x)return null;var w=p?x:$.toSlatePoint(e,[u,c],{exactMatch:n,suppressThrow:o});if(!w)return null;var D={anchor:x,focus:w};return M.isExpanded(D)&&M.isForward(D)&&Ar(u)&&C.void(e,{at:D.focus,mode:"highest"})&&(D=C.unhangRange(e,D,{voids:!0})),D}};function yQ(e,t){var{path:r,diff:n}=t;if(!C.hasPath(e,r))return!1;var o=U.get(e,r);if(!J.isText(o))return!1;if(n.start!==o.text.length||n.text.length===0)return o.text.slice(n.start,n.start+n.text.length)===n.text;var a=P.next(r);if(!C.hasPath(e,a))return!1;var s=U.get(e,a);return J.isText(s)&&s.text.startsWith(n.text)}function BT(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.reduce((o,a)=>o.slice(0,a.start)+a.text+o.slice(a.end),e)}function bQ(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 CQ(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 OT(e,t){var{start:r,end:n,text:o}=t,a=e.slice(r,n),s=bQ(a,o),l=Math.min(a.length-s,o.length-s),u=CQ(a,o,l),c={start:r+s,end:n-u,text:o.slice(s,o.length-u)};return c.start===c.end&&c.text.length===0?null:c}function xQ(e,t,r){var n=Math.min(t.start,r.start),o=Math.max(0,Math.min(t.start+t.text.length,r.end)-r.start),a=BT(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),l=a.slice(n,s),u=Math.max(t.end,r.end-t.text.length+(t.end-t.start));return OT(e,{start:n,end:u,text:l})}function wQ(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}function Y2(e,t){var{path:r,offset:n}=t;if(!C.hasPath(e,r))return null;var o=U.get(e,r);if(!J.isText(o))return null;var a=C.above(e,{match:l=>K.isElement(l)&&C.isBlock(e,l),at:r});if(!a)return null;for(;n>o.text.length;){var s=C.next(e,{at:r,match:J.isText});if(!s||!P.isDescendant(s[1],a[1]))return null;n-=o.text.length,o=s[0],r=s[1]}return{path:r,offset:n}}function uT(e,t){var r=Y2(e,t.anchor);if(!r)return null;if(M.isCollapsed(t))return{anchor:r,focus:r};var n=Y2(e,t.focus);return n?{anchor:r,focus:n}:null}function J2(e,t,r){var n=Qt.get(e),o=n?.find(p=>{var{path:d}=p;return P.equals(d,t.path)});if(!o||t.offset<=o.diff.start)return ge.transform(t,r,{affinity:"backward"});var{diff:a}=o;if(t.offset<=a.start+a.text.length){var s={path:t.path,offset:a.start},l=ge.transform(s,r,{affinity:"backward"});return l?{path:l.path,offset:l.offset+t.offset-a.start}:null}var u={path:t.path,offset:t.offset-a.text.length+a.end-a.start},c=ge.transform(u,r,{affinity:"backward"});return c?r.type==="split_node"&&P.equals(r.path,t.path)&&u.offset<r.position&&a.start<r.position?c:{path:c.path,offset:c.offset+a.text.length-a.end+a.start}:null}function cT(e,t,r){var n=J2(e,t.anchor,r);if(!n)return null;if(M.isCollapsed(t))return{anchor:n,focus:n};var o=J2(e,t.focus,r);return o?{anchor:n,focus:o}:null}function SQ(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 a=P.transform(r,t);return a?{diff:n,path:a,id:o}:null}function fT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function dd(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fT(Object(r),!0).forEach(function(n){Cd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var DQ=25,EQ=200,TQ=function(){},PQ=e=>e?.constructor.name==="DataTransfer";function AQ(e){var{editor:t,scheduleOnDOMSelectionChange:r,onDOMSelectionChange:n}=e,o=!1,a=null,s=null,l=null,u=0,c=!1,p=()=>{var I=No.get(t);if(No.delete(t),I){var{selection:V}=t,N=uT(t,I);N&&(!V||!M.equals(N,V))&&L.select(t,N)}},d=()=>{var I=Vo.get(t);if(Vo.delete(t),!!I){if(I.at){var V=ge.isPoint(I.at)?Y2(t,I.at):uT(t,I.at);if(!V)return;var N=C.range(t,V);(!t.selection||!M.equals(t.selection,N))&&L.select(t,V)}I.run()}},h=()=>{if(s&&(clearTimeout(s),s=null),l&&(clearTimeout(l),l=null),!D()&&!w()){p();return}o||(o=!0,setTimeout(()=>o=!1)),w()&&(o="action");var I=t.selection&&C.rangeRef(t,t.selection,{affinity:"forward"});qn.set(t,t.marks),TQ("flush",Vo.get(t),Qt.get(t));for(var V=D(),N;N=(H=Qt.get(t))===null||H===void 0?void 0:H[0];){var H,Z,Q=_r.get(t);Q!==void 0&&(_r.delete(t),t.marks=Q),Q&&c===!1&&(c=null);var X=wQ(N);(!t.selection||!M.equals(t.selection,X))&&L.select(t,X),N.diff.text?C.insertText(t,N.diff.text):C.deleteFragment(t),Qt.set(t,(Z=Qt.get(t))===null||Z===void 0?void 0:Z.filter(de=>{var{id:pe}=de;return pe!==N.id})),yQ(t,N)||(V=!1,Vo.delete(t),qn.delete(t),o="action",No.delete(t),r.cancel(),n.cancel(),I?.unref())}var G=I?.unref();if(G&&!No.get(t)&&(!t.selection||!M.equals(G,t.selection))&&L.select(t,G),w()){d();return}V&&r(),r.flush(),n.flush(),p();var re=qn.get(t);qn.delete(t),re!==void 0&&(t.marks=re,t.onChange())},g=I=>{a&&clearTimeout(a),a=setTimeout(()=>{Bi.set(t,!1),h()},DQ)},v=I=>{Bi.set(t,!0),a&&(clearTimeout(a),a=null)},m=function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,N=_2.get(t);if(N){if(D()||V){N.style.display="none";return}N.style.removeProperty("display")}},b=(I,V)=>{var N,H=(N=Qt.get(t))!==null&&N!==void 0?N:[];Qt.set(t,H);var Z=U.leaf(t,I),Q=H.findIndex(re=>P.equals(re.path,I));if(Q<0){var X=OT(Z.text,V);X&&H.push({path:I,diff:V,id:u++}),m();return}var G=xQ(Z.text,H[Q].diff,V);if(!G){H.splice(Q,1),m();return}H[Q]=dd(dd({},H[Q]),{},{diff:G})},y=function(V){var{at:N}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c=!1,No.delete(t),r.cancel(),n.cancel(),w()&&h(),Vo.set(t,{at:N,run:V}),l=setTimeout(h)},x=I=>{var V;s&&(clearTimeout(s),s=null);var{inputType:N}=I,H=null,Z=I.dataTransfer||I.data||void 0;c!==!1&&N!=="insertText"&&N!=="insertCompositionText"&&(c=!1);var[Q]=I.getTargetRanges();Q&&(H=$.toSlateRange(t,Q,{exactMatch:!1,suppressThrow:!0}));var X=$.getWindow(t),G=X.getSelection();if(!H&&G&&(Q=G,H=$.toSlateRange(t,G,{exactMatch:!1,suppressThrow:!0})),H=(V=H)!==null&&V!==void 0?V:t.selection,!!H){var re=!0;if(N.startsWith("delete")){if(M.isExpanded(H)){var[de,pe]=M.edges(H),je=U.leaf(t,de.path);if(je.text.length===de.offset&&pe.offset===0){var A=C.next(t,{at:de.path,match:J.isText});A&&P.equals(A[1],pe.path)&&(H={anchor:pe,focus:pe})}}var _=N.endsWith("Backward")?"backward":"forward",[z,W]=M.edges(H),[se,oe]=C.leaf(t,z.path),me={text:"",start:z.offset,end:W.offset},xe=Qt.get(t),De=xe?.find(Pe=>P.equals(Pe.path,oe)),Te=De?[De.diff,me]:[me],we=BT(se.text,...Te);if(we.length===0&&(re=!1),M.isExpanded(H)){if(re&&P.equals(H.anchor.path,H.focus.path)){var wt={path:H.anchor.path,offset:z.offset},St=C.range(t,wt,wt);return E(St),b(H.anchor.path,{text:"",end:W.offset,start:z.offset})}return y(()=>C.deleteFragment(t,{direction:_}),{at:H})}}switch(N){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return y(()=>C.deleteFragment(t),{at:H});case"deleteContent":case"deleteContentForward":{var{anchor:We}=H;if(re&&M.isCollapsed(H)){var sr=U.leaf(t,We.path);if(We.offset<sr.text.length)return b(We.path,{text:"",start:We.offset,end:We.offset+1})}return y(()=>C.deleteForward(t),{at:H})}case"deleteContentBackward":{var Wt,{anchor:Rt}=H,lr=q2(Q)?Q.isCollapsed:!!((Wt=Q)!==null&&Wt!==void 0&&Wt.collapsed);return re&&lr&&M.isCollapsed(H)&&Rt.offset>0?b(Rt.path,{text:"",start:Rt.offset-1,end:Rt.offset}):y(()=>C.deleteBackward(t),{at:H})}case"deleteEntireSoftLine":return y(()=>{C.deleteBackward(t,{unit:"line"}),C.deleteForward(t,{unit:"line"})},{at:H});case"deleteHardLineBackward":return y(()=>C.deleteBackward(t,{unit:"block"}),{at:H});case"deleteSoftLineBackward":return y(()=>C.deleteBackward(t,{unit:"line"}),{at:H});case"deleteHardLineForward":return y(()=>C.deleteForward(t,{unit:"block"}),{at:H});case"deleteSoftLineForward":return y(()=>C.deleteForward(t,{unit:"line"}),{at:H});case"deleteWordBackward":return y(()=>C.deleteBackward(t,{unit:"word"}),{at:H});case"deleteWordForward":return y(()=>C.deleteForward(t,{unit:"word"}),{at:H});case"insertLineBreak":return y(()=>C.insertSoftBreak(t),{at:H});case"insertParagraph":return y(()=>C.insertBreak(t),{at:H});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{if(PQ(Z))return y(()=>$.insertData(t,Z),{at:H});var O=Z??"";if(_r.get(t)&&(O=O.replace("\uFEFF","")),N==="insertText"&&/.*\n.*\n$/.test(O)&&(O=O.slice(0,-1)),O.includes(`
1850
- `))return y(()=>{var Pe=O.split(`
1851
- `);Pe.forEach((Dt,no)=>{Dt&&C.insertText(t,Dt),no!==Pe.length-1&&C.insertSoftBreak(t)})},{at:H});if(P.equals(H.anchor.path,H.focus.path)){var[Y,te]=M.edges(H),q={start:Y.offset,end:te.offset,text:O};if(O&&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,k()):c=!1}else N==="insertText"?c===null?c=q:c&&M.isCollapsed(H)&&c.end+c.text.length===Y.offset?c=dd(dd({},c),{},{text:c.text+O}):c=!1:c=!1;if(re){b(Y.path,q);return}}return y(()=>C.insertText(t,O),{at:H})}}}},w=()=>!!Vo.get(t),D=()=>{var I;return!!((I=Qt.get(t))!==null&&I!==void 0&&I.length)},T=()=>w()||D(),S=()=>o,E=I=>{No.set(t,I),s&&(clearTimeout(s),s=null);var{selection:V}=t;if(I){var N=!V||!P.equals(V.anchor.path,I.anchor.path),H=!V||!P.equals(V.anchor.path.slice(0,-1),I.anchor.path.slice(0,-1));(N&&c||H)&&(c=!1),(N||D())&&(s=setTimeout(h,EQ))}},R=()=>{(w()||!D())&&h()},B=I=>{D()||(m(!0),setTimeout(m))},k=()=>{w()||(l=setTimeout(h))},j=I=>{if(!(D()||w())&&I.some(N=>og(t,N,I))){var V;(V=TT.get(t))===null||V===void 0||V()}};return{flush:h,scheduleFlush:k,hasPendingDiffs:D,hasPendingAction:w,hasPendingChanges:T,isFlushing:S,handleUserSelect:E,handleCompositionEnd:g,handleCompositionStart:v,handleDOMBeforeInput:x,handleKeyDown:B,handleDomMutations:j,handleInput:R}}function RQ(){var e=yr(!1);return Xn(()=>(e.current=!0,()=>{e.current=!1}),[]),e.current}var fu=gd?XZ:Xn;function FQ(e,t,r){var[n]=Mi(()=>new MutationObserver(t));fu(()=>{n.takeRecords()}),Xn(()=>{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 BQ=["node"];function pT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function OQ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pT(Object(r),!0).forEach(function(n){Cd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var MQ={subtree:!0,childList:!0,characterData:!0},IQ=er?e=>{var{node:t}=e,r=as(e,BQ);if(!er)return null;var n=$o(),o=RQ(),[a]=Mi(()=>AQ(OQ({editor:n},r)));return FQ(t,a.handleDomMutations,MQ),rg.set(n,a.scheduleFlush),o&&a.flush(),a}:()=>null,kQ=["anchor","focus"],VQ=["anchor","focus"],NQ=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(r=>t.hasOwnProperty(r)&&e[r]===t[r]),MT=(e,t)=>{var r=as(e,kQ),n=as(t,VQ);return e[ss]===t[ss]&&NQ(r,n)},LQ=(e,t)=>{if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var n=e[r],o=t[r];if(!M.equals(n,o)||!MT(n,o))return!1}return!0},$Q=(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||!MT(n,o))return!1}return!0},zQ=e=>{var{isLast:t,leaf:r,parent:n,text:o}=e,a=$o(),s=$.findPath(a,o),l=P.parent(s),u=r[PT]===!0;return a.isVoid(n)?fe.createElement(W2,{length:U.string(n).length}):r.text===""&&n.children[n.children.length-1]===o&&!a.isInline(n)&&C.string(a,l)===""?fe.createElement(W2,{isLineBreak:!0,isMarkPlaceholder:u}):r.text===""?fe.createElement(W2,{isMarkPlaceholder:u}):t&&r.text.slice(-1)===`
1852
- `?fe.createElement(dT,{isTrailing:!0,text:r.text}):fe.createElement(dT,{text:r.text})},dT=e=>{var{text:t,isTrailing:r=!1}=e,n=yr(null),o=()=>"".concat(t??"").concat(r?`
1853
- `:""),[a]=Mi(o);return fu(()=>{var s=o();n.current&&n.current.textContent!==s&&(n.current.textContent=s)}),fe.createElement(GQ,{ref:n},a)},GQ=YZ(JZ((e,t)=>fe.createElement("span",{"data-slate-string":!0,ref:t},e.children))),W2=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),fe.createElement("span",Object.assign({},o),!er||!r?"\uFEFF":null,r?fe.createElement("br",null):null)};function HQ(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}function mT(e){e.current&&(clearTimeout(e.current),e.current=null)}var jQ=e=>{var{leaf:t,isLast:r,text:n,parent:o,renderPlaceholder:a,renderLeaf:s=x=>fe.createElement(_Q,Object.assign({},x))}=e,l=$o(),u=yr(null),c=yr(null),[p,d]=Mi(!1),h=yr(null),g=ke(x=>{if(HQ(u,x==null),x==null){var w;_2.delete(l),(w=t.onPlaceholderResize)===null||w===void 0||w.call(t,null)}else{if(_2.set(l,x),!u.current){var D=window.ResizeObserver||G2;u.current=new D(()=>{var T;(T=t.onPlaceholderResize)===null||T===void 0||T.call(t,x)})}u.current.observe(x),c.current=x}},[c,t,l]),v=fe.createElement(zQ,{isLast:r,leaf:t,parent:o,text:n}),m=t[ss];if(Xn(()=>(m?h.current||(h.current=setTimeout(()=>{d(!0),h.current=null},300)):(mT(h),d(!1)),()=>mT(h)),[m,d]),m&&p){var b={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:su?"inherit":void 0},contentEditable:!1,ref:g}};v=fe.createElement(fe.Fragment,null,a(b),v)}var y={"data-slate-leaf":!0};return s({attributes:y,children:v,leaf:t,text:n})},WQ=fe.memo(jQ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&J.equals(t.leaf,e.leaf)&&t.leaf[ss]===e.leaf[ss]),_Q=e=>{var{attributes:t,children:r}=e;return fe.createElement("span",Object.assign({},t),r)},UQ=e=>{for(var{decorations:t,isLast:r,parent:n,renderPlaceholder:o,renderLeaf:a,text:s}=e,l=$o(),u=yr(null),c=J.decorations(s,t),p=$.findKey(l,s),d=[],h=0;h<c.length;h++){var g=c[h];d.push(fe.createElement(WQ,{isLast:r&&h===c.length-1,key:"".concat(p.id,"-").concat(h),renderPlaceholder:o,leaf:g,text:s,parent:n,renderLeaf:a}))}var v=ke(m=>{var b=xd.get(l);m?(b?.set(p,m),Oi.set(s,m),cu.set(m,s)):(b?.delete(p),Oi.delete(s),u.current&&cu.delete(u.current)),u.current=m},[u,l,p,s]);return fe.createElement("span",{"data-slate-node":"text",ref:v},d)},IT=fe.memo(UQ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&$Q(t.decorations,e.decorations)),KQ=e=>{var{decorations:t,element:r,renderElement:n=x=>fe.createElement(XQ,Object.assign({},x)),renderPlaceholder:o,renderLeaf:a,selection:s}=e,l=$o(),u=JQ(),c=l.isInline(r),p=$.findKey(l,r),d=ke(x=>{var w=xd.get(l);x?(w?.set(p,x),Oi.set(r,x),cu.set(x,r)):(w?.delete(p),Oi.delete(r))},[l,p,r]),h=LT({decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}),g={"data-slate-node":"element",ref:d};if(c&&(g["data-slate-inline"]=!0),!c&&C.hasInlines(l,r)){var v=U.string(r),m=(0,Z2.default)(v);m==="rtl"&&(g.dir=m)}if(C.isVoid(l,r)){g["data-slate-void"]=!0,!u&&c&&(g.contentEditable=!1);var b=c?"span":"div",[[y]]=U.texts(r);h=fe.createElement(b,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},fe.createElement(IT,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:y})),eg.set(y,0),tg.set(y,r)}return n({attributes:g,children:h,element:r})},qQ=fe.memo(KQ,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&LQ(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&M.equals(e.selection,t.selection))),XQ=e=>{var{attributes:t,children:r,element:n}=e,o=$o(),a=o.isInline(n)?"span":"div";return fe.createElement(a,Object.assign({},t,{style:{position:"relative"}}),r)},kT=Ii(()=>[]),YQ=()=>ls(kT),VT=Ii(!1),NT=()=>ls(VT),LT=e=>{for(var{decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}=e,l=YQ(),u=$o(),c=$.findPath(u,r),p=[],d=K.isElement(r)&&!u.isInline(r)&&C.hasInlines(u,r),h=0;h<r.children.length;h++){var g=c.concat(h),v=r.children[h],m=$.findKey(u,v),b=C.range(u,g),y=s&&M.intersection(b,s),x=l([v,g]);for(var w of t){var D=M.intersection(w,b);D&&x.push(D)}K.isElement(v)?p.push(fe.createElement(VT.Provider,{key:"provider-".concat(m.id),value:!!y},fe.createElement(qQ,{decorations:x,element:v,key:m.id,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:y}))):p.push(fe.createElement(IT,{decorations:x,key:m.id,isLast:d&&h===r.children.length-1,parent:r,renderPlaceholder:o,renderLeaf:a,text:v})),eg.set(v,h),tg.set(v,r)}return p},$T=Ii(!1),JQ=()=>ls($T),zT=Ii(null),wd=()=>{var e=ls(zT);if(!e)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:t}=e;return t};function ZQ(){var e=$o(),t=yr(!1),r=yr(0),n=ke(()=>{if(!t.current){t.current=!0;var o=$.getWindow(e);o.cancelAnimationFrame(r.current),r.current=o.requestAnimationFrame(()=>{t.current=!1})}},[e]);return Xn(()=>()=>cancelAnimationFrame(r.current),[]),{receivedUserInput:t,onUserInput:n}}var QQ=3,eee={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"},tee={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"},ree={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},He=e=>{var t=eee[e],r=tee[e],n=ree[e],o=t&&(0,hd.isHotkey)(t),a=r&&(0,hd.isHotkey)(r),s=n&&(0,hd.isHotkey)(n);return l=>!!(o&&o(l)||lT&&a&&a(l)||!lT&&s&&s(l))},Ue={isBold:He("bold"),isCompose:He("compose"),isMoveBackward:He("moveBackward"),isMoveForward:He("moveForward"),isDeleteBackward:He("deleteBackward"),isDeleteForward:He("deleteForward"),isDeleteLineBackward:He("deleteLineBackward"),isDeleteLineForward:He("deleteLineForward"),isDeleteWordBackward:He("deleteWordBackward"),isDeleteWordForward:He("deleteWordForward"),isExtendBackward:He("extendBackward"),isExtendForward:He("extendForward"),isExtendLineBackward:He("extendLineBackward"),isExtendLineForward:He("extendLineForward"),isItalic:He("italic"),isMoveLineBackward:He("moveLineBackward"),isMoveLineForward:He("moveLineForward"),isMoveWordBackward:He("moveWordBackward"),isMoveWordForward:He("moveWordForward"),isRedo:He("redo"),isSoftBreak:He("insertSoftBreak"),isSplitBlock:He("splitBlock"),isTransposeCharacter:He("transposeCharacter"),isUndo:He("undo")},nee=(e,t)=>{var r=[],n=()=>{r=[]},o=s=>{if(t.current){var l=s.filter(u=>og(e,u,s));r.push(...l)}};function a(){r.length>0&&(r.reverse().forEach(s=>{s.type!=="characterData"&&(s.removedNodes.forEach(l=>{s.target.insertBefore(l,s.nextSibling)}),s.addedNodes.forEach(l=>{s.target.removeChild(l)}))}),n())}return{registerMutations:o,restoreDOM:a,clear:n}},oee={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0},bd=class extends ZZ{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,oee)}componentDidMount(){var{receivedUserInput:t}=this.props,r=this.context;this.manager=nee(r,t),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var t,r,n,o=(t=this.mutationObserver)===null||t===void 0?void 0:t.takeRecords();if(o!=null&&o.length){var a;(a=this.manager)===null||a===void 0||a.registerMutations(o)}return(r=this.mutationObserver)===null||r===void 0||r.disconnect(),(n=this.manager)===null||n===void 0||n.restoreDOM(),null}componentDidUpdate(){var t;(t=this.manager)===null||t===void 0||t.clear(),this.observe()}componentWillUnmount(){var t;(t=this.mutationObserver)===null||t===void 0||t.disconnect()}render(){return this.props.children}};bd.contextType=Q2;var iee=er?bd:e=>{var{children:t}=e;return fe.createElement(fe.Fragment,null,t)},aee=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],see=["text"];function hT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function os(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hT(Object(r),!0).forEach(function(n){Cd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var lee=e=>fe.createElement(fe.Fragment,null,LT(e)),GT=e=>{var t=ke(A=>fe.createElement(uee,Object.assign({},A)),[]),{autoFocus:r,decorate:n=cee,onDOMBeforeInput:o,placeholder:a,readOnly:s=!1,renderElement:l,renderLeaf:u,renderPlaceholder:c=t,scrollSelectionIntoView:p=fee,style:d={},as:h="div",disableDefaultStyles:g=!1}=e,v=as(e,aee),m=wd(),[b,y]=Mi(!1),x=yr(null),w=yr([]),[D,T]=Mi(),{onUserInput:S,receivedUserInput:E}=ZQ(),[,R]=QZ(A=>A+1,0);TT.set(m,R),U2.set(m,s);var B=md(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);Xn(()=>{x.current&&r&&x.current.focus()},[r]);var k=yr(),j=md(()=>(0,wT.default)(()=>{var A=k.current;if((er||!$.isComposing(m))&&(!B.isUpdatingSelection||A!=null&&A.isFlushing())&&!B.isDraggingInternally){var _=$.findDocumentOrShadowRoot(m),{activeElement:z}=_,W=$.toDOMNode(m,m),se=_.getSelection();if(z===W?(B.latestElement=z,Fi.set(m,!0)):Fi.delete(m),!se)return L.deselect(m);var{anchorNode:oe,focusNode:me}=se,xe=$.hasEditableTarget(m,oe)||$.isTargetInsideNonReadonlyVoid(m,oe),De=$.hasEditableTarget(m,me)||$.isTargetInsideNonReadonlyVoid(m,me);if(xe&&De){var Te=$.toSlateRange(m,se,{exactMatch:!1,suppressThrow:!0});Te&&(!$.isComposing(m)&&!(A!=null&&A.hasPendingChanges())&&!(A!=null&&A.isFlushing())?L.select(m,Te):A?.handleUserSelect(Te))}s&&(!xe||!De)&&L.deselect(m)}},100),[m,s,B]),I=md(()=>(0,xT.default)(j,0),[j]);k.current=IQ({node:x,onDOMSelectionChange:j,scheduleOnDOMSelectionChange:I}),fu(()=>{var A,_,z;x.current&&(z=ng(x.current))?(ET.set(m,z),vd.set(m,x.current),Oi.set(m,x.current),cu.set(x.current,m)):Oi.delete(m);var{selection:W}=m,se=$.findDocumentOrShadowRoot(m),oe=se.getSelection();if(!(!oe||!$.isFocused(m)||(A=k.current)!==null&&A!==void 0&&A.hasPendingAction())){var me=we=>{var wt=oe.type!=="None";if(!(!W&&!wt)){var St=oe.focusNode,We;if(lu&&oe.rangeCount>1){var sr=oe.getRangeAt(0),Wt=oe.getRangeAt(oe.rangeCount-1);sr.startContainer===St?We=Wt.endContainer:We=sr.startContainer}else We=oe.anchorNode;var Rt=vd.get(m),lr=!1;if(Rt.contains(We)&&Rt.contains(St)&&(lr=!0),wt&&lr&&W&&!we){var O=$.toSlateRange(m,oe,{exactMatch:!0,suppressThrow:!0});if(O&&M.equals(O,W)){var Y,te;if(!B.hasMarkPlaceholder||(Y=We)!==null&&Y!==void 0&&(te=Y.parentElement)!==null&&te!==void 0&&te.hasAttribute("data-slate-mark-placeholder"))return}}if(W&&!$.hasRange(m,W)){m.selection=$.toSlateRange(m,oe,{exactMatch:!1,suppressThrow:!0});return}B.isUpdatingSelection=!0;var q=W&&$.toDOMRange(m,W);return q?($.isComposing(m)&&!er?oe.collapseToEnd():M.isBackward(W)?oe.setBaseAndExtent(q.endContainer,q.endOffset,q.startContainer,q.startOffset):oe.setBaseAndExtent(q.startContainer,q.startOffset,q.endContainer,q.endOffset),p(m,q)):oe.removeAllRanges(),q}};oe.rangeCount<=1&&me();var xe=((_=k.current)===null||_===void 0?void 0:_.isFlushing())==="action";if(!er||!xe){setTimeout(()=>{B.isUpdatingSelection=!1});return}var De=null,Te=requestAnimationFrame(()=>{if(xe){var we=wt=>{try{var St=$.toDOMNode(m,m);St.focus(),me(wt)}catch{}};we(),De=setTimeout(()=>{we(!0),B.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(Te),De&&clearTimeout(De)}}});var V=ke(A=>{if(S(),!s&&$.hasEditableTarget(m,A.target)&&!pee(A,o)){var _;if(k.current)return k.current.handleDOMBeforeInput(A);I.flush(),j.flush();var{selection:z}=m,{inputType:W}=A,se=A.dataTransfer||A.data||void 0,oe=W==="insertCompositionText"||W==="deleteCompositionText";if(oe&&$.isComposing(m))return;var me=!1;if(W==="insertText"&&z&&M.isCollapsed(z)&&A.data&&A.data.length===1&&/[a-z ]/i.test(A.data)&&z.anchor.offset!==0){var xe,De;me=!0,m.marks&&(me=!1);var{anchor:Te}=z,[we,wt]=$.toDOMPoint(m,Te),St=(xe=we.parentElement)===null||xe===void 0?void 0:xe.closest("a"),We=$.getWindow(m);if(me&&St&&$.hasDOMNode(m,St)){var sr,Wt=We?.document.createTreeWalker(St,NodeFilter.SHOW_TEXT).lastChild();Wt===we&&((sr=Wt.textContent)===null||sr===void 0?void 0:sr.length)===wt&&(me=!1)}if(me&&we.parentElement&&(We==null||(De=We.getComputedStyle(we.parentElement))===null||De===void 0?void 0:De.whiteSpace)==="pre"){var Rt=C.above(m,{at:Te.path,match:ae=>K.isElement(ae)&&C.isBlock(m,ae)});Rt&&U.string(Rt[0]).includes(" ")&&(me=!1)}}if(!W.startsWith("delete")||W.startsWith("deleteBy")){var[lr]=A.getTargetRanges();if(lr){var O=$.toSlateRange(m,lr,{exactMatch:!1,suppressThrow:!1});if(!z||!M.equals(z,O)){me=!1;var Y=!oe&&m.selection&&C.rangeRef(m,m.selection);L.select(m,O),Y&&uu.set(m,Y)}}}if(oe)return;if(me||A.preventDefault(),z&&M.isExpanded(z)&&W.startsWith("delete")){var te=W.endsWith("Backward")?"backward":"forward";C.deleteFragment(m,{direction:te});return}switch(W){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":{C.deleteFragment(m);break}case"deleteContent":case"deleteContentForward":{C.deleteForward(m);break}case"deleteContentBackward":{C.deleteBackward(m);break}case"deleteEntireSoftLine":{C.deleteBackward(m,{unit:"line"}),C.deleteForward(m,{unit:"line"});break}case"deleteHardLineBackward":{C.deleteBackward(m,{unit:"block"});break}case"deleteSoftLineBackward":{C.deleteBackward(m,{unit:"line"});break}case"deleteHardLineForward":{C.deleteForward(m,{unit:"block"});break}case"deleteSoftLineForward":{C.deleteForward(m,{unit:"line"});break}case"deleteWordBackward":{C.deleteBackward(m,{unit:"word"});break}case"deleteWordForward":{C.deleteForward(m,{unit:"word"});break}case"insertLineBreak":C.insertSoftBreak(m);break;case"insertParagraph":{C.insertBreak(m);break}case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{W==="insertFromComposition"&&$.isComposing(m)&&(y(!1),Bi.set(m,!1)),se?.constructor.name==="DataTransfer"?$.insertData(m,se):typeof se=="string"&&(me?w.current.push(()=>C.insertText(m,se)):C.insertText(m,se));break}}var q=(_=uu.get(m))===null||_===void 0?void 0:_.unref();uu.delete(m),q&&(!m.selection||!M.equals(m.selection,q))&&L.select(m,q)}},[m,j,S,o,s,I]),N=ke(A=>{A==null?(j.cancel(),I.cancel(),vd.delete(m),Oi.delete(m),x.current&&ko&&x.current.removeEventListener("beforeinput",V)):ko&&A.addEventListener("beforeinput",V),x.current=A},[j,I,m,V]);fu(()=>{var A=$.getWindow(m);return A.document.addEventListener("selectionchange",I),()=>{A.document.removeEventListener("selectionchange",I)}},[I]);var H=n([m,[]]),Z=a&&m.children.length===1&&Array.from(U.texts(m)).length===1&&U.string(m)===""&&!b,Q=ke(A=>{if(A&&Z){var _;T((_=A.getBoundingClientRect())===null||_===void 0?void 0:_.height)}else T(void 0)},[Z]);if(Z){var X=C.start(m,[]);H.push({[ss]:!0,placeholder:a,onPlaceholderResize:Q,anchor:X,focus:X})}var{marks:G}=m;if(B.hasMarkPlaceholder=!1,m.selection&&M.isCollapsed(m.selection)&&G){var{anchor:re}=m.selection,de=U.leaf(m,re.path),pe=as(de,see);if(!J.equals(de,G,{loose:!0})){B.hasMarkPlaceholder=!0;var je=Object.fromEntries(Object.keys(pe).map(A=>[A,null]));H.push(os(os(os({[PT]:!0},je),G),{},{anchor:re,focus:re}))}}return Xn(()=>{setTimeout(()=>{var{selection:A}=m;if(A){var{anchor:_}=A,z=U.leaf(m,_.path);if(G&&!J.equals(z,G,{loose:!0})){_r.set(m,G);return}}_r.delete(m)})}),fe.createElement($T.Provider,{value:s},fe.createElement(kT.Provider,{value:n},fe.createElement(iee,{node:x,receivedUserInput:E},fe.createElement(h,Object.assign({role:s?void 0:"textbox","aria-multiline":s?void 0:!0},v,{spellCheck:ko||!gd?v.spellCheck:!1,autoCorrect:ko||!gd?v.autoCorrect:"false",autoCapitalize:ko||!gd?v.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s,zindex:-1,suppressContentEditableWarning:!0,ref:N,style:os(os({},g?{}:os({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},D?{minHeight:D}:{})),d),onBeforeInput:ke(A=>{if(!ko&&!s&&!Ht(A,v.onBeforeInput)&&$.hasSelectableTarget(m,A.target)&&(A.preventDefault(),!$.isComposing(m))){var _=A.data;C.insertText(m,_)}},[v.onBeforeInput,m,s]),onInput:ke(A=>{if(!Ht(A,v.onInput)){if(k.current){k.current.handleInput();return}for(var _ of w.current)_();w.current=[]}},[v.onInput]),onBlur:ke(A=>{if(!(s||B.isUpdatingSelection||!$.hasSelectableTarget(m,A.target)||Ht(A,v.onBlur))){var _=$.findDocumentOrShadowRoot(m);if(B.latestElement!==_.activeElement){var{relatedTarget:z}=A,W=$.toDOMNode(m,m);if(z!==W&&!(Ar(z)&&z.hasAttribute("data-slate-spacer"))){if(z!=null&&Lo(z)&&$.hasDOMNode(m,z)){var se=$.toSlateNode(m,z);if(K.isElement(se)&&!m.isVoid(se))return}if(su){var oe=_.getSelection();oe?.removeAllRanges()}Fi.delete(m)}}}},[s,B.isUpdatingSelection,B.latestElement,m,v.onBlur]),onClick:ke(A=>{if($.hasTarget(m,A.target)&&!Ht(A,v.onClick)&&Lo(A.target)){var _=$.toSlateNode(m,A.target),z=$.findPath(m,_);if(!C.hasPath(m,z)||U.get(m,z)!==_)return;if(A.detail===QQ&&z.length>=1){var W=z;if(!(K.isElement(_)&&C.isBlock(m,_))){var se,oe=C.above(m,{match:St=>K.isElement(St)&&C.isBlock(m,St),at:z});W=(se=oe?.[1])!==null&&se!==void 0?se:z.slice(0,1)}var me=C.range(m,W);L.select(m,me);return}if(s)return;var xe=C.start(m,z),De=C.end(m,z),Te=C.void(m,{at:xe}),we=C.void(m,{at:De});if(Te&&we&&P.equals(Te[1],we[1])){var wt=C.range(m,xe);L.select(m,wt)}}},[m,v.onClick,s]),onCompositionEnd:ke(A=>{if($.hasSelectableTarget(m,A.target)){var _;if($.isComposing(m)&&(y(!1),Bi.set(m,!1)),(_=k.current)===null||_===void 0||_.handleCompositionEnd(A),Ht(A,v.onCompositionEnd)||er)return;if(!su&&!aQ&&!rQ&&!lQ&&!sQ&&A.data){var z=_r.get(m);_r.delete(m),z!==void 0&&(qn.set(m,m.marks),m.marks=z),C.insertText(m,A.data);var W=qn.get(m);qn.delete(m),W!==void 0&&(m.marks=W)}}},[v.onCompositionEnd,m]),onCompositionUpdate:ke(A=>{$.hasSelectableTarget(m,A.target)&&!Ht(A,v.onCompositionUpdate)&&($.isComposing(m)||(y(!0),Bi.set(m,!0)))},[v.onCompositionUpdate,m]),onCompositionStart:ke(A=>{if($.hasSelectableTarget(m,A.target)){var _;if((_=k.current)===null||_===void 0||_.handleCompositionStart(A),Ht(A,v.onCompositionStart)||er)return;y(!0);var{selection:z}=m;if(z){if(M.isExpanded(z)){C.deleteFragment(m);return}var W=C.above(m,{match:me=>K.isElement(me)&&C.isInline(m,me),mode:"highest"});if(W){var[,se]=W;if(C.isEnd(m,z.anchor,se)){var oe=C.after(m,se);L.setSelection(m,{anchor:oe,focus:oe})}}}}},[v.onCompositionStart,m]),onCopy:ke(A=>{$.hasSelectableTarget(m,A.target)&&!Ht(A,v.onCopy)&&!gT(A)&&(A.preventDefault(),$.setFragmentData(m,A.clipboardData,"copy"))},[v.onCopy,m]),onCut:ke(A=>{if(!s&&$.hasSelectableTarget(m,A.target)&&!Ht(A,v.onCut)&&!gT(A)){A.preventDefault(),$.setFragmentData(m,A.clipboardData,"cut");var{selection:_}=m;if(_)if(M.isExpanded(_))C.deleteFragment(m);else{var z=U.parent(m,_.anchor.path);C.isVoid(m,z)&&L.delete(m)}}},[s,m,v.onCut]),onDragOver:ke(A=>{if($.hasTarget(m,A.target)&&!Ht(A,v.onDragOver)){var _=$.toSlateNode(m,A.target);K.isElement(_)&&C.isVoid(m,_)&&A.preventDefault()}},[v.onDragOver,m]),onDragStart:ke(A=>{if(!s&&$.hasTarget(m,A.target)&&!Ht(A,v.onDragStart)){var _=$.toSlateNode(m,A.target),z=$.findPath(m,_),W=K.isElement(_)&&C.isVoid(m,_)||C.void(m,{at:z,voids:!0});if(W){var se=C.range(m,z);L.select(m,se)}B.isDraggingInternally=!0,$.setFragmentData(m,A.dataTransfer,"drag")}},[s,m,v.onDragStart,B]),onDrop:ke(A=>{if(!s&&$.hasTarget(m,A.target)&&!Ht(A,v.onDrop)){A.preventDefault();var _=m.selection,z=$.findEventRange(m,A),W=A.dataTransfer;L.select(m,z),B.isDraggingInternally&&_&&!M.equals(_,z)&&!C.void(m,{at:z,voids:!0})&&L.delete(m,{at:_}),$.insertData(m,W),$.isFocused(m)||$.focus(m)}B.isDraggingInternally=!1},[s,m,v.onDrop,B]),onDragEnd:ke(A=>{!s&&B.isDraggingInternally&&v.onDragEnd&&$.hasTarget(m,A.target)&&v.onDragEnd(A),B.isDraggingInternally=!1},[s,B,v,m]),onFocus:ke(A=>{if(!s&&!B.isUpdatingSelection&&$.hasEditableTarget(m,A.target)&&!Ht(A,v.onFocus)){var _=$.toDOMNode(m,m),z=$.findDocumentOrShadowRoot(m);if(B.latestElement=z.activeElement,lu&&A.target!==_){_.focus();return}Fi.set(m,!0)}},[s,B,m,v.onFocus]),onKeyDown:ke(A=>{if(!s&&$.hasEditableTarget(m,A.target)){var _;(_=k.current)===null||_===void 0||_.handleKeyDown(A);var{nativeEvent:z}=A;if($.isComposing(m)&&z.isComposing===!1&&(Bi.set(m,!1),y(!1)),Ht(A,v.onKeyDown)||$.isComposing(m))return;var{selection:W}=m,se=m.children[W!==null?W.focus.path[0]:0],oe=(0,Z2.default)(U.string(se))==="rtl";if(Ue.isRedo(z)){A.preventDefault();var me=m;typeof me.redo=="function"&&me.redo();return}if(Ue.isUndo(z)){A.preventDefault();var xe=m;typeof xe.undo=="function"&&xe.undo();return}if(Ue.isMoveLineBackward(z)){A.preventDefault(),L.move(m,{unit:"line",reverse:!0});return}if(Ue.isMoveLineForward(z)){A.preventDefault(),L.move(m,{unit:"line"});return}if(Ue.isExtendLineBackward(z)){A.preventDefault(),L.move(m,{unit:"line",edge:"focus",reverse:!0});return}if(Ue.isExtendLineForward(z)){A.preventDefault(),L.move(m,{unit:"line",edge:"focus"});return}if(Ue.isMoveBackward(z)){A.preventDefault(),W&&M.isCollapsed(W)?L.move(m,{reverse:!oe}):L.collapse(m,{edge:"start"});return}if(Ue.isMoveForward(z)){A.preventDefault(),W&&M.isCollapsed(W)?L.move(m,{reverse:oe}):L.collapse(m,{edge:"end"});return}if(Ue.isMoveWordBackward(z)){A.preventDefault(),W&&M.isExpanded(W)&&L.collapse(m,{edge:"focus"}),L.move(m,{unit:"word",reverse:!oe});return}if(Ue.isMoveWordForward(z)){A.preventDefault(),W&&M.isExpanded(W)&&L.collapse(m,{edge:"focus"}),L.move(m,{unit:"word",reverse:oe});return}if(ko){if((DT||su)&&W&&(Ue.isDeleteBackward(z)||Ue.isDeleteForward(z))&&M.isCollapsed(W)){var De=U.parent(m,W.anchor.path);if(K.isElement(De)&&C.isVoid(m,De)&&(C.isInline(m,De)||C.isBlock(m,De))){A.preventDefault(),C.deleteBackward(m,{unit:"block"});return}}}else{if(Ue.isBold(z)||Ue.isItalic(z)||Ue.isTransposeCharacter(z)){A.preventDefault();return}if(Ue.isSoftBreak(z)){A.preventDefault(),C.insertSoftBreak(m);return}if(Ue.isSplitBlock(z)){A.preventDefault(),C.insertBreak(m);return}if(Ue.isDeleteBackward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m);return}if(Ue.isDeleteForward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m);return}if(Ue.isDeleteLineBackward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m,{unit:"line"});return}if(Ue.isDeleteLineForward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m,{unit:"line"});return}if(Ue.isDeleteWordBackward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m,{unit:"word"});return}if(Ue.isDeleteWordForward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m,{unit:"word"});return}}}},[s,m,v.onKeyDown]),onPaste:ke(A=>{!s&&$.hasEditableTarget(m,A.target)&&!Ht(A,v.onPaste)&&(!ko||fQ(A.nativeEvent)||su)&&(A.preventDefault(),$.insertData(m,A.clipboardData))},[s,m,v.onPaste])}),fe.createElement(lee,{decorations:H,node:m,renderElement:l,renderPlaceholder:c,renderLeaf:u,selection:m.selection})))))},uee=e=>{var{attributes:t,children:r}=e;return fe.createElement("span",Object.assign({},t),r,er&&fe.createElement("br",null))},cee=()=>[],fee=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&M.isCollapsed(e.selection))){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),qD(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},Ht=(e,t)=>{if(!t)return!1;var r=t(e);return r??(e.isDefaultPrevented()||e.isPropagationStopped())},gT=e=>Lo(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),pee=(e,t)=>{if(!t)return!1;var r=t(e);return r??e.defaultPrevented},HT=Ii(!1),jT=()=>ls(HT);var dee=Ii({});function mee(e){var t=yr([]).current,r=yr({editor:e}).current,n=ke(a=>{r.editor=a,t.forEach(s=>s(a))},[t,r]),o=md(()=>({getSlate:()=>r.editor,addEventListener:a=>(t.push(a),()=>{t.splice(t.indexOf(a),1)})}),[t,r]);return{selectorContext:o,onChange:n}}var hee=["editor","children","onChange","initialValue"],WT=e=>{var{editor:t,children:r,onChange:n,initialValue:o}=e,a=as(e,hee),[s,l]=fe.useState(()=>{if(!U.isNodeList(o))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(ct.stringify(o)));if(!C.isEditor(t))throw new Error("[Slate] editor is invalid! You passed: ".concat(ct.stringify(t)));return t.children=o,Object.assign(t,a),{v:0,editor:t}}),{selectorContext:u,onChange:c}=mee(t),p=ke(()=>{n&&n(t.children),l(g=>({v:g.v+1,editor:t})),c(t)},[t,c,n]);Xn(()=>(K2.set(t,p),()=>{K2.set(t,()=>{})}),[t,p]);var[d,h]=Mi($.isFocused(t));return Xn(()=>{h($.isFocused(t))},[t]),fu(()=>{var g=()=>h($.isFocused(t));return ST>=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)})},[]),fe.createElement(dee.Provider,{value:u},fe.createElement(zT.Provider,{value:s},fe.createElement(Q2.Provider,{value:s.editor},fe.createElement(HT.Provider,{value:d},r))))};var vT=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},yT=(e,t,r)=>{var n=$.toDOMRange(e,t).getBoundingClientRect(),o=$.toDOMRange(e,r).getBoundingClientRect();return vT(n,o)&&vT(o,n)},gee=(e,t)=>{var r=C.range(e,M.end(t)),n=Array.from(C.positions(e,{at:t})),o=0,a=n.length,s=Math.floor(a/2);if(yT(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;)yT(e,C.range(e,n[s]),r)?a=s:o=s,s=Math.floor((o+a)/2);return C.range(e,n[a],r)};function bT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function CT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?bT(Object(r),!0).forEach(function(n){Cd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var _T=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",n=t,{apply:o,onChange:a,deleteBackward:s,addMark:l,removeMark:u}=n;return xd.set(n,new WeakMap),n.addMark=(c,p)=>{var d,h;(d=rg.get(n))===null||d===void 0||d(),!_r.get(n)&&(h=Qt.get(n))!==null&&h!==void 0&&h.length&&_r.set(n,null),qn.delete(n),l(c,p)},n.removeMark=c=>{var p;!_r.get(n)&&(p=Qt.get(n))!==null&&p!==void 0&&p.length&&_r.set(n,null),qn.delete(n),u(c)},n.deleteBackward=c=>{if(c!=="line")return s(c);if(n.selection&&M.isCollapsed(n.selection)){var p=C.above(n,{match:v=>K.isElement(v)&&C.isBlock(n,v),at:n.selection});if(p){var[,d]=p,h=C.range(n,d,n.selection.anchor),g=gee(n,h);M.isCollapsed(g)||L.delete(n,{at:g})}}},n.apply=c=>{var p=[],d=[],h=Qt.get(n);if(h!=null&&h.length){var g=h.map(N=>SQ(N,c)).filter(Boolean);Qt.set(n,g)}var v=No.get(n);v&&No.set(n,cT(n,v,c));var m=Vo.get(n);if(m!=null&&m.at){var b=ge.isPoint(m?.at)?J2(n,m.at,c):cT(n,m.at,c);Vo.set(n,b?CT(CT({},m),{},{at:b}):null)}switch(c.type){case"insert_text":case"remove_text":case"set_node":case"split_node":{p.push(...is(n,c.path));break}case"set_selection":{var y;(y=uu.get(n))===null||y===void 0||y.unref(),uu.delete(n);break}case"insert_node":case"remove_node":{p.push(...is(n,P.parent(c.path)));break}case"merge_node":{var x=P.previous(c.path);p.push(...is(n,x));break}case"move_node":{var w=P.common(P.parent(c.path),P.parent(c.newPath));p.push(...is(n,w));var D;P.isBefore(c.path,c.newPath)?(p.push(...is(n,P.parent(c.path))),D=c.newPath):(p.push(...is(n,P.parent(c.newPath))),D=c.path);var T=U.get(t,P.parent(D)),S=$.findKey(n,T),E=C.pathRef(n,P.parent(D));d.push([E,S]);break}}o(c);for(var[R,B]of p){var[k]=C.node(n,R);yd.set(k,B)}for(var[j,I]of d)if(j.current){var[V]=C.node(n,j.current);yd.set(V,I)}},n.setFragmentData=c=>{var{selection:p}=n;if(p){var[d,h]=M.edges(p),g=C.void(n,{at:d.path}),v=C.void(n,{at:h.path});if(!(M.isCollapsed(p)&&!g)){var m=$.toDOMRange(n,p),b=m.cloneContents(),y=b.childNodes[0];if(b.childNodes.forEach(k=>{k.textContent&&k.textContent.trim()!==""&&(y=k)}),v){var[x]=v,w=m.cloneRange(),D=$.toDOMNode(n,x);w.setEndAfter(D),b=w.cloneContents()}if(g&&(y=b.querySelector("[data-slate-spacer]")),Array.from(b.querySelectorAll("[data-slate-zero-width]")).forEach(k=>{var j=k.getAttribute("data-slate-zero-width")==="n";k.textContent=j?`
1854
- `:""}),AT(y)){var T=y.ownerDocument.createElement("span");T.style.whiteSpace="pre",T.appendChild(y),b.appendChild(T),y=T}var S=n.getFragment(),E=JSON.stringify(S),R=window.btoa(encodeURIComponent(E));y.setAttribute("data-slate-fragment",R),c.setData("application/".concat(r),R);var B=b.ownerDocument.createElement("div");return B.appendChild(b),B.setAttribute("hidden","true"),b.ownerDocument.body.appendChild(B),c.setData("text/html",B.innerHTML),c.setData("text/plain",FT(B)),b.ownerDocument.body.removeChild(B),c}}},n.insertData=c=>{n.insertFragmentData(c)||n.insertTextData(c)},n.insertFragmentData=c=>{var p=c.getData("application/".concat(r))||gQ(c);if(p){var d=decodeURIComponent(window.atob(p)),h=JSON.parse(d);return n.insertFragment(h),!0}return!1},n.insertTextData=c=>{var p=c.getData("text/plain");if(p){var d=p.split(/\r\n|\r|\n/),h=!1;for(var g of d)h&&L.splitNodes(n,{always:!0}),n.insertText(g),h=!0;return!0}return!1},n.onChange=c=>{var p=ST<18?eQ.unstable_batchedUpdates:d=>d();p(()=>{var d=K2.get(n);d&&d(),a(c)})},n},is=(e,t)=>{var r=[];for(var[n,o]of C.levels(e,{at:t})){var a=$.findKey(e,n);r.push([o,a])}return r};i();var vee={isHistory(e){return Qe(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||Un.isOperationList(e.redos[0].operations))&&(e.undos.length===0||Un.isOperationList(e.undos[0].operations))}};var ig=new WeakMap,ag=new WeakMap,us={isHistoryEditor(e){return vee.isHistory(e.history)&&C.isEditor(e)},isMerging(e){return ag.get(e)},isSaving(e){return ig.get(e)},redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var r=us.isMerging(e);ag.set(e,!1),t(),ag.set(e,r)},withoutSaving(e,t){var r=us.isSaving(e);ig.set(e,!1),t(),ig.set(e,r)}},UT=e=>{var t=e,{apply:r}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:n}=t,{redos:o}=n;if(o.length>0){var a=o[o.length-1];a.selectionBefore&&L.setSelection(t,a.selectionBefore),us.withoutSaving(t,()=>{C.withoutNormalizing(t,()=>{for(var s of a.operations)t.apply(s)})}),n.redos.pop(),t.writeHistory("undos",a)}},t.undo=()=>{var{history:n}=t,{undos:o}=n;if(o.length>0){var a=o[o.length-1];us.withoutSaving(t,()=>{C.withoutNormalizing(t,()=>{var s=a.operations.map(Un.inverse).reverse();for(var l of s)t.apply(l);a.selectionBefore&&L.setSelection(t,a.selectionBefore)})}),t.writeHistory("redos",a),n.undos.pop()}},t.apply=n=>{var{operations:o,history:a}=t,{undos:s}=a,l=s[s.length-1],u=l&&l.operations[l.operations.length-1],c=us.isSaving(t),p=us.isMerging(t);if(c==null&&(c=bee(n)),c){if(p==null&&(l==null?p=!1:o.length!==0?p=!0:p=yee(n,u)),l&&p)l.operations.push(n);else{var d={operations:[n],selectionBefore:t.selection};t.writeHistory("undos",d)}for(;s.length>100;)s.shift();a.redos=[]}r(n)},t.writeHistory=(n,o)=>{t.history[n].push(o)},t},yee=(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)),bee=(e,t)=>e.type!=="set_selection";var UP=kr(JT());var KP=kr(mp());i();i();function mu(e){"@babel/helpers - typeof";return mu=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},mu(e)}function See(e,t){if(mu(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(mu(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Dee(e){var t=See(e,"string");return mu(t)==="symbol"?t:String(t)}function cs(e,t,r){return t=Dee(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var eP=new WeakMap,tP=new WeakMap,hu=class{},fs=class extends hu{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),cs(this,"offset",void 0),cs(this,"path",void 0);var{offset:r,path:n}=t;this.offset=r,this.path=n}},ps=class extends hu{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),cs(this,"offset",void 0),cs(this,"path",void 0);var{offset:r,path:n}=t;this.offset=r,this.path=n}},Eee=(e,t)=>{var r=e.text.length;eP.set(e,[r,t])},Tee=e=>eP.get(e),Pee=(e,t)=>{var r=e.text.length;tP.set(e,[r,t])},Aee=e=>tP.get(e);function ZT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function cg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ZT(Object(r),!0).forEach(function(n){cs(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ZT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Dd=new WeakSet,Ed=e=>{var t=[],r=o=>{if(o!=null){var a=t[t.length-1];if(typeof o=="string"){var s={text:o};Dd.add(s),o=s}if(J.isText(o)){var l=o;J.isText(a)&&Dd.has(a)&&Dd.has(l)&&J.equals(a,l,{loose:!0})?a.text+=l.text:t.push(l)}else if(K.isElement(o))t.push(o);else if(o instanceof hu){var u=t[t.length-1];J.isText(u)||(r(""),u=t[t.length-1]),o instanceof fs?Eee(u,o):o instanceof ps&&Pee(u,o)}else throw new Error("Unexpected hyperscript child object: ".concat(o))}};for(var n of e.flat(1/0))r(n);return t};function Ree(e,t,r){return new fs(t)}function Fee(e,t,r){return[new fs(t),new ps(t)]}function rP(e,t,r){return cg(cg({},t),{},{children:Ed(r)})}function Bee(e,t,r){return new ps(t)}function Oee(e,t,r){return Ed(r)}function Mee(e,t,r){var n=r.find(a=>a instanceof fs),o=r.find(a=>a instanceof ps);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 cg({anchor:{offset:n.offset,path:n.path},focus:{offset:o.offset,path:o.path}},t)}function Iee(e,t,r){var n=Ed(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:""}),!J.isText(o))throw new Error(`
1855
- The <text> hyperscript tag can only contain text content as children.`);return Dd.delete(o),Object.assign(o,t),o}var kee=e=>(t,r,n)=>{var o=[],a;for(var s of n)M.isRange(s)?a=s:o.push(s);var l=Ed(o),u={},c=e();Object.assign(c,r),c.children=l;for(var[p,d]of U.texts(c)){var h=Tee(p),g=Aee(p);if(h!=null){var[v]=h;u.anchor={path:d,offset:v}}if(g!=null){var[m]=g;u.focus={path:d,offset:m}}}if(u.anchor&&!u.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(!u.anchor&&u.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<focus />`. For collapsed selections, use `<cursor />` instead.");return a!=null?c.selection=a:M.isRange(u)&&(c.selection=u),c};function QT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function du(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?QT(Object(r),!0).forEach(function(n){cs(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):QT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Vee={anchor:Ree,cursor:Fee,editor:kee(od),element:rP,focus:Bee,fragment:Oee,selection:Mee,text:Iee},Nee=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{elements:r={}}=t,n=$ee(r),o=du(du(du({},Vee),n),t.creators),a=Lee(o);return a},Lee=e=>{var t=function(n,o){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];var u=e[n];if(!u)throw new Error("No hyperscript creator found for tag: <".concat(n,">"));o==null&&(o={}),Qe(o)||(s=[o].concat(s),o={}),s=s.filter(p=>!!p).flat();var c=u(n,o,s);return c};return t},$ee=e=>{var t={},r=function(){var a=e[n];if(typeof a!="object")throw new Error("Properties specified for a hyperscript shorthand should be an object, but for the custom element <".concat(n,"> tag you passed: ").concat(a));t[n]=(s,l,u)=>rP("element",du(du({},a),l),u)};for(var n in e)r();return t},ds=Nee();i();i();var zee=/["'&<>]/;var gu=e=>{let t=`${e}`,r=zee.exec(t);if(!r)return t;let n="",o="",a=0,s=0;for(a=r.index;a<t.length;a++){let l=t.charCodeAt(a);l===34?n="&quot;":l===38?n="&amp;":l===39?n="&#39;":l===60?n="&lt;":l===62?n="&gt;":n="",n!==""&&(s!==a&&(o+=t.substring(s,a)),s=a+1,o+=n)}return s!==a?o+t.substring(s,a):o};var pg={text:""},Gee=e=>e.type!=="image",Hee=e=>e.type==="image"&&e.url===void 0,jee=e=>F(e.children)&&e.children.length===1,Wee=e=>J.isText(e)&&e.text?.trim()==="",_ee=e=>jee(e)&&Wee(e.children[0]),Uee=e=>e.every(t=>le(t)),Kee=e=>Uee(e)?null:e.join(""),nP=(e,t)=>{let r=e;return r.children&&(r.children=r.children.map(n=>({...nP(n,t),...t}))),r},qee=e=>{let r=[gu(e.text)];return F(e.bold)&&e.bold&&(r.push("</strong>"),r.unshift("<strong>")),F(e.italic)&&e.italic&&(r.push("</em>"),r.unshift("<em>")),F(e.underline)&&e.underline&&(r.push("</u>"),r.unshift("<u>")),F(e.strikethrough)&&e.strikethrough&&(r.push("</s>"),r.unshift("<s>")),F(e.code)&&e.code&&(r.push("</code>"),r.unshift("<code>")),r.join("")},oP=e=>{if(Gee(e)&&_ee(e)||Hee(e))return null;if(J.isText(e))return qee(e);let t=F(e.children)?e.children.map(r=>oP(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="${gu(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="${gu(e.url)}" />`;case"code":return`<code>${t}</code>`;case void 0:default:return t}},ms=e=>{let t=e.map(r=>oP(r));return Kee(t)},fg={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"})},iP={DEL:()=>({strikethrough:!0}),S:()=>({strikethrough:!0}),EM:()=>({italic:!0}),I:()=>({italic:!0}),STRONG:()=>({bold:!0}),U:()=>({underline:!0}),CODE:()=>({code:!0})},aP=e=>e.nodeType===3,Xee=e=>e.nodeType===1,sP=e=>e.nodeName==="CODE",lP=(e,t)=>sP(e)&&F(t[0])&&!t[0].match(/\n/g),Yee=(e,t)=>!lP(e,t)&&F(fg[e.nodeName]),Jee=(e,t)=>lP(e,t)||F(iP[e.nodeName]),Zee=e=>F(e)&&!st(e)&&e.text?.trim()==="",Qee=(e,t)=>{let{nodeName:r}=t;if(r!=="IMG"&&e.length===1&&!st(e[0])&&F(e[0].text)&&e[0].text?.trim()==="")return ds("element",fg.P(),pg);let n=fg[r](t);return ds("element",n,e)},ete=(e,t)=>{let{nodeName:r}=t,n=iP[r]();return e.map(o=>!st(o)&&F(o)&&F(o.children)?nP(o,n):Zee(o)?ds("text",{},pg):ds("text",n,o))},tte=e=>e.nodeName==="BLOCKQUOTE"||e.nodeName==="OL"||e.nodeName==="UL",rte=(e,t)=>{let r=[];return sP(e)?r=[...e.childNodes].map(n=>aP(n)?n.textContent:n.outerHTML):tte(e)?r=[...e.childNodes].filter(n=>n.textContent?.trim()!=="").flatMap(t):r=[...e.childNodes].flatMap(t),r},uP=e=>{if(aP(e))return e.nodeValue?.trim()===""?null:e.textContent;if(e.nodeName==="BR")return`
1856
- `;if(!Xee(e))return null;let t=rte(e,uP),r=t.length>0&&t[0]!=null?t:[pg];return e.nodeName==="BODY"?ds("fragment",{},r):Yee(e,t)?Qee(r,e):Jee(e,r)?ete(r,e):t},Td=e=>{if(!e)return;let t=new DOMParser().parseFromString(e,"text/html").body,r=uP(t);if(F(r)&&Cn(r)&&F(r[0])&&F(r[0].text))return[{type:"paragraph",children:[{text:r[0].text}]}];let n=Cn(r)?r[r.length-1]:void 0;return Cn(r)&&K.isElement(n)&&n.type!=="paragraph"?[...r,{type:"paragraph",children:[{text:""}]}]:r};i();import{jsx as hs}from"react/jsx-runtime";var cP=({attributes:e={"data-slate-leaf":!0},children:t,leaf:r={}})=>{let n=t;return F(r.bold)&&(n=hs("strong",{children:n})),F(r.italic)&&(n=hs("em",{children:n})),F(r.underline)&&(n=hs("u",{children:n})),F(r.strikethrough)&&(n=hs("s",{children:n})),F(r.code)&&(n=hs("code",{children:n})),hs("span",{...e,children:n})};i();import dn,{css as pP}from"styled-components";import{jsx as br,jsxs as pte}from"react/jsx-runtime";var fP=dn.span`
1846
+ `,o2=(e,t,r)=>{let n=({groupLabel:o,groupOptions:a,disabled:s=!1})=>n2("optgroup",{"data-testid":o,disabled:s,label:o,children:o2(a)},o);return e.map(o=>{if(Object.prototype.hasOwnProperty.call(o,"groupLabel"))return n(o);let{label:a,value:s,disabled:l=!1}=o,u=ve(r)?o[r]:s,c=ve(t)?o[t]:a;return Uu(u)&&(u=$t(u)),n2("option",{disabled:l,value:u,children:c},`${$t(c)}--${$t(u)}`)})},uX=(e,t,r)=>F(e)&&!r?o2([{label:e,value:"",disabled:t}]):null,cX=e=>e?null:n2(Ee,{size:"md",type:"caret-down"}),Ei=iX(({ariaLabel:e,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,labelName:a="label",multiple:s=!1,options:l,placeholder:u="Please select...",preventPlaceholderSelection:c=!1,required:p=!1,valueName:d="value",...h},g)=>aD(lX,{$disabled:t,$forceState:r,$fullWidth:n,children:[aD(t2,{ref:g,$forceState:r,$hasError:o,"aria-invalid":o?"true":"false","aria-label":e,disabled:t,multiple:s,required:p,...h,children:[uX(u,c,s),o2(l,a,d)]}),cX(s)]}));Ei.displayName="Select_VHS";import{jsx as sD}from"react/jsx-runtime";var Kp=({disabled:e=!1,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:a},label:s,labelDescription:l,labelProps:u={},options:c,placeholder:p,onChangeCustom:d,...h})=>{let g=v=>le(v)?"":Uu(v)?$t(r):v;return sD(Zt,{disabled:e,error:a[t],label:s,labelDescription:l,labelProps:u,name:t,children:sD(Ei,{"data-testid":`select-${t}`,disabled:e,name:t,onBlur:o,onChange:v=>{n(v),d&&d(v.target.value)},options:c,placeholder:p,value:g(r),...h})})};Kp.displayName="FormConnectorSelect_VHS";i();i();import{useEffect as fX}from"react";import{jsx as pX}from"react/jsx-runtime";var qp=({field:{name:e,value:t,onChange:r},form:{setFieldValue:n}={},onChangeCustom:o,valueState:a="",...s})=>(fX(()=>{!a&&le(t)||a!==t&&ee(n)&&n(e,a)},[n,e,a,t]),pX(Qa,{"data-testid":`input-${e}`,name:e,onChange:l=>{r(l),ee(o)&&o(l.target.value)},type:"hidden",value:le(t)?"":t,...s}));qp.displayName="FormConnectorHidden_VHS";i();i();import{useState as Bte,useEffect as Ote}from"react";import Mte from"styled-components";i();i();import{useCallback as wg,useMemo as Dte,useEffect as Ete}from"react";import _T from"styled-components";i();var Z2=kr(fD()),xP=kr(l2()),wP=kr(WD());import fe,{createContext as Ii,useContext as ls,useRef as yr,useEffect as Xn,useLayoutEffect as XZ,useState as Mi,memo as YZ,forwardRef as JZ,useCallback as ke,Component as ZZ,useReducer as QZ,useMemo as md}from"react";i();i();function _D(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function UD(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function u2(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return UD(r.overflowY,t)||UD(r.overflowX,t)||(function(n){var o=(function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(n);return!!o&&(o.clientHeight<n.scrollHeight||o.clientWidth<n.scrollWidth)})(e)}return!1}function Yp(e,t,r,n,o,a,s,l){return a<e&&s>t||a>e&&s<t?0:a<=e&&l<=r||s>=t&&l>=r?a-e-n:s>t&&l<r||a<e&&l>r?s-t+o:0}var c2=function(e,t){var r=window,n=t.scrollMode,o=t.block,a=t.inline,s=t.boundary,l=t.skipOverflowHiddenElements,u=typeof s=="function"?s:function(we){return we!==s};if(!_D(e))throw new TypeError("Invalid target");for(var c,p,d=document.scrollingElement||document.documentElement,h=[],g=e;_D(g)&&u(g);){if((g=(p=(c=g).parentElement)==null?c.getRootNode().host||null:p)===d){h.push(g);break}g!=null&&g===document.body&&u2(g)&&!u2(document.documentElement)||g!=null&&u2(g,l)&&h.push(g)}for(var v=r.visualViewport?r.visualViewport.width:innerWidth,m=r.visualViewport?r.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,x=e.getBoundingClientRect(),w=x.height,D=x.width,P=x.top,S=x.right,E=x.bottom,R=x.left,B=o==="start"||o==="nearest"?P:o==="end"?E:P+w/2,k=a==="center"?R+D/2:a==="end"?S:R,j=[],I=0;I<h.length;I++){var V=h[I],N=V.getBoundingClientRect(),H=N.height,Z=N.width,Q=N.top,X=N.right,G=N.bottom,re=N.left;if(n==="if-needed"&&P>=0&&R>=0&&E<=m&&S<=v&&P>=Q&&E<=G&&R>=re&&S<=X)return j;var de=getComputedStyle(V),pe=parseInt(de.borderLeftWidth,10),je=parseInt(de.borderTopWidth,10),A=parseInt(de.borderRightWidth,10),_=parseInt(de.borderBottomWidth,10),z=0,W=0,se="offsetWidth"in V?V.offsetWidth-V.clientWidth-pe-A:0,oe="offsetHeight"in V?V.offsetHeight-V.clientHeight-je-_:0,me="offsetWidth"in V?V.offsetWidth===0?0:Z/V.offsetWidth:0,xe="offsetHeight"in V?V.offsetHeight===0?0:H/V.offsetHeight:0;if(d===V)z=o==="start"?B:o==="end"?B-m:o==="nearest"?Yp(y,y+m,m,je,_,y+B,y+B+w,w):B-m/2,W=a==="start"?k:a==="center"?k-v/2:a==="end"?k-v:Yp(b,b+v,v,pe,A,b+k,b+k+D,D),z=Math.max(0,z+y),W=Math.max(0,W+b);else{z=o==="start"?B-Q-je:o==="end"?B-G+_+oe:o==="nearest"?Yp(Q,G,H,je,_+oe,B,B+w,w):B-(Q+H/2)+oe/2,W=a==="start"?k-re-pe:a==="center"?k-(re+Z/2)+se/2:a==="end"?k-X+A+se:Yp(re,X,Z,pe,A+se,k,k+D,D);var De=V.scrollLeft,Pe=V.scrollTop;B+=Pe-(z=Math.max(0,Math.min(Pe+z/xe,V.scrollHeight-H/xe+oe))),k+=De-(W=Math.max(0,Math.min(De+W/me,V.scrollWidth-Z/me+se)))}j.push({el:V,top:z,left:W})}return j};function KD(e){return e===Object(e)&&Object.keys(e).length!==0}function lY(e,t){t===void 0&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(n){var o=n.el,a=n.top,s=n.left;o.scroll&&r?o.scroll({top:a,left:s,behavior:t}):(o.scrollTop=a,o.scrollLeft=s)})}function uY(e){return e===!1?{block:"end",inline:"nearest"}:KD(e)?e:{block:"start",inline:"nearest"}}function cY(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(KD(t)&&typeof t.behavior=="function")return t.behavior(r?c2(e,t):[]);if(r){var n=uY(t);return lY(c2(e,n),n.behavior)}}var qD=cY;i();i();function XD(e){return Object.prototype.toString.call(e)==="[object Object]"}function Qe(e){var t,r;return XD(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(XD(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}i();function jr(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var o,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Io(e){return!!e&&!!e[gr]}function Ti(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)===yY})(e)||Array.isArray(e)||!!e[nE]||!!(!((t=e.constructor)===null||t===void 0)&&t[nE])||C2(e)||x2(e))}function eu(e,t,r){r===void 0&&(r=!1),es(e)===0?(r?Object.keys:P2)(e).forEach((function(n){r&&typeof n=="symbol"||t(n,e[n],e)})):e.forEach((function(n,o){return t(o,n,e)}))}function es(e){var t=e[gr];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:C2(e)?2:x2(e)?3:0}function h2(e,t){return es(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function fY(e,t){return es(e)===2?e.get(t):e[t]}function oE(e,t,r){var n=es(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function pY(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function C2(e){return gY&&e instanceof Map}function x2(e){return vY&&e instanceof Set}function Pi(e){return e.o||e.t}function w2(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=bY(e);delete t[gr];for(var r=P2(t),n=0;n<r.length;n++){var o=r[n],a=t[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function S2(e,t){return t===void 0&&(t=!1),D2(e)||Io(e)||!Ti(e)||(es(e)>1&&(e.set=e.add=e.clear=e.delete=dY),Object.freeze(e),t&&eu(e,(function(r,n){return S2(n,!0)}),!0)),e}function dY(){jr(2)}function D2(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function un(e){var t=CY[e];return t||jr(18,e),t}function YD(){return tu}function f2(e,t){t&&(un("Patches"),e.u=[],e.s=[],e.v=t)}function Jp(e){g2(e),e.p.forEach(mY),e.p=null}function g2(e){e===tu&&(tu=e.l)}function JD(e){return tu={p:[],l:tu,h:e,m:!0,_:0}}function mY(e){var t=e[gr];t.i===0||t.i===1?t.j():t.g=!0}function p2(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||un("ES5").S(t,e,n),n?(r[gr].P&&(Jp(t),jr(4)),Ti(e)&&(e=Zp(t,e),t.l||Qp(t,e)),t.u&&un("Patches").M(r[gr].t,e,t.u,t.s)):e=Zp(t,r,[]),Jp(t),t.u&&t.v(t.u,t.s),e!==iE?e:void 0}function Zp(e,t,r){if(D2(t))return t;var n=t[gr];if(!n)return eu(t,(function(l,u){return ZD(e,n,t,l,u,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return Qp(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=w2(n.k):n.o,a=o,s=!1;n.i===3&&(a=new Set(o),o.clear(),s=!0),eu(a,(function(l,u){return ZD(e,n,o,l,u,r,s)})),Qp(e,o,!1),r&&e.u&&un("Patches").N(n,r,e.u,e.s)}return n.o}function ZD(e,t,r,n,o,a,s){if(Io(o)){var l=Zp(e,o,a&&t&&t.i!==3&&!h2(t.R,n)?a.concat(n):void 0);if(oE(r,n,l),!Io(l))return;e.m=!1}else s&&r.add(o);if(Ti(o)&&!D2(o)){if(!e.h.D&&e._<1)return;Zp(e,o),t&&t.A.l||Qp(e,o)}}function Qp(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&S2(t,r)}function d2(e,t){var r=e[gr];return(r?Pi(r):e)[t]}function QD(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 v2(e){e.P||(e.P=!0,e.l&&v2(e.l))}function m2(e){e.o||(e.o=w2(e.t))}function y2(e,t,r){var n=C2(t)?un("MapSet").F(t,r):x2(t)?un("MapSet").T(t,r):e.O?(function(o,a){var s=Array.isArray(o),l={i:s?1:0,A:a?a.A:YD(),P:!1,I:!1,R:{},l:a,t:o,k:null,o:null,j:null,C:!1},u=l,c=b2;s&&(u=[l],c=Ql);var p=Proxy.revocable(u,c),d=p.revoke,h=p.proxy;return l.k=h,l.j=d,h})(t,r):un("ES5").J(t,r);return(r?r.A:YD()).p.push(n),n}function hY(e){return Io(e)||jr(22,e),(function t(r){if(!Ti(r))return r;var n,o=r[gr],a=es(r);if(o){if(!o.P&&(o.i<4||!un("ES5").K(o)))return o.t;o.I=!0,n=eE(r,a),o.I=!1}else n=eE(r,a);return eu(n,(function(s,l){o&&fY(o.t,s)===l||oE(n,s,t(l))})),a===3?new Set(n):n})(e)}function eE(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return w2(e)}var tE,tu,E2=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",gY=typeof Map<"u",vY=typeof Set<"u",rE=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",iE=E2?Symbol.for("immer-nothing"):((tE={})["immer-nothing"]=!0,tE),nE=E2?Symbol.for("immer-draftable"):"__$immer_draftable",gr=E2?Symbol.for("immer-state"):"__$immer_state";var yY=""+Object.prototype.constructor,P2=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,bY=Object.getOwnPropertyDescriptors||function(e){var t={};return P2(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},CY={},b2={get:function(e,t){if(t===gr)return e;var r=Pi(e);if(!h2(r,t))return(function(o,a,s){var l,u=QD(a,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(o.k):void 0})(e,r,t);var n=r[t];return e.I||!Ti(n)?n:n===d2(e.t,t)?(m2(e),e.o[t]=y2(e.A.h,n,e)):n},has:function(e,t){return t in Pi(e)},ownKeys:function(e){return Reflect.ownKeys(Pi(e))},set:function(e,t,r){var n=QD(Pi(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var o=d2(Pi(e),t),a=o?.[gr];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(pY(r,o)&&(r!==void 0||h2(e.t,t)))return!0;m2(e),v2(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 d2(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,m2(e),v2(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Pi(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){jr(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){jr(12)}},Ql={};eu(b2,(function(e,t){Ql[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Ql.deleteProperty=function(e,t){return Ql.set.call(this,e,t,void 0)},Ql.set=function(e,t,r){return b2.set.call(this,e[0],t,r,e[0])};var xY=(function(){function e(r){var n=this;this.O=rE,this.D=!0,this.produce=function(o,a,s){if(typeof o=="function"&&typeof a!="function"){var l=a;a=o;var u=n;return function(m){var b=this;m===void 0&&(m=l);for(var y=arguments.length,x=Array(y>1?y-1:0),w=1;w<y;w++)x[w-1]=arguments[w];return u.produce(m,(function(D){var P;return(P=a).call.apply(P,[b,D].concat(x))}))}}var c;if(typeof a!="function"&&jr(6),s!==void 0&&typeof s!="function"&&jr(7),Ti(o)){var p=JD(n),d=y2(n,o,void 0),h=!0;try{c=a(d),h=!1}finally{h?Jp(p):g2(p)}return typeof Promise<"u"&&c instanceof Promise?c.then((function(m){return f2(p,s),p2(m,p)}),(function(m){throw Jp(p),m})):(f2(p,s),p2(c,p))}if(!o||typeof o!="object"){if((c=a(o))===void 0&&(c=o),c===iE&&(c=void 0),n.D&&S2(c,!0),s){var g=[],v=[];un("Patches").M(o,c,g,v),s(g,v)}return c}jr(21,o)},this.produceWithPatches=function(o,a){if(typeof o=="function")return function(c){for(var p=arguments.length,d=Array(p>1?p-1:0),h=1;h<p;h++)d[h-1]=arguments[h];return n.produceWithPatches(c,(function(g){return o.apply(void 0,[g].concat(d))}))};var s,l,u=n.produce(o,a,(function(c,p){s=c,l=p}));return typeof Promise<"u"&&u instanceof Promise?u.then((function(c){return[c,s,l]})):[u,s,l]},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){Ti(r)||jr(8),Io(r)&&(r=hY(r));var n=JD(this),o=y2(this,r,void 0);return o[gr].C=!0,g2(n),o},t.finishDraft=function(r,n){var o=r&&r[gr],a=o.A;return f2(a,n),p2(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!rE&&jr(20),this.O=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var a=n[o];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}o>-1&&(n=n.slice(o+1));var s=un("Patches").$;return Io(r)?s(r,n):this.produce(r,(function(l){return s(l,n)}))},e})(),vr=new xY,ed=vr.produce,ktt=vr.produceWithPatches.bind(vr),Vtt=vr.setAutoFreeze.bind(vr),Ntt=vr.setUseProxies.bind(vr),Ltt=vr.applyPatches.bind(vr),T2=vr.createDraft.bind(vr),A2=vr.finishDraft.bind(vr);var wY={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=T.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},SY={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=ge.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},DY={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=M.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},rd=new WeakMap,nd=new WeakMap,nu=new WeakMap,NE=new WeakMap,aE=new WeakMap,sE=new WeakMap,lE=new WeakMap,T={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=T.levels(e,t);return r?n=n.slice(1):n=n.slice(0,-1),n},common(e,t){for(var r=[],n=0;n<e.length&&n<t.length;n++){var o=e[n],a=t[n];if(o!==a)break;r.push(o)}return r},compare(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return 0},endsAfter(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),a=e[r],s=t[r];return T.equals(n,o)&&a>s},endsAt(e,t){var r=e.length,n=e.slice(0,r),o=t.slice(0,r);return T.equals(n,o)},endsBefore(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),a=e[r],s=t[r];return T.equals(n,o)&&a<s},equals(e,t){return e.length===t.length&&e.every((r,n)=>r===t[n])},hasPrevious(e){return e[e.length-1]>0},isAfter(e,t){return T.compare(e,t)===1},isAncestor(e,t){return e.length<t.length&&T.compare(e,t)===0},isBefore(e,t){return T.compare(e,t)===-1},isChild(e,t){return e.length===t.length+1&&T.compare(e,t)===0},isCommon(e,t){return e.length<=t.length&&T.compare(e,t)===0},isDescendant(e,t){return e.length>t.length&&T.compare(e,t)===0},isParent(e,t){return e.length+1===t.length&&T.compare(e,t)===0},isPath(e){return Array.isArray(e)&&(e.length===0||typeof e[0]=="number")},isSibling(e,t){if(e.length!==t.length)return!1;var r=e.slice(0,-1),n=t.slice(0,-1),o=e[e.length-1],a=t[t.length-1];return o!==a&&T.equals(r,n)},levels(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=[],o=0;o<=e.length;o++)n.push(e.slice(0,o));return r&&n.reverse(),n},next(e){if(e.length===0)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(e){if(e.length===0)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(e.length===0)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!T.isAncestor(t,e)&&!T.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e)return null;var n=[...e],{affinity:o="forward"}=r;if(e.length===0)return n;switch(t.type){case"insert_node":{var{path:a}=t;(T.equals(a,n)||T.endsBefore(a,n)||T.isAncestor(a,n))&&(n[a.length-1]+=1);break}case"remove_node":{var{path:s}=t;if(T.equals(s,n)||T.isAncestor(s,n))return null;T.endsBefore(s,n)&&(n[s.length-1]-=1);break}case"merge_node":{var{path:l,position:u}=t;T.equals(l,n)||T.endsBefore(l,n)?n[l.length-1]-=1:T.isAncestor(l,n)&&(n[l.length-1]-=1,n[l.length]+=u);break}case"split_node":{var{path:c,position:p}=t;if(T.equals(c,n)){if(o==="forward")n[n.length-1]+=1;else if(o!=="backward")return null}else T.endsBefore(c,n)?n[c.length-1]+=1:T.isAncestor(c,n)&&e[c.length]>=p&&(n[c.length-1]+=1,n[c.length]-=p);break}case"move_node":{var{path:d,newPath:h}=t;if(T.equals(d,h))return n;if(T.isAncestor(d,n)||T.equals(d,n)){var g=h.slice();return T.endsBefore(d,h)&&d.length<h.length&&(g[d.length-1]-=1),g.concat(n.slice(d.length))}else T.isSibling(d,h)&&(T.isAncestor(h,n)||T.equals(h,n))?T.endsBefore(d,n)?n[d.length-1]-=1:n[d.length-1]+=1:T.endsBefore(h,n)||T.equals(h,n)||T.isAncestor(h,n)?(T.endsBefore(d,n)&&(n[d.length-1]-=1),n[h.length-1]+=1):T.endsBefore(d,n)&&(T.equals(h,n)&&(n[h.length-1]+=1),n[d.length-1]-=1);break}}return n}};function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uE(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 ru(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?uE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var EY=(e,t,r)=>{switch(r.type){case"insert_node":{var{path:n,node:o}=r,a=U.parent(e,n),s=n[n.length-1];if(s>a.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(n,"] because the destination is past the end of the node."));if(a.children.splice(s,0,o),t)for(var[l,u]of M.points(t))t[u]=ge.transform(l,r);break}case"insert_text":{var{path:c,offset:p,text:d}=r;if(d.length===0)break;var h=U.leaf(e,c),g=h.text.slice(0,p),v=h.text.slice(p);if(h.text=g+d+v,t)for(var[m,b]of M.points(t))t[b]=ge.transform(m,r);break}case"merge_node":{var{path:y}=r,x=U.get(e,y),w=T.previous(y),D=U.get(e,w),P=U.parent(e,y),S=y[y.length-1];if(J.isText(x)&&J.isText(D))D.text+=x.text;else if(!J.isText(x)&&!J.isText(D))D.children.push(...x.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(y,"] to nodes of different interfaces: ").concat(ct.stringify(x)," ").concat(ct.stringify(D)));if(P.children.splice(S,1),t)for(var[E,R]of M.points(t))t[R]=ge.transform(E,r);break}case"move_node":{var{path:B,newPath:k}=r;if(T.isAncestor(B,k))throw new Error("Cannot move a path [".concat(B,"] to new path [").concat(k,"] because the destination is inside itself."));var j=U.get(e,B),I=U.parent(e,B),V=B[B.length-1];I.children.splice(V,1);var N=T.transform(B,r),H=U.get(e,T.parent(N)),Z=N[N.length-1];if(H.children.splice(Z,0,j),t)for(var[Q,X]of M.points(t))t[X]=ge.transform(Q,r);break}case"remove_node":{var{path:G}=r,re=G[G.length-1],de=U.parent(e,G);if(de.children.splice(re,1),t)for(var[pe,je]of M.points(t)){var A=ge.transform(pe,r);if(t!=null&&A!=null)t[je]=A;else{var _=void 0,z=void 0;for(var[W,se]of U.texts(e))if(T.compare(se,G)===-1)_=[W,se];else{z=[W,se];break}var oe=!1;_&&z&&(T.equals(z[1],G)?oe=!T.hasPrevious(z[1]):oe=T.common(_[1],G).length<T.common(z[1],G).length),_&&!oe?(pe.path=_[1],pe.offset=_[0].text.length):z?(pe.path=z[1],pe.offset=0):t=null}}break}case"remove_text":{var{path:me,offset:xe,text:De}=r;if(De.length===0)break;var Pe=U.leaf(e,me),we=Pe.text.slice(0,xe),wt=Pe.text.slice(xe+De.length);if(Pe.text=we+wt,t)for(var[St,We]of M.points(t))t[We]=ge.transform(St,r);break}case"set_node":{var{path:sr,properties:Wt,newProperties:Rt}=r;if(sr.length===0)throw new Error("Cannot set properties on the root node!");var lr=U.get(e,sr);for(var O in Rt){if(O==="children"||O==="text")throw new Error('Cannot set the "'.concat(O,'" property of nodes!'));var Y=Rt[O];Y==null?delete lr[O]:lr[O]=Y}for(var te in Wt)Rt.hasOwnProperty(te)||delete lr[te];break}case"set_selection":{var{newProperties:q}=r;if(q==null)t=q;else{if(t==null){if(!M.isRange(q))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(ct.stringify(q)," when there is no current selection."));t=ru({},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:Dt,properties:no}=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 Ir=U.get(e,Te),V1=U.parent(e,Te),r5=Te[Te.length-1],ea;if(J.isText(Ir)){var N1=Ir.text.slice(0,Dt),AO=Ir.text.slice(Dt);Ir.text=N1,ea=ru(ru({},no),{},{text:AO})}else{var RO=Ir.children.slice(0,Dt),FO=Ir.children.slice(Dt);Ir.children=RO,ea=ru(ru({},no),{},{children:FO})}if(V1.children.splice(r5+1,0,ea),t)for(var[BO,OO]of M.points(t))t[OO]=ge.transform(BO,r);break}}return t},PY={transform(e,t){e.children=T2(e.children);var r=e.selection&&T2(e.selection);try{r=EY(e,r,t)}finally{e.children=A2(e.children),r?e.selection=Io(r)?A2(r):r:e.selection=null}}},TY={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)}},AY={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)}},LE=(e,t)=>{for(var r in e){var n=e[r],o=t[r];if(Qe(n)&&Qe(o)){if(!LE(n,o))return!1}else if(Array.isArray(n)&&Array.isArray(o)){if(n.length!==o.length)return!1;for(var a=0;a<n.length;a++)if(n[a]!==o[a])return!1}else if(n!==o)return!1}for(var s in t)if(e[s]===void 0&&t[s]!==void 0)return!1;return!0};function RY(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Kn(e,t){if(e==null)return{};var r=RY(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var FY=["anchor","focus"];function cE(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 BY(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var M={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,{anchor:n,focus:o}=e;return M.isBackward(e)===r?[n,o]:[o,n]},end(e){var[,t]=M.edges(e);return t},equals(e,t){return ge.equals(e.anchor,t.anchor)&&ge.equals(e.focus,t.focus)},includes(e,t){if(M.isRange(t)){if(M.includes(e,t.anchor)||M.includes(e,t.focus))return!0;var[r,n]=M.edges(e),[o,a]=M.edges(t);return ge.isBefore(r,o)&&ge.isAfter(n,a)}var[s,l]=M.edges(e),u=!1,c=!1;return ge.isPoint(t)?(u=ge.compare(t,s)>=0,c=ge.compare(t,l)<=0):(u=T.compare(t,s.path)>=0,c=T.compare(t,l.path)<=0),u&&c},intersection(e,t){var r=Kn(e,FY),[n,o]=M.edges(e),[a,s]=M.edges(t),l=ge.isBefore(n,a)?a:n,u=ge.isBefore(o,s)?o:s;return ge.isBefore(u,l)?null:BY({anchor:l,focus:u},r)},isBackward(e){var{anchor:t,focus:r}=e;return ge.isAfter(t,r)},isCollapsed(e){var{anchor:t,focus:r}=e;return ge.equals(t,r)},isExpanded(e){return!M.isCollapsed(e)},isForward(e){return!M.isBackward(e)},isRange(e){return Qe(e)&&ge.isPoint(e.anchor)&&ge.isPoint(e.focus)},*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=M.edges(e);return t},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return ed(e,n=>{if(n===null)return null;var{affinity:o="inward"}=r,a,s;if(o==="inward"){var l=M.isCollapsed(n);M.isForward(n)?(a="forward",s=l?a:"backward"):(a="backward",s=l?a:"forward")}else o==="outward"?M.isForward(n)?(a="backward",s="forward"):(a="forward",s="backward"):(a=o,s=o);var u=ge.transform(n.anchor,t,{affinity:a}),c=ge.transform(n.focus,t,{affinity:s});if(!u||!c)return null;n.anchor=u,n.focus=c})}},fE=e=>Qe(e)&&U.isNodeList(e.children)&&!C.isEditor(e),K={isAncestor(e){return Qe(e)&&U.isNodeList(e.children)},isElement:fE,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 fE(t)&&t[n]===r},matches(e,t){for(var r in t)if(r!=="children"&&e[r]!==t[r])return!1;return!0}},OY=["children"],MY=["text"],pE=new WeakMap,U={ancestor(e,t){var r=U.get(e,t);if(J.isText(r))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(ct.stringify(r)));return r},*ancestors(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of T.ancestors(t,r)){var o=U.ancestor(e,n),a=[o,n];yield a}},child(e,t){if(J.isText(e))throw new Error("Cannot get the child of a text node: ".concat(ct.stringify(e)));var r=e.children[t];if(r==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(ct.stringify(e)));return r},*children(e,t){for(var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:n=!1}=r,o=U.ancestor(e,t),{children:a}=o,s=n?a.length-1:0;n?s>=0:s<a.length;){var l=U.child(o,s),u=t.concat(s);yield[l,u],s=n?s-1:s+1}},common(e,t,r){var n=T.common(t,r),o=U.get(e,n);return[o,n]},descendant(e,t){var r=U.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(ct.stringify(r)));return r},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of U.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 U.nodes(e,t))K.isElement(r)&&(yield[r,n])},extractProps(e){if(K.isAncestor(e)){var t=Kn(e,OY);return t}else{var t=Kn(e,MY);return t}},first(e,t){for(var r=t.slice(),n=U.get(e,r);n&&!(J.isText(n)||n.children.length===0);)n=n.children[0],r.push(0);return[n,r]},fragment(e,t){if(J.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(ct.stringify(e)));var r=ed({children:e.children},n=>{var[o,a]=M.edges(t),s=U.nodes(n,{reverse:!0,pass:h=>{var[,g]=h;return!M.includes(t,g)}});for(var[,l]of s){if(!M.includes(t,l)){var u=U.parent(n,l),c=l[l.length-1];u.children.splice(c,1)}if(T.equals(l,a.path)){var p=U.leaf(n,l);p.text=p.text.slice(0,a.offset)}if(T.equals(l,o.path)){var d=U.leaf(n,l);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(J.isText(r)||!r.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(ct.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(J.isText(r)||!r.children[o])return!1;r=r.children[o]}return!0},isNode(e){return J.isText(e)||K.isElement(e)||C.isEditor(e)},isNodeList(e){if(!Array.isArray(e))return!1;var t=pE.get(e);if(t!==void 0)return t;var r=e.every(n=>U.isNode(n));return pE.set(e,r),r},last(e,t){for(var r=t.slice(),n=U.get(e,r);n&&!(J.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=U.get(e,t);if(!J.isText(r))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(ct.stringify(r)));return r},*levels(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of T.levels(t,r)){var o=U.get(e,n);yield[o,n]}},matches(e,t){return K.isElement(e)&&K.isElementProps(t)&&K.matches(e,t)||J.isText(e)&&J.isTextProps(t)&&J.matches(e,t)},*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:r,reverse:n=!1}=t,{from:o=[],to:a}=t,s=new Set,l=[],u=e;!(a&&(n?T.isBefore(l,a):T.isAfter(l,a)));){if(s.has(u)||(yield[u,l]),!s.has(u)&&!J.isText(u)&&u.children.length!==0&&(r==null||r([u,l])===!1)){s.add(u);var c=n?u.children.length-1:0;T.isAncestor(l,o)&&(c=o[l.length]),l=l.concat(c),u=U.get(e,l);continue}if(l.length===0)break;if(!n){var p=T.next(l);if(U.has(e,p)){l=p,u=U.get(e,l);continue}}if(n&&l[l.length-1]!==0){var d=T.previous(l);l=d,u=U.get(e,l);continue}l=T.parent(l),u=U.get(e,l),s.add(u)}},parent(e,t){var r=T.parent(t),n=U.get(e,r);if(J.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 J.isText(e)?e.text:e.children.map(U.string).join("")},*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of U.nodes(e,t))J.isText(r)&&(yield[r,n])}};function dE(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 Ge(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Un={isNodeOperation(e){return Un.isOperation(e)&&e.type.endsWith("_node")},isOperation(e){if(!Qe(e))return!1;switch(e.type){case"insert_node":return T.isPath(e.path)&&U.isNode(e.node);case"insert_text":return typeof e.offset=="number"&&typeof e.text=="string"&&T.isPath(e.path);case"merge_node":return typeof e.position=="number"&&T.isPath(e.path)&&Qe(e.properties);case"move_node":return T.isPath(e.path)&&T.isPath(e.newPath);case"remove_node":return T.isPath(e.path)&&U.isNode(e.node);case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&T.isPath(e.path);case"set_node":return T.isPath(e.path)&&Qe(e.properties)&&Qe(e.newProperties);case"set_selection":return e.properties===null&&M.isRange(e.newProperties)||e.newProperties===null&&M.isRange(e.properties)||Qe(e.properties)&&Qe(e.newProperties);case"split_node":return T.isPath(e.path)&&typeof e.position=="number"&&Qe(e.properties);default:return!1}},isOperationList(e){return Array.isArray(e)&&e.every(t=>Un.isOperation(t))},isSelectionOperation(e){return Un.isOperation(e)&&e.type.endsWith("_selection")},isTextOperation(e){return Un.isOperation(e)&&e.type.endsWith("_text")},inverse(e){switch(e.type){case"insert_node":return Ge(Ge({},e),{},{type:"remove_node"});case"insert_text":return Ge(Ge({},e),{},{type:"remove_text"});case"merge_node":return Ge(Ge({},e),{},{type:"split_node",path:T.previous(e.path)});case"move_node":{var{newPath:t,path:r}=e;if(T.equals(t,r))return e;if(T.isSibling(r,t))return Ge(Ge({},e),{},{path:t,newPath:r});var n=T.transform(r,e),o=T.transform(T.next(r),e);return Ge(Ge({},e),{},{path:n,newPath:o})}case"remove_node":return Ge(Ge({},e),{},{type:"insert_node"});case"remove_text":return Ge(Ge({},e),{},{type:"insert_text"});case"set_node":{var{properties:a,newProperties:s}=e;return Ge(Ge({},e),{},{properties:s,newProperties:a})}case"set_selection":{var{properties:l,newProperties:u}=e;return l==null?Ge(Ge({},e),{},{properties:u,newProperties:null}):u==null?Ge(Ge({},e),{},{properties:null,newProperties:l}):Ge(Ge({},e),{},{properties:u,newProperties:l})}case"split_node":return Ge(Ge({},e),{},{type:"merge_node",path:T.next(e.path)})}}},mE=new WeakMap,IY=e=>{var t=mE.get(e);if(t!==void 0)return t;if(!Qe(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||Qe(e.marks))&&(e.selection===null||M.isRange(e.selection))&&U.isNodeList(e.children)&&Un.isOperationList(e.operations);return mE.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 IY(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 kY={isSpan(e){return Array.isArray(e)&&e.length===2&&e.every(T.isPath)}};function hE(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 gE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ge={compare(e,t){var r=T.compare(e.path,t.path);return r===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:r},isAfter(e,t){return ge.compare(e,t)===1},isBefore(e,t){return ge.compare(e,t)===-1},equals(e,t){return e.offset===t.offset&&T.equals(e.path,t.path)},isPoint(e){return Qe(e)&&typeof e.offset=="number"&&T.isPath(e.path)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return ed(e,n=>{if(n===null)return null;var{affinity:o="forward"}=r,{path:a,offset:s}=n;switch(t.type){case"insert_node":case"move_node":{n.path=T.transform(a,t,r);break}case"insert_text":{T.equals(t.path,a)&&(t.offset<s||t.offset===s&&o==="forward")&&(n.offset+=t.text.length);break}case"merge_node":{T.equals(t.path,a)&&(n.offset+=t.position),n.path=T.transform(a,t,r);break}case"remove_text":{T.equals(t.path,a)&&t.offset<=s&&(n.offset-=Math.min(s-t.offset,t.text.length));break}case"remove_node":{if(T.equals(t.path,a)||T.isAncestor(t.path,a))return null;n.path=T.transform(a,t,r);break}case"split_node":{if(T.equals(t.path,a)){if(t.position===s&&o==null)return null;(t.position<s||t.position===s&&o==="forward")&&(n.offset-=t.position,n.path=T.transform(a,t,gE(gE({},r),{},{affinity:"forward"})))}else n.path=T.transform(a,t,r);break}}})}},vE=void 0,ct={setScrubber(e){vE=e},stringify(e){return JSON.stringify(e,vE)}},VY=["text"],NY=["anchor","focus"];function yE(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 _n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var J={equals(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:n=!1}=r;function o(a){var s=Kn(a,VY);return s}return LE(n?o(e):e,n?o(t):t)},isText(e){return Qe(e)&&typeof e.text=="string"},isTextList(e){return Array.isArray(e)&&e.every(t=>J.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=[_n({},e)];for(var n of t){var o=Kn(n,NY),[a,s]=M.edges(n),l=[],u=0,c=a.offset,p=s.offset;for(var d of r){var{length:h}=d.text,g=u;if(u+=h,c<=g&&u<=p){Object.assign(d,o),l.push(d);continue}if(c!==p&&(c===u||p===g)||c>u||p<g||p===g&&g!==0){l.push(d);continue}var v=d,m=void 0,b=void 0;if(p<u){var y=p-g;b=_n(_n({},v),{},{text:v.text.slice(y)}),v=_n(_n({},v),{},{text:v.text.slice(0,y)})}if(c>g){var x=c-g;m=_n(_n({},v),{},{text:v.text.slice(0,x)}),v=_n(_n({},v),{},{text:v.text.slice(x)})}Object.assign(v,o),m&&l.push(m),l.push(v),b&&l.push(b)}r=l}return r}},R2=e=>e.selection?e.selection:e.children.length>0?C.end(e,[]):[0],rs=(e,t)=>{var[r]=C.node(e,t);return n=>n===r},F2=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=!r,o=r?jY(t):t,a=ue.None,s=ue.None,l=0,u=null,c=null;for(var p of o){var d=p.codePointAt(0);if(!d)break;var h=tJ(p,d);if([a,s]=n?[s,h]:[h,a],ts(a,ue.ZWJ)&&ts(s,ue.ExtPict)&&(n?u=bE(t.substring(0,l)):u=bE(t.substring(0,t.length-l)),!u)||ts(a,ue.RI)&&ts(s,ue.RI)&&(c!==null?c=!c:n?c=!0:c=aJ(t.substring(0,t.length-l)),!c)||a!==ue.None&&s!==ue.None&&nJ(a,s))break;l+=p.length}return l||1},LY=/\s/,$Y=/[\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]/,zY=/['\u2018\u2019]/,GY=function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=0,o=!1;t.length>0;){var a=F2(t,r),[s,l]=B2(t,a,r);if(HY(s,l,r))o=!0,n+=a;else if(!o)n+=a;else break;t=l}return n},B2=(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)]},HY=function e(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(LY.test(t))return!1;if(zY.test(t)){var o=F2(r,n),[a,s]=B2(r,o,n);if(e(a,s,n))return!0}return!$Y.test(t)},jY=function*(t){for(var r=t.length-1,n=0;n<t.length;n++){var o=t.charAt(r-n);if(_Y(o.charCodeAt(0))){var a=t.charAt(r-n-1);if(WY(a.charCodeAt(0))){yield a+o,n++;continue}}yield o}},WY=e=>e>=55296&&e<=56319,_Y=e=>e>=56320&&e<=57343,ue;(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"})(ue||(ue={}));var UY=/^(?:[\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])$/,KY=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,qY=/^(?:[\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])$/,XY=/^[\u1100-\u115F\uA960-\uA97C]$/,YY=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,JY=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,ZY=/^[\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]$/,QY=/^[\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]$/,eJ=/^(?:[\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])$/,tJ=(e,t)=>{var r=ue.Any;return e.search(UY)!==-1&&(r|=ue.Extend),t===8205&&(r|=ue.ZWJ),t>=127462&&t<=127487&&(r|=ue.RI),e.search(KY)!==-1&&(r|=ue.Prepend),e.search(qY)!==-1&&(r|=ue.SpacingMark),e.search(XY)!==-1&&(r|=ue.L),e.search(YY)!==-1&&(r|=ue.V),e.search(JY)!==-1&&(r|=ue.T),e.search(ZY)!==-1&&(r|=ue.LV),e.search(QY)!==-1&&(r|=ue.LVT),e.search(eJ)!==-1&&(r|=ue.ExtPict),r};function ts(e,t){return(e&t)!==0}var rJ=[[ue.L,ue.L|ue.V|ue.LV|ue.LVT],[ue.LV|ue.V,ue.V|ue.T],[ue.LVT|ue.T,ue.T],[ue.Any,ue.Extend|ue.ZWJ],[ue.Any,ue.SpacingMark],[ue.Prepend,ue.Any],[ue.ZWJ,ue.ExtPict],[ue.RI,ue.RI]];function nJ(e,t){return rJ.findIndex(r=>ts(e,r[0])&&ts(t,r[1]))===-1}var oJ=/(?:[\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$/,bE=e=>e.search(oJ)!==-1,iJ=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,aJ=e=>{var t=e.match(iJ);if(t===null)return!1;var r=t[0].length/2;return r%2===1},sJ={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=R2(e)}=r;if(T.isPath(o)&&(o=C.range(e,o)),M.isRange(o))if(M.isCollapsed(o))o=o.anchor;else{var a=M.end(o);if(!n&&C.void(e,{at:a}))return;var s=M.start(o),l=C.pointRef(e,s),u=C.pointRef(e,a);L.delete(e,{at:o,voids:n});var c=l.unref(),p=u.unref();o=c||p,L.setSelection(e,{anchor:o,focus:o})}if(!(!n&&C.void(e,{at:o})||C.elementReadOnly(e,{at:o}))){var{path:d,offset:h}=o;t.length>0&&e.apply({type:"insert_text",path:d,offset:h,text:t})}})}};function CE(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?CE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):CE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var L=td(td(td(td({},PY),TY),AY),sJ),lJ=(e,t)=>{for(var r of C.pathRefs(e))wY.transform(r,t);for(var n of C.pointRefs(e))SY.transform(n,t);for(var o of C.rangeRefs(e))DY.transform(o,t);var a=rd.get(e)||[],s=nd.get(e)||new Set,l,u,c=v=>{if(v){var m=v.join(",");u.has(m)||(u.add(m),l.push(v))}};if(T.operationCanTransformPath(t)){l=[],u=new Set;for(var p of a){var d=T.transform(p,t);c(d)}}else l=a,u=s;var h=e.getDirtyPaths(t);for(var g of h)c(g);rd.set(e,l),nd.set(e,u),L.transform(e,t),e.operations.push(t),C.normalize(e,{operation:t}),t.type==="set_selection"&&(e.marks=null),nu.get(e)||(nu.set(e,!0),Promise.resolve().then(()=>{nu.set(e,!1),e.onChange({operation:t}),e.operations=[]}))},uJ=(e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":{var{path:r}=t;return T.levels(r)}case"insert_node":{var{node:n,path:o}=t,a=T.levels(o),s=J.isText(n)?[]:Array.from(U.nodes(n),k=>{var[,j]=k;return o.concat(j)});return[...a,...s]}case"merge_node":{var{path:l}=t,u=T.ancestors(l),c=T.previous(l);return[...u,c]}case"move_node":{var{path:p,newPath:d}=t;if(T.equals(p,d))return[];var h=[],g=[];for(var v of T.ancestors(p)){var m=T.transform(v,t);h.push(m)}for(var b of T.ancestors(d)){var y=T.transform(b,t);g.push(y)}var x=g[g.length-1],w=d[d.length-1],D=x.concat(w);return[...h,...g,D]}case"remove_node":{var{path:P}=t,S=T.ancestors(P);return[...S]}case"split_node":{var{path:E}=t,R=T.levels(E),B=T.next(E);return[...R,B]}default:return[]}},cJ=e=>{var{selection:t}=e;return t?U.fragment(e,t):[]},fJ=(e,t)=>{var[r,n]=t;if(!J.isText(r)){if(K.isElement(r)&&r.children.length===0){var o={text:""};L.insertNodes(e,o,{at:n.concat(0),voids:!0});return}for(var a=C.isEditor(r)?!1:K.isElement(r)&&(e.isInline(r)||r.children.length===0||J.isText(r.children[0])||e.isInline(r.children[0])),s=0,l=0;l<r.children.length;l++,s++){var u=U.get(e,n);if(!J.isText(u)){var c=u.children[s],p=u.children[s-1],d=l===r.children.length-1,h=J.isText(c)||K.isElement(c)&&e.isInline(c);if(h!==a)L.removeNodes(e,{at:n.concat(s),voids:!0}),s--;else if(K.isElement(c)){if(e.isInline(c)){if(p==null||!J.isText(p)){var g={text:""};L.insertNodes(e,g,{at:n.concat(s),voids:!0}),s++}else if(d){var v={text:""};L.insertNodes(e,v,{at:n.concat(s+1),voids:!0}),s++}}}else p!=null&&J.isText(p)&&(J.equals(c,p,{loose:!0})?(L.mergeNodes(e,{at:n.concat(s),voids:!0}),s--):p.text===""?(L.removeNodes(e,{at:n.concat(s-1),voids:!0}),s--):c.text===""&&(L.removeNodes(e,{at:n.concat(s),voids:!0}),s--))}}}},pJ=(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},dJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:o="lowest",at:a=t.selection,match:s}=r;if(a){var l=C.path(t,a),u=o==="lowest";for(var[c,p]of C.levels(t,{at:l,voids:n,match:s,reverse:u}))if(!J.isText(c)){if(M.isRange(a)){if(T.isAncestor(p,a.anchor.path)&&T.isAncestor(p,a.focus.path))return[c,p]}else if(!T.equals(l,p))return[c,p]}}};function xE(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 wE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var mJ=(e,t,r)=>{var{selection:n}=e;if(n){var o=(d,h)=>{if(!J.isText(d))return!1;var[g,v]=C.parent(e,h);return!e.isVoid(g)||e.markableVoid(g)},a=M.isExpanded(n),s=!1;if(!a){var[l,u]=C.node(e,n);if(l&&o(l,u)){var[c]=C.parent(e,u);s=c&&e.markableVoid(c)}}if(a||s)L.setNodes(e,{[t]:r},{match:o,split:!0,voids:!0});else{var p=wE(wE({},C.marks(e)||{}),{},{[t]:r});e.marks=p,nu.get(e)||e.onChange()}}};function SE(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 DE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?SE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):SE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var hJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.point(t,r,{edge:"end"}),a=C.end(t,[]),s={anchor:o,focus:a},{distance:l=1}=n,u=0,c;for(var p of C.positions(t,DE(DE({},n),{},{at:s}))){if(u>l)break;u!==0&&(c=p),u++}return c};function EE(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 PE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?EE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):EE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var gJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.start(t,[]),a=C.point(t,r,{edge:"start"}),s={anchor:o,focus:a},{distance:l=1}=n,u=0,c;for(var p of C.positions(t,PE(PE({},n),{},{at:s,reverse:!0}))){if(u>l)break;u!==0&&(c=p),u++}return c},vJ=(e,t)=>{var{selection:r}=e;r&&M.isCollapsed(r)&&L.delete(e,{unit:t,reverse:!0})},yJ=(e,t)=>{var{selection:r}=e;r&&M.isCollapsed(r)&&L.delete(e,{unit:t})},bJ=function(t){var{direction:r="forward"}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t;n&&M.isExpanded(n)&&L.delete(t,{reverse:r==="backward"})},CJ=(e,t)=>[C.start(e,t),C.end(e,t)];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 AE(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){Gt(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 xJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,AE(AE({},r),{},{match:n=>K.isElement(n)&&C.isElementReadOnly(t,n)}))},wJ=(e,t)=>C.point(e,t,{edge:"end"}),SJ=(e,t)=>{var r=C.path(e,t,{edge:"start"});return C.node(e,r)},DJ=(e,t)=>{var r=C.range(e,t);return U.fragment(e,r)};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 FE(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){Gt(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 EJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,FE(FE({},r),{},{match:n=>K.isElement(n)&&C.isVoid(t,n)}))},PJ=(e,t)=>t.children.some(r=>K.isElement(r)&&C.isBlock(e,r)),TJ=(e,t)=>t.children.some(r=>J.isText(r)||C.isInline(e,r)),AJ=(e,t)=>U.has(e,t),RJ=(e,t)=>t.children.every(r=>J.isText(r)),FJ=e=>{L.splitNodes(e,{always:!0})},BJ=(e,t,r)=>{L.insertNodes(e,t,r)},OJ=e=>{L.splitNodes(e,{always:!0})};function BE(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 MJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?BE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):BE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var IJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o,marks:a}=t;if(o){if(a){var s=MJ({text:r},a);L.insertNodes(t,s,{at:n.at,voids:n.voids})}else L.insertText(t,r,n);t.marks=null}},kJ=(e,t)=>!e.isInline(t),VJ=(e,t,r)=>C.isStart(e,t,r)||C.isEnd(e,t,r),NJ=(e,t)=>{var{children:r}=t,[n]=r;return r.length===0||r.length===1&&J.isText(n)&&n.text===""&&!e.isVoid(t)},LJ=(e,t,r)=>{var n=C.end(e,r);return ge.equals(t,n)},$J=e=>{var t=NE.get(e);return t===void 0?!0:t},zJ=(e,t,r)=>{if(t.offset!==0)return!1;var n=C.start(e,r);return ge.equals(t,n)},GJ=(e,t)=>{var r=C.path(e,t,{edge:"end"});return C.node(e,r)},HJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=U.leaf(t,o);return[a,o]};function*jJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,reverse:n=!1,voids:o=!1}=t,{match:a}=t;if(a==null&&(a=()=>!0),!!r){var s=[],l=C.path(e,r);for(var[u,c]of U.levels(e,l))if(a(u,c)&&(s.push([u,c]),!o&&K.isElement(u)&&C.isVoid(e,u)))break;n&&s.reverse(),yield*s}}var WJ=["text"],_J=["text"],UJ=function(t){var{marks:r,selection:n}=t;if(!n)return null;if(r)return r;if(M.isExpanded(n)){var[o]=C.nodes(t,{match:J.isText});if(o){var[a]=o,s=Kn(a,WJ);return s}else return{}}var{anchor:l}=n,{path:u}=l,[c]=C.leaf(t,u);if(l.offset===0){var p=C.previous(t,{at:u,match:J.isText}),d=C.above(t,{match:y=>K.isElement(y)&&C.isVoid(t,y)&&t.markableVoid(y)});if(!d){var h=C.above(t,{match:y=>K.isElement(y)&&C.isBlock(t,y)});if(p&&h){var[g,v]=p,[,m]=h;T.isAncestor(m,v)&&(c=g)}}}var b=Kn(c,_J);return b},KJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var l=C.after(t,s,{voids:o});if(l){var[,u]=C.last(t,[]),c=[l.path,u];if(T.isPath(s)&&s.length===0)throw new Error("Cannot get the next node from the root node!");if(a==null)if(T.isPath(s)){var[p]=C.parent(t,s);a=h=>p.children.includes(h)}else a=()=>!0;var[d]=C.nodes(t,{at:c,match:a,mode:n,voids:o});return d}}},qJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=U.get(t,o);return[a,o]};function*XJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,mode:n="all",universal:o=!1,reverse:a=!1,voids:s=!1,ignoreNonSelectable:l=!1}=t,{match:u}=t;if(u||(u=()=>!0),!!r){var c,p;if(kY.isSpan(r))c=r[0],p=r[1];else{var d=C.path(e,r,{edge:"start"}),h=C.path(e,r,{edge:"end"});c=a?h:d,p=a?d:h}var g=U.nodes(e,{reverse:a,from:c,to:p,pass:D=>{var[P]=D;return K.isElement(P)?!!(!s&&(C.isVoid(e,P)||C.isElementReadOnly(e,P))||l&&!C.isSelectable(e,P)):!1}}),v=[],m;for(var[b,y]of g)if(!(l&&K.isElement(b)&&!C.isSelectable(e,b))){var x=m&&T.compare(y,m[1])===0;if(!(n==="highest"&&x)){if(!u(b,y)){if(o&&!x&&J.isText(b))return;continue}if(n==="lowest"&&x){m=[b,y];continue}var w=n==="lowest"?m:[b,y];w&&(o?v.push(w):yield w),m=[b,y]}}n==="lowest"&&m&&(o?v.push(m):yield m),o&&(yield*v)}}var YJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1,operation:o}=r,a=p=>rd.get(p)||[],s=p=>nd.get(p)||new Set,l=p=>{var d=a(p).pop(),h=d.join(",");return s(p).delete(h),d};if(C.isNormalizing(t)){if(n){var u=Array.from(U.nodes(t),p=>{var[,d]=p;return d}),c=new Set(u.map(p=>p.join(",")));rd.set(t,u),nd.set(t,c)}a(t).length!==0&&C.withoutNormalizing(t,()=>{for(var p of a(t))if(U.has(t,p)){var d=C.node(t,p),[h,g]=d;K.isElement(h)&&h.children.length===0&&t.normalizeNode(d,{operation:o})}for(var v=a(t),m=v.length,b=0;v.length!==0;){if(!t.shouldNormalize({dirtyPaths:v,iteration:b,initialDirtyPathsLength:m,operation:o}))return;var y=l(t);if(U.has(t,y)){var x=C.node(t,y);t.normalizeNode(x,{operation:o})}b++,v=a(t)}})}},JJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=T.parent(o),s=C.node(t,a);return s},ZJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:l}=a,u=C.pathRefs(t);return u.delete(a),a.current=null,l}},s=C.pathRefs(t);return s.add(a),a},QJ=e=>{var t=aE.get(e);return t||(t=new Set,aE.set(e,t)),t},eZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:o,edge:a}=n;if(T.isPath(r)){if(a==="start"){var[,s]=U.first(t,r);r=s}else if(a==="end"){var[,l]=U.last(t,r);r=l}}return M.isRange(r)&&(a==="start"?r=M.start(r):a==="end"?r=M.end(r):r=T.common(r.anchor.path,r.focus.path)),ge.isPoint(r)&&(r=r.path),o!=null&&(r=r.slice(0,o)),r},tZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:l}=a,u=C.pointRefs(t);return u.delete(a),a.current=null,l}},s=C.pointRefs(t);return s.add(a),a},rZ=e=>{var t=sE.get(e);return t||(t=new Set,sE.set(e,t)),t},nZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:o="start"}=n;if(T.isPath(r)){var a;if(o==="end"){var[,s]=U.last(t,r);a=s}else{var[,l]=U.first(t,r);a=l}var u=U.get(t,a);if(!J.isText(u))throw new Error("Cannot get the ".concat(o," point in the node at path [").concat(r,"] because it has no ").concat(o," text node."));return{path:a,offset:o==="end"?u.text.length:0}}if(M.isRange(r)){var[c,p]=M.edges(r);return o==="start"?c:p}return r};function*oZ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,unit:n="offset",reverse:o=!1,voids:a=!1,ignoreNonSelectable:s=!1}=t;if(!r)return;var l=C.range(e,r),[u,c]=M.edges(l),p=o?c:u,d=!1,h="",g=0,v=0,m=0;for(var[b,y]of C.nodes(e,{at:r,reverse:o,voids:a,ignoreNonSelectable:s})){if(K.isElement(b)){if(!a&&(e.isVoid(b)||e.isElementReadOnly(b))){yield C.start(e,y);continue}if(e.isInline(b))continue;if(C.hasInlines(e,b)){var x=T.isAncestor(y,c.path)?c:C.end(e,y),w=T.isAncestor(y,u.path)?u:C.start(e,y);h=C.string(e,{anchor:w,focus:x},{voids:a}),d=!0}}if(J.isText(b)){var D=T.equals(y,p.path);for(D?(v=o?p.offset:b.text.length-p.offset,m=p.offset):(v=b.text.length,m=o?v:0),(D||d||n==="offset")&&(yield{path:y,offset:m},d=!1);;){if(g===0){if(h==="")break;g=P(h,n,o),h=B2(h,g,o)[1]}if(m=o?m-g:m+g,v=v-g,v<0){g=-v;break}g=0,yield{path:y,offset:m}}}}function P(S,E,R){return E==="character"?F2(S,R):E==="word"?GY(S,R):E==="line"||E==="block"?S.length:1}}var iZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var l=C.before(t,s,{voids:o});if(l){var[,u]=C.first(t,[]),c=[l.path,u];if(T.isPath(s)&&s.length===0)throw new Error("Cannot get the previous node from the root node!");if(a==null)if(T.isPath(s)){var[p]=C.parent(t,s);a=h=>p.children.includes(h)}else a=()=>!0;var[d]=C.nodes(t,{reverse:!0,at:c,match:a,mode:n,voids:o});return d}}},aZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:l}=a,u=C.rangeRefs(t);return u.delete(a),a.current=null,l}},s=C.rangeRefs(t);return s.add(a),a},sZ=e=>{var t=lE.get(e);return t||(t=new Set,lE.set(e,t)),t},lZ=(e,t,r)=>{if(M.isRange(t)&&!r)return t;var n=C.start(e,t),o=C.end(e,r||t);return{anchor:n,focus:o}};function OE(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 uZ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?OE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):OE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var cZ=(e,t)=>{var{selection:r}=e;if(r){var n=(p,d)=>{if(!J.isText(p))return!1;var[h,g]=C.parent(e,d);return!e.isVoid(h)||e.markableVoid(h)},o=M.isExpanded(r),a=!1;if(!o){var[s,l]=C.node(e,r);if(s&&n(s,l)){var[u]=C.parent(e,l);a=u&&e.markableVoid(u)}}if(o||a)L.unsetNodes(e,t,{match:n,split:!0,voids:!0});else{var c=uZ({},C.marks(e)||{});delete c[t],e.marks=c,nu.get(e)||e.onChange()}}},fZ=(e,t)=>{NE.set(e,t)},pZ=(e,t)=>C.point(e,t,{edge:"start"}),dZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,a=C.range(t,r),[s,l]=M.edges(a),u="";for(var[c,p]of C.nodes(t,{at:a,match:J.isText,voids:o})){var d=c.text;T.equals(p,l.path)&&(d=d.slice(0,l.offset)),T.equals(p,s.path)&&(d=d.slice(s.offset)),u+=d}return u},mZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,[a,s]=M.edges(r);if(a.offset!==0||s.offset!==0||M.isCollapsed(r)||T.hasPrevious(s.path))return r;var l=C.above(t,{at:s,match:v=>K.isElement(v)&&C.isBlock(t,v),voids:o}),u=l?l[1]:[],c=C.start(t,a),p={anchor:c,focus:s},d=!0;for(var[h,g]of C.nodes(t,{at:p,match:J.isText,reverse:!0,voids:o})){if(d){d=!1;continue}if(h.text!==""||T.isBefore(g,u)){s={path:g,offset:h.text.length};break}}return{anchor:a,focus:s}},hZ=(e,t)=>{var r=C.isNormalizing(e);C.setNormalizing(e,!1);try{t()}finally{C.setNormalizing(e,r)}C.normalize(e)},gZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var n,o,{reverse:a=!1,unit:s="character",distance:l=1,voids:u=!1}=r,{at:c=t.selection,hanging:p=!1}=r;if(c){var d=!1;if(M.isRange(c)&&M.isCollapsed(c)&&(d=!0,c=c.anchor),ge.isPoint(c)){var h=C.void(t,{at:c,mode:"highest"});if(!u&&h){var[,g]=h;c=g}else{var v={unit:s,distance:l},m=a?C.before(t,c,v)||C.start(t,[]):C.after(t,c,v)||C.end(t,[]);c={anchor:c,focus:m},p=!0}}if(T.isPath(c)){L.removeNodes(t,{at:c,voids:u});return}if(!M.isCollapsed(c)){if(!p){var[,b]=M.edges(c),y=C.end(t,[]);ge.equals(b,y)||(c=C.unhangRange(t,c,{voids:u}))}var[x,w]=M.edges(c),D=C.above(t,{match:we=>K.isElement(we)&&C.isBlock(t,we),at:x,voids:u}),P=C.above(t,{match:we=>K.isElement(we)&&C.isBlock(t,we),at:w,voids:u}),S=D&&P&&!T.equals(D[1],P[1]),E=T.equals(x.path,w.path),R=u?null:(n=C.void(t,{at:x,mode:"highest"}))!==null&&n!==void 0?n:C.elementReadOnly(t,{at:x,mode:"highest"}),B=u?null:(o=C.void(t,{at:w,mode:"highest"}))!==null&&o!==void 0?o:C.elementReadOnly(t,{at:w,mode:"highest"});if(R){var k=C.before(t,x);k&&D&&T.isAncestor(D[1],k.path)&&(x=k)}if(B){var j=C.after(t,w);j&&P&&T.isAncestor(P[1],j.path)&&(w=j)}var I=[],V;for(var N of C.nodes(t,{at:c,voids:u})){var[H,Z]=N;V&&T.compare(Z,V)===0||(!u&&K.isElement(H)&&(C.isVoid(t,H)||C.isElementReadOnly(t,H))||!T.isCommon(Z,x.path)&&!T.isCommon(Z,w.path))&&(I.push(N),V=Z)}var Q=Array.from(I,we=>{var[,wt]=we;return C.pathRef(t,wt)}),X=C.pointRef(t,x),G=C.pointRef(t,w),re="";if(!E&&!R){var de=X.current,[pe]=C.leaf(t,de),{path:je}=de,{offset:A}=x,_=pe.text.slice(A);_.length>0&&(t.apply({type:"remove_text",path:je,offset:A,text:_}),re=_)}if(Q.reverse().map(we=>we.unref()).filter(we=>we!==null).forEach(we=>L.removeNodes(t,{at:we,voids:u})),!B){var z=G.current,[W]=C.leaf(t,z),{path:se}=z,oe=E?x.offset:0,me=W.text.slice(oe,w.offset);me.length>0&&(t.apply({type:"remove_text",path:se,offset:oe,text:me}),re=me)}!E&&S&&G.current&&X.current&&L.mergeNodes(t,{at:G.current,hanging:!0,voids:u}),d&&a&&s==="character"&&re.length>1&&re.match(/[\u0E00-\u0E7F]+/)&&L.insertText(t,re.slice(0,re.length-l));var xe=X.unref(),De=G.unref(),Pe=a?xe||De:De||xe;r.at==null&&Pe&&L.select(t,Pe)}}})},vZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1}=n,{at:s=R2(t)}=n;if(r.length){if(M.isRange(s))if(o||(s=C.unhangRange(t,s,{voids:a})),M.isCollapsed(s))s=s.anchor;else{var[,l]=M.edges(s);if(!a&&C.void(t,{at:l}))return;var u=C.pointRef(t,l);L.delete(t,{at:s}),s=u.unref()}else T.isPath(s)&&(s=C.start(t,s));if(!(!a&&C.void(t,{at:s}))){var c=C.above(t,{at:s,match:A=>K.isElement(A)&&C.isInline(t,A),mode:"highest",voids:a});if(c){var[,p]=c;if(C.isEnd(t,s,p)){var d=C.after(t,p);s=d}else if(C.isStart(t,s,p)){var h=C.before(t,p);s=h}}var g=C.above(t,{match:A=>K.isElement(A)&&C.isBlock(t,A),at:s,voids:a}),[,v]=g,m=C.isStart(t,s,v),b=C.isEnd(t,s,v),y=m&&b,x=!m||m&&b,w=!b,[,D]=U.first({children:r},[]),[,P]=U.last({children:r},[]),S=[],E=A=>{var[_,z]=A,W=z.length===0;return W?!1:y?!0:!(x&&T.isAncestor(z,D)&&K.isElement(_)&&!t.isVoid(_)&&!t.isInline(_)||w&&T.isAncestor(z,P)&&K.isElement(_)&&!t.isVoid(_)&&!t.isInline(_))};for(var R of U.nodes({children:r},{pass:E}))E(R)&&S.push(R);var B=[],k=[],j=[],I=!0,V=!1;for(var[N]of S)K.isElement(N)&&!t.isInline(N)?(I=!1,V=!0,k.push(N)):I?B.push(N):j.push(N);var[H]=C.nodes(t,{at:s,match:A=>J.isText(A)||C.isInline(t,A),mode:"highest",voids:a}),[,Z]=H,Q=C.isStart(t,s,Z),X=C.isEnd(t,s,Z),G=C.pathRef(t,b&&!j.length?T.next(v):v),re=C.pathRef(t,X?T.next(Z):Z);L.splitNodes(t,{at:s,match:A=>V?K.isElement(A)&&C.isBlock(t,A):J.isText(A)||C.isInline(t,A),mode:V?"lowest":"highest",always:V&&(!m||B.length>0)&&(!b||j.length>0),voids:a});var de=C.pathRef(t,!Q||Q&&X?T.next(Z):Z);if(L.insertNodes(t,B,{at:de.current,match:A=>J.isText(A)||C.isInline(t,A),mode:"highest",voids:a}),y&&!B.length&&k.length&&!j.length&&L.delete(t,{at:v,voids:a}),L.insertNodes(t,k,{at:G.current,match:A=>K.isElement(A)&&C.isBlock(t,A),mode:"lowest",voids:a}),L.insertNodes(t,j,{at:re.current,match:A=>J.isText(A)||C.isInline(t,A),mode:"highest",voids:a}),!n.at){var pe;if(j.length>0&&re.current?pe=T.previous(re.current):k.length>0&&G.current?pe=T.previous(G.current):de.current&&(pe=T.previous(de.current)),pe){var je=C.end(t,pe);L.select(t,je)}}de.unref(),G.unref(),re.unref()}}})},yZ=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")L.select(t,o.anchor);else if(n==="focus")L.select(t,o.focus);else if(n==="start"){var[a]=M.edges(o);L.select(t,a)}else if(n==="end"){var[,s]=M.edges(o);L.select(t,s)}}else return},bZ=e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},CZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t,{distance:o=1,unit:a="character",reverse:s=!1}=r,{edge:l=null}=r;if(n){l==="start"&&(l=M.isBackward(n)?"focus":"anchor"),l==="end"&&(l=M.isBackward(n)?"anchor":"focus");var{anchor:u,focus:c}=n,p={distance:o,unit:a,ignoreNonSelectable:!0},d={};if(l==null||l==="anchor"){var h=s?C.before(t,u,p):C.after(t,u,p);h&&(d.anchor=h)}if(l==null||l==="focus"){var g=s?C.before(t,c,p):C.after(t,c,p);g&&(d.focus=g)}L.setSelection(t,d)}},xZ=(e,t)=>{var{selection:r}=e;if(t=C.range(e,t),r){L.setSelection(e,t);return}if(!M.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(ct.stringify(t)));e.apply({type:"set_selection",properties:r,newProperties:t})};function ME(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 IE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ME(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ME(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var wZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o}=t,{edge:a="both"}=n;if(o){a==="start"&&(a=M.isBackward(o)?"focus":"anchor"),a==="end"&&(a=M.isBackward(o)?"anchor":"focus");var{anchor:s,focus:l}=o,u=a==="anchor"?s:l;L.setSelection(t,{[a==="anchor"?"anchor":"focus"]:IE(IE({},u),r)})}},SZ=(e,t)=>{var{selection:r}=e,n={},o={};if(r){for(var a in t)(a==="anchor"&&t.anchor!=null&&!ge.equals(t.anchor,r.anchor)||a==="focus"&&t.focus!=null&&!ge.equals(t.focus,r.focus)||a!=="anchor"&&a!=="focus"&&t[a]!==r[a])&&(n[a]=r[a],o[a]=t[a]);Object.keys(n).length>0&&e.apply({type:"set_selection",properties:n,newProperties:o})}},DZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1,mode:s="lowest"}=n,{at:l,match:u,select:c}=n;if(U.isNode(r)&&(r=[r]),r.length!==0){var[p]=r;if(l||(l=R2(t),c=!0),c==null&&(c=!1),M.isRange(l))if(o||(l=C.unhangRange(t,l,{voids:a})),M.isCollapsed(l))l=l.anchor;else{var[,d]=M.edges(l),h=C.pointRef(t,d);L.delete(t,{at:l}),l=h.unref()}if(ge.isPoint(l)){u==null&&(J.isText(p)?u=E=>J.isText(E):t.isInline(p)?u=E=>J.isText(E)||C.isInline(t,E):u=E=>K.isElement(E)&&C.isBlock(t,E));var[g]=C.nodes(t,{at:l.path,match:u,mode:s,voids:a});if(g){var[,v]=g,m=C.pathRef(t,v),b=C.isEnd(t,l,v);L.splitNodes(t,{at:l,match:u,mode:s,voids:a});var y=m.unref();l=b?T.next(y):y}else return}var x=T.parent(l),w=l[l.length-1];if(!(!a&&C.void(t,{at:x}))){for(var D of r){var P=x.concat(w);w++,t.apply({type:"insert_node",path:P,node:D}),l=T.next(l)}if(l=T.previous(l),c){var S=C.end(t,l);S&&L.select(t,S)}}}})},EZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{at:n=t.selection,mode:o="lowest",voids:a=!1}=r,{match:s}=r;if(s==null&&(s=T.isPath(n)?rs(t,n):D=>K.isElement(D)&&C.isBlock(t,D)),!!n){var l=C.nodes(t,{at:n,match:s,mode:o,voids:a}),u=Array.from(l,D=>{var[,P]=D;return C.pathRef(t,P)});for(var c of u){var p=c.unref();if(p.length<2)throw new Error("Cannot lift node at a path [".concat(p,"] because it has a depth of less than `2`."));var d=C.node(t,T.parent(p)),[h,g]=d,v=p[p.length-1],{length:m}=h.children;if(m===1){var b=T.next(g);L.moveNodes(t,{at:p,to:b,voids:a}),L.removeNodes(t,{at:g,voids:a})}else if(v===0)L.moveNodes(t,{at:p,to:g,voids:a});else if(v===m-1){var y=T.next(g);L.moveNodes(t,{at:p,to:y,voids:a})}else{var x=T.next(p),w=T.next(g);L.splitNodes(t,{at:x,voids:a}),L.moveNodes(t,{at:p,to:w,voids:a})}}}})},PZ=["text"],TZ=["children"],$E=(e,t)=>{if(K.isElement(t)){var r=t;return C.isVoid(e,t)?!0:r.children.length===1?$E(e,r.children[0]):!1}else return!C.isEditor(t)},AZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{match:n,at:o=t.selection}=r,{hanging:a=!1,voids:s=!1,mode:l="lowest"}=r;if(o){if(n==null)if(T.isPath(o)){var[u]=C.parent(t,o);n=k=>u.children.includes(k)}else n=k=>K.isElement(k)&&C.isBlock(t,k);if(!a&&M.isRange(o)&&(o=C.unhangRange(t,o,{voids:s})),M.isRange(o))if(M.isCollapsed(o))o=o.anchor;else{var[,c]=M.edges(o),p=C.pointRef(t,c);L.delete(t,{at:o}),o=p.unref(),r.at==null&&L.select(t,o)}var[d]=C.nodes(t,{at:o,match:n,voids:s,mode:l}),h=C.previous(t,{at:o,match:n,voids:s,mode:l});if(!(!d||!h)){var[g,v]=d,[m,b]=h;if(!(v.length===0||b.length===0)){var y=T.next(b),x=T.common(v,b),w=T.isSibling(v,b),D=Array.from(C.levels(t,{at:v}),k=>{var[j]=k;return j}).slice(x.length).slice(0,-1),P=C.above(t,{at:v,mode:"highest",match:k=>D.includes(k)&&$E(t,k)}),S=P&&C.pathRef(t,P[1]),E,R;if(J.isText(g)&&J.isText(m)){var B=Kn(g,PZ);R=m.text.length,E=B}else if(K.isElement(g)&&K.isElement(m)){var B=Kn(g,TZ);R=m.children.length,E=B}else throw new Error("Cannot merge the node at path [".concat(v,"] with the previous sibling because it is not the same kind: ").concat(ct.stringify(g)," ").concat(ct.stringify(m)));w||L.moveNodes(t,{at:v,to:y,voids:s}),S&&L.removeNodes(t,{at:S.current,voids:s}),K.isElement(m)&&C.isEmpty(t,m)||J.isText(m)&&m.text===""&&b[b.length-1]!==0?L.removeNodes(t,{at:b,voids:s}):t.apply({type:"merge_node",path:y,position:R,properties:E}),S&&S.unref()}}}})},RZ=(e,t)=>{C.withoutNormalizing(e,()=>{var{to:r,at:n=e.selection,mode:o="lowest",voids:a=!1}=t,{match:s}=t;if(n){s==null&&(s=T.isPath(n)?rs(e,n):g=>K.isElement(g)&&C.isBlock(e,g));var l=C.pathRef(e,r),u=C.nodes(e,{at:n,match:s,mode:o,voids:a}),c=Array.from(u,g=>{var[,v]=g;return C.pathRef(e,v)});for(var p of c){var d=p.unref(),h=l.current;d.length!==0&&e.apply({type:"move_node",path:d,newPath:h}),l.current&&T.isSibling(h,d)&&T.isAfter(h,d)&&(l.current=T.next(l.current))}l.unref()}})},FZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{hanging:n=!1,voids:o=!1,mode:a="lowest"}=r,{at:s=t.selection,match:l}=r;if(s){l==null&&(l=T.isPath(s)?rs(t,s):g=>K.isElement(g)&&C.isBlock(t,g)),!n&&M.isRange(s)&&(s=C.unhangRange(t,s,{voids:o}));var u=C.nodes(t,{at:s,match:l,mode:a,voids:o}),c=Array.from(u,g=>{var[,v]=g;return C.pathRef(t,v)});for(var p of c){var d=p.unref();if(d){var[h]=C.node(t,d);t.apply({type:"remove_node",path:d,node:h})}}}})},BZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{match:o,at:a=t.selection,compare:s,merge:l}=n,{hanging:u=!1,mode:c="lowest",split:p=!1,voids:d=!1}=n;if(a){if(o==null&&(o=T.isPath(a)?rs(t,a):R=>K.isElement(R)&&C.isBlock(t,R)),!u&&M.isRange(a)&&(a=C.unhangRange(t,a,{voids:d})),p&&M.isRange(a)){if(M.isCollapsed(a)&&C.leaf(t,a.anchor)[0].text.length>0)return;var h=C.rangeRef(t,a,{affinity:"inward"}),[g,v]=M.edges(a),m=c==="lowest"?"lowest":"highest",b=C.isEnd(t,v,v.path);L.splitNodes(t,{at:v,match:o,mode:m,voids:d,always:!b});var y=C.isStart(t,g,g.path);L.splitNodes(t,{at:g,match:o,mode:m,voids:d,always:!y}),a=h.unref(),n.at==null&&L.select(t,a)}s||(s=(R,B)=>R!==B);for(var[x,w]of C.nodes(t,{at:a,match:o,mode:c,voids:d})){var D={},P={};if(w.length!==0){var S=!1;for(var E in r)E==="children"||E==="text"||s(r[E],x[E])&&(S=!0,x.hasOwnProperty(E)&&(D[E]=x[E]),l?r[E]!=null&&(P[E]=l(x[E],r[E])):r[E]!=null&&(P[E]=r[E]));S&&t.apply({type:"set_node",path:w,properties:D,newProperties:P})}}}})},OZ=(e,t)=>{if(M.isCollapsed(t))return t.anchor;var[,r]=M.edges(t),n=C.pointRef(e,r);return L.delete(e,{at:t}),n.unref()},MZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection,height:l=0,always:u=!1}=r;if(a==null&&(a=G=>K.isElement(G)&&C.isBlock(t,G)),M.isRange(s)&&(s=OZ(t,s)),T.isPath(s)){var c=s,p=C.point(t,c),[d]=C.parent(t,c);a=G=>G===d,l=p.path.length-c.length+1,s=p,u=!0}if(s){var h=C.pointRef(t,s,{affinity:"backward"}),g;try{var[v]=C.nodes(t,{at:s,match:a,mode:n,voids:o});if(!v)return;var m=C.void(t,{at:s,mode:"highest"}),b=0;if(!o&&m){var[y,x]=m;if(K.isElement(y)&&t.isInline(y)){var w=C.after(t,x);if(!w){var D={text:""},P=T.next(x);L.insertNodes(t,D,{at:P,voids:o}),w=C.point(t,P)}s=w,u=!0}var S=s.path.length-x.length;l=S+1,u=!0}g=C.pointRef(t,s);var E=s.path.length-l,[,R]=v,B=s.path.slice(0,E),k=l===0?s.offset:s.path[E]+b;for(var[j,I]of C.levels(t,{at:B,reverse:!0,voids:o})){var V=!1;if(I.length<R.length||I.length===0||!o&&K.isElement(j)&&C.isVoid(t,j))break;var N=h.current,H=C.isEnd(t,N,I);if(u||!h||!C.isEdge(t,N,I)){V=!0;var Z=U.extractProps(j);t.apply({type:"split_node",path:I,position:k,properties:Z})}k=I[I.length-1]+(V||H?1:0)}if(r.at==null){var Q=g.current||C.end(t,[]);L.select(t,Q)}}finally{var X;h.unref(),(X=g)===null||X===void 0||X.unref()}}})},IZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(r)||(r=[r]);var o={};for(var a of r)o[a]=null;L.setNodes(t,o,n)},kZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{mode:n="lowest",split:o=!1,voids:a=!1}=r,{at:s=t.selection,match:l}=r;if(s){l==null&&(l=T.isPath(s)?rs(t,s):g=>K.isElement(g)&&C.isBlock(t,g)),T.isPath(s)&&(s=C.range(t,s));var u=M.isRange(s)?C.rangeRef(t,s):null,c=C.nodes(t,{at:s,match:l,mode:n,voids:a}),p=Array.from(c,g=>{var[,v]=g;return C.pathRef(t,v)}).reverse(),d=function(v){var m=v.unref(),[b]=C.node(t,m),y=C.range(t,m);o&&u&&(y=M.intersection(u.current,y)),L.liftNodes(t,{at:y,match:x=>K.isAncestor(b)&&b.children.includes(x),voids:a})};for(var h of p)d(h);u&&u.unref()}})};function kE(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 VE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?kE(Object(r),!0).forEach(function(n){Gt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var VZ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{mode:o="lowest",split:a=!1,voids:s=!1}=n,{match:l,at:u=t.selection}=n;if(u){if(l==null&&(T.isPath(u)?l=rs(t,u):t.isInline(r)?l=y=>K.isElement(y)&&C.isInline(t,y)||J.isText(y):l=y=>K.isElement(y)&&C.isBlock(t,y)),a&&M.isRange(u)){var[c,p]=M.edges(u),d=C.rangeRef(t,u,{affinity:"inward"});L.splitNodes(t,{at:p,match:l,voids:s}),L.splitNodes(t,{at:c,match:l,voids:s}),u=d.unref(),n.at==null&&L.select(t,u)}var h=Array.from(C.nodes(t,{at:u,match:t.isInline(r)?y=>K.isElement(y)&&C.isBlock(t,y):y=>C.isEditor(y),mode:"lowest",voids:s}));for(var[,g]of h){var v=M.isRange(u)?M.intersection(u,C.range(t,g)):u;if(v){var m=Array.from(C.nodes(t,{at:v,match:l,mode:o,voids:s}));if(m.length>0){var b=(function(){var[y]=m,x=m[m.length-1],[,w]=y,[,D]=x;if(w.length===0&&D.length===0)return"continue";var P=T.equals(w,D)?T.parent(w):T.common(w,D),S=C.range(t,w,D),E=C.node(t,P),[R]=E,B=P.length+1,k=T.next(D.slice(0,B)),j=VE(VE({},r),{},{children:[]});L.insertNodes(t,j,{at:k,voids:s}),L.moveNodes(t,{at:S,match:I=>K.isAncestor(R)&&R.children.includes(I),to:k.concat(0),voids:s})})();if(b==="continue")continue}}}}})},od=()=>{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 lJ(e,...n)},addMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return mJ(e,...n)},deleteBackward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return vJ(e,...n)},deleteForward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yJ(e,...n)},deleteFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bJ(e,...n)},getFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return cJ(e,...n)},insertBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return FJ(e,...n)},insertSoftBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return OJ(e,...n)},insertFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return vZ(e,...n)},insertNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return BJ(e,...n)},insertText:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IJ(e,...n)},normalizeNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return fJ(e,...n)},removeMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return cZ(e,...n)},getDirtyPaths:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return uJ(e,...n)},shouldNormalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return pJ(e,...n)},above:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return dJ(e,...n)},after:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hJ(e,...n)},before:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return gJ(e,...n)},collapse:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yZ(e,...n)},delete:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return gZ(e,...n)},deselect:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bZ(e,...n)},edges:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return CJ(e,...n)},elementReadOnly:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xJ(e,...n)},end:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wJ(e,...n)},first:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return SJ(e,...n)},fragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return DJ(e,...n)},getMarks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return UJ(e,...n)},hasBlocks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return PJ(e,...n)},hasInlines:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return TJ(e,...n)},hasPath:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AJ(e,...n)},hasTexts:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return RJ(e,...n)},insertNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return DZ(e,...n)},isBlock:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kJ(e,...n)},isEdge:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VJ(e,...n)},isEmpty:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return NJ(e,...n)},isEnd:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LJ(e,...n)},isNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $J(e,...n)},isStart:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zJ(e,...n)},last:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return GJ(e,...n)},leaf:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return HJ(e,...n)},levels:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jJ(e,...n)},liftNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return EZ(e,...n)},mergeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AZ(e,...n)},move:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return CZ(e,...n)},moveNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return RZ(e,...n)},next:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return KJ(e,...n)},node:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return qJ(e,...n)},nodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return XJ(e,...n)},normalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return YJ(e,...n)},parent:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return JJ(e,...n)},path:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return eZ(e,...n)},pathRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ZJ(e,...n)},pathRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return QJ(e,...n)},point:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return nZ(e,...n)},pointRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return tZ(e,...n)},pointRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return rZ(e,...n)},positions:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return oZ(e,...n)},previous:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return iZ(e,...n)},range:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return lZ(e,...n)},rangeRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return aZ(e,...n)},rangeRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return sZ(e,...n)},removeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return FZ(e,...n)},select:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xZ(e,...n)},setNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return BZ(e,...n)},setNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return fZ(e,...n)},setPoint:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wZ(e,...n)},setSelection:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return SZ(e,...n)},splitNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return MZ(e,...n)},start:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return pZ(e,...n)},string:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return dZ(e,...n)},unhangRange:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return mZ(e,...n)},unsetNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IZ(e,...n)},unwrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kZ(e,...n)},void:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return EJ(e,...n)},withoutNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hZ(e,...n)},wrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VZ(e,...n)}};return e};i();i();i();i();i();i();i();var Tr=[];var zE=function(){return Tr.some(function(e){return e.activeTargets.length>0})};i();var GE=function(){return Tr.some(function(e){return e.skippedTargets.length>0})};i();var HE="ResizeObserver loop completed with undelivered notifications.",jE=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:HE}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=HE),window.dispatchEvent(e)};i();i();i();i();var Ai;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ai||(Ai={}));i();i();var Wr=function(e){return Object.freeze(e)};var O2=(function(){function e(t,r){this.inlineSize=t,this.blockSize=r,Wr(this)}return e})();i();var M2=(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,Wr(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,a=t.right,s=t.bottom,l=t.left,u=t.width,c=t.height;return{x:r,y:n,top:o,right:a,bottom:s,left:l,width:u,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e})();i();var ou=function(e){return e instanceof SVGElement&&"getBBox"in e},id=function(e){if(ou(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,a=o.offsetWidth,s=o.offsetHeight;return!(a||s||e.getClientRects().length)},I2=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)},WE=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1};i();var Ri=typeof window<"u"?window:{};var ad=new WeakMap,_E=/auto|scroll/,NZ=/^tb|vertical/,LZ=/msie|trident/i.test(Ri.navigator&&Ri.navigator.userAgent),cn=function(e){return parseFloat(e||"0")},ns=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new O2((r?t:e)||0,(r?e:t)||0)},UE=Wr({devicePixelContentBoxSize:ns(),borderBoxSize:ns(),contentBoxSize:ns(),contentRect:new M2(0,0,0,0)}),k2=function(e,t){if(t===void 0&&(t=!1),ad.has(e)&&!t)return ad.get(e);if(id(e))return ad.set(e,UE),UE;var r=getComputedStyle(e),n=ou(e)&&e.ownerSVGElement&&e.getBBox(),o=!LZ&&r.boxSizing==="border-box",a=NZ.test(r.writingMode||""),s=!n&&_E.test(r.overflowY||""),l=!n&&_E.test(r.overflowX||""),u=n?0:cn(r.paddingTop),c=n?0:cn(r.paddingRight),p=n?0:cn(r.paddingBottom),d=n?0:cn(r.paddingLeft),h=n?0:cn(r.borderTopWidth),g=n?0:cn(r.borderRightWidth),v=n?0:cn(r.borderBottomWidth),m=n?0:cn(r.borderLeftWidth),b=d+c,y=u+p,x=m+g,w=h+v,D=l?e.offsetHeight-w-e.clientHeight:0,P=s?e.offsetWidth-x-e.clientWidth:0,S=o?b+x:0,E=o?y+w:0,R=n?n.width:cn(r.width)-S-P,B=n?n.height:cn(r.height)-E-D,k=R+b+P+x,j=B+y+D+w,I=Wr({devicePixelContentBoxSize:ns(Math.round(R*devicePixelRatio),Math.round(B*devicePixelRatio),a),borderBoxSize:ns(k,j,a),contentBoxSize:ns(R,B,a),contentRect:new M2(d,u,R,B)});return ad.set(e,I),I},sd=function(e,t,r){var n=k2(e,r),o=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case Ai.DEVICE_PIXEL_CONTENT_BOX:return s;case Ai.BORDER_BOX:return o;default:return a}};var V2=(function(){function e(t){var r=k2(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=Wr([r.borderBoxSize]),this.contentBoxSize=Wr([r.contentBoxSize]),this.devicePixelContentBoxSize=Wr([r.devicePixelContentBoxSize])}return e})();i();var ld=function(e){if(id(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t};var KE=function(){var e=1/0,t=[];Tr.forEach(function(s){if(s.activeTargets.length!==0){var l=[];s.activeTargets.forEach(function(c){var p=new V2(c.target),d=ld(c.target);l.push(p),c.lastReportedSize=sd(c.target,c.observedBox),d<e&&(e=d)}),t.push(function(){s.callback.call(s.observer,l,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var o=n[r];o()}return e};i();var N2=function(e){Tr.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(o){o.isActive()&&(ld(o.target)>e?r.activeTargets.push(o):r.skippedTargets.push(o))})})};var qE=function(){var e=0;for(N2(e);zE();)e=KE(),N2(e);return GE()&&jE(),e>0};i();i();var L2,XE=[],$Z=function(){return XE.splice(0).forEach(function(e){return e()})},YE=function(e){if(!L2){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return $Z()}).observe(r,n),L2=function(){r.textContent="".concat(t?t--:t++)}}XE.push(e),L2()};var JE=function(e){YE(function(){requestAnimationFrame(e)})};var ud=0,zZ=function(){return!!ud},GZ=250,HZ={attributes:!0,characterData:!0,childList:!0,subtree:!0},ZE=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],QE=function(e){return e===void 0&&(e=0),Date.now()+e},$2=!1,jZ=(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=GZ),!$2){$2=!0;var n=QE(t);JE(function(){var o=!1;try{o=qE()}finally{if($2=!1,t=n-QE(),!zZ())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,HZ)};document.body?r():Ri.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ZE.forEach(function(r){return Ri.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ZE.forEach(function(r){return Ri.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e})(),cd=new jZ,z2=function(e){!ud&&e>0&&cd.start(),ud+=e,!ud&&cd.stop()};i();var WZ=function(e){return!ou(e)&&!WE(e)&&getComputedStyle(e).display==="inline"},eP=(function(){function e(t,r){this.target=t,this.observedBox=r||Ai.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=sd(this.target,this.observedBox,!0);return WZ(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e})();i();var tP=(function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e})();var fd=new WeakMap,rP=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},iu=(function(){function e(){}return e.connect=function(t,r){var n=new tP(t,r);fd.set(t,n)},e.observe=function(t,r,n){var o=fd.get(t),a=o.observationTargets.length===0;rP(o.observationTargets,r)<0&&(a&&Tr.push(o),o.observationTargets.push(new eP(r,n&&n.box)),z2(1),cd.schedule())},e.unobserve=function(t,r){var n=fd.get(t),o=rP(n.observationTargets,r),a=n.observationTargets.length===1;o>=0&&(a&&Tr.splice(Tr.indexOf(n),1),n.observationTargets.splice(o,1),z2(-1))},e.disconnect=function(t){var r=this,n=fd.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e})();var G2=(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.");iu.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(!I2(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");iu.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(!I2(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");iu.unobserve(this,t)},e.prototype.disconnect=function(){iu.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e})();var hd=kr(sP());import eQ from"react-dom";function Cd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tQ(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function as(e,t){if(e==null)return{};var r=tQ(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Q2=Ii(null),$o=()=>{var e=ls(Q2);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},SP=parseInt(fe.version.split(".")[0],10),rQ=typeof navigator<"u"&&typeof window<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,lP=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),er=typeof navigator<"u"&&/Android/.test(navigator.userAgent),lu=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),su=typeof navigator<"u"&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),nQ=typeof navigator<"u"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),DP=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent),oQ=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),iQ=er&&typeof navigator<"u"&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),aQ=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),sQ=typeof navigator<"u"&&/.*UCBrowser/.test(navigator.userAgent),lQ=typeof navigator<"u"&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent),gd=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ko=(!oQ||!iQ)&&!nQ&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",eg=new WeakMap,tg=new WeakMap,EP=new WeakMap,vd=new WeakMap,_2=new WeakMap,cu=new WeakMap,Oi=new WeakMap,yd=new WeakMap,xd=new WeakMap,U2=new WeakMap,Fi=new WeakMap,Bi=new WeakMap,uu=new WeakMap,K2=new WeakMap,rg=new WeakMap,_r=new WeakMap,qn=new WeakMap,Qt=new WeakMap,Vo=new WeakMap,No=new WeakMap,PP=new WeakMap,ss=Symbol("placeholder"),TP=Symbol("mark-placeholder"),uQ=globalThis.Text,ng=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,cQ=e=>Lo(e)&&e.nodeType===8,Ar=e=>Lo(e)&&e.nodeType===1,Lo=e=>{var t=ng(e);return!!t&&e instanceof t.Node},q2=e=>{var t=e&&e.anchorNode&&ng(e.anchorNode);return!!t&&e instanceof t.Selection},AP=e=>Lo(e)&&e.nodeType===3,fQ=e=>e.clipboardData&&e.clipboardData.getData("text/plain")!==""&&e.clipboardData.types.length===1,pQ=e=>{var[t,r]=e;if(Ar(t)&&t.childNodes.length){var n=r===t.childNodes.length,o=n?r-1:r;for([t,o]=RP(t,o,n?"backward":"forward"),n=o<r;Ar(t)&&t.childNodes.length;){var a=n?t.childNodes.length-1:0;t=mQ(t,a,n?"backward":"forward")}r=n&&t.textContent!=null?t.textContent.length:0}return[t,r]},dQ=e=>{for(var t=e&&e.parentNode;t;){if(t.toString()==="[object ShadowRoot]")return!0;t=t.parentNode}return!1},RP=(e,t,r)=>{for(var{childNodes:n}=e,o=n[t],a=t,s=!1,l=!1;(cQ(o)||Ar(o)&&o.childNodes.length===0||Ar(o)&&o.getAttribute("contenteditable")==="false")&&!(s&&l);){if(a>=n.length){s=!0,a=t-1,r="backward";continue}if(a<0){l=!0,a=t+1,r="forward";continue}o=n[a],t=a,a+=r==="forward"?1:-1}return[o,t]},mQ=(e,t,r)=>{var[n]=RP(e,t,r);return n},FP=e=>{var t="";if(AP(e)&&e.nodeValue)return e.nodeValue;if(Ar(e)){for(var r of Array.from(e.childNodes))t+=FP(r);var n=getComputedStyle(e).getPropertyValue("display");(n==="block"||n==="list"||e.tagName==="BR")&&(t+=`
1847
+ `)}return t},hQ=/data-slate-fragment="(.+?)"/m,gQ=e=>{var t=e.getData("text/html"),[,r]=t.match(hQ)||[];return r},og=(e,t,r)=>{var{target:n}=t;if(Ar(n)&&n.matches('[contentEditable="false"]'))return!1;var{document:o}=$.getWindow(e);if(o.contains(n))return $.hasDOMNode(e,n,{editable:!0});var a=r.find(s=>{var{addedNodes:l,removedNodes:u}=s;for(var c of l)if(c===n||c.contains(n))return!0;for(var p of u)if(p===n||p.contains(n))return!0});return!a||a===t?!1:og(e,a,r)},vQ=0,X2=class{constructor(){this.id="".concat(vQ++)}},$={androidPendingDiffs:e=>Qt.get(e),androidScheduleFlush:e=>{var t;(t=rg.get(e))===null||t===void 0||t()},blur:e=>{var t=$.toDOMNode(e,e),r=$.findDocumentOrShadowRoot(e);Fi.set(e,!1),r.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,r=$.findDocumentOrShadowRoot(e),n=r.getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&L.deselect(e)},findDocumentOrShadowRoot:e=>{var t=$.toDOMNode(e,e),r=t.getRootNode();return(r instanceof Document||r instanceof ShadowRoot)&&r.getSelection!=null?r:t.ownerDocument},findEventRange:(e,t)=>{"nativeEvent"in t&&(t=t.nativeEvent);var{clientX:r,clientY:n,target:o}=t;if(r==null||n==null)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var a=$.toSlateNode(e,t.target),s=$.findPath(e,a);if(K.isElement(a)&&C.isVoid(e,a)){var l=o.getBoundingClientRect(),u=e.isInline(a)?r-l.left<l.left+l.width-r:n-l.top<l.top+l.height-n,c=C.point(e,s,{edge:u?"start":"end"}),p=u?C.before(e,c):C.after(e,c);if(p){var d=C.range(e,p);return d}}var h,{document:g}=$.getWindow(e);if(g.caretRangeFromPoint)h=g.caretRangeFromPoint(r,n);else{var v=g.caretPositionFromPoint(r,n);v&&(h=g.createRange(),h.setStart(v.offsetNode,v.offset),h.setEnd(v.offsetNode,v.offset))}if(!h)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var m=$.toSlateRange(e,h,{exactMatch:!1,suppressThrow:!1});return m},findKey:(e,t)=>{var r=yd.get(t);return r||(r=new X2,yd.set(t,r)),r},findPath:(e,t)=>{for(var r=[],n=t;;){var o=tg.get(n);if(o==null){if(C.isEditor(n))return r;break}var a=eg.get(n);if(a==null)break;r.unshift(a),n=o}throw new Error("Unable to find the path for Slate node: ".concat(ct.stringify(t)))},focus:e=>{var t=$.toDOMNode(e,e),r=$.findDocumentOrShadowRoot(e);if(Fi.set(e,!0),r.activeElement!==t){if(e.selection&&r instanceof Document){var n=r.getSelection(),o=$.toDOMRange(e,e.selection);n?.removeAllRanges(),n?.addRange(o)}t.focus({preventScroll:!0})}},getWindow:e=>{var t=EP.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},hasDOMNode:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{editable:o=!1}=n,a=$.toDOMNode(t,t),s;try{s=Ar(r)?r:r.parentElement}catch(l){if(!l.message.includes('Permission denied to access property "nodeType"'))throw l}return s?s.closest("[data-slate-editor]")===a&&(!o||s.isContentEditable?!0:typeof s.isContentEditable=="boolean"&&s.closest('[contenteditable="false"]')===a||!!s.getAttribute("data-slate-zero-width")):!1},hasEditableTarget:(e,t)=>Lo(t)&&$.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)=>$.hasEditableTarget(e,t)||$.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>Lo(t)&&$.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!Bi.get(e),isFocused:e=>!!Fi.get(e),isReadOnly:e=>!!U2.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(U2.get(e))return!1;var r=$.hasTarget(e,t)&&$.toSlateNode(e,t);return K.isElement(r)&&C.isVoid(e,r)},setFragmentData:(e,t,r)=>e.setFragmentData(t,r),toDOMNode:(e,t)=>{var r=xd.get(e),n=C.isEditor(t)?vd.get(e):r?.get($.findKey(e,t));if(!n)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(ct.stringify(t)));return n},toDOMPoint:(e,t)=>{var[r]=C.node(e,t.path),n=$.toDOMNode(e,r),o;C.void(e,{at:t})&&(t={path:t.path,offset:0});for(var a="[data-slate-string], [data-slate-zero-width]",s=Array.from(n.querySelectorAll(a)),l=0,u=0;u<s.length;u++){var c=s[u],p=c.childNodes[0];if(!(p==null||p.textContent==null)){var{length:d}=p.textContent,h=c.getAttribute("data-slate-length"),g=h==null?d:parseInt(h,10),v=l+g,m=s[u+1];if(t.offset===v&&m!==null&&m!==void 0&&m.hasAttribute("data-slate-mark-placeholder")){var b,y=m.childNodes[0];o=[y instanceof uQ?y:m,(b=m.textContent)!==null&&b!==void 0&&b.startsWith("\uFEFF")?1:0];break}if(t.offset<=v){var x=Math.min(d,Math.max(0,t.offset-l));o=[p,x];break}l=v}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(ct.stringify(t)));return o},toDOMRange:(e,t)=>{var{anchor:r,focus:n}=t,o=M.isBackward(t),a=$.toDOMPoint(e,r),s=M.isCollapsed(t)?a:$.toDOMPoint(e,n),l=$.getWindow(e),u=l.document.createRange(),[c,p]=o?s:a,[d,h]=o?a:s,g=Ar(c)?c:c.parentElement,v=!!g.getAttribute("data-slate-zero-width"),m=Ar(d)?d:d.parentElement,b=!!m.getAttribute("data-slate-zero-width");return u.setStart(c,v?1:p),u.setEnd(d,b?1:h),u},toSlateNode:(e,t)=>{var r=Ar(t)?t:t.parentElement;r&&!r.hasAttribute("data-slate-node")&&(r=r.closest("[data-slate-node]"));var n=r?cu.get(r):null;if(!n)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(r));return n},toSlatePoint:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,[a,s]=n?t:pQ(t),l=a.parentNode,u=null,c=0;if(l){var p,d,h=$.toDOMNode(e,e),g=l.closest('[data-slate-void="true"]'),v=g&&h.contains(g)?g:null,m=l.closest("[data-slate-leaf]"),b=null;if(m){if(u=m.closest('[data-slate-node="text"]'),u){var y=$.getWindow(e),x=y.document.createRange();x.setStart(u,0),x.setEnd(a,s);var w=x.cloneContents(),D=[...Array.prototype.slice.call(w.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(w.querySelectorAll("[contenteditable=false]"))];D.forEach(N=>{if(er&&!n&&N.hasAttribute("data-slate-zero-width")&&N.textContent.length>0&&N.textContext!=="\uFEFF"){N.textContent.startsWith("\uFEFF")&&(N.textContent=N.textContent.slice(1));return}N.parentNode.removeChild(N)}),c=w.textContent.length,b=u}}else if(v){for(var P=v.querySelectorAll("[data-slate-leaf]"),S=0;S<P.length;S++){var E=P[S];if($.hasDOMNode(e,E)){m=E;break}}m?(u=m.closest('[data-slate-node="text"]'),b=m,c=b.textContent.length,b.querySelectorAll("[data-slate-zero-width]").forEach(N=>{c-=N.textContent.length})):c=1}b&&c===b.textContent.length&&er&&b.getAttribute("data-slate-zero-width")==="z"&&(p=b.textContent)!==null&&p!==void 0&&p.startsWith("\uFEFF")&&(l.hasAttribute("data-slate-zero-width")||lu&&(d=b.textContent)!==null&&d!==void 0&&d.endsWith(`
1848
+
1849
+ `))&&c--}if(er&&!u&&!n){var R=l.hasAttribute("data-slate-node")?l:l.closest("[data-slate-node]");if(R&&$.hasDOMNode(e,R,{editable:!0})){var B=$.toSlateNode(e,R),{path:k,offset:j}=C.start(e,$.findPath(e,B));return R.querySelector("[data-slate-leaf]")||(j=s),{path:k,offset:j}}}if(!u){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var I=$.toSlateNode(e,u),V=$.findPath(e,I);return{path:V,offset:c}},toSlateRange:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,a=q2(t)?t.anchorNode:t.startContainer,s,l,u,c,p;if(a)if(q2(t)){if(lu&&t.rangeCount>1){u=t.focusNode;var d=t.getRangeAt(0),h=t.getRangeAt(t.rangeCount-1);if(u instanceof HTMLTableRowElement&&d.startContainer instanceof HTMLTableRowElement&&h.startContainer instanceof HTMLTableRowElement){let P=function(S){return S.childElementCount>0?P(S.children[0]):S};var g=d.startContainer,v=h.startContainer,m=P(g.children[d.startOffset]),b=P(v.children[h.startOffset]);c=0,b.childNodes.length>0?s=b.childNodes[0]:s=b,m.childNodes.length>0?u=m.childNodes[0]:u=m,b instanceof HTMLElement?l=b.innerHTML.length:l=0}else d.startContainer===u?(s=h.endContainer,l=h.endOffset,c=d.startOffset):(s=d.startContainer,l=d.endOffset,c=h.startOffset)}else s=t.anchorNode,l=t.anchorOffset,u=t.focusNode,c=t.focusOffset;DP&&dQ(s)||lu?p=t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:p=t.isCollapsed}else s=t.startContainer,l=t.startOffset,u=t.endContainer,c=t.endOffset,p=t.collapsed;if(s==null||u==null||l==null||c==null)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));if("getAttribute"in u&&u.getAttribute("contenteditable")==="false"&&u.getAttribute("data-slate-void")!=="true"){var y;u=s,c=((y=s.textContent)===null||y===void 0?void 0:y.length)||0}var x=$.toSlatePoint(e,[s,l],{exactMatch:n,suppressThrow:o});if(!x)return null;var w=p?x:$.toSlatePoint(e,[u,c],{exactMatch:n,suppressThrow:o});if(!w)return null;var D={anchor:x,focus:w};return M.isExpanded(D)&&M.isForward(D)&&Ar(u)&&C.void(e,{at:D.focus,mode:"highest"})&&(D=C.unhangRange(e,D,{voids:!0})),D}};function yQ(e,t){var{path:r,diff:n}=t;if(!C.hasPath(e,r))return!1;var o=U.get(e,r);if(!J.isText(o))return!1;if(n.start!==o.text.length||n.text.length===0)return o.text.slice(n.start,n.start+n.text.length)===n.text;var a=T.next(r);if(!C.hasPath(e,a))return!1;var s=U.get(e,a);return J.isText(s)&&s.text.startsWith(n.text)}function BP(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.reduce((o,a)=>o.slice(0,a.start)+a.text+o.slice(a.end),e)}function bQ(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 CQ(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 OP(e,t){var{start:r,end:n,text:o}=t,a=e.slice(r,n),s=bQ(a,o),l=Math.min(a.length-s,o.length-s),u=CQ(a,o,l),c={start:r+s,end:n-u,text:o.slice(s,o.length-u)};return c.start===c.end&&c.text.length===0?null:c}function xQ(e,t,r){var n=Math.min(t.start,r.start),o=Math.max(0,Math.min(t.start+t.text.length,r.end)-r.start),a=BP(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),l=a.slice(n,s),u=Math.max(t.end,r.end-t.text.length+(t.end-t.start));return OP(e,{start:n,end:u,text:l})}function wQ(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}function Y2(e,t){var{path:r,offset:n}=t;if(!C.hasPath(e,r))return null;var o=U.get(e,r);if(!J.isText(o))return null;var a=C.above(e,{match:l=>K.isElement(l)&&C.isBlock(e,l),at:r});if(!a)return null;for(;n>o.text.length;){var s=C.next(e,{at:r,match:J.isText});if(!s||!T.isDescendant(s[1],a[1]))return null;n-=o.text.length,o=s[0],r=s[1]}return{path:r,offset:n}}function uP(e,t){var r=Y2(e,t.anchor);if(!r)return null;if(M.isCollapsed(t))return{anchor:r,focus:r};var n=Y2(e,t.focus);return n?{anchor:r,focus:n}:null}function J2(e,t,r){var n=Qt.get(e),o=n?.find(p=>{var{path:d}=p;return T.equals(d,t.path)});if(!o||t.offset<=o.diff.start)return ge.transform(t,r,{affinity:"backward"});var{diff:a}=o;if(t.offset<=a.start+a.text.length){var s={path:t.path,offset:a.start},l=ge.transform(s,r,{affinity:"backward"});return l?{path:l.path,offset:l.offset+t.offset-a.start}:null}var u={path:t.path,offset:t.offset-a.text.length+a.end-a.start},c=ge.transform(u,r,{affinity:"backward"});return c?r.type==="split_node"&&T.equals(r.path,t.path)&&u.offset<r.position&&a.start<r.position?c:{path:c.path,offset:c.offset+a.text.length-a.end+a.start}:null}function cP(e,t,r){var n=J2(e,t.anchor,r);if(!n)return null;if(M.isCollapsed(t))return{anchor:n,focus:n};var o=J2(e,t.focus,r);return o?{anchor:n,focus:o}:null}function SQ(e,t){var{path:r,diff:n,id:o}=e;switch(t.type){case"insert_text":return!T.equals(t.path,r)||t.offset>=n.end?e:t.offset<=n.start?{diff:{start:t.text.length+n.start,end:t.text.length+n.end,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end+t.text.length,text:n.text},id:o,path:r};case"remove_text":return!T.equals(t.path,r)||t.offset>=n.end?e:t.offset+t.text.length<=n.start?{diff:{start:n.start-t.text.length,end:n.end-t.text.length,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end-t.text.length,text:n.text},id:o,path:r};case"split_node":return!T.equals(t.path,r)||t.position>=n.end?{diff:n,id:o,path:T.transform(r,t,{affinity:"backward"})}:t.position>n.start?{diff:{start:n.start,end:Math.min(t.position,n.end),text:n.text},id:o,path:r}:{diff:{start:n.start-t.position,end:n.end-t.position,text:n.text},id:o,path:T.transform(r,t,{affinity:"forward"})};case"merge_node":return T.equals(t.path,r)?{diff:{start:n.start+t.position,end:n.end+t.position,text:n.text},id:o,path:T.transform(r,t)}:{diff:n,id:o,path:T.transform(r,t)}}var a=T.transform(r,t);return a?{diff:n,path:a,id:o}:null}function fP(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?fP(Object(r),!0).forEach(function(n){Cd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var DQ=25,EQ=200,PQ=function(){},TQ=e=>e?.constructor.name==="DataTransfer";function AQ(e){var{editor:t,scheduleOnDOMSelectionChange:r,onDOMSelectionChange:n}=e,o=!1,a=null,s=null,l=null,u=0,c=!1,p=()=>{var I=No.get(t);if(No.delete(t),I){var{selection:V}=t,N=uP(t,I);N&&(!V||!M.equals(N,V))&&L.select(t,N)}},d=()=>{var I=Vo.get(t);if(Vo.delete(t),!!I){if(I.at){var V=ge.isPoint(I.at)?Y2(t,I.at):uP(t,I.at);if(!V)return;var N=C.range(t,V);(!t.selection||!M.equals(t.selection,N))&&L.select(t,V)}I.run()}},h=()=>{if(s&&(clearTimeout(s),s=null),l&&(clearTimeout(l),l=null),!D()&&!w()){p();return}o||(o=!0,setTimeout(()=>o=!1)),w()&&(o="action");var I=t.selection&&C.rangeRef(t,t.selection,{affinity:"forward"});qn.set(t,t.marks),PQ("flush",Vo.get(t),Qt.get(t));for(var V=D(),N;N=(H=Qt.get(t))===null||H===void 0?void 0:H[0];){var H,Z,Q=_r.get(t);Q!==void 0&&(_r.delete(t),t.marks=Q),Q&&c===!1&&(c=null);var X=wQ(N);(!t.selection||!M.equals(t.selection,X))&&L.select(t,X),N.diff.text?C.insertText(t,N.diff.text):C.deleteFragment(t),Qt.set(t,(Z=Qt.get(t))===null||Z===void 0?void 0:Z.filter(de=>{var{id:pe}=de;return pe!==N.id})),yQ(t,N)||(V=!1,Vo.delete(t),qn.delete(t),o="action",No.delete(t),r.cancel(),n.cancel(),I?.unref())}var G=I?.unref();if(G&&!No.get(t)&&(!t.selection||!M.equals(G,t.selection))&&L.select(t,G),w()){d();return}V&&r(),r.flush(),n.flush(),p();var re=qn.get(t);qn.delete(t),re!==void 0&&(t.marks=re,t.onChange())},g=I=>{a&&clearTimeout(a),a=setTimeout(()=>{Bi.set(t,!1),h()},DQ)},v=I=>{Bi.set(t,!0),a&&(clearTimeout(a),a=null)},m=function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,N=_2.get(t);if(N){if(D()||V){N.style.display="none";return}N.style.removeProperty("display")}},b=(I,V)=>{var N,H=(N=Qt.get(t))!==null&&N!==void 0?N:[];Qt.set(t,H);var Z=U.leaf(t,I),Q=H.findIndex(re=>T.equals(re.path,I));if(Q<0){var X=OP(Z.text,V);X&&H.push({path:I,diff:V,id:u++}),m();return}var G=xQ(Z.text,H[Q].diff,V);if(!G){H.splice(Q,1),m();return}H[Q]=dd(dd({},H[Q]),{},{diff:G})},y=function(V){var{at:N}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c=!1,No.delete(t),r.cancel(),n.cancel(),w()&&h(),Vo.set(t,{at:N,run:V}),l=setTimeout(h)},x=I=>{var V;s&&(clearTimeout(s),s=null);var{inputType:N}=I,H=null,Z=I.dataTransfer||I.data||void 0;c!==!1&&N!=="insertText"&&N!=="insertCompositionText"&&(c=!1);var[Q]=I.getTargetRanges();Q&&(H=$.toSlateRange(t,Q,{exactMatch:!1,suppressThrow:!0}));var X=$.getWindow(t),G=X.getSelection();if(!H&&G&&(Q=G,H=$.toSlateRange(t,G,{exactMatch:!1,suppressThrow:!0})),H=(V=H)!==null&&V!==void 0?V:t.selection,!!H){var re=!0;if(N.startsWith("delete")){if(M.isExpanded(H)){var[de,pe]=M.edges(H),je=U.leaf(t,de.path);if(je.text.length===de.offset&&pe.offset===0){var A=C.next(t,{at:de.path,match:J.isText});A&&T.equals(A[1],pe.path)&&(H={anchor:pe,focus:pe})}}var _=N.endsWith("Backward")?"backward":"forward",[z,W]=M.edges(H),[se,oe]=C.leaf(t,z.path),me={text:"",start:z.offset,end:W.offset},xe=Qt.get(t),De=xe?.find(Te=>T.equals(Te.path,oe)),Pe=De?[De.diff,me]:[me],we=BP(se.text,...Pe);if(we.length===0&&(re=!1),M.isExpanded(H)){if(re&&T.equals(H.anchor.path,H.focus.path)){var wt={path:H.anchor.path,offset:z.offset},St=C.range(t,wt,wt);return E(St),b(H.anchor.path,{text:"",end:W.offset,start:z.offset})}return y(()=>C.deleteFragment(t,{direction:_}),{at:H})}}switch(N){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return y(()=>C.deleteFragment(t),{at:H});case"deleteContent":case"deleteContentForward":{var{anchor:We}=H;if(re&&M.isCollapsed(H)){var sr=U.leaf(t,We.path);if(We.offset<sr.text.length)return b(We.path,{text:"",start:We.offset,end:We.offset+1})}return y(()=>C.deleteForward(t),{at:H})}case"deleteContentBackward":{var Wt,{anchor:Rt}=H,lr=q2(Q)?Q.isCollapsed:!!((Wt=Q)!==null&&Wt!==void 0&&Wt.collapsed);return re&&lr&&M.isCollapsed(H)&&Rt.offset>0?b(Rt.path,{text:"",start:Rt.offset-1,end:Rt.offset}):y(()=>C.deleteBackward(t),{at:H})}case"deleteEntireSoftLine":return y(()=>{C.deleteBackward(t,{unit:"line"}),C.deleteForward(t,{unit:"line"})},{at:H});case"deleteHardLineBackward":return y(()=>C.deleteBackward(t,{unit:"block"}),{at:H});case"deleteSoftLineBackward":return y(()=>C.deleteBackward(t,{unit:"line"}),{at:H});case"deleteHardLineForward":return y(()=>C.deleteForward(t,{unit:"block"}),{at:H});case"deleteSoftLineForward":return y(()=>C.deleteForward(t,{unit:"line"}),{at:H});case"deleteWordBackward":return y(()=>C.deleteBackward(t,{unit:"word"}),{at:H});case"deleteWordForward":return y(()=>C.deleteForward(t,{unit:"word"}),{at:H});case"insertLineBreak":return y(()=>C.insertSoftBreak(t),{at:H});case"insertParagraph":return y(()=>C.insertBreak(t),{at:H});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{if(TQ(Z))return y(()=>$.insertData(t,Z),{at:H});var O=Z??"";if(_r.get(t)&&(O=O.replace("\uFEFF","")),N==="insertText"&&/.*\n.*\n$/.test(O)&&(O=O.slice(0,-1)),O.includes(`
1850
+ `))return y(()=>{var Te=O.split(`
1851
+ `);Te.forEach((Dt,no)=>{Dt&&C.insertText(t,Dt),no!==Te.length-1&&C.insertSoftBreak(t)})},{at:H});if(T.equals(H.anchor.path,H.focus.path)){var[Y,te]=M.edges(H),q={start:Y.offset,end:te.offset,text:O};if(O&&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,k()):c=!1}else N==="insertText"?c===null?c=q:c&&M.isCollapsed(H)&&c.end+c.text.length===Y.offset?c=dd(dd({},c),{},{text:c.text+O}):c=!1:c=!1;if(re){b(Y.path,q);return}}return y(()=>C.insertText(t,O),{at:H})}}}},w=()=>!!Vo.get(t),D=()=>{var I;return!!((I=Qt.get(t))!==null&&I!==void 0&&I.length)},P=()=>w()||D(),S=()=>o,E=I=>{No.set(t,I),s&&(clearTimeout(s),s=null);var{selection:V}=t;if(I){var N=!V||!T.equals(V.anchor.path,I.anchor.path),H=!V||!T.equals(V.anchor.path.slice(0,-1),I.anchor.path.slice(0,-1));(N&&c||H)&&(c=!1),(N||D())&&(s=setTimeout(h,EQ))}},R=()=>{(w()||!D())&&h()},B=I=>{D()||(m(!0),setTimeout(m))},k=()=>{w()||(l=setTimeout(h))},j=I=>{if(!(D()||w())&&I.some(N=>og(t,N,I))){var V;(V=PP.get(t))===null||V===void 0||V()}};return{flush:h,scheduleFlush:k,hasPendingDiffs:D,hasPendingAction:w,hasPendingChanges:P,isFlushing:S,handleUserSelect:E,handleCompositionEnd:g,handleCompositionStart:v,handleDOMBeforeInput:x,handleKeyDown:B,handleDomMutations:j,handleInput:R}}function RQ(){var e=yr(!1);return Xn(()=>(e.current=!0,()=>{e.current=!1}),[]),e.current}var fu=gd?XZ:Xn;function FQ(e,t,r){var[n]=Mi(()=>new MutationObserver(t));fu(()=>{n.takeRecords()}),Xn(()=>{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 BQ=["node"];function pP(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 OQ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pP(Object(r),!0).forEach(function(n){Cd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var MQ={subtree:!0,childList:!0,characterData:!0},IQ=er?e=>{var{node:t}=e,r=as(e,BQ);if(!er)return null;var n=$o(),o=RQ(),[a]=Mi(()=>AQ(OQ({editor:n},r)));return FQ(t,a.handleDomMutations,MQ),rg.set(n,a.scheduleFlush),o&&a.flush(),a}:()=>null,kQ=["anchor","focus"],VQ=["anchor","focus"],NQ=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(r=>t.hasOwnProperty(r)&&e[r]===t[r]),MP=(e,t)=>{var r=as(e,kQ),n=as(t,VQ);return e[ss]===t[ss]&&NQ(r,n)},LQ=(e,t)=>{if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var n=e[r],o=t[r];if(!M.equals(n,o)||!MP(n,o))return!1}return!0},$Q=(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||!MP(n,o))return!1}return!0},zQ=e=>{var{isLast:t,leaf:r,parent:n,text:o}=e,a=$o(),s=$.findPath(a,o),l=T.parent(s),u=r[TP]===!0;return a.isVoid(n)?fe.createElement(W2,{length:U.string(n).length}):r.text===""&&n.children[n.children.length-1]===o&&!a.isInline(n)&&C.string(a,l)===""?fe.createElement(W2,{isLineBreak:!0,isMarkPlaceholder:u}):r.text===""?fe.createElement(W2,{isMarkPlaceholder:u}):t&&r.text.slice(-1)===`
1852
+ `?fe.createElement(dP,{isTrailing:!0,text:r.text}):fe.createElement(dP,{text:r.text})},dP=e=>{var{text:t,isTrailing:r=!1}=e,n=yr(null),o=()=>"".concat(t??"").concat(r?`
1853
+ `:""),[a]=Mi(o);return fu(()=>{var s=o();n.current&&n.current.textContent!==s&&(n.current.textContent=s)}),fe.createElement(GQ,{ref:n},a)},GQ=YZ(JZ((e,t)=>fe.createElement("span",{"data-slate-string":!0,ref:t},e.children))),W2=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),fe.createElement("span",Object.assign({},o),!er||!r?"\uFEFF":null,r?fe.createElement("br",null):null)};function HQ(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}function mP(e){e.current&&(clearTimeout(e.current),e.current=null)}var jQ=e=>{var{leaf:t,isLast:r,text:n,parent:o,renderPlaceholder:a,renderLeaf:s=x=>fe.createElement(_Q,Object.assign({},x))}=e,l=$o(),u=yr(null),c=yr(null),[p,d]=Mi(!1),h=yr(null),g=ke(x=>{if(HQ(u,x==null),x==null){var w;_2.delete(l),(w=t.onPlaceholderResize)===null||w===void 0||w.call(t,null)}else{if(_2.set(l,x),!u.current){var D=window.ResizeObserver||G2;u.current=new D(()=>{var P;(P=t.onPlaceholderResize)===null||P===void 0||P.call(t,x)})}u.current.observe(x),c.current=x}},[c,t,l]),v=fe.createElement(zQ,{isLast:r,leaf:t,parent:o,text:n}),m=t[ss];if(Xn(()=>(m?h.current||(h.current=setTimeout(()=>{d(!0),h.current=null},300)):(mP(h),d(!1)),()=>mP(h)),[m,d]),m&&p){var b={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:su?"inherit":void 0},contentEditable:!1,ref:g}};v=fe.createElement(fe.Fragment,null,a(b),v)}var y={"data-slate-leaf":!0};return s({attributes:y,children:v,leaf:t,text:n})},WQ=fe.memo(jQ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&J.equals(t.leaf,e.leaf)&&t.leaf[ss]===e.leaf[ss]),_Q=e=>{var{attributes:t,children:r}=e;return fe.createElement("span",Object.assign({},t),r)},UQ=e=>{for(var{decorations:t,isLast:r,parent:n,renderPlaceholder:o,renderLeaf:a,text:s}=e,l=$o(),u=yr(null),c=J.decorations(s,t),p=$.findKey(l,s),d=[],h=0;h<c.length;h++){var g=c[h];d.push(fe.createElement(WQ,{isLast:r&&h===c.length-1,key:"".concat(p.id,"-").concat(h),renderPlaceholder:o,leaf:g,text:s,parent:n,renderLeaf:a}))}var v=ke(m=>{var b=xd.get(l);m?(b?.set(p,m),Oi.set(s,m),cu.set(m,s)):(b?.delete(p),Oi.delete(s),u.current&&cu.delete(u.current)),u.current=m},[u,l,p,s]);return fe.createElement("span",{"data-slate-node":"text",ref:v},d)},IP=fe.memo(UQ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&$Q(t.decorations,e.decorations)),KQ=e=>{var{decorations:t,element:r,renderElement:n=x=>fe.createElement(XQ,Object.assign({},x)),renderPlaceholder:o,renderLeaf:a,selection:s}=e,l=$o(),u=JQ(),c=l.isInline(r),p=$.findKey(l,r),d=ke(x=>{var w=xd.get(l);x?(w?.set(p,x),Oi.set(r,x),cu.set(x,r)):(w?.delete(p),Oi.delete(r))},[l,p,r]),h=LP({decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}),g={"data-slate-node":"element",ref:d};if(c&&(g["data-slate-inline"]=!0),!c&&C.hasInlines(l,r)){var v=U.string(r),m=(0,Z2.default)(v);m==="rtl"&&(g.dir=m)}if(C.isVoid(l,r)){g["data-slate-void"]=!0,!u&&c&&(g.contentEditable=!1);var b=c?"span":"div",[[y]]=U.texts(r);h=fe.createElement(b,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},fe.createElement(IP,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:y})),eg.set(y,0),tg.set(y,r)}return n({attributes:g,children:h,element:r})},qQ=fe.memo(KQ,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&LQ(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&M.equals(e.selection,t.selection))),XQ=e=>{var{attributes:t,children:r,element:n}=e,o=$o(),a=o.isInline(n)?"span":"div";return fe.createElement(a,Object.assign({},t,{style:{position:"relative"}}),r)},kP=Ii(()=>[]),YQ=()=>ls(kP),VP=Ii(!1),NP=()=>ls(VP),LP=e=>{for(var{decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}=e,l=YQ(),u=$o(),c=$.findPath(u,r),p=[],d=K.isElement(r)&&!u.isInline(r)&&C.hasInlines(u,r),h=0;h<r.children.length;h++){var g=c.concat(h),v=r.children[h],m=$.findKey(u,v),b=C.range(u,g),y=s&&M.intersection(b,s),x=l([v,g]);for(var w of t){var D=M.intersection(w,b);D&&x.push(D)}K.isElement(v)?p.push(fe.createElement(VP.Provider,{key:"provider-".concat(m.id),value:!!y},fe.createElement(qQ,{decorations:x,element:v,key:m.id,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:y}))):p.push(fe.createElement(IP,{decorations:x,key:m.id,isLast:d&&h===r.children.length-1,parent:r,renderPlaceholder:o,renderLeaf:a,text:v})),eg.set(v,h),tg.set(v,r)}return p},$P=Ii(!1),JQ=()=>ls($P),zP=Ii(null),wd=()=>{var e=ls(zP);if(!e)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:t}=e;return t};function ZQ(){var e=$o(),t=yr(!1),r=yr(0),n=ke(()=>{if(!t.current){t.current=!0;var o=$.getWindow(e);o.cancelAnimationFrame(r.current),r.current=o.requestAnimationFrame(()=>{t.current=!1})}},[e]);return Xn(()=>()=>cancelAnimationFrame(r.current),[]),{receivedUserInput:t,onUserInput:n}}var QQ=3,eee={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"},tee={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"},ree={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},He=e=>{var t=eee[e],r=tee[e],n=ree[e],o=t&&(0,hd.isHotkey)(t),a=r&&(0,hd.isHotkey)(r),s=n&&(0,hd.isHotkey)(n);return l=>!!(o&&o(l)||lP&&a&&a(l)||!lP&&s&&s(l))},Ue={isBold:He("bold"),isCompose:He("compose"),isMoveBackward:He("moveBackward"),isMoveForward:He("moveForward"),isDeleteBackward:He("deleteBackward"),isDeleteForward:He("deleteForward"),isDeleteLineBackward:He("deleteLineBackward"),isDeleteLineForward:He("deleteLineForward"),isDeleteWordBackward:He("deleteWordBackward"),isDeleteWordForward:He("deleteWordForward"),isExtendBackward:He("extendBackward"),isExtendForward:He("extendForward"),isExtendLineBackward:He("extendLineBackward"),isExtendLineForward:He("extendLineForward"),isItalic:He("italic"),isMoveLineBackward:He("moveLineBackward"),isMoveLineForward:He("moveLineForward"),isMoveWordBackward:He("moveWordBackward"),isMoveWordForward:He("moveWordForward"),isRedo:He("redo"),isSoftBreak:He("insertSoftBreak"),isSplitBlock:He("splitBlock"),isTransposeCharacter:He("transposeCharacter"),isUndo:He("undo")},nee=(e,t)=>{var r=[],n=()=>{r=[]},o=s=>{if(t.current){var l=s.filter(u=>og(e,u,s));r.push(...l)}};function a(){r.length>0&&(r.reverse().forEach(s=>{s.type!=="characterData"&&(s.removedNodes.forEach(l=>{s.target.insertBefore(l,s.nextSibling)}),s.addedNodes.forEach(l=>{s.target.removeChild(l)}))}),n())}return{registerMutations:o,restoreDOM:a,clear:n}},oee={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0},bd=class extends ZZ{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,oee)}componentDidMount(){var{receivedUserInput:t}=this.props,r=this.context;this.manager=nee(r,t),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var t,r,n,o=(t=this.mutationObserver)===null||t===void 0?void 0:t.takeRecords();if(o!=null&&o.length){var a;(a=this.manager)===null||a===void 0||a.registerMutations(o)}return(r=this.mutationObserver)===null||r===void 0||r.disconnect(),(n=this.manager)===null||n===void 0||n.restoreDOM(),null}componentDidUpdate(){var t;(t=this.manager)===null||t===void 0||t.clear(),this.observe()}componentWillUnmount(){var t;(t=this.mutationObserver)===null||t===void 0||t.disconnect()}render(){return this.props.children}};bd.contextType=Q2;var iee=er?bd:e=>{var{children:t}=e;return fe.createElement(fe.Fragment,null,t)},aee=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],see=["text"];function hP(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 os(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hP(Object(r),!0).forEach(function(n){Cd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var lee=e=>fe.createElement(fe.Fragment,null,LP(e)),GP=e=>{var t=ke(A=>fe.createElement(uee,Object.assign({},A)),[]),{autoFocus:r,decorate:n=cee,onDOMBeforeInput:o,placeholder:a,readOnly:s=!1,renderElement:l,renderLeaf:u,renderPlaceholder:c=t,scrollSelectionIntoView:p=fee,style:d={},as:h="div",disableDefaultStyles:g=!1}=e,v=as(e,aee),m=wd(),[b,y]=Mi(!1),x=yr(null),w=yr([]),[D,P]=Mi(),{onUserInput:S,receivedUserInput:E}=ZQ(),[,R]=QZ(A=>A+1,0);PP.set(m,R),U2.set(m,s);var B=md(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);Xn(()=>{x.current&&r&&x.current.focus()},[r]);var k=yr(),j=md(()=>(0,wP.default)(()=>{var A=k.current;if((er||!$.isComposing(m))&&(!B.isUpdatingSelection||A!=null&&A.isFlushing())&&!B.isDraggingInternally){var _=$.findDocumentOrShadowRoot(m),{activeElement:z}=_,W=$.toDOMNode(m,m),se=_.getSelection();if(z===W?(B.latestElement=z,Fi.set(m,!0)):Fi.delete(m),!se)return L.deselect(m);var{anchorNode:oe,focusNode:me}=se,xe=$.hasEditableTarget(m,oe)||$.isTargetInsideNonReadonlyVoid(m,oe),De=$.hasEditableTarget(m,me)||$.isTargetInsideNonReadonlyVoid(m,me);if(xe&&De){var Pe=$.toSlateRange(m,se,{exactMatch:!1,suppressThrow:!0});Pe&&(!$.isComposing(m)&&!(A!=null&&A.hasPendingChanges())&&!(A!=null&&A.isFlushing())?L.select(m,Pe):A?.handleUserSelect(Pe))}s&&(!xe||!De)&&L.deselect(m)}},100),[m,s,B]),I=md(()=>(0,xP.default)(j,0),[j]);k.current=IQ({node:x,onDOMSelectionChange:j,scheduleOnDOMSelectionChange:I}),fu(()=>{var A,_,z;x.current&&(z=ng(x.current))?(EP.set(m,z),vd.set(m,x.current),Oi.set(m,x.current),cu.set(x.current,m)):Oi.delete(m);var{selection:W}=m,se=$.findDocumentOrShadowRoot(m),oe=se.getSelection();if(!(!oe||!$.isFocused(m)||(A=k.current)!==null&&A!==void 0&&A.hasPendingAction())){var me=we=>{var wt=oe.type!=="None";if(!(!W&&!wt)){var St=oe.focusNode,We;if(lu&&oe.rangeCount>1){var sr=oe.getRangeAt(0),Wt=oe.getRangeAt(oe.rangeCount-1);sr.startContainer===St?We=Wt.endContainer:We=sr.startContainer}else We=oe.anchorNode;var Rt=vd.get(m),lr=!1;if(Rt.contains(We)&&Rt.contains(St)&&(lr=!0),wt&&lr&&W&&!we){var O=$.toSlateRange(m,oe,{exactMatch:!0,suppressThrow:!0});if(O&&M.equals(O,W)){var Y,te;if(!B.hasMarkPlaceholder||(Y=We)!==null&&Y!==void 0&&(te=Y.parentElement)!==null&&te!==void 0&&te.hasAttribute("data-slate-mark-placeholder"))return}}if(W&&!$.hasRange(m,W)){m.selection=$.toSlateRange(m,oe,{exactMatch:!1,suppressThrow:!0});return}B.isUpdatingSelection=!0;var q=W&&$.toDOMRange(m,W);return q?($.isComposing(m)&&!er?oe.collapseToEnd():M.isBackward(W)?oe.setBaseAndExtent(q.endContainer,q.endOffset,q.startContainer,q.startOffset):oe.setBaseAndExtent(q.startContainer,q.startOffset,q.endContainer,q.endOffset),p(m,q)):oe.removeAllRanges(),q}};oe.rangeCount<=1&&me();var xe=((_=k.current)===null||_===void 0?void 0:_.isFlushing())==="action";if(!er||!xe){setTimeout(()=>{B.isUpdatingSelection=!1});return}var De=null,Pe=requestAnimationFrame(()=>{if(xe){var we=wt=>{try{var St=$.toDOMNode(m,m);St.focus(),me(wt)}catch{}};we(),De=setTimeout(()=>{we(!0),B.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(Pe),De&&clearTimeout(De)}}});var V=ke(A=>{if(S(),!s&&$.hasEditableTarget(m,A.target)&&!pee(A,o)){var _;if(k.current)return k.current.handleDOMBeforeInput(A);I.flush(),j.flush();var{selection:z}=m,{inputType:W}=A,se=A.dataTransfer||A.data||void 0,oe=W==="insertCompositionText"||W==="deleteCompositionText";if(oe&&$.isComposing(m))return;var me=!1;if(W==="insertText"&&z&&M.isCollapsed(z)&&A.data&&A.data.length===1&&/[a-z ]/i.test(A.data)&&z.anchor.offset!==0){var xe,De;me=!0,m.marks&&(me=!1);var{anchor:Pe}=z,[we,wt]=$.toDOMPoint(m,Pe),St=(xe=we.parentElement)===null||xe===void 0?void 0:xe.closest("a"),We=$.getWindow(m);if(me&&St&&$.hasDOMNode(m,St)){var sr,Wt=We?.document.createTreeWalker(St,NodeFilter.SHOW_TEXT).lastChild();Wt===we&&((sr=Wt.textContent)===null||sr===void 0?void 0:sr.length)===wt&&(me=!1)}if(me&&we.parentElement&&(We==null||(De=We.getComputedStyle(we.parentElement))===null||De===void 0?void 0:De.whiteSpace)==="pre"){var Rt=C.above(m,{at:Pe.path,match:ae=>K.isElement(ae)&&C.isBlock(m,ae)});Rt&&U.string(Rt[0]).includes(" ")&&(me=!1)}}if(!W.startsWith("delete")||W.startsWith("deleteBy")){var[lr]=A.getTargetRanges();if(lr){var O=$.toSlateRange(m,lr,{exactMatch:!1,suppressThrow:!1});if(!z||!M.equals(z,O)){me=!1;var Y=!oe&&m.selection&&C.rangeRef(m,m.selection);L.select(m,O),Y&&uu.set(m,Y)}}}if(oe)return;if(me||A.preventDefault(),z&&M.isExpanded(z)&&W.startsWith("delete")){var te=W.endsWith("Backward")?"backward":"forward";C.deleteFragment(m,{direction:te});return}switch(W){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":{C.deleteFragment(m);break}case"deleteContent":case"deleteContentForward":{C.deleteForward(m);break}case"deleteContentBackward":{C.deleteBackward(m);break}case"deleteEntireSoftLine":{C.deleteBackward(m,{unit:"line"}),C.deleteForward(m,{unit:"line"});break}case"deleteHardLineBackward":{C.deleteBackward(m,{unit:"block"});break}case"deleteSoftLineBackward":{C.deleteBackward(m,{unit:"line"});break}case"deleteHardLineForward":{C.deleteForward(m,{unit:"block"});break}case"deleteSoftLineForward":{C.deleteForward(m,{unit:"line"});break}case"deleteWordBackward":{C.deleteBackward(m,{unit:"word"});break}case"deleteWordForward":{C.deleteForward(m,{unit:"word"});break}case"insertLineBreak":C.insertSoftBreak(m);break;case"insertParagraph":{C.insertBreak(m);break}case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{W==="insertFromComposition"&&$.isComposing(m)&&(y(!1),Bi.set(m,!1)),se?.constructor.name==="DataTransfer"?$.insertData(m,se):typeof se=="string"&&(me?w.current.push(()=>C.insertText(m,se)):C.insertText(m,se));break}}var q=(_=uu.get(m))===null||_===void 0?void 0:_.unref();uu.delete(m),q&&(!m.selection||!M.equals(m.selection,q))&&L.select(m,q)}},[m,j,S,o,s,I]),N=ke(A=>{A==null?(j.cancel(),I.cancel(),vd.delete(m),Oi.delete(m),x.current&&ko&&x.current.removeEventListener("beforeinput",V)):ko&&A.addEventListener("beforeinput",V),x.current=A},[j,I,m,V]);fu(()=>{var A=$.getWindow(m);return A.document.addEventListener("selectionchange",I),()=>{A.document.removeEventListener("selectionchange",I)}},[I]);var H=n([m,[]]),Z=a&&m.children.length===1&&Array.from(U.texts(m)).length===1&&U.string(m)===""&&!b,Q=ke(A=>{if(A&&Z){var _;P((_=A.getBoundingClientRect())===null||_===void 0?void 0:_.height)}else P(void 0)},[Z]);if(Z){var X=C.start(m,[]);H.push({[ss]:!0,placeholder:a,onPlaceholderResize:Q,anchor:X,focus:X})}var{marks:G}=m;if(B.hasMarkPlaceholder=!1,m.selection&&M.isCollapsed(m.selection)&&G){var{anchor:re}=m.selection,de=U.leaf(m,re.path),pe=as(de,see);if(!J.equals(de,G,{loose:!0})){B.hasMarkPlaceholder=!0;var je=Object.fromEntries(Object.keys(pe).map(A=>[A,null]));H.push(os(os(os({[TP]:!0},je),G),{},{anchor:re,focus:re}))}}return Xn(()=>{setTimeout(()=>{var{selection:A}=m;if(A){var{anchor:_}=A,z=U.leaf(m,_.path);if(G&&!J.equals(z,G,{loose:!0})){_r.set(m,G);return}}_r.delete(m)})}),fe.createElement($P.Provider,{value:s},fe.createElement(kP.Provider,{value:n},fe.createElement(iee,{node:x,receivedUserInput:E},fe.createElement(h,Object.assign({role:s?void 0:"textbox","aria-multiline":s?void 0:!0},v,{spellCheck:ko||!gd?v.spellCheck:!1,autoCorrect:ko||!gd?v.autoCorrect:"false",autoCapitalize:ko||!gd?v.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s,zindex:-1,suppressContentEditableWarning:!0,ref:N,style:os(os({},g?{}:os({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},D?{minHeight:D}:{})),d),onBeforeInput:ke(A=>{if(!ko&&!s&&!Ht(A,v.onBeforeInput)&&$.hasSelectableTarget(m,A.target)&&(A.preventDefault(),!$.isComposing(m))){var _=A.data;C.insertText(m,_)}},[v.onBeforeInput,m,s]),onInput:ke(A=>{if(!Ht(A,v.onInput)){if(k.current){k.current.handleInput();return}for(var _ of w.current)_();w.current=[]}},[v.onInput]),onBlur:ke(A=>{if(!(s||B.isUpdatingSelection||!$.hasSelectableTarget(m,A.target)||Ht(A,v.onBlur))){var _=$.findDocumentOrShadowRoot(m);if(B.latestElement!==_.activeElement){var{relatedTarget:z}=A,W=$.toDOMNode(m,m);if(z!==W&&!(Ar(z)&&z.hasAttribute("data-slate-spacer"))){if(z!=null&&Lo(z)&&$.hasDOMNode(m,z)){var se=$.toSlateNode(m,z);if(K.isElement(se)&&!m.isVoid(se))return}if(su){var oe=_.getSelection();oe?.removeAllRanges()}Fi.delete(m)}}}},[s,B.isUpdatingSelection,B.latestElement,m,v.onBlur]),onClick:ke(A=>{if($.hasTarget(m,A.target)&&!Ht(A,v.onClick)&&Lo(A.target)){var _=$.toSlateNode(m,A.target),z=$.findPath(m,_);if(!C.hasPath(m,z)||U.get(m,z)!==_)return;if(A.detail===QQ&&z.length>=1){var W=z;if(!(K.isElement(_)&&C.isBlock(m,_))){var se,oe=C.above(m,{match:St=>K.isElement(St)&&C.isBlock(m,St),at:z});W=(se=oe?.[1])!==null&&se!==void 0?se:z.slice(0,1)}var me=C.range(m,W);L.select(m,me);return}if(s)return;var xe=C.start(m,z),De=C.end(m,z),Pe=C.void(m,{at:xe}),we=C.void(m,{at:De});if(Pe&&we&&T.equals(Pe[1],we[1])){var wt=C.range(m,xe);L.select(m,wt)}}},[m,v.onClick,s]),onCompositionEnd:ke(A=>{if($.hasSelectableTarget(m,A.target)){var _;if($.isComposing(m)&&(y(!1),Bi.set(m,!1)),(_=k.current)===null||_===void 0||_.handleCompositionEnd(A),Ht(A,v.onCompositionEnd)||er)return;if(!su&&!aQ&&!rQ&&!lQ&&!sQ&&A.data){var z=_r.get(m);_r.delete(m),z!==void 0&&(qn.set(m,m.marks),m.marks=z),C.insertText(m,A.data);var W=qn.get(m);qn.delete(m),W!==void 0&&(m.marks=W)}}},[v.onCompositionEnd,m]),onCompositionUpdate:ke(A=>{$.hasSelectableTarget(m,A.target)&&!Ht(A,v.onCompositionUpdate)&&($.isComposing(m)||(y(!0),Bi.set(m,!0)))},[v.onCompositionUpdate,m]),onCompositionStart:ke(A=>{if($.hasSelectableTarget(m,A.target)){var _;if((_=k.current)===null||_===void 0||_.handleCompositionStart(A),Ht(A,v.onCompositionStart)||er)return;y(!0);var{selection:z}=m;if(z){if(M.isExpanded(z)){C.deleteFragment(m);return}var W=C.above(m,{match:me=>K.isElement(me)&&C.isInline(m,me),mode:"highest"});if(W){var[,se]=W;if(C.isEnd(m,z.anchor,se)){var oe=C.after(m,se);L.setSelection(m,{anchor:oe,focus:oe})}}}}},[v.onCompositionStart,m]),onCopy:ke(A=>{$.hasSelectableTarget(m,A.target)&&!Ht(A,v.onCopy)&&!gP(A)&&(A.preventDefault(),$.setFragmentData(m,A.clipboardData,"copy"))},[v.onCopy,m]),onCut:ke(A=>{if(!s&&$.hasSelectableTarget(m,A.target)&&!Ht(A,v.onCut)&&!gP(A)){A.preventDefault(),$.setFragmentData(m,A.clipboardData,"cut");var{selection:_}=m;if(_)if(M.isExpanded(_))C.deleteFragment(m);else{var z=U.parent(m,_.anchor.path);C.isVoid(m,z)&&L.delete(m)}}},[s,m,v.onCut]),onDragOver:ke(A=>{if($.hasTarget(m,A.target)&&!Ht(A,v.onDragOver)){var _=$.toSlateNode(m,A.target);K.isElement(_)&&C.isVoid(m,_)&&A.preventDefault()}},[v.onDragOver,m]),onDragStart:ke(A=>{if(!s&&$.hasTarget(m,A.target)&&!Ht(A,v.onDragStart)){var _=$.toSlateNode(m,A.target),z=$.findPath(m,_),W=K.isElement(_)&&C.isVoid(m,_)||C.void(m,{at:z,voids:!0});if(W){var se=C.range(m,z);L.select(m,se)}B.isDraggingInternally=!0,$.setFragmentData(m,A.dataTransfer,"drag")}},[s,m,v.onDragStart,B]),onDrop:ke(A=>{if(!s&&$.hasTarget(m,A.target)&&!Ht(A,v.onDrop)){A.preventDefault();var _=m.selection,z=$.findEventRange(m,A),W=A.dataTransfer;L.select(m,z),B.isDraggingInternally&&_&&!M.equals(_,z)&&!C.void(m,{at:z,voids:!0})&&L.delete(m,{at:_}),$.insertData(m,W),$.isFocused(m)||$.focus(m)}B.isDraggingInternally=!1},[s,m,v.onDrop,B]),onDragEnd:ke(A=>{!s&&B.isDraggingInternally&&v.onDragEnd&&$.hasTarget(m,A.target)&&v.onDragEnd(A),B.isDraggingInternally=!1},[s,B,v,m]),onFocus:ke(A=>{if(!s&&!B.isUpdatingSelection&&$.hasEditableTarget(m,A.target)&&!Ht(A,v.onFocus)){var _=$.toDOMNode(m,m),z=$.findDocumentOrShadowRoot(m);if(B.latestElement=z.activeElement,lu&&A.target!==_){_.focus();return}Fi.set(m,!0)}},[s,B,m,v.onFocus]),onKeyDown:ke(A=>{if(!s&&$.hasEditableTarget(m,A.target)){var _;(_=k.current)===null||_===void 0||_.handleKeyDown(A);var{nativeEvent:z}=A;if($.isComposing(m)&&z.isComposing===!1&&(Bi.set(m,!1),y(!1)),Ht(A,v.onKeyDown)||$.isComposing(m))return;var{selection:W}=m,se=m.children[W!==null?W.focus.path[0]:0],oe=(0,Z2.default)(U.string(se))==="rtl";if(Ue.isRedo(z)){A.preventDefault();var me=m;typeof me.redo=="function"&&me.redo();return}if(Ue.isUndo(z)){A.preventDefault();var xe=m;typeof xe.undo=="function"&&xe.undo();return}if(Ue.isMoveLineBackward(z)){A.preventDefault(),L.move(m,{unit:"line",reverse:!0});return}if(Ue.isMoveLineForward(z)){A.preventDefault(),L.move(m,{unit:"line"});return}if(Ue.isExtendLineBackward(z)){A.preventDefault(),L.move(m,{unit:"line",edge:"focus",reverse:!0});return}if(Ue.isExtendLineForward(z)){A.preventDefault(),L.move(m,{unit:"line",edge:"focus"});return}if(Ue.isMoveBackward(z)){A.preventDefault(),W&&M.isCollapsed(W)?L.move(m,{reverse:!oe}):L.collapse(m,{edge:"start"});return}if(Ue.isMoveForward(z)){A.preventDefault(),W&&M.isCollapsed(W)?L.move(m,{reverse:oe}):L.collapse(m,{edge:"end"});return}if(Ue.isMoveWordBackward(z)){A.preventDefault(),W&&M.isExpanded(W)&&L.collapse(m,{edge:"focus"}),L.move(m,{unit:"word",reverse:!oe});return}if(Ue.isMoveWordForward(z)){A.preventDefault(),W&&M.isExpanded(W)&&L.collapse(m,{edge:"focus"}),L.move(m,{unit:"word",reverse:oe});return}if(ko){if((DP||su)&&W&&(Ue.isDeleteBackward(z)||Ue.isDeleteForward(z))&&M.isCollapsed(W)){var De=U.parent(m,W.anchor.path);if(K.isElement(De)&&C.isVoid(m,De)&&(C.isInline(m,De)||C.isBlock(m,De))){A.preventDefault(),C.deleteBackward(m,{unit:"block"});return}}}else{if(Ue.isBold(z)||Ue.isItalic(z)||Ue.isTransposeCharacter(z)){A.preventDefault();return}if(Ue.isSoftBreak(z)){A.preventDefault(),C.insertSoftBreak(m);return}if(Ue.isSplitBlock(z)){A.preventDefault(),C.insertBreak(m);return}if(Ue.isDeleteBackward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m);return}if(Ue.isDeleteForward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m);return}if(Ue.isDeleteLineBackward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m,{unit:"line"});return}if(Ue.isDeleteLineForward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m,{unit:"line"});return}if(Ue.isDeleteWordBackward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m,{unit:"word"});return}if(Ue.isDeleteWordForward(z)){A.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m,{unit:"word"});return}}}},[s,m,v.onKeyDown]),onPaste:ke(A=>{!s&&$.hasEditableTarget(m,A.target)&&!Ht(A,v.onPaste)&&(!ko||fQ(A.nativeEvent)||su)&&(A.preventDefault(),$.insertData(m,A.clipboardData))},[s,m,v.onPaste])}),fe.createElement(lee,{decorations:H,node:m,renderElement:l,renderPlaceholder:c,renderLeaf:u,selection:m.selection})))))},uee=e=>{var{attributes:t,children:r}=e;return fe.createElement("span",Object.assign({},t),r,er&&fe.createElement("br",null))},cee=()=>[],fee=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&M.isCollapsed(e.selection))){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),qD(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},Ht=(e,t)=>{if(!t)return!1;var r=t(e);return r??(e.isDefaultPrevented()||e.isPropagationStopped())},gP=e=>Lo(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),pee=(e,t)=>{if(!t)return!1;var r=t(e);return r??e.defaultPrevented},HP=Ii(!1),jP=()=>ls(HP);var dee=Ii({});function mee(e){var t=yr([]).current,r=yr({editor:e}).current,n=ke(a=>{r.editor=a,t.forEach(s=>s(a))},[t,r]),o=md(()=>({getSlate:()=>r.editor,addEventListener:a=>(t.push(a),()=>{t.splice(t.indexOf(a),1)})}),[t,r]);return{selectorContext:o,onChange:n}}var hee=["editor","children","onChange","initialValue"],WP=e=>{var{editor:t,children:r,onChange:n,initialValue:o}=e,a=as(e,hee),[s,l]=fe.useState(()=>{if(!U.isNodeList(o))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(ct.stringify(o)));if(!C.isEditor(t))throw new Error("[Slate] editor is invalid! You passed: ".concat(ct.stringify(t)));return t.children=o,Object.assign(t,a),{v:0,editor:t}}),{selectorContext:u,onChange:c}=mee(t),p=ke(()=>{n&&n(t.children),l(g=>({v:g.v+1,editor:t})),c(t)},[t,c,n]);Xn(()=>(K2.set(t,p),()=>{K2.set(t,()=>{})}),[t,p]);var[d,h]=Mi($.isFocused(t));return Xn(()=>{h($.isFocused(t))},[t]),fu(()=>{var g=()=>h($.isFocused(t));return SP>=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)})},[]),fe.createElement(dee.Provider,{value:u},fe.createElement(zP.Provider,{value:s},fe.createElement(Q2.Provider,{value:s.editor},fe.createElement(HP.Provider,{value:d},r))))};var vP=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},yP=(e,t,r)=>{var n=$.toDOMRange(e,t).getBoundingClientRect(),o=$.toDOMRange(e,r).getBoundingClientRect();return vP(n,o)&&vP(o,n)},gee=(e,t)=>{var r=C.range(e,M.end(t)),n=Array.from(C.positions(e,{at:t})),o=0,a=n.length,s=Math.floor(a/2);if(yP(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;)yP(e,C.range(e,n[s]),r)?a=s:o=s,s=Math.floor((o+a)/2);return C.range(e,n[a],r)};function bP(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 CP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?bP(Object(r),!0).forEach(function(n){Cd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var _P=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",n=t,{apply:o,onChange:a,deleteBackward:s,addMark:l,removeMark:u}=n;return xd.set(n,new WeakMap),n.addMark=(c,p)=>{var d,h;(d=rg.get(n))===null||d===void 0||d(),!_r.get(n)&&(h=Qt.get(n))!==null&&h!==void 0&&h.length&&_r.set(n,null),qn.delete(n),l(c,p)},n.removeMark=c=>{var p;!_r.get(n)&&(p=Qt.get(n))!==null&&p!==void 0&&p.length&&_r.set(n,null),qn.delete(n),u(c)},n.deleteBackward=c=>{if(c!=="line")return s(c);if(n.selection&&M.isCollapsed(n.selection)){var p=C.above(n,{match:v=>K.isElement(v)&&C.isBlock(n,v),at:n.selection});if(p){var[,d]=p,h=C.range(n,d,n.selection.anchor),g=gee(n,h);M.isCollapsed(g)||L.delete(n,{at:g})}}},n.apply=c=>{var p=[],d=[],h=Qt.get(n);if(h!=null&&h.length){var g=h.map(N=>SQ(N,c)).filter(Boolean);Qt.set(n,g)}var v=No.get(n);v&&No.set(n,cP(n,v,c));var m=Vo.get(n);if(m!=null&&m.at){var b=ge.isPoint(m?.at)?J2(n,m.at,c):cP(n,m.at,c);Vo.set(n,b?CP(CP({},m),{},{at:b}):null)}switch(c.type){case"insert_text":case"remove_text":case"set_node":case"split_node":{p.push(...is(n,c.path));break}case"set_selection":{var y;(y=uu.get(n))===null||y===void 0||y.unref(),uu.delete(n);break}case"insert_node":case"remove_node":{p.push(...is(n,T.parent(c.path)));break}case"merge_node":{var x=T.previous(c.path);p.push(...is(n,x));break}case"move_node":{var w=T.common(T.parent(c.path),T.parent(c.newPath));p.push(...is(n,w));var D;T.isBefore(c.path,c.newPath)?(p.push(...is(n,T.parent(c.path))),D=c.newPath):(p.push(...is(n,T.parent(c.newPath))),D=c.path);var P=U.get(t,T.parent(D)),S=$.findKey(n,P),E=C.pathRef(n,T.parent(D));d.push([E,S]);break}}o(c);for(var[R,B]of p){var[k]=C.node(n,R);yd.set(k,B)}for(var[j,I]of d)if(j.current){var[V]=C.node(n,j.current);yd.set(V,I)}},n.setFragmentData=c=>{var{selection:p}=n;if(p){var[d,h]=M.edges(p),g=C.void(n,{at:d.path}),v=C.void(n,{at:h.path});if(!(M.isCollapsed(p)&&!g)){var m=$.toDOMRange(n,p),b=m.cloneContents(),y=b.childNodes[0];if(b.childNodes.forEach(k=>{k.textContent&&k.textContent.trim()!==""&&(y=k)}),v){var[x]=v,w=m.cloneRange(),D=$.toDOMNode(n,x);w.setEndAfter(D),b=w.cloneContents()}if(g&&(y=b.querySelector("[data-slate-spacer]")),Array.from(b.querySelectorAll("[data-slate-zero-width]")).forEach(k=>{var j=k.getAttribute("data-slate-zero-width")==="n";k.textContent=j?`
1854
+ `:""}),AP(y)){var P=y.ownerDocument.createElement("span");P.style.whiteSpace="pre",P.appendChild(y),b.appendChild(P),y=P}var S=n.getFragment(),E=JSON.stringify(S),R=window.btoa(encodeURIComponent(E));y.setAttribute("data-slate-fragment",R),c.setData("application/".concat(r),R);var B=b.ownerDocument.createElement("div");return B.appendChild(b),B.setAttribute("hidden","true"),b.ownerDocument.body.appendChild(B),c.setData("text/html",B.innerHTML),c.setData("text/plain",FP(B)),b.ownerDocument.body.removeChild(B),c}}},n.insertData=c=>{n.insertFragmentData(c)||n.insertTextData(c)},n.insertFragmentData=c=>{var p=c.getData("application/".concat(r))||gQ(c);if(p){var d=decodeURIComponent(window.atob(p)),h=JSON.parse(d);return n.insertFragment(h),!0}return!1},n.insertTextData=c=>{var p=c.getData("text/plain");if(p){var d=p.split(/\r\n|\r|\n/),h=!1;for(var g of d)h&&L.splitNodes(n,{always:!0}),n.insertText(g),h=!0;return!0}return!1},n.onChange=c=>{var p=SP<18?eQ.unstable_batchedUpdates:d=>d();p(()=>{var d=K2.get(n);d&&d(),a(c)})},n},is=(e,t)=>{var r=[];for(var[n,o]of C.levels(e,{at:t})){var a=$.findKey(e,n);r.push([o,a])}return r};i();var vee={isHistory(e){return Qe(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||Un.isOperationList(e.redos[0].operations))&&(e.undos.length===0||Un.isOperationList(e.undos[0].operations))}};var ig=new WeakMap,ag=new WeakMap,us={isHistoryEditor(e){return vee.isHistory(e.history)&&C.isEditor(e)},isMerging(e){return ag.get(e)},isSaving(e){return ig.get(e)},redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var r=us.isMerging(e);ag.set(e,!1),t(),ag.set(e,r)},withoutSaving(e,t){var r=us.isSaving(e);ig.set(e,!1),t(),ig.set(e,r)}},UP=e=>{var t=e,{apply:r}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:n}=t,{redos:o}=n;if(o.length>0){var a=o[o.length-1];a.selectionBefore&&L.setSelection(t,a.selectionBefore),us.withoutSaving(t,()=>{C.withoutNormalizing(t,()=>{for(var s of a.operations)t.apply(s)})}),n.redos.pop(),t.writeHistory("undos",a)}},t.undo=()=>{var{history:n}=t,{undos:o}=n;if(o.length>0){var a=o[o.length-1];us.withoutSaving(t,()=>{C.withoutNormalizing(t,()=>{var s=a.operations.map(Un.inverse).reverse();for(var l of s)t.apply(l);a.selectionBefore&&L.setSelection(t,a.selectionBefore)})}),t.writeHistory("redos",a),n.undos.pop()}},t.apply=n=>{var{operations:o,history:a}=t,{undos:s}=a,l=s[s.length-1],u=l&&l.operations[l.operations.length-1],c=us.isSaving(t),p=us.isMerging(t);if(c==null&&(c=bee(n)),c){if(p==null&&(l==null?p=!1:o.length!==0?p=!0:p=yee(n,u)),l&&p)l.operations.push(n);else{var d={operations:[n],selectionBefore:t.selection};t.writeHistory("undos",d)}for(;s.length>100;)s.shift();a.redos=[]}r(n)},t.writeHistory=(n,o)=>{t.history[n].push(o)},t},yee=(e,t)=>!!(t&&e.type==="insert_text"&&t.type==="insert_text"&&e.offset===t.offset+t.text.length&&T.equals(e.path,t.path)||t&&e.type==="remove_text"&&t.type==="remove_text"&&e.offset+e.text.length===t.offset&&T.equals(e.path,t.path)),bee=(e,t)=>e.type!=="set_selection";var UT=kr(JP());var KT=kr(mp());i();i();function mu(e){"@babel/helpers - typeof";return mu=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},mu(e)}function See(e,t){if(mu(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(mu(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Dee(e){var t=See(e,"string");return mu(t)==="symbol"?t:String(t)}function cs(e,t,r){return t=Dee(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var eT=new WeakMap,tT=new WeakMap,hu=class{},fs=class extends hu{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),cs(this,"offset",void 0),cs(this,"path",void 0);var{offset:r,path:n}=t;this.offset=r,this.path=n}},ps=class extends hu{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),cs(this,"offset",void 0),cs(this,"path",void 0);var{offset:r,path:n}=t;this.offset=r,this.path=n}},Eee=(e,t)=>{var r=e.text.length;eT.set(e,[r,t])},Pee=e=>eT.get(e),Tee=(e,t)=>{var r=e.text.length;tT.set(e,[r,t])},Aee=e=>tT.get(e);function ZP(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 cg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ZP(Object(r),!0).forEach(function(n){cs(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ZP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Dd=new WeakSet,Ed=e=>{var t=[],r=o=>{if(o!=null){var a=t[t.length-1];if(typeof o=="string"){var s={text:o};Dd.add(s),o=s}if(J.isText(o)){var l=o;J.isText(a)&&Dd.has(a)&&Dd.has(l)&&J.equals(a,l,{loose:!0})?a.text+=l.text:t.push(l)}else if(K.isElement(o))t.push(o);else if(o instanceof hu){var u=t[t.length-1];J.isText(u)||(r(""),u=t[t.length-1]),o instanceof fs?Eee(u,o):o instanceof ps&&Tee(u,o)}else throw new Error("Unexpected hyperscript child object: ".concat(o))}};for(var n of e.flat(1/0))r(n);return t};function Ree(e,t,r){return new fs(t)}function Fee(e,t,r){return[new fs(t),new ps(t)]}function rT(e,t,r){return cg(cg({},t),{},{children:Ed(r)})}function Bee(e,t,r){return new ps(t)}function Oee(e,t,r){return Ed(r)}function Mee(e,t,r){var n=r.find(a=>a instanceof fs),o=r.find(a=>a instanceof ps);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 cg({anchor:{offset:n.offset,path:n.path},focus:{offset:o.offset,path:o.path}},t)}function Iee(e,t,r){var n=Ed(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:""}),!J.isText(o))throw new Error(`
1855
+ The <text> hyperscript tag can only contain text content as children.`);return Dd.delete(o),Object.assign(o,t),o}var kee=e=>(t,r,n)=>{var o=[],a;for(var s of n)M.isRange(s)?a=s:o.push(s);var l=Ed(o),u={},c=e();Object.assign(c,r),c.children=l;for(var[p,d]of U.texts(c)){var h=Pee(p),g=Aee(p);if(h!=null){var[v]=h;u.anchor={path:d,offset:v}}if(g!=null){var[m]=g;u.focus={path:d,offset:m}}}if(u.anchor&&!u.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(!u.anchor&&u.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<focus />`. For collapsed selections, use `<cursor />` instead.");return a!=null?c.selection=a:M.isRange(u)&&(c.selection=u),c};function QP(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 du(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?QP(Object(r),!0).forEach(function(n){cs(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):QP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Vee={anchor:Ree,cursor:Fee,editor:kee(od),element:rT,focus:Bee,fragment:Oee,selection:Mee,text:Iee},Nee=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{elements:r={}}=t,n=$ee(r),o=du(du(du({},Vee),n),t.creators),a=Lee(o);return a},Lee=e=>{var t=function(n,o){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];var u=e[n];if(!u)throw new Error("No hyperscript creator found for tag: <".concat(n,">"));o==null&&(o={}),Qe(o)||(s=[o].concat(s),o={}),s=s.filter(p=>!!p).flat();var c=u(n,o,s);return c};return t},$ee=e=>{var t={},r=function(){var a=e[n];if(typeof a!="object")throw new Error("Properties specified for a hyperscript shorthand should be an object, but for the custom element <".concat(n,"> tag you passed: ").concat(a));t[n]=(s,l,u)=>rT("element",du(du({},a),l),u)};for(var n in e)r();return t},ds=Nee();i();i();var zee=/["'&<>]/;var gu=e=>{let t=`${e}`,r=zee.exec(t);if(!r)return t;let n="",o="",a=0,s=0;for(a=r.index;a<t.length;a++){let l=t.charCodeAt(a);l===34?n="&quot;":l===38?n="&amp;":l===39?n="&#39;":l===60?n="&lt;":l===62?n="&gt;":n="",n!==""&&(s!==a&&(o+=t.substring(s,a)),s=a+1,o+=n)}return s!==a?o+t.substring(s,a):o};var pg={text:""},Gee=e=>e.type!=="image",Hee=e=>e.type==="image"&&e.url===void 0,jee=e=>F(e.children)&&e.children.length===1,Wee=e=>J.isText(e)&&e.text?.trim()==="",_ee=e=>jee(e)&&Wee(e.children[0]),Uee=e=>e.every(t=>le(t)),Kee=e=>Uee(e)?null:e.join(""),nT=(e,t)=>{let r=e;return r.children&&(r.children=r.children.map(n=>({...nT(n,t),...t}))),r},qee=e=>{let r=[gu(e.text)];return F(e.bold)&&e.bold&&(r.push("</strong>"),r.unshift("<strong>")),F(e.italic)&&e.italic&&(r.push("</em>"),r.unshift("<em>")),F(e.underline)&&e.underline&&(r.push("</u>"),r.unshift("<u>")),F(e.strikethrough)&&e.strikethrough&&(r.push("</s>"),r.unshift("<s>")),F(e.code)&&e.code&&(r.push("</code>"),r.unshift("<code>")),r.join("")},oT=e=>{if(Gee(e)&&_ee(e)||Hee(e))return null;if(J.isText(e))return qee(e);let t=F(e.children)?e.children.map(r=>oT(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="${gu(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="${gu(e.url)}" />`;case"code":return`<code>${t}</code>`;case void 0:default:return t}},ms=e=>{let t=e.map(r=>oT(r));return Kee(t)},fg={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"})},iT={DEL:()=>({strikethrough:!0}),S:()=>({strikethrough:!0}),EM:()=>({italic:!0}),I:()=>({italic:!0}),STRONG:()=>({bold:!0}),U:()=>({underline:!0}),CODE:()=>({code:!0})},aT=e=>e.nodeType===3,Xee=e=>e.nodeType===1,sT=e=>e.nodeName==="CODE",lT=(e,t)=>sT(e)&&F(t[0])&&!t[0].match(/\n/g),Yee=(e,t)=>!lT(e,t)&&F(fg[e.nodeName]),Jee=(e,t)=>lT(e,t)||F(iT[e.nodeName]),Zee=e=>F(e)&&!st(e)&&e.text?.trim()==="",Qee=(e,t)=>{let{nodeName:r}=t;if(r!=="IMG"&&e.length===1&&!st(e[0])&&F(e[0].text)&&e[0].text?.trim()==="")return ds("element",fg.P(),pg);let n=fg[r](t);return ds("element",n,e)},ete=(e,t)=>{let{nodeName:r}=t,n=iT[r]();return e.map(o=>!st(o)&&F(o)&&F(o.children)?nT(o,n):Zee(o)?ds("text",{},pg):ds("text",n,o))},tte=e=>e.nodeName==="BLOCKQUOTE"||e.nodeName==="OL"||e.nodeName==="UL",rte=(e,t)=>{let r=[];return sT(e)?r=[...e.childNodes].map(n=>aT(n)?n.textContent:n.outerHTML):tte(e)?r=[...e.childNodes].filter(n=>n.textContent?.trim()!=="").flatMap(t):r=[...e.childNodes].flatMap(t),r},uT=e=>{if(aT(e))return e.nodeValue?.trim()===""?null:e.textContent;if(e.nodeName==="BR")return`
1856
+ `;if(!Xee(e))return null;let t=rte(e,uT),r=t.length>0&&t[0]!=null?t:[pg];return e.nodeName==="BODY"?ds("fragment",{},r):Yee(e,t)?Qee(r,e):Jee(e,r)?ete(r,e):t},Pd=e=>{if(!e)return;let t=new DOMParser().parseFromString(e,"text/html").body,r=uT(t);if(F(r)&&Cn(r)&&F(r[0])&&F(r[0].text))return[{type:"paragraph",children:[{text:r[0].text}]}];let n=Cn(r)?r[r.length-1]:void 0;return Cn(r)&&K.isElement(n)&&n.type!=="paragraph"?[...r,{type:"paragraph",children:[{text:""}]}]:r};i();import{jsx as hs}from"react/jsx-runtime";var cT=({attributes:e={"data-slate-leaf":!0},children:t,leaf:r={}})=>{let n=t;return F(r.bold)&&(n=hs("strong",{children:n})),F(r.italic)&&(n=hs("em",{children:n})),F(r.underline)&&(n=hs("u",{children:n})),F(r.strikethrough)&&(n=hs("s",{children:n})),F(r.code)&&(n=hs("code",{children:n})),hs("span",{...e,children:n})};i();import dn,{css as pT}from"styled-components";import{jsx as br,jsxs as pte}from"react/jsx-runtime";var fT=dn.span`
1857
1857
  display: 'inline-block';
1858
1858
  user-select: none;
1859
1859
  `,nte=dn.img`
@@ -1861,7 +1861,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1861
1861
  max-height: 10em;
1862
1862
  max-width: 100%;
1863
1863
  user-select: none;
1864
- `,dP=pP`
1864
+ `,dT=pT`
1865
1865
  padding: 0 ${({theme:e})=>e.spacing.space05};
1866
1866
 
1867
1867
  li {
@@ -1871,10 +1871,10 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1871
1871
  margin: ${({theme:e})=>`${e.spacing.space02} 0`};
1872
1872
  }
1873
1873
  `,ote=dn.ol`
1874
- ${dP}
1874
+ ${dT}
1875
1875
  `,ite=dn.ul`
1876
- ${dP}
1877
- `,dg=pP`
1876
+ ${dT}
1877
+ `,dg=pT`
1878
1878
  font-weight: 500;
1879
1879
  `,ate=dn.h1`
1880
1880
  ${dg}
@@ -1892,7 +1892,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1892
1892
  font-weight: 300;
1893
1893
  `,fte=dn.span`
1894
1894
  font-weight: 400;
1895
- `,mP=({attributes:e={"data-slate-node":"element",ref:void 0},children:t=void 0,element:r={}})=>{let n=NT(),o=jT();switch(r.type){case"span":return br(fte,{...e,children:t});case"blockquote":return br("blockquote",{...e,children:t});case"bulleted-list":return br(ite,{...e,children:t});case"heading-one":return br(ate,{...e,children:t});case"heading-two":return br(ste,{...e,children:t});case"heading-three":case"heading-four":case"heading-five":case"heading-six":return br(lte,{...e,children:t});case"list-item":return br("li",{...e,children:t});case"numbered-list":return br(ote,{...e,children:t});case"image":return pte(fP,{...e,children:[br(fP,{contentEditable:!1,children:br(nte,{alt:"",contentEditable:!1,focused:o,selected:n,src:r.url})}),t]});case"link":return br(cte,{...e,href:r.url,rel:"noopener noreferrer",target:"_blank",children:t});case"code":return br("code",{...e,children:t});case void 0:default:return br(ute,{...e,children:t})}};i();import bte from"styled-components";i();i();i();var Pd=(e,t)=>{let[r]=C.nodes(e,{match:n=>K.isElement(n)&&n.type===t});return!!r},hP=new Set(["numbered-list","bulleted-list"]),zo=(e,t)=>{let r=Pd(e,t),n=hP.has(t);L.unwrapNodes(e,{match:a=>K.isElement(a)&&F(a.type)&&hP.has(a.type),split:!0});let o=n?"list-item":t;if(L.setNodes(e,{type:r?"paragraph":o}),!r&&n){let a={type:t,children:[]};L.wrapNodes(e,a)}},Ad=(e,t)=>{let r=C.marks(e);return ve(r&&Object.keys(r).find(n=>n===t))},Yn=(e,t)=>{Ad(e,t)?C.removeMark(e,t):C.addMark(e,t,!0)};var gP={text:""},dte=["jpg","png","gif","tiff","bmp","dcm"],mte=e=>{if(!lo(e))return!1;let t=dte.find(r=>e.includes(r));return ee(t)&&!!t},mg=(e,t)=>{if(!t){zo(e,"image");return}if(!mte(t)){zo(e,"image");return}let r={type:"image",url:t,children:[gP]};L.insertNodes(e,r)},hg=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 a={type:"paragraph",children:[gP]},s=ee(o[0])?o[0]+1:1;L.insertNodes(e,a,{at:[s]}),L.move(e)}K.isElement(n)&&n.type==="image"&&n.url===void 0&&ee(n.children)&&ee(n.children[0])&&ee(n.children[0].text)&&n.children[0].text.trim()!==""&&L.setNodes(e,{type:"span"},{match:a=>K.isElement(a)&&a.type==="image"&&a.url===void 0&&ee(a.children)&&J.isText(a.children[0])&&F(a.children[0].text)&&a.children[0].text.trim()!=="",split:!0,at:o,mode:"highest"}),t([n,o])},e};i();var hte=e=>!!/^#.+$/i.test(e),vP=e=>{let[t]=C.nodes(e,{match:r=>K.isElement(r)&&r.type==="link"});return!!t},yP=e=>{L.unwrapNodes(e,{match:t=>K.isElement(t)&&t.type==="link"})},gg=(e,t)=>{vP(e)&&yP(e);let{selection:r}=e,n=r&&M.isCollapsed(r),o={type:"link",url:t,children:n===!0?[{text:t}]:[]};n===!0?L.insertNodes(e,o):(L.wrapNodes(e,o,{split:!0}),L.collapse(e,{edge:"end"}))},vg=e=>{let{insertData:t,insertText:r,isInline:n,normalizeNode:o}=e;return e.isInline=a=>a.type==="link"?!0:n(a),e.insertText=a=>{a&&lo(a)?gg(e,a):r(a)},e.insertData=a=>{let s=a.getData("text/plain");s&&lo(s)?gg(e,s):t(a)},e.normalizeNode=([a,s])=>{K.isElement(a)&&a.type==="link"&&U.string(a)===""&&(L.unwrapNodes(e,{at:s}),L.select(e,P.next(s))),o([a,s])},e},yg=e=>{if(vP(e))yP(e);else{let t=prompt("Enter the URL of the link:");if(!ve(t)){Yn(e,"link");return}if(t.includes(" ")){alert("The URL provided had spaces. Try again without spaces."),Yn(e,"link");return}if(!lo(t)&&!hte(t)){alert("The URL provided looks invalid. Try again. Make sure to include the protocol (ex. https://) in the URL."),Yn(e,"link");return}e.selection&&gg(e,t)}};i();var bP={...C,isBlck:C.isBlock},gte={type:"paragraph",children:[{text:"",marks:[]}]},vte=e=>e.length===1?e[e.length-1]?.text?.trim()==="":e.find(r=>r.type==="link")?.children[0]?.text?.trim()==="",bg=e=>{let{selection:t}=e,r=t&&M.isCollapsed(t),n=e.children[t.anchor.path[0]],o=n.type==="bulleted-list"||n.type==="numbered-list",a=bP.above(e,{match:s=>bP.isBlck(e,s)});(r??!1)&&o&&vte(a[0].children)&&(L.removeNodes(e,{hanging:!0}),L.insertNodes(e,gte),L.unwrapNodes(e,{match:({type:s})=>s==="bulleted-list"||s==="numbered-list",all:!0,split:!0}))};i();var bt=Object.freeze({BOLD:"BOLD",ITALIC:"ITALIC",UNDERLINE:"UNDERLINE",STRIKETHROUGH:"STRIKETHROUGH",HEADING_1:"HEADING_1",HEADING_2:"HEADING_2",BLOCKQUOTE:"BLOCKQUOTE",NUMBERED_LIST:"NUMBERED_LIST",BULLETED_LIST:"BULLETED_LIST",LINK:"LINK",IMAGE:"IMAGE"});i();i();i();var Cg={"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 xg={};$1(xg,{BlockQuote:()=>xP,Bold:()=>SP,BulletedList:()=>EP,Heading:()=>PP,HeadingTwo:()=>RP,Image:()=>BP,Italic:()=>MP,Link:()=>kP,NumberedList:()=>NP,Strikethrough:()=>$P,Underline:()=>GP});i();i();import{jsx as CP}from"react/jsx-runtime";var xP=e=>CP("svg",{...e,children:CP("path",{d:"M4.2125 11.0375C4.35417 11.1792 4.53333 11.25 4.75 11.25H19.25C19.4667 11.25 19.6458 11.1792 19.7875 11.0375C19.9292 10.8958 20 10.7167 20 10.5C20 10.2833 19.9292 10.1042 19.7875 9.9625C19.6458 9.82083 19.4667 9.75 19.25 9.75H4.75C4.53333 9.75 4.35417 9.82083 4.2125 9.9625C4.07083 10.1042 4 10.2833 4 10.5C4 10.7167 4.07083 10.8958 4.2125 11.0375ZM4.2125 14.0375C4.35417 14.1792 4.53333 14.25 4.75 14.25H12.975C13.1917 14.25 13.3708 14.1792 13.5125 14.0375C13.6542 13.8958 13.725 13.7167 13.725 13.5C13.725 13.2833 13.6542 13.1042 13.5125 12.9625C13.3708 12.8208 13.1917 12.75 12.975 12.75H4.75C4.53333 12.75 4.35417 12.8208 4.2125 12.9625C4.07083 13.1042 4 13.2833 4 13.5C4 13.7167 4.07083 13.8958 4.2125 14.0375ZM1.5 10C1.22386 10 1 10.2239 1 10.5V14C1 14.2761 1.22386 14.5 1.5 14.5C1.77614 14.5 2 14.2761 2 14V10.5C2 10.2239 1.77614 10 1.5 10Z",fill:"currentColor"})});i();import{jsx as wP}from"react/jsx-runtime";var SP=e=>wP("svg",{...e,children:wP("path",{d:"M16.9995 11.7C18.354 10.743 19.302 9.17101 19.302 7.71451C19.302 4.48501 16.86 1.99951 13.722 1.99951H4.998V22.0005H14.823C17.7375 22.0005 19.998 19.5705 19.998 16.5855C19.998 14.415 18.798 12.5565 16.998 11.7H16.9995ZM9.186 5.57101H13.371C14.5305 5.57101 15.465 6.52801 15.465 7.71451C15.465 8.89951 14.5305 9.85651 13.3725 9.85651H9.186V5.57101ZM14.07 18.429H9.186V14.1435H14.07C15.228 14.1435 16.1625 15.1005 16.1625 16.2855C16.1625 17.4705 15.228 18.429 14.07 18.429V18.429Z",fill:"currentColor"})});i();import{jsx as DP}from"react/jsx-runtime";var EP=e=>DP("svg",{...e,children:DP("path",{d:"M4.0005 10.5C3.1695 10.5 2.5005 11.1705 2.5005 12C2.5005 12.8295 3.1695 13.5 4.0005 13.5C4.83 13.5 5.5005 12.8295 5.5005 12C5.5005 11.1705 4.83 10.5 4.0005 10.5ZM4.0005 4.5C3.1695 4.5 2.5005 5.1705 2.5005 6C2.5005 6.8295 3.1695 7.5 4.0005 7.5C4.83 7.5 5.5005 6.8295 5.5005 6C5.5005 5.1705 4.83 4.5 4.0005 4.5ZM4.0005 16.5C3.1695 16.5 2.5005 17.1795 2.5005 18C2.5005 18.8205 3.18 19.5 4.0005 19.5C4.8195 19.5 5.5005 18.8205 5.5005 18C5.5005 17.1795 4.83 16.5 4.0005 16.5ZM7.0005 19.0005H21V16.9995H7.0005V19.0005ZM7.0005 13.0005H21V10.9995H7.0005V13.0005ZM7.0005 4.9995V7.0005H21V4.9995H7.0005Z",fill:"currentColor"})});i();import{jsx as TP}from"react/jsx-runtime";var PP=e=>TP("svg",{...e,children:TP("path",{d:"M7.9995 3V6.7995H14.154V22.0005H17.8455V6.7995H24V3H7.9995ZM0 12.9H3.666V22.0005H7.335V12.9H11.001V9H0V12.9Z",fill:"currentColor"})});i();import{jsx as AP}from"react/jsx-runtime";var RP=e=>AP("svg",{...e,children:AP("path",{d:"M3 17V7H4.5V11.25H9V7H10.5V17H9V12.75H4.5V17H3ZM13.5 17V12.75C13.5 12.3333 13.6458 11.9792 13.9375 11.6875C14.2292 11.3958 14.5833 11.25 15 11.25H19.5V8.5H13.5V7H19.5C19.9167 7 20.2708 7.14583 20.5625 7.4375C20.8542 7.72917 21 8.08333 21 8.5V11.25C21 11.6667 20.8542 12.0208 20.5625 12.3125C20.2708 12.6042 19.9167 12.75 19.5 12.75H15V15.5H21V17H13.5Z",fill:"currentColor"})});i();import{jsx as FP}from"react/jsx-runtime";var BP=e=>FP("svg",{...e,children:FP("path",{d:"M21 19.0005V4.9995C21 3.9 20.1 3 19.0005 3H4.9995C3.9 3 3 3.9 3 4.9995V19.0005C3 20.1 3.9 21 4.9995 21H19.0005C20.1 21 21 20.1 21 19.0005ZM8.5005 13.5L10.9995 16.5105L14.5005 12L19.0005 18H4.9995L8.5005 13.5Z",fill:"currentColor"})});i();import{jsx as OP}from"react/jsx-runtime";var MP=e=>OP("svg",{...e,children:OP("path",{d:"M8.8335 1.99951V6.28501H12.0555L7.0695 17.715H3V22.0005H14.667V17.715H11.4435L16.431 6.28501H20.5005V1.99951H8.8335Z",fill:"currentColor"})});i();import{jsx as IP}from"react/jsx-runtime";var kP=e=>IP("svg",{...e,children:IP("path",{d:"M2.28 12C2.28 9.948 3.948 8.28 6 8.28H10.8V6H6C2.688 6 0 8.688 0 12C0 15.312 2.688 18 6 18H10.8V15.72H6C3.948 15.72 2.28 14.052 2.28 12ZM7.2 13.2H16.8V10.8H7.2V13.2ZM18 6H13.2V8.28H18C20.052 8.28 21.72 9.948 21.72 12C21.72 14.052 20.052 15.72 18 15.72H13.2V18H18C21.312 18 24 15.312 24 12C24 8.688 21.312 6 18 6Z",fill:"currentColor"})});i();import{jsx as VP}from"react/jsx-runtime";var NP=e=>VP("svg",{...e,children:VP("path",{d:"M3.425 20C3.30833 20 3.20833 19.9583 3.125 19.875C3.04167 19.7917 3 19.6917 3 19.575C3 19.4583 3.04167 19.3583 3.125 19.275C3.20833 19.1917 3.30833 19.15 3.425 19.15H5.1V18.5H4.475C4.35833 18.5 4.25833 18.4583 4.175 18.375C4.09167 18.2917 4.05 18.1917 4.05 18.075C4.05 17.9583 4.09167 17.8583 4.175 17.775C4.25833 17.6917 4.35833 17.65 4.475 17.65H5.1V17H3.425C3.30833 17 3.20833 16.9583 3.125 16.875C3.04167 16.7917 3 16.6917 3 16.575C3 16.4583 3.04167 16.3583 3.125 16.275C3.20833 16.1917 3.30833 16.15 3.425 16.15H5.525C5.64167 16.15 5.74167 16.1917 5.825 16.275C5.90833 16.3583 5.95 16.4583 5.95 16.575V19.575C5.95 19.6917 5.90833 19.7917 5.825 19.875C5.74167 19.9583 5.64167 20 5.525 20H3.425ZM4.475 7.9C4.35833 7.9 4.25833 7.85833 4.175 7.775C4.09167 7.69167 4.05 7.59167 4.05 7.475V4.85H3.425C3.30833 4.85 3.20833 4.80833 3.125 4.725C3.04167 4.64167 3 4.54167 3 4.425C3 4.30833 3.04167 4.20833 3.125 4.125C3.20833 4.04167 3.30833 4 3.425 4H4.475C4.59167 4 4.69167 4.04167 4.775 4.125C4.85833 4.20833 4.9 4.30833 4.9 4.425V7.475C4.9 7.59167 4.85833 7.69167 4.775 7.775C4.69167 7.85833 4.59167 7.9 4.475 7.9V7.9ZM3.425 13.925C3.30833 13.925 3.20833 13.8833 3.125 13.8C3.04167 13.7167 3 13.6167 3 13.5V13.275C3 13.2583 3.03333 13.1667 3.1 13L4.875 10.925H3.425C3.30833 10.925 3.20833 10.8833 3.125 10.8C3.04167 10.7167 3 10.6167 3 10.5C3 10.3833 3.04167 10.2833 3.125 10.2C3.20833 10.1167 3.30833 10.075 3.425 10.075H5.525C5.64167 10.075 5.74167 10.1167 5.825 10.2C5.90833 10.2833 5.95 10.3833 5.95 10.5V10.725C5.95 10.7417 5.91667 10.8333 5.85 11L4.05 13.075H5.525C5.64167 13.075 5.74167 13.1167 5.825 13.2C5.90833 13.2833 5.95 13.3833 5.95 13.5C5.95 13.6167 5.90833 13.7167 5.825 13.8C5.74167 13.8833 5.64167 13.925 5.525 13.925H3.425ZM8.975 18.775C8.75833 18.775 8.57917 18.7042 8.4375 18.5625C8.29583 18.4208 8.225 18.2417 8.225 18.025C8.225 17.8083 8.29583 17.6292 8.4375 17.4875C8.57917 17.3458 8.75833 17.275 8.975 17.275H20.25C20.4667 17.275 20.6458 17.3458 20.7875 17.4875C20.9292 17.6292 21 17.8083 21 18.025C21 18.2417 20.9292 18.4208 20.7875 18.5625C20.6458 18.7042 20.4667 18.775 20.25 18.775H8.975ZM8.975 12.7C8.75833 12.7 8.57917 12.6292 8.4375 12.4875C8.29583 12.3458 8.225 12.1667 8.225 11.95C8.225 11.7333 8.29583 11.5542 8.4375 11.4125C8.57917 11.2708 8.75833 11.2 8.975 11.2H20.25C20.4667 11.2 20.6458 11.2708 20.7875 11.4125C20.9292 11.5542 21 11.7333 21 11.95C21 12.1667 20.9292 12.3458 20.7875 12.4875C20.6458 12.6292 20.4667 12.7 20.25 12.7H8.975ZM8.975 6.625C8.75833 6.625 8.57917 6.55417 8.4375 6.4125C8.29583 6.27083 8.225 6.09167 8.225 5.875C8.225 5.65833 8.29583 5.47917 8.4375 5.3375C8.57917 5.19583 8.75833 5.125 8.975 5.125H20.25C20.4667 5.125 20.6458 5.19583 20.7875 5.3375C20.9292 5.47917 21 5.65833 21 5.875C21 6.09167 20.9292 6.27083 20.7875 6.4125C20.6458 6.55417 20.4667 6.625 20.25 6.625H8.975Z",fill:"currentColor"})});i();import{jsx as LP}from"react/jsx-runtime";var $P=e=>LP("svg",{...e,children:LP("path",{d:"M2 13.75V12.25H22V13.75H2ZM10.75 10.75V6.5H5V4H19V6.5H13.25V10.75H10.75ZM10.75 20V15.25H13.25V20H10.75Z",fill:"currentColor"})});i();import{jsx as zP}from"react/jsx-runtime";var GP=e=>zP("svg",{...e,children:zP("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 yte}from"react/jsx-runtime";var Rd={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},tr=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(le(n))throw new Error("An Icon component requires a `type` prop to be provided");if(le(Cg[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(le(Rd[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=xg[Cg[n]],s={verticalAlign:"middle",...r};return yte(a,{"aria-hidden":"true",color:e,height:`${Rd[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${Rd[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};tr.displayName="Icon_VHS";import{jsx as Ke,jsxs as Ste}from"react/jsx-runtime";var Cte=bte.div`
1895
+ `,mT=({attributes:e={"data-slate-node":"element",ref:void 0},children:t=void 0,element:r={}})=>{let n=NP(),o=jP();switch(r.type){case"span":return br(fte,{...e,children:t});case"blockquote":return br("blockquote",{...e,children:t});case"bulleted-list":return br(ite,{...e,children:t});case"heading-one":return br(ate,{...e,children:t});case"heading-two":return br(ste,{...e,children:t});case"heading-three":case"heading-four":case"heading-five":case"heading-six":return br(lte,{...e,children:t});case"list-item":return br("li",{...e,children:t});case"numbered-list":return br(ote,{...e,children:t});case"image":return pte(fT,{...e,children:[br(fT,{contentEditable:!1,children:br(nte,{alt:"",contentEditable:!1,focused:o,selected:n,src:r.url})}),t]});case"link":return br(cte,{...e,href:r.url,rel:"noopener noreferrer",target:"_blank",children:t});case"code":return br("code",{...e,children:t});case void 0:default:return br(ute,{...e,children:t})}};i();import bte from"styled-components";i();i();i();var Td=(e,t)=>{let[r]=C.nodes(e,{match:n=>K.isElement(n)&&n.type===t});return!!r},hT=new Set(["numbered-list","bulleted-list"]),zo=(e,t)=>{let r=Td(e,t),n=hT.has(t);L.unwrapNodes(e,{match:a=>K.isElement(a)&&F(a.type)&&hT.has(a.type),split:!0});let o=n?"list-item":t;if(L.setNodes(e,{type:r?"paragraph":o}),!r&&n){let a={type:t,children:[]};L.wrapNodes(e,a)}},Ad=(e,t)=>{let r=C.marks(e);return ve(r&&Object.keys(r).find(n=>n===t))},Yn=(e,t)=>{Ad(e,t)?C.removeMark(e,t):C.addMark(e,t,!0)};var gT={text:""},dte=["jpg","png","gif","tiff","bmp","dcm"],mte=e=>{if(!lo(e))return!1;let t=dte.find(r=>e.includes(r));return ee(t)&&!!t},mg=(e,t)=>{if(!t){zo(e,"image");return}if(!mte(t)){zo(e,"image");return}let r={type:"image",url:t,children:[gT]};L.insertNodes(e,r)},hg=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 a={type:"paragraph",children:[gT]},s=ee(o[0])?o[0]+1:1;L.insertNodes(e,a,{at:[s]}),L.move(e)}K.isElement(n)&&n.type==="image"&&n.url===void 0&&ee(n.children)&&ee(n.children[0])&&ee(n.children[0].text)&&n.children[0].text.trim()!==""&&L.setNodes(e,{type:"span"},{match:a=>K.isElement(a)&&a.type==="image"&&a.url===void 0&&ee(a.children)&&J.isText(a.children[0])&&F(a.children[0].text)&&a.children[0].text.trim()!=="",split:!0,at:o,mode:"highest"}),t([n,o])},e};i();var hte=e=>!!/^#.+$/i.test(e),vT=e=>{let[t]=C.nodes(e,{match:r=>K.isElement(r)&&r.type==="link"});return!!t},yT=e=>{L.unwrapNodes(e,{match:t=>K.isElement(t)&&t.type==="link"})},gg=(e,t)=>{vT(e)&&yT(e);let{selection:r}=e,n=r&&M.isCollapsed(r),o={type:"link",url:t,children:n===!0?[{text:t}]:[]};n===!0?L.insertNodes(e,o):(L.wrapNodes(e,o,{split:!0}),L.collapse(e,{edge:"end"}))},vg=e=>{let{insertData:t,insertText:r,isInline:n,normalizeNode:o}=e;return e.isInline=a=>a.type==="link"?!0:n(a),e.insertText=a=>{a&&lo(a)?gg(e,a):r(a)},e.insertData=a=>{let s=a.getData("text/plain");s&&lo(s)?gg(e,s):t(a)},e.normalizeNode=([a,s])=>{K.isElement(a)&&a.type==="link"&&U.string(a)===""&&(L.unwrapNodes(e,{at:s}),L.select(e,T.next(s))),o([a,s])},e},yg=e=>{if(vT(e))yT(e);else{let t=prompt("Enter the URL of the link:");if(!ve(t)){Yn(e,"link");return}if(t.includes(" ")){alert("The URL provided had spaces. Try again without spaces."),Yn(e,"link");return}if(!lo(t)&&!hte(t)){alert("The URL provided looks invalid. Try again. Make sure to include the protocol (ex. https://) in the URL."),Yn(e,"link");return}e.selection&&gg(e,t)}};i();var bT={...C,isBlck:C.isBlock},gte={type:"paragraph",children:[{text:"",marks:[]}]},vte=e=>e.length===1?e[e.length-1]?.text?.trim()==="":e.find(r=>r.type==="link")?.children[0]?.text?.trim()==="",bg=e=>{let{selection:t}=e,r=t&&M.isCollapsed(t),n=e.children[t.anchor.path[0]],o=n.type==="bulleted-list"||n.type==="numbered-list",a=bT.above(e,{match:s=>bT.isBlck(e,s)});(r??!1)&&o&&vte(a[0].children)&&(L.removeNodes(e,{hanging:!0}),L.insertNodes(e,gte),L.unwrapNodes(e,{match:({type:s})=>s==="bulleted-list"||s==="numbered-list",all:!0,split:!0}))};i();var bt=Object.freeze({BOLD:"BOLD",ITALIC:"ITALIC",UNDERLINE:"UNDERLINE",STRIKETHROUGH:"STRIKETHROUGH",HEADING_1:"HEADING_1",HEADING_2:"HEADING_2",BLOCKQUOTE:"BLOCKQUOTE",NUMBERED_LIST:"NUMBERED_LIST",BULLETED_LIST:"BULLETED_LIST",LINK:"LINK",IMAGE:"IMAGE"});i();i();i();var Cg={"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 xg={};$1(xg,{BlockQuote:()=>xT,Bold:()=>ST,BulletedList:()=>ET,Heading:()=>TT,HeadingTwo:()=>RT,Image:()=>BT,Italic:()=>MT,Link:()=>kT,NumberedList:()=>NT,Strikethrough:()=>$T,Underline:()=>GT});i();i();import{jsx as CT}from"react/jsx-runtime";var xT=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"})});i();import{jsx as wT}from"react/jsx-runtime";var ST=e=>wT("svg",{...e,children:wT("path",{d:"M16.9995 11.7C18.354 10.743 19.302 9.17101 19.302 7.71451C19.302 4.48501 16.86 1.99951 13.722 1.99951H4.998V22.0005H14.823C17.7375 22.0005 19.998 19.5705 19.998 16.5855C19.998 14.415 18.798 12.5565 16.998 11.7H16.9995ZM9.186 5.57101H13.371C14.5305 5.57101 15.465 6.52801 15.465 7.71451C15.465 8.89951 14.5305 9.85651 13.3725 9.85651H9.186V5.57101ZM14.07 18.429H9.186V14.1435H14.07C15.228 14.1435 16.1625 15.1005 16.1625 16.2855C16.1625 17.4705 15.228 18.429 14.07 18.429V18.429Z",fill:"currentColor"})});i();import{jsx as DT}from"react/jsx-runtime";var ET=e=>DT("svg",{...e,children:DT("path",{d:"M4.0005 10.5C3.1695 10.5 2.5005 11.1705 2.5005 12C2.5005 12.8295 3.1695 13.5 4.0005 13.5C4.83 13.5 5.5005 12.8295 5.5005 12C5.5005 11.1705 4.83 10.5 4.0005 10.5ZM4.0005 4.5C3.1695 4.5 2.5005 5.1705 2.5005 6C2.5005 6.8295 3.1695 7.5 4.0005 7.5C4.83 7.5 5.5005 6.8295 5.5005 6C5.5005 5.1705 4.83 4.5 4.0005 4.5ZM4.0005 16.5C3.1695 16.5 2.5005 17.1795 2.5005 18C2.5005 18.8205 3.18 19.5 4.0005 19.5C4.8195 19.5 5.5005 18.8205 5.5005 18C5.5005 17.1795 4.83 16.5 4.0005 16.5ZM7.0005 19.0005H21V16.9995H7.0005V19.0005ZM7.0005 13.0005H21V10.9995H7.0005V13.0005ZM7.0005 4.9995V7.0005H21V4.9995H7.0005Z",fill:"currentColor"})});i();import{jsx as PT}from"react/jsx-runtime";var TT=e=>PT("svg",{...e,children:PT("path",{d:"M7.9995 3V6.7995H14.154V22.0005H17.8455V6.7995H24V3H7.9995ZM0 12.9H3.666V22.0005H7.335V12.9H11.001V9H0V12.9Z",fill:"currentColor"})});i();import{jsx as AT}from"react/jsx-runtime";var RT=e=>AT("svg",{...e,children:AT("path",{d:"M3 17V7H4.5V11.25H9V7H10.5V17H9V12.75H4.5V17H3ZM13.5 17V12.75C13.5 12.3333 13.6458 11.9792 13.9375 11.6875C14.2292 11.3958 14.5833 11.25 15 11.25H19.5V8.5H13.5V7H19.5C19.9167 7 20.2708 7.14583 20.5625 7.4375C20.8542 7.72917 21 8.08333 21 8.5V11.25C21 11.6667 20.8542 12.0208 20.5625 12.3125C20.2708 12.6042 19.9167 12.75 19.5 12.75H15V15.5H21V17H13.5Z",fill:"currentColor"})});i();import{jsx as FT}from"react/jsx-runtime";var BT=e=>FT("svg",{...e,children:FT("path",{d:"M21 19.0005V4.9995C21 3.9 20.1 3 19.0005 3H4.9995C3.9 3 3 3.9 3 4.9995V19.0005C3 20.1 3.9 21 4.9995 21H19.0005C20.1 21 21 20.1 21 19.0005ZM8.5005 13.5L10.9995 16.5105L14.5005 12L19.0005 18H4.9995L8.5005 13.5Z",fill:"currentColor"})});i();import{jsx as OT}from"react/jsx-runtime";var MT=e=>OT("svg",{...e,children:OT("path",{d:"M8.8335 1.99951V6.28501H12.0555L7.0695 17.715H3V22.0005H14.667V17.715H11.4435L16.431 6.28501H20.5005V1.99951H8.8335Z",fill:"currentColor"})});i();import{jsx as IT}from"react/jsx-runtime";var kT=e=>IT("svg",{...e,children:IT("path",{d:"M2.28 12C2.28 9.948 3.948 8.28 6 8.28H10.8V6H6C2.688 6 0 8.688 0 12C0 15.312 2.688 18 6 18H10.8V15.72H6C3.948 15.72 2.28 14.052 2.28 12ZM7.2 13.2H16.8V10.8H7.2V13.2ZM18 6H13.2V8.28H18C20.052 8.28 21.72 9.948 21.72 12C21.72 14.052 20.052 15.72 18 15.72H13.2V18H18C21.312 18 24 15.312 24 12C24 8.688 21.312 6 18 6Z",fill:"currentColor"})});i();import{jsx as VT}from"react/jsx-runtime";var NT=e=>VT("svg",{...e,children:VT("path",{d:"M3.425 20C3.30833 20 3.20833 19.9583 3.125 19.875C3.04167 19.7917 3 19.6917 3 19.575C3 19.4583 3.04167 19.3583 3.125 19.275C3.20833 19.1917 3.30833 19.15 3.425 19.15H5.1V18.5H4.475C4.35833 18.5 4.25833 18.4583 4.175 18.375C4.09167 18.2917 4.05 18.1917 4.05 18.075C4.05 17.9583 4.09167 17.8583 4.175 17.775C4.25833 17.6917 4.35833 17.65 4.475 17.65H5.1V17H3.425C3.30833 17 3.20833 16.9583 3.125 16.875C3.04167 16.7917 3 16.6917 3 16.575C3 16.4583 3.04167 16.3583 3.125 16.275C3.20833 16.1917 3.30833 16.15 3.425 16.15H5.525C5.64167 16.15 5.74167 16.1917 5.825 16.275C5.90833 16.3583 5.95 16.4583 5.95 16.575V19.575C5.95 19.6917 5.90833 19.7917 5.825 19.875C5.74167 19.9583 5.64167 20 5.525 20H3.425ZM4.475 7.9C4.35833 7.9 4.25833 7.85833 4.175 7.775C4.09167 7.69167 4.05 7.59167 4.05 7.475V4.85H3.425C3.30833 4.85 3.20833 4.80833 3.125 4.725C3.04167 4.64167 3 4.54167 3 4.425C3 4.30833 3.04167 4.20833 3.125 4.125C3.20833 4.04167 3.30833 4 3.425 4H4.475C4.59167 4 4.69167 4.04167 4.775 4.125C4.85833 4.20833 4.9 4.30833 4.9 4.425V7.475C4.9 7.59167 4.85833 7.69167 4.775 7.775C4.69167 7.85833 4.59167 7.9 4.475 7.9V7.9ZM3.425 13.925C3.30833 13.925 3.20833 13.8833 3.125 13.8C3.04167 13.7167 3 13.6167 3 13.5V13.275C3 13.2583 3.03333 13.1667 3.1 13L4.875 10.925H3.425C3.30833 10.925 3.20833 10.8833 3.125 10.8C3.04167 10.7167 3 10.6167 3 10.5C3 10.3833 3.04167 10.2833 3.125 10.2C3.20833 10.1167 3.30833 10.075 3.425 10.075H5.525C5.64167 10.075 5.74167 10.1167 5.825 10.2C5.90833 10.2833 5.95 10.3833 5.95 10.5V10.725C5.95 10.7417 5.91667 10.8333 5.85 11L4.05 13.075H5.525C5.64167 13.075 5.74167 13.1167 5.825 13.2C5.90833 13.2833 5.95 13.3833 5.95 13.5C5.95 13.6167 5.90833 13.7167 5.825 13.8C5.74167 13.8833 5.64167 13.925 5.525 13.925H3.425ZM8.975 18.775C8.75833 18.775 8.57917 18.7042 8.4375 18.5625C8.29583 18.4208 8.225 18.2417 8.225 18.025C8.225 17.8083 8.29583 17.6292 8.4375 17.4875C8.57917 17.3458 8.75833 17.275 8.975 17.275H20.25C20.4667 17.275 20.6458 17.3458 20.7875 17.4875C20.9292 17.6292 21 17.8083 21 18.025C21 18.2417 20.9292 18.4208 20.7875 18.5625C20.6458 18.7042 20.4667 18.775 20.25 18.775H8.975ZM8.975 12.7C8.75833 12.7 8.57917 12.6292 8.4375 12.4875C8.29583 12.3458 8.225 12.1667 8.225 11.95C8.225 11.7333 8.29583 11.5542 8.4375 11.4125C8.57917 11.2708 8.75833 11.2 8.975 11.2H20.25C20.4667 11.2 20.6458 11.2708 20.7875 11.4125C20.9292 11.5542 21 11.7333 21 11.95C21 12.1667 20.9292 12.3458 20.7875 12.4875C20.6458 12.6292 20.4667 12.7 20.25 12.7H8.975ZM8.975 6.625C8.75833 6.625 8.57917 6.55417 8.4375 6.4125C8.29583 6.27083 8.225 6.09167 8.225 5.875C8.225 5.65833 8.29583 5.47917 8.4375 5.3375C8.57917 5.19583 8.75833 5.125 8.975 5.125H20.25C20.4667 5.125 20.6458 5.19583 20.7875 5.3375C20.9292 5.47917 21 5.65833 21 5.875C21 6.09167 20.9292 6.27083 20.7875 6.4125C20.6458 6.55417 20.4667 6.625 20.25 6.625H8.975Z",fill:"currentColor"})});i();import{jsx as LT}from"react/jsx-runtime";var $T=e=>LT("svg",{...e,children:LT("path",{d:"M2 13.75V12.25H22V13.75H2ZM10.75 10.75V6.5H5V4H19V6.5H13.25V10.75H10.75ZM10.75 20V15.25H13.25V20H10.75Z",fill:"currentColor"})});i();import{jsx as zT}from"react/jsx-runtime";var GT=e=>zT("svg",{...e,children:zT("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 yte}from"react/jsx-runtime";var Rd={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},tr=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(le(n))throw new Error("An Icon component requires a `type` prop to be provided");if(le(Cg[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(le(Rd[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=xg[Cg[n]],s={verticalAlign:"middle",...r};return yte(a,{"aria-hidden":"true",color:e,height:`${Rd[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${Rd[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};tr.displayName="Icon_VHS";import{jsx as Ke,jsxs as Ste}from"react/jsx-runtime";var Cte=bte.div`
1896
1896
  background: white;
1897
1897
  border-bottom: 1px solid ${({theme:e})=>e.color.grey400};
1898
1898
  display: flex;
@@ -1906,26 +1906,26 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1906
1906
  * did not add to theme because it doesn't interact with any other components
1907
1907
  */
1908
1908
  z-index: 1;
1909
- `,Ur=({format:e="",icon:t,disabled:r=!1,onCustomClick:n,buttonType:o="block"})=>{let a=wd(),s=Oe("brandBlue500"),l=o==="block"?Pd(a,e):Ad(a,e);return Ke(Oo,{"aria-pressed":l,colorOverride:l?s:void 0,disabled:r,icon:t,label:e,onClick:p=>{p.preventDefault(),o==="block"?zo(a,e):Yn(a,e),n&&n(p)},preventTooltip:!0})},xte=e=>{if(!e.selection)return"";let t=U.fragment(e,e.selection);return t[0]?U.string(t[0]):""},wte=e=>xte(e).trim()==="",HP=({enabledFormats:e=["BOLD","ITALIC","HEADING_1","LINK","BULLETED_LIST","IMAGE"],disabled:t=!1})=>{let r=wd();return Ste(Cte,{children:[e.includes(bt.BOLD)&&Ke(Ur,{buttonType:"mark",disabled:t,format:"bold",icon:Ke(tr,{type:"bold"})}),e.includes(bt.ITALIC)&&Ke(Ur,{buttonType:"mark",disabled:t,format:"italic",icon:Ke(tr,{type:"italic"})}),e.includes(bt.HEADING_1)&&Ke(Ur,{buttonType:"block",disabled:t,format:"heading-one",icon:Ke(tr,{type:"heading"})}),e.includes(bt.HEADING_2)&&Ke(Ur,{buttonType:"block",disabled:t,format:"heading-two",icon:Ke(tr,{type:"heading-two"})}),e.includes(bt.BULLETED_LIST)&&Ke(Ur,{buttonType:"block",disabled:t,format:"bulleted-list",icon:Ke(tr,{type:"bulleted-list"})}),e.includes(bt.NUMBERED_LIST)&&Ke(Ur,{buttonType:"block",disabled:t,format:"numbered-list",icon:Ke(tr,{type:"numbered-list"})}),e.includes(bt.BLOCKQUOTE)&&Ke(Ur,{buttonType:"block",disabled:t,format:"blockquote",icon:Ke(tr,{type:"block-quote"})}),e.includes(bt.UNDERLINE)&&Ke(Ur,{buttonType:"mark",disabled:t,format:"underline",icon:Ke(tr,{type:"underline"})}),e.includes(bt.STRIKETHROUGH)&&Ke(Ur,{buttonType:"mark",disabled:t,format:"strikethrough",icon:Ke(tr,{type:"strikethrough"})}),e.includes(bt.LINK)&&Ke(Ur,{buttonType:"mark",disabled:t||wte(r),format:"link",icon:Ke(tr,{type:"link"}),onCustomClick:n=>{n.preventDefault(),yg(r)}}),e.includes(bt.IMAGE)&&Ke(Ur,{buttonType:"block",disabled:t,format:"image",icon:Ke(tr,{type:"image"}),onCustomClick:n=>{n.preventDefault();let o=prompt("Enter the URL of the image:");ve(o)&&mg(r,o)}})]})};import{jsx as vu,jsxs as Fte}from"react/jsx-runtime";var Tte=_P(GT)`
1909
+ `,Ur=({format:e="",icon:t,disabled:r=!1,onCustomClick:n,buttonType:o="block"})=>{let a=wd(),s=Oe("brandBlue500"),l=o==="block"?Td(a,e):Ad(a,e);return Ke(Oo,{"aria-pressed":l,colorOverride:l?s:void 0,disabled:r,icon:t,label:e,onClick:p=>{p.preventDefault(),o==="block"?zo(a,e):Yn(a,e),n&&n(p)},preventTooltip:!0})},xte=e=>{if(!e.selection)return"";let t=U.fragment(e,e.selection);return t[0]?U.string(t[0]):""},wte=e=>xte(e).trim()==="",HT=({enabledFormats:e=["BOLD","ITALIC","HEADING_1","LINK","BULLETED_LIST","IMAGE"],disabled:t=!1})=>{let r=wd();return Ste(Cte,{children:[e.includes(bt.BOLD)&&Ke(Ur,{buttonType:"mark",disabled:t,format:"bold",icon:Ke(tr,{type:"bold"})}),e.includes(bt.ITALIC)&&Ke(Ur,{buttonType:"mark",disabled:t,format:"italic",icon:Ke(tr,{type:"italic"})}),e.includes(bt.HEADING_1)&&Ke(Ur,{buttonType:"block",disabled:t,format:"heading-one",icon:Ke(tr,{type:"heading"})}),e.includes(bt.HEADING_2)&&Ke(Ur,{buttonType:"block",disabled:t,format:"heading-two",icon:Ke(tr,{type:"heading-two"})}),e.includes(bt.BULLETED_LIST)&&Ke(Ur,{buttonType:"block",disabled:t,format:"bulleted-list",icon:Ke(tr,{type:"bulleted-list"})}),e.includes(bt.NUMBERED_LIST)&&Ke(Ur,{buttonType:"block",disabled:t,format:"numbered-list",icon:Ke(tr,{type:"numbered-list"})}),e.includes(bt.BLOCKQUOTE)&&Ke(Ur,{buttonType:"block",disabled:t,format:"blockquote",icon:Ke(tr,{type:"block-quote"})}),e.includes(bt.UNDERLINE)&&Ke(Ur,{buttonType:"mark",disabled:t,format:"underline",icon:Ke(tr,{type:"underline"})}),e.includes(bt.STRIKETHROUGH)&&Ke(Ur,{buttonType:"mark",disabled:t,format:"strikethrough",icon:Ke(tr,{type:"strikethrough"})}),e.includes(bt.LINK)&&Ke(Ur,{buttonType:"mark",disabled:t||wte(r),format:"link",icon:Ke(tr,{type:"link"}),onCustomClick:n=>{n.preventDefault(),yg(r)}}),e.includes(bt.IMAGE)&&Ke(Ur,{buttonType:"block",disabled:t,format:"image",icon:Ke(tr,{type:"image"}),onCustomClick:n=>{n.preventDefault();let o=prompt("Enter the URL of the image:");ve(o)&&mg(r,o)}})]})};import{jsx as vu,jsxs as Fte}from"react/jsx-runtime";var Pte=_T(GP)`
1910
1910
  color: ${({theme:e})=>e.color.grey900};
1911
1911
  outline: none; /* prevent blue accessibility outline from appearing on focus */
1912
- `,Pte="300px",Ate=_P.div`
1912
+ `,Tte="300px",Ate=_T.div`
1913
1913
  background: white;
1914
1914
  border: 1px solid ${({theme:e})=>e.color.grey400};
1915
1915
  border-radius: 4px;
1916
1916
  cursor: ${({disabled:e})=>e?"not-allowed":"auto"};
1917
1917
  font-size: 14px;
1918
1918
  font-weight: ${({theme:e})=>e.font.weight.medium};
1919
- height: ${({height:e})=>e??Pte};
1919
+ height: ${({height:e})=>e??Tte};
1920
1920
  overflow: auto;
1921
1921
  padding: 0 ${({theme:e})=>e.spacing.space04};
1922
1922
 
1923
1923
  strong {
1924
1924
  font-weight: ${({theme:e})=>e.font.weight.bold};
1925
1925
  }
1926
- `,jP={"mod+b":"bold","mod+i":"italic","mod+u":"underline"},Rte={text:""},WP=[{type:"paragraph",children:[Rte]}],Fd=({enabledFormats:e=Object.values(bt),value:t=WP,onChange:r,onBlur:n,placeholder:o="Enter some rich text...",disabled:a=!1,ariaLabelledBy:s,useExternalValue:l,"data-testid":u="vhs-rich-text-editor",height:c,...p})=>{let d=wg(y=>vu(mP,{...y}),[]),h=wg(y=>vu(cP,{...y}),[]),g=Dte(()=>hg(vg(UT(_T(od())))),[]),v=y=>{if(le(y)||le(y[0])||le(y[0].children))return!1;let{text:x}=y[0].children[0];return ve(x)};Ete(()=>{let y=(0,KP.default)(t,WP),x=ms(t),w=ms(g.children);(y||v(t)&&l&&x!==w)&&(g.children=t,g.selection=null,g.onChange())},[t,g,l]);let m=y=>{let x=g.children;F(n)&&n(x)},b=wg(()=>{let{selection:y}=g;if(le(y)||le(y.anchor.path[0]))return;let x=g.children[y.anchor.path[0]];if(K.isElement(x)&&x.type==="image"){zo(g,"image"),L.removeNodes(g,{at:y}),L.move(g,{reverse:!0});let w=g.children.filter(D=>D.type==="span")[0];K.isElement(w)&&w.type==="span"&&F(w.children)&&F(w.children[0])&&F(w.children[0].text)&&w.children[0].text.trim()!==""&&L.setNodes(g,{type:"paragraph"},{match:D=>D.type==="span"&&F(D.children)&&J.isText(D.children[0])&&F(D.children[0].text)&&D.children[0].text.trim()!=="",split:!0,mode:"highest"})}},[g]);return vu(Ate,{"data-testid":u,disabled:a,height:c,onClick:()=>$.focus(g),children:Fte(WT,{editor:g,initialValue:t,onChange:r,...p,children:[vu(HP,{disabled:a,enabledFormats:e}),vu(Tte,{"aria-labelledby":s,autoFocus:!1,"data-testid":"editor-content",onBlur:m,onKeyDown:y=>{Object.keys(jP).forEach(x=>{(0,UP.default)(x,y)&&(y.preventDefault(),Yn(g,jP[x]))}),y.key==="Enter"&&!y.shiftKey&&bg(g),(y.key==="Backspace"||y.key==="Clear"||y.key==="Delete")&&b()},placeholder:o,readOnly:a,renderElement:d,renderLeaf:h,spellCheck:!0})]})})};Fd.displayName="RichTextEditor_VHS";import{jsx as Sg}from"react/jsx-runtime";var Ite=Mte.div`
1926
+ `,jT={"mod+b":"bold","mod+i":"italic","mod+u":"underline"},Rte={text:""},WT=[{type:"paragraph",children:[Rte]}],Fd=({enabledFormats:e=Object.values(bt),value:t=WT,onChange:r,onBlur:n,placeholder:o="Enter some rich text...",disabled:a=!1,ariaLabelledBy:s,useExternalValue:l,"data-testid":u="vhs-rich-text-editor",height:c,...p})=>{let d=wg(y=>vu(mT,{...y}),[]),h=wg(y=>vu(cT,{...y}),[]),g=Dte(()=>hg(vg(UP(_P(od())))),[]),v=y=>{if(le(y)||le(y[0])||le(y[0].children))return!1;let{text:x}=y[0].children[0];return ve(x)};Ete(()=>{let y=(0,KT.default)(t,WT),x=ms(t),w=ms(g.children);(y||v(t)&&l&&x!==w)&&(g.children=t,g.selection=null,g.onChange())},[t,g,l]);let m=y=>{let x=g.children;F(n)&&n(x)},b=wg(()=>{let{selection:y}=g;if(le(y)||le(y.anchor.path[0]))return;let x=g.children[y.anchor.path[0]];if(K.isElement(x)&&x.type==="image"){zo(g,"image"),L.removeNodes(g,{at:y}),L.move(g,{reverse:!0});let w=g.children.filter(D=>D.type==="span")[0];K.isElement(w)&&w.type==="span"&&F(w.children)&&F(w.children[0])&&F(w.children[0].text)&&w.children[0].text.trim()!==""&&L.setNodes(g,{type:"paragraph"},{match:D=>D.type==="span"&&F(D.children)&&J.isText(D.children[0])&&F(D.children[0].text)&&D.children[0].text.trim()!=="",split:!0,mode:"highest"})}},[g]);return vu(Ate,{"data-testid":u,disabled:a,height:c,onClick:()=>$.focus(g),children:Fte(WP,{editor:g,initialValue:t,onChange:r,...p,children:[vu(HT,{disabled:a,enabledFormats:e}),vu(Pte,{"aria-labelledby":s,autoFocus:!1,"data-testid":"editor-content",onBlur:m,onKeyDown:y=>{Object.keys(jT).forEach(x=>{(0,UT.default)(x,y)&&(y.preventDefault(),Yn(g,jT[x]))}),y.key==="Enter"&&!y.shiftKey&&bg(g),(y.key==="Backspace"||y.key==="Clear"||y.key==="Delete")&&b()},placeholder:o,readOnly:a,renderElement:d,renderLeaf:h,spellCheck:!0})]})})};Fd.displayName="RichTextEditor_VHS";import{jsx as Sg}from"react/jsx-runtime";var Ite=Mte.div`
1927
1927
  margin-top: ${({theme:e})=>e.spacing.space02};
1928
- `,Bd=({field:{name:e,value:t,onChange:r},form:{errors:n},label:o,labelDescription:a,labelProps:s={},placeholder:l="",disabled:u=!1,enabledFormats:c=Object.values(bt),useExternalValue:p=!1,height:d=void 0,...h})=>{let[g,v]=Bte(Td($t(t))),m=ee(o)?`${e}-label-id`:void 0;return Ote(()=>{p&&v(Td($t(t)))},[p,t]),Sg(Zt,{disabled:u,error:n[e],label:o,labelDescription:a,labelId:m,labelProps:s,name:e,children:Sg(Ite,{"data-testid":`richTextEditor-${e}`,children:Sg(Fd,{ariaLabelledBy:m,disabled:u,enabledFormats:c,height:d,onChange:b=>{v(b);let y=ms(b)??"";r(e)(y)},placeholder:l,useExternalValue:p,value:g,...h})})})};Bd.displayName="FormConnectorRichTextEditor_VHS";import{jsx as qP}from"react/jsx-runtime";var Vte=XP.fieldset`
1928
+ `,Bd=({field:{name:e,value:t,onChange:r},form:{errors:n},label:o,labelDescription:a,labelProps:s={},placeholder:l="",disabled:u=!1,enabledFormats:c=Object.values(bt),useExternalValue:p=!1,height:d=void 0,...h})=>{let[g,v]=Bte(Pd($t(t))),m=ee(o)?`${e}-label-id`:void 0;return Ote(()=>{p&&v(Pd($t(t)))},[p,t]),Sg(Zt,{disabled:u,error:n[e],label:o,labelDescription:a,labelId:m,labelProps:s,name:e,children:Sg(Ite,{"data-testid":`richTextEditor-${e}`,children:Sg(Fd,{ariaLabelledBy:m,disabled:u,enabledFormats:c,height:d,onChange:b=>{v(b);let y=ms(b)??"";r(e)(y)},placeholder:l,useExternalValue:p,value:g,...h})})})};Bd.displayName="FormConnectorRichTextEditor_VHS";import{jsx as qT}from"react/jsx-runtime";var Vte=XT.fieldset`
1929
1929
  border: 0;
1930
1930
  flex-grow: 1;
1931
1931
  margin: ${({theme:e})=>`0 0 ${e.spacing.space05}`};
@@ -1937,9 +1937,9 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1937
1937
  pointer-events: none;
1938
1938
  }
1939
1939
  }
1940
- `,Nte=XP(Rw)`
1940
+ `,Nte=XT(Rw)`
1941
1941
  resize: ${({$resize:e})=>e};
1942
- `,Lte={FormConnectorCheckboxGroup:$p,FormConnectorCustomField:zp,FormConnectorInput:jp,FormConnectorRadioGroup:Up,FormConnectorSelect:Kp,FormConnectorHidden:qp,FormConnectorRichTextEditor:Bd},YP=kte(({resize:e="vertical",customComponent:t,direction:r="column",disabled:n=!1,label:o,labelDescription:a,labelProps:s={},name:l="",onChangeCustom:u,options:c,placeholder:p=null,type:d="text",...h},g)=>qP(Vte,{disabled:n,id:`fieldset-${l}`,children:qP(Nte,{$resize:e,component:Lte[ZS[d].component],customComponent:t,direction:r,disabled:n,id:`field-${l}`,innerRef:g,label:o,labelDescription:a,labelProps:s,name:l,onChangeCustom:u,options:c,placeholder:p,type:d,...h})}));YP.displayName="FormField_VHS";i();i();import $te from"styled-components";import{jsx as Dg,jsxs as Gte}from"react/jsx-runtime";var zte=$te(nt)`
1942
+ `,Lte={FormConnectorCheckboxGroup:$p,FormConnectorCustomField:zp,FormConnectorInput:jp,FormConnectorRadioGroup:Up,FormConnectorSelect:Kp,FormConnectorHidden:qp,FormConnectorRichTextEditor:Bd},YT=kte(({resize:e="vertical",customComponent:t,direction:r="column",disabled:n=!1,label:o,labelDescription:a,labelProps:s={},name:l="",onChangeCustom:u,options:c,placeholder:p=null,type:d="text",...h},g)=>qT(Vte,{disabled:n,id:`fieldset-${l}`,children:qT(Nte,{$resize:e,component:Lte[ZS[d].component],customComponent:t,direction:r,disabled:n,id:`field-${l}`,innerRef:g,label:o,labelDescription:a,labelProps:s,name:l,onChangeCustom:u,options:c,placeholder:p,type:d,...h})}));YT.displayName="FormField_VHS";i();i();import $te from"styled-components";import{jsx as Dg,jsxs as Gte}from"react/jsx-runtime";var zte=$te(nt)`
1943
1943
  color: ${({theme:e})=>e.color.grey700};
1944
1944
  height: 42px;
1945
1945
  position: fixed;
@@ -1950,14 +1950,14 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1950
1950
  &:hover {
1951
1951
  color: ${({theme:e})=>e.color.grey900};
1952
1952
  }
1953
- `,JP=({content:e,toggle:t,backgroundColor:r,initialShownState:n=!1,onBeforeHide:o,onHide:a})=>{let s=Oe("grey100");return Dg(Xa,{initialShownState:n,onBeforeHide:o,onHide:a,render:l=>Gte(sn,{backgroundColor:ve(r)?r:s,children:[Dg(zte,{noStyle:!0,onClick:l,title:"Close",children:Dg(Op,{})}),e(l)]}),toggle:t})};JP.displayName="FullScreenModal_VHS";i();i();import Hte from"styled-components";import{jsx as _te}from"react/jsx-runtime";var jte=e=>{if(e==="horizontal")return"width: 100%;";if(e==="vertical")return"height: 100%;";if(e===!0)return`
1953
+ `,JT=({content:e,toggle:t,backgroundColor:r,initialShownState:n=!1,onBeforeHide:o,onHide:a})=>{let s=Oe("grey100");return Dg(Xa,{initialShownState:n,onBeforeHide:o,onHide:a,render:l=>Gte(sn,{backgroundColor:ve(r)?r:s,children:[Dg(zte,{noStyle:!0,onClick:l,title:"Close",children:Dg(Op,{})}),e(l)]}),toggle:t})};JT.displayName="FullScreenModal_VHS";i();i();import Hte from"styled-components";import{jsx as _te}from"react/jsx-runtime";var jte=e=>{if(e==="horizontal")return"width: 100%;";if(e==="vertical")return"height: 100%;";if(e===!0)return`
1954
1954
  width: 100%;
1955
1955
  height: 100%;
1956
1956
  `},Wte=Hte.img`
1957
1957
  ${({$fillContainer:e})=>jte(e)};
1958
1958
  object-fit: ${({$objFit:e})=>e};
1959
1959
  object-position: ${({$objPosition:e})=>e};
1960
- `,ZP=({src:e,alt:t,fill:r=!1,fit:n,loading:o="lazy",position:a,...s})=>_te(Wte,{$fillContainer:r,$objFit:n,$objPosition:a,alt:t,loading:o,src:e,...s});ZP.displayName="Image_VHS";i();i();import Od from"styled-components";import{jsx as Eg,jsxs as Jte}from"react/jsx-runtime";var Ute=Od.div`
1960
+ `,ZT=({src:e,alt:t,fill:r=!1,fit:n,loading:o="lazy",position:a,...s})=>_te(Wte,{$fillContainer:r,$objFit:n,$objPosition:a,alt:t,loading:o,src:e,...s});ZT.displayName="Image_VHS";i();i();import Od from"styled-components";import{jsx as Eg,jsxs as Jte}from"react/jsx-runtime";var Ute=Od.div`
1961
1961
  align-items: center;
1962
1962
  display: flex;
1963
1963
  gap: ${({theme:e})=>e.spacing.space02};
@@ -1992,7 +1992,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
1992
1992
  `,Xte=Od.div`
1993
1993
  display: flex;
1994
1994
  gap: ${({theme:e})=>e.spacing.space01};
1995
- `,Yte=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()}},QP=({label:e,keyboardKeys:t,fullWidth:r=!1,componentStyle:n="dark",...o})=>{let a=Cn(t)?t:[t];return Jte(Ute,{$componentStyle:n,$fullWidth:r,...o,children:[F(e)&&Eg(qte,{$componentStyle:n,children:e}),Eg(Xte,{children:a.map((s,l)=>Eg(Kte,{$componentStyle:n,children:Yte(s)},l))})]})};QP.displayName="KeyboardShortcut_VHS";i();i();i();import{forwardRef as Zte}from"react";import Qte from"styled-components";import{jsx as rre}from"react/jsx-runtime";var ere=e=>e.key==="Enter"||e.key===" "||e.key==="Spacebar",tre=Qte.span`
1995
+ `,Yte=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()}},QT=({label:e,keyboardKeys:t,fullWidth:r=!1,componentStyle:n="dark",...o})=>{let a=Cn(t)?t:[t];return Jte(Ute,{$componentStyle:n,$fullWidth:r,...o,children:[F(e)&&Eg(qte,{$componentStyle:n,children:e}),Eg(Xte,{children:a.map((s,l)=>Eg(Kte,{$componentStyle:n,children:Yte(s)},l))})]})};QT.displayName="KeyboardShortcut_VHS";i();i();i();import{forwardRef as Zte}from"react";import Qte from"styled-components";import{jsx as rre}from"react/jsx-runtime";var ere=e=>e.key==="Enter"||e.key===" "||e.key==="Spacebar",tre=Qte.span`
1996
1996
  ${({$noStyle:e})=>e?void 0:Cp};
1997
1997
 
1998
1998
  &[tabindex] {
@@ -2077,12 +2077,12 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2077
2077
  li ol {
2078
2078
  margin-bottom: 0;
2079
2079
  }
2080
- `,tA=(e,t,{...r})=>nA(fre,{as:t==="ordered"?"ol":"ul",variant:t,...r,children:e}),rA=(e,t,r)=>{let n=0,o=e.map((a,s)=>{let l=a,u=e[s+1],c=`item-${n+=1}`;return Array.isArray(u)?pre(ki,{children:[l,rA(u,t,r)]},c):Array.isArray(l)?null:nA(ki,{children:l},c)});return tA(o,t,r)},Id=({children:e,items:t,variant:r,...n})=>{let o=r??"bullets";return F(e)?Array.isArray(e)&&!e.length?null:tA(e,o,n):F(t)&&t.length?rA(t,o,n):null};Id.displayName="List_VHS";i();i();import Tg from"styled-components";import{jsx as oA,jsxs as gre}from"react/jsx-runtime";var dre=e=>{if(e==="bottom")return"flex-end";if(e==="middle")return"center";if(e==="top")return"flex-start"},iA=Tg.div`
2080
+ `,tA=(e,t,{...r})=>nA(fre,{as:t==="ordered"?"ol":"ul",variant:t,...r,children:e}),rA=(e,t,r)=>{let n=0,o=e.map((a,s)=>{let l=a,u=e[s+1],c=`item-${n+=1}`;return Array.isArray(u)?pre(ki,{children:[l,rA(u,t,r)]},c):Array.isArray(l)?null:nA(ki,{children:l},c)});return tA(o,t,r)},Id=({children:e,items:t,variant:r,...n})=>{let o=r??"bullets";return F(e)?Array.isArray(e)&&!e.length?null:tA(e,o,n):F(t)&&t.length?rA(t,o,n):null};Id.displayName="List_VHS";i();i();import Pg from"styled-components";import{jsx as oA,jsxs as gre}from"react/jsx-runtime";var dre=e=>{if(e==="bottom")return"flex-end";if(e==="middle")return"center";if(e==="top")return"flex-start"},iA=Pg.div`
2081
2081
  align-items: flex-start;
2082
2082
  display: flex;
2083
2083
  flex-direction: row;
2084
2084
  position: relative;
2085
- `,mre=Tg.div`
2085
+ `,mre=Pg.div`
2086
2086
  align-self: ${({$align:e})=>e==="middle"?"center":null};
2087
2087
  flex-grow: 1;
2088
2088
  flex-shrink: 1;
@@ -2092,7 +2092,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2092
2092
  > ${iA} {
2093
2093
  margin-top: 1rem;
2094
2094
  }
2095
- `,hre=Tg.div`
2095
+ `,hre=Pg.div`
2096
2096
  align-self: ${({$align:e})=>dre(e)};
2097
2097
  flex-grow: 0;
2098
2098
  flex-shrink: 0;
@@ -2105,7 +2105,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2105
2105
  which in turn throws off perfect centering */
2106
2106
  vertical-align: bottom;
2107
2107
  }
2108
- `,aA=({placement:e="left",align:t="top",gap:r="1.5rem",item:n,children:o,...a})=>gre(iA,{...a,children:[F(n)?oA(hre,{$align:t,$gap:r,$placement:e,children:n}):null,oA(mre,{$align:t,children:o})]});aA.displayName="MediaObject_VHS";i();i();import*as pt from"react";i();var elt=!!(typeof window<"u"&&window.document&&window.document.createElement);function be(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}i();import*as lA from"react";function sA(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Vi(...e){return t=>{let r=!1,n=e.map(o=>{let a=sA(o,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let o=0;o<n.length;o++){let a=n[o];typeof a=="function"?a():sA(e[o],null)}}}}function et(...e){return lA.useCallback(Vi(...e),e)}i();import*as Jn from"react";import{jsx as vre}from"react/jsx-runtime";function mn(e,t=[]){let r=[];function n(a,s){let l=Jn.createContext(s),u=r.length;r=[...r,s];let c=d=>{let{scope:h,children:g,...v}=d,m=h?.[e]?.[u]||l,b=Jn.useMemo(()=>v,Object.values(v));return vre(m.Provider,{value:b,children:g})};c.displayName=a+"Provider";function p(d,h){let g=h?.[e]?.[u]||l,v=Jn.useContext(g);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[c,p]}let o=()=>{let a=r.map(s=>Jn.createContext(s));return function(l){let u=l?.[e]||a;return Jn.useMemo(()=>({[`__scope${e}`]:{...l,[e]:u}}),[l,u])}};return o.scopeName=e,[n,yre(o,...t)]}function yre(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){let s=n.reduce((l,{useScope:u,scopeName:c})=>{let d=u(a)[`__scope${c}`];return{...l,...d}},{});return Jn.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}i();import*as Rr from"react";i();import*as uA from"react";var rr=globalThis?.document?uA.useLayoutEffect:()=>{};import*as kd from"react";var bre=Rr[" useInsertionEffect ".trim().toString()]||rr;function bu({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,a,s]=Cre({defaultProp:t,onChange:r}),l=e!==void 0,u=l?e:o;{let p=Rr.useRef(e!==void 0);Rr.useEffect(()=>{let d=p.current;d!==l&&console.warn(`${n} is changing from ${d?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=l},[l,n])}let c=Rr.useCallback(p=>{if(l){let d=xre(p)?p(e):p;d!==e&&s.current?.(d)}else a(p)},[l,e,a,s]);return[u,c]}function Cre({defaultProp:e,onChange:t}){let[r,n]=Rr.useState(e),o=Rr.useRef(r),a=Rr.useRef(t);return bre(()=>{a.current=t},[t]),Rr.useEffect(()=>{o.current!==r&&(a.current?.(r),o.current=r)},[r,o]),[r,n,a]}function xre(e){return typeof e=="function"}var flt=Symbol("RADIX:SYNC_STATE");i();import*as fA from"react";import*as pA from"react-dom";i();import*as ft from"react";import{Fragment as glt,jsx as cA}from"react/jsx-runtime";function Ni(e){let t=wre(e),r=ft.forwardRef((n,o)=>{let{children:a,...s}=n,l=ft.Children.toArray(a),u=l.find(Dre);if(u){let c=u.props.children,p=l.map(d=>d===u?ft.Children.count(c)>1?ft.Children.only(null):ft.isValidElement(c)?c.props.children:null:d);return cA(t,{...s,ref:o,children:ft.isValidElement(c)?ft.cloneElement(c,void 0,p):null})}return cA(t,{...s,ref:o,children:a})});return r.displayName=`${e}.Slot`,r}function wre(e){let t=ft.forwardRef((r,n)=>{let{children:o,...a}=r;if(ft.isValidElement(o)){let s=Tre(o),l=Ere(a,o.props);return o.type!==ft.Fragment&&(l.ref=n?Vi(n,s):s),ft.cloneElement(o,l)}return ft.Children.count(o)>1?ft.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Sre=Symbol("radix.slottable");function Dre(e){return ft.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Sre}function Ere(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{let u=a(...l);return o(...l),u}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}function Tre(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}import{jsx as Pre}from"react/jsx-runtime";var Are=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],qe=Are.reduce((e,t)=>{let r=Ni(`Primitive.${t}`),n=fA.forwardRef((o,a)=>{let{asChild:s,...l}=o,u=s?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Pre(u,{...l,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Vd(e,t){e&&pA.flushSync(()=>e.dispatchEvent(t))}i();import*as ne from"react";i();import Li from"react";import{jsx as Pg}from"react/jsx-runtime";import Rlt from"react";import{jsx as Blt}from"react/jsx-runtime";function Nd(e){let t=e+"CollectionProvider",[r,n]=mn(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=m=>{let{scope:b,children:y}=m,x=Li.useRef(null),w=Li.useRef(new Map).current;return Pg(o,{scope:b,itemMap:w,collectionRef:x,children:y})};s.displayName=t;let l=e+"CollectionSlot",u=Ni(l),c=Li.forwardRef((m,b)=>{let{scope:y,children:x}=m,w=a(l,y),D=et(b,w.collectionRef);return Pg(u,{ref:D,children:x})});c.displayName=l;let p=e+"CollectionItemSlot",d="data-radix-collection-item",h=Ni(p),g=Li.forwardRef((m,b)=>{let{scope:y,children:x,...w}=m,D=Li.useRef(null),T=et(b,D),S=a(p,y);return Li.useEffect(()=>(S.itemMap.set(D,{ref:D,...w}),()=>void S.itemMap.delete(D))),Pg(h,{[d]:"",ref:T,children:x})});g.displayName=p;function v(m){let b=a(e+"CollectionConsumer",m);return Li.useCallback(()=>{let x=b.collectionRef.current;if(!x)return[];let w=Array.from(x.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((S,E)=>w.indexOf(S.ref.current)-w.indexOf(E.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:s,Slot:c,ItemSlot:g},v,n]}i();import*as Ld from"react";import{jsx as klt}from"react/jsx-runtime";var Rre=Ld.createContext(void 0);function $d(e){let t=Ld.useContext(Rre);return e||t||"ltr"}i();import*as Xe from"react";i();import*as gs from"react";function It(e){let t=gs.useRef(e);return gs.useEffect(()=>{t.current=e}),gs.useMemo(()=>(...r)=>t.current?.(...r),[])}i();import*as dA from"react";function mA(e,t=globalThis?.document){let r=It(e);dA.useEffect(()=>{let n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}import{jsx as vA}from"react/jsx-runtime";var Fre="DismissableLayer",Ag="dismissableLayer.update",Bre="dismissableLayer.pointerDownOutside",Ore="dismissableLayer.focusOutside",hA,yA=Xe.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Rg=Xe.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,c=Xe.useContext(yA),[p,d]=Xe.useState(null),h=p?.ownerDocument??globalThis?.document,[,g]=Xe.useState({}),v=et(t,E=>d(E)),m=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(b),x=p?m.indexOf(p):-1,w=c.layersWithOutsidePointerEventsDisabled.size>0,D=x>=y,T=kre(E=>{let R=E.target,B=[...c.branches].some(k=>k.contains(R));!D||B||(o?.(E),s?.(E),E.defaultPrevented||l?.())},h),S=Vre(E=>{let R=E.target;[...c.branches].some(k=>k.contains(R))||(a?.(E),s?.(E),E.defaultPrevented||l?.())},h);return mA(E=>{x===c.layers.size-1&&(n?.(E),!E.defaultPrevented&&l&&(E.preventDefault(),l()))},h),Xe.useEffect(()=>{if(p)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(hA=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(p)),c.layers.add(p),gA(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=hA)}},[p,h,r,c]),Xe.useEffect(()=>()=>{p&&(c.layers.delete(p),c.layersWithOutsidePointerEventsDisabled.delete(p),gA())},[p,c]),Xe.useEffect(()=>{let E=()=>g({});return document.addEventListener(Ag,E),()=>document.removeEventListener(Ag,E)},[]),vA(qe.div,{...u,ref:v,style:{pointerEvents:w?D?"auto":"none":void 0,...e.style},onFocusCapture:be(e.onFocusCapture,S.onFocusCapture),onBlurCapture:be(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:be(e.onPointerDownCapture,T.onPointerDownCapture)})});Rg.displayName=Fre;var Mre="DismissableLayerBranch",Ire=Xe.forwardRef((e,t)=>{let r=Xe.useContext(yA),n=Xe.useRef(null),o=et(t,n);return Xe.useEffect(()=>{let a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),vA(qe.div,{...e,ref:o})});Ire.displayName=Mre;function kre(e,t=globalThis?.document){let r=It(e),n=Xe.useRef(!1),o=Xe.useRef(()=>{});return Xe.useEffect(()=>{let a=l=>{if(l.target&&!n.current){let c=function(){bA(Bre,r,p,{discrete:!0})};var u=c;let p={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Vre(e,t=globalThis?.document){let r=It(e),n=Xe.useRef(!1);return Xe.useEffect(()=>{let o=a=>{a.target&&!n.current&&bA(Ore,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function gA(){let e=new CustomEvent(Ag);document.dispatchEvent(e)}function bA(e,t,r,{discrete:n}){let o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Vd(o,a):o.dispatchEvent(a)}i();import*as xA from"react";var Fg=0;function wA(){xA.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??CA()),document.body.insertAdjacentElement("beforeend",e[1]??CA()),Fg++,()=>{Fg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Fg--}},[])}function CA(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}i();import*as Fr from"react";import{jsx as Nre}from"react/jsx-runtime";var Bg="focusScope.autoFocusOnMount",Og="focusScope.autoFocusOnUnmount",SA={bubbles:!1,cancelable:!0},Lre="FocusScope",Mg=Fr.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[l,u]=Fr.useState(null),c=It(o),p=It(a),d=Fr.useRef(null),h=et(t,m=>u(m)),g=Fr.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Fr.useEffect(()=>{if(n){let x=function(S){if(g.paused||!l)return;let E=S.target;l.contains(E)?d.current=E:Go(d.current,{select:!0})},w=function(S){if(g.paused||!l)return;let E=S.relatedTarget;E!==null&&(l.contains(E)||Go(d.current,{select:!0}))},D=function(S){if(document.activeElement===document.body)for(let R of S)R.removedNodes.length>0&&Go(l)};var m=x,b=w,y=D;document.addEventListener("focusin",x),document.addEventListener("focusout",w);let T=new MutationObserver(D);return l&&T.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",w),T.disconnect()}}},[n,l,g.paused]),Fr.useEffect(()=>{if(l){EA.add(g);let m=document.activeElement;if(!l.contains(m)){let y=new CustomEvent(Bg,SA);l.addEventListener(Bg,c),l.dispatchEvent(y),y.defaultPrevented||($re(Wre(PA(l)),{select:!0}),document.activeElement===m&&Go(l))}return()=>{l.removeEventListener(Bg,c),setTimeout(()=>{let y=new CustomEvent(Og,SA);l.addEventListener(Og,p),l.dispatchEvent(y),y.defaultPrevented||Go(m??document.body,{select:!0}),l.removeEventListener(Og,p),EA.remove(g)},0)}}},[l,c,p,g]);let v=Fr.useCallback(m=>{if(!r&&!n||g.paused)return;let b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(b&&y){let x=m.currentTarget,[w,D]=zre(x);w&&D?!m.shiftKey&&y===D?(m.preventDefault(),r&&Go(w,{select:!0})):m.shiftKey&&y===w&&(m.preventDefault(),r&&Go(D,{select:!0})):y===x&&m.preventDefault()}},[r,n,g.paused]);return Nre(qe.div,{tabIndex:-1,...s,ref:h,onKeyDown:v})});Mg.displayName=Lre;function $re(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(Go(n,{select:t}),document.activeElement!==r)return}function zre(e){let t=PA(e),r=DA(t,e),n=DA(t.reverse(),e);return[r,n]}function PA(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 DA(e,t){for(let r of e)if(!Gre(r,{upTo:t}))return r}function Gre(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 Hre(e){return e instanceof HTMLInputElement&&"select"in e}function Go(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Hre(e)&&t&&e.select()}}var EA=jre();function jre(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),e=TA(e,t),e.unshift(t)},remove(t){e=TA(e,t),e[0]?.resume()}}}function TA(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Wre(e){return e.filter(t=>t.tagName!=="A")}i();import*as Ig from"react";var _re=Ig[" useId ".trim().toString()]||(()=>{}),Ure=0;function Ho(e){let[t,r]=Ig.useState(_re());return rr(()=>{e||r(n=>n??String(Ure++))},[e]),e||(t?`radix-${t}`:"")}i();import*as or from"react";i();i();i();i();var AA=["top","right","bottom","left"];var hn=Math.min,jt=Math.max,xu=Math.round,wu=Math.floor,Kr=e=>({x:e,y:e}),Kre={left:"right",right:"left",bottom:"top",top:"bottom"},qre={start:"end",end:"start"};function Gd(e,t,r){return jt(e,hn(t,r))}function gn(e,t){return typeof e=="function"?e(t):e}function vn(e){return e.split("-")[0]}function $i(e){return e.split("-")[1]}function Hd(e){return e==="x"?"y":"x"}function jd(e){return e==="y"?"height":"width"}function Zn(e){return["top","bottom"].includes(vn(e))?"y":"x"}function Wd(e){return Hd(Zn(e))}function RA(e,t,r){r===void 0&&(r=!1);let n=$i(e),o=Wd(e),a=jd(o),s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Cu(s)),[s,Cu(s)]}function FA(e){let t=Cu(e);return[zd(e),t,zd(t)]}function zd(e){return e.replace(/start|end/g,t=>qre[t])}function Xre(e,t,r){let n=["left","right"],o=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:s;default:return[]}}function BA(e,t,r,n){let o=$i(e),a=Xre(vn(e),r==="start",n);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(zd)))),a}function Cu(e){return e.replace(/left|right|bottom|top/g,t=>Kre[t])}function Yre(e){return{top:0,right:0,bottom:0,left:0,...e}}function kg(e){return typeof e!="number"?Yre(e):{top:e,right:e,bottom:e,left:e}}function zi(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 OA(e,t,r){let{reference:n,floating:o}=e,a=Zn(t),s=Wd(t),l=jd(s),u=vn(t),c=a==="y",p=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,h=n[l]/2-o[l]/2,g;switch(u){case"top":g={x:p,y:n.y-o.height};break;case"bottom":g={x:p,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:d};break;case"left":g={x:n.x-o.width,y:d};break;default:g={x:n.x,y:n.y}}switch($i(t)){case"start":g[s]-=h*(r&&c?-1:1);break;case"end":g[s]+=h*(r&&c?-1:1);break}return g}var kA=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:d}=OA(c,n,u),h=n,g={},v=0;for(let m=0;m<l.length;m++){let{name:b,fn:y}=l[m],{x,y:w,data:D,reset:T}=await y({x:p,y:d,initialPlacement:n,placement:h,strategy:o,middlewareData:g,rects:c,platform:s,elements:{reference:e,floating:t}});p=x??p,d=w??d,g={...g,[b]:{...g[b],...D}},T&&v<=50&&(v++,typeof T=="object"&&(T.placement&&(h=T.placement),T.rects&&(c=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:p,y:d}=OA(c,h,u)),m=-1)}return{x:p,y:d,placement:h,strategy:o,middlewareData:g}};async function vs(e,t){var r;t===void 0&&(t={});let{x:n,y:o,platform:a,rects:s,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:d="floating",altBoundary:h=!1,padding:g=0}=gn(t,e),v=kg(g),b=l[h?d==="floating"?"reference":"floating":d],y=zi(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(b)))==null||r?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:u})),x=d==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),D=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},T=zi(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:w,strategy:u}):x);return{top:(y.top-T.top+v.top)/D.y,bottom:(T.bottom-y.bottom+v.bottom)/D.y,left:(y.left-T.left+v.left)/D.x,right:(T.right-y.right+v.right)/D.x}}var VA=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:a,platform:s,elements:l,middlewareData:u}=t,{element:c,padding:p=0}=gn(e,t)||{};if(c==null)return{};let d=kg(p),h={x:r,y:n},g=Wd(o),v=jd(g),m=await s.getDimensions(c),b=g==="y",y=b?"top":"left",x=b?"bottom":"right",w=b?"clientHeight":"clientWidth",D=a.reference[v]+a.reference[g]-h[g]-a.floating[v],T=h[g]-a.reference[g],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c)),E=S?S[w]:0;(!E||!await(s.isElement==null?void 0:s.isElement(S)))&&(E=l.floating[w]||a.floating[v]);let R=D/2-T/2,B=E/2-m[v]/2-1,k=hn(d[y],B),j=hn(d[x],B),I=k,V=E-m[v]-j,N=E/2-m[v]/2+R,H=Gd(I,N,V),Z=!u.arrow&&$i(o)!=null&&N!==H&&a.reference[v]/2-(N<I?k:j)-m[v]/2<0,Q=Z?N<I?N-I:N-V:0;return{[g]:h[g]+Q,data:{[g]:H,centerOffset:N-H-Q,...Z&&{alignmentOffset:Q}},reset:Z}}});var NA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;let{placement:o,middlewareData:a,rects:s,initialPlacement:l,platform:u,elements:c}=t,{mainAxis:p=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...b}=gn(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let y=vn(o),x=Zn(l),w=vn(l)===l,D=await(u.isRTL==null?void 0:u.isRTL(c.floating)),T=h||(w||!m?[Cu(l)]:FA(l)),S=v!=="none";!h&&S&&T.push(...BA(l,m,v,D));let E=[l,...T],R=await vs(t,b),B=[],k=((n=a.flip)==null?void 0:n.overflows)||[];if(p&&B.push(R[y]),d){let N=RA(o,s,D);B.push(R[N[0]],R[N[1]])}if(k=[...k,{placement:o,overflows:B}],!B.every(N=>N<=0)){var j,I;let N=(((j=a.flip)==null?void 0:j.index)||0)+1,H=E[N];if(H)return{data:{index:N,overflows:k},reset:{placement:H}};let Z=(I=k.filter(Q=>Q.overflows[0]<=0).sort((Q,X)=>Q.overflows[1]-X.overflows[1])[0])==null?void 0:I.placement;if(!Z)switch(g){case"bestFit":{var V;let Q=(V=k.filter(X=>{if(S){let G=Zn(X.placement);return G===x||G==="y"}return!0}).map(X=>[X.placement,X.overflows.filter(G=>G>0).reduce((G,re)=>G+re,0)]).sort((X,G)=>X[1]-G[1])[0])==null?void 0:V[0];Q&&(Z=Q);break}case"initialPlacement":Z=l;break}if(o!==Z)return{reset:{placement:Z}}}return{}}}};function MA(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function IA(e){return AA.some(t=>e[t]>=0)}var LA=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...o}=gn(e,t);switch(n){case"referenceHidden":{let a=await vs(t,{...o,elementContext:"reference"}),s=MA(a,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:IA(s)}}}case"escaped":{let a=await vs(t,{...o,altBoundary:!0}),s=MA(a,r.floating);return{data:{escapedOffsets:s,escaped:IA(s)}}}default:return{}}}}};async function Jre(e,t){let{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=vn(r),l=$i(r),u=Zn(r)==="y",c=["left","top"].includes(s)?-1:1,p=a&&u?-1:1,d=gn(t,e),{mainAxis:h,crossAxis:g,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof v=="number"&&(g=l==="end"?v*-1:v),u?{x:g*p,y:h*c}:{x:h*c,y:g*p}}var $A=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:a,placement:s,middlewareData:l}=t,u=await Jre(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:a+u.y,data:{...u,placement:s}}}}},zA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:b=>{let{x:y,y:x}=b;return{x:y,y:x}}},...u}=gn(e,t),c={x:r,y:n},p=await vs(t,u),d=Zn(vn(o)),h=Hd(d),g=c[h],v=c[d];if(a){let b=h==="y"?"top":"left",y=h==="y"?"bottom":"right",x=g+p[b],w=g-p[y];g=Gd(x,g,w)}if(s){let b=d==="y"?"top":"left",y=d==="y"?"bottom":"right",x=v+p[b],w=v-p[y];v=Gd(x,v,w)}let m=l.fn({...t,[h]:g,[d]:v});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[h]:a,[d]:s}}}}}},GA=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:o,rects:a,middlewareData:s}=t,{offset:l=0,mainAxis:u=!0,crossAxis:c=!0}=gn(e,t),p={x:r,y:n},d=Zn(o),h=Hd(d),g=p[h],v=p[d],m=gn(l,t),b=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){let w=h==="y"?"height":"width",D=a.reference[h]-a.floating[w]+b.mainAxis,T=a.reference[h]+a.reference[w]-b.mainAxis;g<D?g=D:g>T&&(g=T)}if(c){var y,x;let w=h==="y"?"width":"height",D=["top","left"].includes(vn(o)),T=a.reference[d]-a.floating[w]+(D&&((y=s.offset)==null?void 0:y[d])||0)+(D?0:b.crossAxis),S=a.reference[d]+a.reference[w]+(D?0:((x=s.offset)==null?void 0:x[d])||0)-(D?b.crossAxis:0);v<T?v=T:v>S&&(v=S)}return{[h]:g,[d]:v}}}},HA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;let{placement:o,rects:a,platform:s,elements:l}=t,{apply:u=()=>{},...c}=gn(e,t),p=await vs(t,c),d=vn(o),h=$i(o),g=Zn(o)==="y",{width:v,height:m}=a.floating,b,y;d==="top"||d==="bottom"?(b=d,y=h===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(y=d,b=h==="end"?"top":"bottom");let x=m-p.top-p.bottom,w=v-p.left-p.right,D=hn(m-p[b],x),T=hn(v-p[y],w),S=!t.middlewareData.shift,E=D,R=T;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(R=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(E=x),S&&!h){let k=jt(p.left,0),j=jt(p.right,0),I=jt(p.top,0),V=jt(p.bottom,0);g?R=v-2*(k!==0||j!==0?k+j:jt(p.left,p.right)):E=m-2*(I!==0||V!==0?I+V:jt(p.top,p.bottom))}await u({...t,availableWidth:R,availableHeight:E});let B=await s.getDimensions(l.floating);return v!==B.width||m!==B.height?{reset:{rects:!0}}:{}}}};i();function _d(){return typeof window<"u"}function Hi(e){return WA(e)?(e.nodeName||"").toLowerCase():"#document"}function nr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qr(e){var t;return(t=(WA(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function WA(e){return _d()?e instanceof Node||e instanceof nr(e).Node:!1}function Br(e){return _d()?e instanceof Element||e instanceof nr(e).Element:!1}function Xr(e){return _d()?e instanceof HTMLElement||e instanceof nr(e).HTMLElement:!1}function jA(e){return!_d()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nr(e).ShadowRoot}function ys(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=Or(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function _A(e){return["table","td","th"].includes(Hi(e))}function Su(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ud(e){let t=Kd(),r=Br(e)?Or(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function UA(e){let t=Qn(e);for(;Xr(t)&&!ji(t);){if(Ud(t))return t;if(Su(t))return null;t=Qn(t)}return null}function Kd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ji(e){return["html","body","#document"].includes(Hi(e))}function Or(e){return nr(e).getComputedStyle(e)}function Du(e){return Br(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Qn(e){if(Hi(e)==="html")return e;let t=e.assignedSlot||e.parentNode||jA(e)&&e.host||qr(e);return jA(t)?t.host:t}function KA(e){let t=Qn(e);return ji(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xr(t)&&ys(t)?t:KA(t)}function Gi(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let o=KA(e),a=o===((n=e.ownerDocument)==null?void 0:n.body),s=nr(o);if(a){let l=qd(s);return t.concat(s,s.visualViewport||[],ys(o)?o:[],l&&r?Gi(l):[])}return t.concat(o,Gi(o,[],r))}function qd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function YA(e){let t=Or(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=Xr(e),a=o?e.offsetWidth:r,s=o?e.offsetHeight:n,l=xu(r)!==a||xu(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function Ng(e){return Br(e)?e:e.contextElement}function bs(e){let t=Ng(e);if(!Xr(t))return Kr(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:a}=YA(t),s=(a?xu(r.width):r.width)/n,l=(a?xu(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Zre=Kr(0);function JA(e){let t=nr(e);return!Kd()||!t.visualViewport?Zre:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qre(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==nr(e)?!1:t}function Wi(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let o=e.getBoundingClientRect(),a=Ng(e),s=Kr(1);t&&(n?Br(n)&&(s=bs(n)):s=bs(e));let l=Qre(a,r,n)?JA(a):Kr(0),u=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,p=o.width/s.x,d=o.height/s.y;if(a){let h=nr(a),g=n&&Br(n)?nr(n):n,v=h,m=qd(v);for(;m&&n&&g!==v;){let b=bs(m),y=m.getBoundingClientRect(),x=Or(m),w=y.left+(m.clientLeft+parseFloat(x.paddingLeft))*b.x,D=y.top+(m.clientTop+parseFloat(x.paddingTop))*b.y;u*=b.x,c*=b.y,p*=b.x,d*=b.y,u+=w,c+=D,v=nr(m),m=qd(v)}}return zi({width:p,height:d,x:u,y:c})}function Lg(e,t){let r=Du(e).scrollLeft;return t?t.left+r:Wi(qr(e)).left+r}function ZA(e,t,r){r===void 0&&(r=!1);let n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:Lg(e,n)),a=n.top+t.scrollTop;return{x:o,y:a}}function ene(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,a=o==="fixed",s=qr(n),l=t?Su(t.floating):!1;if(n===s||l&&a)return r;let u={scrollLeft:0,scrollTop:0},c=Kr(1),p=Kr(0),d=Xr(n);if((d||!d&&!a)&&((Hi(n)!=="body"||ys(s))&&(u=Du(n)),Xr(n))){let g=Wi(n);c=bs(n),p.x=g.x+n.clientLeft,p.y=g.y+n.clientTop}let h=s&&!d&&!a?ZA(s,u,!0):Kr(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+p.x+h.x,y:r.y*c.y-u.scrollTop*c.y+p.y+h.y}}function tne(e){return Array.from(e.getClientRects())}function rne(e){let t=qr(e),r=Du(e),n=e.ownerDocument.body,o=jt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=jt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Lg(e),l=-r.scrollTop;return Or(n).direction==="rtl"&&(s+=jt(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:s,y:l}}function nne(e,t){let r=nr(e),n=qr(e),o=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,u=0;if(o){a=o.width,s=o.height;let c=Kd();(!c||c&&t==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:a,height:s,x:l,y:u}}function one(e,t){let r=Wi(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=Xr(e)?bs(e):Kr(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,u=o*a.x,c=n*a.y;return{width:s,height:l,x:u,y:c}}function qA(e,t,r){let n;if(t==="viewport")n=nne(e,r);else if(t==="document")n=rne(qr(e));else if(Br(t))n=one(t,r);else{let o=JA(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return zi(n)}function QA(e,t){let r=Qn(e);return r===t||!Br(r)||ji(r)?!1:Or(r).position==="fixed"||QA(r,t)}function ine(e,t){let r=t.get(e);if(r)return r;let n=Gi(e,[],!1).filter(l=>Br(l)&&Hi(l)!=="body"),o=null,a=Or(e).position==="fixed",s=a?Qn(e):e;for(;Br(s)&&!ji(s);){let l=Or(s),u=Ud(s);!u&&l.position==="fixed"&&(o=null),(a?!u&&!o:!u&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ys(s)&&!u&&QA(e,s))?n=n.filter(p=>p!==s):o=l,s=Qn(s)}return t.set(e,n),n}function ane(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,s=[...r==="clippingAncestors"?Su(t)?[]:ine(t,this._c):[].concat(r),n],l=s[0],u=s.reduce((c,p)=>{let d=qA(t,p,o);return c.top=jt(d.top,c.top),c.right=hn(d.right,c.right),c.bottom=hn(d.bottom,c.bottom),c.left=jt(d.left,c.left),c},qA(t,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function sne(e){let{width:t,height:r}=YA(e);return{width:t,height:r}}function lne(e,t,r){let n=Xr(t),o=qr(t),a=r==="fixed",s=Wi(e,!0,a,t),l={scrollLeft:0,scrollTop:0},u=Kr(0);if(n||!n&&!a)if((Hi(t)!=="body"||ys(o))&&(l=Du(t)),n){let h=Wi(t,!0,a,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else o&&(u.x=Lg(o));let c=o&&!n&&!a?ZA(o,l):Kr(0),p=s.left+l.scrollLeft-u.x-c.x,d=s.top+l.scrollTop-u.y-c.y;return{x:p,y:d,width:s.width,height:s.height}}function Vg(e){return Or(e).position==="static"}function XA(e,t){if(!Xr(e)||Or(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return qr(e)===r&&(r=r.ownerDocument.body),r}function eR(e,t){let r=nr(e);if(Su(e))return r;if(!Xr(e)){let o=Qn(e);for(;o&&!ji(o);){if(Br(o)&&!Vg(o))return o;o=Qn(o)}return r}let n=XA(e,t);for(;n&&_A(n)&&Vg(n);)n=XA(n,t);return n&&ji(n)&&Vg(n)&&!Ud(n)?r:n||UA(e)||r}var une=async function(e){let t=this.getOffsetParent||eR,r=this.getDimensions,n=await r(e.floating);return{reference:lne(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function cne(e){return Or(e).direction==="rtl"}var tR={convertOffsetParentRelativeRectToViewportRelativeRect:ene,getDocumentElement:qr,getClippingRect:ane,getOffsetParent:eR,getElementRects:une,getClientRects:tne,getDimensions:sne,getScale:bs,isElement:Br,isRTL:cne};function rR(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fne(e,t){let r=null,n,o=qr(e);function a(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),a();let c=e.getBoundingClientRect(),{left:p,top:d,width:h,height:g}=c;if(l||t(),!h||!g)return;let v=wu(d),m=wu(o.clientWidth-(p+h)),b=wu(o.clientHeight-(d+g)),y=wu(p),w={rootMargin:-v+"px "+-m+"px "+-b+"px "+-y+"px",threshold:jt(0,hn(1,u))||1},D=!0;function T(S){let E=S[0].intersectionRatio;if(E!==u){if(!D)return s();E?s(!1,E):n=setTimeout(()=>{s(!1,1e-7)},1e3)}E===1&&!rR(c,e.getBoundingClientRect())&&s(),D=!1}try{r=new IntersectionObserver(T,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(T,w)}r.observe(e)}return s(!0),a}function $g(e,t,r,n){n===void 0&&(n={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,c=Ng(e),p=o||a?[...c?Gi(c):[],...Gi(t)]:[];p.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),a&&y.addEventListener("resize",r)});let d=c&&l?fne(c,r):null,h=-1,g=null;s&&(g=new ResizeObserver(y=>{let[x]=y;x&&x.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),r()}),c&&!u&&g.observe(c),g.observe(t));let v,m=u?Wi(e):null;u&&b();function b(){let y=Wi(e);m&&!rR(m,y)&&r(),m=y,v=requestAnimationFrame(b)}return r(),()=>{var y;p.forEach(x=>{o&&x.removeEventListener("scroll",r),a&&x.removeEventListener("resize",r)}),d?.(),(y=g)==null||y.disconnect(),g=null,u&&cancelAnimationFrame(v)}}var nR=$A;var oR=zA,iR=NA,aR=HA,sR=LA,zg=VA;var lR=GA,Gg=(e,t,r)=>{let n=new Map,o={platform:tR,...r},a={...o.platform,_c:n};return kA(e,t,{...o,platform:a})};import*as at from"react";import{useLayoutEffect as pne,useEffect as dne}from"react";import*as cR from"react-dom";var Xd=typeof document<"u"?pne:dne;function Yd(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(!Yd(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){let a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!Yd(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function fR(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function uR(e,t){let r=fR(e);return Math.round(t*r)/r}function Hg(e){let t=at.useRef(e);return Xd(()=>{t.current=e}),t}function pR(e){e===void 0&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[p,d]=at.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,g]=at.useState(n);Yd(h,n)||g(n);let[v,m]=at.useState(null),[b,y]=at.useState(null),x=at.useCallback(X=>{X!==S.current&&(S.current=X,m(X))},[]),w=at.useCallback(X=>{X!==E.current&&(E.current=X,y(X))},[]),D=a||v,T=s||b,S=at.useRef(null),E=at.useRef(null),R=at.useRef(p),B=u!=null,k=Hg(u),j=Hg(o),I=Hg(c),V=at.useCallback(()=>{if(!S.current||!E.current)return;let X={placement:t,strategy:r,middleware:h};j.current&&(X.platform=j.current),Gg(S.current,E.current,X).then(G=>{let re={...G,isPositioned:I.current!==!1};N.current&&!Yd(R.current,re)&&(R.current=re,cR.flushSync(()=>{d(re)}))})},[h,t,r,j,I]);Xd(()=>{c===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,d(X=>({...X,isPositioned:!1})))},[c]);let N=at.useRef(!1);Xd(()=>(N.current=!0,()=>{N.current=!1}),[]),Xd(()=>{if(D&&(S.current=D),T&&(E.current=T),D&&T){if(k.current)return k.current(D,T,V);V()}},[D,T,V,k,B]);let H=at.useMemo(()=>({reference:S,floating:E,setReference:x,setFloating:w}),[x,w]),Z=at.useMemo(()=>({reference:D,floating:T}),[D,T]),Q=at.useMemo(()=>{let X={position:r,left:0,top:0};if(!Z.floating)return X;let G=uR(Z.floating,p.x),re=uR(Z.floating,p.y);return l?{...X,transform:"translate("+G+"px, "+re+"px)",...fR(Z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:G,top:re}},[r,l,Z.floating,p.x,p.y]);return at.useMemo(()=>({...p,update:V,refs:H,elements:Z,floatingStyles:Q}),[p,V,H,Z,Q])}var mne=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?zg({element:n.current,padding:o}).fn(r):{}:n?zg({element:n,padding:o}).fn(r):{}}}},dR=(e,t)=>({...nR(e),options:[e,t]}),mR=(e,t)=>({...oR(e),options:[e,t]}),hR=(e,t)=>({...lR(e),options:[e,t]}),gR=(e,t)=>({...iR(e),options:[e,t]}),vR=(e,t)=>({...aR(e),options:[e,t]});var yR=(e,t)=>({...sR(e),options:[e,t]});var bR=(e,t)=>({...mne(e),options:[e,t]});i();import*as xR from"react";import{jsx as CR}from"react/jsx-runtime";var hne="Arrow",wR=xR.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...a}=e;return CR(qe.svg,{...a,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:CR("polygon",{points:"0,0 30,0 15,10"})})});wR.displayName=hne;var SR=wR;i();import*as DR from"react";function ER(e){let[t,r]=DR.useState(void 0);return rr(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;let a=o[0],s,l;if("borderBoxSize"in a){let u=a.borderBoxSize,c=Array.isArray(u)?u[0]:u;s=c.inlineSize,l=c.blockSize}else s=e.offsetWidth,l=e.offsetHeight;r({width:s,height:l})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}import{jsx as _i}from"react/jsx-runtime";var jg="Popper",[TR,Wg]=mn(jg),[vne,PR]=TR(jg),AR=e=>{let{__scopePopper:t,children:r}=e,[n,o]=or.useState(null);return _i(vne,{scope:t,anchor:n,onAnchorChange:o,children:r})};AR.displayName=jg;var RR="PopperAnchor",FR=or.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,a=PR(RR,r),s=or.useRef(null),l=et(t,s),u=or.useRef(null);return or.useEffect(()=>{let c=u.current;u.current=n?.current||s.current,c!==u.current&&a.onAnchorChange(u.current)}),n?null:_i(qe.div,{...o,ref:l})});FR.displayName=RR;var _g="PopperContent",[yne,bne]=TR(_g),BR=or.forwardRef((e,t)=>{let{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:a="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:u=!0,collisionBoundary:c=[],collisionPadding:p=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:g="optimized",onPlaced:v,...m}=e,b=PR(_g,r),[y,x]=or.useState(null),w=et(t,W=>x(W)),[D,T]=or.useState(null),S=ER(D),E=S?.width??0,R=S?.height??0,B=n+(a!=="center"?"-"+a:""),k=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},j=Array.isArray(c)?c:[c],I=j.length>0,V={padding:k,boundary:j.filter(xne),altBoundary:I},{refs:N,floatingStyles:H,placement:Z,isPositioned:Q,middlewareData:X}=pR({strategy:"fixed",placement:B,whileElementsMounted:(...W)=>$g(...W,{animationFrame:g==="always"}),elements:{reference:b.anchor},middleware:[dR({mainAxis:o+R,alignmentAxis:s}),u&&mR({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?hR():void 0,...V}),u&&gR({...V}),vR({...V,apply:({elements:W,rects:se,availableWidth:oe,availableHeight:me})=>{let{width:xe,height:De}=se.reference,Te=W.floating.style;Te.setProperty("--radix-popper-available-width",`${oe}px`),Te.setProperty("--radix-popper-available-height",`${me}px`),Te.setProperty("--radix-popper-anchor-width",`${xe}px`),Te.setProperty("--radix-popper-anchor-height",`${De}px`)}}),D&&bR({element:D,padding:l}),wne({arrowWidth:E,arrowHeight:R}),h&&yR({strategy:"referenceHidden",...V})]}),[G,re]=IR(Z),de=It(v);rr(()=>{Q&&de?.()},[Q,de]);let pe=X.arrow?.x,je=X.arrow?.y,A=X.arrow?.centerOffset!==0,[_,z]=or.useState();return rr(()=>{y&&z(window.getComputedStyle(y).zIndex)},[y]),_i("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:Q?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:_,"--radix-popper-transform-origin":[X.transformOrigin?.x,X.transformOrigin?.y].join(" "),...X.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:_i(yne,{scope:r,placedSide:G,onArrowChange:T,arrowX:pe,arrowY:je,shouldHideArrow:A,children:_i(qe.div,{"data-side":G,"data-align":re,...m,ref:w,style:{...m.style,animation:Q?void 0:"none"}})})})});BR.displayName=_g;var OR="PopperArrow",Cne={top:"bottom",right:"left",bottom:"top",left:"right"},MR=or.forwardRef(function(t,r){let{__scopePopper:n,...o}=t,a=bne(OR,n),s=Cne[a.placedSide];return _i("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:_i(SR,{...o,ref:r,style:{...o.style,display:"block"}})})});MR.displayName=OR;function xne(e){return e!==null}var wne=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,s=o.arrow?.centerOffset!==0,l=s?0:e.arrowWidth,u=s?0:e.arrowHeight,[c,p]=IR(r),d={start:"0%",center:"50%",end:"100%"}[p],h=(o.arrow?.x??0)+l/2,g=(o.arrow?.y??0)+u/2,v="",m="";return c==="bottom"?(v=s?d:`${h}px`,m=`${-u}px`):c==="top"?(v=s?d:`${h}px`,m=`${n.floating.height+u}px`):c==="right"?(v=`${-u}px`,m=s?d:`${g}px`):c==="left"&&(v=`${n.floating.width+u}px`,m=s?d:`${g}px`),{data:{x:v,y:m}}}});function IR(e){let[t,r="center"]=e.split("-");return[t,r]}var Ug=AR,kR=FR,VR=BR,NR=MR;i();import*as Jd from"react";import Dne from"react-dom";import{jsx as Ene}from"react/jsx-runtime";var Tne="Portal",Kg=Jd.forwardRef((e,t)=>{let{container:r,...n}=e,[o,a]=Jd.useState(!1);rr(()=>a(!0),[]);let s=r||o&&globalThis?.document?.body;return s?Dne.createPortal(Ene(qe.div,{...n,ref:t}),s):null});Kg.displayName=Tne;i();import*as ir from"react";import*as LR from"react";function Pne(e,t){return LR.useReducer((r,n)=>t[r][n]??r,e)}var Cs=e=>{let{present:t,children:r}=e,n=Ane(t),o=typeof r=="function"?r({present:n.isPresent}):ir.Children.only(r),a=et(n.ref,Rne(o));return typeof r=="function"||n.isPresent?ir.cloneElement(o,{ref:a}):null};Cs.displayName="Presence";function Ane(e){let[t,r]=ir.useState(),n=ir.useRef(null),o=ir.useRef(e),a=ir.useRef("none"),s=e?"mounted":"unmounted",[l,u]=Pne(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return ir.useEffect(()=>{let c=Zd(n.current);a.current=l==="mounted"?c:"none"},[l]),rr(()=>{let c=n.current,p=o.current;if(p!==e){let h=a.current,g=Zd(c);e?u("MOUNT"):g==="none"||c?.display==="none"?u("UNMOUNT"):u(p&&h!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),rr(()=>{if(t){let c,p=t.ownerDocument.defaultView??window,d=g=>{let m=Zd(n.current).includes(CSS.escape(g.animationName));if(g.target===t&&m&&(u("ANIMATION_END"),!o.current)){let b=t.style.animationFillMode;t.style.animationFillMode="forwards",c=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=g=>{g.target===t&&(a.current=Zd(n.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{p.clearTimeout(c),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:ir.useCallback(c=>{n.current=c?getComputedStyle(c):null,r(c)},[])}}function Zd(e){return e?.animationName||"none"}function Rne(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}i();import*as Ct from"react";import{jsx as Ui}from"react/jsx-runtime";var qg="rovingFocusGroup.onEntryFocus",Fne={bubbles:!1,cancelable:!0},Eu="RovingFocusGroup",[Xg,$R,Bne]=Nd(Eu),[One,Yg]=mn(Eu,[Bne]),[Mne,Ine]=One(Eu),zR=Ct.forwardRef((e,t)=>Ui(Xg.Provider,{scope:e.__scopeRovingFocusGroup,children:Ui(Xg.Slot,{scope:e.__scopeRovingFocusGroup,children:Ui(kne,{...e,ref:t})})}));zR.displayName=Eu;var kne=Ct.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:u,onEntryFocus:c,preventScrollOnEntryFocus:p=!1,...d}=e,h=Ct.useRef(null),g=et(t,h),v=$d(a),[m,b]=bu({prop:s,defaultProp:l??null,onChange:u,caller:Eu}),[y,x]=Ct.useState(!1),w=It(c),D=$R(r),T=Ct.useRef(!1),[S,E]=Ct.useState(0);return Ct.useEffect(()=>{let R=h.current;if(R)return R.addEventListener(qg,w),()=>R.removeEventListener(qg,w)},[w]),Ui(Mne,{scope:r,orientation:n,dir:v,loop:o,currentTabStopId:m,onItemFocus:Ct.useCallback(R=>b(R),[b]),onItemShiftTab:Ct.useCallback(()=>x(!0),[]),onFocusableItemAdd:Ct.useCallback(()=>E(R=>R+1),[]),onFocusableItemRemove:Ct.useCallback(()=>E(R=>R-1),[]),children:Ui(qe.div,{tabIndex:y||S===0?-1:0,"data-orientation":n,...d,ref:g,style:{outline:"none",...e.style},onMouseDown:be(e.onMouseDown,()=>{T.current=!0}),onFocus:be(e.onFocus,R=>{let B=!T.current;if(R.target===R.currentTarget&&B&&!y){let k=new CustomEvent(qg,Fne);if(R.currentTarget.dispatchEvent(k),!k.defaultPrevented){let j=D().filter(Z=>Z.focusable),I=j.find(Z=>Z.active),V=j.find(Z=>Z.id===m),H=[I,V,...j].filter(Boolean).map(Z=>Z.ref.current);jR(H,p)}}T.current=!1}),onBlur:be(e.onBlur,()=>x(!1))})})}),GR="RovingFocusGroupItem",HR=Ct.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,children:s,...l}=e,u=Ho(),c=a||u,p=Ine(GR,r),d=p.currentTabStopId===c,h=$R(r),{onFocusableItemAdd:g,onFocusableItemRemove:v,currentTabStopId:m}=p;return Ct.useEffect(()=>{if(n)return g(),()=>v()},[n,g,v]),Ui(Xg.ItemSlot,{scope:r,id:c,focusable:n,active:o,children:Ui(qe.span,{tabIndex:d?0:-1,"data-orientation":p.orientation,...l,ref:t,onMouseDown:be(e.onMouseDown,b=>{n?p.onItemFocus(c):b.preventDefault()}),onFocus:be(e.onFocus,()=>p.onItemFocus(c)),onKeyDown:be(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){p.onItemShiftTab();return}if(b.target!==b.currentTarget)return;let y=Lne(b,p.orientation,p.dir);if(y!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let w=h().filter(D=>D.focusable).map(D=>D.ref.current);if(y==="last")w.reverse();else if(y==="prev"||y==="next"){y==="prev"&&w.reverse();let D=w.indexOf(b.currentTarget);w=p.loop?$ne(w,D+1):w.slice(D+1)}setTimeout(()=>jR(w))}}),children:typeof s=="function"?s({isCurrentTabStop:d,hasTabStop:m!=null}):s})})});HR.displayName=GR;var Vne={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Nne(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Lne(e,t,r){let n=Nne(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Vne[n]}function jR(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function $ne(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var WR=zR,_R=HR;i();var Gne=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},xs=new WeakMap,Qd=new WeakMap,e1={},Jg=0,UR=function(e){return e&&(e.host||UR(e.parentNode))},Hne=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=UR(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})},jne=function(e,t,r,n){var o=Hne(t,Array.isArray(e)?e:[e]);e1[r]||(e1[r]=new WeakMap);var a=e1[r],s=[],l=new Set,u=new Set(o),c=function(d){!d||l.has(d)||(l.add(d),c(d.parentNode))};o.forEach(c);var p=function(d){!d||u.has(d)||Array.prototype.forEach.call(d.children,function(h){if(l.has(h))p(h);else try{var g=h.getAttribute(n),v=g!==null&&g!=="false",m=(xs.get(h)||0)+1,b=(a.get(h)||0)+1;xs.set(h,m),a.set(h,b),s.push(h),m===1&&v&&Qd.set(h,!0),b===1&&h.setAttribute(r,"true"),v||h.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",h,y)}})};return p(t),l.clear(),Jg++,function(){s.forEach(function(d){var h=xs.get(d)-1,g=a.get(d)-1;xs.set(d,h),a.set(d,g),h||(Qd.has(d)||d.removeAttribute(n),Qd.delete(d)),g||d.removeAttribute(r)}),Jg--,Jg||(xs=new WeakMap,xs=new WeakMap,Qd=new WeakMap,e1={})}},KR=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Gne(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),jne(n,o,r,"aria-hidden")):function(){return null}};i();i();i();var ar=function(){return ar=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},ar.apply(this,arguments)};function t1(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 qR(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}import*as a1 from"react";i();import*as kt from"react";i();var Ki="right-scroll-bar-position",qi="width-before-scroll-bar",Zg="with-scroll-bars-hidden",Qg="--removed-body-scroll-bar-size";i();i();function r1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}i();import{useState as Wne}from"react";function XR(e,t){var r=Wne(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}i();import*as n1 from"react";var _ne=typeof window<"u"?n1.useLayoutEffect:n1.useEffect,YR=new WeakMap;function e3(e,t){var r=XR(t||null,function(n){return e.forEach(function(o){return r1(o,n)})});return _ne(function(){var n=YR.get(r);if(n){var o=new Set(n),a=new Set(e),s=r.current;o.forEach(function(l){a.has(l)||r1(l,null)}),a.forEach(function(l){o.has(l)||r1(l,s)})}YR.set(r,e)},[e]),r}i();i();i();function Une(e){return e}function Kne(e,t){t===void 0&&(t=Une);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var s=t(a,n);return r.push(s),function(){r=r.filter(function(l){return l!==s})}},assignSyncMedium:function(a){for(n=!0;r.length;){var s=r;r=[],s.forEach(a)}r={push:function(l){return a(l)},filter:function(){return r}}},assignMedium:function(a){n=!0;var s=[];if(r.length){var l=r;r=[],l.forEach(a),s=r}var u=function(){var p=s;s=[],p.forEach(a)},c=function(){return Promise.resolve().then(u)};c(),r={push:function(p){s.push(p),c()},filter:function(p){return s=s.filter(p),r}}}};return o}function t3(e){e===void 0&&(e={});var t=Kne(null);return t.options=ar({async:!0,ssr:!1},e),t}i();import*as JR from"react";var ZR=function(e){var t=e.sideCar,r=t1(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 JR.createElement(n,ar({},r))};ZR.isSideCarExport=!0;function r3(e,t){return e.useMedium(t),ZR}var o1=t3();var n3=function(){},Tu=kt.forwardRef(function(e,t){var r=kt.useRef(null),n=kt.useState({onScrollCapture:n3,onWheelCapture:n3,onTouchMoveCapture:n3}),o=n[0],a=n[1],s=e.forwardProps,l=e.children,u=e.className,c=e.removeScrollBar,p=e.enabled,d=e.shards,h=e.sideCar,g=e.noIsolation,v=e.inert,m=e.allowPinchZoom,b=e.as,y=b===void 0?"div":b,x=e.gapMode,w=t1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=h,T=e3([r,t]),S=ar(ar({},w),o);return kt.createElement(kt.Fragment,null,p&&kt.createElement(D,{sideCar:o1,removeScrollBar:c,shards:d,noIsolation:g,inert:v,setCallbacks:a,allowPinchZoom:!!m,lockRef:r,gapMode:x}),s?kt.cloneElement(kt.Children.only(l),ar(ar({},S),{ref:T})):kt.createElement(y,ar({},S,{className:u,ref:T}),l))});Tu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Tu.classNames={fullWidth:qi,zeroRight:Ki};i();i();import*as $e from"react";i();i();import*as Ss from"react";i();i();i();import*as tF from"react";i();i();var QR;var eF=function(){if(QR)return QR;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function qne(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=eF();return t&&e.setAttribute("nonce",t),e}function Xne(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Yne(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var o3=function(){var e=0,t=null;return{add:function(r){e==0&&(t=qne())&&(Xne(t,r),Yne(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var i3=function(){var e=o3();return function(t,r){tF.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}};var Pu=function(){var e=i3(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t};i();var Jne={left:0,top:0,right:0,gap:0},a3=function(e){return parseInt(e||"",10)||0},Zne=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[a3(r),a3(n),a3(o)]},s3=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Jne;var t=Zne(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 Qne=Pu(),ws="data-scroll-locked",eoe=function(e,t,r,n){var o=e.left,a=e.top,s=e.right,l=e.gap;return r===void 0&&(r="margin"),`
2108
+ `,aA=({placement:e="left",align:t="top",gap:r="1.5rem",item:n,children:o,...a})=>gre(iA,{...a,children:[F(n)?oA(hre,{$align:t,$gap:r,$placement:e,children:n}):null,oA(mre,{$align:t,children:o})]});aA.displayName="MediaObject_VHS";i();i();import*as pt from"react";i();var elt=!!(typeof window<"u"&&window.document&&window.document.createElement);function be(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}i();import*as lA from"react";function sA(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Vi(...e){return t=>{let r=!1,n=e.map(o=>{let a=sA(o,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let o=0;o<n.length;o++){let a=n[o];typeof a=="function"?a():sA(e[o],null)}}}}function et(...e){return lA.useCallback(Vi(...e),e)}i();import*as Jn from"react";import{jsx as vre}from"react/jsx-runtime";function mn(e,t=[]){let r=[];function n(a,s){let l=Jn.createContext(s),u=r.length;r=[...r,s];let c=d=>{let{scope:h,children:g,...v}=d,m=h?.[e]?.[u]||l,b=Jn.useMemo(()=>v,Object.values(v));return vre(m.Provider,{value:b,children:g})};c.displayName=a+"Provider";function p(d,h){let g=h?.[e]?.[u]||l,v=Jn.useContext(g);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[c,p]}let o=()=>{let a=r.map(s=>Jn.createContext(s));return function(l){let u=l?.[e]||a;return Jn.useMemo(()=>({[`__scope${e}`]:{...l,[e]:u}}),[l,u])}};return o.scopeName=e,[n,yre(o,...t)]}function yre(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){let s=n.reduce((l,{useScope:u,scopeName:c})=>{let d=u(a)[`__scope${c}`];return{...l,...d}},{});return Jn.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}i();import*as Rr from"react";i();import*as uA from"react";var rr=globalThis?.document?uA.useLayoutEffect:()=>{};import*as kd from"react";var bre=Rr[" useInsertionEffect ".trim().toString()]||rr;function bu({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,a,s]=Cre({defaultProp:t,onChange:r}),l=e!==void 0,u=l?e:o;{let p=Rr.useRef(e!==void 0);Rr.useEffect(()=>{let d=p.current;d!==l&&console.warn(`${n} is changing from ${d?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=l},[l,n])}let c=Rr.useCallback(p=>{if(l){let d=xre(p)?p(e):p;d!==e&&s.current?.(d)}else a(p)},[l,e,a,s]);return[u,c]}function Cre({defaultProp:e,onChange:t}){let[r,n]=Rr.useState(e),o=Rr.useRef(r),a=Rr.useRef(t);return bre(()=>{a.current=t},[t]),Rr.useEffect(()=>{o.current!==r&&(a.current?.(r),o.current=r)},[r,o]),[r,n,a]}function xre(e){return typeof e=="function"}var flt=Symbol("RADIX:SYNC_STATE");i();import*as fA from"react";import*as pA from"react-dom";i();import*as ft from"react";import{Fragment as glt,jsx as cA}from"react/jsx-runtime";function Ni(e){let t=wre(e),r=ft.forwardRef((n,o)=>{let{children:a,...s}=n,l=ft.Children.toArray(a),u=l.find(Dre);if(u){let c=u.props.children,p=l.map(d=>d===u?ft.Children.count(c)>1?ft.Children.only(null):ft.isValidElement(c)?c.props.children:null:d);return cA(t,{...s,ref:o,children:ft.isValidElement(c)?ft.cloneElement(c,void 0,p):null})}return cA(t,{...s,ref:o,children:a})});return r.displayName=`${e}.Slot`,r}function wre(e){let t=ft.forwardRef((r,n)=>{let{children:o,...a}=r;if(ft.isValidElement(o)){let s=Pre(o),l=Ere(a,o.props);return o.type!==ft.Fragment&&(l.ref=n?Vi(n,s):s),ft.cloneElement(o,l)}return ft.Children.count(o)>1?ft.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Sre=Symbol("radix.slottable");function Dre(e){return ft.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Sre}function Ere(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...l)=>{let u=a(...l);return o(...l),u}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}function Pre(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}import{jsx as Tre}from"react/jsx-runtime";var Are=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],qe=Are.reduce((e,t)=>{let r=Ni(`Primitive.${t}`),n=fA.forwardRef((o,a)=>{let{asChild:s,...l}=o,u=s?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Tre(u,{...l,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Vd(e,t){e&&pA.flushSync(()=>e.dispatchEvent(t))}i();import*as ne from"react";i();import Li from"react";import{jsx as Tg}from"react/jsx-runtime";import Rlt from"react";import{jsx as Blt}from"react/jsx-runtime";function Nd(e){let t=e+"CollectionProvider",[r,n]=mn(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=m=>{let{scope:b,children:y}=m,x=Li.useRef(null),w=Li.useRef(new Map).current;return Tg(o,{scope:b,itemMap:w,collectionRef:x,children:y})};s.displayName=t;let l=e+"CollectionSlot",u=Ni(l),c=Li.forwardRef((m,b)=>{let{scope:y,children:x}=m,w=a(l,y),D=et(b,w.collectionRef);return Tg(u,{ref:D,children:x})});c.displayName=l;let p=e+"CollectionItemSlot",d="data-radix-collection-item",h=Ni(p),g=Li.forwardRef((m,b)=>{let{scope:y,children:x,...w}=m,D=Li.useRef(null),P=et(b,D),S=a(p,y);return Li.useEffect(()=>(S.itemMap.set(D,{ref:D,...w}),()=>void S.itemMap.delete(D))),Tg(h,{[d]:"",ref:P,children:x})});g.displayName=p;function v(m){let b=a(e+"CollectionConsumer",m);return Li.useCallback(()=>{let x=b.collectionRef.current;if(!x)return[];let w=Array.from(x.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((S,E)=>w.indexOf(S.ref.current)-w.indexOf(E.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:s,Slot:c,ItemSlot:g},v,n]}i();import*as Ld from"react";import{jsx as klt}from"react/jsx-runtime";var Rre=Ld.createContext(void 0);function $d(e){let t=Ld.useContext(Rre);return e||t||"ltr"}i();import*as Xe from"react";i();import*as gs from"react";function It(e){let t=gs.useRef(e);return gs.useEffect(()=>{t.current=e}),gs.useMemo(()=>(...r)=>t.current?.(...r),[])}i();import*as dA from"react";function mA(e,t=globalThis?.document){let r=It(e);dA.useEffect(()=>{let n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}import{jsx as vA}from"react/jsx-runtime";var Fre="DismissableLayer",Ag="dismissableLayer.update",Bre="dismissableLayer.pointerDownOutside",Ore="dismissableLayer.focusOutside",hA,yA=Xe.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Rg=Xe.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,c=Xe.useContext(yA),[p,d]=Xe.useState(null),h=p?.ownerDocument??globalThis?.document,[,g]=Xe.useState({}),v=et(t,E=>d(E)),m=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(b),x=p?m.indexOf(p):-1,w=c.layersWithOutsidePointerEventsDisabled.size>0,D=x>=y,P=kre(E=>{let R=E.target,B=[...c.branches].some(k=>k.contains(R));!D||B||(o?.(E),s?.(E),E.defaultPrevented||l?.())},h),S=Vre(E=>{let R=E.target;[...c.branches].some(k=>k.contains(R))||(a?.(E),s?.(E),E.defaultPrevented||l?.())},h);return mA(E=>{x===c.layers.size-1&&(n?.(E),!E.defaultPrevented&&l&&(E.preventDefault(),l()))},h),Xe.useEffect(()=>{if(p)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(hA=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(p)),c.layers.add(p),gA(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=hA)}},[p,h,r,c]),Xe.useEffect(()=>()=>{p&&(c.layers.delete(p),c.layersWithOutsidePointerEventsDisabled.delete(p),gA())},[p,c]),Xe.useEffect(()=>{let E=()=>g({});return document.addEventListener(Ag,E),()=>document.removeEventListener(Ag,E)},[]),vA(qe.div,{...u,ref:v,style:{pointerEvents:w?D?"auto":"none":void 0,...e.style},onFocusCapture:be(e.onFocusCapture,S.onFocusCapture),onBlurCapture:be(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:be(e.onPointerDownCapture,P.onPointerDownCapture)})});Rg.displayName=Fre;var Mre="DismissableLayerBranch",Ire=Xe.forwardRef((e,t)=>{let r=Xe.useContext(yA),n=Xe.useRef(null),o=et(t,n);return Xe.useEffect(()=>{let a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),vA(qe.div,{...e,ref:o})});Ire.displayName=Mre;function kre(e,t=globalThis?.document){let r=It(e),n=Xe.useRef(!1),o=Xe.useRef(()=>{});return Xe.useEffect(()=>{let a=l=>{if(l.target&&!n.current){let c=function(){bA(Bre,r,p,{discrete:!0})};var u=c;let p={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Vre(e,t=globalThis?.document){let r=It(e),n=Xe.useRef(!1);return Xe.useEffect(()=>{let o=a=>{a.target&&!n.current&&bA(Ore,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function gA(){let e=new CustomEvent(Ag);document.dispatchEvent(e)}function bA(e,t,r,{discrete:n}){let o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Vd(o,a):o.dispatchEvent(a)}i();import*as xA from"react";var Fg=0;function wA(){xA.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??CA()),document.body.insertAdjacentElement("beforeend",e[1]??CA()),Fg++,()=>{Fg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Fg--}},[])}function CA(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}i();import*as Fr from"react";import{jsx as Nre}from"react/jsx-runtime";var Bg="focusScope.autoFocusOnMount",Og="focusScope.autoFocusOnUnmount",SA={bubbles:!1,cancelable:!0},Lre="FocusScope",Mg=Fr.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[l,u]=Fr.useState(null),c=It(o),p=It(a),d=Fr.useRef(null),h=et(t,m=>u(m)),g=Fr.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Fr.useEffect(()=>{if(n){let x=function(S){if(g.paused||!l)return;let E=S.target;l.contains(E)?d.current=E:Go(d.current,{select:!0})},w=function(S){if(g.paused||!l)return;let E=S.relatedTarget;E!==null&&(l.contains(E)||Go(d.current,{select:!0}))},D=function(S){if(document.activeElement===document.body)for(let R of S)R.removedNodes.length>0&&Go(l)};var m=x,b=w,y=D;document.addEventListener("focusin",x),document.addEventListener("focusout",w);let P=new MutationObserver(D);return l&&P.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",w),P.disconnect()}}},[n,l,g.paused]),Fr.useEffect(()=>{if(l){EA.add(g);let m=document.activeElement;if(!l.contains(m)){let y=new CustomEvent(Bg,SA);l.addEventListener(Bg,c),l.dispatchEvent(y),y.defaultPrevented||($re(Wre(TA(l)),{select:!0}),document.activeElement===m&&Go(l))}return()=>{l.removeEventListener(Bg,c),setTimeout(()=>{let y=new CustomEvent(Og,SA);l.addEventListener(Og,p),l.dispatchEvent(y),y.defaultPrevented||Go(m??document.body,{select:!0}),l.removeEventListener(Og,p),EA.remove(g)},0)}}},[l,c,p,g]);let v=Fr.useCallback(m=>{if(!r&&!n||g.paused)return;let b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(b&&y){let x=m.currentTarget,[w,D]=zre(x);w&&D?!m.shiftKey&&y===D?(m.preventDefault(),r&&Go(w,{select:!0})):m.shiftKey&&y===w&&(m.preventDefault(),r&&Go(D,{select:!0})):y===x&&m.preventDefault()}},[r,n,g.paused]);return Nre(qe.div,{tabIndex:-1,...s,ref:h,onKeyDown:v})});Mg.displayName=Lre;function $re(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(Go(n,{select:t}),document.activeElement!==r)return}function zre(e){let t=TA(e),r=DA(t,e),n=DA(t.reverse(),e);return[r,n]}function TA(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 DA(e,t){for(let r of e)if(!Gre(r,{upTo:t}))return r}function Gre(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 Hre(e){return e instanceof HTMLInputElement&&"select"in e}function Go(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Hre(e)&&t&&e.select()}}var EA=jre();function jre(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),e=PA(e,t),e.unshift(t)},remove(t){e=PA(e,t),e[0]?.resume()}}}function PA(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Wre(e){return e.filter(t=>t.tagName!=="A")}i();import*as Ig from"react";var _re=Ig[" useId ".trim().toString()]||(()=>{}),Ure=0;function Ho(e){let[t,r]=Ig.useState(_re());return rr(()=>{e||r(n=>n??String(Ure++))},[e]),e||(t?`radix-${t}`:"")}i();import*as or from"react";i();i();i();i();var AA=["top","right","bottom","left"];var hn=Math.min,jt=Math.max,xu=Math.round,wu=Math.floor,Kr=e=>({x:e,y:e}),Kre={left:"right",right:"left",bottom:"top",top:"bottom"},qre={start:"end",end:"start"};function Gd(e,t,r){return jt(e,hn(t,r))}function gn(e,t){return typeof e=="function"?e(t):e}function vn(e){return e.split("-")[0]}function $i(e){return e.split("-")[1]}function Hd(e){return e==="x"?"y":"x"}function jd(e){return e==="y"?"height":"width"}function Zn(e){return["top","bottom"].includes(vn(e))?"y":"x"}function Wd(e){return Hd(Zn(e))}function RA(e,t,r){r===void 0&&(r=!1);let n=$i(e),o=Wd(e),a=jd(o),s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Cu(s)),[s,Cu(s)]}function FA(e){let t=Cu(e);return[zd(e),t,zd(t)]}function zd(e){return e.replace(/start|end/g,t=>qre[t])}function Xre(e,t,r){let n=["left","right"],o=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:s;default:return[]}}function BA(e,t,r,n){let o=$i(e),a=Xre(vn(e),r==="start",n);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(zd)))),a}function Cu(e){return e.replace(/left|right|bottom|top/g,t=>Kre[t])}function Yre(e){return{top:0,right:0,bottom:0,left:0,...e}}function kg(e){return typeof e!="number"?Yre(e):{top:e,right:e,bottom:e,left:e}}function zi(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 OA(e,t,r){let{reference:n,floating:o}=e,a=Zn(t),s=Wd(t),l=jd(s),u=vn(t),c=a==="y",p=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,h=n[l]/2-o[l]/2,g;switch(u){case"top":g={x:p,y:n.y-o.height};break;case"bottom":g={x:p,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:d};break;case"left":g={x:n.x-o.width,y:d};break;default:g={x:n.x,y:n.y}}switch($i(t)){case"start":g[s]-=h*(r&&c?-1:1);break;case"end":g[s]+=h*(r&&c?-1:1);break}return g}var kA=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:d}=OA(c,n,u),h=n,g={},v=0;for(let m=0;m<l.length;m++){let{name:b,fn:y}=l[m],{x,y:w,data:D,reset:P}=await y({x:p,y:d,initialPlacement:n,placement:h,strategy:o,middlewareData:g,rects:c,platform:s,elements:{reference:e,floating:t}});p=x??p,d=w??d,g={...g,[b]:{...g[b],...D}},P&&v<=50&&(v++,typeof P=="object"&&(P.placement&&(h=P.placement),P.rects&&(c=P.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):P.rects),{x:p,y:d}=OA(c,h,u)),m=-1)}return{x:p,y:d,placement:h,strategy:o,middlewareData:g}};async function vs(e,t){var r;t===void 0&&(t={});let{x:n,y:o,platform:a,rects:s,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:d="floating",altBoundary:h=!1,padding:g=0}=gn(t,e),v=kg(g),b=l[h?d==="floating"?"reference":"floating":d],y=zi(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(b)))==null||r?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:u})),x=d==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),D=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},P=zi(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:w,strategy:u}):x);return{top:(y.top-P.top+v.top)/D.y,bottom:(P.bottom-y.bottom+v.bottom)/D.y,left:(y.left-P.left+v.left)/D.x,right:(P.right-y.right+v.right)/D.x}}var VA=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:a,platform:s,elements:l,middlewareData:u}=t,{element:c,padding:p=0}=gn(e,t)||{};if(c==null)return{};let d=kg(p),h={x:r,y:n},g=Wd(o),v=jd(g),m=await s.getDimensions(c),b=g==="y",y=b?"top":"left",x=b?"bottom":"right",w=b?"clientHeight":"clientWidth",D=a.reference[v]+a.reference[g]-h[g]-a.floating[v],P=h[g]-a.reference[g],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c)),E=S?S[w]:0;(!E||!await(s.isElement==null?void 0:s.isElement(S)))&&(E=l.floating[w]||a.floating[v]);let R=D/2-P/2,B=E/2-m[v]/2-1,k=hn(d[y],B),j=hn(d[x],B),I=k,V=E-m[v]-j,N=E/2-m[v]/2+R,H=Gd(I,N,V),Z=!u.arrow&&$i(o)!=null&&N!==H&&a.reference[v]/2-(N<I?k:j)-m[v]/2<0,Q=Z?N<I?N-I:N-V:0;return{[g]:h[g]+Q,data:{[g]:H,centerOffset:N-H-Q,...Z&&{alignmentOffset:Q}},reset:Z}}});var NA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;let{placement:o,middlewareData:a,rects:s,initialPlacement:l,platform:u,elements:c}=t,{mainAxis:p=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...b}=gn(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let y=vn(o),x=Zn(l),w=vn(l)===l,D=await(u.isRTL==null?void 0:u.isRTL(c.floating)),P=h||(w||!m?[Cu(l)]:FA(l)),S=v!=="none";!h&&S&&P.push(...BA(l,m,v,D));let E=[l,...P],R=await vs(t,b),B=[],k=((n=a.flip)==null?void 0:n.overflows)||[];if(p&&B.push(R[y]),d){let N=RA(o,s,D);B.push(R[N[0]],R[N[1]])}if(k=[...k,{placement:o,overflows:B}],!B.every(N=>N<=0)){var j,I;let N=(((j=a.flip)==null?void 0:j.index)||0)+1,H=E[N];if(H)return{data:{index:N,overflows:k},reset:{placement:H}};let Z=(I=k.filter(Q=>Q.overflows[0]<=0).sort((Q,X)=>Q.overflows[1]-X.overflows[1])[0])==null?void 0:I.placement;if(!Z)switch(g){case"bestFit":{var V;let Q=(V=k.filter(X=>{if(S){let G=Zn(X.placement);return G===x||G==="y"}return!0}).map(X=>[X.placement,X.overflows.filter(G=>G>0).reduce((G,re)=>G+re,0)]).sort((X,G)=>X[1]-G[1])[0])==null?void 0:V[0];Q&&(Z=Q);break}case"initialPlacement":Z=l;break}if(o!==Z)return{reset:{placement:Z}}}return{}}}};function MA(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function IA(e){return AA.some(t=>e[t]>=0)}var LA=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...o}=gn(e,t);switch(n){case"referenceHidden":{let a=await vs(t,{...o,elementContext:"reference"}),s=MA(a,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:IA(s)}}}case"escaped":{let a=await vs(t,{...o,altBoundary:!0}),s=MA(a,r.floating);return{data:{escapedOffsets:s,escaped:IA(s)}}}default:return{}}}}};async function Jre(e,t){let{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=vn(r),l=$i(r),u=Zn(r)==="y",c=["left","top"].includes(s)?-1:1,p=a&&u?-1:1,d=gn(t,e),{mainAxis:h,crossAxis:g,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof v=="number"&&(g=l==="end"?v*-1:v),u?{x:g*p,y:h*c}:{x:h*c,y:g*p}}var $A=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:a,placement:s,middlewareData:l}=t,u=await Jre(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:a+u.y,data:{...u,placement:s}}}}},zA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:b=>{let{x:y,y:x}=b;return{x:y,y:x}}},...u}=gn(e,t),c={x:r,y:n},p=await vs(t,u),d=Zn(vn(o)),h=Hd(d),g=c[h],v=c[d];if(a){let b=h==="y"?"top":"left",y=h==="y"?"bottom":"right",x=g+p[b],w=g-p[y];g=Gd(x,g,w)}if(s){let b=d==="y"?"top":"left",y=d==="y"?"bottom":"right",x=v+p[b],w=v-p[y];v=Gd(x,v,w)}let m=l.fn({...t,[h]:g,[d]:v});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[h]:a,[d]:s}}}}}},GA=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:o,rects:a,middlewareData:s}=t,{offset:l=0,mainAxis:u=!0,crossAxis:c=!0}=gn(e,t),p={x:r,y:n},d=Zn(o),h=Hd(d),g=p[h],v=p[d],m=gn(l,t),b=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){let w=h==="y"?"height":"width",D=a.reference[h]-a.floating[w]+b.mainAxis,P=a.reference[h]+a.reference[w]-b.mainAxis;g<D?g=D:g>P&&(g=P)}if(c){var y,x;let w=h==="y"?"width":"height",D=["top","left"].includes(vn(o)),P=a.reference[d]-a.floating[w]+(D&&((y=s.offset)==null?void 0:y[d])||0)+(D?0:b.crossAxis),S=a.reference[d]+a.reference[w]+(D?0:((x=s.offset)==null?void 0:x[d])||0)-(D?b.crossAxis:0);v<P?v=P:v>S&&(v=S)}return{[h]:g,[d]:v}}}},HA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;let{placement:o,rects:a,platform:s,elements:l}=t,{apply:u=()=>{},...c}=gn(e,t),p=await vs(t,c),d=vn(o),h=$i(o),g=Zn(o)==="y",{width:v,height:m}=a.floating,b,y;d==="top"||d==="bottom"?(b=d,y=h===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(y=d,b=h==="end"?"top":"bottom");let x=m-p.top-p.bottom,w=v-p.left-p.right,D=hn(m-p[b],x),P=hn(v-p[y],w),S=!t.middlewareData.shift,E=D,R=P;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(R=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(E=x),S&&!h){let k=jt(p.left,0),j=jt(p.right,0),I=jt(p.top,0),V=jt(p.bottom,0);g?R=v-2*(k!==0||j!==0?k+j:jt(p.left,p.right)):E=m-2*(I!==0||V!==0?I+V:jt(p.top,p.bottom))}await u({...t,availableWidth:R,availableHeight:E});let B=await s.getDimensions(l.floating);return v!==B.width||m!==B.height?{reset:{rects:!0}}:{}}}};i();function _d(){return typeof window<"u"}function Hi(e){return WA(e)?(e.nodeName||"").toLowerCase():"#document"}function nr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qr(e){var t;return(t=(WA(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function WA(e){return _d()?e instanceof Node||e instanceof nr(e).Node:!1}function Br(e){return _d()?e instanceof Element||e instanceof nr(e).Element:!1}function Xr(e){return _d()?e instanceof HTMLElement||e instanceof nr(e).HTMLElement:!1}function jA(e){return!_d()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nr(e).ShadowRoot}function ys(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=Or(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function _A(e){return["table","td","th"].includes(Hi(e))}function Su(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ud(e){let t=Kd(),r=Br(e)?Or(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function UA(e){let t=Qn(e);for(;Xr(t)&&!ji(t);){if(Ud(t))return t;if(Su(t))return null;t=Qn(t)}return null}function Kd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ji(e){return["html","body","#document"].includes(Hi(e))}function Or(e){return nr(e).getComputedStyle(e)}function Du(e){return Br(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Qn(e){if(Hi(e)==="html")return e;let t=e.assignedSlot||e.parentNode||jA(e)&&e.host||qr(e);return jA(t)?t.host:t}function KA(e){let t=Qn(e);return ji(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xr(t)&&ys(t)?t:KA(t)}function Gi(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let o=KA(e),a=o===((n=e.ownerDocument)==null?void 0:n.body),s=nr(o);if(a){let l=qd(s);return t.concat(s,s.visualViewport||[],ys(o)?o:[],l&&r?Gi(l):[])}return t.concat(o,Gi(o,[],r))}function qd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function YA(e){let t=Or(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=Xr(e),a=o?e.offsetWidth:r,s=o?e.offsetHeight:n,l=xu(r)!==a||xu(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function Ng(e){return Br(e)?e:e.contextElement}function bs(e){let t=Ng(e);if(!Xr(t))return Kr(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:a}=YA(t),s=(a?xu(r.width):r.width)/n,l=(a?xu(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Zre=Kr(0);function JA(e){let t=nr(e);return!Kd()||!t.visualViewport?Zre:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qre(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==nr(e)?!1:t}function Wi(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let o=e.getBoundingClientRect(),a=Ng(e),s=Kr(1);t&&(n?Br(n)&&(s=bs(n)):s=bs(e));let l=Qre(a,r,n)?JA(a):Kr(0),u=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,p=o.width/s.x,d=o.height/s.y;if(a){let h=nr(a),g=n&&Br(n)?nr(n):n,v=h,m=qd(v);for(;m&&n&&g!==v;){let b=bs(m),y=m.getBoundingClientRect(),x=Or(m),w=y.left+(m.clientLeft+parseFloat(x.paddingLeft))*b.x,D=y.top+(m.clientTop+parseFloat(x.paddingTop))*b.y;u*=b.x,c*=b.y,p*=b.x,d*=b.y,u+=w,c+=D,v=nr(m),m=qd(v)}}return zi({width:p,height:d,x:u,y:c})}function Lg(e,t){let r=Du(e).scrollLeft;return t?t.left+r:Wi(qr(e)).left+r}function ZA(e,t,r){r===void 0&&(r=!1);let n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:Lg(e,n)),a=n.top+t.scrollTop;return{x:o,y:a}}function ene(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,a=o==="fixed",s=qr(n),l=t?Su(t.floating):!1;if(n===s||l&&a)return r;let u={scrollLeft:0,scrollTop:0},c=Kr(1),p=Kr(0),d=Xr(n);if((d||!d&&!a)&&((Hi(n)!=="body"||ys(s))&&(u=Du(n)),Xr(n))){let g=Wi(n);c=bs(n),p.x=g.x+n.clientLeft,p.y=g.y+n.clientTop}let h=s&&!d&&!a?ZA(s,u,!0):Kr(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+p.x+h.x,y:r.y*c.y-u.scrollTop*c.y+p.y+h.y}}function tne(e){return Array.from(e.getClientRects())}function rne(e){let t=qr(e),r=Du(e),n=e.ownerDocument.body,o=jt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=jt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Lg(e),l=-r.scrollTop;return Or(n).direction==="rtl"&&(s+=jt(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:s,y:l}}function nne(e,t){let r=nr(e),n=qr(e),o=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,u=0;if(o){a=o.width,s=o.height;let c=Kd();(!c||c&&t==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:a,height:s,x:l,y:u}}function one(e,t){let r=Wi(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=Xr(e)?bs(e):Kr(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,u=o*a.x,c=n*a.y;return{width:s,height:l,x:u,y:c}}function qA(e,t,r){let n;if(t==="viewport")n=nne(e,r);else if(t==="document")n=rne(qr(e));else if(Br(t))n=one(t,r);else{let o=JA(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return zi(n)}function QA(e,t){let r=Qn(e);return r===t||!Br(r)||ji(r)?!1:Or(r).position==="fixed"||QA(r,t)}function ine(e,t){let r=t.get(e);if(r)return r;let n=Gi(e,[],!1).filter(l=>Br(l)&&Hi(l)!=="body"),o=null,a=Or(e).position==="fixed",s=a?Qn(e):e;for(;Br(s)&&!ji(s);){let l=Or(s),u=Ud(s);!u&&l.position==="fixed"&&(o=null),(a?!u&&!o:!u&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ys(s)&&!u&&QA(e,s))?n=n.filter(p=>p!==s):o=l,s=Qn(s)}return t.set(e,n),n}function ane(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,s=[...r==="clippingAncestors"?Su(t)?[]:ine(t,this._c):[].concat(r),n],l=s[0],u=s.reduce((c,p)=>{let d=qA(t,p,o);return c.top=jt(d.top,c.top),c.right=hn(d.right,c.right),c.bottom=hn(d.bottom,c.bottom),c.left=jt(d.left,c.left),c},qA(t,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function sne(e){let{width:t,height:r}=YA(e);return{width:t,height:r}}function lne(e,t,r){let n=Xr(t),o=qr(t),a=r==="fixed",s=Wi(e,!0,a,t),l={scrollLeft:0,scrollTop:0},u=Kr(0);if(n||!n&&!a)if((Hi(t)!=="body"||ys(o))&&(l=Du(t)),n){let h=Wi(t,!0,a,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else o&&(u.x=Lg(o));let c=o&&!n&&!a?ZA(o,l):Kr(0),p=s.left+l.scrollLeft-u.x-c.x,d=s.top+l.scrollTop-u.y-c.y;return{x:p,y:d,width:s.width,height:s.height}}function Vg(e){return Or(e).position==="static"}function XA(e,t){if(!Xr(e)||Or(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return qr(e)===r&&(r=r.ownerDocument.body),r}function eR(e,t){let r=nr(e);if(Su(e))return r;if(!Xr(e)){let o=Qn(e);for(;o&&!ji(o);){if(Br(o)&&!Vg(o))return o;o=Qn(o)}return r}let n=XA(e,t);for(;n&&_A(n)&&Vg(n);)n=XA(n,t);return n&&ji(n)&&Vg(n)&&!Ud(n)?r:n||UA(e)||r}var une=async function(e){let t=this.getOffsetParent||eR,r=this.getDimensions,n=await r(e.floating);return{reference:lne(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function cne(e){return Or(e).direction==="rtl"}var tR={convertOffsetParentRelativeRectToViewportRelativeRect:ene,getDocumentElement:qr,getClippingRect:ane,getOffsetParent:eR,getElementRects:une,getClientRects:tne,getDimensions:sne,getScale:bs,isElement:Br,isRTL:cne};function rR(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fne(e,t){let r=null,n,o=qr(e);function a(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),a();let c=e.getBoundingClientRect(),{left:p,top:d,width:h,height:g}=c;if(l||t(),!h||!g)return;let v=wu(d),m=wu(o.clientWidth-(p+h)),b=wu(o.clientHeight-(d+g)),y=wu(p),w={rootMargin:-v+"px "+-m+"px "+-b+"px "+-y+"px",threshold:jt(0,hn(1,u))||1},D=!0;function P(S){let E=S[0].intersectionRatio;if(E!==u){if(!D)return s();E?s(!1,E):n=setTimeout(()=>{s(!1,1e-7)},1e3)}E===1&&!rR(c,e.getBoundingClientRect())&&s(),D=!1}try{r=new IntersectionObserver(P,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(P,w)}r.observe(e)}return s(!0),a}function $g(e,t,r,n){n===void 0&&(n={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,c=Ng(e),p=o||a?[...c?Gi(c):[],...Gi(t)]:[];p.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),a&&y.addEventListener("resize",r)});let d=c&&l?fne(c,r):null,h=-1,g=null;s&&(g=new ResizeObserver(y=>{let[x]=y;x&&x.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),r()}),c&&!u&&g.observe(c),g.observe(t));let v,m=u?Wi(e):null;u&&b();function b(){let y=Wi(e);m&&!rR(m,y)&&r(),m=y,v=requestAnimationFrame(b)}return r(),()=>{var y;p.forEach(x=>{o&&x.removeEventListener("scroll",r),a&&x.removeEventListener("resize",r)}),d?.(),(y=g)==null||y.disconnect(),g=null,u&&cancelAnimationFrame(v)}}var nR=$A;var oR=zA,iR=NA,aR=HA,sR=LA,zg=VA;var lR=GA,Gg=(e,t,r)=>{let n=new Map,o={platform:tR,...r},a={...o.platform,_c:n};return kA(e,t,{...o,platform:a})};import*as at from"react";import{useLayoutEffect as pne,useEffect as dne}from"react";import*as cR from"react-dom";var Xd=typeof document<"u"?pne:dne;function Yd(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(!Yd(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){let a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!Yd(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function fR(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function uR(e,t){let r=fR(e);return Math.round(t*r)/r}function Hg(e){let t=at.useRef(e);return Xd(()=>{t.current=e}),t}function pR(e){e===void 0&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[p,d]=at.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,g]=at.useState(n);Yd(h,n)||g(n);let[v,m]=at.useState(null),[b,y]=at.useState(null),x=at.useCallback(X=>{X!==S.current&&(S.current=X,m(X))},[]),w=at.useCallback(X=>{X!==E.current&&(E.current=X,y(X))},[]),D=a||v,P=s||b,S=at.useRef(null),E=at.useRef(null),R=at.useRef(p),B=u!=null,k=Hg(u),j=Hg(o),I=Hg(c),V=at.useCallback(()=>{if(!S.current||!E.current)return;let X={placement:t,strategy:r,middleware:h};j.current&&(X.platform=j.current),Gg(S.current,E.current,X).then(G=>{let re={...G,isPositioned:I.current!==!1};N.current&&!Yd(R.current,re)&&(R.current=re,cR.flushSync(()=>{d(re)}))})},[h,t,r,j,I]);Xd(()=>{c===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,d(X=>({...X,isPositioned:!1})))},[c]);let N=at.useRef(!1);Xd(()=>(N.current=!0,()=>{N.current=!1}),[]),Xd(()=>{if(D&&(S.current=D),P&&(E.current=P),D&&P){if(k.current)return k.current(D,P,V);V()}},[D,P,V,k,B]);let H=at.useMemo(()=>({reference:S,floating:E,setReference:x,setFloating:w}),[x,w]),Z=at.useMemo(()=>({reference:D,floating:P}),[D,P]),Q=at.useMemo(()=>{let X={position:r,left:0,top:0};if(!Z.floating)return X;let G=uR(Z.floating,p.x),re=uR(Z.floating,p.y);return l?{...X,transform:"translate("+G+"px, "+re+"px)",...fR(Z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:G,top:re}},[r,l,Z.floating,p.x,p.y]);return at.useMemo(()=>({...p,update:V,refs:H,elements:Z,floatingStyles:Q}),[p,V,H,Z,Q])}var mne=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?zg({element:n.current,padding:o}).fn(r):{}:n?zg({element:n,padding:o}).fn(r):{}}}},dR=(e,t)=>({...nR(e),options:[e,t]}),mR=(e,t)=>({...oR(e),options:[e,t]}),hR=(e,t)=>({...lR(e),options:[e,t]}),gR=(e,t)=>({...iR(e),options:[e,t]}),vR=(e,t)=>({...aR(e),options:[e,t]});var yR=(e,t)=>({...sR(e),options:[e,t]});var bR=(e,t)=>({...mne(e),options:[e,t]});i();import*as xR from"react";import{jsx as CR}from"react/jsx-runtime";var hne="Arrow",wR=xR.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...a}=e;return CR(qe.svg,{...a,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:CR("polygon",{points:"0,0 30,0 15,10"})})});wR.displayName=hne;var SR=wR;i();import*as DR from"react";function ER(e){let[t,r]=DR.useState(void 0);return rr(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;let a=o[0],s,l;if("borderBoxSize"in a){let u=a.borderBoxSize,c=Array.isArray(u)?u[0]:u;s=c.inlineSize,l=c.blockSize}else s=e.offsetWidth,l=e.offsetHeight;r({width:s,height:l})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}import{jsx as _i}from"react/jsx-runtime";var jg="Popper",[PR,Wg]=mn(jg),[vne,TR]=PR(jg),AR=e=>{let{__scopePopper:t,children:r}=e,[n,o]=or.useState(null);return _i(vne,{scope:t,anchor:n,onAnchorChange:o,children:r})};AR.displayName=jg;var RR="PopperAnchor",FR=or.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,a=TR(RR,r),s=or.useRef(null),l=et(t,s),u=or.useRef(null);return or.useEffect(()=>{let c=u.current;u.current=n?.current||s.current,c!==u.current&&a.onAnchorChange(u.current)}),n?null:_i(qe.div,{...o,ref:l})});FR.displayName=RR;var _g="PopperContent",[yne,bne]=PR(_g),BR=or.forwardRef((e,t)=>{let{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:a="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:u=!0,collisionBoundary:c=[],collisionPadding:p=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:g="optimized",onPlaced:v,...m}=e,b=TR(_g,r),[y,x]=or.useState(null),w=et(t,W=>x(W)),[D,P]=or.useState(null),S=ER(D),E=S?.width??0,R=S?.height??0,B=n+(a!=="center"?"-"+a:""),k=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},j=Array.isArray(c)?c:[c],I=j.length>0,V={padding:k,boundary:j.filter(xne),altBoundary:I},{refs:N,floatingStyles:H,placement:Z,isPositioned:Q,middlewareData:X}=pR({strategy:"fixed",placement:B,whileElementsMounted:(...W)=>$g(...W,{animationFrame:g==="always"}),elements:{reference:b.anchor},middleware:[dR({mainAxis:o+R,alignmentAxis:s}),u&&mR({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?hR():void 0,...V}),u&&gR({...V}),vR({...V,apply:({elements:W,rects:se,availableWidth:oe,availableHeight:me})=>{let{width:xe,height:De}=se.reference,Pe=W.floating.style;Pe.setProperty("--radix-popper-available-width",`${oe}px`),Pe.setProperty("--radix-popper-available-height",`${me}px`),Pe.setProperty("--radix-popper-anchor-width",`${xe}px`),Pe.setProperty("--radix-popper-anchor-height",`${De}px`)}}),D&&bR({element:D,padding:l}),wne({arrowWidth:E,arrowHeight:R}),h&&yR({strategy:"referenceHidden",...V})]}),[G,re]=IR(Z),de=It(v);rr(()=>{Q&&de?.()},[Q,de]);let pe=X.arrow?.x,je=X.arrow?.y,A=X.arrow?.centerOffset!==0,[_,z]=or.useState();return rr(()=>{y&&z(window.getComputedStyle(y).zIndex)},[y]),_i("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:Q?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:_,"--radix-popper-transform-origin":[X.transformOrigin?.x,X.transformOrigin?.y].join(" "),...X.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:_i(yne,{scope:r,placedSide:G,onArrowChange:P,arrowX:pe,arrowY:je,shouldHideArrow:A,children:_i(qe.div,{"data-side":G,"data-align":re,...m,ref:w,style:{...m.style,animation:Q?void 0:"none"}})})})});BR.displayName=_g;var OR="PopperArrow",Cne={top:"bottom",right:"left",bottom:"top",left:"right"},MR=or.forwardRef(function(t,r){let{__scopePopper:n,...o}=t,a=bne(OR,n),s=Cne[a.placedSide];return _i("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:_i(SR,{...o,ref:r,style:{...o.style,display:"block"}})})});MR.displayName=OR;function xne(e){return e!==null}var wne=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,s=o.arrow?.centerOffset!==0,l=s?0:e.arrowWidth,u=s?0:e.arrowHeight,[c,p]=IR(r),d={start:"0%",center:"50%",end:"100%"}[p],h=(o.arrow?.x??0)+l/2,g=(o.arrow?.y??0)+u/2,v="",m="";return c==="bottom"?(v=s?d:`${h}px`,m=`${-u}px`):c==="top"?(v=s?d:`${h}px`,m=`${n.floating.height+u}px`):c==="right"?(v=`${-u}px`,m=s?d:`${g}px`):c==="left"&&(v=`${n.floating.width+u}px`,m=s?d:`${g}px`),{data:{x:v,y:m}}}});function IR(e){let[t,r="center"]=e.split("-");return[t,r]}var Ug=AR,kR=FR,VR=BR,NR=MR;i();import*as Jd from"react";import Dne from"react-dom";import{jsx as Ene}from"react/jsx-runtime";var Pne="Portal",Kg=Jd.forwardRef((e,t)=>{let{container:r,...n}=e,[o,a]=Jd.useState(!1);rr(()=>a(!0),[]);let s=r||o&&globalThis?.document?.body;return s?Dne.createPortal(Ene(qe.div,{...n,ref:t}),s):null});Kg.displayName=Pne;i();import*as ir from"react";import*as LR from"react";function Tne(e,t){return LR.useReducer((r,n)=>t[r][n]??r,e)}var Cs=e=>{let{present:t,children:r}=e,n=Ane(t),o=typeof r=="function"?r({present:n.isPresent}):ir.Children.only(r),a=et(n.ref,Rne(o));return typeof r=="function"||n.isPresent?ir.cloneElement(o,{ref:a}):null};Cs.displayName="Presence";function Ane(e){let[t,r]=ir.useState(),n=ir.useRef(null),o=ir.useRef(e),a=ir.useRef("none"),s=e?"mounted":"unmounted",[l,u]=Tne(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return ir.useEffect(()=>{let c=Zd(n.current);a.current=l==="mounted"?c:"none"},[l]),rr(()=>{let c=n.current,p=o.current;if(p!==e){let h=a.current,g=Zd(c);e?u("MOUNT"):g==="none"||c?.display==="none"?u("UNMOUNT"):u(p&&h!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),rr(()=>{if(t){let c,p=t.ownerDocument.defaultView??window,d=g=>{let m=Zd(n.current).includes(CSS.escape(g.animationName));if(g.target===t&&m&&(u("ANIMATION_END"),!o.current)){let b=t.style.animationFillMode;t.style.animationFillMode="forwards",c=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=g=>{g.target===t&&(a.current=Zd(n.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{p.clearTimeout(c),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:ir.useCallback(c=>{n.current=c?getComputedStyle(c):null,r(c)},[])}}function Zd(e){return e?.animationName||"none"}function Rne(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}i();import*as Ct from"react";import{jsx as Ui}from"react/jsx-runtime";var qg="rovingFocusGroup.onEntryFocus",Fne={bubbles:!1,cancelable:!0},Eu="RovingFocusGroup",[Xg,$R,Bne]=Nd(Eu),[One,Yg]=mn(Eu,[Bne]),[Mne,Ine]=One(Eu),zR=Ct.forwardRef((e,t)=>Ui(Xg.Provider,{scope:e.__scopeRovingFocusGroup,children:Ui(Xg.Slot,{scope:e.__scopeRovingFocusGroup,children:Ui(kne,{...e,ref:t})})}));zR.displayName=Eu;var kne=Ct.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:u,onEntryFocus:c,preventScrollOnEntryFocus:p=!1,...d}=e,h=Ct.useRef(null),g=et(t,h),v=$d(a),[m,b]=bu({prop:s,defaultProp:l??null,onChange:u,caller:Eu}),[y,x]=Ct.useState(!1),w=It(c),D=$R(r),P=Ct.useRef(!1),[S,E]=Ct.useState(0);return Ct.useEffect(()=>{let R=h.current;if(R)return R.addEventListener(qg,w),()=>R.removeEventListener(qg,w)},[w]),Ui(Mne,{scope:r,orientation:n,dir:v,loop:o,currentTabStopId:m,onItemFocus:Ct.useCallback(R=>b(R),[b]),onItemShiftTab:Ct.useCallback(()=>x(!0),[]),onFocusableItemAdd:Ct.useCallback(()=>E(R=>R+1),[]),onFocusableItemRemove:Ct.useCallback(()=>E(R=>R-1),[]),children:Ui(qe.div,{tabIndex:y||S===0?-1:0,"data-orientation":n,...d,ref:g,style:{outline:"none",...e.style},onMouseDown:be(e.onMouseDown,()=>{P.current=!0}),onFocus:be(e.onFocus,R=>{let B=!P.current;if(R.target===R.currentTarget&&B&&!y){let k=new CustomEvent(qg,Fne);if(R.currentTarget.dispatchEvent(k),!k.defaultPrevented){let j=D().filter(Z=>Z.focusable),I=j.find(Z=>Z.active),V=j.find(Z=>Z.id===m),H=[I,V,...j].filter(Boolean).map(Z=>Z.ref.current);jR(H,p)}}P.current=!1}),onBlur:be(e.onBlur,()=>x(!1))})})}),GR="RovingFocusGroupItem",HR=Ct.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,children:s,...l}=e,u=Ho(),c=a||u,p=Ine(GR,r),d=p.currentTabStopId===c,h=$R(r),{onFocusableItemAdd:g,onFocusableItemRemove:v,currentTabStopId:m}=p;return Ct.useEffect(()=>{if(n)return g(),()=>v()},[n,g,v]),Ui(Xg.ItemSlot,{scope:r,id:c,focusable:n,active:o,children:Ui(qe.span,{tabIndex:d?0:-1,"data-orientation":p.orientation,...l,ref:t,onMouseDown:be(e.onMouseDown,b=>{n?p.onItemFocus(c):b.preventDefault()}),onFocus:be(e.onFocus,()=>p.onItemFocus(c)),onKeyDown:be(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){p.onItemShiftTab();return}if(b.target!==b.currentTarget)return;let y=Lne(b,p.orientation,p.dir);if(y!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let w=h().filter(D=>D.focusable).map(D=>D.ref.current);if(y==="last")w.reverse();else if(y==="prev"||y==="next"){y==="prev"&&w.reverse();let D=w.indexOf(b.currentTarget);w=p.loop?$ne(w,D+1):w.slice(D+1)}setTimeout(()=>jR(w))}}),children:typeof s=="function"?s({isCurrentTabStop:d,hasTabStop:m!=null}):s})})});HR.displayName=GR;var Vne={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Nne(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Lne(e,t,r){let n=Nne(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Vne[n]}function jR(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function $ne(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var WR=zR,_R=HR;i();var Gne=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},xs=new WeakMap,Qd=new WeakMap,e1={},Jg=0,UR=function(e){return e&&(e.host||UR(e.parentNode))},Hne=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=UR(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})},jne=function(e,t,r,n){var o=Hne(t,Array.isArray(e)?e:[e]);e1[r]||(e1[r]=new WeakMap);var a=e1[r],s=[],l=new Set,u=new Set(o),c=function(d){!d||l.has(d)||(l.add(d),c(d.parentNode))};o.forEach(c);var p=function(d){!d||u.has(d)||Array.prototype.forEach.call(d.children,function(h){if(l.has(h))p(h);else try{var g=h.getAttribute(n),v=g!==null&&g!=="false",m=(xs.get(h)||0)+1,b=(a.get(h)||0)+1;xs.set(h,m),a.set(h,b),s.push(h),m===1&&v&&Qd.set(h,!0),b===1&&h.setAttribute(r,"true"),v||h.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",h,y)}})};return p(t),l.clear(),Jg++,function(){s.forEach(function(d){var h=xs.get(d)-1,g=a.get(d)-1;xs.set(d,h),a.set(d,g),h||(Qd.has(d)||d.removeAttribute(n),Qd.delete(d)),g||d.removeAttribute(r)}),Jg--,Jg||(xs=new WeakMap,xs=new WeakMap,Qd=new WeakMap,e1={})}},KR=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Gne(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),jne(n,o,r,"aria-hidden")):function(){return null}};i();i();i();var ar=function(){return ar=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},ar.apply(this,arguments)};function t1(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 qR(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}import*as a1 from"react";i();import*as kt from"react";i();var Ki="right-scroll-bar-position",qi="width-before-scroll-bar",Zg="with-scroll-bars-hidden",Qg="--removed-body-scroll-bar-size";i();i();function r1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}i();import{useState as Wne}from"react";function XR(e,t){var r=Wne(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}i();import*as n1 from"react";var _ne=typeof window<"u"?n1.useLayoutEffect:n1.useEffect,YR=new WeakMap;function e3(e,t){var r=XR(t||null,function(n){return e.forEach(function(o){return r1(o,n)})});return _ne(function(){var n=YR.get(r);if(n){var o=new Set(n),a=new Set(e),s=r.current;o.forEach(function(l){a.has(l)||r1(l,null)}),a.forEach(function(l){o.has(l)||r1(l,s)})}YR.set(r,e)},[e]),r}i();i();i();function Une(e){return e}function Kne(e,t){t===void 0&&(t=Une);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var s=t(a,n);return r.push(s),function(){r=r.filter(function(l){return l!==s})}},assignSyncMedium:function(a){for(n=!0;r.length;){var s=r;r=[],s.forEach(a)}r={push:function(l){return a(l)},filter:function(){return r}}},assignMedium:function(a){n=!0;var s=[];if(r.length){var l=r;r=[],l.forEach(a),s=r}var u=function(){var p=s;s=[],p.forEach(a)},c=function(){return Promise.resolve().then(u)};c(),r={push:function(p){s.push(p),c()},filter:function(p){return s=s.filter(p),r}}}};return o}function t3(e){e===void 0&&(e={});var t=Kne(null);return t.options=ar({async:!0,ssr:!1},e),t}i();import*as JR from"react";var ZR=function(e){var t=e.sideCar,r=t1(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 JR.createElement(n,ar({},r))};ZR.isSideCarExport=!0;function r3(e,t){return e.useMedium(t),ZR}var o1=t3();var n3=function(){},Pu=kt.forwardRef(function(e,t){var r=kt.useRef(null),n=kt.useState({onScrollCapture:n3,onWheelCapture:n3,onTouchMoveCapture:n3}),o=n[0],a=n[1],s=e.forwardProps,l=e.children,u=e.className,c=e.removeScrollBar,p=e.enabled,d=e.shards,h=e.sideCar,g=e.noIsolation,v=e.inert,m=e.allowPinchZoom,b=e.as,y=b===void 0?"div":b,x=e.gapMode,w=t1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=h,P=e3([r,t]),S=ar(ar({},w),o);return kt.createElement(kt.Fragment,null,p&&kt.createElement(D,{sideCar:o1,removeScrollBar:c,shards:d,noIsolation:g,inert:v,setCallbacks:a,allowPinchZoom:!!m,lockRef:r,gapMode:x}),s?kt.cloneElement(kt.Children.only(l),ar(ar({},S),{ref:P})):kt.createElement(y,ar({},S,{className:u,ref:P}),l))});Pu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Pu.classNames={fullWidth:qi,zeroRight:Ki};i();i();import*as $e from"react";i();i();import*as Ss from"react";i();i();i();import*as tF from"react";i();i();var QR;var eF=function(){if(QR)return QR;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function qne(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=eF();return t&&e.setAttribute("nonce",t),e}function Xne(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Yne(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var o3=function(){var e=0,t=null;return{add:function(r){e==0&&(t=qne())&&(Xne(t,r),Yne(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var i3=function(){var e=o3();return function(t,r){tF.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}};var Tu=function(){var e=i3(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t};i();var Jne={left:0,top:0,right:0,gap:0},a3=function(e){return parseInt(e||"",10)||0},Zne=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[a3(r),a3(n),a3(o)]},s3=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Jne;var t=Zne(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 Qne=Tu(),ws="data-scroll-locked",eoe=function(e,t,r,n){var o=e.left,a=e.top,s=e.right,l=e.gap;return r===void 0&&(r="margin"),`
2109
2109
  .`.concat(Zg,` {
2110
2110
  overflow: hidden `).concat(n,`;
2111
2111
  padding-right: `).concat(l,"px ").concat(n,`;
@@ -2145,7 +2145,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2145
2145
  `)},rF=function(){var e=parseInt(document.body.getAttribute(ws)||"0",10);return isFinite(e)?e:0},toe=function(){Ss.useEffect(function(){return document.body.setAttribute(ws,(rF()+1).toString()),function(){var e=rF()-1;e<=0?document.body.removeAttribute(ws):document.body.setAttribute(ws,e.toString())}},[])},l3=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;toe();var a=Ss.useMemo(function(){return s3(o)},[o]);return Ss.createElement(Qne,{styles:eoe(a,!t,o,r?"":"!important")})};i();var u3=!1;if(typeof window<"u")try{Au=Object.defineProperty({},"passive",{get:function(){return u3=!0,!0}}),window.addEventListener("test",Au,Au),window.removeEventListener("test",Au,Au)}catch{u3=!1}var Au,Xi=u3?{passive:!1}:!1;i();var roe=function(e){return e.tagName==="TEXTAREA"},nF=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!roe(e)&&r[t]==="visible")},noe=function(e){return nF(e,"overflowY")},ooe=function(e){return nF(e,"overflowX")},c3=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=oF(e,n);if(o){var a=iF(e,n),s=a[1],l=a[2];if(s>l)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},ioe=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},aoe=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},oF=function(e,t){return e==="v"?noe(t):ooe(t)},iF=function(e,t){return e==="v"?ioe(t):aoe(t)},soe=function(e,t){return e==="h"&&t==="rtl"?-1:1},aF=function(e,t,r,n,o){var a=soe(e,window.getComputedStyle(t).direction),s=a*n,l=r.target,u=t.contains(l),c=!1,p=s>0,d=0,h=0;do{var g=iF(e,l),v=g[0],m=g[1],b=g[2],y=m-b-a*v;(v||y)&&oF(e,l)&&(d+=y,h+=v),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return(p&&(o&&Math.abs(d)<1||!o&&s>d)||!p&&(o&&Math.abs(h)<1||!o&&-s>h))&&(c=!0),c};var i1=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},sF=function(e){return[e.deltaX,e.deltaY]},lF=function(e){return e&&"current"in e?e.current:e},loe=function(e,t){return e[0]===t[0]&&e[1]===t[1]},uoe=function(e){return`
2146
2146
  .block-interactivity-`.concat(e,` {pointer-events: none;}
2147
2147
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
2148
- `)},coe=0,Ds=[];function uF(e){var t=$e.useRef([]),r=$e.useRef([0,0]),n=$e.useRef(),o=$e.useState(coe++)[0],a=$e.useState(Pu)[0],s=$e.useRef(e);$e.useEffect(function(){s.current=e},[e]),$e.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=qR([e.lockRef.current],(e.shards||[]).map(lF),!0).filter(Boolean);return m.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=$e.useCallback(function(m,b){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!s.current.allowPinchZoom;var y=i1(m),x=r.current,w="deltaX"in m?m.deltaX:x[0]-y[0],D="deltaY"in m?m.deltaY:x[1]-y[1],T,S=m.target,E=Math.abs(w)>Math.abs(D)?"h":"v";if("touches"in m&&E==="h"&&S.type==="range")return!1;var R=c3(E,S);if(!R)return!0;if(R?T=E:(T=E==="v"?"h":"v",R=c3(E,S)),!R)return!1;if(!n.current&&"changedTouches"in m&&(w||D)&&(n.current=T),!T)return!0;var B=n.current||T;return aF(B,b,m,B==="h"?w:D,!0)},[]),u=$e.useCallback(function(m){var b=m;if(!(!Ds.length||Ds[Ds.length-1]!==a)){var y="deltaY"in b?sF(b):i1(b),x=t.current.filter(function(T){return T.name===b.type&&(T.target===b.target||b.target===T.shadowParent)&&loe(T.delta,y)})[0];if(x&&x.should){b.cancelable&&b.preventDefault();return}if(!x){var w=(s.current.shards||[]).map(lF).filter(Boolean).filter(function(T){return T.contains(b.target)}),D=w.length>0?l(b,w[0]):!s.current.noIsolation;D&&b.cancelable&&b.preventDefault()}}},[]),c=$e.useCallback(function(m,b,y,x){var w={name:m,delta:b,target:y,should:x,shadowParent:foe(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(D){return D!==w})},1)},[]),p=$e.useCallback(function(m){r.current=i1(m),n.current=void 0},[]),d=$e.useCallback(function(m){c(m.type,sF(m),m.target,l(m,e.lockRef.current))},[]),h=$e.useCallback(function(m){c(m.type,i1(m),m.target,l(m,e.lockRef.current))},[]);$e.useEffect(function(){return Ds.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",u,Xi),document.addEventListener("touchmove",u,Xi),document.addEventListener("touchstart",p,Xi),function(){Ds=Ds.filter(function(m){return m!==a}),document.removeEventListener("wheel",u,Xi),document.removeEventListener("touchmove",u,Xi),document.removeEventListener("touchstart",p,Xi)}},[]);var g=e.removeScrollBar,v=e.inert;return $e.createElement($e.Fragment,null,v?$e.createElement(a,{styles:uoe(o)}):null,g?$e.createElement(l3,{gapMode:e.gapMode}):null)}function foe(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var cF=r3(o1,uF);var fF=a1.forwardRef(function(e,t){return a1.createElement(Tu,ar({},e,{ref:t,sideCar:cF}))});fF.classNames=Tu.classNames;var f3=fF;import{jsx as ce}from"react/jsx-runtime";var p3=["Enter"," "],poe=["ArrowDown","PageUp","Home"],dF=["ArrowUp","PageDown","End"],doe=[...poe,...dF],moe={ltr:[...p3,"ArrowRight"],rtl:[...p3,"ArrowLeft"]},hoe={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Ou="Menu",[Fu,goe,voe]=Nd(Ou),[Yi,d3]=mn(Ou,[voe,Wg,Yg]),Mu=Wg(),mF=Yg(),[hF,jo]=Yi(Ou),[yoe,Iu]=Yi(Ou),gF=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:a,modal:s=!0}=e,l=Mu(t),[u,c]=ne.useState(null),p=ne.useRef(!1),d=It(a),h=$d(o);return ne.useEffect(()=>{let g=()=>{p.current=!0,document.addEventListener("pointerdown",v,{capture:!0,once:!0}),document.addEventListener("pointermove",v,{capture:!0,once:!0})},v=()=>p.current=!1;return document.addEventListener("keydown",g,{capture:!0}),()=>{document.removeEventListener("keydown",g,{capture:!0}),document.removeEventListener("pointerdown",v,{capture:!0}),document.removeEventListener("pointermove",v,{capture:!0})}},[]),ce(Ug,{...l,children:ce(hF,{scope:t,open:r,onOpenChange:d,content:u,onContentChange:c,children:ce(yoe,{scope:t,onClose:ne.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:p,dir:h,modal:s,children:n})})})};gF.displayName=Ou;var boe="MenuAnchor",m3=ne.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=Mu(r);return ce(kR,{...o,...n,ref:t})});m3.displayName=boe;var h3="MenuPortal",[Coe,vF]=Yi(h3,{forceMount:void 0}),yF=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,a=jo(h3,t);return ce(Coe,{scope:t,forceMount:r,children:ce(Cs,{present:r||a.open,children:ce(Kg,{asChild:!0,container:o,children:n})})})};yF.displayName=h3;var Mr="MenuContent",[xoe,g3]=Yi(Mr),bF=ne.forwardRef((e,t)=>{let r=vF(Mr,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=jo(Mr,e.__scopeMenu),s=Iu(Mr,e.__scopeMenu);return ce(Fu.Provider,{scope:e.__scopeMenu,children:ce(Cs,{present:n||a.open,children:ce(Fu.Slot,{scope:e.__scopeMenu,children:s.modal?ce(woe,{...o,ref:t}):ce(Soe,{...o,ref:t})})})})}),woe=ne.forwardRef((e,t)=>{let r=jo(Mr,e.__scopeMenu),n=ne.useRef(null),o=et(t,n);return ne.useEffect(()=>{let a=n.current;if(a)return KR(a)},[]),ce(v3,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:be(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),Soe=ne.forwardRef((e,t)=>{let r=jo(Mr,e.__scopeMenu);return ce(v3,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),Doe=Ni("MenuContent.ScrollLock"),v3=ne.forwardRef((e,t)=>{let{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:s,disableOutsidePointerEvents:l,onEntryFocus:u,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:h,onDismiss:g,disableOutsideScroll:v,...m}=e,b=jo(Mr,r),y=Iu(Mr,r),x=Mu(r),w=mF(r),D=goe(r),[T,S]=ne.useState(null),E=ne.useRef(null),R=et(t,E,b.onContentChange),B=ne.useRef(0),k=ne.useRef(""),j=ne.useRef(0),I=ne.useRef(null),V=ne.useRef("right"),N=ne.useRef(0),H=v?f3:ne.Fragment,Z=v?{as:Doe,allowPinchZoom:!0}:void 0,Q=G=>{let re=k.current+G,de=D().filter(W=>!W.disabled),pe=document.activeElement,je=de.find(W=>W.ref.current===pe)?.textValue,A=de.map(W=>W.textValue),_=Voe(A,re,je),z=de.find(W=>W.textValue===_)?.ref.current;(function W(se){k.current=se,window.clearTimeout(B.current),se!==""&&(B.current=window.setTimeout(()=>W(""),1e3))})(re),z&&setTimeout(()=>z.focus())};ne.useEffect(()=>()=>window.clearTimeout(B.current),[]),wA();let X=ne.useCallback(G=>V.current===I.current?.side&&Loe(G,I.current?.area),[]);return ce(xoe,{scope:r,searchRef:k,onItemEnter:ne.useCallback(G=>{X(G)&&G.preventDefault()},[X]),onItemLeave:ne.useCallback(G=>{X(G)||(E.current?.focus(),S(null))},[X]),onTriggerLeave:ne.useCallback(G=>{X(G)&&G.preventDefault()},[X]),pointerGraceTimerRef:j,onPointerGraceIntentChange:ne.useCallback(G=>{I.current=G},[]),children:ce(H,{...Z,children:ce(Mg,{asChild:!0,trapped:o,onMountAutoFocus:be(a,G=>{G.preventDefault(),E.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:ce(Rg,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:h,onDismiss:g,children:ce(WR,{asChild:!0,...w,dir:y.dir,orientation:"vertical",loop:n,currentTabStopId:T,onCurrentTabStopIdChange:S,onEntryFocus:be(u,G=>{y.isUsingKeyboardRef.current||G.preventDefault()}),preventScrollOnEntryFocus:!0,children:ce(VR,{role:"menu","aria-orientation":"vertical","data-state":VF(b.open),"data-radix-menu-content":"",dir:y.dir,...x,...m,ref:R,style:{outline:"none",...m.style},onKeyDown:be(m.onKeyDown,G=>{let de=G.target.closest("[data-radix-menu-content]")===G.currentTarget,pe=G.ctrlKey||G.altKey||G.metaKey,je=G.key.length===1;de&&(G.key==="Tab"&&G.preventDefault(),!pe&&je&&Q(G.key));let A=E.current;if(G.target!==A||!doe.includes(G.key))return;G.preventDefault();let z=D().filter(W=>!W.disabled).map(W=>W.ref.current);dF.includes(G.key)&&z.reverse(),Ioe(z)}),onBlur:be(e.onBlur,G=>{G.currentTarget.contains(G.target)||(window.clearTimeout(B.current),k.current="")}),onPointerMove:be(e.onPointerMove,Bu(G=>{let re=G.target,de=N.current!==G.clientX;if(G.currentTarget.contains(re)&&de){let pe=G.clientX>N.current?"right":"left";V.current=pe,N.current=G.clientX}}))})})})})})})});bF.displayName=Mr;var Eoe="MenuGroup",y3=ne.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return ce(qe.div,{role:"group",...n,ref:t})});y3.displayName=Eoe;var Toe="MenuLabel",CF=ne.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return ce(qe.div,{...n,ref:t})});CF.displayName=Toe;var s1="MenuItem",pF="menu.itemSelect",u1=ne.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:n,...o}=e,a=ne.useRef(null),s=Iu(s1,e.__scopeMenu),l=g3(s1,e.__scopeMenu),u=et(t,a),c=ne.useRef(!1),p=()=>{let d=a.current;if(!r&&d){let h=new CustomEvent(pF,{bubbles:!0,cancelable:!0});d.addEventListener(pF,g=>n?.(g),{once:!0}),Vd(d,h),h.defaultPrevented?c.current=!1:s.onClose()}};return ce(xF,{...o,ref:u,disabled:r,onClick:be(e.onClick,p),onPointerDown:d=>{e.onPointerDown?.(d),c.current=!0},onPointerUp:be(e.onPointerUp,d=>{c.current||d.currentTarget?.click()}),onKeyDown:be(e.onKeyDown,d=>{let h=l.searchRef.current!=="";r||h&&d.key===" "||p3.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});u1.displayName=s1;var xF=ne.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:n=!1,textValue:o,...a}=e,s=g3(s1,r),l=mF(r),u=ne.useRef(null),c=et(t,u),[p,d]=ne.useState(!1),[h,g]=ne.useState("");return ne.useEffect(()=>{let v=u.current;v&&g((v.textContent??"").trim())},[a.children]),ce(Fu.ItemSlot,{scope:r,disabled:n,textValue:o??h,children:ce(_R,{asChild:!0,...l,focusable:!n,children:ce(qe.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...a,ref:c,onPointerMove:be(e.onPointerMove,Bu(v=>{n?s.onItemLeave(v):(s.onItemEnter(v),v.defaultPrevented||v.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:be(e.onPointerLeave,Bu(v=>s.onItemLeave(v))),onFocus:be(e.onFocus,()=>d(!0)),onBlur:be(e.onBlur,()=>d(!1))})})})}),Poe="MenuCheckboxItem",wF=ne.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...o}=e;return ce(PF,{scope:e.__scopeMenu,checked:r,children:ce(u1,{role:"menuitemcheckbox","aria-checked":l1(r)?"mixed":r,...o,ref:t,"data-state":x3(r),onSelect:be(o.onSelect,()=>n?.(l1(r)?!0:!r),{checkForDefaultPrevented:!1})})})});wF.displayName=Poe;var SF="MenuRadioGroup",[Aoe,Roe]=Yi(SF,{value:void 0,onValueChange:()=>{}}),DF=ne.forwardRef((e,t)=>{let{value:r,onValueChange:n,...o}=e,a=It(n);return ce(Aoe,{scope:e.__scopeMenu,value:r,onValueChange:a,children:ce(y3,{...o,ref:t})})});DF.displayName=SF;var EF="MenuRadioItem",TF=ne.forwardRef((e,t)=>{let{value:r,...n}=e,o=Roe(EF,e.__scopeMenu),a=r===o.value;return ce(PF,{scope:e.__scopeMenu,checked:a,children:ce(u1,{role:"menuitemradio","aria-checked":a,...n,ref:t,"data-state":x3(a),onSelect:be(n.onSelect,()=>o.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});TF.displayName=EF;var b3="MenuItemIndicator",[PF,Foe]=Yi(b3,{checked:!1}),AF=ne.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,a=Foe(b3,r);return ce(Cs,{present:n||l1(a.checked)||a.checked===!0,children:ce(qe.span,{...o,ref:t,"data-state":x3(a.checked)})})});AF.displayName=b3;var Boe="MenuSeparator",RF=ne.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return ce(qe.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});RF.displayName=Boe;var Ooe="MenuArrow",FF=ne.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=Mu(r);return ce(NR,{...o,...n,ref:t})});FF.displayName=Ooe;var C3="MenuSub",[Moe,BF]=Yi(C3),OF=e=>{let{__scopeMenu:t,children:r,open:n=!1,onOpenChange:o}=e,a=jo(C3,t),s=Mu(t),[l,u]=ne.useState(null),[c,p]=ne.useState(null),d=It(o);return ne.useEffect(()=>(a.open===!1&&d(!1),()=>d(!1)),[a.open,d]),ce(Ug,{...s,children:ce(hF,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:p,children:ce(Moe,{scope:t,contentId:Ho(),triggerId:Ho(),trigger:l,onTriggerChange:u,children:r})})})};OF.displayName=C3;var Ru="MenuSubTrigger",MF=ne.forwardRef((e,t)=>{let r=jo(Ru,e.__scopeMenu),n=Iu(Ru,e.__scopeMenu),o=BF(Ru,e.__scopeMenu),a=g3(Ru,e.__scopeMenu),s=ne.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:u}=a,c={__scopeMenu:e.__scopeMenu},p=ne.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return ne.useEffect(()=>p,[p]),ne.useEffect(()=>{let d=l.current;return()=>{window.clearTimeout(d),u(null)}},[l,u]),ce(m3,{asChild:!0,...c,children:ce(xF,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":VF(r.open),...e,ref:Vi(t,o.onTriggerChange),onClick:d=>{e.onClick?.(d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:be(e.onPointerMove,Bu(d=>{a.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!r.open&&!s.current&&(a.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{r.onOpenChange(!0),p()},100))})),onPointerLeave:be(e.onPointerLeave,Bu(d=>{p();let h=r.content?.getBoundingClientRect();if(h){let g=r.content?.dataset.side,v=g==="right",m=v?-5:5,b=h[v?"left":"right"],y=h[v?"right":"left"];a.onPointerGraceIntentChange({area:[{x:d.clientX+m,y:d.clientY},{x:b,y:h.top},{x:y,y:h.top},{x:y,y:h.bottom},{x:b,y:h.bottom}],side:g}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(d),d.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:be(e.onKeyDown,d=>{let h=a.searchRef.current!=="";e.disabled||h&&d.key===" "||moe[n.dir].includes(d.key)&&(r.onOpenChange(!0),r.content?.focus(),d.preventDefault())})})})});MF.displayName=Ru;var IF="MenuSubContent",kF=ne.forwardRef((e,t)=>{let r=vF(Mr,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=jo(Mr,e.__scopeMenu),s=Iu(Mr,e.__scopeMenu),l=BF(IF,e.__scopeMenu),u=ne.useRef(null),c=et(t,u);return ce(Fu.Provider,{scope:e.__scopeMenu,children:ce(Cs,{present:n||a.open,children:ce(Fu.Slot,{scope:e.__scopeMenu,children:ce(v3,{id:l.contentId,"aria-labelledby":l.triggerId,...o,ref:c,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{s.isUsingKeyboardRef.current&&u.current?.focus(),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:be(e.onFocusOutside,p=>{p.target!==l.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:be(e.onEscapeKeyDown,p=>{s.onClose(),p.preventDefault()}),onKeyDown:be(e.onKeyDown,p=>{let d=p.currentTarget.contains(p.target),h=hoe[s.dir].includes(p.key);d&&h&&(a.onOpenChange(!1),l.trigger?.focus(),p.preventDefault())})})})})})});kF.displayName=IF;function VF(e){return e?"open":"closed"}function l1(e){return e==="indeterminate"}function x3(e){return l1(e)?"indeterminate":e?"checked":"unchecked"}function Ioe(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function koe(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function Voe(e,t,r){let o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,a=r?e.indexOf(r):-1,s=koe(e,Math.max(a,0));o.length===1&&(s=s.filter(c=>c!==r));let u=s.find(c=>c.toLowerCase().startsWith(o.toLowerCase()));return u!==r?u:void 0}function Noe(e,t){let{x:r,y:n}=e,o=!1;for(let a=0,s=t.length-1;a<t.length;s=a++){let l=t[a],u=t[s],c=l.x,p=l.y,d=u.x,h=u.y;p>n!=h>n&&r<(d-c)*(n-p)/(h-p)+c&&(o=!o)}return o}function Loe(e,t){if(!t)return!1;let r={x:e.clientX,y:e.clientY};return Noe(r,t)}function Bu(e){return t=>t.pointerType==="mouse"?e(t):void 0}var NF=gF,LF=m3,$F=yF,zF=bF,GF=y3,HF=CF,jF=u1,WF=wF,_F=DF,UF=TF,KF=AF,qF=RF,XF=FF,YF=OF,JF=MF,ZF=kF;import{jsx as xt}from"react/jsx-runtime";var c1="DropdownMenu",[zoe,Dpt]=mn(c1,[d3]),Vt=d3(),[Goe,QF]=zoe(c1),w3=e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:a,onOpenChange:s,modal:l=!0}=e,u=Vt(t),c=pt.useRef(null),[p,d]=bu({prop:o,defaultProp:a??!1,onChange:s,caller:c1});return xt(Goe,{scope:t,triggerId:Ho(),triggerRef:c,contentId:Ho(),open:p,onOpenChange:d,onOpenToggle:pt.useCallback(()=>d(h=>!h),[d]),modal:l,children:xt(NF,{...u,open:p,onOpenChange:d,dir:n,modal:l,children:r})})};w3.displayName=c1;var eB="DropdownMenuTrigger",S3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,a=QF(eB,r),s=Vt(r);return xt(LF,{asChild:!0,...s,children:xt(qe.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...o,ref:Vi(t,a.triggerRef),onPointerDown:be(e.onPointerDown,l=>{!n&&l.button===0&&l.ctrlKey===!1&&(a.onOpenToggle(),a.open||l.preventDefault())}),onKeyDown:be(e.onKeyDown,l=>{n||(["Enter"," "].includes(l.key)&&a.onOpenToggle(),l.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())})})})});S3.displayName=eB;var Hoe="DropdownMenuPortal",ku=e=>{let{__scopeDropdownMenu:t,...r}=e,n=Vt(t);return xt($F,{...n,...r})};ku.displayName=Hoe;var tB="DropdownMenuContent",D3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=QF(tB,r),a=Vt(r),s=pt.useRef(!1);return xt(zF,{id:o.contentId,"aria-labelledby":o.triggerId,...a,...n,ref:t,onCloseAutoFocus:be(e.onCloseAutoFocus,l=>{s.current||o.triggerRef.current?.focus(),s.current=!1,l.preventDefault()}),onInteractOutside:be(e.onInteractOutside,l=>{let u=l.detail.originalEvent,c=u.button===0&&u.ctrlKey===!0,p=u.button===2||c;(!o.modal||p)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});D3.displayName=tB;var joe="DropdownMenuGroup",E3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(GF,{...o,...n,ref:t})});E3.displayName=joe;var Woe="DropdownMenuLabel",T3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(HF,{...o,...n,ref:t})});T3.displayName=Woe;var _oe="DropdownMenuItem",f1=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(jF,{...o,...n,ref:t})});f1.displayName=_oe;var Uoe="DropdownMenuCheckboxItem",P3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(WF,{...o,...n,ref:t})});P3.displayName=Uoe;var Koe="DropdownMenuRadioGroup",rB=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(_F,{...o,...n,ref:t})});rB.displayName=Koe;var qoe="DropdownMenuRadioItem",A3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(UF,{...o,...n,ref:t})});A3.displayName=qoe;var Xoe="DropdownMenuItemIndicator",p1=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(KF,{...o,...n,ref:t})});p1.displayName=Xoe;var Yoe="DropdownMenuSeparator",Joe=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(qF,{...o,...n,ref:t})});Joe.displayName=Yoe;var Zoe="DropdownMenuArrow",Qoe=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(XF,{...o,...n,ref:t})});Qoe.displayName=Zoe;var nB=e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:a}=e,s=Vt(t),[l,u]=bu({prop:n,defaultProp:a??!1,onChange:o,caller:"DropdownMenuSub"});return xt(YF,{...s,open:l,onOpenChange:u,children:r})},eie="DropdownMenuSubTrigger",R3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(JF,{...o,...n,ref:t})});R3.displayName=eie;var tie="DropdownMenuSubContent",F3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(ZF,{...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)"}})});F3.displayName=tie;i();import rie,{css as nie,keyframes as oB}from"styled-components";import{jsx as m1,jsxs as sie}from"react/jsx-runtime";var d1="8px",oie=oB`
2148
+ `)},coe=0,Ds=[];function uF(e){var t=$e.useRef([]),r=$e.useRef([0,0]),n=$e.useRef(),o=$e.useState(coe++)[0],a=$e.useState(Tu)[0],s=$e.useRef(e);$e.useEffect(function(){s.current=e},[e]),$e.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=qR([e.lockRef.current],(e.shards||[]).map(lF),!0).filter(Boolean);return m.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=$e.useCallback(function(m,b){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!s.current.allowPinchZoom;var y=i1(m),x=r.current,w="deltaX"in m?m.deltaX:x[0]-y[0],D="deltaY"in m?m.deltaY:x[1]-y[1],P,S=m.target,E=Math.abs(w)>Math.abs(D)?"h":"v";if("touches"in m&&E==="h"&&S.type==="range")return!1;var R=c3(E,S);if(!R)return!0;if(R?P=E:(P=E==="v"?"h":"v",R=c3(E,S)),!R)return!1;if(!n.current&&"changedTouches"in m&&(w||D)&&(n.current=P),!P)return!0;var B=n.current||P;return aF(B,b,m,B==="h"?w:D,!0)},[]),u=$e.useCallback(function(m){var b=m;if(!(!Ds.length||Ds[Ds.length-1]!==a)){var y="deltaY"in b?sF(b):i1(b),x=t.current.filter(function(P){return P.name===b.type&&(P.target===b.target||b.target===P.shadowParent)&&loe(P.delta,y)})[0];if(x&&x.should){b.cancelable&&b.preventDefault();return}if(!x){var w=(s.current.shards||[]).map(lF).filter(Boolean).filter(function(P){return P.contains(b.target)}),D=w.length>0?l(b,w[0]):!s.current.noIsolation;D&&b.cancelable&&b.preventDefault()}}},[]),c=$e.useCallback(function(m,b,y,x){var w={name:m,delta:b,target:y,should:x,shadowParent:foe(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(D){return D!==w})},1)},[]),p=$e.useCallback(function(m){r.current=i1(m),n.current=void 0},[]),d=$e.useCallback(function(m){c(m.type,sF(m),m.target,l(m,e.lockRef.current))},[]),h=$e.useCallback(function(m){c(m.type,i1(m),m.target,l(m,e.lockRef.current))},[]);$e.useEffect(function(){return Ds.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",u,Xi),document.addEventListener("touchmove",u,Xi),document.addEventListener("touchstart",p,Xi),function(){Ds=Ds.filter(function(m){return m!==a}),document.removeEventListener("wheel",u,Xi),document.removeEventListener("touchmove",u,Xi),document.removeEventListener("touchstart",p,Xi)}},[]);var g=e.removeScrollBar,v=e.inert;return $e.createElement($e.Fragment,null,v?$e.createElement(a,{styles:uoe(o)}):null,g?$e.createElement(l3,{gapMode:e.gapMode}):null)}function foe(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var cF=r3(o1,uF);var fF=a1.forwardRef(function(e,t){return a1.createElement(Pu,ar({},e,{ref:t,sideCar:cF}))});fF.classNames=Pu.classNames;var f3=fF;import{jsx as ce}from"react/jsx-runtime";var p3=["Enter"," "],poe=["ArrowDown","PageUp","Home"],dF=["ArrowUp","PageDown","End"],doe=[...poe,...dF],moe={ltr:[...p3,"ArrowRight"],rtl:[...p3,"ArrowLeft"]},hoe={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Ou="Menu",[Fu,goe,voe]=Nd(Ou),[Yi,d3]=mn(Ou,[voe,Wg,Yg]),Mu=Wg(),mF=Yg(),[hF,jo]=Yi(Ou),[yoe,Iu]=Yi(Ou),gF=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:a,modal:s=!0}=e,l=Mu(t),[u,c]=ne.useState(null),p=ne.useRef(!1),d=It(a),h=$d(o);return ne.useEffect(()=>{let g=()=>{p.current=!0,document.addEventListener("pointerdown",v,{capture:!0,once:!0}),document.addEventListener("pointermove",v,{capture:!0,once:!0})},v=()=>p.current=!1;return document.addEventListener("keydown",g,{capture:!0}),()=>{document.removeEventListener("keydown",g,{capture:!0}),document.removeEventListener("pointerdown",v,{capture:!0}),document.removeEventListener("pointermove",v,{capture:!0})}},[]),ce(Ug,{...l,children:ce(hF,{scope:t,open:r,onOpenChange:d,content:u,onContentChange:c,children:ce(yoe,{scope:t,onClose:ne.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:p,dir:h,modal:s,children:n})})})};gF.displayName=Ou;var boe="MenuAnchor",m3=ne.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=Mu(r);return ce(kR,{...o,...n,ref:t})});m3.displayName=boe;var h3="MenuPortal",[Coe,vF]=Yi(h3,{forceMount:void 0}),yF=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,a=jo(h3,t);return ce(Coe,{scope:t,forceMount:r,children:ce(Cs,{present:r||a.open,children:ce(Kg,{asChild:!0,container:o,children:n})})})};yF.displayName=h3;var Mr="MenuContent",[xoe,g3]=Yi(Mr),bF=ne.forwardRef((e,t)=>{let r=vF(Mr,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=jo(Mr,e.__scopeMenu),s=Iu(Mr,e.__scopeMenu);return ce(Fu.Provider,{scope:e.__scopeMenu,children:ce(Cs,{present:n||a.open,children:ce(Fu.Slot,{scope:e.__scopeMenu,children:s.modal?ce(woe,{...o,ref:t}):ce(Soe,{...o,ref:t})})})})}),woe=ne.forwardRef((e,t)=>{let r=jo(Mr,e.__scopeMenu),n=ne.useRef(null),o=et(t,n);return ne.useEffect(()=>{let a=n.current;if(a)return KR(a)},[]),ce(v3,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:be(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),Soe=ne.forwardRef((e,t)=>{let r=jo(Mr,e.__scopeMenu);return ce(v3,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),Doe=Ni("MenuContent.ScrollLock"),v3=ne.forwardRef((e,t)=>{let{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:s,disableOutsidePointerEvents:l,onEntryFocus:u,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:h,onDismiss:g,disableOutsideScroll:v,...m}=e,b=jo(Mr,r),y=Iu(Mr,r),x=Mu(r),w=mF(r),D=goe(r),[P,S]=ne.useState(null),E=ne.useRef(null),R=et(t,E,b.onContentChange),B=ne.useRef(0),k=ne.useRef(""),j=ne.useRef(0),I=ne.useRef(null),V=ne.useRef("right"),N=ne.useRef(0),H=v?f3:ne.Fragment,Z=v?{as:Doe,allowPinchZoom:!0}:void 0,Q=G=>{let re=k.current+G,de=D().filter(W=>!W.disabled),pe=document.activeElement,je=de.find(W=>W.ref.current===pe)?.textValue,A=de.map(W=>W.textValue),_=Voe(A,re,je),z=de.find(W=>W.textValue===_)?.ref.current;(function W(se){k.current=se,window.clearTimeout(B.current),se!==""&&(B.current=window.setTimeout(()=>W(""),1e3))})(re),z&&setTimeout(()=>z.focus())};ne.useEffect(()=>()=>window.clearTimeout(B.current),[]),wA();let X=ne.useCallback(G=>V.current===I.current?.side&&Loe(G,I.current?.area),[]);return ce(xoe,{scope:r,searchRef:k,onItemEnter:ne.useCallback(G=>{X(G)&&G.preventDefault()},[X]),onItemLeave:ne.useCallback(G=>{X(G)||(E.current?.focus(),S(null))},[X]),onTriggerLeave:ne.useCallback(G=>{X(G)&&G.preventDefault()},[X]),pointerGraceTimerRef:j,onPointerGraceIntentChange:ne.useCallback(G=>{I.current=G},[]),children:ce(H,{...Z,children:ce(Mg,{asChild:!0,trapped:o,onMountAutoFocus:be(a,G=>{G.preventDefault(),E.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:ce(Rg,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:h,onDismiss:g,children:ce(WR,{asChild:!0,...w,dir:y.dir,orientation:"vertical",loop:n,currentTabStopId:P,onCurrentTabStopIdChange:S,onEntryFocus:be(u,G=>{y.isUsingKeyboardRef.current||G.preventDefault()}),preventScrollOnEntryFocus:!0,children:ce(VR,{role:"menu","aria-orientation":"vertical","data-state":VF(b.open),"data-radix-menu-content":"",dir:y.dir,...x,...m,ref:R,style:{outline:"none",...m.style},onKeyDown:be(m.onKeyDown,G=>{let de=G.target.closest("[data-radix-menu-content]")===G.currentTarget,pe=G.ctrlKey||G.altKey||G.metaKey,je=G.key.length===1;de&&(G.key==="Tab"&&G.preventDefault(),!pe&&je&&Q(G.key));let A=E.current;if(G.target!==A||!doe.includes(G.key))return;G.preventDefault();let z=D().filter(W=>!W.disabled).map(W=>W.ref.current);dF.includes(G.key)&&z.reverse(),Ioe(z)}),onBlur:be(e.onBlur,G=>{G.currentTarget.contains(G.target)||(window.clearTimeout(B.current),k.current="")}),onPointerMove:be(e.onPointerMove,Bu(G=>{let re=G.target,de=N.current!==G.clientX;if(G.currentTarget.contains(re)&&de){let pe=G.clientX>N.current?"right":"left";V.current=pe,N.current=G.clientX}}))})})})})})})});bF.displayName=Mr;var Eoe="MenuGroup",y3=ne.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return ce(qe.div,{role:"group",...n,ref:t})});y3.displayName=Eoe;var Poe="MenuLabel",CF=ne.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return ce(qe.div,{...n,ref:t})});CF.displayName=Poe;var s1="MenuItem",pF="menu.itemSelect",u1=ne.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:n,...o}=e,a=ne.useRef(null),s=Iu(s1,e.__scopeMenu),l=g3(s1,e.__scopeMenu),u=et(t,a),c=ne.useRef(!1),p=()=>{let d=a.current;if(!r&&d){let h=new CustomEvent(pF,{bubbles:!0,cancelable:!0});d.addEventListener(pF,g=>n?.(g),{once:!0}),Vd(d,h),h.defaultPrevented?c.current=!1:s.onClose()}};return ce(xF,{...o,ref:u,disabled:r,onClick:be(e.onClick,p),onPointerDown:d=>{e.onPointerDown?.(d),c.current=!0},onPointerUp:be(e.onPointerUp,d=>{c.current||d.currentTarget?.click()}),onKeyDown:be(e.onKeyDown,d=>{let h=l.searchRef.current!=="";r||h&&d.key===" "||p3.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});u1.displayName=s1;var xF=ne.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:n=!1,textValue:o,...a}=e,s=g3(s1,r),l=mF(r),u=ne.useRef(null),c=et(t,u),[p,d]=ne.useState(!1),[h,g]=ne.useState("");return ne.useEffect(()=>{let v=u.current;v&&g((v.textContent??"").trim())},[a.children]),ce(Fu.ItemSlot,{scope:r,disabled:n,textValue:o??h,children:ce(_R,{asChild:!0,...l,focusable:!n,children:ce(qe.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...a,ref:c,onPointerMove:be(e.onPointerMove,Bu(v=>{n?s.onItemLeave(v):(s.onItemEnter(v),v.defaultPrevented||v.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:be(e.onPointerLeave,Bu(v=>s.onItemLeave(v))),onFocus:be(e.onFocus,()=>d(!0)),onBlur:be(e.onBlur,()=>d(!1))})})})}),Toe="MenuCheckboxItem",wF=ne.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...o}=e;return ce(TF,{scope:e.__scopeMenu,checked:r,children:ce(u1,{role:"menuitemcheckbox","aria-checked":l1(r)?"mixed":r,...o,ref:t,"data-state":x3(r),onSelect:be(o.onSelect,()=>n?.(l1(r)?!0:!r),{checkForDefaultPrevented:!1})})})});wF.displayName=Toe;var SF="MenuRadioGroup",[Aoe,Roe]=Yi(SF,{value:void 0,onValueChange:()=>{}}),DF=ne.forwardRef((e,t)=>{let{value:r,onValueChange:n,...o}=e,a=It(n);return ce(Aoe,{scope:e.__scopeMenu,value:r,onValueChange:a,children:ce(y3,{...o,ref:t})})});DF.displayName=SF;var EF="MenuRadioItem",PF=ne.forwardRef((e,t)=>{let{value:r,...n}=e,o=Roe(EF,e.__scopeMenu),a=r===o.value;return ce(TF,{scope:e.__scopeMenu,checked:a,children:ce(u1,{role:"menuitemradio","aria-checked":a,...n,ref:t,"data-state":x3(a),onSelect:be(n.onSelect,()=>o.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});PF.displayName=EF;var b3="MenuItemIndicator",[TF,Foe]=Yi(b3,{checked:!1}),AF=ne.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,a=Foe(b3,r);return ce(Cs,{present:n||l1(a.checked)||a.checked===!0,children:ce(qe.span,{...o,ref:t,"data-state":x3(a.checked)})})});AF.displayName=b3;var Boe="MenuSeparator",RF=ne.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return ce(qe.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});RF.displayName=Boe;var Ooe="MenuArrow",FF=ne.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=Mu(r);return ce(NR,{...o,...n,ref:t})});FF.displayName=Ooe;var C3="MenuSub",[Moe,BF]=Yi(C3),OF=e=>{let{__scopeMenu:t,children:r,open:n=!1,onOpenChange:o}=e,a=jo(C3,t),s=Mu(t),[l,u]=ne.useState(null),[c,p]=ne.useState(null),d=It(o);return ne.useEffect(()=>(a.open===!1&&d(!1),()=>d(!1)),[a.open,d]),ce(Ug,{...s,children:ce(hF,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:p,children:ce(Moe,{scope:t,contentId:Ho(),triggerId:Ho(),trigger:l,onTriggerChange:u,children:r})})})};OF.displayName=C3;var Ru="MenuSubTrigger",MF=ne.forwardRef((e,t)=>{let r=jo(Ru,e.__scopeMenu),n=Iu(Ru,e.__scopeMenu),o=BF(Ru,e.__scopeMenu),a=g3(Ru,e.__scopeMenu),s=ne.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:u}=a,c={__scopeMenu:e.__scopeMenu},p=ne.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return ne.useEffect(()=>p,[p]),ne.useEffect(()=>{let d=l.current;return()=>{window.clearTimeout(d),u(null)}},[l,u]),ce(m3,{asChild:!0,...c,children:ce(xF,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":VF(r.open),...e,ref:Vi(t,o.onTriggerChange),onClick:d=>{e.onClick?.(d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:be(e.onPointerMove,Bu(d=>{a.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!r.open&&!s.current&&(a.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{r.onOpenChange(!0),p()},100))})),onPointerLeave:be(e.onPointerLeave,Bu(d=>{p();let h=r.content?.getBoundingClientRect();if(h){let g=r.content?.dataset.side,v=g==="right",m=v?-5:5,b=h[v?"left":"right"],y=h[v?"right":"left"];a.onPointerGraceIntentChange({area:[{x:d.clientX+m,y:d.clientY},{x:b,y:h.top},{x:y,y:h.top},{x:y,y:h.bottom},{x:b,y:h.bottom}],side:g}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(d),d.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:be(e.onKeyDown,d=>{let h=a.searchRef.current!=="";e.disabled||h&&d.key===" "||moe[n.dir].includes(d.key)&&(r.onOpenChange(!0),r.content?.focus(),d.preventDefault())})})})});MF.displayName=Ru;var IF="MenuSubContent",kF=ne.forwardRef((e,t)=>{let r=vF(Mr,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=jo(Mr,e.__scopeMenu),s=Iu(Mr,e.__scopeMenu),l=BF(IF,e.__scopeMenu),u=ne.useRef(null),c=et(t,u);return ce(Fu.Provider,{scope:e.__scopeMenu,children:ce(Cs,{present:n||a.open,children:ce(Fu.Slot,{scope:e.__scopeMenu,children:ce(v3,{id:l.contentId,"aria-labelledby":l.triggerId,...o,ref:c,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{s.isUsingKeyboardRef.current&&u.current?.focus(),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:be(e.onFocusOutside,p=>{p.target!==l.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:be(e.onEscapeKeyDown,p=>{s.onClose(),p.preventDefault()}),onKeyDown:be(e.onKeyDown,p=>{let d=p.currentTarget.contains(p.target),h=hoe[s.dir].includes(p.key);d&&h&&(a.onOpenChange(!1),l.trigger?.focus(),p.preventDefault())})})})})})});kF.displayName=IF;function VF(e){return e?"open":"closed"}function l1(e){return e==="indeterminate"}function x3(e){return l1(e)?"indeterminate":e?"checked":"unchecked"}function Ioe(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function koe(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function Voe(e,t,r){let o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,a=r?e.indexOf(r):-1,s=koe(e,Math.max(a,0));o.length===1&&(s=s.filter(c=>c!==r));let u=s.find(c=>c.toLowerCase().startsWith(o.toLowerCase()));return u!==r?u:void 0}function Noe(e,t){let{x:r,y:n}=e,o=!1;for(let a=0,s=t.length-1;a<t.length;s=a++){let l=t[a],u=t[s],c=l.x,p=l.y,d=u.x,h=u.y;p>n!=h>n&&r<(d-c)*(n-p)/(h-p)+c&&(o=!o)}return o}function Loe(e,t){if(!t)return!1;let r={x:e.clientX,y:e.clientY};return Noe(r,t)}function Bu(e){return t=>t.pointerType==="mouse"?e(t):void 0}var NF=gF,LF=m3,$F=yF,zF=bF,GF=y3,HF=CF,jF=u1,WF=wF,_F=DF,UF=PF,KF=AF,qF=RF,XF=FF,YF=OF,JF=MF,ZF=kF;import{jsx as xt}from"react/jsx-runtime";var c1="DropdownMenu",[zoe,Dpt]=mn(c1,[d3]),Vt=d3(),[Goe,QF]=zoe(c1),w3=e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:a,onOpenChange:s,modal:l=!0}=e,u=Vt(t),c=pt.useRef(null),[p,d]=bu({prop:o,defaultProp:a??!1,onChange:s,caller:c1});return xt(Goe,{scope:t,triggerId:Ho(),triggerRef:c,contentId:Ho(),open:p,onOpenChange:d,onOpenToggle:pt.useCallback(()=>d(h=>!h),[d]),modal:l,children:xt(NF,{...u,open:p,onOpenChange:d,dir:n,modal:l,children:r})})};w3.displayName=c1;var eB="DropdownMenuTrigger",S3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,a=QF(eB,r),s=Vt(r);return xt(LF,{asChild:!0,...s,children:xt(qe.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...o,ref:Vi(t,a.triggerRef),onPointerDown:be(e.onPointerDown,l=>{!n&&l.button===0&&l.ctrlKey===!1&&(a.onOpenToggle(),a.open||l.preventDefault())}),onKeyDown:be(e.onKeyDown,l=>{n||(["Enter"," "].includes(l.key)&&a.onOpenToggle(),l.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())})})})});S3.displayName=eB;var Hoe="DropdownMenuPortal",ku=e=>{let{__scopeDropdownMenu:t,...r}=e,n=Vt(t);return xt($F,{...n,...r})};ku.displayName=Hoe;var tB="DropdownMenuContent",D3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=QF(tB,r),a=Vt(r),s=pt.useRef(!1);return xt(zF,{id:o.contentId,"aria-labelledby":o.triggerId,...a,...n,ref:t,onCloseAutoFocus:be(e.onCloseAutoFocus,l=>{s.current||o.triggerRef.current?.focus(),s.current=!1,l.preventDefault()}),onInteractOutside:be(e.onInteractOutside,l=>{let u=l.detail.originalEvent,c=u.button===0&&u.ctrlKey===!0,p=u.button===2||c;(!o.modal||p)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});D3.displayName=tB;var joe="DropdownMenuGroup",E3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(GF,{...o,...n,ref:t})});E3.displayName=joe;var Woe="DropdownMenuLabel",P3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(HF,{...o,...n,ref:t})});P3.displayName=Woe;var _oe="DropdownMenuItem",f1=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(jF,{...o,...n,ref:t})});f1.displayName=_oe;var Uoe="DropdownMenuCheckboxItem",T3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(WF,{...o,...n,ref:t})});T3.displayName=Uoe;var Koe="DropdownMenuRadioGroup",rB=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(_F,{...o,...n,ref:t})});rB.displayName=Koe;var qoe="DropdownMenuRadioItem",A3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(UF,{...o,...n,ref:t})});A3.displayName=qoe;var Xoe="DropdownMenuItemIndicator",p1=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(KF,{...o,...n,ref:t})});p1.displayName=Xoe;var Yoe="DropdownMenuSeparator",Joe=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(qF,{...o,...n,ref:t})});Joe.displayName=Yoe;var Zoe="DropdownMenuArrow",Qoe=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(XF,{...o,...n,ref:t})});Qoe.displayName=Zoe;var nB=e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:a}=e,s=Vt(t),[l,u]=bu({prop:n,defaultProp:a??!1,onChange:o,caller:"DropdownMenuSub"});return xt(YF,{...s,open:l,onOpenChange:u,children:r})},eie="DropdownMenuSubTrigger",R3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(JF,{...o,...n,ref:t})});R3.displayName=eie;var tie="DropdownMenuSubContent",F3=pt.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Vt(r);return xt(ZF,{...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)"}})});F3.displayName=tie;i();import rie,{css as nie,keyframes as oB}from"styled-components";import{jsx as m1,jsxs as sie}from"react/jsx-runtime";var d1="8px",oie=oB`
2149
2149
  from {
2150
2150
  opacity: 0;
2151
2151
  transform: scale(.97) translateY(-8px);
@@ -2219,7 +2219,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2219
2219
  `,cie=e=>{switch(e){case"dangerous":return lie;case"pricing":return uie;case"primary":default:return null}},h1=Es.div`
2220
2220
  ${wo};
2221
2221
  border-radius: 4px;
2222
- ${Tr};
2222
+ ${Pr};
2223
2223
  display: flex;
2224
2224
  gap: ${({theme:e})=>e.spacing.space02};
2225
2225
  justify-content: space-between;
@@ -2269,14 +2269,14 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2269
2269
  grid-row: span 2;
2270
2270
  text-align: center;
2271
2271
  width: 0;
2272
- `,fie=({children:e,label:t,description:r,badge:n,icon:o,renderAs:a,href:s,target:l,variant:u="primary",...c})=>{let p=a;dt(a)&&(p=ee(s)?"a":"div");let d=p==="a"&&ve(l)?{target:l}:{};return tt(f1,{style:{outline:"none"},...c,asChild:!0,children:tt(h1,{$variant:u,as:p,href:s,...d,children:ee(e)?e:Yr(g1,{children:[ee(o)&&tt(y1,{children:o}),Yr(v1,{children:[t," ",n]}),ee(r)?tt(hr,{variant:"caption",children:r}):null]})})})},pie=({children:e,label:t,description:r,badge:n,icon:o,indicator:a=tt(Ee,{size:"sm",type:"checkmark"}),...s})=>tt(P3,{...s,asChild:!0,children:Yr(h1,{children:[ee(e)?e:Yr(g1,{children:[ee(o)?tt(y1,{children:o}):tt(M3,{}),Yr(v1,{children:[t," ",n]}),ee(r)?tt(hr,{variant:"caption",children:r}):null]}),tt(p1,{children:a})]})}),die=({children:e,label:t,badge:r,description:n,icon:o,indicator:a=tt(Ee,{size:"sm",type:"checkmark"}),...s})=>tt(A3,{...s,asChild:!0,children:Yr(h1,{children:[ee(e)?e:Yr(g1,{children:[ee(o)?tt(y1,{children:o}):tt(M3,{}),Yr(v1,{children:[t," ",r]})," ",ee(n)?tt(hr,{variant:"caption",children:n}):null]}),tt(p1,{children:a})]})}),mie=Es(R3)`
2272
+ `,fie=({children:e,label:t,description:r,badge:n,icon:o,renderAs:a,href:s,target:l,variant:u="primary",...c})=>{let p=a;dt(a)&&(p=ee(s)?"a":"div");let d=p==="a"&&ve(l)?{target:l}:{};return tt(f1,{style:{outline:"none"},...c,asChild:!0,children:tt(h1,{$variant:u,as:p,href:s,...d,children:ee(e)?e:Yr(g1,{children:[ee(o)&&tt(y1,{children:o}),Yr(v1,{children:[t," ",n]}),ee(r)?tt(hr,{variant:"caption",children:r}):null]})})})},pie=({children:e,label:t,description:r,badge:n,icon:o,indicator:a=tt(Ee,{size:"sm",type:"checkmark"}),...s})=>tt(T3,{...s,asChild:!0,children:Yr(h1,{children:[ee(e)?e:Yr(g1,{children:[ee(o)?tt(y1,{children:o}):tt(M3,{}),Yr(v1,{children:[t," ",n]}),ee(r)?tt(hr,{variant:"caption",children:r}):null]}),tt(p1,{children:a})]})}),die=({children:e,label:t,badge:r,description:n,icon:o,indicator:a=tt(Ee,{size:"sm",type:"checkmark"}),...s})=>tt(A3,{...s,asChild:!0,children:Yr(h1,{children:[ee(e)?e:Yr(g1,{children:[ee(o)?tt(y1,{children:o}):tt(M3,{}),Yr(v1,{children:[t," ",r]})," ",ee(n)?tt(hr,{variant:"caption",children:n}):null]}),tt(p1,{children:a})]})}),mie=Es(R3)`
2273
2273
  outline: none;
2274
2274
 
2275
2275
  &[data-state='open'],
2276
2276
  &[data-highlighted] {
2277
2277
  background-color: ${({theme:e})=>e.color.grey200};
2278
2278
  }
2279
- `,I3=({children:e,label:t,badge:r,description:n,icon:o,onClick:a})=>{let{isSmAndUp:s}=$n();return tt(s?mie:f1,{onClick:u=>{ee(a)&&a(u)},children:Yr(h1,{children:[ee(e)?e:Yr(g1,{children:[ee(o)?tt(y1,{children:o}):tt(M3,{}),Yr(v1,{children:[t," ",r]}),ee(n)?tt(hr,{variant:"caption",children:n}):null]}),tt(Ee,{size:"md",type:"caret-right"})]})})};i();import hie from"styled-components";import{jsx as lB}from"react/jsx-runtime";var gie=hie(T3)`
2279
+ `,I3=({children:e,label:t,badge:r,description:n,icon:o,onClick:a})=>{let{isSmAndUp:s}=$n();return tt(s?mie:f1,{onClick:u=>{ee(a)&&a(u)},children:Yr(h1,{children:[ee(e)?e:Yr(g1,{children:[ee(o)?tt(y1,{children:o}):tt(M3,{}),Yr(v1,{children:[t," ",r]}),ee(n)?tt(hr,{variant:"caption",children:n}):null]}),tt(Ee,{size:"md",type:"caret-right"})]})})};i();import hie from"styled-components";import{jsx as lB}from"react/jsx-runtime";var gie=hie(P3)`
2280
2280
  /* TODO - this should be in theme */
2281
2281
  padding: 8px;
2282
2282
  `,vie=({children:e,...t})=>{let r=Oe("grey700");return lB(gie,{asChild:!0,children:lB(hr,{colorOverride:r,variant:"overline",...t,children:e})})};i();import{useState as yie}from"react";import cB from"styled-components";import{jsx as Vu,jsxs as uB}from"react/jsx-runtime";var bie=cB(F3)`
@@ -2287,20 +2287,20 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2287
2287
  }
2288
2288
  `,Cie=cB.div`
2289
2289
  margin-left: ${({theme:e})=>e.spacing.space03};
2290
- `,xie=({label:e,icon:t,description:r,children:n})=>{let{isSmAndUp:o}=$n(),[a,s]=yie(!1);return o?uB(nB,{children:[Vu(I3,{description:r,icon:t,label:e}),Vu(ku,{children:Vu(bie,{children:n})})]}):uB(E3,{children:[Vu(I3,{description:r,icon:t,label:e,onClick:l=>{l.preventDefault(),s(u=>!u)}}),Vu(Cie,{children:a?n:null})]})};i();i();import{useCallback as xB,cloneElement as Oie,useState as wB,useLayoutEffect as Mie,useRef as Iie}from"react";import SB,{css as DB}from"styled-components";i();i();import{forwardRef as wie,useRef as Sie,useEffect as fB}from"react";import mB,{css as hB}from"styled-components";import{Fragment as Aie,jsx as k3,jsxs as dB}from"react/jsx-runtime";var gB=["fullWidth","maxItem"],Ts="8px",vB="0.08",Die=e=>gB.includes(e)?null:e,Eie=mB.div`
2290
+ `,xie=({label:e,icon:t,description:r,children:n})=>{let{isSmAndUp:o}=$n(),[a,s]=yie(!1);return o?uB(nB,{children:[Vu(I3,{description:r,icon:t,label:e}),Vu(ku,{children:Vu(bie,{children:n})})]}):uB(E3,{children:[Vu(I3,{description:r,icon:t,label:e,onClick:l=>{l.preventDefault(),s(u=>!u)}}),Vu(Cie,{children:a?n:null})]})};i();i();import{useCallback as xB,cloneElement as Oie,useState as wB,useLayoutEffect as Mie,useRef as Iie}from"react";import SB,{css as DB}from"styled-components";i();i();import{forwardRef as wie,useRef as Sie,useEffect as fB}from"react";import mB,{css as hB}from"styled-components";import{Fragment as Aie,jsx as k3,jsxs as dB}from"react/jsx-runtime";var gB=["fullWidth","maxItem"],Ps="8px",vB="0.08",Die=e=>gB.includes(e)?null:e,Eie=mB.div`
2291
2291
  background: white;
2292
2292
  border-radius: 4px 4px 0 0;
2293
2293
  box-shadow: ${({theme:e})=>e.shadow.elevation2};
2294
2294
  display: ${({$menuWidth:e})=>e==="maxItem"?"inline-block":"block"};
2295
- padding: ${Ts} ${Ts} ${({theme:e})=>e.spacing.space04} ${Ts};
2295
+ padding: ${Ps} ${Ps} ${({theme:e})=>e.spacing.space04} ${Ps};
2296
2296
  width: ${({$menuWidth:e})=>Die(e)};
2297
2297
  z-index: ${({theme:e})=>e.zIndex.MenuComponent};
2298
2298
 
2299
2299
  ${Ae.smAndUp} {
2300
2300
  border-radius: 4px;
2301
- padding: ${Ts};
2301
+ padding: ${Ps};
2302
2302
  }
2303
- `,Tie=hB`
2303
+ `,Pie=hB`
2304
2304
  /* stylelint-disable no-descending-specificity */
2305
2305
  button,
2306
2306
  a {
@@ -2314,7 +2314,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2314
2314
  color: ${({theme:e})=>e.color.red600};
2315
2315
  }
2316
2316
  }
2317
- `,Pie=hB`
2317
+ `,Tie=hB`
2318
2318
  button,
2319
2319
  a {
2320
2320
  background-color: transparent;
@@ -2333,7 +2333,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2333
2333
  /* divider */
2334
2334
  hr {
2335
2335
  border-top: 1px solid ${({theme:e})=>e.color.grey300};
2336
- margin: ${({theme:e})=>e.spacing.space01} ${Ts};
2336
+ margin: ${({theme:e})=>e.spacing.space01} ${Ps};
2337
2337
  }
2338
2338
 
2339
2339
  button {
@@ -2356,9 +2356,9 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2356
2356
  font-size: 18px;
2357
2357
  height: 44px;
2358
2358
  line-height: 40px;
2359
- padding: 0 ${Ts};
2359
+ padding: 0 ${Ps};
2360
2360
  width: 100%;
2361
- ${Tr};
2361
+ ${Pr};
2362
2362
 
2363
2363
  ${Ae.smAndUp} {
2364
2364
  font-size: 16px;
@@ -2389,8 +2389,8 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2389
2389
 
2390
2390
  /* Precedence boost: https://styled-components.com/docs/basics#pseudoelements-pseudoselectors-and-nesting */
2391
2391
  && {
2392
- ${({variant:e})=>e==="dangerous"?Tie:null}
2393
- ${({disabled:e})=>F(e)&&e?Pie:null}
2392
+ ${({variant:e})=>e==="dangerous"?Pie:null}
2393
+ ${({disabled:e})=>F(e)&&e?Tie:null}
2394
2394
  }
2395
2395
  `,b1=wie(({items:e,menuHeader:t,width:r="fullWidth",onClick:n,onClickOutside:o,onPressEsc:a,onOpen:s,onClose:l,...u},c)=>{let p=Sie(),d=F(o)?o:()=>{};zl(p,d);let h=$l([p,c]);if(fB(()=>(s&&s(),()=>{l&&l()}),[s,l]),fB(()=>{let m=b=>{b.key==="Escape"&&a&&a(b)};return document.addEventListener("keyup",m),()=>{document.removeEventListener("keyup",m)}},[a]),e?.length==null)return null;let g=e.map(m=>{let{disabled:b,variant:y}=m.props,x=F(b)?b:!1,w=ve(y)?y:void 0,D=`wrapper-${m.key}`;return k3(pB,{disabled:x,variant:w,children:m},D)});return dB(Eie,{ref:h,$menuWidth:r,onClick:n,...u,children:[F(t)?dB(Aie,{children:[t,k3(pB,{children:k3(kp,{})})]}):null,g]})});b1.displayName="Menu_VHS";i();import bB from"styled-components";import{jsx as yB,jsxs as Bie}from"react/jsx-runtime";var Rie=bB.div`
2396
2396
  align-items: center;
@@ -2435,7 +2435,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2435
2435
 
2436
2436
  /* prevent dropdown button from wrapping underneath main button */
2437
2437
  position: relative;
2438
- `,TB=({label:e,menuAlignment:t="right",menuItems:r,menuPosition:n="below",menuWidth:o="maxItem",onMenuClick:a,onMenuClosed:s,disabled:l=!1,iconButtonComponent:u,overrideMenuHeader:c,size:p="lg",...d})=>{let[h,g,,v]=j0(!1),[m,b]=wB(!1),[y,x]=wB(0),w=Iie(null),{isXsAndDown:D}=$n();Mie(()=>{w.current&&x(w.current.offsetHeight)},[w]);let T=B=>{!h||F(B)&&En(w.current?.contains(B.target))||(v(),xn(s)&&s(),w.current?.focus())},S=xB(()=>{b(!0),g()},[g]),E=xB(B=>{a&&a(B),S()},[a,S]),R=()=>Nu(nt,{ref:w,"aria-expanded":h,disabled:l,forceState:h?"active":void 0,iconName:"caret-down",iconPosition:"end",label:e,onClick:E,size:p,...d});return F(u)&&(R=()=>Oie(u,{label:e,onClick:E,ref:w,disabled:l,"aria-expanded":h,...d})),$ie(Lie,{children:[Nu(R,{}),Nu(Nie,{$dropdownButtonHeight:y,$isMenuVisible:h,$menuAlignment:t,$menuPosition:n,items:m?r:[],menuHeader:D?Nu(CB,{label:e,onCloseClick:T,overrideMenuHeader:c}):null,onClick:T,onClickOutside:T,onPressEsc:T,width:o}),D&&h?Nu(sn,{}):null]})};TB.displayName="MenuButton_VHS";i();i();import{forwardRef as jie,useEffect as BB,useRef as OB}from"react";import V3,{css as MB}from"styled-components";import{createPortal as Wie}from"react-dom";i();import zie from"styled-components";var PB=zie.div`
2438
+ `,PB=({label:e,menuAlignment:t="right",menuItems:r,menuPosition:n="below",menuWidth:o="maxItem",onMenuClick:a,onMenuClosed:s,disabled:l=!1,iconButtonComponent:u,overrideMenuHeader:c,size:p="lg",...d})=>{let[h,g,,v]=j0(!1),[m,b]=wB(!1),[y,x]=wB(0),w=Iie(null),{isXsAndDown:D}=$n();Mie(()=>{w.current&&x(w.current.offsetHeight)},[w]);let P=B=>{!h||F(B)&&En(w.current?.contains(B.target))||(v(),xn(s)&&s(),w.current?.focus())},S=xB(()=>{b(!0),g()},[g]),E=xB(B=>{a&&a(B),S()},[a,S]),R=()=>Nu(nt,{ref:w,"aria-expanded":h,disabled:l,forceState:h?"active":void 0,iconName:"caret-down",iconPosition:"end",label:e,onClick:E,size:p,...d});return F(u)&&(R=()=>Oie(u,{label:e,onClick:E,ref:w,disabled:l,"aria-expanded":h,...d})),$ie(Lie,{children:[Nu(R,{}),Nu(Nie,{$dropdownButtonHeight:y,$isMenuVisible:h,$menuAlignment:t,$menuPosition:n,items:m?r:[],menuHeader:D?Nu(CB,{label:e,onCloseClick:P,overrideMenuHeader:c}):null,onClick:P,onClickOutside:P,onPressEsc:P,width:o}),D&&h?Nu(sn,{}):null]})};PB.displayName="MenuButton_VHS";i();i();import{forwardRef as jie,useEffect as BB,useRef as OB}from"react";import V3,{css as MB}from"styled-components";import{createPortal as Wie}from"react-dom";i();import zie from"styled-components";var TB=zie.div`
2439
2439
  background-color: white;
2440
2440
  box-sizing: border-box;
2441
2441
  display: flex;
@@ -2456,7 +2456,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2456
2456
  min-width: ${({$width:e})=>e??"480px"};
2457
2457
  width: min-content;
2458
2458
  }
2459
- `;i();import{createContext as Gie,useContext as Hie}from"react";var AB=Gie(void 0),RB=AB.Provider,FB=()=>{let e=Hie(AB);if(ee(e))return e;throw new Error("useModalClose must be used within a ModalCloseProvider")};import{jsx as Ps}from"react/jsx-runtime";var _ie=V3(sn)`
2459
+ `;i();import{createContext as Gie,useContext as Hie}from"react";var AB=Gie(void 0),RB=AB.Provider,FB=()=>{let e=Hie(AB);if(ee(e))return e;throw new Error("useModalClose must be used within a ModalCloseProvider")};import{jsx as Ts}from"react/jsx-runtime";var _ie=V3(sn)`
2460
2460
  display: flex;
2461
2461
 
2462
2462
  ${({$allowModalToExceedViewportBounds:e})=>e&&MB`
@@ -2464,7 +2464,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2464
2464
  padding: ${({theme:t})=>t.spacing.space05};
2465
2465
  }
2466
2466
  `}
2467
- `,Uie=V3(PB)`
2467
+ `,Uie=V3(TB)`
2468
2468
  ${({$allowModalToExceedViewportBounds:e})=>e&&MB`
2469
2469
  ${Ae.smAndUp} {
2470
2470
  max-height: min-content;
@@ -2476,7 +2476,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2476
2476
  display: flex;
2477
2477
  flex-direction: column;
2478
2478
  width: 100%;
2479
- `,qie=e=>F(e)&&o5(e,"current")&&F(e.current),Xie=e=>{BB(()=>{let t=document.activeElement;if(qie(e)){let r=e.current;F(r)&&r.focus()}return()=>{t!==null&&setTimeout(()=>{t.focus()},0)}},[e])},IB=jie(({alignHorizontal:e="center",alignVertical:t="center",allowModalToExceedViewportBounds:r=!1,children:n,className:o,fullHeight:a=!1,initialFocusRef:s,isOpen:l=!1,shouldTrapFocus:u=!0,onRequestClose:c,shouldCloseOnClickOutside:p=!0,width:d,overflow:h="auto",...g},v)=>{Xie(v);let m=OB(null),b=Y0(u,{focusSelector:ee(s)?s:null});return zl(m,()=>{c&&p&&c()}),xh(l),Ch("Escape",y=>{c&&c(),y.preventDefault()}),Ps(RB,{value:c,children:Ps(_ie,{$allowModalToExceedViewportBounds:r,alignHorizontal:e,alignVertical:t,children:Ps(Uie,{ref:b,$allowModalToExceedViewportBounds:r,$fullHeight:a,$overflow:h,$width:d,"aria-modal":"true",role:"dialog",tabIndex:-1,...g,children:Ps(Kie,{ref:m,children:n})})})})}),kB=e=>{let{id:t,...r}=e,n=document.createElement("div");n.classList.add("Modal"),ee(e.className)&&n.classList.add(e.className),ee(t)&&(n.id=t);let o=OB(n);return BB(()=>{let a=o.current;return document.body.appendChild(a),()=>a.remove()},[]),Wie(Ps(Hl,{children:e.isOpen?Ps(IB,{ref:o,...r}):null}),o.current)};kB.displayName="Modal_VHS";IB.displayName="ModalContent";i();import C1 from"styled-components";import{jsx as VB}from"react/jsx-runtime";var Yie=C1.div`
2479
+ `,qie=e=>F(e)&&o5(e,"current")&&F(e.current),Xie=e=>{BB(()=>{let t=document.activeElement;if(qie(e)){let r=e.current;F(r)&&r.focus()}return()=>{t!==null&&setTimeout(()=>{t.focus()},0)}},[e])},IB=jie(({alignHorizontal:e="center",alignVertical:t="center",allowModalToExceedViewportBounds:r=!1,children:n,className:o,fullHeight:a=!1,initialFocusRef:s,isOpen:l=!1,shouldTrapFocus:u=!0,onRequestClose:c,shouldCloseOnClickOutside:p=!0,width:d,overflow:h="auto",...g},v)=>{Xie(v);let m=OB(null),b=Y0(u,{focusSelector:ee(s)?s:null});return zl(m,()=>{c&&p&&c()}),xh(l),Ch("Escape",y=>{c&&c(),y.preventDefault()}),Ts(RB,{value:c,children:Ts(_ie,{$allowModalToExceedViewportBounds:r,alignHorizontal:e,alignVertical:t,children:Ts(Uie,{ref:b,$allowModalToExceedViewportBounds:r,$fullHeight:a,$overflow:h,$width:d,"aria-modal":"true",role:"dialog",tabIndex:-1,...g,children:Ts(Kie,{ref:m,children:n})})})})}),kB=e=>{let{id:t,...r}=e,n=document.createElement("div");n.classList.add("Modal"),ee(e.className)&&n.classList.add(e.className),ee(t)&&(n.id=t);let o=OB(n);return BB(()=>{let a=o.current;return document.body.appendChild(a),()=>a.remove()},[]),Wie(Ts(Hl,{children:e.isOpen?Ts(IB,{ref:o,...r}):null}),o.current)};kB.displayName="Modal_VHS";IB.displayName="ModalContent";i();import C1 from"styled-components";import{jsx as VB}from"react/jsx-runtime";var Yie=C1.div`
2480
2480
  align-items: center;
2481
2481
  display: flex;
2482
2482
  padding: ${({theme:e})=>e.spacing.space04} ${({theme:e})=>e.spacing.space04};
@@ -2519,7 +2519,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2519
2519
  margin-right: ${({theme:e})=>e.spacing.space04};
2520
2520
  text-align: right;
2521
2521
  width: 5ch;
2522
- `,zB=({hasLabel:e=!0,progress:t=0,colorOverride:r=void 0,labelColorOverride:n=void 0,meterBgColorOverride:o=void 0,...a})=>{let s=Math.min(Math.max(t,0),1),l=Math.round(s*100);return LB(oae,{"aria-label":"Progress","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":l,"data-testid":"progress-bar",role:"progressbar",...a,children:[e?LB(sae,{$labelColorOverride:n,"data-testid":"progress-bar-label",children:[l,"%"]}):null,$B(iae,{$meterBgColorOverride:o,children:$B(aae,{$colorOverride:r,$progress:s})})]})};zB.displayName="ProgressBar_VHS";i();i();import{useEffect as pO,useState as ju}from"react";import Jr from"styled-components";i();i();import{useEffect as Lu,useMemo as z3,useState as T1}from"react";import gae from"styled-components";i();i();import Wo from"styled-components";import{jsx as yn,jsxs as L3}from"react/jsx-runtime";var w1=45,lae=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],$3=7,GB=e=>e[0]instanceof Date||e[6]instanceof Date,uae=e=>{let t={start:Is(Vr(e)),end:U1(Vr(e))};return c5(t)},HB=()=>Array.from({length:$3},()=>[]),cae=e=>{let t=[],r=F(e[0])?f5(e[0]):0,n=HB();for(let o=0;o<e.length;o++){let a=(o+r)%$3;a===0&&GB(n)&&(t.push(n),n=HB()),n[a]=e[o]}return GB(n)&&t.push(n),t},fae=Wo.div`
2522
+ `,zB=({hasLabel:e=!0,progress:t=0,colorOverride:r=void 0,labelColorOverride:n=void 0,meterBgColorOverride:o=void 0,...a})=>{let s=Math.min(Math.max(t,0),1),l=Math.round(s*100);return LB(oae,{"aria-label":"Progress","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":l,"data-testid":"progress-bar",role:"progressbar",...a,children:[e?LB(sae,{$labelColorOverride:n,"data-testid":"progress-bar-label",children:[l,"%"]}):null,$B(iae,{$meterBgColorOverride:o,children:$B(aae,{$colorOverride:r,$progress:s})})]})};zB.displayName="ProgressBar_VHS";i();i();import{useEffect as pO,useState as ju}from"react";import Jr from"styled-components";i();i();import{useEffect as Lu,useMemo as z3,useState as P1}from"react";import gae from"styled-components";i();i();import Wo from"styled-components";import{jsx as yn,jsxs as L3}from"react/jsx-runtime";var w1=45,lae=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],$3=7,GB=e=>e[0]instanceof Date||e[6]instanceof Date,uae=e=>{let t={start:Is(Vr(e)),end:U1(Vr(e))};return c5(t)},HB=()=>Array.from({length:$3},()=>[]),cae=e=>{let t=[],r=F(e[0])?f5(e[0]):0,n=HB();for(let o=0;o<e.length;o++){let a=(o+r)%$3;a===0&&GB(n)&&(t.push(n),n=HB()),n[a]=e[o]}return GB(n)&&t.push(n),t},fae=Wo.div`
2523
2523
  cursor: not-allowed;
2524
2524
  padding-top: ${({theme:e})=>e.spacing.space04};
2525
2525
  width: ${w1*$3}px;
@@ -2571,7 +2571,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2571
2571
  color: ${({theme:e})=>e.color.grey300};
2572
2572
  cursor: not-allowed;
2573
2573
  }
2574
- `,E1=({displayDate:e,earliestDate:t,latestDate:r,onDisplayDateChange:n,onMouseLeave:o,shouldPreventFuture:a=!1,renderDay:s})=>{let l=cae(uae(e)),u=Is(Os(e,1)),c=U1(Os(e,-1)),p=S=>r?p5(S,r):!1,d=S=>a?d5(S):!1,h=S=>t?Zr(S,t):!1,g=S=>p(S)||d(S)||h(S),v=S=>S.toLocaleDateString("en-US",{day:"numeric"}),m=S=>s?s({day:S,isDisabled:g(S),formattedDay:v(S)}):yn(S1,{"data-day":v(S),disabled:g(S),children:yn(D1,{children:v(S)})},S),b={start:t??_1(new Date,-5),end:a?new Date:_1(new Date,5)},y=e.getFullYear(),x=()=>{let S=new Intl.DateTimeFormat("en",{month:"long"});return K1(b).filter(E=>E.getFullYear()===e.getFullYear()).map(E=>({value:E.getMonth(),label:S.format(E)}))},w=()=>Object.values(K1(b).map(S=>({value:S.getFullYear(),label:S.getFullYear()})).reduce((S,E)=>F(S[E.value])?S:{...S,[E.value]:E},{})),D=x(),T=w();return L3(fae,{"data-testid":"calendar-test-identifier",children:[L3(pae,{children:[yn(jB,{"aria-label":"Previous month","data-testid":"month-prev",disabled:h(c),onClick:()=>{n&&n(c)},style:{transform:"translateX(-5px)"},type:"button",children:yn(Ee,{size:"md",type:"caret-left"})}),yn(Ei,{"aria-label":"Select month","data-testid":"monthSelect",fullWidth:!1,onChange:S=>{let E=S.target.value,R=new Date(y,Number(E));n&&(d(R)?n(new Date):h(R)?n(t):n(R))},options:D,placeholder:null,value:e.getMonth()}),yn(Ei,{"aria-label":"Select year","data-testid":"yearSelect",fullWidth:!1,onChange:S=>{let E=e.getMonth(),R=S.target.value,B=new Date(Number(R),E);n&&(d(B)?n(new Date):h(B)?n(t):n(B))},options:T,placeholder:null,value:e.getFullYear()}),yn(jB,{"aria-label":"Next month","data-testid":"month-next",disabled:d(u),onClick:()=>{n&&n(u)},style:{transform:"translateX(4px)"},type:"button",children:yn(Ee,{size:"md",type:"caret-right"})})]}),L3(dae,{"aria-label":"Day selection grid",onMouseLeave:o,role:"button",children:[lae.map(S=>yn(hae,{children:S},S)),l.map(S=>S.map(E=>E instanceof Date?m(E):yn(mae,{},Math.random())))]})]})};E1.displayName="Calendar_VHS";import{jsx as G3}from"react/jsx-runtime";var vae=gae(S1)`
2574
+ `,E1=({displayDate:e,earliestDate:t,latestDate:r,onDisplayDateChange:n,onMouseLeave:o,shouldPreventFuture:a=!1,renderDay:s})=>{let l=cae(uae(e)),u=Is(Os(e,1)),c=U1(Os(e,-1)),p=S=>r?p5(S,r):!1,d=S=>a?d5(S):!1,h=S=>t?Zr(S,t):!1,g=S=>p(S)||d(S)||h(S),v=S=>S.toLocaleDateString("en-US",{day:"numeric"}),m=S=>s?s({day:S,isDisabled:g(S),formattedDay:v(S)}):yn(S1,{"data-day":v(S),disabled:g(S),children:yn(D1,{children:v(S)})},S),b={start:t??_1(new Date,-5),end:a?new Date:_1(new Date,5)},y=e.getFullYear(),x=()=>{let S=new Intl.DateTimeFormat("en",{month:"long"});return K1(b).filter(E=>E.getFullYear()===e.getFullYear()).map(E=>({value:E.getMonth(),label:S.format(E)}))},w=()=>Object.values(K1(b).map(S=>({value:S.getFullYear(),label:S.getFullYear()})).reduce((S,E)=>F(S[E.value])?S:{...S,[E.value]:E},{})),D=x(),P=w();return L3(fae,{"data-testid":"calendar-test-identifier",children:[L3(pae,{children:[yn(jB,{"aria-label":"Previous month","data-testid":"month-prev",disabled:h(c),onClick:()=>{n&&n(c)},style:{transform:"translateX(-5px)"},type:"button",children:yn(Ee,{size:"md",type:"caret-left"})}),yn(Ei,{"aria-label":"Select month","data-testid":"monthSelect",fullWidth:!1,onChange:S=>{let E=S.target.value,R=new Date(y,Number(E));n&&(d(R)?n(new Date):h(R)?n(t):n(R))},options:D,placeholder:null,value:e.getMonth()}),yn(Ei,{"aria-label":"Select year","data-testid":"yearSelect",fullWidth:!1,onChange:S=>{let E=e.getMonth(),R=S.target.value,B=new Date(Number(R),E);n&&(d(B)?n(new Date):h(B)?n(t):n(B))},options:P,placeholder:null,value:e.getFullYear()}),yn(jB,{"aria-label":"Next month","data-testid":"month-next",disabled:d(u),onClick:()=>{n&&n(u)},style:{transform:"translateX(4px)"},type:"button",children:yn(Ee,{size:"md",type:"caret-right"})})]}),L3(dae,{"aria-label":"Day selection grid",onMouseLeave:o,role:"button",children:[lae.map(S=>yn(hae,{children:S},S)),l.map(S=>S.map(E=>E instanceof Date?m(E):yn(mae,{},Math.random())))]})]})};E1.displayName="Calendar_VHS";import{jsx as G3}from"react/jsx-runtime";var vae=gae(S1)`
2575
2575
  ${({$isBeginning:e,$isInRange:t})=>e&&!t&&`
2576
2576
  border-top-right-radius: 0;
2577
2577
  border-bottom-right-radius: 0;
@@ -2639,14 +2639,14 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2639
2639
  background: ${e.color.brandBlue500};
2640
2640
  }
2641
2641
  `}
2642
- `,$u=e=>{if(le(e))return!1;let{start:t,end:r}=e;return t instanceof Date&&r instanceof Date&&Zr(t,r)},WB=(e,t)=>le(e)||u5(e.end,e.start)<2?!1:m5(t,{start:j1(e.start,1),end:j1(e.end,-1)}),UB=(e,t)=>{if(e instanceof Date&&F(t)){let[r,n]=[e,t].sort(qu);if(F(r)&&F(n))return{start:r,end:ta(n)}}},_B=(e,t)=>{let[r,n]=T1();return Lu(()=>{n(UB(e,t))},[e,t,n]),r},P1=({range:e={end:new Date,start:new Date},rangePartToShow:t="",onChange:r,onIsValidChange:n=()=>{},earliestDate:o,latestDate:a,shouldPreventFuture:s=!1})=>{let l=z3(()=>Is(new Date),[]),u=F(e.end)?e.end:l,[c,p]=T1(u),[{firstDate:d,secondDate:h},g]=T1({}),[v,m]=T1(),b=_B(d,h),y=Gl(b),x=_B(!$u(b)&&d,v),w=z3(()=>Fl(100,n),[n]),D=z3(()=>Fl(0,p),[]);Lu(()=>{D(e.end)},[]),Lu(()=>{if(!(!b||!y)&&t){let S=b[t];D(S)}},[t,b,y,D]),Lu(()=>{w($u(b))},[b,w]),Lu(()=>{if($u(e)){let S;y&&!Y1(e.start,y.start)&&(S=e.start),y&&!Y1(e.end,y.end)&&(S=e.end),S&&D(S),g({firstDate:e.start,secondDate:e.end})}},[e,y,D]);let T=S=>{let E=F(d)&&ur(d,S)||F(h)&&ur(h,S),R=WB(b,S),B=!b&&WB(x,S),k=S.toLocaleDateString("en-US"),j=F(v)?ur(S,v):!1,I=!!(b&&ur(b.start,S)||x&&ur(x.start,S)),V=!!(b&&ur(b.end,S)||x&&ur(x.end,S));return{$isActive:E,$isBeginning:I,$isEnd:V,$isInRange:R,$isInTempRange:B,$isHovered:j,$val:k}};return G3(E1,{displayDate:c,earliestDate:o,latestDate:a,onDisplayDateChange:D,onMouseLeave:()=>{m(void 0)},renderDay:({day:S,isDisabled:E,formattedDay:R})=>{let B=T(S);return G3(vae,{...B,"data-day":R,"data-is-beginning":B.$isBeginning,"data-is-end":B.$isEnd,"data-is-in-temp-range":B.$isInTempRange,disabled:E,onClick:()=>{let k=S,j=S;d&&h?j=void 0:d?k=d:j=h,g({firstDate:k,secondDate:j});let I=UB(k,j);$u(I)&&r&&r(I),m(void 0)},onMouseOver:()=>{d&&!E&&m(S)},children:G3(D1,{children:R})},S)},shouldPreventFuture:s})};P1.displayName="RangeSelectorCalendar_VHS";i();i();import{useCallback as Aae,useEffect as B1,useRef as Rae,useState as O1}from"react";import Fae from"styled-components";i();import qB from"styled-components";import{jsx as KB}from"react/jsx-runtime";var yae=qB.ul`
2642
+ `,$u=e=>{if(le(e))return!1;let{start:t,end:r}=e;return t instanceof Date&&r instanceof Date&&Zr(t,r)},WB=(e,t)=>le(e)||u5(e.end,e.start)<2?!1:m5(t,{start:j1(e.start,1),end:j1(e.end,-1)}),UB=(e,t)=>{if(e instanceof Date&&F(t)){let[r,n]=[e,t].sort(qu);if(F(r)&&F(n))return{start:r,end:ta(n)}}},_B=(e,t)=>{let[r,n]=P1();return Lu(()=>{n(UB(e,t))},[e,t,n]),r},T1=({range:e={end:new Date,start:new Date},rangePartToShow:t="",onChange:r,onIsValidChange:n=()=>{},earliestDate:o,latestDate:a,shouldPreventFuture:s=!1})=>{let l=z3(()=>Is(new Date),[]),u=F(e.end)?e.end:l,[c,p]=P1(u),[{firstDate:d,secondDate:h},g]=P1({}),[v,m]=P1(),b=_B(d,h),y=Gl(b),x=_B(!$u(b)&&d,v),w=z3(()=>Fl(100,n),[n]),D=z3(()=>Fl(0,p),[]);Lu(()=>{D(e.end)},[]),Lu(()=>{if(!(!b||!y)&&t){let S=b[t];D(S)}},[t,b,y,D]),Lu(()=>{w($u(b))},[b,w]),Lu(()=>{if($u(e)){let S;y&&!Y1(e.start,y.start)&&(S=e.start),y&&!Y1(e.end,y.end)&&(S=e.end),S&&D(S),g({firstDate:e.start,secondDate:e.end})}},[e,y,D]);let P=S=>{let E=F(d)&&ur(d,S)||F(h)&&ur(h,S),R=WB(b,S),B=!b&&WB(x,S),k=S.toLocaleDateString("en-US"),j=F(v)?ur(S,v):!1,I=!!(b&&ur(b.start,S)||x&&ur(x.start,S)),V=!!(b&&ur(b.end,S)||x&&ur(x.end,S));return{$isActive:E,$isBeginning:I,$isEnd:V,$isInRange:R,$isInTempRange:B,$isHovered:j,$val:k}};return G3(E1,{displayDate:c,earliestDate:o,latestDate:a,onDisplayDateChange:D,onMouseLeave:()=>{m(void 0)},renderDay:({day:S,isDisabled:E,formattedDay:R})=>{let B=P(S);return G3(vae,{...B,"data-day":R,"data-is-beginning":B.$isBeginning,"data-is-end":B.$isEnd,"data-is-in-temp-range":B.$isInTempRange,disabled:E,onClick:()=>{let k=S,j=S;d&&h?j=void 0:d?k=d:j=h,g({firstDate:k,secondDate:j});let I=UB(k,j);$u(I)&&r&&r(I),m(void 0)},onMouseOver:()=>{d&&!E&&m(S)},children:G3(D1,{children:R})},S)},shouldPreventFuture:s})};T1.displayName="RangeSelectorCalendar_VHS";i();i();import{useCallback as Aae,useEffect as B1,useRef as Rae,useState as O1}from"react";import Fae from"styled-components";i();import qB from"styled-components";import{jsx as KB}from"react/jsx-runtime";var yae=qB.ul`
2643
2643
  list-style: none;
2644
2644
  margin: 0;
2645
2645
  padding: 0;
2646
2646
  `,bae=qB.li`
2647
2647
  color: ${({theme:e})=>e.color.error600};
2648
2648
  font-size: 12px;
2649
- `,XB=({messages:e=[]})=>KB(yae,{children:e.map(t=>KB(bae,{children:t},t))});i();var _o=" - ",eo=`mm/dd/yyyy${_o}mm/dd/yyyy`,Cae=[{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"}],xae=e=>{let t={month:2,day:2,year:4,skip:_o.length-2},r=0;return e.map(({type:n,id:o},a)=>{let s=r+(a===0?0:1),l=s+t[n];return r=l,{start:s,end:l,type:n,id:o}})},Uo=xae(Cae);i();var wae=new Set(["Enter","Backspace","Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown","/"]),A1=e=>/^[0-9]$/i.test(e.key),Sae=e=>wae.has(e.key),YB=e=>A1(e)||Sae(e),H3=({key:e,shiftKey:t})=>e==="Tab"&&!t||e==="/"||e==="ArrowRight",j3=({key:e,shiftKey:t})=>e==="ArrowLeft"||e==="Tab"&&t,W3=e=>e.key==="ArrowUp"||e.key==="ArrowDown",_3=e=>e.key==="Backspace",JB=e=>A1(e)||W3(e)||_3(e),ZB=e=>j3(e)||H3(e);i();var bn=e=>{let[t,r]=e.split(_o),n="",o="",a="",s="",l="",u="";F(t)&&([n,o,a]=t.split("/")),F(r)&&([s,l,u]=r.split("/"));let c=ve(n)?n:"",p=ve(o)?o:"",d=ve(a)?a:"",h=ve(s)?s:"",g=ve(l)?l:"",v=ve(u)?u:"";return{month1:c,day1:p,year1:d,month2:h,day2:g,year2:v}},zu=e=>{if(!Ms(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""}},R1=e=>{let{month1:t,day1:r,year1:n,month2:o,day2:a,year2:s}=e;return`${t}/${r}/${n}${_o}${o}/${a}/${s}`},F1=e=>{let{month1:t,day1:r,year1:n,month2:o,day2:a,year2:s}=bn(e);try{let l=Vr(new Date(Number(n),Number(t)-1,Number(r))),u=ta(new Date(Number(s),Number(o)-1,Number(a)));return{start:l,end:u}}catch{return}},U3=({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}${_o}${o}`};i();var K3=kr(mp());i();var As,QB=e=>{F(As)&&(e.preventDefault(),clearTimeout(As),As=void 0),As=setTimeout(()=>{clearTimeout(As),As=void 0},200)},eO=({start:e,end:t})=>Ms(e)&&Ms(t),tO=([e],t)=>{let r=t.find(n=>n.start===e);return F(r)&&F(r.id)?r.id:""},Gu=(e,t)=>{let r=t.substring(0,t.length-1),n=t.charAt(t.length-1),o=12,a=31;switch(r){case"month":return o;case"year":return X1(new Date);case"day":if(e[`month${n}`]!=="mm"){let l=e[`month${n}`]-1;if(e[`year${n}`]!=="yyyy"){let u=e[`year${n}`];return q1(new Date(u,l))}return q1(new Date(X1(new Date),l))}return a;default:return 0}},rO=({range:e,maxDate:t,minDate:r})=>{let n=zu(e.start),o=zu(e.end),a=[];if(F(t)){let s=zu(t);Zr(t,e.start)&&a.push(`${n} is after maximum of ${s}`),Zr(t,e.end)&&a.push(`${o} is after maximum of ${s}`)}if(r){let s=zu(r);Zr(e.start,r)&&a.push(`${n} is before minimum of ${s}`),Zr(e.end,r)&&a.push(`${o} is before minimum of ${s}`)}return(Zr(e.end,e.start)||ur(e.end,e.start))&&a.push("start date must come before end date"),a},nO=e=>{let[t,r]=[e.start,e.end].sort(qu);return{start:t,end:r}};i();var Dae=e=>{let t=e.current?.selectionStart,r=e.current?.selectionEnd;return{startPos:t,endPos:r}},oO=(e,t,r)=>{let n=e.current;n&&n.setSelectionRange(t,r)},Hu=(e,t,r)=>{let n=r.findIndex(a=>a.start===e[0]),o=r[n+t];return o&&o.type==="skip"&&(o=r[n+t*2]),o?[o.start,o.end]:e},iO=(e,t)=>{let r=Dae(e);for(let n=0;n<t.length;n++){if(dt(t[n]))return[];let{start:o,end:a,type:s}=t[n];if(F(r.startPos)&&r.startPos>o-1&&r.startPos<=a)return s==="skip"&&ee(t[n+1])?[t[n+1].start,t[n+1].end]:[o,a]}return[]},aO=e=>{let t=bn(e),r=bn(eo),n=["month1","day1","year1","month2","day2","year2"];for(let o=0;o<n.length;o++){if(dt(n[o]))return-1;if(t[n[o]]===r[n[o]])return o}return-1},sO=([,e])=>{let t=eo.indexOf(_o);return e===-1?"":ee(e)&&e<=t?"start":"end"};var lO=e=>{let t={...e},r=n=>`${n}`.padStart(2,"0");return e.day1!=="dd"&&(t.day1=r(Math.min(Number(e.day1),Gu(e,"day1")))),e.day2!=="dd"&&(t.day2=r(Math.min(Number(e.day2),Gu(e,"day2")))),t},Eae=(e,t,r,n,o)=>{let a=bn(eo)[t],s=a.length,l=m=>`${m}`.padStart(s,"0"),u=m=>({...e,[t]:l(m)}),c=e[t],p=c===a;if(o===0)return u(l(n));let d=Gu(e,t),h=`${Number.parseInt(c,10)}`,g=`${h}${n}`,v=h.length===s;return p&&r!=="year"||v?u(n):Number.parseInt(g,10)>d?u(d):u(g)},Tae=(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},Pae=(e,t,r)=>{let o=bn(eo)[t].length,a=c=>`${c}`.padStart(o,"0"),s=c=>({...e,[t]:a(c)}),l=e[t],u=Gu(e,t);return s(a(Tae(l,u,r)))},uO=({event:e,currentSelection:t,keyCount:r,valueParts:n,selectionLength:o})=>{let a="",s=r,l=!1,u=tO(t,Uo),c=u.substring(0,u.length-1);if(A1(e)){e.preventDefault();let p=Eae(n,u,c,e.key,r),d=lO(p);a=R1(d),s+=1,l=o===s}if(W3(e)){e.preventDefault();let p=e.key==="ArrowUp"?1:-1,d=Pae(n,u,p),h=lO(d);a=R1(h),s=0,l=!0}if(_3(e)){e.preventDefault();let p=bn(eo);a=R1({...n,[u]:p[u]}),s=0}return{nextValue:a,nextKeyCount:s,shouldApply:l}},cO=({event:e,currentSelection:t})=>{let r;return H3(e)&&(r=Hu(t,1,Uo),(0,K3.default)(r,t)||e.preventDefault()),j3(e)&&(r=Hu(t,-1,Uo),(0,K3.default)(r,t)||e.preventDefault()),{nextSelection:r,nextKeyCount:0}};import{jsx as fO,jsxs as Mae}from"react/jsx-runtime";var Bae=Fae.input`
2649
+ `,XB=({messages:e=[]})=>KB(yae,{children:e.map(t=>KB(bae,{children:t},t))});i();var _o=" - ",eo=`mm/dd/yyyy${_o}mm/dd/yyyy`,Cae=[{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"}],xae=e=>{let t={month:2,day:2,year:4,skip:_o.length-2},r=0;return e.map(({type:n,id:o},a)=>{let s=r+(a===0?0:1),l=s+t[n];return r=l,{start:s,end:l,type:n,id:o}})},Uo=xae(Cae);i();var wae=new Set(["Enter","Backspace","Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown","/"]),A1=e=>/^[0-9]$/i.test(e.key),Sae=e=>wae.has(e.key),YB=e=>A1(e)||Sae(e),H3=({key:e,shiftKey:t})=>e==="Tab"&&!t||e==="/"||e==="ArrowRight",j3=({key:e,shiftKey:t})=>e==="ArrowLeft"||e==="Tab"&&t,W3=e=>e.key==="ArrowUp"||e.key==="ArrowDown",_3=e=>e.key==="Backspace",JB=e=>A1(e)||W3(e)||_3(e),ZB=e=>j3(e)||H3(e);i();var bn=e=>{let[t,r]=e.split(_o),n="",o="",a="",s="",l="",u="";F(t)&&([n,o,a]=t.split("/")),F(r)&&([s,l,u]=r.split("/"));let c=ve(n)?n:"",p=ve(o)?o:"",d=ve(a)?a:"",h=ve(s)?s:"",g=ve(l)?l:"",v=ve(u)?u:"";return{month1:c,day1:p,year1:d,month2:h,day2:g,year2:v}},zu=e=>{if(!Ms(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""}},R1=e=>{let{month1:t,day1:r,year1:n,month2:o,day2:a,year2:s}=e;return`${t}/${r}/${n}${_o}${o}/${a}/${s}`},F1=e=>{let{month1:t,day1:r,year1:n,month2:o,day2:a,year2:s}=bn(e);try{let l=Vr(new Date(Number(n),Number(t)-1,Number(r))),u=ta(new Date(Number(s),Number(o)-1,Number(a)));return{start:l,end:u}}catch{return}},U3=({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}${_o}${o}`};i();var K3=kr(mp());i();var As,QB=e=>{F(As)&&(e.preventDefault(),clearTimeout(As),As=void 0),As=setTimeout(()=>{clearTimeout(As),As=void 0},200)},eO=({start:e,end:t})=>Ms(e)&&Ms(t),tO=([e],t)=>{let r=t.find(n=>n.start===e);return F(r)&&F(r.id)?r.id:""},Gu=(e,t)=>{let r=t.substring(0,t.length-1),n=t.charAt(t.length-1),o=12,a=31;switch(r){case"month":return o;case"year":return X1(new Date);case"day":if(e[`month${n}`]!=="mm"){let l=e[`month${n}`]-1;if(e[`year${n}`]!=="yyyy"){let u=e[`year${n}`];return q1(new Date(u,l))}return q1(new Date(X1(new Date),l))}return a;default:return 0}},rO=({range:e,maxDate:t,minDate:r})=>{let n=zu(e.start),o=zu(e.end),a=[];if(F(t)){let s=zu(t);Zr(t,e.start)&&a.push(`${n} is after maximum of ${s}`),Zr(t,e.end)&&a.push(`${o} is after maximum of ${s}`)}if(r){let s=zu(r);Zr(e.start,r)&&a.push(`${n} is before minimum of ${s}`),Zr(e.end,r)&&a.push(`${o} is before minimum of ${s}`)}return(Zr(e.end,e.start)||ur(e.end,e.start))&&a.push("start date must come before end date"),a},nO=e=>{let[t,r]=[e.start,e.end].sort(qu);return{start:t,end:r}};i();var Dae=e=>{let t=e.current?.selectionStart,r=e.current?.selectionEnd;return{startPos:t,endPos:r}},oO=(e,t,r)=>{let n=e.current;n&&n.setSelectionRange(t,r)},Hu=(e,t,r)=>{let n=r.findIndex(a=>a.start===e[0]),o=r[n+t];return o&&o.type==="skip"&&(o=r[n+t*2]),o?[o.start,o.end]:e},iO=(e,t)=>{let r=Dae(e);for(let n=0;n<t.length;n++){if(dt(t[n]))return[];let{start:o,end:a,type:s}=t[n];if(F(r.startPos)&&r.startPos>o-1&&r.startPos<=a)return s==="skip"&&ee(t[n+1])?[t[n+1].start,t[n+1].end]:[o,a]}return[]},aO=e=>{let t=bn(e),r=bn(eo),n=["month1","day1","year1","month2","day2","year2"];for(let o=0;o<n.length;o++){if(dt(n[o]))return-1;if(t[n[o]]===r[n[o]])return o}return-1},sO=([,e])=>{let t=eo.indexOf(_o);return e===-1?"":ee(e)&&e<=t?"start":"end"};var lO=e=>{let t={...e},r=n=>`${n}`.padStart(2,"0");return e.day1!=="dd"&&(t.day1=r(Math.min(Number(e.day1),Gu(e,"day1")))),e.day2!=="dd"&&(t.day2=r(Math.min(Number(e.day2),Gu(e,"day2")))),t},Eae=(e,t,r,n,o)=>{let a=bn(eo)[t],s=a.length,l=m=>`${m}`.padStart(s,"0"),u=m=>({...e,[t]:l(m)}),c=e[t],p=c===a;if(o===0)return u(l(n));let d=Gu(e,t),h=`${Number.parseInt(c,10)}`,g=`${h}${n}`,v=h.length===s;return p&&r!=="year"||v?u(n):Number.parseInt(g,10)>d?u(d):u(g)},Pae=(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},Tae=(e,t,r)=>{let o=bn(eo)[t].length,a=c=>`${c}`.padStart(o,"0"),s=c=>({...e,[t]:a(c)}),l=e[t],u=Gu(e,t);return s(a(Pae(l,u,r)))},uO=({event:e,currentSelection:t,keyCount:r,valueParts:n,selectionLength:o})=>{let a="",s=r,l=!1,u=tO(t,Uo),c=u.substring(0,u.length-1);if(A1(e)){e.preventDefault();let p=Eae(n,u,c,e.key,r),d=lO(p);a=R1(d),s+=1,l=o===s}if(W3(e)){e.preventDefault();let p=e.key==="ArrowUp"?1:-1,d=Tae(n,u,p),h=lO(d);a=R1(h),s=0,l=!0}if(_3(e)){e.preventDefault();let p=bn(eo);a=R1({...n,[u]:p[u]}),s=0}return{nextValue:a,nextKeyCount:s,shouldApply:l}},cO=({event:e,currentSelection:t})=>{let r;return H3(e)&&(r=Hu(t,1,Uo),(0,K3.default)(r,t)||e.preventDefault()),j3(e)&&(r=Hu(t,-1,Uo),(0,K3.default)(r,t)||e.preventDefault()),{nextSelection:r,nextKeyCount:0}};import{jsx as fO,jsxs as Mae}from"react/jsx-runtime";var Bae=Fae.input`
2650
2650
  border: 1px solid ${({theme:e})=>e.color.grey400};
2651
2651
  border-radius: 4px;
2652
2652
  color: ${({theme:e})=>e.color.grey800};
@@ -2654,12 +2654,12 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2654
2654
  padding: ${({theme:e})=>e.spacing.space03};
2655
2655
  resize: none;
2656
2656
  text-align: center;
2657
- width: ${({width:e})=>e};
2657
+ width: ${({$width:e})=>e};
2658
2658
 
2659
2659
  &:focus {
2660
2660
  border: 1px solid ${({theme:e})=>e.color.brandBlue500};
2661
2661
  }
2662
- `,Oae=({latestDate:e,shouldPreventFuture:t})=>e||(t?ta(new Date):void 0),M1=({onChange:e,onSelectedRangePartChange:t,range:r,earliestDate:n,latestDate:o,shouldPreventFuture:a=!1,width:s="100%",onErrorChange:l})=>{let[u,c]=O1(eo),[p,d]=O1(0),[h,g]=O1([]),v=Rae(null),[m,b]=O1([0,-1]),y=dt(m)||dt(m[1])||dt(m[0])?0:m[1]-m[0],x=bn(u),w=Aae(D=>{let T=rO({range:D,maxDate:Oae({latestDate:o,shouldPreventFuture:a}),minDate:n});eO(D)&&(c(U3(D)),!T.length&&ee(e)&&e(nO(D))),g(T)},[n,o,a,e]);return B1(()=>{g([]),c(U3(r))},[r]),B1(()=>{ee(l)&&l(h)},[h,l]),B1(()=>{if(y===p){d(0);let D=Hu(m,1,Uo);b(D)}},[p,m,y]),B1(()=>{oO(v,m[0],m[1]),ee(t)&&t(sO(m))},[m,u,v,t]),Mae("div",{children:[!!h.length&&fO(XB,{messages:h}),fO(Bae,{ref:v,"data-testid":"range-selector-input",onBlur:()=>{if(p!==y&&p!==0){let D=F1(u);F(D)&&w(D)}b([0,-1])},onFocus:()=>{if(aO(u)!==-1){let T=Uo[0];if(F(T)){let{start:S,end:E}=T;b([S,E])}}},onKeyDown:D=>{let T={event:D,currentSelection:m,keyCount:p,valueParts:x,selectionLength:y};if(!YB(D)){D.preventDefault();return}if(JB(D)){let{nextValue:S,nextKeyCount:E,shouldApply:R}=uO(T),B=F1(S);R&&ee(B)?w(B):c(S),d(E)}if(ZB(D)){let{nextSelection:S,nextKeyCount:E}=cO(T);ee(S)&&b(S),d(E);let R=F1(u);ee(R)&&w(R)}},onMouseDown:QB,onMouseUp:()=>{d(0),b(iO(v,Uo))},readOnly:!0,type:"text",value:u,width:s})]})};M1.displayName="RangeSelectorInput_VHS";import{jsx as At,jsxs as Ji}from"react/jsx-runtime";var Iae=Jr.div`
2662
+ `,Oae=({latestDate:e,shouldPreventFuture:t})=>e||(t?ta(new Date):void 0),M1=({onChange:e,onSelectedRangePartChange:t,range:r,earliestDate:n,latestDate:o,shouldPreventFuture:a=!1,width:s="100%",onErrorChange:l})=>{let[u,c]=O1(eo),[p,d]=O1(0),[h,g]=O1([]),v=Rae(null),[m,b]=O1([0,-1]),y=dt(m)||dt(m[1])||dt(m[0])?0:m[1]-m[0],x=bn(u),w=Aae(D=>{let P=rO({range:D,maxDate:Oae({latestDate:o,shouldPreventFuture:a}),minDate:n});eO(D)&&(c(U3(D)),!P.length&&ee(e)&&e(nO(D))),g(P)},[n,o,a,e]);return B1(()=>{g([]),c(U3(r))},[r]),B1(()=>{ee(l)&&l(h)},[h,l]),B1(()=>{if(y===p){d(0);let D=Hu(m,1,Uo);b(D)}},[p,m,y]),B1(()=>{oO(v,m[0],m[1]),ee(t)&&t(sO(m))},[m,u,v,t]),Mae("div",{children:[!!h.length&&fO(XB,{messages:h}),fO(Bae,{ref:v,$width:s,"data-testid":"range-selector-input",onBlur:()=>{if(p!==y&&p!==0){let D=F1(u);F(D)&&w(D)}b([0,-1])},onFocus:()=>{if(aO(u)!==-1){let P=Uo[0];if(F(P)){let{start:S,end:E}=P;b([S,E])}}},onKeyDown:D=>{let P={event:D,currentSelection:m,keyCount:p,valueParts:x,selectionLength:y};if(!YB(D)){D.preventDefault();return}if(JB(D)){let{nextValue:S,nextKeyCount:E,shouldApply:R}=uO(P),B=F1(S);R&&ee(B)?w(B):c(S),d(E)}if(ZB(D)){let{nextSelection:S,nextKeyCount:E}=cO(P);ee(S)&&b(S),d(E);let R=F1(u);ee(R)&&w(R)}},onMouseDown:QB,onMouseUp:()=>{d(0),b(iO(v,Uo))},readOnly:!0,type:"text",value:u})]})};M1.displayName="RangeSelectorInput_VHS";import{jsx as At,jsxs as Ji}from"react/jsx-runtime";var Iae=Jr.div`
2663
2663
  text-align: left;
2664
2664
  width: 240px;
2665
2665
  `,kae=({tooltipText:e})=>At(Ya,{direction:"right",label:At(Iae,{children:e}),shouldWrap:!0,children:At(Ee,{size:"md",style:{verticalAlign:"text-bottom"},type:"question-mark"})}),dO=e=>e.toLocaleDateString("en-US",{year:"numeric",month:"2-digit",day:"2-digit"}),Vae=({start:e,end:t})=>`${dO(e)} - ${dO(t)}`,Nae=(e,t)=>ur(e.start,t.start)&&ur(e.end,t.end),Lae=Jr.div`
@@ -2747,7 +2747,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2747
2747
  visibility: hidden;
2748
2748
  width: calc(100% + 40px);
2749
2749
  }
2750
- `,mO=({align:e="left",buttonVariant:t="secondary",earliestDate:r,latestDate:n,format:o=Vae,fullWidth:a=!1,footerText:s,onChange:l,presets:u=[],range:c={end:new Date,start:new Date},shouldPreventFuture:p=!1,customTriggerComponent:d,width:h,...g})=>{let[v,m]=ju(c),[b,y]=ju(!1),[x,w]=ju(!0),[D,T]=ju("end"),[S,E]=ju([]),R=Ln();pO(()=>{m(c)},[c]),pO(()=>{let I=()=>{y(!1),m(c)};return b&&window.addEventListener("click",I),()=>{window.removeEventListener("click",I)}},[b,c,m]);let B=I=>I.stopPropagation(),k={"data-testid":"trigger",fullWidth:a,onClick:()=>y(!b),children:o(c),...Object.fromEntries(Object.entries(g).filter(([I])=>I!=="data-testid"))},j=d;return Ji($ae,{$width:h,"data-testid":"rangeselector-test-identifier",onClick:B,children:[j?At(j,{...k}):At(zae,{...k,$inputButtonOverride:t==="input",icon:At(Ee,{size:"sm",type:"caret-down"}),iconPosition:"end",textAlign:"left",variant:t==="input"?"tertiary":t}),b?Ji(jae,{$hasPresets:!!u.length,align:e,children:[Ji(Wae,{children:[!!u.length&&At(Id,{"data-testid":"presets",style:{marginBottom:0,borderRight:`1px solid ${R.color.grey400}`,padding:"12px"},variant:"unbulleted",children:u.map(({label:I,value:V,tooltipText:N})=>At(ki,{children:At(Gae,{$isActive:Nae(v,V),"data-testid":I?.replaceAll(" ","_"),onClick:()=>{m(V)},children:Ji(Kae,{"data-title":`${I}___`,children:[I," ",N!==void 0?At(kae,{tooltipText:N}):null]})})},I))}),At(_ae,{children:Ji(Lae,{children:[At(M1,{earliestDate:r,latestDate:n,onChange:I=>{m(I)},onErrorChange:E,onSelectedRangePartChange:T,range:v,shouldPreventFuture:p,width:"100%"}),At(P1,{earliestDate:r,latestDate:n,onChange:I=>{m(I)},onIsValidChange:w,range:v,rangePartToShow:D,shouldPreventFuture:p})]})})]}),At(Hae,{}),Ji(Uae,{children:[At("div",{children:s}),Ji(Bo,{align:"right",children:[At(nt,{onClick:()=>{m(c),y(!1)},style:{marginLeft:0},variant:"secondary",children:"Cancel"}),At(nt,{"data-testid":"apply-button",disabled:!!S.length||!x,onMouseUp:()=>{l&&l(v),y(!1)},children:"Apply"})]})]})]}):null]})};mO.displayName="RangeSelector_VHS";i();i();import Q3,{css as qae}from"styled-components";i();i();import Rs from"react";function q3(e){return e&&e.stopPropagation&&e.stopPropagation(),e&&e.preventDefault&&e.preventDefault(),!1}function X3(e){return e==null?[]:Array.isArray(e)?e.slice():[e]}function I1(e){return e!==null&&e.length===1?e[0]:e.slice()}function k1(e){Object.keys(e).forEach(t=>{typeof document<"u"&&document.addEventListener(t,e[t],!1)})}function Zi(e,t){return Y3(function(r,n){let o=r;return o<=n.min&&(o=n.min),o>=n.max&&(o=n.max),o}(e,t),t)}function Y3(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 J3=function(e){function t(n){var o;(o=e.call(this,n)||this).onKeyUp=()=>{o.onEnd()},o.onMouseUp=()=>{o.onEnd(o.getMouseEventMap())},o.onTouchEnd=l=>{l.preventDefault(),o.onEnd(o.getTouchEventMap())},o.onBlur=()=>{o.setState({index:-1},o.onEnd(o.getKeyDownEventMap()))},o.onMouseMove=l=>{o.setState({pending:!0});let u=o.getMousePosition(l),c=o.getDiffPosition(u[0]),p=o.getValueFromPosition(c);o.move(p)},o.onTouchMove=l=>{if(l.touches.length>1)return;o.setState({pending:!0});let u=o.getTouchPosition(l);if(o.isScrolling===void 0){let d=u[0]-o.startPosition[0],h=u[1]-o.startPosition[1];o.isScrolling=Math.abs(h)>Math.abs(d)}if(o.isScrolling)return void o.setState({index:-1});let c=o.getDiffPosition(u[0]),p=o.getValueFromPosition(c);o.move(p)},o.onKeyDown=l=>{if(!(l.ctrlKey||l.shiftKey||l.altKey||l.metaKey))switch(o.setState({pending:!0}),l.key){case"ArrowLeft":case"ArrowDown":case"Left":case"Down":l.preventDefault(),o.moveDownByStep();break;case"ArrowRight":case"ArrowUp":case"Right":case"Up":l.preventDefault(),o.moveUpByStep();break;case"Home":l.preventDefault(),o.move(o.props.min);break;case"End":l.preventDefault(),o.move(o.props.max);break;case"PageDown":l.preventDefault(),o.moveDownByStep(o.props.pageFn(o.props.step));break;case"PageUp":l.preventDefault(),o.moveUpByStep(o.props.pageFn(o.props.step))}},o.onSliderMouseDown=l=>{if(!o.props.disabled&&l.button!==2){if(o.setState({pending:!0}),!o.props.snapDragDisabled){let u=o.getMousePosition(l);o.forceValueFromPosition(u[0],c=>{o.start(c,u[0]),k1(o.getMouseEventMap())})}q3(l)}},o.onSliderClick=l=>{if(!o.props.disabled&&o.props.onSliderClick&&!o.hasMoved){let u=o.getMousePosition(l),c=Zi(o.calcValue(o.calcOffsetFromPosition(u[0])),o.props);o.props.onSliderClick(c)}},o.createOnKeyDown=l=>u=>{o.props.disabled||(o.start(l),k1(o.getKeyDownEventMap()),q3(u))},o.createOnMouseDown=l=>u=>{if(o.props.disabled||u.button===2)return;o.setState({pending:!0});let c=o.getMousePosition(u);o.start(l,c[0]),k1(o.getMouseEventMap()),q3(u)},o.createOnTouchStart=l=>u=>{if(o.props.disabled||u.touches.length>1)return;o.setState({pending:!0});let c=o.getTouchPosition(u);o.startPosition=c,o.isScrolling=void 0,o.start(l,c[0]),k1(o.getTouchEventMap()),function(p){p.stopPropagation&&p.stopPropagation()}(u)},o.handleResize=()=>{let l=window.setTimeout(()=>{o.pendingResizeTimeouts.shift(),o.resize()},0);o.pendingResizeTimeouts.push(l)},o.renderThumb=(l,u)=>{let c=o.props.thumbClassName+" "+o.props.thumbClassName+"-"+u+" "+(o.state.index===u?o.props.thumbActiveClassName:""),p={ref:h=>{o["thumb"+u]=h},key:o.props.thumbClassName+"-"+u,className:c,style:l,onMouseDown:o.createOnMouseDown(u),onTouchStart:o.createOnTouchStart(u),onFocus:o.createOnKeyDown(u),tabIndex:0,role:"slider","aria-orientation":o.props.orientation,"aria-valuenow":o.state.value[u],"aria-valuemin":o.props.min,"aria-valuemax":o.props.max,"aria-label":Array.isArray(o.props.ariaLabel)?o.props.ariaLabel[u]:o.props.ariaLabel,"aria-labelledby":Array.isArray(o.props.ariaLabelledby)?o.props.ariaLabelledby[u]:o.props.ariaLabelledby,"aria-disabled":o.props.disabled},d={index:u,value:I1(o.state.value),valueNow:o.state.value[u]};return o.props.ariaValuetext&&(p["aria-valuetext"]=typeof o.props.ariaValuetext=="string"?o.props.ariaValuetext:o.props.ariaValuetext(d)),o.props.renderThumb(p,d)},o.renderTrack=(l,u,c)=>{let p={key:o.props.trackClassName+"-"+l,className:o.props.trackClassName+" "+o.props.trackClassName+"-"+l,style:o.buildTrackStyle(u,o.state.upperBound-c)},d={index:l,value:I1(o.state.value)};return o.props.renderTrack(p,d)};let a=X3(n.value);a.length||(a=X3(n.defaultValue)),o.pendingResizeTimeouts=[];let s=[];for(let l=0;l<a.length;l+=1)a[l]=Zi(a[l],n),s.push(l);return o.resizeObserver=null,o.resizeElementRef=Rs.createRef(),o.state={index:-1,upperBound:0,sliderLength:0,value:a,zIndices:s},o}Qu(t,e);var r=t.prototype;return r.componentDidMount=function(){typeof window<"u"&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.resizeElementRef.current),this.resize())},t.getDerivedStateFromProps=function(n,o){let a=X3(n.value);return a.length?o.pending?null:{value:a.map(s=>Zi(s,n))}:null},r.componentDidUpdate=function(){this.state.upperBound===0&&this.resize()},r.componentWillUnmount=function(){this.clearPendingResizeTimeouts(),this.resizeObserver&&this.resizeObserver.disconnect()},r.onEnd=function(n){n&&function(o){Object.keys(o).forEach(a=>{typeof document<"u"&&document.removeEventListener(a,o[a],!1)})}(n),this.hasMoved&&this.fireChangeEvent("onAfterChange"),this.setState({pending:!1}),this.hasMoved=!1},r.getValue=function(){return I1(this.state.value)},r.getClosestIndex=function(n){let o=Number.MAX_VALUE,a=-1,{value:s}=this.state,l=s.length;for(let u=0;u<l;u+=1){let c=this.calcOffset(s[u]),p=Math.abs(n-c);p<o&&(o=p,a=u)}return a},r.getMousePosition=function(n){return[n["page"+this.axisKey()],n["page"+this.orthogonalAxisKey()]]},r.getTouchPosition=function(n){let o=n.touches[0];return[o["page"+this.axisKey()],o["page"+this.orthogonalAxisKey()]]},r.getKeyDownEventMap=function(){return{keydown:this.onKeyDown,keyup:this.onKeyUp,focusout:this.onBlur}},r.getMouseEventMap=function(){return{mousemove:this.onMouseMove,mouseup:this.onMouseUp}},r.getTouchEventMap=function(){return{touchmove:this.onTouchMove,touchend:this.onTouchEnd}},r.getValueFromPosition=function(n){let o=n/(this.state.sliderLength-this.state.thumbSize)*(this.props.max-this.props.min);return Zi(this.state.startValue+o,this.props)},r.getDiffPosition=function(n){let o=n-this.state.startPosition;return this.props.invert&&(o*=-1),o},r.resize=function(){let{slider:n,thumb0:o}=this;if(!n||!o)return;let a=this.sizeKey(),s=n.getBoundingClientRect(),l=n[a],u=s[this.posMaxKey()],c=s[this.posMinKey()],p=o.getBoundingClientRect()[a.replace("client","").toLowerCase()],d=l-p,h=Math.abs(u-c);this.state.upperBound===d&&this.state.sliderLength===h&&this.state.thumbSize===p||this.setState({upperBound:d,sliderLength:h,thumbSize:p})},r.calcOffset=function(n){let o=this.props.max-this.props.min;return o===0?0:(n-this.props.min)/o*this.state.upperBound},r.calcValue=function(n){return n/this.state.upperBound*(this.props.max-this.props.min)+this.props.min},r.calcOffsetFromPosition=function(n){let{slider:o}=this,a=o.getBoundingClientRect(),s=a[this.posMaxKey()],l=a[this.posMinKey()],u=n-(window["page"+this.axisKey()+"Offset"]+(this.props.invert?s:l));return this.props.invert&&(u=this.state.sliderLength-u),u-=this.state.thumbSize/2,u},r.forceValueFromPosition=function(n,o){let a=this.calcOffsetFromPosition(n),s=this.getClosestIndex(a),l=Zi(this.calcValue(a),this.props),u=this.state.value.slice();u[s]=l;for(let c=0;c<u.length-1;c+=1)if(u[c+1]-u[c]<this.props.minDistance)return;this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0,this.setState({value:u},()=>{o(s),this.fireChangeEvent("onChange")})},r.clearPendingResizeTimeouts=function(){do{let n=this.pendingResizeTimeouts.shift();clearTimeout(n)}while(this.pendingResizeTimeouts.length)},r.start=function(n,o){let a=this["thumb"+n];a&&a.focus();let{zIndices:s}=this.state;s.splice(s.indexOf(n),1),s.push(n),this.setState(l=>({startValue:l.value[n],startPosition:o!==void 0?o:l.startPosition,index:n,zIndices:s}))},r.moveUpByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=Zi(this.props.invert&&this.props.orientation==="horizontal"?o-n:o+n,this.props);this.move(Math.min(a,this.props.max))},r.moveDownByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=Zi(this.props.invert&&this.props.orientation==="horizontal"?o+n:o-n,this.props);this.move(Math.max(a,this.props.min))},r.move=function(n){let o=this.state.value.slice(),{index:a}=this.state,{length:s}=o,l=o[a];if(n===l)return;this.hasMoved||this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0;let{pearling:u,max:c,min:p,minDistance:d}=this.props;if(!u){if(a>0){let h=o[a-1];n<h+d&&(n=h+d)}if(a<s-1){let h=o[a+1];n>h-d&&(n=h-d)}}o[a]=n,u&&s>1&&(n>l?(this.pushSucceeding(o,d,a),function(h,g,v,m){for(let b=0;b<h;b+=1){let y=m-b*v;g[h-1-b]>y&&(g[h-1-b]=y)}}(s,o,d,c)):n<l&&(this.pushPreceding(o,d,a),function(h,g,v,m){for(let b=0;b<h;b+=1){let y=m+b*v;g[b]<y&&(g[b]=y)}}(s,o,d,p))),this.setState({value:o},this.fireChangeEvent.bind(this,"onChange"))},r.pushSucceeding=function(n,o,a){let s,l;for(s=a,l=n[s]+o;n[s+1]!==null&&l>n[s+1];s+=1,l=n[s]+o)n[s+1]=Y3(l,this.props)},r.pushPreceding=function(n,o,a){for(let s=a,l=n[s]-o;n[s-1]!==null&&l<n[s-1];s-=1,l=n[s]-o)n[s-1]=Y3(l,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](I1(this.state.value),this.state.index)},r.buildThumbStyle=function(n,o){let a={position:"absolute",touchAction:"none",willChange:this.state.index>=0?this.posMinKey():void 0,zIndex:this.state.zIndices.indexOf(o)+1};return a[this.posMinKey()]=n+"px",a},r.buildTrackStyle=function(n,o){let a={position:"absolute",willChange:this.state.index>=0?this.posMinKey()+","+this.posMaxKey():void 0};return a[this.posMinKey()]=n,a[this.posMaxKey()]=o,a},r.buildMarkStyle=function(n){var o;return(o={position:"absolute"})[this.posMinKey()]=n,o},r.renderThumbs=function(n){let{length:o}=n,a=[];for(let l=0;l<o;l+=1)a[l]=this.buildThumbStyle(n[l],l);let s=[];for(let l=0;l<o;l+=1)s[l]=this.renderThumb(a[l],l);return s},r.renderTracks=function(n){let o=[],a=n.length-1;o.push(this.renderTrack(0,0,n[0]));for(let s=0;s<a;s+=1)o.push(this.renderTrack(s+1,n[s],n[s+1]));return o.push(this.renderTrack(a+1,n[a],this.state.upperBound)),o},r.renderMarks=function(){let{marks:n}=this.props,o=this.props.max-this.props.min+1;return typeof n=="boolean"?n=Array.from({length:o}).map((a,s)=>s):typeof n=="number"&&(n=Array.from({length:o}).map((a,s)=>s).filter(a=>a%n==0)),n.map(parseFloat).sort((a,s)=>a-s).map(a=>{let s=this.calcOffset(a),l={key:a,className:this.props.markClassName,style:this.buildMarkStyle(s)};return this.props.renderMark(l)})},r.render=function(){let n=[],{value:o}=this.state,a=o.length;for(let c=0;c<a;c+=1)n[c]=this.calcOffset(o[c],c);let s=this.props.withTracks?this.renderTracks(n):null,l=this.renderThumbs(n),u=this.props.marks?this.renderMarks():null;return Rs.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,l,u)},t}(Rs.Component);J3.displayName="ReactSlider",J3.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=>Rs.createElement("div",e),renderTrack:e=>Rs.createElement("div",e),renderMark:e=>Rs.createElement("span",e)};var Z3=J3;import{jsx as Wu}from"react/jsx-runtime";var hO="4px",Xae=qae`
2750
+ `,mO=({align:e="left",buttonVariant:t="secondary",earliestDate:r,latestDate:n,format:o=Vae,fullWidth:a=!1,footerText:s,onChange:l,presets:u=[],range:c={end:new Date,start:new Date},shouldPreventFuture:p=!1,customTriggerComponent:d,width:h,...g})=>{let[v,m]=ju(c),[b,y]=ju(!1),[x,w]=ju(!0),[D,P]=ju("end"),[S,E]=ju([]),R=Ln();pO(()=>{m(c)},[c]),pO(()=>{let I=()=>{y(!1),m(c)};return b&&window.addEventListener("click",I),()=>{window.removeEventListener("click",I)}},[b,c,m]);let B=I=>I.stopPropagation(),k={"data-testid":"trigger",fullWidth:a,onClick:()=>y(!b),children:o(c),...Object.fromEntries(Object.entries(g).filter(([I])=>I!=="data-testid"))},j=d;return Ji($ae,{$width:h,"data-testid":"rangeselector-test-identifier",onClick:B,children:[j?At(j,{...k}):At(zae,{...k,$inputButtonOverride:t==="input",icon:At(Ee,{size:"sm",type:"caret-down"}),iconPosition:"end",textAlign:"left",variant:t==="input"?"tertiary":t}),b?Ji(jae,{$hasPresets:!!u.length,align:e,children:[Ji(Wae,{children:[!!u.length&&At(Id,{"data-testid":"presets",style:{marginBottom:0,borderRight:`1px solid ${R.color.grey400}`,padding:"12px"},variant:"unbulleted",children:u.map(({label:I,value:V,tooltipText:N})=>At(ki,{children:At(Gae,{$isActive:Nae(v,V),"data-testid":I?.replaceAll(" ","_"),onClick:()=>{m(V)},children:Ji(Kae,{"data-title":`${I}___`,children:[I," ",N!==void 0?At(kae,{tooltipText:N}):null]})})},I))}),At(_ae,{children:Ji(Lae,{children:[At(M1,{earliestDate:r,latestDate:n,onChange:I=>{m(I)},onErrorChange:E,onSelectedRangePartChange:P,range:v,shouldPreventFuture:p,width:"100%"}),At(T1,{earliestDate:r,latestDate:n,onChange:I=>{m(I)},onIsValidChange:w,range:v,rangePartToShow:D,shouldPreventFuture:p})]})})]}),At(Hae,{}),Ji(Uae,{children:[At("div",{children:s}),Ji(Bo,{align:"right",children:[At(nt,{onClick:()=>{m(c),y(!1)},style:{marginLeft:0},variant:"secondary",children:"Cancel"}),At(nt,{"data-testid":"apply-button",disabled:!!S.length||!x,onMouseUp:()=>{l&&l(v),y(!1)},children:"Apply"})]})]})]}):null]})};mO.displayName="RangeSelector_VHS";i();i();import Q3,{css as qae}from"styled-components";i();i();import Rs from"react";function q3(e){return e&&e.stopPropagation&&e.stopPropagation(),e&&e.preventDefault&&e.preventDefault(),!1}function X3(e){return e==null?[]:Array.isArray(e)?e.slice():[e]}function I1(e){return e!==null&&e.length===1?e[0]:e.slice()}function k1(e){Object.keys(e).forEach((t=>{typeof document<"u"&&document.addEventListener(t,e[t],!1)}))}function Zi(e,t){return Y3((function(r,n){let o=r;return o<=n.min&&(o=n.min),o>=n.max&&(o=n.max),o})(e,t),t)}function Y3(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 J3=(function(e){function t(n){var o;(o=e.call(this,n)||this).onKeyUp=()=>{o.onEnd()},o.onMouseUp=()=>{o.onEnd(o.getMouseEventMap())},o.onTouchEnd=l=>{l.preventDefault(),o.onEnd(o.getTouchEventMap())},o.onBlur=()=>{o.setState({index:-1},o.onEnd(o.getKeyDownEventMap()))},o.onMouseMove=l=>{o.setState({pending:!0});let u=o.getMousePosition(l),c=o.getDiffPosition(u[0]),p=o.getValueFromPosition(c);o.move(p)},o.onTouchMove=l=>{if(l.touches.length>1)return;o.setState({pending:!0});let u=o.getTouchPosition(l);if(o.isScrolling===void 0){let d=u[0]-o.startPosition[0],h=u[1]-o.startPosition[1];o.isScrolling=Math.abs(h)>Math.abs(d)}if(o.isScrolling)return void o.setState({index:-1});let c=o.getDiffPosition(u[0]),p=o.getValueFromPosition(c);o.move(p)},o.onKeyDown=l=>{if(!(l.ctrlKey||l.shiftKey||l.altKey||l.metaKey))switch(o.setState({pending:!0}),l.key){case"ArrowLeft":case"ArrowDown":case"Left":case"Down":l.preventDefault(),o.moveDownByStep();break;case"ArrowRight":case"ArrowUp":case"Right":case"Up":l.preventDefault(),o.moveUpByStep();break;case"Home":l.preventDefault(),o.move(o.props.min);break;case"End":l.preventDefault(),o.move(o.props.max);break;case"PageDown":l.preventDefault(),o.moveDownByStep(o.props.pageFn(o.props.step));break;case"PageUp":l.preventDefault(),o.moveUpByStep(o.props.pageFn(o.props.step))}},o.onSliderMouseDown=l=>{if(!o.props.disabled&&l.button!==2){if(o.setState({pending:!0}),!o.props.snapDragDisabled){let u=o.getMousePosition(l);o.forceValueFromPosition(u[0],(c=>{o.start(c,u[0]),k1(o.getMouseEventMap())}))}q3(l)}},o.onSliderClick=l=>{if(!o.props.disabled&&o.props.onSliderClick&&!o.hasMoved){let u=o.getMousePosition(l),c=Zi(o.calcValue(o.calcOffsetFromPosition(u[0])),o.props);o.props.onSliderClick(c)}},o.createOnKeyDown=l=>u=>{o.props.disabled||(o.start(l),k1(o.getKeyDownEventMap()),q3(u))},o.createOnMouseDown=l=>u=>{if(o.props.disabled||u.button===2)return;o.setState({pending:!0});let c=o.getMousePosition(u);o.start(l,c[0]),k1(o.getMouseEventMap()),q3(u)},o.createOnTouchStart=l=>u=>{if(o.props.disabled||u.touches.length>1)return;o.setState({pending:!0});let c=o.getTouchPosition(u);o.startPosition=c,o.isScrolling=void 0,o.start(l,c[0]),k1(o.getTouchEventMap()),(function(p){p.stopPropagation&&p.stopPropagation()})(u)},o.handleResize=()=>{let l=window.setTimeout((()=>{o.pendingResizeTimeouts.shift(),o.resize()}),0);o.pendingResizeTimeouts.push(l)},o.renderThumb=(l,u)=>{let c=o.props.thumbClassName+" "+o.props.thumbClassName+"-"+u+" "+(o.state.index===u?o.props.thumbActiveClassName:""),p={ref:h=>{o["thumb"+u]=h},key:o.props.thumbClassName+"-"+u,className:c,style:l,onMouseDown:o.createOnMouseDown(u),onTouchStart:o.createOnTouchStart(u),onFocus:o.createOnKeyDown(u),tabIndex:0,role:"slider","aria-orientation":o.props.orientation,"aria-valuenow":o.state.value[u],"aria-valuemin":o.props.min,"aria-valuemax":o.props.max,"aria-label":Array.isArray(o.props.ariaLabel)?o.props.ariaLabel[u]:o.props.ariaLabel,"aria-labelledby":Array.isArray(o.props.ariaLabelledby)?o.props.ariaLabelledby[u]:o.props.ariaLabelledby,"aria-disabled":o.props.disabled},d={index:u,value:I1(o.state.value),valueNow:o.state.value[u]};return o.props.ariaValuetext&&(p["aria-valuetext"]=typeof o.props.ariaValuetext=="string"?o.props.ariaValuetext:o.props.ariaValuetext(d)),o.props.renderThumb(p,d)},o.renderTrack=(l,u,c)=>{let p={key:o.props.trackClassName+"-"+l,className:o.props.trackClassName+" "+o.props.trackClassName+"-"+l,style:o.buildTrackStyle(u,o.state.upperBound-c)},d={index:l,value:I1(o.state.value)};return o.props.renderTrack(p,d)};let a=X3(n.value);a.length||(a=X3(n.defaultValue)),o.pendingResizeTimeouts=[];let s=[];for(let l=0;l<a.length;l+=1)a[l]=Zi(a[l],n),s.push(l);return o.resizeObserver=null,o.resizeElementRef=Rs.createRef(),o.state={index:-1,upperBound:0,sliderLength:0,value:a,zIndices:s},o}Qu(t,e);var r=t.prototype;return r.componentDidMount=function(){typeof window<"u"&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.resizeElementRef.current),this.resize())},t.getDerivedStateFromProps=function(n,o){let a=X3(n.value);return a.length?o.pending?null:{value:a.map((s=>Zi(s,n)))}:null},r.componentDidUpdate=function(){this.state.upperBound===0&&this.resize()},r.componentWillUnmount=function(){this.clearPendingResizeTimeouts(),this.resizeObserver&&this.resizeObserver.disconnect()},r.onEnd=function(n){n&&(function(o){Object.keys(o).forEach((a=>{typeof document<"u"&&document.removeEventListener(a,o[a],!1)}))})(n),this.hasMoved&&this.fireChangeEvent("onAfterChange"),this.setState({pending:!1}),this.hasMoved=!1},r.getValue=function(){return I1(this.state.value)},r.getClosestIndex=function(n){let o=Number.MAX_VALUE,a=-1,{value:s}=this.state,l=s.length;for(let u=0;u<l;u+=1){let c=this.calcOffset(s[u]),p=Math.abs(n-c);p<o&&(o=p,a=u)}return a},r.getMousePosition=function(n){return[n["page"+this.axisKey()],n["page"+this.orthogonalAxisKey()]]},r.getTouchPosition=function(n){let o=n.touches[0];return[o["page"+this.axisKey()],o["page"+this.orthogonalAxisKey()]]},r.getKeyDownEventMap=function(){return{keydown:this.onKeyDown,keyup:this.onKeyUp,focusout:this.onBlur}},r.getMouseEventMap=function(){return{mousemove:this.onMouseMove,mouseup:this.onMouseUp}},r.getTouchEventMap=function(){return{touchmove:this.onTouchMove,touchend:this.onTouchEnd}},r.getValueFromPosition=function(n){let o=n/(this.state.sliderLength-this.state.thumbSize)*(this.props.max-this.props.min);return Zi(this.state.startValue+o,this.props)},r.getDiffPosition=function(n){let o=n-this.state.startPosition;return this.props.invert&&(o*=-1),o},r.resize=function(){let{slider:n,thumb0:o}=this;if(!n||!o)return;let a=this.sizeKey(),s=n.getBoundingClientRect(),l=n[a],u=s[this.posMaxKey()],c=s[this.posMinKey()],p=o.getBoundingClientRect()[a.replace("client","").toLowerCase()],d=l-p,h=Math.abs(u-c);this.state.upperBound===d&&this.state.sliderLength===h&&this.state.thumbSize===p||this.setState({upperBound:d,sliderLength:h,thumbSize:p})},r.calcOffset=function(n){let o=this.props.max-this.props.min;return o===0?0:(n-this.props.min)/o*this.state.upperBound},r.calcValue=function(n){return n/this.state.upperBound*(this.props.max-this.props.min)+this.props.min},r.calcOffsetFromPosition=function(n){let{slider:o}=this,a=o.getBoundingClientRect(),s=a[this.posMaxKey()],l=a[this.posMinKey()],u=n-(window["page"+this.axisKey()+"Offset"]+(this.props.invert?s:l));return this.props.invert&&(u=this.state.sliderLength-u),u-=this.state.thumbSize/2,u},r.forceValueFromPosition=function(n,o){let a=this.calcOffsetFromPosition(n),s=this.getClosestIndex(a),l=Zi(this.calcValue(a),this.props),u=this.state.value.slice();u[s]=l;for(let c=0;c<u.length-1;c+=1)if(u[c+1]-u[c]<this.props.minDistance)return;this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0,this.setState({value:u},(()=>{o(s),this.fireChangeEvent("onChange")}))},r.clearPendingResizeTimeouts=function(){do{let n=this.pendingResizeTimeouts.shift();clearTimeout(n)}while(this.pendingResizeTimeouts.length)},r.start=function(n,o){let a=this["thumb"+n];a&&a.focus();let{zIndices:s}=this.state;s.splice(s.indexOf(n),1),s.push(n),this.setState((l=>({startValue:l.value[n],startPosition:o!==void 0?o:l.startPosition,index:n,zIndices:s})))},r.moveUpByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=Zi(this.props.invert&&this.props.orientation==="horizontal"?o-n:o+n,this.props);this.move(Math.min(a,this.props.max))},r.moveDownByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=Zi(this.props.invert&&this.props.orientation==="horizontal"?o+n:o-n,this.props);this.move(Math.max(a,this.props.min))},r.move=function(n){let o=this.state.value.slice(),{index:a}=this.state,{length:s}=o,l=o[a];if(n===l)return;this.hasMoved||this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0;let{pearling:u,max:c,min:p,minDistance:d}=this.props;if(!u){if(a>0){let h=o[a-1];n<h+d&&(n=h+d)}if(a<s-1){let h=o[a+1];n>h-d&&(n=h-d)}}o[a]=n,u&&s>1&&(n>l?(this.pushSucceeding(o,d,a),(function(h,g,v,m){for(let b=0;b<h;b+=1){let y=m-b*v;g[h-1-b]>y&&(g[h-1-b]=y)}})(s,o,d,c)):n<l&&(this.pushPreceding(o,d,a),(function(h,g,v,m){for(let b=0;b<h;b+=1){let y=m+b*v;g[b]<y&&(g[b]=y)}})(s,o,d,p))),this.setState({value:o},this.fireChangeEvent.bind(this,"onChange"))},r.pushSucceeding=function(n,o,a){let s,l;for(s=a,l=n[s]+o;n[s+1]!==null&&l>n[s+1];s+=1,l=n[s]+o)n[s+1]=Y3(l,this.props)},r.pushPreceding=function(n,o,a){for(let s=a,l=n[s]-o;n[s-1]!==null&&l<n[s-1];s-=1,l=n[s]-o)n[s-1]=Y3(l,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](I1(this.state.value),this.state.index)},r.buildThumbStyle=function(n,o){let a={position:"absolute",touchAction:"none",willChange:this.state.index>=0?this.posMinKey():void 0,zIndex:this.state.zIndices.indexOf(o)+1};return a[this.posMinKey()]=n+"px",a},r.buildTrackStyle=function(n,o){let a={position:"absolute",willChange:this.state.index>=0?this.posMinKey()+","+this.posMaxKey():void 0};return a[this.posMinKey()]=n,a[this.posMaxKey()]=o,a},r.buildMarkStyle=function(n){var o;return(o={position:"absolute"})[this.posMinKey()]=n,o},r.renderThumbs=function(n){let{length:o}=n,a=[];for(let l=0;l<o;l+=1)a[l]=this.buildThumbStyle(n[l],l);let s=[];for(let l=0;l<o;l+=1)s[l]=this.renderThumb(a[l],l);return s},r.renderTracks=function(n){let o=[],a=n.length-1;o.push(this.renderTrack(0,0,n[0]));for(let s=0;s<a;s+=1)o.push(this.renderTrack(s+1,n[s],n[s+1]));return o.push(this.renderTrack(a+1,n[a],this.state.upperBound)),o},r.renderMarks=function(){let{marks:n}=this.props,o=this.props.max-this.props.min+1;return typeof n=="boolean"?n=Array.from({length:o}).map(((a,s)=>s)):typeof n=="number"&&(n=Array.from({length:o}).map(((a,s)=>s)).filter((a=>a%n==0))),n.map(parseFloat).sort(((a,s)=>a-s)).map((a=>{let s=this.calcOffset(a),l={key:a,className:this.props.markClassName,style:this.buildMarkStyle(s)};return this.props.renderMark(l)}))},r.render=function(){let n=[],{value:o}=this.state,a=o.length;for(let c=0;c<a;c+=1)n[c]=this.calcOffset(o[c],c);let s=this.props.withTracks?this.renderTracks(n):null,l=this.renderThumbs(n),u=this.props.marks?this.renderMarks():null;return Rs.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,l,u)},t})(Rs.Component);J3.displayName="ReactSlider",J3.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=>Rs.createElement("div",e),renderTrack:e=>Rs.createElement("div",e),renderMark:e=>Rs.createElement("span",e)};var Z3=J3;import{jsx as Wu}from"react/jsx-runtime";var hO="4px",Xae=qae`
2751
2751
  opacity: 0.5;
2752
2752
 
2753
2753
  & * {
@@ -2974,7 +2974,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2974
2974
  grid-row: 1 / 3;
2975
2975
  }
2976
2976
  }
2977
- `,gse=({thumbnailUrls:e,gradientBackground:t="defaultMidOne",...r})=>t5(hse,{role:"presentation",...r,children:e.length?e.map(n=>t5(SO,{$thumbnailUrl:n},n)):t5(SO,{$backgroundGradient:t})});i();i();import vse from"styled-components";import{jsx as Ko,jsxs as TO}from"react/jsx-runtime";var yse=vse.svg`
2977
+ `,gse=({thumbnailUrls:e,gradientBackground:t="defaultMidOne",...r})=>t5(hse,{role:"presentation",...r,children:e.length?e.map(n=>t5(SO,{$thumbnailUrl:n},n)):t5(SO,{$backgroundGradient:t})});i();i();import vse from"styled-components";import{jsx as Ko,jsxs as PO}from"react/jsx-runtime";var yse=vse.svg`
2978
2978
  height: ${({height:e})=>`${e}px`};
2979
2979
 
2980
2980
  /* ensure it will always fit on mobile */
@@ -2986,7 +2986,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
2986
2986
  ${({$hoverColor:e})=>e!==void 0?`fill: ${e}`:null};
2987
2987
  }
2988
2988
  }
2989
- `,bse=({brandmarkColor:e})=>TO("g",{fill:e,children:[Ko("path",{d:`
2989
+ `,bse=({brandmarkColor:e})=>PO("g",{fill:e,children:[Ko("path",{d:`
2990
2990
  M15.37 19.26c-3.45.95-11.23.49-12.48.49H0l4.76-5.37c1.29-1.45
2991
2991
  2-1.75 3.39-1.75s4.77.14 6.58 0A18.14 18.14 0 0022 10.64c2.95-1.86
2992
2992
  3.54-3 3.54-3s1.05 8.53-10.17 11.62z
@@ -3008,7 +3008,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
3008
3008
  3h5.8v16.78h3.08V3h5.91V.22H83.72zm18.12 16.79h3.07V.25h-3.07zm25.31
3009
3009
  0H124l-2.56-5.69h-8L111 19.78h-3.18l.1-.22L116.25.14h2.14zM117.3
3010
3010
  4.93l-2.64 6.39h5.49z
3011
- `})}),xse=(e,t)=>e&&!t?"0 0 25.7 19.9":!e&&t?"29.6 0 97.7 20":"0 0 127.15 20",EO=({brandmark:e=!0,colorOverride:t=void 0,height:r=100,hoverColor:n=void 0,href:o=void 0,logotype:a=!0,title:s="Wistia",variant:l="standard",...u}={})=>{let[c]=Oe(["brandBlue500"]),p={standard:{brandmark:t??c,logotype:t??"#0A162F"},black:{brandmark:"black",logotype:"black"},white:{brandmark:"white",logotype:"white"}},d=p[l].brandmark,h=p[l].logotype;if(!e&&!a)return null;let g=TO(yse,{$hoverColor:n,height:r,role:"img",title:"Wistia Logo",viewBox:xse(!!e,!!a),xmlns:"http://www.w3.org/2000/svg",...u,children:[Ko("title",{children:s}),e?Ko(bse,{brandmarkColor:d}):null,a?Ko(Cse,{logotypeColor:h}):null]});return o!==void 0?Ko("a",{href:o,children:g}):g};EO.displayName="WistiaLogo_VHS";i();i();import wse from"styled-components";import{jsx as ro,jsxs as Pse}from"react/jsx-runtime";var Sse=(e,t)=>t?ro("g",{fill:e,children:ro("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"})}):ro("g",{fill:e,children:ro("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"})}),Dse=(e,t)=>t?null:ro("g",{fill:e,children:ro("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"})}),Ese=e=>e?"0 0 34.4 26.78":"0 0 144 31.47",Tse=wse.svg`
3011
+ `})}),xse=(e,t)=>e&&!t?"0 0 25.7 19.9":!e&&t?"29.6 0 97.7 20":"0 0 127.15 20",EO=({brandmark:e=!0,colorOverride:t=void 0,height:r=100,hoverColor:n=void 0,href:o=void 0,logotype:a=!0,title:s="Wistia",variant:l="standard",...u}={})=>{let[c]=Oe(["brandBlue500"]),p={standard:{brandmark:t??c,logotype:t??"#0A162F"},black:{brandmark:"black",logotype:"black"},white:{brandmark:"white",logotype:"white"}},d=p[l].brandmark,h=p[l].logotype;if(!e&&!a)return null;let g=PO(yse,{$hoverColor:n,height:r,role:"img",title:"Wistia Logo",viewBox:xse(!!e,!!a),xmlns:"http://www.w3.org/2000/svg",...u,children:[Ko("title",{children:s}),e?Ko(bse,{brandmarkColor:d}):null,a?Ko(Cse,{logotypeColor:h}):null]});return o!==void 0?Ko("a",{href:o,children:g}):g};EO.displayName="WistiaLogo_VHS";i();i();import wse from"styled-components";import{jsx as ro,jsxs as Tse}from"react/jsx-runtime";var Sse=(e,t)=>t?ro("g",{fill:e,children:ro("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"})}):ro("g",{fill:e,children:ro("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"})}),Dse=(e,t)=>t?null:ro("g",{fill:e,children:ro("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"})}),Ese=e=>e?"0 0 34.4 26.78":"0 0 144 31.47",Pse=wse.svg`
3012
3012
  height: ${({height:e})=>`${e}px`};
3013
3013
 
3014
3014
  /* ensure it will always fit on mobile */
@@ -3020,7 +3020,7 @@ var MO=Object.create;var _u=Object.defineProperty;var IO=Object.getOwnPropertyDe
3020
3020
  ${({$hoverColor:e})=>e!==void 0?`fill: ${e}`:null};
3021
3021
  }
3022
3022
  }
3023
- `,PO=({description:e=void 0,height:t=100,hoverColor:r=void 0,href:n=void 0,iconOnly:o=!1,title:a="Wistia Logo",variant:s="standard",...l})=>{let u="#2949e5",c="#000934",p="#ffffff",d={standard:{brandmark:u,logotype:c},dark:{brandmark:c,logotype:c},light:{brandmark:p,logotype:p}},h=d[s].brandmark,g=d[s].logotype,v=Pse(Tse,{$hoverColor:r,height:t,role:"img",viewBox:Ese(o),xmlns:"http://www.w3.org/2000/svg",...l,children:[ro("title",{children:a}),F(e)?ro("desc",{children:e}):null,Sse(h,o),Dse(g,o)]});return n!==void 0?ro("a",{href:n,children:v}):v};PO.displayName="WistiaLogoNew_VHS";export{Zw as ActionModal,nS as Avatar,sn as Backdrop,iS as BackgroundImage,lS as Badge,ql as Banner,dS as Box,mS as Breakline,nt as Button,Bo as ButtonGroup,SS as ButtonLink,Pp as Checkbox,Bp as CheckboxGroup,pie as CheckboxMenuItem,RS as ClickArea,OS as CloseButton,GS as CollapsibleGroup,kp as Divider,Lw as Ellipsis,HS as FileSelect,XS as Form,JS as FormButtons,YP as FormField,Rp as FormFieldError,Vp as FormGlobalError,JP as FullScreenModal,Ee as Icon,Oo as IconButton,ZP as Image,Qa as Input,QP as KeyboardShortcut,Ap as Label,Fp as LabelDescription,xp as Link,eA as LinkButton,Id as List,ki as ListItem,aA as MediaObject,iB as Menu,TB as MenuButton,fie as MenuItem,vie as MenuLabel,rB as MenuRadioGroup,kB as Modal,Xa as ModalBase,Jie as ModalBody,eae as ModalCloseButton,Zie as ModalFooter,Yie as ModalHeader,NB as Paper,zB as ProgressBar,Wp as Radio,_p as RadioGroup,die as RadioMenuItem,mO as RangeSelector,P1 as RangeSelectorCalendar,M1 as RangeSelectorInput,Fd as RichTextEditor,hp as ScreenReaderOnly,Ei as Select,gO as Slider,vO as Stack,xie as SubMenu,CO as Switch,hr as Text,wO as Thumbnail,gse as ThumbnailCollage,Df as Toast,$0 as ToastProvider,Ya as Tooltip,vp as Truncate,uIe as VHSProvider,EO as WistiaLogo,PO as WistiaLogoNew,Fs as copyToClipboard,kue as datetimeHelpers,YW as ellipsisFlexParentStyle,Tr as ellipsisStyle,Cr as getBackgroundGradient,Uue as getSemiRandomBackgroundGradient,bf as iconSizeMap,$u as isValidRange,Ae as mq,sfe as objectHelpers,Td as rteDeserializeHTML,bt as rteFormatTypes,ms as rteSerializeToHTML,Wl as screenReaderOnlyStyle,_fe as stringHelpers,j0 as useBoolean,SL as useClipboard,W0 as useElementObserver,U0 as useEvent,Y0 as useFocusTrap,NL as useForceUpdate,Ci as useFormikContext,xW as useIsHovered,pp as useKey,yh as useKeyPress,Ch as useKeyPressOnce,AW as useLocalStorage,$l as useMergedRefs,$n as useMq,zl as useOnClickOutside,xh as usePreventScroll,Gl as usePreviousValue,Ln as useTheme,Oe as useThemeColor,Jl as useToast,D0 as useWindowSize};
3023
+ `,TO=({description:e=void 0,height:t=100,hoverColor:r=void 0,href:n=void 0,iconOnly:o=!1,title:a="Wistia Logo",variant:s="standard",...l})=>{let u="#2949e5",c="#000934",p="#ffffff",d={standard:{brandmark:u,logotype:c},dark:{brandmark:c,logotype:c},light:{brandmark:p,logotype:p}},h=d[s].brandmark,g=d[s].logotype,v=Tse(Pse,{$hoverColor:r,height:t,role:"img",viewBox:Ese(o),xmlns:"http://www.w3.org/2000/svg",...l,children:[ro("title",{children:a}),F(e)?ro("desc",{children:e}):null,Sse(h,o),Dse(g,o)]});return n!==void 0?ro("a",{href:n,children:v}):v};TO.displayName="WistiaLogoNew_VHS";export{Zw as ActionModal,nS as Avatar,sn as Backdrop,iS as BackgroundImage,lS as Badge,ql as Banner,dS as Box,mS as Breakline,nt as Button,Bo as ButtonGroup,SS as ButtonLink,Tp as Checkbox,Bp as CheckboxGroup,pie as CheckboxMenuItem,RS as ClickArea,OS as CloseButton,GS as CollapsibleGroup,kp as Divider,Lw as Ellipsis,HS as FileSelect,XS as Form,JS as FormButtons,YT as FormField,Rp as FormFieldError,Vp as FormGlobalError,JT as FullScreenModal,Ee as Icon,Oo as IconButton,ZT as Image,Qa as Input,QT as KeyboardShortcut,Ap as Label,Fp as LabelDescription,xp as Link,eA as LinkButton,Id as List,ki as ListItem,aA as MediaObject,iB as Menu,PB as MenuButton,fie as MenuItem,vie as MenuLabel,rB as MenuRadioGroup,kB as Modal,Xa as ModalBase,Jie as ModalBody,eae as ModalCloseButton,Zie as ModalFooter,Yie as ModalHeader,NB as Paper,zB as ProgressBar,Wp as Radio,_p as RadioGroup,die as RadioMenuItem,mO as RangeSelector,T1 as RangeSelectorCalendar,M1 as RangeSelectorInput,Fd as RichTextEditor,hp as ScreenReaderOnly,Ei as Select,gO as Slider,vO as Stack,xie as SubMenu,CO as Switch,hr as Text,wO as Thumbnail,gse as ThumbnailCollage,Df as Toast,$0 as ToastProvider,Ya as Tooltip,vp as Truncate,uIe as VHSProvider,EO as WistiaLogo,TO as WistiaLogoNew,Fs as copyToClipboard,kue as datetimeHelpers,YW as ellipsisFlexParentStyle,Pr as ellipsisStyle,Cr as getBackgroundGradient,Uue as getSemiRandomBackgroundGradient,bf as iconSizeMap,$u as isValidRange,Ae as mq,sfe as objectHelpers,Pd as rteDeserializeHTML,bt as rteFormatTypes,ms as rteSerializeToHTML,Wl as screenReaderOnlyStyle,_fe as stringHelpers,j0 as useBoolean,SL as useClipboard,W0 as useElementObserver,U0 as useEvent,Y0 as useFocusTrap,NL as useForceUpdate,Ci as useFormikContext,xW as useIsHovered,pp as useKey,yh as useKeyPress,Ch as useKeyPressOnce,AW as useLocalStorage,$l as useMergedRefs,$n as useMq,zl as useOnClickOutside,xh as usePreventScroll,Gl as usePreviousValue,Ln as useTheme,Oe as useThemeColor,Jl as useToast,D0 as useWindowSize};
3024
3024
  /*! Bundled license information:
3025
3025
 
3026
3026
  react-is/cjs/react-is.production.min.js: