@fluidattacks/design 3.9.1 → 3.9.2-pr

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 (155) hide show
  1. package/dist/assets/index.css +1 -1
  2. package/dist/components/@core/index.js +1 -1
  3. package/dist/components/accordion/accordion-content/index.js +1 -1
  4. package/dist/components/accordion/index.js +1 -1
  5. package/dist/components/alert/index.js +1 -1
  6. package/dist/components/avatar/index.js +1 -1
  7. package/dist/components/button/index.js +1 -1
  8. package/dist/components/card/card-header/index.js +1 -1
  9. package/dist/components/card/card-with-image/index.js +1 -1
  10. package/dist/components/card/card-with-input/index.js +1 -1
  11. package/dist/components/card/card-with-options/index.js +1 -1
  12. package/dist/components/card/card-with-selector/index.js +1 -1
  13. package/dist/components/card/card-with-switch/index.js +1 -1
  14. package/dist/components/card/index.js +1 -1
  15. package/dist/components/carousel/index.js +1 -1
  16. package/dist/components/checkbox/index.js +1 -1
  17. package/dist/components/cloud-image/index.js +1 -1
  18. package/dist/components/code-snippet/index.js +1 -1
  19. package/dist/components/code-snippet/location-code/index.js +1 -1
  20. package/dist/components/colors/index.js +1 -1
  21. package/dist/components/confirm-dialog/index.js +1 -1
  22. package/dist/components/container/index.js +1 -1
  23. package/dist/components/content-card/category-tag/index.js +1 -1
  24. package/dist/components/content-card/event-date/index.js +1 -1
  25. package/dist/components/content-card/index.js +1 -1
  26. package/dist/components/content-card-carousel/index.js +1 -1
  27. package/dist/components/content-card-carousel/scroll-buttons/index.js +1 -1
  28. package/dist/components/divider/index.js +1 -1
  29. package/dist/components/empty-state/empty-button/index.js +1 -1
  30. package/dist/components/empty-state/index.js +1 -1
  31. package/dist/components/file-preview/index.js +1 -1
  32. package/dist/components/form/index.js +1 -1
  33. package/dist/components/grid-container/index.js +1 -1
  34. package/dist/components/group-selector/index.js +1 -1
  35. package/dist/components/group-selector/option-container/index.js +1 -1
  36. package/dist/components/icon/index.js +1 -1
  37. package/dist/components/icon-button/index.js +1 -1
  38. package/dist/components/icon-button/index.stories.d.ts +0 -14
  39. package/dist/components/indicator-card/index.js +1 -1
  40. package/dist/components/info-sidebar/index.js +1 -1
  41. package/dist/components/inputs/fields/combobox/field/index.js +1 -1
  42. package/dist/components/inputs/fields/combobox/index.js +1 -1
  43. package/dist/components/inputs/fields/combobox/option/index.js +1 -1
  44. package/dist/components/inputs/fields/date/calendar/cell/index.js +1 -1
  45. package/dist/components/inputs/fields/date/calendar/grid/index.js +1 -1
  46. package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
  47. package/dist/components/inputs/fields/date/calendar/index.js +1 -1
  48. package/dist/components/inputs/fields/date/index.js +1 -1
  49. package/dist/components/inputs/fields/date-range/calendar/index.js +1 -1
  50. package/dist/components/inputs/fields/date-range/index.js +1 -1
  51. package/dist/components/inputs/fields/date-time/calendar/index.js +1 -1
  52. package/dist/components/inputs/fields/date-time/index.js +1 -1
  53. package/dist/components/inputs/fields/editable/index.js +1 -1
  54. package/dist/components/inputs/fields/input/index.js +1 -1
  55. package/dist/components/inputs/fields/input-file/index.js +1 -1
  56. package/dist/components/inputs/fields/input-tags/field/index.js +1 -1
  57. package/dist/components/inputs/fields/input-tags/index.js +1 -1
  58. package/dist/components/inputs/fields/number/index.js +1 -1
  59. package/dist/components/inputs/fields/number-range/index.js +1 -1
  60. package/dist/components/inputs/fields/phone/index.js +1 -1
  61. package/dist/components/inputs/fields/text-area/index.js +1 -1
  62. package/dist/components/inputs/index.js +1 -1
  63. package/dist/components/inputs/label/index.js +1 -1
  64. package/dist/components/inputs/outline-container/index.js +1 -1
  65. package/dist/components/inputs/utils/action-button/index.js +1 -1
  66. package/dist/components/inputs/utils/calendar-button/index.js +1 -1
  67. package/dist/components/inputs/utils/date-selector/index.js +1 -1
  68. package/dist/components/inputs/utils/date-time-field/index.js +1 -1
  69. package/dist/components/inputs/utils/dialog/index.js +1 -1
  70. package/dist/components/inputs/utils/number-field/index.js +1 -1
  71. package/dist/components/inputs/utils/popover/index.js +1 -1
  72. package/dist/components/interactive-card/icon/index.js +1 -1
  73. package/dist/components/interactive-card/index.js +1 -1
  74. package/dist/components/language-selector/index.js +1 -1
  75. package/dist/components/language-selector/item-list/index.js +1 -1
  76. package/dist/components/layout/categories/buttons/index.js +1 -1
  77. package/dist/components/layout/categories/column/index.js +1 -1
  78. package/dist/components/layout/categories/gap/index.js +1 -1
  79. package/dist/components/layout/categories/row/index.js +1 -1
  80. package/dist/components/layout/index.js +1 -1
  81. package/dist/components/link/index.js +1 -1
  82. package/dist/components/list-item/index.js +1 -1
  83. package/dist/components/little-flag/index.js +1 -1
  84. package/dist/components/loading/index.js +1 -1
  85. package/dist/components/logo/index.js +1 -1
  86. package/dist/components/logo-carousel/index.js +1 -1
  87. package/dist/components/menu/index.js +1 -1
  88. package/dist/components/message-banner/index.js +1 -1
  89. package/dist/components/modal/columns-modal/index.js +1 -1
  90. package/dist/components/modal/columns-modal/preview-panel/index.js +1 -1
  91. package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
  92. package/dist/components/modal/filters-modal/fields/options-selector/index.js +1 -1
  93. package/dist/components/modal/filters-modal/filter-control/index.js +1 -1
  94. package/dist/components/modal/filters-modal/filter-form/index.js +1 -1
  95. package/dist/components/modal/filters-modal/filters-list/index.js +1 -1
  96. package/dist/components/modal/filters-modal/index.js +1 -1
  97. package/dist/components/modal/filters-modal/single-column-filters/index.js +1 -1
  98. package/dist/components/modal/filters-modal/two-columns-filters/index.js +1 -1
  99. package/dist/components/modal/footer/index.js +1 -1
  100. package/dist/components/modal/header/index.js +1 -1
  101. package/dist/components/modal/index.js +1 -1
  102. package/dist/components/modal/modal-confirm/index.js +1 -1
  103. package/dist/components/notification/index.js +1 -1
  104. package/dist/components/notification-sign/index.js +1 -1
  105. package/dist/components/number-input/index.js +1 -1
  106. package/dist/components/oauth-selector/index.js +1 -1
  107. package/dist/components/oauth-selector/option-container/index.js +1 -1
  108. package/dist/components/plan-card/index.js +1 -1
  109. package/dist/components/plan-card/recommended-tag/index.js +1 -1
  110. package/dist/components/pop-up/description/index.js +1 -1
  111. package/dist/components/pop-up/index.js +1 -1
  112. package/dist/components/premium-feature/index.js +1 -1
  113. package/dist/components/priority-score/index.js +1 -1
  114. package/dist/components/progress/index.js +1 -1
  115. package/dist/components/progress-bar/index.js +1 -1
  116. package/dist/components/radio-button/index.js +1 -1
  117. package/dist/components/scroll-button/index.js +1 -1
  118. package/dist/components/search/index.js +1 -1
  119. package/dist/components/search-bar/index.js +1 -1
  120. package/dist/components/search-bar/item-searching/index.js +1 -1
  121. package/dist/components/severity-badge/index.js +1 -1
  122. package/dist/components/severity-overview/badge/index.js +1 -1
  123. package/dist/components/severity-overview/index.js +1 -1
  124. package/dist/components/show-on-hover/index.js +1 -1
  125. package/dist/components/slide-out-menu/index.js +1 -1
  126. package/dist/components/slide-out-menu/menu-item/index.js +1 -1
  127. package/dist/components/slider/index.js +1 -1
  128. package/dist/components/slider/thumb/index.js +1 -1
  129. package/dist/components/step-lapse/index.js +1 -1
  130. package/dist/components/table-button/index.js +1 -1
  131. package/dist/components/tabs/fixed-tabs/index.js +1 -1
  132. package/dist/components/tabs/index.js +1 -1
  133. package/dist/components/tabs/tab/index.js +1 -1
  134. package/dist/components/tag/index.js +1 -1
  135. package/dist/components/timeline/card/index.js +1 -1
  136. package/dist/components/timeline/index.js +1 -1
  137. package/dist/components/toggle/index.js +1 -1
  138. package/dist/components/toggle-buttons/index.js +1 -1
  139. package/dist/components/tooltip/index.d.ts +1 -1
  140. package/dist/components/tooltip/index.js +1 -1
  141. package/dist/components/tooltip/types.d.ts +2 -2
  142. package/dist/components/tour/index.js +1 -1
  143. package/dist/components/typography/heading/index.js +1 -1
  144. package/dist/components/typography/index.js +1 -1
  145. package/dist/components/typography/span/index.js +1 -1
  146. package/dist/components/typography/text/index.js +1 -1
  147. package/dist/components/web-form/index.js +1 -1
  148. package/dist/{components-DhWxTOlR.js → components-CPl37mZL.js} +57 -60
  149. package/dist/{components-B9N9gyh8.mjs → components-hkFGg-Tn.mjs} +1329 -1331
  150. package/dist/hooks/index.js +1 -1
  151. package/dist/index.js +1 -1
  152. package/dist/vendor-B1UgKeXD.js +213 -0
  153. package/dist/{vendor-Dh2Vj-4I.mjs → vendor-B5QH33Qh.mjs} +13158 -13008
  154. package/package.json +1 -1
  155. package/dist/vendor-CqvV2Skw.js +0 -223
@@ -1,223 +0,0 @@
1
- "use strict";require('./assets/vendor.css');const x=require("react"),uo=require("react-dom"),Ea=require("react/jsx-runtime");function cA(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Ge=cA(x),Pf=cA(uo);var Xn=function(){return Xn=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Xn.apply(this,arguments)};function rs(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function QN(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var ej=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,tj=QN(function(e){return ej.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Vi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zt="-ms-",nc="-moz-",St="-webkit-",dA="comm",Uh="rule",u1="decl",nj="@import",fA="@keyframes",rj="@layer",hA=Math.abs,l1=String.fromCharCode,Eb=Object.assign;function ij(e,t){return Tn(e,0)^45?(((t<<2^Tn(e,0))<<2^Tn(e,1))<<2^Tn(e,2))<<2^Tn(e,3):0}function pA(e){return e.trim()}function ya(e,t){return(e=t.exec(e))?e[0]:e}function ot(e,t,n){return e.replace(t,n)}function _f(e,t,n){return e.indexOf(t,n)}function Tn(e,t){return e.charCodeAt(t)|0}function vu(e,t,n){return e.slice(t,n)}function ki(e){return e.length}function mA(e){return e.length}function Ul(e,t){return t.push(e),e}function aj(e,t){return e.map(t).join("")}function qx(e,t){return e.filter(function(n){return!ya(n,t)})}var zh=1,bu=1,gA=0,si=0,yn=0,Ku="";function qh(e,t,n,r,i,a,o,u){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:zh,column:bu,length:o,return:"",siblings:u}}function Za(e,t){return Eb(qh("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function zs(e){for(;e.root;)e=Za(e.root,{children:[e]});Ul(e,e.siblings)}function oj(){return yn}function sj(){return yn=si>0?Tn(Ku,--si):0,bu--,yn===10&&(bu=1,zh--),yn}function $i(){return yn=si<gA?Tn(Ku,si++):0,bu++,yn===10&&(bu=1,zh++),yn}function Xo(){return Tn(Ku,si)}function Rf(){return si}function Wh(e,t){return vu(Ku,e,t)}function Sb(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function uj(e){return zh=bu=1,gA=ki(Ku=e),si=0,[]}function lj(e){return Ku="",e}function Xm(e){return pA(Wh(si-1,Ab(e===91?e+2:e===40?e+1:e)))}function cj(e){for(;(yn=Xo())&&yn<33;)$i();return Sb(e)>2||Sb(yn)>3?"":" "}function dj(e,t){for(;--t&&$i()&&!(yn<48||yn>102||yn>57&&yn<65||yn>70&&yn<97););return Wh(e,Rf()+(t<6&&Xo()==32&&$i()==32))}function Ab(e){for(;$i();)switch(yn){case e:return si;case 34:case 39:e!==34&&e!==39&&Ab(yn);break;case 40:e===41&&Ab(e);break;case 92:$i();break}return si}function fj(e,t){for(;$i()&&e+yn!==57;)if(e+yn===84&&Xo()===47)break;return"/*"+Wh(t,si-1)+"*"+l1(e===47?e:$i())}function hj(e){for(;!Sb(Xo());)$i();return Wh(e,si)}function pj(e){return lj(Of("",null,null,null,[""],e=uj(e),0,[0],e))}function Of(e,t,n,r,i,a,o,u,l){for(var d=0,f=0,h=o,p=0,g=0,y=0,$=1,C=1,b=1,v=0,D="",A=i,E=a,T=r,R=D;C;)switch(y=v,v=$i()){case 40:if(y!=108&&Tn(R,h-1)==58){_f(R+=ot(Xm(v),"&","&\f"),"&\f",hA(d?u[d-1]:0))!=-1&&(b=-1);break}case 34:case 39:case 91:R+=Xm(v);break;case 9:case 10:case 13:case 32:R+=cj(y);break;case 92:R+=dj(Rf()-1,7);continue;case 47:switch(Xo()){case 42:case 47:Ul(mj(fj($i(),Rf()),t,n,l),l);break;default:R+="/"}break;case 123*$:u[d++]=ki(R)*b;case 125*$:case 59:case 0:switch(v){case 0:case 125:C=0;case 59+f:b==-1&&(R=ot(R,/\f/g,"")),g>0&&ki(R)-h&&Ul(g>32?Hx(R+";",r,n,h-1,l):Hx(ot(R," ","")+";",r,n,h-2,l),l);break;case 59:R+=";";default:if(Ul(T=Wx(R,t,n,d,f,i,u,D,A=[],E=[],h,a),a),v===123)if(f===0)Of(R,t,T,T,A,a,h,u,E);else switch(p===99&&Tn(R,3)===110?100:p){case 100:case 108:case 109:case 115:Of(e,T,T,r&&Ul(Wx(e,T,T,0,0,i,u,D,i,A=[],h,E),E),i,E,h,u,r?A:E);break;default:Of(R,T,T,T,[""],E,0,u,E)}}d=f=g=0,$=b=1,D=R="",h=o;break;case 58:h=1+ki(R),g=y;default:if($<1){if(v==123)--$;else if(v==125&&$++==0&&sj()==125)continue}switch(R+=l1(v),v*$){case 38:b=f>0?1:(R+="\f",-1);break;case 44:u[d++]=(ki(R)-1)*b,b=1;break;case 64:Xo()===45&&(R+=Xm($i())),p=Xo(),f=h=ki(D=R+=hj(Rf())),v++;break;case 45:y===45&&ki(R)==2&&($=0)}}return a}function Wx(e,t,n,r,i,a,o,u,l,d,f,h){for(var p=i-1,g=i===0?a:[""],y=mA(g),$=0,C=0,b=0;$<r;++$)for(var v=0,D=vu(e,p+1,p=hA(C=o[$])),A=e;v<y;++v)(A=pA(C>0?g[v]+" "+D:ot(D,/&\f/g,g[v])))&&(l[b++]=A);return qh(e,t,n,i===0?Uh:u,l,d,f,h)}function mj(e,t,n,r){return qh(e,t,n,dA,l1(oj()),vu(e,2,-2),0,r)}function Hx(e,t,n,r,i){return qh(e,t,n,u1,vu(e,0,r),vu(e,r+1,-1),r,i)}function yA(e,t,n){switch(ij(e,t)){case 5103:return St+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return St+e+e;case 4789:return nc+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return St+e+nc+e+zt+e+e;case 5936:switch(Tn(e,t+11)){case 114:return St+e+zt+ot(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return St+e+zt+ot(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return St+e+zt+ot(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return St+e+zt+e+e;case 6165:return St+e+zt+"flex-"+e+e;case 5187:return St+e+ot(e,/(\w+).+(:[^]+)/,St+"box-$1$2"+zt+"flex-$1$2")+e;case 5443:return St+e+zt+"flex-item-"+ot(e,/flex-|-self/g,"")+(ya(e,/flex-|baseline/)?"":zt+"grid-row-"+ot(e,/flex-|-self/g,""))+e;case 4675:return St+e+zt+"flex-line-pack"+ot(e,/align-content|flex-|-self/g,"")+e;case 5548:return St+e+zt+ot(e,"shrink","negative")+e;case 5292:return St+e+zt+ot(e,"basis","preferred-size")+e;case 6060:return St+"box-"+ot(e,"-grow","")+St+e+zt+ot(e,"grow","positive")+e;case 4554:return St+ot(e,/([^-])(transform)/g,"$1"+St+"$2")+e;case 6187:return ot(ot(ot(e,/(zoom-|grab)/,St+"$1"),/(image-set)/,St+"$1"),e,"")+e;case 5495:case 3959:return ot(e,/(image-set\([^]*)/,St+"$1$`$1");case 4968:return ot(ot(e,/(.+:)(flex-)?(.*)/,St+"box-pack:$3"+zt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+St+e+e;case 4200:if(!ya(e,/flex-|baseline/))return zt+"grid-column-align"+vu(e,t)+e;break;case 2592:case 3360:return zt+ot(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,ya(r.props,/grid-\w+-end/)})?~_f(e+(n=n[t].value),"span",0)?e:zt+ot(e,"-start","")+e+zt+"grid-row-span:"+(~_f(n,"span",0)?ya(n,/\d+/):+ya(n,/\d+/)-+ya(e,/\d+/))+";":zt+ot(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ya(r.props,/grid-\w+-start/)})?e:zt+ot(ot(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ot(e,/(.+)-inline(.+)/,St+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ki(e)-1-t>6)switch(Tn(e,t+1)){case 109:if(Tn(e,t+4)!==45)break;case 102:return ot(e,/(.+:)(.+)-([^]+)/,"$1"+St+"$2-$3$1"+nc+(Tn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~_f(e,"stretch",0)?yA(ot(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return ot(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,a,o,u,l,d){return zt+i+":"+a+d+(o?zt+i+"-span:"+(u?l:+l-+a)+d:"")+e});case 4949:if(Tn(e,t+6)===121)return ot(e,":",":"+St)+e;break;case 6444:switch(Tn(e,Tn(e,14)===45?18:11)){case 120:return ot(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+St+(Tn(e,14)===45?"inline-":"")+"box$3$1"+St+"$2$3$1"+zt+"$2box$3")+e;case 100:return ot(e,":",":"+zt)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ot(e,"scroll-","scroll-snap-")+e}return e}function Zf(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function gj(e,t,n,r){switch(e.type){case rj:if(e.children.length)break;case nj:case u1:return e.return=e.return||e.value;case dA:return"";case fA:return e.return=e.value+"{"+Zf(e.children,r)+"}";case Uh:if(!ki(e.value=e.props.join(",")))return""}return ki(n=Zf(e.children,r))?e.return=e.value+"{"+n+"}":""}function yj(e){var t=mA(e);return function(n,r,i,a){for(var o="",u=0;u<t;u++)o+=e[u](n,r,i,a)||"";return o}}function vj(e){return function(t){t.root||(t=t.return)&&e(t)}}function bj(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case u1:e.return=yA(e.value,e.length,n);return;case fA:return Zf([Za(e,{value:ot(e.value,"@","@"+St)})],r);case Uh:if(e.length)return aj(n=e.props,function(i){switch(ya(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":zs(Za(e,{props:[ot(i,/:(read-\w+)/,":"+nc+"$1")]})),zs(Za(e,{props:[i]})),Eb(e,{props:qx(n,r)});break;case"::placeholder":zs(Za(e,{props:[ot(i,/:(plac\w+)/,":"+St+"input-$1")]})),zs(Za(e,{props:[ot(i,/:(plac\w+)/,":"+nc+"$1")]})),zs(Za(e,{props:[ot(i,/:(plac\w+)/,zt+"input-$1")]})),zs(Za(e,{props:[i]})),Eb(e,{props:qx(n,r)});break}return""})}}var $j={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},is=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",vA="active",bA="data-styled-version",Hh="6.1.14",c1=`/*!sc*/
2
- `,Jf=typeof window<"u"&&"HTMLElement"in window,xj=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),Gx=/invalid hook call/i,af=new Set,wj=function(e,t){if(process.env.NODE_ENV!=="production"){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n,` has been created dynamically.
3
- `)+`You may see this warning because you've called styled inside another component.
4
- To resolve this only create new StyledComponents outside of any render method and function component.`,i=console.error;try{var a=!0;console.error=function(o){for(var u=[],l=1;l<arguments.length;l++)u[l-1]=arguments[l];Gx.test(o)?(a=!1,af.delete(r)):i.apply(void 0,rs([o],u,!1))},x.useRef(),a&&!af.has(r)&&(console.warn(r),af.add(r))}catch(o){Gx.test(o.message)&&af.delete(r)}finally{console.error=i}}},Gh=Object.freeze([]),$u=Object.freeze({});function Dj(e,t,n){return n===void 0&&(n=$u),e.theme!==n.theme&&e.theme||t||n.theme}var Tb=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Cj=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ej=/(^-|-$)/g;function Yx(e){return e.replace(Cj,"-").replace(Ej,"")}var Sj=/(a)(d)/gi,of=52,Zx=function(e){return String.fromCharCode(e+(e>25?39:97))};function Pb(e){var t,n="";for(t=Math.abs(e);t>of;t=t/of|0)n=Zx(t%of)+n;return(Zx(t%of)+n).replace(Sj,"$1-$2")}var Qm,$A=5381,jo=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},xA=function(e){return jo($A,e)};function wA(e){return Pb(xA(e)>>>0)}function DA(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function eg(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var CA=typeof Symbol=="function"&&Symbol.for,EA=CA?Symbol.for("react.memo"):60115,Aj=CA?Symbol.for("react.forward_ref"):60112,Tj={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Pj={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},SA={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},_j=((Qm={})[Aj]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Qm[EA]=SA,Qm);function Jx(e){return("type"in(t=e)&&t.type.$$typeof)===EA?SA:"$$typeof"in e?_j[e.$$typeof]:Tj;var t}var Rj=Object.defineProperty,Oj=Object.getOwnPropertyNames,Xx=Object.getOwnPropertySymbols,Mj=Object.getOwnPropertyDescriptor,Fj=Object.getPrototypeOf,Qx=Object.prototype;function AA(e,t,n){if(typeof t!="string"){if(Qx){var r=Fj(t);r&&r!==Qx&&AA(e,r,n)}var i=Oj(t);Xx&&(i=i.concat(Xx(t)));for(var a=Jx(e),o=Jx(t),u=0;u<i.length;++u){var l=i[u];if(!(l in Pj||n&&n[l]||o&&l in o||a&&l in a)){var d=Mj(t,l);try{Rj(e,l,d)}catch{}}}}return e}function as(e){return typeof e=="function"}function d1(e){return typeof e=="object"&&"styledComponentId"in e}function zo(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function _b(e,t){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function xu(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Rb(e,t,n){if(n===void 0&&(n=!1),!n&&!xu(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Rb(e[r],t[r]);else if(xu(t))for(var r in t)e[r]=Rb(e[r],t[r]);return e}function f1(e,t){Object.defineProperty(e,"toString",{value:t})}var kj=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
5
-
6
- `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
7
-
8
- - Are you trying to reuse it across renders?
9
- - Are you accidentally calling collectStyles twice?
10
-
11
- `,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
12
-
13
- `,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
14
-
15
- - Does this error occur on the client and is your target falsy?
16
- - Does this error occur on the server and is the sheet falsy?
17
-
18
- `,5:`The clone method cannot be used on the client!
19
-
20
- - Are you running in a client-like environment on the server?
21
- - Are you trying to run SSR on the client?
22
-
23
- `,6:`Trying to insert a new style tag, but the given Node is unmounted!
24
-
25
- - Are you using a custom target that isn't mounted?
26
- - Does your document not have a valid head element?
27
- - Have you accidentally removed a style tag manually?
28
-
29
- `,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
30
-
31
- `,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
32
-
33
- `,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
34
-
35
- `,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
36
-
37
- `,14:`ThemeProvider: "theme" prop is required.
38
-
39
- `,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
40
- You may only create up to 1,073,741,824 components. If you're creating components dynamically,
41
- as for instance in your render method then you may be running into this limitation.
42
-
43
- `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
44
- Has styled-components' style tag been unmounted or altered by another script?
45
- `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Ij(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],i=1,a=e.length;i<a;i+=1)r.push(e[i]);return r.forEach(function(o){n=n.replace(/%[a-z]/,o)}),n}function Wi(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Ij.apply(void 0,rs([kj[e]],t,!1)).trim())}var Bj=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r<t;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,a=i;t>=a;)if((a<<=1)<0)throw Wi(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(r),this.length=a;for(var o=i;o<a;o++)this.groupSizes[o]=0}for(var u=this.indexOfGroup(t+1),l=(o=0,n.length);o<l;o++)this.tag.insertRule(u,n[o])&&(this.groupSizes[t]++,u++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],r=this.indexOfGroup(t),i=r+n;this.groupSizes[t]=0;for(var a=r;a<i;a++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),a=i+r,o=i;o<a;o++)n+="".concat(this.tag.getRule(o)).concat(c1);return n},e}(),Lj=1<<30,Mf=new Map,Xf=new Map,Ff=1,sf=function(e){if(Mf.has(e))return Mf.get(e);for(;Xf.has(Ff);)Ff++;var t=Ff++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Lj))throw Wi(16,"".concat(t));return Mf.set(e,t),Xf.set(t,e),t},Vj=function(e,t){Ff=t+1,Mf.set(e,t),Xf.set(t,e)},Nj="style[".concat(is,"][").concat(bA,'="').concat(Hh,'"]'),jj=new RegExp("^".concat(is,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Kj=function(e,t,n){for(var r,i=n.split(","),a=0,o=i.length;a<o;a++)(r=i[a])&&e.registerName(t,r)},Uj=function(e,t){for(var n,r=((n=t.textContent)!==null&&n!==void 0?n:"").split(c1),i=[],a=0,o=r.length;a<o;a++){var u=r[a].trim();if(u){var l=u.match(jj);if(l){var d=0|parseInt(l[1],10),f=l[2];d!==0&&(Vj(f,d),Kj(e,f,l[3]),e.getTag().insertRules(d,i)),i.length=0}else i.push(u)}}},ew=function(e){for(var t=document.querySelectorAll(Nj),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(is)!==vA&&(Uj(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function zj(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var TA=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(u){var l=Array.from(u.querySelectorAll("style[".concat(is,"]")));return l[l.length-1]}(n),a=i!==void 0?i.nextSibling:null;r.setAttribute(is,vA),r.setAttribute(bA,Hh);var o=zj();return o&&r.setAttribute("nonce",o),n.insertBefore(r,a),r},qj=function(){function e(t){this.element=TA(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,i=0,a=r.length;i<a;i++){var o=r[i];if(o.ownerNode===n)return o}throw Wi(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e}(),Wj=function(){function e(t){this.element=TA(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),Hj=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),tw=Jf,Gj={isServer:!Jf,useCSSOMInjection:!xj},PA=function(){function e(t,n,r){t===void 0&&(t=$u),n===void 0&&(n={});var i=this;this.options=Xn(Xn({},Gj),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&Jf&&tw&&(tw=!1,ew(this)),f1(this,function(){return function(a){for(var o=a.getTag(),u=o.length,l="",d=function(h){var p=function(b){return Xf.get(b)}(h);if(p===void 0)return"continue";var g=a.names.get(p),y=o.getGroup(h);if(g===void 0||!g.size||y.length===0)return"continue";var $="".concat(is,".g").concat(h,'[id="').concat(p,'"]'),C="";g!==void 0&&g.forEach(function(b){b.length>0&&(C+="".concat(b,","))}),l+="".concat(y).concat($,'{content:"').concat(C,'"}').concat(c1)},f=0;f<u;f++)d(f);return l}(i)})}return e.registerId=function(t){return sf(t)},e.prototype.rehydrate=function(){!this.server&&Jf&&ew(this)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(Xn(Xn({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(n){var r=n.useCSSOMInjection,i=n.target;return n.isServer?new Hj(i):r?new qj(i):new Wj(i)}(this.options),new Bj(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(sf(t),this.names.has(t))this.names.get(t).add(n);else{var r=new Set;r.add(n),this.names.set(t,r)}},e.prototype.insertRules=function(t,n,r){this.registerName(t,n),this.getTag().insertRules(sf(t),r)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(sf(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Yj=/&/g,Zj=/^\s*\/\/.*$/gm;function _A(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=_A(n.children,t)),n})}function Jj(e){var t,n,r,i=$u,a=i.options,o=a===void 0?$u:a,u=i.plugins,l=u===void 0?Gh:u,d=function(p,g,y){return y.startsWith(n)&&y.endsWith(n)&&y.replaceAll(n,"").length>0?".".concat(t):p},f=l.slice();f.push(function(p){p.type===Uh&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(Yj,n).replace(r,d))}),o.prefix&&f.push(bj),f.push(gj);var h=function(p,g,y,$){g===void 0&&(g=""),y===void 0&&(y=""),$===void 0&&($="&"),t=$,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var C=p.replace(Zj,""),b=pj(y||g?"".concat(y," ").concat(g," { ").concat(C," }"):C);o.namespace&&(b=_A(b,o.namespace));var v=[];return Zf(b,yj(f.concat(vj(function(D){return v.push(D)})))),v};return h.hash=l.length?l.reduce(function(p,g){return g.name||Wi(15),jo(p,g.name)},$A).toString():"",h}var Xj=new PA,Ob=Jj(),RA=x.createContext({shouldForwardProp:void 0,styleSheet:Xj,stylis:Ob});RA.Consumer;x.createContext(void 0);function nw(){return x.useContext(RA)}var Mb=function(){function e(t,n){var r=this;this.inject=function(i,a){a===void 0&&(a=Ob);var o=r.name+a.hash;i.hasNameForId(r.id,o)||i.insertRules(r.id,o,a(r.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,f1(this,function(){throw Wi(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Ob),this.name+t.hash},e}(),Qj=function(e){return e>="A"&&e<="Z"};function rw(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;Qj(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var OA=function(e){return e==null||e===!1||e===""},MA=function(e){var t,n,r=[];for(var i in e){var a=e[i];e.hasOwnProperty(i)&&!OA(a)&&(Array.isArray(a)&&a.isCss||as(a)?r.push("".concat(rw(i),":"),a,";"):xu(a)?r.push.apply(r,rs(rs(["".concat(i," {")],MA(a),!1),["}"],!1)):r.push("".concat(rw(i),": ").concat((t=i,(n=a)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||t in $j||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Qo(e,t,n,r){if(OA(e))return[];if(d1(e))return[".".concat(e.styledComponentId)];if(as(e)){if(!as(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var i=e(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof Mb||xu(i)||i===null||console.error("".concat(DA(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Qo(i,t,n,r)}var a;return e instanceof Mb?n?(e.inject(n,r),[e.getName(r)]):[e]:xu(e)?MA(e):Array.isArray(e)?Array.prototype.concat.apply(Gh,e.map(function(o){return Qo(o,t,n,r)})):[e.toString()]}function eK(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(as(n)&&!d1(n))return!1}return!0}var tK=xA(Hh),nK=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&eK(t),this.componentId=n,this.baseHash=jo(tK,n),this.baseStyle=r,PA.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))i=zo(i,this.staticRulesId);else{var a=_b(Qo(this.rules,t,n,r)),o=Pb(jo(this.baseHash,a)>>>0);if(!n.hasNameForId(this.componentId,o)){var u=r(a,".".concat(o),void 0,this.componentId);n.insertRules(this.componentId,o,u)}i=zo(i,o),this.staticRulesId=o}else{for(var l=jo(this.baseHash,r.hash),d="",f=0;f<this.rules.length;f++){var h=this.rules[f];if(typeof h=="string")d+=h,process.env.NODE_ENV!=="production"&&(l=jo(l,h));else if(h){var p=_b(Qo(h,t,n,r));l=jo(l,p+f),d+=p}}if(d){var g=Pb(l>>>0);n.hasNameForId(this.componentId,g)||n.insertRules(this.componentId,g,r(d,".".concat(g),void 0,this.componentId)),i=zo(i,g)}}return i},e}(),pc=x.createContext(void 0);pc.Consumer;function rK(){var e=x.useContext(pc);if(!e)throw Wi(18);return e}function iK(e){var t=x.useContext(pc),n=x.useMemo(function(){return function(r,i){if(!r)throw Wi(14);if(as(r)){var a=r(i);if(process.env.NODE_ENV!=="production"&&(a===null||Array.isArray(a)||typeof a!="object"))throw Wi(7);return a}if(Array.isArray(r)||typeof r!="object")throw Wi(8);return i?Xn(Xn({},i),r):r}(e.theme,t)},[e.theme,t]);return e.children?x.createElement(pc.Provider,{value:n},e.children):null}var tg={},iw=new Set;function aK(e,t,n){var r=d1(e),i=e,a=!eg(e),o=t.attrs,u=o===void 0?Gh:o,l=t.componentId,d=l===void 0?function(A,E){var T=typeof A!="string"?"sc":Yx(A);tg[T]=(tg[T]||0)+1;var R="".concat(T,"-").concat(wA(Hh+T+tg[T]));return E?"".concat(E,"-").concat(R):R}(t.displayName,t.parentComponentId):l,f=t.displayName,h=f===void 0?function(A){return eg(A)?"styled.".concat(A):"Styled(".concat(DA(A),")")}(e):f,p=t.displayName&&t.componentId?"".concat(Yx(t.displayName),"-").concat(t.componentId):t.componentId||d,g=r&&i.attrs?i.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(r&&i.shouldForwardProp){var $=i.shouldForwardProp;if(t.shouldForwardProp){var C=t.shouldForwardProp;y=function(A,E){return $(A,E)&&C(A,E)}}else y=$}var b=new nK(n,p,r?i.componentStyle:void 0);function v(A,E){return function(T,R,S){var U=T.attrs,j=T.componentStyle,M=T.defaultProps,X=T.foldedComponentIds,O=T.styledComponentId,B=T.target,q=x.useContext(pc),k=nw(),V=T.shouldForwardProp||k.shouldForwardProp;process.env.NODE_ENV!=="production"&&x.useDebugValue(O);var _=Dj(R,q,M)||$u,H=function($e,De,Ce){for(var Y,he=Xn(Xn({},De),{className:void 0,theme:Ce}),ye=0;ye<$e.length;ye+=1){var fe=as(Y=$e[ye])?Y(he):Y;for(var oe in fe)he[oe]=oe==="className"?zo(he[oe],fe[oe]):oe==="style"?Xn(Xn({},he[oe]),fe[oe]):fe[oe]}return De.className&&(he.className=zo(he.className,De.className)),he}(U,R,_),z=H.as||B,N={};for(var ne in H)H[ne]===void 0||ne[0]==="$"||ne==="as"||ne==="theme"&&H.theme===_||(ne==="forwardedAs"?N.as=H.forwardedAs:V&&!V(ne,z)||(N[ne]=H[ne],V||process.env.NODE_ENV!=="development"||tj(ne)||iw.has(ne)||!Tb.has(z)||(iw.add(ne),console.warn('styled-components: it looks like an unknown prop "'.concat(ne,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var ie=function($e,De){var Ce=nw(),Y=$e.generateAndInjectStyles(De,Ce.styleSheet,Ce.stylis);return process.env.NODE_ENV!=="production"&&x.useDebugValue(Y),Y}(j,H);process.env.NODE_ENV!=="production"&&T.warnTooManyClasses&&T.warnTooManyClasses(ie);var le=zo(X,O);return ie&&(le+=" "+ie),H.className&&(le+=" "+H.className),N[eg(z)&&!Tb.has(z)?"class":"className"]=le,S&&(N.ref=S),x.createElement(z,N)}(D,A,E)}v.displayName=h;var D=x.forwardRef(v);return D.attrs=g,D.componentStyle=b,D.displayName=h,D.shouldForwardProp=y,D.foldedComponentIds=r?zo(i.foldedComponentIds,i.styledComponentId):"",D.styledComponentId=p,D.target=r?i.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(A){this._foldedDefaultProps=r?function(E){for(var T=[],R=1;R<arguments.length;R++)T[R-1]=arguments[R];for(var S=0,U=T;S<U.length;S++)Rb(E,U[S],!0);return E}({},i.defaultProps,A):A}}),process.env.NODE_ENV!=="production"&&(wj(h,p),D.warnTooManyClasses=function(A,E){var T={},R=!1;return function(S){if(!R&&(T[S]=!0,Object.keys(T).length>=200)){var U=E?' with the id of "'.concat(E,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(A).concat(U,`.
46
- `)+`Consider using the attrs method, together with a style object for frequently changed styles.
47
- Example:
48
- const Component = styled.div.attrs(props => ({
49
- style: {
50
- background: props.background,
51
- },
52
- }))\`width: 100%;\`
53
-
54
- <Component />`),R=!0,T={}}}}(h,p)),f1(D,function(){return".".concat(D.styledComponentId)}),a&&AA(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function aw(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var ow=function(e){return Object.assign(e,{isCss:!0})};function h1(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(as(e)||xu(e))return ow(Qo(aw(Gh,rs([e],t,!0))));var r=e;return t.length===0&&r.length===1&&typeof r[0]=="string"?Qo(r):ow(Qo(aw(r,t)))}function Fb(e,t,n){if(n===void 0&&(n=$u),!t)throw Wi(1,t);var r=function(i){for(var a=[],o=1;o<arguments.length;o++)a[o-1]=arguments[o];return e(t,n,h1.apply(void 0,rs([i],a,!1)))};return r.attrs=function(i){return Fb(e,t,Xn(Xn({},n),{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},r.withConfig=function(i){return Fb(e,t,Xn(Xn({},n),i))},r}var FA=function(e){return Fb(aK,e)},kA=FA;Tb.forEach(function(e){kA[e]=FA(e)});function oK(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var r=_b(h1.apply(void 0,rs([e],t,!1))),i=wA(r);return new Mb(i,r)}process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
55
- Perhaps you're looking to import 'styled-components/native'?
56
- Read more about this at https://www.styled-components.com/docs/basics#react-native`);var uf="__sc-".concat(is,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[uf]||(window[uf]=0),window[uf]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
57
-
58
- See https://s-c.sh/2BAXzed for more info.`),window[uf]+=1);const wu=Math.min,es=Math.max,Qf=Math.round,lf=Math.floor,Hi=e=>({x:e,y:e}),sK={left:"right",right:"left",bottom:"top",top:"bottom"},uK={start:"end",end:"start"};function kb(e,t,n){return es(e,wu(t,n))}function Ic(e,t){return typeof e=="function"?e(t):e}function os(e){return e.split("-")[0]}function Bc(e){return e.split("-")[1]}function IA(e){return e==="x"?"y":"x"}function p1(e){return e==="y"?"height":"width"}function Du(e){return["top","bottom"].includes(os(e))?"y":"x"}function m1(e){return IA(Du(e))}function lK(e,t,n){n===void 0&&(n=!1);const r=Bc(e),i=m1(e),a=p1(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=eh(o)),[o,eh(o)]}function cK(e){const t=eh(e);return[Ib(e),t,Ib(t)]}function Ib(e){return e.replace(/start|end/g,t=>uK[t])}function dK(e,t,n){const r=["left","right"],i=["right","left"],a=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?a:o;default:return[]}}function fK(e,t,n,r){const i=Bc(e);let a=dK(os(e),n==="start",r);return i&&(a=a.map(o=>o+"-"+i),t&&(a=a.concat(a.map(Ib)))),a}function eh(e){return e.replace(/left|right|bottom|top/g,t=>sK[t])}function hK(e){return{top:0,right:0,bottom:0,left:0,...e}}function BA(e){return typeof e!="number"?hK(e):{top:e,right:e,bottom:e,left:e}}function th(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function sw(e,t,n){let{reference:r,floating:i}=e;const a=Du(t),o=m1(t),u=p1(o),l=os(t),d=a==="y",f=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,p=r[u]/2-i[u]/2;let g;switch(l){case"top":g={x:f,y:r.y-i.height};break;case"bottom":g={x:f,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:h};break;case"left":g={x:r.x-i.width,y:h};break;default:g={x:r.x,y:r.y}}switch(Bc(t)){case"start":g[o]-=p*(n&&d?-1:1);break;case"end":g[o]+=p*(n&&d?-1:1);break}return g}const pK=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,u=a.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let d=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:h}=sw(d,r,l),p=r,g={},y=0;for(let $=0;$<u.length;$++){const{name:C,fn:b}=u[$],{x:v,y:D,data:A,reset:E}=await b({x:f,y:h,initialPlacement:r,placement:p,strategy:i,middlewareData:g,rects:d,platform:o,elements:{reference:e,floating:t}});f=v??f,h=D??h,g={...g,[C]:{...g[C],...A}},E&&y<=50&&(y++,typeof E=="object"&&(E.placement&&(p=E.placement),E.rects&&(d=E.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:f,y:h}=sw(d,p,l)),$=-1)}return{x:f,y:h,placement:p,strategy:i,middlewareData:g}};async function LA(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:a,rects:o,elements:u,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:g=0}=Ic(t,e),y=BA(g),C=u[p?h==="floating"?"reference":"floating":h],b=th(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(C)))==null||n?C:C.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(u.floating)),boundary:d,rootBoundary:f,strategy:l})),v=h==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,D=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u.floating)),A=await(a.isElement==null?void 0:a.isElement(D))?await(a.getScale==null?void 0:a.getScale(D))||{x:1,y:1}:{x:1,y:1},E=th(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:v,offsetParent:D,strategy:l}):v);return{top:(b.top-E.top+y.top)/A.y,bottom:(E.bottom-b.bottom+y.bottom)/A.y,left:(b.left-E.left+y.left)/A.x,right:(E.right-b.right+y.right)/A.x}}const mK=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:o,elements:u,middlewareData:l}=t,{element:d,padding:f=0}=Ic(e,t)||{};if(d==null)return{};const h=BA(f),p={x:n,y:r},g=m1(i),y=p1(g),$=await o.getDimensions(d),C=g==="y",b=C?"top":"left",v=C?"bottom":"right",D=C?"clientHeight":"clientWidth",A=a.reference[y]+a.reference[g]-p[g]-a.floating[y],E=p[g]-a.reference[g],T=await(o.getOffsetParent==null?void 0:o.getOffsetParent(d));let R=T?T[D]:0;(!R||!await(o.isElement==null?void 0:o.isElement(T)))&&(R=u.floating[D]||a.floating[y]);const S=A/2-E/2,U=R/2-$[y]/2-1,j=wu(h[b],U),M=wu(h[v],U),X=j,O=R-$[y]-M,B=R/2-$[y]/2+S,q=kb(X,B,O),k=!l.arrow&&Bc(i)!=null&&B!==q&&a.reference[y]/2-(B<X?j:M)-$[y]/2<0,V=k?B<X?B-X:B-O:0;return{[g]:p[g]+V,data:{[g]:q,centerOffset:B-q-V,...k&&{alignmentOffset:V}},reset:k}}}),gK=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:a,rects:o,initialPlacement:u,platform:l,elements:d}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:$=!0,...C}=Ic(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const b=os(i),v=Du(u),D=os(u)===u,A=await(l.isRTL==null?void 0:l.isRTL(d.floating)),E=p||(D||!$?[eh(u)]:cK(u)),T=y!=="none";!p&&T&&E.push(...fK(u,$,y,A));const R=[u,...E],S=await LA(t,C),U=[];let j=((r=a.flip)==null?void 0:r.overflows)||[];if(f&&U.push(S[b]),h){const B=lK(i,o,A);U.push(S[B[0]],S[B[1]])}if(j=[...j,{placement:i,overflows:U}],!U.every(B=>B<=0)){var M,X;const B=(((M=a.flip)==null?void 0:M.index)||0)+1,q=R[B];if(q)return{data:{index:B,overflows:j},reset:{placement:q}};let k=(X=j.filter(V=>V.overflows[0]<=0).sort((V,_)=>V.overflows[1]-_.overflows[1])[0])==null?void 0:X.placement;if(!k)switch(g){case"bestFit":{var O;const V=(O=j.filter(_=>{if(T){const H=Du(_.placement);return H===v||H==="y"}return!0}).map(_=>[_.placement,_.overflows.filter(H=>H>0).reduce((H,z)=>H+z,0)]).sort((_,H)=>_[1]-H[1])[0])==null?void 0:O[0];V&&(k=V);break}case"initialPlacement":k=u;break}if(i!==k)return{reset:{placement:k}}}return{}}}};async function yK(e,t){const{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=os(n),u=Bc(n),l=Du(n)==="y",d=["left","top"].includes(o)?-1:1,f=a&&l?-1:1,h=Ic(t,e);let{mainAxis:p,crossAxis:g,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&typeof y=="number"&&(g=u==="end"?y*-1:y),l?{x:g*f,y:p*d}:{x:p*d,y:g*f}}const vK=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:a,placement:o,middlewareData:u}=t,l=await yK(t,e);return o===((n=u.offset)==null?void 0:n.placement)&&(r=u.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}},bK=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:u={fn:C=>{let{x:b,y:v}=C;return{x:b,y:v}}},...l}=Ic(e,t),d={x:n,y:r},f=await LA(t,l),h=Du(os(i)),p=IA(h);let g=d[p],y=d[h];if(a){const C=p==="y"?"top":"left",b=p==="y"?"bottom":"right",v=g+f[C],D=g-f[b];g=kb(v,g,D)}if(o){const C=h==="y"?"top":"left",b=h==="y"?"bottom":"right",v=y+f[C],D=y-f[b];y=kb(v,y,D)}const $=u.fn({...t,[p]:g,[h]:y});return{...$,data:{x:$.x-n,y:$.y-r,enabled:{[p]:a,[h]:o}}}}}};function Yh(){return typeof window<"u"}function Uu(e){return VA(e)?(e.nodeName||"").toLowerCase():"#document"}function Mr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ea(e){var t;return(t=(VA(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function VA(e){return Yh()?e instanceof Node||e instanceof Mr(e).Node:!1}function xi(e){return Yh()?e instanceof Element||e instanceof Mr(e).Element:!1}function Ji(e){return Yh()?e instanceof HTMLElement||e instanceof Mr(e).HTMLElement:!1}function uw(e){return!Yh()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Mr(e).ShadowRoot}function Lc(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=wi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function $K(e){return["table","td","th"].includes(Uu(e))}function Zh(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function g1(e){const t=y1(),n=xi(e)?wi(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function xK(e){let t=ho(e);for(;Ji(t)&&!Cu(t);){if(g1(t))return t;if(Zh(t))return null;t=ho(t)}return null}function y1(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Cu(e){return["html","body","#document"].includes(Uu(e))}function wi(e){return Mr(e).getComputedStyle(e)}function Jh(e){return xi(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ho(e){if(Uu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||uw(e)&&e.host||ea(e);return uw(t)?t.host:t}function NA(e){const t=ho(e);return Cu(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ji(t)&&Lc(t)?t:NA(t)}function mc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=NA(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=Mr(i);if(a){const u=Bb(o);return t.concat(o,o.visualViewport||[],Lc(i)?i:[],u&&n?mc(u):[])}return t.concat(i,mc(i,[],n))}function Bb(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jA(e){const t=wi(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ji(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,u=Qf(n)!==a||Qf(r)!==o;return u&&(n=a,r=o),{width:n,height:r,$:u}}function v1(e){return xi(e)?e:e.contextElement}function cu(e){const t=v1(e);if(!Ji(t))return Hi(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=jA(t);let o=(a?Qf(n.width):n.width)/r,u=(a?Qf(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const wK=Hi(0);function KA(e){const t=Mr(e);return!y1()||!t.visualViewport?wK:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function DK(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Mr(e)?!1:t}function ss(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=v1(e);let o=Hi(1);t&&(r?xi(r)&&(o=cu(r)):o=cu(e));const u=DK(a,n,r)?KA(a):Hi(0);let l=(i.left+u.x)/o.x,d=(i.top+u.y)/o.y,f=i.width/o.x,h=i.height/o.y;if(a){const p=Mr(a),g=r&&xi(r)?Mr(r):r;let y=p,$=Bb(y);for(;$&&r&&g!==y;){const C=cu($),b=$.getBoundingClientRect(),v=wi($),D=b.left+($.clientLeft+parseFloat(v.paddingLeft))*C.x,A=b.top+($.clientTop+parseFloat(v.paddingTop))*C.y;l*=C.x,d*=C.y,f*=C.x,h*=C.y,l+=D,d+=A,y=Mr($),$=Bb(y)}}return th({width:f,height:h,x:l,y:d})}function b1(e,t){const n=Jh(e).scrollLeft;return t?t.left+n:ss(ea(e)).left+n}function UA(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:b1(e,r)),a=r.top+t.scrollTop;return{x:i,y:a}}function CK(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a=i==="fixed",o=ea(r),u=t?Zh(t.floating):!1;if(r===o||u&&a)return n;let l={scrollLeft:0,scrollTop:0},d=Hi(1);const f=Hi(0),h=Ji(r);if((h||!h&&!a)&&((Uu(r)!=="body"||Lc(o))&&(l=Jh(r)),Ji(r))){const g=ss(r);d=cu(r),f.x=g.x+r.clientLeft,f.y=g.y+r.clientTop}const p=o&&!h&&!a?UA(o,l,!0):Hi(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-l.scrollLeft*d.x+f.x+p.x,y:n.y*d.y-l.scrollTop*d.y+f.y+p.y}}function EK(e){return Array.from(e.getClientRects())}function SK(e){const t=ea(e),n=Jh(e),r=e.ownerDocument.body,i=es(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=es(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+b1(e);const u=-n.scrollTop;return wi(r).direction==="rtl"&&(o+=es(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:u}}function AK(e,t){const n=Mr(e),r=ea(e),i=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,u=0,l=0;if(i){a=i.width,o=i.height;const d=y1();(!d||d&&t==="fixed")&&(u=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:u,y:l}}function TK(e,t){const n=ss(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Ji(e)?cu(e):Hi(1),o=e.clientWidth*a.x,u=e.clientHeight*a.y,l=i*a.x,d=r*a.y;return{width:o,height:u,x:l,y:d}}function lw(e,t,n){let r;if(t==="viewport")r=AK(e,n);else if(t==="document")r=SK(ea(e));else if(xi(t))r=TK(t,n);else{const i=KA(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return th(r)}function zA(e,t){const n=ho(e);return n===t||!xi(n)||Cu(n)?!1:wi(n).position==="fixed"||zA(n,t)}function PK(e,t){const n=t.get(e);if(n)return n;let r=mc(e,[],!1).filter(u=>xi(u)&&Uu(u)!=="body"),i=null;const a=wi(e).position==="fixed";let o=a?ho(e):e;for(;xi(o)&&!Cu(o);){const u=wi(o),l=g1(o);!l&&u.position==="fixed"&&(i=null),(a?!l&&!i:!l&&u.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Lc(o)&&!l&&zA(e,o))?r=r.filter(f=>f!==o):i=u,o=ho(o)}return t.set(e,r),r}function _K(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?Zh(t)?[]:PK(t,this._c):[].concat(n),r],u=o[0],l=o.reduce((d,f)=>{const h=lw(t,f,i);return d.top=es(h.top,d.top),d.right=wu(h.right,d.right),d.bottom=wu(h.bottom,d.bottom),d.left=es(h.left,d.left),d},lw(t,u,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function RK(e){const{width:t,height:n}=jA(e);return{width:t,height:n}}function OK(e,t,n){const r=Ji(t),i=ea(t),a=n==="fixed",o=ss(e,!0,a,t);let u={scrollLeft:0,scrollTop:0};const l=Hi(0);if(r||!r&&!a)if((Uu(t)!=="body"||Lc(i))&&(u=Jh(t)),r){const p=ss(t,!0,a,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&(l.x=b1(i));const d=i&&!r&&!a?UA(i,u):Hi(0),f=o.left+u.scrollLeft-l.x-d.x,h=o.top+u.scrollTop-l.y-d.y;return{x:f,y:h,width:o.width,height:o.height}}function ng(e){return wi(e).position==="static"}function cw(e,t){if(!Ji(e)||wi(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ea(e)===n&&(n=n.ownerDocument.body),n}function qA(e,t){const n=Mr(e);if(Zh(e))return n;if(!Ji(e)){let i=ho(e);for(;i&&!Cu(i);){if(xi(i)&&!ng(i))return i;i=ho(i)}return n}let r=cw(e,t);for(;r&&$K(r)&&ng(r);)r=cw(r,t);return r&&Cu(r)&&ng(r)&&!g1(r)?n:r||xK(e)||n}const MK=async function(e){const t=this.getOffsetParent||qA,n=this.getDimensions,r=await n(e.floating);return{reference:OK(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function FK(e){return wi(e).direction==="rtl"}const kK={convertOffsetParentRelativeRectToViewportRelativeRect:CK,getDocumentElement:ea,getClippingRect:_K,getOffsetParent:qA,getElementRects:MK,getClientRects:EK,getDimensions:RK,getScale:cu,isElement:xi,isRTL:FK};function WA(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function IK(e,t){let n=null,r;const i=ea(e);function a(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function o(u,l){u===void 0&&(u=!1),l===void 0&&(l=1),a();const d=e.getBoundingClientRect(),{left:f,top:h,width:p,height:g}=d;if(u||t(),!p||!g)return;const y=lf(h),$=lf(i.clientWidth-(f+p)),C=lf(i.clientHeight-(h+g)),b=lf(f),D={rootMargin:-y+"px "+-$+"px "+-C+"px "+-b+"px",threshold:es(0,wu(1,l))||1};let A=!0;function E(T){const R=T[0].intersectionRatio;if(R!==l){if(!A)return o();R?o(!1,R):r=setTimeout(()=>{o(!1,1e-7)},1e3)}R===1&&!WA(d,e.getBoundingClientRect())&&o(),A=!1}try{n=new IntersectionObserver(E,{...D,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,D)}n.observe(e)}return o(!0),a}function HA(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,d=v1(e),f=i||a?[...d?mc(d):[],...mc(t)]:[];f.forEach(b=>{i&&b.addEventListener("scroll",n,{passive:!0}),a&&b.addEventListener("resize",n)});const h=d&&u?IK(d,n):null;let p=-1,g=null;o&&(g=new ResizeObserver(b=>{let[v]=b;v&&v.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var D;(D=g)==null||D.observe(t)})),n()}),d&&!l&&g.observe(d),g.observe(t));let y,$=l?ss(e):null;l&&C();function C(){const b=ss(e);$&&!WA($,b)&&n(),$=b,y=requestAnimationFrame(C)}return n(),()=>{var b;f.forEach(v=>{i&&v.removeEventListener("scroll",n),a&&v.removeEventListener("resize",n)}),h==null||h(),(b=g)==null||b.disconnect(),g=null,l&&cancelAnimationFrame(y)}}const GA=vK,BK=bK,YA=gK,LK=mK,Lb=(e,t,n)=>{const r=new Map,i={platform:kK,...n},a={...i.platform,_c:r};return pK(e,t,{...i,platform:a})};var kf=typeof document<"u"?x.useLayoutEffect:x.useEffect;function nh(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 n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!nh(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const a=i[r];if(!(a==="_owner"&&e.$$typeof)&&!nh(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function ZA(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function dw(e,t){const n=ZA(e);return Math.round(t*n)/n}function rg(e){const t=Ge.useRef(e);return kf(()=>{t.current=e}),t}function VK(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:u=!0,whileElementsMounted:l,open:d}=e,[f,h]=Ge.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,g]=Ge.useState(r);nh(p,r)||g(r);const[y,$]=Ge.useState(null),[C,b]=Ge.useState(null),v=Ge.useCallback(_=>{_!==T.current&&(T.current=_,$(_))},[]),D=Ge.useCallback(_=>{_!==R.current&&(R.current=_,b(_))},[]),A=a||y,E=o||C,T=Ge.useRef(null),R=Ge.useRef(null),S=Ge.useRef(f),U=l!=null,j=rg(l),M=rg(i),X=rg(d),O=Ge.useCallback(()=>{if(!T.current||!R.current)return;const _={placement:t,strategy:n,middleware:p};M.current&&(_.platform=M.current),Lb(T.current,R.current,_).then(H=>{const z={...H,isPositioned:X.current!==!1};B.current&&!nh(S.current,z)&&(S.current=z,Pf.flushSync(()=>{h(z)}))})},[p,t,n,M,X]);kf(()=>{d===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,h(_=>({..._,isPositioned:!1})))},[d]);const B=Ge.useRef(!1);kf(()=>(B.current=!0,()=>{B.current=!1}),[]),kf(()=>{if(A&&(T.current=A),E&&(R.current=E),A&&E){if(j.current)return j.current(A,E,O);O()}},[A,E,O,j,U]);const q=Ge.useMemo(()=>({reference:T,floating:R,setReference:v,setFloating:D}),[v,D]),k=Ge.useMemo(()=>({reference:A,floating:E}),[A,E]),V=Ge.useMemo(()=>{const _={position:n,left:0,top:0};if(!k.floating)return _;const H=dw(k.floating,f.x),z=dw(k.floating,f.y);return u?{..._,transform:"translate("+H+"px, "+z+"px)",...ZA(k.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:H,top:z}},[n,u,k.floating,f.x,f.y]);return Ge.useMemo(()=>({...f,update:O,refs:q,elements:k,floatingStyles:V}),[f,O,q,k,V])}const NK=(e,t)=>({...GA(e),options:[e,t]}),jK=(e,t)=>({...YA(e),options:[e,t]});var zl={exports:{}};/**
59
- * @license
60
- * Lodash <https://lodash.com/>
61
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
62
- * Released under MIT license <https://lodash.com/license>
63
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
64
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
65
- */var KK=zl.exports,fw;function UK(){return fw||(fw=1,function(e,t){(function(){var n,r="4.17.21",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",u="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",d=500,f="__lodash_placeholder__",h=1,p=2,g=4,y=1,$=2,C=1,b=2,v=4,D=8,A=16,E=32,T=64,R=128,S=256,U=512,j=30,M="...",X=800,O=16,B=1,q=2,k=3,V=1/0,_=9007199254740991,H=17976931348623157e292,z=NaN,N=4294967295,ne=N-1,ie=N>>>1,le=[["ary",R],["bind",C],["bindKey",b],["curry",D],["curryRight",A],["flip",U],["partial",E],["partialRight",T],["rearg",S]],$e="[object Arguments]",De="[object Array]",Ce="[object AsyncFunction]",Y="[object Boolean]",he="[object Date]",ye="[object DOMException]",fe="[object Error]",oe="[object Function]",Fe="[object GeneratorFunction]",et="[object Map]",dt="[object Number]",Dn="[object Null]",yt="[object Object]",G="[object Promise]",Z="[object Proxy]",re="[object RegExp]",pe="[object Set]",Ee="[object String]",we="[object Symbol]",_e="[object Undefined]",Ve="[object WeakMap]",mt="[object WeakSet]",ut="[object ArrayBuffer]",Rt="[object DataView]",Pn="[object Float32Array]",_n="[object Float64Array]",Yt="[object Int8Array]",Ln="[object Int16Array]",tn="[object Int32Array]",vt="[object Uint8Array]",Vn="[object Uint8ClampedArray]",Sr="[object Uint16Array]",Rn="[object Uint32Array]",er=/\b__p \+= '';/g,On=/\b(__p \+=) '' \+/g,tr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Nn=/&(?:amp|lt|gt|quot|#39);/g,Cn=/[&<>"']/g,Br=RegExp(Nn.source),Vt=RegExp(Cn.source),En=/<%-([\s\S]+?)%>/g,Ne=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,nn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fr=/^\w*$/,Ae=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,je=/[\\^$.*+?()[\]{}|]/g,Ye=RegExp(je.source),Ft=/^\s+/,rn=/\s/,jn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,on=/,? & /,kt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,wt=/[()=,{}\[\]\/\s]/,li=/\\(\\)?/g,xo=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hr=/\w*$/,Fa=/^[-+]0x[0-9a-f]+$/i,ka=/^0b[01]+$/i,Ia=/^\[object .+?Constructor\]$/,gt=/^0o[0-7]+$/i,nr=/^(?:0|[1-9]\d*)$/,pr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Kn=/($^)/,Ba=/['\n\r\u2028\u2029\\]/g,Lr="\\ud800-\\udfff",al="\\u0300-\\u036f",xs="\\ufe20-\\ufe2f",ol="\\u20d0-\\u20ff",La=al+xs+ol,Ti="\\u2700-\\u27bf",wo="a-z\\xdf-\\xf6\\xf8-\\xff",Do="\\xac\\xb1\\xd7\\xf7",ws="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ds="\\u2000-\\u206f",sl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Cs="A-Z\\xc0-\\xd6\\xd8-\\xde",Co="\\ufe0e\\ufe0f",Es=Do+ws+Ds+sl,na="['’]",ul="["+Lr+"]",Ss="["+Es+"]",Va="["+La+"]",As="\\d+",I="["+Ti+"]",Q="["+wo+"]",ue="[^"+Lr+Es+As+Ti+wo+Cs+"]",be="\\ud83c[\\udffb-\\udfff]",Re="(?:"+Va+"|"+be+")",it="[^"+Lr+"]",Ke="(?:\\ud83c[\\udde6-\\uddff]){2}",ze="[\\ud800-\\udbff][\\udc00-\\udfff]",Ot="["+Cs+"]",qt="\\u200d",Mn="(?:"+Q+"|"+ue+")",Fn="(?:"+Ot+"|"+ue+")",Vr="(?:"+na+"(?:d|ll|m|re|s|t|ve))?",rr="(?:"+na+"(?:D|LL|M|RE|S|T|VE))?",Ts=Re+"?",Eo="["+Co+"]?",So="(?:"+qt+"(?:"+[it,Ke,ze].join("|")+")"+Eo+Ts+")*",ra="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",zp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ll=Eo+Ts+So,qp="(?:"+[I,Ke,ze].join("|")+")"+ll,cl="(?:"+[it+Va+"?",Va,Ke,ze,ul].join("|")+")",yd=RegExp(na,"g"),Wp=RegExp(Va,"g"),dl=RegExp(be+"(?="+be+")|"+cl+ll,"g"),vd=RegExp([Ot+"?"+Q+"+"+Vr+"(?="+[Ss,Ot,"$"].join("|")+")",Fn+"+"+rr+"(?="+[Ss,Ot+Mn,"$"].join("|")+")",Ot+"?"+Mn+"+"+Vr,Ot+"+"+rr,zp,ra,As,qp].join("|"),"g"),Hp=RegExp("["+qt+Lr+La+Co+"]"),Ps=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gp=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],fl=-1,It={};It[Pn]=It[_n]=It[Yt]=It[Ln]=It[tn]=It[vt]=It[Vn]=It[Sr]=It[Rn]=!0,It[$e]=It[De]=It[ut]=It[Y]=It[Rt]=It[he]=It[fe]=It[oe]=It[et]=It[dt]=It[yt]=It[re]=It[pe]=It[Ee]=It[Ve]=!1;var Mt={};Mt[$e]=Mt[De]=Mt[ut]=Mt[Rt]=Mt[Y]=Mt[he]=Mt[Pn]=Mt[_n]=Mt[Yt]=Mt[Ln]=Mt[tn]=Mt[et]=Mt[dt]=Mt[yt]=Mt[re]=Mt[pe]=Mt[Ee]=Mt[we]=Mt[vt]=Mt[Vn]=Mt[Sr]=Mt[Rn]=!0,Mt[fe]=Mt[oe]=Mt[Ve]=!1;var K={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},ae={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ve={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Be={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},vn=parseFloat,Un=parseInt,Nr=typeof Vi=="object"&&Vi&&Vi.Object===Object&&Vi,zn=typeof self=="object"&&self&&self.Object===Object&&self,mn=Nr||zn||Function("return this")(),Pi=t&&!t.nodeType&&t,_i=Pi&&!0&&e&&!e.nodeType&&e,hl=_i&&_i.exports===Pi,_s=hl&&Nr.process,qn=function(){try{var ee=_i&&_i.require&&_i.require("util").types;return ee||_s&&_s.binding&&_s.binding("util")}catch{}}(),Ao=qn&&qn.isArrayBuffer,j3=qn&&qn.isDate,K3=qn&&qn.isMap,U3=qn&&qn.isRegExp,z3=qn&&qn.isSet,q3=qn&&qn.isTypedArray;function Ar(ee,de,se){switch(se.length){case 0:return ee.call(de);case 1:return ee.call(de,se[0]);case 2:return ee.call(de,se[0],se[1]);case 3:return ee.call(de,se[0],se[1],se[2])}return ee.apply(de,se)}function w8(ee,de,se,Me){for(var Je=-1,bt=ee==null?0:ee.length;++Je<bt;){var bn=ee[Je];de(Me,bn,se(bn),ee)}return Me}function jr(ee,de){for(var se=-1,Me=ee==null?0:ee.length;++se<Me&&de(ee[se],se,ee)!==!1;);return ee}function D8(ee,de){for(var se=ee==null?0:ee.length;se--&&de(ee[se],se,ee)!==!1;);return ee}function W3(ee,de){for(var se=-1,Me=ee==null?0:ee.length;++se<Me;)if(!de(ee[se],se,ee))return!1;return!0}function Na(ee,de){for(var se=-1,Me=ee==null?0:ee.length,Je=0,bt=[];++se<Me;){var bn=ee[se];de(bn,se,ee)&&(bt[Je++]=bn)}return bt}function bd(ee,de){var se=ee==null?0:ee.length;return!!se&&Rs(ee,de,0)>-1}function Yp(ee,de,se){for(var Me=-1,Je=ee==null?0:ee.length;++Me<Je;)if(se(de,ee[Me]))return!0;return!1}function Wt(ee,de){for(var se=-1,Me=ee==null?0:ee.length,Je=Array(Me);++se<Me;)Je[se]=de(ee[se],se,ee);return Je}function ja(ee,de){for(var se=-1,Me=de.length,Je=ee.length;++se<Me;)ee[Je+se]=de[se];return ee}function Zp(ee,de,se,Me){var Je=-1,bt=ee==null?0:ee.length;for(Me&&bt&&(se=ee[++Je]);++Je<bt;)se=de(se,ee[Je],Je,ee);return se}function C8(ee,de,se,Me){var Je=ee==null?0:ee.length;for(Me&&Je&&(se=ee[--Je]);Je--;)se=de(se,ee[Je],Je,ee);return se}function Jp(ee,de){for(var se=-1,Me=ee==null?0:ee.length;++se<Me;)if(de(ee[se],se,ee))return!0;return!1}var E8=Xp("length");function S8(ee){return ee.split("")}function A8(ee){return ee.match(kt)||[]}function H3(ee,de,se){var Me;return se(ee,function(Je,bt,bn){if(de(Je,bt,bn))return Me=bt,!1}),Me}function $d(ee,de,se,Me){for(var Je=ee.length,bt=se+(Me?1:-1);Me?bt--:++bt<Je;)if(de(ee[bt],bt,ee))return bt;return-1}function Rs(ee,de,se){return de===de?V8(ee,de,se):$d(ee,G3,se)}function T8(ee,de,se,Me){for(var Je=se-1,bt=ee.length;++Je<bt;)if(Me(ee[Je],de))return Je;return-1}function G3(ee){return ee!==ee}function Y3(ee,de){var se=ee==null?0:ee.length;return se?em(ee,de)/se:z}function Xp(ee){return function(de){return de==null?n:de[ee]}}function Qp(ee){return function(de){return ee==null?n:ee[de]}}function Z3(ee,de,se,Me,Je){return Je(ee,function(bt,bn,Bt){se=Me?(Me=!1,bt):de(se,bt,bn,Bt)}),se}function P8(ee,de){var se=ee.length;for(ee.sort(de);se--;)ee[se]=ee[se].value;return ee}function em(ee,de){for(var se,Me=-1,Je=ee.length;++Me<Je;){var bt=de(ee[Me]);bt!==n&&(se=se===n?bt:se+bt)}return se}function tm(ee,de){for(var se=-1,Me=Array(ee);++se<ee;)Me[se]=de(se);return Me}function _8(ee,de){return Wt(de,function(se){return[se,ee[se]]})}function J3(ee){return ee&&ee.slice(0,t$(ee)+1).replace(Ft,"")}function Tr(ee){return function(de){return ee(de)}}function nm(ee,de){return Wt(de,function(se){return ee[se]})}function pl(ee,de){return ee.has(de)}function X3(ee,de){for(var se=-1,Me=ee.length;++se<Me&&Rs(de,ee[se],0)>-1;);return se}function Q3(ee,de){for(var se=ee.length;se--&&Rs(de,ee[se],0)>-1;);return se}function R8(ee,de){for(var se=ee.length,Me=0;se--;)ee[se]===de&&++Me;return Me}var O8=Qp(K),M8=Qp(ae);function F8(ee){return"\\"+Be[ee]}function k8(ee,de){return ee==null?n:ee[de]}function Os(ee){return Hp.test(ee)}function I8(ee){return Ps.test(ee)}function B8(ee){for(var de,se=[];!(de=ee.next()).done;)se.push(de.value);return se}function rm(ee){var de=-1,se=Array(ee.size);return ee.forEach(function(Me,Je){se[++de]=[Je,Me]}),se}function e$(ee,de){return function(se){return ee(de(se))}}function Ka(ee,de){for(var se=-1,Me=ee.length,Je=0,bt=[];++se<Me;){var bn=ee[se];(bn===de||bn===f)&&(ee[se]=f,bt[Je++]=se)}return bt}function xd(ee){var de=-1,se=Array(ee.size);return ee.forEach(function(Me){se[++de]=Me}),se}function L8(ee){var de=-1,se=Array(ee.size);return ee.forEach(function(Me){se[++de]=[Me,Me]}),se}function V8(ee,de,se){for(var Me=se-1,Je=ee.length;++Me<Je;)if(ee[Me]===de)return Me;return-1}function N8(ee,de,se){for(var Me=se+1;Me--;)if(ee[Me]===de)return Me;return Me}function Ms(ee){return Os(ee)?K8(ee):E8(ee)}function ci(ee){return Os(ee)?U8(ee):S8(ee)}function t$(ee){for(var de=ee.length;de--&&rn.test(ee.charAt(de)););return de}var j8=Qp(ve);function K8(ee){for(var de=dl.lastIndex=0;dl.test(ee);)++de;return de}function U8(ee){return ee.match(dl)||[]}function z8(ee){return ee.match(vd)||[]}var q8=function ee(de){de=de==null?mn:Fs.defaults(mn.Object(),de,Fs.pick(mn,Gp));var se=de.Array,Me=de.Date,Je=de.Error,bt=de.Function,bn=de.Math,Bt=de.Object,im=de.RegExp,W8=de.String,Kr=de.TypeError,wd=se.prototype,H8=bt.prototype,ks=Bt.prototype,Dd=de["__core-js_shared__"],Cd=H8.toString,Tt=ks.hasOwnProperty,G8=0,n$=function(){var s=/[^.]+$/.exec(Dd&&Dd.keys&&Dd.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Ed=ks.toString,Y8=Cd.call(Bt),Z8=mn._,J8=im("^"+Cd.call(Tt).replace(je,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Sd=hl?de.Buffer:n,Ua=de.Symbol,Ad=de.Uint8Array,r$=Sd?Sd.allocUnsafe:n,Td=e$(Bt.getPrototypeOf,Bt),i$=Bt.create,a$=ks.propertyIsEnumerable,Pd=wd.splice,o$=Ua?Ua.isConcatSpreadable:n,ml=Ua?Ua.iterator:n,To=Ua?Ua.toStringTag:n,_d=function(){try{var s=Mo(Bt,"defineProperty");return s({},"",{}),s}catch{}}(),X8=de.clearTimeout!==mn.clearTimeout&&de.clearTimeout,Q8=Me&&Me.now!==mn.Date.now&&Me.now,ek=de.setTimeout!==mn.setTimeout&&de.setTimeout,Rd=bn.ceil,Od=bn.floor,am=Bt.getOwnPropertySymbols,tk=Sd?Sd.isBuffer:n,s$=de.isFinite,nk=wd.join,rk=e$(Bt.keys,Bt),$n=bn.max,Wn=bn.min,ik=Me.now,ak=de.parseInt,u$=bn.random,ok=wd.reverse,om=Mo(de,"DataView"),gl=Mo(de,"Map"),sm=Mo(de,"Promise"),Is=Mo(de,"Set"),yl=Mo(de,"WeakMap"),vl=Mo(Bt,"create"),Md=yl&&new yl,Bs={},sk=Fo(om),uk=Fo(gl),lk=Fo(sm),ck=Fo(Is),dk=Fo(yl),Fd=Ua?Ua.prototype:n,bl=Fd?Fd.valueOf:n,l$=Fd?Fd.toString:n;function F(s){if(an(s)&&!Xe(s)&&!(s instanceof ft)){if(s instanceof Ur)return s;if(Tt.call(s,"__wrapped__"))return cx(s)}return new Ur(s)}var Ls=function(){function s(){}return function(c){if(!Zt(c))return{};if(i$)return i$(c);s.prototype=c;var m=new s;return s.prototype=n,m}}();function kd(){}function Ur(s,c){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!c,this.__index__=0,this.__values__=n}F.templateSettings={escape:En,evaluate:Ne,interpolate:tt,variable:"",imports:{_:F}},F.prototype=kd.prototype,F.prototype.constructor=F,Ur.prototype=Ls(kd.prototype),Ur.prototype.constructor=Ur;function ft(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=N,this.__views__=[]}function fk(){var s=new ft(this.__wrapped__);return s.__actions__=mr(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=mr(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=mr(this.__views__),s}function hk(){if(this.__filtered__){var s=new ft(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function pk(){var s=this.__wrapped__.value(),c=this.__dir__,m=Xe(s),w=c<0,P=m?s.length:0,L=SI(0,P,this.__views__),W=L.start,J=L.end,te=J-W,me=w?J:W-1,ge=this.__iteratees__,xe=ge.length,Pe=0,Le=Wn(te,this.__takeCount__);if(!m||!w&&P==te&&Le==te)return M$(s,this.__actions__);var qe=[];e:for(;te--&&Pe<Le;){me+=c;for(var at=-1,We=s[me];++at<xe;){var lt=ge[at],ht=lt.iteratee,Rr=lt.type,or=ht(We);if(Rr==q)We=or;else if(!or){if(Rr==B)continue e;break e}}qe[Pe++]=We}return qe}ft.prototype=Ls(kd.prototype),ft.prototype.constructor=ft;function Po(s){var c=-1,m=s==null?0:s.length;for(this.clear();++c<m;){var w=s[c];this.set(w[0],w[1])}}function mk(){this.__data__=vl?vl(null):{},this.size=0}function gk(s){var c=this.has(s)&&delete this.__data__[s];return this.size-=c?1:0,c}function yk(s){var c=this.__data__;if(vl){var m=c[s];return m===l?n:m}return Tt.call(c,s)?c[s]:n}function vk(s){var c=this.__data__;return vl?c[s]!==n:Tt.call(c,s)}function bk(s,c){var m=this.__data__;return this.size+=this.has(s)?0:1,m[s]=vl&&c===n?l:c,this}Po.prototype.clear=mk,Po.prototype.delete=gk,Po.prototype.get=yk,Po.prototype.has=vk,Po.prototype.set=bk;function ia(s){var c=-1,m=s==null?0:s.length;for(this.clear();++c<m;){var w=s[c];this.set(w[0],w[1])}}function $k(){this.__data__=[],this.size=0}function xk(s){var c=this.__data__,m=Id(c,s);if(m<0)return!1;var w=c.length-1;return m==w?c.pop():Pd.call(c,m,1),--this.size,!0}function wk(s){var c=this.__data__,m=Id(c,s);return m<0?n:c[m][1]}function Dk(s){return Id(this.__data__,s)>-1}function Ck(s,c){var m=this.__data__,w=Id(m,s);return w<0?(++this.size,m.push([s,c])):m[w][1]=c,this}ia.prototype.clear=$k,ia.prototype.delete=xk,ia.prototype.get=wk,ia.prototype.has=Dk,ia.prototype.set=Ck;function aa(s){var c=-1,m=s==null?0:s.length;for(this.clear();++c<m;){var w=s[c];this.set(w[0],w[1])}}function Ek(){this.size=0,this.__data__={hash:new Po,map:new(gl||ia),string:new Po}}function Sk(s){var c=Gd(this,s).delete(s);return this.size-=c?1:0,c}function Ak(s){return Gd(this,s).get(s)}function Tk(s){return Gd(this,s).has(s)}function Pk(s,c){var m=Gd(this,s),w=m.size;return m.set(s,c),this.size+=m.size==w?0:1,this}aa.prototype.clear=Ek,aa.prototype.delete=Sk,aa.prototype.get=Ak,aa.prototype.has=Tk,aa.prototype.set=Pk;function _o(s){var c=-1,m=s==null?0:s.length;for(this.__data__=new aa;++c<m;)this.add(s[c])}function _k(s){return this.__data__.set(s,l),this}function Rk(s){return this.__data__.has(s)}_o.prototype.add=_o.prototype.push=_k,_o.prototype.has=Rk;function di(s){var c=this.__data__=new ia(s);this.size=c.size}function Ok(){this.__data__=new ia,this.size=0}function Mk(s){var c=this.__data__,m=c.delete(s);return this.size=c.size,m}function Fk(s){return this.__data__.get(s)}function kk(s){return this.__data__.has(s)}function Ik(s,c){var m=this.__data__;if(m instanceof ia){var w=m.__data__;if(!gl||w.length<i-1)return w.push([s,c]),this.size=++m.size,this;m=this.__data__=new aa(w)}return m.set(s,c),this.size=m.size,this}di.prototype.clear=Ok,di.prototype.delete=Mk,di.prototype.get=Fk,di.prototype.has=kk,di.prototype.set=Ik;function c$(s,c){var m=Xe(s),w=!m&&ko(s),P=!m&&!w&&Ga(s),L=!m&&!w&&!P&&Ks(s),W=m||w||P||L,J=W?tm(s.length,W8):[],te=J.length;for(var me in s)(c||Tt.call(s,me))&&!(W&&(me=="length"||P&&(me=="offset"||me=="parent")||L&&(me=="buffer"||me=="byteLength"||me=="byteOffset")||la(me,te)))&&J.push(me);return J}function d$(s){var c=s.length;return c?s[vm(0,c-1)]:n}function Bk(s,c){return Yd(mr(s),Ro(c,0,s.length))}function Lk(s){return Yd(mr(s))}function um(s,c,m){(m!==n&&!fi(s[c],m)||m===n&&!(c in s))&&oa(s,c,m)}function $l(s,c,m){var w=s[c];(!(Tt.call(s,c)&&fi(w,m))||m===n&&!(c in s))&&oa(s,c,m)}function Id(s,c){for(var m=s.length;m--;)if(fi(s[m][0],c))return m;return-1}function Vk(s,c,m,w){return za(s,function(P,L,W){c(w,P,m(P),W)}),w}function f$(s,c){return s&&Oi(c,Sn(c),s)}function Nk(s,c){return s&&Oi(c,yr(c),s)}function oa(s,c,m){c=="__proto__"&&_d?_d(s,c,{configurable:!0,enumerable:!0,value:m,writable:!0}):s[c]=m}function lm(s,c){for(var m=-1,w=c.length,P=se(w),L=s==null;++m<w;)P[m]=L?n:Um(s,c[m]);return P}function Ro(s,c,m){return s===s&&(m!==n&&(s=s<=m?s:m),c!==n&&(s=s>=c?s:c)),s}function zr(s,c,m,w,P,L){var W,J=c&h,te=c&p,me=c&g;if(m&&(W=P?m(s,w,P,L):m(s)),W!==n)return W;if(!Zt(s))return s;var ge=Xe(s);if(ge){if(W=TI(s),!J)return mr(s,W)}else{var xe=Hn(s),Pe=xe==oe||xe==Fe;if(Ga(s))return I$(s,J);if(xe==yt||xe==$e||Pe&&!P){if(W=te||Pe?{}:tx(s),!J)return te?yI(s,Nk(W,s)):gI(s,f$(W,s))}else{if(!Mt[xe])return P?s:{};W=PI(s,xe,J)}}L||(L=new di);var Le=L.get(s);if(Le)return Le;L.set(s,W),_x(s)?s.forEach(function(We){W.add(zr(We,c,m,We,s,L))}):Tx(s)&&s.forEach(function(We,lt){W.set(lt,zr(We,c,m,lt,s,L))});var qe=me?te?Pm:Tm:te?yr:Sn,at=ge?n:qe(s);return jr(at||s,function(We,lt){at&&(lt=We,We=s[lt]),$l(W,lt,zr(We,c,m,lt,s,L))}),W}function jk(s){var c=Sn(s);return function(m){return h$(m,s,c)}}function h$(s,c,m){var w=m.length;if(s==null)return!w;for(s=Bt(s);w--;){var P=m[w],L=c[P],W=s[P];if(W===n&&!(P in s)||!L(W))return!1}return!0}function p$(s,c,m){if(typeof s!="function")throw new Kr(o);return Al(function(){s.apply(n,m)},c)}function xl(s,c,m,w){var P=-1,L=bd,W=!0,J=s.length,te=[],me=c.length;if(!J)return te;m&&(c=Wt(c,Tr(m))),w?(L=Yp,W=!1):c.length>=i&&(L=pl,W=!1,c=new _o(c));e:for(;++P<J;){var ge=s[P],xe=m==null?ge:m(ge);if(ge=w||ge!==0?ge:0,W&&xe===xe){for(var Pe=me;Pe--;)if(c[Pe]===xe)continue e;te.push(ge)}else L(c,xe,w)||te.push(ge)}return te}var za=j$(Ri),m$=j$(dm,!0);function Kk(s,c){var m=!0;return za(s,function(w,P,L){return m=!!c(w,P,L),m}),m}function Bd(s,c,m){for(var w=-1,P=s.length;++w<P;){var L=s[w],W=c(L);if(W!=null&&(J===n?W===W&&!_r(W):m(W,J)))var J=W,te=L}return te}function Uk(s,c,m,w){var P=s.length;for(m=nt(m),m<0&&(m=-m>P?0:P+m),w=w===n||w>P?P:nt(w),w<0&&(w+=P),w=m>w?0:Ox(w);m<w;)s[m++]=c;return s}function g$(s,c){var m=[];return za(s,function(w,P,L){c(w,P,L)&&m.push(w)}),m}function kn(s,c,m,w,P){var L=-1,W=s.length;for(m||(m=RI),P||(P=[]);++L<W;){var J=s[L];c>0&&m(J)?c>1?kn(J,c-1,m,w,P):ja(P,J):w||(P[P.length]=J)}return P}var cm=K$(),y$=K$(!0);function Ri(s,c){return s&&cm(s,c,Sn)}function dm(s,c){return s&&y$(s,c,Sn)}function Ld(s,c){return Na(c,function(m){return ca(s[m])})}function Oo(s,c){c=Wa(c,s);for(var m=0,w=c.length;s!=null&&m<w;)s=s[Mi(c[m++])];return m&&m==w?s:n}function v$(s,c,m){var w=c(s);return Xe(s)?w:ja(w,m(s))}function ir(s){return s==null?s===n?_e:Dn:To&&To in Bt(s)?EI(s):LI(s)}function fm(s,c){return s>c}function zk(s,c){return s!=null&&Tt.call(s,c)}function qk(s,c){return s!=null&&c in Bt(s)}function Wk(s,c,m){return s>=Wn(c,m)&&s<$n(c,m)}function hm(s,c,m){for(var w=m?Yp:bd,P=s[0].length,L=s.length,W=L,J=se(L),te=1/0,me=[];W--;){var ge=s[W];W&&c&&(ge=Wt(ge,Tr(c))),te=Wn(ge.length,te),J[W]=!m&&(c||P>=120&&ge.length>=120)?new _o(W&&ge):n}ge=s[0];var xe=-1,Pe=J[0];e:for(;++xe<P&&me.length<te;){var Le=ge[xe],qe=c?c(Le):Le;if(Le=m||Le!==0?Le:0,!(Pe?pl(Pe,qe):w(me,qe,m))){for(W=L;--W;){var at=J[W];if(!(at?pl(at,qe):w(s[W],qe,m)))continue e}Pe&&Pe.push(qe),me.push(Le)}}return me}function Hk(s,c,m,w){return Ri(s,function(P,L,W){c(w,m(P),L,W)}),w}function wl(s,c,m){c=Wa(c,s),s=ax(s,c);var w=s==null?s:s[Mi(Wr(c))];return w==null?n:Ar(w,s,m)}function b$(s){return an(s)&&ir(s)==$e}function Gk(s){return an(s)&&ir(s)==ut}function Yk(s){return an(s)&&ir(s)==he}function Dl(s,c,m,w,P){return s===c?!0:s==null||c==null||!an(s)&&!an(c)?s!==s&&c!==c:Zk(s,c,m,w,Dl,P)}function Zk(s,c,m,w,P,L){var W=Xe(s),J=Xe(c),te=W?De:Hn(s),me=J?De:Hn(c);te=te==$e?yt:te,me=me==$e?yt:me;var ge=te==yt,xe=me==yt,Pe=te==me;if(Pe&&Ga(s)){if(!Ga(c))return!1;W=!0,ge=!1}if(Pe&&!ge)return L||(L=new di),W||Ks(s)?X$(s,c,m,w,P,L):DI(s,c,te,m,w,P,L);if(!(m&y)){var Le=ge&&Tt.call(s,"__wrapped__"),qe=xe&&Tt.call(c,"__wrapped__");if(Le||qe){var at=Le?s.value():s,We=qe?c.value():c;return L||(L=new di),P(at,We,m,w,L)}}return Pe?(L||(L=new di),CI(s,c,m,w,P,L)):!1}function Jk(s){return an(s)&&Hn(s)==et}function pm(s,c,m,w){var P=m.length,L=P,W=!w;if(s==null)return!L;for(s=Bt(s);P--;){var J=m[P];if(W&&J[2]?J[1]!==s[J[0]]:!(J[0]in s))return!1}for(;++P<L;){J=m[P];var te=J[0],me=s[te],ge=J[1];if(W&&J[2]){if(me===n&&!(te in s))return!1}else{var xe=new di;if(w)var Pe=w(me,ge,te,s,c,xe);if(!(Pe===n?Dl(ge,me,y|$,w,xe):Pe))return!1}}return!0}function $$(s){if(!Zt(s)||MI(s))return!1;var c=ca(s)?J8:Ia;return c.test(Fo(s))}function Xk(s){return an(s)&&ir(s)==re}function Qk(s){return an(s)&&Hn(s)==pe}function eI(s){return an(s)&&tf(s.length)&&!!It[ir(s)]}function x$(s){return typeof s=="function"?s:s==null?vr:typeof s=="object"?Xe(s)?C$(s[0],s[1]):D$(s):Ux(s)}function mm(s){if(!Sl(s))return rk(s);var c=[];for(var m in Bt(s))Tt.call(s,m)&&m!="constructor"&&c.push(m);return c}function tI(s){if(!Zt(s))return BI(s);var c=Sl(s),m=[];for(var w in s)w=="constructor"&&(c||!Tt.call(s,w))||m.push(w);return m}function gm(s,c){return s<c}function w$(s,c){var m=-1,w=gr(s)?se(s.length):[];return za(s,function(P,L,W){w[++m]=c(P,L,W)}),w}function D$(s){var c=Rm(s);return c.length==1&&c[0][2]?rx(c[0][0],c[0][1]):function(m){return m===s||pm(m,s,c)}}function C$(s,c){return Mm(s)&&nx(c)?rx(Mi(s),c):function(m){var w=Um(m,s);return w===n&&w===c?zm(m,s):Dl(c,w,y|$)}}function Vd(s,c,m,w,P){s!==c&&cm(c,function(L,W){if(P||(P=new di),Zt(L))nI(s,c,W,m,Vd,w,P);else{var J=w?w(km(s,W),L,W+"",s,c,P):n;J===n&&(J=L),um(s,W,J)}},yr)}function nI(s,c,m,w,P,L,W){var J=km(s,m),te=km(c,m),me=W.get(te);if(me){um(s,m,me);return}var ge=L?L(J,te,m+"",s,c,W):n,xe=ge===n;if(xe){var Pe=Xe(te),Le=!Pe&&Ga(te),qe=!Pe&&!Le&&Ks(te);ge=te,Pe||Le||qe?Xe(J)?ge=J:sn(J)?ge=mr(J):Le?(xe=!1,ge=I$(te,!0)):qe?(xe=!1,ge=B$(te,!0)):ge=[]:Tl(te)||ko(te)?(ge=J,ko(J)?ge=Mx(J):(!Zt(J)||ca(J))&&(ge=tx(te))):xe=!1}xe&&(W.set(te,ge),P(ge,te,w,L,W),W.delete(te)),um(s,m,ge)}function E$(s,c){var m=s.length;if(m)return c+=c<0?m:0,la(c,m)?s[c]:n}function S$(s,c,m){c.length?c=Wt(c,function(L){return Xe(L)?function(W){return Oo(W,L.length===1?L[0]:L)}:L}):c=[vr];var w=-1;c=Wt(c,Tr(Ue()));var P=w$(s,function(L,W,J){var te=Wt(c,function(me){return me(L)});return{criteria:te,index:++w,value:L}});return P8(P,function(L,W){return mI(L,W,m)})}function rI(s,c){return A$(s,c,function(m,w){return zm(s,w)})}function A$(s,c,m){for(var w=-1,P=c.length,L={};++w<P;){var W=c[w],J=Oo(s,W);m(J,W)&&Cl(L,Wa(W,s),J)}return L}function iI(s){return function(c){return Oo(c,s)}}function ym(s,c,m,w){var P=w?T8:Rs,L=-1,W=c.length,J=s;for(s===c&&(c=mr(c)),m&&(J=Wt(s,Tr(m)));++L<W;)for(var te=0,me=c[L],ge=m?m(me):me;(te=P(J,ge,te,w))>-1;)J!==s&&Pd.call(J,te,1),Pd.call(s,te,1);return s}function T$(s,c){for(var m=s?c.length:0,w=m-1;m--;){var P=c[m];if(m==w||P!==L){var L=P;la(P)?Pd.call(s,P,1):xm(s,P)}}return s}function vm(s,c){return s+Od(u$()*(c-s+1))}function aI(s,c,m,w){for(var P=-1,L=$n(Rd((c-s)/(m||1)),0),W=se(L);L--;)W[w?L:++P]=s,s+=m;return W}function bm(s,c){var m="";if(!s||c<1||c>_)return m;do c%2&&(m+=s),c=Od(c/2),c&&(s+=s);while(c);return m}function st(s,c){return Im(ix(s,c,vr),s+"")}function oI(s){return d$(Us(s))}function sI(s,c){var m=Us(s);return Yd(m,Ro(c,0,m.length))}function Cl(s,c,m,w){if(!Zt(s))return s;c=Wa(c,s);for(var P=-1,L=c.length,W=L-1,J=s;J!=null&&++P<L;){var te=Mi(c[P]),me=m;if(te==="__proto__"||te==="constructor"||te==="prototype")return s;if(P!=W){var ge=J[te];me=w?w(ge,te,J):n,me===n&&(me=Zt(ge)?ge:la(c[P+1])?[]:{})}$l(J,te,me),J=J[te]}return s}var P$=Md?function(s,c){return Md.set(s,c),s}:vr,uI=_d?function(s,c){return _d(s,"toString",{configurable:!0,enumerable:!1,value:Wm(c),writable:!0})}:vr;function lI(s){return Yd(Us(s))}function qr(s,c,m){var w=-1,P=s.length;c<0&&(c=-c>P?0:P+c),m=m>P?P:m,m<0&&(m+=P),P=c>m?0:m-c>>>0,c>>>=0;for(var L=se(P);++w<P;)L[w]=s[w+c];return L}function cI(s,c){var m;return za(s,function(w,P,L){return m=c(w,P,L),!m}),!!m}function Nd(s,c,m){var w=0,P=s==null?w:s.length;if(typeof c=="number"&&c===c&&P<=ie){for(;w<P;){var L=w+P>>>1,W=s[L];W!==null&&!_r(W)&&(m?W<=c:W<c)?w=L+1:P=L}return P}return $m(s,c,vr,m)}function $m(s,c,m,w){var P=0,L=s==null?0:s.length;if(L===0)return 0;c=m(c);for(var W=c!==c,J=c===null,te=_r(c),me=c===n;P<L;){var ge=Od((P+L)/2),xe=m(s[ge]),Pe=xe!==n,Le=xe===null,qe=xe===xe,at=_r(xe);if(W)var We=w||qe;else me?We=qe&&(w||Pe):J?We=qe&&Pe&&(w||!Le):te?We=qe&&Pe&&!Le&&(w||!at):Le||at?We=!1:We=w?xe<=c:xe<c;We?P=ge+1:L=ge}return Wn(L,ne)}function _$(s,c){for(var m=-1,w=s.length,P=0,L=[];++m<w;){var W=s[m],J=c?c(W):W;if(!m||!fi(J,te)){var te=J;L[P++]=W===0?0:W}}return L}function R$(s){return typeof s=="number"?s:_r(s)?z:+s}function Pr(s){if(typeof s=="string")return s;if(Xe(s))return Wt(s,Pr)+"";if(_r(s))return l$?l$.call(s):"";var c=s+"";return c=="0"&&1/s==-1/0?"-0":c}function qa(s,c,m){var w=-1,P=bd,L=s.length,W=!0,J=[],te=J;if(m)W=!1,P=Yp;else if(L>=i){var me=c?null:xI(s);if(me)return xd(me);W=!1,P=pl,te=new _o}else te=c?[]:J;e:for(;++w<L;){var ge=s[w],xe=c?c(ge):ge;if(ge=m||ge!==0?ge:0,W&&xe===xe){for(var Pe=te.length;Pe--;)if(te[Pe]===xe)continue e;c&&te.push(xe),J.push(ge)}else P(te,xe,m)||(te!==J&&te.push(xe),J.push(ge))}return J}function xm(s,c){return c=Wa(c,s),s=ax(s,c),s==null||delete s[Mi(Wr(c))]}function O$(s,c,m,w){return Cl(s,c,m(Oo(s,c)),w)}function jd(s,c,m,w){for(var P=s.length,L=w?P:-1;(w?L--:++L<P)&&c(s[L],L,s););return m?qr(s,w?0:L,w?L+1:P):qr(s,w?L+1:0,w?P:L)}function M$(s,c){var m=s;return m instanceof ft&&(m=m.value()),Zp(c,function(w,P){return P.func.apply(P.thisArg,ja([w],P.args))},m)}function wm(s,c,m){var w=s.length;if(w<2)return w?qa(s[0]):[];for(var P=-1,L=se(w);++P<w;)for(var W=s[P],J=-1;++J<w;)J!=P&&(L[P]=xl(L[P]||W,s[J],c,m));return qa(kn(L,1),c,m)}function F$(s,c,m){for(var w=-1,P=s.length,L=c.length,W={};++w<P;){var J=w<L?c[w]:n;m(W,s[w],J)}return W}function Dm(s){return sn(s)?s:[]}function Cm(s){return typeof s=="function"?s:vr}function Wa(s,c){return Xe(s)?s:Mm(s,c)?[s]:lx(Dt(s))}var dI=st;function Ha(s,c,m){var w=s.length;return m=m===n?w:m,!c&&m>=w?s:qr(s,c,m)}var k$=X8||function(s){return mn.clearTimeout(s)};function I$(s,c){if(c)return s.slice();var m=s.length,w=r$?r$(m):new s.constructor(m);return s.copy(w),w}function Em(s){var c=new s.constructor(s.byteLength);return new Ad(c).set(new Ad(s)),c}function fI(s,c){var m=c?Em(s.buffer):s.buffer;return new s.constructor(m,s.byteOffset,s.byteLength)}function hI(s){var c=new s.constructor(s.source,hr.exec(s));return c.lastIndex=s.lastIndex,c}function pI(s){return bl?Bt(bl.call(s)):{}}function B$(s,c){var m=c?Em(s.buffer):s.buffer;return new s.constructor(m,s.byteOffset,s.length)}function L$(s,c){if(s!==c){var m=s!==n,w=s===null,P=s===s,L=_r(s),W=c!==n,J=c===null,te=c===c,me=_r(c);if(!J&&!me&&!L&&s>c||L&&W&&te&&!J&&!me||w&&W&&te||!m&&te||!P)return 1;if(!w&&!L&&!me&&s<c||me&&m&&P&&!w&&!L||J&&m&&P||!W&&P||!te)return-1}return 0}function mI(s,c,m){for(var w=-1,P=s.criteria,L=c.criteria,W=P.length,J=m.length;++w<W;){var te=L$(P[w],L[w]);if(te){if(w>=J)return te;var me=m[w];return te*(me=="desc"?-1:1)}}return s.index-c.index}function V$(s,c,m,w){for(var P=-1,L=s.length,W=m.length,J=-1,te=c.length,me=$n(L-W,0),ge=se(te+me),xe=!w;++J<te;)ge[J]=c[J];for(;++P<W;)(xe||P<L)&&(ge[m[P]]=s[P]);for(;me--;)ge[J++]=s[P++];return ge}function N$(s,c,m,w){for(var P=-1,L=s.length,W=-1,J=m.length,te=-1,me=c.length,ge=$n(L-J,0),xe=se(ge+me),Pe=!w;++P<ge;)xe[P]=s[P];for(var Le=P;++te<me;)xe[Le+te]=c[te];for(;++W<J;)(Pe||P<L)&&(xe[Le+m[W]]=s[P++]);return xe}function mr(s,c){var m=-1,w=s.length;for(c||(c=se(w));++m<w;)c[m]=s[m];return c}function Oi(s,c,m,w){var P=!m;m||(m={});for(var L=-1,W=c.length;++L<W;){var J=c[L],te=w?w(m[J],s[J],J,m,s):n;te===n&&(te=s[J]),P?oa(m,J,te):$l(m,J,te)}return m}function gI(s,c){return Oi(s,Om(s),c)}function yI(s,c){return Oi(s,Q$(s),c)}function Kd(s,c){return function(m,w){var P=Xe(m)?w8:Vk,L=c?c():{};return P(m,s,Ue(w,2),L)}}function Vs(s){return st(function(c,m){var w=-1,P=m.length,L=P>1?m[P-1]:n,W=P>2?m[2]:n;for(L=s.length>3&&typeof L=="function"?(P--,L):n,W&&ar(m[0],m[1],W)&&(L=P<3?n:L,P=1),c=Bt(c);++w<P;){var J=m[w];J&&s(c,J,w,L)}return c})}function j$(s,c){return function(m,w){if(m==null)return m;if(!gr(m))return s(m,w);for(var P=m.length,L=c?P:-1,W=Bt(m);(c?L--:++L<P)&&w(W[L],L,W)!==!1;);return m}}function K$(s){return function(c,m,w){for(var P=-1,L=Bt(c),W=w(c),J=W.length;J--;){var te=W[s?J:++P];if(m(L[te],te,L)===!1)break}return c}}function vI(s,c,m){var w=c&C,P=El(s);function L(){var W=this&&this!==mn&&this instanceof L?P:s;return W.apply(w?m:this,arguments)}return L}function U$(s){return function(c){c=Dt(c);var m=Os(c)?ci(c):n,w=m?m[0]:c.charAt(0),P=m?Ha(m,1).join(""):c.slice(1);return w[s]()+P}}function Ns(s){return function(c){return Zp(jx(Nx(c).replace(yd,"")),s,"")}}function El(s){return function(){var c=arguments;switch(c.length){case 0:return new s;case 1:return new s(c[0]);case 2:return new s(c[0],c[1]);case 3:return new s(c[0],c[1],c[2]);case 4:return new s(c[0],c[1],c[2],c[3]);case 5:return new s(c[0],c[1],c[2],c[3],c[4]);case 6:return new s(c[0],c[1],c[2],c[3],c[4],c[5]);case 7:return new s(c[0],c[1],c[2],c[3],c[4],c[5],c[6])}var m=Ls(s.prototype),w=s.apply(m,c);return Zt(w)?w:m}}function bI(s,c,m){var w=El(s);function P(){for(var L=arguments.length,W=se(L),J=L,te=js(P);J--;)W[J]=arguments[J];var me=L<3&&W[0]!==te&&W[L-1]!==te?[]:Ka(W,te);if(L-=me.length,L<m)return G$(s,c,Ud,P.placeholder,n,W,me,n,n,m-L);var ge=this&&this!==mn&&this instanceof P?w:s;return Ar(ge,this,W)}return P}function z$(s){return function(c,m,w){var P=Bt(c);if(!gr(c)){var L=Ue(m,3);c=Sn(c),m=function(J){return L(P[J],J,P)}}var W=s(c,m,w);return W>-1?P[L?c[W]:W]:n}}function q$(s){return ua(function(c){var m=c.length,w=m,P=Ur.prototype.thru;for(s&&c.reverse();w--;){var L=c[w];if(typeof L!="function")throw new Kr(o);if(P&&!W&&Hd(L)=="wrapper")var W=new Ur([],!0)}for(w=W?w:m;++w<m;){L=c[w];var J=Hd(L),te=J=="wrapper"?_m(L):n;te&&Fm(te[0])&&te[1]==(R|D|E|S)&&!te[4].length&&te[9]==1?W=W[Hd(te[0])].apply(W,te[3]):W=L.length==1&&Fm(L)?W[J]():W.thru(L)}return function(){var me=arguments,ge=me[0];if(W&&me.length==1&&Xe(ge))return W.plant(ge).value();for(var xe=0,Pe=m?c[xe].apply(this,me):ge;++xe<m;)Pe=c[xe].call(this,Pe);return Pe}})}function Ud(s,c,m,w,P,L,W,J,te,me){var ge=c&R,xe=c&C,Pe=c&b,Le=c&(D|A),qe=c&U,at=Pe?n:El(s);function We(){for(var lt=arguments.length,ht=se(lt),Rr=lt;Rr--;)ht[Rr]=arguments[Rr];if(Le)var or=js(We),Or=R8(ht,or);if(w&&(ht=V$(ht,w,P,Le)),L&&(ht=N$(ht,L,W,Le)),lt-=Or,Le&&lt<me){var un=Ka(ht,or);return G$(s,c,Ud,We.placeholder,m,ht,un,J,te,me-lt)}var hi=xe?m:this,fa=Pe?hi[s]:s;return lt=ht.length,J?ht=VI(ht,J):qe&&lt>1&&ht.reverse(),ge&&te<lt&&(ht.length=te),this&&this!==mn&&this instanceof We&&(fa=at||El(fa)),fa.apply(hi,ht)}return We}function W$(s,c){return function(m,w){return Hk(m,s,c(w),{})}}function zd(s,c){return function(m,w){var P;if(m===n&&w===n)return c;if(m!==n&&(P=m),w!==n){if(P===n)return w;typeof m=="string"||typeof w=="string"?(m=Pr(m),w=Pr(w)):(m=R$(m),w=R$(w)),P=s(m,w)}return P}}function Sm(s){return ua(function(c){return c=Wt(c,Tr(Ue())),st(function(m){var w=this;return s(c,function(P){return Ar(P,w,m)})})})}function qd(s,c){c=c===n?" ":Pr(c);var m=c.length;if(m<2)return m?bm(c,s):c;var w=bm(c,Rd(s/Ms(c)));return Os(c)?Ha(ci(w),0,s).join(""):w.slice(0,s)}function $I(s,c,m,w){var P=c&C,L=El(s);function W(){for(var J=-1,te=arguments.length,me=-1,ge=w.length,xe=se(ge+te),Pe=this&&this!==mn&&this instanceof W?L:s;++me<ge;)xe[me]=w[me];for(;te--;)xe[me++]=arguments[++J];return Ar(Pe,P?m:this,xe)}return W}function H$(s){return function(c,m,w){return w&&typeof w!="number"&&ar(c,m,w)&&(m=w=n),c=da(c),m===n?(m=c,c=0):m=da(m),w=w===n?c<m?1:-1:da(w),aI(c,m,w,s)}}function Wd(s){return function(c,m){return typeof c=="string"&&typeof m=="string"||(c=Hr(c),m=Hr(m)),s(c,m)}}function G$(s,c,m,w,P,L,W,J,te,me){var ge=c&D,xe=ge?W:n,Pe=ge?n:W,Le=ge?L:n,qe=ge?n:L;c|=ge?E:T,c&=~(ge?T:E),c&v||(c&=-4);var at=[s,c,P,Le,xe,qe,Pe,J,te,me],We=m.apply(n,at);return Fm(s)&&ox(We,at),We.placeholder=w,sx(We,s,c)}function Am(s){var c=bn[s];return function(m,w){if(m=Hr(m),w=w==null?0:Wn(nt(w),292),w&&s$(m)){var P=(Dt(m)+"e").split("e"),L=c(P[0]+"e"+(+P[1]+w));return P=(Dt(L)+"e").split("e"),+(P[0]+"e"+(+P[1]-w))}return c(m)}}var xI=Is&&1/xd(new Is([,-0]))[1]==V?function(s){return new Is(s)}:Ym;function Y$(s){return function(c){var m=Hn(c);return m==et?rm(c):m==pe?L8(c):_8(c,s(c))}}function sa(s,c,m,w,P,L,W,J){var te=c&b;if(!te&&typeof s!="function")throw new Kr(o);var me=w?w.length:0;if(me||(c&=-97,w=P=n),W=W===n?W:$n(nt(W),0),J=J===n?J:nt(J),me-=P?P.length:0,c&T){var ge=w,xe=P;w=P=n}var Pe=te?n:_m(s),Le=[s,c,m,w,P,ge,xe,L,W,J];if(Pe&&II(Le,Pe),s=Le[0],c=Le[1],m=Le[2],w=Le[3],P=Le[4],J=Le[9]=Le[9]===n?te?0:s.length:$n(Le[9]-me,0),!J&&c&(D|A)&&(c&=-25),!c||c==C)var qe=vI(s,c,m);else c==D||c==A?qe=bI(s,c,J):(c==E||c==(C|E))&&!P.length?qe=$I(s,c,m,w):qe=Ud.apply(n,Le);var at=Pe?P$:ox;return sx(at(qe,Le),s,c)}function Z$(s,c,m,w){return s===n||fi(s,ks[m])&&!Tt.call(w,m)?c:s}function J$(s,c,m,w,P,L){return Zt(s)&&Zt(c)&&(L.set(c,s),Vd(s,c,n,J$,L),L.delete(c)),s}function wI(s){return Tl(s)?n:s}function X$(s,c,m,w,P,L){var W=m&y,J=s.length,te=c.length;if(J!=te&&!(W&&te>J))return!1;var me=L.get(s),ge=L.get(c);if(me&&ge)return me==c&&ge==s;var xe=-1,Pe=!0,Le=m&$?new _o:n;for(L.set(s,c),L.set(c,s);++xe<J;){var qe=s[xe],at=c[xe];if(w)var We=W?w(at,qe,xe,c,s,L):w(qe,at,xe,s,c,L);if(We!==n){if(We)continue;Pe=!1;break}if(Le){if(!Jp(c,function(lt,ht){if(!pl(Le,ht)&&(qe===lt||P(qe,lt,m,w,L)))return Le.push(ht)})){Pe=!1;break}}else if(!(qe===at||P(qe,at,m,w,L))){Pe=!1;break}}return L.delete(s),L.delete(c),Pe}function DI(s,c,m,w,P,L,W){switch(m){case Rt:if(s.byteLength!=c.byteLength||s.byteOffset!=c.byteOffset)return!1;s=s.buffer,c=c.buffer;case ut:return!(s.byteLength!=c.byteLength||!L(new Ad(s),new Ad(c)));case Y:case he:case dt:return fi(+s,+c);case fe:return s.name==c.name&&s.message==c.message;case re:case Ee:return s==c+"";case et:var J=rm;case pe:var te=w&y;if(J||(J=xd),s.size!=c.size&&!te)return!1;var me=W.get(s);if(me)return me==c;w|=$,W.set(s,c);var ge=X$(J(s),J(c),w,P,L,W);return W.delete(s),ge;case we:if(bl)return bl.call(s)==bl.call(c)}return!1}function CI(s,c,m,w,P,L){var W=m&y,J=Tm(s),te=J.length,me=Tm(c),ge=me.length;if(te!=ge&&!W)return!1;for(var xe=te;xe--;){var Pe=J[xe];if(!(W?Pe in c:Tt.call(c,Pe)))return!1}var Le=L.get(s),qe=L.get(c);if(Le&&qe)return Le==c&&qe==s;var at=!0;L.set(s,c),L.set(c,s);for(var We=W;++xe<te;){Pe=J[xe];var lt=s[Pe],ht=c[Pe];if(w)var Rr=W?w(ht,lt,Pe,c,s,L):w(lt,ht,Pe,s,c,L);if(!(Rr===n?lt===ht||P(lt,ht,m,w,L):Rr)){at=!1;break}We||(We=Pe=="constructor")}if(at&&!We){var or=s.constructor,Or=c.constructor;or!=Or&&"constructor"in s&&"constructor"in c&&!(typeof or=="function"&&or instanceof or&&typeof Or=="function"&&Or instanceof Or)&&(at=!1)}return L.delete(s),L.delete(c),at}function ua(s){return Im(ix(s,n,hx),s+"")}function Tm(s){return v$(s,Sn,Om)}function Pm(s){return v$(s,yr,Q$)}var _m=Md?function(s){return Md.get(s)}:Ym;function Hd(s){for(var c=s.name+"",m=Bs[c],w=Tt.call(Bs,c)?m.length:0;w--;){var P=m[w],L=P.func;if(L==null||L==s)return P.name}return c}function js(s){var c=Tt.call(F,"placeholder")?F:s;return c.placeholder}function Ue(){var s=F.iteratee||Hm;return s=s===Hm?x$:s,arguments.length?s(arguments[0],arguments[1]):s}function Gd(s,c){var m=s.__data__;return OI(c)?m[typeof c=="string"?"string":"hash"]:m.map}function Rm(s){for(var c=Sn(s),m=c.length;m--;){var w=c[m],P=s[w];c[m]=[w,P,nx(P)]}return c}function Mo(s,c){var m=k8(s,c);return $$(m)?m:n}function EI(s){var c=Tt.call(s,To),m=s[To];try{s[To]=n;var w=!0}catch{}var P=Ed.call(s);return w&&(c?s[To]=m:delete s[To]),P}var Om=am?function(s){return s==null?[]:(s=Bt(s),Na(am(s),function(c){return a$.call(s,c)}))}:Zm,Q$=am?function(s){for(var c=[];s;)ja(c,Om(s)),s=Td(s);return c}:Zm,Hn=ir;(om&&Hn(new om(new ArrayBuffer(1)))!=Rt||gl&&Hn(new gl)!=et||sm&&Hn(sm.resolve())!=G||Is&&Hn(new Is)!=pe||yl&&Hn(new yl)!=Ve)&&(Hn=function(s){var c=ir(s),m=c==yt?s.constructor:n,w=m?Fo(m):"";if(w)switch(w){case sk:return Rt;case uk:return et;case lk:return G;case ck:return pe;case dk:return Ve}return c});function SI(s,c,m){for(var w=-1,P=m.length;++w<P;){var L=m[w],W=L.size;switch(L.type){case"drop":s+=W;break;case"dropRight":c-=W;break;case"take":c=Wn(c,s+W);break;case"takeRight":s=$n(s,c-W);break}}return{start:s,end:c}}function AI(s){var c=s.match(Ut);return c?c[1].split(on):[]}function ex(s,c,m){c=Wa(c,s);for(var w=-1,P=c.length,L=!1;++w<P;){var W=Mi(c[w]);if(!(L=s!=null&&m(s,W)))break;s=s[W]}return L||++w!=P?L:(P=s==null?0:s.length,!!P&&tf(P)&&la(W,P)&&(Xe(s)||ko(s)))}function TI(s){var c=s.length,m=new s.constructor(c);return c&&typeof s[0]=="string"&&Tt.call(s,"index")&&(m.index=s.index,m.input=s.input),m}function tx(s){return typeof s.constructor=="function"&&!Sl(s)?Ls(Td(s)):{}}function PI(s,c,m){var w=s.constructor;switch(c){case ut:return Em(s);case Y:case he:return new w(+s);case Rt:return fI(s,m);case Pn:case _n:case Yt:case Ln:case tn:case vt:case Vn:case Sr:case Rn:return B$(s,m);case et:return new w;case dt:case Ee:return new w(s);case re:return hI(s);case pe:return new w;case we:return pI(s)}}function _I(s,c){var m=c.length;if(!m)return s;var w=m-1;return c[w]=(m>1?"& ":"")+c[w],c=c.join(m>2?", ":" "),s.replace(jn,`{
66
- /* [wrapped with `+c+`] */
67
- `)}function RI(s){return Xe(s)||ko(s)||!!(o$&&s&&s[o$])}function la(s,c){var m=typeof s;return c=c??_,!!c&&(m=="number"||m!="symbol"&&nr.test(s))&&s>-1&&s%1==0&&s<c}function ar(s,c,m){if(!Zt(m))return!1;var w=typeof c;return(w=="number"?gr(m)&&la(c,m.length):w=="string"&&c in m)?fi(m[c],s):!1}function Mm(s,c){if(Xe(s))return!1;var m=typeof s;return m=="number"||m=="symbol"||m=="boolean"||s==null||_r(s)?!0:fr.test(s)||!nn.test(s)||c!=null&&s in Bt(c)}function OI(s){var c=typeof s;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?s!=="__proto__":s===null}function Fm(s){var c=Hd(s),m=F[c];if(typeof m!="function"||!(c in ft.prototype))return!1;if(s===m)return!0;var w=_m(m);return!!w&&s===w[0]}function MI(s){return!!n$&&n$ in s}var FI=Dd?ca:Jm;function Sl(s){var c=s&&s.constructor,m=typeof c=="function"&&c.prototype||ks;return s===m}function nx(s){return s===s&&!Zt(s)}function rx(s,c){return function(m){return m==null?!1:m[s]===c&&(c!==n||s in Bt(m))}}function kI(s){var c=Qd(s,function(w){return m.size===d&&m.clear(),w}),m=c.cache;return c}function II(s,c){var m=s[1],w=c[1],P=m|w,L=P<(C|b|R),W=w==R&&m==D||w==R&&m==S&&s[7].length<=c[8]||w==(R|S)&&c[7].length<=c[8]&&m==D;if(!(L||W))return s;w&C&&(s[2]=c[2],P|=m&C?0:v);var J=c[3];if(J){var te=s[3];s[3]=te?V$(te,J,c[4]):J,s[4]=te?Ka(s[3],f):c[4]}return J=c[5],J&&(te=s[5],s[5]=te?N$(te,J,c[6]):J,s[6]=te?Ka(s[5],f):c[6]),J=c[7],J&&(s[7]=J),w&R&&(s[8]=s[8]==null?c[8]:Wn(s[8],c[8])),s[9]==null&&(s[9]=c[9]),s[0]=c[0],s[1]=P,s}function BI(s){var c=[];if(s!=null)for(var m in Bt(s))c.push(m);return c}function LI(s){return Ed.call(s)}function ix(s,c,m){return c=$n(c===n?s.length-1:c,0),function(){for(var w=arguments,P=-1,L=$n(w.length-c,0),W=se(L);++P<L;)W[P]=w[c+P];P=-1;for(var J=se(c+1);++P<c;)J[P]=w[P];return J[c]=m(W),Ar(s,this,J)}}function ax(s,c){return c.length<2?s:Oo(s,qr(c,0,-1))}function VI(s,c){for(var m=s.length,w=Wn(c.length,m),P=mr(s);w--;){var L=c[w];s[w]=la(L,m)?P[L]:n}return s}function km(s,c){if(!(c==="constructor"&&typeof s[c]=="function")&&c!="__proto__")return s[c]}var ox=ux(P$),Al=ek||function(s,c){return mn.setTimeout(s,c)},Im=ux(uI);function sx(s,c,m){var w=c+"";return Im(s,_I(w,NI(AI(w),m)))}function ux(s){var c=0,m=0;return function(){var w=ik(),P=O-(w-m);if(m=w,P>0){if(++c>=X)return arguments[0]}else c=0;return s.apply(n,arguments)}}function Yd(s,c){var m=-1,w=s.length,P=w-1;for(c=c===n?w:c;++m<c;){var L=vm(m,P),W=s[L];s[L]=s[m],s[m]=W}return s.length=c,s}var lx=kI(function(s){var c=[];return s.charCodeAt(0)===46&&c.push(""),s.replace(Ae,function(m,w,P,L){c.push(P?L.replace(li,"$1"):w||m)}),c});function Mi(s){if(typeof s=="string"||_r(s))return s;var c=s+"";return c=="0"&&1/s==-1/0?"-0":c}function Fo(s){if(s!=null){try{return Cd.call(s)}catch{}try{return s+""}catch{}}return""}function NI(s,c){return jr(le,function(m){var w="_."+m[0];c&m[1]&&!bd(s,w)&&s.push(w)}),s.sort()}function cx(s){if(s instanceof ft)return s.clone();var c=new Ur(s.__wrapped__,s.__chain__);return c.__actions__=mr(s.__actions__),c.__index__=s.__index__,c.__values__=s.__values__,c}function jI(s,c,m){(m?ar(s,c,m):c===n)?c=1:c=$n(nt(c),0);var w=s==null?0:s.length;if(!w||c<1)return[];for(var P=0,L=0,W=se(Rd(w/c));P<w;)W[L++]=qr(s,P,P+=c);return W}function KI(s){for(var c=-1,m=s==null?0:s.length,w=0,P=[];++c<m;){var L=s[c];L&&(P[w++]=L)}return P}function UI(){var s=arguments.length;if(!s)return[];for(var c=se(s-1),m=arguments[0],w=s;w--;)c[w-1]=arguments[w];return ja(Xe(m)?mr(m):[m],kn(c,1))}var zI=st(function(s,c){return sn(s)?xl(s,kn(c,1,sn,!0)):[]}),qI=st(function(s,c){var m=Wr(c);return sn(m)&&(m=n),sn(s)?xl(s,kn(c,1,sn,!0),Ue(m,2)):[]}),WI=st(function(s,c){var m=Wr(c);return sn(m)&&(m=n),sn(s)?xl(s,kn(c,1,sn,!0),n,m):[]});function HI(s,c,m){var w=s==null?0:s.length;return w?(c=m||c===n?1:nt(c),qr(s,c<0?0:c,w)):[]}function GI(s,c,m){var w=s==null?0:s.length;return w?(c=m||c===n?1:nt(c),c=w-c,qr(s,0,c<0?0:c)):[]}function YI(s,c){return s&&s.length?jd(s,Ue(c,3),!0,!0):[]}function ZI(s,c){return s&&s.length?jd(s,Ue(c,3),!0):[]}function JI(s,c,m,w){var P=s==null?0:s.length;return P?(m&&typeof m!="number"&&ar(s,c,m)&&(m=0,w=P),Uk(s,c,m,w)):[]}function dx(s,c,m){var w=s==null?0:s.length;if(!w)return-1;var P=m==null?0:nt(m);return P<0&&(P=$n(w+P,0)),$d(s,Ue(c,3),P)}function fx(s,c,m){var w=s==null?0:s.length;if(!w)return-1;var P=w-1;return m!==n&&(P=nt(m),P=m<0?$n(w+P,0):Wn(P,w-1)),$d(s,Ue(c,3),P,!0)}function hx(s){var c=s==null?0:s.length;return c?kn(s,1):[]}function XI(s){var c=s==null?0:s.length;return c?kn(s,V):[]}function QI(s,c){var m=s==null?0:s.length;return m?(c=c===n?1:nt(c),kn(s,c)):[]}function eB(s){for(var c=-1,m=s==null?0:s.length,w={};++c<m;){var P=s[c];w[P[0]]=P[1]}return w}function px(s){return s&&s.length?s[0]:n}function tB(s,c,m){var w=s==null?0:s.length;if(!w)return-1;var P=m==null?0:nt(m);return P<0&&(P=$n(w+P,0)),Rs(s,c,P)}function nB(s){var c=s==null?0:s.length;return c?qr(s,0,-1):[]}var rB=st(function(s){var c=Wt(s,Dm);return c.length&&c[0]===s[0]?hm(c):[]}),iB=st(function(s){var c=Wr(s),m=Wt(s,Dm);return c===Wr(m)?c=n:m.pop(),m.length&&m[0]===s[0]?hm(m,Ue(c,2)):[]}),aB=st(function(s){var c=Wr(s),m=Wt(s,Dm);return c=typeof c=="function"?c:n,c&&m.pop(),m.length&&m[0]===s[0]?hm(m,n,c):[]});function oB(s,c){return s==null?"":nk.call(s,c)}function Wr(s){var c=s==null?0:s.length;return c?s[c-1]:n}function sB(s,c,m){var w=s==null?0:s.length;if(!w)return-1;var P=w;return m!==n&&(P=nt(m),P=P<0?$n(w+P,0):Wn(P,w-1)),c===c?N8(s,c,P):$d(s,G3,P,!0)}function uB(s,c){return s&&s.length?E$(s,nt(c)):n}var lB=st(mx);function mx(s,c){return s&&s.length&&c&&c.length?ym(s,c):s}function cB(s,c,m){return s&&s.length&&c&&c.length?ym(s,c,Ue(m,2)):s}function dB(s,c,m){return s&&s.length&&c&&c.length?ym(s,c,n,m):s}var fB=ua(function(s,c){var m=s==null?0:s.length,w=lm(s,c);return T$(s,Wt(c,function(P){return la(P,m)?+P:P}).sort(L$)),w});function hB(s,c){var m=[];if(!(s&&s.length))return m;var w=-1,P=[],L=s.length;for(c=Ue(c,3);++w<L;){var W=s[w];c(W,w,s)&&(m.push(W),P.push(w))}return T$(s,P),m}function Bm(s){return s==null?s:ok.call(s)}function pB(s,c,m){var w=s==null?0:s.length;return w?(m&&typeof m!="number"&&ar(s,c,m)?(c=0,m=w):(c=c==null?0:nt(c),m=m===n?w:nt(m)),qr(s,c,m)):[]}function mB(s,c){return Nd(s,c)}function gB(s,c,m){return $m(s,c,Ue(m,2))}function yB(s,c){var m=s==null?0:s.length;if(m){var w=Nd(s,c);if(w<m&&fi(s[w],c))return w}return-1}function vB(s,c){return Nd(s,c,!0)}function bB(s,c,m){return $m(s,c,Ue(m,2),!0)}function $B(s,c){var m=s==null?0:s.length;if(m){var w=Nd(s,c,!0)-1;if(fi(s[w],c))return w}return-1}function xB(s){return s&&s.length?_$(s):[]}function wB(s,c){return s&&s.length?_$(s,Ue(c,2)):[]}function DB(s){var c=s==null?0:s.length;return c?qr(s,1,c):[]}function CB(s,c,m){return s&&s.length?(c=m||c===n?1:nt(c),qr(s,0,c<0?0:c)):[]}function EB(s,c,m){var w=s==null?0:s.length;return w?(c=m||c===n?1:nt(c),c=w-c,qr(s,c<0?0:c,w)):[]}function SB(s,c){return s&&s.length?jd(s,Ue(c,3),!1,!0):[]}function AB(s,c){return s&&s.length?jd(s,Ue(c,3)):[]}var TB=st(function(s){return qa(kn(s,1,sn,!0))}),PB=st(function(s){var c=Wr(s);return sn(c)&&(c=n),qa(kn(s,1,sn,!0),Ue(c,2))}),_B=st(function(s){var c=Wr(s);return c=typeof c=="function"?c:n,qa(kn(s,1,sn,!0),n,c)});function RB(s){return s&&s.length?qa(s):[]}function OB(s,c){return s&&s.length?qa(s,Ue(c,2)):[]}function MB(s,c){return c=typeof c=="function"?c:n,s&&s.length?qa(s,n,c):[]}function Lm(s){if(!(s&&s.length))return[];var c=0;return s=Na(s,function(m){if(sn(m))return c=$n(m.length,c),!0}),tm(c,function(m){return Wt(s,Xp(m))})}function gx(s,c){if(!(s&&s.length))return[];var m=Lm(s);return c==null?m:Wt(m,function(w){return Ar(c,n,w)})}var FB=st(function(s,c){return sn(s)?xl(s,c):[]}),kB=st(function(s){return wm(Na(s,sn))}),IB=st(function(s){var c=Wr(s);return sn(c)&&(c=n),wm(Na(s,sn),Ue(c,2))}),BB=st(function(s){var c=Wr(s);return c=typeof c=="function"?c:n,wm(Na(s,sn),n,c)}),LB=st(Lm);function VB(s,c){return F$(s||[],c||[],$l)}function NB(s,c){return F$(s||[],c||[],Cl)}var jB=st(function(s){var c=s.length,m=c>1?s[c-1]:n;return m=typeof m=="function"?(s.pop(),m):n,gx(s,m)});function yx(s){var c=F(s);return c.__chain__=!0,c}function KB(s,c){return c(s),s}function Zd(s,c){return c(s)}var UB=ua(function(s){var c=s.length,m=c?s[0]:0,w=this.__wrapped__,P=function(L){return lm(L,s)};return c>1||this.__actions__.length||!(w instanceof ft)||!la(m)?this.thru(P):(w=w.slice(m,+m+(c?1:0)),w.__actions__.push({func:Zd,args:[P],thisArg:n}),new Ur(w,this.__chain__).thru(function(L){return c&&!L.length&&L.push(n),L}))});function zB(){return yx(this)}function qB(){return new Ur(this.value(),this.__chain__)}function WB(){this.__values__===n&&(this.__values__=Rx(this.value()));var s=this.__index__>=this.__values__.length,c=s?n:this.__values__[this.__index__++];return{done:s,value:c}}function HB(){return this}function GB(s){for(var c,m=this;m instanceof kd;){var w=cx(m);w.__index__=0,w.__values__=n,c?P.__wrapped__=w:c=w;var P=w;m=m.__wrapped__}return P.__wrapped__=s,c}function YB(){var s=this.__wrapped__;if(s instanceof ft){var c=s;return this.__actions__.length&&(c=new ft(this)),c=c.reverse(),c.__actions__.push({func:Zd,args:[Bm],thisArg:n}),new Ur(c,this.__chain__)}return this.thru(Bm)}function ZB(){return M$(this.__wrapped__,this.__actions__)}var JB=Kd(function(s,c,m){Tt.call(s,m)?++s[m]:oa(s,m,1)});function XB(s,c,m){var w=Xe(s)?W3:Kk;return m&&ar(s,c,m)&&(c=n),w(s,Ue(c,3))}function QB(s,c){var m=Xe(s)?Na:g$;return m(s,Ue(c,3))}var eL=z$(dx),tL=z$(fx);function nL(s,c){return kn(Jd(s,c),1)}function rL(s,c){return kn(Jd(s,c),V)}function iL(s,c,m){return m=m===n?1:nt(m),kn(Jd(s,c),m)}function vx(s,c){var m=Xe(s)?jr:za;return m(s,Ue(c,3))}function bx(s,c){var m=Xe(s)?D8:m$;return m(s,Ue(c,3))}var aL=Kd(function(s,c,m){Tt.call(s,m)?s[m].push(c):oa(s,m,[c])});function oL(s,c,m,w){s=gr(s)?s:Us(s),m=m&&!w?nt(m):0;var P=s.length;return m<0&&(m=$n(P+m,0)),nf(s)?m<=P&&s.indexOf(c,m)>-1:!!P&&Rs(s,c,m)>-1}var sL=st(function(s,c,m){var w=-1,P=typeof c=="function",L=gr(s)?se(s.length):[];return za(s,function(W){L[++w]=P?Ar(c,W,m):wl(W,c,m)}),L}),uL=Kd(function(s,c,m){oa(s,m,c)});function Jd(s,c){var m=Xe(s)?Wt:w$;return m(s,Ue(c,3))}function lL(s,c,m,w){return s==null?[]:(Xe(c)||(c=c==null?[]:[c]),m=w?n:m,Xe(m)||(m=m==null?[]:[m]),S$(s,c,m))}var cL=Kd(function(s,c,m){s[m?0:1].push(c)},function(){return[[],[]]});function dL(s,c,m){var w=Xe(s)?Zp:Z3,P=arguments.length<3;return w(s,Ue(c,4),m,P,za)}function fL(s,c,m){var w=Xe(s)?C8:Z3,P=arguments.length<3;return w(s,Ue(c,4),m,P,m$)}function hL(s,c){var m=Xe(s)?Na:g$;return m(s,ef(Ue(c,3)))}function pL(s){var c=Xe(s)?d$:oI;return c(s)}function mL(s,c,m){(m?ar(s,c,m):c===n)?c=1:c=nt(c);var w=Xe(s)?Bk:sI;return w(s,c)}function gL(s){var c=Xe(s)?Lk:lI;return c(s)}function yL(s){if(s==null)return 0;if(gr(s))return nf(s)?Ms(s):s.length;var c=Hn(s);return c==et||c==pe?s.size:mm(s).length}function vL(s,c,m){var w=Xe(s)?Jp:cI;return m&&ar(s,c,m)&&(c=n),w(s,Ue(c,3))}var bL=st(function(s,c){if(s==null)return[];var m=c.length;return m>1&&ar(s,c[0],c[1])?c=[]:m>2&&ar(c[0],c[1],c[2])&&(c=[c[0]]),S$(s,kn(c,1),[])}),Xd=Q8||function(){return mn.Date.now()};function $L(s,c){if(typeof c!="function")throw new Kr(o);return s=nt(s),function(){if(--s<1)return c.apply(this,arguments)}}function $x(s,c,m){return c=m?n:c,c=s&&c==null?s.length:c,sa(s,R,n,n,n,n,c)}function xx(s,c){var m;if(typeof c!="function")throw new Kr(o);return s=nt(s),function(){return--s>0&&(m=c.apply(this,arguments)),s<=1&&(c=n),m}}var Vm=st(function(s,c,m){var w=C;if(m.length){var P=Ka(m,js(Vm));w|=E}return sa(s,w,c,m,P)}),wx=st(function(s,c,m){var w=C|b;if(m.length){var P=Ka(m,js(wx));w|=E}return sa(c,w,s,m,P)});function Dx(s,c,m){c=m?n:c;var w=sa(s,D,n,n,n,n,n,c);return w.placeholder=Dx.placeholder,w}function Cx(s,c,m){c=m?n:c;var w=sa(s,A,n,n,n,n,n,c);return w.placeholder=Cx.placeholder,w}function Ex(s,c,m){var w,P,L,W,J,te,me=0,ge=!1,xe=!1,Pe=!0;if(typeof s!="function")throw new Kr(o);c=Hr(c)||0,Zt(m)&&(ge=!!m.leading,xe="maxWait"in m,L=xe?$n(Hr(m.maxWait)||0,c):L,Pe="trailing"in m?!!m.trailing:Pe);function Le(un){var hi=w,fa=P;return w=P=n,me=un,W=s.apply(fa,hi),W}function qe(un){return me=un,J=Al(lt,c),ge?Le(un):W}function at(un){var hi=un-te,fa=un-me,zx=c-hi;return xe?Wn(zx,L-fa):zx}function We(un){var hi=un-te,fa=un-me;return te===n||hi>=c||hi<0||xe&&fa>=L}function lt(){var un=Xd();if(We(un))return ht(un);J=Al(lt,at(un))}function ht(un){return J=n,Pe&&w?Le(un):(w=P=n,W)}function Rr(){J!==n&&k$(J),me=0,w=te=P=J=n}function or(){return J===n?W:ht(Xd())}function Or(){var un=Xd(),hi=We(un);if(w=arguments,P=this,te=un,hi){if(J===n)return qe(te);if(xe)return k$(J),J=Al(lt,c),Le(te)}return J===n&&(J=Al(lt,c)),W}return Or.cancel=Rr,Or.flush=or,Or}var xL=st(function(s,c){return p$(s,1,c)}),wL=st(function(s,c,m){return p$(s,Hr(c)||0,m)});function DL(s){return sa(s,U)}function Qd(s,c){if(typeof s!="function"||c!=null&&typeof c!="function")throw new Kr(o);var m=function(){var w=arguments,P=c?c.apply(this,w):w[0],L=m.cache;if(L.has(P))return L.get(P);var W=s.apply(this,w);return m.cache=L.set(P,W)||L,W};return m.cache=new(Qd.Cache||aa),m}Qd.Cache=aa;function ef(s){if(typeof s!="function")throw new Kr(o);return function(){var c=arguments;switch(c.length){case 0:return!s.call(this);case 1:return!s.call(this,c[0]);case 2:return!s.call(this,c[0],c[1]);case 3:return!s.call(this,c[0],c[1],c[2])}return!s.apply(this,c)}}function CL(s){return xx(2,s)}var EL=dI(function(s,c){c=c.length==1&&Xe(c[0])?Wt(c[0],Tr(Ue())):Wt(kn(c,1),Tr(Ue()));var m=c.length;return st(function(w){for(var P=-1,L=Wn(w.length,m);++P<L;)w[P]=c[P].call(this,w[P]);return Ar(s,this,w)})}),Nm=st(function(s,c){var m=Ka(c,js(Nm));return sa(s,E,n,c,m)}),Sx=st(function(s,c){var m=Ka(c,js(Sx));return sa(s,T,n,c,m)}),SL=ua(function(s,c){return sa(s,S,n,n,n,c)});function AL(s,c){if(typeof s!="function")throw new Kr(o);return c=c===n?c:nt(c),st(s,c)}function TL(s,c){if(typeof s!="function")throw new Kr(o);return c=c==null?0:$n(nt(c),0),st(function(m){var w=m[c],P=Ha(m,0,c);return w&&ja(P,w),Ar(s,this,P)})}function PL(s,c,m){var w=!0,P=!0;if(typeof s!="function")throw new Kr(o);return Zt(m)&&(w="leading"in m?!!m.leading:w,P="trailing"in m?!!m.trailing:P),Ex(s,c,{leading:w,maxWait:c,trailing:P})}function _L(s){return $x(s,1)}function RL(s,c){return Nm(Cm(c),s)}function OL(){if(!arguments.length)return[];var s=arguments[0];return Xe(s)?s:[s]}function ML(s){return zr(s,g)}function FL(s,c){return c=typeof c=="function"?c:n,zr(s,g,c)}function kL(s){return zr(s,h|g)}function IL(s,c){return c=typeof c=="function"?c:n,zr(s,h|g,c)}function BL(s,c){return c==null||h$(s,c,Sn(c))}function fi(s,c){return s===c||s!==s&&c!==c}var LL=Wd(fm),VL=Wd(function(s,c){return s>=c}),ko=b$(function(){return arguments}())?b$:function(s){return an(s)&&Tt.call(s,"callee")&&!a$.call(s,"callee")},Xe=se.isArray,NL=Ao?Tr(Ao):Gk;function gr(s){return s!=null&&tf(s.length)&&!ca(s)}function sn(s){return an(s)&&gr(s)}function jL(s){return s===!0||s===!1||an(s)&&ir(s)==Y}var Ga=tk||Jm,KL=j3?Tr(j3):Yk;function UL(s){return an(s)&&s.nodeType===1&&!Tl(s)}function zL(s){if(s==null)return!0;if(gr(s)&&(Xe(s)||typeof s=="string"||typeof s.splice=="function"||Ga(s)||Ks(s)||ko(s)))return!s.length;var c=Hn(s);if(c==et||c==pe)return!s.size;if(Sl(s))return!mm(s).length;for(var m in s)if(Tt.call(s,m))return!1;return!0}function qL(s,c){return Dl(s,c)}function WL(s,c,m){m=typeof m=="function"?m:n;var w=m?m(s,c):n;return w===n?Dl(s,c,n,m):!!w}function jm(s){if(!an(s))return!1;var c=ir(s);return c==fe||c==ye||typeof s.message=="string"&&typeof s.name=="string"&&!Tl(s)}function HL(s){return typeof s=="number"&&s$(s)}function ca(s){if(!Zt(s))return!1;var c=ir(s);return c==oe||c==Fe||c==Ce||c==Z}function Ax(s){return typeof s=="number"&&s==nt(s)}function tf(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=_}function Zt(s){var c=typeof s;return s!=null&&(c=="object"||c=="function")}function an(s){return s!=null&&typeof s=="object"}var Tx=K3?Tr(K3):Jk;function GL(s,c){return s===c||pm(s,c,Rm(c))}function YL(s,c,m){return m=typeof m=="function"?m:n,pm(s,c,Rm(c),m)}function ZL(s){return Px(s)&&s!=+s}function JL(s){if(FI(s))throw new Je(a);return $$(s)}function XL(s){return s===null}function QL(s){return s==null}function Px(s){return typeof s=="number"||an(s)&&ir(s)==dt}function Tl(s){if(!an(s)||ir(s)!=yt)return!1;var c=Td(s);if(c===null)return!0;var m=Tt.call(c,"constructor")&&c.constructor;return typeof m=="function"&&m instanceof m&&Cd.call(m)==Y8}var Km=U3?Tr(U3):Xk;function eV(s){return Ax(s)&&s>=-9007199254740991&&s<=_}var _x=z3?Tr(z3):Qk;function nf(s){return typeof s=="string"||!Xe(s)&&an(s)&&ir(s)==Ee}function _r(s){return typeof s=="symbol"||an(s)&&ir(s)==we}var Ks=q3?Tr(q3):eI;function tV(s){return s===n}function nV(s){return an(s)&&Hn(s)==Ve}function rV(s){return an(s)&&ir(s)==mt}var iV=Wd(gm),aV=Wd(function(s,c){return s<=c});function Rx(s){if(!s)return[];if(gr(s))return nf(s)?ci(s):mr(s);if(ml&&s[ml])return B8(s[ml]());var c=Hn(s),m=c==et?rm:c==pe?xd:Us;return m(s)}function da(s){if(!s)return s===0?s:0;if(s=Hr(s),s===V||s===-1/0){var c=s<0?-1:1;return c*H}return s===s?s:0}function nt(s){var c=da(s),m=c%1;return c===c?m?c-m:c:0}function Ox(s){return s?Ro(nt(s),0,N):0}function Hr(s){if(typeof s=="number")return s;if(_r(s))return z;if(Zt(s)){var c=typeof s.valueOf=="function"?s.valueOf():s;s=Zt(c)?c+"":c}if(typeof s!="string")return s===0?s:+s;s=J3(s);var m=ka.test(s);return m||gt.test(s)?Un(s.slice(2),m?2:8):Fa.test(s)?z:+s}function Mx(s){return Oi(s,yr(s))}function oV(s){return s?Ro(nt(s),-9007199254740991,_):s===0?s:0}function Dt(s){return s==null?"":Pr(s)}var sV=Vs(function(s,c){if(Sl(c)||gr(c)){Oi(c,Sn(c),s);return}for(var m in c)Tt.call(c,m)&&$l(s,m,c[m])}),Fx=Vs(function(s,c){Oi(c,yr(c),s)}),rf=Vs(function(s,c,m,w){Oi(c,yr(c),s,w)}),uV=Vs(function(s,c,m,w){Oi(c,Sn(c),s,w)}),lV=ua(lm);function cV(s,c){var m=Ls(s);return c==null?m:f$(m,c)}var dV=st(function(s,c){s=Bt(s);var m=-1,w=c.length,P=w>2?c[2]:n;for(P&&ar(c[0],c[1],P)&&(w=1);++m<w;)for(var L=c[m],W=yr(L),J=-1,te=W.length;++J<te;){var me=W[J],ge=s[me];(ge===n||fi(ge,ks[me])&&!Tt.call(s,me))&&(s[me]=L[me])}return s}),fV=st(function(s){return s.push(n,J$),Ar(kx,n,s)});function hV(s,c){return H3(s,Ue(c,3),Ri)}function pV(s,c){return H3(s,Ue(c,3),dm)}function mV(s,c){return s==null?s:cm(s,Ue(c,3),yr)}function gV(s,c){return s==null?s:y$(s,Ue(c,3),yr)}function yV(s,c){return s&&Ri(s,Ue(c,3))}function vV(s,c){return s&&dm(s,Ue(c,3))}function bV(s){return s==null?[]:Ld(s,Sn(s))}function $V(s){return s==null?[]:Ld(s,yr(s))}function Um(s,c,m){var w=s==null?n:Oo(s,c);return w===n?m:w}function xV(s,c){return s!=null&&ex(s,c,zk)}function zm(s,c){return s!=null&&ex(s,c,qk)}var wV=W$(function(s,c,m){c!=null&&typeof c.toString!="function"&&(c=Ed.call(c)),s[c]=m},Wm(vr)),DV=W$(function(s,c,m){c!=null&&typeof c.toString!="function"&&(c=Ed.call(c)),Tt.call(s,c)?s[c].push(m):s[c]=[m]},Ue),CV=st(wl);function Sn(s){return gr(s)?c$(s):mm(s)}function yr(s){return gr(s)?c$(s,!0):tI(s)}function EV(s,c){var m={};return c=Ue(c,3),Ri(s,function(w,P,L){oa(m,c(w,P,L),w)}),m}function SV(s,c){var m={};return c=Ue(c,3),Ri(s,function(w,P,L){oa(m,P,c(w,P,L))}),m}var AV=Vs(function(s,c,m){Vd(s,c,m)}),kx=Vs(function(s,c,m,w){Vd(s,c,m,w)}),TV=ua(function(s,c){var m={};if(s==null)return m;var w=!1;c=Wt(c,function(L){return L=Wa(L,s),w||(w=L.length>1),L}),Oi(s,Pm(s),m),w&&(m=zr(m,h|p|g,wI));for(var P=c.length;P--;)xm(m,c[P]);return m});function PV(s,c){return Ix(s,ef(Ue(c)))}var _V=ua(function(s,c){return s==null?{}:rI(s,c)});function Ix(s,c){if(s==null)return{};var m=Wt(Pm(s),function(w){return[w]});return c=Ue(c),A$(s,m,function(w,P){return c(w,P[0])})}function RV(s,c,m){c=Wa(c,s);var w=-1,P=c.length;for(P||(P=1,s=n);++w<P;){var L=s==null?n:s[Mi(c[w])];L===n&&(w=P,L=m),s=ca(L)?L.call(s):L}return s}function OV(s,c,m){return s==null?s:Cl(s,c,m)}function MV(s,c,m,w){return w=typeof w=="function"?w:n,s==null?s:Cl(s,c,m,w)}var Bx=Y$(Sn),Lx=Y$(yr);function FV(s,c,m){var w=Xe(s),P=w||Ga(s)||Ks(s);if(c=Ue(c,4),m==null){var L=s&&s.constructor;P?m=w?new L:[]:Zt(s)?m=ca(L)?Ls(Td(s)):{}:m={}}return(P?jr:Ri)(s,function(W,J,te){return c(m,W,J,te)}),m}function kV(s,c){return s==null?!0:xm(s,c)}function IV(s,c,m){return s==null?s:O$(s,c,Cm(m))}function BV(s,c,m,w){return w=typeof w=="function"?w:n,s==null?s:O$(s,c,Cm(m),w)}function Us(s){return s==null?[]:nm(s,Sn(s))}function LV(s){return s==null?[]:nm(s,yr(s))}function VV(s,c,m){return m===n&&(m=c,c=n),m!==n&&(m=Hr(m),m=m===m?m:0),c!==n&&(c=Hr(c),c=c===c?c:0),Ro(Hr(s),c,m)}function NV(s,c,m){return c=da(c),m===n?(m=c,c=0):m=da(m),s=Hr(s),Wk(s,c,m)}function jV(s,c,m){if(m&&typeof m!="boolean"&&ar(s,c,m)&&(c=m=n),m===n&&(typeof c=="boolean"?(m=c,c=n):typeof s=="boolean"&&(m=s,s=n)),s===n&&c===n?(s=0,c=1):(s=da(s),c===n?(c=s,s=0):c=da(c)),s>c){var w=s;s=c,c=w}if(m||s%1||c%1){var P=u$();return Wn(s+P*(c-s+vn("1e-"+((P+"").length-1))),c)}return vm(s,c)}var KV=Ns(function(s,c,m){return c=c.toLowerCase(),s+(m?Vx(c):c)});function Vx(s){return qm(Dt(s).toLowerCase())}function Nx(s){return s=Dt(s),s&&s.replace(pr,O8).replace(Wp,"")}function UV(s,c,m){s=Dt(s),c=Pr(c);var w=s.length;m=m===n?w:Ro(nt(m),0,w);var P=m;return m-=c.length,m>=0&&s.slice(m,P)==c}function zV(s){return s=Dt(s),s&&Vt.test(s)?s.replace(Cn,M8):s}function qV(s){return s=Dt(s),s&&Ye.test(s)?s.replace(je,"\\$&"):s}var WV=Ns(function(s,c,m){return s+(m?"-":"")+c.toLowerCase()}),HV=Ns(function(s,c,m){return s+(m?" ":"")+c.toLowerCase()}),GV=U$("toLowerCase");function YV(s,c,m){s=Dt(s),c=nt(c);var w=c?Ms(s):0;if(!c||w>=c)return s;var P=(c-w)/2;return qd(Od(P),m)+s+qd(Rd(P),m)}function ZV(s,c,m){s=Dt(s),c=nt(c);var w=c?Ms(s):0;return c&&w<c?s+qd(c-w,m):s}function JV(s,c,m){s=Dt(s),c=nt(c);var w=c?Ms(s):0;return c&&w<c?qd(c-w,m)+s:s}function XV(s,c,m){return m||c==null?c=0:c&&(c=+c),ak(Dt(s).replace(Ft,""),c||0)}function QV(s,c,m){return(m?ar(s,c,m):c===n)?c=1:c=nt(c),bm(Dt(s),c)}function eN(){var s=arguments,c=Dt(s[0]);return s.length<3?c:c.replace(s[1],s[2])}var tN=Ns(function(s,c,m){return s+(m?"_":"")+c.toLowerCase()});function nN(s,c,m){return m&&typeof m!="number"&&ar(s,c,m)&&(c=m=n),m=m===n?N:m>>>0,m?(s=Dt(s),s&&(typeof c=="string"||c!=null&&!Km(c))&&(c=Pr(c),!c&&Os(s))?Ha(ci(s),0,m):s.split(c,m)):[]}var rN=Ns(function(s,c,m){return s+(m?" ":"")+qm(c)});function iN(s,c,m){return s=Dt(s),m=m==null?0:Ro(nt(m),0,s.length),c=Pr(c),s.slice(m,m+c.length)==c}function aN(s,c,m){var w=F.templateSettings;m&&ar(s,c,m)&&(c=n),s=Dt(s),c=rf({},c,w,Z$);var P=rf({},c.imports,w.imports,Z$),L=Sn(P),W=nm(P,L),J,te,me=0,ge=c.interpolate||Kn,xe="__p += '",Pe=im((c.escape||Kn).source+"|"+ge.source+"|"+(ge===tt?xo:Kn).source+"|"+(c.evaluate||Kn).source+"|$","g"),Le="//# sourceURL="+(Tt.call(c,"sourceURL")?(c.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++fl+"]")+`
68
- `;s.replace(Pe,function(We,lt,ht,Rr,or,Or){return ht||(ht=Rr),xe+=s.slice(me,Or).replace(Ba,F8),lt&&(J=!0,xe+=`' +
69
- __e(`+lt+`) +
70
- '`),or&&(te=!0,xe+=`';
71
- `+or+`;
72
- __p += '`),ht&&(xe+=`' +
73
- ((__t = (`+ht+`)) == null ? '' : __t) +
74
- '`),me=Or+We.length,We}),xe+=`';
75
- `;var qe=Tt.call(c,"variable")&&c.variable;if(!qe)xe=`with (obj) {
76
- `+xe+`
77
- }
78
- `;else if(wt.test(qe))throw new Je(u);xe=(te?xe.replace(er,""):xe).replace(On,"$1").replace(tr,"$1;"),xe="function("+(qe||"obj")+`) {
79
- `+(qe?"":`obj || (obj = {});
80
- `)+"var __t, __p = ''"+(J?", __e = _.escape":"")+(te?`, __j = Array.prototype.join;
81
- function print() { __p += __j.call(arguments, '') }
82
- `:`;
83
- `)+xe+`return __p
84
- }`;var at=Kx(function(){return bt(L,Le+"return "+xe).apply(n,W)});if(at.source=xe,jm(at))throw at;return at}function oN(s){return Dt(s).toLowerCase()}function sN(s){return Dt(s).toUpperCase()}function uN(s,c,m){if(s=Dt(s),s&&(m||c===n))return J3(s);if(!s||!(c=Pr(c)))return s;var w=ci(s),P=ci(c),L=X3(w,P),W=Q3(w,P)+1;return Ha(w,L,W).join("")}function lN(s,c,m){if(s=Dt(s),s&&(m||c===n))return s.slice(0,t$(s)+1);if(!s||!(c=Pr(c)))return s;var w=ci(s),P=Q3(w,ci(c))+1;return Ha(w,0,P).join("")}function cN(s,c,m){if(s=Dt(s),s&&(m||c===n))return s.replace(Ft,"");if(!s||!(c=Pr(c)))return s;var w=ci(s),P=X3(w,ci(c));return Ha(w,P).join("")}function dN(s,c){var m=j,w=M;if(Zt(c)){var P="separator"in c?c.separator:P;m="length"in c?nt(c.length):m,w="omission"in c?Pr(c.omission):w}s=Dt(s);var L=s.length;if(Os(s)){var W=ci(s);L=W.length}if(m>=L)return s;var J=m-Ms(w);if(J<1)return w;var te=W?Ha(W,0,J).join(""):s.slice(0,J);if(P===n)return te+w;if(W&&(J+=te.length-J),Km(P)){if(s.slice(J).search(P)){var me,ge=te;for(P.global||(P=im(P.source,Dt(hr.exec(P))+"g")),P.lastIndex=0;me=P.exec(ge);)var xe=me.index;te=te.slice(0,xe===n?J:xe)}}else if(s.indexOf(Pr(P),J)!=J){var Pe=te.lastIndexOf(P);Pe>-1&&(te=te.slice(0,Pe))}return te+w}function fN(s){return s=Dt(s),s&&Br.test(s)?s.replace(Nn,j8):s}var hN=Ns(function(s,c,m){return s+(m?" ":"")+c.toUpperCase()}),qm=U$("toUpperCase");function jx(s,c,m){return s=Dt(s),c=m?n:c,c===n?I8(s)?z8(s):A8(s):s.match(c)||[]}var Kx=st(function(s,c){try{return Ar(s,n,c)}catch(m){return jm(m)?m:new Je(m)}}),pN=ua(function(s,c){return jr(c,function(m){m=Mi(m),oa(s,m,Vm(s[m],s))}),s});function mN(s){var c=s==null?0:s.length,m=Ue();return s=c?Wt(s,function(w){if(typeof w[1]!="function")throw new Kr(o);return[m(w[0]),w[1]]}):[],st(function(w){for(var P=-1;++P<c;){var L=s[P];if(Ar(L[0],this,w))return Ar(L[1],this,w)}})}function gN(s){return jk(zr(s,h))}function Wm(s){return function(){return s}}function yN(s,c){return s==null||s!==s?c:s}var vN=q$(),bN=q$(!0);function vr(s){return s}function Hm(s){return x$(typeof s=="function"?s:zr(s,h))}function $N(s){return D$(zr(s,h))}function xN(s,c){return C$(s,zr(c,h))}var wN=st(function(s,c){return function(m){return wl(m,s,c)}}),DN=st(function(s,c){return function(m){return wl(s,m,c)}});function Gm(s,c,m){var w=Sn(c),P=Ld(c,w);m==null&&!(Zt(c)&&(P.length||!w.length))&&(m=c,c=s,s=this,P=Ld(c,Sn(c)));var L=!(Zt(m)&&"chain"in m)||!!m.chain,W=ca(s);return jr(P,function(J){var te=c[J];s[J]=te,W&&(s.prototype[J]=function(){var me=this.__chain__;if(L||me){var ge=s(this.__wrapped__),xe=ge.__actions__=mr(this.__actions__);return xe.push({func:te,args:arguments,thisArg:s}),ge.__chain__=me,ge}return te.apply(s,ja([this.value()],arguments))})}),s}function CN(){return mn._===this&&(mn._=Z8),this}function Ym(){}function EN(s){return s=nt(s),st(function(c){return E$(c,s)})}var SN=Sm(Wt),AN=Sm(W3),TN=Sm(Jp);function Ux(s){return Mm(s)?Xp(Mi(s)):iI(s)}function PN(s){return function(c){return s==null?n:Oo(s,c)}}var _N=H$(),RN=H$(!0);function Zm(){return[]}function Jm(){return!1}function ON(){return{}}function MN(){return""}function FN(){return!0}function kN(s,c){if(s=nt(s),s<1||s>_)return[];var m=N,w=Wn(s,N);c=Ue(c),s-=N;for(var P=tm(w,c);++m<s;)c(m);return P}function IN(s){return Xe(s)?Wt(s,Mi):_r(s)?[s]:mr(lx(Dt(s)))}function BN(s){var c=++G8;return Dt(s)+c}var LN=zd(function(s,c){return s+c},0),VN=Am("ceil"),NN=zd(function(s,c){return s/c},1),jN=Am("floor");function KN(s){return s&&s.length?Bd(s,vr,fm):n}function UN(s,c){return s&&s.length?Bd(s,Ue(c,2),fm):n}function zN(s){return Y3(s,vr)}function qN(s,c){return Y3(s,Ue(c,2))}function WN(s){return s&&s.length?Bd(s,vr,gm):n}function HN(s,c){return s&&s.length?Bd(s,Ue(c,2),gm):n}var GN=zd(function(s,c){return s*c},1),YN=Am("round"),ZN=zd(function(s,c){return s-c},0);function JN(s){return s&&s.length?em(s,vr):0}function XN(s,c){return s&&s.length?em(s,Ue(c,2)):0}return F.after=$L,F.ary=$x,F.assign=sV,F.assignIn=Fx,F.assignInWith=rf,F.assignWith=uV,F.at=lV,F.before=xx,F.bind=Vm,F.bindAll=pN,F.bindKey=wx,F.castArray=OL,F.chain=yx,F.chunk=jI,F.compact=KI,F.concat=UI,F.cond=mN,F.conforms=gN,F.constant=Wm,F.countBy=JB,F.create=cV,F.curry=Dx,F.curryRight=Cx,F.debounce=Ex,F.defaults=dV,F.defaultsDeep=fV,F.defer=xL,F.delay=wL,F.difference=zI,F.differenceBy=qI,F.differenceWith=WI,F.drop=HI,F.dropRight=GI,F.dropRightWhile=YI,F.dropWhile=ZI,F.fill=JI,F.filter=QB,F.flatMap=nL,F.flatMapDeep=rL,F.flatMapDepth=iL,F.flatten=hx,F.flattenDeep=XI,F.flattenDepth=QI,F.flip=DL,F.flow=vN,F.flowRight=bN,F.fromPairs=eB,F.functions=bV,F.functionsIn=$V,F.groupBy=aL,F.initial=nB,F.intersection=rB,F.intersectionBy=iB,F.intersectionWith=aB,F.invert=wV,F.invertBy=DV,F.invokeMap=sL,F.iteratee=Hm,F.keyBy=uL,F.keys=Sn,F.keysIn=yr,F.map=Jd,F.mapKeys=EV,F.mapValues=SV,F.matches=$N,F.matchesProperty=xN,F.memoize=Qd,F.merge=AV,F.mergeWith=kx,F.method=wN,F.methodOf=DN,F.mixin=Gm,F.negate=ef,F.nthArg=EN,F.omit=TV,F.omitBy=PV,F.once=CL,F.orderBy=lL,F.over=SN,F.overArgs=EL,F.overEvery=AN,F.overSome=TN,F.partial=Nm,F.partialRight=Sx,F.partition=cL,F.pick=_V,F.pickBy=Ix,F.property=Ux,F.propertyOf=PN,F.pull=lB,F.pullAll=mx,F.pullAllBy=cB,F.pullAllWith=dB,F.pullAt=fB,F.range=_N,F.rangeRight=RN,F.rearg=SL,F.reject=hL,F.remove=hB,F.rest=AL,F.reverse=Bm,F.sampleSize=mL,F.set=OV,F.setWith=MV,F.shuffle=gL,F.slice=pB,F.sortBy=bL,F.sortedUniq=xB,F.sortedUniqBy=wB,F.split=nN,F.spread=TL,F.tail=DB,F.take=CB,F.takeRight=EB,F.takeRightWhile=SB,F.takeWhile=AB,F.tap=KB,F.throttle=PL,F.thru=Zd,F.toArray=Rx,F.toPairs=Bx,F.toPairsIn=Lx,F.toPath=IN,F.toPlainObject=Mx,F.transform=FV,F.unary=_L,F.union=TB,F.unionBy=PB,F.unionWith=_B,F.uniq=RB,F.uniqBy=OB,F.uniqWith=MB,F.unset=kV,F.unzip=Lm,F.unzipWith=gx,F.update=IV,F.updateWith=BV,F.values=Us,F.valuesIn=LV,F.without=FB,F.words=jx,F.wrap=RL,F.xor=kB,F.xorBy=IB,F.xorWith=BB,F.zip=LB,F.zipObject=VB,F.zipObjectDeep=NB,F.zipWith=jB,F.entries=Bx,F.entriesIn=Lx,F.extend=Fx,F.extendWith=rf,Gm(F,F),F.add=LN,F.attempt=Kx,F.camelCase=KV,F.capitalize=Vx,F.ceil=VN,F.clamp=VV,F.clone=ML,F.cloneDeep=kL,F.cloneDeepWith=IL,F.cloneWith=FL,F.conformsTo=BL,F.deburr=Nx,F.defaultTo=yN,F.divide=NN,F.endsWith=UV,F.eq=fi,F.escape=zV,F.escapeRegExp=qV,F.every=XB,F.find=eL,F.findIndex=dx,F.findKey=hV,F.findLast=tL,F.findLastIndex=fx,F.findLastKey=pV,F.floor=jN,F.forEach=vx,F.forEachRight=bx,F.forIn=mV,F.forInRight=gV,F.forOwn=yV,F.forOwnRight=vV,F.get=Um,F.gt=LL,F.gte=VL,F.has=xV,F.hasIn=zm,F.head=px,F.identity=vr,F.includes=oL,F.indexOf=tB,F.inRange=NV,F.invoke=CV,F.isArguments=ko,F.isArray=Xe,F.isArrayBuffer=NL,F.isArrayLike=gr,F.isArrayLikeObject=sn,F.isBoolean=jL,F.isBuffer=Ga,F.isDate=KL,F.isElement=UL,F.isEmpty=zL,F.isEqual=qL,F.isEqualWith=WL,F.isError=jm,F.isFinite=HL,F.isFunction=ca,F.isInteger=Ax,F.isLength=tf,F.isMap=Tx,F.isMatch=GL,F.isMatchWith=YL,F.isNaN=ZL,F.isNative=JL,F.isNil=QL,F.isNull=XL,F.isNumber=Px,F.isObject=Zt,F.isObjectLike=an,F.isPlainObject=Tl,F.isRegExp=Km,F.isSafeInteger=eV,F.isSet=_x,F.isString=nf,F.isSymbol=_r,F.isTypedArray=Ks,F.isUndefined=tV,F.isWeakMap=nV,F.isWeakSet=rV,F.join=oB,F.kebabCase=WV,F.last=Wr,F.lastIndexOf=sB,F.lowerCase=HV,F.lowerFirst=GV,F.lt=iV,F.lte=aV,F.max=KN,F.maxBy=UN,F.mean=zN,F.meanBy=qN,F.min=WN,F.minBy=HN,F.stubArray=Zm,F.stubFalse=Jm,F.stubObject=ON,F.stubString=MN,F.stubTrue=FN,F.multiply=GN,F.nth=uB,F.noConflict=CN,F.noop=Ym,F.now=Xd,F.pad=YV,F.padEnd=ZV,F.padStart=JV,F.parseInt=XV,F.random=jV,F.reduce=dL,F.reduceRight=fL,F.repeat=QV,F.replace=eN,F.result=RV,F.round=YN,F.runInContext=ee,F.sample=pL,F.size=yL,F.snakeCase=tN,F.some=vL,F.sortedIndex=mB,F.sortedIndexBy=gB,F.sortedIndexOf=yB,F.sortedLastIndex=vB,F.sortedLastIndexBy=bB,F.sortedLastIndexOf=$B,F.startCase=rN,F.startsWith=iN,F.subtract=ZN,F.sum=JN,F.sumBy=XN,F.template=aN,F.times=kN,F.toFinite=da,F.toInteger=nt,F.toLength=Ox,F.toLower=oN,F.toNumber=Hr,F.toSafeInteger=oV,F.toString=Dt,F.toUpper=sN,F.trim=uN,F.trimEnd=lN,F.trimStart=cN,F.truncate=dN,F.unescape=fN,F.uniqueId=BN,F.upperCase=hN,F.upperFirst=qm,F.each=vx,F.eachRight=bx,F.first=px,Gm(F,function(){var s={};return Ri(F,function(c,m){Tt.call(F.prototype,m)||(s[m]=c)}),s}(),{chain:!1}),F.VERSION=r,jr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){F[s].placeholder=F}),jr(["drop","take"],function(s,c){ft.prototype[s]=function(m){m=m===n?1:$n(nt(m),0);var w=this.__filtered__&&!c?new ft(this):this.clone();return w.__filtered__?w.__takeCount__=Wn(m,w.__takeCount__):w.__views__.push({size:Wn(m,N),type:s+(w.__dir__<0?"Right":"")}),w},ft.prototype[s+"Right"]=function(m){return this.reverse()[s](m).reverse()}}),jr(["filter","map","takeWhile"],function(s,c){var m=c+1,w=m==B||m==k;ft.prototype[s]=function(P){var L=this.clone();return L.__iteratees__.push({iteratee:Ue(P,3),type:m}),L.__filtered__=L.__filtered__||w,L}}),jr(["head","last"],function(s,c){var m="take"+(c?"Right":"");ft.prototype[s]=function(){return this[m](1).value()[0]}}),jr(["initial","tail"],function(s,c){var m="drop"+(c?"":"Right");ft.prototype[s]=function(){return this.__filtered__?new ft(this):this[m](1)}}),ft.prototype.compact=function(){return this.filter(vr)},ft.prototype.find=function(s){return this.filter(s).head()},ft.prototype.findLast=function(s){return this.reverse().find(s)},ft.prototype.invokeMap=st(function(s,c){return typeof s=="function"?new ft(this):this.map(function(m){return wl(m,s,c)})}),ft.prototype.reject=function(s){return this.filter(ef(Ue(s)))},ft.prototype.slice=function(s,c){s=nt(s);var m=this;return m.__filtered__&&(s>0||c<0)?new ft(m):(s<0?m=m.takeRight(-s):s&&(m=m.drop(s)),c!==n&&(c=nt(c),m=c<0?m.dropRight(-c):m.take(c-s)),m)},ft.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},ft.prototype.toArray=function(){return this.take(N)},Ri(ft.prototype,function(s,c){var m=/^(?:filter|find|map|reject)|While$/.test(c),w=/^(?:head|last)$/.test(c),P=F[w?"take"+(c=="last"?"Right":""):c],L=w||/^find/.test(c);P&&(F.prototype[c]=function(){var W=this.__wrapped__,J=w?[1]:arguments,te=W instanceof ft,me=J[0],ge=te||Xe(W),xe=function(lt){var ht=P.apply(F,ja([lt],J));return w&&Pe?ht[0]:ht};ge&&m&&typeof me=="function"&&me.length!=1&&(te=ge=!1);var Pe=this.__chain__,Le=!!this.__actions__.length,qe=L&&!Pe,at=te&&!Le;if(!L&&ge){W=at?W:new ft(this);var We=s.apply(W,J);return We.__actions__.push({func:Zd,args:[xe],thisArg:n}),new Ur(We,Pe)}return qe&&at?s.apply(this,J):(We=this.thru(xe),qe?w?We.value()[0]:We.value():We)})}),jr(["pop","push","shift","sort","splice","unshift"],function(s){var c=wd[s],m=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",w=/^(?:pop|shift)$/.test(s);F.prototype[s]=function(){var P=arguments;if(w&&!this.__chain__){var L=this.value();return c.apply(Xe(L)?L:[],P)}return this[m](function(W){return c.apply(Xe(W)?W:[],P)})}}),Ri(ft.prototype,function(s,c){var m=F[c];if(m){var w=m.name+"";Tt.call(Bs,w)||(Bs[w]=[]),Bs[w].push({name:c,func:m})}}),Bs[Ud(n,b).name]=[{name:"wrapper",func:n}],ft.prototype.clone=fk,ft.prototype.reverse=hk,ft.prototype.value=pk,F.prototype.at=UB,F.prototype.chain=zB,F.prototype.commit=qB,F.prototype.next=WB,F.prototype.plant=GB,F.prototype.reverse=YB,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=ZB,F.prototype.first=F.prototype.head,ml&&(F.prototype[ml]=HB),F},Fs=q8();_i?((_i.exports=Fs)._=Fs,Pi._=Fs):mn._=Fs}).call(KK)}(zl,zl.exports)),zl.exports}var JA=UK();const zK=Qi(JA);var ig={exports:{}};/*!
85
- Copyright (c) 2018 Jed Watson.
86
- Licensed under the MIT License (MIT), see
87
- http://jedwatson.github.io/classnames
88
- */var hw;function qK(){return hw||(hw=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(a=i(a,r(u)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var u in a)t.call(a,u)&&a[u]&&(o=i(o,u));return o}function i(a,o){return o?a?a+" "+o:a+o:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()}(ig)),ig.exports}var WK=qK();const Vb=Qi(WK);/*
89
- * React Tooltip
90
- * {@link https://github.com/ReactTooltip/react-tooltip}
91
- * @copyright ReactTooltip Team
92
- * @license MIT
93
- */const HK="react-tooltip-core-styles",GK="react-tooltip-base-styles",pw={core:!1,base:!1};function mw({css:e,id:t=GK,type:n="base",ref:r}){var i,a;if(!e||typeof document>"u"||pw[n]||n==="core"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((a=process==null?void 0:process.env)===null||a===void 0)&&a.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(t=HK),r||(r={});const{insertAt:o}=r;if(document.getElementById(t))return;const u=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=t,l.type="text/css",o==="top"&&u.firstChild?u.insertBefore(l,u.firstChild):u.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e)),pw[n]=!0}const gw=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:i=10,strategy:a="absolute",middlewares:o=[GA(Number(i)),YA({fallbackAxisSideDirection:"start"}),BK({padding:5})],border:u})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=o;return n?(l.push(LK({element:n,padding:5})),Lb(e,t,{placement:r,strategy:a,middleware:l}).then(({x:d,y:f,placement:h,middlewareData:p})=>{var g,y;const $={left:`${d}px`,top:`${f}px`,border:u},{x:C,y:b}=(g=p.arrow)!==null&&g!==void 0?g:{x:0,y:0},v=(y={top:"bottom",right:"left",bottom:"top",left:"right"}[h.split("-")[0]])!==null&&y!==void 0?y:"bottom",D=u&&{borderBottom:u,borderRight:u};let A=0;if(u){const E=`${u}`.match(/(\d+)px/);A=E!=null&&E[1]?Number(E[1]):1}return{tooltipStyles:$,tooltipArrowStyles:{left:C!=null?`${C}px`:"",top:b!=null?`${b}px`:"",right:"",bottom:"",...D,[v]:`-${4+A}px`},place:h}})):Lb(e,t,{placement:"bottom",strategy:a,middleware:l}).then(({x:d,y:f,placement:h})=>({tooltipStyles:{left:`${d}px`,top:`${f}px`},tooltipArrowStyles:{},place:h}))},yw=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),vw=(e,t,n)=>{let r=null;const i=function(...a){const o=()=>{r=null};!r&&(e.apply(this,a),r=setTimeout(o,t))};return i.cancel=()=>{r&&(clearTimeout(r),r=null)},i},bw=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",Nb=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((i,a)=>Nb(i,t[a]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!bw(e)||!bw(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(i=>Nb(e[i],t[i]))},YK=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(n=>{const r=t.getPropertyValue(n);return r==="auto"||r==="scroll"})},$w=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(YK(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},ZK=typeof window<"u"?x.useLayoutEffect:x.useEffect,Gr=e=>{e.current&&(clearTimeout(e.current),e.current=null)},JK="DEFAULT_TOOLTIP_ID",XK={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},QK=x.createContext({getTooltipData:()=>XK});function XA(e=JK){return x.useContext(QK).getTooltipData(e)}var qs={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},ag={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const eU=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:i="dark",anchorId:a,anchorSelect:o,place:u="top",offset:l=10,events:d=["hover"],openOnClick:f=!1,positionStrategy:h="absolute",middlewares:p,wrapper:g,delayShow:y=0,delayHide:$=0,float:C=!1,hidden:b=!1,noArrow:v=!1,clickable:D=!1,closeOnEsc:A=!1,closeOnScroll:E=!1,closeOnResize:T=!1,openEvents:R,closeEvents:S,globalCloseEvents:U,imperativeModeOnly:j,style:M,position:X,afterShow:O,afterHide:B,disableTooltip:q,content:k,contentWrapperRef:V,isOpen:_,defaultIsOpen:H=!1,setIsOpen:z,activeAnchor:N,setActiveAnchor:ne,border:ie,opacity:le,arrowColor:$e,role:De="tooltip"})=>{var Ce;const Y=x.useRef(null),he=x.useRef(null),ye=x.useRef(null),fe=x.useRef(null),oe=x.useRef(null),[Fe,et]=x.useState({tooltipStyles:{},tooltipArrowStyles:{},place:u}),[dt,Dn]=x.useState(!1),[yt,G]=x.useState(!1),[Z,re]=x.useState(null),pe=x.useRef(!1),Ee=x.useRef(null),{anchorRefs:we,setActiveAnchor:_e}=XA(t),Ve=x.useRef(!1),[mt,ut]=x.useState([]),Rt=x.useRef(!1),Pn=f||d.includes("click"),_n=Pn||(R==null?void 0:R.click)||(R==null?void 0:R.dblclick)||(R==null?void 0:R.mousedown),Yt=R?{...R}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!R&&Pn&&Object.assign(Yt,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Ln=S?{...S}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!S&&Pn&&Object.assign(Ln,{mouseleave:!1,blur:!1,mouseout:!1});const tn=U?{...U}:{escape:A||!1,scroll:E||!1,resize:T||!1,clickOutsideAnchor:_n||!1};j&&(Object.assign(Yt,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Ln,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(tn,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),ZK(()=>(Rt.current=!0,()=>{Rt.current=!1}),[]);const vt=Ae=>{Rt.current&&(Ae&&G(!0),setTimeout(()=>{Rt.current&&(z==null||z(Ae),_===void 0&&Dn(Ae))},10))};x.useEffect(()=>{if(_===void 0)return()=>null;_&&G(!0);const Ae=setTimeout(()=>{Dn(_)},10);return()=>{clearTimeout(Ae)}},[_]),x.useEffect(()=>{if(dt!==pe.current)if(Gr(oe),pe.current=dt,dt)O==null||O();else{const Ae=(je=>{const Ye=je.match(/^([\d.]+)(ms|s)$/);if(!Ye)return 0;const[,Ft,rn]=Ye;return Number(Ft)*(rn==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));oe.current=setTimeout(()=>{G(!1),re(null),B==null||B()},Ae+25)}},[dt]);const Vn=Ae=>{et(je=>Nb(je,Ae)?je:Ae)},Sr=(Ae=y)=>{Gr(ye),yt?vt(!0):ye.current=setTimeout(()=>{vt(!0)},Ae)},Rn=(Ae=$)=>{Gr(fe),fe.current=setTimeout(()=>{Ve.current||vt(!1)},Ae)},er=Ae=>{var je;if(!Ae)return;const Ye=(je=Ae.currentTarget)!==null&&je!==void 0?je:Ae.target;if(!(Ye!=null&&Ye.isConnected))return ne(null),void _e({current:null});y?Sr():vt(!0),ne(Ye),_e({current:Ye}),Gr(fe)},On=()=>{D?Rn($||100):$?Rn():vt(!1),Gr(ye)},tr=({x:Ae,y:je})=>{var Ye;const Ft={getBoundingClientRect:()=>({x:Ae,y:je,width:0,height:0,top:je,left:Ae,right:Ae,bottom:je})};gw({place:(Ye=Z==null?void 0:Z.place)!==null&&Ye!==void 0?Ye:u,offset:l,elementReference:Ft,tooltipReference:Y.current,tooltipArrowReference:he.current,strategy:h,middlewares:p,border:ie}).then(rn=>{Vn(rn)})},Nn=Ae=>{if(!Ae)return;const je=Ae,Ye={x:je.clientX,y:je.clientY};tr(Ye),Ee.current=Ye},Cn=Ae=>{var je;if(!dt)return;const Ye=Ae.target;Ye.isConnected&&(!((je=Y.current)===null||je===void 0)&&je.contains(Ye)||[document.querySelector(`[id='${a}']`),...mt].some(Ft=>Ft==null?void 0:Ft.contains(Ye))||(vt(!1),Gr(ye)))},Br=vw(er,50),Vt=vw(On,50),En=Ae=>{Vt.cancel(),Br(Ae)},Ne=()=>{Br.cancel(),Vt()},tt=x.useCallback(()=>{var Ae,je;const Ye=(Ae=Z==null?void 0:Z.position)!==null&&Ae!==void 0?Ae:X;Ye?tr(Ye):C?Ee.current&&tr(Ee.current):N!=null&&N.isConnected&&gw({place:(je=Z==null?void 0:Z.place)!==null&&je!==void 0?je:u,offset:l,elementReference:N,tooltipReference:Y.current,tooltipArrowReference:he.current,strategy:h,middlewares:p,border:ie}).then(Ft=>{Rt.current&&Vn(Ft)})},[dt,N,k,M,u,Z==null?void 0:Z.place,l,h,X,Z==null?void 0:Z.position,C]);x.useEffect(()=>{var Ae,je;const Ye=new Set(we);mt.forEach(gt=>{q!=null&&q(gt)||Ye.add({current:gt})});const Ft=document.querySelector(`[id='${a}']`);Ft&&!(q!=null&&q(Ft))&&Ye.add({current:Ft});const rn=()=>{vt(!1)},jn=$w(N),Ut=$w(Y.current);tn.scroll&&(window.addEventListener("scroll",rn),jn==null||jn.addEventListener("scroll",rn),Ut==null||Ut.addEventListener("scroll",rn));let on=null;tn.resize?window.addEventListener("resize",rn):N&&Y.current&&(on=HA(N,Y.current,tt,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const kt=gt=>{gt.key==="Escape"&&vt(!1)};tn.escape&&window.addEventListener("keydown",kt),tn.clickOutsideAnchor&&window.addEventListener("click",Cn);const wt=[],li=gt=>{dt&&(gt==null?void 0:gt.target)===N||er(gt)},xo=gt=>{dt&&(gt==null?void 0:gt.target)===N&&On()},hr=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Fa=["click","dblclick","mousedown","mouseup"];Object.entries(Yt).forEach(([gt,nr])=>{nr&&(hr.includes(gt)?wt.push({event:gt,listener:En}):Fa.includes(gt)&&wt.push({event:gt,listener:li}))}),Object.entries(Ln).forEach(([gt,nr])=>{nr&&(hr.includes(gt)?wt.push({event:gt,listener:Ne}):Fa.includes(gt)&&wt.push({event:gt,listener:xo}))}),C&&wt.push({event:"pointermove",listener:Nn});const ka=()=>{Ve.current=!0},Ia=()=>{Ve.current=!1,On()};return D&&!_n&&((Ae=Y.current)===null||Ae===void 0||Ae.addEventListener("mouseenter",ka),(je=Y.current)===null||je===void 0||je.addEventListener("mouseleave",Ia)),wt.forEach(({event:gt,listener:nr})=>{Ye.forEach(pr=>{var Kn;(Kn=pr.current)===null||Kn===void 0||Kn.addEventListener(gt,nr)})}),()=>{var gt,nr;tn.scroll&&(window.removeEventListener("scroll",rn),jn==null||jn.removeEventListener("scroll",rn),Ut==null||Ut.removeEventListener("scroll",rn)),tn.resize?window.removeEventListener("resize",rn):on==null||on(),tn.clickOutsideAnchor&&window.removeEventListener("click",Cn),tn.escape&&window.removeEventListener("keydown",kt),D&&!_n&&((gt=Y.current)===null||gt===void 0||gt.removeEventListener("mouseenter",ka),(nr=Y.current)===null||nr===void 0||nr.removeEventListener("mouseleave",Ia)),wt.forEach(({event:pr,listener:Kn})=>{Ye.forEach(Ba=>{var Lr;(Lr=Ba.current)===null||Lr===void 0||Lr.removeEventListener(pr,Kn)})})}},[N,tt,yt,we,mt,R,S,U,Pn,y,$]),x.useEffect(()=>{var Ae,je;let Ye=(je=(Ae=Z==null?void 0:Z.anchorSelect)!==null&&Ae!==void 0?Ae:o)!==null&&je!==void 0?je:"";!Ye&&t&&(Ye=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Ft=new MutationObserver(rn=>{const jn=[],Ut=[];rn.forEach(on=>{if(on.type==="attributes"&&on.attributeName==="data-tooltip-id"&&(on.target.getAttribute("data-tooltip-id")===t?jn.push(on.target):on.oldValue===t&&Ut.push(on.target)),on.type==="childList"){if(N){const kt=[...on.removedNodes].filter(wt=>wt.nodeType===1);if(Ye)try{Ut.push(...kt.filter(wt=>wt.matches(Ye))),Ut.push(...kt.flatMap(wt=>[...wt.querySelectorAll(Ye)]))}catch{}kt.some(wt=>{var li;return!!(!((li=wt==null?void 0:wt.contains)===null||li===void 0)&&li.call(wt,N))&&(G(!1),vt(!1),ne(null),Gr(ye),Gr(fe),!0)})}if(Ye)try{const kt=[...on.addedNodes].filter(wt=>wt.nodeType===1);jn.push(...kt.filter(wt=>wt.matches(Ye))),jn.push(...kt.flatMap(wt=>[...wt.querySelectorAll(Ye)]))}catch{}}}),(jn.length||Ut.length)&&ut(on=>[...on.filter(kt=>!Ut.includes(kt)),...jn])});return Ft.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ft.disconnect()}},[t,o,Z==null?void 0:Z.anchorSelect,N]),x.useEffect(()=>{tt()},[tt]),x.useEffect(()=>{if(!(V!=null&&V.current))return()=>null;const Ae=new ResizeObserver(()=>{setTimeout(()=>tt())});return Ae.observe(V.current),()=>{Ae.disconnect()}},[k,V==null?void 0:V.current]),x.useEffect(()=>{var Ae;const je=document.querySelector(`[id='${a}']`),Ye=[...mt,je];N&&Ye.includes(N)||ne((Ae=mt[0])!==null&&Ae!==void 0?Ae:je)},[a,mt,N]),x.useEffect(()=>(H&&vt(!0),()=>{Gr(ye),Gr(fe)}),[]),x.useEffect(()=>{var Ae;let je=(Ae=Z==null?void 0:Z.anchorSelect)!==null&&Ae!==void 0?Ae:o;if(!je&&t&&(je=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),je)try{const Ye=Array.from(document.querySelectorAll(je));ut(Ye)}catch{ut([])}},[t,o,Z==null?void 0:Z.anchorSelect]),x.useEffect(()=>{ye.current&&(Gr(ye),Sr(y))},[y]);const nn=(Ce=Z==null?void 0:Z.content)!==null&&Ce!==void 0?Ce:k,fr=dt&&Object.keys(Fe.tooltipStyles).length>0;return x.useImperativeHandle(e,()=>({open:Ae=>{if(Ae!=null&&Ae.anchorSelect)try{document.querySelector(Ae.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${Ae.anchorSelect}" is not a valid CSS selector`)}re(Ae??null),Ae!=null&&Ae.delay?Sr(Ae.delay):vt(!0)},close:Ae=>{Ae!=null&&Ae.delay?Rn(Ae.delay):vt(!1)},activeAnchor:N,place:Fe.place,isOpen:!!(yt&&!b&&nn&&fr)})),yt&&!b&&nn?x.createElement(g,{id:t,role:De,className:Vb("react-tooltip",qs.tooltip,ag.tooltip,ag[i],n,`react-tooltip__place-${Fe.place}`,qs[fr?"show":"closing"],fr?"react-tooltip__show":"react-tooltip__closing",h==="fixed"&&qs.fixed,D&&qs.clickable),onTransitionEnd:Ae=>{Gr(oe),dt||Ae.propertyName!=="opacity"||(G(!1),re(null),B==null||B())},style:{...M,...Fe.tooltipStyles,opacity:le!==void 0&&fr?le:void 0},ref:Y},nn,x.createElement(g,{className:Vb("react-tooltip-arrow",qs.arrow,ag.arrow,r,v&&qs.noArrow),style:{...Fe.tooltipArrowStyles,background:$e?`linear-gradient(to right bottom, transparent 50%, ${$e} 50%)`:void 0},ref:he})):null},tU=({content:e})=>x.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),nU=x.forwardRef(({id:e,anchorId:t,anchorSelect:n,content:r,html:i,render:a,className:o,classNameArrow:u,variant:l="dark",place:d="top",offset:f=10,wrapper:h="div",children:p=null,events:g=["hover"],openOnClick:y=!1,positionStrategy:$="absolute",middlewares:C,delayShow:b=0,delayHide:v=0,float:D=!1,hidden:A=!1,noArrow:E=!1,clickable:T=!1,closeOnEsc:R=!1,closeOnScroll:S=!1,closeOnResize:U=!1,openEvents:j,closeEvents:M,globalCloseEvents:X,imperativeModeOnly:O=!1,style:B,position:q,isOpen:k,defaultIsOpen:V=!1,disableStyleInjection:_=!1,border:H,opacity:z,arrowColor:N,setIsOpen:ne,afterShow:ie,afterHide:le,disableTooltip:$e,role:De="tooltip"},Ce)=>{const[Y,he]=x.useState(r),[ye,fe]=x.useState(i),[oe,Fe]=x.useState(d),[et,dt]=x.useState(l),[Dn,yt]=x.useState(f),[G,Z]=x.useState(b),[re,pe]=x.useState(v),[Ee,we]=x.useState(D),[_e,Ve]=x.useState(A),[mt,ut]=x.useState(h),[Rt,Pn]=x.useState(g),[_n,Yt]=x.useState($),[Ln,tn]=x.useState(null),[vt,Vn]=x.useState(null),Sr=x.useRef(_),{anchorRefs:Rn,activeAnchor:er}=XA(e),On=Vt=>Vt==null?void 0:Vt.getAttributeNames().reduce((En,Ne)=>{var tt;return Ne.startsWith("data-tooltip-")&&(En[Ne.replace(/^data-tooltip-/,"")]=(tt=Vt==null?void 0:Vt.getAttribute(Ne))!==null&&tt!==void 0?tt:null),En},{}),tr=Vt=>{const En={place:Ne=>{var tt;Fe((tt=Ne)!==null&&tt!==void 0?tt:d)},content:Ne=>{he(Ne??r)},html:Ne=>{fe(Ne??i)},variant:Ne=>{var tt;dt((tt=Ne)!==null&&tt!==void 0?tt:l)},offset:Ne=>{yt(Ne===null?f:Number(Ne))},wrapper:Ne=>{var tt;ut((tt=Ne)!==null&&tt!==void 0?tt:h)},events:Ne=>{const tt=Ne==null?void 0:Ne.split(" ");Pn(tt??g)},"position-strategy":Ne=>{var tt;Yt((tt=Ne)!==null&&tt!==void 0?tt:$)},"delay-show":Ne=>{Z(Ne===null?b:Number(Ne))},"delay-hide":Ne=>{pe(Ne===null?v:Number(Ne))},float:Ne=>{we(Ne===null?D:Ne==="true")},hidden:Ne=>{Ve(Ne===null?A:Ne==="true")},"class-name":Ne=>{tn(Ne)}};Object.values(En).forEach(Ne=>Ne(null)),Object.entries(Vt).forEach(([Ne,tt])=>{var nn;(nn=En[Ne])===null||nn===void 0||nn.call(En,tt)})};x.useEffect(()=>{he(r)},[r]),x.useEffect(()=>{fe(i)},[i]),x.useEffect(()=>{Fe(d)},[d]),x.useEffect(()=>{dt(l)},[l]),x.useEffect(()=>{yt(f)},[f]),x.useEffect(()=>{Z(b)},[b]),x.useEffect(()=>{pe(v)},[v]),x.useEffect(()=>{we(D)},[D]),x.useEffect(()=>{Ve(A)},[A]),x.useEffect(()=>{Yt($)},[$]),x.useEffect(()=>{Sr.current!==_&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[_]),x.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:_==="core",disableBase:_}}))},[]),x.useEffect(()=>{var Vt;const En=new Set(Rn);let Ne=n;if(!Ne&&e&&(Ne=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),Ne)try{document.querySelectorAll(Ne).forEach(je=>{En.add({current:je})})}catch{console.warn(`[react-tooltip] "${Ne}" is not a valid CSS selector`)}const tt=document.querySelector(`[id='${t}']`);if(tt&&En.add({current:tt}),!En.size)return()=>null;const nn=(Vt=vt??tt)!==null&&Vt!==void 0?Vt:er.current,fr=new MutationObserver(je=>{je.forEach(Ye=>{var Ft;if(!nn||Ye.type!=="attributes"||!(!((Ft=Ye.attributeName)===null||Ft===void 0)&&Ft.startsWith("data-tooltip-")))return;const rn=On(nn);tr(rn)})}),Ae={attributes:!0,childList:!1,subtree:!1};if(nn){const je=On(nn);tr(je),fr.observe(nn,Ae)}return()=>{fr.disconnect()}},[Rn,er,vt,t,n]),x.useEffect(()=>{B!=null&&B.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),H&&!yw("border",`${H}`)&&console.warn(`[react-tooltip] "${H}" is not a valid \`border\`.`),B!=null&&B.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),z&&!yw("opacity",`${z}`)&&console.warn(`[react-tooltip] "${z}" is not a valid \`opacity\`.`)},[]);let Nn=p;const Cn=x.useRef(null);if(a){const Vt=a({content:(vt==null?void 0:vt.getAttribute("data-tooltip-content"))||Y||null,activeAnchor:vt});Nn=Vt?x.createElement("div",{ref:Cn,className:"react-tooltip-content-wrapper"},Vt):null}else Y&&(Nn=Y);ye&&(Nn=x.createElement(tU,{content:ye}));const Br={forwardRef:Ce,id:e,anchorId:t,anchorSelect:n,className:Vb(o,Ln),classNameArrow:u,content:Nn,contentWrapperRef:Cn,place:oe,variant:et,offset:Dn,wrapper:mt,events:Rt,openOnClick:y,positionStrategy:_n,middlewares:C,delayShow:G,delayHide:re,float:Ee,hidden:_e,noArrow:E,clickable:T,closeOnEsc:R,closeOnScroll:S,closeOnResize:U,openEvents:j,closeEvents:M,globalCloseEvents:X,imperativeModeOnly:O,style:B,position:q,isOpen:k,defaultIsOpen:V,border:H,opacity:z,arrowColor:N,setIsOpen:ne,afterShow:ie,afterHide:le,disableTooltip:$e,activeAnchor:vt,setActiveAnchor:Vt=>Vn(Vt),role:De};return x.createElement(eU,{...Br})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||mw({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||mw({css:`
94
- .styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});var Vc=e=>e.type==="checkbox",qo=e=>e instanceof Date,sr=e=>e==null;const QA=e=>typeof e=="object";var hn=e=>!sr(e)&&!Array.isArray(e)&&QA(e)&&!qo(e),eT=e=>hn(e)&&e.target?Vc(e.target)?e.target.checked:e.target.value:e,rU=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,tT=(e,t)=>e.has(rU(t)),iU=e=>{const t=e.constructor&&e.constructor.prototype;return hn(t)&&t.hasOwnProperty("isPrototypeOf")},$1=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function br(e){let t;const n=Array.isArray(e),r=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!($1&&(e instanceof Blob||r))&&(n||hn(e)))if(t=n?[]:{},!n&&!iU(e))t=e;else for(const i in e)e.hasOwnProperty(i)&&(t[i]=br(e[i]));else return e;return t}var Xh=e=>Array.isArray(e)?e.filter(Boolean):[],dn=e=>e===void 0,Te=(e,t,n)=>{if(!t||!hn(e))return n;const r=Xh(t.split(/[,[\].]+?/)).reduce((i,a)=>sr(i)?i:i[a],e);return dn(r)||r===e?dn(e[t])?n:e[t]:r},ti=e=>typeof e=="boolean",x1=e=>/^\w*$/.test(e),nT=e=>Xh(e.replace(/["|']|\]/g,"").split(/\.|\[/)),At=(e,t,n)=>{let r=-1;const i=x1(t)?[t]:nT(t),a=i.length,o=a-1;for(;++r<a;){const u=i[r];let l=n;if(r!==o){const d=e[u];l=hn(d)||Array.isArray(d)?d:isNaN(+i[r+1])?{}:[]}if(u==="__proto__"||u==="constructor"||u==="prototype")return;e[u]=l,e=e[u]}return e};const rh={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},yi={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ha={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},rT=x.createContext(null),Qh=()=>x.useContext(rT),aU=e=>{const{children:t,...n}=e;return x.createElement(rT.Provider,{value:n},t)};var iT=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(i,a,{get:()=>{const o=a;return t._proxyFormState[o]!==yi.all&&(t._proxyFormState[o]=!r||yi.all),n&&(n[o]=!0),e[o]}});return i},$r=e=>hn(e)&&!Object.keys(e).length,aT=(e,t,n,r)=>{n(e);const{name:i,...a}=e;return $r(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(o=>t[o]===(!r||yi.all))},rc=e=>Array.isArray(e)?e:[e],oT=(e,t,n)=>!e||!t||e===t||rc(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r)));function w1(e){const t=x.useRef(e);t.current=e,x.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}function oU(e){const t=Qh(),{control:n=t.control,disabled:r,name:i,exact:a}=e||{},[o,u]=x.useState(n._formState),l=x.useRef(!0),d=x.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),f=x.useRef(i);return f.current=i,w1({disabled:r,next:h=>l.current&&oT(f.current,h.name,a)&&aT(h,d.current,n._updateFormState)&&u({...n._formState,...h}),subject:n._subjects.state}),x.useEffect(()=>(l.current=!0,d.current.isValid&&n._updateValid(!0),()=>{l.current=!1}),[n]),x.useMemo(()=>iT(o,n,d.current,!1),[o,n])}var Ni=e=>typeof e=="string",sT=(e,t,n,r,i)=>Ni(e)?(r&&t.watch.add(e),Te(n,e,i)):Array.isArray(e)?e.map(a=>(r&&t.watch.add(a),Te(n,a))):(r&&(t.watchAll=!0),n);function uT(e){const t=Qh(),{control:n=t.control,name:r,defaultValue:i,disabled:a,exact:o}=e||{},u=x.useRef(r);u.current=r,w1({disabled:a,subject:n._subjects.values,next:f=>{oT(u.current,f.name,o)&&d(br(sT(u.current,n._names,f.values||n._formValues,!1,i)))}});const[l,d]=x.useState(n._getWatch(r,i));return x.useEffect(()=>n._removeUnmounted()),l}function sU(e){const t=Qh(),{name:n,disabled:r,control:i=t.control,shouldUnregister:a}=e,o=tT(i._names.array,n),u=uT({control:i,name:n,defaultValue:Te(i._formValues,n,Te(i._defaultValues,n,e.defaultValue)),exact:!0}),l=oU({control:i,name:n,exact:!0}),d=x.useRef(i.register(n,{...e.rules,value:u,...ti(e.disabled)?{disabled:e.disabled}:{}})),f=x.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Te(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!Te(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!Te(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!Te(l.validatingFields,n)},error:{enumerable:!0,get:()=>Te(l.errors,n)}}),[l,n]),h=x.useMemo(()=>({name:n,value:u,...ti(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:p=>d.current.onChange({target:{value:eT(p),name:n},type:rh.CHANGE}),onBlur:()=>d.current.onBlur({target:{value:Te(i._formValues,n),name:n},type:rh.BLUR}),ref:p=>{const g=Te(i._fields,n);g&&p&&(g._f.ref={focus:()=>p.focus(),select:()=>p.select(),setCustomValidity:y=>p.setCustomValidity(y),reportValidity:()=>p.reportValidity()})}}),[n,i._formValues,r,l.disabled,u,i._fields]);return x.useEffect(()=>{const p=i._options.shouldUnregister||a,g=(y,$)=>{const C=Te(i._fields,y);C&&C._f&&(C._f.mount=$)};if(g(n,!0),p){const y=br(Te(i._options.defaultValues,n));At(i._defaultValues,n,y),dn(Te(i._formValues,n))&&At(i._formValues,n,y)}return!o&&i.register(n),()=>{(o?p&&!i._state.action:p)?i.unregister(n):g(n,!1)}},[n,i,o,a]),x.useEffect(()=>{i._updateDisabledField({disabled:r,fields:i._fields,name:n})},[r,n,i]),x.useMemo(()=>({field:h,formState:l,fieldState:f}),[h,l,f])}const uU=e=>e.render(sU(e));var lT=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},xw=e=>({isOnSubmit:!e||e===yi.onSubmit,isOnBlur:e===yi.onBlur,isOnChange:e===yi.onChange,isOnAll:e===yi.all,isOnTouch:e===yi.onTouched}),ww=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const ic=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const a=Te(e,i);if(a){const{_f:o,...u}=a;if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],i)&&!r)return!0;if(o.ref&&t(o.ref,o.name)&&!r)return!0;if(ic(u,t))break}else if(hn(u)&&ic(u,t))break}}};var lU=(e,t,n)=>{const r=rc(Te(e,n));return At(r,"root",t[n]),At(e,n,r),e},D1=e=>e.type==="file",Li=e=>typeof e=="function",ih=e=>{if(!$1)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},If=e=>Ni(e),C1=e=>e.type==="radio",ah=e=>e instanceof RegExp;const Dw={value:!1,isValid:!1},Cw={value:!0,isValid:!0};var cT=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!dn(e[0].attributes.value)?dn(e[0].value)||e[0].value===""?Cw:{value:e[0].value,isValid:!0}:Cw:Dw}return Dw};const Ew={isValid:!1,value:null};var dT=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,Ew):Ew;function Sw(e,t,n="validate"){if(If(e)||Array.isArray(e)&&e.every(If)||ti(e)&&!e)return{type:n,message:If(e)?e:"",ref:t}}var Ws=e=>hn(e)&&!ah(e)?e:{value:e,message:""},Aw=async(e,t,n,r,i,a)=>{const{ref:o,refs:u,required:l,maxLength:d,minLength:f,min:h,max:p,pattern:g,validate:y,name:$,valueAsNumber:C,mount:b}=e._f,v=Te(n,$);if(!b||t.has($))return{};const D=u?u[0]:o,A=X=>{i&&D.reportValidity&&(D.setCustomValidity(ti(X)?"":X||""),D.reportValidity())},E={},T=C1(o),R=Vc(o),S=T||R,U=(C||D1(o))&&dn(o.value)&&dn(v)||ih(o)&&o.value===""||v===""||Array.isArray(v)&&!v.length,j=lT.bind(null,$,r,E),M=(X,O,B,q=ha.maxLength,k=ha.minLength)=>{const V=X?O:B;E[$]={type:X?q:k,message:V,ref:o,...j(X?q:k,V)}};if(a?!Array.isArray(v)||!v.length:l&&(!S&&(U||sr(v))||ti(v)&&!v||R&&!cT(u).isValid||T&&!dT(u).isValid)){const{value:X,message:O}=If(l)?{value:!!l,message:l}:Ws(l);if(X&&(E[$]={type:ha.required,message:O,ref:D,...j(ha.required,O)},!r))return A(O),E}if(!U&&(!sr(h)||!sr(p))){let X,O;const B=Ws(p),q=Ws(h);if(!sr(v)&&!isNaN(v)){const k=o.valueAsNumber||v&&+v;sr(B.value)||(X=k>B.value),sr(q.value)||(O=k<q.value)}else{const k=o.valueAsDate||new Date(v),V=z=>new Date(new Date().toDateString()+" "+z),_=o.type=="time",H=o.type=="week";Ni(B.value)&&v&&(X=_?V(v)>V(B.value):H?v>B.value:k>new Date(B.value)),Ni(q.value)&&v&&(O=_?V(v)<V(q.value):H?v<q.value:k<new Date(q.value))}if((X||O)&&(M(!!X,B.message,q.message,ha.max,ha.min),!r))return A(E[$].message),E}if((d||f)&&!U&&(Ni(v)||a&&Array.isArray(v))){const X=Ws(d),O=Ws(f),B=!sr(X.value)&&v.length>+X.value,q=!sr(O.value)&&v.length<+O.value;if((B||q)&&(M(B,X.message,O.message),!r))return A(E[$].message),E}if(g&&!U&&Ni(v)){const{value:X,message:O}=Ws(g);if(ah(X)&&!v.match(X)&&(E[$]={type:ha.pattern,message:O,ref:o,...j(ha.pattern,O)},!r))return A(O),E}if(y){if(Li(y)){const X=await y(v,n),O=Sw(X,D);if(O&&(E[$]={...O,...j(ha.validate,O.message)},!r))return A(O.message),E}else if(hn(y)){let X={};for(const O in y){if(!$r(X)&&!r)break;const B=Sw(await y[O](v,n),D,O);B&&(X={...B,...j(O,B.message)},A(B.message),r&&(E[$]=X))}if(!$r(X)&&(E[$]={ref:D,...X},!r))return E}}return A(!0),E};function cU(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=dn(e)?r++:e[t[r++]];return e}function dU(e){for(const t in e)if(e.hasOwnProperty(t)&&!dn(e[t]))return!1;return!0}function xn(e,t){const n=Array.isArray(t)?t:x1(t)?[t]:nT(t),r=n.length===1?e:cU(e,n),i=n.length-1,a=n[i];return r&&delete r[a],i!==0&&(hn(r)&&$r(r)||Array.isArray(r)&&dU(r))&&xn(e,n.slice(0,-1)),e}var og=()=>{let e=[];return{get observers(){return e},next:i=>{for(const a of e)a.next&&a.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(a=>a!==i)}}),unsubscribe:()=>{e=[]}}},jb=e=>sr(e)||!QA(e);function no(e,t){if(jb(e)||jb(t))return e===t;if(qo(e)&&qo(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n){const a=e[i];if(!r.includes(i))return!1;if(i!=="ref"){const o=t[i];if(qo(a)&&qo(o)||hn(a)&&hn(o)||Array.isArray(a)&&Array.isArray(o)?!no(a,o):a!==o)return!1}}return!0}var fT=e=>e.type==="select-multiple",fU=e=>C1(e)||Vc(e),sg=e=>ih(e)&&e.isConnected,hT=e=>{for(const t in e)if(Li(e[t]))return!0;return!1};function oh(e,t={}){const n=Array.isArray(e);if(hn(e)||n)for(const r in e)Array.isArray(e[r])||hn(e[r])&&!hT(e[r])?(t[r]=Array.isArray(e[r])?[]:{},oh(e[r],t[r])):sr(e[r])||(t[r]=!0);return t}function pT(e,t,n){const r=Array.isArray(e);if(hn(e)||r)for(const i in e)Array.isArray(e[i])||hn(e[i])&&!hT(e[i])?dn(t)||jb(n[i])?n[i]=Array.isArray(e[i])?oh(e[i],[]):{...oh(e[i])}:pT(e[i],sr(t)?{}:t[i],n[i]):n[i]=!no(e[i],t[i]);return n}var Pl=(e,t)=>pT(e,t,oh(t)),mT=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>dn(e)?e:t?e===""?NaN:e&&+e:n&&Ni(e)?new Date(e):r?r(e):e;function ug(e){const t=e.ref;return D1(t)?t.files:C1(t)?dT(e.refs).value:fT(t)?[...t.selectedOptions].map(({value:n})=>n):Vc(t)?cT(e.refs).value:mT(dn(t.value)?e.ref.value:t.value,e)}var hU=(e,t,n,r)=>{const i={};for(const a of e){const o=Te(t,a);o&&At(i,a,o._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},_l=e=>dn(e)?e:ah(e)?e.source:hn(e)?ah(e.value)?e.value.source:e.value:e;const Tw="AsyncFunction";var pU=e=>!!e&&!!e.validate&&!!(Li(e.validate)&&e.validate.constructor.name===Tw||hn(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===Tw)),mU=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function Pw(e,t,n){const r=Te(e,n);if(r||x1(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const a=i.join("."),o=Te(t,a),u=Te(e,a);if(o&&!Array.isArray(o)&&n!==a)return{name:n};if(u&&u.type)return{name:a,error:u};i.pop()}return{name:n}}var gU=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,yU=(e,t)=>!Xh(Te(e,t)).length&&xn(e,t);const vU={mode:yi.onSubmit,reValidateMode:yi.onChange,shouldFocusError:!0};function bU(e={}){let t={...vU,...e},n={submitCount:0,isDirty:!1,isLoading:Li(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},i=hn(t.defaultValues)||hn(t.values)?br(t.defaultValues||t.values)||{}:{},a=t.shouldUnregister?{}:br(i),o={action:!1,mount:!1,watch:!1},u={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},l,d=0;const f={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},h={values:og(),array:og(),state:og()},p=xw(t.mode),g=xw(t.reValidateMode),y=t.criteriaMode===yi.all,$=G=>Z=>{clearTimeout(d),d=setTimeout(G,Z)},C=async G=>{if(!t.disabled&&(f.isValid||G)){const Z=t.resolver?$r((await S()).errors):await j(r,!0);Z!==n.isValid&&h.state.next({isValid:Z})}},b=(G,Z)=>{!t.disabled&&(f.isValidating||f.validatingFields)&&((G||Array.from(u.mount)).forEach(re=>{re&&(Z?At(n.validatingFields,re,Z):xn(n.validatingFields,re))}),h.state.next({validatingFields:n.validatingFields,isValidating:!$r(n.validatingFields)}))},v=(G,Z=[],re,pe,Ee=!0,we=!0)=>{if(pe&&re&&!t.disabled){if(o.action=!0,we&&Array.isArray(Te(r,G))){const _e=re(Te(r,G),pe.argA,pe.argB);Ee&&At(r,G,_e)}if(we&&Array.isArray(Te(n.errors,G))){const _e=re(Te(n.errors,G),pe.argA,pe.argB);Ee&&At(n.errors,G,_e),yU(n.errors,G)}if(f.touchedFields&&we&&Array.isArray(Te(n.touchedFields,G))){const _e=re(Te(n.touchedFields,G),pe.argA,pe.argB);Ee&&At(n.touchedFields,G,_e)}f.dirtyFields&&(n.dirtyFields=Pl(i,a)),h.state.next({name:G,isDirty:X(G,Z),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else At(a,G,Z)},D=(G,Z)=>{At(n.errors,G,Z),h.state.next({errors:n.errors})},A=G=>{n.errors=G,h.state.next({errors:n.errors,isValid:!1})},E=(G,Z,re,pe)=>{const Ee=Te(r,G);if(Ee){const we=Te(a,G,dn(re)?Te(i,G):re);dn(we)||pe&&pe.defaultChecked||Z?At(a,G,Z?we:ug(Ee._f)):q(G,we),o.mount&&C()}},T=(G,Z,re,pe,Ee)=>{let we=!1,_e=!1;const Ve={name:G};if(!t.disabled){const mt=!!(Te(r,G)&&Te(r,G)._f&&Te(r,G)._f.disabled);if(!re||pe){f.isDirty&&(_e=n.isDirty,n.isDirty=Ve.isDirty=X(),we=_e!==Ve.isDirty);const ut=mt||no(Te(i,G),Z);_e=!!(!mt&&Te(n.dirtyFields,G)),ut||mt?xn(n.dirtyFields,G):At(n.dirtyFields,G,!0),Ve.dirtyFields=n.dirtyFields,we=we||f.dirtyFields&&_e!==!ut}if(re){const ut=Te(n.touchedFields,G);ut||(At(n.touchedFields,G,re),Ve.touchedFields=n.touchedFields,we=we||f.touchedFields&&ut!==re)}we&&Ee&&h.state.next(Ve)}return we?Ve:{}},R=(G,Z,re,pe)=>{const Ee=Te(n.errors,G),we=f.isValid&&ti(Z)&&n.isValid!==Z;if(t.delayError&&re?(l=$(()=>D(G,re)),l(t.delayError)):(clearTimeout(d),l=null,re?At(n.errors,G,re):xn(n.errors,G)),(re?!no(Ee,re):Ee)||!$r(pe)||we){const _e={...pe,...we&&ti(Z)?{isValid:Z}:{},errors:n.errors,name:G};n={...n,..._e},h.state.next(_e)}},S=async G=>{b(G,!0);const Z=await t.resolver(a,t.context,hU(G||u.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return b(G),Z},U=async G=>{const{errors:Z}=await S(G);if(G)for(const re of G){const pe=Te(Z,re);pe?At(n.errors,re,pe):xn(n.errors,re)}else n.errors=Z;return Z},j=async(G,Z,re={valid:!0})=>{for(const pe in G){const Ee=G[pe];if(Ee){const{_f:we,..._e}=Ee;if(we){const Ve=u.array.has(we.name),mt=Ee._f&&pU(Ee._f);mt&&f.validatingFields&&b([pe],!0);const ut=await Aw(Ee,u.disabled,a,y,t.shouldUseNativeValidation&&!Z,Ve);if(mt&&f.validatingFields&&b([pe]),ut[we.name]&&(re.valid=!1,Z))break;!Z&&(Te(ut,we.name)?Ve?lU(n.errors,ut,we.name):At(n.errors,we.name,ut[we.name]):xn(n.errors,we.name))}!$r(_e)&&await j(_e,Z,re)}}return re.valid},M=()=>{for(const G of u.unMount){const Z=Te(r,G);Z&&(Z._f.refs?Z._f.refs.every(re=>!sg(re)):!sg(Z._f.ref))&&De(G)}u.unMount=new Set},X=(G,Z)=>!t.disabled&&(G&&Z&&At(a,G,Z),!no(N(),i)),O=(G,Z,re)=>sT(G,u,{...o.mount?a:dn(Z)?i:Ni(G)?{[G]:Z}:Z},re,Z),B=G=>Xh(Te(o.mount?a:i,G,t.shouldUnregister?Te(i,G,[]):[])),q=(G,Z,re={})=>{const pe=Te(r,G);let Ee=Z;if(pe){const we=pe._f;we&&(!we.disabled&&At(a,G,mT(Z,we)),Ee=ih(we.ref)&&sr(Z)?"":Z,fT(we.ref)?[...we.ref.options].forEach(_e=>_e.selected=Ee.includes(_e.value)):we.refs?Vc(we.ref)?we.refs.length>1?we.refs.forEach(_e=>(!_e.defaultChecked||!_e.disabled)&&(_e.checked=Array.isArray(Ee)?!!Ee.find(Ve=>Ve===_e.value):Ee===_e.value)):we.refs[0]&&(we.refs[0].checked=!!Ee):we.refs.forEach(_e=>_e.checked=_e.value===Ee):D1(we.ref)?we.ref.value="":(we.ref.value=Ee,we.ref.type||h.values.next({name:G,values:{...a}})))}(re.shouldDirty||re.shouldTouch)&&T(G,Ee,re.shouldTouch,re.shouldDirty,!0),re.shouldValidate&&z(G)},k=(G,Z,re)=>{for(const pe in Z){const Ee=Z[pe],we=`${G}.${pe}`,_e=Te(r,we);(u.array.has(G)||hn(Ee)||_e&&!_e._f)&&!qo(Ee)?k(we,Ee,re):q(we,Ee,re)}},V=(G,Z,re={})=>{const pe=Te(r,G),Ee=u.array.has(G),we=br(Z);At(a,G,we),Ee?(h.array.next({name:G,values:{...a}}),(f.isDirty||f.dirtyFields)&&re.shouldDirty&&h.state.next({name:G,dirtyFields:Pl(i,a),isDirty:X(G,we)})):pe&&!pe._f&&!sr(we)?k(G,we,re):q(G,we,re),ww(G,u)&&h.state.next({...n}),h.values.next({name:o.mount?G:void 0,values:{...a}})},_=async G=>{o.mount=!0;const Z=G.target;let re=Z.name,pe=!0;const Ee=Te(r,re),we=()=>Z.type?ug(Ee._f):eT(G),_e=Ve=>{pe=Number.isNaN(Ve)||qo(Ve)&&isNaN(Ve.getTime())||no(Ve,Te(a,re,Ve))};if(Ee){let Ve,mt;const ut=we(),Rt=G.type===rh.BLUR||G.type===rh.FOCUS_OUT,Pn=!mU(Ee._f)&&!t.resolver&&!Te(n.errors,re)&&!Ee._f.deps||gU(Rt,Te(n.touchedFields,re),n.isSubmitted,g,p),_n=ww(re,u,Rt);At(a,re,ut),Rt?(Ee._f.onBlur&&Ee._f.onBlur(G),l&&l(0)):Ee._f.onChange&&Ee._f.onChange(G);const Yt=T(re,ut,Rt,!1),Ln=!$r(Yt)||_n;if(!Rt&&h.values.next({name:re,type:G.type,values:{...a}}),Pn)return f.isValid&&(t.mode==="onBlur"&&Rt?C():Rt||C()),Ln&&h.state.next({name:re,..._n?{}:Yt});if(!Rt&&_n&&h.state.next({...n}),t.resolver){const{errors:tn}=await S([re]);if(_e(ut),pe){const vt=Pw(n.errors,r,re),Vn=Pw(tn,r,vt.name||re);Ve=Vn.error,re=Vn.name,mt=$r(tn)}}else b([re],!0),Ve=(await Aw(Ee,u.disabled,a,y,t.shouldUseNativeValidation))[re],b([re]),_e(ut),pe&&(Ve?mt=!1:f.isValid&&(mt=await j(r,!0)));pe&&(Ee._f.deps&&z(Ee._f.deps),R(re,mt,Ve,Yt))}},H=(G,Z)=>{if(Te(n.errors,Z)&&G.focus)return G.focus(),1},z=async(G,Z={})=>{let re,pe;const Ee=rc(G);if(t.resolver){const we=await U(dn(G)?G:Ee);re=$r(we),pe=G?!Ee.some(_e=>Te(we,_e)):re}else G?(pe=(await Promise.all(Ee.map(async we=>{const _e=Te(r,we);return await j(_e&&_e._f?{[we]:_e}:_e)}))).every(Boolean),!(!pe&&!n.isValid)&&C()):pe=re=await j(r);return h.state.next({...!Ni(G)||f.isValid&&re!==n.isValid?{}:{name:G},...t.resolver||!G?{isValid:re}:{},errors:n.errors}),Z.shouldFocus&&!pe&&ic(r,H,G?Ee:u.mount),pe},N=G=>{const Z={...o.mount?a:i};return dn(G)?Z:Ni(G)?Te(Z,G):G.map(re=>Te(Z,re))},ne=(G,Z)=>({invalid:!!Te((Z||n).errors,G),isDirty:!!Te((Z||n).dirtyFields,G),error:Te((Z||n).errors,G),isValidating:!!Te(n.validatingFields,G),isTouched:!!Te((Z||n).touchedFields,G)}),ie=G=>{G&&rc(G).forEach(Z=>xn(n.errors,Z)),h.state.next({errors:G?n.errors:{}})},le=(G,Z,re)=>{const pe=(Te(r,G,{_f:{}})._f||{}).ref,Ee=Te(n.errors,G)||{},{ref:we,message:_e,type:Ve,...mt}=Ee;At(n.errors,G,{...mt,...Z,ref:pe}),h.state.next({name:G,errors:n.errors,isValid:!1}),re&&re.shouldFocus&&pe&&pe.focus&&pe.focus()},$e=(G,Z)=>Li(G)?h.values.subscribe({next:re=>G(O(void 0,Z),re)}):O(G,Z,!0),De=(G,Z={})=>{for(const re of G?rc(G):u.mount)u.mount.delete(re),u.array.delete(re),Z.keepValue||(xn(r,re),xn(a,re)),!Z.keepError&&xn(n.errors,re),!Z.keepDirty&&xn(n.dirtyFields,re),!Z.keepTouched&&xn(n.touchedFields,re),!Z.keepIsValidating&&xn(n.validatingFields,re),!t.shouldUnregister&&!Z.keepDefaultValue&&xn(i,re);h.values.next({values:{...a}}),h.state.next({...n,...Z.keepDirty?{isDirty:X()}:{}}),!Z.keepIsValid&&C()},Ce=({disabled:G,name:Z,field:re,fields:pe})=>{(ti(G)&&o.mount||G||u.disabled.has(Z))&&(G?u.disabled.add(Z):u.disabled.delete(Z),T(Z,ug(re?re._f:Te(pe,Z)._f),!1,!1,!0))},Y=(G,Z={})=>{let re=Te(r,G);const pe=ti(Z.disabled)||ti(t.disabled);return At(r,G,{...re||{},_f:{...re&&re._f?re._f:{ref:{name:G}},name:G,mount:!0,...Z}}),u.mount.add(G),re?Ce({field:re,disabled:ti(Z.disabled)?Z.disabled:t.disabled,name:G}):E(G,!0,Z.value),{...pe?{disabled:Z.disabled||t.disabled}:{},...t.progressive?{required:!!Z.required,min:_l(Z.min),max:_l(Z.max),minLength:_l(Z.minLength),maxLength:_l(Z.maxLength),pattern:_l(Z.pattern)}:{},name:G,onChange:_,onBlur:_,ref:Ee=>{if(Ee){Y(G,Z),re=Te(r,G);const we=dn(Ee.value)&&Ee.querySelectorAll&&Ee.querySelectorAll("input,select,textarea")[0]||Ee,_e=fU(we),Ve=re._f.refs||[];if(_e?Ve.find(mt=>mt===we):we===re._f.ref)return;At(r,G,{_f:{...re._f,..._e?{refs:[...Ve.filter(sg),we,...Array.isArray(Te(i,G))?[{}]:[]],ref:{type:we.type,name:G}}:{ref:we}}}),E(G,!1,void 0,we)}else re=Te(r,G,{}),re._f&&(re._f.mount=!1),(t.shouldUnregister||Z.shouldUnregister)&&!(tT(u.array,G)&&o.action)&&u.unMount.add(G)}}},he=()=>t.shouldFocusError&&ic(r,H,u.mount),ye=G=>{ti(G)&&(h.state.next({disabled:G}),ic(r,(Z,re)=>{const pe=Te(r,re);pe&&(Z.disabled=pe._f.disabled||G,Array.isArray(pe._f.refs)&&pe._f.refs.forEach(Ee=>{Ee.disabled=pe._f.disabled||G}))},0,!1))},fe=(G,Z)=>async re=>{let pe;re&&(re.preventDefault&&re.preventDefault(),re.persist&&re.persist());let Ee=br(a);if(u.disabled.size)for(const we of u.disabled)At(Ee,we,void 0);if(h.state.next({isSubmitting:!0}),t.resolver){const{errors:we,values:_e}=await S();n.errors=we,Ee=_e}else await j(r);if(xn(n.errors,"root"),$r(n.errors)){h.state.next({errors:{}});try{await G(Ee,re)}catch(we){pe=we}}else Z&&await Z({...n.errors},re),he(),setTimeout(he);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:$r(n.errors)&&!pe,submitCount:n.submitCount+1,errors:n.errors}),pe)throw pe},oe=(G,Z={})=>{Te(r,G)&&(dn(Z.defaultValue)?V(G,br(Te(i,G))):(V(G,Z.defaultValue),At(i,G,br(Z.defaultValue))),Z.keepTouched||xn(n.touchedFields,G),Z.keepDirty||(xn(n.dirtyFields,G),n.isDirty=Z.defaultValue?X(G,br(Te(i,G))):X()),Z.keepError||(xn(n.errors,G),f.isValid&&C()),h.state.next({...n}))},Fe=(G,Z={})=>{const re=G?br(G):i,pe=br(re),Ee=$r(G),we=Ee?i:pe;if(Z.keepDefaultValues||(i=re),!Z.keepValues){if(Z.keepDirtyValues){const _e=new Set([...u.mount,...Object.keys(Pl(i,a))]);for(const Ve of Array.from(_e))Te(n.dirtyFields,Ve)?At(we,Ve,Te(a,Ve)):V(Ve,Te(we,Ve))}else{if($1&&dn(G))for(const _e of u.mount){const Ve=Te(r,_e);if(Ve&&Ve._f){const mt=Array.isArray(Ve._f.refs)?Ve._f.refs[0]:Ve._f.ref;if(ih(mt)){const ut=mt.closest("form");if(ut){ut.reset();break}}}}r={}}a=t.shouldUnregister?Z.keepDefaultValues?br(i):{}:br(we),h.array.next({values:{...we}}),h.values.next({values:{...we}})}u={mount:Z.keepDirtyValues?u.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!f.isValid||!!Z.keepIsValid||!!Z.keepDirtyValues,o.watch=!!t.shouldUnregister,h.state.next({submitCount:Z.keepSubmitCount?n.submitCount:0,isDirty:Ee?!1:Z.keepDirty?n.isDirty:!!(Z.keepDefaultValues&&!no(G,i)),isSubmitted:Z.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:Ee?{}:Z.keepDirtyValues?Z.keepDefaultValues&&a?Pl(i,a):n.dirtyFields:Z.keepDefaultValues&&G?Pl(i,G):Z.keepDirty?n.dirtyFields:{},touchedFields:Z.keepTouched?n.touchedFields:{},errors:Z.keepErrors?n.errors:{},isSubmitSuccessful:Z.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},et=(G,Z)=>Fe(Li(G)?G(a):G,Z);return{control:{register:Y,unregister:De,getFieldState:ne,handleSubmit:fe,setError:le,_executeSchema:S,_getWatch:O,_getDirty:X,_updateValid:C,_removeUnmounted:M,_updateFieldArray:v,_updateDisabledField:Ce,_getFieldArray:B,_reset:Fe,_resetDefaultValues:()=>Li(t.defaultValues)&&t.defaultValues().then(G=>{et(G,t.resetOptions),h.state.next({isLoading:!1})}),_updateFormState:G=>{n={...n,...G}},_disableForm:ye,_subjects:h,_proxyFormState:f,_setErrors:A,get _fields(){return r},get _formValues(){return a},get _state(){return o},set _state(G){o=G},get _defaultValues(){return i},get _names(){return u},set _names(G){u=G},get _formState(){return n},set _formState(G){n=G},get _options(){return t},set _options(G){t={...t,...G}}},trigger:z,register:Y,handleSubmit:fe,watch:$e,setValue:V,getValues:N,reset:et,resetField:oe,clearErrors:ie,unregister:De,setError:le,setFocus:(G,Z={})=>{const re=Te(r,G),pe=re&&re._f;if(pe){const Ee=pe.refs?pe.refs[0]:pe.ref;Ee.focus&&(Ee.focus(),Z.shouldSelect&&Li(Ee.select)&&Ee.select())}},getFieldState:ne}}function $U(e={}){const t=x.useRef(void 0),n=x.useRef(void 0),[r,i]=x.useState({isDirty:!1,isValidating:!1,isLoading:Li(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Li(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...bU(e),formState:r});const a=t.current.control;return a._options=e,w1({subject:a._subjects.state,next:o=>{aT(o,a._proxyFormState,a._updateFormState,!0)&&i({...a._formState})}}),x.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),x.useEffect(()=>{if(a._proxyFormState.isDirty){const o=a._getDirty();o!==r.isDirty&&a._subjects.state.next({isDirty:o})}},[a,r.isDirty]),x.useEffect(()=>{e.values&&!no(e.values,n.current)?(a._reset(e.values,a._options.resetOptions),n.current=e.values,i(o=>({...o}))):a._resetDefaultValues()},[e.values,a]),x.useEffect(()=>{e.errors&&a._setErrors(e.errors)},[e.errors,a]),x.useEffect(()=>{a._state.mount||(a._updateValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),x.useEffect(()=>{e.shouldUnregister&&a._subjects.values.next({values:a._getWatch()})},[e.shouldUnregister,a]),t.current.formState=iT(r,a),t.current}const Lt=typeof document<"u"?x.useLayoutEffect:()=>{};function fn(e){const t=x.useRef(null);return Lt(()=>{t.current=e},[e]),x.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}function xU(e){let[t,n]=x.useState(e),r=x.useRef(null),i=fn(()=>{if(!r.current)return;let o=r.current.next();if(o.done){r.current=null;return}t===o.value?i():n(o.value)});Lt(()=>{r.current&&i()});let a=fn(o=>{r.current=o(t),i()});return[t,a]}const sh={prefix:String(Math.round(Math.random()*1e10)),current:0},gT=x.createContext(sh),wU=x.createContext(!1);let DU=!!(typeof window<"u"&&window.document&&window.document.createElement),lg=new WeakMap;function CU(e=!1){let t=x.useContext(gT),n=x.useRef(null);if(n.current===null&&!e){var r,i;let a=(i=x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(r=i.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(a){let o=lg.get(a);o==null?lg.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==o.state&&(t.current=o.id,lg.delete(a))}n.current=++t.current}return n.current}function EU(e){let t=x.useContext(gT);t===sh&&!DU&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=CU(!!e),r=t===sh&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${r}-${n}`}function SU(e){let t=x.useId(),[n]=x.useState(E1()),r=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${sh.prefix}`;return e||`${r}-${t}`}const AU=typeof x.useId=="function"?SU:EU;function TU(){return!1}function PU(){return!0}function _U(e){return()=>{}}function E1(){return typeof x.useSyncExternalStore=="function"?x.useSyncExternalStore(_U,TU,PU):x.useContext(wU)}let RU=!!(typeof window<"u"&&window.document&&window.document.createElement),eo=new Map;function Cr(e){let[t,n]=x.useState(e),r=x.useRef(null),i=AU(t),a=x.useCallback(o=>{r.current=o},[]);return RU&&(eo.has(i)&&!eo.get(i).includes(a)?eo.set(i,[...eo.get(i),a]):eo.set(i,[a])),Lt(()=>{let o=i;return()=>{eo.delete(o)}},[i]),x.useEffect(()=>{let o=r.current;o&&(r.current=null,n(o))}),i}function OU(e,t){if(e===t)return e;let n=eo.get(e);if(n)return n.forEach(i=>i(t)),t;let r=eo.get(t);return r?(r.forEach(i=>i(e)),e):t}function Eu(e=[]){let t=Cr(),[n,r]=xU(t),i=x.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Lt(i,[t,i,...e]),n}function us(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const jt=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},po=e=>e&&"window"in e&&e.window===e?e:jt(e).defaultView||window;function yT(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=yT(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function MU(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=yT(e))&&(r&&(r+=" "),r+=t);return r}function xt(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let i in r){let a=t[i],o=r[i];typeof a=="function"&&typeof o=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?t[i]=us(a,o):(i==="className"||i==="UNSAFE_className")&&typeof a=="string"&&typeof o=="string"?t[i]=MU(a,o):i==="id"&&a&&o?t.id=OU(a,o):t[i]=o!==void 0?o:a}}return t}const FU=new Set(["id"]),kU=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),IU=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),BU=/^(data-.*)$/;function Pa(e,t={}){let{labelable:n,isLink:r,propNames:i}=t,a={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(FU.has(o)||n&&kU.has(o)||r&&IU.has(o)||i!=null&&i.has(o)||BU.test(o))&&(a[o]=e[o]);return a}function vi(e){if(LU())e.focus({preventScroll:!0});else{let t=VU(e);e.focus(),NU(t)}}let cf=null;function LU(){if(cf==null){cf=!1;try{document.createElement("div").focus({get preventScroll(){return cf=!0,!0}})}catch{}}return cf}function VU(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function NU(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}function ep(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function S1(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function _a(e){let t=null;return()=>(t==null&&(t=e()),t)}const Sa=_a(function(){return S1(/^Mac/i)}),jU=_a(function(){return S1(/^iPhone/i)}),vT=_a(function(){return S1(/^iPad/i)||Sa()&&navigator.maxTouchPoints>1}),Nc=_a(function(){return jU()||vT()}),Bf=_a(function(){return Sa()||Nc()}),A1=_a(function(){return ep(/AppleWebKit/i)&&!bT()}),bT=_a(function(){return ep(/Chrome/i)}),T1=_a(function(){return ep(/Android/i)}),KU=_a(function(){return ep(/Firefox/i)}),UU=x.createContext({isNative:!0,open:qU,useHref:e=>e});function tp(){return x.useContext(UU)}function ls(e,t,n=!0){var r,i;let{metaKey:a,ctrlKey:o,altKey:u,shiftKey:l}=t;KU()&&(!((i=window.event)===null||i===void 0||(r=i.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&(Sa()?a=!0:o=!0);let d=A1()&&Sa()&&!vT()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:o,altKey:u,shiftKey:l}):new MouseEvent("click",{metaKey:a,ctrlKey:o,altKey:u,shiftKey:l,bubbles:!0,cancelable:!0});ls.isOpening=n,vi(e),e.dispatchEvent(d),ls.isOpening=!1}ls.isOpening=!1;function zU(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function qU(e,t){zU(e,n=>ls(n,t))}function WU(e){let t=tp();var n;const r=t.useHref((n=e==null?void 0:e.href)!==null&&n!==void 0?n:"");return{href:e!=null&&e.href?r:void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}let Zs=new Map,Kb=new Set;function _w(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{if(!e(r)||!r.target)return;let i=Zs.get(r.target);i||(i=new Set,Zs.set(r.target,i),r.target.addEventListener("transitioncancel",n,{once:!0})),i.add(r.propertyName)},n=r=>{if(!e(r)||!r.target)return;let i=Zs.get(r.target);if(i&&(i.delete(r.propertyName),i.size===0&&(r.target.removeEventListener("transitioncancel",n),Zs.delete(r.target)),Zs.size===0)){for(let a of Kb)a();Kb.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",n)}typeof document<"u"&&(document.readyState!=="loading"?_w():document.addEventListener("DOMContentLoaded",_w));function $T(e){requestAnimationFrame(()=>{Zs.size===0?e():Kb.add(e)})}function zu(){let e=x.useRef(new Map),t=x.useCallback((i,a,o,u)=>{let l=u!=null&&u.once?(...d)=>{e.current.delete(o),o(...d)}:o;e.current.set(o,{type:a,eventTarget:i,fn:l,options:u}),i.addEventListener(a,l,u)},[]),n=x.useCallback((i,a,o,u)=>{var l;let d=((l=e.current.get(o))===null||l===void 0?void 0:l.fn)||o;i.removeEventListener(a,d,u),e.current.delete(o)},[]),r=x.useCallback(()=>{e.current.forEach((i,a)=>{n(i.eventTarget,i.type,a,i.options)})},[n]);return x.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Su(e,t){let{id:n,"aria-label":r,"aria-labelledby":i}=e;return n=Cr(n),i&&r?i=[...new Set([n,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!r&&!i&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":i}}function Rw(e,t){const n=x.useRef(!0),r=x.useRef(null);x.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),x.useEffect(()=>{n.current?n.current=!1:(!r.current||t.some((i,a)=>!Object.is(i,r[a])))&&e(),r.current=t},t)}function Ow(e,t){const n=x.useRef(!0),r=x.useRef(null);Lt(()=>(n.current=!0,()=>{n.current=!1}),[]),Lt(()=>{n.current?n.current=!1:(!r.current||t.some((i,a)=>!Object.is(i,r[a])))&&e(),r.current=t},t)}function HU(){return typeof window.ResizeObserver<"u"}function Mw(e){const{ref:t,box:n,onResize:r}=e;x.useEffect(()=>{let i=t==null?void 0:t.current;if(i)if(HU()){const a=new window.ResizeObserver(o=>{o.length&&r()});return a.observe(i,{box:n}),()=>{i&&a.unobserve(i)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t,n])}function xT(e,t){Lt(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function gc(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function np(e,t){let n=e;for(gc(n,t)&&(n=n.parentElement);n&&!gc(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function GU(e,t){const n=[];for(;e&&e!==document.documentElement;)gc(e,t)&&n.push(e),e=e.parentElement;return n}let YU=0;const cg=new Map;function jc(e){let[t,n]=x.useState();return Lt(()=>{if(!e)return;let r=cg.get(e);if(r)n(r.element.id);else{let i=`react-aria-description-${YU++}`;n(i);let a=document.createElement("div");a.id=i,a.style.display="none",a.textContent=e,document.body.appendChild(a),r={refCount:0,element:a},cg.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),cg.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function ji(e,t,n,r){let i=fn(n),a=n==null;x.useEffect(()=>{if(a||!e.current)return;let o=e.current;return o.addEventListener(t,i,r),()=>{o.removeEventListener(t,i,r)}},[e,t,r,a,i])}function wT(e,t){let n=Fw(e,t,"left"),r=Fw(e,t,"top"),i=t.offsetWidth,a=t.offsetHeight,o=e.scrollLeft,u=e.scrollTop,{borderTopWidth:l,borderLeftWidth:d,scrollPaddingTop:f,scrollPaddingRight:h,scrollPaddingBottom:p,scrollPaddingLeft:g}=getComputedStyle(e),y=o+parseInt(d,10),$=u+parseInt(l,10),C=y+e.clientWidth,b=$+e.clientHeight,v=parseInt(f,10)||0,D=parseInt(p,10)||0,A=parseInt(h,10)||0,E=parseInt(g,10)||0;n<=o+E?o=n-parseInt(d,10)-E:n+i>C-A&&(o+=n+i-C+A),r<=$+v?u=r-parseInt(l,10)-v:r+a>b-D&&(u+=r+a-b+D),e.scrollLeft=o,e.scrollTop=u}function Fw(e,t,n){const r=n==="left"?"offsetLeft":"offsetTop";let i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[r];break}t=t.offsetParent}return i}function uh(e,t){if(e&&document.contains(e)){let o=document.scrollingElement||document.documentElement;if(window.getComputedStyle(o).overflow==="hidden"){let l=GU(e);for(let d of l)wT(d,e)}else{var n;let{left:l,top:d}=e.getBoundingClientRect();e==null||(n=e.scrollIntoView)===null||n===void 0||n.call(e,{block:"nearest"});let{left:f,top:h}=e.getBoundingClientRect();if(Math.abs(l-f)>1||Math.abs(d-h)>1){var r,i,a;t==null||(i=t.containingElement)===null||i===void 0||(r=i.scrollIntoView)===null||r===void 0||r.call(i,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function Ub(e){return e.mozInputSource===0&&e.isTrusted?!0:T1()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function ZU(e){return!T1()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function DT(e,t){let n=x.useRef(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}function P1(e,t,n){let r=x.useRef(t),i=fn(()=>{n&&n(r.current)});x.useEffect(()=>{var a;let o=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return o==null||o.addEventListener("reset",i),()=>{o==null||o.removeEventListener("reset",i)}},[e,i])}const JU="react-aria-clear-focus",XU="react-aria-focus",CT="react-aria-update-activedescendant";function Js(e){return Sa()?e.metaKey:e.ctrlKey}function Fr(e,t,n){let[r,i]=x.useState(e||t),a=x.useRef(e!==void 0),o=e!==void 0;x.useEffect(()=>{let d=a.current;d!==o&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${o?"controlled":"uncontrolled"}.`),a.current=o},[o]);let u=o?e:r,l=x.useCallback((d,...f)=>{let h=(p,...g)=>{n&&(Object.is(u,p)||n(p,...g)),o||(u=p)};typeof d=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((g,...y)=>{let $=d(o?u:g,...y);return h($,...f),o?g:$})):(o||i(d),h(d,...f))},[o,u,n]);return[u,l]}function Au(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}function df(e,t){let n=e,r=t.toString(),i=r.indexOf("."),a=i>=0?r.length-i:0;if(a>0){let o=Math.pow(10,a);n=Math.round(n*o)/o}return n}function Rl(e,t,n,r){t=Number(t),n=Number(n);let i=(e-(isNaN(t)?0:t))%r,a=df(Math.abs(i)*2>=r?e+Math.sign(i)*(r-Math.abs(i)):e-i,r);return isNaN(t)?!isNaN(n)&&a>n&&(a=Math.floor(df(n/r,r))*r):a<t?a=t:!isNaN(n)&&a>n&&(a=t+Math.floor(df((n-t)/r,r))*r),a=df(a,r),a}let Qs="default",zb="",Lf=new WeakMap;function qb(e){if(Nc()){if(Qs==="default"){const t=jt(e);zb=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Qs="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Lf.set(e,e.style.userSelect),e.style.userSelect="none")}function ql(e){if(Nc()){if(Qs!=="disabled")return;Qs="restoring",setTimeout(()=>{$T(()=>{if(Qs==="restoring"){const t=jt(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=zb||""),zb="",Qs="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Lf.has(e)){let t=Lf.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Lf.delete(e)}}const _1=x.createContext({register:()=>{}});_1.displayName="PressResponderContext";function QU(e,t){return t.get?t.get.call(e):t.value}function ET(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function ez(e,t){var n=ET(e,t,"get");return QU(e,n)}function tz(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Kc(e,t,n){tz(e,t),t.set(e,n)}function nz(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function kw(e,t,n){var r=ET(e,t,"set");return nz(e,r,n),n}function rz(e){let t=x.useContext(_1);if(t){let{register:n,...r}=t;e=xt(r,e),n()}return xT(t,e.ref),e}var ff=new WeakMap;class hf{continuePropagation(){kw(this,ff,!1)}get shouldStopPropagation(){return ez(this,ff)}constructor(t,n,r,i){Kc(this,ff,{writable:!0,value:void 0}),kw(this,ff,!0);var a;let o=(a=i==null?void 0:i.target)!==null&&a!==void 0?a:r.currentTarget;const u=o==null?void 0:o.getBoundingClientRect();let l,d=0,f,h=null;r.clientX!=null&&r.clientY!=null&&(f=r.clientX,h=r.clientY),u&&(f!=null&&h!=null?(l=f-u.left,d=h-u.top):(l=u.width/2,d=u.height/2)),this.type=t,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=l,this.y=d}}const Iw=Symbol("linkClicked");function Uc(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:a,isDisabled:o,isPressed:u,preventFocusOnPress:l,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:h,...p}=rz(e),[g,y]=x.useState(!1),$=x.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:C,removeAllGlobalListeners:b}=zu(),v=fn((S,U)=>{let j=$.current;if(o||j.didFirePressStart)return!1;let M=!0;if(j.isTriggeringEvent=!0,r){let X=new hf("pressstart",U,S);r(X),M=X.shouldStopPropagation}return n&&n(!0),j.isTriggeringEvent=!1,j.didFirePressStart=!0,y(!0),M}),D=fn((S,U,j=!0)=>{let M=$.current;if(!M.didFirePressStart)return!1;M.ignoreClickAfterPress=!0,M.didFirePressStart=!1,M.isTriggeringEvent=!0;let X=!0;if(i){let O=new hf("pressend",U,S);i(O),X=O.shouldStopPropagation}if(n&&n(!1),y(!1),t&&j&&!o){let O=new hf("press",U,S);t(O),X&&(X=O.shouldStopPropagation)}return M.isTriggeringEvent=!1,X}),A=fn((S,U)=>{let j=$.current;if(o)return!1;if(a){j.isTriggeringEvent=!0;let M=new hf("pressup",U,S);return a(M),j.isTriggeringEvent=!1,M.shouldStopPropagation}return!0}),E=fn(S=>{let U=$.current;U.isPressed&&U.target&&(U.isOverTarget&&U.pointerType!=null&&D(pa(U.target,S),U.pointerType,!1),U.isPressed=!1,U.isOverTarget=!1,U.activePointerId=null,U.pointerType=null,b(),f||ql(U.target))}),T=fn(S=>{d&&E(S)}),R=x.useMemo(()=>{let S=$.current,U={onKeyDown(M){if(dg(M.nativeEvent,M.currentTarget)&&M.currentTarget.contains(M.target)){var X;Lw(M.target,M.key)&&M.preventDefault();let O=!0;if(!S.isPressed&&!M.repeat){S.target=M.currentTarget,S.isPressed=!0,O=v(M,"keyboard");let B=M.currentTarget,q=k=>{dg(k,B)&&!k.repeat&&B.contains(k.target)&&S.target&&A(pa(S.target,k),"keyboard")};C(jt(M.currentTarget),"keyup",us(q,j),!0)}O&&M.stopPropagation(),M.metaKey&&Sa()&&((X=S.metaKeyEvents)===null||X===void 0||X.set(M.key,M.nativeEvent))}else M.key==="Meta"&&(S.metaKeyEvents=new Map)},onClick(M){if(!(M&&!M.currentTarget.contains(M.target))&&M&&M.button===0&&!S.isTriggeringEvent&&!ls.isOpening){let X=!0;if(o&&M.preventDefault(),!S.ignoreClickAfterPress&&!S.ignoreEmulatedMouseEvents&&!S.isPressed&&(S.pointerType==="virtual"||Ub(M.nativeEvent))){!o&&!l&&vi(M.currentTarget);let O=v(M,"virtual"),B=A(M,"virtual"),q=D(M,"virtual");X=O&&B&&q}S.ignoreEmulatedMouseEvents=!1,S.ignoreClickAfterPress=!1,X&&M.stopPropagation()}}},j=M=>{var X;if(S.isPressed&&S.target&&dg(M,S.target)){var O;Lw(M.target,M.key)&&M.preventDefault();let q=M.target;D(pa(S.target,M),"keyboard",S.target.contains(q)),b(),M.key!=="Enter"&&R1(S.target)&&S.target.contains(q)&&!M[Iw]&&(M[Iw]=!0,ls(S.target,M,!1)),S.isPressed=!1,(O=S.metaKeyEvents)===null||O===void 0||O.delete(M.key)}else if(M.key==="Meta"&&(!((X=S.metaKeyEvents)===null||X===void 0)&&X.size)){var B;let q=S.metaKeyEvents;S.metaKeyEvents=void 0;for(let k of q.values())(B=S.target)===null||B===void 0||B.dispatchEvent(new KeyboardEvent("keyup",k))}};if(typeof PointerEvent<"u"){U.onPointerDown=B=>{if(B.button!==0||!B.currentTarget.contains(B.target))return;if(ZU(B.nativeEvent)){S.pointerType="virtual";return}hg(B.currentTarget)&&B.preventDefault(),S.pointerType=B.pointerType;let q=!0;if(!S.isPressed){S.isPressed=!0,S.isOverTarget=!0,S.activePointerId=B.pointerId,S.target=B.currentTarget,!o&&!l&&vi(B.currentTarget),f||qb(S.target),q=v(B,S.pointerType);let k=B.target;"releasePointerCapture"in k&&k.releasePointerCapture(B.pointerId),C(jt(B.currentTarget),"pointerup",M,!1),C(jt(B.currentTarget),"pointercancel",O,!1)}q&&B.stopPropagation()},U.onMouseDown=B=>{B.currentTarget.contains(B.target)&&B.button===0&&(hg(B.currentTarget)&&B.preventDefault(),B.stopPropagation())},U.onPointerUp=B=>{!B.currentTarget.contains(B.target)||S.pointerType==="virtual"||B.button===0&&A(B,S.pointerType||B.pointerType)},U.onPointerEnter=B=>{B.pointerId===S.activePointerId&&S.target&&!S.isOverTarget&&S.pointerType!=null&&(S.isOverTarget=!0,v(pa(S.target,B),S.pointerType))},U.onPointerLeave=B=>{B.pointerId===S.activePointerId&&S.target&&S.isOverTarget&&S.pointerType!=null&&(S.isOverTarget=!1,D(pa(S.target,B),S.pointerType,!1),T(B))};let M=B=>{B.pointerId===S.activePointerId&&S.isPressed&&B.button===0&&S.target&&(S.target.contains(B.target)&&S.pointerType!=null?D(pa(S.target,B),S.pointerType):S.isOverTarget&&S.pointerType!=null&&D(pa(S.target,B),S.pointerType,!1),S.isPressed=!1,S.isOverTarget=!1,S.activePointerId=null,S.pointerType=null,b(),f||ql(S.target),"ontouchend"in S.target&&B.pointerType!=="mouse"&&C(S.target,"touchend",X,{once:!0}))},X=B=>{ST(B.currentTarget)&&B.preventDefault()},O=B=>{E(B)};U.onDragStart=B=>{B.currentTarget.contains(B.target)&&E(B)}}else{U.onMouseDown=O=>{if(O.button!==0||!O.currentTarget.contains(O.target))return;if(hg(O.currentTarget)&&O.preventDefault(),S.ignoreEmulatedMouseEvents){O.stopPropagation();return}S.isPressed=!0,S.isOverTarget=!0,S.target=O.currentTarget,S.pointerType=Ub(O.nativeEvent)?"virtual":"mouse",!o&&!l&&vi(O.currentTarget),v(O,S.pointerType)&&O.stopPropagation(),C(jt(O.currentTarget),"mouseup",M,!1)},U.onMouseEnter=O=>{if(!O.currentTarget.contains(O.target))return;let B=!0;S.isPressed&&!S.ignoreEmulatedMouseEvents&&S.pointerType!=null&&(S.isOverTarget=!0,B=v(O,S.pointerType)),B&&O.stopPropagation()},U.onMouseLeave=O=>{if(!O.currentTarget.contains(O.target))return;let B=!0;S.isPressed&&!S.ignoreEmulatedMouseEvents&&S.pointerType!=null&&(S.isOverTarget=!1,B=D(O,S.pointerType,!1),T(O)),B&&O.stopPropagation()},U.onMouseUp=O=>{O.currentTarget.contains(O.target)&&!S.ignoreEmulatedMouseEvents&&O.button===0&&A(O,S.pointerType||"mouse")};let M=O=>{if(O.button===0){if(S.isPressed=!1,b(),S.ignoreEmulatedMouseEvents){S.ignoreEmulatedMouseEvents=!1;return}S.target&&fg(O,S.target)&&S.pointerType!=null?D(pa(S.target,O),S.pointerType):S.target&&S.isOverTarget&&S.pointerType!=null&&D(pa(S.target,O),S.pointerType,!1),S.isOverTarget=!1}};U.onTouchStart=O=>{if(!O.currentTarget.contains(O.target))return;let B=iz(O.nativeEvent);if(!B)return;S.activePointerId=B.identifier,S.ignoreEmulatedMouseEvents=!0,S.isOverTarget=!0,S.isPressed=!0,S.target=O.currentTarget,S.pointerType="touch",!o&&!l&&vi(O.currentTarget),f||qb(S.target),v(Ya(S.target,O),S.pointerType)&&O.stopPropagation(),C(po(O.currentTarget),"scroll",X,!0)},U.onTouchMove=O=>{if(!O.currentTarget.contains(O.target))return;if(!S.isPressed){O.stopPropagation();return}let B=Bw(O.nativeEvent,S.activePointerId),q=!0;B&&fg(B,O.currentTarget)?!S.isOverTarget&&S.pointerType!=null&&(S.isOverTarget=!0,q=v(Ya(S.target,O),S.pointerType)):S.isOverTarget&&S.pointerType!=null&&(S.isOverTarget=!1,q=D(Ya(S.target,O),S.pointerType,!1),T(Ya(S.target,O))),q&&O.stopPropagation()},U.onTouchEnd=O=>{if(!O.currentTarget.contains(O.target))return;if(!S.isPressed){O.stopPropagation();return}let B=Bw(O.nativeEvent,S.activePointerId),q=!0;B&&fg(B,O.currentTarget)&&S.pointerType!=null?(A(Ya(S.target,O),S.pointerType),q=D(Ya(S.target,O),S.pointerType)):S.isOverTarget&&S.pointerType!=null&&(q=D(Ya(S.target,O),S.pointerType,!1)),q&&O.stopPropagation(),S.isPressed=!1,S.activePointerId=null,S.isOverTarget=!1,S.ignoreEmulatedMouseEvents=!0,S.target&&!f&&ql(S.target),b()},U.onTouchCancel=O=>{O.currentTarget.contains(O.target)&&(O.stopPropagation(),S.isPressed&&E(Ya(S.target,O)))};let X=O=>{S.isPressed&&O.target.contains(S.target)&&E({currentTarget:S.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};U.onDragStart=O=>{O.currentTarget.contains(O.target)&&E(O)}}return U},[C,o,l,b,f,E,T,D,v,A]);return x.useEffect(()=>()=>{var S;f||ql((S=$.current.target)!==null&&S!==void 0?S:void 0)},[f]),{isPressed:u||g,pressProps:xt(p,R)}}function R1(e){return e.tagName==="A"&&e.hasAttribute("href")}function dg(e,t){const{key:n,code:r}=e,i=t,a=i.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(i instanceof po(i).HTMLInputElement&&!AT(i,n)||i instanceof po(i).HTMLTextAreaElement||i.isContentEditable)&&!((a==="link"||!a&&R1(i))&&n!=="Enter")}function iz(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Bw(e,t){const n=e.changedTouches;for(let r=0;r<n.length;r++){const i=n[r];if(i.identifier===t)return i}return null}function Ya(e,t){let n=0,r=0;return t.targetTouches&&t.targetTouches.length===1&&(n=t.targetTouches[0].clientX,r=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function pa(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function az(e){let t=0,n=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?n=e.height/2:e.radiusY!==void 0&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function oz(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function fg(e,t){let n=t.getBoundingClientRect(),r=az(e);return oz(n,r)}function hg(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function ST(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!R1(e)}function Lw(e,t){return e instanceof HTMLInputElement?!AT(e,t):ST(e)}const sz=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function AT(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":sz.has(e.type)}function uz({children:e}){let t=x.useMemo(()=>({register:()=>{}}),[]);return x.createElement(_1.Provider,{value:t},e)}class lz{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=t}}function TT(e){let t=x.useRef({isFocused:!1,observer:null});Lt(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=fn(r=>{e==null||e(r)});return x.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=r.target,a=o=>{t.current.isFocused=!1,i.disabled&&n(new lz("blur",o)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var o;(o=t.current.observer)===null||o===void 0||o.disconnect();let u=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:u})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:u}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function cz(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e;const a=x.useCallback(l=>{if(l.target===l.currentTarget)return r&&r(l),i&&i(!1),!0},[r,i]),o=TT(a),u=x.useCallback(l=>{const d=jt(l.target);l.target===l.currentTarget&&d.activeElement===l.target&&(n&&n(l),i&&i(!0),o(l))},[i,n,o]);return{focusProps:{onFocus:!t&&(n||i||r)?u:void 0,onBlur:!t&&(r||i)?a:void 0}}}let ps=null,dz=new Set,ac=new Map,cs=!1,Wb=!1;function rp(e,t){for(let n of dz)n(e,t)}function fz(e){return!(e.metaKey||!Sa()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function lh(e){cs=!0,fz(e)&&(ps="keyboard",rp("keyboard",e))}function ni(e){ps="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(cs=!0,rp("pointer",e))}function PT(e){Ub(e)&&(cs=!0,ps="virtual")}function _T(e){e.target===window||e.target===document||(!cs&&!Wb&&(ps="virtual",rp("virtual",e)),cs=!1,Wb=!1)}function RT(){cs=!1,Wb=!0}function Vw(e){if(typeof window>"u"||ac.get(po(e)))return;const t=po(e),n=jt(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){cs=!0,r.apply(this,arguments)},n.addEventListener("keydown",lh,!0),n.addEventListener("keyup",lh,!0),n.addEventListener("click",PT,!0),t.addEventListener("focus",_T,!0),t.addEventListener("blur",RT,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",ni,!0),n.addEventListener("pointermove",ni,!0),n.addEventListener("pointerup",ni,!0)):(n.addEventListener("mousedown",ni,!0),n.addEventListener("mousemove",ni,!0),n.addEventListener("mouseup",ni,!0)),t.addEventListener("beforeunload",()=>{OT(e)},{once:!0}),ac.set(t,{focus:r})}const OT=(e,t)=>{const n=po(e),r=jt(e);t&&r.removeEventListener("DOMContentLoaded",t),ac.has(n)&&(n.HTMLElement.prototype.focus=ac.get(n).focus,r.removeEventListener("keydown",lh,!0),r.removeEventListener("keyup",lh,!0),r.removeEventListener("click",PT,!0),n.removeEventListener("focus",_T,!0),n.removeEventListener("blur",RT,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",ni,!0),r.removeEventListener("pointermove",ni,!0),r.removeEventListener("pointerup",ni,!0)):(r.removeEventListener("mousedown",ni,!0),r.removeEventListener("mousemove",ni,!0),r.removeEventListener("mouseup",ni,!0)),ac.delete(n))};function hz(e){const t=jt(e);let n;return t.readyState!=="loading"?Vw(e):(n=()=>{Vw(e)},t.addEventListener("DOMContentLoaded",n)),()=>OT(e,n)}typeof document<"u"&&hz();function Nw(){return ps!=="pointer"}function yc(){return ps}function MT(e){ps=e,rp(e,null)}function qu(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,a=x.useRef({isFocusWithin:!1}),o=x.useCallback(d=>{a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,n&&n(d),i&&i(!1))},[n,i,a]),u=TT(o),l=x.useCallback(d=>{!a.current.isFocusWithin&&document.activeElement===d.target&&(r&&r(d),i&&i(!0),a.current.isFocusWithin=!0,u(d))},[r,i,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:o}}}let ch=!1,pg=0;function Hb(){ch=!0,setTimeout(()=>{ch=!1},50)}function jw(e){e.pointerType==="touch"&&Hb()}function pz(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",jw):document.addEventListener("touchend",Hb),pg++,()=>{pg--,!(pg>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",jw):document.removeEventListener("touchend",Hb))}}function mz(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[a,o]=x.useState(!1),u=x.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;x.useEffect(pz,[]);let{hoverProps:l,triggerHoverEnd:d}=x.useMemo(()=>{let f=(g,y)=>{if(u.pointerType=y,i||y==="touch"||u.isHovered||!g.currentTarget.contains(g.target))return;u.isHovered=!0;let $=g.currentTarget;u.target=$,t&&t({type:"hoverstart",target:$,pointerType:y}),n&&n(!0),o(!0)},h=(g,y)=>{if(u.pointerType="",u.target=null,y==="touch"||!u.isHovered)return;u.isHovered=!1;let $=g.currentTarget;r&&r({type:"hoverend",target:$,pointerType:y}),n&&n(!1),o(!1)},p={};return typeof PointerEvent<"u"?(p.onPointerEnter=g=>{ch&&g.pointerType==="mouse"||f(g,g.pointerType)},p.onPointerLeave=g=>{!i&&g.currentTarget.contains(g.target)&&h(g,g.pointerType)}):(p.onTouchStart=()=>{u.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=g=>{!u.ignoreEmulatedMouseEvents&&!ch&&f(g,"mouse"),u.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=g=>{!i&&g.currentTarget.contains(g.target)&&h(g,"mouse")}),{hoverProps:p,triggerHoverEnd:h}},[t,n,r,i,u]);return x.useEffect(()=>{i&&d({currentTarget:u.target},u.pointerType)},[i]),{hoverProps:l,isHovered:a}}function gz(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:i}=e,a=x.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),o=fn(l=>{n&&pf(l,t)&&(i&&i(l),a.current.isPointerDown=!0)}),u=fn(l=>{n&&n(l)});x.useEffect(()=>{let l=a.current;if(r)return;const d=t.current,f=jt(d);if(typeof PointerEvent<"u"){let h=p=>{l.isPointerDown&&pf(p,t)&&u(p),l.isPointerDown=!1};return f.addEventListener("pointerdown",o,!0),f.addEventListener("pointerup",h,!0),()=>{f.removeEventListener("pointerdown",o,!0),f.removeEventListener("pointerup",h,!0)}}else{let h=g=>{l.ignoreEmulatedMouseEvents?l.ignoreEmulatedMouseEvents=!1:l.isPointerDown&&pf(g,t)&&u(g),l.isPointerDown=!1},p=g=>{l.ignoreEmulatedMouseEvents=!0,l.isPointerDown&&pf(g,t)&&u(g),l.isPointerDown=!1};return f.addEventListener("mousedown",o,!0),f.addEventListener("mouseup",h,!0),f.addEventListener("touchstart",o,!0),f.addEventListener("touchend",p,!0),()=>{f.removeEventListener("mousedown",o,!0),f.removeEventListener("mouseup",h,!0),f.removeEventListener("touchstart",o,!0),f.removeEventListener("touchend",p,!0)}}},[t,r,o,u])}function pf(e,t){if(e.button>0)return!1;if(e.target){const n=e.target.ownerDocument;if(!n||!n.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function Kw(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.isDefaultPrevented()},stopPropagation(){t?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(r),t&&n.stopPropagation()}}function FT(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Kw(e.onKeyDown),onKeyUp:Kw(e.onKeyUp)}}}function kT(e){let{onMoveStart:t,onMove:n,onMoveEnd:r}=e,i=x.useRef({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:a,removeGlobalListener:o}=zu(),u=fn((f,h,p,g)=>{p===0&&g===0||(i.current.didMove||(i.current.didMove=!0,t==null||t({type:"movestart",pointerType:h,shiftKey:f.shiftKey,metaKey:f.metaKey,ctrlKey:f.ctrlKey,altKey:f.altKey})),n==null||n({type:"move",pointerType:h,deltaX:p,deltaY:g,shiftKey:f.shiftKey,metaKey:f.metaKey,ctrlKey:f.ctrlKey,altKey:f.altKey}))}),l=fn((f,h)=>{ql(),i.current.didMove&&(r==null||r({type:"moveend",pointerType:h,shiftKey:f.shiftKey,metaKey:f.metaKey,ctrlKey:f.ctrlKey,altKey:f.altKey}))});return{moveProps:x.useMemo(()=>{let f={},h=()=>{qb(),i.current.didMove=!1};if(typeof PointerEvent>"u"){let g=b=>{if(b.button===0){var v,D,A,E;u(b,"mouse",b.pageX-((A=(v=i.current.lastPosition)===null||v===void 0?void 0:v.pageX)!==null&&A!==void 0?A:0),b.pageY-((E=(D=i.current.lastPosition)===null||D===void 0?void 0:D.pageY)!==null&&E!==void 0?E:0)),i.current.lastPosition={pageX:b.pageX,pageY:b.pageY}}},y=b=>{b.button===0&&(l(b,"mouse"),o(window,"mousemove",g,!1),o(window,"mouseup",y,!1))};f.onMouseDown=b=>{b.button===0&&(h(),b.stopPropagation(),b.preventDefault(),i.current.lastPosition={pageX:b.pageX,pageY:b.pageY},a(window,"mousemove",g,!1),a(window,"mouseup",y,!1))};let $=b=>{let v=[...b.changedTouches].findIndex(({identifier:R})=>R===i.current.id);if(v>=0){var D,A;let{pageX:R,pageY:S}=b.changedTouches[v];var E,T;u(b,"touch",R-((E=(D=i.current.lastPosition)===null||D===void 0?void 0:D.pageX)!==null&&E!==void 0?E:0),S-((T=(A=i.current.lastPosition)===null||A===void 0?void 0:A.pageY)!==null&&T!==void 0?T:0)),i.current.lastPosition={pageX:R,pageY:S}}},C=b=>{[...b.changedTouches].findIndex(({identifier:D})=>D===i.current.id)>=0&&(l(b,"touch"),i.current.id=null,o(window,"touchmove",$),o(window,"touchend",C),o(window,"touchcancel",C))};f.onTouchStart=b=>{if(b.changedTouches.length===0||i.current.id!=null)return;let{pageX:v,pageY:D,identifier:A}=b.changedTouches[0];h(),b.stopPropagation(),b.preventDefault(),i.current.lastPosition={pageX:v,pageY:D},i.current.id=A,a(window,"touchmove",$,!1),a(window,"touchend",C,!1),a(window,"touchcancel",C,!1)}}else{let g=$=>{if($.pointerId===i.current.id){var C,b;let A=$.pointerType||"mouse";var v,D;u($,A,$.pageX-((v=(C=i.current.lastPosition)===null||C===void 0?void 0:C.pageX)!==null&&v!==void 0?v:0),$.pageY-((D=(b=i.current.lastPosition)===null||b===void 0?void 0:b.pageY)!==null&&D!==void 0?D:0)),i.current.lastPosition={pageX:$.pageX,pageY:$.pageY}}},y=$=>{if($.pointerId===i.current.id){let C=$.pointerType||"mouse";l($,C),i.current.id=null,o(window,"pointermove",g,!1),o(window,"pointerup",y,!1),o(window,"pointercancel",y,!1)}};f.onPointerDown=$=>{$.button===0&&i.current.id==null&&(h(),$.stopPropagation(),$.preventDefault(),i.current.lastPosition={pageX:$.pageX,pageY:$.pageY},i.current.id=$.pointerId,a(window,"pointermove",g,!1),a(window,"pointerup",y,!1),a(window,"pointercancel",y,!1))}}let p=(g,y,$)=>{h(),u(g,"keyboard",y,$),l(g,"keyboard")};return f.onKeyDown=g=>{switch(g.key){case"Left":case"ArrowLeft":g.preventDefault(),g.stopPropagation(),p(g,-1,0);break;case"Right":case"ArrowRight":g.preventDefault(),g.stopPropagation(),p(g,1,0);break;case"Up":case"ArrowUp":g.preventDefault(),g.stopPropagation(),p(g,0,-1);break;case"Down":case"ArrowDown":g.preventDefault(),g.stopPropagation(),p(g,0,1);break}},f},[i,a,o,u,l])}}const yz=500;function IT(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:i,threshold:a=yz,accessibilityDescription:o}=e;const u=x.useRef(void 0);let{addGlobalListener:l,removeGlobalListener:d}=zu(),{pressProps:f}=Uc({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(n&&n({...p,type:"longpressstart"}),u.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),i&&i({...p,type:"longpress"}),u.current=void 0},a),p.pointerType==="touch")){let g=y=>{y.preventDefault()};l(p.target,"contextmenu",g,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",g)},30)},{once:!0})}},onPressEnd(p){u.current&&clearTimeout(u.current),r&&(p.pointerType==="mouse"||p.pointerType==="touch")&&r({...p,type:"longpressend"})}}),h=jc(i&&!t?o:void 0);return{longPressProps:xt(f,h)}}function ds(e){const t=jt(e);if(yc()==="virtual"){let n=t.activeElement;$T(()=>{t.activeElement===n&&e.isConnected&&vi(e)})}else vi(e)}function vz(e){const t=po(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,i=n!=="none"&&r!=="hidden"&&r!=="collapse";if(i){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:o,visibility:u}=a(e);i=o!=="none"&&u!=="hidden"&&u!=="collapse"}return i}function bz(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function BT(e,t){return e.nodeName!=="#comment"&&vz(e)&&bz(e,t)&&(!e.parentElement||BT(e.parentElement,e))}const Uw=x.createContext(null),Gb="react-aria-focus-scope-restore";let Nt=null;function $z(e){let{children:t,contain:n,restoreFocus:r,autoFocus:i}=e,a=x.useRef(null),o=x.useRef(null),u=x.useRef([]),{parentNode:l}=x.useContext(Uw)||{},d=x.useMemo(()=>new Zb({scopeRef:u}),[u]);Lt(()=>{let p=l||gn.root;if(gn.getTreeNode(p.scopeRef)&&Nt&&!dh(Nt,p.scopeRef)){let g=gn.getTreeNode(Nt);g&&(p=g)}p.addChild(d),gn.addNode(d)},[d,l]),Lt(()=>{let p=gn.getTreeNode(u);p&&(p.contain=!!n)},[n]),Lt(()=>{var p;let g=(p=a.current)===null||p===void 0?void 0:p.nextSibling,y=[],$=C=>C.stopPropagation();for(;g&&g!==o.current;)y.push(g),g.addEventListener(Gb,$),g=g.nextSibling;return u.current=y,()=>{for(let C of y)C.removeEventListener(Gb,$)}},[t]),Az(u,r,n),Cz(u,n),Tz(u,r,n),Sz(u,i),x.useEffect(()=>{const p=jt(u.current?u.current[0]:void 0).activeElement;let g=null;if(ui(p,u.current)){for(let y of gn.traverse())y.scopeRef&&ui(p,y.scopeRef.current)&&(g=y);g===gn.getTreeNode(u)&&(Nt=g.scopeRef)}},[u]),Lt(()=>()=>{var p,g,y;let $=(y=(g=gn.getTreeNode(u))===null||g===void 0||(p=g.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&y!==void 0?y:null;(u===Nt||dh(u,Nt))&&(!$||gn.getTreeNode($))&&(Nt=$),gn.removeTreeNode(u)},[u]);let f=x.useMemo(()=>xz(u),[]),h=x.useMemo(()=>({focusManager:f,parentNode:d}),[d,f]);return x.createElement(Uw.Provider,{value:h},x.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,x.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:o}))}function xz(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:i,wrap:a,accept:o}=t,u=r||jt(n[0]).activeElement,l=n[0].previousElementSibling,d=Wo(n),f=wr(d,{tabbable:i,accept:o},n);f.currentNode=ui(u,n)?u:l;let h=f.nextNode();return!h&&a&&(f.currentNode=l,h=f.nextNode()),h&&xr(h,!0),h},focusPrevious(t={}){let n=e.current,{from:r,tabbable:i,wrap:a,accept:o}=t,u=r||jt(n[0]).activeElement,l=n[n.length-1].nextElementSibling,d=Wo(n),f=wr(d,{tabbable:i,accept:o},n);f.currentNode=ui(u,n)?u:l;let h=f.previousNode();return!h&&a&&(f.currentNode=l,h=f.previousNode()),h&&xr(h,!0),h},focusFirst(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=Wo(n),o=wr(a,{tabbable:r,accept:i},n);o.currentNode=n[0].previousElementSibling;let u=o.nextNode();return u&&xr(u,!0),u},focusLast(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=Wo(n),o=wr(a,{tabbable:r,accept:i},n);o.currentNode=n[n.length-1].nextElementSibling;let u=o.previousNode();return u&&xr(u,!0),u}}}const O1=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])'],wz=O1.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";O1.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const Dz=O1.join(':not([hidden]):not([tabindex="-1"]),');function Wo(e){return e[0].parentElement}function Wl(e){let t=gn.getTreeNode(Nt);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Cz(e,t){let n=x.useRef(void 0),r=x.useRef(void 0);Lt(()=>{let i=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const a=jt(i?i[0]:void 0);let o=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!Wl(e)||d.isComposing)return;let f=a.activeElement,h=e.current;if(!h||!ui(f,h))return;let p=Wo(h),g=wr(p,{tabbable:!0},h);if(!f)return;g.currentNode=f;let y=d.shiftKey?g.previousNode():g.nextNode();y||(g.currentNode=d.shiftKey?h[h.length-1].nextElementSibling:h[0].previousElementSibling,y=d.shiftKey?g.previousNode():g.nextNode()),d.preventDefault(),y&&xr(y,!0)},u=d=>{(!Nt||dh(Nt,e))&&ui(d.target,e.current)?(Nt=e,n.current=d.target):Wl(e)&&!io(d.target,e)?n.current?n.current.focus():Nt&&Nt.current&&Yb(Nt.current):Wl(e)&&(n.current=d.target)},l=d=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let f=yc();if(!((f==="virtual"||f===null)&&T1()&&bT())&&a.activeElement&&Wl(e)&&!io(a.activeElement,e))if(Nt=e,a.body.contains(d.target)){var p;n.current=d.target,(p=n.current)===null||p===void 0||p.focus()}else Nt.current&&Yb(Nt.current)})};return a.addEventListener("keydown",o,!1),a.addEventListener("focusin",u,!1),i==null||i.forEach(d=>d.addEventListener("focusin",u,!1)),i==null||i.forEach(d=>d.addEventListener("focusout",l,!1)),()=>{a.removeEventListener("keydown",o,!1),a.removeEventListener("focusin",u,!1),i==null||i.forEach(d=>d.removeEventListener("focusin",u,!1)),i==null||i.forEach(d=>d.removeEventListener("focusout",l,!1))}},[e,t]),Lt(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function LT(e){return io(e)}function ui(e,t){return!e||!t?!1:t.some(n=>n.contains(e))}function io(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of gn.traverse(gn.getTreeNode(t)))if(n&&ui(e,n.current))return!0;return!1}function Ez(e){return io(e,Nt)}function dh(e,t){var n;let r=(n=gn.getTreeNode(t))===null||n===void 0?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function xr(e,t=!1){if(e!=null&&!t)try{ds(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function VT(e,t=!0){let n=e[0].previousElementSibling,r=Wo(e),i=wr(r,{tabbable:t},e);i.currentNode=n;let a=i.nextNode();return t&&!a&&(r=Wo(e),i=wr(r,{tabbable:!1},e),i.currentNode=n,a=i.nextNode()),a}function Yb(e,t=!0){xr(VT(e,t))}function Sz(e,t){const n=x.useRef(t);x.useEffect(()=>{if(n.current){Nt=e;const r=jt(e.current?e.current[0]:void 0);!ui(r.activeElement,Nt.current)&&e.current&&Yb(e.current)}n.current=!1},[e])}function Az(e,t,n){Lt(()=>{if(t||n)return;let r=e.current;const i=jt(r?r[0]:void 0);let a=o=>{let u=o.target;ui(u,e.current)?Nt=e:LT(u)||(Nt=null)};return i.addEventListener("focusin",a,!1),r==null||r.forEach(o=>o.addEventListener("focusin",a,!1)),()=>{i.removeEventListener("focusin",a,!1),r==null||r.forEach(o=>o.removeEventListener("focusin",a,!1))}},[e,t,n])}function zw(e){let t=gn.getTreeNode(Nt);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Tz(e,t,n){const r=x.useRef(typeof document<"u"?jt(e.current?e.current[0]:void 0).activeElement:null);Lt(()=>{let i=e.current;const a=jt(i?i[0]:void 0);if(!t||n)return;let o=()=>{(!Nt||dh(Nt,e))&&ui(a.activeElement,e.current)&&(Nt=e)};return a.addEventListener("focusin",o,!1),i==null||i.forEach(u=>u.addEventListener("focusin",o,!1)),()=>{a.removeEventListener("focusin",o,!1),i==null||i.forEach(u=>u.removeEventListener("focusin",o,!1))}},[e,n]),Lt(()=>{const i=jt(e.current?e.current[0]:void 0);if(!t)return;let a=o=>{if(o.key!=="Tab"||o.altKey||o.ctrlKey||o.metaKey||!Wl(e)||o.isComposing)return;let u=i.activeElement;if(!io(u,e)||!zw(e))return;let l=gn.getTreeNode(e);if(!l)return;let d=l.nodeToRestore,f=wr(i.body,{tabbable:!0});f.currentNode=u;let h=o.shiftKey?f.previousNode():f.nextNode();if((!d||!i.body.contains(d)||d===i.body)&&(d=void 0,l.nodeToRestore=void 0),(!h||!io(h,e))&&d){f.currentNode=d;do h=o.shiftKey?f.previousNode():f.nextNode();while(io(h,e));o.preventDefault(),o.stopPropagation(),h?xr(h,!0):LT(d)?xr(d,!0):u.blur()}};return n||i.addEventListener("keydown",a,!0),()=>{n||i.removeEventListener("keydown",a,!0)}},[e,t,n]),Lt(()=>{const i=jt(e.current?e.current[0]:void 0);if(!t)return;let a=gn.getTreeNode(e);if(a){var o;return a.nodeToRestore=(o=r.current)!==null&&o!==void 0?o:void 0,()=>{let u=gn.getTreeNode(e);if(!u)return;let l=u.nodeToRestore;if(t&&l&&(i.activeElement&&io(i.activeElement,e)||i.activeElement===i.body&&zw(e))){let d=gn.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let f=d.getTreeNode(e);for(;f;){if(f.nodeToRestore&&f.nodeToRestore.isConnected){qw(f.nodeToRestore);return}f=f.parent}for(f=d.getTreeNode(e);f;){if(f.scopeRef&&f.scopeRef.current&&gn.getTreeNode(f.scopeRef)){let h=VT(f.scopeRef.current,!0);qw(h);return}f=f.parent}}})}}}},[e,t])}function qw(e){e.dispatchEvent(new CustomEvent(Gb,{bubbles:!0,cancelable:!0}))&&xr(e)}function wr(e,t,n){let r=t!=null&&t.tabbable?Dz:wz,i=jt(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var o;return!(t==null||(o=t.from)===null||o===void 0)&&o.contains(a)?NodeFilter.FILTER_REJECT:a.matches(r)&&BT(a)&&(!n||ui(a,n))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(i.currentNode=t.from),i}function ip(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:i,tabbable:a=t.tabbable,wrap:o=t.wrap,accept:u=t.accept}=n,l=i||jt(r).activeElement,d=wr(r,{tabbable:a,accept:u});r.contains(l)&&(d.currentNode=l);let f=d.nextNode();return!f&&o&&(d.currentNode=r,f=d.nextNode()),f&&xr(f,!0),f},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:i,tabbable:a=t.tabbable,wrap:o=t.wrap,accept:u=t.accept}=n,l=i||jt(r).activeElement,d=wr(r,{tabbable:a,accept:u});if(r.contains(l))d.currentNode=l;else{let h=mg(d);return h&&xr(h,!0),h??null}let f=d.previousNode();if(!f&&o){d.currentNode=r;let h=mg(d);if(!h)return null;f=h}return f&&xr(f,!0),f??null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,u=wr(r,{tabbable:i,accept:a}).nextNode();return u&&xr(u,!0),u},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,o=wr(r,{tabbable:i,accept:a}),u=mg(o);return u&&xr(u,!0),u??null}}}function mg(e){let t,n;do n=e.lastChild(),n&&(t=n);while(n);return t}class M1{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,n,r){let i=this.fastMap.get(n??null);if(!i)return;let a=new Zb({scopeRef:t});i.addChild(a),a.parent=i,this.fastMap.set(t,a),r&&(a.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let n=this.fastMap.get(t);if(!n)return;let r=n.parent;for(let a of this.traverse())a!==n&&n.nodeToRestore&&a.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&ui(a.nodeToRestore,n.scopeRef.current)&&(a.nodeToRestore=n.nodeToRestore);let i=n.children;r&&(r.removeChild(n),i.size>0&&i.forEach(a=>r&&r.addChild(a))),this.fastMap.delete(n.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let n of t.children)yield*this.traverse(n)}clone(){var t;let n=new M1;var r;for(let i of this.traverse())n.addTreeNode(i.scopeRef,(r=(t=i.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&r!==void 0?r:null,i.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new Zb({scopeRef:null}),this.fastMap.set(null,this.root)}}class Zb{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let gn=new M1,Pz=x.createContext(null);function _z(e){let t=x.useContext(Pz)||{};xT(t,e);let{ref:n,...r}=t;return r}function F1(e,t){let{focusProps:n}=cz(e),{keyboardProps:r}=FT(e),i=xt(n,r),a=_z(t),o=e.isDisabled?{}:a,u=x.useRef(e.autoFocus);return x.useEffect(()=>{u.current&&t.current&&ds(t.current),u.current=!1},[t]),{focusableProps:xt({...i,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},o)}}const Rz=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Oz=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Mz(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return Rz.has(n.script)}let t=e.split("-")[0];return Oz.has(t)}const Fz=Symbol.for("react-aria.i18n.locale");function NT(){let e=typeof window<"u"&&window[Fz]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:Mz(e)?"rtl":"ltr"}}let Jb=NT(),Hl=new Set;function Ww(){Jb=NT();for(let e of Hl)e(Jb)}function kz(){let e=E1(),[t,n]=x.useState(Jb);return x.useEffect(()=>(Hl.size===0&&window.addEventListener("languagechange",Ww),Hl.add(n),()=>{Hl.delete(n),Hl.size===0&&window.removeEventListener("languagechange",Ww)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const Iz=x.createContext(null);function Qn(){let e=kz();return x.useContext(Iz)||e}const Bz=Symbol.for("react-aria.i18n.locale"),Lz=Symbol.for("react-aria.i18n.strings");let Hs;class bo{getStringForLocale(t,n){let i=this.getStringsForLocale(n)[t];if(!i)throw new Error(`Could not find intl message ${t} in ${n} locale`);return i}getStringsForLocale(t){let n=this.strings[t];return n||(n=Vz(t,this.strings,this.defaultLocale),this.strings[t]=n),n}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let n=window[Bz];if(Hs===void 0){let i=window[Lz];if(!i)return null;Hs={};for(let a in i)Hs[a]=new bo({[n]:i[a]},n)}let r=Hs==null?void 0:Hs[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(t,n="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=n}}function Vz(e,t,n="en-US"){if(t[e])return t[e];let r=Nz(e);if(t[r])return t[r];for(let i in t)if(i.startsWith(r+"-"))return t[i];return t[n]}function Nz(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Hw=new Map,Gw=new Map;class jT{format(t,n){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(n,this):r}plural(t,n,r="cardinal"){let i=n["="+t];if(i)return typeof i=="function"?i():i;let a=this.locale+":"+r,o=Hw.get(a);o||(o=new Intl.PluralRules(this.locale,{type:r}),Hw.set(a,o));let u=o.select(t);return i=n[u]||n.other,typeof i=="function"?i():i}number(t){let n=Gw.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),Gw.set(this.locale,n)),n.format(t)}select(t,n){let r=t[n]||t.other;return typeof r=="function"?r():r}constructor(t,n){this.locale=t,this.strings=n}}const Yw=new WeakMap;function jz(e){let t=Yw.get(e);return t||(t=new bo(e),Yw.set(e,t)),t}function KT(e,t){return t&&bo.getGlobalDictionaryForPackage(t)||jz(e)}function ta(e,t){let{locale:n}=Qn(),r=KT(e,t);return x.useMemo(()=>new jT(n,r),[n,r])}function du(e,t){return e-t*Math.floor(e/t)}const UT=1721426;function Ho(e,t,n,r){t=zc(e,t);let i=t-1,a=-2;return n<=2?a=0:ao(t)&&(a=-1),UT-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function ao(e){return e%4===0&&(e%100!==0||e%400===0)}function zc(e,t){return e==="BC"?1-t:t}function ap(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const Kz={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class dr{fromJulianDay(t){let n=t,r=n-UT,i=Math.floor(r/146097),a=du(r,146097),o=Math.floor(a/36524),u=du(a,36524),l=Math.floor(u/1461),d=du(u,1461),f=Math.floor(d/365),h=i*400+o*100+l*4+f+(o!==4&&f!==4?1:0),[p,g]=ap(h),y=n-Ho(p,g,1,1),$=2;n<Ho(p,g,3,1)?$=0:ao(g)&&($=1);let C=Math.floor(((y+$)*12+373)/367),b=n-Ho(p,g,C,1)+1;return new pn(p,g,C,b)}toJulianDay(t){return Ho(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Kz[ao(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return ao(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const Uz={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function wn(e,t){return t=Qt(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function Xb(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function zT(e,t){return wn(e,op(t))}const zz={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function k1(e,t,n){let r=e.calendar.toJulianDay(e),i=n?zz[n]:Zz(t),a=Math.ceil(r+1-i)%7;return a<0&&(a+=7),a}function qT(e){return ba(Date.now(),e)}function op(e){return cr(qT(e))}function WT(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function HT(e,t){return Zw(e)-Zw(t)}function Zw(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let gg=null;function qc(){return gg==null&&(gg=new Intl.DateTimeFormat().resolvedOptions().timeZone),gg}function Wc(e){return e.subtract({days:e.day-1})}function Qb(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function qz(e){return Wc(e.subtract({months:e.month-1}))}function Wz(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function Hz(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function vc(e,t,n){let r=k1(e,t,n);return e.subtract({days:r})}function Gz(e,t,n){return vc(e,t,n).add({days:6})}const Jw=new Map;function Yz(e){if(Intl.Locale){let n=Jw.get(e);return n||(n=new Intl.Locale(e).maximize().region,n&&Jw.set(e,n)),n}let t=e.split("-")[1];return t==="u"?void 0:t}function Zz(e){let t=Yz(e);return t&&Uz[t]||0}function Jz(e,t,n){let r=e.calendar.getDaysInMonth(e);return Math.ceil((k1(Wc(e),t,n)+r)/7)}function I1(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function B1(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function Tu(e){e=Qt(e,new dr);let t=zc(e.era,e.year);return GT(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function GT(e,t,n,r,i,a,o){let u=new Date;return u.setUTCHours(r,i,a,o),u.setUTCFullYear(e,t-1,n),u.getTime()}function e0(e,t){if(t==="UTC")return 0;if(e>0&&t===qc())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:u}=YT(e,t);return GT(n,r,i,a,o,u,0)-Math.floor(e/1e3)*1e3}const Xw=new Map;function YT(e,t){let n=Xw.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Xw.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let a of r)a.type!=="literal"&&(i[a.type]=a.value);return{year:i.era==="BC"||i.era==="B"?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour==="24"?0:+i.hour,minute:+i.minute,second:+i.second}}const Qw=864e5;function Xz(e,t,n,r){return(n===r?[n]:[n,r]).filter(a=>Qz(e,t,a))}function Qz(e,t,n){let r=YT(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function va(e,t,n="compatible"){let r=Di(e);if(t==="UTC")return Tu(r);if(t===qc()&&n==="compatible"){r=Qt(r,new dr);let l=new Date,d=zc(r.era,r.year);return l.setFullYear(d,r.month-1,r.day),l.setHours(r.hour,r.minute,r.second,r.millisecond),l.getTime()}let i=Tu(r),a=e0(i-Qw,t),o=e0(i+Qw,t),u=Xz(r,t,i-a,i-o);if(u.length===1)return u[0];if(u.length>1)switch(n){case"compatible":case"earlier":return u[0];case"later":return u[u.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(i-a,i-o);case"compatible":case"later":return Math.max(i-a,i-o);case"reject":throw new RangeError("No such absolute time found")}}function ZT(e,t,n="compatible"){return new Date(va(e,t,n))}function ba(e,t){let n=e0(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),u=r.getUTCHours(),l=r.getUTCMinutes(),d=r.getUTCSeconds(),f=r.getUTCMilliseconds();return new xc(i<1?"BC":"AD",i<1?-i+1:i,a,o,t,n,u,l,d,f)}function cr(e){return new pn(e.calendar,e.era,e.year,e.month,e.day)}function Di(e,t){let n=0,r=0,i=0,a=0;if("timeZone"in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new $c(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function eD(e){return new Hc(e.hour,e.minute,e.second,e.millisecond)}function Qt(e,t){if(e.calendar.identifier===t.identifier)return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,fs(r),r}function JT(e,t,n){if(e instanceof xc)return e.timeZone===t?e:tq(e,t);let r=va(e,t,n);return ba(r,t)}function eq(e){let t=Tu(e)-e.offset;return new Date(t)}function tq(e,t){let n=Tu(e)-e.offset;return Qt(ba(n,t),e.calendar)}const Ol=36e5;function sp(e,t){let n=e.copy(),r="hour"in n?tP(n,t):0;t0(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,n0(n),XT(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,nq(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var a,o;let l=(a=(o=n.calendar).isInverseEra)===null||a===void 0?void 0:a.call(o,n);n.year=i,n.month=l?1:n.calendar.getMonthsInYear(n),n.day=l?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let u=n.calendar.getMonthsInYear(n);return n.month>u&&(n.month=u,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function t0(e,t){var n,r;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function n0(e){for(;e.month<1;)t0(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,t0(e,1)}function nq(e){for(;e.day<1;)e.month--,n0(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,n0(e)}function XT(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function fs(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),XT(e)}function L1(e){let t={};for(let n in e)typeof e[n]=="number"&&(t[n]=-e[n]);return t}function QT(e,t){return sp(e,L1(t))}function V1(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),fs(n),n}function bc(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),eP(n),n}function rq(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=mf(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=mf(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=mf(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=mf(e.hour,24),t}function eP(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function mf(e,t){let n=e%t;return n<0&&(n+=t),n}function tP(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,rq(e)}function nP(e,t){let n=e.copy();return tP(n,t),n}function iq(e,t){return nP(e,L1(t))}function N1(e,t,n,r){let i=e.copy();switch(t){case"era":{let u=e.calendar.getEras(),l=u.indexOf(e.era);if(l<0)throw new Error("Invalid era: "+e.era);l=$a(l,n,0,u.length-1,r==null?void 0:r.round),i.era=u[l],fs(i);break}case"year":var a,o;!((a=(o=i.calendar).isInverseEra)===null||a===void 0)&&a.call(o,i)&&(n=-n),i.year=$a(e.year,n,-1/0,9999,r==null?void 0:r.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case"month":i.month=$a(e.month,n,1,e.calendar.getMonthsInYear(e),r==null?void 0:r.round);break;case"day":i.day=$a(e.day,n,1,e.calendar.getDaysInMonth(e),r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),fs(i),i}function j1(e,t,n,r){let i=e.copy();switch(t){case"hour":{let a=e.hour,o=0,u=23;if((r==null?void 0:r.hourCycle)===12){let l=a>=12;o=l?12:0,u=l?23:11}i.hour=$a(a,n,o,u,r==null?void 0:r.round);break}case"minute":i.minute=$a(e.minute,n,0,59,r==null?void 0:r.round);break;case"second":i.second=$a(e.second,n,0,59,r==null?void 0:r.round);break;case"millisecond":i.millisecond=$a(e.millisecond,n,0,999,r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return i}function $a(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function rP(e,t){let n;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let i=sp(Di(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=va(i,e.timeZone)}else n=Tu(e)-e.offset;n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5;let r=ba(n,e.timeZone);return Qt(r,e.calendar)}function aq(e,t){return rP(e,L1(t))}function oq(e,t,n,r){switch(t){case"hour":{let i=0,a=23;if((r==null?void 0:r.hourCycle)===12){let y=e.hour>=12;i=y?12:0,a=y?23:11}let o=Di(e),u=Qt(bc(o,{hour:i}),new dr),l=[va(u,e.timeZone,"earlier"),va(u,e.timeZone,"later")].filter(y=>ba(y,e.timeZone).day===u.day)[0],d=Qt(bc(o,{hour:a}),new dr),f=[va(d,e.timeZone,"earlier"),va(d,e.timeZone,"later")].filter(y=>ba(y,e.timeZone).day===d.day).pop(),h=Tu(e)-e.offset,p=Math.floor(h/Ol),g=h%Ol;return h=$a(p,n,Math.floor(l/Ol),Math.floor(f/Ol),r==null?void 0:r.round)*Ol+g,Qt(ba(h,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return j1(e,t,n,r);case"era":case"year":case"month":case"day":{let i=N1(Di(e),t,n,r),a=va(i,e.timeZone);return Qt(ba(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function sq(e,t,n){let r=Di(e),i=bc(V1(r,t),t);if(i.compare(r)===0)return e;let a=va(i,e.timeZone,n);return Qt(ba(a,e.timeZone),e.calendar)}const uq=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/,lq=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/;function cq(e){let t=e.match(uq);if(!t)throw new Error("Invalid ISO 8601 date string: "+e);let n=new pn(Fi(t[1],0,9999),Fi(t[2],1,12),1);return n.day=Fi(t[3],0,n.calendar.getDaysInMonth(n)),n}function dq(e){let t=e.match(lq);if(!t)throw new Error("Invalid ISO 8601 date time string: "+e);let n=Fi(t[1],-9999,9999),r=n<1?"BC":"AD",i=new $c(r,n<1?-n+1:n,Fi(t[2],1,12),1,t[4]?Fi(t[4],0,23):0,t[5]?Fi(t[5],0,59):0,t[6]?Fi(t[6],0,59):0,t[7]?Fi(t[7],0,1/0)*1e3:0);return i.day=Fi(t[3],0,i.calendar.getDaysInMonth(i)),i}function Fi(e,t,n){let r=Number(e);if(r<t||r>n)throw new RangeError(`Value out of range: ${t} <= ${r} <= ${n}`);return r}function iP(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function aP(e){let t=Qt(e,new dr),n;return t.era==="BC"?n=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):n=String(t.year).padStart(4,"0"),`${n}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function oP(e){return`${aP(e)}T${iP(e)}`}function fq(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let n=Math.floor(e/36e5),r=e%36e5/6e4;return`${t}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}function hq(e){return`${oP(e)}${fq(e.offset)}[${e.timeZone}]`}function K1(e){let t=typeof e[0]=="object"?e.shift():new dr,n;if(typeof e[0]=="string")n=e.shift();else{let o=t.getEras();n=o[o.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var pq=new WeakMap;class pn{copy(){return this.era?new pn(this.calendar,this.era,this.year,this.month,this.day):new pn(this.calendar,this.year,this.month,this.day)}add(t){return sp(this,t)}subtract(t){return QT(this,t)}set(t){return V1(this,t)}cycle(t,n,r){return N1(this,t,n,r)}toDate(t){return ZT(this,t)}toString(){return aP(this)}compare(t){return WT(this,t)}constructor(...t){Kc(this,pq,{writable:!0,value:void 0});let[n,r,i,a,o]=K1(t);this.calendar=n,this.era=r,this.year=i,this.month=a,this.day=o,fs(this)}}var mq=new WeakMap;class Hc{copy(){return new Hc(this.hour,this.minute,this.second,this.millisecond)}add(t){return nP(this,t)}subtract(t){return iq(this,t)}set(t){return bc(this,t)}cycle(t,n,r){return j1(this,t,n,r)}toString(){return iP(this)}compare(t){return HT(this,t)}constructor(t=0,n=0,r=0,i=0){Kc(this,mq,{writable:!0,value:void 0}),this.hour=t,this.minute=n,this.second=r,this.millisecond=i,eP(this)}}var gq=new WeakMap;class $c{copy(){return this.era?new $c(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new $c(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return sp(this,t)}subtract(t){return QT(this,t)}set(t){return V1(bc(this,t),t)}cycle(t,n,r){switch(t){case"era":case"year":case"month":case"day":return N1(this,t,n,r);default:return j1(this,t,n,r)}}toDate(t,n){return ZT(this,t,n)}toString(){return oP(this)}compare(t){let n=WT(this,t);return n===0?HT(this,Di(t)):n}constructor(...t){Kc(this,gq,{writable:!0,value:void 0});let[n,r,i,a,o]=K1(t);this.calendar=n,this.era=r,this.year=i,this.month=a,this.day=o,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,fs(this)}}var yq=new WeakMap;class xc{copy(){return this.era?new xc(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new xc(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return rP(this,t)}subtract(t){return aq(this,t)}set(t,n){return sq(this,t,n)}cycle(t,n,r){return oq(this,t,n,r)}toDate(){return eq(this)}toString(){return hq(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-JT(t,this.timeZone).toDate().getTime()}constructor(...t){Kc(this,yq,{writable:!0,value:void 0});let[n,r,i,a,o]=K1(t),u=t.shift(),l=t.shift();this.calendar=n,this.era=r,this.year=i,this.month=a,this.day=o,this.timeZone=u,this.offset=l,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,fs(this)}}const fu=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],vq=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],Vf=[1867,1911,1925,1988,2018],to=["meiji","taisho","showa","heisei","reiwa"];function tD(e){const t=fu.findIndex(([n,r,i])=>e.year<n||e.year===n&&e.month<r||e.year===n&&e.month===r&&e.day<i);return t===-1?fu.length-1:t===0?0:t-1}function yg(e){let t=Vf[to.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new pn(e.year+t,e.month,e.day)}class bq extends dr{fromJulianDay(t){let n=super.fromJulianDay(t),r=tD(n);return new pn(this,to[r],n.year-Vf[r],n.month,n.day)}toJulianDay(t){return super.toJulianDay(yg(t))}balanceDate(t){let n=yg(t),r=tD(n);to[r]!==t.era&&(t.era=to[r],t.year=n.year-Vf[r]),this.constrainDate(t)}constrainDate(t){let n=to.indexOf(t.era),r=vq[n];if(r!=null){let[i,a,o]=r,u=i-Vf[n];t.year=Math.max(1,Math.min(u,t.year)),t.year===u&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(o,t.day)))}if(t.year===1&&n>=0){let[,i,a]=fu[n];t.month=Math.max(i,t.month),t.month===i&&(t.day=Math.max(a,t.day))}}getEras(){return to}getYearsInEra(t){let n=to.indexOf(t.era),r=fu[n],i=fu[n+1];if(i==null)return 9999-r[0]+1;let a=i[0]-r[0];return(t.month<i[1]||t.month===i[1]&&t.day<i[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(yg(t))}getMinimumMonthInYear(t){let n=nD(t);return n?n[1]:1}getMinimumDayInMonth(t){let n=nD(t);return n&&t.month===n[1]?n[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function nD(e){if(e.year===1){let t=to.indexOf(e.era);return fu[t]}}const sP=-543;class $q extends dr{fromJulianDay(t){let n=super.fromJulianDay(t),r=zc(n.era,n.year);return new pn(this,r-sP,n.month,n.day)}toJulianDay(t){return super.toJulianDay(rD(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(rD(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function rD(e){let[t,n]=ap(e.year+sP);return new pn(t,n,e.month,e.day)}const fh=1911;function uP(e){return e.era==="minguo"?e.year+fh:1-e.year+fh}function iD(e){let t=e-fh;return t>0?["minguo",t]:["before_minguo",1-t]}class xq extends dr{fromJulianDay(t){let n=super.fromJulianDay(t),r=zc(n.era,n.year),[i,a]=iD(r);return new pn(this,i,a,n.month,n.day)}toJulianDay(t){return super.toJulianDay(aD(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[n,r]=iD(uP(t));t.era=n,t.year=r}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(aD(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-fh}constructor(...t){super(...t),this.identifier="roc"}}function aD(e){let[t,n]=ap(uP(e));return new pn(t,n,e.month,e.day)}const oD=1948320,sD=[0,31,62,93,124,155,186,216,246,276,306,336];class wq{fromJulianDay(t){let n=t-oD,r=1+Math.floor((33*n+3)/12053),i=365*(r-1)+Math.floor((8*r+21)/33),a=n-i,o=a<216?Math.floor(a/31):Math.floor((a-6)/30),u=a-sD[o]+1;return new pn(this,r,o+1,u)}toJulianDay(t){let n=oD-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return n+=sD[t.month-1],n+=t.day,n}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||du(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const vg=78,uD=80;class Dq extends dr{fromJulianDay(t){let n=super.fromJulianDay(t),r=n.year-vg,i=t-Ho(n.era,n.year,1,1),a;i<uD?(r--,a=ao(n.year-1)?31:30,i+=a+155+90+10):(a=ao(n.year)?31:30,i-=uD);let o,u;if(i<a)o=1,u=i+1;else{let l=i-a;l<155?(o=Math.floor(l/31)+2,u=l%31+1):(l-=155,o=Math.floor(l/30)+7,u=l%30+1)}return new pn(this,r,o,u)}toJulianDay(t){let n=t.year+vg,[r,i]=ap(n),a,o;return ao(i)?(a=31,o=Ho(r,i,3,21)):(a=30,o=Ho(r,i,3,22)),t.month===1?o+t.day-1:(o+=a+Math.min(t.month-2,5)*31,t.month>=8&&(o+=(t.month-7)*30),o+=t.day-1,o)}getDaysInMonth(t){return t.month===1&&ao(t.year+vg)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const hh=1948440,lD=1948439,ei=1300,Gs=1600,Cq=460322;function ph(e,t,n,r){return r+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function lP(e,t,n){let r=Math.floor((30*(n-t)+10646)/10631),i=Math.min(12,Math.ceil((n-(29+ph(t,r,1,1)))/29.5)+1),a=n-ph(t,r,i,1)+1;return new pn(e,r,i,a)}function cD(e){return(14+11*e)%30<11}class U1{fromJulianDay(t){return lP(this,hh,t)}toJulianDay(t){return ph(hh,t.year,t.month,t.day)}getDaysInMonth(t){let n=29+t.month%2;return t.month===12&&cD(t.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(t){return cD(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class Eq extends U1{fromJulianDay(t){return lP(this,lD,t)}toJulianDay(t){return ph(lD,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const Sq="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let r0,hu;function Nf(e){return Cq+hu[e-ei]}function Gl(e,t){let n=e-ei,r=1<<11-(t-1);return r0[n]&r?30:29}function dD(e,t){let n=Nf(e);for(let r=1;r<t;r++)n+=Gl(e,r);return n}function fD(e){return hu[e+1-ei]-hu[e-ei]}class Aq extends U1{fromJulianDay(t){let n=t-hh,r=Nf(ei),i=Nf(Gs);if(n<r||n>i)return super.fromJulianDay(t);{let a=ei-1,o=1,u=1;for(;u>0;){a++,u=n-Nf(a)+1;let l=fD(a);if(u===l){o=12;break}else if(u<l){let d=Gl(a,o);for(o=1;u>d;)u-=d,o++,d=Gl(a,o);break}}return new pn(this,a,o,n-dD(a,o)+1)}}toJulianDay(t){return t.year<ei||t.year>Gs?super.toJulianDay(t):hh+dD(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<ei||t.year>Gs?super.getDaysInMonth(t):Gl(t.year,t.month)}getDaysInYear(t){return t.year<ei||t.year>Gs?super.getDaysInYear(t):fD(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",r0||(r0=new Uint16Array(Uint8Array.from(atob(Sq),t=>t.charCodeAt(0)).buffer)),!hu){hu=new Uint32Array(Gs-ei+1);let t=0;for(let n=ei;n<=Gs;n++){hu[n-ei]=t;for(let r=1;r<=12;r++)t+=Gl(n,r)}}}}const hD=347997,cP=1080,dP=24*cP,Tq=29,Pq=12*cP+793,_q=Tq*dP+Pq;function Ko(e){return du(e*7+1,19)<7}function jf(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return du(3*(r+1),7)<3&&(r+=1),r}function Rq(e){let t=jf(e-1),n=jf(e);return jf(e+1)-n===356?2:n-t===382?1:0}function oc(e){return jf(e)+Rq(e)}function fP(e){return oc(e+1)-oc(e)}function Oq(e){let t=fP(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function gf(e,t){if(t>=6&&!Ko(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let n=Oq(e);return t===2?n===2?30:29:t===3?n===0?29:30:t===6?Ko(e)?30:0:30}class Mq{fromJulianDay(t){let n=t-hD,r=n*dP/_q,i=Math.floor((19*r+234)/235)+1,a=oc(i),o=Math.floor(n-a);for(;o<1;)i--,a=oc(i),o=Math.floor(n-a);let u=1,l=0;for(;l<o;)l+=gf(i,u),u++;u--,l-=gf(i,u);let d=o-l;return new pn(this,i,u,d)}toJulianDay(t){let n=oc(t.year);for(let r=1;r<t.month;r++)n+=gf(t.year,r);return n+t.day+hD}getDaysInMonth(t){return gf(t.year,t.month)}getMonthsInYear(t){return Ko(t.year)?13:12}getDaysInYear(t){return fP(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,n){n.year!==t.year&&(Ko(n.year)&&!Ko(t.year)&&n.month>6?t.month--:!Ko(n.year)&&Ko(t.year)&&n.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const i0=1723856,pD=1824665,a0=5500;function mh(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function z1(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-mh(e,n,1,1))/30),i=t+1-mh(e,n,r,1);return[n,r,i]}function hP(e){return Math.floor(e%4/3)}function pP(e,t){return t%13!==0?30:hP(e)+5}class q1{fromJulianDay(t){let[n,r,i]=z1(i0,t),a="AM";return n<=0&&(a="AA",n+=a0),new pn(this,a,n,r,i)}toJulianDay(t){let n=t.year;return t.era==="AA"&&(n-=a0),mh(i0,n,t.month,t.day)}getDaysInMonth(t){return pP(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+hP(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class Fq extends q1{fromJulianDay(t){let[n,r,i]=z1(i0,t);return n+=a0,new pn(this,"AA",n,r,i)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class kq extends q1{fromJulianDay(t){let[n,r,i]=z1(pD,t),a="CE";return n<=0&&(a="BCE",n=1-n),new pn(this,a,n,r,i)}toJulianDay(t){let n=t.year;return t.era==="BCE"&&(n=1-n),mh(pD,n,t.month,t.day)}getDaysInMonth(t){let n=t.year;return t.era==="BCE"&&(n=1-n),pP(n,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function Iq(e){switch(e){case"buddhist":return new $q;case"ethiopic":return new q1;case"ethioaa":return new Fq;case"coptic":return new kq;case"hebrew":return new Mq;case"indian":return new Dq;case"islamic-civil":return new U1;case"islamic-tbla":return new Eq;case"islamic-umalqura":return new Aq;case"japanese":return new bq;case"persian":return new wq;case"roc":return new xq;case"gregory":default:return new dr}}let bg=new Map;class ii{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,n){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(n)}`}formatRangeToParts(t,n){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.formatter.formatToParts(t),i=this.formatter.formatToParts(n);return[...r.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return Vq()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Nq(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,n={}){this.formatter=mP(t,n),this.options=n}}const Bq={true:{ja:"h11"},false:{}};function mP(e,t={}){if(typeof t.hour12=="boolean"&&Lq()){t={...t};let i=Bq[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=i??a,delete t.hour12}let n=e+(t?Object.entries(t).sort((i,a)=>i[0]<a[0]?-1:1).join():"");if(bg.has(n))return bg.get(n);let r=new Intl.DateTimeFormat(e,t);return bg.set(n,r),r}let $g=null;function Lq(){return $g==null&&($g=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),$g}let xg=null;function Vq(){return xg==null&&(xg=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),xg}function Nq(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let n=mP(e,{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),i=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(r===0&&i===23)return"h23";if(r===24&&i===23)return"h24";if(r===0&&i===11)return"h11";if(r===12&&i===11)return"h12";throw new Error("Unexpected hour cycle result")}function Ki(e){e=DT(e??{},jq);let{locale:t}=Qn();return x.useMemo(()=>new ii(t,e),[t,e])}function jq(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i of n)if(t[i]!==e[i])return!1;return!0}let wg=new Map,o0=!1;try{o0=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let gh=!1;try{gh=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const gP={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class yP{format(t){let n="";if(!o0&&this.options.signDisplay!=null?n=Uq(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!gh){var r;let{unit:i,unitDisplay:a="short",locale:o}=this.resolvedOptions();if(!i)return n;let u=(r=gP[i])===null||r===void 0?void 0:r[a];n+=u[o]||u.default}return n}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(n)}`}formatRangeToParts(t,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),i=this.numberFormatter.formatToParts(n);return[...r.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!o0&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!gh&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,n={}){this.numberFormatter=Kq(t,n),this.options=n}}function Kq(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!gh){var r;let{unit:o,unitDisplay:u="short"}=t;if(!o)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=gP[o])===null||r===void 0)&&r[u]))throw new Error(`Unsupported unit ${o} with unitDisplay = ${u}`);t={...t,style:"decimal"}}let i=e+(t?Object.entries(t).sort((o,u)=>o[0]<u[0]?-1:1).join():"");if(wg.has(i))return wg.get(i);let a=new Intl.NumberFormat(e,t);return wg.set(i,a),a}function Uq(e,t,n){if(t==="auto")return e.format(n);if(t==="never")return e.format(Math.abs(n));{let r=!1;if(t==="always"?r=n>0||Object.is(n,0):t==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let i=e.format(-n),a=e.format(n),o=i.replace(a,"").replace(/\u200e|\u061C/,"");return[...o].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),i.replace(a,"!!!").replace(o,"+").replace("!!!",a)}else return e.format(n)}}const zq=new RegExp("^.*\\(.*\\).*$"),qq=["latn","arab","hanidec","deva","beng"];class vP{parse(t){return Dg(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,r){return Dg(this.locale,this.options,t).isValidPartialNumber(t,n,r)}getNumberingSystem(t){return Dg(this.locale,this.options,t).options.numberingSystem}constructor(t,n={}){this.locale=t,this.options=n}}const mD=new Map;function Dg(e,t,n){let r=gD(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let i of qq)if(i!==r.options.numberingSystem){let a=gD(e+(e.includes("-u-")?"-nu-":"-u-nu-")+i,t);if(a.isValidPartialNumber(n))return a}}return r}function gD(e,t){let n=e+(t?Object.entries(t).sort((i,a)=>i[0]<a[0]?-1:1).join():""),r=mD.get(n);return r||(r=new Wq(e,t),mD.set(n,r)),r}class Wq{parse(t){let n=this.sanitize(t);if(this.symbols.group&&(n=yf(n,this.symbols.group,"")),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,"-")),n=n.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let o=n.indexOf("-");n=n.replace("-","");let u=n.indexOf(".");u===-1&&(u=n.length),n=n.replace(".",""),u-2===0?n=`0.${n}`:u-2===-1?n=`0.0${n}`:u-2===-2?n="0.00":n=`${n.slice(0,u-2)}.${n.slice(u-2)}`,o>-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){var i,a;let o={...this.options,style:"decimal",minimumFractionDigits:Math.min(((i=this.options.minimumFractionDigits)!==null&&i!==void 0?i:0)+2,20),maximumFractionDigits:Math.min(((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)+2,20)};return new vP(this.locale,o).parse(new yP(this.locale,o).format(r))}return this.options.currencySign==="accounting"&&zq.test(t)&&(r=-1*r),r}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=yf(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=yf(t,"."," ")),t}isValidPartialNumber(t,n=-1/0,r=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&n<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=yf(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,n={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,n),this.options=this.formatter.resolvedOptions(),this.symbols=Gq(t,this.formatter,this.options,n);var r,i;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const yD=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),Hq=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Gq(e,t,n,r){var i,a,o,u;let l=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),d=l.formatToParts(-10000.111),f=l.formatToParts(10000.111),h=Hq.map(j=>l.formatToParts(j));var p;let g=(p=(i=d.find(j=>j.type==="minusSign"))===null||i===void 0?void 0:i.value)!==null&&p!==void 0?p:"-",y=(a=f.find(j=>j.type==="plusSign"))===null||a===void 0?void 0:a.value;!y&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(y="+");let C=(o=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(j=>j.type==="decimal"))===null||o===void 0?void 0:o.value,b=(u=d.find(j=>j.type==="group"))===null||u===void 0?void 0:u.value,v=d.filter(j=>!yD.has(j.type)).map(j=>vD(j.value)),D=h.flatMap(j=>j.filter(M=>!yD.has(M.type)).map(M=>vD(M.value))),A=[...new Set([...v,...D])].sort((j,M)=>M.length-j.length),E=A.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${A.join("|")}|[\\p{White_Space}]`,"gu"),T=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),R=new Map(T.map((j,M)=>[j,M])),S=new RegExp(`[${T.join("")}]`,"g");return{minusSign:g,plusSign:y,decimal:C,group:b,literals:E,numeral:S,index:j=>String(R.get(j))}}function yf(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function vD(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Yq(e={}){let{locale:t}=Qn();return x.useMemo(()=>new yP(t,e),[t,e])}let Cg=new Map;function bP(e){let{locale:t}=Qn(),n=t+(e?Object.entries(e).sort((i,a)=>i[0]<a[0]?-1:1).join():"");if(Cg.has(n))return Cg.get(n);let r=new Intl.Collator(t,e);return Cg.set(n,r),r}function $P(e){let t=bP({usage:"search",...e}),n=x.useCallback((a,o)=>o.length===0?!0:(a=a.normalize("NFC"),o=o.normalize("NFC"),t.compare(a.slice(0,o.length),o)===0),[t]),r=x.useCallback((a,o)=>o.length===0?!0:(a=a.normalize("NFC"),o=o.normalize("NFC"),t.compare(a.slice(-o.length),o)===0),[t]),i=x.useCallback((a,o)=>{if(o.length===0)return!0;a=a.normalize("NFC"),o=o.normalize("NFC");let u=0,l=o.length;for(;u+l<=a.length;u++){let d=a.slice(u,u+l);if(t.compare(o,d)===0)return!0}return!1},[t]);return x.useMemo(()=>({startsWith:n,endsWith:r,contains:i}),[n,r,i])}function Zq(e,t){let{elementType:n="button",isDisabled:r,onPress:i,onPressStart:a,onPressEnd:o,onPressUp:u,onPressChange:l,preventFocusOnPress:d,allowFocusWhenDisabled:f,onClick:h,href:p,target:g,rel:y,type:$="button"}=e,C;n==="button"?C={type:$,disabled:r}:C={role:"button",tabIndex:r?void 0:0,href:n==="a"&&!r?p:void 0,target:n==="a"?g:void 0,type:n==="input"?$:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?y:void 0};let{pressProps:b,isPressed:v}=Uc({onPressStart:a,onPressEnd:o,onPressChange:l,onPress:i,onPressUp:u,isDisabled:r,preventFocusOnPress:d,ref:t}),{focusableProps:D}=F1(e,t);f&&(D.tabIndex=r?-1:D.tabIndex);let A=xt(D,b,Pa(e,{labelable:!0}));return{isPressed:v,buttonProps:xt(C,A,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:E=>{h&&(h(E),console.warn("onClick is deprecated, please use onPress"))}})}}var xP={};xP={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var wP={};wP={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var DP={};DP={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var CP={};CP={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var EP={};EP={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var SP={};SP={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var AP={};AP={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var TP={};TP={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var PP={};PP={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var _P={};_P={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var RP={};RP={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var OP={};OP={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var MP={};MP={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var FP={};FP={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var kP={};kP={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var IP={};IP={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var BP={};BP={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var LP={};LP={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var VP={};VP={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var NP={};NP={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var jP={};jP={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var KP={};KP={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var UP={};UP={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var zP={};zP={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var qP={};qP={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var WP={};WP={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var HP={};HP={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var GP={};GP={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var YP={};YP={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var ZP={};ZP={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var JP={};JP={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var XP={};XP={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var QP={};QP={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`};var e6={};e6={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};var Gc={};Gc={"ar-AE":xP,"bg-BG":wP,"cs-CZ":DP,"da-DK":CP,"de-DE":EP,"el-GR":SP,"en-US":AP,"es-ES":TP,"et-EE":PP,"fi-FI":_P,"fr-FR":RP,"he-IL":OP,"hr-HR":MP,"hu-HU":FP,"it-IT":kP,"ja-JP":IP,"ko-KR":BP,"lt-LT":LP,"lv-LV":VP,"nb-NO":NP,"nl-NL":jP,"pl-PL":KP,"pt-BR":UP,"pt-PT":zP,"ro-RO":qP,"ru-RU":WP,"sk-SK":HP,"sl-SI":GP,"sr-SP":YP,"sv-SE":ZP,"tr-TR":JP,"uk-UA":XP,"zh-CN":QP,"zh-TW":e6};function t6(e){return e&&e.__esModule?e.default:e}const W1=new WeakMap;function wc(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function Jq(e){let t=ta(t6(Gc),"@react-aria/calendar"),n,r;var i;"highlightedRange"in e?{start:n,end:r}=e.highlightedRange||{}:n=r=(i=e.value)!==null&&i!==void 0?i:void 0;let a=Ki({weekday:"long",month:"long",year:"numeric",day:"numeric",era:wc(n)||wc(r),timeZone:e.timeZone}),o="anchorDate"in e?e.anchorDate:null;return x.useMemo(()=>{if(!o&&n&&r)if(wn(n,r)){let u=a.format(n.toDate(e.timeZone));return t.format("selectedDateDescription",{date:u})}else{let u=u0(a,t,n,r,e.timeZone);return t.format("selectedRangeDescription",{dateRange:u})}return""},[n,r,o,e.timeZone,t,a])}function s0(e,t,n,r){let i=ta(t6(Gc),"@react-aria/calendar"),a=wc(e)||wc(t),o=Ki({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n}),u=Ki({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n});return x.useMemo(()=>{if(wn(e,Wc(e))){if(wn(t,Qb(e)))return o.format(e.toDate(n));if(wn(t,Qb(t)))return r?u0(o,i,e,t,n):o.formatRange(e.toDate(n),t.toDate(n))}return r?u0(u,i,e,t,n):u.formatRange(e.toDate(n),t.toDate(n))},[e,t,o,u,i,n,r])}function u0(e,t,n,r,i){let a=e.formatRangeToParts(n.toDate(i),r.toDate(i)),o=-1;for(let d=0;d<a.length;d++){let f=a[d];if(f.source==="shared"&&f.type==="literal")o=d;else if(f.source==="endRange")break}let u="",l="";for(let d=0;d<a.length;d++)d<o?u+=a[d].value:d>o&&(l+=a[d].value);return t.format("dateRange",{startDate:u,endDate:l})}const n6=7e3;let Xr=null;function pu(e,t="assertive",n=n6){Xr?Xr.announce(e,t,n):(Xr=new Qq,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Xr.announce(e,t,n):setTimeout(()=>{Xr!=null&&Xr.isAttached()&&(Xr==null||Xr.announce(e,t,n))},100))}function Xq(e){Xr&&Xr.clear(e)}class Qq{isAttached(){var t;return(t=this.node)===null||t===void 0?void 0:t.isConnected}createLog(t){let n=document.createElement("div");return n.setAttribute("role","log"),n.setAttribute("aria-live",t),n.setAttribute("aria-relevant","additions"),n}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,n="assertive",r=n6){var i,a;if(!this.node)return;let o=document.createElement("div");typeof t=="object"?(o.setAttribute("role","img"),o.setAttribute("aria-labelledby",t["aria-labelledby"])):o.textContent=t,n==="assertive"?(i=this.assertiveLog)===null||i===void 0||i.appendChild(o):(a=this.politeLog)===null||a===void 0||a.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},r)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}function eW(e){return e&&e.__esModule?e.default:e}function r6(e,t){let n=ta(eW(Gc),"@react-aria/calendar"),r=Pa(e),i=s0(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=s0(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);Rw(()=>{t.isFocused||pu(a)},[a]);let o=Jq(t);Rw(()=>{o&&pu(o,"polite",4e3)},[o]);let u=Eu([!!e.errorMessage,e.isInvalid,e.validationState]);W1.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:u,selectedDateDescription:o});let[l,d]=x.useState(!1),f=e.isDisabled||t.isNextVisibleRangeInvalid();f&&l&&(d(!1),t.setFocused(!0));let[h,p]=x.useState(!1),g=e.isDisabled||t.isPreviousVisibleRangeInvalid();g&&h&&(p(!1),t.setFocused(!0));let y=Su({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:xt(r,y,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":n.format("next"),isDisabled:f,onFocusChange:d},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":n.format("previous"),isDisabled:g,onFocusChange:p},errorMessageProps:{id:u},title:i}}function tW(e,t){return r6(e,t)}function nW(e,t,n){let r=r6(e,t),i=x.useRef(!1),a=x.useRef(typeof window<"u"?window:null);return ji(a,"pointerdown",u=>{i.current=u.width===0&&u.height===0}),ji(a,"pointerup",u=>{if(i.current){i.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let l=u.target;n.current&&n.current.contains(document.activeElement)&&(!n.current.contains(l)||!l.closest('button, [role="button"]'))&&t.selectFocusedDate()}),r.calendarProps.onBlur=u=>{n.current&&(!u.relatedTarget||!n.current.contains(u.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},ji(n,"touchmove",u=>{t.isDragging&&u.preventDefault()},{passive:!1,capture:!0}),r}function rW(e,t){let{startDate:n=t.visibleRange.start,endDate:r=t.visibleRange.end,firstDayOfWeek:i}=e,{direction:a}=Qn(),o=y=>{switch(y.key){case"Enter":case" ":y.preventDefault(),t.selectFocusedDate();break;case"PageUp":y.preventDefault(),y.stopPropagation(),t.focusPreviousSection(y.shiftKey);break;case"PageDown":y.preventDefault(),y.stopPropagation(),t.focusNextSection(y.shiftKey);break;case"End":y.preventDefault(),y.stopPropagation(),t.focusSectionEnd();break;case"Home":y.preventDefault(),y.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":y.preventDefault(),y.stopPropagation(),a==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":y.preventDefault(),y.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":y.preventDefault(),y.stopPropagation(),a==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":y.preventDefault(),y.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(y.preventDefault(),t.setAnchorDate(null));break}},u=s0(n,r,t.timeZone,!0),{ariaLabel:l,ariaLabelledBy:d}=W1.get(t),f=Su({"aria-label":[l,u].filter(Boolean).join(", "),"aria-labelledby":d}),h=Ki({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:p}=Qn(),g=x.useMemo(()=>{let y=vc(op(t.timeZone),p,i);return[...new Array(7).keys()].map($=>{let b=y.add({days:$}).toDate(t.timeZone);return h.format(b)})},[p,t.timeZone,h,i]);return{gridProps:xt(f,{role:"grid","aria-readonly":t.isReadOnly||void 0,"aria-disabled":t.isDisabled||void 0,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:o,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:g}}function iW(e){return e&&e.__esModule?e.default:e}function aW(e,t,n){let{date:r,isDisabled:i}=e,{errorMessageId:a,selectedDateDescription:o}=W1.get(t),u=ta(iW(Gc),"@react-aria/calendar"),l=Ki({weekday:"long",day:"numeric",month:"long",year:"numeric",era:wc(r),timeZone:t.timeZone}),d=t.isSelected(r),f=t.isCellFocused(r);i=i||t.isCellDisabled(r);let h=t.isCellUnavailable(r),p=!i&&!h,g=t.isValueInvalid&&!!("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&r.compare(t.highlightedRange.start)>=0&&r.compare(t.highlightedRange.end)<=0:t.value&&wn(t.value,r));g&&(d=!0),r=DT(r,Xb);let y=x.useMemo(()=>r.toDate(t.timeZone),[r,t.timeZone]),$=zT(r,t.timeZone),C=x.useMemo(()=>{let M="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(wn(r,t.value.start)||wn(r,t.value.end))&&(M=o+", "),M+=l.format(y),$?M=u.format(d?"todayDateSelected":"todayDate",{date:M}):d&&(M=u.format("dateSelected",{date:M})),t.minValue&&wn(r,t.minValue)?M+=", "+u.format("minimumDate"):t.maxValue&&wn(r,t.maxValue)&&(M+=", "+u.format("maximumDate")),M},[l,y,u,d,$,r,t,o]),b="";"anchorDate"in t&&f&&!t.isReadOnly&&p&&(t.anchorDate?b=u.format("finishRangeSelectionPrompt"):b=u.format("startRangeSelectionPrompt"));let v=jc(b),D=x.useRef(!1),A=x.useRef(!1),E=x.useRef(void 0),{pressProps:T,isPressed:R}=Uc({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(M){if(t.isReadOnly){t.setFocusedDate(r);return}if("highlightedRange"in t&&!t.anchorDate&&(M.pointerType==="mouse"||M.pointerType==="touch")){if(t.highlightedRange&&!g){if(wn(r,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(r),t.setDragging(!0),A.current=!0;return}else if(wn(r,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(r),t.setDragging(!0),A.current=!0;return}}let X=()=>{t.setDragging(!0),E.current=void 0,t.selectDate(r),t.setFocusedDate(r),D.current=!0};M.pointerType==="touch"?E.current=setTimeout(X,200):X()}},onPressEnd(){A.current=!1,D.current=!1,clearTimeout(E.current),E.current=void 0},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(r),t.setFocusedDate(r))},onPressUp(M){if(!t.isReadOnly&&("anchorDate"in t&&E.current&&(t.selectDate(r),t.setFocusedDate(r)),"anchorDate"in t))if(A.current)t.setAnchorDate(r);else if(t.anchorDate&&!D.current)t.selectDate(r),t.setFocusedDate(r);else if(M.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(r);let X=r.add({days:1});t.isInvalid(X)&&(X=r.subtract({days:1})),t.isInvalid(X)||t.setFocusedDate(X)}else M.pointerType==="virtual"&&(t.selectDate(r),t.setFocusedDate(r))}}),S;i||(S=wn(r,t.focusedDate)?0:-1),x.useEffect(()=>{f&&n.current&&(vi(n.current),yc()!=="pointer"&&document.activeElement===n.current&&uh(n.current,{containingElement:np(n.current)}))},[f,n]);let U=Ki({day:"numeric",timeZone:t.timeZone,calendar:r.calendar.identifier}),j=x.useMemo(()=>U.formatToParts(y).find(M=>M.type==="day").value,[U,y]);return{cellProps:{role:"gridcell","aria-disabled":!p||void 0,"aria-selected":d||void 0,"aria-invalid":g||void 0},buttonProps:xt(T,{onFocus(){i||t.setFocusedDate(r)},tabIndex:S,role:"button","aria-disabled":!p||void 0,"aria-label":C,"aria-invalid":g||void 0,"aria-describedby":[g?a:void 0,v["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(M){"highlightDate"in t&&(M.pointerType!=="touch"||t.isDragging)&&p&&t.highlightDate(r)},onPointerDown(M){"releasePointerCapture"in M.target&&M.target.releasePointerCapture(M.pointerId)},onContextMenu(M){M.preventDefault()}}),isPressed:R,isFocused:f,isSelected:d,isDisabled:i,isUnavailable:h,isOutsideVisibleRange:r.compare(t.visibleRange.start)<0||r.compare(t.visibleRange.end)>0,isInvalid:g,formattedDate:j}}const up={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},i6={...up,customError:!0,valid:!1},Uo={isInvalid:!1,validationDetails:up,validationErrors:[]},oW=x.createContext({}),Pu="__formValidationState"+Date.now();function Yc(e){if(e[Pu]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}=e[Pu];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}}return sW(e)}function sW(e){let{isInvalid:t,validationState:n,name:r,value:i,builtinValidation:a,validate:o,validationBehavior:u="aria"}=e;n&&(t||(t=n==="invalid"));let l=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:i6}:null,d=x.useMemo(()=>{if(!o||i==null)return null;let j=uW(o,i);return bD(j)},[o,i]);a!=null&&a.validationDetails.valid&&(a=void 0);let f=x.useContext(oW),h=x.useMemo(()=>r?Array.isArray(r)?r.flatMap(j=>l0(f[j])):l0(f[r]):[],[f,r]),[p,g]=x.useState(f),[y,$]=x.useState(!1);f!==p&&(g(f),$(!1));let C=x.useMemo(()=>bD(y?[]:h),[y,h]),b=x.useRef(Uo),[v,D]=x.useState(Uo),A=x.useRef(Uo),E=()=>{if(!T)return;R(!1);let j=d||a||b.current;Eg(j,A.current)||(A.current=j,D(j))},[T,R]=x.useState(!1);return x.useEffect(E),{realtimeValidation:l||C||d||a||Uo,displayValidation:u==="native"?l||C||v:l||C||d||a||v,updateValidation(j){u==="aria"&&!Eg(v,j)?D(j):b.current=j},resetValidation(){let j=Uo;Eg(j,A.current)||(A.current=j,D(j)),u==="native"&&R(!1),$(!0)},commitValidation(){u==="native"&&R(!0),$(!0)}}}function l0(e){return e?Array.isArray(e)?e:[e]:[]}function uW(e,t){if(typeof e=="function"){let n=e(t);if(n&&typeof n!="boolean")return l0(n)}return[]}function bD(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:i6}:null}function Eg(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((n,r)=>n===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([n,r])=>t.validationDetails[n]===r)}function yh(...e){let t=new Set,n=!1,r={...up};for(let o of e){var i,a;for(let u of o.validationErrors)t.add(u);n||(n=o.isInvalid);for(let u in r)(i=r)[a=u]||(i[a]=o.validationDetails[u])}return r.valid=!n,{isInvalid:n,validationErrors:[...t],validationDetails:r}}function a6(e,t,n){let{validationBehavior:r,focus:i}=e;Lt(()=>{if(r==="native"&&(n!=null&&n.current)&&!n.current.disabled){let l=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(l),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(cW(n.current))}});let a=fn(()=>{t.resetValidation()}),o=fn(l=>{var d;t.displayValidation.isInvalid||t.commitValidation();let f=n==null||(d=n.current)===null||d===void 0?void 0:d.form;if(!l.defaultPrevented&&n&&f&&dW(f)===n.current){var h;i?i():(h=n.current)===null||h===void 0||h.focus(),MT("keyboard")}l.preventDefault()}),u=fn(()=>{t.commitValidation()});x.useEffect(()=>{let l=n==null?void 0:n.current;if(!l)return;let d=l.form;return l.addEventListener("invalid",o),l.addEventListener("change",u),d==null||d.addEventListener("reset",a),()=>{l.removeEventListener("invalid",o),l.removeEventListener("change",u),d==null||d.removeEventListener("reset",a)}},[n,o,u,a,r])}function lW(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function cW(e){return{isInvalid:!e.validity.valid,validationDetails:lW(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function dW(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}function lp(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:a="label"}=e;t=Cr(t);let o=Cr(),u={};n?(r=r?`${o} ${r}`:o,u={id:o,htmlFor:a==="label"?t:void 0}):!r&&!i&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let l=Su({id:t,"aria-label":i,"aria-labelledby":r});return{labelProps:u,fieldProps:l}}function cp(e){let{description:t,errorMessage:n,isInvalid:r,validationState:i}=e,{labelProps:a,fieldProps:o}=lp(e),u=Eu([!!t,!!n,r,i]),l=Eu([!!t,!!n,r,i]);return o=xt(o,{"aria-describedby":[u,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:o,descriptionProps:{id:u},errorMessageProps:{id:l}}}const fW=0,hW=100,pW=1;function mW(e){const{isDisabled:t=!1,minValue:n=fW,maxValue:r=hW,numberFormatter:i,step:a=pW,orientation:o="horizontal"}=e;let u=x.useMemo(()=>{let N=(r-n)/10;return N=Rl(N,0,N+a,a),Math.max(N,a)},[a,r,n]),l=x.useCallback(N=>N==null?void 0:N.map((ne,ie)=>{let le=ie===0?n:N[ie-1],$e=ie===N.length-1?r:N[ie+1];return Rl(ne,le,$e,a)}),[n,r,a]),d=x.useMemo(()=>l(xD(e.value)),[e.value]),f=x.useMemo(()=>{var N;return l((N=xD(e.defaultValue))!==null&&N!==void 0?N:[n])},[e.defaultValue,n]),h=wD(e.value,e.defaultValue,e.onChange),p=wD(e.value,e.defaultValue,e.onChangeEnd);const[g,y]=Fr(d,f,h),[$,C]=x.useState(new Array(g.length).fill(!1)),b=x.useRef(new Array(g.length).fill(!0)),[v,D]=x.useState(void 0),A=x.useRef(g),E=x.useRef($);let T=N=>{A.current=N,y(N)},R=N=>{E.current=N,C(N)};function S(N){return(N-n)/(r-n)}function U(N){return N===0?n:g[N-1]}function j(N){return N===g.length-1?r:g[N+1]}function M(N){return b.current[N]}function X(N,ne){b.current[N]=ne}function O(N,ne){if(t||!M(N))return;const ie=U(N),le=j(N);ne=Rl(ne,ie,le,a);let $e=$D(A.current,N,ne);T($e)}function B(N,ne){if(t||!M(N))return;ne&&(A.current=g);const ie=E.current[N];E.current=$D(E.current,N,ne),R(E.current),p&&ie&&!E.current.some(Boolean)&&p(A.current)}function q(N){return i.format(N)}function k(N,ne){O(N,_(ne))}function V(N){return Math.round((N-n)/a)*a+n}function _(N){const ne=N*(r-n)+n;return Au(V(ne),n,r)}function H(N,ne=1){let ie=Math.max(ne,a);O(N,Rl(g[N]+ie,n,r,a))}function z(N,ne=1){let ie=Math.max(ne,a);O(N,Rl(g[N]-ie,n,r,a))}return{values:g,getThumbValue:N=>g[N],setThumbValue:O,setThumbPercent:k,isThumbDragging:N=>$[N],setThumbDragging:B,focusedThumb:v,setFocusedThumb:D,getThumbPercent:N=>S(g[N]),getValuePercent:S,getThumbValueLabel:N=>q(g[N]),getFormattedValue:q,getThumbMinValue:U,getThumbMaxValue:j,getPercentValue:_,isThumbEditable:M,setThumbEditable:X,incrementThumb:H,decrementThumb:z,step:a,pageSize:u,orientation:o,isDisabled:t}}function $D(e,t,n){return e[t]===n?e:[...e.slice(0,t),n,...e.slice(t+1)]}function xD(e){if(e!=null)return Array.isArray(e)?e:[e]}function wD(e,t,n){return r=>{typeof e=="number"||typeof t=="number"?n==null||n(r[0]):n==null||n(r)}}const DD={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function gW(e={}){let{style:t,isFocusable:n}=e,[r,i]=x.useState(!1),{focusWithinProps:a}=qu({isDisabled:!n,onFocusWithinChange:u=>i(u)}),o=x.useMemo(()=>r?t:t?{...DD,...t}:DD,[r]);return{visuallyHiddenProps:{...a,style:o}}}function yW(e){let{children:t,elementType:n="div",isFocusable:r,style:i,...a}=e,{visuallyHiddenProps:o}=gW(e);return x.createElement(n,xt(a,o),t)}const H1=new WeakMap;function c0(e,t){let n=H1.get(e);if(!n)throw new Error("Unknown slider state");return`${n.id}-${t}`}function vW(e,t,n){let{labelProps:r,fieldProps:i}=lp(e),a=e.orientation==="vertical";var o;H1.set(t,{id:(o=r.id)!==null&&o!==void 0?o:i.id,"aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]});let{direction:u}=Qn(),{addGlobalListener:l,removeGlobalListener:d}=zu();const f=x.useRef(null),h=u==="rtl",p=x.useRef(null),{moveProps:g}=kT({onMoveStart(){p.current=null},onMove({deltaX:b,deltaY:v}){if(!n.current)return;let{height:D,width:A}=n.current.getBoundingClientRect(),E=a?D:A;p.current==null&&f.current!=null&&(p.current=t.getThumbPercent(f.current)*E);let T=a?v:b;if((a||h)&&(T=-T),p.current+=T,f.current!=null&&n.current){const R=Au(p.current/E,0,1);t.setThumbPercent(f.current,R)}},onMoveEnd(){f.current!=null&&(t.setThumbDragging(f.current,!1),f.current=null)}});let y=x.useRef(void 0),$=(b,v,D,A)=>{if(n.current&&!e.isDisabled&&t.values.every((E,T)=>!t.isThumbDragging(T))){let{height:E,width:T,top:R,left:S}=n.current.getBoundingClientRect(),U=a?E:T,O=((a?A:D)-(a?R:S))/U;(u==="rtl"||a)&&(O=1-O);let B=t.getPercentValue(O),q,k=t.values.findIndex(V=>B-V<0);if(k===0)q=k;else if(k===-1)q=t.values.length-1;else{let V=t.values[k-1],_=t.values[k];Math.abs(V-B)<Math.abs(_-B)?q=k-1:q=k}q>=0&&t.isThumbEditable(q)?(b.preventDefault(),f.current=q,t.setFocusedThumb(q),y.current=v,t.setThumbDragging(f.current,!0),t.setThumbValue(q,B),l(window,"mouseup",C,!1),l(window,"touchend",C,!1),l(window,"pointerup",C,!1)):f.current=null}},C=b=>{var v,D;((D=b.pointerId)!==null&&D!==void 0?D:(v=b.changedTouches)===null||v===void 0?void 0:v[0].identifier)===y.current&&(f.current!=null&&(t.setThumbDragging(f.current,!1),f.current=null),d(window,"mouseup",C,!1),d(window,"touchend",C,!1),d(window,"pointerup",C,!1))};return"htmlFor"in r&&r.htmlFor&&(delete r.htmlFor,r.onClick=()=>{var b;(b=document.getElementById(c0(t,0)))===null||b===void 0||b.focus(),MT("keyboard")}),{labelProps:r,groupProps:{role:"group",...i},trackProps:xt({onMouseDown(b){b.button!==0||b.altKey||b.ctrlKey||b.metaKey||$(b,void 0,b.clientX,b.clientY)},onPointerDown(b){b.pointerType==="mouse"&&(b.button!==0||b.altKey||b.ctrlKey||b.metaKey)||$(b,b.pointerId,b.clientX,b.clientY)},onTouchStart(b){$(b,b.changedTouches[0].identifier,b.changedTouches[0].clientX,b.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},g),outputProps:{htmlFor:t.values.map((b,v)=>c0(t,v)).join(" "),"aria-live":"off"}}}function bW(e,t){let{index:n=0,isRequired:r,validationState:i,isInvalid:a,trackRef:o,inputRef:u,orientation:l=t.orientation,name:d}=e,f=e.isDisabled||t.isDisabled,h=l==="vertical",{direction:p}=Qn(),{addGlobalListener:g,removeGlobalListener:y}=zu(),$=H1.get(t);var C;const{labelProps:b,fieldProps:v}=lp({...e,id:c0(t,n),"aria-labelledby":`${$.id} ${(C=e["aria-labelledby"])!==null&&C!==void 0?C:""}`.trim()}),D=t.values[n],A=x.useCallback(()=>{u.current&&vi(u.current)},[u]),E=t.focusedThumb===n;x.useEffect(()=>{E&&A()},[E,A]);let T=p==="rtl",R=x.useRef(null),{keyboardProps:S}=FT({onKeyDown(k){let{getThumbMaxValue:V,getThumbMinValue:_,decrementThumb:H,incrementThumb:z,setThumbValue:N,setThumbDragging:ne,pageSize:ie}=t;if(!/^(PageUp|PageDown|Home|End)$/.test(k.key)){k.continuePropagation();return}switch(k.preventDefault(),ne(n,!0),k.key){case"PageUp":z(n,ie);break;case"PageDown":H(n,ie);break;case"Home":N(n,_(n));break;case"End":N(n,V(n));break}ne(n,!1)}}),{moveProps:U}=kT({onMoveStart(){R.current=null,t.setThumbDragging(n,!0)},onMove({deltaX:k,deltaY:V,pointerType:_,shiftKey:H}){const{getThumbPercent:z,setThumbPercent:N,decrementThumb:ne,incrementThumb:ie,step:le,pageSize:$e}=t;if(!o.current)return;let{width:De,height:Ce}=o.current.getBoundingClientRect(),Y=h?Ce:De;if(R.current==null&&(R.current=z(n)*Y),_==="keyboard")k>0&&T||k<0&&!T||V>0?ne(n,H?$e:le):ie(n,H?$e:le);else{let he=h?V:k;(h||T)&&(he=-he),R.current+=he,N(n,Au(R.current/Y,0,1))}},onMoveEnd(){t.setThumbDragging(n,!1)}});t.setThumbEditable(n,!f);const{focusableProps:j}=F1(xt(e,{onFocus:()=>t.setFocusedThumb(n),onBlur:()=>t.setFocusedThumb(void 0)}),u);let M=x.useRef(void 0),X=k=>{A(),M.current=k,t.setThumbDragging(n,!0),g(window,"mouseup",O,!1),g(window,"touchend",O,!1),g(window,"pointerup",O,!1)},O=k=>{var V,_;((_=k.pointerId)!==null&&_!==void 0?_:(V=k.changedTouches)===null||V===void 0?void 0:V[0].identifier)===M.current&&(A(),t.setThumbDragging(n,!1),y(window,"mouseup",O,!1),y(window,"touchend",O,!1),y(window,"pointerup",O,!1))},B=t.getThumbPercent(n);(h||p==="rtl")&&(B=1-B);let q=f?{}:xt(S,U,{onMouseDown:k=>{k.button!==0||k.altKey||k.ctrlKey||k.metaKey||X()},onPointerDown:k=>{k.button!==0||k.altKey||k.ctrlKey||k.metaKey||X(k.pointerId)},onTouchStart:k=>{X(k.changedTouches[0].identifier)}});return P1(u,D,k=>{t.setThumbValue(n,k)}),{inputProps:xt(j,v,{type:"range",tabIndex:f?void 0:0,min:t.getThumbMinValue(n),max:t.getThumbMaxValue(n),step:t.step,value:D,name:d,disabled:f,"aria-orientation":l,"aria-valuetext":t.getThumbValueLabel(n),"aria-required":r||void 0,"aria-invalid":a||i==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-describedby":[$["aria-describedby"],e["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[$["aria-details"],e["aria-details"]].filter(Boolean).join(" "),onChange:k=>{t.setThumbValue(n,parseFloat(k.target.value))}}),thumbProps:{...q,style:{position:"absolute",[h?"top":"left"]:`${B*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:b,isDragging:t.isThumbDragging(n),isDisabled:f,isFocused:E}}function $W(e,t){let{inputElementType:n="input",isDisabled:r=!1,isRequired:i=!1,isReadOnly:a=!1,type:o="text",validationBehavior:u="aria"}=e,[l,d]=Fr(e.value,e.defaultValue||"",e.onChange),{focusableProps:f}=F1(e,t),h=Yc({...e,value:l}),{isInvalid:p,validationErrors:g,validationDetails:y}=h.displayValidation,{labelProps:$,fieldProps:C,descriptionProps:b,errorMessageProps:v}=cp({...e,isInvalid:p,errorMessage:e.errorMessage||g}),D=Pa(e,{labelable:!0});const A={type:o,pattern:e.pattern};return P1(t,l,d),a6(e,h,t),x.useEffect(()=>{if(t.current instanceof po(t.current).HTMLTextAreaElement){let E=t.current;Object.defineProperty(E,"defaultValue",{get:()=>E.value,set:()=>{},configurable:!0})}},[t]),{labelProps:$,inputProps:xt(D,n==="input"?A:void 0,{disabled:r,readOnly:a,required:i&&u==="native","aria-required":i&&u==="aria"||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:l,onChange:E=>d(E.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...f,...C}),descriptionProps:b,errorMessageProps:v,isInvalid:p,validationErrors:g,validationDetails:y}}var o6={};o6={Empty:"فارغ"};var s6={};s6={Empty:"Изпразни"};var u6={};u6={Empty:"Prázdné"};var l6={};l6={Empty:"Tom"};var c6={};c6={Empty:"Leer"};var d6={};d6={Empty:"Άδειο"};var f6={};f6={Empty:"Empty"};var h6={};h6={Empty:"Vacío"};var p6={};p6={Empty:"Tühjenda"};var m6={};m6={Empty:"Tyhjä"};var g6={};g6={Empty:"Vide"};var y6={};y6={Empty:"ריק"};var v6={};v6={Empty:"Prazno"};var b6={};b6={Empty:"Üres"};var $6={};$6={Empty:"Vuoto"};var x6={};x6={Empty:"空"};var w6={};w6={Empty:"비어 있음"};var D6={};D6={Empty:"Tuščias"};var C6={};C6={Empty:"Tukšs"};var E6={};E6={Empty:"Tom"};var S6={};S6={Empty:"Leeg"};var A6={};A6={Empty:"Pusty"};var T6={};T6={Empty:"Vazio"};var P6={};P6={Empty:"Vazio"};var _6={};_6={Empty:"Gol"};var R6={};R6={Empty:"Не заполнено"};var O6={};O6={Empty:"Prázdne"};var M6={};M6={Empty:"Prazen"};var F6={};F6={Empty:"Prazno"};var k6={};k6={Empty:"Tomt"};var I6={};I6={Empty:"Boş"};var B6={};B6={Empty:"Пусто"};var L6={};L6={Empty:"空"};var V6={};V6={Empty:"空白"};var N6={};N6={"ar-AE":o6,"bg-BG":s6,"cs-CZ":u6,"da-DK":l6,"de-DE":c6,"el-GR":d6,"en-US":f6,"es-ES":h6,"et-EE":p6,"fi-FI":m6,"fr-FR":g6,"he-IL":y6,"hr-HR":v6,"hu-HU":b6,"it-IT":$6,"ja-JP":x6,"ko-KR":w6,"lt-LT":D6,"lv-LV":C6,"nb-NO":E6,"nl-NL":S6,"pl-PL":A6,"pt-BR":T6,"pt-PT":P6,"ro-RO":_6,"ru-RU":R6,"sk-SK":O6,"sl-SI":M6,"sr-SP":F6,"sv-SE":k6,"tr-TR":I6,"uk-UA":B6,"zh-CN":L6,"zh-TW":V6};function xW(e){return e&&e.__esModule?e.default:e}function wW(e){const t=x.useRef(void 0);let{value:n,textValue:r,minValue:i,maxValue:a,isDisabled:o,isReadOnly:u,isRequired:l,onIncrement:d,onIncrementPage:f,onDecrement:h,onDecrementPage:p,onDecrementToMin:g,onIncrementToMax:y}=e;const $=ta(xW(N6),"@react-aria/spinbutton"),C=()=>clearTimeout(t.current);x.useEffect(()=>()=>C(),[]);let b=M=>{if(!(M.ctrlKey||M.metaKey||M.shiftKey||M.altKey||u))switch(M.key){case"PageUp":if(f){M.preventDefault(),f==null||f();break}case"ArrowUp":case"Up":d&&(M.preventDefault(),d==null||d());break;case"PageDown":if(p){M.preventDefault(),p==null||p();break}case"ArrowDown":case"Down":h&&(M.preventDefault(),h==null||h());break;case"Home":g&&(M.preventDefault(),g==null||g());break;case"End":y&&(M.preventDefault(),y==null||y());break}},v=x.useRef(!1),D=()=>{v.current=!0},A=()=>{v.current=!1},E=r===""?$.format("Empty"):(r||`${n}`).replace("-","−");x.useEffect(()=>{v.current&&(Xq("assertive"),pu(E,"assertive"))},[E]);const T=fn(M=>{C(),d==null||d(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||n===void 0||isNaN(n)||n<a)&&T(60)},M)}),R=fn(M=>{C(),h==null||h(),t.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||n===void 0||isNaN(n)||n>i)&&R(60)},M)});let S=M=>{M.preventDefault()},{addGlobalListener:U,removeAllGlobalListeners:j}=zu();return{spinButtonProps:{role:"spinbutton","aria-valuenow":n!==void 0&&!isNaN(n)?n:void 0,"aria-valuetext":E,"aria-valuemin":i,"aria-valuemax":a,"aria-disabled":o||void 0,"aria-readonly":u||void 0,"aria-required":l||void 0,onKeyDown:b,onFocus:D,onBlur:A},incrementButtonProps:{onPressStart:()=>{T(400),U(window,"contextmenu",S)},onPressEnd:()=>{C(),j()},onFocus:D,onBlur:A},decrementButtonProps:{onPressStart:()=>{R(400),U(window,"contextmenu",S)},onPressEnd:()=>{C(),j()},onFocus:D,onBlur:A}}}var j6={};j6={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var K6={};K6={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var U6={};U6={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var z6={};z6={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var q6={};q6={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var W6={};W6={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var H6={};H6={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var G6={};G6={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var Y6={};Y6={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var Z6={};Z6={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var J6={};J6={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var X6={};X6={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var Q6={};Q6={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var e_={};e_={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var t_={};t_={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var n_={};n_={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var r_={};r_={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var i_={};i_={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var a_={};a_={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var o_={};o_={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var s_={};s_={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var u_={};u_={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var l_={};l_={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var c_={};c_={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var d_={};d_={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var f_={};f_={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var h_={};h_={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var p_={};p_={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var m_={};m_={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var g_={};g_={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var y_={};y_={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var v_={};v_={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var b_={};b_={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var $_={};$_={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var x_={};x_={"ar-AE":j6,"bg-BG":K6,"cs-CZ":U6,"da-DK":z6,"de-DE":q6,"el-GR":W6,"en-US":H6,"es-ES":G6,"et-EE":Y6,"fi-FI":Z6,"fr-FR":J6,"he-IL":X6,"hr-HR":Q6,"hu-HU":e_,"it-IT":t_,"ja-JP":n_,"ko-KR":r_,"lt-LT":i_,"lv-LV":a_,"nb-NO":o_,"nl-NL":s_,"pl-PL":u_,"pt-BR":l_,"pt-PT":c_,"ro-RO":d_,"ru-RU":f_,"sk-SK":h_,"sl-SI":p_,"sr-SP":m_,"sv-SE":g_,"tr-TR":y_,"uk-UA":v_,"zh-CN":b_,"zh-TW":$_};const Ui={top:"top",bottom:"top",left:"left",right:"left"},vh={top:"bottom",bottom:"top",left:"right",right:"left"},DW={top:"left",left:"top"},d0={top:"height",left:"width"},w_={width:"totalWidth",height:"totalHeight"},vf={};let An=typeof document<"u"?window.visualViewport:null;function CD(e){let t=0,n=0,r=0,i=0,a=0,o=0,u={};var l;let d=((l=An==null?void 0:An.scale)!==null&&l!==void 0?l:1)>1;if(e.tagName==="BODY"){let y=document.documentElement;r=y.clientWidth,i=y.clientHeight;var f;t=(f=An==null?void 0:An.width)!==null&&f!==void 0?f:r;var h;n=(h=An==null?void 0:An.height)!==null&&h!==void 0?h:i,u.top=y.scrollTop||e.scrollTop,u.left=y.scrollLeft||e.scrollLeft,An&&(a=An.offsetTop,o=An.offsetLeft)}else({width:t,height:n,top:a,left:o}=mu(e)),u.top=e.scrollTop,u.left=e.scrollLeft,r=t,i=n;if(A1()&&(e.tagName==="BODY"||e.tagName==="HTML")&&d){u.top=0,u.left=0;var p;a=(p=An==null?void 0:An.pageTop)!==null&&p!==void 0?p:0;var g;o=(g=An==null?void 0:An.pageLeft)!==null&&g!==void 0?g:0}return{width:t,height:n,totalWidth:r,totalHeight:i,scroll:u,top:a,left:o}}function CW(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function ED(e,t,n,r,i,a,o){var u;let l=(u=i.scroll[e])!==null&&u!==void 0?u:0,d=r[d0[e]],f=r.scroll[Ui[e]]+a,h=d+r.scroll[Ui[e]]-a,p=t-l+o[e]-r[Ui[e]],g=t-l+n+o[e]-r[Ui[e]];return p<f?f-p:g>h?Math.max(h-g,f-p):0}function EW(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function SD(e){if(vf[e])return vf[e];let[t,n]=e.split(" "),r=Ui[t]||"right",i=DW[r];Ui[n]||(n="center");let a=d0[r],o=d0[i];return vf[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:a,crossSize:o},vf[e]}function Sg(e,t,n,r,i,a,o,u,l,d){let{placement:f,crossPlacement:h,axis:p,crossAxis:g,size:y,crossSize:$}=r,C={};var b;C[g]=(b=e[g])!==null&&b!==void 0?b:0;var v,D,A,E;h==="center"?C[g]+=(((v=e[$])!==null&&v!==void 0?v:0)-((D=n[$])!==null&&D!==void 0?D:0))/2:h!==g&&(C[g]+=((A=e[$])!==null&&A!==void 0?A:0)-((E=n[$])!==null&&E!==void 0?E:0)),C[g]+=a;const T=e[g]-n[$]+l+d,R=e[g]+e[$]-l-d;if(C[g]=Au(C[g],T,R),f===p){const S=u?o[y]:t[w_[y]];C[vh[p]]=Math.floor(S-e[p]+i)}else C[p]=Math.floor(e[p]+e[y]+i);return C}function SW(e,t,n,r,i,a,o,u){const l=r?n.height:t[w_.height];var d;let f=e.top!=null?n.top+e.top:n.top+(l-((d=e.bottom)!==null&&d!==void 0?d:0)-o);var h,p,g,y,$,C;let b=u!=="top"?Math.max(0,t.height+t.top+((h=t.scroll.top)!==null&&h!==void 0?h:0)-f-(((p=i.top)!==null&&p!==void 0?p:0)+((g=i.bottom)!==null&&g!==void 0?g:0)+a)):Math.max(0,f+o-(t.top+((y=t.scroll.top)!==null&&y!==void 0?y:0))-((($=i.top)!==null&&$!==void 0?$:0)+((C=i.bottom)!==null&&C!==void 0?C:0)+a));return Math.min(t.height-a*2,b)}function AD(e,t,n,r,i,a){let{placement:o,axis:u,size:l}=a;var d,f;if(o===u)return Math.max(0,n[u]-e[u]-((d=e.scroll[u])!==null&&d!==void 0?d:0)+t[u]-((f=r[u])!==null&&f!==void 0?f:0)-r[vh[u]]-i);var h;return Math.max(0,e[l]+e[u]+e.scroll[u]-t[u]-n[u]-n[l]-((h=r[u])!==null&&h!==void 0?h:0)-r[vh[u]]-i)}function AW(e,t,n,r,i,a,o,u,l,d,f,h,p,g,y,$){let C=SD(e),{size:b,crossAxis:v,crossSize:D,placement:A,crossPlacement:E}=C,T=Sg(t,u,n,C,f,h,d,p,y,$),R=f,S=AD(u,d,t,i,a+f,C);if(o&&r[b]>S){let le=SD(`${vh[A]} ${E}`),$e=Sg(t,u,n,le,f,h,d,p,y,$);AD(u,d,t,i,a+f,le)>S&&(C=le,T=$e,R=f)}let U="bottom";C.axis==="top"?C.placement==="top"?U="top":C.placement==="bottom"&&(U="bottom"):C.crossAxis==="top"&&(C.crossPlacement==="top"?U="bottom":C.crossPlacement==="bottom"&&(U="top"));let j=ED(v,T[v],n[D],u,l,a,d);T[v]+=j;let M=SW(T,u,d,p,i,a,n.height,U);g&&g<M&&(M=g),n.height=Math.min(n.height,M),T=Sg(t,u,n,C,R,h,d,p,y,$),j=ED(v,T[v],n[D],u,l,a,d),T[v]+=j;let X={},O=t[v]+.5*t[D]-T[v]-i[Ui[v]];const B=y/2+$;var q,k,V,_;const H=Ui[v]==="left"?((q=i.left)!==null&&q!==void 0?q:0)+((k=i.right)!==null&&k!==void 0?k:0):((V=i.top)!==null&&V!==void 0?V:0)+((_=i.bottom)!==null&&_!==void 0?_:0),z=n[D]-H-y/2-$,N=t[v]+y/2-(T[v]+i[Ui[v]]),ne=t[v]+t[D]-y/2-(T[v]+i[Ui[v]]),ie=Au(O,N,ne);return X[v]=Au(ie,B,z),{position:T,maxHeight:M,arrowOffsetLeft:X.left,arrowOffsetTop:X.top,placement:C.placement}}function TW(e){let{placement:t,targetNode:n,overlayNode:r,scrollNode:i,padding:a,shouldFlip:o,boundaryElement:u,offset:l,crossOffset:d,maxHeight:f,arrowSize:h=0,arrowBoundaryOffset:p=0}=e,g=r instanceof HTMLElement?PW(r):document.documentElement,y=g===document.documentElement;const $=window.getComputedStyle(g).position;let C=!!$&&$!=="static",b=y?mu(n):TD(n,g);if(!y){let{marginTop:X,marginLeft:O}=window.getComputedStyle(n);b.top+=parseInt(X,10)||0,b.left+=parseInt(O,10)||0}let v=mu(r),D=EW(r);var A,E;v.width+=((A=D.left)!==null&&A!==void 0?A:0)+((E=D.right)!==null&&E!==void 0?E:0);var T,R;v.height+=((T=D.top)!==null&&T!==void 0?T:0)+((R=D.bottom)!==null&&R!==void 0?R:0);let S=CW(i),U=CD(u),j=CD(g),M=u.tagName==="BODY"?mu(g):TD(g,u);return g.tagName==="HTML"&&u.tagName==="BODY"&&(j.scroll.top=0,j.scroll.left=0),AW(t,b,v,S,D,a,o,U,j,M,l,d,C,f,h,p)}function mu(e){let{top:t,left:n,width:r,height:i}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:o,clientTop:u,clientLeft:l}=document.documentElement;return{top:t+a-u,left:n+o-l,width:r,height:i}}function TD(e,t){let n=window.getComputedStyle(e),r;if(n.position==="fixed"){let{top:i,left:a,width:o,height:u}=e.getBoundingClientRect();r={top:i,left:a,width:o,height:u}}else{r=mu(e);let i=mu(t),a=window.getComputedStyle(t);i.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,r.top-=i.top,r.left-=i.left}return r.top-=parseInt(n.marginTop,10)||0,r.left-=parseInt(n.marginLeft,10)||0,r}function PW(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!PD(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!PD(t);)t=t.parentElement;return t||document.documentElement}function PD(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const D_=new WeakMap;function _W(e){let{triggerRef:t,isOpen:n,onClose:r}=e;x.useEffect(()=>{if(!n||r===null)return;let i=a=>{let o=a.target;if(!t.current||o instanceof Node&&!o.contains(t.current)||a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)return;let u=r||D_.get(t.current);u&&u()};return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[n,r,t])}let ln=typeof document<"u"?window.visualViewport:null;function RW(e){let{direction:t}=Qn(),{arrowSize:n=0,targetRef:r,overlayRef:i,scrollRef:a=i,placement:o="bottom",containerPadding:u=12,shouldFlip:l=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:f=0,crossOffset:h=0,shouldUpdatePosition:p=!0,isOpen:g=!0,onClose:y,maxHeight:$,arrowBoundaryOffset:C=0}=e,[b,v]=x.useState(null),D=[p,o,i.current,r.current,a.current,u,l,d,f,h,g,t,$,C,n],A=x.useRef(ln==null?void 0:ln.scale);x.useEffect(()=>{g&&(A.current=ln==null?void 0:ln.scale)},[g]);let E=x.useCallback(()=>{if(p===!1||!g||!i.current||!r.current||!d||(ln==null?void 0:ln.scale)!==A.current)return;let j=null;if(a.current&&a.current.contains(document.activeElement)){var M;let _=(M=document.activeElement)===null||M===void 0?void 0:M.getBoundingClientRect(),H=a.current.getBoundingClientRect();var X;if(j={type:"top",offset:((X=_==null?void 0:_.top)!==null&&X!==void 0?X:0)-H.top},j.offset>H.height/2){j.type="bottom";var O;j.offset=((O=_==null?void 0:_.bottom)!==null&&O!==void 0?O:0)-H.bottom}}let B=i.current;if(!$&&i.current){var q;B.style.top="0px",B.style.bottom="";var k;B.style.maxHeight=((k=(q=window.visualViewport)===null||q===void 0?void 0:q.height)!==null&&k!==void 0?k:window.innerHeight)+"px"}let V=TW({placement:MW(o,t),overlayNode:i.current,targetNode:r.current,scrollNode:a.current||i.current,padding:u,shouldFlip:l,boundaryElement:d,offset:f,crossOffset:h,maxHeight:$,arrowSize:n,arrowBoundaryOffset:C});if(V.position){if(B.style.top="",B.style.bottom="",B.style.left="",B.style.right="",Object.keys(V.position).forEach(_=>B.style[_]=V.position[_]+"px"),B.style.maxHeight=V.maxHeight!=null?V.maxHeight+"px":"",j&&document.activeElement&&a.current){let _=document.activeElement.getBoundingClientRect(),H=a.current.getBoundingClientRect(),z=_[j.type]-H[j.type];a.current.scrollTop+=z-j.offset}v(V)}},D);Lt(E,D),OW(E),Mw({ref:i,onResize:E}),Mw({ref:r,onResize:E});let T=x.useRef(!1);Lt(()=>{let j,M=()=>{T.current=!0,clearTimeout(j),j=setTimeout(()=>{T.current=!1},500),E()},X=()=>{T.current&&M()};return ln==null||ln.addEventListener("resize",M),ln==null||ln.addEventListener("scroll",X),()=>{ln==null||ln.removeEventListener("resize",M),ln==null||ln.removeEventListener("scroll",X)}},[E]);let R=x.useCallback(()=>{T.current||y==null||y()},[y,T]);_W({triggerRef:r,isOpen:g,onClose:y&&R});var S,U;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...b==null?void 0:b.position,maxHeight:(S=b==null?void 0:b.maxHeight)!==null&&S!==void 0?S:"100vh"}},placement:(U=b==null?void 0:b.placement)!==null&&U!==void 0?U:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:b==null?void 0:b.arrowOffsetLeft,top:b==null?void 0:b.arrowOffsetTop}},updatePosition:E}}function OW(e){Lt(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function MW(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const ma=[];function FW(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:i,isDismissable:a=!1,isKeyboardDismissDisabled:o=!1,shouldCloseOnInteractOutside:u}=e;x.useEffect(()=>(i&&ma.push(t),()=>{let y=ma.indexOf(t);y>=0&&ma.splice(y,1)}),[i,t]);let l=()=>{ma[ma.length-1]===t&&n&&n()},d=y=>{(!u||u(y.target))&&ma[ma.length-1]===t&&(y.stopPropagation(),y.preventDefault())},f=y=>{(!u||u(y.target))&&(ma[ma.length-1]===t&&(y.stopPropagation(),y.preventDefault()),l())},h=y=>{y.key==="Escape"&&!o&&!y.nativeEvent.isComposing&&(y.stopPropagation(),y.preventDefault(),l())};gz({ref:t,onInteractOutside:a&&i?f:void 0,onInteractOutsideStart:d});let{focusWithinProps:p}=qu({isDisabled:!r,onBlurWithin:y=>{!y.relatedTarget||Ez(y.relatedTarget)||(!u||u(y.relatedTarget))&&(n==null||n())}}),g=y=>{y.target===y.currentTarget&&y.preventDefault()};return{overlayProps:{onKeyDown:h,...p},underlayProps:{onPointerDown:g}}}function kW(e,t,n){let{type:r}=e,{isOpen:i}=t;x.useEffect(()=>{n&&n.current&&D_.set(n.current,t.close)});let a;r==="menu"?a=!0:r==="listbox"&&(a="listbox");let o=Cr();return{triggerProps:{"aria-haspopup":a,"aria-expanded":i,"aria-controls":i?o:void 0,onPress:t.toggle},overlayProps:{id:o}}}const Ag=typeof document<"u"&&window.visualViewport,IW=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let bf=0,Tg;function BW(e={}){let{isDisabled:t}=e;Lt(()=>{if(!t)return bf++,bf===1&&(Nc()?Tg=VW():Tg=LW()),()=>{bf--,bf===0&&Tg()}},[t])}function LW(){return us(eu(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),eu(document.documentElement,"overflow","hidden"))}function VW(){let e,t,n=d=>{e=np(d.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=eu(e,"overscrollBehavior","contain"))},r=d=>{if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&d.preventDefault()},i=()=>{t&&t()},a=d=>{let f=d.target;NW(f)&&(u(),f.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{f.style.transform="",Ag&&(Ag.height<window.innerHeight?requestAnimationFrame(()=>{_D(f)}):Ag.addEventListener("resize",()=>_D(f),{once:!0}))}))},o=null,u=()=>{if(o)return;let d=()=>{window.scrollTo(0,0)},f=window.pageXOffset,h=window.pageYOffset;o=us(Ml(window,"scroll",d),eu(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),eu(document.documentElement,"overflow","hidden"),eu(document.body,"marginTop",`-${h}px`),()=>{window.scrollTo(f,h)}),window.scrollTo(0,0)},l=us(Ml(document,"touchstart",n,{passive:!1,capture:!0}),Ml(document,"touchmove",r,{passive:!1,capture:!0}),Ml(document,"touchend",i,{passive:!1,capture:!0}),Ml(document,"focus",a,!0));return()=>{t==null||t(),o==null||o(),l()}}function eu(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function Ml(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function _D(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let r=np(n);if(r!==document.documentElement&&r!==document.body&&r!==n){let i=r.getBoundingClientRect().top,a=n.getBoundingClientRect().top;a>i+n.clientHeight&&(r.scrollTop+=a-i)}n=r.parentElement}}function NW(e){return e instanceof HTMLInputElement&&!IW.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}let Fl=new WeakMap,Yr=[];function C_(e,t=document.body){let n=new Set(e),r=new Set,i=l=>{for(let p of l.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(p);let d=p=>{if(n.has(p)||p.parentElement&&r.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let g of n)if(p.contains(g))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},f=document.createTreeWalker(l,NodeFilter.SHOW_ELEMENT,{acceptNode:d}),h=d(l);if(h===NodeFilter.FILTER_ACCEPT&&a(l),h!==NodeFilter.FILTER_REJECT){let p=f.nextNode();for(;p!=null;)a(p),p=f.nextNode()}},a=l=>{var d;let f=(d=Fl.get(l))!==null&&d!==void 0?d:0;l.getAttribute("aria-hidden")==="true"&&f===0||(f===0&&l.setAttribute("aria-hidden","true"),r.add(l),Fl.set(l,f+1))};Yr.length&&Yr[Yr.length-1].disconnect(),i(t);let o=new MutationObserver(l=>{for(let d of l)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...n,...r].some(f=>f.contains(d.target))){for(let f of d.removedNodes)f instanceof Element&&(n.delete(f),r.delete(f));for(let f of d.addedNodes)(f instanceof HTMLElement||f instanceof SVGElement)&&(f.dataset.liveAnnouncer==="true"||f.dataset.reactAriaTopLayer==="true")?n.add(f):f instanceof Element&&i(f)}});o.observe(t,{childList:!0,subtree:!0});let u={observe(){o.observe(t,{childList:!0,subtree:!0})},disconnect(){o.disconnect()}};return Yr.push(u),()=>{o.disconnect();for(let l of r){let d=Fl.get(l);d!=null&&(d===1?(l.removeAttribute("aria-hidden"),Fl.delete(l)):Fl.set(l,d-1))}u===Yr[Yr.length-1]?(Yr.pop(),Yr.length&&Yr[Yr.length-1].observe()):Yr.splice(Yr.indexOf(u),1)}}function jW(e,t){let{triggerRef:n,popoverRef:r,isNonModal:i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:o,...u}=e,{overlayProps:l,underlayProps:d}=FW({isOpen:t.isOpen&&!u["data-react-aria-top-layer"],onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:o},r),{overlayProps:f,arrowProps:h,placement:p}=RW({...u,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:i?t.close:null});return BW({isDisabled:i||!t.isOpen}),Lt(()=>{if(t.isOpen&&!i&&r.current)return C_([r.current])},[i,t.isOpen,r]),{popoverProps:xt(l,f),arrowProps:h,underlayProps:d,placement:p}}const KW=x.createContext({});function UW(){var e;return(e=x.useContext(KW))!==null&&e!==void 0?e:{}}const E_=x.createContext(null);function zW(e){let t=E1(),{portalContainer:n=t?null:document.body,isExiting:r}=e,[i,a]=x.useState(!1),o=x.useMemo(()=>({contain:i,setContain:a}),[i,a]),{getContainer:u}=UW();if(!e.portalContainer&&u&&(n=u()),!n)return null;let l=e.children;return e.disableFocusManagement||(l=x.createElement($z,{restoreFocus:!0,contain:i&&!r},l)),l=x.createElement(E_.Provider,{value:o},x.createElement(uz,null,l)),uo.createPortal(l,n)}function qW(){let e=x.useContext(E_),t=e==null?void 0:e.setContain;Lt(()=>{t==null||t(!0)},[t])}const dp=new WeakMap;function WW(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function S_(e,t){let n=dp.get(e);if(!n)throw new Error("Unknown list");return`${n.id}-option-${WW(t)}`}function f0(e){return Bf()?e.altKey:e.ctrlKey}const HW=1e3;function GW(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,i=x.useRef({search:"",timeout:void 0}).current,a=o=>{let u=YW(o.key);if(!(!u||o.ctrlKey||o.metaKey||!o.currentTarget.contains(o.target))){if(u===" "&&i.search.trim().length>0&&(o.preventDefault(),"continuePropagation"in o||o.stopPropagation()),i.search+=u,t.getKeyForSearch!=null){let l=t.getKeyForSearch(i.search,n.focusedKey);l==null&&(l=t.getKeyForSearch(i.search)),l!=null&&(n.setFocusedKey(l),r&&r(l))}clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},HW)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0}}}function YW(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function A_(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:i=!1,shouldFocusWrap:a=!1,disallowEmptySelection:o=!1,disallowSelectAll:u=!1,selectOnFocus:l=t.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:f,allowsTabNavigation:h=!1,isVirtualized:p,scrollRef:g=r,linkBehavior:y="action"}=e,{direction:$}=Qn(),C=tp(),b=O=>{var B;if(O.altKey&&O.key==="Tab"&&O.preventDefault(),!(!((B=r.current)===null||B===void 0)&&B.contains(O.target)))return;const q=(Y,he)=>{if(Y!=null){if(t.isLink(Y)&&y==="selection"&&l&&!f0(O)){var ye;uo.flushSync(()=>{t.setFocusedKey(Y,he)});let fe=(ye=g.current)===null||ye===void 0?void 0:ye.querySelector(`[data-key="${CSS.escape(Y.toString())}"]`),oe=t.getItemProps(Y);fe&&C.open(fe,O,oe.href,oe.routerOptions);return}if(t.setFocusedKey(Y,he),t.isLink(Y)&&y==="override")return;O.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(Y):l&&!f0(O)&&t.replaceSelection(Y)}};switch(O.key){case"ArrowDown":if(n.getKeyBelow){var k,V,_;let Y=t.focusedKey!=null?(k=n.getKeyBelow)===null||k===void 0?void 0:k.call(n,t.focusedKey):(V=n.getFirstKey)===null||V===void 0?void 0:V.call(n);Y==null&&a&&(Y=(_=n.getFirstKey)===null||_===void 0?void 0:_.call(n,t.focusedKey)),Y!=null&&(O.preventDefault(),q(Y))}break;case"ArrowUp":if(n.getKeyAbove){var H,z,N;let Y=t.focusedKey!=null?(H=n.getKeyAbove)===null||H===void 0?void 0:H.call(n,t.focusedKey):(z=n.getLastKey)===null||z===void 0?void 0:z.call(n);Y==null&&a&&(Y=(N=n.getLastKey)===null||N===void 0?void 0:N.call(n,t.focusedKey)),Y!=null&&(O.preventDefault(),q(Y))}break;case"ArrowLeft":if(n.getKeyLeftOf){var ne,ie,le;let Y=t.focusedKey!=null?(ne=n.getKeyLeftOf)===null||ne===void 0?void 0:ne.call(n,t.focusedKey):null;Y==null&&a&&(Y=$==="rtl"?(ie=n.getFirstKey)===null||ie===void 0?void 0:ie.call(n,t.focusedKey):(le=n.getLastKey)===null||le===void 0?void 0:le.call(n,t.focusedKey)),Y!=null&&(O.preventDefault(),q(Y,$==="rtl"?"first":"last"))}break;case"ArrowRight":if(n.getKeyRightOf){var $e,De,Ce;let Y=t.focusedKey!=null?($e=n.getKeyRightOf)===null||$e===void 0?void 0:$e.call(n,t.focusedKey):null;Y==null&&a&&(Y=$==="rtl"?(De=n.getLastKey)===null||De===void 0?void 0:De.call(n,t.focusedKey):(Ce=n.getFirstKey)===null||Ce===void 0?void 0:Ce.call(n,t.focusedKey)),Y!=null&&(O.preventDefault(),q(Y,$==="rtl"?"last":"first"))}break;case"Home":if(n.getFirstKey){if(t.focusedKey===null&&O.shiftKey)return;O.preventDefault();let Y=n.getFirstKey(t.focusedKey,Js(O));t.setFocusedKey(Y),Y!=null&&(Js(O)&&O.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(Y):l&&t.replaceSelection(Y))}break;case"End":if(n.getLastKey){if(t.focusedKey===null&&O.shiftKey)return;O.preventDefault();let Y=n.getLastKey(t.focusedKey,Js(O));t.setFocusedKey(Y),Y!=null&&(Js(O)&&O.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(Y):l&&t.replaceSelection(Y))}break;case"PageDown":if(n.getKeyPageBelow&&t.focusedKey!=null){let Y=n.getKeyPageBelow(t.focusedKey);Y!=null&&(O.preventDefault(),q(Y))}break;case"PageUp":if(n.getKeyPageAbove&&t.focusedKey!=null){let Y=n.getKeyPageAbove(t.focusedKey);Y!=null&&(O.preventDefault(),q(Y))}break;case"a":Js(O)&&t.selectionMode==="multiple"&&u!==!0&&(O.preventDefault(),t.selectAll());break;case"Escape":!o&&t.selectedKeys.size!==0&&(O.stopPropagation(),O.preventDefault(),t.clearSelection());break;case"Tab":if(!h){if(O.shiftKey)r.current.focus();else{let Y=wr(r.current,{tabbable:!0}),he,ye;do ye=Y.lastChild(),ye&&(he=ye);while(ye);he&&!he.contains(document.activeElement)&&vi(he)}break}}},v=x.useRef({top:0,left:0});ji(g,"scroll",p?void 0:()=>{var O,B,q,k;v.current={top:(q=(O=g.current)===null||O===void 0?void 0:O.scrollTop)!==null&&q!==void 0?q:0,left:(k=(B=g.current)===null||B===void 0?void 0:B.scrollLeft)!==null&&k!==void 0?k:0}});let D=O=>{if(t.isFocused){O.currentTarget.contains(O.target)||t.setFocused(!1);return}if(O.currentTarget.contains(O.target)){if(t.setFocused(!0),t.focusedKey==null){var B,q;let _=z=>{z!=null&&(t.setFocusedKey(z),l&&t.replaceSelection(z))},H=O.relatedTarget;var k,V;H&&O.currentTarget.compareDocumentPosition(H)&Node.DOCUMENT_POSITION_FOLLOWING?_((k=t.lastSelectedKey)!==null&&k!==void 0?k:(B=n.getLastKey)===null||B===void 0?void 0:B.call(n)):_((V=t.firstSelectedKey)!==null&&V!==void 0?V:(q=n.getFirstKey)===null||q===void 0?void 0:q.call(n))}else!p&&g.current&&(g.current.scrollTop=v.current.top,g.current.scrollLeft=v.current.left);if(t.focusedKey!=null&&g.current){let _=g.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);_&&(_.contains(document.activeElement)||vi(_),yc()==="keyboard"&&uh(_,{containingElement:r.current}))}}},A=O=>{O.currentTarget.contains(O.relatedTarget)||t.setFocused(!1)},E=x.useRef(!1);ji(r,XU,f?O=>{let{detail:B}=O;O.stopPropagation(),t.setFocused(!0),(B==null?void 0:B.focusStrategy)==="first"&&(E.current=!0)}:void 0);let T=fn(()=>{var O,B;let q=(B=(O=n.getFirstKey)===null||O===void 0?void 0:O.call(n))!==null&&B!==void 0?B:null;if(q==null){var k;(k=r.current)===null||k===void 0||k.dispatchEvent(new CustomEvent(CT,{cancelable:!0,bubbles:!0})),t.collection.size>0&&(E.current=!1)}else t.setFocusedKey(q),E.current=!1});Ow(()=>{E.current&&T()},[t.collection,T]);let R=fn(()=>{t.collection.size>0&&(E.current=!1)});Ow(()=>{R()},[t.focusedKey,R]),ji(r,JU,f?O=>{O.stopPropagation(),t.setFocused(!1),t.setFocusedKey(null)}:void 0);const S=x.useRef(i);x.useEffect(()=>{if(S.current){var O,B;let V=null;var q;i==="first"&&(V=(q=(O=n.getFirstKey)===null||O===void 0?void 0:O.call(n))!==null&&q!==void 0?q:null);var k;i==="last"&&(V=(k=(B=n.getLastKey)===null||B===void 0?void 0:B.call(n))!==null&&k!==void 0?k:null);let _=t.selectedKeys;if(_.size){for(let H of _)if(t.canSelectItem(H)){V=H;break}}t.setFocused(!0),t.setFocusedKey(V),V==null&&!f&&r.current&&ds(r.current)}},[]);let U=x.useRef(t.focusedKey);x.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==U.current||S.current)&&g.current&&r.current){let O=yc(),B=r.current.querySelector(`[data-key="${CSS.escape(t.focusedKey.toString())}"]`);if(!B)return;(O==="keyboard"||S.current)&&(wT(g.current,B),O!=="virtual"&&uh(B,{containingElement:r.current}))}!f&&t.isFocused&&t.focusedKey==null&&U.current!=null&&r.current&&ds(r.current),U.current=t.focusedKey,S.current=!1}),ji(r,"react-aria-focus-scope-restore",O=>{O.preventDefault(),t.setFocused(!0)});let j={onKeyDown:b,onFocus:D,onBlur:A,onMouseDown(O){g.current===O.target&&O.preventDefault()}},{typeSelectProps:M}=GW({keyboardDelegate:n,selectionManager:t});d||(j=xt(M,j));let X;return f?X=-1:X=t.focusedKey==null?0:-1,{collectionProps:{...j,tabIndex:X}}}function ZW(e){let{id:t,selectionManager:n,key:r,ref:i,shouldSelectOnPressUp:a,shouldUseVirtualFocus:o,focus:u,isDisabled:l,onAction:d,allowsDifferentPressOrigin:f,linkBehavior:h="action"}=e,p=tp();t=Cr(t);let g=_=>{if(_.pointerType==="keyboard"&&f0(_))n.toggleSelection(r);else{if(n.selectionMode==="none")return;if(n.isLink(r)){if(h==="selection"&&i.current){let H=n.getItemProps(r);p.open(i.current,_,H.href,H.routerOptions),n.setSelectedKeys(n.selectedKeys);return}else if(h==="override"||h==="none")return}n.selectionMode==="single"?n.isSelected(r)&&!n.disallowEmptySelection?n.toggleSelection(r):n.replaceSelection(r):_&&_.shiftKey?n.extendSelection(r):n.selectionBehavior==="toggle"||_&&(Js(_)||_.pointerType==="touch"||_.pointerType==="virtual")?n.toggleSelection(r):n.replaceSelection(r)}};x.useEffect(()=>{if(r===n.focusedKey&&n.isFocused)if(!o)u?u():document.activeElement!==i.current&&i.current&&ds(i.current);else{var H;let z=new CustomEvent(CT,{cancelable:!0,bubbles:!0});(H=i.current)===null||H===void 0||H.dispatchEvent(z)}},[i,r,n.focusedKey,n.childFocusStrategy,n.isFocused,o]),l=l||n.isDisabled(r);let y={};!o&&!l?y={tabIndex:r===n.focusedKey?0:-1,onFocus(_){_.target===i.current&&n.setFocusedKey(r)}}:l&&(y.onMouseDown=_=>{_.preventDefault()});let $=n.isLink(r)&&h==="override",C=n.isLink(r)&&h!=="selection"&&h!=="none",b=!l&&n.canSelectItem(r)&&!$,v=(d||C)&&!l,D=v&&(n.selectionBehavior==="replace"?!b:!b||n.isEmpty),A=v&&b&&n.selectionBehavior==="replace",E=D||A,T=x.useRef(null),R=E&&b,S=x.useRef(!1),U=x.useRef(!1),j=_=>{if(d&&d(),C&&i.current){let H=n.getItemProps(r);p.open(i.current,_,H.href,H.routerOptions)}},M={};a?(M.onPressStart=_=>{T.current=_.pointerType,S.current=R,_.pointerType==="keyboard"&&(!E||OD())&&g(_)},f?(M.onPressUp=D?void 0:_=>{_.pointerType==="mouse"&&b&&g(_)},M.onPress=D?j:_=>{_.pointerType!=="keyboard"&&_.pointerType!=="mouse"&&b&&g(_)}):M.onPress=_=>{if(D||A&&_.pointerType!=="mouse"){if(_.pointerType==="keyboard"&&!RD())return;j(_)}else _.pointerType!=="keyboard"&&b&&g(_)}):(M.onPressStart=_=>{T.current=_.pointerType,S.current=R,U.current=D,b&&(_.pointerType==="mouse"&&!D||_.pointerType==="keyboard"&&(!v||OD()))&&g(_)},M.onPress=_=>{(_.pointerType==="touch"||_.pointerType==="pen"||_.pointerType==="virtual"||_.pointerType==="keyboard"&&E&&RD()||_.pointerType==="mouse"&&U.current)&&(E?j(_):b&&g(_))}),y["data-key"]=r,M.preventFocusOnPress=o;let{pressProps:X,isPressed:O}=Uc(M),B=A?_=>{T.current==="mouse"&&(_.stopPropagation(),_.preventDefault(),j(_))}:void 0,{longPressProps:q}=IT({isDisabled:!R,onLongPress(_){_.pointerType==="touch"&&(g(_),n.setSelectionBehavior("toggle"))}}),k=_=>{T.current==="touch"&&S.current&&_.preventDefault()},V=n.isLink(r)?_=>{ls.isOpening||_.preventDefault()}:void 0;return{itemProps:xt(y,b||D?X:{},R?q:{},{onDoubleClick:B,onDragStartCapture:k,onClick:V,id:t}),isPressed:O,isSelected:n.isSelected(r),isFocused:n.isFocused&&n.focusedKey===r,isDisabled:l,allowsSelection:b,hasAction:E}}function RD(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function OD(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class MD{getItemRect(t){let n=this.ref.current;if(!n)return null;let r=t!=null?n.querySelector(`[data-key="${CSS.escape(t.toString())}"]`):null;if(!r)return null;let i=n.getBoundingClientRect(),a=r.getBoundingClientRect();return{x:a.left-i.left+n.scrollLeft,y:a.top-i.top+n.scrollTop,width:a.width,height:a.height}}getContentSize(){let t=this.ref.current;var n,r;return{width:(n=t==null?void 0:t.scrollWidth)!==null&&n!==void 0?n:0,height:(r=t==null?void 0:t.scrollHeight)!==null&&r!==void 0?r:0}}getVisibleRect(){let t=this.ref.current;var n,r,i,a;return{x:(n=t==null?void 0:t.scrollLeft)!==null&&n!==void 0?n:0,y:(r=t==null?void 0:t.scrollTop)!==null&&r!==void 0?r:0,width:(i=t==null?void 0:t.offsetWidth)!==null&&i!==void 0?i:0,height:(a=t==null?void 0:t.offsetHeight)!==null&&a!==void 0?a:0}}constructor(t){this.ref=t}}class T_{isDisabled(t){var n;return this.disabledBehavior==="all"&&(((n=t.props)===null||n===void 0?void 0:n.isDisabled)||this.disabledKeys.has(t.key))}findNextNonDisabled(t,n){let r=t;for(;r!=null;){let i=this.collection.getItem(r);if((i==null?void 0:i.type)==="item"&&!this.isDisabled(i))return r;r=n(r)}return null}getNextKey(t){let n=t;return n=this.collection.getKeyAfter(n),this.findNextNonDisabled(n,r=>this.collection.getKeyAfter(r))}getPreviousKey(t){let n=t;return n=this.collection.getKeyBefore(n),this.findNextNonDisabled(n,r=>this.collection.getKeyBefore(r))}findKey(t,n,r){let i=t,a=this.layoutDelegate.getItemRect(i);if(!a||i==null)return null;let o=a;do{if(i=n(i),i==null)break;a=this.layoutDelegate.getItemRect(i)}while(a&&r(o,a)&&i!=null);return i}isSameRow(t,n){return t.y===n.y||t.x!==n.x}isSameColumn(t,n){return t.x===n.x||t.y!==n.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getNextKey(n),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getPreviousKey(n),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,n){return n?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let n=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,r=>this.layoutDelegate[n](r))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let n=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,r=>this.layoutDelegate[n](r))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,n=>this.collection.getKeyAfter(n))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,n=>this.collection.getKeyBefore(n))}getKeyPageAbove(t){let n=this.ref.current,r=this.layoutDelegate.getItemRect(t);if(!r)return null;if(n&&!gc(n))return this.getFirstKey();let i=t;if(this.orientation==="horizontal"){let a=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>a&&i!=null;)i=this.getKeyAbove(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}else{let a=Math.max(0,r.y+r.height-this.layoutDelegate.getVisibleRect().height);for(;r&&r.y>a&&i!=null;)i=this.getKeyAbove(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getFirstKey()}getKeyPageBelow(t){let n=this.ref.current,r=this.layoutDelegate.getItemRect(t);if(!r)return null;if(n&&!gc(n))return this.getLastKey();let i=t;if(this.orientation==="horizontal"){let a=Math.min(this.layoutDelegate.getContentSize().width,r.y-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.x<a&&i!=null;)i=this.getKeyBelow(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}else{let a=Math.min(this.layoutDelegate.getContentSize().height,r.y-r.height+this.layoutDelegate.getVisibleRect().height);for(;r&&r.y<a&&i!=null;)i=this.getKeyBelow(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getLastKey()}getKeyForSearch(t,n){if(!this.collator)return null;let r=this.collection,i=n||this.getFirstKey();for(;i!=null;){let a=r.getItem(i);if(!a)return null;let o=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(o,t)===0)return i;i=this.getNextKey(i)}return null}constructor(...t){if(t.length===1){let n=t[0];this.collection=n.collection,this.ref=n.ref,this.collator=n.collator,this.disabledKeys=n.disabledKeys||new Set,this.disabledBehavior=n.disabledBehavior||"all",this.orientation=n.orientation||"vertical",this.direction=n.direction,this.layout=n.layout||"stack",this.layoutDelegate=n.layoutDelegate||new MD(n.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new MD(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function JW(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:i,keyboardDelegate:a,layoutDelegate:o}=e,u=bP({usage:"search",sensitivity:"base"}),l=t.disabledBehavior,d=x.useMemo(()=>a||new T_({collection:n,disabledKeys:r,disabledBehavior:l,ref:i,collator:u,layoutDelegate:o}),[a,o,n,r,i,u,l]),{collectionProps:f}=A_({...e,ref:i,selectionManager:t,keyboardDelegate:d});return{listProps:f}}function XW(e,t,n){let r=Pa(e,{labelable:!0}),i=e.selectionBehavior||"toggle",a=e.linkBehavior||(i==="replace"?"action":"override");i==="toggle"&&a==="action"&&(a="override");let{listProps:o}=JW({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:u}=qu({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),l=Cr(e.id);dp.set(t,{id:l,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:d,fieldProps:f}=lp({...e,id:l,labelElementType:"span"});return{labelProps:d,listBoxProps:xt(r,u,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...xt(f,o)})}}function P_(e){return null}P_.getCollectionNode=function*(t,n){let{childItems:r,title:i,children:a}=t,o=t.title||t.children,u=t.textValue||(typeof o=="string"?o:"")||t["aria-label"]||"";!u&&!(n!=null&&n.suppressTextValueWarning)&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:o,textValue:u,"aria-label":t["aria-label"],hasChildNodes:QW(t),*childNodes(){if(r)for(let l of r)yield{type:"item",value:l};else if(i){let l=[];x.Children.forEach(a,d=>{l.push({type:"item",element:d})}),yield*l}}}};function QW(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&x.Children.count(e.children)>0)}let eH=P_;class tH{build(t,n){return this.context=n,FD(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:n,items:r}=t;if(x.isValidElement(n)&&n.type===x.Fragment)yield*this.iterateCollection({children:n.props.children,items:r});else if(typeof n=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");let i=0;for(let a of r)yield*this.getFullNode({value:a,index:i},{renderer:n}),i++}else{let i=[];x.Children.forEach(n,o=>{o&&i.push(o)});let a=0;for(let o of i){let u=this.getFullNode({element:o,index:a},{});for(let l of u)a++,yield l}}}getKey(t,n,r,i){if(t.key!=null)return t.key;if(n.type==="cell"&&n.key!=null)return`${i}${n.key}`;let a=n.value;if(a!=null){var o;let u=(o=a.key)!==null&&o!==void 0?o:a.id;if(u==null)throw new Error("No key found for item");return u}return i?`${i}.${n.index}`:`$.${n.index}`}getChildState(t,n){return{renderer:n.renderer||t.renderer}}*getFullNode(t,n,r,i){if(x.isValidElement(t.element)&&t.element.type===x.Fragment){let C=[];x.Children.forEach(t.element.props.children,v=>{C.push(v)});var a;let b=(a=t.index)!==null&&a!==void 0?a:0;for(const v of C)yield*this.getFullNode({element:v,index:b++},n,r,i);return}let o=t.element;if(!o&&t.value&&n&&n.renderer){let C=this.cache.get(t.value);if(C&&(!C.shouldInvalidate||!C.shouldInvalidate(this.context))){C.index=t.index,C.parentKey=i?i.key:null,yield C;return}o=n.renderer(t.value)}if(x.isValidElement(o)){let C=o.type;if(typeof C!="function"&&typeof C.getCollectionNode!="function"){let A=o.type;throw new Error(`Unknown element <${A}> in collection.`)}let b=C.getCollectionNode(o.props,this.context);var u;let v=(u=t.index)!==null&&u!==void 0?u:0,D=b.next();for(;!D.done&&D.value;){let A=D.value;t.index=v;var l;let E=(l=A.key)!==null&&l!==void 0?l:null;E==null&&(E=A.element?null:this.getKey(o,t,n,r));let R=[...this.getFullNode({...A,key:E,index:v,wrapper:nH(t.wrapper,A.wrapper)},this.getChildState(n,A),r?`${r}${o.key}`:o.key,i)];for(let S of R){var d,f;S.value=(f=(d=A.value)!==null&&d!==void 0?d:t.value)!==null&&f!==void 0?f:null,S.value&&this.cache.set(S.value,S);var h;if(t.type&&S.type!==t.type)throw new Error(`Unsupported type <${Pg(S.type)}> in <${Pg((h=i==null?void 0:i.type)!==null&&h!==void 0?h:"unknown parent type")}>. Only <${Pg(t.type)}> is supported.`);v++,yield S}D=b.next(R)}return}if(t.key==null||t.type==null)return;let p=this;var g,y;let $={type:t.type,props:t.props,key:t.key,parentKey:i?i.key:null,value:(g=t.value)!==null&&g!==void 0?g:null,level:i?i.level+1:0,index:t.index,rendered:t.rendered,textValue:(y=t.textValue)!==null&&y!==void 0?y:"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:FD(function*(){if(!t.hasChildNodes||!t.childNodes)return;let C=0;for(let b of t.childNodes()){b.key!=null&&(b.key=`${$.key}${b.key}`);let v=p.getFullNode({...b,index:C},p.getChildState(n,b),$.key,$);for(let D of v)C++,yield D}})};yield $}constructor(){this.cache=new WeakMap}}function FD(e){let t=[],n=null;return{*[Symbol.iterator](){for(let r of t)yield r;n||(n=e());for(let r of n)t.push(r),yield r}}}function nH(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function Pg(e){return e[0].toUpperCase()+e.slice(1)}function rH(e,t,n){let r=x.useMemo(()=>new tH,[]),{children:i,items:a,collection:o}=e;return x.useMemo(()=>{if(o)return o;let l=r.build({children:i,items:a},n);return t(l)},[r,i,a,o,n,t])}function fp(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function iH(e){return aH(e)}function aH(e,t){for(let n of e)return n}function _g(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...kD(e,t),t],i=[...kD(e,n),n],a=r.slice(0,i.length).findIndex((o,u)=>o!==i[u]);return a!==-1?(t=r[a],n=i[a],t.index-n.index):r.findIndex(o=>o===n)>=0?1:(i.findIndex(o=>o===t)>=0,-1)}function kD(e,t){let n=[],r=t;for(;(r==null?void 0:r.parentKey)!=null;)r=e.getItem(r.parentKey),r&&n.unshift(r);return n}const ID=new WeakMap;function __(e){let t=ID.get(e);if(t!=null)return t;let n=0,r=i=>{for(let a of i)a.type==="section"?r(fp(a,e)):n++};return r(e),ID.set(e,n),n}function oH(e,t,n){var r,i;let{key:a}=e,o=dp.get(t);var u;let l=(u=e.isDisabled)!==null&&u!==void 0?u:t.selectionManager.isDisabled(a);var d;let f=(d=e.isSelected)!==null&&d!==void 0?d:t.selectionManager.isSelected(a);var h;let p=(h=e.shouldSelectOnPressUp)!==null&&h!==void 0?h:o==null?void 0:o.shouldSelectOnPressUp;var g;let y=(g=e.shouldFocusOnHover)!==null&&g!==void 0?g:o==null?void 0:o.shouldFocusOnHover;var $;let C=($=e.shouldUseVirtualFocus)!==null&&$!==void 0?$:o==null?void 0:o.shouldUseVirtualFocus;var b;let v=(b=e.isVirtualized)!==null&&b!==void 0?b:o==null?void 0:o.isVirtualized,D=Eu(),A=Eu(),E={role:"option","aria-disabled":l||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?f:void 0};Sa()&&A1()||(E["aria-label"]=e["aria-label"],E["aria-labelledby"]=D,E["aria-describedby"]=A);let T=t.collection.getItem(a);if(v){let V=Number(T==null?void 0:T.index);E["aria-posinset"]=Number.isNaN(V)?void 0:V+1,E["aria-setsize"]=__(t.collection)}let R=o!=null&&o.onAction?()=>{var V;return o==null||(V=o.onAction)===null||V===void 0?void 0:V.call(o,a)}:void 0,S=S_(t,a),{itemProps:U,isPressed:j,isFocused:M,hasAction:X,allowsSelection:O}=ZW({selectionManager:t.selectionManager,key:a,ref:n,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&y,isVirtualized:v,shouldUseVirtualFocus:C,isDisabled:l,onAction:R||!(T==null||(r=T.props)===null||r===void 0)&&r.onAction?us(T==null||(i=T.props)===null||i===void 0?void 0:i.onAction,R):void 0,linkBehavior:o==null?void 0:o.linkBehavior,id:S}),{hoverProps:B}=mz({isDisabled:l||!y,onHoverStart(){Nw()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),q=Pa(T==null?void 0:T.props);delete q.id;let k=WU(T==null?void 0:T.props);return{optionProps:{...E,...xt(q,U,B,k),id:S},labelProps:{id:D},descriptionProps:{id:A},isFocused:M,isFocusVisible:M&&Nw(),isSelected:f,isDisabled:l,isPressed:j,allowsSelection:O,hasAction:X}}var R_={};R_={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var O_={};O_={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var M_={};M_={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var F_={};F_={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var k_={};k_={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var I_={};I_={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var B_={};B_={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var L_={};L_={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var V_={};V_={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var N_={};N_={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var j_={};j_={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var K_={};K_={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var U_={};U_={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var z_={};z_={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var q_={};q_={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var W_={};W_={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var H_={};H_={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var G_={};G_={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Y_={};Y_={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Z_={};Z_={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var J_={};J_={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var X_={};X_={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Q_={};Q_={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var eR={};eR={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var tR={};tR={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var nR={};nR={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var rR={};rR={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var iR={};iR={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var aR={};aR={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var oR={};oR={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var sR={};sR={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var uR={};uR={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var lR={};lR={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var cR={};cR={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var dR={};dR={"ar-AE":R_,"bg-BG":O_,"cs-CZ":M_,"da-DK":F_,"de-DE":k_,"el-GR":I_,"en-US":B_,"es-ES":L_,"et-EE":V_,"fi-FI":N_,"fr-FR":j_,"he-IL":K_,"hr-HR":U_,"hu-HU":z_,"it-IT":q_,"ja-JP":W_,"ko-KR":H_,"lt-LT":G_,"lv-LV":Y_,"nb-NO":Z_,"nl-NL":J_,"pl-PL":X_,"pt-BR":Q_,"pt-PT":eR,"ro-RO":tR,"ru-RU":nR,"sk-SK":rR,"sl-SI":iR,"sr-SP":aR,"sv-SE":oR,"tr-TR":sR,"uk-UA":uR,"zh-CN":lR,"zh-TW":cR};function sH(e){return e&&e.__esModule?e.default:e}function uH(e,t,n){let{type:r="menu",isDisabled:i,trigger:a="press"}=e,o=Cr(),{triggerProps:u,overlayProps:l}=kW({type:r},t,n),d=g=>{if(!i&&!(a==="longPress"&&!g.altKey)&&n&&n.current)switch(g.key){case"Enter":case" ":if(a==="longPress")return;case"ArrowDown":"continuePropagation"in g||g.stopPropagation(),g.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in g||g.stopPropagation(),g.preventDefault(),t.toggle("last");break;default:"continuePropagation"in g&&g.continuePropagation()}},f=ta(sH(dR),"@react-aria/menu"),{longPressProps:h}=IT({isDisabled:i||a!=="longPress",accessibilityDescription:f.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={onPressStart(g){g.pointerType!=="touch"&&g.pointerType!=="keyboard"&&!i&&t.open(g.pointerType==="virtual"?"first":null)},onPress(g){g.pointerType==="touch"&&!i&&t.toggle()}};return delete u.onPress,{menuTriggerProps:{...u,...a==="press"?p:h,id:o,onKeyDown:d},menuProps:{...l,"aria-labelledby":o,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function lH(e){return e&&e.__esModule?e.default:e}function cH(e,t){let{buttonRef:n,popoverRef:r,inputRef:i,listBoxRef:a,keyboardDelegate:o,layoutDelegate:u,shouldFocusWrap:l,isReadOnly:d,isDisabled:f}=e,h=x.useRef(null);n=n??h;let p=ta(lH(x_),"@react-aria/combobox"),{menuTriggerProps:g,menuProps:y}=uH({type:"listbox",isDisabled:f||d},t,n);dp.set(t,{id:y.id});let{collection:$}=t,{disabledKeys:C}=t.selectionManager,b=x.useMemo(()=>o||new T_({collection:$,disabledKeys:C,ref:a,layoutDelegate:u}),[o,u,$,C,a]),{collectionProps:v}=A_({selectionManager:t.selectionManager,keyboardDelegate:b,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:l,ref:i,isVirtualized:!0}),D=tp(),A=fe=>{if(!fe.nativeEvent.isComposing)switch(fe.key){case"Enter":case"Tab":if(t.isOpen&&fe.key==="Enter"&&fe.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let oe=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(fe.key==="Enter"&&oe instanceof HTMLAnchorElement){let Fe=t.collection.getItem(t.selectionManager.focusedKey);Fe&&D.open(oe,fe,Fe.props.href,Fe.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&fe.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},E=fe=>{var oe;let Fe=(n==null?void 0:n.current)&&n.current===fe.relatedTarget,et=(oe=r.current)===null||oe===void 0?void 0:oe.contains(fe.relatedTarget);Fe||et||(e.onBlur&&e.onBlur(fe),t.setFocused(!1))},T=fe=>{t.isFocused||(e.onFocus&&e.onFocus(fe),t.setFocused(!0))},{isInvalid:R,validationErrors:S,validationDetails:U}=t.displayValidation,{labelProps:j,inputProps:M,descriptionProps:X,errorMessageProps:O}=$W({...e,onChange:t.setInputValue,onKeyDown:d?e.onKeyDown:us(t.isOpen&&v.onKeyDown,A,e.onKeyDown),onBlur:E,value:t.inputValue,onFocus:T,autoComplete:"off",validate:void 0,[Pu]:t},i),B=fe=>{if(fe.pointerType==="touch"){var oe;(oe=i.current)===null||oe===void 0||oe.focus(),t.toggle(null,"manual")}},q=fe=>{if(fe.pointerType!=="touch"){var oe;(oe=i.current)===null||oe===void 0||oe.focus(),t.toggle(fe.pointerType==="keyboard"||fe.pointerType==="virtual"?"first":null,"manual")}},k=Su({id:g.id,"aria-label":p.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||j.id}),V=Su({id:y.id,"aria-label":p.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||j.id}),_=x.useRef(0),H=fe=>{if(f||d)return;if(fe.timeStamp-_.current<500){var oe;fe.preventDefault(),(oe=i.current)===null||oe===void 0||oe.focus();return}let Fe=fe.target.getBoundingClientRect(),et=fe.changedTouches[0],dt=Math.ceil(Fe.left+.5*Fe.width),Dn=Math.ceil(Fe.top+.5*Fe.height);if(et.clientX===dt&&et.clientY===Dn){var yt;fe.preventDefault(),(yt=i.current)===null||yt===void 0||yt.focus(),t.toggle(null,"manual"),_.current=fe.timeStamp}},z=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var N;let ne=(N=z==null?void 0:z.parentKey)!==null&&N!==void 0?N:null;var ie;let le=(ie=t.selectionManager.focusedKey)!==null&&ie!==void 0?ie:null,$e=x.useRef(ne),De=x.useRef(le);x.useEffect(()=>{if(Bf()&&z!=null&&le!=null&&le!==De.current){let oe=t.selectionManager.isSelected(le),Fe=ne!=null?t.collection.getItem(ne):null,et=(Fe==null?void 0:Fe["aria-label"])||(typeof(Fe==null?void 0:Fe.rendered)=="string"?Fe.rendered:"")||"";var fe;let dt=p.format("focusAnnouncement",{isGroupChange:(fe=Fe&&ne!==$e.current)!==null&&fe!==void 0?fe:!1,groupTitle:et,groupCount:Fe?[...fp(Fe,t.collection)].length:0,optionText:z["aria-label"]||z.textValue||"",isSelected:oe});pu(dt)}$e.current=ne,De.current=le});let Ce=__(t.collection),Y=x.useRef(Ce),he=x.useRef(t.isOpen);x.useEffect(()=>{let fe=t.isOpen!==he.current&&(t.selectionManager.focusedKey==null||Bf());if(t.isOpen&&(fe||Ce!==Y.current)){let oe=p.format("countAnnouncement",{optionCount:Ce});pu(oe)}Y.current=Ce,he.current=t.isOpen});let ye=x.useRef(t.selectedKey);return x.useEffect(()=>{if(Bf()&&t.isFocused&&t.selectedItem&&t.selectedKey!==ye.current){let fe=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",oe=p.format("selectedAnnouncement",{optionText:fe});pu(oe)}ye.current=t.selectedKey}),x.useEffect(()=>{if(t.isOpen)return C_([i.current,r.current].filter(fe=>fe!=null))},[t.isOpen,i,r]),{labelProps:j,buttonProps:{...g,...k,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:B,onPressStart:q,isDisabled:f||d},inputProps:xt(M,{role:"combobox","aria-expanded":g["aria-expanded"],"aria-controls":t.isOpen?y.id:void 0,"aria-autocomplete":"list","aria-activedescendant":z?S_(t,z.key):void 0,onTouchEnd:H,autoCorrect:"off",spellCheck:"false"}),listBoxProps:xt(y,V,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:X,errorMessageProps:O,isInvalid:R,validationErrors:S,validationDetails:U}}var fR={};fR={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var hR={};hR={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var pR={};pR={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var mR={};mR={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var gR={};gR={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var yR={};yR={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var vR={};vR={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var bR={};bR={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var $R={};$R={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var xR={};xR={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var wR={};wR={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var DR={};DR={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var CR={};CR={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var ER={};ER={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var SR={};SR={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var AR={};AR={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var TR={};TR={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var PR={};PR={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var _R={};_R={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var RR={};RR={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var OR={};OR={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var MR={};MR={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var FR={};FR={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var kR={};kR={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var IR={};IR={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var BR={};BR={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var LR={};LR={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var VR={};VR={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var NR={};NR={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var jR={};jR={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var KR={};KR={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var UR={};UR={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var zR={};zR={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var qR={};qR={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var Zc={};Zc={"ar-AE":fR,"bg-BG":hR,"cs-CZ":pR,"da-DK":mR,"de-DE":gR,"el-GR":yR,"en-US":vR,"es-ES":bR,"et-EE":$R,"fi-FI":xR,"fr-FR":wR,"he-IL":DR,"hr-HR":CR,"hu-HU":ER,"it-IT":SR,"ja-JP":AR,"ko-KR":TR,"lt-LT":PR,"lv-LV":_R,"nb-NO":RR,"nl-NL":OR,"pl-PL":MR,"pt-BR":FR,"pt-PT":kR,"ro-RO":IR,"ru-RU":BR,"sk-SK":LR,"sl-SI":VR,"sr-SP":NR,"sv-SE":jR,"tr-TR":KR,"uk-UA":UR,"zh-CN":zR,"zh-TW":qR};function G1(e,t,n){let{direction:r}=Qn(),i=x.useMemo(()=>ip(t),[t]),a=l=>{if(l.currentTarget.contains(l.target)&&(l.altKey&&(l.key==="ArrowDown"||l.key==="ArrowUp")&&"setOpen"in e&&(l.preventDefault(),l.stopPropagation(),e.setOpen(!0)),!n))switch(l.key){case"ArrowLeft":l.preventDefault(),l.stopPropagation(),r==="rtl"?i.focusNext():i.focusPrevious();break;case"ArrowRight":l.preventDefault(),l.stopPropagation(),r==="rtl"?i.focusPrevious():i.focusNext();break}},o=()=>{var l;if(!t.current)return;let d=(l=window.event)===null||l===void 0?void 0:l.target,f=wr(t.current,{tabbable:!0});if(d&&(f.currentNode=d,d=f.previousNode()),!d){let h;do h=f.lastChild(),h&&(d=h);while(h)}for(;d!=null&&d.hasAttribute("data-placeholder");){let h=f.previousNode();if(h&&h.hasAttribute("data-placeholder"))d=h;else break}d&&d.focus()},{pressProps:u}=Uc({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(l){l.pointerType==="mouse"&&o()},onPress(l){l.pointerType!=="mouse"&&o()}});return xt(u,{onKeyDown:a})}function dH(e){return e&&e.__esModule?e.default:e}const WR=new WeakMap,sc="__role_"+Date.now(),HR="__focusManager_"+Date.now();function GR(e,t,n){var r;let{isInvalid:i,validationErrors:a,validationDetails:o}=t.displayValidation,{labelProps:u,fieldProps:l,descriptionProps:d,errorMessageProps:f}=cp({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||a}),h=x.useRef(null),{focusWithinProps:p}=qu({...e,onFocusWithin(j){var M;h.current=t.value,(M=e.onFocus)===null||M===void 0||M.call(e,j)},onBlurWithin:j=>{var M;t.confirmPlaceholder(),t.value!==h.current&&t.commitValidation(),(M=e.onBlur)===null||M===void 0||M.call(e,j)},onFocusWithinChange:e.onFocusChange}),g=ta(dH(Zc),"@react-aria/datepicker"),y=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",$=t.maxGranularity==="hour"?"time":"date",C=t.value?g.format(y,{[$]:t.formatValue({month:"long"})}):"",b=jc(C),v=e[sc]==="presentation"?l["aria-describedby"]:[b["aria-describedby"],l["aria-describedby"]].filter(Boolean).join(" ")||void 0,D=e[HR],A=x.useMemo(()=>D||ip(n),[D,n]),E=G1(t,n,e[sc]==="presentation");WR.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[u.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:v,focusManager:A});let T=x.useRef(e.autoFocus),R;e[sc]==="presentation"?R={role:"presentation"}:R=xt(l,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":v}),x.useEffect(()=>{T.current&&A.focusFirst(),T.current=!1},[A]),P1(e.inputRef,t.value,t.setValue),a6({...e,focus(){A.focusFirst()}},t,e.inputRef);let S={type:"hidden",name:e.name,value:((r=t.value)===null||r===void 0?void 0:r.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(S.type="text",S.hidden=!0,S.required=e.isRequired,S.onChange=()=>{});let U=Pa(e);return{labelProps:{...u,onClick:()=>{A.focusFirst()}},fieldProps:xt(U,R,E,p,{onKeyDown(j){e.onKeyDown&&e.onKeyDown(j)},onKeyUp(j){e.onKeyUp&&e.onKeyUp(j)}}),inputProps:S,descriptionProps:d,errorMessageProps:f,isInvalid:i,validationErrors:a,validationDetails:o}}function fH(e,t,n){var r;let i=GR(e,t,n);return i.inputProps.value=((r=t.timeValue)===null||r===void 0?void 0:r.toString())||"",i}function hH(e){return e&&e.__esModule?e.default:e}function pH(e,t,n){let r=Cr(),i=Cr(),a=Cr(),o=ta(hH(Zc),"@react-aria/datepicker"),{isInvalid:u,validationErrors:l,validationDetails:d}=t.displayValidation,{labelProps:f,fieldProps:h,descriptionProps:p,errorMessageProps:g}=cp({...e,labelElementType:"span",isInvalid:u,errorMessage:e.errorMessage||l}),y=G1(t,n),$=h["aria-labelledby"]||h.id,{locale:C}=Qn(),b=t.formatValue(C,{month:"long"}),v=b?o.format("selectedDateDescription",{date:b}):"",D=jc(v),A=[D["aria-describedby"],h["aria-describedby"]].filter(Boolean).join(" ")||void 0,E=Pa(e),T=x.useMemo(()=>ip(n),[n]),{focusWithinProps:R}=qu({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:xt(E,y,h,D,R,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":$,"aria-describedby":A,onKeyDown(S){t.isOpen||e.onKeyDown&&e.onKeyDown(S)},onKeyUp(S){t.isOpen||e.onKeyUp&&e.onKeyUp(S)}}),labelProps:{...f,onClick:()=>{T.focusFirst()}},fieldProps:{...h,id:a,[sc]:"presentation","aria-describedby":A,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[Pu]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:g,buttonProps:{...D,id:r,"aria-haspopup":"dialog","aria-label":o.format("calendar"),"aria-labelledby":`${r} ${$}`,"aria-describedby":A,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:i,"aria-labelledby":`${r} ${$}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:u,validationErrors:l,validationDetails:d}}function mH(e){return e&&e.__esModule?e.default:e}function gH(){let{locale:e}=Qn(),t=KT(mH(Zc),"@react-aria/datepicker");return x.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new yH(e,t)}},[e,t])}class yH{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,n){this.locale=t,this.dictionary=n}}function vH(e,t,n){let r=x.useRef(""),{locale:i}=Qn(),a=gH(),{ariaLabel:o,ariaLabelledBy:u,ariaDescribedBy:l,focusManager:d}=WR.get(t),f=e.isPlaceholder?"":e.text,h=x.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=Ki({month:"long",timeZone:h.timeZone}),g=Ki({hour:"numeric",hour12:h.hour12,timeZone:h.timeZone});if(e.type==="month"&&!e.isPlaceholder){let _=p.format(t.dateValue);f=_!==f?`${f} – ${_}`:_}else e.type==="hour"&&!e.isPlaceholder&&(f=g.format(t.dateValue));let{spinButtonProps:y}=wW({value:e.value,textValue:f,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{r.current="",t.increment(e.type)},onDecrement:()=>{r.current="",t.decrement(e.type)},onIncrementPage:()=>{r.current="",t.incrementPage(e.type)},onDecrementPage:()=>{r.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{r.current="",e.maxValue!==void 0&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{r.current="",e.minValue!==void 0&&t.setSegment(e.type,e.minValue)}}),$=x.useMemo(()=>new vP(i,{maximumFractionDigits:0}),[i]),C=()=>{if(e.text===e.placeholder&&d.focusPrevious(),$.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let _=e.text.slice(0,-1),H=$.parse(_);_=H===0?"":_,_.length===0||H===0?t.clearSegment(e.type):t.setSegment(e.type,H),r.current=_}else e.type==="dayPeriod"&&t.clearSegment(e.type)},b=_=>{if(_.key==="a"&&(Sa()?_.metaKey:_.ctrlKey)&&_.preventDefault(),!(_.ctrlKey||_.metaKey||_.shiftKey||_.altKey))switch(_.key){case"Backspace":case"Delete":_.preventDefault(),_.stopPropagation(),C();break}},{startsWith:v}=$P({sensitivity:"base"}),D=Ki({hour:"numeric",hour12:!0}),A=x.useMemo(()=>{let _=new Date;return _.setHours(0),D.formatToParts(_).find(H=>H.type==="dayPeriod").value},[D]),E=x.useMemo(()=>{let _=new Date;return _.setHours(12),D.formatToParts(_).find(H=>H.type==="dayPeriod").value},[D]),T=Ki({year:"numeric",era:"narrow",timeZone:"UTC"}),R=x.useMemo(()=>{if(e.type!=="era")return[];let _=Qt(new pn(1,1,1),t.calendar),H=t.calendar.getEras().map(N=>{let ne=_.set({year:1,month:1,day:1,era:N}).toDate("UTC"),le=T.formatToParts(ne).find($e=>$e.type==="era").value;return{era:N,formatted:le}}),z=bH(H.map(N=>N.formatted));if(z)for(let N of H)N.formatted=N.formatted.slice(z);return H},[T,t.calendar,e.type]),S=_=>{if(t.isDisabled||t.isReadOnly)return;let H=r.current+_;switch(e.type){case"dayPeriod":if(v(A,_))t.setSegment("dayPeriod",0);else if(v(E,_))t.setSegment("dayPeriod",12);else break;d.focusNext();break;case"era":{let z=R.find(N=>v(N.formatted,_));z&&(t.setSegment("era",z.era),d.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!$.isValidPartialNumber(H))return;let z=$.parse(H),N=z,ne=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":z>11&&(N=$.parse(_));break;case"h12":ne=!1,z>12&&(N=$.parse(_));break}e.value!==void 0&&e.value>=12&&z>1&&(z+=12)}else e.maxValue!==void 0&&z>e.maxValue&&(N=$.parse(_));if(isNaN(z))return;let ie=N!==0||ne;ie&&t.setSegment(e.type,N),e.maxValue!==void 0&&(+(z+"0")>e.maxValue||H.length>=String(e.maxValue).length)?(r.current="",ie&&d.focusNext()):r.current=H;break}}},U=()=>{r.current="",n.current&&uh(n.current,{containingElement:np(n.current)});let _=window.getSelection();_==null||_.collapse(n.current)},j=x.useRef(typeof document<"u"?document:null);ji(j,"selectionchange",()=>{var _;let H=window.getSelection();H!=null&&H.anchorNode&&(!((_=n.current)===null||_===void 0)&&_.contains(H==null?void 0:H.anchorNode))&&H.collapse(n.current)});let M=x.useRef("");ji(n,"beforeinput",_=>{if(n.current)switch(_.preventDefault(),_.inputType){case"deleteContentBackward":case"deleteContentForward":$.isValidPartialNumber(e.text)&&!t.isReadOnly&&C();break;case"insertCompositionText":M.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:_.data!=null&&S(_.data);break}}),ji(n,"input",_=>{let{inputType:H,data:z}=_;switch(H){case"insertCompositionText":n.current&&(n.current.textContent=M.current),z!=null&&(v(A,z)||v(E,z))&&S(z);break}}),Lt(()=>{let _=n.current;return()=>{document.activeElement===_&&(d.focusPrevious()||d.focusNext())}},[n,d]);let X=Nc()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},O=x.useMemo(()=>t.segments.find(_=>_.isEditable),[t.segments]);e!==O&&!t.isInvalid&&(l=void 0);let B=Cr(),q=!t.isDisabled&&!t.isReadOnly&&e.isEditable,k=e.type==="literal"?"":a.of(e.type),V=Su({"aria-label":`${k}${o?`, ${o}`:""}${u?", ":""}`,"aria-labelledby":u});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:xt(y,V,{id:B,...X,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":l,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:q,suppressContentEditableWarning:q,spellCheck:q?"false":void 0,autoCorrect:q?"off":void 0,[parseInt(x.version,10)>=17?"enterKeyHint":"enterkeyhint"]:q?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!q?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:b,onFocus:U,style:{caretColor:"transparent"},onPointerDown(_){_.stopPropagation()},onMouseDown(_){_.stopPropagation()}})}}function bH(e){e.sort();let t=e[0],n=e[e.length-1];for(let r=0;r<t.length;r++)if(t[r]!==n[r])return r;return 0}function $H(e){return e&&e.__esModule?e.default:e}function xH(e,t,n){var r,i,a;let o=ta($H(Zc),"@react-aria/datepicker"),{isInvalid:u,validationErrors:l,validationDetails:d}=t.displayValidation,{labelProps:f,fieldProps:h,descriptionProps:p,errorMessageProps:g}=cp({...e,labelElementType:"span",isInvalid:u,errorMessage:e.errorMessage||l}),y=h["aria-labelledby"]||h.id,{locale:$}=Qn(),C=t.formatValue($,{month:"long"}),b=C?o.format("selectedRangeDescription",{startDate:C.start,endDate:C.end}):"",v=jc(b),D={"aria-label":o.format("startDate"),"aria-labelledby":y},A={"aria-label":o.format("endDate"),"aria-labelledby":y},E=Cr(),T=Cr(),R=G1(t,n),S=[v["aria-describedby"],h["aria-describedby"]].filter(Boolean).join(" ")||void 0,U=x.useMemo(()=>ip(n,{accept:V=>V.id!==E}),[n,E]),j={[HR]:U,[sc]:"presentation","aria-describedby":S,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},M=Pa(e),{focusWithinProps:X}=qu({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),O=x.useRef(Uo),B=x.useRef(Uo);var q,k;return{groupProps:xt(M,R,h,v,X,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":S,onKeyDown(V){t.isOpen||e.onKeyDown&&e.onKeyDown(V)},onKeyUp(V){t.isOpen||e.onKeyUp&&e.onKeyUp(V)}}),labelProps:{...f,onClick:()=>{U.focusFirst()}},buttonProps:{...v,id:E,"aria-haspopup":"dialog","aria-label":o.format("calendar"),"aria-labelledby":`${E} ${y}`,"aria-describedby":S,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:T,"aria-labelledby":`${E} ${y}`},startFieldProps:{...D,...j,value:(q=(r=t.value)===null||r===void 0?void 0:r.start)!==null&&q!==void 0?q:null,onChange:V=>t.setDateTime("start",V),autoFocus:e.autoFocus,name:e.startName,[Pu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(V){O.current=V,t.updateValidation(yh(V,B.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...A,...j,value:(k=(i=t.value)===null||i===void 0?void 0:i.end)!==null&&k!==void 0?k:null,onChange:V=>t.setDateTime("end",V),name:e.endName,[Pu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(V){B.current=V,t.updateValidation(yh(O.current,V))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:p,errorMessageProps:g,calendarProps:{autoFocus:!0,value:!((a=t.dateRange)===null||a===void 0)&&a.start&&t.dateRange.end?t.dateRange:null,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:u,validationErrors:l,validationDetails:d}}function wH(e,t){let{role:n="dialog"}=e,r=Eu();r=e["aria-label"]?void 0:r;let i=x.useRef(!1);return x.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){ds(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(i.current=!0,t.current&&(t.current.blur(),ds(t.current)),i.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),qW(),{dialogProps:{...Pa(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||r,onBlur:a=>{i.current&&a.stopPropagation()}},titleProps:{id:r}}}function gu(e,t,n){return t!=null&&e.compare(t)<0||n!=null&&e.compare(n)>0}function h0(e,t,n,r,i){let a={};for(let u in t)a[u]=Math.floor(t[u]/2),a[u]>0&&t[u]%2===0&&a[u]--;let o=Go(e,t,n).subtract(a);return Dc(e,o,t,n,r,i)}function Go(e,t,n,r,i){let a=e;return t.years?a=qz(e):t.months?a=Wc(e):t.weeks&&(a=vc(e,n)),Dc(e,a,t,n,r,i)}function p0(e,t,n,r,i){let a={...t};a.days?a.days--:a.weeks?a.weeks--:a.months?a.months--:a.years&&a.years--;let o=Go(e,t,n).subtract(a);return Dc(e,o,t,n,r,i)}function Dc(e,t,n,r,i,a){if(i&&e.compare(i)>=0){let o=B1(t,Go(cr(i),n,r));o&&(t=o)}if(a&&e.compare(a)<=0){let o=I1(t,p0(cr(a),n,r));o&&(t=o)}return t}function Ja(e,t,n){if(t){let r=B1(e,cr(t));r&&(e=r)}if(n){let r=I1(e,cr(n));r&&(e=r)}return e}function YR(e,t,n){if(!n)return e;for(;e.compare(t)>=0&&n(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:null}function ZR(e){let t=x.useMemo(()=>new ii(e.locale),[e.locale]),n=x.useMemo(()=>t.resolvedOptions(),[t]),{locale:r,createCalendar:i,visibleDuration:a={months:1},minValue:o,maxValue:u,selectionAlignment:l,isDateUnavailable:d,pageBehavior:f="visible",firstDayOfWeek:h}=e,p=x.useMemo(()=>i(n.calendar),[i,n.calendar]);var g;let[y,$]=Fr(e.value,(g=e.defaultValue)!==null&&g!==void 0?g:null,e.onChange),C=x.useMemo(()=>y?Qt(cr(y),p):null,[y,p]),b=x.useMemo(()=>y&&"timeZone"in y?y.timeZone:n.timeZone,[y,n.timeZone]),v=x.useMemo(()=>e.focusedValue?Ja(Qt(cr(e.focusedValue),p),o,u):void 0,[e.focusedValue,p,o,u]),D=x.useMemo(()=>Ja(e.defaultFocusedValue?Qt(cr(e.defaultFocusedValue),p):C||Qt(op(b),p),o,u),[e.defaultFocusedValue,C,b,p,o,u]),[A,E]=Fr(v,D,e.onFocusChange),[T,R]=x.useState(()=>{switch(l){case"start":return Go(A,a,r,o,u);case"end":return p0(A,a,r,o,u);case"center":default:return h0(A,a,r,o,u)}}),[S,U]=x.useState(e.autoFocus||!1),j=x.useMemo(()=>{let N={...a};return N.days?N.days--:N.days=-1,T.add(N)},[T,a]),[M,X]=x.useState(p.identifier);if(p.identifier!==M){let N=Qt(A,p);R(h0(N,a,r,o,u)),E(N),X(p.identifier)}gu(A,o,u)?E(Ja(A,o,u)):A.compare(T)<0?R(p0(A,a,r,o,u)):A.compare(j)>0&&R(Go(A,a,r,o,u));function O(N){N=Ja(N,o,u),E(N)}function B(N){if(!e.isDisabled&&!e.isReadOnly){let ne=N;if(ne===null){$(null);return}if(ne=Ja(ne,o,u),ne=YR(ne,T,d),!ne)return;ne=Qt(ne,(y==null?void 0:y.calendar)||new dr),y&&"hour"in y?$(y.set(ne)):$(ne)}}let q=x.useMemo(()=>C?d&&d(C)?!0:gu(C,o,u):!1,[C,d,o,u]),k=e.isInvalid||e.validationState==="invalid"||q,V=k?"invalid":null,_=x.useMemo(()=>f==="visible"?a:Rg(a),[f,a]);var H,z;return{isDisabled:(H=e.isDisabled)!==null&&H!==void 0?H:!1,isReadOnly:(z=e.isReadOnly)!==null&&z!==void 0?z:!1,value:C,setValue:B,visibleRange:{start:T,end:j},minValue:o,maxValue:u,focusedDate:A,timeZone:b,validationState:V,isValueInvalid:k,setFocusedDate(N){O(N),U(!0)},focusNextDay(){O(A.add({days:1}))},focusPreviousDay(){O(A.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&O(A.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&O(A.subtract({weeks:1}))},focusNextPage(){let N=T.add(_);E(Ja(A.add(_),o,u)),R(Go(Dc(A,N,_,r,o,u),_,r))},focusPreviousPage(){let N=T.subtract(_);E(Ja(A.subtract(_),o,u)),R(Go(Dc(A,N,_,r,o,u),_,r))},focusSectionStart(){a.days?O(T):a.weeks?O(vc(A,r)):(a.months||a.years)&&O(Wc(A))},focusSectionEnd(){a.days?O(j):a.weeks?O(Gz(A,r)):(a.months||a.years)&&O(Qb(A))},focusNextSection(N){if(!N&&!a.days){O(A.add(Rg(a)));return}a.days?this.focusNextPage():a.weeks?O(A.add({months:1})):(a.months||a.years)&&O(A.add({years:1}))},focusPreviousSection(N){if(!N&&!a.days){O(A.subtract(Rg(a)));return}a.days?this.focusPreviousPage():a.weeks?O(A.subtract({months:1})):(a.months||a.years)&&O(A.subtract({years:1}))},selectFocusedDate(){d&&d(A)||B(A)},selectDate(N){B(N)},isFocused:S,setFocused:U,isInvalid(N){return gu(N,o,u)},isSelected(N){return C!=null&&wn(N,C)&&!this.isCellDisabled(N)&&!this.isCellUnavailable(N)},isCellFocused(N){return S&&A&&wn(N,A)},isCellDisabled(N){return e.isDisabled||N.compare(T)<0||N.compare(j)>0||this.isInvalid(N)},isCellUnavailable(N){return e.isDateUnavailable?e.isDateUnavailable(N):!1},isPreviousVisibleRangeInvalid(){let N=T.subtract({days:1});return wn(N,T)||this.isInvalid(N)},isNextVisibleRangeInvalid(){let N=j.add({days:1});return wn(N,j)||this.isInvalid(N)},getDatesInWeek(N,ne=T){let ie=ne.add({weeks:N}),le=[];ie=vc(ie,r,h);let $e=k1(ie,r,h);for(let De=0;De<$e;De++)le.push(null);for(;le.length<7;){le.push(ie);let De=ie.add({days:1});if(wn(ie,De))break;ie=De}for(;le.length<7;)le.push(null);return le}}}function Rg(e){let t={...e};for(let n in e)t[n]=1;return t}function DH(e){let{value:t,defaultValue:n,onChange:r,createCalendar:i,locale:a,visibleDuration:o={months:1},minValue:u,maxValue:l,...d}=e,[f,h]=Fr(t,n||null,r),[p,g]=x.useState(null),y="center";if(f&&f.start&&f.end){let _=h0(cr(f.start),o,a,u,l).add(o).subtract({days:1});f.end.compare(_)>0&&(y="start")}let $=x.useRef(null),[C,b]=x.useState(null),v=x.useMemo(()=>B1(u,C==null?void 0:C.start),[u,C]),D=x.useMemo(()=>I1(l,C==null?void 0:C.end),[l,C]),A=ZR({...d,value:f&&f.start,createCalendar:i,locale:a,visibleDuration:o,minValue:v,maxValue:D,selectionAlignment:y}),E=V=>{if(V&&e.isDateUnavailable&&!e.allowsNonContiguousRanges){const _=LD(V,A,-1),H=LD(V,A,1);$.current={start:_,end:H},b($.current)}else $.current=null,b(null)},[T,R]=x.useState(A.visibleRange);(!Xb(A.visibleRange.start,T.start)||!Xb(A.visibleRange.end,T.end))&&(E(p),R(A.visibleRange));let S=V=>{V?(g(V),E(V)):(g(null),E(null))},U=p?Og(p,A.focusedDate):f&&Og(f.start,f.end),j=V=>{if(e.isReadOnly)return;const _=Ja(V,v,D),H=YR(_,A.visibleRange.start,e.isDateUnavailable);if(H)if(!p)S(H);else{let z=Og(p,H);z&&h({start:BD(z.start,f==null?void 0:f.start),end:BD(z.end,f==null?void 0:f.end)}),S(null)}},[M,X]=x.useState(!1),{isDateUnavailable:O}=e,B=x.useMemo(()=>!f||p?!1:O&&(O(f.start)||O(f.end))?!0:gu(f.start,u,l)||gu(f.end,u,l),[O,f,p,u,l]),q=e.isInvalid||e.validationState==="invalid"||B;return{...A,value:f,setValue:h,anchorDate:p,setAnchorDate:S,highlightedRange:U,validationState:q?"invalid":null,isValueInvalid:q,selectFocusedDate(){j(A.focusedDate)},selectDate:j,highlightDate(V){p&&A.setFocusedDate(V)},isSelected(V){return!!(U&&V.compare(U.start)>=0&&V.compare(U.end)<=0&&!A.isCellDisabled(V)&&!A.isCellUnavailable(V))},isInvalid(V){var _,H;return A.isInvalid(V)||gu(V,(_=$.current)===null||_===void 0?void 0:_.start,(H=$.current)===null||H===void 0?void 0:H.end)},isDragging:M,setDragging:X}}function Og(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:cr(e),end:cr(t)})}function BD(e,t){return e=Qt(e,(t==null?void 0:t.calendar)||new dr),t&&"hour"in t?t.set(e):e}function LD(e,t,n){let r=e.add({days:n});for(;(n<0?r.compare(t.visibleRange.start)>=0:r.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(r);)r=r.add({days:n});if(t.isCellUnavailable(r))return r.add({days:-n})}class m0{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);var r;return n&&(r=n.prevKey)!==null&&r!==void 0?r:null}getKeyAfter(t){let n=this.keyMap.get(t);var r;return n&&(r=n.nextKey)!==null&&r!==void 0?r:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var n;return(n=this.keyMap.get(t))!==null&&n!==void 0?n:null}at(t){const n=[...this.getKeys()];return this.getItem(n[t])}getChildren(t){let n=this.keyMap.get(t);return(n==null?void 0:n.childNodes)||[]}constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let n=o=>{if(this.keyMap.set(o.key,o),o.childNodes&&o.type==="section")for(let u of o.childNodes)n(u)};for(let o of t)n(o);let r=null,i=0;for(let[o,u]of this.keyMap)r?(r.nextKey=o,u.prevKey=r.key):(this.firstKey=o,u.prevKey=void 0),u.type==="item"&&(u.index=i++),r=u,r.nextKey=void 0;var a;this.lastKey=(a=r==null?void 0:r.key)!==null&&a!==void 0?a:null}}class mi extends Set{constructor(t,n,r){super(t),t instanceof mi?(this.anchorKey=n??t.anchorKey,this.currentKey=r??t.currentKey):(this.anchorKey=n??null,this.currentKey=r??null)}}function CH(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function EH(e){let{selectionMode:t="none",disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:r,selectionBehavior:i="toggle",disabledBehavior:a="all"}=e,o=x.useRef(!1),[,u]=x.useState(!1),l=x.useRef(null),d=x.useRef(null),[,f]=x.useState(null),h=x.useMemo(()=>VD(e.selectedKeys),[e.selectedKeys]),p=x.useMemo(()=>VD(e.defaultSelectedKeys,new mi),[e.defaultSelectedKeys]),[g,y]=Fr(h,p,e.onSelectionChange),$=x.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[C,b]=x.useState(i);i==="replace"&&C==="toggle"&&typeof g=="object"&&g.size===0&&b("replace");let v=x.useRef(i);return x.useEffect(()=>{i!==v.current&&(b(i),v.current=i)},[i]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:C,setSelectionBehavior:b,get isFocused(){return o.current},setFocused(D){o.current=D,u(D)},get focusedKey(){return l.current},get childFocusStrategy(){return d.current},setFocusedKey(D,A="first"){l.current=D,d.current=A,f(D)},selectedKeys:g,setSelectedKeys(D){(r||!CH(D,g))&&y(D)},disabledKeys:$,disabledBehavior:a}}function VD(e,t){return e?e==="all"?"all":new mi(e):t}class SH{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,n){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,n)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let n=this.getKey(t);return n==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(n):this.state.selectedKeys.has(n)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),n=this.state.selectedKeys;return this._isSelectAll=t.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let i=this.collection.getItem(r);(!t||i&&_g(this.collection,i,t)<0)&&(t=i)}var n;return(n=t==null?void 0:t.key)!==null&&n!==void 0?n:null}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let i=this.collection.getItem(r);(!t||i&&_g(this.collection,i,t)>0)&&(t=i)}var n;return(n=t==null?void 0:t.key)!==null&&n!==void 0?n:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let n=this.getKey(t);if(n==null)return;let r;if(this.state.selectedKeys==="all")r=new mi([n],n,n);else{let o=this.state.selectedKeys;var i;let u=(i=o.anchorKey)!==null&&i!==void 0?i:n;r=new mi(o,u,n);var a;for(let l of this.getKeyRange(u,(a=o.currentKey)!==null&&a!==void 0?a:n))r.delete(l);for(let l of this.getKeyRange(n,u))this.canSelectItem(l)&&r.add(l)}this.state.setSelectedKeys(r)}getKeyRange(t,n){let r=this.collection.getItem(t),i=this.collection.getItem(n);return r&&i?_g(this.collection,r,i)<=0?this.getKeyRangeInternal(t,n):this.getKeyRangeInternal(n,t):[]}getKeyRangeInternal(t,n){var r;if(!((r=this.layoutDelegate)===null||r===void 0)&&r.getKeyRange)return this.layoutDelegate.getKeyRange(t,n);let i=[],a=t;for(;a!=null;){let o=this.collection.getItem(a);if(o&&(o.type==="item"||o.type==="cell"&&this.allowsCellSelection)&&i.push(a),a===n)return i;a=this.collection.getKeyAfter(a)}return[]}getKey(t){let n=this.collection.getItem(t);if(!n||n.type==="cell"&&this.allowsCellSelection)return t;for(;n&&n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let n=this.getKey(t);if(n==null)return;let r=new mi(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(n)?r.delete(n):this.canSelectItem(n)&&(r.add(n),r.anchorKey=n,r.currentKey=n),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none")return;let n=this.getKey(t);if(n==null)return;let r=this.canSelectItem(n)?new mi([n],n,n):new mi;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new mi;for(let r of t){let i=this.getKey(r);if(i!=null&&(n.add(i),this.selectionMode==="single"))break}this.state.setSelectedKeys(n)}getSelectAllKeys(){let t=[],n=r=>{for(;r!=null;){if(this.canSelectItem(r)){var i;let o=this.collection.getItem(r);(o==null?void 0:o.type)==="item"&&t.push(r);var a;o!=null&&o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&n((a=(i=iH(fp(o,this.collection)))===null||i===void 0?void 0:i.key)!==null&&a!==void 0?a:null)}r=this.collection.getKeyAfter(r)}};return n(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new mi)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(t.size!==n.size)return!1;for(let r of t)if(!n.has(r))return!1;for(let r of n)if(!t.has(r))return!1;return!0}canSelectItem(t){var n;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||!(r==null||(n=r.props)===null||n===void 0)&&n.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var n,r;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled))}isLink(t){var n,r;return!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.href)}getItemProps(t){var n;return(n=this.collection.getItem(t))===null||n===void 0?void 0:n.props}constructor(t,n,r){this.collection=t,this.state=n;var i;this.allowsCellSelection=(i=r==null?void 0:r.allowsCellSelection)!==null&&i!==void 0?i:!1,this._isSelectAll=null,this.layoutDelegate=(r==null?void 0:r.layoutDelegate)||null}}function AH(e){let{filter:t,layoutDelegate:n}=e,r=EH(e),i=x.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=x.useCallback(f=>t?new m0(t(f)):new m0(f),[t]),o=x.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),u=rH(e,a,o),l=x.useMemo(()=>new SH(u,r,{layoutDelegate:n}),[u,r,n]);const d=x.useRef(null);return x.useEffect(()=>{if(r.focusedKey!=null&&!u.getItem(r.focusedKey)&&d.current){const b=d.current.getItem(r.focusedKey),v=[...d.current.getKeys()].map(S=>{const U=d.current.getItem(S);return(U==null?void 0:U.type)==="item"?U:null}).filter(S=>S!==null),D=[...u.getKeys()].map(S=>{const U=u.getItem(S);return(U==null?void 0:U.type)==="item"?U:null}).filter(S=>S!==null);var f,h;const A=((f=v==null?void 0:v.length)!==null&&f!==void 0?f:0)-((h=D==null?void 0:D.length)!==null&&h!==void 0?h:0);var p,g,y;let E=Math.min(A>1?Math.max(((p=b==null?void 0:b.index)!==null&&p!==void 0?p:0)-A+1,0):(g=b==null?void 0:b.index)!==null&&g!==void 0?g:0,((y=D==null?void 0:D.length)!==null&&y!==void 0?y:0)-1),T=null,R=!1;for(;E>=0;){if(!l.isDisabled(D[E].key)){T=D[E];break}if(E<D.length-1&&!R)E++;else{R=!0;var $,C;E>(($=b==null?void 0:b.index)!==null&&$!==void 0?$:0)&&(E=(C=b==null?void 0:b.index)!==null&&C!==void 0?C:0),E--}}r.setFocusedKey(T?T.key:null)}d.current=u},[u,l,r,r.focusedKey]),{collection:u,disabledKeys:i,selectionManager:l}}function TH(e){var t;let[n,r]=Fr(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),i=x.useMemo(()=>n!=null?[n]:[],[n]),{collection:a,disabledKeys:o,selectionManager:u}=AH({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:d=>{if(d==="all")return;var f;let h=(f=d.values().next().value)!==null&&f!==void 0?f:null;h===n&&e.onSelectionChange&&e.onSelectionChange(h),r(h)}}),l=n!=null?a.getItem(n):null;return{collection:a,disabledKeys:o,selectionManager:u,selectedKey:n,setSelectedKey:r,selectedItem:l}}function Y1(e){let[t,n]=Fr(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const r=x.useCallback(()=>{n(!0)},[n]),i=x.useCallback(()=>{n(!1)},[n]),a=x.useCallback(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:r,close:i,toggle:a}}function PH(e){var t;let{defaultFilter:n,menuTrigger:r="input",allowsEmptyCollection:i=!1,allowsCustomValue:a,shouldCloseOnBlur:o=!0}=e,[u,l]=x.useState(!1),[d,f]=x.useState(!1),[h,p]=x.useState(null),g=Z=>{e.onSelectionChange&&e.onSelectionChange(Z),Z===b&&(le(),N())};var y;let{collection:$,selectionManager:C,selectedKey:b,setSelectedKey:v,selectedItem:D,disabledKeys:A}=TH({...e,onSelectionChange:g,items:(y=e.items)!==null&&y!==void 0?y:e.defaultItems}),E=e.defaultInputValue;if(E==null){var T,R;b==null?E="":E=(R=(T=$.getItem(b))===null||T===void 0?void 0:T.textValue)!==null&&R!==void 0?R:""}let[S,U]=Fr(e.inputValue,E,e.onInputChange),j=$,M=x.useMemo(()=>e.items!=null||!n?$:_H($,S,n),[$,S,n,e.items]),[X,O]=x.useState(M),B=x.useRef("focus"),k=Y1({...e,onOpenChange:Z=>{e.onOpenChange&&e.onOpenChange(Z,Z?B.current:void 0),C.setFocused(Z),Z||C.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),V=(Z=null,re)=>{let pe=re==="manual"||re==="focus"&&r==="focus";(i||M.size>0||pe&&j.size>0||e.items)&&(pe&&!k.isOpen&&e.items===void 0&&l(!0),B.current=re,p(Z),k.open())},_=(Z=null,re)=>{let pe=re==="manual"||re==="focus"&&r==="focus";!(i||M.size>0||pe&&j.size>0||e.items)&&!k.isOpen||(pe&&!k.isOpen&&e.items===void 0&&l(!0),k.isOpen||(B.current=re),z(Z))},H=x.useCallback(()=>{O(u?j:M)},[u,j,M]),z=x.useCallback((Z=null)=>{k.isOpen&&H(),p(Z),k.toggle()},[k,H]),N=x.useCallback(()=>{k.isOpen&&(H(),k.close())},[k,H]),[ne,ie]=x.useState(S),le=()=>{var Z,re;let pe=b!=null&&(re=(Z=$.getItem(b))===null||Z===void 0?void 0:Z.textValue)!==null&&re!==void 0?re:"";ie(pe),U(pe)};var $e,De;let Ce=x.useRef((De=($e=e.selectedKey)!==null&&$e!==void 0?$e:e.defaultSelectedKey)!==null&&De!==void 0?De:null);var Y;let he=x.useRef(b!=null&&(Y=(t=$.getItem(b))===null||t===void 0?void 0:t.textValue)!==null&&Y!==void 0?Y:"");x.useEffect(()=>{var Z;d&&(M.size>0||i)&&!k.isOpen&&S!==ne&&r!=="manual"&&V(null,"input"),!u&&!i&&k.isOpen&&M.size===0&&N(),b!=null&&b!==Ce.current&&N(),S!==ne&&(C.setFocusedKey(null),l(!1),S===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&v(null)),b!==Ce.current&&(e.inputValue===void 0||e.selectedKey===void 0)?le():ne!==S&&ie(S);var re;let pe=b!=null&&(re=(Z=$.getItem(b))===null||Z===void 0?void 0:Z.textValue)!==null&&re!==void 0?re:"";!d&&b!=null&&e.inputValue===void 0&&b===Ce.current&&he.current!==pe&&(ie(pe),U(pe)),Ce.current=b,he.current=pe});let ye=Yc({...e,value:x.useMemo(()=>({inputValue:S,selectedKey:b}),[S,b])}),fe=()=>{a&&b==null?oe():Fe()},oe=()=>{Ce.current=null,v(null),N()},Fe=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var Z,re;(Z=e.onSelectionChange)===null||Z===void 0||Z.call(e,b);var pe;let Ee=b!=null&&(pe=(re=$.getItem(b))===null||re===void 0?void 0:re.textValue)!==null&&pe!==void 0?pe:"";ie(Ee),N()}else le(),N()};const et=()=>{if(a){var Z,re;const pe=b!=null&&(re=(Z=$.getItem(b))===null||Z===void 0?void 0:Z.textValue)!==null&&re!==void 0?re:"";S===pe?Fe():oe()}else Fe()};let dt=()=>{k.isOpen&&C.focusedKey!=null?b===C.focusedKey?Fe():v(C.focusedKey):et()},Dn=x.useRef(S),yt=Z=>{Z?(Dn.current=S,r==="focus"&&!e.isReadOnly&&V(null,"focus")):(o&&et(),S!==Dn.current&&ye.commitValidation()),f(Z)},G=x.useMemo(()=>k.isOpen?u?j:M:X,[k.isOpen,j,M,u,X]);return{...ye,...k,focusStrategy:h,toggle:_,open:V,close:et,selectionManager:C,selectedKey:b,setSelectedKey:v,disabledKeys:A,isFocused:d,setFocused:yt,selectedItem:D,collection:G,inputValue:S,setInputValue:U,commit:dt,revert:fe}}function _H(e,t,n){return new m0(JR(e,e,t,n))}function JR(e,t,n,r){let i=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let o=JR(e,fp(a,e),n,r);[...o].some(u=>u.type==="item")&&i.push({...a,childNodes:o})}else a.type==="item"&&r(a.textValue,n)?i.push({...a}):a.type!=="item"&&i.push({...a});return i}var XR={};XR={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var QR={};QR={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var e7={};e7={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var t7={};t7={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var n7={};n7={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var r7={};r7={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var i7={};i7={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var a7={};a7={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var o7={};o7={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var s7={};s7={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var u7={};u7={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var l7={};l7={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var c7={};c7={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var d7={};d7={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var f7={};f7={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var h7={};h7={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var p7={};p7={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var m7={};m7={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var g7={};g7={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var y7={};y7={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var v7={};v7={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var b7={};b7={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var $7={};$7={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var x7={};x7={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var w7={};w7={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var D7={};D7={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var C7={};C7={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var E7={};E7={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var S7={};S7={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var A7={};A7={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var T7={};T7={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var P7={};P7={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var _7={};_7={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var R7={};R7={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var O7={};O7={"ar-AE":XR,"bg-BG":QR,"cs-CZ":e7,"da-DK":t7,"de-DE":n7,"el-GR":r7,"en-US":i7,"es-ES":a7,"et-EE":o7,"fi-FI":s7,"fr-FR":u7,"he-IL":l7,"hr-HR":c7,"hu-HU":d7,"it-IT":f7,"ja-JP":h7,"ko-KR":p7,"lt-LT":m7,"lv-LV":g7,"nb-NO":y7,"nl-NL":v7,"pl-PL":b7,"pt-BR":$7,"pt-PT":x7,"ro-RO":w7,"ru-RU":D7,"sk-SK":C7,"sl-SI":E7,"sr-SP":S7,"sv-SE":A7,"tr-TR":T7,"uk-UA":P7,"zh-CN":_7,"zh-TW":R7};function RH(e){return e&&e.__esModule?e.default:e}const M7=new bo(RH(O7));function F7(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function bh(e,t,n,r,i){let a=e!=null&&n!=null&&e.compare(n)>0,o=e!=null&&t!=null&&e.compare(t)<0,u=e!=null&&(r==null?void 0:r(e))||!1,l=a||o||u,d=[];if(l){let f=F7(),h=bo.getGlobalDictionaryForPackage("@react-stately/datepicker")||M7,p=new jT(f,h),g=new ii(f,wa({},i)),y=g.resolvedOptions().timeZone;o&&t!=null&&d.push(p.format("rangeUnderflow",{minValue:g.format(t.toDate(y))})),a&&n!=null&&d.push(p.format("rangeOverflow",{maxValue:g.format(n.toDate(y))})),u&&d.push(p.format("unavailableDate"))}return{isInvalid:l,validationErrors:d,validationDetails:{badInput:u,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:o,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!l}}}function OH(e,t,n,r,i){var a;let o=bh((a=e==null?void 0:e.start)!==null&&a!==void 0?a:null,t,n,r,i);var u;let l=bh((u=e==null?void 0:e.end)!==null&&u!==void 0?u:null,t,n,r,i),d=yh(o,l);if((e==null?void 0:e.end)!=null&&e.start!=null&&e.end.compare(e.start)<0){let f=bo.getGlobalDictionaryForPackage("@react-stately/datepicker")||M7;d=yh(d,{isInvalid:!0,validationErrors:[f.getStringForLocale("rangeReversed",F7())],validationDetails:{...up,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return d}const MH={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},FH={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function wa(e,t){e={...t.shouldForceLeadingZeros?FH:MH,...e};let r=t.granularity||"minute",i=Object.keys(e);var a;let o=i.indexOf((a=t.maxGranularity)!==null&&a!==void 0?a:"year");o<0&&(o=0);let u=i.indexOf(r);if(u<0&&(u=2),o>u)throw new Error("maxGranularity must be greater than granularity");let l=i.slice(o,u+1).reduce((f,h)=>(f[h]=e[h],f),{});return t.hourCycle!=null&&(l.hour12=t.hourCycle===12),l.timeZone=t.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&t.timeZone&&!t.hideTimeZone&&(l.timeZoneName="short"),t.showEra&&o===0&&(l.era="short"),l}function tu(e){return e&&"hour"in e?e:new Hc}function k7(e,t){if(e===null)return null;if(e)return Qt(e,t)}function kl(e,t,n,r){if(e)return k7(e,n);let i=Qt(qT(r??qc()).set({hour:0,minute:0,second:0,millisecond:0}),n);return t==="year"||t==="month"||t==="day"?cr(i):r?i:Di(i)}function Z1(e,t){let n=e&&"timeZone"in e?e.timeZone:void 0,r=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[i,a]=x.useState([r,n]);e&&(i[0]!==r||i[1]!==n)&&a([r,n]),t||(t=e?r:i[0]);let o=e?n:i[1];return[t,o]}function kH(e){let t=Y1(e),[n,r]=Fr(e.value,e.defaultValue||null,e.onChange),i=n||e.placeholderValue||null,[a,o]=Z1(i,e.granularity),u=n!=null?n.toDate(o??"UTC"):null,l=a==="hour"||a==="minute"||a==="second";var d;let f=(d=e.shouldCloseOnSelect)!==null&&d!==void 0?d:!0,[h,p]=x.useState(null),[g,y]=x.useState(null);if(n&&(h=n,"hour"in n&&(g=n)),i&&!(a in i))throw new Error("Invalid granularity "+a+" for value "+i.toString());let $=(n==null?void 0:n.calendar.identifier)==="gregory"&&n.era==="BC",C=x.useMemo(()=>({granularity:a,timeZone:o,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:$}),[a,e.hourCycle,e.shouldForceLeadingZeros,o,e.hideTimeZone,$]),{minValue:b,maxValue:v,isDateUnavailable:D}=e,A=x.useMemo(()=>bh(n,b,v,D,C),[n,b,v,D,C]),E=Yc({...e,value:n,builtinValidation:A}),T=E.displayValidation.isInvalid,R=e.validationState||(T?"invalid":null),S=(M,X)=>{r("timeZone"in X?X.set(cr(M)):Di(M,X)),p(null),y(null),E.commitValidation()};return{...E,value:n,setValue:r,dateValue:h,timeValue:g,setDateValue:M=>{let X=typeof f=="function"?f():f;l?g||X?S(M,g||tu(e.defaultValue||e.placeholderValue)):p(M):(r(M),E.commitValidation()),X&&t.setOpen(!1)},setTimeValue:M=>{h&&M?S(h,M):y(M)},granularity:a,hasTime:l,...t,setOpen(M){!M&&!n&&h&&l&&S(h,g||tu(e.defaultValue||e.placeholderValue)),t.setOpen(M)},validationState:R,isInvalid:T,formatValue(M,X){if(!u)return"";let O=wa(X,C);return new ii(M,O).format(u)},getDateFormatter(M,X){let O={...C,...X},B=wa({},O);return new ii(M,B)}}}const IH=new bo({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:" 年 ",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function BH(e,t,n){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?IH.getStringForLocale(e,n):"––"}const $f={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},ND={year:5,month:2,day:7,hour:2,minute:15,second:15},LH={dayperiod:"dayPeriod"};function I7(e){let{locale:t,createCalendar:n,hideTimeZone:r,isDisabled:i=!1,isReadOnly:a=!1,isRequired:o=!1,minValue:u,maxValue:l,isDateUnavailable:d}=e,f=e.value||e.defaultValue||e.placeholderValue||null,[h,p]=Z1(f,e.granularity),g=p||"UTC";if(f&&!(h in f))throw new Error("Invalid granularity "+h+" for value "+f.toString());let y=x.useMemo(()=>new ii(t),[t]),$=x.useMemo(()=>n(y.resolvedOptions().calendar),[n,y]);var C;let[b,v]=Fr(e.value,(C=e.defaultValue)!==null&&C!==void 0?C:null,e.onChange),D=x.useMemo(()=>{var Y;return(Y=k7(b,$))!==null&&Y!==void 0?Y:null},[b,$]),[A,E]=x.useState(()=>kl(e.placeholderValue,h,$,p)),T=D||A,R=$.identifier==="gregory"&&T.era==="BC",S=x.useMemo(()=>{var Y;return{granularity:h,maxGranularity:(Y=e.maxGranularity)!==null&&Y!==void 0?Y:"year",timeZone:p,hideTimeZone:r,hourCycle:e.hourCycle,showEra:R,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,h,e.hourCycle,e.shouldForceLeadingZeros,p,r,R]),U=x.useMemo(()=>wa({},S),[S]),j=x.useMemo(()=>new ii(t,U),[t,U]),M=x.useMemo(()=>j.resolvedOptions(),[j]),X=x.useMemo(()=>j.formatToParts(new Date).filter(Y=>$f[Y.type]).reduce((Y,he)=>(Y[he.type]=!0,Y),{}),[j]),[O,B]=x.useState(()=>e.value||e.defaultValue?{...X}:{}),q=x.useRef(null),k=x.useRef($.identifier);x.useEffect(()=>{$.identifier!==k.current&&(k.current=$.identifier,E(Y=>Object.keys(O).length>0?Qt(Y,$):kl(e.placeholderValue,h,$,p)))},[$,h,O,p,e.placeholderValue]),b&&Object.keys(O).length<Object.keys(X).length&&(O={...X},B(O)),b==null&&Object.keys(O).length===Object.keys(X).length&&(O={},B(O),E(kl(e.placeholderValue,h,$,p)));let V=D&&Object.keys(O).length>=Object.keys(X).length?D:A,_=Y=>{if(e.isDisabled||e.isReadOnly)return;let he=Object.keys(O),ye=Object.keys(X);Y==null?(v(null),E(kl(e.placeholderValue,h,$,p)),B({})):he.length>=ye.length||he.length===ye.length-1&&X.dayPeriod&&!O.dayPeriod&&q.current!=="dayPeriod"?(Y=Qt(Y,(f==null?void 0:f.calendar)||new dr),v(Y)):E(Y),q.current=null},H=x.useMemo(()=>V.toDate(g),[V,g]),z=x.useMemo(()=>j.formatToParts(H).map(Y=>{let he=$f[Y.type];Y.type==="era"&&$.getEras().length===1&&(he=!1);let ye=$f[Y.type]&&!O[Y.type],fe=$f[Y.type]?BH(Y.type,Y.value,t):null;return{type:LH[Y.type]||Y.type,text:ye?fe:Y.value,...VH(V,Y.type,M),isPlaceholder:ye,placeholder:fe,isEditable:he}}),[H,O,j,M,V,$,t]);X.era&&O.year&&!O.era?(O.era=!0,B({...O})):!X.era&&O.era&&(delete O.era,B({...O}));let N=Y=>{O[Y]=!0,Y==="year"&&X.era&&(O.era=!0),B({...O})},ne=(Y,he)=>{if(O[Y])_(NH(V,Y,he,M));else{N(Y);let ye=Object.keys(O),fe=Object.keys(X);(ye.length>=fe.length||ye.length===fe.length-1&&X.dayPeriod&&!O.dayPeriod)&&_(V)}},ie=x.useMemo(()=>bh(b,u,l,d,S),[b,u,l,d,S]),le=Yc({...e,value:b,builtinValidation:ie}),$e=le.displayValidation.isInvalid,De=e.validationState||($e?"invalid":null);var Ce;return{...le,value:D,dateValue:H,calendar:$,setValue:_,segments:z,dateFormatter:j,validationState:De,isInvalid:$e,granularity:h,maxGranularity:(Ce=e.maxGranularity)!==null&&Ce!==void 0?Ce:"year",isDisabled:i,isReadOnly:a,isRequired:o,increment(Y){ne(Y,1)},decrement(Y){ne(Y,-1)},incrementPage(Y){ne(Y,ND[Y]||1)},decrementPage(Y){ne(Y,-(ND[Y]||1))},setSegment(Y,he){N(Y),_(jH(V,Y,he,M))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let Y=Object.keys(O),he=Object.keys(X);Y.length===he.length-1&&X.dayPeriod&&!O.dayPeriod&&(O={...X},B(O),_(V.copy()))},clearSegment(Y){delete O[Y],q.current=Y,B({...O});let he=kl(e.placeholderValue,h,$,p),ye=V;if(Y==="dayPeriod"&&"hour"in V&&"hour"in he){let fe=V.hour>=12,oe=he.hour>=12;fe&&!oe?ye=V.set({hour:V.hour-12}):!fe&&oe&&(ye=V.set({hour:V.hour+12}))}else Y in V&&(ye=V.set({[Y]:he[Y]}));v(null),_(ye)},formatValue(Y){if(!D)return"";let he=wa(Y,S);return new ii(t,he).format(H)},getDateFormatter(Y,he){let ye={...S,...he},fe=wa({},ye);return new ii(Y,fe)}}}function VH(e,t,n){switch(t){case"era":{let r=e.calendar.getEras();return{value:r.indexOf(e.era),minValue:0,maxValue:r.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:Wz(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:Hz(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(n.hour12){let r=e.hour>=12;return{value:e.hour,minValue:r?12:0,maxValue:r?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function NH(e,t,n,r){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,n,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let i=e.hour,a=i>=12;return e.set({hour:a?i-12:i+12})}case"hour":case"minute":case"second":return e.cycle(t,n,{round:t!=="hour",hourCycle:r.hour12?12:24})}throw new Error("Unknown segment: "+t)}function jH(e,t,n,r){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:n})}if("hour"in e&&typeof n=="number")switch(t){case"dayPeriod":{let i=e.hour,a=i>=12;return n>=12===a?e:e.set({hour:a?i-12:i+12})}case"hour":if(r.hour12){let a=e.hour>=12;!a&&n===12&&(n=0),a&&n<12&&(n+=12)}case"minute":case"second":return e.set({[t]:n})}throw new Error("Unknown segment: "+t)}function KH(e){var t,n;let r=Y1(e),[i,a]=Fr(e.value,e.defaultValue||null,e.onChange),[o,u]=x.useState(()=>i||{start:null,end:null});i==null&&o.start&&o.end&&(o={start:null,end:null},u(o));let l=i||o,d=k=>{u(k||{start:null,end:null}),Io(k)?a(k):a(null)},f=(l==null?void 0:l.start)||(l==null?void 0:l.end)||e.placeholderValue||null,[h,p]=Z1(f,e.granularity),g=h==="hour"||h==="minute"||h==="second";var y;let $=(y=e.shouldCloseOnSelect)!==null&&y!==void 0?y:!0,[C,b]=x.useState(null),[v,D]=x.useState(null);l&&Io(l)&&(C=l,"hour"in l.start&&(v=l));let A=(k,V)=>{d({start:"timeZone"in V.start?V.start.set(cr(k.start)):Di(k.start,V.start),end:"timeZone"in V.end?V.end.set(cr(k.end)):Di(k.end,V.end)}),b(null),D(null),O.commitValidation()},E=k=>{let V=typeof $=="function"?$():$;g?Io(k)&&(v!=null&&v.start)&&(v!=null&&v.end)?A(k,{start:(v==null?void 0:v.start)||tu(e.placeholderValue),end:(v==null?void 0:v.end)||tu(e.placeholderValue)}):b(k):Io(k)?(d(k),O.commitValidation()):b(k),V&&r.setOpen(!1)},T=k=>{Io(C)&&Io(k)?A(C,k):D(k)},R=(l==null||(t=l.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&l.start.era==="BC"||(l==null||(n=l.end)===null||n===void 0?void 0:n.calendar.identifier)==="gregory"&&l.end.era==="BC",S=x.useMemo(()=>({granularity:h,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:R}),[h,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,R]),{minValue:U,maxValue:j,isDateUnavailable:M}=e,X=x.useMemo(()=>OH(l,U,j,M,S),[l,U,j,M,S]),O=Yc({...e,value:i,name:x.useMemo(()=>[e.startName,e.endName].filter(k=>k!=null),[e.startName,e.endName]),builtinValidation:X}),B=O.displayValidation.isInvalid,q=e.validationState||(B?"invalid":null);return{...O,value:l,setValue:d,dateRange:C,timeRange:v,granularity:h,hasTime:g,setDate(k,V){var _,H;E(k==="start"?{start:V,end:(_=C==null?void 0:C.end)!==null&&_!==void 0?_:null}:{start:(H=C==null?void 0:C.start)!==null&&H!==void 0?H:null,end:V})},setTime(k,V){var _,H;T(k==="start"?{start:V,end:(_=v==null?void 0:v.end)!==null&&_!==void 0?_:null}:{start:(H=v==null?void 0:v.start)!==null&&H!==void 0?H:null,end:V})},setDateTime(k,V){var _,H;d(k==="start"?{start:V,end:(_=l==null?void 0:l.end)!==null&&_!==void 0?_:null}:{start:(H=l==null?void 0:l.start)!==null&&H!==void 0?H:null,end:V})},setDateRange:E,setTimeRange:T,...r,setOpen(k){!k&&!(l!=null&&l.start&&(l!=null&&l.end))&&Io(C)&&g&&A(C,{start:(v==null?void 0:v.start)||tu(e.placeholderValue),end:(v==null?void 0:v.end)||tu(e.placeholderValue)}),r.setOpen(k)},validationState:q,isInvalid:B,formatValue(k,V){if(!l||!l.start||!l.end)return null;let _="timeZone"in l.start?l.start.timeZone:void 0,H=e.granularity||(l.start&&"minute"in l.start?"minute":"day"),z="timeZone"in l.end?l.end.timeZone:void 0,N=e.granularity||(l.end&&"minute"in l.end?"minute":"day"),ne=wa(V,{granularity:H,timeZone:_,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:l.start.calendar.identifier==="gregory"&&l.start.era==="BC"||l.end.calendar.identifier==="gregory"&&l.end.era==="BC"}),ie=l.start.toDate(_||"UTC"),le=l.end.toDate(z||"UTC"),$e=new ii(k,ne),De;if(_===z&&H===N&&l.start.compare(l.end)!==0){try{let Ce=$e.formatRangeToParts(ie,le),Y=-1;for(let fe=0;fe<Ce.length;fe++){let oe=Ce[fe];if(oe.source==="shared"&&oe.type==="literal")Y=fe;else if(oe.source==="endRange")break}let he="",ye="";for(let fe=0;fe<Ce.length;fe++)fe<Y?he+=Ce[fe].value:fe>Y&&(ye+=Ce[fe].value);return{start:he,end:ye}}catch{}De=$e}else{let Ce=wa(V,{granularity:N,timeZone:z,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});De=new ii(k,Ce)}return{start:$e.format(ie),end:De.format(le)}},getDateFormatter(k,V){let _={...S,...V},H=wa({},_);return new ii(k,H)}}}function Io(e){return(e==null?void 0:e.start)!=null&&e.end!=null}function UH(e){let{placeholderValue:t=new Hc,minValue:n,maxValue:r,granularity:i,validate:a}=e;var o;let[u,l]=Fr(e.value,(o=e.defaultValue)!==null&&o!==void 0?o:null,e.onChange),d=u||t,f=d&&"day"in d?d:void 0,h=e.defaultValue&&"timeZone"in e.defaultValue?e.defaultValue.timeZone:void 0,p=x.useMemo(()=>{let D=d&&"timeZone"in d?d.timeZone:void 0;return(D||h)&&t?JT(Il(t),D||h):Il(t)},[t,d,h]),g=x.useMemo(()=>Il(n,f),[n,f]),y=x.useMemo(()=>Il(r,f),[r,f]),$=x.useMemo(()=>u&&"day"in u?eD(u):u,[u]),C=x.useMemo(()=>u==null?null:Il(u),[u]);return{...I7({...e,value:C,defaultValue:void 0,minValue:g,maxValue:y,onChange:D=>{l(f||h?D:D&&eD(D))},granularity:i||"minute",maxGranularity:"hour",placeholderValue:p??void 0,createCalendar:()=>new dr,validate:x.useCallback(()=>a==null?void 0:a(u),[a,u])}),timeValue:$}}function Il(e,t=op(qc())){return e?"day"in e?e:Di(t,e):null}var Kf={exports:{}},zH=Kf.exports,jD;function qH(){return jD||(jD=1,function(e,t){(function(n,r){e.exports=r()})(zH,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",o="second",u="minute",l="hour",d="day",f="week",h="month",p="quarter",g="year",y="date",$="Invalid Date",C=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(B){var q=["th","st","nd","rd"],k=B%100;return"["+B+(q[(k-20)%10]||q[k]||q[0])+"]"}},D=function(B,q,k){var V=String(B);return!V||V.length>=q?B:""+Array(q+1-V.length).join(k)+B},A={s:D,z:function(B){var q=-B.utcOffset(),k=Math.abs(q),V=Math.floor(k/60),_=k%60;return(q<=0?"+":"-")+D(V,2,"0")+":"+D(_,2,"0")},m:function B(q,k){if(q.date()<k.date())return-B(k,q);var V=12*(k.year()-q.year())+(k.month()-q.month()),_=q.clone().add(V,h),H=k-_<0,z=q.clone().add(V+(H?-1:1),h);return+(-(V+(k-_)/(H?_-z:z-_))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:h,y:g,w:f,d,D:y,h:l,m:u,s:o,ms:a,Q:p}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},E="en",T={};T[E]=v;var R="$isDayjsObject",S=function(B){return B instanceof X||!(!B||!B[R])},U=function B(q,k,V){var _;if(!q)return E;if(typeof q=="string"){var H=q.toLowerCase();T[H]&&(_=H),k&&(T[H]=k,_=H);var z=q.split("-");if(!_&&z.length>1)return B(z[0])}else{var N=q.name;T[N]=q,_=N}return!V&&_&&(E=_),_||!V&&E},j=function(B,q){if(S(B))return B.clone();var k=typeof q=="object"?q:{};return k.date=B,k.args=arguments,new X(k)},M=A;M.l=U,M.i=S,M.w=function(B,q){return j(B,{locale:q.$L,utc:q.$u,x:q.$x,$offset:q.$offset})};var X=function(){function B(k){this.$L=U(k.locale,null,!0),this.parse(k),this.$x=this.$x||k.x||{},this[R]=!0}var q=B.prototype;return q.parse=function(k){this.$d=function(V){var _=V.date,H=V.utc;if(_===null)return new Date(NaN);if(M.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var z=_.match(C);if(z){var N=z[2]-1||0,ne=(z[7]||"0").substring(0,3);return H?new Date(Date.UTC(z[1],N,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ne)):new Date(z[1],N,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ne)}}return new Date(_)}(k),this.init()},q.init=function(){var k=this.$d;this.$y=k.getFullYear(),this.$M=k.getMonth(),this.$D=k.getDate(),this.$W=k.getDay(),this.$H=k.getHours(),this.$m=k.getMinutes(),this.$s=k.getSeconds(),this.$ms=k.getMilliseconds()},q.$utils=function(){return M},q.isValid=function(){return this.$d.toString()!==$},q.isSame=function(k,V){var _=j(k);return this.startOf(V)<=_&&_<=this.endOf(V)},q.isAfter=function(k,V){return j(k)<this.startOf(V)},q.isBefore=function(k,V){return this.endOf(V)<j(k)},q.$g=function(k,V,_){return M.u(k)?this[V]:this.set(_,k)},q.unix=function(){return Math.floor(this.valueOf()/1e3)},q.valueOf=function(){return this.$d.getTime()},q.startOf=function(k,V){var _=this,H=!!M.u(V)||V,z=M.p(k),N=function(he,ye){var fe=M.w(_.$u?Date.UTC(_.$y,ye,he):new Date(_.$y,ye,he),_);return H?fe:fe.endOf(d)},ne=function(he,ye){return M.w(_.toDate()[he].apply(_.toDate("s"),(H?[0,0,0,0]:[23,59,59,999]).slice(ye)),_)},ie=this.$W,le=this.$M,$e=this.$D,De="set"+(this.$u?"UTC":"");switch(z){case g:return H?N(1,0):N(31,11);case h:return H?N(1,le):N(0,le+1);case f:var Ce=this.$locale().weekStart||0,Y=(ie<Ce?ie+7:ie)-Ce;return N(H?$e-Y:$e+(6-Y),le);case d:case y:return ne(De+"Hours",0);case l:return ne(De+"Minutes",1);case u:return ne(De+"Seconds",2);case o:return ne(De+"Milliseconds",3);default:return this.clone()}},q.endOf=function(k){return this.startOf(k,!1)},q.$set=function(k,V){var _,H=M.p(k),z="set"+(this.$u?"UTC":""),N=(_={},_[d]=z+"Date",_[y]=z+"Date",_[h]=z+"Month",_[g]=z+"FullYear",_[l]=z+"Hours",_[u]=z+"Minutes",_[o]=z+"Seconds",_[a]=z+"Milliseconds",_)[H],ne=H===d?this.$D+(V-this.$W):V;if(H===h||H===g){var ie=this.clone().set(y,1);ie.$d[N](ne),ie.init(),this.$d=ie.set(y,Math.min(this.$D,ie.daysInMonth())).$d}else N&&this.$d[N](ne);return this.init(),this},q.set=function(k,V){return this.clone().$set(k,V)},q.get=function(k){return this[M.p(k)]()},q.add=function(k,V){var _,H=this;k=Number(k);var z=M.p(V),N=function(le){var $e=j(H);return M.w($e.date($e.date()+Math.round(le*k)),H)};if(z===h)return this.set(h,this.$M+k);if(z===g)return this.set(g,this.$y+k);if(z===d)return N(1);if(z===f)return N(7);var ne=(_={},_[u]=r,_[l]=i,_[o]=n,_)[z]||1,ie=this.$d.getTime()+k*ne;return M.w(ie,this)},q.subtract=function(k,V){return this.add(-1*k,V)},q.format=function(k){var V=this,_=this.$locale();if(!this.isValid())return _.invalidDate||$;var H=k||"YYYY-MM-DDTHH:mm:ssZ",z=M.z(this),N=this.$H,ne=this.$m,ie=this.$M,le=_.weekdays,$e=_.months,De=_.meridiem,Ce=function(ye,fe,oe,Fe){return ye&&(ye[fe]||ye(V,H))||oe[fe].slice(0,Fe)},Y=function(ye){return M.s(N%12||12,ye,"0")},he=De||function(ye,fe,oe){var Fe=ye<12?"AM":"PM";return oe?Fe.toLowerCase():Fe};return H.replace(b,function(ye,fe){return fe||function(oe){switch(oe){case"YY":return String(V.$y).slice(-2);case"YYYY":return M.s(V.$y,4,"0");case"M":return ie+1;case"MM":return M.s(ie+1,2,"0");case"MMM":return Ce(_.monthsShort,ie,$e,3);case"MMMM":return Ce($e,ie);case"D":return V.$D;case"DD":return M.s(V.$D,2,"0");case"d":return String(V.$W);case"dd":return Ce(_.weekdaysMin,V.$W,le,2);case"ddd":return Ce(_.weekdaysShort,V.$W,le,3);case"dddd":return le[V.$W];case"H":return String(N);case"HH":return M.s(N,2,"0");case"h":return Y(1);case"hh":return Y(2);case"a":return he(N,ne,!0);case"A":return he(N,ne,!1);case"m":return String(ne);case"mm":return M.s(ne,2,"0");case"s":return String(V.$s);case"ss":return M.s(V.$s,2,"0");case"SSS":return M.s(V.$ms,3,"0");case"Z":return z}return null}(ye)||z.replace(":","")})},q.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},q.diff=function(k,V,_){var H,z=this,N=M.p(V),ne=j(k),ie=(ne.utcOffset()-this.utcOffset())*r,le=this-ne,$e=function(){return M.m(z,ne)};switch(N){case g:H=$e()/12;break;case h:H=$e();break;case p:H=$e()/3;break;case f:H=(le-ie)/6048e5;break;case d:H=(le-ie)/864e5;break;case l:H=le/i;break;case u:H=le/r;break;case o:H=le/n;break;default:H=le}return _?H:M.a(H)},q.daysInMonth=function(){return this.endOf(h).$D},q.$locale=function(){return T[this.$L]},q.locale=function(k,V){if(!k)return this.$L;var _=this.clone(),H=U(k,V,!0);return H&&(_.$L=H),_},q.clone=function(){return M.w(this.$d,this)},q.toDate=function(){return new Date(this.valueOf())},q.toJSON=function(){return this.isValid()?this.toISOString():null},q.toISOString=function(){return this.$d.toISOString()},q.toString=function(){return this.$d.toUTCString()},B}(),O=X.prototype;return j.prototype=O,[["$ms",a],["$s",o],["$m",u],["$H",l],["$W",d],["$M",h],["$y",g],["$D",y]].forEach(function(B){O[B[1]]=function(q){return this.$g(q,B[0],B[1])}}),j.extend=function(B,q){return B.$i||(B(q,X,j),B.$i=!0),j},j.locale=U,j.isDayjs=S,j.unix=function(B){return j(1e3*B)},j.en=T[E],j.Ls=T,j.p={},j})}(Kf)),Kf.exports}var WH=qH();const HH=Qi(WH);var ms=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["Andorra","ad","376"],["Angola","ao","244"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54","(..) ........",0],["Armenia","am","374",".. ......"],["Aruba","aw","297"],["Australia","au","61",{default:". .... ....","/^4/":"... ... ...","/^5(?!50)/":"... ... ...","/^1(3|8)00/":".... ... ...","/^13/":".. .. ..","/^180/":"... ...."},0,[]],["Austria","at","43"],["Azerbaijan","az","994","(..) ... .. .."],["Bahamas","bs","1242"],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375","(..) ... .. .."],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55","(..) ........."],["British Indian Ocean Territory","io","246"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599","",1],["Cayman Islands","ky","1","... ... ....",4,["345"]],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","... .... ...."],["Colombia","co","57","... ... ...."],["Comoros","km","269"],["Congo","cd","243"],["Congo","cg","242"],["Costa Rica","cr","506","....-...."],["Côte d'Ivoire","ci","225",".. .. .. .. .."],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599","",0],["Cyprus","cy","357",".. ......"],["Czech Republic","cz","420","... ... ..."],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic","do","1","(...) ...-....",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372",".... ......"],["Ethiopia","et","251"],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["France","fr","33",". .. .. .. .."],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49","... ........."],["Ghana","gh","233"],["Greece","gr","30"],["Greenland","gl","299",".. .. .."],["Grenada","gd","1473"],["Guadeloupe","gp","590","",0],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["India","in","91",".....-....."],["Indonesia","id","62"],["Iran","ir","98","... ... ...."],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972","... ... ...."],["Italy","it","39","... .......",0],["Jamaica","jm","1876"],["Japan","jp","81",".. .... ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-..",0],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996","... ... ..."],["Laos","la","856"],["Latvia","lv","371",".. ... ..."],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Macedonia","mk","389"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mexico","mx","52","... ... ....",0],["Micronesia","fm","691"],["Moldova","md","373","(..) ..-..-.."],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",{"/^06/":"(.). .........","/^6/":". .........","/^0(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/":"(.).. ........","/^(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/":".. ........","/^0/":"(.)... .......",default:"... ......."}],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["North Korea","kp","850"],["Norway","no","47","... .. ..."],["Oman","om","968"],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63","... ... ...."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1","(...) ...-....",3,["787","939"]],["Qatar","qa","974"],["Réunion","re","262"],["Romania","ro","40"],["Russia","ru","7","(...) ...-..-..",1],["Rwanda","rw","250"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82","... .... ...."],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Swaziland","sz","268"],["Sweden","se","46","... ... ..."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380","(..) ... .. .."],["United Arab Emirates","ae","971"],["United Kingdom","gb","44",".... ......"],["United States","us","1","(...) ...-....",0],["Uruguay","uy","598"],["Uzbekistan","uz","998",".. ... .. .."],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ....",1],["Venezuela","ve","58"],["Vietnam","vn","84"],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],GH="react-international-phone-",B7=(...e)=>e.filter(t=>!!t).join(" ").trim(),YH=(...e)=>B7(...e).split(" ").map(t=>`${GH}${t}`).join(" "),Jn=({addPrefix:e,rawClassNames:t})=>B7(YH(...e),...t),ZH=({value:e,mask:t,maskSymbol:n,offset:r=0,trimNonMaskCharsLeftover:i=!1})=>{if(e.length<r)return e;let a=e.slice(0,r),o=e.slice(r),u=a,l=0;for(let d of t.split("")){if(l>=o.length){if(!i&&d!==n){u+=d;continue}break}d===n?(u+=o[l],l+=1):u+=d}return u},Xs=e=>e?/^\d+$/.test(e):!1,hp=e=>e.replace(/\D/g,""),JH=(e,t)=>{let n=e.style.display;n!=="block"&&(e.style.display="block");let r=e.getBoundingClientRect(),i=t.getBoundingClientRect(),a=i.top-r.top,o=r.bottom-i.bottom;a>=0&&o>=0||(Math.abs(a)<Math.abs(o)?e.scrollTop+=a:e.scrollTop-=o),e.style.display=n},XH=()=>typeof window>"u"?!1:window.navigator.userAgent.toLowerCase().includes("macintosh"),QH=(e,t)=>{let n=t.disableDialCodeAndPrefix?!1:t.forceDialCode,r=t.disableDialCodeAndPrefix?!1:t.insertDialCodeOnEmpty,i=e,a=d=>t.trimNonDigitsEnd?d.trim():d;if(!i)return r&&!i.length||n?a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`):a(i);if(i=hp(i),i===t.dialCode&&!t.disableDialCodeAndPrefix)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(t.dialCode.startsWith(i)&&!t.disableDialCodeAndPrefix)return a(n?`${t.prefix}${t.dialCode}${t.charAfterDialCode}`:`${t.prefix}${i}`);if(!i.startsWith(t.dialCode)&&!t.disableDialCodeAndPrefix){if(n)return a(`${t.prefix}${t.dialCode}${t.charAfterDialCode}`);if(i.length<t.dialCode.length)return a(`${t.prefix}${i}`)}let o=()=>{let d=t.dialCode.length,f=i.slice(0,d),h=i.slice(d);return{phoneLeftSide:f,phoneRightSide:h}},{phoneLeftSide:u,phoneRightSide:l}=o();return u=`${t.prefix}${u}${t.charAfterDialCode}`,l=ZH({value:l,mask:t.mask,maskSymbol:t.maskChar,trimNonMaskCharsLeftover:t.trimNonDigitsEnd||t.disableDialCodeAndPrefix&&l.length===0}),t.disableDialCodeAndPrefix&&(u=""),a(`${u}${l}`)},eG=({phoneBeforeInput:e,phoneAfterInput:t,phoneAfterFormatted:n,cursorPositionAfterInput:r,leftOffset:i=0,deletion:a})=>{if(r<i)return i;if(!e)return n.length;let o=null;for(let f=r-1;f>=0;f-=1)if(Xs(t[f])){o=f;break}if(o===null){for(let f=0;f<t.length;f+=1)if(Xs(n[f]))return f;return t.length}let u=0;for(let f=0;f<o;f+=1)Xs(t[f])&&(u+=1);let l=0,d=0;for(let f=0;f<n.length&&(l+=1,Xs(n[f])&&(d+=1),!(d>=u+1));f+=1);if(a!=="backward")for(;!Xs(n[l])&&l<n.length;)l+=1;return l},Uf=({phone:e,prefix:t})=>e?`${t}${hp(e)}`:"";function g0({value:e,country:t,insertDialCodeOnEmpty:n,trimNonDigitsEnd:r,countries:i,prefix:a,charAfterDialCode:o,forceDialCode:u,disableDialCodeAndPrefix:l,defaultMask:d,countryGuessingEnabled:f,disableFormatting:h}){let p=e;l&&(p=p.startsWith(`${a}`)?p:`${a}${t.dialCode}${p}`);let g=f?lG({phone:p,countries:i,currentCountryIso2:t==null?void 0:t.iso2}):void 0,y=(g==null?void 0:g.country)??t,$=QH(p,{prefix:a,mask:sG({phone:p,country:y,defaultMask:d,disableFormatting:h}),maskChar:L7,dialCode:y.dialCode,trimNonDigitsEnd:r,charAfterDialCode:o,forceDialCode:u,insertDialCodeOnEmpty:n,disableDialCodeAndPrefix:l}),C=f&&!(g!=null&&g.fullDialCodeMatch)?t:y;return{phone:Uf({phone:l?`${C.dialCode}${$}`:$,prefix:a}),inputValue:$,country:C}}var tG=e=>{if((e==null?void 0:e.toLocaleLowerCase().includes("delete"))??!1)return e!=null&&e.toLocaleLowerCase().includes("forward")?"forward":"backward"},nG=(e,{country:t,insertDialCodeOnEmpty:n,phoneBeforeInput:r,prefix:i,charAfterDialCode:a,forceDialCode:o,disableDialCodeAndPrefix:u,countryGuessingEnabled:l,defaultMask:d,disableFormatting:f,countries:h})=>{let p=e.nativeEvent,g=p.inputType,y=tG(g),$=!!(g!=null&&g.startsWith("insertFrom")),C=g==="insertText",b=(p==null?void 0:p.data)||void 0,v=e.target.value,D=e.target.selectionStart??0;if(g!=null&&g.includes("history"))return{inputValue:r,phone:Uf({phone:r,prefix:i}),cursorPosition:r.length,country:t};if(C&&!Xs(b)&&v!==i)return{inputValue:r,phone:Uf({phone:u?`${t.dialCode}${r}`:r,prefix:i}),cursorPosition:D-((b==null?void 0:b.length)??0),country:t};if(o&&!v.startsWith(`${i}${t.dialCode}`)&&!$){let S=v?r:`${i}${t.dialCode}${a}`;return{inputValue:S,phone:Uf({phone:S,prefix:i}),cursorPosition:i.length+t.dialCode.length+a.length,country:t}}let{phone:A,inputValue:E,country:T}=g0({value:v,country:t,trimNonDigitsEnd:y==="backward",insertDialCodeOnEmpty:n,countryGuessingEnabled:l,countries:h,prefix:i,charAfterDialCode:a,forceDialCode:o,disableDialCodeAndPrefix:u,disableFormatting:f,defaultMask:d}),R=eG({cursorPositionAfterInput:D,phoneBeforeInput:r,phoneAfterInput:v,phoneAfterFormatted:E,leftOffset:o?i.length+t.dialCode.length+a.length:0,deletion:y});return{phone:A,inputValue:E,cursorPosition:R,country:T}},rG=(e,t)=>{let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i of n)if(e[i]!==t[i])return!1;return!0},iG=()=>{let e=x.useRef(),t=x.useRef(Date.now());return{check:()=>{let n=Date.now(),r=e.current?n-t.current:void 0;return e.current=t.current,t.current=n,r}}},aG={size:20,overrideLastItemDebounceMS:-1};function oG(e,t){let{size:n,overrideLastItemDebounceMS:r,onChange:i}={...aG,...t},[a,o]=x.useState(e),[u,l]=x.useState([a]),[d,f]=x.useState(0),h=iG();return[a,(p,g)=>{if(typeof p=="object"&&typeof a=="object"&&rG(p,a)||p===a)return;let y=r>0,$=h.check(),C=y&&$!==void 0?$>r:!0;if((g==null?void 0:g.overrideLastItem)!==void 0?g.overrideLastItem:!C)l(b=>[...b.slice(0,d),p]);else{let b=u.length>=n;l(v=>[...v.slice(b?1:0,d+1),p]),b||f(v=>v+1)}o(p),i==null||i(p)},()=>{if(d<=0)return{success:!1};let p=u[d-1];return o(p),f(g=>g-1),i==null||i(p),{success:!0,value:p}},()=>{if(d+1>=u.length)return{success:!1};let p=u[d+1];return o(p),f(g=>g+1),i==null||i(p),{success:!0,value:p}}]}var L7=".",Zr={defaultCountry:"us",value:"",prefix:"+",defaultMask:"............",charAfterDialCode:" ",historySaveDebounceMS:200,disableCountryGuess:!1,disableDialCodePrefill:!1,forceDialCode:!1,disableDialCodeAndPrefix:!1,disableFormatting:!1,countries:ms},V7=({defaultCountry:e=Zr.defaultCountry,value:t=Zr.value,countries:n=Zr.countries,prefix:r=Zr.prefix,defaultMask:i=Zr.defaultMask,charAfterDialCode:a=Zr.charAfterDialCode,historySaveDebounceMS:o=Zr.historySaveDebounceMS,disableCountryGuess:u=Zr.disableCountryGuess,disableDialCodePrefill:l=Zr.disableDialCodePrefill,forceDialCode:d=Zr.forceDialCode,disableDialCodeAndPrefix:f=Zr.disableDialCodeAndPrefix,disableFormatting:h=Zr.disableFormatting,onChange:p,inputRef:g})=>{let y={countries:n,prefix:r,charAfterDialCode:a,forceDialCode:f?!1:d,disableDialCodeAndPrefix:f,defaultMask:i,countryGuessingEnabled:!u,disableFormatting:h},$=x.useRef(null),C=g||$,b=B=>{Promise.resolve().then(()=>{var q;typeof window>"u"||C.current!==(document==null?void 0:document.activeElement)||((q=C.current)==null||q.setSelectionRange(B,B))})},[{phone:v,inputValue:D,country:A},E,T,R]=oG(()=>{let B=nu({value:e,field:"iso2",countries:n});B||console.error(`[react-international-phone]: can not find a country with "${e}" iso2 code`);let q=B||nu({value:"us",field:"iso2",countries:n}),{phone:k,inputValue:V,country:_}=g0({value:t,country:q,insertDialCodeOnEmpty:!l,...y});return b(V.length),{phone:k,inputValue:V,country:_.iso2}},{overrideLastItemDebounceMS:o,onChange:({inputValue:B,phone:q,country:k})=>{if(!p)return;let V=S(k);p({phone:q,inputValue:B,country:V})}}),S=x.useCallback(B=>nu({value:B,field:"iso2",countries:n}),[n]),U=x.useMemo(()=>S(A),[A,S]);x.useEffect(()=>{let B=C.current;if(!B)return;let q=k=>{if(!k.key)return;let V=k.ctrlKey,_=k.metaKey,H=k.shiftKey;if(k.key.toLowerCase()==="z"){if(XH()){if(!_)return}else if(!V)return;H?R():T()}};return B.addEventListener("keydown",q),()=>{B.removeEventListener("keydown",q)}},[C,T,R]);let j=B=>{B.preventDefault();let{phone:q,inputValue:k,country:V,cursorPosition:_}=nG(B,{country:U,phoneBeforeInput:D,insertDialCodeOnEmpty:!1,...y});return E({inputValue:k,phone:q,country:V.iso2}),b(_),t},M=(B,q={focusOnInput:!1})=>{let k=nu({value:B,field:"iso2",countries:n});if(!k){console.error(`[react-international-phone]: can not find a country with "${B}" iso2 code`);return}let V=f?"":`${r}${k.dialCode}${a}`;E({inputValue:V,phone:`${r}${k.dialCode}`,country:k.iso2}),q.focusOnInput&&Promise.resolve().then(()=>{var _;(_=C.current)==null||_.focus()})},[X,O]=x.useState(!1);return x.useEffect(()=>{if(!X){O(!0),t!==v&&(p==null||p({inputValue:D,phone:v,country:U}));return}if(t===v)return;let{phone:B,inputValue:q,country:k}=g0({value:t,country:U,insertDialCodeOnEmpty:!l,...y});E({phone:B,inputValue:q,country:k.iso2})},[t]),{phone:v,inputValue:D,country:U,setCountry:M,handlePhoneValueChange:j,inputRef:C}},sG=({phone:e,country:t,defaultMask:n="............",disableFormatting:r=!1})=>{let i=t.format,a=u=>r?u.replace(new RegExp(`[^${L7}]`,"g"),""):u;if(!i)return a(n);if(typeof i=="string")return a(i);if(!i.default)return console.error(`[react-international-phone]: default mask for ${t.iso2} is not provided`),a(n);let o=Object.keys(i).find(u=>{if(u==="default")return!1;if(!(u.charAt(0)==="/"&&u.charAt(u.length-1)==="/"))return console.error(`[react-international-phone]: format regex "${u}" for ${t.iso2} is not valid`),!1;let l=new RegExp(u.substring(1,u.length-1)),d=e.replace(t.dialCode,"");return l.test(hp(d))});return a(o?i[o]:i.default)},gi=e=>{let[t,n,r,i,a,o]=e;return{name:t,iso2:n,dialCode:r,format:i,priority:a,areaCodes:o}},uG=e=>`Field "${e}" is not supported`,nu=({field:e,value:t,countries:n=ms})=>{if(["priority"].includes(e))throw new Error(uG(e));let r=n.find(i=>{let a=gi(i);return t===a[e]});if(r)return gi(r)},lG=({phone:e,countries:t=ms,currentCountryIso2:n})=>{var u;let r={country:void 0,fullDialCodeMatch:!1};if(!e)return r;let i=hp(e);if(!i)return r;let a=r,o=({country:l,fullDialCodeMatch:d})=>{var p,g;let f=l.dialCode===((p=a.country)==null?void 0:p.dialCode),h=(l.priority??0)<(((g=a.country)==null?void 0:g.priority)??0);(!f||h)&&(a={country:l,fullDialCodeMatch:d})};for(let l of t){let d=gi(l),{dialCode:f,areaCodes:h}=d;if(i.startsWith(f)){let p=a.country?Number(f)>=Number(a.country.dialCode):!0;if(h){let g=i.substring(f.length);for(let y of h)if(g.startsWith(y))return{country:d,fullDialCodeMatch:!0}}(p||f===i||!a.fullDialCodeMatch)&&o({country:d,fullDialCodeMatch:!0})}a.fullDialCodeMatch||i.length<f.length&&f.startsWith(i)&&(!a.country||Number(f)<=Number(a.country.dialCode))&&o({country:d,fullDialCodeMatch:!1})}if(n){let l=nu({value:n,field:"iso2",countries:t});if(!l)return a;let d=l?(f=>{if(!(f!=null&&f.areaCodes))return!1;let h=i.substring(f.dialCode.length);return f.areaCodes.some(p=>p.startsWith(h))})(l):!1;a&&((u=a.country)==null?void 0:u.dialCode)===l.dialCode&&a.country!==l&&a.fullDialCodeMatch&&(!l.areaCodes||d)&&(a={country:l,fullDialCodeMatch:!0})}return a},cG=(e,t)=>{let n=parseInt(e,16);return Number(n+t).toString(16)},dG="abcdefghijklmnopqrstuvwxyz",fG="1f1e6",KD=dG.split("").reduce((e,t,n)=>({...e,[t]:cG(fG,n)}),{}),hG=e=>[KD[e[0]],KD[e[1]]].join("-"),J1=({iso2:e,size:t,src:n,protocol:r="https",disableLazyLoading:i,className:a,style:o,...u})=>{if(!e)return x.createElement("img",{className:Jn({addPrefix:["flag-emoji"],rawClassNames:[a]}),width:t,height:t,...u});let l=()=>{if(n)return n;let d=hG(e);return`${r}://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${d}.svg`};return x.createElement("img",{className:Jn({addPrefix:["flag-emoji"],rawClassNames:[a]}),src:l(),width:t,height:t,draggable:!1,"data-country":e,loading:i?void 0:"lazy",style:{width:t,height:t,...o},alt:"",...u})},pG=1e3,mG=({show:e,dialCodePrefix:t="+",selectedCountry:n,countries:r=ms,preferredCountries:i=[],flags:a,onSelect:o,onClose:u,...l})=>{let d=x.useRef(null),f=x.useRef(),h=x.useMemo(()=>{if(!i||!i.length)return r;let T=[],R=[...r];for(let S of i){let U=R.findIndex(j=>gi(j).iso2===S);if(U!==-1){let j=R.splice(U,1)[0];T.push(j)}}return T.concat(R)},[r,i]),p=x.useRef({updatedAt:void 0,value:""}),g=T=>{let R=p.current.updatedAt&&new Date().getTime()-p.current.updatedAt.getTime()>pG;p.current={value:R?T:`${p.current.value}${T}`,updatedAt:new Date};let S=h.findIndex(U=>gi(U).name.toLowerCase().startsWith(p.current.value));S!==-1&&C(S)},y=x.useCallback(T=>h.findIndex(R=>gi(R).iso2===T),[h]),[$,C]=x.useState(y(n)),b=()=>{f.current!==n&&C(y(n))},v=x.useCallback(T=>{C(y(T.iso2)),o==null||o(T)},[o,y]),D=T=>{let R=h.length-1,S=U=>T==="prev"?U-1:T==="next"?U+1:T==="last"?R:0;C(U=>{let j=S(U);return j<0?0:j>R?R:j})},A=T=>{if(T.stopPropagation(),T.key==="Enter"){T.preventDefault();let R=gi(h[$]);v(R);return}if(T.key==="Escape"){u==null||u();return}if(T.key==="ArrowUp"){T.preventDefault(),D("prev");return}if(T.key==="ArrowDown"){T.preventDefault(),D("next");return}if(T.key==="PageUp"){T.preventDefault(),D("first");return}if(T.key==="PageDown"){T.preventDefault(),D("last");return}T.key===" "&&T.preventDefault(),T.key.length===1&&!T.altKey&&!T.ctrlKey&&!T.metaKey&&g(T.key.toLocaleLowerCase())},E=x.useCallback(()=>{if(!d.current||$===void 0)return;let T=gi(h[$]).iso2;if(T===f.current)return;let R=d.current.querySelector(`[data-country="${T}"]`);R&&(JH(d.current,R),f.current=T)},[$,h]);return x.useEffect(()=>{E()},[$,E]),x.useEffect(()=>{d.current&&(e?d.current.focus():b())},[e]),x.useEffect(()=>{b()},[n]),x.createElement("ul",{ref:d,role:"listbox",className:Jn({addPrefix:["country-selector-dropdown"],rawClassNames:[l.className]}),style:{display:e?"block":"none",...l.style},onKeyDown:A,onBlur:u,tabIndex:-1,"aria-activedescendant":`react-international-phone__${gi(h[$]).iso2}-option`},h.map((T,R)=>{let S=gi(T),U=S.iso2===n,j=R===$,M=i.includes(S.iso2),X=R===i.length-1,O=a==null?void 0:a.find(B=>B.iso2===S.iso2);return x.createElement(x.Fragment,{key:S.iso2},x.createElement("li",{"data-country":S.iso2,role:"option","aria-selected":U,"aria-label":`${S.name} ${t}${S.dialCode}`,id:`react-international-phone__${S.iso2}-option`,className:Jn({addPrefix:["country-selector-dropdown__list-item",M&&"country-selector-dropdown__list-item--preferred",U&&"country-selector-dropdown__list-item--selected",j&&"country-selector-dropdown__list-item--focused"],rawClassNames:[l.listItemClassName]}),onClick:()=>v(S),style:l.listItemStyle,title:S.name},x.createElement(J1,{iso2:S.iso2,src:O==null?void 0:O.src,className:Jn({addPrefix:["country-selector-dropdown__list-item-flag-emoji"],rawClassNames:[l.listItemFlagClassName]}),style:l.listItemFlagStyle}),x.createElement("span",{className:Jn({addPrefix:["country-selector-dropdown__list-item-country-name"],rawClassNames:[l.listItemCountryNameClassName]}),style:l.listItemCountryNameStyle},S.name),x.createElement("span",{className:Jn({addPrefix:["country-selector-dropdown__list-item-dial-code"],rawClassNames:[l.listItemDialCodeClassName]}),style:l.listItemDialCodeStyle},t,S.dialCode)),X?x.createElement("hr",{className:Jn({addPrefix:["country-selector-dropdown__preferred-list-divider"],rawClassNames:[l.preferredListDividerClassName]}),style:l.preferredListDividerStyle}):null)}))},gG=({selectedCountry:e,onSelect:t,disabled:n,hideDropdown:r,countries:i=ms,preferredCountries:a=[],flags:o,renderButtonWrapper:u,...l})=>{let[d,f]=x.useState(!1),h=x.useMemo(()=>{if(e)return nu({value:e,field:"iso2",countries:i})},[i,e]),p=x.useRef(null),g=$=>{$.key&&["ArrowUp","ArrowDown"].includes($.key)&&($.preventDefault(),f(!0))},y=()=>{var b;let $={title:h==null?void 0:h.name,onClick:()=>f(v=>!v),onMouseDown:v=>v.preventDefault(),onKeyDown:g,disabled:r||n,role:"combobox","aria-label":"Country selector","aria-haspopup":"listbox","aria-expanded":d},C=x.createElement("div",{className:Jn({addPrefix:["country-selector-button__button-content"],rawClassNames:[l.buttonContentWrapperClassName]}),style:l.buttonContentWrapperStyle},x.createElement(J1,{iso2:e,src:(b=o==null?void 0:o.find(v=>v.iso2===e))==null?void 0:b.src,className:Jn({addPrefix:["country-selector-button__flag-emoji",n&&"country-selector-button__flag-emoji--disabled"],rawClassNames:[l.flagClassName]}),style:{visibility:e?"visible":"hidden",...l.flagStyle}}),!r&&x.createElement("div",{className:Jn({addPrefix:["country-selector-button__dropdown-arrow",n&&"country-selector-button__dropdown-arrow--disabled",d&&"country-selector-button__dropdown-arrow--active"],rawClassNames:[l.dropdownArrowClassName]}),style:l.dropdownArrowStyle}));return u?u({children:C,rootProps:$}):x.createElement("button",{...$,type:"button",className:Jn({addPrefix:["country-selector-button",d&&"country-selector-button--active",n&&"country-selector-button--disabled",r&&"country-selector-button--hide-dropdown"],rawClassNames:[l.buttonClassName]}),"data-country":e,style:l.buttonStyle},C)};return x.createElement("div",{className:Jn({addPrefix:["country-selector"],rawClassNames:[l.className]}),style:l.style,ref:p},y(),x.createElement(mG,{show:d,countries:i,preferredCountries:a,flags:o,onSelect:$=>{f(!1),t==null||t($)},selectedCountry:e,onClose:()=>{f(!1)},...l.dropdownStyleProps}))},yG=({dialCode:e,prefix:t,disabled:n,style:r,className:i})=>x.createElement("div",{className:Jn({addPrefix:["dial-code-preview",n&&"dial-code-preview--disabled"],rawClassNames:[i]}),style:r},`${t}${e}`);x.forwardRef(({value:e,onChange:t,countries:n=ms,preferredCountries:r=[],hideDropdown:i,showDisabledDialCodeAndPrefix:a,disableFocusAfterCountrySelect:o,flags:u,style:l,className:d,inputStyle:f,inputClassName:h,countrySelectorStyleProps:p,dialCodePreviewStyleProps:g,inputProps:y,placeholder:$,disabled:C,name:b,onFocus:v,onBlur:D,required:A,autoFocus:E,...T},R)=>{let{phone:S,inputValue:U,inputRef:j,country:M,setCountry:X,handlePhoneValueChange:O}=V7({value:e,countries:n,...T,onChange:q=>{t==null||t(q.phone,{country:q.country,inputValue:q.inputValue})}}),B=T.disableDialCodeAndPrefix&&a&&(M==null?void 0:M.dialCode);return x.useImperativeHandle(R,()=>j.current?Object.assign(j.current,{setCountry:X,state:{phone:S,inputValue:U,country:M}}):null,[j,X,S,U,M]),x.createElement("div",{ref:R,className:Jn({addPrefix:["input-container"],rawClassNames:[d]}),style:l},x.createElement(gG,{onSelect:q=>X(q.iso2,{focusOnInput:!o}),flags:u,selectedCountry:M.iso2,countries:n,preferredCountries:r,disabled:C,hideDropdown:i,...p}),B&&x.createElement(yG,{dialCode:M.dialCode,prefix:T.prefix??"+",disabled:C,...g}),x.createElement("input",{onChange:O,value:U,type:"tel",ref:j,className:Jn({addPrefix:["input",C&&"input--disabled"],rawClassNames:[h]}),placeholder:$,disabled:C,style:f,name:b,onFocus:v,onBlur:D,autoFocus:E,required:A,...y}))});var oo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},y0={exports:{}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=9007199254740991,a="[object Arguments]",o="[object Array]",u="[object Boolean]",l="[object Date]",d="[object Error]",f="[object Function]",h="[object GeneratorFunction]",p="[object Map]",g="[object Number]",y="[object Object]",$="[object Promise]",C="[object RegExp]",b="[object Set]",v="[object String]",D="[object Symbol]",A="[object WeakMap]",E="[object ArrayBuffer]",T="[object DataView]",R="[object Float32Array]",S="[object Float64Array]",U="[object Int8Array]",j="[object Int16Array]",M="[object Int32Array]",X="[object Uint8Array]",O="[object Uint8ClampedArray]",B="[object Uint16Array]",q="[object Uint32Array]",k=/[\\^$.*+?()[\]{}|]/g,V=/\w*$/,_=/^\[object .+?Constructor\]$/,H=/^(?:0|[1-9]\d*)$/,z={};z[a]=z[o]=z[E]=z[T]=z[u]=z[l]=z[R]=z[S]=z[U]=z[j]=z[M]=z[p]=z[g]=z[y]=z[C]=z[b]=z[v]=z[D]=z[X]=z[O]=z[B]=z[q]=!0,z[d]=z[f]=z[A]=!1;var N=typeof oo=="object"&&oo&&oo.Object===Object&&oo,ne=typeof self=="object"&&self&&self.Object===Object&&self,ie=N||ne||Function("return this")(),le=t&&!t.nodeType&&t,$e=le&&!0&&e&&!e.nodeType&&e,De=$e&&$e.exports===le;function Ce(K,ae){return K.set(ae[0],ae[1]),K}function Y(K,ae){return K.add(ae),K}function he(K,ae){for(var ve=-1,Be=K?K.length:0;++ve<Be&&ae(K[ve],ve,K)!==!1;);return K}function ye(K,ae){for(var ve=-1,Be=ae.length,vn=K.length;++ve<Be;)K[vn+ve]=ae[ve];return K}function fe(K,ae,ve,Be){for(var vn=-1,Un=K?K.length:0;++vn<Un;)ve=ae(ve,K[vn],vn,K);return ve}function oe(K,ae){for(var ve=-1,Be=Array(K);++ve<K;)Be[ve]=ae(ve);return Be}function Fe(K,ae){return K==null?void 0:K[ae]}function et(K){var ae=!1;if(K!=null&&typeof K.toString!="function")try{ae=!!(K+"")}catch{}return ae}function dt(K){var ae=-1,ve=Array(K.size);return K.forEach(function(Be,vn){ve[++ae]=[vn,Be]}),ve}function Dn(K,ae){return function(ve){return K(ae(ve))}}function yt(K){var ae=-1,ve=Array(K.size);return K.forEach(function(Be){ve[++ae]=Be}),ve}var G=Array.prototype,Z=Function.prototype,re=Object.prototype,pe=ie["__core-js_shared__"],Ee=function(){var K=/[^.]+$/.exec(pe&&pe.keys&&pe.keys.IE_PROTO||"");return K?"Symbol(src)_1."+K:""}(),we=Z.toString,_e=re.hasOwnProperty,Ve=re.toString,mt=RegExp("^"+we.call(_e).replace(k,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ut=De?ie.Buffer:void 0,Rt=ie.Symbol,Pn=ie.Uint8Array,_n=Dn(Object.getPrototypeOf,Object),Yt=Object.create,Ln=re.propertyIsEnumerable,tn=G.splice,vt=Object.getOwnPropertySymbols,Vn=ut?ut.isBuffer:void 0,Sr=Dn(Object.keys,Object),Rn=ze(ie,"DataView"),er=ze(ie,"Map"),On=ze(ie,"Promise"),tr=ze(ie,"Set"),Nn=ze(ie,"WeakMap"),Cn=ze(Object,"create"),Br=ra(Rn),Vt=ra(er),En=ra(On),Ne=ra(tr),tt=ra(Nn),nn=Rt?Rt.prototype:void 0,fr=nn?nn.valueOf:void 0;function Ae(K){var ae=-1,ve=K?K.length:0;for(this.clear();++ae<ve;){var Be=K[ae];this.set(Be[0],Be[1])}}function je(){this.__data__=Cn?Cn(null):{}}function Ye(K){return this.has(K)&&delete this.__data__[K]}function Ft(K){var ae=this.__data__;if(Cn){var ve=ae[K];return ve===r?void 0:ve}return _e.call(ae,K)?ae[K]:void 0}function rn(K){var ae=this.__data__;return Cn?ae[K]!==void 0:_e.call(ae,K)}function jn(K,ae){var ve=this.__data__;return ve[K]=Cn&&ae===void 0?r:ae,this}Ae.prototype.clear=je,Ae.prototype.delete=Ye,Ae.prototype.get=Ft,Ae.prototype.has=rn,Ae.prototype.set=jn;function Ut(K){var ae=-1,ve=K?K.length:0;for(this.clear();++ae<ve;){var Be=K[ae];this.set(Be[0],Be[1])}}function on(){this.__data__=[]}function kt(K){var ae=this.__data__,ve=Ti(ae,K);if(ve<0)return!1;var Be=ae.length-1;return ve==Be?ae.pop():tn.call(ae,ve,1),!0}function wt(K){var ae=this.__data__,ve=Ti(ae,K);return ve<0?void 0:ae[ve][1]}function li(K){return Ti(this.__data__,K)>-1}function xo(K,ae){var ve=this.__data__,Be=Ti(ve,K);return Be<0?ve.push([K,ae]):ve[Be][1]=ae,this}Ut.prototype.clear=on,Ut.prototype.delete=kt,Ut.prototype.get=wt,Ut.prototype.has=li,Ut.prototype.set=xo;function hr(K){var ae=-1,ve=K?K.length:0;for(this.clear();++ae<ve;){var Be=K[ae];this.set(Be[0],Be[1])}}function Fa(){this.__data__={hash:new Ae,map:new(er||Ut),string:new Ae}}function ka(K){return Ke(this,K).delete(K)}function Ia(K){return Ke(this,K).get(K)}function gt(K){return Ke(this,K).has(K)}function nr(K,ae){return Ke(this,K).set(K,ae),this}hr.prototype.clear=Fa,hr.prototype.delete=ka,hr.prototype.get=Ia,hr.prototype.has=gt,hr.prototype.set=nr;function pr(K){this.__data__=new Ut(K)}function Kn(){this.__data__=new Ut}function Ba(K){return this.__data__.delete(K)}function Lr(K){return this.__data__.get(K)}function al(K){return this.__data__.has(K)}function xs(K,ae){var ve=this.__data__;if(ve instanceof Ut){var Be=ve.__data__;if(!er||Be.length<n-1)return Be.push([K,ae]),this;ve=this.__data__=new hr(Be)}return ve.set(K,ae),this}pr.prototype.clear=Kn,pr.prototype.delete=Ba,pr.prototype.get=Lr,pr.prototype.has=al,pr.prototype.set=xs;function ol(K,ae){var ve=cl(K)||qp(K)?oe(K.length,String):[],Be=ve.length,vn=!!Be;for(var Un in K)_e.call(K,Un)&&!(vn&&(Un=="length"||rr(Un,Be)))&&ve.push(Un);return ve}function La(K,ae,ve){var Be=K[ae];(!(_e.call(K,ae)&&ll(Be,ve))||ve===void 0&&!(ae in K))&&(K[ae]=ve)}function Ti(K,ae){for(var ve=K.length;ve--;)if(ll(K[ve][0],ae))return ve;return-1}function wo(K,ae){return K&&be(ae,fl(ae),K)}function Do(K,ae,ve,Be,vn,Un,Nr){var zn;if(Be&&(zn=Un?Be(K,vn,Un,Nr):Be(K)),zn!==void 0)return zn;if(!Ps(K))return K;var mn=cl(K);if(mn){if(zn=Mn(K),!ae)return ue(K,zn)}else{var Pi=qt(K),_i=Pi==f||Pi==h;if(dl(K))return Es(K,ae);if(Pi==y||Pi==a||_i&&!Un){if(et(K))return Un?K:{};if(zn=Fn(_i?{}:K),!ae)return Re(K,wo(zn,K))}else{if(!z[Pi])return Un?K:{};zn=Vr(K,Pi,Do,ae)}}Nr||(Nr=new pr);var hl=Nr.get(K);if(hl)return hl;if(Nr.set(K,zn),!mn)var _s=ve?it(K):fl(K);return he(_s||K,function(qn,Ao){_s&&(Ao=qn,qn=K[Ao]),La(zn,Ao,Do(qn,ae,ve,Be,Ao,K,Nr))}),zn}function ws(K){return Ps(K)?Yt(K):{}}function Ds(K,ae,ve){var Be=ae(K);return cl(K)?Be:ye(Be,ve(K))}function sl(K){return Ve.call(K)}function Cs(K){if(!Ps(K)||Eo(K))return!1;var ae=vd(K)||et(K)?mt:_;return ae.test(ra(K))}function Co(K){if(!So(K))return Sr(K);var ae=[];for(var ve in Object(K))_e.call(K,ve)&&ve!="constructor"&&ae.push(ve);return ae}function Es(K,ae){if(ae)return K.slice();var ve=new K.constructor(K.length);return K.copy(ve),ve}function na(K){var ae=new K.constructor(K.byteLength);return new Pn(ae).set(new Pn(K)),ae}function ul(K,ae){var ve=ae?na(K.buffer):K.buffer;return new K.constructor(ve,K.byteOffset,K.byteLength)}function Ss(K,ae,ve){var Be=ae?ve(dt(K),!0):dt(K);return fe(Be,Ce,new K.constructor)}function Va(K){var ae=new K.constructor(K.source,V.exec(K));return ae.lastIndex=K.lastIndex,ae}function As(K,ae,ve){var Be=ae?ve(yt(K),!0):yt(K);return fe(Be,Y,new K.constructor)}function I(K){return fr?Object(fr.call(K)):{}}function Q(K,ae){var ve=ae?na(K.buffer):K.buffer;return new K.constructor(ve,K.byteOffset,K.length)}function ue(K,ae){var ve=-1,Be=K.length;for(ae||(ae=Array(Be));++ve<Be;)ae[ve]=K[ve];return ae}function be(K,ae,ve,Be){ve||(ve={});for(var vn=-1,Un=ae.length;++vn<Un;){var Nr=ae[vn],zn=void 0;La(ve,Nr,zn===void 0?K[Nr]:zn)}return ve}function Re(K,ae){return be(K,Ot(K),ae)}function it(K){return Ds(K,fl,Ot)}function Ke(K,ae){var ve=K.__data__;return Ts(ae)?ve[typeof ae=="string"?"string":"hash"]:ve.map}function ze(K,ae){var ve=Fe(K,ae);return Cs(ve)?ve:void 0}var Ot=vt?Dn(vt,Object):It,qt=sl;(Rn&&qt(new Rn(new ArrayBuffer(1)))!=T||er&&qt(new er)!=p||On&&qt(On.resolve())!=$||tr&&qt(new tr)!=b||Nn&&qt(new Nn)!=A)&&(qt=function(K){var ae=Ve.call(K),ve=ae==y?K.constructor:void 0,Be=ve?ra(ve):void 0;if(Be)switch(Be){case Br:return T;case Vt:return p;case En:return $;case Ne:return b;case tt:return A}return ae});function Mn(K){var ae=K.length,ve=K.constructor(ae);return ae&&typeof K[0]=="string"&&_e.call(K,"index")&&(ve.index=K.index,ve.input=K.input),ve}function Fn(K){return typeof K.constructor=="function"&&!So(K)?ws(_n(K)):{}}function Vr(K,ae,ve,Be){var vn=K.constructor;switch(ae){case E:return na(K);case u:case l:return new vn(+K);case T:return ul(K,Be);case R:case S:case U:case j:case M:case X:case O:case B:case q:return Q(K,Be);case p:return Ss(K,Be,ve);case g:case v:return new vn(K);case C:return Va(K);case b:return As(K,Be,ve);case D:return I(K)}}function rr(K,ae){return ae=ae??i,!!ae&&(typeof K=="number"||H.test(K))&&K>-1&&K%1==0&&K<ae}function Ts(K){var ae=typeof K;return ae=="string"||ae=="number"||ae=="symbol"||ae=="boolean"?K!=="__proto__":K===null}function Eo(K){return!!Ee&&Ee in K}function So(K){var ae=K&&K.constructor,ve=typeof ae=="function"&&ae.prototype||re;return K===ve}function ra(K){if(K!=null){try{return we.call(K)}catch{}try{return K+""}catch{}}return""}function zp(K){return Do(K,!0,!0)}function ll(K,ae){return K===ae||K!==K&&ae!==ae}function qp(K){return Wp(K)&&_e.call(K,"callee")&&(!Ln.call(K,"callee")||Ve.call(K)==a)}var cl=Array.isArray;function yd(K){return K!=null&&Hp(K.length)&&!vd(K)}function Wp(K){return Gp(K)&&yd(K)}var dl=Vn||Mt;function vd(K){var ae=Ps(K)?Ve.call(K):"";return ae==f||ae==h}function Hp(K){return typeof K=="number"&&K>-1&&K%1==0&&K<=i}function Ps(K){var ae=typeof K;return!!K&&(ae=="object"||ae=="function")}function Gp(K){return!!K&&typeof K=="object"}function fl(K){return yd(K)?ol(K):Co(K)}function It(){return[]}function Mt(){return!1}e.exports=zp})(y0,y0.exports);var so=y0.exports,v0=function(){return v0=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},v0.apply(this,arguments)};function vG(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function u(f){try{d(r.next(f))}catch(h){o(h)}}function l(f){try{d(r.throw(f))}catch(h){o(h)}}function d(f){f.done?a(f.value):i(f.value).then(u,l)}d((r=r.apply(e,[])).next())})}function bG(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=u(0),o.throw=u(1),o.return=u(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(d){return function(f){return l([d,f])}}function l(d){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,d[0]&&(n=0)),n;)try{if(r=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return n.label++,{value:d[1],done:!1};case 5:n.label++,i=d[1],d=[0];continue;case 7:d=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){n.label=d[1];break}if(d[0]===6&&n.label<a[1]){n.label=a[1],a=d;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(d);break}a[2]&&n.ops.pop(),n.trys.pop();continue}d=t.call(e,n)}catch(f){d=[6,f],i=0}finally{r=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function $h(e,t,n,r,i){return vG(this,void 0,void 0,function(){var a,o;return bG(this,function(u){switch(u.label){case 0:if(n===void 0)return[2];o=0,u.label=1;case 1:return o<n.length?[4,n[o](e,t,r,i,n)]:[3,4];case 2:if(a=u.sent(),a==="canceled")return[3,4];u.label=3;case 3:return o++,[3,1];case 4:return a!=="canceled"?[2,a]:[2]}})})}var b0=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:v0({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},$G=function(){function e(t,n,r,i){var a=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var o=so(n);$h(t,o,r,this.htmlPluginState,i).then(function(u){if(a.isMounted){a.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var l=b0(i,u);a.imgElement.setAttribute("src",o.toURL(l))}})}return e.prototype.update=function(t,n,r){var i=this,a=so(t);$h(this.imgElement,a,n,this.htmlPluginState).then(function(o){if(i.isMounted){var u=b0(r,o);i.imgElement.setAttribute("src",a.toURL(u))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let en=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(n=>this.hasValue(n)),this}setDelimiter(t){return this.delimiter=t,this}},xG=class extends Error{constructor(t="Unsupported"){super(t)}};function X1(e){return new xG(e)}function wG(){return this._qualifierModel||{error:X1(`unsupported qualifier ${this.constructor.name}`)}}let DG=class{constructor(){this._qualifierModel={}}toJson(){return wG.apply(this)}},rt=class extends DG{constructor(t,n){super(),this.delimiter="_",this.key=t,n instanceof en?this.qualifierValue=n:(this.qualifierValue=new en,this.qualifierValue.addValue(n))}toString(){const{key:t,delimiter:n,qualifierValue:r}=this;return`${t}${n}${r.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},oi=class extends rt{constructor(t,n){let r;n?r=new en([t,`${n}`]).setDelimiter(":"):r=t,super("fl",r),this.flagValue=n}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}};function CG(e,t){const n=Array.from(e.entries());return t.forEach(r=>{n.push(["fl",r])}),n.sort().map(r=>r[1])}function EG(){var e,t,n;const r=this._actionModel&&Object.keys(this._actionModel).length,i=(n=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||n===void 0?void 0:n.error;return i&&i instanceof Error?{error:i}:r?this._actionModel:{error:X1(`unsupported action ${this.constructor.name}`)}}let SG=class{constructor(){this._actionModel={}}toJson(){return EG.apply(this)}},Ci=class extends SG{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),CG(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[n,r]=t.toLowerCase().split("_");n==="fl"?this.flags.push(new oi(r)):this.qualifiers.set(n,new rt(n,r))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new oi(t)):t instanceof oi&&this.flags.push(t),this}addValueToQualifier(t,n){return this.qualifiers.get(t).addValue(n),this}};class Q1 extends Ci{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class pp extends Q1{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new rt("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new rt("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new rt("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new rt("h",t)),this}static fromJson(t){const n=new pp;return t.width&&n.width(t.width),t.height&&n.height(t.height),t.x&&n.x(t.x),t.y&&n.y(t.y),n}}function AG(){return new pp}function N7(){return new Q1("faces")}function TG(){return new Q1("ocr_text")}class PG extends Ci{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(r=>this.addQualifier(r)),this._region.regionType==="custom"&&this.addQualifier(new rt("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new rt("e",`blur_region${t}`)),this.addQualifier(new rt("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new rt("e",`blur_faces${t}`))):this.addQualifier(new rt("e",`blur${t}`))}static fromJson(t){const{strength:n,region:r}=t,i=new this(n);return n&&i.strength(n),r&&r.regionType==="faces"&&i.region(N7()),r&&r.regionType==="ocr_text"&&i.region(TG()),r&&r.regionType==="custom"&&i.region(pp.fromJson(r)),i}}function gs(e){const t={};return Object.keys(e).forEach(n=>{t[e[n]]=n}),t}const j7={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},_G={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},K7={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},U7={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},RG={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},z7={444:"CHROMA_444",420:"CHROMA_420"},OG={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},MG=gs(z7);gs(OG);const FG=gs(j7),kG=gs(_G),q7=gs(K7);gs(U7);gs(RG);class W7 extends Ci{constructor(t,n){super(),this._actionModel={},this._actionModel.actionType=q7[t]||t;const r=this.createEffectQualifier(t,n);this.addQualifier(r)}createEffectQualifier(t,n){let r;return n?r=new en([t,`${n}`]).setDelimiter(":"):r=new en(t),new rt("e",r)}static fromJson(t){const{actionType:n,level:r,strength:i}=t,a=K7[n]||n;return new this(a,r||i)}}class IG extends W7{constructor(t,n){super(t,n),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=q7[t]||t,n&&this.setLevel(n)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const n=this.createEffectQualifier(this.effectType,t);return this.addQualifier(n),this}}function mp(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class BG extends Ci{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new en(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new en(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new en(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new en(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new en(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new rt("e",t))}static fromJson(t){const{actionType:n,paths:r,cornersLevel:i,despeckleLevel:a,detailLevel:o,numOfColors:u}=t,l=new this;return r&&l.paths(r),i&&l.cornersLevel(i),a&&l.despeckleLevel(a),o&&l.detailsLevel(o),u&&l.numOfColors(u),l}}class LG extends IG{level(t){return this._actionModel.level=t,this.setLevel(t)}}class VG extends Ci{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new rt("e",new en("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new rt("e",new en(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new rt("e",new en(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:n,type:r,stripesStrength:i}=t,a=new this;return r==="xray"&&a.xray(),r==="stripes"&&i&&a.stripesStrength(i),a}}class NG extends LG{color(t){return this._actionModel.color=t,this.addQualifier(new rt("co",new en(mp(t))))}static fromJson(t){const{actionType:n,level:r,color:i}=t,a=new this(n,r);return i&&a.color(i),a}}class jG extends Ci{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(r=>this.addQualifier(r)),this._region.regionType==="custom"&&this.addQualifier(new rt("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new rt("e",`pixelate_region${t}`)),this.addQualifier(new rt("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new rt("e",`pixelate_faces${t}`))):this.addQualifier(new rt("e",`pixelate${t}`))}static fromJson(t){const{region:n,squareSize:r}=t,i=new this(r);return r&&i.squareSize(r),n&&n.regionType==="faces"&&i.region(N7()),n&&n.regionType==="custom"&&i.region(AG()),i}}function KG(e){return new PG(e)}function UG(){return new W7("grayscale")}function UD(e){return new NG("colorize",e)}function zG(){return new BG}function qG(){return new VG}function WG(e){return new jG(e)}let HG=class extends Ci{constructor(t){super(),this._actionModel={},this.addQualifier(new rt("b",new en(mp(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:n}=t;return new this(n)}},zD=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:X1(`unsupported action ${this.constructor.name}`)}}};function GG(e){const t=e;return"error"in t&&!!t.error}function YG(){return new oi("ignore_aspect_ratio")}function ZG(){return new oi("lossy")}function JG(){return new oi("preserve_transparency")}function XG(e){return new oi("progressive",e)}function QG(){return new oi("region_relative")}function eY(){return new oi("relative")}let e4=class extends en{constructor(t){super(t),this.val=t}getValue(){return this.val}},H7=class extends Ci{constructor(t,n,r){super(),this._actionModel={};let i;n instanceof e4?i=n.getValue():i=n,this._actionModel.actionType=kG[t],this._actionModel[r]=i,this.addQualifier(new rt(t,n))}},tY=class extends oi{constructor(t){super("progressive",t)}},$0=class extends H7{constructor(t,n){super(t,n,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(ZG()),this}progressive(t){return t instanceof tY?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(XG(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(JG()),this}static fromJson(t){const{formatType:n,lossy:r,progressive:i,preserveTransparency:a}=t;let o;return n?o=new this("f",n):o=new this("f"),i&&(i.mode?o.progressive(i.mode):o.progressive()),r&&o.lossy(),a&&o.preserveTransparency(),o}},gp=class G7{constructor(){this.actions=[]}addAction(t){let n;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";n=new zD(t)}else n=t;return this.actions.push(n),this}addTransformation(t){return t instanceof G7?this.actions=this.actions.concat(t.actions):this.actions.push(new zD(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new $0("q",t)),this}format(t){return this.addAction(new $0("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new HG(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const n=new Ci;let r=t;return typeof t=="string"&&(r=new oi(t)),n.addQualifier(r),this.addAction(n)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const n of this.actions){const r=n.toJson();if(GG(r))return r;t.push(r)}return{actions:t}}};function qD(e){const t=e.toString();return t.match(/[A-Z]/gi)||t.length>1&&t[0]==="0"?t:!isNaN(parseFloat(t))&&t.indexOf(":")===-1&&t.indexOf(".")===-1?`${t}.0`:t}class nY extends en{}class rY extends Ci{constructor(t,n,r){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=FG[t]||t,this.addQualifier(new rt("c",t)),n&&this.width(n),r&&this.height(r)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new rt("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new rt("w",t))}aspectRatio(t){if(t instanceof nY)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new rt("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=qD(t),this.addQualifier(new rt("ar",qD(t)));if(t instanceof oi)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(eY())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(QG())}static fromJson(t){const{actionType:n,dimensions:r,relative:i,regionRelative:a}=t,{aspectRatio:o,width:u,height:l}=r,d=j7[n]||n,f=new this(d,u,l);return o&&f.aspectRatio(o==="ignore_aspect_ratio"?YG():o),i&&f.relative(),a&&f.regionRelative(),f}}class t4 extends rt{constructor(t){super("g",new en(t))}}class Y7 extends t4{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class Z7 extends t4{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class J7 extends t4{constructor(t){super(t)}}function iY(e){return new J7(e)}function X7(...e){const t=[...e];return new Z7(t)}function Q7(){return new Y7}class _u extends en{constructor(t){super(),this.name=t}toString(){return this.name}}function aY(){return new _u("ocr_text")}function oY(e){return e&&`${e}`.split(":")[0]==="auto"}function sY(e){const t=n4(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function n4(e){return`${e}`.replace("g_","")}function uY(e){return{compass:n4(e),gravityType:"direction"}}function lY(e){return n4(e)==="ocr_text"}function cY(){return{gravityType:"ocr"}}function dY(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function fY(e){const n=e.toString().split("_"),r={object:n[0]};return n.length>1&&(n[1]==="avoid"?r.avoid=!0:r.weight=+n[1]),r}function eO(e){let t;const n=e==="auto"?new Y7:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(i=>i!=="auto"):t=n.qualifierValue.values.filter(i=>i!=="auto"),{gravityType:"auto",autoFocus:t.map(fY)}}function hY(e){const t=`${e}`.split(":").includes("auto"),n=e.qualifierValue.values,i={gravityType:"object",focusOnObjects:(t?n.slice(0,n.length-1):n).map(a=>`${a}`)};if(t){const a=n[n.length-1].values.slice(1),o=Q7().autoFocus(...a);i.fallbackGravity=eO(o)}return i}function pY(e){const n=e.split(":").map(r=>new _u(r));return new Z7(n)}function mY(e){return sY(e)?uY(e):lY(e)?cY():oY(e)||dY(e)?eO(e):hY(typeof e=="string"?pY(e):e)}class r4 extends en{constructor(t,n){super(),this._weight=n,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,n){const r=t instanceof _u?t:new _u(t);return new r4(r,n)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class tO extends en{constructor(t){super(),this.val=t}toString(){return this.val}}function gY(e){return e.gravityType==="direction"}function yY(e){return e.gravityType==="ocr"}function vY(e){return e.gravityType==="auto"}function bY(e){const{object:t,weight:n,avoid:r}=e,i=new r4(new _u(t));return(n||n===0)&&i.weight(n),r&&i.avoid(),i}function nO(e){const n=(e.autoFocus||[]).map(bY);return Q7().autoFocus(...n)}function $Y(e){const t=(e.focusOnObjects||[]).map(r=>new _u(r)),n=X7(...t);if(e.fallbackGravity){const r=nO(e.fallbackGravity);n.fallbackGravity(r)}return n}function xY(e){return gY(e)?new J7(new tO(e.compass)):yY(e)?X7(aY()):vY(e)?nO(e):$Y(e)}class i4 extends rY{gravity(t){this._actionModel.gravity=mY(t);const n=typeof t=="string"?new rt("g",t):t;return this.addQualifier(n)}static fromJson(t){const n=super.fromJson.apply(this,[t]);return t.gravity&&n.gravity(xY(t.gravity)),n}}class Jc extends rt{constructor(t){super("b"),t&&this.addValue(t)}}const rO=100,wY=0;class DY extends Jc{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",n=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${rO}:${this.brightnessLevel}`:"";return`b_blurred${t}${n}`}}var iO=DY;class a4 extends Jc{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(n=>mp(n)),this}}class aO extends a4{toString(){return`
95
- b_auto:border
96
- ${this._contrast?"_contrast":""}
97
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
98
- `.replace(/\s+/g,"")}}class oO extends a4{gradientColors(t){return this._gradientColors=t,this}gradientDirection(t){return this._gradientDirection=t,this}}class sO extends oO{toString(){return`
99
- b_auto:border_gradient
100
- ${this._contrast?"_contrast":""}
101
- ${this._gradientColors?`:${this._gradientColors}`:""}
102
- ${this._gradientDirection?`:${this._gradientDirection}`:""}
103
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
104
- `.replace(/\s+/g,"")}}class uO extends oO{toString(){return`
105
- b_auto:predominant_gradient
106
- ${this._contrast?"_contrast":""}
107
- ${this._gradientColors?`:${this._gradientColors}`:""}
108
- ${this._gradientDirection?`:${this._gradientDirection}`:""}
109
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
110
- `.replace(/\s+/g,"")}}class lO extends a4{toString(){return`
111
- b_auto:predominant
112
- ${this._contrast?"_contrast":""}
113
- ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
114
- `.replace(/\s+/g,"")}}class cO extends Jc{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function dO(e){return`${e}`.replace("b_","")}function CY(){return{backgroundType:"auto"}}function EY(e){const{intensityLevel:t,brightnessLevel:n}=e,r={backgroundType:"blurred"};return(t||t===0)&&(r.intensity=t),(n||n===0)&&(r.brightness=n),r}function o4(e){const t=e._contrast,n=e._palette,r={backgroundType:""};return t&&(r.contrast=!0),n&&(r.palette=n),r}function SY(e){return Object.assign(Object.assign({},o4(e)),{backgroundType:"border"})}function fO(e){const t=e._gradientColors,n=`${e._gradientDirection}`,r=o4(e);return t&&(r.gradientColors=t),n&&(r.gradientDirection=n),r}function AY(e){return Object.assign(Object.assign({},fO(e)),{backgroundType:"borderGradient"})}function TY(e){return{backgroundType:"color",color:dO(e)}}function PY(e){return Object.assign(Object.assign({},o4(e)),{backgroundType:"predominant"})}function _Y(e){return Object.assign(Object.assign({},fO(e)),{backgroundType:"predominantGradient"})}function RY(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function OY(e){return dO(e)==="auto"?CY():e instanceof iO?EY(e):e instanceof aO?SY(e):e instanceof sO?AY(e):e instanceof lO?PY(e):e instanceof uO?_Y(e):e instanceof cO?RY(e):TY(e)}function MY(){return new e4("svg")}function s4(){return new e4("auto")}function hO(){return new aO}function pO(){return new Jc("auto")}function mO(){return new sO}function gO(){return new uO}function yO(){return new lO}function vO(e){return new Jc(mp(e))}function FY(){return new iO}function bO(){return new cO}const $O={auto:pO,border:hO,borderGradient:mO,predominantGradient:gO,predominant:yO,color:vO,blurred:FY,generativeFill:bO};function kY(e){const{brightness:t,intensity:n}=e,r=$O.blurred();return r.brightness(t??wY),r.intensity(n??rO),r}function WD(e,t){const{gradientColors:n,gradientDirection:r,contrast:i,palette:a}=t;return i&&e.contrast(),a&&e.palette(...a),n&&e.gradientColors(+n),r&&e.gradientDirection(r),e}function HD(e,t){const{contrast:n,palette:r}=t;return n&&e.contrast(),r&&e.palette(...r),e}function IY(e,t){const{prompt:n}=t;return n&&e.prompt(n),e}function BY(e){const{backgroundType:t}=e;switch(t){case"auto":return pO();case"blurred":return kY(e);case"border":return HD(hO(),e);case"borderGradient":return WD(mO(),e);case"predominant":return HD(yO(),e);case"predominantGradient":return WD(gO(),e);case"generativeFill":return IY(bO(),e);default:return vO(e.color)}}class LY extends i4{background(t){return this._actionModel.background=OY(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new rt("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new rt("y",t))}static fromJson(t){const n=super.fromJson.apply(this,[t]);return t.background&&n.background(BY(t.background)),t.x&&n.offsetX(t.x),t.y&&n.offsetY(t.y),t.zoom&&n.zoom(t.zoom),n}}class VY extends i4{x(t){return this._actionModel.x=t,this.addQualifier(new rt("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new rt("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new rt("z",t))}static fromJson(t){const n=super.fromJson.apply(this,[t]);return t.x&&n.x(t.x),t.y&&n.y(t.y),t.zoom&&n.zoom(t.zoom),n}}class NY extends i4{x(t){return this._actionModel.x=t,this.addQualifier(new rt("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new rt("y",t))}static fromJson(t){const n=super.fromJson.apply(this,[t]);return t.x&&n.x(t.x),t.y&&n.y(t.y),n}}function jY(e,t){return new VY("crop",e,t)}function KY(e,t){return new NY("fill",e,t)}function UY(e,t){return new LY("pad",e,t)}class zY extends H7{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=z7[t];const n=new en([this._actionModel.level,t]);return n.setDelimiter(":"),this.addQualifier(new rt("q",n))}quantization(t){this._actionModel.quantization=t;const n=new en([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new rt("q",n))}static fromJson(t){const{level:n,chromaSubSampling:r,quantization:i}=t,a=U7[n]||n,o=new this(a);if(r){const u=MG[r.toUpperCase()];u&&o.chromaSubSampling(+u)}return i&&o.quantization(i),o}}function yp(e){return new $0("f",e)}function vp(e){return new zY(e)}function qY(){return new tO("north_east")}UD(70).color("black"),UD(40).color("white"),UG(),qG();var WY=new gp().effect(zG()).delivery(vp("auto")).delivery(yp(MY())),HY=new gp().effect(WG()).delivery(vp("auto")).delivery(yp(s4())),GY=new gp().effect(KG(2e3)).delivery(vp("auto")).delivery(yp(s4())),YY=new gp().resize(UY("iw_div_2").aspectRatio(1).background($O.auto())).resize(jY(1,1).gravity(iY(qY()))).resize(KY().height("ih").width("iw")).delivery(vp("auto")).delivery(yp(s4())),GD={vectorize:WY,pixelate:HY,blur:GY,"predominant-color":YY},YD="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",ZD={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},JD="?_a=",ZY=function(){function e(t,n,r,i,a,o,u){var l=this;this.mimeType="video",this.mimeSubTypes=ZD,this.videoElement=t,this.originalVideo=n,this.videoOptions=u,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=so(n);$h(t,n,i,this.htmlPluginState).then(function(){l.htmlPluginState.pluginEventSubscription.forEach(function(f){f()}),l.setVideoAttributes(a,o),l.handleSourceToVideo(d,r)})}return e.prototype.handleSourceToVideo=function(t,n){var r=this;if(n)this.generateUserSources(t,n);else{var i=["webm","mp4","ogv"];i.forEach(function(a){r.appendSourceTag(so(t),a)})}},e.prototype.generateUserSources=function(t,n){var r=this;n.map(function(i){var a=i.type,o=i.codecs,u=i.transcode;return r.appendSourceTag(so(t).transcode(u),a,r.buildMimeType(a,o))})},e.prototype.appendSourceTag=function(t,n,r){var i,a=document.createElement("source"),o=(i=this.videoOptions)===null||i===void 0?void 0:i.useFetchFormat;o&&t.format(n);var u=t.toURL(),l=u.split(JD),d=l[1]?"".concat(JD).concat(l[1]):"",f=o?"":".".concat(n);a.src="".concat(l[0]).concat(f).concat(d),a.type=r||"video/".concat(ZD[n]||n),this.videoElement.appendChild(a)},e.prototype.buildMimeType=function(t,n){var r="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return n&&(r+="; codecs="+(Array.isArray(n)?n.join(", "):n)),r},e.prototype.setVideoAttributes=function(t,n){var r;if(t===void 0&&(t={}),n==="auto"){var i=so(this.originalVideo);t.poster=i.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else n&&(t.poster=(r=n.toURL)===null||r===void 0?void 0:r.call(n));for(var a=0,o=Object.entries(t);a<o.length;a++){var u=o[a],l=u[0],d=u[1];d&&this.videoElement.setAttribute(l,l==="poster"?d:"")}},e.prototype.update=function(t,n,r,i,a){var o=this;if(t!==this.originalVideo){for(var u=this.videoElement.getElementsByTagName("SOURCE");u[0];)u[0].parentNode.removeChild(u[0]);$h(this.videoElement,t,r,this.htmlPluginState).then(function(){o.setVideoAttributes(i,a),o.handleSourceToVideo(t,n),o.videoElement.load()})}},e}(),JY=typeof oo=="object"&&oo&&oo.Object===Object&&oo,XY=typeof self=="object"&&self&&self.Object===Object&&self;JY||XY||Function("return this")();function u4(){return typeof window<"u"}function QY(e){return e instanceof HTMLImageElement}function eZ(e){var t={},n=t.rootMargin,r=n===void 0?"0px":n,i=t.threshold,a=i===void 0?.1:i;return tZ.bind(null,r,a)}function tZ(e,t,n,r,i,a){return e===void 0&&(e="0px"),t===void 0&&(t=.1),u4()?new Promise(function(o){var u=function(){return o({lazyload:!0})},l=rZ(n,u,e,t);i.cleanupCallbacks.push(function(){l(),o("canceled")})}):!1}function nZ(){return window&&"IntersectionObserver"in window}function rZ(e,t,n,r){try{if(!nZ())return t(),function(){};var i=new IntersectionObserver(function(a){a.forEach(function(o){o.isIntersecting&&(i.unobserve(o.target),t())})},{rootMargin:n,threshold:r});return i.observe(e),function(){e&&i.observe(e)}}catch{t()}}function iZ(e){var t={},n=t.mode,r=n===void 0?"vectorize":n;return aZ.bind(null,r)}function aZ(e,t,n,r,i,a){GD[e]||(e="vectorize");var o=GD[e].actions,u=so(n);if(o.forEach(function(d){u.addAction(d)}),!u4())return n.transformation=u.transformation,!0;if(QY(t)){u.transformation.actions.forEach(function(d,f){d instanceof Ci&&d.getActionTag()==="responsive"&&delete u.transformation.actions[f]});var l=b0(i,{placeholder:!0});return t.src=u.toURL(l),t.onerror=function(){t.src=YD},new Promise(function(d){t.onload=function(){d()}}).then(function(){return new Promise(function(d){r.cleanupCallbacks.push(function(){t.src=YD,d("canceled")});var f=new Image;f.src=n.toURL(l),f.onload=function(){d({placeholder:!0})},f.onerror=function(){d({placeholder:!0})}})})}}function oZ(e,t,n){var r=so(t);if(e)for(var i=0;i<e.length;i++){var a=e[i](null,r);if(!a)break}return r.toURL(n?{trackedAnalytics:n}:null)}function xh(e){e.cleanupCallbacks.forEach(function(t){t()})}var x0=function(e,t){return x0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},x0(e,t)};function xO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");x0(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Cc=function(){return Cc=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Cc.apply(this,arguments)};function wO(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var Ec={exports:{}},_t={};/*
115
- object-assign
116
- (c) Sindre Sorhus
117
- @license MIT
118
- */var XD=Object.getOwnPropertySymbols,sZ=Object.prototype.hasOwnProperty,uZ=Object.prototype.propertyIsEnumerable;function lZ(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function cZ(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(a){return t[a]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(a){i[a]=a}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var DO=cZ()?Object.assign:function(e,t){for(var n,r=lZ(e),i,a=1;a<arguments.length;a++){n=Object(arguments[a]);for(var o in n)sZ.call(n,o)&&(r[o]=n[o]);if(XD){i=XD(n);for(var u=0;u<i.length;u++)uZ.call(n,i[u])&&(r[i[u]]=n[i[u]])}}return r};/** @license React v16.14.0
119
- * react.production.min.js
120
- *
121
- * Copyright (c) Facebook, Inc. and its affiliates.
122
- *
123
- * This source code is licensed under the MIT license found in the
124
- * LICENSE file in the root directory of this source tree.
125
- */var l4=DO,Ei=typeof Symbol=="function"&&Symbol.for,Xc=Ei?Symbol.for("react.element"):60103,dZ=Ei?Symbol.for("react.portal"):60106,fZ=Ei?Symbol.for("react.fragment"):60107,hZ=Ei?Symbol.for("react.strict_mode"):60108,pZ=Ei?Symbol.for("react.profiler"):60114,mZ=Ei?Symbol.for("react.provider"):60109,gZ=Ei?Symbol.for("react.context"):60110,yZ=Ei?Symbol.for("react.forward_ref"):60112,vZ=Ei?Symbol.for("react.suspense"):60113,bZ=Ei?Symbol.for("react.memo"):60115,$Z=Ei?Symbol.for("react.lazy"):60116,QD=typeof Symbol=="function"&&Symbol.iterator;function Qc(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var CO={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},EO={};function Wu(e,t,n){this.props=e,this.context=t,this.refs=EO,this.updater=n||CO}Wu.prototype.isReactComponent={};Wu.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Qc(85));this.updater.enqueueSetState(this,e,t,"setState")};Wu.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function SO(){}SO.prototype=Wu.prototype;function c4(e,t,n){this.props=e,this.context=t,this.refs=EO,this.updater=n||CO}var d4=c4.prototype=new SO;d4.constructor=c4;l4(d4,Wu.prototype);d4.isPureReactComponent=!0;var f4={current:null},AO=Object.prototype.hasOwnProperty,TO={key:!0,ref:!0,__self:!0,__source:!0};function PO(e,t,n){var r,i={},a=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)AO.call(t,r)&&!TO.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(u===1)i.children=n;else if(1<u){for(var l=Array(u),d=0;d<u;d++)l[d]=arguments[d+2];i.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)i[r]===void 0&&(i[r]=u[r]);return{$$typeof:Xc,type:e,key:a,ref:o,props:i,_owner:f4.current}}function xZ(e,t){return{$$typeof:Xc,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function h4(e){return typeof e=="object"&&e!==null&&e.$$typeof===Xc}function wZ(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(n){return t[n]})}var _O=/\/+/g,wh=[];function RO(e,t,n,r){if(wh.length){var i=wh.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function OO(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>wh.length&&wh.push(e)}function w0(e,t,n,r){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Xc:case dZ:a=!0}}if(a)return n(r,e,t===""?"."+Mg(e,0):t),1;if(a=0,t=t===""?".":t+":",Array.isArray(e))for(var o=0;o<e.length;o++){i=e[o];var u=t+Mg(i,o);a+=w0(i,u,n,r)}else if(e===null||typeof e!="object"?u=null:(u=QD&&e[QD]||e["@@iterator"],u=typeof u=="function"?u:null),typeof u=="function")for(e=u.call(e),o=0;!(i=e.next()).done;)i=i.value,u=t+Mg(i,o++),a+=w0(i,u,n,r);else if(i==="object")throw n=""+e,Error(Qc(31,n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return a}function D0(e,t,n){return e==null?0:w0(e,"",t,n)}function Mg(e,t){return typeof e=="object"&&e!==null&&e.key!=null?wZ(e.key):t.toString(36)}function DZ(e,t){e.func.call(e.context,t,e.count++)}function CZ(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?C0(e,r,n,function(a){return a}):e!=null&&(h4(e)&&(e=xZ(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(_O,"$&/")+"/")+n)),r.push(e))}function C0(e,t,n,r,i){var a="";n!=null&&(a=(""+n).replace(_O,"$&/")+"/"),t=RO(t,a,r,i),D0(e,CZ,t),OO(t)}var MO={current:null};function Ra(){var e=MO.current;if(e===null)throw Error(Qc(321));return e}var EZ={ReactCurrentDispatcher:MO,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:f4,IsSomeRendererActing:{current:!1},assign:l4};_t.Children={map:function(e,t,n){if(e==null)return e;var r=[];return C0(e,r,null,t,n),r},forEach:function(e,t,n){if(e==null)return e;t=RO(null,null,t,n),D0(e,DZ,t),OO(t)},count:function(e){return D0(e,function(){return null},null)},toArray:function(e){var t=[];return C0(e,t,null,function(n){return n}),t},only:function(e){if(!h4(e))throw Error(Qc(143));return e}};_t.Component=Wu;_t.Fragment=fZ;_t.Profiler=pZ;_t.PureComponent=c4;_t.StrictMode=hZ;_t.Suspense=vZ;_t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=EZ;_t.cloneElement=function(e,t,n){if(e==null)throw Error(Qc(267,e));var r=l4({},e.props),i=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=f4.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)AO.call(t,l)&&!TO.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&u!==void 0?u[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){u=Array(l);for(var d=0;d<l;d++)u[d]=arguments[d+2];r.children=u}return{$$typeof:Xc,type:e.type,key:i,ref:a,props:r,_owner:o}};_t.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:gZ,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:mZ,_context:e},e.Consumer=e};_t.createElement=PO;_t.createFactory=function(e){var t=PO.bind(null,e);return t.type=e,t};_t.createRef=function(){return{current:null}};_t.forwardRef=function(e){return{$$typeof:yZ,render:e}};_t.isValidElement=h4;_t.lazy=function(e){return{$$typeof:$Z,_ctor:e,_status:-1,_result:null}};_t.memo=function(e,t){return{$$typeof:bZ,type:e,compare:t===void 0?null:t}};_t.useCallback=function(e,t){return Ra().useCallback(e,t)};_t.useContext=function(e,t){return Ra().useContext(e,t)};_t.useDebugValue=function(){};_t.useEffect=function(e,t){return Ra().useEffect(e,t)};_t.useImperativeHandle=function(e,t,n){return Ra().useImperativeHandle(e,t,n)};_t.useLayoutEffect=function(e,t){return Ra().useLayoutEffect(e,t)};_t.useMemo=function(e,t){return Ra().useMemo(e,t)};_t.useReducer=function(e,t,n){return Ra().useReducer(e,t,n)};_t.useRef=function(e){return Ra().useRef(e)};_t.useState=function(e){return Ra().useState(e)};_t.version="16.14.0";var Pt={},SZ="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",AZ=SZ,TZ=Function.call.bind(Object.prototype.hasOwnProperty),E0=function(){};if(process.env.NODE_ENV!=="production"){var PZ=AZ,S0={},_Z=TZ;E0=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function FO(e,t,n,r,i){if(process.env.NODE_ENV!=="production"){for(var a in e)if(_Z(e,a)){var o;try{if(typeof e[a]!="function"){var u=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}o=e[a](t,a,r,n,null,PZ)}catch(d){o=d}if(o&&!(o instanceof Error)&&E0((r||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),o instanceof Error&&!(o.message in S0)){S0[o.message]=!0;var l=i?i():"";E0("Failed "+n+" type: "+o.message+(l??""))}}}}FO.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(S0={})};var RZ=FO;/** @license React v16.14.0
126
- * react.development.js
127
- *
128
- * Copyright (c) Facebook, Inc. and its affiliates.
129
- *
130
- * This source code is licensed under the MIT license found in the
131
- * LICENSE file in the root directory of this source tree.
132
- */process.env.NODE_ENV!=="production"&&function(){var e=DO,t=RZ,n="16.14.0",r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,d=r?Symbol.for("react.provider"):60109,f=r?Symbol.for("react.context"):60110,h=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,g=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,$=r?Symbol.for("react.memo"):60115,C=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,D=r?Symbol.for("react.responder"):60118,A=r?Symbol.for("react.scope"):60119,E=typeof Symbol=="function"&&Symbol.iterator,T="@@iterator";function R(I){if(I===null||typeof I!="object")return null;var Q=E&&I[E]||I[T];return typeof Q=="function"?Q:null}var S={current:null},U={suspense:null},j={current:null},M=/^(.*)[\\\/]/;function X(I,Q,ue){var be="";if(Q){var Re=Q.fileName,it=Re.replace(M,"");if(/^index\./.test(it)){var Ke=Re.match(M);if(Ke){var ze=Ke[1];if(ze){var Ot=ze.replace(M,"");it=Ot+"/"+it}}}be=" (at "+it+":"+Q.lineNumber+")"}else ue&&(be=" (created by "+ue+")");return`
133
- in `+(I||"Unknown")+be}var O=1;function B(I){return I._status===O?I._result:null}function q(I,Q,ue){var be=Q.displayName||Q.name||"";return I.displayName||(be!==""?ue+"("+be+")":ue)}function k(I){if(I==null)return null;if(typeof I.tag=="number"&&ie("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof I=="function")return I.displayName||I.name||null;if(typeof I=="string")return I;switch(I){case o:return"Fragment";case a:return"Portal";case l:return"Profiler";case u:return"StrictMode";case g:return"Suspense";case y:return"SuspenseList"}if(typeof I=="object")switch(I.$$typeof){case f:return"Context.Consumer";case d:return"Context.Provider";case p:return q(I,I.render,"ForwardRef");case $:return k(I.type);case b:return k(I.render);case C:{var Q=I,ue=B(Q);if(ue)return k(ue);break}}return null}var V={},_=null;function H(I){_=I}V.getCurrentStack=null,V.getStackAddendum=function(){var I="";if(_){var Q=k(_.type),ue=_._owner;I+=X(Q,_._source,ue&&k(ue.type))}var be=V.getCurrentStack;return be&&(I+=be()||""),I};var z={current:!1},N={ReactCurrentDispatcher:S,ReactCurrentBatchConfig:U,ReactCurrentOwner:j,IsSomeRendererActing:z,assign:e};e(N,{ReactDebugCurrentFrame:V,ReactComponentTreeHook:{}});function ne(I){{for(var Q=arguments.length,ue=new Array(Q>1?Q-1:0),be=1;be<Q;be++)ue[be-1]=arguments[be];le("warn",I,ue)}}function ie(I){{for(var Q=arguments.length,ue=new Array(Q>1?Q-1:0),be=1;be<Q;be++)ue[be-1]=arguments[be];le("error",I,ue)}}function le(I,Q,ue){{var be=ue.length>0&&typeof ue[ue.length-1]=="string"&&ue[ue.length-1].indexOf(`
134
- in`)===0;if(!be){var Re=N.ReactDebugCurrentFrame,it=Re.getStackAddendum();it!==""&&(Q+="%s",ue=ue.concat([it]))}var Ke=ue.map(function(qt){return""+qt});Ke.unshift("Warning: "+Q),Function.prototype.apply.call(console[I],console,Ke);try{var ze=0,Ot="Warning: "+Q.replace(/%s/g,function(){return ue[ze++]});throw new Error(Ot)}catch{}}}var $e={};function De(I,Q){{var ue=I.constructor,be=ue&&(ue.displayName||ue.name)||"ReactClass",Re=be+"."+Q;if($e[Re])return;ie("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",Q,be),$e[Re]=!0}}var Ce={isMounted:function(I){return!1},enqueueForceUpdate:function(I,Q,ue){De(I,"forceUpdate")},enqueueReplaceState:function(I,Q,ue,be){De(I,"replaceState")},enqueueSetState:function(I,Q,ue,be){De(I,"setState")}},Y={};Object.freeze(Y);function he(I,Q,ue){this.props=I,this.context=Q,this.refs=Y,this.updater=ue||Ce}he.prototype.isReactComponent={},he.prototype.setState=function(I,Q){if(!(typeof I=="object"||typeof I=="function"||I==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,I,Q,"setState")},he.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};{var ye={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},fe=function(I,Q){Object.defineProperty(he.prototype,I,{get:function(){ne("%s(...) is deprecated in plain JavaScript React classes. %s",Q[0],Q[1])}})};for(var oe in ye)ye.hasOwnProperty(oe)&&fe(oe,ye[oe])}function Fe(){}Fe.prototype=he.prototype;function et(I,Q,ue){this.props=I,this.context=Q,this.refs=Y,this.updater=ue||Ce}var dt=et.prototype=new Fe;dt.constructor=et,e(dt,he.prototype),dt.isPureReactComponent=!0;function Dn(){var I={current:null};return Object.seal(I),I}var yt=Object.prototype.hasOwnProperty,G={key:!0,ref:!0,__self:!0,__source:!0},Z,re,pe;pe={};function Ee(I){if(yt.call(I,"ref")){var Q=Object.getOwnPropertyDescriptor(I,"ref").get;if(Q&&Q.isReactWarning)return!1}return I.ref!==void 0}function we(I){if(yt.call(I,"key")){var Q=Object.getOwnPropertyDescriptor(I,"key").get;if(Q&&Q.isReactWarning)return!1}return I.key!==void 0}function _e(I,Q){var ue=function(){Z||(Z=!0,ie("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",Q))};ue.isReactWarning=!0,Object.defineProperty(I,"key",{get:ue,configurable:!0})}function Ve(I,Q){var ue=function(){re||(re=!0,ie("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",Q))};ue.isReactWarning=!0,Object.defineProperty(I,"ref",{get:ue,configurable:!0})}function mt(I){if(typeof I.ref=="string"&&j.current&&I.__self&&j.current.stateNode!==I.__self){var Q=k(j.current.type);pe[Q]||(ie('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',k(j.current.type),I.ref),pe[Q]=!0)}}var ut=function(I,Q,ue,be,Re,it,Ke){var ze={$$typeof:i,type:I,key:Q,ref:ue,props:Ke,_owner:it};return ze._store={},Object.defineProperty(ze._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ze,"_self",{configurable:!1,enumerable:!1,writable:!1,value:be}),Object.defineProperty(ze,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Re}),Object.freeze&&(Object.freeze(ze.props),Object.freeze(ze)),ze};function Rt(I,Q,ue){var be,Re={},it=null,Ke=null,ze=null,Ot=null;if(Q!=null){Ee(Q)&&(Ke=Q.ref,mt(Q)),we(Q)&&(it=""+Q.key),ze=Q.__self===void 0?null:Q.__self,Ot=Q.__source===void 0?null:Q.__source;for(be in Q)yt.call(Q,be)&&!G.hasOwnProperty(be)&&(Re[be]=Q[be])}var qt=arguments.length-2;if(qt===1)Re.children=ue;else if(qt>1){for(var Mn=Array(qt),Fn=0;Fn<qt;Fn++)Mn[Fn]=arguments[Fn+2];Object.freeze&&Object.freeze(Mn),Re.children=Mn}if(I&&I.defaultProps){var Vr=I.defaultProps;for(be in Vr)Re[be]===void 0&&(Re[be]=Vr[be])}if(it||Ke){var rr=typeof I=="function"?I.displayName||I.name||"Unknown":I;it&&_e(Re,rr),Ke&&Ve(Re,rr)}return ut(I,it,Ke,ze,Ot,j.current,Re)}function Pn(I,Q){var ue=ut(I.type,Q,I.ref,I._self,I._source,I._owner,I.props);return ue}function _n(I,Q,ue){if(I==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var be,Re=e({},I.props),it=I.key,Ke=I.ref,ze=I._self,Ot=I._source,qt=I._owner;if(Q!=null){Ee(Q)&&(Ke=Q.ref,qt=j.current),we(Q)&&(it=""+Q.key);var Mn;I.type&&I.type.defaultProps&&(Mn=I.type.defaultProps);for(be in Q)yt.call(Q,be)&&!G.hasOwnProperty(be)&&(Q[be]===void 0&&Mn!==void 0?Re[be]=Mn[be]:Re[be]=Q[be])}var Fn=arguments.length-2;if(Fn===1)Re.children=ue;else if(Fn>1){for(var Vr=Array(Fn),rr=0;rr<Fn;rr++)Vr[rr]=arguments[rr+2];Re.children=Vr}return ut(I.type,it,Ke,ze,Ot,qt,Re)}function Yt(I){return typeof I=="object"&&I!==null&&I.$$typeof===i}var Ln=".",tn=":";function vt(I){var Q=/[=:]/g,ue={"=":"=0",":":"=2"},be=(""+I).replace(Q,function(Re){return ue[Re]});return"$"+be}var Vn=!1,Sr=/\/+/g;function Rn(I){return(""+I).replace(Sr,"$&/")}var er=10,On=[];function tr(I,Q,ue,be){if(On.length){var Re=On.pop();return Re.result=I,Re.keyPrefix=Q,Re.func=ue,Re.context=be,Re.count=0,Re}else return{result:I,keyPrefix:Q,func:ue,context:be,count:0}}function Nn(I){I.result=null,I.keyPrefix=null,I.func=null,I.context=null,I.count=0,On.length<er&&On.push(I)}function Cn(I,Q,ue,be){var Re=typeof I;(Re==="undefined"||Re==="boolean")&&(I=null);var it=!1;if(I===null)it=!0;else switch(Re){case"string":case"number":it=!0;break;case"object":switch(I.$$typeof){case i:case a:it=!0}}if(it)return ue(be,I,Q===""?Ln+Vt(I,0):Q),1;var Ke,ze,Ot=0,qt=Q===""?Ln:Q+tn;if(Array.isArray(I))for(var Mn=0;Mn<I.length;Mn++)Ke=I[Mn],ze=qt+Vt(Ke,Mn),Ot+=Cn(Ke,ze,ue,be);else{var Fn=R(I);if(typeof Fn=="function"){Fn===I.entries&&(Vn||ne("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Vn=!0);for(var Vr=Fn.call(I),rr,Ts=0;!(rr=Vr.next()).done;)Ke=rr.value,ze=qt+Vt(Ke,Ts++),Ot+=Cn(Ke,ze,ue,be)}else if(Re==="object"){var Eo="";Eo=" If you meant to render a collection of children, use an array instead."+V.getStackAddendum();var So=""+I;throw Error("Objects are not valid as a React child (found: "+(So==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":So)+")."+Eo)}}return Ot}function Br(I,Q,ue){return I==null?0:Cn(I,"",Q,ue)}function Vt(I,Q){return typeof I=="object"&&I!==null&&I.key!=null?vt(I.key):Q.toString(36)}function En(I,Q,ue){var be=I.func,Re=I.context;be.call(Re,Q,I.count++)}function Ne(I,Q,ue){if(I==null)return I;var be=tr(null,null,Q,ue);Br(I,En,be),Nn(be)}function tt(I,Q,ue){var be=I.result,Re=I.keyPrefix,it=I.func,Ke=I.context,ze=it.call(Ke,Q,I.count++);Array.isArray(ze)?nn(ze,be,ue,function(Ot){return Ot}):ze!=null&&(Yt(ze)&&(ze=Pn(ze,Re+(ze.key&&(!Q||Q.key!==ze.key)?Rn(ze.key)+"/":"")+ue)),be.push(ze))}function nn(I,Q,ue,be,Re){var it="";ue!=null&&(it=Rn(ue)+"/");var Ke=tr(Q,it,be,Re);Br(I,tt,Ke),Nn(Ke)}function fr(I,Q,ue){if(I==null)return I;var be=[];return nn(I,be,null,Q,ue),be}function Ae(I){return Br(I,function(){return null},null)}function je(I){var Q=[];return nn(I,Q,null,function(ue){return ue}),Q}function Ye(I){if(!Yt(I))throw Error("React.Children.only expected to receive a single React element child.");return I}function Ft(I,Q){Q===void 0?Q=null:Q!==null&&typeof Q!="function"&&ie("createContext: Expected the optional second argument to be a function. Instead received: %s",Q);var ue={$$typeof:f,_calculateChangedBits:Q,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null};ue.Provider={$$typeof:d,_context:ue};var be=!1,Re=!1;{var it={$$typeof:f,_context:ue,_calculateChangedBits:ue._calculateChangedBits};Object.defineProperties(it,{Provider:{get:function(){return Re||(Re=!0,ie("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),ue.Provider},set:function(Ke){ue.Provider=Ke}},_currentValue:{get:function(){return ue._currentValue},set:function(Ke){ue._currentValue=Ke}},_currentValue2:{get:function(){return ue._currentValue2},set:function(Ke){ue._currentValue2=Ke}},_threadCount:{get:function(){return ue._threadCount},set:function(Ke){ue._threadCount=Ke}},Consumer:{get:function(){return be||(be=!0,ie("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),ue.Consumer}}}),ue.Consumer=it}return ue._currentRenderer=null,ue._currentRenderer2=null,ue}function rn(I){var Q={$$typeof:C,_ctor:I,_status:-1,_result:null};{var ue,be;Object.defineProperties(Q,{defaultProps:{configurable:!0,get:function(){return ue},set:function(Re){ie("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),ue=Re,Object.defineProperty(Q,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return be},set:function(Re){ie("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),be=Re,Object.defineProperty(Q,"propTypes",{enumerable:!0})}}})}return Q}function jn(I){return I!=null&&I.$$typeof===$?ie("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof I!="function"?ie("forwardRef requires a render function but was given %s.",I===null?"null":typeof I):I.length!==0&&I.length!==2&&ie("forwardRef render functions accept exactly two parameters: props and ref. %s",I.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),I!=null&&(I.defaultProps!=null||I.propTypes!=null)&&ie("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:p,render:I}}function Ut(I){return typeof I=="string"||typeof I=="function"||I===o||I===h||I===l||I===u||I===g||I===y||typeof I=="object"&&I!==null&&(I.$$typeof===C||I.$$typeof===$||I.$$typeof===d||I.$$typeof===f||I.$$typeof===p||I.$$typeof===v||I.$$typeof===D||I.$$typeof===A||I.$$typeof===b)}function on(I,Q){return Ut(I)||ie("memo: The first argument must be a component. Instead received: %s",I===null?"null":typeof I),{$$typeof:$,type:I,compare:Q===void 0?null:Q}}function kt(){var I=S.current;if(I===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
135
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
136
- 2. You might be breaking the Rules of Hooks
137
- 3. You might have more than one copy of React in the same app
138
- See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return I}function wt(I,Q){var ue=kt();if(Q!==void 0&&ie("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",Q,typeof Q=="number"&&Array.isArray(arguments[2])?`
139
-
140
- Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),I._context!==void 0){var be=I._context;be.Consumer===I?ie("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):be.Provider===I&&ie("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return ue.useContext(I,Q)}function li(I){var Q=kt();return Q.useState(I)}function xo(I,Q,ue){var be=kt();return be.useReducer(I,Q,ue)}function hr(I){var Q=kt();return Q.useRef(I)}function Fa(I,Q){var ue=kt();return ue.useEffect(I,Q)}function ka(I,Q){var ue=kt();return ue.useLayoutEffect(I,Q)}function Ia(I,Q){var ue=kt();return ue.useCallback(I,Q)}function gt(I,Q){var ue=kt();return ue.useMemo(I,Q)}function nr(I,Q,ue){var be=kt();return be.useImperativeHandle(I,Q,ue)}function pr(I,Q){{var ue=kt();return ue.useDebugValue(I,Q)}}var Kn;Kn=!1;function Ba(){if(j.current){var I=k(j.current.type);if(I)return`
141
-
142
- Check the render method of \``+I+"`."}return""}function Lr(I){if(I!==void 0){var Q=I.fileName.replace(/^.*[\\\/]/,""),ue=I.lineNumber;return`
143
-
144
- Check your code at `+Q+":"+ue+"."}return""}function al(I){return I!=null?Lr(I.__source):""}var xs={};function ol(I){var Q=Ba();if(!Q){var ue=typeof I=="string"?I:I.displayName||I.name;ue&&(Q=`
145
-
146
- Check the top-level render call using <`+ue+">.")}return Q}function La(I,Q){if(!(!I._store||I._store.validated||I.key!=null)){I._store.validated=!0;var ue=ol(Q);if(!xs[ue]){xs[ue]=!0;var be="";I&&I._owner&&I._owner!==j.current&&(be=" It was passed a child from "+k(I._owner.type)+"."),H(I),ie('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',ue,be),H(null)}}}function Ti(I,Q){if(typeof I=="object"){if(Array.isArray(I))for(var ue=0;ue<I.length;ue++){var be=I[ue];Yt(be)&&La(be,Q)}else if(Yt(I))I._store&&(I._store.validated=!0);else if(I){var Re=R(I);if(typeof Re=="function"&&Re!==I.entries)for(var it=Re.call(I),Ke;!(Ke=it.next()).done;)Yt(Ke.value)&&La(Ke.value,Q)}}}function wo(I){{var Q=I.type;if(Q==null||typeof Q=="string")return;var ue=k(Q),be;if(typeof Q=="function")be=Q.propTypes;else if(typeof Q=="object"&&(Q.$$typeof===p||Q.$$typeof===$))be=Q.propTypes;else return;be?(H(I),t(be,I.props,"prop",ue,V.getStackAddendum),H(null)):Q.PropTypes!==void 0&&!Kn&&(Kn=!0,ie("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ue||"Unknown")),typeof Q.getDefaultProps=="function"&&!Q.getDefaultProps.isReactClassApproved&&ie("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Do(I){{H(I);for(var Q=Object.keys(I.props),ue=0;ue<Q.length;ue++){var be=Q[ue];if(be!=="children"&&be!=="key"){ie("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",be);break}}I.ref!==null&&ie("Invalid attribute `ref` supplied to `React.Fragment`."),H(null)}}function ws(I,Q,ue){var be=Ut(I);if(!be){var Re="";(I===void 0||typeof I=="object"&&I!==null&&Object.keys(I).length===0)&&(Re+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var it=al(Q);it?Re+=it:Re+=Ba();var Ke;I===null?Ke="null":Array.isArray(I)?Ke="array":I!==void 0&&I.$$typeof===i?(Ke="<"+(k(I.type)||"Unknown")+" />",Re=" Did you accidentally export a JSX literal instead of a component?"):Ke=typeof I,ie("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ke,Re)}var ze=Rt.apply(this,arguments);if(ze==null)return ze;if(be)for(var Ot=2;Ot<arguments.length;Ot++)Ti(arguments[Ot],I);return I===o?Do(ze):wo(ze),ze}var Ds=!1;function sl(I){var Q=ws.bind(null,I);return Q.type=I,Ds||(Ds=!0,ne("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(Q,"type",{enumerable:!1,get:function(){return ne("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:I}),I}}),Q}function Cs(I,Q,ue){for(var be=_n.apply(this,arguments),Re=2;Re<arguments.length;Re++)Ti(arguments[Re],be.type);return wo(be),be}try{var Co=Object.freeze({}),Es=new Map([[Co,null]]),na=new Set([Co]);Es.set(0,0),na.add(0)}catch{}var ul=ws,Ss=Cs,Va=sl,As={map:fr,forEach:Ne,count:Ae,toArray:je,only:Ye};Pt.Children=As,Pt.Component=he,Pt.Fragment=o,Pt.Profiler=l,Pt.PureComponent=et,Pt.StrictMode=u,Pt.Suspense=g,Pt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,Pt.cloneElement=Ss,Pt.createContext=Ft,Pt.createElement=ul,Pt.createFactory=Va,Pt.createRef=Dn,Pt.forwardRef=jn,Pt.isValidElement=Yt,Pt.lazy=rn,Pt.memo=on,Pt.useCallback=Ia,Pt.useContext=wt,Pt.useDebugValue=pr,Pt.useEffect=Fa,Pt.useImperativeHandle=nr,Pt.useLayoutEffect=ka,Pt.useMemo=gt,Pt.useReducer=xo,Pt.useRef=hr,Pt.useState=li,Pt.version=n}();process.env.NODE_ENV==="production"?Ec.exports=_t:Ec.exports=Pt;var ru=Ec.exports,Fg={sdkSemver:"1.13.1",techVersion:ru.version,sdkCode:"J"},OZ=function(e){xO(t,e);function t(n){var r=e.call(this,n)||this;return r.imageRef=ru.createRef(),r}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new $G(this.imageRef.current,this.props.cldImg,this.props.plugins,Fg)},t.prototype.componentDidUpdate=function(){xh(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,Fg)},t.prototype.componentWillUnmount=function(){xh(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var n=this.props;n.cldImg,n.plugins;var r=wO(n,["cldImg","plugins"]);if(u4())return ru.createElement("img",Cc({suppressHydrationWarning:!0},r,{ref:this.imageRef}));var i=oZ(this.props.plugins,this.props.cldImg,Fg);return ru.createElement("img",Cc({},r,{src:i}))},t}(ru.Component),MZ=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){xO(t,e);function t(n){var r=e.call(this,n)||this;return r.videoRef=Ec.exports.createRef(),r.attachRef=r.attachRef.bind(r),r}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new ZY(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){xh(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){xh(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var n=this,r={};return MZ.forEach(function(i){i in n.props&&(r[i]=n.props[i])}),r},t.prototype.attachRef=function(n){this.videoRef.current=n;var r=this.props.innerRef;r&&(r instanceof Function?r(n):r.current=n)},t.prototype.render=function(){var n=this.props;n.cldVid,n.cldPoster,n.plugins,n.sources,n.innerRef,n.useFetchFormat;var r=wO(n,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return ru.createElement("video",Cc({},r,{ref:this.attachRef}))},t})(Ec.exports.Component);function FZ(e){return!(typeof e!="object"||e instanceof Array)}class kZ{filterOutNonSupportedKeys(t,n){const r=Object.create({});return FZ(t)?(Object.keys(t).forEach(i=>{n.indexOf(i)>=0?r[i]=t[i]:console.warn("Warning - unsupported key provided to configuration: ",i)}),r):Object.create({})}}const eC=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class p4 extends kZ{constructor(t){super();const n=this.filterOutNonSupportedKeys(t,eC);Object.assign(this,{secure:!0},n)}extend(t){const n=this.filterOutNonSupportedKeys(t,eC);return new p4(Object.assign({},this,n))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Sc{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(n=>this.hasValue(n)),this}setDelimiter(t){return this.delimiter=t,this}}class IZ extends Error{constructor(t="Unsupported"){super(t)}}function m4(e){return new IZ(e)}function BZ(){return this._qualifierModel||{error:m4(`unsupported qualifier ${this.constructor.name}`)}}class LZ{constructor(){this._qualifierModel={}}toJson(){return BZ.apply(this)}}class bp extends LZ{constructor(t,n){super(),this.delimiter="_",this.key=t,n instanceof Sc?this.qualifierValue=n:(this.qualifierValue=new Sc,this.qualifierValue.addValue(n))}toString(){const{key:t,delimiter:n,qualifierValue:r}=this;return`${t}${n}${r.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class lo extends bp{constructor(t,n){let r;n?r=new Sc([t,`${n}`]).setDelimiter(":"):r=t,super("fl",r),this.flagValue=n}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function VZ(e,t){const n=Array.from(e.entries());return t.forEach(r=>{n.push(["fl",r])}),n.sort().map(r=>r[1])}function NZ(){var e,t,n;const r=this._actionModel&&Object.keys(this._actionModel).length,i=(n=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||n===void 0?void 0:n.error;return i&&i instanceof Error?{error:i}:r?this._actionModel:{error:m4(`unsupported action ${this.constructor.name}`)}}class jZ{constructor(){this._actionModel={}}toJson(){return NZ.apply(this)}}class g4 extends jZ{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),VZ(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[n,r]=t.toLowerCase().split("_");n==="fl"?this.flags.push(new lo(r)):this.qualifiers.set(n,new bp(n,r))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new lo(t)):t instanceof lo&&this.flags.push(t),this}addValueToQualifier(t,n){return this.qualifiers.get(t).addValue(n),this}}function KZ(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class UZ extends g4{constructor(t){super(),this._actionModel={},this.addQualifier(new bp("b",new Sc(KZ(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:n}=t;return new this(n)}}class tC{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:m4(`unsupported action ${this.constructor.name}`)}}}function zZ(e){const t=e;return"error"in t&&!!t.error}function qZ(){return new lo("lossy")}function WZ(){return new lo("preserve_transparency")}function HZ(e){return new lo("progressive",e)}class GZ extends Sc{constructor(t){super(t),this.val=t}getValue(){return this.val}}function ys(e){const t={};return Object.keys(e).forEach(n=>{t[e[n]]=n}),t}const YZ={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},ZZ={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},JZ={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},XZ={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},QZ={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},eJ={444:"CHROMA_444",420:"CHROMA_420"},tJ={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};ys(eJ);ys(tJ);ys(YZ);const nJ=ys(ZZ);ys(JZ);ys(XZ);ys(QZ);class rJ extends g4{constructor(t,n,r){super(),this._actionModel={};let i;n instanceof GZ?i=n.getValue():i=n,this._actionModel.actionType=nJ[t],this._actionModel[r]=i,this.addQualifier(new bp(t,n))}}class iJ extends lo{constructor(t){super("progressive",t)}}class Dh extends rJ{constructor(t,n){super(t,n,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(qZ()),this}progressive(t){return t instanceof iJ?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(HZ(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(WZ()),this}static fromJson(t){const{formatType:n,lossy:r,progressive:i,preserveTransparency:a}=t;let o;return n?o=new this("f",n):o=new this("f"),i&&(i.mode?o.progressive(i.mode):o.progressive()),r&&o.lossy(),a&&o.preserveTransparency(),o}}class $p{constructor(){this.actions=[]}addAction(t){let n;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";n=new tC(t)}else n=t;return this.actions.push(n),this}addTransformation(t){return t instanceof $p?this.actions=this.actions.concat(t.actions):this.actions.push(new tC(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Dh("q",t)),this}format(t){return this.addAction(new Dh("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new UZ(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const n=new g4;let r=t;return typeof t=="string"&&(r=new lo(t)),n.addQualifier(r),this.addAction(n)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const n of this.actions){const r=n.toJson();if(zZ(r))return r;t.push(r)}return{actions:t}}}class aJ extends $p{}class oJ extends $p{}function sJ(e){return e.match(/^https?:\//)}function uJ(e){return e.indexOf("/")<0}function lJ(e){return e.match(/^v[0-9]+/)}function cJ(e,t){const n=t.secure,r=t.privateCdn,i=t.cname,a=t.secureDistribution;return!n&&!i?`http://res.cloudinary.com/${e}`:n&&!a&&r?`https://${e}-res.cloudinary.com`:n&&!a?`https://res.cloudinary.com/${e}`:n&&a&&r?`https://${a}`:n&&a?`https://${a}/${e}`:!n&&i?`http://${i}/${e}`:"ERROR"}function dJ(e){return e||"image"}function fJ(e){return e||"upload"}function hJ(e,t,n){const r=n!==!1;return t?`v${t}`:lJ(e)||sJ(e)||uJ(e)?"":r?"v1":""}function y4(e,t,n){let r=t>>0,i=String(n);return e.length>r?String(e):(r=r-e.length,r>i.length&&(i+=pJ(i,r/i.length)),i.slice(0,r)+String(e))}function pJ(e,t){let n=t,r="";for(;n>0;)r+=e,n--;return r}const mJ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ch={};let nC=0;mJ.split("").forEach(e=>{let t=nC.toString(2);t=y4(t,6,"0"),Ch[t]=e,nC++});function gJ(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function yJ(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const n=+t;if(isNaN(n)||n<0)throw"Invalid version number provided";return y4(t,2,"0")}).join(".")}function rC(e){let t="";const r=e.split(".").length*6,i=gJ(e),a=yJ(i);let u=parseInt(a.split(".").join("")).toString(2);if(u=y4(u,r,"0"),u.length%6!==0)throw"Version must be smaller than 43.21.26)";return u.match(/.{1,6}/g).forEach(l=>{t+=Ch[l]}),t}function vJ(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const bJ="1.21.0";function $J(e){const[t,n]=e.split("."),r=parseInt(t).toString(2),i=parseInt(n).toString(2),a=r.padStart(6,"0"),o=i.padStart(6,"0");return Ch[a]+Ch[o]}function xJ(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function wJ(e){const t={techVersion:xJ(),sdkCode:"T",sdkSemver:bJ.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function iC(e){const t=wJ(e),n=vJ(t);try{const r=DJ(n.techVersion),i=rC(n.sdkSemver),a=rC(r),o=$J(n.osVersion),u=n.feature,l=n.sdkCode,{product:d,osType:f}=n;return`D${d}${l}${i}${a}${f}${o}${u}`}catch{return"E"}}function DJ(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const aC={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class CJ{constructor(t,n={},r){this.setPublicID(t),this.setCloudConfig(n),this.setURLConfig(r)}setURLConfig(t){return this.urlConfig=new p4(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,n=this.suffix&&this.suffix.indexOf("/")>=0;if(t||n)throw"`suffix`` should not include . or /"}getResourceType(){const t=dJ(this.assetType),n=fJ(this.deliveryType),r=!!this.suffix,i=`${t}/${n}`,a=aC[`${t}/${n}`],o=this.urlConfig.useRootPath,u=this.urlConfig.shorten;if(o){if(i==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${i} instead`)}if(u&&i==="image/upload")return"iu";if(r){if(a)return a;throw new Error(`URL Suffix only supported for ${Object.keys(aC).join(", ")}, Provided: ${i} instead`)}return i}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,n){if(!this.publicID)return"";this.validateAssetForURLCreation();const r=cJ(this.cloudName,this.urlConfig),i=t?t.toString():"",a=hJ(this.publicID,this.version,this.urlConfig.forceVersion),o=this.publicID;if(typeof t=="string")return[r,this.getResourceType(),this.getSignature(),i,a,o.replace(/,/g,"%2C"),this.suffix].filter(l=>l).join("/");{const u=[encodeURI(r),this.getResourceType(),this.getSignature(),encodeURI(i),a,encodeURI(o).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(f=>f).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),l=this.urlConfig.analytics!==!1&&!o.includes("?");let d="";if(typeof this.urlConfig.queryParams=="object")try{const f=new URLSearchParams(this.urlConfig.queryParams);l&&f.set("_a",iC(n)),d=f.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else d=this.urlConfig.queryParams||"",l&&(d+=`${d.length>0?"&":""}_a=${iC(n)}`);return d?`${u}?${d}`:u}}}class kO extends CJ{constructor(t,n,r,i){super(t,n,r),this.transformation=i}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Dh("q",t)),this}format(t){return this.addAction(new Dh("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class EJ extends kO{constructor(t,n,r){super(t,n,r,new aJ)}}class SJ extends kO{constructor(t,n,r){super(t,n,r,new oJ),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class AJ{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new EJ(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new SJ(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}var kg,oC;function IO(){if(oC)return kg;oC=1;function e(t,n){for(var r=-1,i=t==null?0:t.length;++r<i;)if(n(t[r],r,t))return!0;return!1}return kg=e,kg}var Ig,sC;function TJ(){if(sC)return Ig;sC=1;function e(){this.__data__=[],this.size=0}return Ig=e,Ig}var Bg,uC;function v4(){if(uC)return Bg;uC=1;function e(t,n){return t===n||t!==t&&n!==n}return Bg=e,Bg}var Lg,lC;function xp(){if(lC)return Lg;lC=1;var e=v4();function t(n,r){for(var i=n.length;i--;)if(e(n[i][0],r))return i;return-1}return Lg=t,Lg}var Vg,cC;function PJ(){if(cC)return Vg;cC=1;var e=xp(),t=Array.prototype,n=t.splice;function r(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var u=a.length-1;return o==u?a.pop():n.call(a,o,1),--this.size,!0}return Vg=r,Vg}var Ng,dC;function _J(){if(dC)return Ng;dC=1;var e=xp();function t(n){var r=this.__data__,i=e(r,n);return i<0?void 0:r[i][1]}return Ng=t,Ng}var jg,fC;function RJ(){if(fC)return jg;fC=1;var e=xp();function t(n){return e(this.__data__,n)>-1}return jg=t,jg}var Kg,hC;function OJ(){if(hC)return Kg;hC=1;var e=xp();function t(n,r){var i=this.__data__,a=e(i,n);return a<0?(++this.size,i.push([n,r])):i[a][1]=r,this}return Kg=t,Kg}var Ug,pC;function wp(){if(pC)return Ug;pC=1;var e=TJ(),t=PJ(),n=_J(),r=RJ(),i=OJ();function a(o){var u=-1,l=o==null?0:o.length;for(this.clear();++u<l;){var d=o[u];this.set(d[0],d[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=i,Ug=a,Ug}var zg,mC;function MJ(){if(mC)return zg;mC=1;var e=wp();function t(){this.__data__=new e,this.size=0}return zg=t,zg}var qg,gC;function FJ(){if(gC)return qg;gC=1;function e(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}return qg=e,qg}var Wg,yC;function kJ(){if(yC)return Wg;yC=1;function e(t){return this.__data__.get(t)}return Wg=e,Wg}var Hg,vC;function IJ(){if(vC)return Hg;vC=1;function e(t){return this.__data__.has(t)}return Hg=e,Hg}var Gg,bC;function BO(){if(bC)return Gg;bC=1;var e=typeof Vi=="object"&&Vi&&Vi.Object===Object&&Vi;return Gg=e,Gg}var Yg,$C;function Oa(){if($C)return Yg;$C=1;var e=BO(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Yg=n,Yg}var Zg,xC;function Dp(){if(xC)return Zg;xC=1;var e=Oa(),t=e.Symbol;return Zg=t,Zg}var Jg,wC;function BJ(){if(wC)return Jg;wC=1;var e=Dp(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;function a(o){var u=n.call(o,i),l=o[i];try{o[i]=void 0;var d=!0}catch{}var f=r.call(o);return d&&(u?o[i]=l:delete o[i]),f}return Jg=a,Jg}var Xg,DC;function LJ(){if(DC)return Xg;DC=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return Xg=n,Xg}var Qg,CC;function Hu(){if(CC)return Qg;CC=1;var e=Dp(),t=BJ(),n=LJ(),r="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(u){return u==null?u===void 0?i:r:a&&a in Object(u)?t(u):n(u)}return Qg=o,Qg}var ey,EC;function Cp(){if(EC)return ey;EC=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return ey=e,ey}var ty,SC;function LO(){if(SC)return ty;SC=1;var e=Hu(),t=Cp(),n="[object AsyncFunction]",r="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(u){if(!t(u))return!1;var l=e(u);return l==r||l==i||l==n||l==a}return ty=o,ty}var ny,AC;function VJ(){if(AC)return ny;AC=1;var e=Oa(),t=e["__core-js_shared__"];return ny=t,ny}var ry,TC;function NJ(){if(TC)return ry;TC=1;var e=VJ(),t=function(){var r=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function n(r){return!!t&&t in r}return ry=n,ry}var iy,PC;function VO(){if(PC)return iy;PC=1;var e=Function.prototype,t=e.toString;function n(r){if(r!=null){try{return t.call(r)}catch{}try{return r+""}catch{}}return""}return iy=n,iy}var ay,_C;function jJ(){if(_C)return ay;_C=1;var e=LO(),t=NJ(),n=Cp(),r=VO(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,l=o.toString,d=u.hasOwnProperty,f=RegExp("^"+l.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(p){if(!n(p)||t(p))return!1;var g=e(p)?f:a;return g.test(r(p))}return ay=h,ay}var oy,RC;function KJ(){if(RC)return oy;RC=1;function e(t,n){return t==null?void 0:t[n]}return oy=e,oy}var sy,OC;function Gu(){if(OC)return sy;OC=1;var e=jJ(),t=KJ();function n(r,i){var a=t(r,i);return e(a)?a:void 0}return sy=n,sy}var uy,MC;function b4(){if(MC)return uy;MC=1;var e=Gu(),t=Oa(),n=e(t,"Map");return uy=n,uy}var ly,FC;function Ep(){if(FC)return ly;FC=1;var e=Gu(),t=e(Object,"create");return ly=t,ly}var cy,kC;function UJ(){if(kC)return cy;kC=1;var e=Ep();function t(){this.__data__=e?e(null):{},this.size=0}return cy=t,cy}var dy,IC;function zJ(){if(IC)return dy;IC=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return dy=e,dy}var fy,BC;function qJ(){if(BC)return fy;BC=1;var e=Ep(),t="__lodash_hash_undefined__",n=Object.prototype,r=n.hasOwnProperty;function i(a){var o=this.__data__;if(e){var u=o[a];return u===t?void 0:u}return r.call(o,a)?o[a]:void 0}return fy=i,fy}var hy,LC;function WJ(){if(LC)return hy;LC=1;var e=Ep(),t=Object.prototype,n=t.hasOwnProperty;function r(i){var a=this.__data__;return e?a[i]!==void 0:n.call(a,i)}return hy=r,hy}var py,VC;function HJ(){if(VC)return py;VC=1;var e=Ep(),t="__lodash_hash_undefined__";function n(r,i){var a=this.__data__;return this.size+=this.has(r)?0:1,a[r]=e&&i===void 0?t:i,this}return py=n,py}var my,NC;function GJ(){if(NC)return my;NC=1;var e=UJ(),t=zJ(),n=qJ(),r=WJ(),i=HJ();function a(o){var u=-1,l=o==null?0:o.length;for(this.clear();++u<l;){var d=o[u];this.set(d[0],d[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=i,my=a,my}var gy,jC;function YJ(){if(jC)return gy;jC=1;var e=GJ(),t=wp(),n=b4();function r(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return gy=r,gy}var yy,KC;function ZJ(){if(KC)return yy;KC=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return yy=e,yy}var vy,UC;function Sp(){if(UC)return vy;UC=1;var e=ZJ();function t(n,r){var i=n.__data__;return e(r)?i[typeof r=="string"?"string":"hash"]:i.map}return vy=t,vy}var by,zC;function JJ(){if(zC)return by;zC=1;var e=Sp();function t(n){var r=e(this,n).delete(n);return this.size-=r?1:0,r}return by=t,by}var $y,qC;function XJ(){if(qC)return $y;qC=1;var e=Sp();function t(n){return e(this,n).get(n)}return $y=t,$y}var xy,WC;function QJ(){if(WC)return xy;WC=1;var e=Sp();function t(n){return e(this,n).has(n)}return xy=t,xy}var wy,HC;function eX(){if(HC)return wy;HC=1;var e=Sp();function t(n,r){var i=e(this,n),a=i.size;return i.set(n,r),this.size+=i.size==a?0:1,this}return wy=t,wy}var Dy,GC;function $4(){if(GC)return Dy;GC=1;var e=YJ(),t=JJ(),n=XJ(),r=QJ(),i=eX();function a(o){var u=-1,l=o==null?0:o.length;for(this.clear();++u<l;){var d=o[u];this.set(d[0],d[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=i,Dy=a,Dy}var Cy,YC;function tX(){if(YC)return Cy;YC=1;var e=wp(),t=b4(),n=$4(),r=200;function i(a,o){var u=this.__data__;if(u instanceof e){var l=u.__data__;if(!t||l.length<r-1)return l.push([a,o]),this.size=++u.size,this;u=this.__data__=new n(l)}return u.set(a,o),this.size=u.size,this}return Cy=i,Cy}var Ey,ZC;function NO(){if(ZC)return Ey;ZC=1;var e=wp(),t=MJ(),n=FJ(),r=kJ(),i=IJ(),a=tX();function o(u){var l=this.__data__=new e(u);this.size=l.size}return o.prototype.clear=t,o.prototype.delete=n,o.prototype.get=r,o.prototype.has=i,o.prototype.set=a,Ey=o,Ey}var Sy,JC;function nX(){if(JC)return Sy;JC=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return Sy=t,Sy}var Ay,XC;function rX(){if(XC)return Ay;XC=1;function e(t){return this.__data__.has(t)}return Ay=e,Ay}var Ty,QC;function iX(){if(QC)return Ty;QC=1;var e=$4(),t=nX(),n=rX();function r(i){var a=-1,o=i==null?0:i.length;for(this.__data__=new e;++a<o;)this.add(i[a])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,Ty=r,Ty}var Py,eE;function aX(){if(eE)return Py;eE=1;function e(t,n){return t.has(n)}return Py=e,Py}var _y,tE;function jO(){if(tE)return _y;tE=1;var e=iX(),t=IO(),n=aX(),r=1,i=2;function a(o,u,l,d,f,h){var p=l&r,g=o.length,y=u.length;if(g!=y&&!(p&&y>g))return!1;var $=h.get(o),C=h.get(u);if($&&C)return $==u&&C==o;var b=-1,v=!0,D=l&i?new e:void 0;for(h.set(o,u),h.set(u,o);++b<g;){var A=o[b],E=u[b];if(d)var T=p?d(E,A,b,u,o,h):d(A,E,b,o,u,h);if(T!==void 0){if(T)continue;v=!1;break}if(D){if(!t(u,function(R,S){if(!n(D,S)&&(A===R||f(A,R,l,d,h)))return D.push(S)})){v=!1;break}}else if(!(A===E||f(A,E,l,d,h))){v=!1;break}}return h.delete(o),h.delete(u),v}return _y=a,_y}var Ry,nE;function oX(){if(nE)return Ry;nE=1;var e=Oa(),t=e.Uint8Array;return Ry=t,Ry}var Oy,rE;function sX(){if(rE)return Oy;rE=1;function e(t){var n=-1,r=Array(t.size);return t.forEach(function(i,a){r[++n]=[a,i]}),r}return Oy=e,Oy}var My,iE;function uX(){if(iE)return My;iE=1;function e(t){var n=-1,r=Array(t.size);return t.forEach(function(i){r[++n]=i}),r}return My=e,My}var Fy,aE;function lX(){if(aE)return Fy;aE=1;var e=Dp(),t=oX(),n=v4(),r=jO(),i=sX(),a=uX(),o=1,u=2,l="[object Boolean]",d="[object Date]",f="[object Error]",h="[object Map]",p="[object Number]",g="[object RegExp]",y="[object Set]",$="[object String]",C="[object Symbol]",b="[object ArrayBuffer]",v="[object DataView]",D=e?e.prototype:void 0,A=D?D.valueOf:void 0;function E(T,R,S,U,j,M,X){switch(S){case v:if(T.byteLength!=R.byteLength||T.byteOffset!=R.byteOffset)return!1;T=T.buffer,R=R.buffer;case b:return!(T.byteLength!=R.byteLength||!M(new t(T),new t(R)));case l:case d:case p:return n(+T,+R);case f:return T.name==R.name&&T.message==R.message;case g:case $:return T==R+"";case h:var O=i;case y:var B=U&o;if(O||(O=a),T.size!=R.size&&!B)return!1;var q=X.get(T);if(q)return q==R;U|=u,X.set(T,R);var k=r(O(T),O(R),U,j,M,X);return X.delete(T),k;case C:if(A)return A.call(T)==A.call(R)}return!1}return Fy=E,Fy}var ky,oE;function cX(){if(oE)return ky;oE=1;function e(t,n){for(var r=-1,i=n.length,a=t.length;++r<i;)t[a+r]=n[r];return t}return ky=e,ky}var Iy,sE;function Ma(){if(sE)return Iy;sE=1;var e=Array.isArray;return Iy=e,Iy}var By,uE;function dX(){if(uE)return By;uE=1;var e=cX(),t=Ma();function n(r,i,a){var o=i(r);return t(r)?o:e(o,a(r))}return By=n,By}var Ly,lE;function fX(){if(lE)return Ly;lE=1;function e(t,n){for(var r=-1,i=t==null?0:t.length,a=0,o=[];++r<i;){var u=t[r];n(u,r,t)&&(o[a++]=u)}return o}return Ly=e,Ly}var Vy,cE;function hX(){if(cE)return Vy;cE=1;function e(){return[]}return Vy=e,Vy}var Ny,dE;function pX(){if(dE)return Ny;dE=1;var e=fX(),t=hX(),n=Object.prototype,r=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),e(i(o),function(u){return r.call(o,u)}))}:t;return Ny=a,Ny}var jy,fE;function mX(){if(fE)return jy;fE=1;function e(t,n){for(var r=-1,i=Array(t);++r<t;)i[r]=n(r);return i}return jy=e,jy}var Ky,hE;function Yu(){if(hE)return Ky;hE=1;function e(t){return t!=null&&typeof t=="object"}return Ky=e,Ky}var Uy,pE;function gX(){if(pE)return Uy;pE=1;var e=Hu(),t=Yu(),n="[object Arguments]";function r(i){return t(i)&&e(i)==n}return Uy=r,Uy}var zy,mE;function KO(){if(mE)return zy;mE=1;var e=gX(),t=Yu(),n=Object.prototype,r=n.hasOwnProperty,i=n.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(o){return t(o)&&r.call(o,"callee")&&!i.call(o,"callee")};return zy=a,zy}var Yl={exports:{}},qy,gE;function yX(){if(gE)return qy;gE=1;function e(){return!1}return qy=e,qy}Yl.exports;var yE;function UO(){return yE||(yE=1,function(e,t){var n=Oa(),r=yX(),i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,u=o?n.Buffer:void 0,l=u?u.isBuffer:void 0,d=l||r;e.exports=d}(Yl,Yl.exports)),Yl.exports}var Wy,vE;function x4(){if(vE)return Wy;vE=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(r,i){var a=typeof r;return i=i??e,!!i&&(a=="number"||a!="symbol"&&t.test(r))&&r>-1&&r%1==0&&r<i}return Wy=n,Wy}var Hy,bE;function w4(){if(bE)return Hy;bE=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return Hy=t,Hy}var Gy,$E;function vX(){if($E)return Gy;$E=1;var e=Hu(),t=w4(),n=Yu(),r="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",u="[object Error]",l="[object Function]",d="[object Map]",f="[object Number]",h="[object Object]",p="[object RegExp]",g="[object Set]",y="[object String]",$="[object WeakMap]",C="[object ArrayBuffer]",b="[object DataView]",v="[object Float32Array]",D="[object Float64Array]",A="[object Int8Array]",E="[object Int16Array]",T="[object Int32Array]",R="[object Uint8Array]",S="[object Uint8ClampedArray]",U="[object Uint16Array]",j="[object Uint32Array]",M={};M[v]=M[D]=M[A]=M[E]=M[T]=M[R]=M[S]=M[U]=M[j]=!0,M[r]=M[i]=M[C]=M[a]=M[b]=M[o]=M[u]=M[l]=M[d]=M[f]=M[h]=M[p]=M[g]=M[y]=M[$]=!1;function X(O){return n(O)&&t(O.length)&&!!M[e(O)]}return Gy=X,Gy}var Yy,xE;function bX(){if(xE)return Yy;xE=1;function e(t){return function(n){return t(n)}}return Yy=e,Yy}var Zl={exports:{}};Zl.exports;var wE;function $X(){return wE||(wE=1,function(e,t){var n=BO(),r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,o=a&&n.process,u=function(){try{var l=i&&i.require&&i.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();e.exports=u}(Zl,Zl.exports)),Zl.exports}var Zy,DE;function zO(){if(DE)return Zy;DE=1;var e=vX(),t=bX(),n=$X(),r=n&&n.isTypedArray,i=r?t(r):e;return Zy=i,Zy}var Jy,CE;function xX(){if(CE)return Jy;CE=1;var e=mX(),t=KO(),n=Ma(),r=UO(),i=x4(),a=zO(),o=Object.prototype,u=o.hasOwnProperty;function l(d,f){var h=n(d),p=!h&&t(d),g=!h&&!p&&r(d),y=!h&&!p&&!g&&a(d),$=h||p||g||y,C=$?e(d.length,String):[],b=C.length;for(var v in d)(f||u.call(d,v))&&!($&&(v=="length"||g&&(v=="offset"||v=="parent")||y&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||i(v,b)))&&C.push(v);return C}return Jy=l,Jy}var Xy,EE;function wX(){if(EE)return Xy;EE=1;var e=Object.prototype;function t(n){var r=n&&n.constructor,i=typeof r=="function"&&r.prototype||e;return n===i}return Xy=t,Xy}var Qy,SE;function DX(){if(SE)return Qy;SE=1;function e(t,n){return function(r){return t(n(r))}}return Qy=e,Qy}var ev,AE;function CX(){if(AE)return ev;AE=1;var e=DX(),t=e(Object.keys,Object);return ev=t,ev}var tv,TE;function EX(){if(TE)return tv;TE=1;var e=wX(),t=CX(),n=Object.prototype,r=n.hasOwnProperty;function i(a){if(!e(a))return t(a);var o=[];for(var u in Object(a))r.call(a,u)&&u!="constructor"&&o.push(u);return o}return tv=i,tv}var nv,PE;function D4(){if(PE)return nv;PE=1;var e=LO(),t=w4();function n(r){return r!=null&&t(r.length)&&!e(r)}return nv=n,nv}var rv,_E;function C4(){if(_E)return rv;_E=1;var e=xX(),t=EX(),n=D4();function r(i){return n(i)?e(i):t(i)}return rv=r,rv}var iv,RE;function SX(){if(RE)return iv;RE=1;var e=dX(),t=pX(),n=C4();function r(i){return e(i,n,t)}return iv=r,iv}var av,OE;function AX(){if(OE)return av;OE=1;var e=SX(),t=1,n=Object.prototype,r=n.hasOwnProperty;function i(a,o,u,l,d,f){var h=u&t,p=e(a),g=p.length,y=e(o),$=y.length;if(g!=$&&!h)return!1;for(var C=g;C--;){var b=p[C];if(!(h?b in o:r.call(o,b)))return!1}var v=f.get(a),D=f.get(o);if(v&&D)return v==o&&D==a;var A=!0;f.set(a,o),f.set(o,a);for(var E=h;++C<g;){b=p[C];var T=a[b],R=o[b];if(l)var S=h?l(R,T,b,o,a,f):l(T,R,b,a,o,f);if(!(S===void 0?T===R||d(T,R,u,l,f):S)){A=!1;break}E||(E=b=="constructor")}if(A&&!E){var U=a.constructor,j=o.constructor;U!=j&&"constructor"in a&&"constructor"in o&&!(typeof U=="function"&&U instanceof U&&typeof j=="function"&&j instanceof j)&&(A=!1)}return f.delete(a),f.delete(o),A}return av=i,av}var ov,ME;function TX(){if(ME)return ov;ME=1;var e=Gu(),t=Oa(),n=e(t,"DataView");return ov=n,ov}var sv,FE;function PX(){if(FE)return sv;FE=1;var e=Gu(),t=Oa(),n=e(t,"Promise");return sv=n,sv}var uv,kE;function _X(){if(kE)return uv;kE=1;var e=Gu(),t=Oa(),n=e(t,"Set");return uv=n,uv}var lv,IE;function RX(){if(IE)return lv;IE=1;var e=Gu(),t=Oa(),n=e(t,"WeakMap");return lv=n,lv}var cv,BE;function OX(){if(BE)return cv;BE=1;var e=TX(),t=b4(),n=PX(),r=_X(),i=RX(),a=Hu(),o=VO(),u="[object Map]",l="[object Object]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",g=o(e),y=o(t),$=o(n),C=o(r),b=o(i),v=a;return(e&&v(new e(new ArrayBuffer(1)))!=p||t&&v(new t)!=u||n&&v(n.resolve())!=d||r&&v(new r)!=f||i&&v(new i)!=h)&&(v=function(D){var A=a(D),E=A==l?D.constructor:void 0,T=E?o(E):"";if(T)switch(T){case g:return p;case y:return u;case $:return d;case C:return f;case b:return h}return A}),cv=v,cv}var dv,LE;function MX(){if(LE)return dv;LE=1;var e=NO(),t=jO(),n=lX(),r=AX(),i=OX(),a=Ma(),o=UO(),u=zO(),l=1,d="[object Arguments]",f="[object Array]",h="[object Object]",p=Object.prototype,g=p.hasOwnProperty;function y($,C,b,v,D,A){var E=a($),T=a(C),R=E?f:i($),S=T?f:i(C);R=R==d?h:R,S=S==d?h:S;var U=R==h,j=S==h,M=R==S;if(M&&o($)){if(!o(C))return!1;E=!0,U=!1}if(M&&!U)return A||(A=new e),E||u($)?t($,C,b,v,D,A):n($,C,R,b,v,D,A);if(!(b&l)){var X=U&&g.call($,"__wrapped__"),O=j&&g.call(C,"__wrapped__");if(X||O){var B=X?$.value():$,q=O?C.value():C;return A||(A=new e),D(B,q,b,v,A)}}return M?(A||(A=new e),r($,C,b,v,D,A)):!1}return dv=y,dv}var fv,VE;function qO(){if(VE)return fv;VE=1;var e=MX(),t=Yu();function n(r,i,a,o,u){return r===i?!0:r==null||i==null||!t(r)&&!t(i)?r!==r&&i!==i:e(r,i,a,o,n,u)}return fv=n,fv}var hv,NE;function FX(){if(NE)return hv;NE=1;var e=NO(),t=qO(),n=1,r=2;function i(a,o,u,l){var d=u.length,f=d,h=!l;if(a==null)return!f;for(a=Object(a);d--;){var p=u[d];if(h&&p[2]?p[1]!==a[p[0]]:!(p[0]in a))return!1}for(;++d<f;){p=u[d];var g=p[0],y=a[g],$=p[1];if(h&&p[2]){if(y===void 0&&!(g in a))return!1}else{var C=new e;if(l)var b=l(y,$,g,a,o,C);if(!(b===void 0?t($,y,n|r,l,C):b))return!1}}return!0}return hv=i,hv}var pv,jE;function WO(){if(jE)return pv;jE=1;var e=Cp();function t(n){return n===n&&!e(n)}return pv=t,pv}var mv,KE;function kX(){if(KE)return mv;KE=1;var e=WO(),t=C4();function n(r){for(var i=t(r),a=i.length;a--;){var o=i[a],u=r[o];i[a]=[o,u,e(u)]}return i}return mv=n,mv}var gv,UE;function HO(){if(UE)return gv;UE=1;function e(t,n){return function(r){return r==null?!1:r[t]===n&&(n!==void 0||t in Object(r))}}return gv=e,gv}var yv,zE;function IX(){if(zE)return yv;zE=1;var e=FX(),t=kX(),n=HO();function r(i){var a=t(i);return a.length==1&&a[0][2]?n(a[0][0],a[0][1]):function(o){return o===i||e(o,i,a)}}return yv=r,yv}var vv,qE;function E4(){if(qE)return vv;qE=1;var e=Hu(),t=Yu(),n="[object Symbol]";function r(i){return typeof i=="symbol"||t(i)&&e(i)==n}return vv=r,vv}var bv,WE;function S4(){if(WE)return bv;WE=1;var e=Ma(),t=E4(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function i(a,o){if(e(a))return!1;var u=typeof a;return u=="number"||u=="symbol"||u=="boolean"||a==null||t(a)?!0:r.test(a)||!n.test(a)||o!=null&&a in Object(o)}return bv=i,bv}var $v,HE;function BX(){if(HE)return $v;HE=1;var e=$4(),t="Expected a function";function n(r,i){if(typeof r!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var a=function(){var o=arguments,u=i?i.apply(this,o):o[0],l=a.cache;if(l.has(u))return l.get(u);var d=r.apply(this,o);return a.cache=l.set(u,d)||l,d};return a.cache=new(n.Cache||e),a}return n.Cache=e,$v=n,$v}var xv,GE;function LX(){if(GE)return xv;GE=1;var e=BX(),t=500;function n(r){var i=e(r,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return xv=n,xv}var wv,YE;function VX(){if(YE)return wv;YE=1;var e=LX(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(t,function(o,u,l,d){a.push(l?d.replace(n,"$1"):u||o)}),a});return wv=r,wv}var Dv,ZE;function NX(){if(ZE)return Dv;ZE=1;function e(t,n){for(var r=-1,i=t==null?0:t.length,a=Array(i);++r<i;)a[r]=n(t[r],r,t);return a}return Dv=e,Dv}var Cv,JE;function jX(){if(JE)return Cv;JE=1;var e=Dp(),t=NX(),n=Ma(),r=E4(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(u){if(typeof u=="string")return u;if(n(u))return t(u,o)+"";if(r(u))return a?a.call(u):"";var l=u+"";return l=="0"&&1/u==-1/0?"-0":l}return Cv=o,Cv}var Ev,XE;function KX(){if(XE)return Ev;XE=1;var e=jX();function t(n){return n==null?"":e(n)}return Ev=t,Ev}var Sv,QE;function GO(){if(QE)return Sv;QE=1;var e=Ma(),t=S4(),n=VX(),r=KX();function i(a,o){return e(a)?a:t(a,o)?[a]:n(r(a))}return Sv=i,Sv}var Av,eS;function Ap(){if(eS)return Av;eS=1;var e=E4();function t(n){if(typeof n=="string"||e(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}return Av=t,Av}var Tv,tS;function YO(){if(tS)return Tv;tS=1;var e=GO(),t=Ap();function n(r,i){i=e(i,r);for(var a=0,o=i.length;r!=null&&a<o;)r=r[t(i[a++])];return a&&a==o?r:void 0}return Tv=n,Tv}var Pv,nS;function UX(){if(nS)return Pv;nS=1;var e=YO();function t(n,r,i){var a=n==null?void 0:e(n,r);return a===void 0?i:a}return Pv=t,Pv}var _v,rS;function zX(){if(rS)return _v;rS=1;function e(t,n){return t!=null&&n in Object(t)}return _v=e,_v}var Rv,iS;function qX(){if(iS)return Rv;iS=1;var e=GO(),t=KO(),n=Ma(),r=x4(),i=w4(),a=Ap();function o(u,l,d){l=e(l,u);for(var f=-1,h=l.length,p=!1;++f<h;){var g=a(l[f]);if(!(p=u!=null&&d(u,g)))break;u=u[g]}return p||++f!=h?p:(h=u==null?0:u.length,!!h&&i(h)&&r(g,h)&&(n(u)||t(u)))}return Rv=o,Rv}var Ov,aS;function WX(){if(aS)return Ov;aS=1;var e=zX(),t=qX();function n(r,i){return r!=null&&t(r,i,e)}return Ov=n,Ov}var Mv,oS;function HX(){if(oS)return Mv;oS=1;var e=qO(),t=UX(),n=WX(),r=S4(),i=WO(),a=HO(),o=Ap(),u=1,l=2;function d(f,h){return r(f)&&i(h)?a(o(f),h):function(p){var g=t(p,f);return g===void 0&&g===h?n(p,f):e(h,g,u|l)}}return Mv=d,Mv}var Fv,sS;function GX(){if(sS)return Fv;sS=1;function e(t){return t}return Fv=e,Fv}var kv,uS;function YX(){if(uS)return kv;uS=1;function e(t){return function(n){return n==null?void 0:n[t]}}return kv=e,kv}var Iv,lS;function ZX(){if(lS)return Iv;lS=1;var e=YO();function t(n){return function(r){return e(r,n)}}return Iv=t,Iv}var Bv,cS;function JX(){if(cS)return Bv;cS=1;var e=YX(),t=ZX(),n=S4(),r=Ap();function i(a){return n(a)?e(r(a)):t(a)}return Bv=i,Bv}var Lv,dS;function XX(){if(dS)return Lv;dS=1;var e=IX(),t=HX(),n=GX(),r=Ma(),i=JX();function a(o){return typeof o=="function"?o:o==null?n:typeof o=="object"?r(o)?t(o[0],o[1]):e(o):i(o)}return Lv=a,Lv}var Vv,fS;function QX(){if(fS)return Vv;fS=1;function e(t){return function(n,r,i){for(var a=-1,o=Object(n),u=i(n),l=u.length;l--;){var d=u[t?l:++a];if(r(o[d],d,o)===!1)break}return n}}return Vv=e,Vv}var Nv,hS;function eQ(){if(hS)return Nv;hS=1;var e=QX(),t=e();return Nv=t,Nv}var jv,pS;function tQ(){if(pS)return jv;pS=1;var e=eQ(),t=C4();function n(r,i){return r&&e(r,i,t)}return jv=n,jv}var Kv,mS;function nQ(){if(mS)return Kv;mS=1;var e=D4();function t(n,r){return function(i,a){if(i==null)return i;if(!e(i))return n(i,a);for(var o=i.length,u=r?o:-1,l=Object(i);(r?u--:++u<o)&&a(l[u],u,l)!==!1;);return i}}return Kv=t,Kv}var Uv,gS;function rQ(){if(gS)return Uv;gS=1;var e=tQ(),t=nQ(),n=t(e);return Uv=n,Uv}var zv,yS;function iQ(){if(yS)return zv;yS=1;var e=rQ();function t(n,r){var i;return e(n,function(a,o,u){return i=r(a,o,u),!i}),!!i}return zv=t,zv}var qv,vS;function aQ(){if(vS)return qv;vS=1;var e=v4(),t=D4(),n=x4(),r=Cp();function i(a,o,u){if(!r(u))return!1;var l=typeof o;return(l=="number"?t(u)&&n(o,u.length):l=="string"&&o in u)?e(u[o],a):!1}return qv=i,qv}var Wv,bS;function oQ(){if(bS)return Wv;bS=1;var e=IO(),t=XX(),n=iQ(),r=Ma(),i=aQ();function a(o,u,l){var d=r(o)?e:n;return l&&i(o,u,l)&&(u=void 0),d(o,t(u,3))}return Wv=a,Wv}var sQ=oQ();const uQ=Qi(sQ);var Hv={exports:{}},$S;function lQ(){return $S||($S=1,function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
147
- * Prism: Lightweight, robust, elegant syntax highlighting
148
- *
149
- * @license MIT <https://opensource.org/licenses/MIT>
150
- * @author Lea Verou <https://lea.verou.me>
151
- * @namespace
152
- * @public
153
- */var n=function(r){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,o={},u={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function v(D){return D instanceof l?new l(D.type,v(D.content),D.alias):Array.isArray(D)?D.map(v):D.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(v){return Object.prototype.toString.call(v).slice(8,-1)},objId:function(v){return v.__id||Object.defineProperty(v,"__id",{value:++a}),v.__id},clone:function v(D,A){A=A||{};var E,T;switch(u.util.type(D)){case"Object":if(T=u.util.objId(D),A[T])return A[T];E={},A[T]=E;for(var R in D)D.hasOwnProperty(R)&&(E[R]=v(D[R],A));return E;case"Array":return T=u.util.objId(D),A[T]?A[T]:(E=[],A[T]=E,D.forEach(function(S,U){E[U]=v(S,A)}),E);default:return D}},getLanguage:function(v){for(;v;){var D=i.exec(v.className);if(D)return D[1].toLowerCase();v=v.parentElement}return"none"},setLanguage:function(v,D){v.className=v.className.replace(RegExp(i,"gi"),""),v.classList.add("language-"+D)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(E){var v=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(E.stack)||[])[1];if(v){var D=document.getElementsByTagName("script");for(var A in D)if(D[A].src==v)return D[A]}return null}},isActive:function(v,D,A){for(var E="no-"+D;v;){var T=v.classList;if(T.contains(D))return!0;if(T.contains(E))return!1;v=v.parentElement}return!!A}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(v,D){var A=u.util.clone(u.languages[v]);for(var E in D)A[E]=D[E];return A},insertBefore:function(v,D,A,E){E=E||u.languages;var T=E[v],R={};for(var S in T)if(T.hasOwnProperty(S)){if(S==D)for(var U in A)A.hasOwnProperty(U)&&(R[U]=A[U]);A.hasOwnProperty(S)||(R[S]=T[S])}var j=E[v];return E[v]=R,u.languages.DFS(u.languages,function(M,X){X===j&&M!=v&&(this[M]=R)}),R},DFS:function v(D,A,E,T){T=T||{};var R=u.util.objId;for(var S in D)if(D.hasOwnProperty(S)){A.call(D,S,D[S],E||S);var U=D[S],j=u.util.type(U);j==="Object"&&!T[R(U)]?(T[R(U)]=!0,v(U,A,null,T)):j==="Array"&&!T[R(U)]&&(T[R(U)]=!0,v(U,A,S,T))}}},plugins:{},highlightAll:function(v,D){u.highlightAllUnder(document,v,D)},highlightAllUnder:function(v,D,A){var E={callback:A,container:v,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};u.hooks.run("before-highlightall",E),E.elements=Array.prototype.slice.apply(E.container.querySelectorAll(E.selector)),u.hooks.run("before-all-elements-highlight",E);for(var T=0,R;R=E.elements[T++];)u.highlightElement(R,D===!0,E.callback)},highlightElement:function(v,D,A){var E=u.util.getLanguage(v),T=u.languages[E];u.util.setLanguage(v,E);var R=v.parentElement;R&&R.nodeName.toLowerCase()==="pre"&&u.util.setLanguage(R,E);var S=v.textContent,U={element:v,language:E,grammar:T,code:S};function j(X){U.highlightedCode=X,u.hooks.run("before-insert",U),U.element.innerHTML=U.highlightedCode,u.hooks.run("after-highlight",U),u.hooks.run("complete",U),A&&A.call(U.element)}if(u.hooks.run("before-sanity-check",U),R=U.element.parentElement,R&&R.nodeName.toLowerCase()==="pre"&&!R.hasAttribute("tabindex")&&R.setAttribute("tabindex","0"),!U.code){u.hooks.run("complete",U),A&&A.call(U.element);return}if(u.hooks.run("before-highlight",U),!U.grammar){j(u.util.encode(U.code));return}if(D&&r.Worker){var M=new Worker(u.filename);M.onmessage=function(X){j(X.data)},M.postMessage(JSON.stringify({language:U.language,code:U.code,immediateClose:!0}))}else j(u.highlight(U.code,U.grammar,U.language))},highlight:function(v,D,A){var E={code:v,grammar:D,language:A};if(u.hooks.run("before-tokenize",E),!E.grammar)throw new Error('The language "'+E.language+'" has no grammar.');return E.tokens=u.tokenize(E.code,E.grammar),u.hooks.run("after-tokenize",E),l.stringify(u.util.encode(E.tokens),E.language)},tokenize:function(v,D){var A=D.rest;if(A){for(var E in A)D[E]=A[E];delete D.rest}var T=new h;return p(T,T.head,v),f(v,T,D,T.head,0),y(T)},hooks:{all:{},add:function(v,D){var A=u.hooks.all;A[v]=A[v]||[],A[v].push(D)},run:function(v,D){var A=u.hooks.all[v];if(!(!A||!A.length))for(var E=0,T;T=A[E++];)T(D)}},Token:l};r.Prism=u;function l(v,D,A,E){this.type=v,this.content=D,this.alias=A,this.length=(E||"").length|0}l.stringify=function v(D,A){if(typeof D=="string")return D;if(Array.isArray(D)){var E="";return D.forEach(function(j){E+=v(j,A)}),E}var T={type:D.type,content:v(D.content,A),tag:"span",classes:["token",D.type],attributes:{},language:A},R=D.alias;R&&(Array.isArray(R)?Array.prototype.push.apply(T.classes,R):T.classes.push(R)),u.hooks.run("wrap",T);var S="";for(var U in T.attributes)S+=" "+U+'="'+(T.attributes[U]||"").replace(/"/g,"&quot;")+'"';return"<"+T.tag+' class="'+T.classes.join(" ")+'"'+S+">"+T.content+"</"+T.tag+">"};function d(v,D,A,E){v.lastIndex=D;var T=v.exec(A);if(T&&E&&T[1]){var R=T[1].length;T.index+=R,T[0]=T[0].slice(R)}return T}function f(v,D,A,E,T,R){for(var S in A)if(!(!A.hasOwnProperty(S)||!A[S])){var U=A[S];U=Array.isArray(U)?U:[U];for(var j=0;j<U.length;++j){if(R&&R.cause==S+","+j)return;var M=U[j],X=M.inside,O=!!M.lookbehind,B=!!M.greedy,q=M.alias;if(B&&!M.pattern.global){var k=M.pattern.toString().match(/[imsuy]*$/)[0];M.pattern=RegExp(M.pattern.source,k+"g")}for(var V=M.pattern||M,_=E.next,H=T;_!==D.tail&&!(R&&H>=R.reach);H+=_.value.length,_=_.next){var z=_.value;if(D.length>v.length)return;if(!(z instanceof l)){var N=1,ne;if(B){if(ne=d(V,H,v,O),!ne||ne.index>=v.length)break;var De=ne.index,ie=ne.index+ne[0].length,le=H;for(le+=_.value.length;De>=le;)_=_.next,le+=_.value.length;if(le-=_.value.length,H=le,_.value instanceof l)continue;for(var $e=_;$e!==D.tail&&(le<ie||typeof $e.value=="string");$e=$e.next)N++,le+=$e.value.length;N--,z=v.slice(H,le),ne.index-=H}else if(ne=d(V,0,z,O),!ne)continue;var De=ne.index,Ce=ne[0],Y=z.slice(0,De),he=z.slice(De+Ce.length),ye=H+z.length;R&&ye>R.reach&&(R.reach=ye);var fe=_.prev;Y&&(fe=p(D,fe,Y),H+=Y.length),g(D,fe,N);var oe=new l(S,X?u.tokenize(Ce,X):Ce,q,Ce);if(_=p(D,fe,oe),he&&p(D,_,he),N>1){var Fe={cause:S+","+j,reach:ye};f(v,D,A,_.prev,H,Fe),R&&Fe.reach>R.reach&&(R.reach=Fe.reach)}}}}}}function h(){var v={value:null,prev:null,next:null},D={value:null,prev:v,next:null};v.next=D,this.head=v,this.tail=D,this.length=0}function p(v,D,A){var E=D.next,T={value:A,prev:D,next:E};return D.next=T,E.prev=T,v.length++,T}function g(v,D,A){for(var E=D.next,T=0;T<A&&E!==v.tail;T++)E=E.next;D.next=E,E.prev=D,v.length-=T}function y(v){for(var D=[],A=v.head.next;A!==v.tail;)D.push(A.value),A=A.next;return D}if(!r.document)return r.addEventListener&&(u.disableWorkerMessageHandler||r.addEventListener("message",function(v){var D=JSON.parse(v.data),A=D.language,E=D.code,T=D.immediateClose;r.postMessage(u.highlight(E,u.languages[A],A)),T&&r.close()},!1)),u;var $=u.util.currentScript();$&&(u.filename=$.src,$.hasAttribute("data-manual")&&(u.manual=!0));function C(){u.manual||u.highlightAll()}if(!u.manual){var b=document.readyState;b==="loading"||b==="interactive"&&$&&$.defer?document.addEventListener("DOMContentLoaded",C):window.requestAnimationFrame?window.requestAnimationFrame(C):window.setTimeout(C,16)}return u}(t);e.exports&&(e.exports=n),typeof Vi<"u"&&(Vi.Prism=n),n.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&amp;/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(i,a){var o={};o["language-"+a]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[a]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var u={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};u["language-"+a]={pattern:/[\s\S]+/,inside:n.languages[a]};var l={};l[i]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:u},n.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(r,i){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:n.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(r){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+i.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var a=r.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript,function(){if(typeof n>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var r="Loading…",i=function($,C){return"✖ Error "+$+" while fetching file: "+C},a="✖ Error: File does not exist or is empty",o={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},u="data-src-status",l="loading",d="loaded",f="failed",h="pre[data-src]:not(["+u+'="'+d+'"]):not(['+u+'="'+l+'"])';function p($,C,b){var v=new XMLHttpRequest;v.open("GET",$,!0),v.onreadystatechange=function(){v.readyState==4&&(v.status<400&&v.responseText?C(v.responseText):v.status>=400?b(i(v.status,v.statusText)):b(a))},v.send(null)}function g($){var C=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec($||"");if(C){var b=Number(C[1]),v=C[2],D=C[3];return v?D?[b,Number(D)]:[b,void 0]:[b,b]}}n.hooks.add("before-highlightall",function($){$.selector+=", "+h}),n.hooks.add("before-sanity-check",function($){var C=$.element;if(C.matches(h)){$.code="",C.setAttribute(u,l);var b=C.appendChild(document.createElement("CODE"));b.textContent=r;var v=C.getAttribute("data-src"),D=$.language;if(D==="none"){var A=(/\.(\w+)$/.exec(v)||[,"none"])[1];D=o[A]||A}n.util.setLanguage(b,D),n.util.setLanguage(C,D);var E=n.plugins.autoloader;E&&E.loadLanguages(D),p(v,function(T){C.setAttribute(u,d);var R=g(C.getAttribute("data-range"));if(R){var S=T.split(/\r\n?|\n/g),U=R[0],j=R[1]==null?S.length:R[1];U<0&&(U+=S.length),U=Math.max(0,Math.min(U-1,S.length)),j<0&&(j+=S.length),j=Math.max(0,Math.min(j,S.length)),T=S.slice(U,j).join(`
154
- `),C.hasAttribute("data-start")||C.setAttribute("data-start",String(U+1))}b.textContent=T,n.highlightElement(b)},function(T){C.setAttribute(u,f),b.textContent=T})}}),n.plugins.fileHighlight={highlight:function(C){for(var b=(C||document).querySelectorAll(h),v=0,D;D=b[v++];)n.highlightElement(D)}};var y=!1;n.fileHighlight=function(){y||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),y=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}()}(Hv)),Hv.exports}var cQ=lQ();(function(){if(typeof Prism>"u"||typeof document>"u"||!document.querySelector)return;var e="line-numbers",t="linkable-line-numbers",n=/\n(?!$)/g;function r(p,g){return Array.prototype.slice.call((g||document).querySelectorAll(p))}function i(p,g){return p.classList.contains(g)}function a(p){p()}var o=function(){var p;return function(){if(typeof p>"u"){var g=document.createElement("div");g.style.fontSize="13px",g.style.lineHeight="1.5",g.style.padding="0",g.style.border="0",g.innerHTML="&nbsp;<br />&nbsp;",document.body.appendChild(g),p=g.offsetHeight===38,document.body.removeChild(g)}return p}}();function u(p,g){var y=getComputedStyle(p),$=getComputedStyle(g);function C(b){return+b.substr(0,b.length-2)}return g.offsetTop+C($.borderTopWidth)+C($.paddingTop)-C(y.paddingTop)}function l(p){return!p||!/pre/i.test(p.nodeName)?!1:!!(p.hasAttribute("data-line")||p.id&&Prism.util.isActive(p,t))}var d=!0;Prism.plugins.lineHighlight={highlightLines:function(g,y,$){y=typeof y=="string"?y:g.getAttribute("data-line")||"";var C=y.replace(/\s+/g,"").split(",").filter(Boolean),b=+g.getAttribute("data-line-offset")||0,v=o()?parseInt:parseFloat,D=v(getComputedStyle(g).lineHeight),A=Prism.util.isActive(g,e),E=g.querySelector("code"),T=A?g:E||g,R=[],S=E.textContent.match(n),U=S?S.length+1:1,j=!E||T==E?0:u(g,E);C.forEach(function(O){var B=O.split("-"),q=+B[0],k=+B[1]||q;if(k=Math.min(U+b,k),!(k<q)){var V=g.querySelector('.line-highlight[data-range="'+O+'"]')||document.createElement("div");if(R.push(function(){V.setAttribute("aria-hidden","true"),V.setAttribute("data-range",O),V.className=($||"")+" line-highlight"}),A&&Prism.plugins.lineNumbers){var _=Prism.plugins.lineNumbers.getLine(g,q),H=Prism.plugins.lineNumbers.getLine(g,k);if(_){var z=_.offsetTop+j+"px";R.push(function(){V.style.top=z})}if(H){var N=H.offsetTop-_.offsetTop+H.offsetHeight+"px";R.push(function(){V.style.height=N})}}else R.push(function(){V.setAttribute("data-start",String(q)),k>q&&V.setAttribute("data-end",String(k)),V.style.top=(q-b-1)*D+j+"px",V.textContent=new Array(k-q+2).join(`
155
- `)});R.push(function(){V.style.width=g.scrollWidth+"px"}),R.push(function(){T.appendChild(V)})}});var M=g.id;if(A&&Prism.util.isActive(g,t)&&M){i(g,t)||R.push(function(){g.classList.add(t)});var X=parseInt(g.getAttribute("data-start")||"1");r(".line-numbers-rows > span",g).forEach(function(O,B){var q=B+X;O.onclick=function(){var k=M+"."+q;d=!1,location.hash=k,setTimeout(function(){d=!0},1)}})}return function(){R.forEach(a)}}};function f(){var p=location.hash.slice(1);r(".temporary.line-highlight").forEach(function(b){b.parentNode.removeChild(b)});var g=(p.match(/\.([\d,-]+)$/)||[,""])[1];if(!(!g||document.getElementById(p))){var y=p.slice(0,p.lastIndexOf(".")),$=document.getElementById(y);if($){$.hasAttribute("data-line")||$.setAttribute("data-line","");var C=Prism.plugins.lineHighlight.highlightLines($,g,"temporary ");C(),d&&document.querySelector(".temporary.line-highlight").scrollIntoView()}}}var h=0;Prism.hooks.add("before-sanity-check",function(p){var g=p.element.parentElement;if(l(g)){var y=0;r(".line-highlight",g).forEach(function($){y+=$.textContent.length,$.parentNode.removeChild($)}),y&&/^(?: \n)+$/.test(p.code.slice(-y))&&(p.code=p.code.slice(0,-y))}}),Prism.hooks.add("complete",function p(g){var y=g.element.parentElement;if(l(y)){clearTimeout(h);var $=Prism.plugins.lineNumbers,C=g.plugins&&g.plugins.lineNumbers;if(i(y,e)&&$&&!C)Prism.hooks.add("line-numbers",p);else{var b=Prism.plugins.lineHighlight.highlightLines(y);b(),h=setTimeout(f,1)}}}),window.addEventListener("hashchange",f),window.addEventListener("resize",function(){var p=r("pre").filter(l).map(function(g){return Prism.plugins.lineHighlight.highlightLines(g)});p.forEach(a)})})();const ZO=x.createContext({});function ed(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const A4=x.createContext(null),T4=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function dQ(e=!0){const t=x.useContext(A4);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,a=x.useId();x.useEffect(()=>{e&&i(a)},[e]);const o=x.useCallback(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}const P4=typeof window<"u",JO=P4?x.useLayoutEffect:x.useEffect,Er=e=>e;let Zu=Er,Xi=Er;process.env.NODE_ENV!=="production"&&(Zu=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Xi=(e,t)=>{if(!e)throw new Error(t)});function _4(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ru=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Gi=e=>e*1e3,Da=e=>e/1e3,fQ={useManualTiming:!1};function hQ(e){let t=new Set,n=new Set,r=!1,i=!1;const a=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function u(d){a.has(d)&&(l.schedule(d),e()),d(o)}const l={schedule:(d,f=!1,h=!1)=>{const g=h&&r?t:n;return f&&a.add(d),g.has(d)||g.add(d),d},cancel:d=>{n.delete(d),a.delete(d)},process:d=>{if(o=d,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(u),t.clear(),r=!1,i&&(i=!1,l.process(d))}};return l}const xf=["read","resolveKeyframes","update","preRender","render","postRender"],pQ=40;function XO(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=xf.reduce((b,v)=>(b[v]=hQ(a),b),{}),{read:u,resolveKeyframes:l,update:d,preRender:f,render:h,postRender:p}=o,g=()=>{const b=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(b-i.timestamp,pQ),1),i.timestamp=b,i.isProcessing=!0,u.process(i),l.process(i),d.process(i),f.process(i),h.process(i),p.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},y=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:xf.reduce((b,v)=>{const D=o[v];return b[v]=(A,E=!1,T=!1)=>(n||y(),D.schedule(A,E,T)),b},{}),cancel:b=>{for(let v=0;v<xf.length;v++)o[xf[v]].cancel(b)},state:i,steps:o}}const{schedule:Kt,cancel:Aa,state:In,steps:Gv}=XO(typeof requestAnimationFrame<"u"?requestAnimationFrame:Er,!0),QO=x.createContext({strict:!1}),xS={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"]},Ou={};for(const e in xS)Ou[e]={isEnabled:t=>xS[e].some(n=>!!t[n])};function mQ(e){for(const t in e)Ou[t]={...Ou[t],...e[t]}}const gQ=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 Eh(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||gQ.has(e)}let eM=e=>!Eh(e);function yQ(e){e&&(eM=t=>t.startsWith("on")?!Eh(t):e(t))}try{yQ(require("@emotion/is-prop-valid").default)}catch{}function vQ(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(eM(i)||n===!0&&Eh(i)||!t&&!Eh(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const wS=new Set;function Tp(e,t,n){e||wS.has(t)||(console.warn(t),wS.add(t))}function bQ(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>(process.env.NODE_ENV!=="production"&&Tp(!1,"motion() is deprecated. Use motion.create() instead."),e(...r));return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const Pp=x.createContext({});function Ac(e){return typeof e=="string"||Array.isArray(e)}function _p(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const R4=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],O4=["initial",...R4];function Rp(e){return _p(e.animate)||O4.some(t=>Ac(e[t]))}function tM(e){return!!(Rp(e)||e.variants)}function $Q(e,t){if(Rp(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ac(n)?n:void 0,animate:Ac(r)?r:void 0}}return e.inherit!==!1?t:{}}function xQ(e){const{initial:t,animate:n}=$Q(e,x.useContext(Pp));return x.useMemo(()=>({initial:t,animate:n}),[DS(t),DS(n)])}function DS(e){return Array.isArray(e)?e.join(" "):e}const wQ=Symbol.for("motionComponentSymbol");function iu(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function DQ(e,t,n){return x.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):iu(n)&&(n.current=r))},[t])}const M4=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),CQ="framerAppearId",nM="data-"+M4(CQ),{schedule:F4}=XO(queueMicrotask,!1),rM=x.createContext({});function EQ(e,t,n,r,i){var a,o;const{visualElement:u}=x.useContext(Pp),l=x.useContext(QO),d=x.useContext(A4),f=x.useContext(T4).reducedMotion,h=x.useRef(null);r=r||l.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:u,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:f}));const p=h.current,g=x.useContext(rM);p&&!p.projection&&i&&(p.type==="html"||p.type==="svg")&&SQ(h.current,n,i,g);const y=x.useRef(!1);x.useInsertionEffect(()=>{p&&y.current&&p.update(n,d)});const $=n[nM],C=x.useRef(!!$&&!(!((a=window.MotionHandoffIsComplete)===null||a===void 0)&&a.call(window,$))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,$)));return JO(()=>{p&&(y.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),F4.render(p.render),C.current&&p.animationState&&p.animationState.animateChanges())}),x.useEffect(()=>{p&&(!C.current&&p.animationState&&p.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var b;(b=window.MotionHandoffMarkAsComplete)===null||b===void 0||b.call(window,$)}),C.current=!1))}),p}function SQ(e,t,n,r){const{layoutId:i,layout:a,drag:o,dragConstraints:u,layoutScroll:l,layoutRoot:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:iM(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||u&&iu(u),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:d})}function iM(e){if(e)return e.options.allowProjection!==!1?e.projection:iM(e.parent)}function AQ({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var a,o;e&&mQ(e);function u(d,f){let h;const p={...x.useContext(T4),...d,layoutId:TQ(d)},{isStatic:g}=p,y=xQ(d),$=r(d,g);if(!g&&P4){PQ(p,e);const C=_Q(p);h=C.MeasureLayout,y.visualElement=EQ(i,$,p,t,C.ProjectionNode)}return Ea.jsxs(Pp.Provider,{value:y,children:[h&&y.visualElement?Ea.jsx(h,{visualElement:y.visualElement,...p}):null,n(i,d,DQ($,y.visualElement,f),$,g,y.visualElement)]})}u.displayName=`motion.${typeof i=="string"?i:`create(${(o=(a=i.displayName)!==null&&a!==void 0?a:i.name)!==null&&o!==void 0?o:""})`}`;const l=x.forwardRef(u);return l[wQ]=i,l}function TQ({layoutId:e}){const t=x.useContext(ZO).id;return t&&e!==void 0?t+"-"+e:e}function PQ(e,t){const n=x.useContext(QO).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Zu(!1,r):Xi(!1,r)}}function _Q(e){const{drag:t,layout:n}=Ou;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const RQ=["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 k4(e){return typeof e!="string"||e.includes("-")?!1:!!(RQ.indexOf(e)>-1||/[A-Z]/u.test(e))}function CS(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function I4(e,t,n,r){if(typeof t=="function"){const[i,a]=CS(r);t=t(n!==void 0?n:e.custom,i,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,a]=CS(r);t=t(n!==void 0?n:e.custom,i,a)}return t}const A0=e=>Array.isArray(e),OQ=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),MQ=e=>A0(e)?e[e.length-1]||0:e,Bn=e=>!!(e&&e.getVelocity);function zf(e){const t=Bn(e)?e.get():e;return OQ(t)?t.toValue():t}function FQ({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,a){const o={latestValues:kQ(r,i,a,e),renderState:t()};return n&&(o.onMount=u=>n({props:r,current:u,...o}),o.onUpdate=u=>n(u)),o}const aM=e=>(t,n)=>{const r=x.useContext(Pp),i=x.useContext(A4),a=()=>FQ(e,t,r,i);return n?a():ed(a)};function kQ(e,t,n,r){const i={},a=r(e,{});for(const p in a)i[p]=zf(a[p]);let{initial:o,animate:u}=e;const l=Rp(e),d=tM(e);t&&d&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),u===void 0&&(u=t.animate));let f=n?n.initial===!1:!1;f=f||o===!1;const h=f?u:o;if(h&&typeof h!="boolean"&&!_p(h)){const p=Array.isArray(h)?h:[h];for(let g=0;g<p.length;g++){const y=I4(e,p[g]);if(y){const{transitionEnd:$,transition:C,...b}=y;for(const v in b){let D=b[v];if(Array.isArray(D)){const A=f?D.length-1:0;D=D[A]}D!==null&&(i[v]=D)}for(const v in $)i[v]=$[v]}}}return i}const Ju=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],vs=new Set(Ju),oM=e=>t=>typeof t=="string"&&t.startsWith(e),sM=oM("--"),IQ=oM("var(--"),B4=e=>IQ(e)?BQ.test(e.split("/*")[0].trim()):!1,BQ=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,uM=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Ta=(e,t,n)=>n>t?t:n<e?e:n,Xu={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Tc={...Xu,transform:e=>Ta(0,1,e)},wf={...Xu,default:1},td=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Xa=td("deg"),Yi=td("%"),He=td("px"),LQ=td("vh"),VQ=td("vw"),ES={...Yi,parse:e=>Yi.parse(e)/100,transform:e=>Yi.transform(e*100)},NQ={borderWidth:He,borderTopWidth:He,borderRightWidth:He,borderBottomWidth:He,borderLeftWidth:He,borderRadius:He,radius:He,borderTopLeftRadius:He,borderTopRightRadius:He,borderBottomRightRadius:He,borderBottomLeftRadius:He,width:He,maxWidth:He,height:He,maxHeight:He,top:He,right:He,bottom:He,left:He,padding:He,paddingTop:He,paddingRight:He,paddingBottom:He,paddingLeft:He,margin:He,marginTop:He,marginRight:He,marginBottom:He,marginLeft:He,backgroundPositionX:He,backgroundPositionY:He},jQ={rotate:Xa,rotateX:Xa,rotateY:Xa,rotateZ:Xa,scale:wf,scaleX:wf,scaleY:wf,scaleZ:wf,skew:Xa,skewX:Xa,skewY:Xa,distance:He,translateX:He,translateY:He,translateZ:He,x:He,y:He,z:He,perspective:He,transformPerspective:He,opacity:Tc,originX:ES,originY:ES,originZ:He},SS={...Xu,transform:Math.round},L4={...NQ,...jQ,zIndex:SS,size:He,fillOpacity:Tc,strokeOpacity:Tc,numOctaves:SS},KQ={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},UQ=Ju.length;function zQ(e,t,n){let r="",i=!0;for(let a=0;a<UQ;a++){const o=Ju[a],u=e[o];if(u===void 0)continue;let l=!0;if(typeof u=="number"?l=u===(o.startsWith("scale")?1:0):l=parseFloat(u)===0,!l||n){const d=uM(u,L4[o]);if(!l){i=!1;const f=KQ[o]||o;r+=`${f}(${d}) `}n&&(t[o]=d)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function V4(e,t,n){const{style:r,vars:i,transformOrigin:a}=e;let o=!1,u=!1;for(const l in t){const d=t[l];if(vs.has(l)){o=!0;continue}else if(sM(l)){i[l]=d;continue}else{const f=uM(d,L4[l]);l.startsWith("origin")?(u=!0,a[l]=f):r[l]=f}}if(t.transform||(o||n?r.transform=zQ(t,e.transform,n):r.transform&&(r.transform="none")),u){const{originX:l="50%",originY:d="50%",originZ:f=0}=a;r.transformOrigin=`${l} ${d} ${f}`}}const qQ={offset:"stroke-dashoffset",array:"stroke-dasharray"},WQ={offset:"strokeDashoffset",array:"strokeDasharray"};function HQ(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?qQ:WQ;e[a.offset]=He.transform(-r);const o=He.transform(t),u=He.transform(n);e[a.array]=`${o} ${u}`}function AS(e,t,n){return typeof e=="string"?e:He.transform(t+n*e)}function GQ(e,t,n){const r=AS(t,e.x,e.width),i=AS(n,e.y,e.height);return`${r} ${i}`}function N4(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:o,pathSpacing:u=1,pathOffset:l=0,...d},f,h){if(V4(e,d,h),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:g,dimensions:y}=e;p.transform&&(y&&(g.transform=p.transform),delete p.transform),y&&(i!==void 0||a!==void 0||g.transform)&&(g.transformOrigin=GQ(y,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),o!==void 0&&HQ(p,o,u,l,!1)}const j4=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),lM=()=>({...j4(),attrs:{}}),K4=e=>typeof e=="string"&&e.toLowerCase()==="svg";function cM(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const dM=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function fM(e,t,n,r){cM(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(dM.has(i)?i:M4(i),t.attrs[i])}const Sh={};function YQ(e){Object.assign(Sh,e)}function hM(e,{layout:t,layoutId:n}){return vs.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Sh[e]||e==="opacity")}function U4(e,t,n){var r;const{style:i}=e,a={};for(const o in i)(Bn(i[o])||t.style&&Bn(t.style[o])||hM(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(a[o]=i[o]);return a}function pM(e,t,n){const r=U4(e,t,n);for(const i in e)if(Bn(e[i])||Bn(t[i])){const a=Ju.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[a]=e[i]}return r}function ZQ(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const TS=["x","y","width","height","cx","cy","r"],JQ={useVisualState:aM({scrapeMotionValuesFromProps:pM,createRenderState:lM,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let a=!!e.drag;if(!a){for(const u in i)if(vs.has(u)){a=!0;break}}if(!a)return;let o=!t;if(t)for(let u=0;u<TS.length;u++){const l=TS[u];e[l]!==t[l]&&(o=!0)}o&&Kt.read(()=>{ZQ(n,r),Kt.render(()=>{N4(r,i,K4(n.tagName),e.transformTemplate),fM(n,r)})})}})},XQ={useVisualState:aM({scrapeMotionValuesFromProps:U4,createRenderState:j4})};function mM(e,t,n){for(const r in t)!Bn(t[r])&&!hM(r,n)&&(e[r]=t[r])}function QQ({transformTemplate:e},t){return x.useMemo(()=>{const n=j4();return V4(n,t,e),Object.assign({},n.vars,n.style)},[t])}function eee(e,t){const n=e.style||{},r={};return mM(r,n,e),Object.assign(r,QQ(e,t)),r}function tee(e,t){const n={},r=eee(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function nee(e,t,n,r){const i=x.useMemo(()=>{const a=lM();return N4(a,t,K4(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};mM(a,e.style,e),i.style={...a,...i.style}}return i}function ree(e=!1){return(n,r,i,{latestValues:a},o)=>{const l=(k4(n)?nee:tee)(r,a,o,n),d=vQ(r,typeof n=="string",e),f=n!==x.Fragment?{...d,...l,ref:i}:{},{children:h}=r,p=x.useMemo(()=>Bn(h)?h.get():h,[h]);return x.createElement(n,{...f,children:p})}}function iee(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const o={...k4(r)?JQ:XQ,preloadedFeatures:e,useRender:ree(i),createVisualElement:t,Component:r};return AQ(o)}}function gM(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Op(e,t,n){const r=e.getProps();return I4(r,t,n!==void 0?n:r.custom,e)}const aee=_4(()=>window.ScrollTimeline!==void 0);class oee{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(i=>{if(aee()&&i.attachTimeline)return i.attachTimeline(t);if(typeof n=="function")return n(i)});return()=>{r.forEach((i,a)=>{i&&i(),this.animations[a].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let see=class extends oee{then(t,n){return Promise.all(this.animations).then(t).catch(n)}};function z4(e,t){return e?e[t]||e.default||e:void 0}const T0=2e4;function yM(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<T0;)t+=n,r=e.next(t);return t>=T0?1/0:t}function q4(e){return typeof e=="function"}function PS(e,t){e.timeline=t,e.onfinish=null}const W4=e=>Array.isArray(e)&&typeof e[0]=="number",uee={linearEasing:void 0};function lee(e,t){const n=_4(e);return()=>{var r;return(r=uee[t])!==null&&r!==void 0?r:n()}}const Ah=lee(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),vM=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let a=0;a<i;a++)r+=e(Ru(0,i-1,a))+", ";return`linear(${r.substring(0,r.length-2)})`};function bM(e){return!!(typeof e=="function"&&Ah()||!e||typeof e=="string"&&(e in P0||Ah())||W4(e)||Array.isArray(e)&&e.every(bM))}const Jl=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,P0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Jl([0,.65,.55,1]),circOut:Jl([.55,0,1,.45]),backIn:Jl([.31,.01,.66,-.59]),backOut:Jl([.33,1.53,.69,.99])};function $M(e,t){if(e)return typeof e=="function"&&Ah()?vM(e,t):W4(e)?Jl(e):Array.isArray(e)?e.map(n=>$M(n,t)||P0.easeOut):P0[e]}const pi={x:!1,y:!1};function xM(){return pi.x||pi.y}function cee(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let i=document;const a=(r=void 0)!==null&&r!==void 0?r:i.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}function wM(e,t){const n=cee(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function _S(e){return t=>{t.pointerType==="touch"||xM()||e(t)}}function dee(e,t,n={}){const[r,i,a]=wM(e,n),o=_S(u=>{const{target:l}=u,d=t(u);if(typeof d!="function"||!l)return;const f=_S(h=>{d(h),l.removeEventListener("pointerleave",f)});l.addEventListener("pointerleave",f,i)});return r.forEach(u=>{u.addEventListener("pointerenter",o,i)}),a}const DM=(e,t)=>t?e===t?!0:DM(e,t.parentElement):!1,H4=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,fee=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function hee(e){return fee.has(e.tagName)||e.tabIndex!==-1}const Xl=new WeakSet;function RS(e){return t=>{t.key==="Enter"&&e(t)}}function Yv(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const pee=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=RS(()=>{if(Xl.has(n))return;Yv(n,"down");const i=RS(()=>{Yv(n,"up")}),a=()=>Yv(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",a,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function OS(e){return H4(e)&&!xM()}function mee(e,t,n={}){const[r,i,a]=wM(e,n),o=u=>{const l=u.currentTarget;if(!OS(u)||Xl.has(l))return;Xl.add(l);const d=t(u),f=(g,y)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",p),!(!OS(g)||!Xl.has(l))&&(Xl.delete(l),typeof d=="function"&&d(g,{success:y}))},h=g=>{f(g,n.useGlobalTarget||DM(l,g.target))},p=g=>{f(g,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",p,i)};return r.forEach(u=>{!hee(u)&&u.getAttribute("tabindex")===null&&(u.tabIndex=0),(n.useGlobalTarget?window:u).addEventListener("pointerdown",o,i),u.addEventListener("focus",d=>pee(d,i),i)}),a}function gee(e){return e==="x"||e==="y"?pi[e]?null:(pi[e]=!0,()=>{pi[e]=!1}):pi.x||pi.y?null:(pi.x=pi.y=!0,()=>{pi.x=pi.y=!1})}const CM=new Set(["width","height","top","left","right","bottom",...Ju]);let qf;function yee(){qf=void 0}const Zi={now:()=>(qf===void 0&&Zi.set(In.isProcessing||fQ.useManualTiming?In.timestamp:performance.now()),qf),set:e=>{qf=e,queueMicrotask(yee)}};function G4(e,t){e.indexOf(t)===-1&&e.push(t)}function Y4(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function vee([...e],t,n){const r=t<0?e.length+t:t;if(r>=0&&r<e.length){const i=n<0?e.length+n:n,[a]=e.splice(t,1);e.splice(i,0,a)}return e}let Z4=class{constructor(){this.subscriptions=[]}add(t){return G4(this.subscriptions,t),()=>Y4(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const o=this.subscriptions[a];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};function EM(e,t){return t?e*(1e3/t):0}const MS=30,bee=e=>!isNaN(parseFloat(e)),uc={current:void 0};let $ee=class{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const a=Zi.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Zi.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=bee(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Tp(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Z4);const r=this.events[t].add(n);return t==="change"?()=>{r(),Kt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return uc.current&&uc.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Zi.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>MS)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,MS);return EM(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Mu(e,t){return new $ee(e,t)}function xee(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Mu(n))}function wee(e,t){const n=Op(e,t);let{transitionEnd:r={},transition:i={},...a}=n||{};a={...a,...r};for(const o in a){const u=MQ(a[o]);xee(e,o,u)}}function Dee(e){return!!(Bn(e)&&e.add)}function _0(e,t){const n=e.getValue("willChange");if(Dee(n))return n.add(t)}function SM(e){return e.props[nM]}const AM=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Cee=1e-7,Eee=12;function See(e,t,n,r,i){let a,o,u=0;do o=t+(n-t)/2,a=AM(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Cee&&++u<Eee);return o}function nd(e,t,n,r){if(e===t&&n===r)return Er;const i=a=>See(a,0,1,e,n);return a=>a===0||a===1?a:AM(i(a),t,r)}const TM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,PM=e=>t=>1-e(1-t),_M=nd(.33,1.53,.69,.99),J4=PM(_M),RM=TM(J4),OM=e=>(e*=2)<1?.5*J4(e):.5*(2-Math.pow(2,-10*(e-1))),X4=e=>1-Math.sin(Math.acos(e)),MM=PM(X4),FM=TM(X4),kM=e=>/^0[^.\s]+$/u.test(e);function Aee(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||kM(e):!0}const lc=e=>Math.round(e*1e5)/1e5,Q4=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Tee(e){return e==null}const Pee=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,e3=(e,t)=>n=>!!(typeof n=="string"&&Pee.test(n)&&n.startsWith(e)||t&&!Tee(n)&&Object.prototype.hasOwnProperty.call(n,t)),IM=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,a,o,u]=r.match(Q4);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:u!==void 0?parseFloat(u):1}},_ee=e=>Ta(0,255,e),Zv={...Xu,transform:e=>Math.round(_ee(e))},Yo={test:e3("rgb","red"),parse:IM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Zv.transform(e)+", "+Zv.transform(t)+", "+Zv.transform(n)+", "+lc(Tc.transform(r))+")"};function Ree(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const R0={test:e3("#"),parse:Ree,transform:Yo.transform},au={test:e3("hsl","hue"),parse:IM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Yi.transform(lc(t))+", "+Yi.transform(lc(n))+", "+lc(Tc.transform(r))+")"},Gn={test:e=>Yo.test(e)||R0.test(e)||au.test(e),parse:e=>Yo.test(e)?Yo.parse(e):au.test(e)?au.parse(e):R0.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Yo.transform(e):au.transform(e)},Oee=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Mee(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Q4))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Oee))===null||n===void 0?void 0:n.length)||0)>0}const BM="number",LM="color",Fee="var",kee="var(",FS="${}",Iee=/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 Pc(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let a=0;const u=t.replace(Iee,l=>(Gn.test(l)?(r.color.push(a),i.push(LM),n.push(Gn.parse(l))):l.startsWith(kee)?(r.var.push(a),i.push(Fee),n.push(l)):(r.number.push(a),i.push(BM),n.push(parseFloat(l))),++a,FS)).split(FS);return{values:n,split:u,indexes:r,types:i}}function VM(e){return Pc(e).values}function NM(e){const{split:t,types:n}=Pc(e),r=t.length;return i=>{let a="";for(let o=0;o<r;o++)if(a+=t[o],i[o]!==void 0){const u=n[o];u===BM?a+=lc(i[o]):u===LM?a+=Gn.transform(i[o]):a+=i[o]}return a}}const Bee=e=>typeof e=="number"?0:e;function Lee(e){const t=VM(e);return NM(e)(t.map(Bee))}const mo={test:Mee,parse:VM,createTransformer:NM,getAnimatableNone:Lee},Vee=new Set(["brightness","contrast","saturate","opacity"]);function Nee(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Q4)||[];if(!r)return e;const i=n.replace(r,"");let a=Vee.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const jee=/\b([a-z-]*)\(.*?\)/gu,O0={...mo,getAnimatableNone:e=>{const t=e.match(jee);return t?t.map(Nee).join(" "):e}},Kee={...L4,color:Gn,backgroundColor:Gn,outlineColor:Gn,fill:Gn,stroke:Gn,borderColor:Gn,borderTopColor:Gn,borderRightColor:Gn,borderBottomColor:Gn,borderLeftColor:Gn,filter:O0,WebkitFilter:O0},t3=e=>Kee[e];function jM(e,t){let n=t3(e);return n!==O0&&(n=mo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Uee=new Set(["auto","none","0"]);function zee(e,t,n){let r=0,i;for(;r<e.length&&!i;){const a=e[r];typeof a=="string"&&!Uee.has(a)&&Pc(a).values.length&&(i=e[r]),r++}if(i&&n)for(const a of t)e[a]=jM(n,i)}const kS=e=>e===Xu||e===He,IS=(e,t)=>parseFloat(e.split(", ")[t]),BS=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return IS(i[1],t);{const a=r.match(/^matrix\((.+)\)$/u);return a?IS(a[1],e):0}},qee=new Set(["x","y","z"]),Wee=Ju.filter(e=>!qee.has(e));function Hee(e){const t=[];return Wee.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Fu={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),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:BS(4,13),y:BS(5,14)};Fu.translateX=Fu.x;Fu.translateY=Fu.y;const ts=new Set;let M0=!1,F0=!1;function KM(){if(F0){const e=Array.from(ts).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=Hee(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([a,o])=>{var u;(u=r.getValue(a))===null||u===void 0||u.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}F0=!1,M0=!1,ts.forEach(e=>e.complete()),ts.clear()}function UM(){ts.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(F0=!0)})}function Gee(){UM(),KM()}let n3=class{constructor(t,n,r,i,a,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=a,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ts.add(this),M0||(M0=!0,Kt.read(UM),Kt.resolveKeyframes(KM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){const o=i==null?void 0:i.get(),u=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const l=r.readValue(n,u);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=u),i&&o===void 0&&i.set(t[0])}else t[a]=t[a-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ts.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ts.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};const zM=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Yee=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Zee(e){const t=Yee.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const Jee=4;function qM(e,t,n=1){Xi(n<=Jee,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=Zee(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const o=a.trim();return zM(o)?parseFloat(o):o}return B4(i)?qM(i,t,n+1):i}const WM=e=>t=>t.test(e),Xee={test:e=>e==="auto",parse:e=>e},HM=[Xu,He,Yi,Xa,VQ,LQ,Xee],LS=e=>HM.find(WM(e));let GM=class extends n3{constructor(t,n,r,i,a){super(t,n,r,i,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let d=t[l];if(typeof d=="string"&&(d=d.trim(),B4(d))){const f=qM(d,n.current);f!==void 0&&(t[l]=f),l===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!CM.has(r)||t.length!==2)return;const[i,a]=t,o=LS(i),u=LS(a);if(o!==u)if(kS(o)&&kS(u))for(let l=0;l<t.length;l++){const d=t[l];typeof d=="string"&&(t[l]=parseFloat(d))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)Aee(t[i])&&r.push(i);r.length&&zee(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Fu[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const a=n.getValue(r);a&&a.jump(this.measuredOrigin,!1);const o=i.length-1,u=i[o];i[o]=Fu[r](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,d])=>{n.getValue(l).set(d)}),this.resolveNoneKeyframes()}};const VS=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(mo.test(e)||e==="0")&&!e.startsWith("url("));function Qee(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function ete(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],o=VS(i,t),u=VS(a,t);return Zu(o===u,`You are trying to animate ${t} from "${i}" to "${a}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${a} via the \`style\` property.`),!o||!u?!1:Qee(e)||(n==="spring"||q4(n))&&r}const tte=e=>e!==null;function Mp(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(tte),a=t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const nte=40;let YM=class{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:o="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Zi.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:a,repeatType:o,...u},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>nte?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Gee(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Zi.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:a,delay:o,onComplete:u,onUpdate:l,isGenerator:d}=this.options;if(!d&&!ete(t,r,i,a))if(o)this.options.duration=0;else{l&&l(Mp(t,this.options,n)),u&&u(),this.resolveFinishedPromise();return}const f=this.initPlayback(t,n);f!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...f},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}};const Gt=(e,t,n)=>e+(t-e)*n;function Jv(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function rte({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{const u=n<.5?n*(1+t):n+t-n*t,l=2*n-u;i=Jv(l,u,e+1/3),a=Jv(l,u,e),o=Jv(l,u,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Th(e,t){return n=>n>0?t:e}const Xv=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},ite=[R0,Yo,au],ate=e=>ite.find(t=>t.test(e));function NS(e){const t=ate(e);if(Zu(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===au&&(n=rte(n)),n}const jS=(e,t)=>{const n=NS(e),r=NS(t);if(!n||!r)return Th(e,t);const i={...n};return a=>(i.red=Xv(n.red,r.red,a),i.green=Xv(n.green,r.green,a),i.blue=Xv(n.blue,r.blue,a),i.alpha=Gt(n.alpha,r.alpha,a),Yo.transform(i))},ote=(e,t)=>n=>t(e(n)),rd=(...e)=>e.reduce(ote),k0=new Set(["none","hidden"]);function ste(e,t){return k0.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function ute(e,t){return n=>Gt(e,t,n)}function r3(e){return typeof e=="number"?ute:typeof e=="string"?B4(e)?Th:Gn.test(e)?jS:dte:Array.isArray(e)?ZM:typeof e=="object"?Gn.test(e)?jS:lte:Th}function ZM(e,t){const n=[...e],r=n.length,i=e.map((a,o)=>r3(a)(a,t[o]));return a=>{for(let o=0;o<r;o++)n[o]=i[o](a);return n}}function lte(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=r3(e[i])(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}}function cte(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const o=t.types[a],u=e.indexes[o][i[o]],l=(n=e.values[u])!==null&&n!==void 0?n:0;r[a]=l,i[o]++}return r}const dte=(e,t)=>{const n=mo.createTransformer(t),r=Pc(e),i=Pc(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?k0.has(e)&&!i.values.length||k0.has(t)&&!r.values.length?ste(e,t):rd(ZM(cte(r,i),i.values),n):(Zu(!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.`),Th(e,t))};function JM(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Gt(e,t,n):r3(e)(e,t)}const fte=5;function XM(e,t,n){const r=Math.max(t-fte,0);return EM(n-e(r),t-r)}const Jt={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},KS=.001;function hte({duration:e=Jt.duration,bounce:t=Jt.bounce,velocity:n=Jt.velocity,mass:r=Jt.mass}){let i,a;Zu(e<=Gi(Jt.maxDuration),"Spring duration must be 10 seconds or less");let o=1-t;o=Ta(Jt.minDamping,Jt.maxDamping,o),e=Ta(Jt.minDuration,Jt.maxDuration,Da(e)),o<1?(i=d=>{const f=d*o,h=f*e,p=f-n,g=I0(d,o),y=Math.exp(-h);return KS-p/g*y},a=d=>{const h=d*o*e,p=h*n+n,g=Math.pow(o,2)*Math.pow(d,2)*e,y=Math.exp(-h),$=I0(Math.pow(d,2),o);return(-i(d)+KS>0?-1:1)*((p-g)*y)/$}):(i=d=>{const f=Math.exp(-d*e),h=(d-n)*e+1;return-.001+f*h},a=d=>{const f=Math.exp(-d*e),h=(n-d)*(e*e);return f*h});const u=5/e,l=mte(i,a,u);if(e=Gi(e),isNaN(l))return{stiffness:Jt.stiffness,damping:Jt.damping,duration:e};{const d=Math.pow(l,2)*r;return{stiffness:d,damping:o*2*Math.sqrt(r*d),duration:e}}}const pte=12;function mte(e,t,n){let r=n;for(let i=1;i<pte;i++)r=r-e(r)/t(r);return r}function I0(e,t){return e*Math.sqrt(1-t*t)}const gte=["duration","bounce"],yte=["stiffness","damping","mass"];function US(e,t){return t.some(n=>e[n]!==void 0)}function vte(e){let t={velocity:Jt.velocity,stiffness:Jt.stiffness,damping:Jt.damping,mass:Jt.mass,isResolvedFromDuration:!1,...e};if(!US(e,yte)&&US(e,gte))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Ta(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Jt.mass,stiffness:i,damping:a}}else{const n=hte(e);t={...t,...n,mass:Jt.mass},t.isResolvedFromDuration=!0}return t}function QM(e=Jt.visualDuration,t=Jt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],u={done:!1,value:a},{stiffness:l,damping:d,mass:f,duration:h,velocity:p,isResolvedFromDuration:g}=vte({...n,velocity:-Da(n.velocity||0)}),y=p||0,$=d/(2*Math.sqrt(l*f)),C=o-a,b=Da(Math.sqrt(l/f)),v=Math.abs(C)<5;r||(r=v?Jt.restSpeed.granular:Jt.restSpeed.default),i||(i=v?Jt.restDelta.granular:Jt.restDelta.default);let D;if($<1){const E=I0(b,$);D=T=>{const R=Math.exp(-$*b*T);return o-R*((y+$*b*C)/E*Math.sin(E*T)+C*Math.cos(E*T))}}else if($===1)D=E=>o-Math.exp(-b*E)*(C+(y+b*C)*E);else{const E=b*Math.sqrt($*$-1);D=T=>{const R=Math.exp(-$*b*T),S=Math.min(E*T,300);return o-R*((y+$*b*C)*Math.sinh(S)+E*C*Math.cosh(S))/E}}const A={calculatedDuration:g&&h||null,next:E=>{const T=D(E);if(g)u.done=E>=h;else{let R=0;$<1&&(R=E===0?Gi(y):XM(D,E,T));const S=Math.abs(R)<=r,U=Math.abs(o-T)<=i;u.done=S&&U}return u.value=u.done?o:T,u},toString:()=>{const E=Math.min(yM(A),T0),T=vM(R=>A.next(E*R).value,E,30);return E+"ms "+T}};return A}function zS({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:u,max:l,restDelta:d=.5,restSpeed:f}){const h=e[0],p={done:!1,value:h},g=S=>u!==void 0&&S<u||l!==void 0&&S>l,y=S=>u===void 0?l:l===void 0||Math.abs(u-S)<Math.abs(l-S)?u:l;let $=n*t;const C=h+$,b=o===void 0?C:o(C);b!==C&&($=b-h);const v=S=>-$*Math.exp(-S/r),D=S=>b+v(S),A=S=>{const U=v(S),j=D(S);p.done=Math.abs(U)<=d,p.value=p.done?b:j};let E,T;const R=S=>{g(p.value)&&(E=S,T=QM({keyframes:[p.value,y(p.value)],velocity:XM(D,S,p.value),damping:i,stiffness:a,restDelta:d,restSpeed:f}))};return R(0),{calculatedDuration:null,next:S=>{let U=!1;return!T&&E===void 0&&(U=!0,A(S),R(S)),E!==void 0&&S>=E?T.next(S-E):(!U&&A(S),p)}}}const bte=nd(.42,0,1,1),$te=nd(0,0,.58,1),eF=nd(.42,0,.58,1),xte=e=>Array.isArray(e)&&typeof e[0]!="number",qS={linear:Er,easeIn:bte,easeInOut:eF,easeOut:$te,circIn:X4,circInOut:FM,circOut:MM,backIn:J4,backInOut:RM,backOut:_M,anticipate:OM},WS=e=>{if(W4(e)){Xi(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return nd(t,n,r,i)}else if(typeof e=="string")return Xi(qS[e]!==void 0,`Invalid easing type '${e}'`),qS[e];return e};function wte(e,t,n){const r=[],i=n||JM,a=e.length-1;for(let o=0;o<a;o++){let u=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||Er:t;u=rd(l,u)}r.push(u)}return r}function tF(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(Xi(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const u=wte(t,r,i),l=u.length,d=f=>{if(o&&f<e[0])return t[0];let h=0;if(l>1)for(;h<e.length-2&&!(f<e[h+1]);h++);const p=Ru(e[h],e[h+1],f);return u[h](p)};return n?f=>d(Ta(e[0],e[a-1],f)):d}function Dte(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Ru(0,t,r);e.push(Gt(n,1,i))}}function Cte(e){const t=[0];return Dte(t,e.length-1),t}function Ete(e,t){return e.map(n=>n*t)}function Ste(e,t){return e.map(()=>t||eF).splice(0,e.length-1)}function Ph({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=xte(r)?r.map(WS):WS(r),a={done:!1,value:t[0]},o=Ete(n&&n.length===t.length?n:Cte(t),e),u=tF(o,t,{ease:Array.isArray(i)?i:Ste(t,i)});return{calculatedDuration:e,next:l=>(a.value=u(l),a.done=l>=e,a)}}const Ate=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Kt.update(t,!0),stop:()=>Aa(t),now:()=>In.isProcessing?In.timestamp:Zi.now()}},Tte={decay:zS,inertia:zS,tween:Ph,keyframes:Ph,spring:QM},Pte=e=>e/100;let i3=class extends YM{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:i,keyframes:a}=this.options,o=(i==null?void 0:i.KeyframeResolver)||n3,u=(l,d)=>this.onKeyframesResolved(l,d);this.resolver=new o(a,u,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:a,velocity:o=0}=this.options,u=q4(n)?n:Tte[n]||Ph;let l,d;u!==Ph&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&Xi(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),l=rd(Pte,JM(t[0],t[1])),t=[0,100]);const f=u({...this.options,keyframes:t});a==="mirror"&&(d=u({...this.options,keyframes:[...t].reverse(),velocity:-o})),f.calculatedDuration===null&&(f.calculatedDuration=yM(f));const{calculatedDuration:h}=f,p=h+i,g=p*(r+1)-i;return{generator:f,mirroredGenerator:d,mapPercentToKeyframes:l,calculatedDuration:h,resolvedDuration:p,totalDuration:g}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:S}=this.options;return{done:!0,value:S[S.length-1]}}const{finalKeyframe:i,generator:a,mirroredGenerator:o,mapPercentToKeyframes:u,keyframes:l,calculatedDuration:d,totalDuration:f,resolvedDuration:h}=r;if(this.startTime===null)return a.next(0);const{delay:p,repeat:g,repeatType:y,repeatDelay:$,onUpdate:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-f/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const b=this.currentTime-p*(this.speed>=0?1:-1),v=this.speed>=0?b<0:b>f;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=f);let D=this.currentTime,A=a;if(g){const S=Math.min(this.currentTime,f)/h;let U=Math.floor(S),j=S%1;!j&&S>=1&&(j=1),j===1&&U--,U=Math.min(U,g+1),!!(U%2)&&(y==="reverse"?(j=1-j,$&&(j-=$/h)):y==="mirror"&&(A=o)),D=Ta(0,1,j)*h}const E=v?{done:!1,value:l[0]}:A.next(D);u&&(E.value=u(E.value));let{done:T}=E;!v&&d!==null&&(T=this.speed>=0?this.currentTime>=f:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return R&&i!==void 0&&(E.value=Mp(l,this.options,i)),C&&C(E.value),R&&this.finish(),E}get duration(){const{resolved:t}=this;return t?Da(t.calculatedDuration):0}get time(){return Da(this.currentTime)}set time(t){t=Gi(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Da(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=Ate,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}};const _te=new Set(["opacity","clipPath","filter","transform"]);function Rte(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o="loop",ease:u="easeInOut",times:l}={}){const d={[t]:n};l&&(d.offset=l);const f=$M(u,i);return Array.isArray(f)&&(d.easing=f),e.animate(d,{delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:a+1,direction:o==="reverse"?"alternate":"normal"})}const Ote=_4(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),_h=10,Mte=2e4;function Fte(e){return q4(e.type)||e.type==="spring"||!bM(e.ease)}function kte(e,t){const n=new i3({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let a=0;for(;!r.done&&a<Mte;)r=n.sample(a),i.push(r.value),a+=_h;return{times:void 0,keyframes:i,duration:a-_h,ease:"linear"}}const nF={anticipate:OM,backInOut:RM,circInOut:FM};function Ite(e){return e in nF}let HS=class extends YM{constructor(t){super(t);const{name:n,motionValue:r,element:i,keyframes:a}=this.options;this.resolver=new GM(a,(o,u)=>this.onKeyframesResolved(o,u),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:i,ease:a,type:o,motionValue:u,name:l,startTime:d}=this.options;if(!u.owner||!u.owner.current)return!1;if(typeof a=="string"&&Ah()&&Ite(a)&&(a=nF[a]),Fte(this.options)){const{onComplete:h,onUpdate:p,motionValue:g,element:y,...$}=this.options,C=kte(t,$);t=C.keyframes,t.length===1&&(t[1]=t[0]),r=C.duration,i=C.times,a=C.ease,o="keyframes"}const f=Rte(u.owner.current,l,t,{...this.options,duration:r,times:i,ease:a});return f.startTime=d??this.calcStartTime(),this.pendingTimeline?(PS(f,this.pendingTimeline),this.pendingTimeline=void 0):f.onfinish=()=>{const{onComplete:h}=this.options;u.set(Mp(t,this.options,n)),h&&h(),this.cancel(),this.resolveFinishedPromise()},{animation:f,duration:r,times:i,type:o,ease:a,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Da(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Da(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Gi(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return Er;const{animation:r}=n;PS(r,t)}return Er}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:a,ease:o,times:u}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:d,onUpdate:f,onComplete:h,element:p,...g}=this.options,y=new i3({...g,keyframes:r,duration:i,type:a,ease:o,times:u,isGenerator:!0}),$=Gi(this.time);d.setWithVelocity(y.sample($-_h).value,y.sample($).value,_h)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:a,damping:o,type:u}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:d}=n.owner.getProps();return Ote()&&r&&_te.has(r)&&!l&&!d&&!i&&a!=="mirror"&&o!==0&&u!=="inertia"}};const Bte={type:"spring",stiffness:500,damping:25,restSpeed:10},Lte=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Vte={type:"keyframes",duration:.8},Nte={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},jte=(e,{keyframes:t})=>t.length>2?Vte:vs.has(e)?e.startsWith("scale")?Lte(t[1]):Bte:Nte;function Kte({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:o,repeatDelay:u,from:l,elapsed:d,...f}){return!!Object.keys(f).length}const a3=(e,t,n,r={},i,a)=>o=>{const u=z4(r,e)||{},l=u.delay||r.delay||0;let{elapsed:d=0}=r;d=d-Gi(l);let f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...u,delay:-d,onUpdate:p=>{t.set(p),u.onUpdate&&u.onUpdate(p)},onComplete:()=>{o(),u.onComplete&&u.onComplete()},name:e,motionValue:t,element:a?void 0:i};Kte(u)||(f={...f,...jte(e,f)}),f.duration&&(f.duration=Gi(f.duration)),f.repeatDelay&&(f.repeatDelay=Gi(f.repeatDelay)),f.from!==void 0&&(f.keyframes[0]=f.from);let h=!1;if((f.type===!1||f.duration===0&&!f.repeatDelay)&&(f.duration=0,f.delay===0&&(h=!0)),h&&!a&&t.get()!==void 0){const p=Mp(f.keyframes,u);if(p!==void 0)return Kt.update(()=>{f.onUpdate(p),f.onComplete()}),new see([])}return!a&&HS.supports(f)?new HS(f):new i3(f)};function Ute({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function rF(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var a;let{transition:o=e.getDefaultTransition(),transitionEnd:u,...l}=t;r&&(o=r);const d=[],f=i&&e.animationState&&e.animationState.getState()[i];for(const h in l){const p=e.getValue(h,(a=e.latestValues[h])!==null&&a!==void 0?a:null),g=l[h];if(g===void 0||f&&Ute(f,h))continue;const y={delay:n,...z4(o||{},h)};let $=!1;if(window.MotionHandoffAnimation){const b=SM(e);if(b){const v=window.MotionHandoffAnimation(b,h,Kt);v!==null&&(y.startTime=v,$=!0)}}_0(e,h),p.start(a3(h,p,g,e.shouldReduceMotion&&CM.has(h)?{type:!1}:y,e,$));const C=p.animation;C&&d.push(C)}return u&&Promise.all(d).then(()=>{Kt.update(()=>{u&&wee(e,u)})}),d}function B0(e,t,n={}){var r;const i=Op(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(a=n.transitionOverride);const o=i?()=>Promise.all(rF(e,i,n)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:f=0,staggerChildren:h,staggerDirection:p}=a;return zte(e,t,f+d,h,p,n)}:()=>Promise.resolve(),{when:l}=a;if(l){const[d,f]=l==="beforeChildren"?[o,u]:[u,o];return d().then(()=>f())}else return Promise.all([o(),u(n.delay)])}function zte(e,t,n=0,r=0,i=1,a){const o=[],u=(e.variantChildren.size-1)*r,l=i===1?(d=0)=>d*r:(d=0)=>u-d*r;return Array.from(e.variantChildren).sort(qte).forEach((d,f)=>{d.notify("AnimationStart",t),o.push(B0(d,t,{...a,delay:n+l(f)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(o)}function qte(e,t){return e.sortNodePosition(t)}function Wte(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>B0(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=B0(e,t,n);else{const i=typeof t=="function"?Op(e,t,n.custom):t;r=Promise.all(rF(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const Hte=O4.length;function iF(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?iF(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Hte;n++){const r=O4[n],i=e.props[r];(Ac(i)||i===!1)&&(t[r]=i)}return t}const Gte=[...R4].reverse(),Yte=R4.length;function Zte(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Wte(e,n,r)))}function Jte(e){let t=Zte(e),n=GS(),r=!0;const i=l=>(d,f)=>{var h;const p=Op(e,f,l==="exit"?(h=e.presenceContext)===null||h===void 0?void 0:h.custom:void 0);if(p){const{transition:g,transitionEnd:y,...$}=p;d={...d,...$,...y}}return d};function a(l){t=l(e)}function o(l){const{props:d}=e,f=iF(e.parent)||{},h=[],p=new Set;let g={},y=1/0;for(let C=0;C<Yte;C++){const b=Gte[C],v=n[b],D=d[b]!==void 0?d[b]:f[b],A=Ac(D),E=b===l?v.isActive:null;E===!1&&(y=C);let T=D===f[b]&&D!==d[b]&&A;if(T&&r&&e.manuallyAnimateOnMount&&(T=!1),v.protectedKeys={...g},!v.isActive&&E===null||!D&&!v.prevProp||_p(D)||typeof D=="boolean")continue;const R=Xte(v.prevProp,D);let S=R||b===l&&v.isActive&&!T&&A||C>y&&A,U=!1;const j=Array.isArray(D)?D:[D];let M=j.reduce(i(b),{});E===!1&&(M={});const{prevResolvedValues:X={}}=v,O={...X,...M},B=V=>{S=!0,p.has(V)&&(U=!0,p.delete(V)),v.needsAnimating[V]=!0;const _=e.getValue(V);_&&(_.liveStyle=!1)};for(const V in O){const _=M[V],H=X[V];if(g.hasOwnProperty(V))continue;let z=!1;A0(_)&&A0(H)?z=!gM(_,H):z=_!==H,z?_!=null?B(V):p.add(V):_!==void 0&&p.has(V)?B(V):v.protectedKeys[V]=!0}v.prevProp=D,v.prevResolvedValues=M,v.isActive&&(g={...g,...M}),r&&e.blockInitialAnimation&&(S=!1),S&&(!(T&&R)||U)&&h.push(...j.map(V=>({animation:V,options:{type:b}})))}if(p.size){const C={};p.forEach(b=>{const v=e.getBaseTarget(b),D=e.getValue(b);D&&(D.liveStyle=!0),C[b]=v??null}),h.push({animation:C})}let $=!!h.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&($=!1),r=!1,$?t(h):Promise.resolve()}function u(l,d){var f;if(n[l].isActive===d)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(p=>{var g;return(g=p.animationState)===null||g===void 0?void 0:g.setActive(l,d)}),n[l].isActive=d;const h=o(l);for(const p in n)n[p].protectedKeys={};return h}return{animateChanges:o,setActive:u,setAnimateFunction:a,getState:()=>n,reset:()=>{n=GS(),r=!0}}}function Xte(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!gM(t,e):!1}function Bo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function GS(){return{animate:Bo(!0),whileInView:Bo(),whileHover:Bo(),whileTap:Bo(),whileDrag:Bo(),whileFocus:Bo(),exit:Bo()}}let $o=class{constructor(t){this.isMounted=!1,this.node=t}update(){}},Qte=class extends $o{constructor(t){super(t),t.animationState||(t.animationState=Jte(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();_p(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}},ene=0,tne=class extends $o{constructor(){super(...arguments),this.id=ene++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}};const nne={animation:{Feature:Qte},exit:{Feature:tne}};function _c(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function id(e){return{point:{x:e.pageX,y:e.pageY}}}const rne=e=>t=>H4(t)&&e(t,id(t));function cc(e,t,n,r){return _c(e,t,rne(n),r)}const YS=(e,t)=>Math.abs(e-t);function ine(e,t){const n=YS(e.x,t.x),r=YS(e.y,t.y);return Math.sqrt(n**2+r**2)}class aF{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=eb(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,g=ine(h.offset,{x:0,y:0})>=3;if(!p&&!g)return;const{point:y}=h,{timestamp:$}=In;this.history.push({...y,timestamp:$});const{onStart:C,onMove:b}=this.handlers;p||(C&&C(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,h)},this.handlePointerMove=(h,p)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=Qv(p,this.transformPagePoint),Kt.update(this.updatePoint,!0)},this.handlePointerUp=(h,p)=>{this.end();const{onEnd:g,onSessionEnd:y,resumeAnimation:$}=this.handlers;if(this.dragSnapToOrigin&&$&&$(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=eb(h.type==="pointercancel"?this.lastMoveEventInfo:Qv(p,this.transformPagePoint),this.history);this.startEvent&&g&&g(h,C),y&&y(h,C)},!H4(t))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=id(t),u=Qv(o,this.transformPagePoint),{point:l}=u,{timestamp:d}=In;this.history=[{...l,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,eb(u,this.history)),this.removeListeners=rd(cc(this.contextWindow,"pointermove",this.handlePointerMove),cc(this.contextWindow,"pointerup",this.handlePointerUp),cc(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Aa(this.updatePoint)}}function Qv(e,t){return t?{point:t(e.point)}:e}function ZS(e,t){return{x:e.x-t.x,y:e.y-t.y}}function eb({point:e},t){return{point:e,delta:ZS(e,oF(t)),offset:ZS(e,ane(t)),velocity:one(t,.1)}}function ane(e){return e[0]}function oF(e){return e[e.length-1]}function one(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=oF(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Gi(t)));)n--;if(!r)return{x:0,y:0};const a=Da(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const sF=1e-4,sne=1-sF,une=1+sF,uF=.01,lne=0-uF,cne=0+uF;function kr(e){return e.max-e.min}function dne(e,t,n){return Math.abs(e-t)<=n}function JS(e,t,n,r=.5){e.origin=r,e.originPoint=Gt(t.min,t.max,e.origin),e.scale=kr(n)/kr(t),e.translate=Gt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=sne&&e.scale<=une||isNaN(e.scale))&&(e.scale=1),(e.translate>=lne&&e.translate<=cne||isNaN(e.translate))&&(e.translate=0)}function dc(e,t,n,r){JS(e.x,t.x,n.x,r?r.originX:void 0),JS(e.y,t.y,n.y,r?r.originY:void 0)}function XS(e,t,n){e.min=n.min+t.min,e.max=e.min+kr(t)}function fne(e,t,n){XS(e.x,t.x,n.x),XS(e.y,t.y,n.y)}function QS(e,t,n){e.min=t.min-n.min,e.max=e.min+kr(t)}function fc(e,t,n){QS(e.x,t.x,n.x),QS(e.y,t.y,n.y)}function hne(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Gt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Gt(n,e,r.max):Math.min(e,n)),e}function e5(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function pne(e,{top:t,left:n,bottom:r,right:i}){return{x:e5(e.x,n,i),y:e5(e.y,t,r)}}function t5(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function mne(e,t){return{x:t5(e.x,t.x),y:t5(e.y,t.y)}}function gne(e,t){let n=.5;const r=kr(e),i=kr(t);return i>r?n=Ru(t.min,t.max-r,e.min):r>i&&(n=Ru(e.min,e.max-i,t.min)),Ta(0,1,n)}function yne(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const L0=.35;function vne(e=L0){return e===!1?e=0:e===!0&&(e=L0),{x:n5(e,"left","right"),y:n5(e,"top","bottom")}}function n5(e,t,n){return{min:r5(e,t),max:r5(e,n)}}function r5(e,t){return typeof e=="number"?e:e[t]||0}const i5=()=>({translate:0,scale:1,origin:0,originPoint:0}),ou=()=>({x:i5(),y:i5()}),a5=()=>({min:0,max:0}),cn=()=>({x:a5(),y:a5()});function Qr(e){return[e("x"),e("y")]}function lF({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function bne({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function $ne(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function tb(e){return e===void 0||e===1}function V0({scale:e,scaleX:t,scaleY:n}){return!tb(e)||!tb(t)||!tb(n)}function Vo(e){return V0(e)||cF(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function cF(e){return o5(e.x)||o5(e.y)}function o5(e){return e&&e!=="0%"}function Rh(e,t,n){const r=e-n,i=t*r;return n+i}function s5(e,t,n,r,i){return i!==void 0&&(e=Rh(e,i,r)),Rh(e,n,r)+t}function N0(e,t=0,n=1,r,i){e.min=s5(e.min,t,n,r,i),e.max=s5(e.max,t,n,r,i)}function dF(e,{x:t,y:n}){N0(e.x,t.translate,t.scale,t.originPoint),N0(e.y,n.translate,n.scale,n.originPoint)}const u5=.999999999999,l5=1.0000000000001;function xne(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let u=0;u<i;u++){a=n[u],o=a.projectionDelta;const{visualElement:l}=a.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&uu(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,dF(e,o)),r&&Vo(a.latestValues)&&uu(e,a.latestValues))}t.x<l5&&t.x>u5&&(t.x=1),t.y<l5&&t.y>u5&&(t.y=1)}function su(e,t){e.min=e.min+t,e.max=e.max+t}function c5(e,t,n,r,i=.5){const a=Gt(e.min,e.max,i);N0(e,t,n,a,r)}function uu(e,t){c5(e.x,t.x,t.scaleX,t.scale,t.originX),c5(e.y,t.y,t.scaleY,t.scale,t.originY)}function fF(e,t){return lF($ne(e.getBoundingClientRect(),t))}function wne(e,t,n){const r=fF(e,n),{scroll:i}=t;return i&&(su(r.x,i.offset.x),su(r.y,i.offset.y)),r}const hF=({current:e})=>e?e.ownerDocument.defaultView:null,Dne=new WeakMap;class Cne{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=cn(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=f=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(id(f).point)},a=(f,h)=>{const{drag:p,dragPropagation:g,onDragStart:y}=this.getProps();if(p&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=gee(p),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Qr(C=>{let b=this.getAxisMotionValue(C).get()||0;if(Yi.test(b)){const{projection:v}=this.visualElement;if(v&&v.layout){const D=v.layout.layoutBox[C];D&&(b=kr(D)*(parseFloat(b)/100))}}this.originPoint[C]=b}),y&&Kt.postRender(()=>y(f,h)),_0(this.visualElement,"transform");const{animationState:$}=this.visualElement;$&&$.setActive("whileDrag",!0)},o=(f,h)=>{const{dragPropagation:p,dragDirectionLock:g,onDirectionLock:y,onDrag:$}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:C}=h;if(g&&this.currentDirection===null){this.currentDirection=Ene(C),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",h.point,C),this.updateAxis("y",h.point,C),this.visualElement.render(),$&&$(f,h)},u=(f,h)=>this.stop(f,h),l=()=>Qr(f=>{var h;return this.getAnimationState(f)==="paused"&&((h=this.getAxisMotionValue(f).animation)===null||h===void 0?void 0:h.play())}),{dragSnapToOrigin:d}=this.getProps();this.panSession=new aF(t,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:u,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:hF(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&Kt.postRender(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Df(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=hne(o,this.constraints[t],this.elastic[t])),a.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;n&&iu(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=pne(i.layoutBox,n):this.constraints=!1,this.elastic=vne(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Qr(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=yne(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!iu(t))return!1;const r=t.current;Xi(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=wne(r,i.root,this.visualElement.getTransformPagePoint());let o=mne(i.layout.layoutBox,a);if(n){const u=n(bne(o));this.hasMutatedConstraints=!!u,u&&(o=lF(u))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:u}=this.getProps(),l=this.constraints||{},d=Qr(f=>{if(!Df(f,n,this.currentDirection))return;let h=l&&l[f]||{};o&&(h={min:0,max:0});const p=i?200:1e6,g=i?40:1e7,y={type:"inertia",velocity:r?t[f]:0,bounceStiffness:p,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...a,...h};return this.startAxisValueAnimation(f,y)});return Promise.all(d).then(u)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return _0(this.visualElement,t),r.start(a3(t,r,0,n,this.visualElement,!1))}stopAnimation(){Qr(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Qr(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Qr(n=>{const{drag:r}=this.getProps();if(!Df(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:u}=i.layout.layoutBox[n];a.set(t[n]-Gt(o,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!iu(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Qr(o=>{const u=this.getAxisMotionValue(o);if(u&&this.constraints!==!1){const l=u.get();i[o]=gne({min:l,max:l},this.constraints[o])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Qr(o=>{if(!Df(o,t,null))return;const u=this.getAxisMotionValue(o),{min:l,max:d}=this.constraints[o];u.set(Gt(l,d,i[o]))})}addListeners(){if(!this.visualElement.current)return;Dne.set(this.visualElement,this);const t=this.visualElement.current,n=cc(t,"pointerdown",l=>{const{drag:d,dragListener:f=!0}=this.getProps();d&&f&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();iu(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),Kt.read(r);const o=_c(window,"resize",()=>this.scalePositionWithinConstraints()),u=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:d})=>{this.isDragging&&d&&(Qr(f=>{const h=this.getAxisMotionValue(f);h&&(this.originPoint[f]+=l[f].translate,h.set(h.get()+l[f].translate))}),this.visualElement.render())});return()=>{o(),n(),a(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:o=L0,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:o,dragMomentum:u}}}function Df(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Ene(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Sne extends $o{constructor(t){super(t),this.removeGroupControls=Er,this.removeListeners=Er,this.controls=new Cne(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Er}unmount(){this.removeGroupControls(),this.removeListeners()}}const d5=e=>(t,n)=>{e&&Kt.postRender(()=>e(t,n))};class Ane extends $o{constructor(){super(...arguments),this.removePointerDownListener=Er}onPointerDown(t){this.session=new aF(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:hF(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:d5(t),onStart:d5(n),onMove:r,onEnd:(a,o)=>{delete this.session,i&&Kt.postRender(()=>i(a,o))}}}mount(){this.removePointerDownListener=cc(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Wf={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function f5(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Bl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(He.test(e))e=parseFloat(e);else return e;const n=f5(e,t.target.x),r=f5(e,t.target.y);return`${n}% ${r}%`}},Tne={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=mo.parse(e);if(i.length>5)return r;const a=mo.createTransformer(e),o=typeof i[0]!="number"?1:0,u=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=u,i[1+o]/=l;const d=Gt(u,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=d),typeof i[3+o]=="number"&&(i[3+o]/=d),a(i)}};class Pne extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;YQ(_ne),a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Wf.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,o=r.projection;return o&&(o.isPresent=a,i||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?o.promote():o.relegate()||Kt.postRender(()=>{const u=o.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),F4.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function pF(e){const[t,n]=dQ(),r=x.useContext(ZO);return Ea.jsx(Pne,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(rM),isPresent:t,safeToRemove:n})}const _ne={borderRadius:{...Bl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Bl,borderTopRightRadius:Bl,borderBottomLeftRadius:Bl,borderBottomRightRadius:Bl,boxShadow:Tne};function Rne(e,t,n){const r=Bn(e)?e:Mu(e);return r.start(a3("",r,t,n)),r.animation}function One(e){return e instanceof SVGElement&&e.tagName!=="svg"}const Mne=(e,t)=>e.depth-t.depth;class Fne{constructor(){this.children=[],this.isDirty=!1}add(t){G4(this.children,t),this.isDirty=!0}remove(t){Y4(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Mne),this.isDirty=!1,this.children.forEach(t)}}function kne(e,t){const n=Zi.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(Aa(r),e(a-t))};return Kt.read(r,!0),()=>Aa(r)}const mF=["TopLeft","TopRight","BottomLeft","BottomRight"],Ine=mF.length,h5=e=>typeof e=="string"?parseFloat(e):e,p5=e=>typeof e=="number"||He.test(e);function Bne(e,t,n,r,i,a){i?(e.opacity=Gt(0,n.opacity!==void 0?n.opacity:1,Lne(r)),e.opacityExit=Gt(t.opacity!==void 0?t.opacity:1,0,Vne(r))):a&&(e.opacity=Gt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;o<Ine;o++){const u=`border${mF[o]}Radius`;let l=m5(t,u),d=m5(n,u);if(l===void 0&&d===void 0)continue;l||(l=0),d||(d=0),l===0||d===0||p5(l)===p5(d)?(e[u]=Math.max(Gt(h5(l),h5(d),r),0),(Yi.test(d)||Yi.test(l))&&(e[u]+="%")):e[u]=d}(t.rotate||n.rotate)&&(e.rotate=Gt(t.rotate||0,n.rotate||0,r))}function m5(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Lne=gF(0,.5,MM),Vne=gF(.5,.95,Er);function gF(e,t,n){return r=>r<e?0:r>t?1:n(Ru(e,t,r))}function g5(e,t){e.min=t.min,e.max=t.max}function Jr(e,t){g5(e.x,t.x),g5(e.y,t.y)}function y5(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function v5(e,t,n,r,i){return e-=t,e=Rh(e,1/n,r),i!==void 0&&(e=Rh(e,1/i,r)),e}function Nne(e,t=0,n=1,r=.5,i,a=e,o=e){if(Yi.test(t)&&(t=parseFloat(t),t=Gt(o.min,o.max,t/100)-o.min),typeof t!="number")return;let u=Gt(a.min,a.max,r);e===a&&(u-=t),e.min=v5(e.min,t,n,u,i),e.max=v5(e.max,t,n,u,i)}function b5(e,t,[n,r,i],a,o){Nne(e,t[n],t[r],t[i],t.scale,a,o)}const jne=["x","scaleX","originX"],Kne=["y","scaleY","originY"];function $5(e,t,n,r){b5(e.x,t,jne,n?n.x:void 0,r?r.x:void 0),b5(e.y,t,Kne,n?n.y:void 0,r?r.y:void 0)}function x5(e){return e.translate===0&&e.scale===1}function yF(e){return x5(e.x)&&x5(e.y)}function w5(e,t){return e.min===t.min&&e.max===t.max}function Une(e,t){return w5(e.x,t.x)&&w5(e.y,t.y)}function D5(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function vF(e,t){return D5(e.x,t.x)&&D5(e.y,t.y)}function C5(e){return kr(e.x)/kr(e.y)}function E5(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class zne{constructor(){this.members=[]}add(t){G4(this.members,t),t.scheduleRender()}remove(t){if(Y4(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function qne(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:f,rotateX:h,rotateY:p,skewX:g,skewY:y}=n;d&&(r=`perspective(${d}px) ${r}`),f&&(r+=`rotate(${f}deg) `),h&&(r+=`rotateX(${h}deg) `),p&&(r+=`rotateY(${p}deg) `),g&&(r+=`skewX(${g}deg) `),y&&(r+=`skewY(${y}deg) `)}const u=e.x.scale*t.x,l=e.y.scale*t.y;return(u!==1||l!==1)&&(r+=`scale(${u}, ${l})`),r||"none"}const No={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Ql=typeof window<"u"&&window.MotionDebug!==void 0,nb=["","X","Y","Z"],Wne={visibility:"hidden"},S5=1e3;let Hne=0;function rb(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function bF(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=SM(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Kt,!(i||a))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&bF(r)}function $F({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},u=t==null?void 0:t()){this.id=Hne++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Ql&&(No.totalNodes=No.resolvedTargetDeltas=No.recalculatedProjection=0),this.nodes.forEach(Zne),this.nodes.forEach(tre),this.nodes.forEach(nre),this.nodes.forEach(Jne),Ql&&window.MotionDebug.record(No)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Fne)}addEventListener(o,u){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Z4),this.eventHandlers.get(o).add(u)}notifyListeners(o,...u){const l=this.eventHandlers.get(o);l&&l.notify(...u)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=One(o),this.instance=o;const{layoutId:l,layout:d,visualElement:f}=this.options;if(f&&!f.current&&f.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(d||l)&&(this.isLayoutDirty=!0),e){let h;const p=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=kne(p,250),Wf.hasAnimatedSinceResize&&(Wf.hasAnimatedSinceResize=!1,this.nodes.forEach(T5))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&f&&(l||d)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:p,hasRelativeTargetChanged:g,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const $=this.options.transition||f.getDefaultTransition()||sre,{onLayoutAnimationStart:C,onLayoutAnimationComplete:b}=f.getProps(),v=!this.targetLayout||!vF(this.targetLayout,y)||g,D=!p&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||D||p&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(h,D);const A={...z4($,"layout"),onPlay:C,onComplete:b};(f.shouldReduceMotion||this.options.layoutRoot)&&(A.delay=0,A.type=!1),this.startAnimation(A)}else p||T5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Aa(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(rre),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&bF(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let f=0;f<this.path.length;f++){const h=this.path[f];h.shouldResetTransform=!0,h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:u,layout:l}=this.options;if(u===void 0&&!l)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(A5);return}this.isUpdating||this.nodes.forEach(Qne),this.isUpdating=!1,this.nodes.forEach(ere),this.nodes.forEach(Gne),this.nodes.forEach(Yne),this.clearAllSnapshots();const u=Zi.now();In.delta=Ta(0,1e3/60,u-In.timestamp),In.timestamp=u,In.isProcessing=!0,Gv.update.process(In),Gv.preRender.process(In),Gv.render.process(In),In.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,F4.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Xne),this.sharedNodes.forEach(ire)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Kt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Kt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=cn(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let u=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(u=!1),u){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!yF(this.projectionDelta),l=this.getTransformTemplate(),d=l?l(this.latestValues,""):void 0,f=d!==this.prevTransformTemplateValue;o&&(u||Vo(this.latestValues)||f)&&(i(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const u=this.measurePageBox();let l=this.removeElementScroll(u);return o&&(l=this.removeTransform(l)),ure(l),{animationId:this.root.animationId,measuredBox:u,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var o;const{visualElement:u}=this.options;if(!u)return cn();const l=u.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(lre))){const{scroll:f}=this.root;f&&(su(l.x,f.offset.x),su(l.y,f.offset.y))}return l}removeElementScroll(o){var u;const l=cn();if(Jr(l,o),!((u=this.scroll)===null||u===void 0)&&u.wasRoot)return l;for(let d=0;d<this.path.length;d++){const f=this.path[d],{scroll:h,options:p}=f;f!==this.root&&h&&p.layoutScroll&&(h.wasRoot&&Jr(l,o),su(l.x,h.offset.x),su(l.y,h.offset.y))}return l}applyTransform(o,u=!1){const l=cn();Jr(l,o);for(let d=0;d<this.path.length;d++){const f=this.path[d];!u&&f.options.layoutScroll&&f.scroll&&f!==f.root&&uu(l,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),Vo(f.latestValues)&&uu(l,f.latestValues)}return Vo(this.latestValues)&&uu(l,this.latestValues),l}removeTransform(o){const u=cn();Jr(u,o);for(let l=0;l<this.path.length;l++){const d=this.path[l];if(!d.instance||!Vo(d.latestValues))continue;V0(d.latestValues)&&d.updateSnapshot();const f=cn(),h=d.measurePageBox();Jr(f,h),$5(u,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,f)}return Vo(this.latestValues)&&$5(u,this.latestValues),u}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.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!==In.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var u;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const d=!!this.resumingFrom||this!==l;if(!(o||d&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:h,layoutId:p}=this.options;if(!(!this.layout||!(h||p))){if(this.resolvedRelativeTargetAt=In.timestamp,!this.targetDelta&&!this.relativeTarget){const g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=cn(),this.relativeTargetOrigin=cn(),fc(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),Jr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=cn(),this.targetWithTransforms=cn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),fne(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Jr(this.target,this.layout.layoutBox),dF(this.target,this.targetDelta)):Jr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const g=this.getClosestProjectingParent();g&&!!g.resumingFrom==!!this.resumingFrom&&!g.options.layoutScroll&&g.target&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=cn(),this.relativeTargetOrigin=cn(),fc(this.relativeTargetOrigin,this.target,g.target),Jr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ql&&No.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||V0(this.parent.latestValues)||cF(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const u=this.getLead(),l=!!this.resumingFrom||this!==u;let d=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(d=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(d=!1),this.resolvedRelativeTargetAt===In.timestamp&&(d=!1),d)return;const{layout:f,layoutId:h}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(f||h))return;Jr(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,g=this.treeScale.y;xne(this.layoutCorrected,this.treeScale,this.path,l),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=cn());const{target:y}=u;if(!y){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(y5(this.prevProjectionDelta.x,this.projectionDelta.x),y5(this.prevProjectionDelta.y,this.projectionDelta.y)),dc(this.projectionDelta,this.layoutCorrected,y,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==g||!E5(this.projectionDelta.x,this.prevProjectionDelta.x)||!E5(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",y)),Ql&&No.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var u;if((u=this.options.visualElement)===null||u===void 0||u.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ou(),this.projectionDelta=ou(),this.projectionDeltaWithTransform=ou()}setAnimationOrigin(o,u=!1){const l=this.snapshot,d=l?l.latestValues:{},f={...this.latestValues},h=ou();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const p=cn(),g=l?l.source:void 0,y=this.layout?this.layout.source:void 0,$=g!==y,C=this.getStack(),b=!C||C.members.length<=1,v=!!($&&!b&&this.options.crossfade===!0&&!this.path.some(ore));this.animationProgress=0;let D;this.mixTargetDelta=A=>{const E=A/1e3;P5(h.x,o.x,E),P5(h.y,o.y,E),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(fc(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),are(this.relativeTarget,this.relativeTargetOrigin,p,E),D&&Une(this.relativeTarget,D)&&(this.isProjectionDirty=!1),D||(D=cn()),Jr(D,this.relativeTarget)),$&&(this.animationValues=f,Bne(f,d,this.latestValues,E,v,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Aa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Kt.update(()=>{Wf.hasAnimatedSinceResize=!0,this.currentAnimation=Rne(0,S5,{...o,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onComplete:()=>{o.onComplete&&o.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);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(S5),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:u,target:l,layout:d,latestValues:f}=o;if(!(!u||!l||!d)){if(this!==o&&this.layout&&d&&xF(this.options.animationType,this.layout.layoutBox,d.layoutBox)){l=this.target||cn();const h=kr(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+h;const p=kr(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+p}Jr(u,l),uu(u,f),dc(this.projectionDeltaWithTransform,this.layoutCorrected,u,f)}}registerSharedNode(o,u){this.sharedNodes.has(o)||this.sharedNodes.set(o,new zne),this.sharedNodes.get(o).add(u);const d=u.options.initialPromotionConfig;u.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(u):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:u}=this.options;return u?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:u}=this.options;return u?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:u,preserveFollowOpacity:l}={}){const d=this.getStack();d&&d.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let u=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(u=!0),!u)return;const d={};l.z&&rb("z",o,d,this.animationValues);for(let f=0;f<nb.length;f++)rb(`rotate${nb[f]}`,o,d,this.animationValues),rb(`skew${nb[f]}`,o,d,this.animationValues);o.render();for(const f in d)o.setStaticValue(f,d[f]),this.animationValues&&(this.animationValues[f]=d[f]);o.scheduleRender()}getProjectionStyles(o){var u,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Wne;const d={visibility:""},f=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,d.opacity="",d.pointerEvents=zf(o==null?void 0:o.pointerEvents)||"",d.transform=f?f(this.latestValues,""):"none",d;const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){const $={};return this.options.layoutId&&($.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,$.pointerEvents=zf(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!Vo(this.latestValues)&&($.transform=f?f({},""):"none",this.hasProjected=!1),$}const p=h.animationValues||h.latestValues;this.applyTransformsToTarget(),d.transform=qne(this.projectionDeltaWithTransform,this.treeScale,p),f&&(d.transform=f(p,d.transform));const{x:g,y}=this.projectionDelta;d.transformOrigin=`${g.origin*100}% ${y.origin*100}% 0`,h.animationValues?d.opacity=h===this?(l=(u=p.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:d.opacity=h===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const $ in Sh){if(p[$]===void 0)continue;const{correct:C,applyTo:b}=Sh[$],v=d.transform==="none"?p[$]:C(p[$],h);if(b){const D=b.length;for(let A=0;A<D;A++)d[b[A]]=v}else d[$]=v}return this.options.layoutId&&(d.pointerEvents=h===this?zf(o==null?void 0:o.pointerEvents)||"":"none"),d}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var u;return(u=o.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(A5),this.root.sharedNodes.clear()}}}function Gne(e){e.updateLayout()}function Yne(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:a}=e.options,o=n.source!==e.layout.source;a==="size"?Qr(h=>{const p=o?n.measuredBox[h]:n.layoutBox[h],g=kr(p);p.min=r[h].min,p.max=p.min+g}):xF(a,n.layoutBox,r)&&Qr(h=>{const p=o?n.measuredBox[h]:n.layoutBox[h],g=kr(r[h]);p.max=p.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+g)});const u=ou();dc(u,r,n.layoutBox);const l=ou();o?dc(l,e.applyTransform(i,!0),n.measuredBox):dc(l,r,n.layoutBox);const d=!yF(u);let f=!1;if(!e.resumeFrom){const h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:p,layout:g}=h;if(p&&g){const y=cn();fc(y,n.layoutBox,p.layoutBox);const $=cn();fc($,r,g.layoutBox),vF(y,$)||(f=!0),h.options.layoutRoot&&(e.relativeTarget=$,e.relativeTargetOrigin=y,e.relativeParent=h)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:f})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Zne(e){Ql&&No.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Jne(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Xne(e){e.clearSnapshot()}function A5(e){e.clearMeasurements()}function Qne(e){e.isLayoutDirty=!1}function ere(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function T5(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function tre(e){e.resolveTargetDelta()}function nre(e){e.calcProjection()}function rre(e){e.resetSkewAndRotation()}function ire(e){e.removeLeadSnapshot()}function P5(e,t,n){e.translate=Gt(t.translate,0,n),e.scale=Gt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function _5(e,t,n,r){e.min=Gt(t.min,n.min,r),e.max=Gt(t.max,n.max,r)}function are(e,t,n,r){_5(e.x,t.x,n.x,r),_5(e.y,t.y,n.y,r)}function ore(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const sre={duration:.45,ease:[.4,0,.1,1]},R5=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),O5=R5("applewebkit/")&&!R5("chrome/")?Math.round:Er;function M5(e){e.min=O5(e.min),e.max=O5(e.max)}function ure(e){M5(e.x),M5(e.y)}function xF(e,t,n){return e==="position"||e==="preserve-aspect"&&!dne(C5(t),C5(n),.2)}function lre(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const cre=$F({attachResizeListener:(e,t)=>_c(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ib={current:void 0},wF=$F({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ib.current){const e=new cre({});e.mount(window),e.setOptions({layoutScroll:!0}),ib.current=e}return ib.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),dre={pan:{Feature:Ane},drag:{Feature:Sne,ProjectionNode:wF,MeasureLayout:pF}};function F5(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,a=r[i];a&&Kt.postRender(()=>a(t,id(t)))}let fre=class extends $o{mount(){const{current:t}=this.node;t&&(this.unmount=dee(t,n=>(F5(this.node,n,"Start"),r=>F5(this.node,r,"End"))))}unmount(){}},hre=class extends $o{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=rd(_c(this.node.current,"focus",()=>this.onFocus()),_c(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function k5(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),a=r[i];a&&Kt.postRender(()=>a(t,id(t)))}let pre=class extends $o{mount(){const{current:t}=this.node;t&&(this.unmount=mee(t,n=>(k5(this.node,n,"Start"),(r,{success:i})=>k5(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};const j0=new WeakMap,ab=new WeakMap,mre=e=>{const t=j0.get(e.target);t&&t(e)},gre=e=>{e.forEach(mre)};function yre({root:e,...t}){const n=e||document;ab.has(n)||ab.set(n,{});const r=ab.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(gre,{root:e,...t})),r[i]}function vre(e,t,n){const r=yre(t);return j0.set(e,n),r.observe(e),()=>{j0.delete(e),r.unobserve(e)}}const bre={some:0,all:1};let $re=class extends $o{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:bre[i]},u=l=>{const{isIntersecting:d}=l;if(this.isInView===d||(this.isInView=d,a&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:f,onViewportLeave:h}=this.node.getProps(),p=d?f:h;p&&p(l)};return vre(this.node.current,o,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(xre(t,n))&&this.startObserver()}unmount(){}};function xre({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const wre={inView:{Feature:$re},tap:{Feature:pre},focus:{Feature:hre},hover:{Feature:fre}},Dre={layout:{ProjectionNode:wF,MeasureLayout:pF}},K0={current:null},DF={current:!1};function Cre(){if(DF.current=!0,!!P4)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>K0.current=e.matches;e.addListener(t),t()}else K0.current=!1}const Ere=[...HM,Gn,mo],Sre=e=>Ere.find(WM(e)),I5=new WeakMap;function Are(e,t,n){for(const r in t){const i=t[r],a=n[r];if(Bn(i))e.addValue(r,i),process.env.NODE_ENV==="development"&&Tp(i.version==="11.18.2",`Attempting to mix Motion versions ${i.version} with 11.18.2 may not work as expected.`);else if(Bn(a))e.addValue(r,Mu(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,Mu(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const B5=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Tre=class{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:a,visualState:o},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=n3,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=()=>{const g=Zi.now();this.renderScheduledAt<g&&(this.renderScheduledAt=g,Kt.render(this.render,!1,!0))};const{latestValues:l,renderState:d,onUpdate:f}=o;this.onUpdate=f,this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=u,this.blockInitialAnimation=!!a,this.isControllingVariants=Rp(n),this.isVariantNode=tM(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const g in p){const y=p[g];l[g]!==void 0&&Bn(y)&&y.set(l[g],!1)}}mount(t){this.current=t,I5.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((n,r)=>this.bindToMotionValue(r,n)),DF.current||Cre(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:K0.current,process.env.NODE_ENV!=="production"&&Tp(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){I5.delete(this.current),this.projection&&this.projection.unmount(),Aa(this.notifyUpdate),Aa(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=vs.has(t),i=n.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&Kt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),a(),o&&o(),n.owner&&n.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 Ou){const n=Ou[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const 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):cn()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<B5.length;r++){const i=B5[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a="on"+i,o=t[a];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=Are(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Mu(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(zM(i)||kM(i))?i=parseFloat(i):!Sre(i)&&mo.test(n)&&(i=jM(t,n)),this.setBaseTarget(t,Bn(i)?i.get():i)),Bn(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const o=I4(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[t])}if(r&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Bn(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Z4),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}},CF=class extends Tre{constructor(){super(...arguments),this.KeyframeResolver=GM}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Bn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}};function Pre(e){return window.getComputedStyle(e)}let _re=class extends CF{constructor(){super(...arguments),this.type="html",this.renderInstance=cM}readValueFromInstance(t,n){if(vs.has(n)){const r=t3(n);return r&&r.default||0}else{const r=Pre(t),i=(sM(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return fF(t,n)}build(t,n,r){V4(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return U4(t,n,r)}},Rre=class extends CF{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=cn}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(vs.has(n)){const r=t3(n);return r&&r.default||0}return n=dM.has(n)?n:M4(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return pM(t,n,r)}build(t,n,r){N4(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){fM(t,n,r,i)}mount(t){this.isSVGTag=K4(t.tagName),super.mount(t)}};const Ore=(e,t)=>k4(e)?new Rre(t):new _re(t,{allowProjection:e!==x.Fragment}),Mre=iee({...nne,...wre,...dre,...Dre},Ore),EF=bQ(Mre);function SF(e){const t=ed(()=>Mu(e)),{isStatic:n}=x.useContext(T4);if(n){const[,r]=x.useState(e);x.useEffect(()=>t.on("change",r),[])}return t}function AF(e,t){const n=SF(t()),r=()=>n.set(t());return r(),JO(()=>{const i=()=>Kt.preRender(r,!1,!0),a=e.map(o=>o.on("change",i));return()=>{a.forEach(o=>o()),Aa(r)}}),n}const Fre=e=>e&&typeof e=="object"&&e.mix,kre=e=>Fre(e)?e.mix:void 0;function Ire(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],u=tF(i,a,{mixer:kre(a[0]),...o});return t?u(r):u}function Bre(e){uc.current=[],e();const t=AF(uc.current,e);return uc.current=void 0,t}function Lre(e,t,n,r){if(typeof e=="function")return Bre(e);const i=typeof t=="function"?t:Ire(t,n,r);return Array.isArray(e)?L5(e,i):L5([e],([a])=>i(a))}function L5(e,t){const n=ed(()=>[]);return AF(e,()=>{n.length=0;const r=e.length;for(let i=0;i<r;i++)n[i]=e[i].get();return t(n)})}const TF=x.createContext(null);function Vre(e,t,n,r){if(!r)return e;const i=e.findIndex(f=>f.value===t);if(i===-1)return e;const a=r>0?1:-1,o=e[i+a];if(!o)return e;const u=e[i],l=o.layout,d=Gt(l.min,l.max,.5);return a===1&&u.layout.max+n>d||a===-1&&u.layout.min+n<d?vee(e,i,i+a):e}function Nre({children:e,as:t="ul",axis:n="y",onReorder:r,values:i,...a},o){const u=ed(()=>EF[t]),l=[],d=x.useRef(!1);Xi(!!i,"Reorder.Group must be provided a values prop");const f={axis:n,registerItem:(h,p)=>{const g=l.findIndex(y=>h===y.value);g!==-1?l[g].layout=p[n]:l.push({value:h,layout:p[n]}),l.sort(Ure)},updateOrder:(h,p,g)=>{if(d.current)return;const y=Vre(l,h,p,g);l!==y&&(d.current=!0,r(y.map(Kre).filter($=>i.indexOf($)!==-1)))}};return x.useEffect(()=>{d.current=!1}),Ea.jsx(u,{...a,ref:o,ignoreStrict:!0,children:Ea.jsx(TF.Provider,{value:f,children:e})})}const jre=x.forwardRef(Nre);function Kre(e){return e.value}function Ure(e,t){return e.layout.min-t.layout.min}function V5(e,t=0){return Bn(e)?e:SF(t)}function zre({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:a=!0,...o},u){const l=ed(()=>EF[r]),d=x.useContext(TF),f={x:V5(t.x),y:V5(t.y)},h=Lre([f.x,f.y],([$,C])=>$||C?1:"unset");Xi(!!d,"Reorder.Item must be a child of Reorder.Group");const{axis:p,registerItem:g,updateOrder:y}=d;return Ea.jsx(l,{drag:p,...o,dragSnapToOrigin:!0,style:{...t,x:f.x,y:f.y,zIndex:h},layout:a,onDrag:($,C)=>{const{velocity:b}=C;b[p]&&y(n,f[p].get(),b[p]),i&&i($,C)},onLayoutMeasure:$=>g(n,$),ref:u,ignoreStrict:!0,children:e})}const qre=x.forwardRef(zre),N5=(e,t,n)=>{if(e&&"reportValidity"in e){const r=Te(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},PF=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?N5(r.ref,n,e):r.refs&&r.refs.forEach(i=>N5(i,n,e))}},Wre=(e,t)=>{t.shouldUseNativeValidation&&PF(e,t);const n={};for(const r in e){const i=Te(t.fields,r),a=Object.assign(e[r]||{},{ref:i&&i.ref});if(Hre(t.names||Object.keys(e),r)){const o=Object.assign({},Te(n,r));At(o,"root",a),At(n,r,o)}else At(n,r,a)}return n},Hre=(e,t)=>e.some(n=>n.startsWith(t+"."));function Gre(e,t,n){return t===void 0&&(t={}),n===void 0&&(n={}),function(r,i,a){try{return Promise.resolve(function(o,u){try{var l=(t.context&&process.env.NODE_ENV==="development"&&console.warn("You should not used the yup options context. Please, use the 'useForm' context object instead"),Promise.resolve(e[n.mode==="sync"?"validateSync":"validate"](r,Object.assign({abortEarly:!1},t,{context:i}))).then(function(d){return a.shouldUseNativeValidation&&PF({},a),{values:n.raw?r:d,errors:{}}}))}catch(d){return u(d)}return l&&l.then?l.then(void 0,u):l}(0,function(o){if(!o.inner)throw o;return{values:{},errors:Wre((u=o,l=!a.shouldUseNativeValidation&&a.criteriaMode==="all",(u.inner||[]).reduce(function(d,f){if(d[f.path]||(d[f.path]={message:f.message,type:f.type}),l){var h=d[f.path].types,p=h&&h[f.type];d[f.path]=lT(f.path,l,d,f.type,p?[].concat(p,f.message):f.message)}return d},{})),a)};var u,l}))}catch(o){return Promise.reject(o)}}}var ob,j5;function Yre(){if(j5)return ob;j5=1;var e=Hu(),t=Yu(),n="[object Number]";function r(i){return typeof i=="number"||t(i)&&e(i)==n}return ob=r,ob}var Zre=Yre();const Jre=Qi(Zre),K5=new Set;function Fp(e,t,n){e||K5.has(t)||(console.warn(t),K5.add(t))}function Xre(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>(process.env.NODE_ENV!=="production"&&Fp(!1,"motion() is deprecated. Use motion.create() instead."),e(...r));return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}function kp(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const U0=e=>Array.isArray(e);function _F(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Rc(e){return typeof e=="string"||Array.isArray(e)}function U5(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function o3(e,t,n,r){if(typeof t=="function"){const[i,a]=U5(r);t=t(n!==void 0?n:e.custom,i,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,a]=U5(r);t=t(n!==void 0?n:e.custom,i,a)}return t}function Ip(e,t,n){const r=e.getProps();return o3(r,t,n!==void 0?n:r.custom,e)}const s3=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],u3=["initial",...s3],ad=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],bs=new Set(ad),Ca=e=>e*1e3,co=e=>e/1e3,Qre={type:"spring",stiffness:500,damping:25,restSpeed:10},eie=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),tie={type:"keyframes",duration:.8},nie={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rie=(e,{keyframes:t})=>t.length>2?tie:bs.has(e)?e.startsWith("scale")?eie(t[1]):Qre:nie;function RF(e,t){return e?e[t]||e.default||e:void 0}const iie={useManualTiming:!1},aie=e=>e!==null;function Bp(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(aie),a=t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const go=e=>e;let od=go,ku=go;process.env.NODE_ENV!=="production"&&(od=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},ku=(e,t)=>{if(!e)throw new Error(t)});function oie(e){let t=new Set,n=new Set,r=!1,i=!1;const a=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function u(d){a.has(d)&&(l.schedule(d),e()),d(o)}const l={schedule:(d,f=!1,h=!1)=>{const g=h&&r?t:n;return f&&a.add(d),g.has(d)||g.add(d),d},cancel:d=>{n.delete(d),a.delete(d)},process:d=>{if(o=d,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(u),t.clear(),r=!1,i&&(i=!1,l.process(d))}};return l}const Cf=["read","resolveKeyframes","update","preRender","render","postRender"],sie=40;function OF(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Cf.reduce((b,v)=>(b[v]=oie(a),b),{}),{read:u,resolveKeyframes:l,update:d,preRender:f,render:h,postRender:p}=o,g=()=>{const b=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(b-i.timestamp,sie),1),i.timestamp=b,i.isProcessing=!0,u.process(i),l.process(i),d.process(i),f.process(i),h.process(i),p.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},y=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:Cf.reduce((b,v)=>{const D=o[v];return b[v]=(A,E=!1,T=!1)=>(n||y(),D.schedule(A,E,T)),b},{}),cancel:b=>{for(let v=0;v<Cf.length;v++)o[Cf[v]].cancel(b)},state:i,steps:o}}const{schedule:Ir,cancel:z0,state:Oh}=OF(typeof requestAnimationFrame<"u"?requestAnimationFrame:go,!0),MF=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,uie=1e-7,lie=12;function cie(e,t,n,r,i){let a,o,u=0;do o=t+(n-t)/2,a=MF(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>uie&&++u<lie);return o}function sd(e,t,n,r){if(e===t&&n===r)return go;const i=a=>cie(a,0,1,e,n);return a=>a===0||a===1?a:MF(i(a),t,r)}const FF=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,kF=e=>t=>1-e(1-t),IF=sd(.33,1.53,.69,.99),l3=kF(IF),BF=FF(l3),LF=e=>(e*=2)<1?.5*l3(e):.5*(2-Math.pow(2,-10*(e-1))),c3=e=>1-Math.sin(Math.acos(e)),die=kF(c3),VF=FF(c3),NF=e=>/^0[^.\s]+$/u.test(e);function fie(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||NF(e):!0}const jF=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),KF=e=>t=>typeof t=="string"&&t.startsWith(e),UF=KF("--"),hie=KF("var(--"),d3=e=>hie(e)?pie.test(e.split("/*")[0].trim()):!1,pie=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,mie=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function gie(e){const t=mie.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const yie=4;function zF(e,t,n=1){ku(n<=yie,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=gie(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const o=a.trim();return jF(o)?parseFloat(o):o}return d3(i)?zF(i,t,n+1):i}const hs=(e,t,n)=>n>t?t:n<e?e:n,Qu={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Oc={...Qu,transform:e=>hs(0,1,e)},Ef={...Qu,default:1},ud=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Qa=ud("deg"),yu=ud("%"),Ze=ud("px"),vie=ud("vh"),bie=ud("vw"),z5={...yu,parse:e=>yu.parse(e)/100,transform:e=>yu.transform(e*100)},$ie=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),q5=e=>e===Qu||e===Ze,W5=(e,t)=>parseFloat(e.split(", ")[t]),H5=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return W5(i[1],t);{const a=r.match(/^matrix\((.+)\)$/u);return a?W5(a[1],e):0}},xie=new Set(["x","y","z"]),wie=ad.filter(e=>!xie.has(e));function Die(e){const t=[];return wie.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Iu={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),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:H5(4,13),y:H5(5,14)};Iu.translateX=Iu.x;Iu.translateY=Iu.y;const qF=e=>t=>t.test(e),Cie={test:e=>e==="auto",parse:e=>e},WF=[Qu,Ze,yu,Qa,bie,vie,Cie],G5=e=>WF.find(qF(e)),ns=new Set;let q0=!1,W0=!1;function HF(){if(W0){const e=Array.from(ns).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=Die(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([a,o])=>{var u;(u=r.getValue(a))===null||u===void 0||u.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}W0=!1,q0=!1,ns.forEach(e=>e.complete()),ns.clear()}function GF(){ns.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(W0=!0)})}function Eie(){GF(),HF()}class f3{constructor(t,n,r,i,a,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=a,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ns.add(this),q0||(q0=!0,Ir.read(GF),Ir.resolveKeyframes(HF))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){const o=i==null?void 0:i.get(),u=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const l=r.readValue(n,u);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=u),i&&o===void 0&&i.set(t[0])}else t[a]=t[a-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ns.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ns.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const hc=e=>Math.round(e*1e5)/1e5,h3=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Sie(e){return e==null}const Aie=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p3=(e,t)=>n=>!!(typeof n=="string"&&Aie.test(n)&&n.startsWith(e)||t&&!Sie(n)&&Object.prototype.hasOwnProperty.call(n,t)),YF=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,a,o,u]=r.match(h3);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:u!==void 0?parseFloat(u):1}},Tie=e=>hs(0,255,e),sb={...Qu,transform:e=>Math.round(Tie(e))},Zo={test:p3("rgb","red"),parse:YF("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+sb.transform(e)+", "+sb.transform(t)+", "+sb.transform(n)+", "+hc(Oc.transform(r))+")"};function Pie(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const H0={test:p3("#"),parse:Pie,transform:Zo.transform},lu={test:p3("hsl","hue"),parse:YF("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+yu.transform(hc(t))+", "+yu.transform(hc(n))+", "+hc(Oc.transform(r))+")"},Yn={test:e=>Zo.test(e)||H0.test(e)||lu.test(e),parse:e=>Zo.test(e)?Zo.parse(e):lu.test(e)?lu.parse(e):H0.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Zo.transform(e):lu.transform(e)},_ie=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Rie(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(h3))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(_ie))===null||n===void 0?void 0:n.length)||0)>0}const ZF="number",JF="color",Oie="var",Mie="var(",Y5="${}",Fie=/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 Mc(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let a=0;const u=t.replace(Fie,l=>(Yn.test(l)?(r.color.push(a),i.push(JF),n.push(Yn.parse(l))):l.startsWith(Mie)?(r.var.push(a),i.push(Oie),n.push(l)):(r.number.push(a),i.push(ZF),n.push(parseFloat(l))),++a,Y5)).split(Y5);return{values:n,split:u,indexes:r,types:i}}function XF(e){return Mc(e).values}function QF(e){const{split:t,types:n}=Mc(e),r=t.length;return i=>{let a="";for(let o=0;o<r;o++)if(a+=t[o],i[o]!==void 0){const u=n[o];u===ZF?a+=hc(i[o]):u===JF?a+=Yn.transform(i[o]):a+=i[o]}return a}}const kie=e=>typeof e=="number"?0:e;function Iie(e){const t=XF(e);return QF(e)(t.map(kie))}const el={test:Rie,parse:XF,createTransformer:QF,getAnimatableNone:Iie},Bie=new Set(["brightness","contrast","saturate","opacity"]);function Lie(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(h3)||[];if(!r)return e;const i=n.replace(r,"");let a=Bie.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const Vie=/\b([a-z-]*)\(.*?\)/gu,G0={...el,getAnimatableNone:e=>{const t=e.match(Vie);return t?t.map(Lie).join(" "):e}},Nie={borderWidth:Ze,borderTopWidth:Ze,borderRightWidth:Ze,borderBottomWidth:Ze,borderLeftWidth:Ze,borderRadius:Ze,radius:Ze,borderTopLeftRadius:Ze,borderTopRightRadius:Ze,borderBottomRightRadius:Ze,borderBottomLeftRadius:Ze,width:Ze,maxWidth:Ze,height:Ze,maxHeight:Ze,top:Ze,right:Ze,bottom:Ze,left:Ze,padding:Ze,paddingTop:Ze,paddingRight:Ze,paddingBottom:Ze,paddingLeft:Ze,margin:Ze,marginTop:Ze,marginRight:Ze,marginBottom:Ze,marginLeft:Ze,backgroundPositionX:Ze,backgroundPositionY:Ze},jie={rotate:Qa,rotateX:Qa,rotateY:Qa,rotateZ:Qa,scale:Ef,scaleX:Ef,scaleY:Ef,scaleZ:Ef,skew:Qa,skewX:Qa,skewY:Qa,distance:Ze,translateX:Ze,translateY:Ze,translateZ:Ze,x:Ze,y:Ze,z:Ze,perspective:Ze,transformPerspective:Ze,opacity:Oc,originX:z5,originY:z5,originZ:Ze},Z5={...Qu,transform:Math.round},m3={...Nie,...jie,zIndex:Z5,size:Ze,fillOpacity:Oc,strokeOpacity:Oc,numOctaves:Z5},Kie={...m3,color:Yn,backgroundColor:Yn,outlineColor:Yn,fill:Yn,stroke:Yn,borderColor:Yn,borderTopColor:Yn,borderRightColor:Yn,borderBottomColor:Yn,borderLeftColor:Yn,filter:G0,WebkitFilter:G0},g3=e=>Kie[e];function e9(e,t){let n=g3(e);return n!==G0&&(n=el),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Uie=new Set(["auto","none","0"]);function zie(e,t,n){let r=0,i;for(;r<e.length&&!i;){const a=e[r];typeof a=="string"&&!Uie.has(a)&&Mc(a).values.length&&(i=e[r]),r++}if(i&&n)for(const a of t)e[a]=e9(n,i)}class t9 extends f3{constructor(t,n,r,i,a){super(t,n,r,i,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let d=t[l];if(typeof d=="string"&&(d=d.trim(),d3(d))){const f=zF(d,n.current);f!==void 0&&(t[l]=f),l===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!$ie.has(r)||t.length!==2)return;const[i,a]=t,o=G5(i),u=G5(a);if(o!==u)if(q5(o)&&q5(u))for(let l=0;l<t.length;l++){const d=t[l];typeof d=="string"&&(t[l]=parseFloat(d))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)fie(t[i])&&r.push(i);r.length&&zie(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Iu[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const a=n.getValue(r);a&&a.jump(this.measuredOrigin,!1);const o=i.length-1,u=i[o];i[o]=Iu[r](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,d])=>{n.getValue(l).set(d)}),this.resolveNoneKeyframes()}}function y3(e){return typeof e=="function"}let Hf;function qie(){Hf=void 0}const fo={now:()=>(Hf===void 0&&fo.set(Oh.isProcessing||iie.useManualTiming?Oh.timestamp:performance.now()),Hf),set:e=>{Hf=e,queueMicrotask(qie)}},J5=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(el.test(e)||e==="0")&&!e.startsWith("url("));function Wie(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Hie(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],o=J5(i,t),u=J5(a,t);return od(o===u,`You are trying to animate ${t} from "${i}" to "${a}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${a} via the \`style\` property.`),!o||!u?!1:Wie(e)||(n==="spring"||y3(n))&&r}const Gie=40;class n9{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:o="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=fo.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:a,repeatType:o,...u},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Gie?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Eie(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=fo.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:a,delay:o,onComplete:u,onUpdate:l,isGenerator:d}=this.options;if(!d&&!Hie(t,r,i,a))if(o)this.options.duration=0;else{l==null||l(Bp(t,this.options,n)),u==null||u(),this.resolveFinishedPromise();return}const f=this.initPlayback(t,n);f!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...f},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const v3=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},r9=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let a=0;a<i;a++)r+=e(v3(0,i-1,a))+", ";return`linear(${r.substring(0,r.length-2)})`};function i9(e,t){return t?e*(1e3/t):0}const Yie=5;function a9(e,t,n){const r=Math.max(t-Yie,0);return i9(n-e(r),t-r)}const Xt={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},X5=.001;function Zie({duration:e=Xt.duration,bounce:t=Xt.bounce,velocity:n=Xt.velocity,mass:r=Xt.mass}){let i,a;od(e<=Ca(Xt.maxDuration),"Spring duration must be 10 seconds or less");let o=1-t;o=hs(Xt.minDamping,Xt.maxDamping,o),e=hs(Xt.minDuration,Xt.maxDuration,co(e)),o<1?(i=d=>{const f=d*o,h=f*e,p=f-n,g=Y0(d,o),y=Math.exp(-h);return X5-p/g*y},a=d=>{const h=d*o*e,p=h*n+n,g=Math.pow(o,2)*Math.pow(d,2)*e,y=Math.exp(-h),$=Y0(Math.pow(d,2),o);return(-i(d)+X5>0?-1:1)*((p-g)*y)/$}):(i=d=>{const f=Math.exp(-d*e),h=(d-n)*e+1;return-.001+f*h},a=d=>{const f=Math.exp(-d*e),h=(n-d)*(e*e);return f*h});const u=5/e,l=Xie(i,a,u);if(e=Ca(e),isNaN(l))return{stiffness:Xt.stiffness,damping:Xt.damping,duration:e};{const d=Math.pow(l,2)*r;return{stiffness:d,damping:o*2*Math.sqrt(r*d),duration:e}}}const Jie=12;function Xie(e,t,n){let r=n;for(let i=1;i<Jie;i++)r=r-e(r)/t(r);return r}function Y0(e,t){return e*Math.sqrt(1-t*t)}const Z0=2e4;function o9(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Z0;)t+=n,r=e.next(t);return t>=Z0?1/0:t}const Qie=["duration","bounce"],eae=["stiffness","damping","mass"];function Q5(e,t){return t.some(n=>e[n]!==void 0)}function tae(e){let t={velocity:Xt.velocity,stiffness:Xt.stiffness,damping:Xt.damping,mass:Xt.mass,isResolvedFromDuration:!1,...e};if(!Q5(e,eae)&&Q5(e,Qie))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*hs(.05,1,1-e.bounce)*Math.sqrt(i);t={...t,mass:Xt.mass,stiffness:i,damping:a}}else{const n=Zie(e);t={...t,...n,mass:Xt.mass},t.isResolvedFromDuration=!0}return t}function s9(e=Xt.visualDuration,t=Xt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],u={done:!1,value:a},{stiffness:l,damping:d,mass:f,duration:h,velocity:p,isResolvedFromDuration:g}=tae({...n,velocity:-co(n.velocity||0)}),y=p||0,$=d/(2*Math.sqrt(l*f)),C=o-a,b=co(Math.sqrt(l/f)),v=Math.abs(C)<5;r||(r=v?Xt.restSpeed.granular:Xt.restSpeed.default),i||(i=v?Xt.restDelta.granular:Xt.restDelta.default);let D;if($<1){const E=Y0(b,$);D=T=>{const R=Math.exp(-$*b*T);return o-R*((y+$*b*C)/E*Math.sin(E*T)+C*Math.cos(E*T))}}else if($===1)D=E=>o-Math.exp(-b*E)*(C+(y+b*C)*E);else{const E=b*Math.sqrt($*$-1);D=T=>{const R=Math.exp(-$*b*T),S=Math.min(E*T,300);return o-R*((y+$*b*C)*Math.sinh(S)+E*C*Math.cosh(S))/E}}const A={calculatedDuration:g&&h||null,next:E=>{const T=D(E);if(g)u.done=E>=h;else{let R=0;$<1&&(R=E===0?Ca(y):a9(D,E,T));const S=Math.abs(R)<=r,U=Math.abs(o-T)<=i;u.done=S&&U}return u.value=u.done?o:T,u},toString:()=>{const E=Math.min(o9(A),Z0),T=r9(R=>A.next(E*R).value,E,30);return E+"ms "+T}};return A}function e2({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:u,max:l,restDelta:d=.5,restSpeed:f}){const h=e[0],p={done:!1,value:h},g=S=>u!==void 0&&S<u||l!==void 0&&S>l,y=S=>u===void 0?l:l===void 0||Math.abs(u-S)<Math.abs(l-S)?u:l;let $=n*t;const C=h+$,b=o===void 0?C:o(C);b!==C&&($=b-h);const v=S=>-$*Math.exp(-S/r),D=S=>b+v(S),A=S=>{const U=v(S),j=D(S);p.done=Math.abs(U)<=d,p.value=p.done?b:j};let E,T;const R=S=>{g(p.value)&&(E=S,T=s9({keyframes:[p.value,y(p.value)],velocity:a9(D,S,p.value),damping:i,stiffness:a,restDelta:d,restSpeed:f}))};return R(0),{calculatedDuration:null,next:S=>{let U=!1;return!T&&E===void 0&&(U=!0,A(S),R(S)),E!==void 0&&S>=E?T.next(S-E):(!U&&A(S),p)}}}const nae=sd(.42,0,1,1),rae=sd(0,0,.58,1),u9=sd(.42,0,.58,1),iae=e=>Array.isArray(e)&&typeof e[0]!="number",b3=e=>Array.isArray(e)&&typeof e[0]=="number",t2={linear:go,easeIn:nae,easeInOut:u9,easeOut:rae,circIn:c3,circInOut:VF,circOut:die,backIn:l3,backInOut:BF,backOut:IF,anticipate:LF},n2=e=>{if(b3(e)){ku(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return sd(t,n,r,i)}else if(typeof e=="string")return ku(t2[e]!==void 0,`Invalid easing type '${e}'`),t2[e];return e},aae=(e,t)=>n=>t(e(n)),Lp=(...e)=>e.reduce(aae),Vp=(e,t,n)=>e+(t-e)*n;function ub(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function oae({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{const u=n<.5?n*(1+t):n+t-n*t,l=2*n-u;i=ub(l,u,e+1/3),a=ub(l,u,e),o=ub(l,u,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Mh(e,t){return n=>n>0?t:e}const lb=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},sae=[H0,Zo,lu],uae=e=>sae.find(t=>t.test(e));function r2(e){const t=uae(e);if(od(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===lu&&(n=oae(n)),n}const i2=(e,t)=>{const n=r2(e),r=r2(t);if(!n||!r)return Mh(e,t);const i={...n};return a=>(i.red=lb(n.red,r.red,a),i.green=lb(n.green,r.green,a),i.blue=lb(n.blue,r.blue,a),i.alpha=Vp(n.alpha,r.alpha,a),Zo.transform(i))},J0=new Set(["none","hidden"]);function lae(e,t){return J0.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function cae(e,t){return n=>Vp(e,t,n)}function $3(e){return typeof e=="number"?cae:typeof e=="string"?d3(e)?Mh:Yn.test(e)?i2:hae:Array.isArray(e)?l9:typeof e=="object"?Yn.test(e)?i2:dae:Mh}function l9(e,t){const n=[...e],r=n.length,i=e.map((a,o)=>$3(a)(a,t[o]));return a=>{for(let o=0;o<r;o++)n[o]=i[o](a);return n}}function dae(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=$3(e[i])(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}}function fae(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const o=t.types[a],u=e.indexes[o][i[o]],l=(n=e.values[u])!==null&&n!==void 0?n:0;r[a]=l,i[o]++}return r}const hae=(e,t)=>{const n=el.createTransformer(t),r=Mc(e),i=Mc(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?J0.has(e)&&!i.values.length||J0.has(t)&&!r.values.length?lae(e,t):Lp(l9(fae(r,i),i.values),n):(od(!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.`),Mh(e,t))};function c9(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Vp(e,t,n):$3(e)(e,t)}function pae(e,t,n){const r=[],i=n||c9,a=e.length-1;for(let o=0;o<a;o++){let u=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||go:t;u=Lp(l,u)}r.push(u)}return r}function mae(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(ku(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];if(a===2&&e[0]===e[1])return()=>t[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=pae(t,r,i),u=o.length,l=d=>{let f=0;if(u>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const h=v3(e[f],e[f+1],d);return o[f](h)};return n?d=>l(hs(e[0],e[a-1],d)):l}function gae(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=v3(0,t,r);e.push(Vp(n,1,i))}}function yae(e){const t=[0];return gae(t,e.length-1),t}function vae(e,t){return e.map(n=>n*t)}function bae(e,t){return e.map(()=>t||u9).splice(0,e.length-1)}function Fh({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=iae(r)?r.map(n2):n2(r),a={done:!1,value:t[0]},o=vae(n&&n.length===t.length?n:yae(t),e),u=mae(o,t,{ease:Array.isArray(i)?i:bae(t,i)});return{calculatedDuration:e,next:l=>(a.value=u(l),a.done=l>=e,a)}}const $ae=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Ir.update(t,!0),stop:()=>z0(t),now:()=>Oh.isProcessing?Oh.timestamp:fo.now()}},xae={decay:e2,inertia:e2,tween:Fh,keyframes:Fh,spring:s9},wae=e=>e/100;class x3 extends n9{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:i,keyframes:a}=this.options,o=(i==null?void 0:i.KeyframeResolver)||f3,u=(l,d)=>this.onKeyframesResolved(l,d);this.resolver=new o(a,u,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:a,velocity:o=0}=this.options,u=y3(n)?n:xae[n]||Fh;let l,d;u!==Fh&&typeof t[0]!="number"&&(process.env.NODE_ENV!=="production"&&ku(t.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),l=Lp(wae,c9(t[0],t[1])),t=[0,100]);const f=u({...this.options,keyframes:t});a==="mirror"&&(d=u({...this.options,keyframes:[...t].reverse(),velocity:-o})),f.calculatedDuration===null&&(f.calculatedDuration=o9(f));const{calculatedDuration:h}=f,p=h+i,g=p*(r+1)-i;return{generator:f,mirroredGenerator:d,mapPercentToKeyframes:l,calculatedDuration:h,resolvedDuration:p,totalDuration:g}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:S}=this.options;return{done:!0,value:S[S.length-1]}}const{finalKeyframe:i,generator:a,mirroredGenerator:o,mapPercentToKeyframes:u,keyframes:l,calculatedDuration:d,totalDuration:f,resolvedDuration:h}=r;if(this.startTime===null)return a.next(0);const{delay:p,repeat:g,repeatType:y,repeatDelay:$,onUpdate:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-f/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const b=this.currentTime-p*(this.speed>=0?1:-1),v=this.speed>=0?b<0:b>f;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=f);let D=this.currentTime,A=a;if(g){const S=Math.min(this.currentTime,f)/h;let U=Math.floor(S),j=S%1;!j&&S>=1&&(j=1),j===1&&U--,U=Math.min(U,g+1),!!(U%2)&&(y==="reverse"?(j=1-j,$&&(j-=$/h)):y==="mirror"&&(A=o)),D=hs(0,1,j)*h}const E=v?{done:!1,value:l[0]}:A.next(D);u&&(E.value=u(E.value));let{done:T}=E;!v&&d!==null&&(T=this.speed>=0?this.currentTime>=f:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return R&&i!==void 0&&(E.value=Bp(l,this.options,i)),C&&C(E.value),R&&this.finish(),E}get duration(){const{resolved:t}=this;return t?co(t.calculatedDuration):0}get time(){return co(this.currentTime)}set time(t){t=Ca(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=co(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=$ae,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const Dae=new Set(["opacity","clipPath","filter","transform"]);function w3(e){let t;return()=>(t===void 0&&(t=e()),t)}const Cae={linearEasing:void 0};function Eae(e,t){const n=w3(e);return()=>{var r;return(r=Cae[t])!==null&&r!==void 0?r:n()}}const kh=Eae(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function d9(e){return!!(typeof e=="function"&&kh()||!e||typeof e=="string"&&(e in X0||kh())||b3(e)||Array.isArray(e)&&e.every(d9))}const ec=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,X0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ec([0,.65,.55,1]),circOut:ec([.55,0,1,.45]),backIn:ec([.31,.01,.66,-.59]),backOut:ec([.33,1.53,.69,.99])};function f9(e,t){if(e)return typeof e=="function"&&kh()?r9(e,t):b3(e)?ec(e):Array.isArray(e)?e.map(n=>f9(n,t)||X0.easeOut):X0[e]}function Sae(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o="loop",ease:u="easeInOut",times:l}={}){const d={[t]:n};l&&(d.offset=l);const f=f9(u,i);return Array.isArray(f)&&(d.easing=f),e.animate(d,{delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:a+1,direction:o==="reverse"?"alternate":"normal"})}function a2(e,t){e.timeline=t,e.onfinish=null}const Aae=w3(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ih=10,Tae=2e4;function Pae(e){return y3(e.type)||e.type==="spring"||!d9(e.ease)}function _ae(e,t){const n=new x3({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let a=0;for(;!r.done&&a<Tae;)r=n.sample(a),i.push(r.value),a+=Ih;return{times:void 0,keyframes:i,duration:a-Ih,ease:"linear"}}const h9={anticipate:LF,backInOut:BF,circInOut:VF};function Rae(e){return e in h9}class o2 extends n9{constructor(t){super(t);const{name:n,motionValue:r,element:i,keyframes:a}=this.options;this.resolver=new t9(a,(o,u)=>this.onKeyframesResolved(o,u),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:a,ease:o,type:u,motionValue:l,name:d,startTime:f}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(typeof o=="string"&&kh()&&Rae(o)&&(o=h9[o]),Pae(this.options)){const{onComplete:p,onUpdate:g,motionValue:y,element:$,...C}=this.options,b=_ae(t,C);t=b.keyframes,t.length===1&&(t[1]=t[0]),i=b.duration,a=b.times,o=b.ease,u="keyframes"}const h=Sae(l.owner.current,d,t,{...this.options,duration:i,times:a,ease:o});return h.startTime=f??this.calcStartTime(),this.pendingTimeline?(a2(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{const{onComplete:p}=this.options;l.set(Bp(t,this.options,n)),p&&p(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:i,times:a,type:u,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return co(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return co(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Ca(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return go;const{animation:r}=n;a2(r,t)}return go}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:a,ease:o,times:u}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:d,onUpdate:f,onComplete:h,element:p,...g}=this.options,y=new x3({...g,keyframes:r,duration:i,type:a,ease:o,times:u,isGenerator:!0}),$=Ca(this.time);d.setWithVelocity(y.sample($-Ih).value,y.sample($).value,Ih)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:a,damping:o,type:u}=t;return Aae()&&r&&Dae.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&a!=="mirror"&&o!==0&&u!=="inertia"}}const Oae=w3(()=>window.ScrollTimeline!==void 0);class Mae{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(i=>Oae()&&i.attachTimeline?i.attachTimeline(t):n(i));return()=>{r.forEach((i,a)=>{i&&i(),this.animations[a].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Fae({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:o,repeatDelay:u,from:l,elapsed:d,...f}){return!!Object.keys(f).length}const kae=(e,t,n,r={},i,a)=>o=>{const u=RF(r,e)||{},l=u.delay||r.delay||0;let{elapsed:d=0}=r;d=d-Ca(l);let f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...u,delay:-d,onUpdate:p=>{t.set(p),u.onUpdate&&u.onUpdate(p)},onComplete:()=>{o(),u.onComplete&&u.onComplete()},name:e,motionValue:t,element:a?void 0:i};Fae(u)||(f={...f,...rie(e,f)}),f.duration&&(f.duration=Ca(f.duration)),f.repeatDelay&&(f.repeatDelay=Ca(f.repeatDelay)),f.from!==void 0&&(f.keyframes[0]=f.from);let h=!1;if((f.type===!1||f.duration===0&&!f.repeatDelay)&&(f.duration=0,f.delay===0&&(h=!0)),h&&!a&&t.get()!==void 0){const p=Bp(f.keyframes,u);if(p!==void 0)return Ir.update(()=>{f.onUpdate(p),f.onComplete()}),new Mae([])}return!a&&o2.supports(f)?new o2(f):new x3(f)},Iae=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Bae=e=>U0(e)?e[e.length-1]||0:e;function Lae(e,t){e.indexOf(t)===-1&&e.push(t)}function Vae(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class p9{constructor(){this.subscriptions=[]}add(t){return Lae(this.subscriptions,t),()=>Vae(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const o=this.subscriptions[a];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const s2=30,Nae=e=>!isNaN(parseFloat(e));class jae{constructor(t,n={}){this.version="11.15.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const a=fo.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=fo.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Nae(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Fp(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new p9);const r=this.events[t].add(n);return t==="change"?()=>{r(),Ir.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=fo.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>s2)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,s2);return i9(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Bh(e,t){return new jae(e,t)}function Kae(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Bh(n))}function Uae(e,t){const n=Ip(e,t);let{transitionEnd:r={},transition:i={},...a}=n||{};a={...a,...r};for(const o in a){const u=Bae(a[o]);Kae(e,o,u)}}const D3=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),zae="framerAppearId",m9="data-"+D3(zae);function qae(e){return e.props[m9]}const ur=e=>!!(e&&e.getVelocity);function Wae(e){return!!(ur(e)&&e.add)}function Hae(e,t){const n=e.getValue("willChange");if(Wae(n))return n.add(t)}function Gae({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function g9(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var a;let{transition:o=e.getDefaultTransition(),transitionEnd:u,...l}=t;r&&(o=r);const d=[],f=i&&e.animationState&&e.animationState.getState()[i];for(const h in l){const p=e.getValue(h,(a=e.latestValues[h])!==null&&a!==void 0?a:null),g=l[h];if(g===void 0||f&&Gae(f,h))continue;const y={delay:n,...RF(o||{},h)};let $=!1;if(window.MotionHandoffAnimation){const b=qae(e);if(b){const v=window.MotionHandoffAnimation(b,h,Ir);v!==null&&(y.startTime=v,$=!0)}}Hae(e,h),p.start(kae(h,p,g,e.shouldReduceMotion&&bs.has(h)?{type:!1}:y,e,$));const C=p.animation;C&&d.push(C)}return u&&Promise.all(d).then(()=>{Ir.update(()=>{u&&Uae(e,u)})}),d}function Q0(e,t,n={}){var r;const i=Ip(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(a=n.transitionOverride);const o=i?()=>Promise.all(g9(e,i,n)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:f=0,staggerChildren:h,staggerDirection:p}=a;return Yae(e,t,f+d,h,p,n)}:()=>Promise.resolve(),{when:l}=a;if(l){const[d,f]=l==="beforeChildren"?[o,u]:[u,o];return d().then(()=>f())}else return Promise.all([o(),u(n.delay)])}function Yae(e,t,n=0,r=0,i=1,a){const o=[],u=(e.variantChildren.size-1)*r,l=i===1?(d=0)=>d*r:(d=0)=>u-d*r;return Array.from(e.variantChildren).sort(Zae).forEach((d,f)=>{d.notify("AnimationStart",t),o.push(Q0(d,t,{...a,delay:n+l(f)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(o)}function Zae(e,t){return e.sortNodePosition(t)}function Jae(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>Q0(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=Q0(e,t,n);else{const i=typeof t=="function"?Ip(e,t,n.custom):t;r=Promise.all(g9(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const Xae=u3.length;function y9(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?y9(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Xae;n++){const r=u3[n],i=e.props[r];(Rc(i)||i===!1)&&(t[r]=i)}return t}const Qae=[...s3].reverse(),eoe=s3.length;function toe(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Jae(e,n,r)))}function noe(e){let t=toe(e),n=u2(),r=!0;const i=l=>(d,f)=>{var h;const p=Ip(e,f,l==="exit"?(h=e.presenceContext)===null||h===void 0?void 0:h.custom:void 0);if(p){const{transition:g,transitionEnd:y,...$}=p;d={...d,...$,...y}}return d};function a(l){t=l(e)}function o(l){const{props:d}=e,f=y9(e.parent)||{},h=[],p=new Set;let g={},y=1/0;for(let C=0;C<eoe;C++){const b=Qae[C],v=n[b],D=d[b]!==void 0?d[b]:f[b],A=Rc(D),E=b===l?v.isActive:null;E===!1&&(y=C);let T=D===f[b]&&D!==d[b]&&A;if(T&&r&&e.manuallyAnimateOnMount&&(T=!1),v.protectedKeys={...g},!v.isActive&&E===null||!D&&!v.prevProp||kp(D)||typeof D=="boolean")continue;const R=roe(v.prevProp,D);let S=R||b===l&&v.isActive&&!T&&A||C>y&&A,U=!1;const j=Array.isArray(D)?D:[D];let M=j.reduce(i(b),{});E===!1&&(M={});const{prevResolvedValues:X={}}=v,O={...X,...M},B=V=>{S=!0,p.has(V)&&(U=!0,p.delete(V)),v.needsAnimating[V]=!0;const _=e.getValue(V);_&&(_.liveStyle=!1)};for(const V in O){const _=M[V],H=X[V];if(g.hasOwnProperty(V))continue;let z=!1;U0(_)&&U0(H)?z=!_F(_,H):z=_!==H,z?_!=null?B(V):p.add(V):_!==void 0&&p.has(V)?B(V):v.protectedKeys[V]=!0}v.prevProp=D,v.prevResolvedValues=M,v.isActive&&(g={...g,...M}),r&&e.blockInitialAnimation&&(S=!1),S&&(!(T&&R)||U)&&h.push(...j.map(V=>({animation:V,options:{type:b}})))}if(p.size){const C={};p.forEach(b=>{const v=e.getBaseTarget(b),D=e.getValue(b);D&&(D.liveStyle=!0),C[b]=v??null}),h.push({animation:C})}let $=!!h.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&($=!1),r=!1,$?t(h):Promise.resolve()}function u(l,d){var f;if(n[l].isActive===d)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(p=>{var g;return(g=p.animationState)===null||g===void 0?void 0:g.setActive(l,d)}),n[l].isActive=d;const h=o(l);for(const p in n)n[p].protectedKeys={};return h}return{animateChanges:o,setActive:u,setAnimateFunction:a,getState:()=>n,reset:()=>{n=u2(),r=!0}}}function roe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!_F(t,e):!1}function Lo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function u2(){return{animate:Lo(!0),whileInView:Lo(),whileHover:Lo(),whileTap:Lo(),whileDrag:Lo(),whileFocus:Lo(),exit:Lo()}}class tl{constructor(t){this.isMounted=!1,this.node=t}update(){}}class ioe extends tl{constructor(t){super(t),t.animationState||(t.animationState=noe(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();kp(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let aoe=0;class ooe extends tl{constructor(){super(...arguments),this.id=aoe++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const soe={animation:{Feature:ioe},exit:{Feature:ooe}},uoe={y:!1};function loe(){return uoe.y}const coe=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function v9(e){return{point:{x:e.pageX,y:e.pageY}}}function l2(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function b9(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const c2=()=>({min:0,max:0}),$9=()=>({x:c2(),y:c2()});function doe({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function foe(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function hoe(e,t){return doe(foe(e.getBoundingClientRect(),t))}const x9=x.createContext(null),poe=x.createContext({}),moe=x.createContext({}),goe={},{schedule:yoe}=OF(queueMicrotask,!1);function voe(e){const t=ur(e)?e.get():e;return Iae(t)?t.toValue():t}function boe(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let i=document;const a=(r=void 0)!==null&&r!==void 0?r:i.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}function w9(e,t){const n=boe(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function d2(e){return t=>{t.pointerType==="touch"||loe()||e(t)}}function $oe(e,t,n={}){const[r,i,a]=w9(e,n),o=d2(u=>{const{target:l}=u,d=t(u);if(!d||!l)return;const f=d2(h=>{d(h),l.removeEventListener("pointerleave",f)});l.addEventListener("pointerleave",f,i)});return r.forEach(u=>{u.addEventListener("pointerenter",o,i)}),a}function f2(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,a=r[i];a&&Ir.postRender(()=>a(t,v9(t)))}class xoe extends tl{mount(){const{current:t}=this.node;t&&(this.unmount=$oe(t,n=>(f2(this.node,n,"Start"),r=>f2(this.node,r,"End"))))}unmount(){}}class woe extends tl{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=Lp(l2(this.node.current,"focus",()=>this.onFocus()),l2(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const tc=new WeakSet;function h2(e){return t=>{t.key==="Enter"&&e(t)}}function cb(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Doe=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=h2(()=>{if(tc.has(n))return;cb(n,"down");const i=h2(()=>{cb(n,"up")}),a=()=>cb(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",a,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)},Coe=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Eoe(e){return Coe.has(e.tagName)||e.tabIndex!==-1}const D9=(e,t)=>t?e===t?!0:D9(e,t.parentElement):!1;function p2(e){return coe(e)&&!0}function Soe(e,t,n={}){const[r,i,a]=w9(e,n),o=u=>{const l=u.currentTarget;if(!p2(u)||tc.has(l))return;tc.add(l);const d=t(u),f=(g,y)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",p),!(!p2(g)||!tc.has(l))&&(tc.delete(l),d&&d(g,{success:y}))},h=g=>{f(g,n.useGlobalTarget||D9(l,g.target))},p=g=>{f(g,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",p,i)};return r.forEach(u=>{Eoe(u)||(u.tabIndex=0),(n.useGlobalTarget?window:u).addEventListener("pointerdown",o,i),u.addEventListener("focus",d=>Doe(d,i),i)}),a}function m2(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),a=r[i];a&&Ir.postRender(()=>a(t,v9(t)))}class Aoe extends tl{mount(){const{current:t}=this.node;t&&(this.unmount=Soe(t,n=>(m2(this.node,n,"Start"),(r,{success:i})=>m2(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const e1=new WeakMap,db=new WeakMap,Toe=e=>{const t=e1.get(e.target);t&&t(e)},Poe=e=>{e.forEach(Toe)};function _oe({root:e,...t}){const n=e||document;db.has(n)||db.set(n,{});const r=db.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Poe,{root:e,...t})),r[i]}function Roe(e,t,n){const r=_oe(t);return e1.set(e,n),r.observe(e),()=>{e1.delete(e),r.unobserve(e)}}const Ooe={some:0,all:1};class Moe extends tl{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:Ooe[i]},u=l=>{const{isIntersecting:d}=l;if(this.isInView===d||(this.isInView=d,a&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:f,onViewportLeave:h}=this.node.getProps(),p=d?f:h;p&&p(l)};return Roe(this.node.current,o,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Foe(t,n))&&this.startObserver()}unmount(){}}function Foe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const koe={inView:{Feature:Moe},tap:{Feature:Aoe},focus:{Feature:woe},hover:{Feature:xoe}},C9=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Np=x.createContext({}),C3=typeof window<"u",Ioe=C3?x.useLayoutEffect:x.useEffect,E3=x.createContext({strict:!1});function Boe(e,t,n,r,i){var a,o;const{visualElement:u}=x.useContext(Np),l=x.useContext(E3),d=x.useContext(x9),f=x.useContext(C9).reducedMotion,h=x.useRef(null);r=r||l.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:u,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:f}));const p=h.current,g=x.useContext(moe);p&&!p.projection&&i&&(p.type==="html"||p.type==="svg")&&Loe(h.current,n,i,g);const y=x.useRef(!1);x.useInsertionEffect(()=>{p&&y.current&&p.update(n,d)});const $=n[m9],C=x.useRef(!!$&&!(!((a=window.MotionHandoffIsComplete)===null||a===void 0)&&a.call(window,$))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,$)));return Ioe(()=>{p&&(y.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),yoe.render(p.render),C.current&&p.animationState&&p.animationState.animateChanges())}),x.useEffect(()=>{p&&(!C.current&&p.animationState&&p.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var b;(b=window.MotionHandoffMarkAsComplete)===null||b===void 0||b.call(window,$)}),C.current=!1))}),p}function Loe(e,t,n,r){const{layoutId:i,layout:a,drag:o,dragConstraints:u,layoutScroll:l,layoutRoot:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:E9(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||u&&b9(u),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:d})}function E9(e){if(e)return e.options.allowProjection!==!1?e.projection:E9(e.parent)}function Voe(e,t,n){return x.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):b9(n)&&(n.current=r))},[t])}function jp(e){return kp(e.animate)||u3.some(t=>Rc(e[t]))}function S9(e){return!!(jp(e)||e.variants)}function Noe(e,t){if(jp(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Rc(n)?n:void 0,animate:Rc(r)?r:void 0}}return e.inherit!==!1?t:{}}function joe(e){const{initial:t,animate:n}=Noe(e,x.useContext(Np));return x.useMemo(()=>({initial:t,animate:n}),[g2(t),g2(n)])}function g2(e){return Array.isArray(e)?e.join(" "):e}const y2={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"]},Bu={};for(const e in y2)Bu[e]={isEnabled:t=>y2[e].some(n=>!!t[n])};function v2(e){for(const t in e)Bu[t]={...Bu[t],...e[t]}}const Koe=Symbol.for("motionComponentSymbol");function Uoe({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){function a(u,l){let d;const f={...x.useContext(C9),...u,layoutId:zoe(u)},{isStatic:h}=f,p=joe(u),g=r(u,h);if(!h&&C3){qoe(f,e);const y=Woe(f);d=y.MeasureLayout,p.visualElement=Boe(i,g,f,t,y.ProjectionNode)}return Ea.jsxs(Np.Provider,{value:p,children:[d&&p.visualElement?Ea.jsx(d,{visualElement:p.visualElement,...f}):null,n(i,u,Voe(g,p.visualElement,l),g,h,p.visualElement)]})}const o=x.forwardRef(a);return o[Koe]=i,o}function zoe({layoutId:e}){const t=x.useContext(poe).id;return t&&e!==void 0?t+"-"+e:e}function qoe(e,t){x.useContext(E3).strict,process.env.NODE_ENV}function Woe(e){const{drag:t,layout:n}=Bu;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const Hoe=["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 S3(e){return typeof e!="string"||e.includes("-")?!1:!!(Hoe.indexOf(e)>-1||/[A-Z]/u.test(e))}function A9(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const T9=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function P9(e,t,n,r){A9(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(T9.has(i)?i:D3(i),t.attrs[i])}function _9(e,{layout:t,layoutId:n}){return bs.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!goe[e]||e==="opacity")}function A3(e,t,n){var r;const{style:i}=e,a={};for(const o in i)(ur(i[o])||t.style&&ur(t.style[o])||_9(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(a[o]=i[o]);return a}function R9(e,t,n){const r=A3(e,t,n);for(const i in e)if(ur(e[i])||ur(t[i])){const a=ad.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[a]=e[i]}return r}function Goe(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}function Yoe({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,a){const o={latestValues:Zoe(r,i,a,e),renderState:t()};return n&&(o.mount=u=>n(r,u,o)),o}const O9=e=>(t,n)=>{const r=x.useContext(Np),i=x.useContext(x9),a=()=>Yoe(e,t,r,i);return n?a():Goe(a)};function Zoe(e,t,n,r){const i={},a=r(e,{});for(const p in a)i[p]=voe(a[p]);let{initial:o,animate:u}=e;const l=jp(e),d=S9(e);t&&d&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),u===void 0&&(u=t.animate));let f=n?n.initial===!1:!1;f=f||o===!1;const h=f?u:o;if(h&&typeof h!="boolean"&&!kp(h)){const p=Array.isArray(h)?h:[h];for(let g=0;g<p.length;g++){const y=o3(e,p[g]);if(y){const{transitionEnd:$,transition:C,...b}=y;for(const v in b){let D=b[v];if(Array.isArray(D)){const A=f?D.length-1:0;D=D[A]}D!==null&&(i[v]=D)}for(const v in $)i[v]=$[v]}}}return i}const T3=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),M9=()=>({...T3(),attrs:{}}),F9=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Joe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Xoe=ad.length;function Qoe(e,t,n){let r="",i=!0;for(let a=0;a<Xoe;a++){const o=ad[a],u=e[o];if(u===void 0)continue;let l=!0;if(typeof u=="number"?l=u===(o.startsWith("scale")?1:0):l=parseFloat(u)===0,!l||n){const d=F9(u,m3[o]);if(!l){i=!1;const f=Joe[o]||o;r+=`${f}(${d}) `}n&&(t[o]=d)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function P3(e,t,n){const{style:r,vars:i,transformOrigin:a}=e;let o=!1,u=!1;for(const l in t){const d=t[l];if(bs.has(l)){o=!0;continue}else if(UF(l)){i[l]=d;continue}else{const f=F9(d,m3[l]);l.startsWith("origin")?(u=!0,a[l]=f):r[l]=f}}if(t.transform||(o||n?r.transform=Qoe(t,e.transform,n):r.transform&&(r.transform="none")),u){const{originX:l="50%",originY:d="50%",originZ:f=0}=a;r.transformOrigin=`${l} ${d} ${f}`}}function b2(e,t,n){return typeof e=="string"?e:Ze.transform(t+n*e)}function ese(e,t,n){const r=b2(t,e.x,e.width),i=b2(n,e.y,e.height);return`${r} ${i}`}const tse={offset:"stroke-dashoffset",array:"stroke-dasharray"},nse={offset:"strokeDashoffset",array:"strokeDasharray"};function rse(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?tse:nse;e[a.offset]=Ze.transform(-r);const o=Ze.transform(t),u=Ze.transform(n);e[a.array]=`${o} ${u}`}function _3(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:o,pathSpacing:u=1,pathOffset:l=0,...d},f,h){if(P3(e,d,h),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:g,dimensions:y}=e;p.transform&&(y&&(g.transform=p.transform),delete p.transform),y&&(i!==void 0||a!==void 0||g.transform)&&(g.transformOrigin=ese(y,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),o!==void 0&&rse(p,o,u,l,!1)}const R3=e=>typeof e=="string"&&e.toLowerCase()==="svg",ise={useVisualState:O9({scrapeMotionValuesFromProps:R9,createRenderState:M9,onMount:(e,t,{renderState:n,latestValues:r})=>{Ir.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Ir.render(()=>{_3(n,r,R3(t.tagName),e.transformTemplate),P9(t,n)})}})},ase={useVisualState:O9({scrapeMotionValuesFromProps:A3,createRenderState:T3})};function k9(e,t,n){for(const r in t)!ur(t[r])&&!_9(r,n)&&(e[r]=t[r])}function ose({transformTemplate:e},t){return x.useMemo(()=>{const n=T3();return P3(n,t,e),Object.assign({},n.vars,n.style)},[t])}function sse(e,t){const n=e.style||{},r={};return k9(r,n,e),Object.assign(r,ose(e,t)),r}function use(e,t){const n={},r=sse(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const lse=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 Lh(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||lse.has(e)}let I9=e=>!Lh(e);function cse(e){e&&(I9=t=>t.startsWith("on")?!Lh(t):e(t))}try{cse(require("@emotion/is-prop-valid").default)}catch{}function dse(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(I9(i)||n===!0&&Lh(i)||!t&&!Lh(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function fse(e,t,n,r){const i=x.useMemo(()=>{const a=M9();return _3(a,t,R3(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};k9(a,e.style,e),i.style={...a,...i.style}}return i}function hse(e=!1){return(n,r,i,{latestValues:a},o)=>{const l=(S3(n)?fse:use)(r,a,o,n),d=dse(r,typeof n=="string",e),f=n!==x.Fragment?{...d,...l,ref:i}:{},{children:h}=r,p=x.useMemo(()=>ur(h)?h.get():h,[h]);return x.createElement(n,{...f,children:p})}}function pse(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const o={...S3(r)?ise:ase,preloadedFeatures:e,useRender:hse(i),createVisualElement:t,Component:r};return Uoe(o)}}const t1={current:null},B9={current:!1};function mse(){if(B9.current=!0,!!C3)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>t1.current=e.matches;e.addListener(t),t()}else t1.current=!1}function gse(e,t,n){for(const r in t){const i=t[r],a=n[r];if(ur(i))e.addValue(r,i),process.env.NODE_ENV==="development"&&Fp(i.version==="11.15.0",`Attempting to mix Motion versions ${i.version} with 11.15.0 may not work as expected.`);else if(ur(a))e.addValue(r,Bh(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,Bh(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const $2=new WeakMap,yse=[...WF,Yn,el],vse=e=>yse.find(qF(e)),x2=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class bse{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:a,visualState:o},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=f3,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=()=>{const p=fo.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,Ir.render(this.render,!1,!0))};const{latestValues:l,renderState:d}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=u,this.blockInitialAnimation=!!a,this.isControllingVariants=jp(n),this.isVariantNode=S9(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in h){const g=h[p];l[p]!==void 0&&ur(g)&&g.set(l[p],!1)}}mount(t){this.current=t,$2.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((n,r)=>this.bindToMotionValue(r,n)),B9.current||mse(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:t1.current,process.env.NODE_ENV!=="production"&&Fp(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){$2.delete(this.current),this.projection&&this.projection.unmount(),z0(this.notifyUpdate),z0(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=bs.has(t),i=n.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&Ir.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),a(),o&&o(),n.owner&&n.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 Bu){const n=Bu[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const 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):$9()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<x2.length;r++){const i=x2[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a="on"+i,o=t[a];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=gse(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){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Bh(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(jF(i)||NF(i))?i=parseFloat(i):!vse(i)&&el.test(n)&&(i=e9(t,n)),this.setBaseTarget(t,ur(i)?i.get():i)),ur(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const o=o3(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[t])}if(r&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!ur(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new p9),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class L9 extends bse{constructor(){super(...arguments),this.KeyframeResolver=t9}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ur(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function $se(e){return window.getComputedStyle(e)}class xse extends L9{constructor(){super(...arguments),this.type="html",this.renderInstance=A9}readValueFromInstance(t,n){if(bs.has(n)){const r=g3(n);return r&&r.default||0}else{const r=$se(t),i=(UF(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return hoe(t,n)}build(t,n,r){P3(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return A3(t,n,r)}}class wse extends L9{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$9}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(bs.has(n)){const r=g3(n);return r&&r.default||0}return n=T9.has(n)?n:D3(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return R9(t,n,r)}build(t,n,r){_3(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){P9(t,n,r,i)}mount(t){this.isSVGTag=R3(t.tagName),super.mount(t)}}const Dse=(e,t)=>S3(e)?new wse(t):new xse(t,{allowProjection:e!==x.Fragment}),Cse=pse(),Ese=Xre(Cse);function Sse({children:e,features:t,strict:n=!1}){const[,r]=x.useState(!fb(t)),i=x.useRef(void 0);if(!fb(t)){const{renderer:a,...o}=t;i.current=a,v2(o)}return x.useEffect(()=>{fb(t)&&t().then(({renderer:a,...o})=>{v2(o),i.current=a,r(!0)})},[]),Ea.jsx(E3.Provider,{value:{renderer:i.current,strict:n},children:e})}function fb(e){return typeof e=="function"}const Ase={renderer:Dse,...soe,...koe};function V9(e){return t=>typeof t===e}var Tse=V9("function"),Pse=e=>e===null,w2=e=>Object.prototype.toString.call(e).slice(8,-1)==="RegExp",D2=e=>!_se(e)&&!Pse(e)&&(Tse(e)||typeof e=="object"),_se=V9("undefined");function Rse(e,t){const{length:n}=e;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!lr(e[r],t[r]))return!1;return!0}function Ose(e,t){if(e.byteLength!==t.byteLength)return!1;const n=new DataView(e.buffer),r=new DataView(t.buffer);let i=e.byteLength;for(;i--;)if(n.getUint8(i)!==r.getUint8(i))return!1;return!0}function Mse(e,t){if(e.size!==t.size)return!1;for(const n of e.entries())if(!t.has(n[0]))return!1;for(const n of e.entries())if(!lr(n[1],t.get(n[0])))return!1;return!0}function Fse(e,t){if(e.size!==t.size)return!1;for(const n of e.entries())if(!t.has(n[0]))return!1;return!0}function lr(e,t){if(e===t)return!0;if(e&&D2(e)&&t&&D2(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return Rse(e,t);if(e instanceof Map&&t instanceof Map)return Mse(e,t);if(e instanceof Set&&t instanceof Set)return Fse(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return Ose(e,t);if(w2(e)&&w2(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=n.length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(let i=n.length;i--!==0;){const a=n[i];if(!(a==="_owner"&&e.$$typeof)&&!lr(e[a],t[a]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}var kse=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],Ise=["bigint","boolean","null","number","string","symbol","undefined"];function Kp(e){const t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(Bse(t))return t}function Si(e){return t=>Kp(t)===e}function Bse(e){return kse.includes(e)}function nl(e){return t=>typeof t===e}function Lse(e){return Ise.includes(e)}var Vse=["innerHTML","ownerDocument","style","attributes","nodeValue"];function Oe(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(Oe.array(e))return"Array";if(Oe.plainFunction(e))return"Function";const t=Kp(e);return t||"Object"}Oe.array=Array.isArray;Oe.arrayOf=(e,t)=>!Oe.array(e)&&!Oe.function(t)?!1:e.every(n=>t(n));Oe.asyncGeneratorFunction=e=>Kp(e)==="AsyncGeneratorFunction";Oe.asyncFunction=Si("AsyncFunction");Oe.bigint=nl("bigint");Oe.boolean=e=>e===!0||e===!1;Oe.date=Si("Date");Oe.defined=e=>!Oe.undefined(e);Oe.domElement=e=>Oe.object(e)&&!Oe.plainObject(e)&&e.nodeType===1&&Oe.string(e.nodeName)&&Vse.every(t=>t in e);Oe.empty=e=>Oe.string(e)&&e.length===0||Oe.array(e)&&e.length===0||Oe.object(e)&&!Oe.map(e)&&!Oe.set(e)&&Object.keys(e).length===0||Oe.set(e)&&e.size===0||Oe.map(e)&&e.size===0;Oe.error=Si("Error");Oe.function=nl("function");Oe.generator=e=>Oe.iterable(e)&&Oe.function(e.next)&&Oe.function(e.throw);Oe.generatorFunction=Si("GeneratorFunction");Oe.instanceOf=(e,t)=>!e||!t?!1:Object.getPrototypeOf(e)===t.prototype;Oe.iterable=e=>!Oe.nullOrUndefined(e)&&Oe.function(e[Symbol.iterator]);Oe.map=Si("Map");Oe.nan=e=>Number.isNaN(e);Oe.null=e=>e===null;Oe.nullOrUndefined=e=>Oe.null(e)||Oe.undefined(e);Oe.number=e=>nl("number")(e)&&!Oe.nan(e);Oe.numericString=e=>Oe.string(e)&&e.length>0&&!Number.isNaN(Number(e));Oe.object=e=>!Oe.nullOrUndefined(e)&&(Oe.function(e)||typeof e=="object");Oe.oneOf=(e,t)=>Oe.array(e)?e.indexOf(t)>-1:!1;Oe.plainFunction=Si("Function");Oe.plainObject=e=>{if(Kp(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};Oe.primitive=e=>Oe.null(e)||Lse(typeof e);Oe.promise=Si("Promise");Oe.propertyOf=(e,t,n)=>{if(!Oe.object(e)||!t)return!1;const r=e[t];return Oe.function(n)?n(r):Oe.defined(r)};Oe.regexp=Si("RegExp");Oe.set=Si("Set");Oe.string=nl("string");Oe.symbol=nl("symbol");Oe.undefined=nl("undefined");Oe.weakMap=Si("WeakMap");Oe.weakSet=Si("WeakSet");var ke=Oe;function Nse(...e){return e.every(t=>ke.string(t)||ke.array(t)||ke.plainObject(t))}function jse(e,t,n){return N9(e,t)?[e,t].every(ke.array)?!e.some(T2(n))&&t.some(T2(n)):[e,t].every(ke.plainObject)?!Object.entries(e).some(A2(n))&&Object.entries(t).some(A2(n)):t===n:!1}function C2(e,t,n){const{actual:r,key:i,previous:a,type:o}=n,u=zi(e,i),l=zi(t,i);let d=[u,l].every(ke.number)&&(o==="increased"?u<l:u>l);return ke.undefined(r)||(d=d&&l===r),ke.undefined(a)||(d=d&&u===a),d}function E2(e,t,n){const{key:r,type:i,value:a}=n,o=zi(e,r),u=zi(t,r),l=i==="added"?o:u,d=i==="added"?u:o;if(!ke.nullOrUndefined(a)){if(ke.defined(l)){if(ke.array(l)||ke.plainObject(l))return jse(l,d,a)}else return lr(d,a);return!1}return[o,u].every(ke.array)?!d.every(O3(l)):[o,u].every(ke.plainObject)?Kse(Object.keys(l),Object.keys(d)):![o,u].every(f=>ke.primitive(f)&&ke.defined(f))&&(i==="added"?!ke.defined(o)&&ke.defined(u):ke.defined(o)&&!ke.defined(u))}function S2(e,t,{key:n}={}){let r=zi(e,n),i=zi(t,n);if(!N9(r,i))throw new TypeError("Inputs have different types");if(!Nse(r,i))throw new TypeError("Inputs don't have length");return[r,i].every(ke.plainObject)&&(r=Object.keys(r),i=Object.keys(i)),[r,i]}function A2(e){return([t,n])=>ke.array(e)?lr(e,n)||e.some(r=>lr(r,n)||ke.array(n)&&O3(n)(r)):ke.plainObject(e)&&e[t]?!!e[t]&&lr(e[t],n):lr(e,n)}function Kse(e,t){return t.some(n=>!e.includes(n))}function T2(e){return t=>ke.array(e)?e.some(n=>lr(n,t)||ke.array(t)&&O3(t)(n)):lr(e,t)}function Ll(e,t){return ke.array(e)?e.some(n=>lr(n,t)):lr(e,t)}function O3(e){return t=>e.some(n=>lr(n,t))}function N9(...e){return e.every(ke.array)||e.every(ke.number)||e.every(ke.plainObject)||e.every(ke.string)}function zi(e,t){return ke.plainObject(e)||ke.array(e)?ke.string(t)?t.split(".").reduce((r,i)=>r&&r[i],e):ke.number(t)?e[t]:e:e}function Vh(e,t){if([e,t].some(ke.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every(f=>ke.plainObject(f)||ke.array(f)))throw new Error("Expected plain objects or array");return{added:(f,h)=>{try{return E2(e,t,{key:f,type:"added",value:h})}catch{return!1}},changed:(f,h,p)=>{try{const g=zi(e,f),y=zi(t,f),$=ke.defined(h),C=ke.defined(p);if($||C){const b=C?Ll(p,g):!Ll(h,g),v=Ll(h,y);return b&&v}return[g,y].every(ke.array)||[g,y].every(ke.plainObject)?!lr(g,y):g!==y}catch{return!1}},changedFrom:(f,h,p)=>{if(!ke.defined(f))return!1;try{const g=zi(e,f),y=zi(t,f),$=ke.defined(p);return Ll(h,g)&&($?Ll(p,y):!$)}catch{return!1}},decreased:(f,h,p)=>{if(!ke.defined(f))return!1;try{return C2(e,t,{key:f,actual:h,previous:p,type:"decreased"})}catch{return!1}},emptied:f=>{try{const[h,p]=S2(e,t,{key:f});return!!h.length&&!p.length}catch{return!1}},filled:f=>{try{const[h,p]=S2(e,t,{key:f});return!h.length&&!!p.length}catch{return!1}},increased:(f,h,p)=>{if(!ke.defined(f))return!1;try{return C2(e,t,{key:f,actual:h,previous:p,type:"increased"})}catch{return!1}},removed:(f,h)=>{try{return E2(e,t,{key:f,type:"removed",value:h})}catch{return!1}}}}var hb,P2;function Use(){if(P2)return hb;P2=1;var e=new Error("Element already at target scroll position"),t=new Error("Scroll cancelled"),n=Math.min,r=Date.now;hb={left:i("scrollLeft"),top:i("scrollTop")};function i(u){return function(d,f,h,p){h=h||{},typeof h=="function"&&(p=h,h={}),typeof p!="function"&&(p=o);var g=r(),y=d[u],$=h.ease||a,C=isNaN(h.duration)?350:+h.duration,b=!1;return y===f?p(e,d[u]):requestAnimationFrame(D),v;function v(){b=!0}function D(A){if(b)return p(t,d[u]);var E=r(),T=n(1,(E-g)/C),R=$(T);d[u]=R*(f-y)+y,T<1?requestAnimationFrame(D):requestAnimationFrame(function(){p(null,d[u])})}}}function a(u){return .5*(1-Math.cos(Math.PI*u))}function o(){}return hb}var zse=Use();const qse=Qi(zse);var Gf={exports:{}},Wse=Gf.exports,_2;function Hse(){return _2||(_2=1,function(e){(function(t,n){e.exports?e.exports=n():t.Scrollparent=n()})(Wse,function(){function t(r){var i=getComputedStyle(r,null).getPropertyValue("overflow");return i.indexOf("scroll")>-1||i.indexOf("auto")>-1}function n(r){if(r instanceof HTMLElement||r instanceof SVGElement){for(var i=r.parentNode;i.parentNode;){if(t(i))return i;i=i.parentNode}return document.scrollingElement||document.documentElement}}return n})}(Gf)),Gf.exports}var Gse=Hse();const j9=Qi(Gse);var pb,R2;function Yse(){if(R2)return pb;R2=1;var e=function(r){return Object.prototype.hasOwnProperty.call(r,"props")},t=function(r,i){return r+n(i)},n=function(r){return r===null||typeof r=="boolean"||typeof r>"u"?"":typeof r=="number"?r.toString():typeof r=="string"?r:Array.isArray(r)?r.reduce(t,""):e(r)&&Object.prototype.hasOwnProperty.call(r.props,"children")?n(r.props.children):""};return n.default=n,pb=n,pb}var Zse=Yse();const O2=Qi(Zse);var mb,M2;function Jse(){if(M2)return mb;M2=1;var e=function(v){return t(v)&&!n(v)};function t(b){return!!b&&typeof b=="object"}function n(b){var v=Object.prototype.toString.call(b);return v==="[object RegExp]"||v==="[object Date]"||a(b)}var r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103;function a(b){return b.$$typeof===i}function o(b){return Array.isArray(b)?[]:{}}function u(b,v){return v.clone!==!1&&v.isMergeableObject(b)?$(o(b),b,v):b}function l(b,v,D){return b.concat(v).map(function(A){return u(A,D)})}function d(b,v){if(!v.customMerge)return $;var D=v.customMerge(b);return typeof D=="function"?D:$}function f(b){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(b).filter(function(v){return Object.propertyIsEnumerable.call(b,v)}):[]}function h(b){return Object.keys(b).concat(f(b))}function p(b,v){try{return v in b}catch{return!1}}function g(b,v){return p(b,v)&&!(Object.hasOwnProperty.call(b,v)&&Object.propertyIsEnumerable.call(b,v))}function y(b,v,D){var A={};return D.isMergeableObject(b)&&h(b).forEach(function(E){A[E]=u(b[E],D)}),h(v).forEach(function(E){g(b,E)||(p(b,E)&&D.isMergeableObject(v[E])?A[E]=d(E,D)(b[E],v[E],D):A[E]=u(v[E],D))}),A}function $(b,v,D){D=D||{},D.arrayMerge=D.arrayMerge||l,D.isMergeableObject=D.isMergeableObject||e,D.cloneUnlessOtherwiseSpecified=u;var A=Array.isArray(v),E=Array.isArray(b),T=A===E;return T?A?D.arrayMerge(b,v,D):y(b,v,D):u(v,D)}$.all=function(v,D){if(!Array.isArray(v))throw new Error("first argument should be an array");return v.reduce(function(A,E){return $(A,E,D)},{})};var C=$;return mb=C,mb}var Xse=Jse();const bi=Qi(Xse);var Sf={exports:{}},Af={exports:{}},Ct={};/** @license React v16.13.1
156
- * react-is.production.min.js
157
- *
158
- * Copyright (c) Facebook, Inc. and its affiliates.
159
- *
160
- * This source code is licensed under the MIT license found in the
161
- * LICENSE file in the root directory of this source tree.
162
- */var F2;function Qse(){if(F2)return Ct;F2=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,$=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function D(E){if(typeof E=="object"&&E!==null){var T=E.$$typeof;switch(T){case t:switch(E=E.type,E){case l:case d:case r:case a:case i:case h:return E;default:switch(E=E&&E.$$typeof,E){case u:case f:case y:case g:case o:return E;default:return T}}case n:return T}}}function A(E){return D(E)===d}return Ct.AsyncMode=l,Ct.ConcurrentMode=d,Ct.ContextConsumer=u,Ct.ContextProvider=o,Ct.Element=t,Ct.ForwardRef=f,Ct.Fragment=r,Ct.Lazy=y,Ct.Memo=g,Ct.Portal=n,Ct.Profiler=a,Ct.StrictMode=i,Ct.Suspense=h,Ct.isAsyncMode=function(E){return A(E)||D(E)===l},Ct.isConcurrentMode=A,Ct.isContextConsumer=function(E){return D(E)===u},Ct.isContextProvider=function(E){return D(E)===o},Ct.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===t},Ct.isForwardRef=function(E){return D(E)===f},Ct.isFragment=function(E){return D(E)===r},Ct.isLazy=function(E){return D(E)===y},Ct.isMemo=function(E){return D(E)===g},Ct.isPortal=function(E){return D(E)===n},Ct.isProfiler=function(E){return D(E)===a},Ct.isStrictMode=function(E){return D(E)===i},Ct.isSuspense=function(E){return D(E)===h},Ct.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===r||E===d||E===a||E===i||E===h||E===p||typeof E=="object"&&E!==null&&(E.$$typeof===y||E.$$typeof===g||E.$$typeof===o||E.$$typeof===u||E.$$typeof===f||E.$$typeof===C||E.$$typeof===b||E.$$typeof===v||E.$$typeof===$)},Ct.typeOf=D,Ct}var Et={};/** @license React v16.13.1
163
- * react-is.development.js
164
- *
165
- * Copyright (c) Facebook, Inc. and its affiliates.
166
- *
167
- * This source code is licensed under the MIT license found in the
168
- * LICENSE file in the root directory of this source tree.
169
- */var k2;function eue(){return k2||(k2=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,$=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function D(oe){return typeof oe=="string"||typeof oe=="function"||oe===r||oe===d||oe===a||oe===i||oe===h||oe===p||typeof oe=="object"&&oe!==null&&(oe.$$typeof===y||oe.$$typeof===g||oe.$$typeof===o||oe.$$typeof===u||oe.$$typeof===f||oe.$$typeof===C||oe.$$typeof===b||oe.$$typeof===v||oe.$$typeof===$)}function A(oe){if(typeof oe=="object"&&oe!==null){var Fe=oe.$$typeof;switch(Fe){case t:var et=oe.type;switch(et){case l:case d:case r:case a:case i:case h:return et;default:var dt=et&&et.$$typeof;switch(dt){case u:case f:case y:case g:case o:return dt;default:return Fe}}case n:return Fe}}}var E=l,T=d,R=u,S=o,U=t,j=f,M=r,X=y,O=g,B=n,q=a,k=i,V=h,_=!1;function H(oe){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),z(oe)||A(oe)===l}function z(oe){return A(oe)===d}function N(oe){return A(oe)===u}function ne(oe){return A(oe)===o}function ie(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===t}function le(oe){return A(oe)===f}function $e(oe){return A(oe)===r}function De(oe){return A(oe)===y}function Ce(oe){return A(oe)===g}function Y(oe){return A(oe)===n}function he(oe){return A(oe)===a}function ye(oe){return A(oe)===i}function fe(oe){return A(oe)===h}Et.AsyncMode=E,Et.ConcurrentMode=T,Et.ContextConsumer=R,Et.ContextProvider=S,Et.Element=U,Et.ForwardRef=j,Et.Fragment=M,Et.Lazy=X,Et.Memo=O,Et.Portal=B,Et.Profiler=q,Et.StrictMode=k,Et.Suspense=V,Et.isAsyncMode=H,Et.isConcurrentMode=z,Et.isContextConsumer=N,Et.isContextProvider=ne,Et.isElement=ie,Et.isForwardRef=le,Et.isFragment=$e,Et.isLazy=De,Et.isMemo=Ce,Et.isPortal=Y,Et.isProfiler=he,Et.isStrictMode=ye,Et.isSuspense=fe,Et.isValidElementType=D,Et.typeOf=A}()),Et}var I2;function K9(){return I2||(I2=1,process.env.NODE_ENV==="production"?Af.exports=Qse():Af.exports=eue()),Af.exports}/*
170
- object-assign
171
- (c) Sindre Sorhus
172
- @license MIT
173
- */var gb,B2;function tue(){if(B2)return gb;B2=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var o={},u=0;u<10;u++)o["_"+String.fromCharCode(u)]=u;var l=Object.getOwnPropertyNames(o).map(function(f){return o[f]});if(l.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(f){d[f]=f}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return gb=i()?Object.assign:function(a,o){for(var u,l=r(a),d,f=1;f<arguments.length;f++){u=Object(arguments[f]);for(var h in u)t.call(u,h)&&(l[h]=u[h]);if(e){d=e(u);for(var p=0;p<d.length;p++)n.call(u,d[p])&&(l[d[p]]=u[d[p]])}}return l},gb}var yb,L2;function M3(){if(L2)return yb;L2=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return yb=e,yb}var vb,V2;function U9(){return V2||(V2=1,vb=Function.call.bind(Object.prototype.hasOwnProperty)),vb}var bb,N2;function nue(){if(N2)return bb;N2=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=M3(),n={},r=U9();e=function(a){var o="Warning: "+a;typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}}}function i(a,o,u,l,d){if(process.env.NODE_ENV!=="production"){for(var f in a)if(r(a,f)){var h;try{if(typeof a[f]!="function"){var p=Error((l||"React class")+": "+u+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}h=a[f](o,f,l,u,null,t)}catch(y){h=y}if(h&&!(h instanceof Error)&&e((l||"React class")+": type specification of "+u+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in n)){n[h.message]=!0;var g=d?d():"";e("Failed "+u+" type: "+h.message+(g??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},bb=i,bb}var $b,j2;function rue(){if(j2)return $b;j2=1;var e=K9(),t=tue(),n=M3(),r=U9(),i=nue(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(u){var l="Warning: "+u;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function o(){return null}return $b=function(u,l){var d=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function h(z){var N=z&&(d&&z[d]||z[f]);if(typeof N=="function")return N}var p="<<anonymous>>",g={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:v(),arrayOf:D,element:A(),elementType:E(),instanceOf:T,node:j(),objectOf:S,oneOf:R,oneOfType:U,shape:X,exact:O};function y(z,N){return z===N?z!==0||1/z===1/N:z!==z&&N!==N}function $(z,N){this.message=z,this.data=N&&typeof N=="object"?N:{},this.stack=""}$.prototype=Error.prototype;function C(z){if(process.env.NODE_ENV!=="production")var N={},ne=0;function ie($e,De,Ce,Y,he,ye,fe){if(Y=Y||p,ye=ye||Ce,fe!==n){if(l){var oe=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw oe.name="Invariant Violation",oe}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Fe=Y+":"+Ce;!N[Fe]&&ne<3&&(a("You are manually calling a React.PropTypes validation function for the `"+ye+"` prop on `"+Y+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),N[Fe]=!0,ne++)}}return De[Ce]==null?$e?De[Ce]===null?new $("The "+he+" `"+ye+"` is marked as required "+("in `"+Y+"`, but its value is `null`.")):new $("The "+he+" `"+ye+"` is marked as required in "+("`"+Y+"`, but its value is `undefined`.")):null:z(De,Ce,Y,he,ye)}var le=ie.bind(null,!1);return le.isRequired=ie.bind(null,!0),le}function b(z){function N(ne,ie,le,$e,De,Ce){var Y=ne[ie],he=k(Y);if(he!==z){var ye=V(Y);return new $("Invalid "+$e+" `"+De+"` of type "+("`"+ye+"` supplied to `"+le+"`, expected ")+("`"+z+"`."),{expectedType:z})}return null}return C(N)}function v(){return C(o)}function D(z){function N(ne,ie,le,$e,De){if(typeof z!="function")return new $("Property `"+De+"` of component `"+le+"` has invalid PropType notation inside arrayOf.");var Ce=ne[ie];if(!Array.isArray(Ce)){var Y=k(Ce);return new $("Invalid "+$e+" `"+De+"` of type "+("`"+Y+"` supplied to `"+le+"`, expected an array."))}for(var he=0;he<Ce.length;he++){var ye=z(Ce,he,le,$e,De+"["+he+"]",n);if(ye instanceof Error)return ye}return null}return C(N)}function A(){function z(N,ne,ie,le,$e){var De=N[ne];if(!u(De)){var Ce=k(De);return new $("Invalid "+le+" `"+$e+"` of type "+("`"+Ce+"` supplied to `"+ie+"`, expected a single ReactElement."))}return null}return C(z)}function E(){function z(N,ne,ie,le,$e){var De=N[ne];if(!e.isValidElementType(De)){var Ce=k(De);return new $("Invalid "+le+" `"+$e+"` of type "+("`"+Ce+"` supplied to `"+ie+"`, expected a single ReactElement type."))}return null}return C(z)}function T(z){function N(ne,ie,le,$e,De){if(!(ne[ie]instanceof z)){var Ce=z.name||p,Y=H(ne[ie]);return new $("Invalid "+$e+" `"+De+"` of type "+("`"+Y+"` supplied to `"+le+"`, expected ")+("instance of `"+Ce+"`."))}return null}return C(N)}function R(z){if(!Array.isArray(z))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),o;function N(ne,ie,le,$e,De){for(var Ce=ne[ie],Y=0;Y<z.length;Y++)if(y(Ce,z[Y]))return null;var he=JSON.stringify(z,function(fe,oe){var Fe=V(oe);return Fe==="symbol"?String(oe):oe});return new $("Invalid "+$e+" `"+De+"` of value `"+String(Ce)+"` "+("supplied to `"+le+"`, expected one of "+he+"."))}return C(N)}function S(z){function N(ne,ie,le,$e,De){if(typeof z!="function")return new $("Property `"+De+"` of component `"+le+"` has invalid PropType notation inside objectOf.");var Ce=ne[ie],Y=k(Ce);if(Y!=="object")return new $("Invalid "+$e+" `"+De+"` of type "+("`"+Y+"` supplied to `"+le+"`, expected an object."));for(var he in Ce)if(r(Ce,he)){var ye=z(Ce,he,le,$e,De+"."+he,n);if(ye instanceof Error)return ye}return null}return C(N)}function U(z){if(!Array.isArray(z))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var N=0;N<z.length;N++){var ne=z[N];if(typeof ne!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+_(ne)+" at index "+N+"."),o}function ie(le,$e,De,Ce,Y){for(var he=[],ye=0;ye<z.length;ye++){var fe=z[ye],oe=fe(le,$e,De,Ce,Y,n);if(oe==null)return null;oe.data&&r(oe.data,"expectedType")&&he.push(oe.data.expectedType)}var Fe=he.length>0?", expected one of type ["+he.join(", ")+"]":"";return new $("Invalid "+Ce+" `"+Y+"` supplied to "+("`"+De+"`"+Fe+"."))}return C(ie)}function j(){function z(N,ne,ie,le,$e){return B(N[ne])?null:new $("Invalid "+le+" `"+$e+"` supplied to "+("`"+ie+"`, expected a ReactNode."))}return C(z)}function M(z,N,ne,ie,le){return new $((z||"React class")+": "+N+" type `"+ne+"."+ie+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+le+"`.")}function X(z){function N(ne,ie,le,$e,De){var Ce=ne[ie],Y=k(Ce);if(Y!=="object")return new $("Invalid "+$e+" `"+De+"` of type `"+Y+"` "+("supplied to `"+le+"`, expected `object`."));for(var he in z){var ye=z[he];if(typeof ye!="function")return M(le,$e,De,he,V(ye));var fe=ye(Ce,he,le,$e,De+"."+he,n);if(fe)return fe}return null}return C(N)}function O(z){function N(ne,ie,le,$e,De){var Ce=ne[ie],Y=k(Ce);if(Y!=="object")return new $("Invalid "+$e+" `"+De+"` of type `"+Y+"` "+("supplied to `"+le+"`, expected `object`."));var he=t({},ne[ie],z);for(var ye in he){var fe=z[ye];if(r(z,ye)&&typeof fe!="function")return M(le,$e,De,ye,V(fe));if(!fe)return new $("Invalid "+$e+" `"+De+"` key `"+ye+"` supplied to `"+le+"`.\nBad object: "+JSON.stringify(ne[ie],null," ")+`
174
- Valid keys: `+JSON.stringify(Object.keys(z),null," "));var oe=fe(Ce,ye,le,$e,De+"."+ye,n);if(oe)return oe}return null}return C(N)}function B(z){switch(typeof z){case"number":case"string":case"undefined":return!0;case"boolean":return!z;case"object":if(Array.isArray(z))return z.every(B);if(z===null||u(z))return!0;var N=h(z);if(N){var ne=N.call(z),ie;if(N!==z.entries){for(;!(ie=ne.next()).done;)if(!B(ie.value))return!1}else for(;!(ie=ne.next()).done;){var le=ie.value;if(le&&!B(le[1]))return!1}}else return!1;return!0;default:return!1}}function q(z,N){return z==="symbol"?!0:N?N["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&N instanceof Symbol:!1}function k(z){var N=typeof z;return Array.isArray(z)?"array":z instanceof RegExp?"object":q(N,z)?"symbol":N}function V(z){if(typeof z>"u"||z===null)return""+z;var N=k(z);if(N==="object"){if(z instanceof Date)return"date";if(z instanceof RegExp)return"regexp"}return N}function _(z){var N=V(z);switch(N){case"array":case"object":return"an "+N;case"boolean":case"date":case"regexp":return"a "+N;default:return N}}function H(z){return!z.constructor||!z.constructor.name?p:z.constructor.name}return g.checkPropTypes=i,g.resetWarningCache=i.resetWarningCache,g.PropTypes=g,g},$b}var xb,K2;function iue(){if(K2)return xb;K2=1;var e=M3();function t(){}function n(){}return n.resetWarningCache=t,xb=function(){function r(o,u,l,d,f,h){if(h!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},xb}var U2;function aue(){if(U2)return Sf.exports;if(U2=1,process.env.NODE_ENV!=="production"){var e=K9(),t=!0;Sf.exports=rue()(e.isElement,t)}else Sf.exports=iue()();return Sf.exports}var oue=aue();const Se=Qi(oue);/**!
175
- * @fileOverview Kickass library to create and place poppers near their reference elements.
176
- * @version 1.16.1
177
- * @license
178
- * Copyright (c) 2016 Federico Zivolo and contributors
179
- *
180
- * Permission is hereby granted, free of charge, to any person obtaining a copy
181
- * of this software and associated documentation files (the "Software"), to deal
182
- * in the Software without restriction, including without limitation the rights
183
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
184
- * copies of the Software, and to permit persons to whom the Software is
185
- * furnished to do so, subject to the following conditions:
186
- *
187
- * The above copyright notice and this permission notice shall be included in all
188
- * copies or substantial portions of the Software.
189
- *
190
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
191
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
192
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
193
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
194
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
195
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
196
- * SOFTWARE.
197
- */var ld=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",sue=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(ld&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function uue(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function lue(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},sue))}}var cue=ld&&window.Promise,due=cue?uue:lue;function z9(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function $s(e,t){if(e.nodeType!==1)return[];var n=e.ownerDocument.defaultView,r=n.getComputedStyle(e,null);return t?r[t]:r}function F3(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function cd(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=$s(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:cd(F3(e))}function q9(e){return e&&e.referenceNode?e.referenceNode:e}var z2=ld&&!!(window.MSInputMethodContext&&document.documentMode),q2=ld&&/MSIE 10/.test(navigator.userAgent);function rl(e){return e===11?z2:e===10?q2:z2||q2}function Lu(e){if(!e)return document.documentElement;for(var t=rl(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return!r||r==="BODY"||r==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(n.nodeName)!==-1&&$s(n,"position")==="static"?Lu(n):n}function fue(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||Lu(e.firstElementChild)===e}function n1(e){return e.parentNode!==null?n1(e.parentNode):e}function Nh(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,a=document.createRange();a.setStart(r,0),a.setEnd(i,0);var o=a.commonAncestorContainer;if(e!==o&&t!==o||r.contains(i))return fue(o)?o:Lu(o);var u=n1(e);return u.host?Nh(u.host,t):Nh(e,n1(t).host)}function Vu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",n=t==="top"?"scrollTop":"scrollLeft",r=e.nodeName;if(r==="BODY"||r==="HTML"){var i=e.ownerDocument.documentElement,a=e.ownerDocument.scrollingElement||i;return a[n]}return e[n]}function hue(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=Vu(t,"top"),i=Vu(t,"left"),a=n?-1:1;return e.top+=r*a,e.bottom+=r*a,e.left+=i*a,e.right+=i*a,e}function W2(e,t){var n=t==="x"?"Left":"Top",r=n==="Left"?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function H2(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],rl(10)?parseInt(n["offset"+e])+parseInt(r["margin"+(e==="Height"?"Top":"Left")])+parseInt(r["margin"+(e==="Height"?"Bottom":"Right")]):0)}function W9(e){var t=e.body,n=e.documentElement,r=rl(10)&&getComputedStyle(n);return{height:H2("Height",t,n,r),width:H2("Width",t,n,r)}}var pue=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},mue=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Nu=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},ai=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function yo(e){return ai({},e,{right:e.left+e.width,bottom:e.top+e.height})}function r1(e){var t={};try{if(rl(10)){t=e.getBoundingClientRect();var n=Vu(e,"top"),r=Vu(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch{}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a=e.nodeName==="HTML"?W9(e.ownerDocument):{},o=a.width||e.clientWidth||i.width,u=a.height||e.clientHeight||i.height,l=e.offsetWidth-o,d=e.offsetHeight-u;if(l||d){var f=$s(e);l-=W2(f,"x"),d-=W2(f,"y"),i.width-=l,i.height-=d}return yo(i)}function k3(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=rl(10),i=t.nodeName==="HTML",a=r1(e),o=r1(t),u=cd(e),l=$s(t),d=parseFloat(l.borderTopWidth),f=parseFloat(l.borderLeftWidth);n&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var h=yo({top:a.top-o.top-d,left:a.left-o.left-f,width:a.width,height:a.height});if(h.marginTop=0,h.marginLeft=0,!r&&i){var p=parseFloat(l.marginTop),g=parseFloat(l.marginLeft);h.top-=d-p,h.bottom-=d-p,h.left-=f-g,h.right-=f-g,h.marginTop=p,h.marginLeft=g}return(r&&!n?t.contains(u):t===u&&u.nodeName!=="BODY")&&(h=hue(h,t)),h}function gue(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.ownerDocument.documentElement,r=k3(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),a=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:Vu(n),u=t?0:Vu(n,"left"),l={top:o-r.top+r.marginTop,left:u-r.left+r.marginLeft,width:i,height:a};return yo(l)}function H9(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if($s(e,"position")==="fixed")return!0;var n=F3(e);return n?H9(n):!1}function G9(e){if(!e||!e.parentElement||rl())return document.documentElement;for(var t=e.parentElement;t&&$s(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function I3(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},o=i?G9(e):Nh(e,q9(t));if(r==="viewport")a=gue(o,i);else{var u=void 0;r==="scrollParent"?(u=cd(F3(t)),u.nodeName==="BODY"&&(u=e.ownerDocument.documentElement)):r==="window"?u=e.ownerDocument.documentElement:u=r;var l=k3(u,o,i);if(u.nodeName==="HTML"&&!H9(o)){var d=W9(e.ownerDocument),f=d.height,h=d.width;a.top+=l.top-l.marginTop,a.bottom=f+l.top,a.left+=l.left-l.marginLeft,a.right=h+l.left}else a=l}n=n||0;var p=typeof n=="number";return a.left+=p?n:n.left||0,a.top+=p?n:n.top||0,a.right-=p?n:n.right||0,a.bottom-=p?n:n.bottom||0,a}function yue(e){var t=e.width,n=e.height;return t*n}function Y9(e,t,n,r,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var o=I3(n,r,a,i),u={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},l=Object.keys(u).map(function(p){return ai({key:p},u[p],{area:yue(u[p])})}).sort(function(p,g){return g.area-p.area}),d=l.filter(function(p){var g=p.width,y=p.height;return g>=n.clientWidth&&y>=n.clientHeight}),f=d.length>0?d[0].key:l[0].key,h=e.split("-")[1];return f+(h?"-"+h:"")}function Z9(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=r?G9(t):Nh(t,q9(n));return k3(n,i,r)}function J9(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),i=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),a={width:e.offsetWidth+i,height:e.offsetHeight+r};return a}function jh(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(n){return t[n]})}function X9(e,t,n){n=n.split("-")[0];var r=J9(e),i={width:r.width,height:r.height},a=["right","left"].indexOf(n)!==-1,o=a?"top":"left",u=a?"left":"top",l=a?"height":"width",d=a?"width":"height";return i[o]=t[o]+t[l]/2-r[l]/2,n===u?i[u]=t[u]-r[d]:i[u]=t[jh(u)],i}function dd(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function vue(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===n});var r=dd(e,function(i){return i[t]===n});return e.indexOf(r)}function Q9(e,t,n){var r=n===void 0?e:e.slice(0,vue(e,"name",n));return r.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var a=i.function||i.fn;i.enabled&&z9(a)&&(t.offsets.popper=yo(t.offsets.popper),t.offsets.reference=yo(t.offsets.reference),t=a(t,i))}),t}function bue(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Z9(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=Y9(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=X9(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=Q9(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function e8(e,t){return e.some(function(n){var r=n.name,i=n.enabled;return i&&r===t})}function B3(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],a=i?""+i+n:e;if(typeof document.body.style[a]<"u")return a}return null}function $ue(){return this.state.isDestroyed=!0,e8(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[B3("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function t8(e){var t=e.ownerDocument;return t?t.defaultView:window}function n8(e,t,n,r){var i=e.nodeName==="BODY",a=i?e.ownerDocument.defaultView:e;a.addEventListener(t,n,{passive:!0}),i||n8(cd(a.parentNode),t,n,r),r.push(a)}function xue(e,t,n,r){n.updateBound=r,t8(e).addEventListener("resize",n.updateBound,{passive:!0});var i=cd(e);return n8(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function wue(){this.state.eventsEnabled||(this.state=xue(this.reference,this.options,this.state,this.scheduleUpdate))}function Due(e,t){return t8(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function Cue(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=Due(this.reference,this.state))}function L3(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function i1(e,t){Object.keys(t).forEach(function(n){var r="";["width","height","top","right","bottom","left"].indexOf(n)!==-1&&L3(t[n])&&(r="px"),e.style[n]=t[n]+r})}function Eue(e,t){Object.keys(t).forEach(function(n){var r=t[n];r!==!1?e.setAttribute(n,t[n]):e.removeAttribute(n)})}function Sue(e){return i1(e.instance.popper,e.styles),Eue(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&i1(e.arrowElement,e.arrowStyles),e}function Aue(e,t,n,r,i){var a=Z9(i,t,e,n.positionFixed),o=Y9(n.placement,a,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",o),i1(t,{position:n.positionFixed?"fixed":"absolute"}),n}function Tue(e,t){var n=e.offsets,r=n.popper,i=n.reference,a=Math.round,o=Math.floor,u=function(b){return b},l=a(i.width),d=a(r.width),f=["left","right"].indexOf(e.placement)!==-1,h=e.placement.indexOf("-")!==-1,p=l%2===d%2,g=l%2===1&&d%2===1,y=t?f||h||p?a:o:u,$=t?a:u;return{left:y(g&&!h&&t?r.left-1:r.left),top:$(r.top),bottom:$(r.bottom),right:y(r.right)}}var Pue=ld&&/Firefox/i.test(navigator.userAgent);function _ue(e,t){var n=t.x,r=t.y,i=e.offsets.popper,a=dd(e.instance.modifiers,function(D){return D.name==="applyStyle"}).gpuAcceleration;a!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o=a!==void 0?a:t.gpuAcceleration,u=Lu(e.instance.popper),l=r1(u),d={position:i.position},f=Tue(e,window.devicePixelRatio<2||!Pue),h=n==="bottom"?"top":"bottom",p=r==="right"?"left":"right",g=B3("transform"),y=void 0,$=void 0;if(h==="bottom"?u.nodeName==="HTML"?$=-u.clientHeight+f.bottom:$=-l.height+f.bottom:$=f.top,p==="right"?u.nodeName==="HTML"?y=-u.clientWidth+f.right:y=-l.width+f.right:y=f.left,o&&g)d[g]="translate3d("+y+"px, "+$+"px, 0)",d[h]=0,d[p]=0,d.willChange="transform";else{var C=h==="bottom"?-1:1,b=p==="right"?-1:1;d[h]=$*C,d[p]=y*b,d.willChange=h+", "+p}var v={"x-placement":e.placement};return e.attributes=ai({},v,e.attributes),e.styles=ai({},d,e.styles),e.arrowStyles=ai({},e.offsets.arrow,e.arrowStyles),e}function r8(e,t,n){var r=dd(e,function(u){var l=u.name;return l===t}),i=!!r&&e.some(function(u){return u.name===n&&u.enabled&&u.order<r.order});if(!i){var a="`"+t+"`",o="`"+n+"`";console.warn(o+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return i}function Rue(e,t){var n;if(!r8(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if(typeof r=="string"){if(r=e.instance.popper.querySelector(r),!r)return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],a=e.offsets,o=a.popper,u=a.reference,l=["left","right"].indexOf(i)!==-1,d=l?"height":"width",f=l?"Top":"Left",h=f.toLowerCase(),p=l?"left":"top",g=l?"bottom":"right",y=J9(r)[d];u[g]-y<o[h]&&(e.offsets.popper[h]-=o[h]-(u[g]-y)),u[h]+y>o[g]&&(e.offsets.popper[h]+=u[h]+y-o[g]),e.offsets.popper=yo(e.offsets.popper);var $=u[h]+u[d]/2-y/2,C=$s(e.instance.popper),b=parseFloat(C["margin"+f]),v=parseFloat(C["border"+f+"Width"]),D=$-e.offsets.popper[h]-b-v;return D=Math.max(Math.min(o[d]-y,D),0),e.arrowElement=r,e.offsets.arrow=(n={},Nu(n,h,Math.round(D)),Nu(n,p,""),n),e}function Oue(e){return e==="end"?"start":e==="start"?"end":e}var i8=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],wb=i8.slice(3);function G2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=wb.indexOf(e),r=wb.slice(n+1).concat(wb.slice(0,n));return t?r.reverse():r}var Db={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Mue(e,t){if(e8(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var n=I3(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=jh(r),a=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case Db.FLIP:o=[r,i];break;case Db.CLOCKWISE:o=G2(r);break;case Db.COUNTERCLOCKWISE:o=G2(r,!0);break;default:o=t.behavior}return o.forEach(function(u,l){if(r!==u||o.length===l+1)return e;r=e.placement.split("-")[0],i=jh(r);var d=e.offsets.popper,f=e.offsets.reference,h=Math.floor,p=r==="left"&&h(d.right)>h(f.left)||r==="right"&&h(d.left)<h(f.right)||r==="top"&&h(d.bottom)>h(f.top)||r==="bottom"&&h(d.top)<h(f.bottom),g=h(d.left)<h(n.left),y=h(d.right)>h(n.right),$=h(d.top)<h(n.top),C=h(d.bottom)>h(n.bottom),b=r==="left"&&g||r==="right"&&y||r==="top"&&$||r==="bottom"&&C,v=["top","bottom"].indexOf(r)!==-1,D=!!t.flipVariations&&(v&&a==="start"&&g||v&&a==="end"&&y||!v&&a==="start"&&$||!v&&a==="end"&&C),A=!!t.flipVariationsByContent&&(v&&a==="start"&&y||v&&a==="end"&&g||!v&&a==="start"&&C||!v&&a==="end"&&$),E=D||A;(p||b||E)&&(e.flipped=!0,(p||b)&&(r=o[l+1]),E&&(a=Oue(a)),e.placement=r+(a?"-"+a:""),e.offsets.popper=ai({},e.offsets.popper,X9(e.instance.popper,e.offsets.reference,e.placement)),e=Q9(e.instance.modifiers,e,"flip"))}),e}function Fue(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],a=Math.floor,o=["top","bottom"].indexOf(i)!==-1,u=o?"right":"bottom",l=o?"left":"top",d=o?"width":"height";return n[u]<a(r[l])&&(e.offsets.popper[l]=a(r[l])-n[d]),n[l]>a(r[u])&&(e.offsets.popper[l]=a(r[u])),e}function kue(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],o=i[2];if(!a)return e;if(o.indexOf("%")===0){var u=void 0;switch(o){case"%p":u=n;break;case"%":case"%r":default:u=r}var l=yo(u);return l[t]/100*a}else if(o==="vh"||o==="vw"){var d=void 0;return o==="vh"?d=Math.max(document.documentElement.clientHeight,window.innerHeight||0):d=Math.max(document.documentElement.clientWidth,window.innerWidth||0),d/100*a}else return a}function Iue(e,t,n,r){var i=[0,0],a=["right","left"].indexOf(r)!==-1,o=e.split(/(\+|\-)/).map(function(f){return f.trim()}),u=o.indexOf(dd(o,function(f){return f.search(/,|\s/)!==-1}));o[u]&&o[u].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,d=u!==-1?[o.slice(0,u).concat([o[u].split(l)[0]]),[o[u].split(l)[1]].concat(o.slice(u+1))]:[o];return d=d.map(function(f,h){var p=(h===1?!a:a)?"height":"width",g=!1;return f.reduce(function(y,$){return y[y.length-1]===""&&["+","-"].indexOf($)!==-1?(y[y.length-1]=$,g=!0,y):g?(y[y.length-1]+=$,g=!1,y):y.concat($)},[]).map(function(y){return kue(y,p,t,n)})}),d.forEach(function(f,h){f.forEach(function(p,g){L3(p)&&(i[h]+=p*(f[g-1]==="-"?-1:1))})}),i}function Bue(e,t){var n=t.offset,r=e.placement,i=e.offsets,a=i.popper,o=i.reference,u=r.split("-")[0],l=void 0;return L3(+n)?l=[+n,0]:l=Iue(n,a,o,u),u==="left"?(a.top+=l[0],a.left-=l[1]):u==="right"?(a.top+=l[0],a.left+=l[1]):u==="top"?(a.left+=l[0],a.top-=l[1]):u==="bottom"&&(a.left+=l[0],a.top+=l[1]),e.popper=a,e}function Lue(e,t){var n=t.boundariesElement||Lu(e.instance.popper);e.instance.reference===n&&(n=Lu(n));var r=B3("transform"),i=e.instance.popper.style,a=i.top,o=i.left,u=i[r];i.top="",i.left="",i[r]="";var l=I3(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=a,i.left=o,i[r]=u,t.boundaries=l;var d=t.priority,f=e.offsets.popper,h={primary:function(g){var y=f[g];return f[g]<l[g]&&!t.escapeWithReference&&(y=Math.max(f[g],l[g])),Nu({},g,y)},secondary:function(g){var y=g==="right"?"left":"top",$=f[y];return f[g]>l[g]&&!t.escapeWithReference&&($=Math.min(f[y],l[g]-(g==="right"?f.width:f.height))),Nu({},y,$)}};return d.forEach(function(p){var g=["left","top"].indexOf(p)!==-1?"primary":"secondary";f=ai({},f,h[g](p))}),e.offsets.popper=f,e}function Vue(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,a=i.reference,o=i.popper,u=["bottom","top"].indexOf(n)!==-1,l=u?"left":"top",d=u?"width":"height",f={start:Nu({},l,a[l]),end:Nu({},l,a[l]+a[d]-o[d])};e.offsets.popper=ai({},o,f[r])}return e}function Nue(e){if(!r8(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=dd(e.instance.modifiers,function(r){return r.name==="preventOverflow"}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(e.hide===!0)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===!1)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function jue(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,a=r.reference,o=["left","right"].indexOf(n)!==-1,u=["top","left"].indexOf(n)===-1;return i[o?"left":"top"]=a[n]-(u?i[o?"width":"height"]:0),e.placement=jh(t),e.offsets.popper=yo(i),e}var Kue={shift:{order:100,enabled:!0,fn:Vue},offset:{order:200,enabled:!0,fn:Bue,offset:0},preventOverflow:{order:300,enabled:!0,fn:Lue,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:Fue},arrow:{order:500,enabled:!0,fn:Rue,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:Mue,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:jue},hide:{order:800,enabled:!0,fn:Nue},computeStyle:{order:850,enabled:!0,fn:_ue,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:Sue,onLoad:Aue,gpuAcceleration:void 0}},Uue={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Kue},Fc=function(){function e(t,n){var r=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};pue(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=due(this.update.bind(this)),this.options=ai({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(ai({},e.Defaults.modifiers,i.modifiers)).forEach(function(o){r.options.modifiers[o]=ai({},e.Defaults.modifiers[o]||{},i.modifiers?i.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return ai({name:o},r.options.modifiers[o])}).sort(function(o,u){return o.order-u.order}),this.modifiers.forEach(function(o){o.enabled&&z9(o.onLoad)&&o.onLoad(r.reference,r.popper,r.options,o,r.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return mue(e,[{key:"update",value:function(){return bue.call(this)}},{key:"destroy",value:function(){return $ue.call(this)}},{key:"enableEventListeners",value:function(){return wue.call(this)}},{key:"disableEventListeners",value:function(){return Cue.call(this)}}]),e}();Fc.Utils=(typeof window<"u"?window:global).PopperUtils;Fc.placements=i8;Fc.Defaults=Uue;var zue=["innerHTML","ownerDocument","style","attributes","nodeValue"],que=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],Wue=["bigint","boolean","null","number","string","symbol","undefined"];function Up(e){var t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(Hue(t))return t}function Ai(e){return function(t){return Up(t)===e}}function Hue(e){return que.includes(e)}function il(e){return function(t){return typeof t===e}}function Gue(e){return Wue.includes(e)}function ce(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(ce.array(e))return"Array";if(ce.plainFunction(e))return"Function";var t=Up(e);return t||"Object"}ce.array=Array.isArray;ce.arrayOf=function(e,t){return!ce.array(e)&&!ce.function(t)?!1:e.every(function(n){return t(n)})};ce.asyncGeneratorFunction=function(e){return Up(e)==="AsyncGeneratorFunction"};ce.asyncFunction=Ai("AsyncFunction");ce.bigint=il("bigint");ce.boolean=function(e){return e===!0||e===!1};ce.date=Ai("Date");ce.defined=function(e){return!ce.undefined(e)};ce.domElement=function(e){return ce.object(e)&&!ce.plainObject(e)&&e.nodeType===1&&ce.string(e.nodeName)&&zue.every(function(t){return t in e})};ce.empty=function(e){return ce.string(e)&&e.length===0||ce.array(e)&&e.length===0||ce.object(e)&&!ce.map(e)&&!ce.set(e)&&Object.keys(e).length===0||ce.set(e)&&e.size===0||ce.map(e)&&e.size===0};ce.error=Ai("Error");ce.function=il("function");ce.generator=function(e){return ce.iterable(e)&&ce.function(e.next)&&ce.function(e.throw)};ce.generatorFunction=Ai("GeneratorFunction");ce.instanceOf=function(e,t){return!e||!t?!1:Object.getPrototypeOf(e)===t.prototype};ce.iterable=function(e){return!ce.nullOrUndefined(e)&&ce.function(e[Symbol.iterator])};ce.map=Ai("Map");ce.nan=function(e){return Number.isNaN(e)};ce.null=function(e){return e===null};ce.nullOrUndefined=function(e){return ce.null(e)||ce.undefined(e)};ce.number=function(e){return il("number")(e)&&!ce.nan(e)};ce.numericString=function(e){return ce.string(e)&&e.length>0&&!Number.isNaN(Number(e))};ce.object=function(e){return!ce.nullOrUndefined(e)&&(ce.function(e)||typeof e=="object")};ce.oneOf=function(e,t){return ce.array(e)?e.indexOf(t)>-1:!1};ce.plainFunction=Ai("Function");ce.plainObject=function(e){if(Up(e)!=="Object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};ce.primitive=function(e){return ce.null(e)||Gue(typeof e)};ce.promise=Ai("Promise");ce.propertyOf=function(e,t,n){if(!ce.object(e)||!t)return!1;var r=e[t];return ce.function(n)?n(r):ce.defined(r)};ce.regexp=Ai("RegExp");ce.set=Ai("Set");ce.string=il("string");ce.symbol=il("symbol");ce.undefined=il("undefined");ce.weakMap=Ai("WeakMap");ce.weakSet=Ai("WeakSet");function a8(e){return function(t){return typeof t===e}}var Yue=a8("function"),Zue=function(e){return e===null},Y2=function(e){return Object.prototype.toString.call(e).slice(8,-1)==="RegExp"},Z2=function(e){return!Jue(e)&&!Zue(e)&&(Yue(e)||typeof e=="object")},Jue=a8("undefined"),a1=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function Xue(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=n;r--!==0;)if(!Dr(e[r],t[r]))return!1;return!0}function Que(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=new DataView(e.buffer),r=new DataView(t.buffer),i=e.byteLength;i--;)if(n.getUint8(i)!==r.getUint8(i))return!1;return!0}function ele(e,t){var n,r,i,a;if(e.size!==t.size)return!1;try{for(var o=a1(e.entries()),u=o.next();!u.done;u=o.next()){var l=u.value;if(!t.has(l[0]))return!1}}catch(h){n={error:h}}finally{try{u&&!u.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}try{for(var d=a1(e.entries()),f=d.next();!f.done;f=d.next()){var l=f.value;if(!Dr(l[1],t.get(l[0])))return!1}}catch(h){i={error:h}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}return!0}function tle(e,t){var n,r;if(e.size!==t.size)return!1;try{for(var i=a1(e.entries()),a=i.next();!a.done;a=i.next()){var o=a.value;if(!t.has(o[0]))return!1}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!0}function Dr(e,t){if(e===t)return!0;if(e&&Z2(e)&&t&&Z2(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return Xue(e,t);if(e instanceof Map&&t instanceof Map)return ele(e,t);if(e instanceof Set&&t instanceof Set)return tle(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return Que(e,t);if(Y2(e)&&Y2(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=n.length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(var i=n.length;i--!==0;){var a=n[i];if(!(a==="_owner"&&e.$$typeof)&&!Dr(e[a],t[a]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}function nle(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(function(n){return ce.string(n)||ce.array(n)||ce.plainObject(n)})}function rle(e,t,n){return o8(e,t)?[e,t].every(ce.array)?!e.some(tA(n))&&t.some(tA(n)):[e,t].every(ce.plainObject)?!Object.entries(e).some(eA(n))&&Object.entries(t).some(eA(n)):t===n:!1}function J2(e,t,n){var r=n.actual,i=n.key,a=n.previous,o=n.type,u=qi(e,i),l=qi(t,i),d=[u,l].every(ce.number)&&(o==="increased"?u<l:u>l);return ce.undefined(r)||(d=d&&l===r),ce.undefined(a)||(d=d&&u===a),d}function X2(e,t,n){var r=n.key,i=n.type,a=n.value,o=qi(e,r),u=qi(t,r),l=i==="added"?o:u,d=i==="added"?u:o;if(!ce.nullOrUndefined(a)){if(ce.defined(l)){if(ce.array(l)||ce.plainObject(l))return rle(l,d,a)}else return Dr(d,a);return!1}return[o,u].every(ce.array)?!d.every(V3(l)):[o,u].every(ce.plainObject)?ile(Object.keys(l),Object.keys(d)):![o,u].every(function(f){return ce.primitive(f)&&ce.defined(f)})&&(i==="added"?!ce.defined(o)&&ce.defined(u):ce.defined(o)&&!ce.defined(u))}function Q2(e,t,n){var r=n===void 0?{}:n,i=r.key,a=qi(e,i),o=qi(t,i);if(!o8(a,o))throw new TypeError("Inputs have different types");if(!nle(a,o))throw new TypeError("Inputs don't have length");return[a,o].every(ce.plainObject)&&(a=Object.keys(a),o=Object.keys(o)),[a,o]}function eA(e){return function(t){var n=t[0],r=t[1];return ce.array(e)?Dr(e,r)||e.some(function(i){return Dr(i,r)||ce.array(r)&&V3(r)(i)}):ce.plainObject(e)&&e[n]?!!e[n]&&Dr(e[n],r):Dr(e,r)}}function ile(e,t){return t.some(function(n){return!e.includes(n)})}function tA(e){return function(t){return ce.array(e)?e.some(function(n){return Dr(n,t)||ce.array(t)&&V3(t)(n)}):Dr(e,t)}}function Vl(e,t){return ce.array(e)?e.some(function(n){return Dr(n,t)}):Dr(e,t)}function V3(e){return function(t){return e.some(function(n){return Dr(n,t)})}}function o8(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(ce.array)||e.every(ce.number)||e.every(ce.plainObject)||e.every(ce.string)}function qi(e,t){if(ce.plainObject(e)||ce.array(e)){if(ce.string(t)){var n=t.split(".");return n.reduce(function(r,i){return r&&r[i]},e)}return ce.number(t)?e[t]:e}return e}function ale(e,t){if([e,t].some(ce.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every(function(h){return ce.plainObject(h)||ce.array(h)}))throw new Error("Expected plain objects or array");var n=function(h,p){try{return X2(e,t,{key:h,type:"added",value:p})}catch{return!1}},r=function(h,p,g){try{var y=qi(e,h),$=qi(t,h),C=ce.defined(p),b=ce.defined(g);if(C||b){var v=b?Vl(g,y):!Vl(p,y),D=Vl(p,$);return v&&D}return[y,$].every(ce.array)||[y,$].every(ce.plainObject)?!Dr(y,$):y!==$}catch{return!1}},i=function(h,p,g){if(!ce.defined(h))return!1;try{var y=qi(e,h),$=qi(t,h),C=ce.defined(g);return Vl(p,y)&&(C?Vl(g,$):!C)}catch{return!1}},a=function(h,p){return ce.defined(h)?(process.env.NODE_ENV==="development"&&console.warn("`changedTo` is deprecated! Replace it with `change`"),r(h,p)):!1},o=function(h,p,g){if(!ce.defined(h))return!1;try{return J2(e,t,{key:h,actual:p,previous:g,type:"decreased"})}catch{return!1}},u=function(h){try{var p=Q2(e,t,{key:h}),g=p[0],y=p[1];return!!g.length&&!y.length}catch{return!1}},l=function(h){try{var p=Q2(e,t,{key:h}),g=p[0],y=p[1];return!g.length&&!!y.length}catch{return!1}},d=function(h,p,g){if(!ce.defined(h))return!1;try{return J2(e,t,{key:h,actual:p,previous:g,type:"increased"})}catch{return!1}},f=function(h,p){try{return X2(e,t,{key:h,type:"removed",value:p})}catch{return!1}};return{added:n,changed:r,changedFrom:i,changedTo:a,decreased:o,emptied:u,filled:l,increased:d,removed:f}}function nA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ht(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nA(Object(n),!0).forEach(function(r){Zn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ole(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u8(r.key),r)}}function hd(e,t,n){return t&&ole(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zn(e,t,n){return t=u8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o1(e,t)}function Kh(e){return Kh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Kh(e)}function o1(e,t){return o1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},o1(e,t)}function sle(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ule(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function s8(e,t){if(e==null)return{};var n=ule(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ga(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lle(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ga(e)}function md(e){var t=sle();return function(){var r=Kh(e),i;if(t){var a=Kh(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return lle(this,i)}}function cle(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u8(e){var t=cle(e,"string");return typeof t=="symbol"?t:String(t)}var dle={flip:{padding:20},preventOverflow:{padding:10}},fle="The typeValidator argument must be a function with the signature function(props, propName, componentName).",hle="The error message is optional, but must be a string if provided.";function ple(e,t,n,r){return typeof e=="boolean"?e:typeof e=="function"?e(t,n,r):e?!!e:!1}function mle(e,t){return Object.hasOwnProperty.call(e,t)}function gle(e,t,n,r){return new Error("Required ".concat(e[t]," `").concat(t,"` was not specified in `").concat(n,"`."))}function yle(e,t){if(typeof e!="function")throw new TypeError(fle);if(t)throw new TypeError(hle)}function rA(e,t,n){return yle(e,n),function(r,i,a){for(var o=arguments.length,u=new Array(o>3?o-3:0),l=3;l<o;l++)u[l-3]=arguments[l];return ple(t,r,i,a)?mle(r,i)?e.apply(void 0,[r,i,a].concat(u)):gle(r,i,a):e.apply(void 0,[r,i,a].concat(u))}}var pt={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing"},Nl=uo.createPortal!==void 0;function Ii(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Cb(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function Tf(e){var t=e.title,n=e.data,r=e.warn,i=r===void 0?!1:r,a=e.debug,o=a===void 0?!1:a,u=i?console.warn||console.error:console.log;o&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach(function(l){ce.plainObject(l)&&l.key?u.apply(console,[l.key,l.value]):u.apply(console,[l])}):u.apply(console,[n]),console.groupEnd())}function vle(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.addEventListener(t,n,r)}function ble(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.removeEventListener(t,n,r)}function $le(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i;i=function(o){n(o),ble(e,t,i)},vle(e,t,i,r)}function iA(){}var l8=function(e){pd(n,e);var t=md(n);function n(){return fd(this,n),t.apply(this,arguments)}return hd(n,[{key:"componentDidMount",value:function(){Ii()&&(this.node||this.appendNode(),Nl||this.renderPortal())}},{key:"componentDidUpdate",value:function(){Ii()&&(Nl||this.renderPortal())}},{key:"componentWillUnmount",value:function(){!Ii()||!this.node||(Nl||uo.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var i=this.props,a=i.id,o=i.zIndex;this.node||(this.node=document.createElement("div"),a&&(this.node.id=a),o&&(this.node.style.zIndex=o),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!Ii())return null;var i=this.props,a=i.children,o=i.setRef;if(this.node||this.appendNode(),Nl)return uo.createPortal(a,this.node);var u=uo.unstable_renderSubtreeIntoContainer(this,a.length>1?x.createElement("div",null,a):a[0],this.node);return o(u),null}},{key:"renderReact16",value:function(){var i=this.props,a=i.hasChildren,o=i.placement,u=i.target;return a?this.renderPortal():u||o==="center"?this.renderPortal():null}},{key:"render",value:function(){return Nl?this.renderReact16():null}}]),n}(x.Component);Zn(l8,"propTypes",{children:Se.oneOfType([Se.element,Se.array]),hasChildren:Se.bool,id:Se.oneOfType([Se.string,Se.number]),placement:Se.string,setRef:Se.func.isRequired,target:Se.oneOfType([Se.object,Se.string]),zIndex:Se.number});var c8=function(e){pd(n,e);var t=md(n);function n(){return fd(this,n),t.apply(this,arguments)}return hd(n,[{key:"parentStyle",get:function(){var i=this.props,a=i.placement,o=i.styles,u=o.arrow.length,l={pointerEvents:"none",position:"absolute",width:"100%"};return a.startsWith("top")?(l.bottom=0,l.left=0,l.right=0,l.height=u):a.startsWith("bottom")?(l.left=0,l.right=0,l.top=0,l.height=u):a.startsWith("left")?(l.right=0,l.top=0,l.bottom=0):a.startsWith("right")&&(l.left=0,l.top=0),l}},{key:"render",value:function(){var i=this.props,a=i.placement,o=i.setArrowRef,u=i.styles,l=u.arrow,d=l.color,f=l.display,h=l.length,p=l.margin,g=l.position,y=l.spread,$={display:f,position:g},C,b=y,v=h;return a.startsWith("top")?(C="0,0 ".concat(b/2,",").concat(v," ").concat(b,",0"),$.bottom=0,$.marginLeft=p,$.marginRight=p):a.startsWith("bottom")?(C="".concat(b,",").concat(v," ").concat(b/2,",0 0,").concat(v),$.top=0,$.marginLeft=p,$.marginRight=p):a.startsWith("left")?(v=y,b=h,C="0,0 ".concat(b,",").concat(v/2," 0,").concat(v),$.right=0,$.marginTop=p,$.marginBottom=p):a.startsWith("right")&&(v=y,b=h,C="".concat(b,",").concat(v," ").concat(b,",0 0,").concat(v/2),$.left=0,$.marginTop=p,$.marginBottom=p),x.createElement("div",{className:"__floater__arrow",style:this.parentStyle},x.createElement("span",{ref:o,style:$},x.createElement("svg",{width:b,height:v,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x.createElement("polygon",{points:C,fill:d}))))}}]),n}(x.Component);Zn(c8,"propTypes",{placement:Se.string.isRequired,setArrowRef:Se.func.isRequired,styles:Se.object.isRequired});var xle=["color","height","width"];function d8(e){var t=e.handleClick,n=e.styles,r=n.color,i=n.height,a=n.width,o=s8(n,xle);return x.createElement("button",{"aria-label":"close",onClick:t,style:o,type:"button"},x.createElement("svg",{width:"".concat(a,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},x.createElement("g",null,x.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))}d8.propTypes={handleClick:Se.func.isRequired,styles:Se.object.isRequired};function f8(e){var t=e.content,n=e.footer,r=e.handleClick,i=e.open,a=e.positionWrapper,o=e.showCloseButton,u=e.title,l=e.styles,d={content:x.isValidElement(t)?t:x.createElement("div",{className:"__floater__content",style:l.content},t)};return u&&(d.title=x.isValidElement(u)?u:x.createElement("div",{className:"__floater__title",style:l.title},u)),n&&(d.footer=x.isValidElement(n)?n:x.createElement("div",{className:"__floater__footer",style:l.footer},n)),(o||a)&&!ce.boolean(i)&&(d.close=x.createElement(d8,{styles:l.close,handleClick:r})),x.createElement("div",{className:"__floater__container",style:l.container},d.close,d.title,d.content,d.footer)}f8.propTypes={content:Se.node.isRequired,footer:Se.node,handleClick:Se.func.isRequired,open:Se.bool,positionWrapper:Se.bool.isRequired,showCloseButton:Se.bool.isRequired,styles:Se.object.isRequired,title:Se.node};var h8=function(e){pd(n,e);var t=md(n);function n(){return fd(this,n),t.apply(this,arguments)}return hd(n,[{key:"style",get:function(){var i=this.props,a=i.disableAnimation,o=i.component,u=i.placement,l=i.hideArrow,d=i.status,f=i.styles,h=f.arrow.length,p=f.floater,g=f.floaterCentered,y=f.floaterClosing,$=f.floaterOpening,C=f.floaterWithAnimation,b=f.floaterWithComponent,v={};return l||(u.startsWith("top")?v.padding="0 0 ".concat(h,"px"):u.startsWith("bottom")?v.padding="".concat(h,"px 0 0"):u.startsWith("left")?v.padding="0 ".concat(h,"px 0 0"):u.startsWith("right")&&(v.padding="0 0 0 ".concat(h,"px"))),[pt.OPENING,pt.OPEN].indexOf(d)!==-1&&(v=Ht(Ht({},v),$)),d===pt.CLOSING&&(v=Ht(Ht({},v),y)),d===pt.OPEN&&!a&&(v=Ht(Ht({},v),C)),u==="center"&&(v=Ht(Ht({},v),g)),o&&(v=Ht(Ht({},v),b)),Ht(Ht({},p),v)}},{key:"render",value:function(){var i=this.props,a=i.component,o=i.handleClick,u=i.hideArrow,l=i.setFloaterRef,d=i.status,f={},h=["__floater"];return a?x.isValidElement(a)?f.content=x.cloneElement(a,{closeFn:o}):f.content=a({closeFn:o}):f.content=x.createElement(f8,this.props),d===pt.OPEN&&h.push("__floater__open"),u||(f.arrow=x.createElement(c8,this.props)),x.createElement("div",{ref:l,className:h.join(" "),style:this.style},x.createElement("div",{className:"__floater__body"},f.content,f.arrow))}}]),n}(x.Component);Zn(h8,"propTypes",{component:Se.oneOfType([Se.func,Se.element]),content:Se.node,disableAnimation:Se.bool.isRequired,footer:Se.node,handleClick:Se.func.isRequired,hideArrow:Se.bool.isRequired,open:Se.bool,placement:Se.string.isRequired,positionWrapper:Se.bool.isRequired,setArrowRef:Se.func.isRequired,setFloaterRef:Se.func.isRequired,showCloseButton:Se.bool,status:Se.string.isRequired,styles:Se.object.isRequired,title:Se.node});var p8=function(e){pd(n,e);var t=md(n);function n(){return fd(this,n),t.apply(this,arguments)}return hd(n,[{key:"render",value:function(){var i=this.props,a=i.children,o=i.handleClick,u=i.handleMouseEnter,l=i.handleMouseLeave,d=i.setChildRef,f=i.setWrapperRef,h=i.style,p=i.styles,g;if(a)if(x.Children.count(a)===1)if(!x.isValidElement(a))g=x.createElement("span",null,a);else{var y=ce.function(a.type)?"innerRef":"ref";g=x.cloneElement(x.Children.only(a),Zn({},y,d))}else g=a;return g?x.createElement("span",{ref:f,style:Ht(Ht({},p),h),onClick:o,onMouseEnter:u,onMouseLeave:l},g):null}}]),n}(x.Component);Zn(p8,"propTypes",{children:Se.node,handleClick:Se.func.isRequired,handleMouseEnter:Se.func.isRequired,handleMouseLeave:Se.func.isRequired,setChildRef:Se.func.isRequired,setWrapperRef:Se.func.isRequired,style:Se.object,styles:Se.object.isRequired});var wle={zIndex:100};function Dle(e){var t=bi(wle,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}var Cle=["arrow","flip","offset"],Ele=["position","top","right","bottom","left"],N3=function(e){pd(n,e);var t=md(n);function n(r){var i;return fd(this,n),i=t.call(this,r),Zn(ga(i),"setArrowRef",function(a){i.arrowRef=a}),Zn(ga(i),"setChildRef",function(a){i.childRef=a}),Zn(ga(i),"setFloaterRef",function(a){i.floaterRef=a}),Zn(ga(i),"setWrapperRef",function(a){i.wrapperRef=a}),Zn(ga(i),"handleTransitionEnd",function(){var a=i.state.status,o=i.props.callback;i.wrapperPopper&&i.wrapperPopper.instance.update(),i.setState({status:a===pt.OPENING?pt.OPEN:pt.IDLE},function(){var u=i.state.status;o(u===pt.OPEN?"open":"close",i.props)})}),Zn(ga(i),"handleClick",function(){var a=i.props,o=a.event,u=a.open;if(!ce.boolean(u)){var l=i.state,d=l.positionWrapper,f=l.status;(i.event==="click"||i.event==="hover"&&d)&&(Tf({title:"click",data:[{event:o,status:f===pt.OPEN?"closing":"opening"}],debug:i.debug}),i.toggle())}}),Zn(ga(i),"handleMouseEnter",function(){var a=i.props,o=a.event,u=a.open;if(!(ce.boolean(u)||Cb())){var l=i.state.status;i.event==="hover"&&l===pt.IDLE&&(Tf({title:"mouseEnter",data:[{key:"originalEvent",value:o}],debug:i.debug}),clearTimeout(i.eventDelayTimeout),i.toggle())}}),Zn(ga(i),"handleMouseLeave",function(){var a=i.props,o=a.event,u=a.eventDelay,l=a.open;if(!(ce.boolean(l)||Cb())){var d=i.state,f=d.status,h=d.positionWrapper;i.event==="hover"&&(Tf({title:"mouseLeave",data:[{key:"originalEvent",value:o}],debug:i.debug}),u?[pt.OPENING,pt.OPEN].indexOf(f)!==-1&&!h&&!i.eventDelayTimeout&&(i.eventDelayTimeout=setTimeout(function(){delete i.eventDelayTimeout,i.toggle()},u*1e3)):i.toggle(pt.IDLE))}}),i.state={currentPlacement:r.placement,needsUpdate:!1,positionWrapper:r.wrapperOptions.position&&!!r.target,status:pt.INIT,statusWrapper:pt.INIT},i._isMounted=!1,i.hasMounted=!1,Ii()&&window.addEventListener("load",function(){i.popper&&i.popper.instance.update(),i.wrapperPopper&&i.wrapperPopper.instance.update()}),i}return hd(n,[{key:"componentDidMount",value:function(){if(Ii()){var i=this.state.positionWrapper,a=this.props,o=a.children,u=a.open,l=a.target;this._isMounted=!0,Tf({title:"init",data:{hasChildren:!!o,hasTarget:!!l,isControlled:ce.boolean(u),positionWrapper:i,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!o&&l&&ce.boolean(u)}}},{key:"componentDidUpdate",value:function(i,a){if(Ii()){var o=this.props,u=o.autoOpen,l=o.open,d=o.target,f=o.wrapperOptions,h=ale(a,this.state),p=h.changedFrom,g=h.changed;if(i.open!==l){var y;ce.boolean(l)&&(y=l?pt.OPENING:pt.CLOSING),this.toggle(y)}(i.wrapperOptions.position!==f.position||i.target!==d)&&this.changeWrapperPosition(this.props),g("status",pt.IDLE)&&l?this.toggle(pt.OPEN):p("status",pt.INIT,pt.IDLE)&&u&&this.toggle(pt.OPEN),this.popper&&g("status",pt.OPENING)&&this.popper.instance.update(),this.floaterRef&&(g("status",pt.OPENING)||g("status",pt.CLOSING))&&$le(this.floaterRef,"transitionend",this.handleTransitionEnd),g("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){Ii()&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var i=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.target,o=this.state.positionWrapper,u=this.props,l=u.disableFlip,d=u.getPopper,f=u.hideArrow,h=u.offset,p=u.placement,g=u.wrapperOptions,y=p==="top"||p==="bottom"?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if(p==="center")this.setState({status:pt.IDLE});else if(a&&this.floaterRef){var $=this.options,C=$.arrow,b=$.flip,v=$.offset,D=s8($,Cle);new Fc(a,this.floaterRef,{placement:p,modifiers:Ht({arrow:Ht({enabled:!f,element:this.arrowRef},C),flip:Ht({enabled:!l,behavior:y},b),offset:Ht({offset:"0, ".concat(h,"px")},v)},D),onCreate:function(T){var R;if(i.popper=T,!((R=i.floaterRef)!==null&&R!==void 0&&R.isConnected)){i.setState({needsUpdate:!0});return}d(T,"floater"),i._isMounted&&i.setState({currentPlacement:T.placement,status:pt.IDLE}),p!==T.placement&&setTimeout(function(){T.instance.update()},1)},onUpdate:function(T){i.popper=T;var R=i.state.currentPlacement;i._isMounted&&T.placement!==R&&i.setState({currentPlacement:T.placement})}})}if(o){var A=ce.undefined(g.offset)?0:g.offset;new Fc(this.target,this.wrapperRef,{placement:g.placement||p,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(A,"px")},flip:{enabled:!1}},onCreate:function(T){i.wrapperPopper=T,i._isMounted&&i.setState({statusWrapper:pt.IDLE}),d(T,"wrapper"),p!==T.placement&&setTimeout(function(){T.instance.update()},1)}})}}},{key:"rebuildPopper",value:function(){var i=this;this.floaterRefInterval=setInterval(function(){var a;(a=i.floaterRef)!==null&&a!==void 0&&a.isConnected&&(clearInterval(i.floaterRefInterval),i.setState({needsUpdate:!1}),i.initPopper())},50)}},{key:"changeWrapperPosition",value:function(i){var a=i.target,o=i.wrapperOptions;this.setState({positionWrapper:o.position&&!!a})}},{key:"toggle",value:function(i){var a=this.state.status,o=a===pt.OPEN?pt.CLOSING:pt.OPENING;ce.undefined(i)||(o=i),this.setState({status:o})}},{key:"debug",get:function(){var i=this.props.debug;return i||Ii()&&"ReactFloaterDebug"in window&&!!window.ReactFloaterDebug}},{key:"event",get:function(){var i=this.props,a=i.disableHoverToClick,o=i.event;return o==="hover"&&Cb()&&!a?"click":o}},{key:"options",get:function(){var i=this.props.options;return bi(dle,i||{})}},{key:"styles",get:function(){var i=this,a=this.state,o=a.status,u=a.positionWrapper,l=a.statusWrapper,d=this.props.styles,f=bi(Dle(d),d);if(u){var h;[pt.IDLE].indexOf(o)===-1||[pt.IDLE].indexOf(l)===-1?h=f.wrapperPosition:h=this.wrapperPopper.styles,f.wrapper=Ht(Ht({},f.wrapper),h)}if(this.target){var p=window.getComputedStyle(this.target);this.wrapperStyles?f.wrapper=Ht(Ht({},f.wrapper),this.wrapperStyles):["relative","static"].indexOf(p.position)===-1&&(this.wrapperStyles={},u||(Ele.forEach(function(g){i.wrapperStyles[g]=p[g]}),f.wrapper=Ht(Ht({},f.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return f}},{key:"target",get:function(){if(!Ii())return null;var i=this.props.target;return i?ce.domElement(i)?i:document.querySelector(i):this.childRef||this.wrapperRef}},{key:"render",value:function(){var i=this.state,a=i.currentPlacement,o=i.positionWrapper,u=i.status,l=this.props,d=l.children,f=l.component,h=l.content,p=l.disableAnimation,g=l.footer,y=l.hideArrow,$=l.id,C=l.open,b=l.showCloseButton,v=l.style,D=l.target,A=l.title,E=x.createElement(p8,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:v,styles:this.styles.wrapper},d),T={};return o?T.wrapperInPortal=E:T.wrapperAsChildren=E,x.createElement("span",null,x.createElement(l8,{hasChildren:!!d,id:$,placement:a,setRef:this.setFloaterRef,target:D,zIndex:this.styles.options.zIndex},x.createElement(h8,{component:f,content:h,disableAnimation:p,footer:g,handleClick:this.handleClick,hideArrow:y||a==="center",open:C,placement:a,positionWrapper:o,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:b,status:u,styles:this.styles,title:A}),T.wrapperInPortal),T.wrapperAsChildren)}}]),n}(x.Component);Zn(N3,"propTypes",{autoOpen:Se.bool,callback:Se.func,children:Se.node,component:rA(Se.oneOfType([Se.func,Se.element]),function(e){return!e.content}),content:rA(Se.node,function(e){return!e.component}),debug:Se.bool,disableAnimation:Se.bool,disableFlip:Se.bool,disableHoverToClick:Se.bool,event:Se.oneOf(["hover","click"]),eventDelay:Se.number,footer:Se.node,getPopper:Se.func,hideArrow:Se.bool,id:Se.oneOfType([Se.string,Se.number]),offset:Se.number,open:Se.bool,options:Se.object,placement:Se.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:Se.bool,style:Se.object,styles:Se.object,target:Se.oneOfType([Se.object,Se.string]),title:Se.node,wrapperOptions:Se.shape({offset:Se.number,placement:Se.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:Se.bool})});Zn(N3,"defaultProps",{autoOpen:!1,callback:iA,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:iA,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});var Sle=Object.defineProperty,Ale=(e,t,n)=>t in e?Sle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ie=(e,t,n)=>Ale(e,typeof t!="symbol"?t+"":t,n),$t={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},ri={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found"},Qe={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},ct={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished"};function ro(){var e;return!!(typeof window<"u"&&((e=window.document)!=null&&e.createElement))}function m8(e){return e?e.getBoundingClientRect():null}function Tle(e=!1){const{body:t,documentElement:n}=document;if(!t||!n)return 0;if(e){const r=[t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight].sort((a,o)=>a-o),i=Math.floor(r.length/2);return r.length%2===0?(r[i-1]+r[i])/2:r[i]}return Math.max(t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)}function xa(e){if(typeof e=="string")try{return document.querySelector(e)}catch(t){return process.env.NODE_ENV!=="production"&&console.error(t),null}return e}function Ple(e){return!e||e.nodeType!==1?null:getComputedStyle(e)}function kc(e,t,n){if(!e)return Jo();const r=j9(e);if(r){if(r.isSameNode(Jo()))return n?document:Jo();if(!(r.scrollHeight>r.offsetHeight)&&!t)return r.style.overflow="initial",Jo()}return r}function gd(e,t){if(!e)return!1;const n=kc(e,t);return n?!n.isSameNode(Jo()):!1}function _le(e){return e.offsetParent!==document.body}function ju(e,t="fixed"){if(!e||!(e instanceof HTMLElement))return!1;const{nodeName:n}=e,r=Ple(e);return n==="BODY"||n==="HTML"?!1:r&&r.position===t?!0:e.parentNode?ju(e.parentNode,t):!1}function Rle(e){var t;if(!e)return!1;let n=e;for(;n&&n!==document.body;){if(n instanceof HTMLElement){const{display:r,visibility:i}=getComputedStyle(n);if(r==="none"||i==="hidden")return!1}n=(t=n.parentElement)!=null?t:null}return!0}function Ole(e,t,n){var r,i,a;const o=m8(e),u=kc(e,n),l=gd(e,n),d=ju(e);let f=0,h=(r=o==null?void 0:o.top)!=null?r:0;if(l&&d){const p=(i=e==null?void 0:e.offsetTop)!=null?i:0,g=(a=u==null?void 0:u.scrollTop)!=null?a:0;h=p-g}else u instanceof HTMLElement&&(f=u.scrollTop,!l&&!ju(e)&&(h+=f),u.isSameNode(Jo())||(h+=Jo().scrollTop));return Math.floor(h-t)}function Mle(e,t,n){var r;if(!e)return 0;const{offsetTop:i=0,scrollTop:a=0}=(r=j9(e))!=null?r:{};let o=e.getBoundingClientRect().top+a;i&&(gd(e,n)||_le(e))&&(o-=i);const u=Math.floor(o-t);return u<0?0:u}function Jo(){var e;return(e=document.scrollingElement)!=null?e:document.documentElement}function Fle(e,t){const{duration:n,element:r}=t;return new Promise((i,a)=>{const{scrollTop:o}=r,u=e>o?e-o:o-e;qse.top(r,e,{duration:u<100?50:n},l=>l&&l.message!=="Element already at target scroll position"?a(l):i())})}var jl=uo.createPortal!==void 0;function g8(e=navigator.userAgent){let t=e;return typeof window>"u"?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":window.opera||e.includes(" OPR/")?t="opera":typeof window.InstallTrigger<"u"?t="firefox":window.chrome?t="chrome":/(Version\/([\d._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function Yf(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Bi(e,t={}){const{defaultValue:n,step:r,steps:i}=t;let a=O2(e);if(a)(a.includes("{step}")||a.includes("{steps}"))&&r&&i&&(a=a.replace("{step}",r.toString()).replace("{steps}",i.toString()));else if(x.isValidElement(e)&&!Object.values(e.props).length&&Yf(e.type)==="function"){const o=e.type({});a=Bi(o,t)}else a=O2(n);return a}function kle(e,t){return!ke.plainObject(e)||!ke.array(t)?!1:Object.keys(e).every(n=>t.includes(n))}function Ile(e){const t=/^#?([\da-f])([\da-f])([\da-f])$/i,n=e.replace(t,(i,a,o,u)=>a+a+o+o+u+u),r=/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i.exec(n);return r?[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)]:[]}function aA(e){return e.disableBeacon||e.placement==="center"}function oA(){return!["chrome","safari","firefox","opera"].includes(g8())}function vo({data:e,debug:t=!1,title:n,warn:r=!1}){const i=r?console.warn||console.error:console.log;t&&(n&&e?(console.groupCollapsed(`%creact-joyride: ${n}`,"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(e)?e.forEach(a=>{ke.plainObject(a)&&a.key?i.apply(console,[a.key,a.value]):i.apply(console,[a])}):i.apply(console,[e]),console.groupEnd()):console.error("Missing title or data props"))}function Ble(e){return Object.keys(e)}function y8(e,...t){if(!ke.plainObject(e))throw new TypeError("Expected an object");const n={};for(const r in e)({}).hasOwnProperty.call(e,r)&&(t.includes(r)||(n[r]=e[r]));return n}function Lle(e,...t){if(!ke.plainObject(e))throw new TypeError("Expected an object");if(!t.length)return e;const n={};for(const r in e)({}).hasOwnProperty.call(e,r)&&t.includes(r)&&(n[r]=e[r]);return n}function s1(e,t,n){const r=a=>a.replace("{step}",String(t)).replace("{steps}",String(n));if(Yf(e)==="string")return r(e);if(!x.isValidElement(e))return e;const{children:i}=e.props;if(Yf(i)==="string"&&i.includes("{step}"))return x.cloneElement(e,{children:r(i)});if(Array.isArray(i))return x.cloneElement(e,{children:i.map(a=>typeof a=="string"?r(a):s1(a,t,n))});if(Yf(e.type)==="function"&&!Object.values(e.props).length){const a=e.type({});return s1(a,t,n)}return e}function Vle(e){const{isFirstStep:t,lifecycle:n,previousLifecycle:r,scrollToFirstStep:i,step:a,target:o}=e;return!a.disableScrolling&&(!t||i||n===Qe.TOOLTIP)&&a.placement!=="center"&&(!a.isFixed||!ju(o))&&r!==n&&[Qe.BEACON,Qe.TOOLTIP].includes(n)}var Nle={options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},v8={back:"Back",close:"Close",last:"Last",next:"Next",nextLabelWithProgress:"Next (Step {step} of {steps})",open:"Open the dialog",skip:"Skip"},jle={event:"click",placement:"bottom",offset:10,disableBeacon:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrollParentFix:!1,disableScrolling:!1,hideBackButton:!1,hideCloseButton:!1,hideFooter:!1,isFixed:!1,locale:v8,showProgress:!1,showSkipButton:!1,spotlightClicks:!1,spotlightPadding:10},Kle={continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:void 0,hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]},Ule={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",width:380,zIndex:100},Kl={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},sA={borderRadius:4,position:"absolute"};function zle(e,t){var n,r,i,a,o;const{floaterProps:u,styles:l}=e,d=bi((n=t.floaterProps)!=null?n:{},u??{}),f=bi(l??{},(r=t.styles)!=null?r:{}),h=bi(Ule,f.options||{}),p=t.placement==="center"||t.disableBeacon;let{width:g}=h;window.innerWidth>480&&(g=380),"width"in h&&(g=typeof h.width=="number"&&window.innerWidth<h.width?window.innerWidth-30:h.width);const y={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:h.zIndex},$={beacon:{...Kl,display:p?"none":"inline-block",height:h.beaconSize,position:"relative",width:h.beaconSize,zIndex:h.zIndex},beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:h.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:`rgba(${Ile(h.primaryColor).join(",")}, 0.2)`,border:`2px solid ${h.primaryColor}`,borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:h.backgroundColor,borderRadius:5,boxSizing:"border-box",color:h.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:g},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:{...Kl,backgroundColor:h.primaryColor,borderRadius:4,color:"#fff"},buttonBack:{...Kl,color:h.primaryColor,marginLeft:"auto",marginRight:5},buttonClose:{...Kl,color:h.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14},buttonSkip:{...Kl,color:h.textColor,fontSize:14},overlay:{...y,backgroundColor:h.overlayColor,mixBlendMode:"hard-light"},overlayLegacy:{...y},overlayLegacyCenter:{...y,backgroundColor:h.overlayColor},spotlight:{...sA,backgroundColor:"gray"},spotlightLegacy:{...sA,boxShadow:`0 0 0 9999px ${h.overlayColor}, ${h.spotlightShadow}`},floaterStyles:{arrow:{color:(o=(a=(i=d==null?void 0:d.styles)==null?void 0:i.arrow)==null?void 0:a.color)!=null?o:h.arrowColor},options:{zIndex:h.zIndex+100}},options:h};return bi($,f)}function qle(e){return Lle(e,"beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","hideCloseButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent")}function Ys(e,t){var n,r,i,a,o,u;const l=t??{},d=bi.all([jle,qle(e),l],{isMergeableObject:ke.plainObject}),f=zle(e,d),h=gd(xa(d.target),d.disableScrollParentFix),p=bi.all([Nle,(n=e.floaterProps)!=null?n:{},(r=d.floaterProps)!=null?r:{}]);return p.offset=d.offset,p.styles=bi((i=p.styles)!=null?i:{},f.floaterStyles),p.offset+=(o=(a=e.spotlightPadding)!=null?a:d.spotlightPadding)!=null?o:0,d.placementBeacon&&p.wrapperOptions&&(p.wrapperOptions.placement=d.placementBeacon),h&&p.options.preventOverflow&&(p.options.preventOverflow.boundariesElement="window"),{...d,locale:bi.all([v8,(u=e.locale)!=null?u:{},d.locale||{}]),floaterProps:p,styles:y8(f,"floaterStyles")}}function b8(e,t=!1){return ke.plainObject(e)?e.target?!0:(vo({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(vo({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function uA(e,t=!1){return ke.array(e)?e.every(n=>b8(n,t)):(vo({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var $8={action:"init",controlled:!1,index:0,lifecycle:Qe.INIT,origin:null,size:0,status:ct.IDLE},lA=Ble(y8($8,"controlled","size")),Wle=class{constructor(e){Ie(this,"beaconPopper"),Ie(this,"tooltipPopper"),Ie(this,"data",new Map),Ie(this,"listener"),Ie(this,"store",new Map),Ie(this,"addListener",i=>{this.listener=i}),Ie(this,"setSteps",i=>{const{size:a,status:o}=this.getState(),u={size:i.length,status:o};this.data.set("steps",i),o===ct.WAITING&&!a&&i.length&&(u.status=ct.RUNNING),this.setState(u)}),Ie(this,"getPopper",i=>i==="beacon"?this.beaconPopper:this.tooltipPopper),Ie(this,"setPopper",(i,a)=>{i==="beacon"?this.beaconPopper=a:this.tooltipPopper=a}),Ie(this,"cleanupPoppers",()=>{this.beaconPopper=null,this.tooltipPopper=null}),Ie(this,"close",(i=null)=>{const{index:a,status:o}=this.getState();o===ct.RUNNING&&this.setState({...this.getNextState({action:$t.CLOSE,index:a+1,origin:i})})}),Ie(this,"go",i=>{const{controlled:a,status:o}=this.getState();if(a||o!==ct.RUNNING)return;const u=this.getSteps()[i];this.setState({...this.getNextState({action:$t.GO,index:i}),status:u?o:ct.FINISHED})}),Ie(this,"info",()=>this.getState()),Ie(this,"next",()=>{const{index:i,status:a}=this.getState();a===ct.RUNNING&&this.setState(this.getNextState({action:$t.NEXT,index:i+1}))}),Ie(this,"open",()=>{const{status:i}=this.getState();i===ct.RUNNING&&this.setState({...this.getNextState({action:$t.UPDATE,lifecycle:Qe.TOOLTIP})})}),Ie(this,"prev",()=>{const{index:i,status:a}=this.getState();a===ct.RUNNING&&this.setState({...this.getNextState({action:$t.PREV,index:i-1})})}),Ie(this,"reset",(i=!1)=>{const{controlled:a}=this.getState();a||this.setState({...this.getNextState({action:$t.RESET,index:0}),status:i?ct.RUNNING:ct.READY})}),Ie(this,"skip",()=>{const{status:i}=this.getState();i===ct.RUNNING&&this.setState({action:$t.SKIP,lifecycle:Qe.INIT,status:ct.SKIPPED})}),Ie(this,"start",i=>{const{index:a,size:o}=this.getState();this.setState({...this.getNextState({action:$t.START,index:ke.number(i)?i:a},!0),status:o?ct.RUNNING:ct.WAITING})}),Ie(this,"stop",(i=!1)=>{const{index:a,status:o}=this.getState();[ct.FINISHED,ct.SKIPPED].includes(o)||this.setState({...this.getNextState({action:$t.STOP,index:a+(i?1:0)}),status:ct.PAUSED})}),Ie(this,"update",i=>{var a,o;if(!kle(i,lA))throw new Error(`State is not valid. Valid keys: ${lA.join(", ")}`);this.setState({...this.getNextState({...this.getState(),...i,action:(a=i.action)!=null?a:$t.UPDATE,origin:(o=i.origin)!=null?o:null},!0)})});const{continuous:t=!1,stepIndex:n,steps:r=[]}=e??{};this.setState({action:$t.INIT,controlled:ke.number(n),continuous:t,index:ke.number(n)?n:0,lifecycle:Qe.INIT,origin:null,status:r.length?ct.READY:ct.IDLE},!0),this.beaconPopper=null,this.tooltipPopper=null,this.listener=null,this.setSteps(r)}getState(){return this.store.size?{action:this.store.get("action")||"",controlled:this.store.get("controlled")||!1,index:parseInt(this.store.get("index"),10),lifecycle:this.store.get("lifecycle")||"",origin:this.store.get("origin")||null,size:this.store.get("size")||0,status:this.store.get("status")||""}:{...$8}}getNextState(e,t=!1){var n,r,i,a,o;const{action:u,controlled:l,index:d,size:f,status:h}=this.getState(),p=ke.number(e.index)?e.index:d,g=l&&!t?d:Math.min(Math.max(p,0),f);return{action:(n=e.action)!=null?n:u,controlled:l,index:g,lifecycle:(r=e.lifecycle)!=null?r:Qe.INIT,origin:(i=e.origin)!=null?i:null,size:(a=e.size)!=null?a:f,status:g===f?ct.FINISHED:(o=e.status)!=null?o:h}}getSteps(){const e=this.data.get("steps");return Array.isArray(e)?e:[]}hasUpdatedState(e){const t=JSON.stringify(e),n=JSON.stringify(this.getState());return t!==n}setState(e,t=!1){const n=this.getState(),{action:r,index:i,lifecycle:a,origin:o=null,size:u,status:l}={...n,...e};this.store.set("action",r),this.store.set("index",i),this.store.set("lifecycle",a),this.store.set("origin",o),this.store.set("size",u),this.store.set("status",l),t&&(this.store.set("controlled",e.controlled),this.store.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(n)&&this.listener(this.getState())}getHelpers(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}};function Hle(e){return new Wle(e)}function Gle({styles:e}){return Ge.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight","data-test-id":"spotlight",style:e})}var Yle=Gle,Zle=class extends Ge.Component{constructor(){super(...arguments),Ie(this,"isActive",!1),Ie(this,"resizeTimeout"),Ie(this,"scrollTimeout"),Ie(this,"scrollParent"),Ie(this,"state",{isScrolling:!1,mouseOverSpotlight:!1,showSpotlight:!0}),Ie(this,"hideSpotlight",()=>{const{continuous:e,disableOverlay:t,lifecycle:n}=this.props,r=[Qe.INIT,Qe.BEACON,Qe.COMPLETE,Qe.ERROR];return t||(e?r.includes(n):n!==Qe.TOOLTIP)}),Ie(this,"handleMouseMove",e=>{const{mouseOverSpotlight:t}=this.state,{height:n,left:r,position:i,top:a,width:o}=this.spotlightStyles,u=i==="fixed"?e.clientY:e.pageY,l=i==="fixed"?e.clientX:e.pageX,d=u>=a&&u<=a+n,h=l>=r&&l<=r+o&&d;h!==t&&this.updateState({mouseOverSpotlight:h})}),Ie(this,"handleScroll",()=>{const{target:e}=this.props,t=xa(e);if(this.scrollParent!==document){const{isScrolling:n}=this.state;n||this.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(this.scrollTimeout),this.scrollTimeout=window.setTimeout(()=>{this.updateState({isScrolling:!1,showSpotlight:!0})},50)}else ju(t,"sticky")&&this.updateState({})}),Ie(this,"handleResize",()=>{clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{this.isActive&&this.forceUpdate()},100)})}componentDidMount(){const{debug:e,disableScrolling:t,disableScrollParentFix:n=!1,target:r}=this.props,i=xa(r);this.scrollParent=kc(i??document.body,n,!0),this.isActive=!0,process.env.NODE_ENV!=="production"&&!t&&gd(i,!0)&&vo({title:"step has a custom scroll parent and can cause trouble with scrolling",data:[{key:"parent",value:this.scrollParent}],debug:e}),window.addEventListener("resize",this.handleResize)}componentDidUpdate(e){var t;const{disableScrollParentFix:n,lifecycle:r,spotlightClicks:i,target:a}=this.props,{changed:o}=Vh(e,this.props);if(o("target")||o("disableScrollParentFix")){const u=xa(a);this.scrollParent=kc(u??document.body,n,!0)}o("lifecycle",Qe.TOOLTIP)&&((t=this.scrollParent)==null||t.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(()=>{const{isScrolling:u}=this.state;u||this.updateState({showSpotlight:!0})},100)),(o("spotlightClicks")||o("disableOverlay")||o("lifecycle"))&&(i&&r===Qe.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):r!==Qe.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}componentWillUnmount(){var e;this.isActive=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),(e=this.scrollParent)==null||e.removeEventListener("scroll",this.handleScroll)}get overlayStyles(){const{mouseOverSpotlight:e}=this.state,{disableOverlayClose:t,placement:n,styles:r}=this.props;let i=r.overlay;return oA()&&(i=n==="center"?r.overlayLegacyCenter:r.overlayLegacy),{cursor:t?"default":"pointer",height:Tle(),pointerEvents:e?"none":"auto",...i}}get spotlightStyles(){var e,t,n;const{showSpotlight:r}=this.state,{disableScrollParentFix:i=!1,spotlightClicks:a,spotlightPadding:o=0,styles:u,target:l}=this.props,d=xa(l),f=m8(d),h=ju(d),p=Ole(d,o,i);return{...oA()?u.spotlightLegacy:u.spotlight,height:Math.round(((e=f==null?void 0:f.height)!=null?e:0)+o*2),left:Math.round(((t=f==null?void 0:f.left)!=null?t:0)-o),opacity:r?1:0,pointerEvents:a?"none":"auto",position:h?"fixed":"absolute",top:p,transition:"opacity 0.2s",width:Math.round(((n=f==null?void 0:f.width)!=null?n:0)+o*2)}}updateState(e){this.isActive&&this.setState(t=>({...t,...e}))}render(){const{showSpotlight:e}=this.state,{onClickOverlay:t,placement:n}=this.props,{hideSpotlight:r,overlayStyles:i,spotlightStyles:a}=this;if(r())return null;let o=n!=="center"&&e&&Ge.createElement(Yle,{styles:a});if(g8()==="safari"){const{mixBlendMode:u,zIndex:l,...d}=i;o=Ge.createElement("div",{style:{...d}},o),delete i.backgroundColor}return Ge.createElement("div",{className:"react-joyride__overlay","data-test-id":"overlay",onClick:t,role:"presentation",style:i},o)}},Jle=class extends Ge.Component{constructor(){super(...arguments),Ie(this,"node",null)}componentDidMount(){const{id:e}=this.props;ro()&&(this.node=document.createElement("div"),this.node.id=e,document.body.appendChild(this.node),jl||this.renderReact15())}componentDidUpdate(){ro()&&(jl||this.renderReact15())}componentWillUnmount(){!ro()||!this.node||(jl||Pf.unmountComponentAtNode(this.node),this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=null))}renderReact15(){if(!ro())return;const{children:e}=this.props;this.node&&Pf.unstable_renderSubtreeIntoContainer(this,e,this.node)}renderReact16(){if(!ro()||!jl)return null;const{children:e}=this.props;return this.node?Pf.createPortal(e,this.node):null}render(){return jl?this.renderReact16():null}},Xle=class{constructor(e,t){if(Ie(this,"element"),Ie(this,"options"),Ie(this,"canBeTabbed",n=>{const{tabIndex:r}=n;return r===null||r<0?!1:this.canHaveFocus(n)}),Ie(this,"canHaveFocus",n=>{const r=/input|select|textarea|button|object/,i=n.nodeName.toLowerCase();return(r.test(i)&&!n.getAttribute("disabled")||i==="a"&&!!n.getAttribute("href"))&&this.isVisible(n)}),Ie(this,"findValidTabElements",()=>[].slice.call(this.element.querySelectorAll("*"),0).filter(this.canBeTabbed)),Ie(this,"handleKeyDown",n=>{const{code:r="Tab"}=this.options;n.code===r&&this.interceptTab(n)}),Ie(this,"interceptTab",n=>{n.preventDefault();const r=this.findValidTabElements(),{shiftKey:i}=n;if(!r.length)return;let a=document.activeElement?r.indexOf(document.activeElement):0;a===-1||!i&&a+1===r.length?a=0:i&&a===0?a=r.length-1:a+=i?-1:1,r[a].focus()}),Ie(this,"isHidden",n=>{const r=n.offsetWidth<=0&&n.offsetHeight<=0,i=window.getComputedStyle(n);return r&&!n.innerHTML?!0:r&&i.getPropertyValue("overflow")!=="visible"||i.getPropertyValue("display")==="none"}),Ie(this,"isVisible",n=>{let r=n;for(;r;)if(r instanceof HTMLElement){if(r===document.body)break;if(this.isHidden(r))return!1;r=r.parentNode}return!0}),Ie(this,"removeScope",()=>{window.removeEventListener("keydown",this.handleKeyDown)}),Ie(this,"checkFocus",n=>{document.activeElement!==n&&(n.focus(),window.requestAnimationFrame(()=>this.checkFocus(n)))}),Ie(this,"setFocus",()=>{const{selector:n}=this.options;if(!n)return;const r=this.element.querySelector(n);r&&window.requestAnimationFrame(()=>this.checkFocus(r))}),!(e instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=e,this.options=t,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()}},Qle=class extends Ge.Component{constructor(e){if(super(e),Ie(this,"beacon",null),Ie(this,"setBeaconRef",i=>{this.beacon=i}),e.beaconComponent)return;const t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.id="joyride-beacon-animation",e.nonce&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode(`
198
- @keyframes joyride-beacon-inner {
199
- 20% {
200
- opacity: 0.9;
201
- }
202
-
203
- 90% {
204
- opacity: 0.7;
205
- }
206
- }
207
-
208
- @keyframes joyride-beacon-outer {
209
- 0% {
210
- transform: scale(1);
211
- }
212
-
213
- 45% {
214
- opacity: 0.7;
215
- transform: scale(0.75);
216
- }
217
-
218
- 100% {
219
- opacity: 0.9;
220
- transform: scale(1);
221
- }
222
- }
223
- `)),t.appendChild(n)}componentDidMount(){const{shouldFocus:e}=this.props;process.env.NODE_ENV!=="production"&&(ke.domElement(this.beacon)||console.warn("beacon is not a valid DOM element")),setTimeout(()=>{ke.domElement(this.beacon)&&e&&this.beacon.focus()},0)}componentWillUnmount(){const e=document.getElementById("joyride-beacon-animation");e!=null&&e.parentNode&&e.parentNode.removeChild(e)}render(){const{beaconComponent:e,continuous:t,index:n,isLastStep:r,locale:i,onClickOrHover:a,size:o,step:u,styles:l}=this.props,d=Bi(i.open),f={"aria-label":d,onClick:a,onMouseEnter:a,ref:this.setBeaconRef,title:d};let h;if(e){const p=e;h=Ge.createElement(p,{continuous:t,index:n,isLastStep:r,size:o,step:u,...f})}else h=Ge.createElement("button",{key:"JoyrideBeacon",className:"react-joyride__beacon","data-test-id":"button-beacon",style:l.beacon,type:"button",...f},Ge.createElement("span",{style:l.beaconInner}),Ge.createElement("span",{style:l.beaconOuter}));return h}};function ece({styles:e,...t}){const{color:n,height:r,width:i,...a}=e;return x.createElement("button",{style:a,type:"button",...t},x.createElement("svg",{height:typeof r=="number"?`${r}px`:r,preserveAspectRatio:"xMidYMid",version:"1.1",viewBox:"0 0 18 18",width:typeof i=="number"?`${i}px`:i,xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",null,x.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:n}))))}var tce=ece;function nce(e){const{backProps:t,closeProps:n,index:r,isLastStep:i,primaryProps:a,skipProps:o,step:u,tooltipProps:l}=e,{content:d,hideBackButton:f,hideCloseButton:h,hideFooter:p,showSkipButton:g,styles:y,title:$}=u,C={};return C.primary=Ge.createElement("button",{"data-test-id":"button-primary",style:y.buttonNext,type:"button",...a}),g&&!i&&(C.skip=Ge.createElement("button",{"aria-live":"off","data-test-id":"button-skip",style:y.buttonSkip,type:"button",...o})),!f&&r>0&&(C.back=Ge.createElement("button",{"data-test-id":"button-back",style:y.buttonBack,type:"button",...t})),C.close=!h&&Ge.createElement(tce,{"data-test-id":"button-close",styles:y.buttonClose,...n}),Ge.createElement("div",{key:"JoyrideTooltip","aria-label":Bi($??d),className:"react-joyride__tooltip",style:y.tooltip,...l},Ge.createElement("div",{style:y.tooltipContainer},$&&Ge.createElement("h1",{"aria-label":Bi($),style:y.tooltipTitle},$),Ge.createElement("div",{style:y.tooltipContent},d)),!p&&Ge.createElement("div",{style:y.tooltipFooter},Ge.createElement("div",{style:y.tooltipFooterSpacer},C.skip),C.back,C.primary),C.close)}var rce=nce,ice=class extends Ge.Component{constructor(){super(...arguments),Ie(this,"handleClickBack",e=>{e.preventDefault();const{helpers:t}=this.props;t.prev()}),Ie(this,"handleClickClose",e=>{e.preventDefault();const{helpers:t}=this.props;t.close("button_close")}),Ie(this,"handleClickPrimary",e=>{e.preventDefault();const{continuous:t,helpers:n}=this.props;if(!t){n.close("button_primary");return}n.next()}),Ie(this,"handleClickSkip",e=>{e.preventDefault();const{helpers:t}=this.props;t.skip()}),Ie(this,"getElementsProps",()=>{const{continuous:e,index:t,isLastStep:n,setTooltipRef:r,size:i,step:a}=this.props,{back:o,close:u,last:l,next:d,nextLabelWithProgress:f,skip:h}=a.locale,p=Bi(o),g=Bi(u),y=Bi(l),$=Bi(d),C=Bi(h);let b=u,v=g;if(e){if(b=d,v=$,a.showProgress&&!n){const D=Bi(f,{step:t+1,steps:i});b=s1(f,t+1,i),v=D}n&&(b=l,v=y)}return{backProps:{"aria-label":p,children:o,"data-action":"back",onClick:this.handleClickBack,role:"button",title:p},closeProps:{"aria-label":g,children:u,"data-action":"close",onClick:this.handleClickClose,role:"button",title:g},primaryProps:{"aria-label":v,children:b,"data-action":"primary",onClick:this.handleClickPrimary,role:"button",title:v},skipProps:{"aria-label":C,children:h,"data-action":"skip",onClick:this.handleClickSkip,role:"button",title:C},tooltipProps:{"aria-modal":!0,ref:r,role:"alertdialog"}}})}render(){const{continuous:e,index:t,isLastStep:n,setTooltipRef:r,size:i,step:a}=this.props,{beaconComponent:o,tooltipComponent:u,...l}=a;let d;if(u){const f={...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:i,step:l,setTooltipRef:r},h=u;d=Ge.createElement(h,{...f})}else d=Ge.createElement(rce,{...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:i,step:a});return d}},ace=class extends Ge.Component{constructor(){super(...arguments),Ie(this,"scope",null),Ie(this,"tooltip",null),Ie(this,"handleClickHoverBeacon",e=>{const{step:t,store:n}=this.props;e.type==="mouseenter"&&t.event!=="hover"||n.update({lifecycle:Qe.TOOLTIP})}),Ie(this,"setTooltipRef",e=>{this.tooltip=e}),Ie(this,"setPopper",(e,t)=>{var n;const{action:r,lifecycle:i,step:a,store:o}=this.props;t==="wrapper"?o.setPopper("beacon",e):o.setPopper("tooltip",e),o.getPopper("beacon")&&(o.getPopper("tooltip")||a.placement==="center")&&i===Qe.INIT&&o.update({action:r,lifecycle:Qe.READY}),(n=a.floaterProps)!=null&&n.getPopper&&a.floaterProps.getPopper(e,t)}),Ie(this,"renderTooltip",e=>{const{continuous:t,helpers:n,index:r,size:i,step:a}=this.props;return Ge.createElement(ice,{continuous:t,helpers:n,index:r,isLastStep:r+1===i,setTooltipRef:this.setTooltipRef,size:i,step:a,...e})})}componentDidMount(){const{debug:e,index:t}=this.props;vo({title:`step:${t}`,data:[{key:"props",value:this.props}],debug:e})}componentDidUpdate(e){var t;const{action:n,callback:r,continuous:i,controlled:a,debug:o,helpers:u,index:l,lifecycle:d,shouldScroll:f,status:h,step:p,store:g}=this.props,{changed:y,changedFrom:$}=Vh(e,this.props),C=u.info(),b=i&&n!==$t.CLOSE&&(l>0||n===$t.PREV),v=y("action")||y("index")||y("lifecycle")||y("status"),D=$("lifecycle",[Qe.TOOLTIP,Qe.INIT],Qe.INIT),A=y("action",[$t.NEXT,$t.PREV,$t.SKIP,$t.CLOSE]),E=a&&l===e.index;if(A&&(D||E)&&r({...C,index:e.index,lifecycle:Qe.COMPLETE,step:e.step,type:ri.STEP_AFTER}),p.placement==="center"&&h===ct.RUNNING&&y("index")&&n!==$t.START&&d===Qe.INIT&&g.update({lifecycle:Qe.READY}),v){const T=xa(p.target),R=!!T;R&&Rle(T)?($("status",ct.READY,ct.RUNNING)||$("lifecycle",Qe.INIT,Qe.READY))&&r({...C,step:p,type:ri.STEP_BEFORE}):(console.warn(R?"Target not visible":"Target not mounted",p),r({...C,type:ri.TARGET_NOT_FOUND,step:p}),a||g.update({index:l+(n===$t.PREV?-1:1)}))}$("lifecycle",Qe.INIT,Qe.READY)&&g.update({lifecycle:aA(p)||b?Qe.TOOLTIP:Qe.BEACON}),y("index")&&vo({title:`step:${d}`,data:[{key:"props",value:this.props}],debug:o}),y("lifecycle",Qe.BEACON)&&r({...C,step:p,type:ri.BEACON}),y("lifecycle",Qe.TOOLTIP)&&(r({...C,step:p,type:ri.TOOLTIP}),f&&this.tooltip&&(this.scope=new Xle(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus())),$("lifecycle",[Qe.TOOLTIP,Qe.INIT],Qe.INIT)&&((t=this.scope)==null||t.removeScope(),g.cleanupPoppers())}componentWillUnmount(){var e;(e=this.scope)==null||e.removeScope()}get open(){const{lifecycle:e,step:t}=this.props;return aA(t)||e===Qe.TOOLTIP}render(){const{continuous:e,debug:t,index:n,nonce:r,shouldScroll:i,size:a,step:o}=this.props,u=xa(o.target);return!b8(o)||!ke.domElement(u)?null:Ge.createElement("div",{key:`JoyrideStep-${n}`,className:"react-joyride__step"},Ge.createElement(N3,{...o.floaterProps,component:this.renderTooltip,debug:t,getPopper:this.setPopper,id:`react-joyride-step-${n}`,open:this.open,placement:o.placement,target:o.target},Ge.createElement(Qle,{beaconComponent:o.beaconComponent,continuous:e,index:n,isLastStep:n+1===a,locale:o.locale,nonce:r,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:i,size:a,step:o,styles:o.styles})))}},x8=class extends Ge.Component{constructor(e){super(e),Ie(this,"helpers"),Ie(this,"store"),Ie(this,"callback",o=>{const{callback:u}=this.props;ke.function(u)&&u(o)}),Ie(this,"handleKeyboard",o=>{const{index:u,lifecycle:l}=this.state,{steps:d}=this.props,f=d[u];l===Qe.TOOLTIP&&o.code==="Escape"&&f&&!f.disableCloseOnEsc&&this.store.close("keyboard")}),Ie(this,"handleClickOverlay",()=>{const{index:o}=this.state,{steps:u}=this.props;Ys(this.props,u[o]).disableOverlayClose||this.helpers.close("overlay")}),Ie(this,"syncState",o=>{this.setState(o)});const{debug:t,getHelpers:n,run:r=!0,stepIndex:i}=e;this.store=Hle({...e,controlled:r&&ke.number(i)}),this.helpers=this.store.getHelpers();const{addListener:a}=this.store;vo({title:"init",data:[{key:"props",value:this.props},{key:"state",value:this.state}],debug:t}),a(this.syncState),n&&n(this.helpers),this.state=this.store.getState()}componentDidMount(){if(!ro())return;const{debug:e,disableCloseOnEsc:t,run:n,steps:r}=this.props,{start:i}=this.store;uA(r,e)&&n&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}componentDidUpdate(e,t){if(!ro())return;const{action:n,controlled:r,index:i,status:a}=this.state,{debug:o,run:u,stepIndex:l,steps:d}=this.props,{stepIndex:f,steps:h}=e,{reset:p,setSteps:g,start:y,stop:$,update:C}=this.store,{changed:b}=Vh(e,this.props),{changed:v,changedFrom:D}=Vh(t,this.state),A=Ys(this.props,d[i]),E=!lr(h,d),T=ke.number(l)&&b("stepIndex"),R=xa(A.target);if(E&&(uA(d,o)?g(d):console.warn("Steps are not valid",d)),b("run")&&(u?y(l):$()),T){let j=ke.number(f)&&f<l?$t.NEXT:$t.PREV;n===$t.STOP&&(j=$t.START),[ct.FINISHED,ct.SKIPPED].includes(a)||C({action:n===$t.CLOSE?$t.CLOSE:j,index:l,lifecycle:Qe.INIT})}!r&&a===ct.RUNNING&&i===0&&!R&&(this.store.update({index:i+1}),this.callback({...this.state,type:ri.TARGET_NOT_FOUND,step:A}));const S={...this.state,index:i,step:A};if(v("action",[$t.NEXT,$t.PREV,$t.SKIP,$t.CLOSE])&&v("status",ct.PAUSED)){const j=Ys(this.props,d[t.index]);this.callback({...S,index:t.index,lifecycle:Qe.COMPLETE,step:j,type:ri.STEP_AFTER})}if(v("status",[ct.FINISHED,ct.SKIPPED])){const j=Ys(this.props,d[t.index]);r||this.callback({...S,index:t.index,lifecycle:Qe.COMPLETE,step:j,type:ri.STEP_AFTER}),this.callback({...S,type:ri.TOUR_END,step:j,index:t.index}),p()}else D("status",[ct.IDLE,ct.READY],ct.RUNNING)?this.callback({...S,type:ri.TOUR_START}):(v("status")||v("action",$t.RESET))&&this.callback({...S,type:ri.TOUR_STATUS});this.scrollToStep(t)}componentWillUnmount(){const{disableCloseOnEsc:e}=this.props;e||document.body.removeEventListener("keydown",this.handleKeyboard)}scrollToStep(e){const{index:t,lifecycle:n,status:r}=this.state,{debug:i,disableScrollParentFix:a=!1,scrollDuration:o,scrollOffset:u=20,scrollToFirstStep:l=!1,steps:d}=this.props,f=Ys(this.props,d[t]),h=xa(f.target),p=Vle({isFirstStep:t===0,lifecycle:n,previousLifecycle:e.lifecycle,scrollToFirstStep:l,step:f,target:h});if(r===ct.RUNNING&&p){const g=gd(h,a),y=kc(h,a);let $=Math.floor(Mle(h,u,a))||0;vo({title:"scrollToStep",data:[{key:"index",value:t},{key:"lifecycle",value:n},{key:"status",value:r}],debug:i});const C=this.store.getPopper("beacon"),b=this.store.getPopper("tooltip");if(n===Qe.BEACON&&C){const{offsets:v,placement:D}=C;!["bottom"].includes(D)&&!g&&($=Math.floor(v.popper.top-u))}else if(n===Qe.TOOLTIP&&b){const{flipped:v,offsets:D,placement:A}=b;["top","right","left"].includes(A)&&!v&&!g?$=Math.floor(D.popper.top-u):$-=f.spotlightPadding}$=$>=0?$:0,r===ct.RUNNING&&Fle($,{element:y,duration:o}).then(()=>{setTimeout(()=>{var v;(v=this.store.getPopper("tooltip"))==null||v.instance.update()},10)})}}render(){if(!ro())return null;const{index:e,lifecycle:t,status:n}=this.state,{continuous:r=!1,debug:i=!1,nonce:a,scrollToFirstStep:o=!1,steps:u}=this.props,l=n===ct.RUNNING,d={};if(l&&u[e]){const f=Ys(this.props,u[e]);d.step=Ge.createElement(ace,{...this.state,callback:this.callback,continuous:r,debug:i,helpers:this.helpers,nonce:a,shouldScroll:!f.disableScrolling&&(e!==0||o),step:f,store:this.store}),d.overlay=Ge.createElement(Jle,{id:"react-joyride-portal"},Ge.createElement(Zle,{...f,continuous:r,debug:i,lifecycle:t,onClickOverlay:this.handleClickOverlay}))}return Ge.createElement("div",{className:"react-joyride"},d.step,d.overlay)}};Ie(x8,"defaultProps",Kle);var oce=x8;exports.$131cf43a05231e1e$export$6d095e787d2b5e1f=ZR;exports.$14e0f24ef4ac5c92$export$629b0a497aa65267=zT;exports.$14e0f24ef4ac5c92$export$aa8b41735afcabd2=qc;exports.$14e0f24ef4ac5c92$export$ccc1b2479e7dd654=Jz;exports.$14e0f24ef4ac5c92$export$ea39ec197993aef0=wn;exports.$16f0b7bb276bc17e$export$4c842f6a241dc825=fH;exports.$16f0b7bb276bc17e$export$5591b0b878c1a989=GR;exports.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7=Qn;exports.$28f99e3e86e6ec45$export$e5fda3247f5d67f9=mW;exports.$293f70390ea03370$export$497855f14858aa34=oH;exports.$32489daedd52963e$export$1315d136e6f7581=vH;exports.$337b884510726a0d$export$c6fdb837b070b4ff=zW;exports.$36a0ac60f04457c5$export$136073280381448e=aW;exports.$3c0fc76039f1c516$export$60e84778edff6d26=I7;exports.$40df3f8667284809$export$d55e7ee900f34e93=wH;exports.$46a4342aab3d8076$export$87e0539f600c24e5=nW;exports.$47b897dc8cdb026b$export$8d15029008292ae=bW;exports.$5c3e21d68f1c4674$export$439d29a4e110a164=yW;exports.$6057a3d2a53a12fd$export$42df105a73306d51=pH;exports.$64244302c3013299$export$dd0bbc9b26defe37=Iq;exports.$701a24aa0da5b062$export$ea18c227d4417cc3=Zq;exports.$887cac91b7cc8801$export$12fd5f0e9f4bb192=xH;exports.$93c38a5e28be6249$export$e50a61c1de9f574=KH;exports.$9942cad8a072a530$export$3ee915f8151bd4f1=tW;exports.$9a36b6ba2fb1a7c5$export$9a987164d97ecc90=DH;exports.$a916eb452884faea$export$b7a616150fdb9f44=Yq;exports.$a9e7382a7d111cb5$export$b453a3bfd4a5fa9e=PH;exports.$ab5bf3f618090389$export$87194bb378cc3ac2=kH;exports.$bb77f239b46e8c72$export$3274cf84b703fff=$P;exports.$bcca50147b47f54d$export$56b2c08e277f365=vW;exports.$c132121280ec012d$export$50eacbbf140a3141=XW;exports.$c1d7fb2ec91bae71$export$6d08773d2e66f8f2=eH;exports.$c350ade66beef0af$export$8c18d1b4f7232bbf=cH;exports.$e3031d1f8c9d64eb$export$cb95147730a423f5=rW;exports.$eff5d8ee529ac4bb$export$fd53cef0cc796101=UH;exports.$f2f8a6077418541e$export$542a6fd13ac93354=jW;exports.$fae977aafc393c5c$export$588937bcd60ade55=dq;exports.$fae977aafc393c5c$export$6b862160d295c8e=cq;exports.ACTIONS=$t;exports.AdvancedImage=OZ;exports.Cloudinary=AJ;exports.Controller=uU;exports.EVENTS=ri;exports.FormProvider=aU;exports.LazyMotion=Sse;exports.M=nU;exports.M$1=gi;exports.R=ms;exports.ReorderGroup=jre;exports.ReorderItem=qre;exports.STATUS=ct;exports._=zK;exports.autoUpdate=HA;exports.components_default=oce;exports.dayjs=HH;exports.domAnimation=Ase;exports.dt=kA;exports.ee=V7;exports.flip=jK;exports.isNumber=Jre;exports.lazyload=eZ;exports.lodashExports=JA;exports.lt=h1;exports.m=Ese;exports.mt=oK;exports.nt=rK;exports.o=Gre;exports.offset=NK;exports.ot=iK;exports.placeholder=iZ;exports.prismExports=cQ;exports.q=J1;exports.some=uQ;exports.useFloating=VK;exports.useForm=$U;exports.useFormContext=Qh;exports.useWatch=uT;