@okam/stack-ui 1.5.2 → 1.5.3

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 (48) hide show
  1. package/{ArrowDown-1480de51.js → ArrowDown-3bfa6bcb.js} +1 -1
  2. package/{ArrowDown-4199a552.mjs → ArrowDown-5cc91c04.mjs} +1 -1
  3. package/{ArrowLeft-2b1859d7.js → ArrowLeft-2fd6ca24.js} +1 -1
  4. package/{ArrowLeft-702d1804.mjs → ArrowLeft-e596cec4.mjs} +1 -1
  5. package/{BrandArrowRight-b91a12ef.js → BrandArrowRight-b8636fa7.js} +1 -1
  6. package/{BrandArrowRight-92e40001.mjs → BrandArrowRight-c46acbc0.mjs} +1 -1
  7. package/{Check-b87d7005.js → Check-37311483.js} +1 -1
  8. package/{Check-92242a40.mjs → Check-3e4d0fd0.mjs} +1 -1
  9. package/{ChevronLeft-fc17bf06.js → ChevronLeft-5148dd64.js} +1 -1
  10. package/{ChevronLeft-a0a9bde4.mjs → ChevronLeft-fedd6908.mjs} +1 -1
  11. package/{ChevronRight-7e1dad44.js → ChevronRight-22385d19.js} +1 -1
  12. package/{ChevronRight-c51ec216.mjs → ChevronRight-bceb2aee.mjs} +1 -1
  13. package/{CloseBtn-8913dada.js → CloseBtn-40baf937.js} +1 -1
  14. package/{CloseBtn-19740d07.mjs → CloseBtn-564c7c80.mjs} +1 -1
  15. package/{Facebook-9eb86e22.js → Facebook-2941c77d.js} +1 -1
  16. package/{Facebook-0162335d.mjs → Facebook-9cad3546.mjs} +1 -1
  17. package/{FacebookColored-6a349a51.js → FacebookColored-298e6559.js} +1 -1
  18. package/{FacebookColored-4ec8320e.mjs → FacebookColored-301801bf.mjs} +1 -1
  19. package/{Globe-dc2428f1.js → Globe-476eb577.js} +1 -1
  20. package/{Globe-d302c570.mjs → Globe-9032be2c.mjs} +1 -1
  21. package/{Instagram-67e18814.mjs → Instagram-9497301d.mjs} +1 -1
  22. package/{Instagram-e88a9f5a.js → Instagram-c95673fd.js} +1 -1
  23. package/{InstagramColored-3c886a91.mjs → InstagramColored-25f7e8cd.mjs} +1 -1
  24. package/{InstagramColored-4bffffe9.js → InstagramColored-beb2402e.js} +1 -1
  25. package/{Link-c479eff7.js → Link-03954330.js} +1 -1
  26. package/{Link-ca5a14c7.mjs → Link-1658139b.mjs} +1 -1
  27. package/{Mail-e4ed2cfe.js → Mail-1fcf7ef6.js} +1 -1
  28. package/{Mail-437c6c34.mjs → Mail-414204dd.mjs} +1 -1
  29. package/{Plus-55b481c5.mjs → Plus-652b12fe.mjs} +1 -1
  30. package/{Plus-0b36aa75.js → Plus-c614a8d6.js} +1 -1
  31. package/{Share-dfc6b417.js → Share-b11f4d4f.js} +1 -1
  32. package/{Share-58a6b425.mjs → Share-f873b09c.mjs} +1 -1
  33. package/{Twitter-5df94357.js → Twitter-3b596861.js} +1 -1
  34. package/{Twitter-9cc14f31.mjs → Twitter-842aca2c.mjs} +1 -1
  35. package/{TwitterColored-c97a5298.mjs → TwitterColored-b6739045.mjs} +1 -1
  36. package/{TwitterColored-170afdf4.js → TwitterColored-ef9325be.js} +1 -1
  37. package/{Upload-95e4d7cc.js → Upload-2777b103.js} +1 -1
  38. package/{Upload-c5d3f4dc.mjs → Upload-ee10032e.mjs} +1 -1
  39. package/{YouTube-526cecc4.js → YouTube-65ef678d.js} +1 -1
  40. package/{YouTube-42ada862.mjs → YouTube-d9797ab0.mjs} +1 -1
  41. package/{YouTubeColored-ceedab78.js → YouTubeColored-6031da60.js} +1 -1
  42. package/{YouTubeColored-6dc46e5c.mjs → YouTubeColored-62696ed3.mjs} +1 -1
  43. package/{index-e5c829b7.mjs → index-de6017f0.mjs} +7751 -7518
  44. package/index-dec8f3fe.js +75 -0
  45. package/index.js +1 -1
  46. package/index.mjs +1 -1
  47. package/package.json +10 -10
  48. package/index-199a230e.js +0 -75
@@ -0,0 +1,75 @@
1
+ "use strict";const g=require("react"),F=require("react/jsx-runtime"),Qd=require("react-dom");function JS(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const ii=JS(g),jg=e=>e;function QS(){const e=g.createContext(void 0);function t(){const n=g.useContext(e);return n===void 0?null:n}return[t,e.Provider]}const XS={typography:()=>""},[Vg,e3]=QS();function Wg({children:e,brandTheme:t=XS}){const n=g.useMemo(()=>({brandTheme:t}),[t]);return F.jsx(e3,{value:n,children:e})}const Hg=e=>({children:n})=>F.jsx(Wg,{brandTheme:e,children:n});var Xp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Rn=e=>!e||typeof e!="object"||Object.keys(e).length===0,t3=(...e)=>[...e].flat().filter(Boolean),Gg=(e,t)=>{let n={};for(let a in e)t!=null&&t.hasOwnProperty(a)?n[a]=typeof e[a]=="object"?Gg(e[a],t[a]):t[a]+" "+e[a]:n[a]=e[a];for(let a in t)n.hasOwnProperty(a)||(n[a]=t[a]);return n},em=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();function n3(){for(var e=0,t,n,a="";e<arguments.length;)(t=arguments[e++])&&(n=qg(t))&&(a&&(a+=" "),a+=n);return a}function qg(e){if(typeof e=="string")return e;for(var t,n="",a=0;a<e.length;a++)e[a]&&(t=qg(e[a]))&&(n&&(n+=" "),n+=t);return n}var Xd="-";function r3(e){var t=i3(e),n=e.conflictingClassGroups,a=e.conflictingClassGroupModifiers,o=a===void 0?{}:a;function s(c){var f=c.split(Xd);return f[0]===""&&f.length!==1&&f.shift(),Zg(f,t)||a3(c)}function u(c,f){var h=n[c]||[];return f&&o[c]?[].concat(h,o[c]):h}return{getClassGroupId:s,getConflictingClassGroupIds:u}}function Zg(e,t){if(e.length===0)return t.classGroupId;var n=e[0],a=t.nextPart.get(n),o=a?Zg(e.slice(1),a):void 0;if(o)return o;if(t.validators.length!==0){var s=e.join(Xd);return t.validators.find(function(u){var c=u.validator;return c(s)})?.classGroupId}}var tm=/^\[(.+)\]$/;function a3(e){if(tm.test(e)){var t=tm.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function i3(e){var t=e.theme,n=e.prefix,a={nextPart:new Map,validators:[]},o=s3(Object.entries(e.classGroups),n);return o.forEach(function(s){var u=s[0],c=s[1];fd(c,a,u,t)}),a}function fd(e,t,n,a){e.forEach(function(o){if(typeof o=="string"){var s=o===""?t:nm(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(o3(o)){fd(o(a),t,n,a);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(function(u){var c=u[0],f=u[1];fd(f,nm(t,c),n,a)})})}function nm(e,t){var n=e;return t.split(Xd).forEach(function(a){n.nextPart.has(a)||n.nextPart.set(a,{nextPart:new Map,validators:[]}),n=n.nextPart.get(a)}),n}function o3(e){return e.isThemeGetter}function s3(e,t){return t?e.map(function(n){var a=n[0],o=n[1],s=o.map(function(u){return typeof u=="string"?t+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(function(c){var f=c[0],h=c[1];return[t+f,h]})):u});return[a,s]}):e}function l3(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,a=new Map;function o(s,u){n.set(s,u),t++,t>e&&(t=0,a=n,n=new Map)}return{get:function(u){var c=n.get(u);if(c!==void 0)return c;if((c=a.get(u))!==void 0)return o(u,c),c},set:function(u,c){n.has(u)?n.set(u,c):o(u,c)}}}var Yg="!";function u3(e){var t=e.separator||":",n=t.length===1,a=t[0],o=t.length;return function(u){for(var c=[],f=0,h=0,m,x=0;x<u.length;x++){var b=u[x];if(f===0){if(b===a&&(n||u.slice(x,x+o)===t)){c.push(u.slice(h,x)),h=x+o;continue}if(b==="/"){m=x;continue}}b==="["?f++:b==="]"&&f--}var v=c.length===0?u:u.substring(h),w=v.startsWith(Yg),T=w?v.substring(1):v,E=m&&m>h?m-h:void 0;return{modifiers:c,hasImportantModifier:w,baseClassName:T,maybePostfixModifierPosition:E}}}function c3(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(a){var o=a[0]==="[";o?(t.push.apply(t,n.sort().concat([a])),n=[]):n.push(a)}),t.push.apply(t,n.sort()),t}function d3(e){return{cache:l3(e.cacheSize),splitModifiers:u3(e),...r3(e)}}var f3=/\s+/;function h3(e,t){var n=t.splitModifiers,a=t.getClassGroupId,o=t.getConflictingClassGroupIds,s=new Set;return e.trim().split(f3).map(function(u){var c=n(u),f=c.modifiers,h=c.hasImportantModifier,m=c.baseClassName,x=c.maybePostfixModifierPosition,b=a(x?m.substring(0,x):m),v=!!x;if(!b){if(!x)return{isTailwindClass:!1,originalClassName:u};if(b=a(m),!b)return{isTailwindClass:!1,originalClassName:u};v=!1}var w=c3(f).join(":"),T=h?w+Yg:w;return{isTailwindClass:!0,modifierId:T,classGroupId:b,originalClassName:u,hasPostfixModifier:v}}).reverse().filter(function(u){if(!u.isTailwindClass)return!0;var c=u.modifierId,f=u.classGroupId,h=u.hasPostfixModifier,m=c+f;return s.has(m)?!1:(s.add(m),o(f,h).forEach(function(x){return s.add(c+x)}),!0)}).reverse().map(function(u){return u.originalClassName}).join(" ")}function hd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a,o,s,u=c;function c(h){var m=t[0],x=t.slice(1),b=x.reduce(function(v,w){return w(v)},m());return a=d3(b),o=a.cache.get,s=a.cache.set,u=f,f(h)}function f(h){var m=o(h);if(m)return m;var x=h3(h,a);return s(h,x),x}return function(){return u(n3.apply(null,arguments))}}function nt(e){var t=function(a){return a[e]||[]};return t.isThemeGetter=!0,t}var Jg=/^\[(?:([a-z-]+):)?(.+)\]$/i,p3=/^\d+\/\d+$/,m3=new Set(["px","full","screen"]),g3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,b3=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|^0$/,y3=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function Gn(e){return ti(e)||m3.has(e)||p3.test(e)||ga(e)}function ga(e){return fi(e,"length",P3)}function v3(e){return fi(e,"size",Qg)}function $3(e){return fi(e,"position",Qg)}function x3(e){return fi(e,"url",S3)}function hl(e){return fi(e,"number",ti)}function ti(e){return!Number.isNaN(Number(e))}function w3(e){return e.endsWith("%")&&ti(e.slice(0,-1))}function Oo(e){return rm(e)||fi(e,"number",rm)}function mt(e){return Jg.test(e)}function Lo(){return!0}function pa(e){return g3.test(e)}function D3(e){return fi(e,"",T3)}function fi(e,t,n){var a=Jg.exec(e);return a?a[1]?a[1]===t:n(a[2]):!1}function P3(e){return b3.test(e)}function Qg(){return!1}function S3(e){return e.startsWith("url(")}function rm(e){return Number.isInteger(Number(e))}function T3(e){return y3.test(e)}function pd(){var e=nt("colors"),t=nt("spacing"),n=nt("blur"),a=nt("brightness"),o=nt("borderColor"),s=nt("borderRadius"),u=nt("borderSpacing"),c=nt("borderWidth"),f=nt("contrast"),h=nt("grayscale"),m=nt("hueRotate"),x=nt("invert"),b=nt("gap"),v=nt("gradientColorStops"),w=nt("gradientColorStopPositions"),T=nt("inset"),E=nt("margin"),L=nt("opacity"),C=nt("padding"),N=nt("saturate"),O=nt("scale"),B=nt("sepia"),se=nt("skew"),ee=nt("space"),P=nt("translate"),z=function(){return["auto","contain","none"]},H=function(){return["auto","hidden","clip","visible","scroll"]},A=function(){return["auto",t]},ge=function(){return["",Gn]},G=function(){return["auto",ti,mt]},K=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},ce=function(){return["solid","dashed","dotted","double","none"]},X=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},ne=function(){return["start","end","center","between","around","evenly","stretch"]},Z=function(){return["","0",mt]},me=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},j=function(){return[ti,hl]},fe=function(){return[ti,mt]};return{cacheSize:500,theme:{colors:[Lo],spacing:[Gn],blur:["none","",pa,ga],brightness:j(),borderColor:[e],borderRadius:["none","","full",pa,ga],borderSpacing:[t],borderWidth:ge(),contrast:j(),grayscale:Z(),hueRotate:fe(),invert:Z(),gap:[t],gradientColorStops:[e],gradientColorStopPositions:[w3,ga],inset:A(),margin:A(),opacity:j(),padding:[t],saturate:j(),scale:j(),sepia:Z(),skew:fe(),space:[t],translate:[t]},classGroups:{aspect:[{aspect:["auto","square","video",mt]}],container:["container"],columns:[{columns:[pa]}],"break-after":[{"break-after":me()}],"break-before":[{"break-before":me()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(K(),[mt])}],overflow:[{overflow:H()}],"overflow-x":[{"overflow-x":H()}],"overflow-y":[{"overflow-y":H()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Oo]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",mt]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",Oo]}],"grid-cols":[{"grid-cols":[Lo]}],"col-start-end":[{col:["auto",{span:[Oo]},mt]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[Lo]}],"row-start-end":[{row:["auto",{span:[Oo]},mt]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",mt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",mt]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal"].concat(ne())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(ne(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(ne(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[E]}],mx:[{mx:[E]}],my:[{my:[E]}],ms:[{ms:[E]}],me:[{me:[E]}],mt:[{mt:[E]}],mr:[{mr:[E]}],mb:[{mb:[E]}],ml:[{ml:[E]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",t]}],"min-w":[{"min-w":["min","max","fit",Gn]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[pa]},pa,ga]}],h:[{h:[t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Gn]}],"max-h":[{"max-h":[t,"min","max","fit"]}],"font-size":[{text:["base",pa,ga]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",hl]}],"font-family":[{font:[Lo]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ga]}],"line-clamp":[{"line-clamp":["none",ti,hl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Gn]}],"list-image":[{"list-image":["none",mt]}],"list-style-type":[{list:["none","disc","decimal",mt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[L]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[L]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(ce(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",Gn]}],"underline-offset":[{"underline-offset":["auto",Gn]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[t]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ga]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",mt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[L]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(K(),[$3])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",v3]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},x3]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[L]}],"border-style":[{border:[].concat(ce(),["hidden"])}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[L]}],"divide-style":[{divide:ce()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(ce())}],"outline-offset":[{"outline-offset":[Gn]}],"outline-w":[{outline:[Gn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ge()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[L]}],"ring-offset-w":[{"ring-offset":[Gn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",pa,D3]}],"shadow-color":[{shadow:[Lo]}],opacity:[{opacity:[L]}],"mix-blend":[{"mix-blend":X()}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[a]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",pa,mt]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[N]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[L]}],"backdrop-saturate":[{"backdrop-saturate":[N]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[u]}],"border-spacing-x":[{"border-spacing-x":[u]}],"border-spacing-y":[{"border-spacing-y":[u]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",mt]}],duration:[{duration:fe()}],ease:[{ease:["linear","in","out","in-out",mt]}],delay:[{delay:fe()}],animate:[{animate:["none","spin","ping","pulse","bounce",mt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-x":[{"scale-x":[O]}],"scale-y":[{"scale-y":[O]}],rotate:[{rotate:[Oo,mt]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[se]}],"skew-y":[{"skew-y":[se]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",mt]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",mt]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[t]}],"scroll-mx":[{"scroll-mx":[t]}],"scroll-my":[{"scroll-my":[t]}],"scroll-ms":[{"scroll-ms":[t]}],"scroll-me":[{"scroll-me":[t]}],"scroll-mt":[{"scroll-mt":[t]}],"scroll-mr":[{"scroll-mr":[t]}],"scroll-mb":[{"scroll-mb":[t]}],"scroll-ml":[{"scroll-ml":[t]}],"scroll-p":[{"scroll-p":[t]}],"scroll-px":[{"scroll-px":[t]}],"scroll-py":[{"scroll-py":[t]}],"scroll-ps":[{"scroll-ps":[t]}],"scroll-pe":[{"scroll-pe":[t]}],"scroll-pt":[{"scroll-pt":[t]}],"scroll-pr":[{"scroll-pr":[t]}],"scroll-pb":[{"scroll-pb":[t]}],"scroll-pl":[{"scroll-pl":[t]}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",mt]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Gn,hl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function E3(e,t){for(var n in t)Xg(e,n,t[n]);return e}var _3=Object.prototype.hasOwnProperty,R3=new Set(["string","number","boolean"]);function Xg(e,t,n){if(!_3.call(e,t)||R3.has(typeof n)||n===null){e[t]=n;return}if(Array.isArray(n)&&Array.isArray(e[t])){e[t]=e[t].concat(n);return}if(typeof n=="object"&&typeof e[t]=="object"){if(e[t]===null){e[t]=n;return}for(var a in n)Xg(e[t],a,n[a])}}function A3(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return typeof e=="function"?hd.apply(void 0,[pd,e].concat(n)):hd.apply(void 0,[function(){return E3(pd(),e)}].concat(n))}var C3=hd(pd),M3={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},eb=e=>e||void 0,kl=(...e)=>eb(e.flat(1/0).filter(Boolean).join(" ")),Fo=(...e)=>t=>{if(!t.twMerge)return kl(e);let n=Rn(t.twMergeConfig)?C3:A3(t.twMergeConfig);return eb(n(kl(e)))},am=(e,t)=>{let n={...e};for(let a in t)n.hasOwnProperty(a)?n[a]=kl(n[a],t[a]):n[a]=t[a];return n},Re=(e,t)=>{var n,a,o,s,u;let{slots:c={},variants:f={},compoundVariants:h=[],compoundSlots:m=[],defaultVariants:x={}}=e,b=Object.assign({},M3,t),v=kl((n=e?.extend)==null?void 0:n.base,e?.base),w=Gg(f,(a=e?.extend)==null?void 0:a.variants),T=Object.assign({},(o=e?.extend)==null?void 0:o.defaultVariants,x),E=Rn(c)?{}:{base:e?.base,...c},L=Array.isArray(b.responsiveVariants)&&b.responsiveVariants.length>0||b.responsiveVariants===!0,C=Rn((s=e?.extend)==null?void 0:s.slots)?E:am((u=e?.extend)==null?void 0:u.slots,Rn(E)?{base:e?.base}:E),N=B=>{var se,ee,P,z;if(Rn(w)&&Rn(c)&&Rn((se=e?.extend)==null?void 0:se.slots))return Fo(v,B?.class,B?.className)(b);if(h&&!Array.isArray(h))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof h}`);if(m&&!Array.isArray(m))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof m}`);let H=(j,fe,q=[],ye)=>{let xe=q;if(typeof fe=="string")xe.push(em(fe).split(" ").map(le=>`${j}:${le}`));else if(Array.isArray(fe))xe.push(fe.flatMap(le=>`${j}:${le}`));else if(typeof fe=="object"&&typeof ye=="string"){let le=fe?.[ye];if(le&&typeof le=="string"){let Le=em(le);xe[ye]=xe[ye]?[...xe[ye],...Le.split(" ").map(qe=>`${j}:${qe}`)]:Le.split(" ").map(qe=>`${j}:${qe}`)}else Array.isArray(le)&&le.length>0&&(xe[ye]=le.flatMap(Le=>`${j}:${Le}`))}return xe},A=(j,fe=w,q=null)=>{let ye=fe?.[j];if(typeof ye!="object"||Rn(ye))return null;let xe=B?.[j],le=T?.[j],Le=[];if(xe===null)return null;let qe=Xp(xe);typeof qe=="object"&&L&&(Le=Object.keys(qe).reduce((it,It)=>{let Ht=qe[It],sn=ye?.[Ht];return It==="initial"?(le=Ht,it):Array.isArray(b.responsiveVariants)&&!b.responsiveVariants.includes(It)?it:H(It,sn,it,q)},[]));let Ze=ye[qe]||ye[Xp(le)];return typeof Le=="object"&&typeof q=="string"&&Le[q]?am(Le,Ze):Le.length>0?[Ze,...Le]:Ze},ge=()=>w?Object.keys(w).map(j=>A(j,w)):null,G=j=>!w||typeof w!="object"?null:Object.keys(w).map(fe=>{let q=A(fe,w,j);return j==="base"&&typeof q=="string"?q:q&&q[j]}).filter(Boolean),K=B&&Object.fromEntries(Object.entries(B).filter(([,j])=>j!==void 0)),ce=j=>{var fe;let q=typeof B?.[j]=="object"?{[j]:(fe=B[j])==null?void 0:fe.initial}:{};return{...T,...K,...q}},X=(j=[])=>j?.filter(({class:fe,className:q,...ye})=>Object.entries(ye).every(([xe,le])=>{let Le=ce(xe);return Array.isArray(le)?le.includes(Le[xe]):Le[xe]===le})).flatMap(({class:fe,className:q})=>[fe,q]),ne=()=>{var j;let fe=X(h),q=X((j=e?.extend)==null?void 0:j.compoundVariants);return t3(q,fe)},Z=()=>{let j=ne();return Array.isArray(j)?j.reduce((fe,q)=>(typeof q=="string"&&(fe.base=Fo(fe.base,q)(b)),typeof q=="object"&&Object.entries(q).forEach(([ye,xe])=>{fe[ye]=Fo(fe[ye],xe)(b)}),fe),{}):j},me=()=>m.length<1?null:m.reduce((j,fe)=>{let{slots:q=[],class:ye,className:xe,...le}=fe;if(!Rn(le)){let Le=Object.keys(le);for(let qe of Le){let Ze=ce(qe)[qe];if(!Ze||Ze!==le[qe])return j}}return q.forEach(Le=>{j[Le]||(j[Le]=[]),j[Le].push([ye,xe])}),j},{});if(!Rn(c)||!Rn((ee=e?.extend)==null?void 0:ee.slots)){let j=(P=Z())!=null?P:[],fe=(z=me())!=null?z:[];return{...typeof C=="object"&&!Rn(C)?Object.keys(C).reduce((q,ye)=>(q[ye]=xe=>Fo(C[ye],G(ye),j?.[ye],fe?.[ye],xe?.class,xe?.className)(b),q),{}):{}}}return Fo(v,ge(),ne(),B?.class,B?.className)(b)},O=()=>{if(!(!w||typeof w!="object"))return Object.keys(w)};return N.variantKeys=O(),N.base=v,N.slots=C,N.variants=w,N.defaultVariants=T,N.compoundSlots=m,N.compoundVariants=h,N};const I3=Re({base:"[border-radius: 32px] p-1.5 focus:outline-none text-color-1-500",defaultVariants:{textAlign:"left",isOpen:!1},variants:{textAlign:{center:"text-center",left:"text-left"}}}),k3=Re({base:"grid overflow-hidden w-full items-center border-b-2 border-color-1-500",variants:{titleBold:{true:"font-bold"},textAlign:{center:"grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0",left:"grid-cols-[1fr_3rem]"}}}),O3=Re({base:"",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"justify-self-center col-start-2",left:"justify-self-start"}}}),L3=Re({base:"text-color-1-500 min-h-12 rotate-90 min-w-12 rounded-full flex items-center justify-center transition duration-500 transform ml-auto aspect-square",variants:{isOpen:{true:"-rotate-90",false:""}}}),F3=Re({base:"font-body text-inherit h-auto grid grid-rows-[0fr] transition-all duration-500",defaultVariants:{textAlign:"left",isOpen:!1},variants:{isOpen:{true:"pb-8 pt-3 grid-rows-[1fr]",false:""},textAlign:{center:"grid-cols-[3rem_1fr_3rem] px-6 text-center",left:"grid-cols-[1fr_3rem] text-left"}}}),N3=Re({base:"overflow-hidden",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"col-start-2",left:""}}}),K3=Re({base:"w-full bg-slate-100"}),tb=Re({base:"max-w-screen-lg mx-auto w-full",variants:{fullWidth:{true:"max-w-full col-span-full p-0"},spacing:{small:"mb-3",medium:"mb-6",large:"mb-8",none:"mb-0"}}}),B3=Re({extend:tb,base:"grid grid-cols-12 gap-6 px-4 col-span-full",variants:{fullWidth:{true:"max-w-full col-span-full p-0"}}}),U3=Re({base:"bg-slate-300 h-64 p-4 flex justify-start items-end",defaultVariants:{size:"small"},variants:{size:{small:"col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4",medium:"col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8",large:"lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13"}}}),kc=Re({base:`
2
+ flex
3
+ items-center
4
+ justify-center
5
+ gap-4
6
+ transition
7
+ duration-300
8
+ ease-in-out
9
+ disabled:pointer-events-none
10
+ disabled:opacity-30
11
+ focus:outline-0
12
+ border-transparent
13
+ border-2
14
+ focus:border-black
15
+ `,defaultVariants:{buttonStyle:"default",type:"button",size:"default",shape:"rounded"},variants:{buttonStyle:{default:`
16
+ px-4
17
+ py-2
18
+ text-white
19
+ !bg-color-1-500
20
+ hover:!bg-color-1-400
21
+ active:!bg-color-1-400
22
+ `,outline:`
23
+ px-4
24
+ py-2
25
+ bg-transparent
26
+ !border-color-1-500
27
+ text-color-1-500
28
+ hover:bg-color-1-500
29
+ hover:text-white
30
+ active:bg-color-1-500
31
+ active:text-white
32
+ `,hollow:`
33
+ px-2
34
+ bg-transparent
35
+ text-color-1-500
36
+ hover:border-b-color-1-500
37
+ active:border-b-color-1-500
38
+ focus:border-b-color-1-500
39
+
40
+ `},intent:{error:`
41
+ !bg-error
42
+ text-white
43
+ pointer-events-none
44
+ !border-error
45
+ `},size:{default:"min-w-12 min-h-6",large:"min-w-36 min-h-18"},shape:{rounded:"rounded-md",circular:"rounded-full"}}}),z3=Re({base:"inline-block text-gray-800"}),j3=Re({base:"flex items-center justify-between pb-4"}),V3=Re({base:"flex items-center gap-1"}),W3=Re({base:"active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200"}),H3=Re({base:"flex-1"}),G3=Re({base:"text-center"}),q3=Re({base:"py-0.5 relative",variants:{isFocusVisible:{true:"z-10",false:""}}}),Z3=Re({base:"w-10 h-10 outline-none group",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",fasle:""},isDisabled:{true:"disabled",false:""},isRoundedLeft:{true:"rounded-l-full",false:""},isRoundedRight:{true:"rounded-r-full",false:""}},compoundVariants:[{isSelected:!0,isInvalid:!0,class:"bg-red-300"},{isSelected:!0,isInvalid:!1,class:"bg-color-1-300"}]}),Y3=Re({base:"w-full h-full rounded-full flex items-center justify-center cursor-pointer",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",fasle:""},isDisabled:{true:"",false:""},isFocusVisible:{true:"ring-2 group-focus:z-2 ring-violet-600 ring-offset-2",false:""},isSelectionStart:{true:"",false:""},isSelectionEnd:{true:"",false:""}},compoundVariants:[{isDisabled:!0,isInvalid:!1,class:"text-gray-400"},{isSelectionStart:!0,isSelectionEnd:!1,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!0,isSelectionEnd:!0,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!0,isSelectionEnd:!1,isInvalid:!1,class:"bg-color-1-400 text-white hover:bg-color-1-500"},{isSelectionStart:!0,isSelectionEnd:!0,isInvalid:!1,class:"bg-color-1-400 rounded-full text-white hover:bg-color-1-500"},{isSelectionStart:!1,isSelectionEnd:!0,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!1,isSelectionEnd:!0,isInvalid:!1,class:"bg-color-1-400 text-white hover:bg-color-1-500"},{isSelected:!1,isDisabled:!1,class:"hover:bg-color-1-100"},{isSelected:!0,isDisabled:!1,isInvalid:!1,isSelectionStart:!1,isSelectionEnd:!1,class:"hover:bg-color-1-300"},{isSelected:!0,isDisabled:!1,isInvalid:!0,isSelectionStart:!1,isSelectionEnd:!1,class:"hover:bg-red-400"}]}),J3=Re({base:"text-gray-2 flex flex-row items-start hover:cursor-pointer",variants:{isDisabled:{true:"text-gray-6"}}}),Q3=Re({base:"w-5 h-5 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",variants:{isDisabled:{true:"border-gray-6"},isFocused:{true:"outline-black [outline-offset: 2px]"},isError:{true:"border-red-500"}}}),X3=Re({base:"hidden w-3 h-3 bg-gray-2 rounded-full",variants:{selected:{true:"block"}}}),eT=Re({base:"relative inline-flex flex-col text-left"}),tT=Re({base:"flex items-center border-2 border-color-1-500 rounded"}),nT=Re({base:"fixed inset-0"}),rT=Re({base:"absolute top-full bg-white border border-gray-300 rounded-md shadow-lg mt-2 p-8 z-10"}),aT=Re({base:"pr-1 flex gap-2",defaultVariants:{dateFieldShown:!0},variants:{dateFieldShown:{true:"",false:"hidden"}}}),iT=Re({base:"text-color-1-500 bg-color-1-100 border-l-2 border-color-1-500 h-full py-2 px-2"}),oT=Re({base:"text-color-1-500 font-bold px-2"}),Xa=Re({variants:{size:{h1:"text-5xl",h2:"text-4xl",h3:"text-3xl",h4:"text-2xl",h5:"text-xl",h6:"text-lg",leading:"text-md font-bold leading-normal",paragraph:"text-md inline",footnotes:"text-sm",xs:"text-xs"},font:{body:"font-body"},weight:{normal:"font-normal",light:"font-light",bold:"font-bold"},color:{gray:"text-gray-500",white:"text-white"},isError:{true:"text-sm text-error ml-8 py-3"},align:{center:"text-center",left:"text-left",right:"text-right"}},defaultVariants:{size:"paragraph",font:"body"}}),sT=Re({base:" w-screen h-screen relative flex items-center m-auto justify-center"}),lT=Re({base:`absolute xl:top-10 xl:right-20 lg:top-8 lg:right-8 z-10 top-4 right-4 w-[2.5rem]
46
+ h-[2.5rem]`}),uT=Re({extend:Xa,base:"sr-only"}),cT=Re({base:"flex print:hidden",defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"flex-row",column:"flex-col"}}}),dT=Re({base:"relative z-20 !bg-color-1-500 hover:!bg-color-1-400 p-4 active:!bg-color-1-400 rounded-full text-white",variants:{isOpen:{true:"",false:""}}}),fT=Re({base:"!bg-color-1-200 relative opacity-0 invisible transition duration-300 flex items-center p-0 bg-primary-1 pb-0 z-0 rounded-b-full rounded-t-full",defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"flex-row pl-14 [margin-left:-3.25rem]",column:"flex-col [margin-top:-3.25rem] [width:calc(100% + .5rem)] pt-14"},isOpen:{true:"opacity-100 visible",false:""}}}),hT=Re({base:"flex items-center justify-center cursor-pointer bg-color-1-200 hover:bg-color-1-300 w-full text-color-1-500 rounded-none p-2",defaultVariants:{listDirection:"row"},variants:{listDirection:{row:"last:rounded-r-full h-full",column:"last:rounded-b-full"}}}),pT=Re({base:"text-white"}),mT=Re({base:""}),gT=Re({base:"m-auto fixed right-0 top-0 bottom-0 w-full max-w-[512px] [&>div]:h-full"}),bT=Re({base:"h-full w-full flex justify-end"}),yT=Re({base:"bg-black h-full w-full overflow-y-auto"}),vT=Re({base:"w-full min-h-32 rounded-2xl px-6 h-12 border-2 border-solid transition duration-300 ease-in-out text-gray-2 placeholder:text-gray-2 focus-visible:text-black focus-visible:placeholder:text-black focus-visible:border-black",variants:{isError:{true:"border-red-500"}}}),$T=jg({main:e=>K3(e),gridItem:e=>U3(e),grid:e=>B3(e),container:e=>tb(e),accordion:{container:e=>I3(e),button:e=>k3(e),title:e=>O3(e),icon:e=>L3(e),region:e=>F3(e),content:e=>N3(e)},calendar:{container:e=>z3(e),header:e=>j3(e),navigationButtonsContainer:e=>V3(e),navigationButtons:e=>W3(e),table:e=>H3(e),dayLabel:e=>G3(e),cellContainer:e=>q3(e),cell:e=>Z3(e),cellDate:e=>Y3(e)},datePicker:{container:e=>eT(e),button:e=>tT(e),icon:e=>iT(e),dateField:e=>aT(e),label:e=>oT(e),calendarPopover:e=>rT(e),calendarUnderlay:e=>nT(e)},typography:e=>Xa(e),button:e=>kc(e),sidePanel:{wrapper:e=>gT(e),container:e=>bT(e),innerContainer:e=>yT(e)},lightBox:{container:e=>sT(e),closeBtn:e=>lT(e),label:e=>uT(e)},shareButton:{icon:e=>pT(e),button:e=>dT(e),container:e=>cT(e),linksList:e=>fT(e),link:e=>hT(e),linkIcons:e=>mT(e)},checkbox:{label:e=>J3(e),checkBox:e=>Q3(e),checkMark:e=>X3(e),errorMessage:e=>Xa(e)},select:{button:e=>kc(e),ul:e=>Xa({...e,className:"my-4 rounded-md border w-full flex flex-col"}),popover:e=>kc(e),errorMessage:e=>Xa({...e,size:"footnotes",isError:!0}),wrapper:()=>"flex flex-col gap-4 relative",container:()=>"flex flex-col gap-4",li:()=>"transition w-full"},textarea:{wrapper:()=>"flex flex-col",container:()=>"flex items-center gap-4",label:()=>"text-gray-3 px-6",input:e=>vT(e),errorMessage:e=>Xa({...e,size:"footnotes",isError:!0})},textInput:{wrapper:()=>"flex flex-col rounded-md px-4 py-1 mb-3 m-0.5 outline aria-disabled:pointer-events-none aria-disabled:opacity-30",label:()=>"text-xs",container:()=>"flex items-center gap-4",input:()=>"",errorMessage:e=>Xa({...e,size:"footnotes",isError:!0})}}),xT=g.memo(Hg($T)),wT=(e,t,n=null)=>{const a=t.split(/[\.\[\]]/g);let o=e;for(const s of a){if(o===null||o===void 0)return n;s.trim()!==""&&(o=o[s])}return o===void 0?n:o},Te=(e,t={},n=null)=>{const a=Vg();if(a!=null&&e!=null){const{brandTheme:o}=a,s=wT(o,e);if(typeof s=="function"){const u=s?.(t);if(typeof u=="string")return u}}if(n)return n},Hr=({as:e="span",themeName:t="typography",tokens:n,customTheme:a,children:o,...s})=>{const u=Te(t,n,a);return F.jsx(e,{...s,className:u,children:o})},ef=g.forwardRef((e,t)=>{const{as:n="span",tokens:a,themeName:o="typography",customTheme:s,children:u,...c}=e,f=Te(o,a,s);return F.jsx(n,{...c,ref:t,className:f,children:u})});function wa(e,t,n){let[a,o]=g.useState(e||t),s=g.useRef(e!==void 0),u=e!==void 0;g.useEffect(()=>{let h=s.current;h!==u&&console.warn(`WARN: A component changed from ${h?"controlled":"uncontrolled"} to ${u?"controlled":"uncontrolled"}.`),s.current=u},[u]);let c=u?e:a,f=g.useCallback((h,...m)=>{let x=(b,...v)=>{n&&(Object.is(c,b)||n(b,...v)),u||(c=b)};typeof h=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((v,...w)=>{let T=h(u?c:v,...w);return x(T,...m),u?v:T})):(u||o(h),x(h,...m))},[u,c,n]);return[c,f]}function md(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}const Ol={prefix:String(Math.round(Math.random()*1e10)),current:0,isSSR:!1},tf=g.createContext(Ol);let DT=!!(typeof window<"u"&&window.document&&window.document.createElement),Oc=new WeakMap;function PT(e=!1){let t=g.useContext(tf),n=g.useRef(null);if(n.current===null&&!e){var a,o;let s=(a=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||a===void 0||(o=a.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(s){let u=Oc.get(s);u==null?Oc.set(s,{id:t.current,state:s.memoizedState}):s.memoizedState!==u.state&&(t.current=u.id,Oc.delete(s))}n.current=++t.current}return n.current}function ST(e){let t=g.useContext(tf);t===Ol&&!DT&&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=PT(!!e),a=t===Ol&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${a}-${n}`}function TT(e){let t=g.useId(),[n]=g.useState($s()),a=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Ol.prefix}`;return e||`${a}-${t}`}const ET=typeof g.useId=="function"?TT:ST;function _T(){return!1}function RT(){return!0}function AT(e){return()=>{}}function $s(){return typeof g.useSyncExternalStore=="function"?g.useSyncExternalStore(AT,_T,RT):g.useContext(tf).isSSR}function nb(e){var t,n,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=nb(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function nf(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=nb(e))&&(a&&(a+=" "),a+=t);return a}const ft=typeof document<"u"?g.useLayoutEffect:()=>{};function CT(e){let[t,n]=g.useState(e),a=g.useRef(t),o=g.useRef(null),s=g.useCallback(()=>{let c=o.current.next();for(;!c.done&&a.current===c.value;)c=o.current.next();if(c.done){o.current=null;return}n(c.value),a.current=c.value},[n,a,o]);ft(()=>{o.current&&s()});let u=g.useCallback(c=>{o.current=c(a.current),s()},[s,o,a]);return[t,u]}let Ll=new Map;function In(e){let[t,n]=g.useState(e),a=g.useRef(null),o=ET(t),s=g.useCallback(u=>{a.current=u},[]);return Ll.set(o,s),ft(()=>{let u=o;return()=>{Ll.delete(u)}},[o]),g.useEffect(()=>{let u=a.current;u&&(a.current=null,n(u))}),o}function MT(e,t){if(e===t)return e;let n=Ll.get(e);if(n)return n(t),t;let a=Ll.get(t);return a?(a(e),e):t}function no(e=[]){let t=In(),[n,a]=CT(t),o=g.useCallback(()=>{a(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,a]);return ft(o,[t,o,...e]),n}function is(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}function je(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let a=e[n];for(let o in a){let s=t[o],u=a[o];typeof s=="function"&&typeof u=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=is(s,u):(o==="className"||o==="UNSAFE_className")&&typeof s=="string"&&typeof u=="string"?t[o]=nf(s,u):o==="id"&&s&&u?t.id=MT(s,u):t[o]=u!==void 0?u:s}}return t}const IT=new Set(["id"]),kT=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),OT=/^(data-.*)$/;function mr(e,t={}){let{labelable:n,propNames:a}=t,o={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(IT.has(s)||n&&kT.has(s)||a?.has(s)||OT.test(s))&&(o[s]=e[s]);return o}function zr(e){if(LT())e.focus({preventScroll:!0});else{let t=FT(e);e.focus(),NT(t)}}let pl=null;function LT(){if(pl==null){pl=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return pl=!0,!0}})}catch{}}return pl}function FT(e){for(var t=e.parentNode,n=[],a=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==a;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return a instanceof HTMLElement&&n.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}),n}function NT(e){for(let{element:t,scrollTop:n,scrollLeft:a}of e)t.scrollTop=n,t.scrollLeft=a}let Hi=new Map,gd=new Set;function im(){if(typeof window>"u")return;let e=n=>{let a=Hi.get(n.target);a||(a=new Set,Hi.set(n.target,a),n.target.addEventListener("transitioncancel",t)),a.add(n.propertyName)},t=n=>{let a=Hi.get(n.target);if(a&&(a.delete(n.propertyName),a.size===0&&(n.target.removeEventListener("transitioncancel",t),Hi.delete(n.target)),Hi.size===0)){for(let o of gd)o();gd.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?im():document.addEventListener("DOMContentLoaded",im));function rb(e){requestAnimationFrame(()=>{Hi.size===0?e():gd.add(e)})}function rf(){let e=g.useRef(new Map),t=g.useCallback((o,s,u,c)=>{let f=c?.once?(...h)=>{e.current.delete(u),u(...h)}:u;e.current.set(u,{type:s,eventTarget:o,fn:f,options:c}),o.addEventListener(s,u,c)},[]),n=g.useCallback((o,s,u,c)=>{var f;let h=((f=e.current.get(u))===null||f===void 0?void 0:f.fn)||u;o.removeEventListener(s,h,c),e.current.delete(u)},[]),a=g.useCallback(()=>{e.current.forEach((o,s)=>{n(o.eventTarget,o.type,s,o.options)})},[n]);return g.useEffect(()=>a,[a]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:a}}function xs(e,t){let{id:n,"aria-label":a,"aria-labelledby":o}=e;return n=In(n),o&&a?o=[...new Set([n,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!a&&!o&&t&&(a=t),{id:n,"aria-label":a,"aria-labelledby":o}}function om(e,t){const n=g.useRef(!0),a=g.useRef(null);g.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),g.useEffect(()=>{n.current?n.current=!1:(!a.current||t.some((o,s)=>!Object.is(o,a[s])))&&e(),a.current=t},t)}function KT(){return typeof window.ResizeObserver<"u"}function BT(e){const{ref:t,onResize:n}=e;g.useEffect(()=>{let a=t?.current;if(a)if(KT()){const o=new window.ResizeObserver(s=>{s.length&&n()});return o.observe(a),()=>{a&&o.unobserve(a)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,t])}function ab(e,t){ft(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}},[e,t])}function ro(e){for(Fl(e)&&(e=e.parentElement);e&&!Fl(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Fl(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}let UT=0;const Lc=new Map;function uu(e){let[t,n]=g.useState(void 0);return ft(()=>{if(!e)return;let a=Lc.get(e);if(a)n(a.element.id);else{let o=`react-aria-description-${UT++}`;n(o);let s=document.createElement("div");s.id=o,s.style.display="none",s.textContent=e,document.body.appendChild(s),a={refCount:0,element:s},Lc.set(e,a)}return a.refCount++,()=>{--a.refCount===0&&(a.element.remove(),Lc.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function af(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 of(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 so(){return of(/^Mac/i)}function zT(){return of(/^iPhone/i)}function jT(){return of(/^iPad/i)||so()&&navigator.maxTouchPoints>1}function ws(){return zT()||jT()}function VT(){return so()||ws()}function WT(){return af(/AppleWebKit/i)&&!HT()}function HT(){return af(/Chrome/i)}function GT(){return af(/Android/i)}function Yn(e){const t=g.useRef(null);return ft(()=>{t.current=e},[e]),g.useCallback((...n)=>{const a=t.current;return a(...n)},[])}function bd(e,t,n,a){let o=Yn(n),s=n==null;g.useEffect(()=>{if(s)return;let u=e.current;return u.addEventListener(t,o,a),()=>{u.removeEventListener(t,o,a)}},[e,t,a,s,o])}function ib(e,t){let n=sm(e,t,"left"),a=sm(e,t,"top"),o=t.offsetWidth,s=t.offsetHeight,u=e.scrollLeft,c=e.scrollTop,{borderTopWidth:f,borderLeftWidth:h}=getComputedStyle(e),m=e.scrollLeft+parseInt(h,10),x=e.scrollTop+parseInt(f,10),b=m+e.clientWidth,v=x+e.clientHeight;n<=u?u=n-parseInt(h,10):n+o>b&&(u+=n+o-b),a<=x?c=a-parseInt(f,10):a+s>v&&(c+=a+s-v),e.scrollLeft=u,e.scrollTop=c}function sm(e,t,n){const a=n==="left"?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[a],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[a];break}t=t.offsetParent}return o}function Nl(e,t){if(document.contains(e)){let u=document.scrollingElement||document.documentElement;if(window.getComputedStyle(u).overflow==="hidden"){let f=ro(e);for(;e&&f&&e!==u&&f!==u;)ib(f,e),e=f,f=ro(e)}else{var n;let{left:f,top:h}=e.getBoundingClientRect();e==null||(n=e.scrollIntoView)===null||n===void 0||n.call(e,{block:"nearest"});let{left:m,top:x}=e.getBoundingClientRect();if(Math.abs(f-m)>1||Math.abs(h-x)>1){var a,o,s;t==null||(a=t.containingElement)===null||a===void 0||(o=a.scrollIntoView)===null||o===void 0||o.call(a,{block:"center",inline:"center"}),(s=e.scrollIntoView)===null||s===void 0||s.call(e,{block:"nearest"})}}}}function yd(e){return e.mozInputSource===0&&e.isTrusted?!0:GT()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function qT(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function ob(e,t){let n=g.useRef(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}let qi="default",vd="",El=new WeakMap;function lm(e){ws()?(qi==="default"&&(vd=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),qi="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(El.set(e,e.style.userSelect),e.style.userSelect="none")}function ml(e){if(ws()){if(qi!=="disabled")return;qi="restoring",setTimeout(()=>{rb(()=>{qi==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=vd||""),vd="",qi="default")})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&El.has(e)){let t=El.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),El.delete(e)}}const sb=g.createContext(null);sb.displayName="PressResponderContext";function ZT(e){let t=g.useContext(sb);if(t){let{register:n,...a}=t;e=je(a,e),n()}return ab(t,e.ref),e}function hi(e){let{onPress:t,onPressChange:n,onPressStart:a,onPressEnd:o,onPressUp:s,isDisabled:u,isPressed:c,preventFocusOnPress:f,shouldCancelOnPointerExit:h,allowTextSelectionOnPress:m,ref:x,...b}=ZT(e),[v,w]=g.useState(!1),T=g.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:E,removeAllGlobalListeners:L}=rf(),C=Yn((P,z)=>{let H=T.current;u||H.didFirePressStart||(a&&a({type:"pressstart",pointerType:z,target:P.currentTarget,shiftKey:P.shiftKey,metaKey:P.metaKey,ctrlKey:P.ctrlKey,altKey:P.altKey}),n&&n(!0),H.didFirePressStart=!0,w(!0))}),N=Yn((P,z,H=!0)=>{let A=T.current;A.didFirePressStart&&(A.ignoreClickAfterPress=!0,A.didFirePressStart=!1,o&&o({type:"pressend",pointerType:z,target:P.currentTarget,shiftKey:P.shiftKey,metaKey:P.metaKey,ctrlKey:P.ctrlKey,altKey:P.altKey}),n&&n(!1),w(!1),t&&H&&!u&&t({type:"press",pointerType:z,target:P.currentTarget,shiftKey:P.shiftKey,metaKey:P.metaKey,ctrlKey:P.ctrlKey,altKey:P.altKey}))}),O=Yn((P,z)=>{u||s&&s({type:"pressup",pointerType:z,target:P.currentTarget,shiftKey:P.shiftKey,metaKey:P.metaKey,ctrlKey:P.ctrlKey,altKey:P.altKey})}),B=Yn(P=>{let z=T.current;z.isPressed&&(z.isOverTarget&&N(Nr(z.target,P),z.pointerType,!1),z.isPressed=!1,z.isOverTarget=!1,z.activePointerId=null,z.pointerType=null,L(),m||ml(z.target))}),se=Yn(P=>{h&&B(P)}),ee=g.useMemo(()=>{let P=T.current,z={onKeyDown(A){Fc(A.nativeEvent,A.currentTarget)&&A.currentTarget.contains(A.target)?(cm(A.target,A.key)&&A.preventDefault(),A.stopPropagation(),!P.isPressed&&!A.repeat&&(P.target=A.currentTarget,P.isPressed=!0,C(A,"keyboard"),E(document,"keyup",H,!1))):A.key==="Enter"&&$d(A.currentTarget)&&A.stopPropagation()},onKeyUp(A){Fc(A.nativeEvent,A.currentTarget)&&!A.repeat&&A.currentTarget.contains(A.target)&&O(Nr(P.target,A),"keyboard")},onClick(A){A&&!A.currentTarget.contains(A.target)||A&&A.button===0&&(A.stopPropagation(),u&&A.preventDefault(),!P.ignoreClickAfterPress&&!P.ignoreEmulatedMouseEvents&&(P.pointerType==="virtual"||yd(A.nativeEvent))&&(!u&&!f&&zr(A.currentTarget),C(A,"virtual"),O(A,"virtual"),N(A,"virtual")),P.ignoreEmulatedMouseEvents=!1,P.ignoreClickAfterPress=!1)}},H=A=>{if(P.isPressed&&Fc(A,P.target)){cm(A.target,A.key)&&A.preventDefault(),A.stopPropagation(),P.isPressed=!1;let ge=A.target;N(Nr(P.target,A),"keyboard",P.target.contains(ge)),L(),P.target instanceof HTMLElement&&P.target.contains(ge)&&($d(P.target)||P.target.getAttribute("role")==="link")&&P.target.click()}};if(typeof PointerEvent<"u"){z.onPointerDown=K=>{if(!(K.button!==0||!K.currentTarget.contains(K.target))){if(qT(K.nativeEvent)){P.pointerType="virtual";return}Nc(K.currentTarget)&&K.preventDefault(),P.pointerType=K.pointerType,K.stopPropagation(),P.isPressed||(P.isPressed=!0,P.isOverTarget=!0,P.activePointerId=K.pointerId,P.target=K.currentTarget,!u&&!f&&zr(K.currentTarget),m||lm(P.target),C(K,P.pointerType),E(document,"pointermove",A,!1),E(document,"pointerup",ge,!1),E(document,"pointercancel",G,!1))}},z.onMouseDown=K=>{K.currentTarget.contains(K.target)&&K.button===0&&(Nc(K.currentTarget)&&K.preventDefault(),K.stopPropagation())},z.onPointerUp=K=>{!K.currentTarget.contains(K.target)||P.pointerType==="virtual"||K.button===0&&Ui(K,K.currentTarget)&&O(K,P.pointerType||K.pointerType)};let A=K=>{K.pointerId===P.activePointerId&&(Ui(K,P.target)?P.isOverTarget||(P.isOverTarget=!0,C(Nr(P.target,K),P.pointerType)):P.isOverTarget&&(P.isOverTarget=!1,N(Nr(P.target,K),P.pointerType,!1),se(K)))},ge=K=>{K.pointerId===P.activePointerId&&P.isPressed&&K.button===0&&(Ui(K,P.target)?N(Nr(P.target,K),P.pointerType):P.isOverTarget&&N(Nr(P.target,K),P.pointerType,!1),P.isPressed=!1,P.isOverTarget=!1,P.activePointerId=null,P.pointerType=null,L(),m||ml(P.target))},G=K=>{B(K)};z.onDragStart=K=>{K.currentTarget.contains(K.target)&&B(K)}}else{z.onMouseDown=G=>{G.button!==0||!G.currentTarget.contains(G.target)||(Nc(G.currentTarget)&&G.preventDefault(),G.stopPropagation(),!P.ignoreEmulatedMouseEvents&&(P.isPressed=!0,P.isOverTarget=!0,P.target=G.currentTarget,P.pointerType=yd(G.nativeEvent)?"virtual":"mouse",!u&&!f&&zr(G.currentTarget),C(G,P.pointerType),E(document,"mouseup",A,!1)))},z.onMouseEnter=G=>{G.currentTarget.contains(G.target)&&(G.stopPropagation(),P.isPressed&&!P.ignoreEmulatedMouseEvents&&(P.isOverTarget=!0,C(G,P.pointerType)))},z.onMouseLeave=G=>{G.currentTarget.contains(G.target)&&(G.stopPropagation(),P.isPressed&&!P.ignoreEmulatedMouseEvents&&(P.isOverTarget=!1,N(G,P.pointerType,!1),se(G)))},z.onMouseUp=G=>{G.currentTarget.contains(G.target)&&!P.ignoreEmulatedMouseEvents&&G.button===0&&O(G,P.pointerType)};let A=G=>{if(G.button===0){if(P.isPressed=!1,L(),P.ignoreEmulatedMouseEvents){P.ignoreEmulatedMouseEvents=!1;return}Ui(G,P.target)?N(Nr(P.target,G),P.pointerType):P.isOverTarget&&N(Nr(P.target,G),P.pointerType,!1),P.isOverTarget=!1}};z.onTouchStart=G=>{if(!G.currentTarget.contains(G.target))return;G.stopPropagation();let K=YT(G.nativeEvent);K&&(P.activePointerId=K.identifier,P.ignoreEmulatedMouseEvents=!0,P.isOverTarget=!0,P.isPressed=!0,P.target=G.currentTarget,P.pointerType="touch",!u&&!f&&zr(G.currentTarget),m||lm(P.target),C(G,P.pointerType),E(window,"scroll",ge,!0))},z.onTouchMove=G=>{if(!G.currentTarget.contains(G.target)||(G.stopPropagation(),!P.isPressed))return;let K=um(G.nativeEvent,P.activePointerId);K&&Ui(K,G.currentTarget)?P.isOverTarget||(P.isOverTarget=!0,C(G,P.pointerType)):P.isOverTarget&&(P.isOverTarget=!1,N(G,P.pointerType,!1),se(G))},z.onTouchEnd=G=>{if(!G.currentTarget.contains(G.target)||(G.stopPropagation(),!P.isPressed))return;let K=um(G.nativeEvent,P.activePointerId);K&&Ui(K,G.currentTarget)?(O(G,P.pointerType),N(G,P.pointerType)):P.isOverTarget&&N(G,P.pointerType,!1),P.isPressed=!1,P.activePointerId=null,P.isOverTarget=!1,P.ignoreEmulatedMouseEvents=!0,m||ml(P.target),L()},z.onTouchCancel=G=>{G.currentTarget.contains(G.target)&&(G.stopPropagation(),P.isPressed&&B(G))};let ge=G=>{P.isPressed&&G.target.contains(P.target)&&B({currentTarget:P.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};z.onDragStart=G=>{G.currentTarget.contains(G.target)&&B(G)}}return z},[E,u,f,L,m,B,se,N,C,O]);return g.useEffect(()=>()=>{m||ml(T.current.target)},[m]),{isPressed:c||v,pressProps:je(b,ee)}}function $d(e){return e.tagName==="A"&&e.hasAttribute("href")}function Fc(e,t){const{key:n,code:a}=e,o=t,s=o.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||a==="Space")&&!(o instanceof HTMLInputElement&&!lb(o,n)||o instanceof HTMLTextAreaElement||o.isContentEditable)&&(!$d(o)||s==="button"&&n!=="Enter")&&!(s==="link"&&n!=="Enter")}function YT(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function um(e,t){const n=e.changedTouches;for(let a=0;a<n.length;a++){const o=n[a];if(o.identifier===t)return o}return null}function Nr(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function JT(e){let t=e.width/2||e.radiusX||0,n=e.height/2||e.radiusY||0;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function QT(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Ui(e,t){let n=t.getBoundingClientRect(),a=JT(e);return QT(n,a)}function Nc(e){return!(e instanceof HTMLElement)||!e.draggable}function cm(e,t){return e instanceof HTMLInputElement?!lb(e,t):e instanceof HTMLButtonElement?e.type!=="submit":!0}const XT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function lb(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":XT.has(e.type)}class eE{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 ub(e){let t=g.useRef({isFocused:!1,observer:null});ft(()=>{const a=t.current;return()=>{a.observer&&(a.observer.disconnect(),a.observer=null)}},[]);let n=Yn(a=>{e?.(a)});return g.useCallback(a=>{if(a.target instanceof HTMLButtonElement||a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement||a.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=a.target,s=u=>{t.current.isFocused=!1,o.disabled&&n(new eE("blur",u)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",s,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){t.current.observer.disconnect();let u=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:u})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:u}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function cb(e){let{isDisabled:t,onFocus:n,onBlur:a,onFocusChange:o}=e;const s=g.useCallback(f=>{if(f.target===f.currentTarget)return a&&a(f),o&&o(!1),!0},[a,o]),u=ub(s),c=g.useCallback(f=>{f.target===f.currentTarget&&document.activeElement===f.target&&(n&&n(f),o&&o(!0),u(f))},[o,n,u]);return{focusProps:{onFocus:!t&&(n||o||a)?c:void 0,onBlur:!t&&(a||o)?s:void 0}}}let Gr=null,os=new Set,dm=!1,oi=!1,xd=!1;const tE={Tab:!0,Escape:!0};function cu(e,t){for(let n of os)n(e,t)}function nE(e){return!(e.metaKey||!so()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function fm(e){oi=!0,nE(e)&&(Gr="keyboard",cu("keyboard",e))}function zi(e){Gr="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(oi=!0,cu("pointer",e))}function rE(e){yd(e)&&(oi=!0,Gr="virtual")}function aE(e){e.target===window||e.target===document||(!oi&&!xd&&(Gr="virtual",cu("virtual",e)),oi=!1,xd=!1)}function iE(){oi=!1,xd=!0}function Kl(){if(typeof window>"u"||dm)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){oi=!0,e.apply(this,arguments)},document.addEventListener("keydown",fm,!0),document.addEventListener("keyup",fm,!0),document.addEventListener("click",rE,!0),window.addEventListener("focus",aE,!0),window.addEventListener("blur",iE,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",zi,!0),document.addEventListener("pointermove",zi,!0),document.addEventListener("pointerup",zi,!0)):(document.addEventListener("mousedown",zi,!0),document.addEventListener("mousemove",zi,!0),document.addEventListener("mouseup",zi,!0)),dm=!0}typeof document<"u"&&(document.readyState!=="loading"?Kl():document.addEventListener("DOMContentLoaded",Kl));function Bl(){return Gr!=="pointer"}function Ul(){return Gr}function oE(e){Gr=e,cu(e,null)}function sE(){Kl();let[e,t]=g.useState(Gr);return g.useEffect(()=>{let n=()=>{t(Gr)};return os.add(n),()=>{os.delete(n)}},[]),$s()?null:e}function lE(e,t,n){return!(e&&t==="keyboard"&&n instanceof KeyboardEvent&&!tE[n.key])}function uE(e,t,n){Kl(),g.useEffect(()=>{let a=(o,s)=>{lE(n?.isTextInput,o,s)&&e(Bl())};return os.add(a),()=>{os.delete(a)}},t)}function lo(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:a,onFocusWithinChange:o}=e,s=g.useRef({isFocusWithin:!1}),u=g.useCallback(h=>{s.current.isFocusWithin&&!h.currentTarget.contains(h.relatedTarget)&&(s.current.isFocusWithin=!1,n&&n(h),o&&o(!1))},[n,o,s]),c=ub(u),f=g.useCallback(h=>{!s.current.isFocusWithin&&document.activeElement===h.target&&(a&&a(h),o&&o(!0),s.current.isFocusWithin=!0,c(h))},[a,o,c]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:f,onBlur:u}}}let zl=!1,Kc=0;function wd(){zl=!0,setTimeout(()=>{zl=!1},50)}function hm(e){e.pointerType==="touch"&&wd()}function cE(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",hm):document.addEventListener("touchend",wd),Kc++,()=>{Kc--,!(Kc>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",hm):document.removeEventListener("touchend",wd))}}function dE(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:a,isDisabled:o}=e,[s,u]=g.useState(!1),c=g.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;g.useEffect(cE,[]);let{hoverProps:f,triggerHoverEnd:h}=g.useMemo(()=>{let m=(v,w)=>{if(c.pointerType=w,o||w==="touch"||c.isHovered||!v.currentTarget.contains(v.target))return;c.isHovered=!0;let T=v.currentTarget;c.target=T,t&&t({type:"hoverstart",target:T,pointerType:w}),n&&n(!0),u(!0)},x=(v,w)=>{if(c.pointerType="",c.target=null,w==="touch"||!c.isHovered)return;c.isHovered=!1;let T=v.currentTarget;a&&a({type:"hoverend",target:T,pointerType:w}),n&&n(!1),u(!1)},b={};return typeof PointerEvent<"u"?(b.onPointerEnter=v=>{zl&&v.pointerType==="mouse"||m(v,v.pointerType)},b.onPointerLeave=v=>{!o&&v.currentTarget.contains(v.target)&&x(v,v.pointerType)}):(b.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},b.onMouseEnter=v=>{!c.ignoreEmulatedMouseEvents&&!zl&&m(v,"mouse"),c.ignoreEmulatedMouseEvents=!1},b.onMouseLeave=v=>{!o&&v.currentTarget.contains(v.target)&&x(v,"mouse")}),{hoverProps:b,triggerHoverEnd:x}},[t,n,a,o,c]);return g.useEffect(()=>{o&&h({currentTarget:c.target},c.pointerType)},[o]),{hoverProps:f,isHovered:s}}function fE(e){let{ref:t,onInteractOutside:n,isDisabled:a,onInteractOutsideStart:o}=e,s=g.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),u=Yn(f=>{n&&gl(f,t)&&(o&&o(f),s.current.isPointerDown=!0)}),c=Yn(f=>{n&&n(f)});g.useEffect(()=>{let f=s.current;if(!a)if(typeof PointerEvent<"u"){let h=m=>{f.isPointerDown&&gl(m,t)&&c(m),f.isPointerDown=!1};return document.addEventListener("pointerdown",u,!0),document.addEventListener("pointerup",h,!0),()=>{document.removeEventListener("pointerdown",u,!0),document.removeEventListener("pointerup",h,!0)}}else{let h=x=>{f.ignoreEmulatedMouseEvents?f.ignoreEmulatedMouseEvents=!1:f.isPointerDown&&gl(x,t)&&c(x),f.isPointerDown=!1},m=x=>{f.ignoreEmulatedMouseEvents=!0,f.isPointerDown&&gl(x,t)&&c(x),f.isPointerDown=!1};return document.addEventListener("mousedown",u,!0),document.addEventListener("mouseup",h,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("touchend",m,!0),()=>{document.removeEventListener("mousedown",u,!0),document.removeEventListener("mouseup",h,!0),document.removeEventListener("touchstart",u,!0),document.removeEventListener("touchend",m,!0)}}},[t,a,u,c])}function gl(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 pm(e){if(!e)return;let t=!0;return n=>{let a={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(a),t&&n.stopPropagation()}}function hE(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:pm(e.onKeyDown),onKeyUp:pm(e.onKeyUp)}}}const pE=500;function db(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:a,onLongPress:o,threshold:s=pE,accessibilityDescription:u}=e;const c=g.useRef(null);let{addGlobalListener:f,removeGlobalListener:h}=rf(),{pressProps:m}=hi({isDisabled:t,onPressStart(b){if((b.pointerType==="mouse"||b.pointerType==="touch")&&(n&&n({...b,type:"longpressstart"}),c.current=setTimeout(()=>{b.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...b,type:"longpress"}),c.current=null},s),b.pointerType==="touch")){let v=w=>{w.preventDefault()};f(b.target,"contextmenu",v,{once:!0}),f(window,"pointerup",()=>{setTimeout(()=>{h(b.target,"contextmenu",v)},30)},{once:!0})}},onPressEnd(b){c.current&&clearTimeout(c.current),a&&(b.pointerType==="mouse"||b.pointerType==="touch")&&a({...b,type:"longpressend"})}}),x=uu(o&&!t?u:null);return{longPressProps:je(m,x)}}function si(e){if(Ul()==="virtual"){let t=document.activeElement;rb(()=>{document.activeElement===t&&document.contains(e)&&zr(e)})}else zr(e)}function mE(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;let{display:t,visibility:n}=e.style,a=t!=="none"&&n!=="hidden"&&n!=="collapse";if(a){const{getComputedStyle:o}=e.ownerDocument.defaultView;let{display:s,visibility:u}=o(e);a=s!=="none"&&u!=="hidden"&&u!=="collapse"}return a}function gE(e,t){return!e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function fb(e,t){return e.nodeName!=="#comment"&&mE(e)&&gE(e,t)&&(!e.parentElement||fb(e.parentElement,e))}const mm=g.createContext(null);let rt=null;function sf(e){let{children:t,contain:n,restoreFocus:a,autoFocus:o}=e,s=g.useRef(),u=g.useRef(),c=g.useRef([]),{parentNode:f}=g.useContext(mm)||{},h=g.useMemo(()=>new Dd({scopeRef:c}),[c]);ft(()=>{let b=f||gt.root;if(gt.getTreeNode(b.scopeRef)&&rt&&!Vl(rt,b.scopeRef)){let v=gt.getTreeNode(rt);v&&(b=v)}b.addChild(h),gt.addNode(h)},[h,f]),ft(()=>{let b=gt.getTreeNode(c);b.contain=n},[n]),ft(()=>{let b=s.current.nextSibling,v=[];for(;b&&b!==u.current;)v.push(b),b=b.nextSibling;c.current=v},[t]),DE(c,a,n),$E(c,n),SE(c,a,n),wE(c,o),g.useEffect(()=>{if(c){let b=document.activeElement,v=null;if(Nt(b,c.current)){for(let w of gt.traverse())Nt(b,w.scopeRef.current)&&(v=w);v===gt.getTreeNode(c)&&(rt=v.scopeRef)}return()=>{let w=gt.getTreeNode(c).parent.scopeRef;(c===rt||Vl(c,rt))&&(!w||gt.getTreeNode(w))&&(rt=w),gt.removeTreeNode(c)}}},[c]);let m=g.useMemo(()=>bE(c),[]),x=g.useMemo(()=>({focusManager:m,parentNode:h}),[h,m]);return g.createElement(mm.Provider,{value:x},g.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:s}),t,g.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:u}))}function bE(e){return{focusNext(t={}){let n=e.current,{from:a,tabbable:o,wrap:s,accept:u}=t,c=a||document.activeElement,f=n[0].previousElementSibling,h=an(ni(n),{tabbable:o,accept:u},n);h.currentNode=Nt(c,n)?c:f;let m=h.nextNode();return!m&&s&&(h.currentNode=f,m=h.nextNode()),m&&rn(m,!0),m},focusPrevious(t={}){let n=e.current,{from:a,tabbable:o,wrap:s,accept:u}=t,c=a||document.activeElement,f=n[n.length-1].nextElementSibling,h=an(ni(n),{tabbable:o,accept:u},n);h.currentNode=Nt(c,n)?c:f;let m=h.previousNode();return!m&&s&&(h.currentNode=f,m=h.previousNode()),m&&rn(m,!0),m},focusFirst(t={}){let n=e.current,{tabbable:a,accept:o}=t,s=an(ni(n),{tabbable:a,accept:o},n);s.currentNode=n[0].previousElementSibling;let u=s.nextNode();return u&&rn(u,!0),u},focusLast(t={}){let n=e.current,{tabbable:a,accept:o}=t,s=an(ni(n),{tabbable:a,accept:o},n);s.currentNode=n[n.length-1].nextElementSibling;let u=s.previousNode();return u&&rn(u,!0),u}}}const lf=["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]"],yE=lf.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";lf.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const vE=lf.join(':not([hidden]):not([tabindex="-1"]),');function ni(e){return e[0].parentElement}function Ho(e){let t=gt.getTreeNode(rt);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function $E(e,t){let n=g.useRef(),a=g.useRef(null);ft(()=>{let o=e.current;if(!t){a.current&&(cancelAnimationFrame(a.current),a.current=null);return}let s=f=>{if(f.key!=="Tab"||f.altKey||f.ctrlKey||f.metaKey||!Ho(e))return;let h=document.activeElement,m=e.current;if(!Nt(h,m))return;let x=an(ni(m),{tabbable:!0},m);x.currentNode=h;let b=f.shiftKey?x.previousNode():x.nextNode();b||(x.currentNode=f.shiftKey?m[m.length-1].nextElementSibling:m[0].previousElementSibling,b=f.shiftKey?x.previousNode():x.nextNode()),f.preventDefault(),b&&rn(b,!0)},u=f=>{(!rt||Vl(rt,e))&&Nt(f.target,e.current)?(rt=e,n.current=f.target):Ho(e)&&!jl(f.target,e)?n.current?n.current.focus():rt&&Wl(rt.current):Ho(e)&&(n.current=f.target)},c=f=>{a.current&&cancelAnimationFrame(a.current),a.current=requestAnimationFrame(()=>{Ho(e)&&!jl(document.activeElement,e)&&(rt=e,document.body.contains(f.target)?(n.current=f.target,n.current.focus()):rt&&Wl(rt.current))})};return document.addEventListener("keydown",s,!1),document.addEventListener("focusin",u,!1),o.forEach(f=>f.addEventListener("focusin",u,!1)),o.forEach(f=>f.addEventListener("focusout",c,!1)),()=>{document.removeEventListener("keydown",s,!1),document.removeEventListener("focusin",u,!1),o.forEach(f=>f.removeEventListener("focusin",u,!1)),o.forEach(f=>f.removeEventListener("focusout",c,!1))}},[e,t]),ft(()=>()=>{a.current&&cancelAnimationFrame(a.current)},[a])}function hb(e){return jl(e)}function Nt(e,t){return t.some(n=>n.contains(e))}function jl(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of gt.traverse(gt.getTreeNode(t)))if(Nt(e,n.current))return!0;return!1}function xE(e){return jl(e,rt)}function Vl(e,t){var n;let a=(n=gt.getTreeNode(t))===null||n===void 0?void 0:n.parent;for(;a;){if(a.scopeRef===e)return!0;a=a.parent}return!1}function rn(e,t=!1){if(e!=null&&!t)try{si(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function Wl(e,t=!0){let n=e[0].previousElementSibling,a=an(ni(e),{tabbable:t},e);a.currentNode=n;let o=a.nextNode();t&&!o&&(a=an(ni(e),{tabbable:!1},e),a.currentNode=n,o=a.nextNode()),rn(o)}function wE(e,t){const n=g.useRef(t);g.useEffect(()=>{n.current&&(rt=e,Nt(document.activeElement,rt.current)||Wl(e.current)),n.current=!1},[e])}function DE(e,t,n){ft(()=>{if(t||n)return;let a=e.current,o=s=>{let u=s.target;Nt(u,e.current)?rt=e:hb(u)||(rt=null)};return document.addEventListener("focusin",o,!1),a.forEach(s=>s.addEventListener("focusin",o,!1)),()=>{document.removeEventListener("focusin",o,!1),a.forEach(s=>s.removeEventListener("focusin",o,!1))}},[e,t,n])}function PE(e){let t=gt.getTreeNode(rt);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function SE(e,t,n){const a=g.useRef(typeof document<"u"?document.activeElement:null);ft(()=>{let o=e.current;if(!t||n)return;let s=()=>{(!rt||Vl(rt,e))&&Nt(document.activeElement,e.current)&&(rt=e)};return document.addEventListener("focusin",s,!1),o.forEach(u=>u.addEventListener("focusin",s,!1)),()=>{document.removeEventListener("focusin",s,!1),o.forEach(u=>u.removeEventListener("focusin",s,!1))}},[e,n]),ft(()=>{if(!t)return;gt.getTreeNode(e).nodeToRestore=a.current;let o=s=>{if(s.key!=="Tab"||s.altKey||s.ctrlKey||s.metaKey||!Ho(e))return;let u=document.activeElement;if(!Nt(u,e.current))return;let c=gt.getTreeNode(e).nodeToRestore,f=an(document.body,{tabbable:!0});f.currentNode=u;let h=s.shiftKey?f.previousNode():f.nextNode();if((!document.body.contains(c)||c===document.body)&&(c=null,gt.getTreeNode(e).nodeToRestore=null),(!h||!Nt(h,e.current))&&c){f.currentNode=c;do h=s.shiftKey?f.previousNode():f.nextNode();while(Nt(h,e.current));s.preventDefault(),s.stopPropagation(),h?rn(h,!0):hb(c)?rn(c,!0):u.blur()}};return n||document.addEventListener("keydown",o,!0),()=>{n||document.removeEventListener("keydown",o,!0);let s=gt.getTreeNode(e).nodeToRestore;if(t&&s&&(Nt(document.activeElement,e.current)||document.activeElement===document.body&&PE(e))){let u=gt.clone();requestAnimationFrame(()=>{if(document.activeElement===document.body){let c=u.getTreeNode(e);for(;c;){if(c.nodeToRestore&&document.body.contains(c.nodeToRestore)){rn(c.nodeToRestore);return}c=c.parent}for(c=u.getTreeNode(e);c;){if(c.scopeRef&&gt.getTreeNode(c.scopeRef)){Wl(c.scopeRef.current,!0);return}c=c.parent}}})}}},[e,t,n])}function an(e,t,n){let a=t?.tabbable?vE:yE,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(s){var u;return!(t==null||(u=t.from)===null||u===void 0)&&u.contains(s)?NodeFilter.FILTER_REJECT:s.matches(a)&&fb(s)&&(!n||Nt(s,n))&&(!t?.accept||t.accept(s))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(o.currentNode=t.from),o}function uf(e,t={}){return{focusNext(n={}){let a=e.current;if(!a)return;let{from:o,tabbable:s=t.tabbable,wrap:u=t.wrap,accept:c=t.accept}=n,f=o||document.activeElement,h=an(a,{tabbable:s,accept:c});a.contains(f)&&(h.currentNode=f);let m=h.nextNode();return!m&&u&&(h.currentNode=a,m=h.nextNode()),m&&rn(m,!0),m},focusPrevious(n=t){let a=e.current;if(!a)return;let{from:o,tabbable:s=t.tabbable,wrap:u=t.wrap,accept:c=t.accept}=n,f=o||document.activeElement,h=an(a,{tabbable:s,accept:c});if(a.contains(f))h.currentNode=f;else{let x=Bc(h);return x&&rn(x,!0),x}let m=h.previousNode();return!m&&u&&(h.currentNode=a,m=Bc(h)),m&&rn(m,!0),m},focusFirst(n=t){let a=e.current;if(!a)return;let{tabbable:o=t.tabbable,accept:s=t.accept}=n,c=an(a,{tabbable:o,accept:s}).nextNode();return c&&rn(c,!0),c},focusLast(n=t){let a=e.current;if(!a)return;let{tabbable:o=t.tabbable,accept:s=t.accept}=n,u=an(a,{tabbable:o,accept:s}),c=Bc(u);return c&&rn(c,!0),c}}}function Bc(e){let t,n;do n=e.lastChild(),n&&(t=n);while(n);return t}class cf{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,n,a){let o=this.fastMap.get(n??null),s=new Dd({scopeRef:t});o.addChild(s),s.parent=o,this.fastMap.set(t,s),a&&(s.nodeToRestore=a)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let n=this.fastMap.get(t),a=n.parent;for(let s of this.traverse())s!==n&&n.nodeToRestore&&s.nodeToRestore&&n.scopeRef.current&&Nt(s.nodeToRestore,n.scopeRef.current)&&(s.nodeToRestore=n.nodeToRestore);let o=n.children;a.removeChild(n),o.size>0&&o.forEach(s=>a.addChild(s)),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(){let t=new cf;for(let n of this.traverse())t.addTreeNode(n.scopeRef,n.parent.scopeRef,n.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new Dd({scopeRef:null}),this.fastMap.set(null,this.root)}}class Dd{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 gt=new cf;function df(e={}){let{autoFocus:t=!1,isTextInput:n,within:a}=e,o=g.useRef({isFocused:!1,isFocusVisible:t||Bl()}),[s,u]=g.useState(!1),[c,f]=g.useState(()=>o.current.isFocused&&o.current.isFocusVisible),h=g.useCallback(()=>f(o.current.isFocused&&o.current.isFocusVisible),[]),m=g.useCallback(v=>{o.current.isFocused=v,u(v),h()},[h]);uE(v=>{o.current.isFocusVisible=v,h()},[],{isTextInput:n});let{focusProps:x}=cb({isDisabled:a,onFocusChange:m}),{focusWithinProps:b}=lo({isDisabled:!a,onFocusWithinChange:m});return{isFocused:s,isFocusVisible:c,focusProps:a?b:x}}function ff(e){let{children:t,focusClass:n,focusRingClass:a}=e,{isFocused:o,isFocusVisible:s,focusProps:u}=df(e),c=g.Children.only(t);return g.cloneElement(c,je(c.props,{...u,className:nf({[n||""]:o,[a||""]:s})}))}let TE=g.createContext(null);function EE(e){let t=g.useContext(TE)||{};ab(t,e);let{ref:n,...a}=t;return a}function du(e,t){let{focusProps:n}=cb(e),{keyboardProps:a}=hE(e),o=je(n,a),s=EE(t),u=e.isDisabled?{}:s,c=g.useRef(e.autoFocus);return g.useEffect(()=>{c.current&&t.current&&si(t.current),c.current=!1},[t]),{focusableProps:je({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},u)}}function _E(e,t){let{elementType:n="a",onPress:a,onPressStart:o,onPressEnd:s,onClick:u,isDisabled:c,...f}=e,h={};n!=="a"&&(h={role:"link",tabIndex:c?void 0:0});let{focusableProps:m}=du(e,t),{pressProps:x,isPressed:b}=hi({onPress:a,onPressStart:o,onPressEnd:s,isDisabled:c,ref:t}),v=mr(f,{labelable:!0}),w=je(m,x);return{isPressed:b,linkProps:je(v,{...w,...h,"aria-disabled":c||void 0,"aria-current":e["aria-current"],onClick:T=>{var E;(E=x.onClick)===null||E===void 0||E.call(x,T),u&&(u(T),console.warn("onClick is deprecated, please use onPress"))}})}}class hf{getStringForLocale(t,n){let a=this.strings[n];a||(a=RE(n,this.strings,this.defaultLocale),this.strings[n]=a);let o=a[t];if(!o)throw new Error(`Could not find intl message ${t} in ${n} locale`);return o}constructor(t,n="en-US"){this.strings={...t},this.defaultLocale=n}}function RE(e,t,n="en-US"){if(t[e])return t[e];let a=AE(e);if(t[a])return t[a];for(let o in t)if(o.startsWith(a+"-"))return t[o];return t[n]}function AE(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const gm=new Map,bm=new Map;class CE{format(t,n){let a=this.strings.getStringForLocale(t,this.locale);return typeof a=="function"?a(n,this):a}plural(t,n,a="cardinal"){let o=n["="+t];if(o)return typeof o=="function"?o():o;let s=this.locale+":"+a,u=gm.get(s);u||(u=new Intl.PluralRules(this.locale,{type:a}),gm.set(s,u));let c=u.select(t);return o=n[c]||n.other,typeof o=="function"?o():o}number(t){let n=bm.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),bm.set(this.locale,n)),n.format(t)}select(t,n){let a=t[n]||t.other;return typeof a=="function"?a():a}constructor(t,n){this.locale=t,this.strings=n}}function ME(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function fu(e,t,n){ME(e,t),t.set(e,n)}function Wr(e,t){return e-t*Math.floor(e/t)}const pb=1721426;function ri(e,t,n,a){t=Ds(e,t);let o=t-1,s=-2;return n<=2?s=0:ya(t)&&(s=-1),pb-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*n-362)/12+s+a)}function ya(e){return e%4===0&&(e%100!==0||e%400===0)}function Ds(e,t){return e==="BC"?1-t:t}function hu(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const IE={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 mn{fromJulianDay(t){let n=t,a=n-pb,o=Math.floor(a/146097),s=Wr(a,146097),u=Math.floor(s/36524),c=Wr(s,36524),f=Math.floor(c/1461),h=Wr(c,1461),m=Math.floor(h/365),x=o*400+u*100+f*4+m+(u!==4&&m!==4?1:0),[b,v]=hu(x),w=n-ri(b,v,1,1),T=2;n<ri(b,v,3,1)?T=0:ya(v)&&(T=1);let E=Math.floor(((w+T)*12+373)/367),L=n-ri(b,v,E,1)+1;return new wt(b,v,E,L)}toJulianDay(t){return ri(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return IE[ya(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return ya(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 kE={"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 xt(e,t){return t=dt(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function OE(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 LE(e,t){return xt(e,pf(t))}function pu(e,t){let n=e.calendar.toJulianDay(e),a=Math.ceil(n+1-zE(t))%7;return a<0&&(a+=7),a}function mb(e){return jr(Date.now(),e)}function pf(e){return fr(mb(e))}function gb(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function bb(e,t){return ym(e)-ym(t)}function ym(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let Uc=null;function yb(){return Uc==null&&(Uc=new Intl.DateTimeFormat().resolvedOptions().timeZone),Uc}function Ps(e){return e.subtract({days:e.day-1})}function Pd(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function FE(e){return Ps(e.subtract({months:e.month-1}))}function NE(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function KE(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function ss(e,t){let n=pu(e,t);return e.subtract({days:n})}function BE(e,t){return ss(e,t).add({days:6})}const vm=new Map;function UE(e){if(Intl.Locale){let n=vm.get(e);return n||(n=new Intl.Locale(e).maximize().region,vm.set(e,n)),n}let t=e.split("-")[1];return t==="u"?null:t}function zE(e){let t=UE(e);return kE[t]||0}function jE(e,t){let n=e.calendar.getDaysInMonth(e);return Math.ceil((pu(Ps(e),t)+n)/7)}function vb(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function $b(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function ao(e){e=dt(e,new mn);let t=Ds(e.era,e.year);return xb(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function xb(e,t,n,a,o,s,u){let c=new Date;return c.setUTCHours(a,o,s,u),c.setUTCFullYear(e,t-1,n),c.getTime()}function Sd(e,t){if(t==="UTC")return 0;if(e>0&&t===yb())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:a,day:o,hour:s,minute:u,second:c}=wb(e,t);return xb(n,a,o,s,u,c,0)-Math.floor(e/1e3)*1e3}const $m=new Map;function wb(e,t){let n=$m.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"}),$m.set(t,n));let a=n.formatToParts(new Date(e)),o={};for(let s of a)s.type!=="literal"&&(o[s.type]=s.value);return{year:o.era==="BC"||o.era==="B"?-o.year+1:+o.year,month:+o.month,day:+o.day,hour:o.hour==="24"?0:+o.hour,minute:+o.minute,second:+o.second}}const xm=864e5;function VE(e,t,n,a){return(n===a?[n]:[n,a]).filter(s=>WE(e,t,s))}function WE(e,t,n){let a=wb(n,t);return e.year===a.year&&e.month===a.month&&e.day===a.day&&e.hour===a.hour&&e.minute===a.minute&&e.second===a.second}function Ur(e,t,n="compatible"){let a=Da(e);if(t==="UTC")return ao(a);if(t===yb()&&n==="compatible"){a=dt(a,new mn);let f=new Date,h=Ds(a.era,a.year);return f.setFullYear(h,a.month-1,a.day),f.setHours(a.hour,a.minute,a.second,a.millisecond),f.getTime()}let o=ao(a),s=Sd(o-xm,t),u=Sd(o+xm,t),c=VE(a,t,o-s,o-u);if(c.length===1)return c[0];if(c.length>1)switch(n){case"compatible":case"earlier":return c[0];case"later":return c[c.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(o-s,o-u);case"compatible":case"later":return Math.max(o-s,o-u);case"reject":throw new RangeError("No such absolute time found")}}function Db(e,t,n="compatible"){return new Date(Ur(e,t,n))}function jr(e,t){let n=Sd(e,t),a=new Date(e+n),o=a.getUTCFullYear(),s=a.getUTCMonth()+1,u=a.getUTCDate(),c=a.getUTCHours(),f=a.getUTCMinutes(),h=a.getUTCSeconds(),m=a.getUTCMilliseconds();return new us(o,s,u,t,n,c,f,h,m)}function fr(e){return new wt(e.calendar,e.era,e.year,e.month,e.day)}function Da(e,t){let n=0,a=0,o=0,s=0;if("timeZone"in e)({hour:n,minute:a,second:o,millisecond:s}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:a,second:o,millisecond:s}=t),new Hl(e.calendar,e.era,e.year,e.month,e.day,n,a,o,s)}function dt(e,t){if(e.calendar.identifier===t.identifier)return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),a=e.copy();return a.calendar=t,a.era=n.era,a.year=n.year,a.month=n.month,a.day=n.day,li(a),a}function HE(e,t,n){if(e instanceof us)return e.timeZone===t?e:qE(e,t);let a=Ur(e,t,n);return jr(a,t)}function GE(e){let t=ao(e)-e.offset;return new Date(t)}function qE(e,t){let n=ao(e)-e.offset;return dt(jr(n,t),e.calendar)}const No=36e5;function mu(e,t){let n=e.copy(),a="hour"in n?Eb(n,t):0;Td(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,Ed(n),Pb(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=a,ZE(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let o=n.calendar.getYearsInEra(n);if(n.year>o){var s,u;let f=(u=(s=n.calendar).isInverseEra)===null||u===void 0?void 0:u.call(s,n);n.year=o,n.month=f?1:n.calendar.getMonthsInYear(n),n.day=f?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let c=n.calendar.getMonthsInYear(n);return n.month>c&&(n.month=c,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function Td(e,t){var n,a;!((a=(n=e.calendar).isInverseEra)===null||a===void 0)&&a.call(n,e)&&(t=-t),e.year+=t}function Ed(e){for(;e.month<1;)Td(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Td(e,1)}function ZE(e){for(;e.day<1;)e.month--,Ed(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Ed(e)}function Pb(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 li(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Pb(e)}function mf(e){let t={};for(let n in e)typeof e[n]=="number"&&(t[n]=-e[n]);return t}function Sb(e,t){return mu(e,mf(t))}function gf(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),li(n),n}function ls(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),Tb(n),n}function YE(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=bl(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=bl(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=bl(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=bl(e.hour,24),t}function Tb(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 bl(e,t){let n=e%t;return n<0&&(n+=t),n}function Eb(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,YE(e)}function _b(e,t){let n=e.copy();return Eb(n,t),n}function JE(e,t){return _b(e,mf(t))}function bf(e,t,n,a){let o=e.copy();switch(t){case"era":{let c=e.calendar.getEras(),f=c.indexOf(e.era);if(f<0)throw new Error("Invalid era: "+e.era);f=Vr(f,n,0,c.length-1,a?.round),o.era=c[f],li(o);break}case"year":var s,u;!((u=(s=o.calendar).isInverseEra)===null||u===void 0)&&u.call(s,o)&&(n=-n),o.year=Vr(e.year,n,-1/0,9999,a?.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=Vr(e.month,n,1,e.calendar.getMonthsInYear(e),a?.round);break;case"day":o.day=Vr(e.day,n,1,e.calendar.getDaysInMonth(e),a?.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(o),li(o),o}function yf(e,t,n,a){let o=e.copy();switch(t){case"hour":{let s=e.hour,u=0,c=23;if(a?.hourCycle===12){let f=s>=12;u=f?12:0,c=f?23:11}o.hour=Vr(s,n,u,c,a?.round);break}case"minute":o.minute=Vr(e.minute,n,0,59,a?.round);break;case"second":o.second=Vr(e.second,n,0,59,a?.round);break;case"millisecond":o.millisecond=Vr(e.millisecond,n,0,999,a?.round);break;default:throw new Error("Unsupported field "+t)}return o}function Vr(e,t,n,a,o=!1){if(o){e+=Math.sign(t),e<n&&(e=a);let s=Math.abs(t);t>0?e=Math.ceil(e/s)*s:e=Math.floor(e/s)*s,e>a&&(e=n)}else e+=t,e<n?e=a-(n-e-1):e>a&&(e=n+(e-a-1));return e}function Rb(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 o=mu(Da(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=Ur(o,e.timeZone)}else n=ao(e)-e.offset;n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5;let a=jr(n,e.timeZone);return dt(a,e.calendar)}function QE(e,t){return Rb(e,mf(t))}function XE(e,t,n,a){switch(t){case"hour":{let o=0,s=23;if(a?.hourCycle===12){let w=e.hour>=12;o=w?12:0,s=w?23:11}let u=Da(e),c=dt(ls(u,{hour:o}),new mn),f=[Ur(c,e.timeZone,"earlier"),Ur(c,e.timeZone,"later")].filter(w=>jr(w,e.timeZone).day===c.day)[0],h=dt(ls(u,{hour:s}),new mn),m=[Ur(h,e.timeZone,"earlier"),Ur(h,e.timeZone,"later")].filter(w=>jr(w,e.timeZone).day===h.day).pop(),x=ao(e)-e.offset,b=Math.floor(x/No),v=x%No;return x=Vr(b,n,Math.floor(f/No),Math.floor(m/No),a?.round)*No+v,dt(jr(x,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return yf(e,t,n,a);case"era":case"year":case"month":case"day":{let o=bf(Da(e),t,n,a),s=Ur(o,e.timeZone);return dt(jr(s,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function e5(e,t,n){let a=Da(e),o=ls(gf(a,t),t);if(o.compare(a)===0)return e;let s=Ur(o,e.timeZone,n);return dt(jr(s,e.timeZone),e.calendar)}function Ab(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 Cb(e){let t=dt(e,new mn);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Mb(e){return`${Cb(e)}T${Ab(e)}`}function t5(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let n=Math.floor(e/36e5),a=e%36e5/6e4;return`${t}${String(n).padStart(2,"0")}:${String(a).padStart(2,"0")}`}function n5(e){return`${Mb(e)}${t5(e.offset)}[${e.timeZone}]`}function vf(e){let t=typeof e[0]=="object"?e.shift():new mn,n;if(typeof e[0]=="string")n=e.shift();else{let u=t.getEras();n=u[u.length-1]}let a=e.shift(),o=e.shift(),s=e.shift();return[t,n,a,o,s]}var r5=new WeakMap;class wt{copy(){return this.era?new wt(this.calendar,this.era,this.year,this.month,this.day):new wt(this.calendar,this.year,this.month,this.day)}add(t){return mu(this,t)}subtract(t){return Sb(this,t)}set(t){return gf(this,t)}cycle(t,n,a){return bf(this,t,n,a)}toDate(t){return Db(this,t)}toString(){return Cb(this)}compare(t){return gb(this,t)}constructor(...t){fu(this,r5,{writable:!0,value:void 0});let[n,a,o,s,u]=vf(t);this.calendar=n,this.era=a,this.year=o,this.month=s,this.day=u,li(this)}}var a5=new WeakMap;class $f{copy(){return new $f(this.hour,this.minute,this.second,this.millisecond)}add(t){return _b(this,t)}subtract(t){return JE(this,t)}set(t){return ls(this,t)}cycle(t,n,a){return yf(this,t,n,a)}toString(){return Ab(this)}compare(t){return bb(this,t)}constructor(t=0,n=0,a=0,o=0){fu(this,a5,{writable:!0,value:void 0}),this.hour=t,this.minute=n,this.second=a,this.millisecond=o,Tb(this)}}var i5=new WeakMap;class Hl{copy(){return this.era?new Hl(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Hl(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return mu(this,t)}subtract(t){return Sb(this,t)}set(t){return gf(ls(this,t),t)}cycle(t,n,a){switch(t){case"era":case"year":case"month":case"day":return bf(this,t,n,a);default:return yf(this,t,n,a)}}toDate(t,n){return Db(this,t,n)}toString(){return Mb(this)}compare(t){let n=gb(this,t);return n===0?bb(this,Da(t)):n}constructor(...t){fu(this,i5,{writable:!0,value:void 0});let[n,a,o,s,u]=vf(t);this.calendar=n,this.era=a,this.year=o,this.month=s,this.day=u,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,li(this)}}var o5=new WeakMap;class us{copy(){return this.era?new us(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new us(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Rb(this,t)}subtract(t){return QE(this,t)}set(t,n){return e5(this,t,n)}cycle(t,n,a){return XE(this,t,n,a)}toDate(){return GE(this)}toString(){return n5(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-HE(t,this.timeZone).toDate().getTime()}constructor(...t){fu(this,o5,{writable:!0,value:void 0});let[n,a,o,s,u]=vf(t),c=t.shift(),f=t.shift();this.calendar=n,this.era=a,this.year=o,this.month=s,this.day=u,this.timeZone=c,this.offset=f,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,li(this)}}const Yi=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],s5=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],_l=[1867,1911,1925,1988,2018],ba=["meiji","taisho","showa","heisei","reiwa"];function wm(e){const t=Yi.findIndex(([n,a,o])=>e.year<n||e.year===n&&e.month<a||e.year===n&&e.month===a&&e.day<o);return t===-1?Yi.length-1:t===0?0:t-1}function zc(e){let t=_l[ba.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new wt(e.year+t,e.month,e.day)}class l5 extends mn{fromJulianDay(t){let n=super.fromJulianDay(t),a=wm(n);return new wt(this,ba[a],n.year-_l[a],n.month,n.day)}toJulianDay(t){return super.toJulianDay(zc(t))}balanceDate(t){let n=zc(t),a=wm(n);ba[a]!==t.era&&(t.era=ba[a],t.year=n.year-_l[a]),this.constrainDate(t)}constrainDate(t){let n=ba.indexOf(t.era),a=s5[n];if(a!=null){let[o,s,u]=a,c=o-_l[n];t.year=Math.max(1,Math.min(c,t.year)),t.year===c&&(t.month=Math.min(s,t.month),t.month===s&&(t.day=Math.min(u,t.day)))}if(t.year===1&&n>=0){let[,o,s]=Yi[n];t.month=Math.max(o,t.month),t.month===o&&(t.day=Math.max(s,t.day))}}getEras(){return ba}getYearsInEra(t){let n=ba.indexOf(t.era),a=Yi[n],o=Yi[n+1];if(o==null)return 9999-a[0]+1;let s=o[0]-a[0];return(t.month<o[1]||t.month===o[1]&&t.day<o[2])&&s++,s}getDaysInMonth(t){return super.getDaysInMonth(zc(t))}getMinimumMonthInYear(t){let n=Dm(t);return n?n[1]:1}getMinimumDayInMonth(t){let n=Dm(t);return n&&t.month===n[1]?n[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function Dm(e){if(e.year===1){let t=ba.indexOf(e.era);return Yi[t]}}const Ib=-543;class u5 extends mn{fromJulianDay(t){let n=super.fromJulianDay(t),a=Ds(n.era,n.year);return new wt(this,a-Ib,n.month,n.day)}toJulianDay(t){return super.toJulianDay(Pm(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(Pm(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function Pm(e){let[t,n]=hu(e.year+Ib);return new wt(t,n,e.month,e.day)}const Gl=1911;function kb(e){return e.era==="minguo"?e.year+Gl:1-e.year+Gl}function Sm(e){let t=e-Gl;return t>0?["minguo",t]:["before_minguo",1-t]}class c5 extends mn{fromJulianDay(t){let n=super.fromJulianDay(t),a=Ds(n.era,n.year),[o,s]=Sm(a);return new wt(this,o,s,n.month,n.day)}toJulianDay(t){return super.toJulianDay(Tm(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[n,a]=Sm(kb(t));t.era=n,t.year=a}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(Tm(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Gl}constructor(...t){super(...t),this.identifier="roc"}}function Tm(e){let[t,n]=hu(kb(e));return new wt(t,n,e.month,e.day)}const d5=1948321;function f5(e){let t=e>0?e-474:e-473,n=Wr(t,2820)+474;return Wr((n+38)*31,128)<31}function yl(e,t,n){let a=e>0?e-474:e-473,o=Wr(a,2820)+474,s=t<=7?31*(t-1):30*(t-1)+6;return d5-1+1029983*Math.floor(a/2820)+365*(o-1)+Math.floor((31*o-5)/128)+s+n}class h5{fromJulianDay(t){let n=t-yl(475,1,1),a=Math.floor(n/1029983),o=Wr(n,1029983),s=o===1029982?2820:Math.floor((128*o+46878)/46751),u=474+2820*a+s;u<=0&&u--;let c=t-yl(u,1,1)+1,f=c<=186?Math.ceil(c/31):Math.ceil((c-6)/31),h=t-yl(u,f,1)+1;return new wt(this,u,f,h)}toJulianDay(t){return yl(t.year,t.month,t.day)}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||f5(t.year)?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const jc=78,Em=80;class p5 extends mn{fromJulianDay(t){let n=super.fromJulianDay(t),a=n.year-jc,o=t-ri(n.era,n.year,1,1),s;o<Em?(a--,s=ya(n.year-1)?31:30,o+=s+155+90+10):(s=ya(n.year)?31:30,o-=Em);let u,c;if(o<s)u=1,c=o+1;else{let f=o-s;f<155?(u=Math.floor(f/31)+2,c=f%31+1):(f-=155,u=Math.floor(f/30)+7,c=f%30+1)}return new wt(this,a,u,c)}toJulianDay(t){let n=t.year+jc,[a,o]=hu(n),s,u;return ya(o)?(s=31,u=ri(a,o,3,21)):(s=30,u=ri(a,o,3,22)),t.month===1?u+t.day-1:(u+=s+Math.min(t.month-2,5)*31,t.month>=8&&(u+=(t.month-7)*30),u+=t.day-1,u)}getDaysInMonth(t){return t.month===1&&ya(t.year+jc)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const ql=1948440,_m=1948439,An=1300,ji=1600,m5=460322;function Zl(e,t,n,a){return a+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Ob(e,t,n){let a=Math.floor((30*(n-t)+10646)/10631),o=Math.min(12,Math.ceil((n-(29+Zl(t,a,1,1)))/29.5)+1),s=n-Zl(t,a,o,1)+1;return new wt(e,a,o,s)}function Rm(e){return(14+11*e)%30<11}class xf{fromJulianDay(t){return Ob(this,ql,t)}toJulianDay(t){return Zl(ql,t.year,t.month,t.day)}getDaysInMonth(t){let n=29+t.month%2;return t.month===12&&Rm(t.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(t){return Rm(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class g5 extends xf{fromJulianDay(t){return Ob(this,_m,t)}toJulianDay(t){return Zl(_m,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const b5="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let _d,Ji;function Rl(e){return m5+Ji[e-An]}function Go(e,t){let n=e-An,a=1<<11-(t-1);return _d[n]&a?30:29}function Am(e,t){let n=Rl(e);for(let a=1;a<t;a++)n+=Go(e,a);return n}function Cm(e){return Ji[e+1-An]-Ji[e-An]}class y5 extends xf{fromJulianDay(t){let n=t-ql,a=Rl(An),o=Rl(ji);if(n<a||n>o)return super.fromJulianDay(t);{let s=An-1,u=1,c=1;for(;c>0;){s++,c=n-Rl(s)+1;let f=Cm(s);if(c===f){u=12;break}else if(c<f){let h=Go(s,u);for(u=1;c>h;)c-=h,u++,h=Go(s,u);break}}return new wt(this,s,u,n-Am(s,u)+1)}}toJulianDay(t){return t.year<An||t.year>ji?super.toJulianDay(t):ql+Am(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<An||t.year>ji?super.getDaysInMonth(t):Go(t.year,t.month)}getDaysInYear(t){return t.year<An||t.year>ji?super.getDaysInYear(t):Cm(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",_d||(_d=new Uint16Array(Uint8Array.from(atob(b5),t=>t.charCodeAt(0)).buffer)),!Ji){Ji=new Uint32Array(ji-An+1);let t=0;for(let n=An;n<=ji;n++){Ji[n-An]=t;for(let a=1;a<=12;a++)t+=Go(n,a)}}}}const Mm=347997,Lb=1080,Fb=24*Lb,v5=29,$5=12*Lb+793,x5=v5*Fb+$5;function ei(e){return Wr(e*7+1,19)<7}function Al(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,a=t*29+Math.floor(n/25920);return Wr(3*(a+1),7)<3&&(a+=1),a}function w5(e){let t=Al(e-1),n=Al(e);return Al(e+1)-n===356?2:n-t===382?1:0}function Jo(e){return Al(e)+w5(e)}function Nb(e){return Jo(e+1)-Jo(e)}function D5(e){let t=Nb(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function vl(e,t){if(t>=6&&!ei(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let n=D5(e);return t===2?n===2?30:29:t===3?n===0?29:30:t===6?ei(e)?30:0:30}class P5{fromJulianDay(t){let n=t-Mm,a=n*Fb/x5,o=Math.floor((19*a+234)/235)+1,s=Jo(o),u=Math.floor(n-s);for(;u<1;)o--,s=Jo(o),u=Math.floor(n-s);let c=1,f=0;for(;f<u;)f+=vl(o,c),c++;c--,f-=vl(o,c);let h=u-f;return new wt(this,o,c,h)}toJulianDay(t){let n=Jo(t.year);for(let a=1;a<t.month;a++)n+=vl(t.year,a);return n+t.day+Mm}getDaysInMonth(t){return vl(t.year,t.month)}getMonthsInYear(t){return ei(t.year)?13:12}getDaysInYear(t){return Nb(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,n){n.year!==t.year&&(ei(n.year)&&!ei(t.year)&&n.month>6?t.month--:!ei(n.year)&&ei(t.year)&&n.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const Rd=1723856,Im=1824665,Ad=5500;function Yl(e,t,n,a){return e+365*t+Math.floor(t/4)+30*(n-1)+a-1}function wf(e,t){let n=Math.floor(4*(t-e)/1461),a=1+Math.floor((t-Yl(e,n,1,1))/30),o=t+1-Yl(e,n,a,1);return[n,a,o]}function Kb(e){return Math.floor(e%4/3)}function Bb(e,t){return t%13!==0?30:Kb(e)+5}class Df{fromJulianDay(t){let[n,a,o]=wf(Rd,t),s="AM";return n<=0&&(s="AA",n+=Ad),new wt(this,s,n,a,o)}toJulianDay(t){let n=t.year;return t.era==="AA"&&(n-=Ad),Yl(Rd,n,t.month,t.day)}getDaysInMonth(t){return Bb(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+Kb(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class S5 extends Df{fromJulianDay(t){let[n,a,o]=wf(Rd,t);return n+=Ad,new wt(this,"AA",n,a,o)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class T5 extends Df{fromJulianDay(t){let[n,a,o]=wf(Im,t),s="CE";return n<=0&&(s="BCE",n=1-n),new wt(this,s,n,a,o)}toJulianDay(t){let n=t.year;return t.era==="BCE"&&(n=1-n),Yl(Im,n,t.month,t.day)}getDaysInMonth(t){let n=t.year;return t.era==="BCE"&&(n=1-n),Bb(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 Ub(e){switch(e){case"buddhist":return new u5;case"ethiopic":return new Df;case"ethioaa":return new S5;case"coptic":return new T5;case"hebrew":return new P5;case"indian":return new p5;case"islamic-civil":return new xf;case"islamic-tbla":return new g5;case"islamic-umalqura":return new y5;case"japanese":return new l5;case"persian":return new h5;case"roc":return new c5;case"gregory":default:return new mn}}let Vc=new Map;class Qi{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 a=this.formatter.formatToParts(t),o=this.formatter.formatToParts(n);return[...a.map(s=>({...s,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(s=>({...s,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return R5()&&(this.resolvedHourCycle||(this.resolvedHourCycle=A5(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=zb(t,n),this.options=n}}const E5={true:{ja:"h11"},false:{}};function zb(e,t={}){if(typeof t.hour12=="boolean"&&_5()){t={...t};let o=E5[String(t.hour12)][e.split("-")[0]],s=t.hour12?"h12":"h23";t.hourCycle=o??s,delete t.hour12}let n=e+(t?Object.entries(t).sort((o,s)=>o[0]<s[0]?-1:1).join():"");if(Vc.has(n))return Vc.get(n);let a=new Intl.DateTimeFormat(e,t);return Vc.set(n,a),a}let Wc=null;function _5(){return Wc==null&&(Wc=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Wc}let Hc=null;function R5(){return Hc==null&&(Hc=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Hc}function A5(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=zb(e,{...t,timeZone:void 0}),a=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(s=>s.type==="hour").value,10),o=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(s=>s.type==="hour").value,10);if(a===0&&o===23)return"h23";if(a===24&&o===23)return"h24";if(a===0&&o===11)return"h11";if(a===12&&o===11)return"h12";throw new Error("Unexpected hour cycle result")}let C5=!1;try{C5=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let M5=!1;try{M5=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const I5=new RegExp("^.*\\(.*\\).*$"),k5=["latn","arab","hanidec"];class O5{parse(t){return Gc(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,a){return Gc(this.locale,this.options,t).isValidPartialNumber(t,n,a)}getNumberingSystem(t){return Gc(this.locale,this.options,t).options.numberingSystem}constructor(t,n={}){this.locale=t,this.options=n}}const km=new Map;function Gc(e,t,n){let a=Om(e,t);if(!e.includes("-nu-")&&!a.isValidPartialNumber(n)){for(let o of k5)if(o!==a.options.numberingSystem){let s=Om(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(s.isValidPartialNumber(n))return s}}return a}function Om(e,t){let n=e+(t?Object.entries(t).sort((o,s)=>o[0]<s[0]?-1:1).join():""),a=km.get(n);return a||(a=new L5(e,t),km.set(n,a)),a}class L5{parse(t){let n=this.sanitize(t);n=$l(n,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index);let a=n?+n:NaN;if(isNaN(a))return NaN;if(this.options.currencySign==="accounting"&&I5.test(t)&&(a=-1*a),this.options.style==="percent"){a/=100;var o;a=+a.toFixed(((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)+2)}return a}sanitize(t){return t=t.replace(this.symbols.literals,""),t=t.replace("-",this.symbols.minusSign),this.options.numberingSystem==="arab"&&(t=t.replace(",",this.symbols.decimal),t=t.replace(String.fromCharCode(1548),this.symbols.decimal),t=$l(t,".",this.symbols.group)),this.options.locale==="fr-FR"&&(t=$l(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,n=-1/0,a=1/0){return t=this.sanitize(t),t.startsWith(this.symbols.minusSign)&&n<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&a>0&&(t=t.slice(this.symbols.plusSign.length)),t.startsWith(this.symbols.group)?!1:(t=$l(t,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,""),t.length===0)}constructor(t,n={}){this.formatter=new Intl.NumberFormat(t,n),this.options=this.formatter.resolvedOptions(),this.symbols=F5(this.formatter,this.options,n)}}const Lm=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function F5(e,t,n){var a,o,s,u;let c=e.formatToParts(-10000.111),f=e.formatToParts(10000.111),h=e.formatToParts(1);var m;let x=(m=(a=c.find(ee=>ee.type==="minusSign"))===null||a===void 0?void 0:a.value)!==null&&m!==void 0?m:"-",b=(o=f.find(ee=>ee.type==="plusSign"))===null||o===void 0?void 0:o.value;!b&&(n?.signDisplay==="exceptZero"||n?.signDisplay==="always")&&(b="+");let v=(s=c.find(ee=>ee.type==="decimal"))===null||s===void 0?void 0:s.value,w=(u=c.find(ee=>ee.type==="group"))===null||u===void 0?void 0:u.value,T=c.filter(ee=>!Lm.has(ee.type)).map(ee=>Fm(ee.value)),E=h.filter(ee=>!Lm.has(ee.type)).map(ee=>Fm(ee.value)),L=[...new Set([...E,...T])].sort((ee,P)=>P.length-ee.length),C=L.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${L.join("|")}|[\\p{White_Space}]`,"gu"),N=[...new Intl.NumberFormat(t.locale,{useGrouping:!1}).format(9876543210)].reverse(),O=new Map(N.map((ee,P)=>[ee,P])),B=new RegExp(`[${N.join("")}]`,"g");return{minusSign:x,plusSign:b,decimal:v,group:w,literals:C,numeral:B,index:ee=>String(O.get(ee))}}function $l(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function Fm(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}const N5=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),K5=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function B5(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize().script;return N5.has(n)}let t=e.split("-")[0];return K5.has(t)}function jb(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:B5(e)?"rtl":"ltr"}}let Cd=jb(),qo=new Set;function Nm(){Cd=jb();for(let e of qo)e(Cd)}function U5(){let e=$s(),[t,n]=g.useState(Cd);return g.useEffect(()=>(qo.size===0&&window.addEventListener("languagechange",Nm),qo.add(n),()=>{qo.delete(n),qo.size===0&&window.removeEventListener("languagechange",Nm)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const z5=g.createContext(null);function on(){let e=U5();return g.useContext(z5)||e}const Km=new WeakMap;function j5(e){let t=Km.get(e);return t||(t=new hf(e),Km.set(e,t)),t}function Zr(e){let{locale:t}=on(),n=g.useMemo(()=>j5(e),[e]);return g.useMemo(()=>new CE(t,n),[t,n])}function Jn(e){e=ob(e,V5);let{locale:t}=on();return g.useMemo(()=>new Qi(t,e),[t,e])}function V5(e,t){if(e===t)return!0;let n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(let o of n)if(t[o]!==e[o])return!1;return!0}let qc=new Map;function Pf(e){let{locale:t}=on(),n=t+(e?Object.entries(e).sort((o,s)=>o[0]<s[0]?-1:1).join():"");if(qc.has(n))return qc.get(n);let a=new Intl.Collator(t,e);return qc.set(n,a),a}function W5(e){let t=Pf({usage:"search",...e}),n=g.useCallback((s,u)=>u.length===0?!0:(s=s.normalize("NFC"),u=u.normalize("NFC"),t.compare(s.slice(0,u.length),u)===0),[t]),a=g.useCallback((s,u)=>u.length===0?!0:(s=s.normalize("NFC"),u=u.normalize("NFC"),t.compare(s.slice(-u.length),u)===0),[t]),o=g.useCallback((s,u)=>{if(u.length===0)return!0;s=s.normalize("NFC"),u=u.normalize("NFC");let c=0,f=u.length;for(;c+f<=s.length;c++){let h=s.slice(c,c+f);if(t.compare(u,h)===0)return!0}return!1},[t]);return g.useMemo(()=>({startsWith:n,endsWith:a,contains:o}),[n,a,o])}function Md(e,t){let{elementType:n="button",isDisabled:a,onPress:o,onPressStart:s,onPressEnd:u,onPressChange:c,preventFocusOnPress:f,allowFocusWhenDisabled:h,onClick:m,href:x,target:b,rel:v,type:w="button"}=e,T;n==="button"?T={type:w,disabled:a}:T={role:"button",tabIndex:a?void 0:0,href:n==="a"&&a?void 0:x,target:n==="a"?b:void 0,type:n==="input"?w:void 0,disabled:n==="input"?a:void 0,"aria-disabled":!a||n==="input"?void 0:a,rel:n==="a"?v:void 0};let{pressProps:E,isPressed:L}=hi({onPressStart:s,onPressEnd:u,onPressChange:c,onPress:o,isDisabled:a,preventFocusOnPress:f,ref:t}),{focusableProps:C}=du(e,t);h&&(C.tabIndex=a?-1:C.tabIndex);let N=je(C,E,mr(e,{labelable:!0}));return{isPressed:L,buttonProps:je(T,N,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:O=>{m&&(m(O),console.warn("onClick is deprecated, please use onPress"))}})}}const Vb=7e3;let Qo=null;function Id(e,t="assertive",n=Vb){Qo||(Qo=new G5),Qo.announce(e,t,n)}function H5(e){Qo&&Qo.clear(e)}class G5{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",a=Vb){if(!this.node)return;let o=document.createElement("div");o.textContent=t,n==="assertive"?this.assertiveLog.appendChild(o):this.politeLog.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},a)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){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 gu(e){return e&&e.__esModule?e.default:e}var Ss={},Wb={};Wb={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 Hb={};Hb={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 Gb={};Gb={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 qb={};qb={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 Zb={};Zb={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 Yb={};Yb={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 Jb={};Jb={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 Qb={};Qb={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 Xb={};Xb={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 ey={};ey={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 ty={};ty={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 ny={};ny={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 ry={};ry={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 ay={};ay={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 iy={};iy={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 oy={};oy={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 sy={};sy={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 ly={};ly={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 uy={};uy={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 cy={};cy={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 dy={};dy={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 fy={};fy={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 hy={};hy={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 py={};py={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 my={};my={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 gy={};gy={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 by={};by={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 yy={};yy={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 vy={};vy={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 $y={};$y={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 xy={};xy={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 wy={};wy={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 Dy={};Dy={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 Py={};Py={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}`};Ss={"ar-AE":Wb,"bg-BG":Hb,"cs-CZ":Gb,"da-DK":qb,"de-DE":Zb,"el-GR":Yb,"en-US":Jb,"es-ES":Qb,"et-EE":Xb,"fi-FI":ey,"fr-FR":ty,"he-IL":ny,"hr-HR":ry,"hu-HU":ay,"it-IT":iy,"ja-JP":oy,"ko-KR":sy,"lt-LT":ly,"lv-LV":uy,"nb-NO":cy,"nl-NL":dy,"pl-PL":fy,"pt-BR":hy,"pt-PT":py,"ro-RO":my,"ru-RU":gy,"sk-SK":by,"sl-SI":yy,"sr-SP":vy,"sv-SE":$y,"tr-TR":xy,"uk-UA":wy,"zh-CN":Dy,"zh-TW":Py};const Sf=new WeakMap;function cs(e){return e?.calendar.identifier==="gregory"&&e.era==="BC"?"short":void 0}function q5(e){let t=Zr(gu(Ss)),n,a;"highlightedRange"in e?{start:n,end:a}=e.highlightedRange||{}:n=a=e.value;let o=Jn({weekday:"long",month:"long",year:"numeric",day:"numeric",era:cs(n)||cs(a),timeZone:e.timeZone}),s="anchorDate"in e?e.anchorDate:null;return g.useMemo(()=>{if(!s&&n&&a)if(xt(n,a)){let u=o.format(n.toDate(e.timeZone));return t.format("selectedDateDescription",{date:u})}else{let u=Od(o,t,n,a,e.timeZone);return t.format("selectedRangeDescription",{dateRange:u})}return""},[n,a,s,e.timeZone,t,o])}function kd(e,t,n,a){let o=Zr(gu(Ss)),s=cs(e)||cs(t),u=Jn({month:"long",year:"numeric",era:s,calendar:e.calendar.identifier,timeZone:n}),c=Jn({month:"long",year:"numeric",day:"numeric",era:s,calendar:e.calendar.identifier,timeZone:n});return g.useMemo(()=>{if(xt(e,Ps(e))){if(xt(t,Pd(e)))return u.format(e.toDate(n));if(xt(t,Pd(t)))return a?Od(u,o,e,t,n):u.formatRange(e.toDate(n),t.toDate(n))}return a?Od(c,o,e,t,n):c.formatRange(e.toDate(n),t.toDate(n))},[e,t,u,c,o,n,a])}function Od(e,t,n,a,o){let s=e.formatRangeToParts(n.toDate(o),a.toDate(o)),u=-1;for(let h=0;h<s.length;h++){let m=s[h];if(m.source==="shared"&&m.type==="literal")u=h;else if(m.source==="endRange")break}let c="",f="";for(let h=0;h<s.length;h++)h<u?c+=s[h].value:h>u&&(f+=s[h].value);return t.format("dateRange",{startDate:c,endDate:f})}function Z5(e,t){let n=Zr(gu(Ss)),a=mr(e),o=kd(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),s=kd(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);om(()=>{t.isFocused||Id(s)},[s]);let u=q5(t);om(()=>{u&&Id(u,"polite",4e3)},[u]);let c=no([!!e.errorMessage,e.validationState]);Sf.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:c,selectedDateDescription:u});let[f,h]=g.useState(!1),m=e.isDisabled||t.isNextVisibleRangeInvalid();m&&f&&(h(!1),t.setFocused(!0));let[x,b]=g.useState(!1),v=e.isDisabled||t.isPreviousVisibleRangeInvalid();v&&x&&(b(!1),t.setFocused(!0));let w=xs({id:e.id,"aria-label":[e["aria-label"],s].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:je(a,w,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":n.format("next"),isDisabled:m,onFocusChange:h},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":n.format("previous"),isDisabled:v,onFocusChange:b},errorMessageProps:{id:c},title:o}}function Y5(e,t){return Z5(e,t)}function J5(e,t){let{startDate:n=t.visibleRange.start,endDate:a=t.visibleRange.end}=e,{direction:o}=on(),s=v=>{switch(v.key){case"Enter":case" ":v.preventDefault(),t.selectFocusedDate();break;case"PageUp":v.preventDefault(),v.stopPropagation(),t.focusPreviousSection(v.shiftKey);break;case"PageDown":v.preventDefault(),v.stopPropagation(),t.focusNextSection(v.shiftKey);break;case"End":v.preventDefault(),v.stopPropagation(),t.focusSectionEnd();break;case"Home":v.preventDefault(),v.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":v.preventDefault(),v.stopPropagation(),o==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":v.preventDefault(),v.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":v.preventDefault(),v.stopPropagation(),o==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":v.preventDefault(),v.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(v.preventDefault(),t.setAnchorDate(null));break}},u=kd(n,a,t.timeZone,!0),{ariaLabel:c,ariaLabelledBy:f}=Sf.get(t),h=xs({"aria-label":[c,u].filter(Boolean).join(", "),"aria-labelledby":f}),m=Jn({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:x}=on(),b=g.useMemo(()=>{let v=ss(pf(t.timeZone),x);return[...new Array(7).keys()].map(w=>{let E=v.add({days:w}).toDate(t.timeZone);return m.format(E)})},[x,t.timeZone,m]);return{gridProps:je(h,{role:"grid","aria-readonly":t.isReadOnly||null,"aria-disabled":t.isDisabled||null,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:s,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:b}}function Q5(e,t,n){let{date:a,isDisabled:o}=e,{errorMessageId:s,selectedDateDescription:u}=Sf.get(t),c=Zr(gu(Ss)),f=Jn({weekday:"long",day:"numeric",month:"long",year:"numeric",era:cs(a),timeZone:t.timeZone}),h=t.isSelected(a),m=t.isCellFocused(a);o=o||t.isCellDisabled(a);let x=t.isCellUnavailable(a),b=!o&&!x,v=t.validationState==="invalid"&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&a.compare(t.highlightedRange.start)>=0&&a.compare(t.highlightedRange.end)<=0:t.value&&xt(t.value,a));v&&(h=!0),a=ob(a,OE);let w=g.useMemo(()=>a.toDate(t.timeZone),[a,t.timeZone]),T=LE(a,t.timeZone),E=g.useMemo(()=>{let A="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(xt(a,t.value.start)||xt(a,t.value.end))&&(A=u+", "),A+=f.format(w),T?A=c.format(h?"todayDateSelected":"todayDate",{date:A}):h&&(A=c.format("dateSelected",{date:A})),t.minValue&&xt(a,t.minValue)?A+=", "+c.format("minimumDate"):t.maxValue&&xt(a,t.maxValue)&&(A+=", "+c.format("maximumDate")),A},[f,w,c,h,T,a,t,u]),L="";"anchorDate"in t&&m&&!t.isReadOnly&&b&&(t.anchorDate?L=c.format("finishRangeSelectionPrompt"):L=c.format("startRangeSelectionPrompt"));let C=uu(L),N=g.useRef(!1),O=g.useRef(!1),B=g.useRef(null),{pressProps:se,isPressed:ee}=hi({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!b||t.isReadOnly,onPressStart(A){if(t.isReadOnly){t.setFocusedDate(a);return}if("highlightedRange"in t&&!t.anchorDate&&(A.pointerType==="mouse"||A.pointerType==="touch")){if(t.highlightedRange&&!v){if(xt(a,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(a),t.setDragging(!0),O.current=!0;return}else if(xt(a,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(a),t.setDragging(!0),O.current=!0;return}}let ge=()=>{t.setDragging(!0),B.current=null,t.selectDate(a),t.setFocusedDate(a),N.current=!0};A.pointerType==="touch"?B.current=setTimeout(ge,200):ge()}},onPressEnd(){O.current=!1,N.current=!1,clearTimeout(B.current),B.current=null},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(a),t.setFocusedDate(a))},onPressUp(A){if(!t.isReadOnly&&("anchorDate"in t&&B.current&&(t.selectDate(a),t.setFocusedDate(a)),"anchorDate"in t))if(O.current)t.setAnchorDate(a);else if(t.anchorDate&&!N.current)t.selectDate(a),t.setFocusedDate(a);else if(A.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(a);let ge=a.add({days:1});t.isInvalid(ge)&&(ge=a.subtract({days:1})),t.isInvalid(ge)||t.setFocusedDate(ge)}else A.pointerType==="virtual"&&(t.selectDate(a),t.setFocusedDate(a))}}),P=null;o||(P=xt(a,t.focusedDate)?0:-1),g.useEffect(()=>{m&&n.current&&(zr(n.current),Ul()!=="pointer"&&document.activeElement===n.current&&Nl(n.current,{containingElement:ro(n.current)}))},[m,n]);let z=Jn({day:"numeric",timeZone:t.timeZone,calendar:a.calendar.identifier}),H=g.useMemo(()=>z.formatToParts(w).find(A=>A.type==="day").value,[z,w]);return{cellProps:{role:"gridcell","aria-disabled":!b||null,"aria-selected":h||null,"aria-invalid":v||null},buttonProps:je(se,{onFocus(){o||t.setFocusedDate(a)},tabIndex:P,role:"button","aria-disabled":!b||null,"aria-label":E,"aria-invalid":v||null,"aria-describedby":[v?s:null,C["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(A){"highlightDate"in t&&(A.pointerType!=="touch"||t.isDragging)&&b&&t.highlightDate(a)},onPointerDown(A){"releasePointerCapture"in A.target&&A.target.releasePointerCapture(A.pointerId)},onContextMenu(A){A.preventDefault()}}),isPressed:ee,isFocused:m,isSelected:h,isDisabled:o,isUnavailable:x,isOutsideVisibleRange:a.compare(t.visibleRange.start)<0||a.compare(t.visibleRange.end)>0,isInvalid:v,formattedDate:H}}function X5(e,t,n){let{isDisabled:a=!1,isRequired:o=!1,isReadOnly:s=!1,value:u,name:c,children:f,"aria-label":h,"aria-labelledby":m,validationState:x="valid"}=e,b=O=>{O.stopPropagation(),t.setSelected(O.target.checked)},v=f!=null,w=h!=null||m!=null;!v&&!w&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:T,isPressed:E}=hi({isDisabled:a}),{focusableProps:L}=du(e,n),C=je(T,L),N=mr(e,{labelable:!0});return{inputProps:je(N,{"aria-invalid":x==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":s||void 0,"aria-required":o||void 0,onChange:b,disabled:a,...u==null?{}:{value:u},name:c,type:"checkbox",...C}),isSelected:t.isSelected,isPressed:E,isDisabled:a,isReadOnly:s}}function Sy(e){let{id:t,label:n,"aria-labelledby":a,"aria-label":o,labelElementType:s="label"}=e;t=In(t);let u=In(),c={};n?(a=a?`${u} ${a}`:u,c={id:u,htmlFor:s==="label"?t:void 0}):!a&&!o&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let f=xs({id:t,"aria-label":o,"aria-labelledby":a});return{labelProps:c,fieldProps:f}}function bu(e){let{description:t,errorMessage:n,validationState:a}=e,{labelProps:o,fieldProps:s}=Sy(e),u=no([!!t,!!n,a]),c=no([!!t,!!n,a]);return s=je(s,{"aria-describedby":[u,c,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:s,descriptionProps:{id:u},errorMessageProps:{id:c}}}function e7(e={}){let{isReadOnly:t}=e,[n,a]=wa(e.isSelected,e.defaultSelected||!1,e.onChange);function o(u){t||a(u)}function s(){t||a(!n)}return{isSelected:n,setSelected:o,toggle:s}}function t7(e,t,n){let{inputProps:a,isSelected:o,isPressed:s,isDisabled:u,isReadOnly:c}=X5(e,t,n),{isIndeterminate:f}=e;return g.useEffect(()=>{n.current&&(n.current.indeterminate=f)}),{inputProps:{...a,checked:o},isSelected:o,isPressed:s,isDisabled:u,isReadOnly:c}}const Bm={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 Ty(e={}){let{style:t,isFocusable:n}=e,[a,o]=g.useState(!1),{focusWithinProps:s}=lo({isDisabled:!n,onFocusWithinChange:c=>o(c)}),u=g.useMemo(()=>a?t:t?{...Bm,...t}:Bm,[a]);return{visuallyHiddenProps:{...s,style:u}}}function Ey(e){let{children:t,elementType:n="div",isFocusable:a,style:o,...s}=e,{visuallyHiddenProps:u}=Ty(e);return g.createElement(n,je(s,u),t)}function n7(e){return e&&e.__esModule?e.default:e}const Um={top:"top",bottom:"top",left:"left",right:"left"},Jl={top:"bottom",bottom:"top",left:"right",right:"left"},r7={top:"left",left:"top"},Ld={top:"height",left:"width"},a7={width:"totalWidth",height:"totalHeight"},xl={};let Vi=typeof window<"u"&&window.visualViewport;function i7(e){let t=0,n=0,a=0,o=0,s=0,u=0,c={};if(e.tagName==="BODY"){let m=document.documentElement;a=m.clientWidth,o=m.clientHeight;var f;t=(f=Vi?.width)!==null&&f!==void 0?f:a;var h;n=(h=Vi?.height)!==null&&h!==void 0?h:o,c.top=m.scrollTop||e.scrollTop,c.left=m.scrollLeft||e.scrollLeft}else({width:t,height:n,top:s,left:u}=Xi(e)),c.top=e.scrollTop,c.left=e.scrollLeft,a=t,o=n;return{width:t,height:n,totalWidth:a,totalHeight:o,scroll:c,top:s,left:u}}function o7(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function zm(e,t,n,a,o){let s=a.scroll[e],u=a[Ld[e]],c=t-o-s,f=t+o-s+n;return c<0?-c:f>u?Math.max(u-f,-c):0}function s7(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 jm(e){if(xl[e])return xl[e];let[t,n]=e.split(" "),a=Um[t]||"right",o=r7[a];Um[n]||(n="center");let s=Ld[a],u=Ld[o];return xl[e]={placement:t,crossPlacement:n,axis:a,crossAxis:o,size:s,crossSize:u},xl[e]}function Zc(e,t,n,a,o,s,u,c,f,h){let{placement:m,crossPlacement:x,axis:b,crossAxis:v,size:w,crossSize:T}=a,E={};E[v]=e[v],x==="center"?E[v]+=(e[T]-n[T])/2:x!==v&&(E[v]+=e[T]-n[T]),E[v]+=s;const L=e[v]-n[T]+f+h,C=e[v]+e[T]-f-h;if(E[v]=md(E[v],L,C),m===b){const N=c?u[w]:t[a7[w]];E[Jl[b]]=Math.floor(N-e[b]+o)}else E[b]=Math.floor(e[b]+e[w]+o);return E}function l7(e,t,n,a,o,s){return e.top!=null?Math.max(0,t.height+t.top+t.scroll.top-(n.top+e.top)-(o.top+o.bottom+s)):Math.max(0,a.top+n.top-(t.top+t.scroll.top)-(o.top+o.bottom+s))}function Vm(e,t,n,a,o,s){let{placement:u,axis:c,size:f}=s;return u===c?Math.max(0,n[c]-e[c]-e.scroll[c]+t[c]-a[c]-a[Jl[c]]-o):Math.max(0,e[f]+e[c]+e.scroll[c]-t[c]-n[c]-n[f]-a[c]-a[Jl[c]]-o)}function u7(e,t,n,a,o,s,u,c,f,h,m,x,b,v,w){let T=jm(e),{size:E,crossAxis:L,crossSize:C,placement:N,crossPlacement:O}=T,B=Zc(t,c,n,T,h,m,f,x,v,w),se=h,ee=Vm(c,f,t,o,s+h,T);if(u&&a[E]>ee){let ne=jm(`${Jl[N]} ${O}`),Z=Zc(t,c,n,ne,h,m,f,x,v,w);Vm(c,f,t,o,s+h,ne)>ee&&(T=ne,B=Z,se=h)}let P=zm(L,B[L],n[C],c,s);B[L]+=P;let z=l7(B,c,f,t,o,s);b&&b<z&&(z=b),n.height=Math.min(n.height,z),B=Zc(t,c,n,T,se,m,f,x,v,w),P=zm(L,B[L],n[C],c,s),B[L]+=P;let H={},A=t[L]+.5*t[C]-n[L];const ge=v/2+w,G=n[C]-v/2-w,K=t[L]-n[L]+v/2,ce=t[L]+t[C]-n[L]-v/2,X=md(A,K,ce);return H[L]=md(X,ge,G),{position:B,maxHeight:z,arrowOffsetLeft:H.left,arrowOffsetTop:H.top,placement:T.placement}}function c7(e){let{placement:t,targetNode:n,overlayNode:a,scrollNode:o,padding:s,shouldFlip:u,boundaryElement:c,offset:f,crossOffset:h,maxHeight:m,arrowSize:x,arrowBoundaryOffset:b=0}=e,v=a instanceof HTMLElement?d7(a):document.documentElement,w=v===document.documentElement;const T=window.getComputedStyle(v).position;let E=!!T&&T!=="static",L=w?Xi(n):Wm(n,v);if(!w){let{marginTop:ee,marginLeft:P}=window.getComputedStyle(n);L.top+=parseInt(ee,10)||0,L.left+=parseInt(P,10)||0}let C=Xi(a),N=s7(a);C.width+=N.left+N.right,C.height+=N.top+N.bottom;let O=o7(o),B=i7(c),se=c.tagName==="BODY"?Xi(v):Wm(v,c);return u7(t,L,C,O,N,s,u,B,se,f,h,E,m,x,b)}function Xi(e){let{top:t,left:n,width:a,height:o}=e.getBoundingClientRect(),{scrollTop:s,scrollLeft:u,clientTop:c,clientLeft:f}=document.documentElement;return{top:t+s-c,left:n+u-f,width:a,height:o}}function Wm(e,t){let n=window.getComputedStyle(e),a;if(n.position==="fixed"){let{top:o,left:s,width:u,height:c}=e.getBoundingClientRect();a={top:o,left:s,width:u,height:c}}else{a=Xi(e);let o=Xi(t),s=window.getComputedStyle(t);o.top+=(parseInt(s.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(s.borderLeftWidth,10)||0)-t.scrollLeft,a.top-=o.top,a.left-=o.left}return a.top-=parseInt(n.marginTop,10)||0,a.left-=parseInt(n.marginLeft,10)||0,a}function d7(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Hm(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Hm(t);)t=t.parentElement;return t||document.documentElement}function Hm(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 _y=new WeakMap;function f7(e){let{triggerRef:t,isOpen:n,onClose:a}=e;g.useEffect(()=>{if(!n||a===null)return;let o=s=>{let u=s.target;if(!t.current||u instanceof Node&&!u.contains(t.current))return;let c=a||_y.get(t.current);c&&c()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[n,a,t])}let En=typeof window<"u"&&window.visualViewport;function Ry(e){let{direction:t}=on(),{arrowSize:n=0,targetRef:a,overlayRef:o,scrollRef:s=o,placement:u="bottom",containerPadding:c=12,shouldFlip:f=!0,boundaryElement:h=typeof document<"u"?document.body:null,offset:m=0,crossOffset:x=0,shouldUpdatePosition:b=!0,isOpen:v=!0,onClose:w,maxHeight:T,arrowBoundaryOffset:E=0}=e,[L,C]=g.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),N=[b,u,o.current,a.current,s.current,c,f,h,m,x,v,t,T,E,n],O=g.useCallback(()=>{if(b===!1||!v||!o.current||!a.current||!s.current||!h)return;let ee=c7({placement:p7(u,t),overlayNode:o.current,targetNode:a.current,scrollNode:s.current,padding:c,shouldFlip:f,boundaryElement:h,offset:m,crossOffset:x,maxHeight:T,arrowSize:n,arrowBoundaryOffset:E});Object.keys(ee.position).forEach(P=>o.current.style[P]=ee.position[P]+"px"),o.current.style.maxHeight=ee.maxHeight!=null?ee.maxHeight+"px":void 0,C(ee)},N);ft(O,N),h7(O),BT({ref:o,onResize:O});let B=g.useRef(!1);ft(()=>{let ee,P=()=>{B.current=!0,clearTimeout(ee),ee=setTimeout(()=>{B.current=!1},500),O()};return En?.addEventListener("resize",P),En?.addEventListener("scroll",P),()=>{En?.removeEventListener("resize",P),En?.removeEventListener("scroll",P)}},[O]);let se=g.useCallback(()=>{B.current||w()},[w,B]);return f7({triggerRef:a,isOpen:v,onClose:w&&se}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...L.position,maxHeight:L.maxHeight}},placement:L.placement,arrowProps:{style:{left:L.arrowOffsetLeft,top:L.arrowOffsetTop}},updatePosition:O}}function h7(e){ft(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function p7(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Kr=[];function Tf(e,t){let{onClose:n,shouldCloseOnBlur:a,isOpen:o,isDismissable:s=!1,isKeyboardDismissDisabled:u=!1,shouldCloseOnInteractOutside:c}=e;g.useEffect(()=>(o&&Kr.push(t),()=>{let w=Kr.indexOf(t);w>=0&&Kr.splice(w,1)}),[o,t]);let f=()=>{Kr[Kr.length-1]===t&&n&&n()},h=w=>{(!c||c(w.target))&&Kr[Kr.length-1]===t&&(w.stopPropagation(),w.preventDefault())},m=w=>{(!c||c(w.target))&&(Kr[Kr.length-1]===t&&(w.stopPropagation(),w.preventDefault()),f())},x=w=>{w.key==="Escape"&&!u&&(w.stopPropagation(),w.preventDefault(),f())};fE({ref:t,onInteractOutside:s?m:null,onInteractOutsideStart:h});let{focusWithinProps:b}=lo({isDisabled:!a,onBlurWithin:w=>{w.relatedTarget&&xE(w.relatedTarget)||(!c||c(w.relatedTarget))&&n()}}),v=w=>{w.target===w.currentTarget&&w.preventDefault()};return{overlayProps:{onKeyDown:x,...b},underlayProps:{onPointerDown:v}}}function Ay(e,t,n){let{type:a}=e,{isOpen:o}=t;g.useEffect(()=>{n&&n.current&&_y.set(n.current,t.close)});let s;a==="menu"?s=!0:a==="listbox"&&(s="listbox");let u=In();return{triggerProps:{"aria-haspopup":s,"aria-expanded":o,"aria-controls":o?u:null,onPress:t.toggle},overlayProps:{id:u}}}const Yc=typeof window<"u"&&window.visualViewport,m7=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let wl=0,Jc;function g7(e={}){let{isDisabled:t}=e;ft(()=>{if(!t)return wl++,wl===1&&(ws()?Jc=y7():Jc=b7()),()=>{wl--,wl===0&&Jc()}},[t])}function b7(){return is(Xo(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Xo(document.documentElement,"overflow","hidden"))}function y7(){let e,t=0,n=x=>{e=ro(x.target),!(e===document.documentElement&&e===document.body)&&(t=x.changedTouches[0].pageY)},a=x=>{if(!e||e===document.documentElement||e===document.body){x.preventDefault();return}let b=x.changedTouches[0].pageY,v=e.scrollTop,w=e.scrollHeight-e.clientHeight;w!==0&&((v<=0&&b>t||v>=w&&b<t)&&x.preventDefault(),t=b)},o=x=>{let b=x.target;qm(b)&&b!==document.activeElement&&(x.preventDefault(),b.style.transform="translateY(-2000px)",b.focus(),requestAnimationFrame(()=>{b.style.transform=""}))},s=x=>{let b=x.target;qm(b)&&(b.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{b.style.transform="",Yc&&(Yc.height<window.innerHeight?requestAnimationFrame(()=>{Gm(b)}):Yc.addEventListener("resize",()=>Gm(b),{once:!0}))}))},u=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset,h=is(Xo(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Xo(document.documentElement,"overflow","hidden"),Xo(document.body,"marginTop",`-${f}px`));window.scrollTo(0,0);let m=is(Ko(document,"touchstart",n,{passive:!1,capture:!0}),Ko(document,"touchmove",a,{passive:!1,capture:!0}),Ko(document,"touchend",o,{passive:!1,capture:!0}),Ko(document,"focus",s,!0),Ko(window,"scroll",u));return()=>{h(),m(),window.scrollTo(c,f)}}function Xo(e,t,n){let a=e.style[t];return e.style[t]=n,()=>{e.style[t]=a}}function Ko(e,t,n,a){return e.addEventListener(t,n,a),()=>{e.removeEventListener(t,n,a)}}function Gm(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let n=ro(e);if(n!==document.documentElement&&n!==document.body&&n!==e){let a=n.getBoundingClientRect().top,o=e.getBoundingClientRect().top;o>a+e.clientHeight&&(n.scrollTop+=o-a)}e=n.parentElement}}function qm(e){return e instanceof HTMLInputElement&&!m7.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const Ql=g.createContext(null);function v7(e){let{children:t}=e,n=g.useContext(Ql),[a,o]=g.useState(0),s=g.useMemo(()=>({parent:n,modalCount:a,addModal(){o(u=>u+1),n&&n.addModal()},removeModal(){o(u=>u-1),n&&n.removeModal()}}),[n,a]);return g.createElement(Ql.Provider,{value:s},t)}function $7(){let e=g.useContext(Ql);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:null}}}function x7(e){let{modalProviderProps:t}=$7();return g.createElement("div",{"data-overlay-container":!0,...e,...t})}function w7(e){return g.createElement(v7,null,g.createElement(x7,e))}function Cy(e){let t=$s(),{portalContainer:n=t?null:document.body,...a}=e;if(g.useEffect(()=>{if(n?.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[n]),!n)return null;let o=g.createElement(w7,a);return Qd.createPortal(o,n)}function My(e){let t=g.useContext(Ql);if(!t)throw new Error("Modal is not contained within a provider");return g.useEffect(()=>{if(!(e?.isDisabled||!t||!t.parent))return t.parent.addModal(),()=>{t&&t.parent&&t.parent.removeModal()}},[t,t.parent,e?.isDisabled]),{modalProps:{"data-ismodal":!e?.isDisabled}}}var Iy={},ky={};ky={dismiss:"تجاهل"};var Oy={};Oy={dismiss:"Отхвърляне"};var Ly={};Ly={dismiss:"Odstranit"};var Fy={};Fy={dismiss:"Luk"};var Ny={};Ny={dismiss:"Schließen"};var Ky={};Ky={dismiss:"Απόρριψη"};var By={};By={dismiss:"Dismiss"};var Uy={};Uy={dismiss:"Descartar"};var zy={};zy={dismiss:"Lõpeta"};var jy={};jy={dismiss:"Hylkää"};var Vy={};Vy={dismiss:"Rejeter"};var Wy={};Wy={dismiss:"התעלם"};var Hy={};Hy={dismiss:"Odbaci"};var Gy={};Gy={dismiss:"Elutasítás"};var qy={};qy={dismiss:"Ignora"};var Zy={};Zy={dismiss:"閉じる"};var Yy={};Yy={dismiss:"무시"};var Jy={};Jy={dismiss:"Atmesti"};var Qy={};Qy={dismiss:"Nerādīt"};var Xy={};Xy={dismiss:"Lukk"};var ev={};ev={dismiss:"Negeren"};var tv={};tv={dismiss:"Zignoruj"};var nv={};nv={dismiss:"Descartar"};var rv={};rv={dismiss:"Dispensar"};var av={};av={dismiss:"Revocare"};var iv={};iv={dismiss:"Пропустить"};var ov={};ov={dismiss:"Zrušiť"};var sv={};sv={dismiss:"Opusti"};var lv={};lv={dismiss:"Odbaci"};var uv={};uv={dismiss:"Avvisa"};var cv={};cv={dismiss:"Kapat"};var dv={};dv={dismiss:"Скасувати"};var fv={};fv={dismiss:"取消"};var hv={};hv={dismiss:"關閉"};Iy={"ar-AE":ky,"bg-BG":Oy,"cs-CZ":Ly,"da-DK":Fy,"de-DE":Ny,"el-GR":Ky,"en-US":By,"es-ES":Uy,"et-EE":zy,"fi-FI":jy,"fr-FR":Vy,"he-IL":Wy,"hr-HR":Hy,"hu-HU":Gy,"it-IT":qy,"ja-JP":Zy,"ko-KR":Yy,"lt-LT":Jy,"lv-LV":Qy,"nb-NO":Xy,"nl-NL":ev,"pl-PL":tv,"pt-BR":nv,"pt-PT":rv,"ro-RO":av,"ru-RU":iv,"sk-SK":ov,"sl-SI":sv,"sr-SP":lv,"sv-SE":uv,"tr-TR":cv,"uk-UA":dv,"zh-CN":fv,"zh-TW":hv};function ds(e){let{onDismiss:t,...n}=e,a=Zr(n7(Iy)),o=xs(n,a.format("dismiss")),s=()=>{t&&t()};return g.createElement(Ey,null,g.createElement("button",{...o,tabIndex:-1,onClick:s}))}let Bo=new WeakMap,_n=[];function D7(e,t=document.body){let n=new Set(e),a=new Set,o=f=>{for(let b of f.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(b);let h=b=>{if(n.has(b)||a.has(b.parentElement)&&b.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let v of n)if(b.contains(v))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},m=document.createTreeWalker(f,NodeFilter.SHOW_ELEMENT,{acceptNode:h}),x=h(f);if(x===NodeFilter.FILTER_ACCEPT&&s(f),x!==NodeFilter.FILTER_REJECT){let b=m.nextNode();for(;b!=null;)s(b),b=m.nextNode()}},s=f=>{var h;let m=(h=Bo.get(f))!==null&&h!==void 0?h:0;f.getAttribute("aria-hidden")==="true"&&m===0||(m===0&&f.setAttribute("aria-hidden","true"),a.add(f),Bo.set(f,m+1))};_n.length&&_n[_n.length-1].disconnect(),o(t);let u=new MutationObserver(f=>{for(let h of f)if(!(h.type!=="childList"||h.addedNodes.length===0)&&![...n,...a].some(m=>m.contains(h.target))){for(let m of h.removedNodes)m instanceof Element&&(n.delete(m),a.delete(m));for(let m of h.addedNodes)(m instanceof HTMLElement||m instanceof SVGElement)&&(m.dataset.liveAnnouncer==="true"||m.dataset.reactAriaTopLayer==="true")?n.add(m):m instanceof Element&&o(m)}});u.observe(t,{childList:!0,subtree:!0});let c={observe(){u.observe(t,{childList:!0,subtree:!0})},disconnect(){u.disconnect()}};return _n.push(c),()=>{u.disconnect();for(let f of a){let h=Bo.get(f);h===1?(f.removeAttribute("aria-hidden"),Bo.delete(f)):Bo.set(f,h-1)}c===_n[_n.length-1]?(_n.pop(),_n.length&&_n[_n.length-1].observe()):_n.splice(_n.indexOf(c),1)}}function pv(e,t){let{triggerRef:n,popoverRef:a,isNonModal:o,isKeyboardDismissDisabled:s,...u}=e,{overlayProps:c,underlayProps:f}=Tf({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:s},a),{overlayProps:h,arrowProps:m,placement:x}=Ry({...u,targetRef:n,overlayRef:a,isOpen:t.isOpen,onClose:null});return g7({isDisabled:o}),ft(()=>{if(t.isOpen&&!o&&a.current)return D7([a.current])},[o,t.isOpen,a]),{popoverProps:je(c,h),arrowProps:m,underlayProps:f,placement:x}}const Fd=g.createContext(null);function mv(e){let t=$s(),{portalContainer:n=t?null:document.body}=e,[a,o]=g.useState(!1),s=g.useMemo(()=>({contain:a,setContain:o}),[a,o]);if(!n)return null;let u;return e.disableFocusManagement?u=g.createElement(Fd.Provider,{value:s},e.children):u=g.createElement(Fd.Provider,{value:s},g.createElement(sf,{restoreFocus:!0,contain:a},e.children)),Qd.createPortal(u,n)}function P7(){let e=g.useContext(Fd),t=e?.setContain;ft(()=>{t?.(!0)},[t])}function gv(e){return VT()?e.altKey:e.ctrlKey}function Gi(e){return so()?e.metaKey:e.ctrlKey}const S7=1e3;function bv(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:a}=e,o=g.useRef({search:"",timeout:null}).current,s=u=>{let c=T7(u.key);if(!c||u.ctrlKey||u.metaKey||!u.currentTarget.contains(u.target))return;c===" "&&o.search.trim().length>0&&(u.preventDefault(),"continuePropagation"in u||u.stopPropagation()),o.search+=c;let f=t.getKeyForSearch(o.search,n.focusedKey);f==null&&(f=t.getKeyForSearch(o.search)),f!=null&&(n.setFocusedKey(f),a&&a(f)),clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},S7)};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?s:null}}}function T7(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function E7(e){let{selectionManager:t,keyboardDelegate:n,ref:a,autoFocus:o=!1,shouldFocusWrap:s=!1,disallowEmptySelection:u=!1,disallowSelectAll:c=!1,selectOnFocus:f=t.selectionBehavior==="replace",disallowTypeAhead:h=!1,shouldUseVirtualFocus:m,allowsTabNavigation:x=!1,isVirtualized:b,scrollRef:v=a}=e,{direction:w}=on(),T=P=>{if(P.altKey&&P.key==="Tab"&&P.preventDefault(),!a.current.contains(P.target))return;const z=(Z,me)=>{Z!=null&&(t.setFocusedKey(Z,me),P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(Z):f&&!gv(P)&&t.replaceSelection(Z))};switch(P.key){case"ArrowDown":if(n.getKeyBelow){var H,A;P.preventDefault();let Z=t.focusedKey!=null?n.getKeyBelow(t.focusedKey):(H=n.getFirstKey)===null||H===void 0?void 0:H.call(n);Z==null&&s&&(Z=(A=n.getFirstKey)===null||A===void 0?void 0:A.call(n,t.focusedKey)),z(Z)}break;case"ArrowUp":if(n.getKeyAbove){var ge,G;P.preventDefault();let Z=t.focusedKey!=null?n.getKeyAbove(t.focusedKey):(ge=n.getLastKey)===null||ge===void 0?void 0:ge.call(n);Z==null&&s&&(Z=(G=n.getLastKey)===null||G===void 0?void 0:G.call(n,t.focusedKey)),z(Z)}break;case"ArrowLeft":if(n.getKeyLeftOf){var K,ce;P.preventDefault();let Z=n.getKeyLeftOf(t.focusedKey);Z==null&&s&&(Z=w==="rtl"?(K=n.getFirstKey)===null||K===void 0?void 0:K.call(n,t.focusedKey):(ce=n.getLastKey)===null||ce===void 0?void 0:ce.call(n,t.focusedKey)),z(Z,w==="rtl"?"first":"last")}break;case"ArrowRight":if(n.getKeyRightOf){var X,ne;P.preventDefault();let Z=n.getKeyRightOf(t.focusedKey);Z==null&&s&&(Z=w==="rtl"?(X=n.getLastKey)===null||X===void 0?void 0:X.call(n,t.focusedKey):(ne=n.getFirstKey)===null||ne===void 0?void 0:ne.call(n,t.focusedKey)),z(Z,w==="rtl"?"last":"first")}break;case"Home":if(n.getFirstKey){P.preventDefault();let Z=n.getFirstKey(t.focusedKey,Gi(P));t.setFocusedKey(Z),Gi(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(Z):f&&t.replaceSelection(Z)}break;case"End":if(n.getLastKey){P.preventDefault();let Z=n.getLastKey(t.focusedKey,Gi(P));t.setFocusedKey(Z),Gi(P)&&P.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(Z):f&&t.replaceSelection(Z)}break;case"PageDown":if(n.getKeyPageBelow){P.preventDefault();let Z=n.getKeyPageBelow(t.focusedKey);z(Z)}break;case"PageUp":if(n.getKeyPageAbove){P.preventDefault();let Z=n.getKeyPageAbove(t.focusedKey);z(Z)}break;case"a":Gi(P)&&t.selectionMode==="multiple"&&c!==!0&&(P.preventDefault(),t.selectAll());break;case"Escape":P.preventDefault(),u||t.clearSelection();break;case"Tab":if(!x){if(P.shiftKey)a.current.focus();else{let Z=an(a.current,{tabbable:!0}),me,j;do j=Z.lastChild(),j&&(me=j);while(j);me&&!me.contains(document.activeElement)&&zr(me)}break}}},E=g.useRef({top:0,left:0});bd(v,"scroll",b?null:()=>{E.current={top:v.current.scrollTop,left:v.current.scrollLeft}});let L=P=>{if(t.isFocused){P.currentTarget.contains(P.target)||t.setFocused(!1);return}if(P.currentTarget.contains(P.target)){if(t.setFocused(!0),t.focusedKey==null){let A=G=>{G!=null&&(t.setFocusedKey(G),f&&t.replaceSelection(G))},ge=P.relatedTarget;var z,H;ge&&P.currentTarget.compareDocumentPosition(ge)&Node.DOCUMENT_POSITION_FOLLOWING?A((z=t.lastSelectedKey)!==null&&z!==void 0?z:n.getLastKey()):A((H=t.firstSelectedKey)!==null&&H!==void 0?H:n.getFirstKey())}else b||(v.current.scrollTop=E.current.top,v.current.scrollLeft=E.current.left);if(!b&&t.focusedKey!=null){let A=v.current.querySelector(`[data-key="${t.focusedKey}"]`);A&&(zr(A),Ul()==="keyboard"&&Nl(A,{containingElement:a.current}))}}},C=P=>{P.currentTarget.contains(P.relatedTarget)||t.setFocused(!1)};const N=g.useRef(o);g.useEffect(()=>{if(N.current){let P=null;o==="first"&&(P=n.getFirstKey()),o==="last"&&(P=n.getLastKey());let z=t.selectedKeys;z.size&&(P=z.values().next().value),t.setFocused(!0),t.setFocusedKey(P),P==null&&!m&&si(a.current)}N.current=!1},[]);let O=g.useRef(t.focusedKey);g.useEffect(()=>{let P=Ul();if(t.isFocused&&t.focusedKey!=null&&v?.current){let z=v.current.querySelector(`[data-key="${t.focusedKey}"]`);z&&P==="keyboard"&&(b||ib(v.current,z),Nl(z,{containingElement:a.current}))}t.isFocused&&t.focusedKey==null&&O.current!=null&&si(a.current),O.current=t.focusedKey},[b,v,t.focusedKey,t.isFocused,a]);let B={onKeyDown:T,onFocus:L,onBlur:C,onMouseDown(P){v.current===P.target&&P.preventDefault()}},{typeSelectProps:se}=bv({keyboardDelegate:n,selectionManager:t});h||(B=je(se,B));let ee;return m||(ee=t.focusedKey==null?0:-1),{collectionProps:{...B,tabIndex:ee}}}function _7(e){let{selectionManager:t,key:n,ref:a,shouldSelectOnPressUp:o,shouldUseVirtualFocus:s,focus:u,isDisabled:c,onAction:f,allowsDifferentPressOrigin:h}=e,m=A=>{if(A.pointerType==="keyboard"&&gv(A))t.toggleSelection(n);else{if(t.selectionMode==="none")return;t.selectionMode==="single"?t.isSelected(n)&&!t.disallowEmptySelection?t.toggleSelection(n):t.replaceSelection(n):A&&A.shiftKey?t.extendSelection(n):t.selectionBehavior==="toggle"||A&&(Gi(A)||A.pointerType==="touch"||A.pointerType==="virtual")?t.toggleSelection(n):t.replaceSelection(n)}};g.useEffect(()=>{n===t.focusedKey&&t.isFocused&&!s&&(u?u():document.activeElement!==a.current&&si(a.current))},[a,n,t.focusedKey,t.childFocusStrategy,t.isFocused,s]),c=c||t.isDisabled(n);let x={};!s&&!c?x={tabIndex:n===t.focusedKey?0:-1,onFocus(A){A.target===a.current&&t.setFocusedKey(n)}}:c&&(x.onMouseDown=A=>{A.preventDefault()});let b=!c&&t.canSelectItem(n),v=f&&!c,w=v&&(t.selectionBehavior==="replace"?!b:t.isEmpty),T=v&&b&&t.selectionBehavior==="replace",E=w||T,L=g.useRef(null),C=E&&b,N=g.useRef(!1),O=g.useRef(!1),B={};o?(B.onPressStart=A=>{L.current=A.pointerType,N.current=C,A.pointerType==="keyboard"&&(!E||Ym())&&m(A)},h?(B.onPressUp=A=>{A.pointerType!=="keyboard"&&m(A)},B.onPress=w?()=>f():null):B.onPress=A=>{if(w||T&&A.pointerType!=="mouse"){if(A.pointerType==="keyboard"&&!Zm())return;f()}else A.pointerType!=="keyboard"&&m(A)}):(B.onPressStart=A=>{L.current=A.pointerType,N.current=C,O.current=w,(A.pointerType==="mouse"&&!w||A.pointerType==="keyboard"&&(!f||Ym()))&&m(A)},B.onPress=A=>{(A.pointerType==="touch"||A.pointerType==="pen"||A.pointerType==="virtual"||A.pointerType==="keyboard"&&E&&Zm()||A.pointerType==="mouse"&&O.current)&&(E?f():m(A))}),x["data-key"]=n,B.preventFocusOnPress=s;let{pressProps:se,isPressed:ee}=hi(B),P=T?A=>{L.current==="mouse"&&(A.stopPropagation(),A.preventDefault(),f())}:void 0,{longPressProps:z}=db({isDisabled:!C,onLongPress(A){A.pointerType==="touch"&&(m(A),t.setSelectionBehavior("toggle"))}});return{itemProps:je(x,b||w?se:{},C?z:{},{onDoubleClick:P,onDragStartCapture:A=>{L.current==="touch"&&N.current&&A.preventDefault()}}),isPressed:ee,isSelected:t.isSelected(n),isFocused:t.isFocused&&t.focusedKey===n,isDisabled:c,allowsSelection:b,hasAction:E}}function Zm(){let e=window.event;return e?.key==="Enter"}function Ym(){let e=window.event;return e?.key===" "||e?.code==="Space"}class yv{getNextKey(t){for(t=this.collection.getKeyAfter(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}return null}getPreviousKey(t){for(t=this.collection.getKeyBefore(t);t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}return null}findKey(t,n,a){let o=this.getItem(t);if(!o)return null;let s=o.getBoundingClientRect();do t=n(t),o=this.getItem(t);while(o&&a(s,o.getBoundingClientRect()));return t}isSameRow(t,n){return t.top===n.top||t.left!==n.left}isSameColumn(t,n){return t.left===n.left||t.top!==n.top}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){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){return this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyAfter(t)}return null}getLastKey(){let t=this.collection.getLastKey();for(;t!=null;){if(this.collection.getItem(t).type==="item"&&!this.disabledKeys.has(t))return t;t=this.collection.getKeyBefore(t)}return null}getItem(t){return this.ref.current.querySelector(`[data-key="${t}"]`)}getKeyPageAbove(t){let n=this.ref.current,a=this.getItem(t);if(!a)return null;if(!Fl(n))return this.getFirstKey();let o=n.getBoundingClientRect(),s=a.getBoundingClientRect();if(this.orientation==="horizontal"){let u=o.x-n.scrollLeft,c=Math.max(0,s.x-u+s.width-o.width);for(;a&&s.x-u>c;)t=this.getKeyAbove(t),a=t==null?null:this.getItem(t),s=a?.getBoundingClientRect()}else{let u=o.y-n.scrollTop,c=Math.max(0,s.y-u+s.height-o.height);for(;a&&s.y-u>c;)t=this.getKeyAbove(t),a=t==null?null:this.getItem(t),s=a?.getBoundingClientRect()}return t??this.getFirstKey()}getKeyPageBelow(t){let n=this.ref.current,a=this.getItem(t);if(!a)return null;if(!Fl(n))return this.getLastKey();let o=n.getBoundingClientRect(),s=a.getBoundingClientRect();if(this.orientation==="horizontal"){let u=o.x-n.scrollLeft,c=Math.min(n.scrollWidth,s.x-u-s.width+o.width);for(;a&&s.x-u<c;)t=this.getKeyBelow(t),a=t==null?null:this.getItem(t),s=a?.getBoundingClientRect()}else{let u=o.y-n.scrollTop,c=Math.min(n.scrollHeight,s.y-u-s.height+o.height);for(;a&&s.y-u<c;)t=this.getKeyBelow(t),a=t==null?null:this.getItem(t),s=a?.getBoundingClientRect()}return t??this.getLastKey()}getKeyForSearch(t,n){if(!this.collator)return null;let a=this.collection,o=n||this.getFirstKey();for(;o!=null;){let s=a.getItem(o),u=s.textValue.slice(0,t.length);if(s.textValue&&this.collator.compare(u,t)===0)return o;o=this.getKeyBelow(o)}return null}constructor(...t){if(t.length===1){let n=t[0];this.collection=n.collection,this.ref=n.ref,this.disabledKeys=n.disabledKeys||new Set,this.orientation=n.orientation,this.direction=n.direction,this.layout=n.layout||"stack"}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical";this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function R7(e){let{selectionManager:t,collection:n,disabledKeys:a,ref:o,keyboardDelegate:s,autoFocus:u,shouldFocusWrap:c,isVirtualized:f,disallowEmptySelection:h,selectOnFocus:m=t.selectionBehavior==="replace",disallowTypeAhead:x,shouldUseVirtualFocus:b,allowsTabNavigation:v}=e,w=Pf({usage:"search",sensitivity:"base"}),T=t.disabledBehavior,E=g.useMemo(()=>s||new yv(n,T==="selection"?new Set:a,o,w),[s,n,a,o,w,T]),{collectionProps:L}=E7({ref:o,selectionManager:t,keyboardDelegate:E,autoFocus:u,shouldFocusWrap:c,disallowEmptySelection:h,selectOnFocus:m,disallowTypeAhead:x,shouldUseVirtualFocus:b,allowsTabNavigation:v,isVirtualized:f,scrollRef:o});return{listProps:L}}class A7{build(t,n){return this.context=n,Jm(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:n,items:a}=t;if(typeof n=="function"){if(!a)throw new Error("props.children was a function but props.items is missing");for(let o of t.items)yield*this.getFullNode({value:o},{renderer:n})}else{let o=[];g.Children.forEach(n,u=>{o.push(u)});let s=0;for(let u of o){let c=this.getFullNode({element:u,index:s},{});for(let f of c)s++,yield f}}}getKey(t,n,a,o){if(t.key!=null)return t.key;if(n.type==="cell"&&n.key!=null)return`${o}${n.key}`;let s=n.value;if(s!=null){var u;let c=(u=s.key)!==null&&u!==void 0?u:s.id;if(c==null)throw new Error("No key found for item");return c}return o?`${o}.${n.index}`:`$.${n.index}`}getChildState(t,n){return{renderer:n.renderer||t.renderer}}*getFullNode(t,n,a,o){let s=t.element;if(!s&&t.value&&n&&n.renderer){let f=this.cache.get(t.value);if(f&&(!f.shouldInvalidate||!f.shouldInvalidate(this.context))){f.index=t.index,f.parentKey=o?o.key:null,yield f;return}s=n.renderer(t.value)}if(g.isValidElement(s)){let f=s.type;if(typeof f!="function"&&typeof f.getCollectionNode!="function"){let b=typeof s.type=="function"?s.type.name:s.type;throw new Error(`Unknown element <${b}> in collection.`)}let h=f.getCollectionNode(s.props,this.context),m=t.index,x=h.next();for(;!x.done&&x.value;){let b=x.value;t.index=m;let v=b.key;v||(v=b.element?null:this.getKey(s,t,n,a));let T=[...this.getFullNode({...b,key:v,index:m,wrapper:C7(t.wrapper,b.wrapper)},this.getChildState(n,b),a?`${a}${s.key}`:s.key,o)];for(let E of T){if(E.value=b.value||t.value,E.value&&this.cache.set(E.value,E),t.type&&E.type!==t.type)throw new Error(`Unsupported type <${Qc(E.type)}> in <${Qc(o.type)}>. Only <${Qc(t.type)}> is supported.`);m++,yield E}x=h.next(T)}return}if(t.key==null)return;let u=this,c={type:t.type,props:t.props,key:t.key,parentKey:o?o.key:null,value:t.value,level:o?o.level+1:0,index:t.index,rendered:t.rendered,textValue:t.textValue,"aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes,childNodes:Jm(function*(){if(!t.hasChildNodes)return;let f=0;for(let h of t.childNodes()){h.key!=null&&(h.key=`${c.key}${h.key}`),h.index=f;let m=u.getFullNode(h,u.getChildState(n,h),c.key,c);for(let x of m)f++,yield x}})};yield c}constructor(){this.cache=new WeakMap}}function Jm(e){let t=[],n=null;return{*[Symbol.iterator](){for(let a of t)yield a;n||(n=e());for(let a of n)t.push(a),yield a}}}function C7(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function Qc(e){return e[0].toUpperCase()+e.slice(1)}function M7(e,t,n){let a=g.useMemo(()=>new A7,[]),{children:o,items:s,collection:u}=e;return g.useMemo(()=>{if(u)return u;let f=a.build({children:o,items:s},n);return t(f)},[a,o,s,u,n,t])}function vv(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function I7(e){return k7(e,0)}function k7(e,t){if(t<0)return;let n=0;for(let a of e){if(n===t)return a;n++}}function Xc(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let a=[...Qm(e,t),t],o=[...Qm(e,n),n],s=a.slice(0,o.length).findIndex((u,c)=>u!==o[c]);return s!==-1?(t=a[s],n=o[s],t.index-n.index):a.findIndex(u=>u===n)>=0?1:(o.findIndex(u=>u===t)>=0,-1)}function Qm(e,t){let n=[];for(;t?.parentKey!=null;)t=e.getItem(t.parentKey),n.unshift(t);return n}const Xm=new WeakMap;function O7(e){let t=Xm.get(e);if(t!=null)return t;t=0;let n=a=>{for(let o of a)o.type==="section"?n(vv(o,e)):t++};return n(e),Xm.set(e,t),t}const Ef=new WeakMap;function L7(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function F7(e,t){let n=Ef.get(e);if(!n)throw new Error("Unknown list");return`${n.id}-option-${L7(t)}`}function N7(e,t,n){let a=mr(e,{labelable:!0}),{listProps:o}=R7({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys}),{focusWithinProps:s}=lo({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),u=In(e.id);Ef.set(t,{id:u,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction});let{labelProps:c,fieldProps:f}=Sy({...e,id:u,labelElementType:"span"});return{labelProps:c,listBoxProps:je(a,s,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...je(f,o)})}}function K7(e,t,n){let{key:a}=e,o=Ef.get(t);var s;let u=(s=e.isDisabled)!==null&&s!==void 0?s:t.disabledKeys.has(a);var c;let f=(c=e.isSelected)!==null&&c!==void 0?c:t.selectionManager.isSelected(a);var h;let m=(h=e.shouldSelectOnPressUp)!==null&&h!==void 0?h:o?.shouldSelectOnPressUp;var x;let b=(x=e.shouldFocusOnHover)!==null&&x!==void 0?x:o?.shouldFocusOnHover;var v;let w=(v=e.shouldUseVirtualFocus)!==null&&v!==void 0?v:o?.shouldUseVirtualFocus;var T;let E=(T=e.isVirtualized)!==null&&T!==void 0?T:o?.isVirtualized,L=no(),C=no(),N={role:"option","aria-disabled":u||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?f:void 0};if(so()&&WT()||(N["aria-label"]=e["aria-label"],N["aria-labelledby"]=L,N["aria-describedby"]=C),E){var O;let A=Number((O=t.collection.getItem(a))===null||O===void 0?void 0:O.index);N["aria-posinset"]=Number.isNaN(A)?void 0:A+1,N["aria-setsize"]=O7(t.collection)}let{itemProps:B,isPressed:se,isFocused:ee,hasAction:P,allowsSelection:z}=_7({selectionManager:t.selectionManager,key:a,ref:n,shouldSelectOnPressUp:m,allowsDifferentPressOrigin:m&&b,isVirtualized:E,shouldUseVirtualFocus:w,isDisabled:u,onAction:o?.onAction?()=>{var A;return o==null||(A=o.onAction)===null||A===void 0?void 0:A.call(o,a)}:void 0}),{hoverProps:H}=dE({isDisabled:u||!b,onHoverStart(){Bl()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}});return{optionProps:{...N,...je(B,H),id:F7(t,a)},labelProps:{id:L},descriptionProps:{id:C},isFocused:ee,isFocusVisible:ee&&Bl(),isSelected:f,isDisabled:u,isPressed:se,allowsSelection:z,hasAction:P}}function B7(e){return e&&e.__esModule?e.default:e}var $v={},xv={};xv={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var wv={};wv={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Dv={};Dv={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Pv={};Pv={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var Sv={};Sv={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var Tv={};Tv={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var Ev={};Ev={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var _v={};_v={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Rv={};Rv={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var Av={};Av={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Cv={};Cv={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var Mv={};Mv={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Iv={};Iv={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var kv={};kv={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Ov={};Ov={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var Lv={};Lv={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Fv={};Fv={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Nv={};Nv={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Kv={};Kv={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Bv={};Bv={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var Uv={};Uv={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var zv={};zv={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var jv={};jv={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Vv={};Vv={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var Wv={};Wv={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Hv={};Hv={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Gv={};Gv={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var qv={};qv={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var Zv={};Zv={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Yv={};Yv={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Jv={};Jv={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Qv={};Qv={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var Xv={};Xv={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var e0={};e0={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};$v={"ar-AE":xv,"bg-BG":wv,"cs-CZ":Dv,"da-DK":Pv,"de-DE":Sv,"el-GR":Tv,"en-US":Ev,"es-ES":_v,"et-EE":Rv,"fi-FI":Av,"fr-FR":Cv,"he-IL":Mv,"hr-HR":Iv,"hu-HU":kv,"it-IT":Ov,"ja-JP":Lv,"ko-KR":Fv,"lt-LT":Nv,"lv-LV":Kv,"nb-NO":Bv,"nl-NL":Uv,"pl-PL":zv,"pt-BR":jv,"pt-PT":Vv,"ro-RO":Wv,"ru-RU":Hv,"sk-SK":Gv,"sl-SI":qv,"sr-SP":Zv,"sv-SE":Yv,"tr-TR":Jv,"uk-UA":Qv,"zh-CN":Xv,"zh-TW":e0};function U7(e,t,n){let{type:a="menu",isDisabled:o,trigger:s="press"}=e,u=In(),{triggerProps:c,overlayProps:f}=Ay({type:a},t,n),h=v=>{if(!o&&!(s==="longPress"&&!v.altKey)&&n&&n.current)switch(v.key){case"Enter":case" ":if(s==="longPress")return;case"ArrowDown":"continuePropagation"in v||v.stopPropagation(),v.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in v||v.stopPropagation(),v.preventDefault(),t.toggle("last");break}},m=Zr(B7($v)),{longPressProps:x}=db({isDisabled:o||s!=="longPress",accessibilityDescription:m.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),b={onPressStart(v){v.pointerType!=="touch"&&v.pointerType!=="keyboard"&&!o&&t.toggle(v.pointerType==="virtual"?"first":null)},onPress(v){v.pointerType==="touch"&&!o&&t.toggle()}};return delete c.onPress,{menuTriggerProps:{...c,...s==="press"?b:x,id:u,onKeyDown:h},menuProps:{...f,"aria-labelledby":u,autoFocus:t.focusStrategy||!0,onClose:t.close}}}function t0(e,t){let{inputElementType:n="input",isDisabled:a=!1,isRequired:o=!1,isReadOnly:s=!1,validationState:u,type:c="text",onChange:f=()=>{}}=e,{focusableProps:h}=du(e,t),{labelProps:m,fieldProps:x,descriptionProps:b,errorMessageProps:v}=bu(e),w=mr(e,{labelable:!0});const T={type:c,pattern:e.pattern};return{labelProps:m,inputProps:je(w,n==="input"&&T,{disabled:a,readOnly:s,"aria-required":o||void 0,"aria-invalid":u==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:e.value,defaultValue:e.value?void 0:e.defaultValue,onChange:E=>f(E.target.value),autoComplete:e.autoComplete,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,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,...h,...x}),descriptionProps:b,errorMessageProps:v}}function z7(e){return e&&e.__esModule?e.default:e}var n0={},r0={};r0={Empty:"فارغ"};var a0={};a0={Empty:"Изпразни"};var i0={};i0={Empty:"Prázdné"};var o0={};o0={Empty:"Tom"};var s0={};s0={Empty:"Leer"};var l0={};l0={Empty:"Άδειο"};var u0={};u0={Empty:"Empty"};var c0={};c0={Empty:"Vacío"};var d0={};d0={Empty:"Tühjenda"};var f0={};f0={Empty:"Tyhjä"};var h0={};h0={Empty:"Vide"};var p0={};p0={Empty:"ריק"};var m0={};m0={Empty:"Prazno"};var g0={};g0={Empty:"Üres"};var b0={};b0={Empty:"Vuoto"};var y0={};y0={Empty:"空"};var v0={};v0={Empty:"비어 있음"};var $0={};$0={Empty:"Tuščias"};var x0={};x0={Empty:"Tukšs"};var w0={};w0={Empty:"Tom"};var D0={};D0={Empty:"Leeg"};var P0={};P0={Empty:"Pusty"};var S0={};S0={Empty:"Vazio"};var T0={};T0={Empty:"Vazio"};var E0={};E0={Empty:"Gol"};var _0={};_0={Empty:"Не заполнено"};var R0={};R0={Empty:"Prázdne"};var A0={};A0={Empty:"Prazen"};var C0={};C0={Empty:"Prazno"};var M0={};M0={Empty:"Tomt"};var I0={};I0={Empty:"Boş"};var k0={};k0={Empty:"Пусто"};var O0={};O0={Empty:"空"};var L0={};L0={Empty:"空白"};n0={"ar-AE":r0,"bg-BG":a0,"cs-CZ":i0,"da-DK":o0,"de-DE":s0,"el-GR":l0,"en-US":u0,"es-ES":c0,"et-EE":d0,"fi-FI":f0,"fr-FR":h0,"he-IL":p0,"hr-HR":m0,"hu-HU":g0,"it-IT":b0,"ja-JP":y0,"ko-KR":v0,"lt-LT":$0,"lv-LV":x0,"nb-NO":w0,"nl-NL":D0,"pl-PL":P0,"pt-BR":S0,"pt-PT":T0,"ro-RO":E0,"ru-RU":_0,"sk-SK":R0,"sl-SI":A0,"sr-SP":C0,"sv-SE":M0,"tr-TR":I0,"uk-UA":k0,"zh-CN":O0,"zh-TW":L0};function j7(e){const t=g.useRef();let{value:n,textValue:a,minValue:o,maxValue:s,isDisabled:u,isReadOnly:c,isRequired:f,onIncrement:h,onIncrementPage:m,onDecrement:x,onDecrementPage:b,onDecrementToMin:v,onIncrementToMax:w}=e;const T=Zr(z7(n0)),E=()=>clearTimeout(t.current);g.useEffect(()=>()=>E(),[]);let L=H=>{if(!(H.ctrlKey||H.metaKey||H.shiftKey||H.altKey||c))switch(H.key){case"PageUp":if(m){H.preventDefault(),m();break}case"ArrowUp":case"Up":h&&(H.preventDefault(),h());break;case"PageDown":if(b){H.preventDefault(),b();break}case"ArrowDown":case"Down":x&&(H.preventDefault(),x());break;case"Home":v&&(H.preventDefault(),v());break;case"End":w&&(H.preventDefault(),w());break}},C=g.useRef(!1),N=()=>{C.current=!0},O=()=>{C.current=!1};a=a===""?T.format("Empty"):(a||`${n}`).replace("-","−"),g.useEffect(()=>{C.current&&(H5("assertive"),Id(a,"assertive"))},[a]);const B=Yn(H=>{E(),h(),t.current=window.setTimeout(()=>{(isNaN(s)||isNaN(n)||n<s)&&B(60)},H)}),se=Yn(H=>{E(),x(),t.current=window.setTimeout(()=>{(isNaN(o)||isNaN(n)||n>o)&&se(60)},H)});let ee=H=>{H.preventDefault()},{addGlobalListener:P,removeAllGlobalListeners:z}=rf();return{spinButtonProps:{role:"spinbutton","aria-valuenow":isNaN(n)?null:n,"aria-valuetext":a,"aria-valuemin":o,"aria-valuemax":s,"aria-disabled":u||null,"aria-readonly":c||null,"aria-required":f||null,onKeyDown:L,onFocus:N,onBlur:O},incrementButtonProps:{onPressStart:()=>{B(400),P(window,"contextmenu",ee)},onPressEnd:()=>{E(),z()},onFocus:N,onBlur:O},decrementButtonProps:{onPressStart:()=>{se(400),P(window,"contextmenu",ee)},onPressEnd:()=>{E(),z()},onFocus:N,onBlur:O}}}function _f(e){return e&&e.__esModule?e.default:e}var yu={},F0={};F0={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 N0={};N0={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 K0={};K0={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 B0={};B0={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 U0={};U0={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 z0={};z0={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 j0={};j0={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 V0={};V0={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 W0={};W0={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 H0={};H0={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 G0={};G0={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 q0={};q0={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 Z0={};Z0={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 Y0={};Y0={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 J0={};J0={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 Q0={};Q0={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 X0={};X0={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 e$={};e$={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 t$={};t$={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 n$={};n$={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 r$={};r$={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 a$={};a$={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 i$={};i$={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 o$={};o$={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 s$={};s$={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 l$={};l$={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 u$={};u$={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 c$={};c$={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 d$={};d$={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 f$={};f$={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 h$={};h$={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 p$={};p$={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 m$={};m$={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 g$={};g$={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:"年"};yu={"ar-AE":F0,"bg-BG":N0,"cs-CZ":K0,"da-DK":B0,"de-DE":U0,"el-GR":z0,"en-US":j0,"es-ES":V0,"et-EE":W0,"fi-FI":H0,"fr-FR":G0,"he-IL":q0,"hr-HR":Z0,"hu-HU":Y0,"it-IT":J0,"ja-JP":Q0,"ko-KR":X0,"lt-LT":e$,"lv-LV":t$,"nb-NO":n$,"nl-NL":r$,"pl-PL":a$,"pt-BR":i$,"pt-PT":o$,"ro-RO":s$,"ru-RU":l$,"sk-SK":u$,"sl-SI":c$,"sr-SP":d$,"sv-SE":f$,"tr-TR":h$,"uk-UA":p$,"zh-CN":m$,"zh-TW":g$};function b$(e,t,n){let{direction:a}=on(),o=g.useMemo(()=>uf(t),[t]),s=f=>{if(f.altKey&&(f.key==="ArrowDown"||f.key==="ArrowUp")&&"setOpen"in e&&(f.preventDefault(),f.stopPropagation(),e.setOpen(!0)),!n)switch(f.key){case"ArrowLeft":f.preventDefault(),f.stopPropagation(),a==="rtl"?o.focusNext():o.focusPrevious();break;case"ArrowRight":f.preventDefault(),f.stopPropagation(),a==="rtl"?o.focusPrevious():o.focusNext();break}},u=()=>{var f;let h=(f=window.event)===null||f===void 0?void 0:f.target,m=an(t.current,{tabbable:!0});if(h&&(m.currentNode=h,h=m.previousNode()),!h){let x;do x=m.lastChild(),x&&(h=x);while(x)}for(;h?.hasAttribute("data-placeholder");){let x=m.previousNode();if(x&&x.hasAttribute("data-placeholder"))h=x;else break}h&&h.focus()},{pressProps:c}=hi({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(f){f.pointerType==="mouse"&&u()},onPress(f){f.pointerType!=="mouse"&&u()}});return je(c,{onKeyDown:s})}const y$=new WeakMap,Cl="__role_"+Date.now(),V7="__focusManager_"+Date.now();function W7(e,t,n){let{labelProps:a,fieldProps:o,descriptionProps:s,errorMessageProps:u}=bu({...e,labelElementType:"span"}),{focusWithinProps:c}=lo({...e,onBlurWithin:O=>{t.confirmPlaceholder(),e.onBlur&&e.onBlur(O)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),f=Zr(_f(yu)),h=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",m=t.maxGranularity==="hour"?"time":"date",x=t.value?f.format(h,{[m]:t.formatValue({month:"long"})}):"",b=uu(x),v=e[Cl]==="presentation"?o["aria-describedby"]:[b["aria-describedby"],o["aria-describedby"]].filter(Boolean).join(" ")||void 0,w=e[V7],T=g.useMemo(()=>w||uf(n),[w,n]),E=b$(t,n,e[Cl]==="presentation");y$.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[a.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:v,focusManager:T});let L=g.useRef(e.autoFocus),C;e[Cl]==="presentation"?C={role:"presentation"}:C=je(o,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":v}),g.useEffect(()=>{L.current&&T.focusFirst(),L.current=!1},[T]);let N=mr(e);return{labelProps:{...a,onClick:()=>{T.focusFirst()}},fieldProps:je(N,C,E,c,{onKeyDown(O){e.onKeyDown&&e.onKeyDown(O)},onKeyUp(O){e.onKeyUp&&e.onKeyUp(O)}}),descriptionProps:s,errorMessageProps:u}}function H7(e,t,n){let a=In(),o=In(),s=In(),u=Zr(_f(yu)),{labelProps:c,fieldProps:f,descriptionProps:h,errorMessageProps:m}=bu({...e,labelElementType:"span"}),x=b$(t,n),b=f["aria-labelledby"]||f.id,{locale:v}=on(),w=t.formatValue(v,{month:"long"}),T=w?u.format("selectedDateDescription",{date:w}):"",E=uu(T),L=[E["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,C=mr(e),N=g.useMemo(()=>uf(n),[n]),{focusWithinProps:O}=lo({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:je(C,x,f,E,O,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":b,"aria-describedby":L,onKeyDown(B){t.isOpen||e.onKeyDown&&e.onKeyDown(B)},onKeyUp(B){t.isOpen||e.onKeyUp&&e.onKeyUp(B)}}),labelProps:{...c,onClick:()=>{N.focusFirst()}},fieldProps:{...f,id:s,[Cl]:"presentation","aria-describedby":L,value:t.value,onChange:t.setValue,minValue:e.minValue,maxValue:e.maxValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationState:t.validationState,autoFocus:e.autoFocus},descriptionProps:h,errorMessageProps:m,buttonProps:{...E,id:a,"aria-haspopup":"dialog","aria-label":u.format("calendar"),"aria-labelledby":`${a} ${b}`,"aria-describedby":L,"aria-expanded":t.isOpen||void 0,onPress:()=>t.setOpen(!0)},dialogProps:{id:o,"aria-labelledby":`${a} ${b}`},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,validationState:t.validationState,errorMessage:e.errorMessage}}}function G7(){let{locale:e}=on();return g.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new q7(e)}},[e])}class q7{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t){this.locale=t,this.dictionary=new hf(_f(yu))}}function Z7(e,t,n){let a=g.useRef(""),{locale:o}=on(),s=G7(),{ariaLabel:u,ariaLabelledBy:c,ariaDescribedBy:f,focusManager:h}=y$.get(t),m=e.isPlaceholder?"":e.text,x=g.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),b=Jn({month:"long",timeZone:x.timeZone}),v=Jn({hour:"numeric",hour12:x.hour12,timeZone:x.timeZone});if(e.type==="month"&&!e.isPlaceholder){let ne=b.format(t.dateValue);m=ne!==m?`${m} – ${ne}`:ne}else e.type==="hour"&&!e.isPlaceholder&&(m=v.format(t.dateValue));let{spinButtonProps:w}=j7({value:e.value,textValue:m,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{a.current="",t.increment(e.type)},onDecrement:()=>{a.current="",t.decrement(e.type)},onIncrementPage:()=>{a.current="",t.incrementPage(e.type)},onDecrementPage:()=>{a.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{a.current="",t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{a.current="",t.setSegment(e.type,e.minValue)}}),T=g.useMemo(()=>new O5(o,{maximumFractionDigits:0}),[o]),E=()=>{if(T.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let ne=e.text.slice(0,-1),Z=T.parse(ne);ne.length===0||Z===0?t.clearSegment(e.type):t.setSegment(e.type,Z),a.current=ne}else e.type==="dayPeriod"&&t.clearSegment(e.type)},L=ne=>{if(ne.key==="a"&&(so()?ne.metaKey:ne.ctrlKey)&&ne.preventDefault(),!(ne.ctrlKey||ne.metaKey||ne.shiftKey||ne.altKey))switch(ne.key){case"Backspace":case"Delete":ne.preventDefault(),ne.stopPropagation(),E();break}},{startsWith:C}=W5({sensitivity:"base"}),N=Jn({hour:"numeric",hour12:!0}),O=g.useMemo(()=>{let ne=new Date;return ne.setHours(0),N.formatToParts(ne).find(Z=>Z.type==="dayPeriod").value},[N]),B=g.useMemo(()=>{let ne=new Date;return ne.setHours(12),N.formatToParts(ne).find(Z=>Z.type==="dayPeriod").value},[N]),se=Jn({year:"numeric",era:"narrow",timeZone:"UTC"}),ee=g.useMemo(()=>{if(e.type!=="era")return[];let ne=dt(new wt(1,1,1),t.calendar),Z=t.calendar.getEras().map(j=>{let fe=ne.set({year:1,month:1,day:1,era:j}).toDate("UTC"),ye=se.formatToParts(fe).find(xe=>xe.type==="era").value;return{era:j,formatted:ye}}),me=Y7(Z.map(j=>j.formatted));if(me)for(let j of Z)j.formatted=j.formatted.slice(me);return Z},[se,t.calendar,e.type]),P=ne=>{if(t.isDisabled||t.isReadOnly)return;let Z=a.current+ne;switch(e.type){case"dayPeriod":if(C(O,ne))t.setSegment("dayPeriod",0);else if(C(B,ne))t.setSegment("dayPeriod",12);else break;h.focusNext();break;case"era":{let me=ee.find(j=>C(j.formatted,ne));me&&(t.setSegment("era",me.era),h.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!T.isValidPartialNumber(Z))return;let me=T.parse(Z),j=me,fe=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":me>11&&(j=T.parse(ne));break;case"h12":fe=!1,me>12&&(j=T.parse(ne));break}e.value>=12&&me>1&&(me+=12)}else me>e.maxValue&&(j=T.parse(ne));if(isNaN(me))return;let q=j!==0||fe;q&&t.setSegment(e.type,j),+(me+"0")>e.maxValue||Z.length>=String(e.maxValue).length?(a.current="",q&&h.focusNext()):a.current=Z;break}}},z=()=>{a.current="",Nl(n.current,{containingElement:ro(n.current)}),window.getSelection().collapse(n.current)},H=g.useRef("");bd(n,"beforeinput",ne=>{switch(ne.preventDefault(),ne.inputType){case"deleteContentBackward":case"deleteContentForward":T.isValidPartialNumber(e.text)&&!t.isReadOnly&&E();break;case"insertCompositionText":H.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:ne.data!=null&&P(ne.data);break}}),bd(n,"input",ne=>{let{inputType:Z,data:me}=ne;switch(Z){case"insertCompositionText":n.current.textContent=H.current,(C(O,me)||C(B,me))&&P(me);break}}),ft(()=>{let ne=n.current;return()=>{document.activeElement===ne&&(h.focusPrevious()||h.focusNext())}},[n,h]);let A=ws()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},ge=g.useMemo(()=>t.segments.find(ne=>ne.isEditable),[t.segments]);e!==ge&&t.validationState!=="invalid"&&(f=void 0);let G=In(),K=!t.isDisabled&&!t.isReadOnly&&e.isEditable,ce=e.type==="literal"?"":s.of(e.type),X=xs({"aria-label":`${ce}${u?`, ${u}`:""}${c?", ":""}`,"aria-labelledby":c});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:je(w,X,{id:G,...A,"aria-invalid":t.validationState==="invalid"?"true":void 0,"aria-describedby":f,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:K,suppressContentEditableWarning:K,spellCheck:K?"false":void 0,autoCapitalize:K?"off":void 0,autoCorrect:K?"off":void 0,[parseInt(g.version,10)>=17?"enterKeyHint":"enterkeyhint"]:K?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!K?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:L,onFocus:z,style:{caretColor:"transparent"},onPointerDown(ne){ne.stopPropagation()},onMouseDown(ne){ne.stopPropagation()}})}}function Y7(e){e.sort();let t=e[0],n=e[e.length-1];for(let a=0;a<t.length;a++)if(t[a]!==n[a])return a;return 0}function Rf(e,t){let{role:n="dialog"}=e,a=no();a=e["aria-label"]?void 0:a;let o=g.useRef(!1);return g.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){si(t.current);let s=setTimeout(()=>{document.activeElement===t.current&&(o.current=!0,t.current.blur(),si(t.current),o.current=!1)},500);return()=>{clearTimeout(s)}}},[t]),P7(),{dialogProps:{...mr(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||a,onBlur:s=>{o.current&&s.stopPropagation()}},titleProps:{id:a}}}const Xl={prefix:String(Math.round(Math.random()*1e10)),current:0,isSSR:!1},Af=g.createContext(Xl);let J7=!!(typeof window<"u"&&window.document&&window.document.createElement),ed=new WeakMap;function Q7(e=!1){let t=g.useContext(Af),n=g.useRef(null);if(n.current===null&&!e){var a,o;let s=(a=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||a===void 0||(o=a.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(s){let u=ed.get(s);u==null?ed.set(s,{id:t.current,state:s.memoizedState}):s.memoizedState!==u.state&&(t.current=u.id,ed.delete(s))}n.current=++t.current}return n.current}function X7(e){let t=g.useContext(Af);t===Xl&&!J7&&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=Q7(!!e),a=t===Xl&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${a}-${n}`}function e4(e){let t=g.useId(),[n]=g.useState(v$()),a=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Xl.prefix}`;return e||`${a}-${t}`}g.useId;function t4(){return!1}function n4(){return!0}function r4(e){return()=>{}}function v$(){return typeof g.useSyncExternalStore=="function"?g.useSyncExternalStore(r4,t4,n4):g.useContext(Af).isSSR}const a4=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i4=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function o4(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize().script;return a4.has(n)}let t=e.split("-")[0];return i4.has(t)}function $$(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:o4(e)?"rtl":"ltr"}}let Nd=$$(),Zo=new Set;function eg(){Nd=$$();for(let e of Zo)e(Nd)}function s4(){let e=v$(),[t,n]=g.useState(Nd);return g.useEffect(()=>(Zo.size===0&&window.addEventListener("languagechange",eg),Zo.add(n),()=>{Zo.delete(n),Zo.size===0&&window.removeEventListener("languagechange",eg)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const l4=g.createContext(null);function u4(){let e=s4();return g.useContext(l4)||e}function c4(e,t,n){let{keyboardDelegate:a,isDisabled:o}=e,s=Pf({usage:"search",sensitivity:"base"}),u=g.useMemo(()=>a||new yv(t.collection,t.disabledKeys,null,s),[a,t.collection,t.disabledKeys,s]),{menuTriggerProps:c,menuProps:f}=U7({isDisabled:o,type:"listbox"},t,n),h=C=>{switch(C.key){case"ArrowLeft":{C.preventDefault();let N=t.selectedKey!=null?u.getKeyAbove(t.selectedKey):u.getFirstKey();N&&t.setSelectedKey(N);break}case"ArrowRight":{C.preventDefault();let N=t.selectedKey!=null?u.getKeyBelow(t.selectedKey):u.getFirstKey();N&&t.setSelectedKey(N);break}}},{typeSelectProps:m}=bv({keyboardDelegate:u,selectionManager:t.selectionManager,onTypeSelect(C){t.setSelectedKey(C)}}),{labelProps:x,fieldProps:b,descriptionProps:v,errorMessageProps:w}=bu({...e,labelElementType:"span"});m.onKeyDown=m.onKeyDownCapture,delete m.onKeyDownCapture;let T=mr(e,{labelable:!0}),E=je(m,c,b),L=In();return{labelProps:{...x,onClick:()=>{e.isDisabled||(n.current.focus(),oE("keyboard"))}},triggerProps:je(T,{...E,isDisabled:o,onKeyDown:is(E.onKeyDown,h,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[L,E["aria-labelledby"],E["aria-label"]&&!E["aria-labelledby"]?E.id:null].filter(Boolean).join(" "),onFocus(C){t.isFocused||(e.onFocus&&e.onFocus(C),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(C){t.isOpen||(e.onBlur&&e.onBlur(C),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:L},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,onBlur:C=>{C.currentTarget.contains(C.relatedTarget)||(e.onBlur&&e.onBlur(C),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[b["aria-labelledby"],E["aria-label"]&&!b["aria-labelledby"]?E.id:null].filter(Boolean).join(" ")},descriptionProps:v,errorMessageProps:w}}function d4(e,t,n){let{autoComplete:a,name:o,isDisabled:s}=e,u=sE(),{visuallyHiddenProps:c}=Ty();var f;return{containerProps:{...c,"aria-hidden":!0},inputProps:{type:"text",tabIndex:u==null||t.isFocused||t.isOpen?-1:0,style:{fontSize:16},onFocus:()=>n.current.focus(),disabled:s},selectProps:{tabIndex:-1,autoComplete:a,disabled:s,name:o,size:t.collection.size,value:(f=t.selectedKey)!==null&&f!==void 0?f:"",onChange:h=>t.setSelectedKey(h.target.value)}}}function f4(e){let{state:t,triggerRef:n,label:a,name:o,isDisabled:s}=e,{containerProps:u,inputProps:c,selectProps:f}=d4(e,t,n);var h;return t.collection.size<=300?g.createElement("div",u,g.createElement("input",c),g.createElement("label",null,a,g.createElement("select",f,g.createElement("option",null),[...t.collection.getKeys()].map(m=>{let x=t.collection.getItem(m);if(x.type==="item")return g.createElement("option",{key:x.key,value:x.key},x.textValue)})))):o?g.createElement("input",{type:"hidden",autoComplete:f.autoComplete,name:o,disabled:s,value:(h=t.selectedKey)!==null&&h!==void 0?h:""}):null}const Cf={prefix:String(Math.round(Math.random()*1e10)),current:0,isSSR:!1},Mf=g.createContext(Cf);let h4=!!(typeof window<"u"&&window.document&&window.document.createElement),td=new WeakMap;function p4(e=!1){let t=g.useContext(Mf),n=g.useRef(null);if(n.current===null&&!e){var a,o;let s=(a=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||a===void 0||(o=a.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(s){let u=td.get(s);u==null?td.set(s,{id:t.current,state:s.memoizedState}):s.memoizedState!==u.state&&(t.current=u.id,td.delete(s))}n.current=++t.current}return n.current}function m4(e){let t=g.useContext(Mf);t===Cf&&!h4&&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=p4(!!e);return e||`react-aria${t.prefix}-${n}`}function g4(e){let t=g.useId(),[n]=g.useState(x$()),a=n?"react-aria":`react-aria${Cf.prefix}`;return e||`${a}-${t}`}g.useId;function b4(){return!1}function y4(){return!0}function v4(e){return()=>{}}function x$(){return typeof g.useSyncExternalStore=="function"?g.useSyncExternalStore(v4,b4,y4):g.useContext(Mf).isSSR}typeof window<"u"&&g.useLayoutEffect;let tg=new Map;function $4(e,t){if(e===t)return e;let n=tg.get(e);if(n)return n(t),t;let a=tg.get(t);return a?(a(e),e):t}function x4(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}function w$(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let a=e[n];for(let o in a){let s=t[o],u=a[o];typeof s=="function"&&typeof u=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?t[o]=x4(s,u):(o==="className"||o==="UNSAFE_className")&&typeof s=="string"&&typeof u=="string"?t[o]=nf(s,u):o==="id"&&s&&u?t.id=$4(s,u):t[o]=u!==void 0?u:s}}return t}let Uo=new Map,ng=new Set;function rg(){if(typeof window>"u")return;let e=n=>{let a=Uo.get(n.target);a||(a=new Set,Uo.set(n.target,a),n.target.addEventListener("transitioncancel",t)),a.add(n.propertyName)},t=n=>{let a=Uo.get(n.target);if(a&&(a.delete(n.propertyName),a.size===0&&(n.target.removeEventListener("transitioncancel",t),Uo.delete(n.target)),Uo.size===0)){for(let o of ng)o();ng.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document<"u"&&(document.readyState!=="loading"?rg():document.addEventListener("DOMContentLoaded",rg));function D$(){const e=g.createContext(void 0);function t(){const n=g.useContext(e);if(n===void 0)throw new Error("useCtx must be inside a Provider");return n}return[t,e.Provider]}const[P$,w4]=D$();function D4({children:e}){const[t,n]=g.useState(!1);g.useEffect(()=>{n(!0)},[]);const a=g.useMemo(()=>({isClient:t}),[t]);return F.jsx(w4,{value:a,children:e})}const S$=g.forwardRef((e,t)=>{const{as:n="a",handlePress:a,children:o,as:s,customTheme:u,tokens:c,themeName:f="button",...h}=e,m=t,{linkProps:x}=_E({...e,elementType:s?.toString(),onPress:a},t??m),b=Te(f,c,u);return F.jsx(n,{ref:m,...x,...h,className:b,children:o})}),T$=g.forwardRef((e,t)=>{const{as:n="button",handlePress:a,children:o,as:s,customTheme:u,tokens:c,themeName:f="button",...h}=e,m=t,{buttonProps:x}=Md({...e,elementType:s,onPress:a},t??m),b=P$(),v=Te(f,c,u);return b&&F.jsx(n,{ref:m,...x,...h,className:v,children:o})}),vu=g.forwardRef((e,t)=>{const{as:n}=e;return n==="a"?F.jsx(S$,{ref:t,...e}):F.jsx(T$,{ref:t,...e})}),P4=e=>{const{as:t}=e,n=g.useRef(null);return t==="a"?F.jsx(S$,{ref:n,...e}):F.jsx(T$,{ref:n,...e})},ui=g.memo(P4),S4=(e,t)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((a,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t)))})},T4=e=>F.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:48,width:48,fill:"currentColor",...e}),E$=g.memo(T4),E4=Object.freeze(Object.defineProperty({__proto__:null,default:E$},Symbol.toStringTag,{value:"Module"})),_4=e=>{const{icon:t,...n}=e,a=g.useMemo(()=>g.lazy(()=>S4(Object.assign({"../icons/ArrowDown.tsx":()=>Promise.resolve().then(()=>require("./ArrowDown-3bfa6bcb.js")),"../icons/ArrowLeft.tsx":()=>Promise.resolve().then(()=>require("./ArrowLeft-2fd6ca24.js")),"../icons/ArrowRight.tsx":()=>Promise.resolve().then(()=>W8),"../icons/BrandArrowRight.tsx":()=>Promise.resolve().then(()=>require("./BrandArrowRight-b8636fa7.js")),"../icons/Check.tsx":()=>Promise.resolve().then(()=>require("./Check-37311483.js")),"../icons/ChevronLeft.tsx":()=>Promise.resolve().then(()=>require("./ChevronLeft-5148dd64.js")),"../icons/ChevronRight.tsx":()=>Promise.resolve().then(()=>require("./ChevronRight-22385d19.js")),"../icons/CloseBtn.tsx":()=>Promise.resolve().then(()=>require("./CloseBtn-40baf937.js")),"../icons/Facebook.tsx":()=>Promise.resolve().then(()=>require("./Facebook-2941c77d.js")),"../icons/FacebookColored.tsx":()=>Promise.resolve().then(()=>require("./FacebookColored-298e6559.js")),"../icons/Globe.tsx":()=>Promise.resolve().then(()=>require("./Globe-476eb577.js")),"../icons/IconFallback.tsx":()=>Promise.resolve().then(()=>E4),"../icons/Instagram.tsx":()=>Promise.resolve().then(()=>require("./Instagram-c95673fd.js")),"../icons/InstagramColored.tsx":()=>Promise.resolve().then(()=>require("./InstagramColored-beb2402e.js")),"../icons/Link.tsx":()=>Promise.resolve().then(()=>require("./Link-03954330.js")),"../icons/Mail.tsx":()=>Promise.resolve().then(()=>require("./Mail-1fcf7ef6.js")),"../icons/Plus.tsx":()=>Promise.resolve().then(()=>require("./Plus-c614a8d6.js")),"../icons/Share.tsx":()=>Promise.resolve().then(()=>require("./Share-b11f4d4f.js")),"../icons/Twitter.tsx":()=>Promise.resolve().then(()=>require("./Twitter-3b596861.js")),"../icons/TwitterColored.tsx":()=>Promise.resolve().then(()=>require("./TwitterColored-ef9325be.js")),"../icons/Upload.tsx":()=>Promise.resolve().then(()=>require("./Upload-2777b103.js")),"../icons/YouTube.tsx":()=>Promise.resolve().then(()=>require("./YouTube-65ef678d.js")),"../icons/YouTubeColored.tsx":()=>Promise.resolve().then(()=>require("./YouTubeColored-6031da60.js"))}),`../icons/${t||"ArrowRight"}.tsx`)),[t]);return F.jsx(g.Suspense,{fallback:F.jsx(E$,{className:"overflow-visible pointer-events-none"}),children:F.jsx(a,{...n,className:"overflow-visible pointer-events-none",...e})})},qr=e=>{const{icon:t,as:n="span",tokens:a,customTheme:o,themeName:s="icon",children:u,...c}=e,f=Te(s,a,o);return typeof t!="string"?F.jsxs(n,{...c,className:f,children:[u,t]}):F.jsxs(n,{className:f,children:[u,F.jsx(_4,{icon:t,...c})]})},R4=e=>{const{customTheme:t,themeName:n="accordion",id:a,tokens:o,title:s,ariaLabel:u,onClick:c,icon:f,children:h}=e,[m,x]=g.useState(!1),b=Te(`${n}.container`,{...o,isOpen:m},t),v=Te(`${n}.title`,{...o,isOpen:m},t),w=Te(`${n}.icon`,{...o,isOpen:m},t),T=Te(`${n}.region`,{...o,isOpen:m},t),E=Te(`${n}.content`,{...o,isOpen:m},t);return F.jsxs("div",{className:b,id:`accordion-control-${a}`,"aria-label":u,"aria-expanded":m,"aria-controls":`accordion-content-${a}`,children:[F.jsxs(ui,{themeName:`${n}.button`,tokens:{...o,isOpen:m},handlePress:()=>{x(!m),c?.(m)},as:"button",id:`accordion-control-${a}`,"aria-label":u,children:[F.jsx("div",{className:v,children:s}),F.jsx("div",{className:w,children:F.jsx(qr,{icon:f??"ArrowDown"})})]}),F.jsx("div",{className:T,role:"region",id:`accordion-content-${a}`,"aria-labelledby":`accordion-control-${a}`,children:F.jsx("div",{className:E,children:h})})]})},A4=e=>{const{sharingLinksList:t,id:n,isOpen:a,onShare:o,themeName:s="shareButton",tokens:u,customTheme:c}=e,f=Te(`${s}.linksList`,{...u,isOpen:a},c);return F.jsx("div",{className:f,id:n,role:"listbox",children:t?.map(h=>{const{ariaLabel:m,onClick:x,href:b,icon:v,key:w}=h;return F.jsx(ui,{themeName:`${s}.link`,tokens:{...u,isOpen:a},as:"a",handlePress:()=>{o?.(w),x?.(w)},"aria-label":m,target:"_blank",rel:"noopener noreferrer",href:b,role:"option",children:F.jsx(qr,{themeName:`${s}.linkIcons`,icon:v})},w)})})},C4=e=>{const{ariaLabel:t,icon:n,id:a,sharingLinksList:o,onShare:s,customTheme:u,themeName:c="shareButton",tokens:f,...h}=e,[m,x]=g.useState(!1),b=Te(`${c}.container`,f,u),v=()=>{x(!m)};return F.jsxs("div",{className:b,children:[F.jsx(ui,{themeName:`${c}.button`,tokens:{...f,isOpen:m},"aria-label":t,"aria-haspopup":"listbox","aria-expanded":m?"true":"false","aria-controls":"share-buttons",handlePress:v,...h,children:F.jsx(qr,{themeName:`${c}.icon`,icon:n??"Share"})}),F.jsx(A4,{id:a,sharingLinksList:o,onShare:s,isOpen:m,themeName:c,customTheme:u,tokens:f})]})};var es=globalThis&&globalThis.__assign||function(){return es=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},es.apply(this,arguments)},M4=globalThis&&globalThis.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n},ag=!1,_$=g.forwardRef(function(e,t){var n=e.style,a=M4(e,["style"]),o=I4();!ag&&n?.height&&(ag=!0,console.warn("<Div100vh /> overrides the height property of the style prop"));var s=es(es({},n),{height:o?o+"px":"100vh"});return g.createElement("div",es({ref:t,style:s},a))});_$.displayName="Div100vh";function I4(){var e=g.useState(ig),t=e[0],n=e[1],a=k4();return g.useEffect(function(){if(!a)return;function o(){var s=ig();n(s)}return window.addEventListener("resize",o),function(){return window.removeEventListener("resize",o)}},[a]),a?t:null}function ig(){return R$()?window.innerHeight:null}function k4(){var e=g.useState(!1),t=e[0],n=e[1];return g.useEffect(function(){R$()&&n(!0)},[]),t}function R$(){return typeof window<"u"&&typeof document<"u"}function $u(e){let[t,n]=wa(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const a=g.useCallback(()=>{n(!0)},[n]),o=g.useCallback(()=>{n(!1)},[n]),s=g.useCallback(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:a,close:o,toggle:s}}const A$=(e,t,n)=>{const a=$u({defaultOpen:e,onOpenChange:m=>t?.(m)}),o=g.useRef(null),s=g.useRef(null);g.useEffect(()=>{if(e){a.open();return}a.close()},[e]);const u=()=>{a.open()},c=()=>{a.close(),n?.()},{buttonProps:f}=Md({elementType:"div",onPress:u},o),{buttonProps:h}=Md({onPress:c},s);return{state:a,openButtonProps:f,closeButtonProps:h,handleOpen:u,handleClose:c,openButtonRef:o,closeButtonRef:s}},[C$,O4]=D$();function L4({children:e,defaultSelectedKey:t}){const{state:n,closeButtonProps:a,closeButtonRef:o,openButtonProps:s,openButtonRef:u}=A$(!1),c=g.useMemo(()=>({defaultSelectedKey:t,overlayState:n,buttonProps:{closeButtonProps:a,closeButtonRef:o,openButtonProps:s,openButtonRef:u}}),[n,t,a,s]);return F.jsx(O4,{value:c,children:e})}let If=Es();const Me=e=>Ts(e,If);let kf=Es();Me.write=e=>Ts(e,kf);let xu=Es();Me.onStart=e=>Ts(e,xu);let Of=Es();Me.onFrame=e=>Ts(e,Of);let Lf=Es();Me.onFinish=e=>Ts(e,Lf);let eo=[];Me.setTimeout=(e,t)=>{let n=Me.now()+t,a=()=>{let s=eo.findIndex(u=>u.cancel==a);~s&&eo.splice(s,1),$a-=~s?1:0},o={time:n,handler:e,cancel:a};return eo.splice(M$(n),0,o),$a+=1,I$(),o};let M$=e=>~(~eo.findIndex(t=>t.time>e)||~eo.length);Me.cancel=e=>{xu.delete(e),Of.delete(e),Lf.delete(e),If.delete(e),kf.delete(e)};Me.sync=e=>{Kd=!0,Me.batchedUpdates(e),Kd=!1};Me.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function a(...o){t=o,Me.onStart(n)}return a.handler=e,a.cancel=()=>{xu.delete(n),t=null},a};let Ff=typeof window<"u"?window.requestAnimationFrame:()=>{};Me.use=e=>Ff=e;Me.now=typeof performance<"u"?()=>performance.now():Date.now;Me.batchedUpdates=e=>e();Me.catch=console.error;Me.frameLoop="always";Me.advance=()=>{Me.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):O$()};let va=-1,$a=0,Kd=!1;function Ts(e,t){Kd?(t.delete(e),e(0)):(t.add(e),I$())}function I$(){va<0&&(va=0,Me.frameLoop!=="demand"&&Ff(k$))}function F4(){va=-1}function k$(){~va&&(Ff(k$),Me.batchedUpdates(O$))}function O$(){let e=va;va=Me.now();let t=M$(va);if(t&&(L$(eo.splice(0,t),n=>n.handler()),$a-=t),!$a){F4();return}xu.flush(),If.flush(e?Math.min(64,va-e):16.667),Of.flush(),kf.flush(),Lf.flush()}function Es(){let e=new Set,t=e;return{add(n){$a+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return $a-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,$a-=t.size,L$(t,a=>a(n)&&e.add(a)),$a+=e.size,t=e)}}}function L$(e,t){e.forEach(n=>{try{t(n)}catch(a){Me.catch(a)}})}function Bd(){}const N4=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),ae={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function Br(e,t){if(ae.arr(e)){if(!ae.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const ke=(e,t)=>e.forEach(t);function hr(e,t,n){if(ae.arr(e)){for(let a=0;a<e.length;a++)t.call(n,e[a],`${a}`);return}for(const a in e)e.hasOwnProperty(a)&&t.call(n,e[a],a)}const Wt=e=>ae.und(e)?[]:ae.arr(e)?e:[e];function ts(e,t){if(e.size){const n=Array.from(e);e.clear(),ke(n,t)}}const Yo=(e,...t)=>ts(e,n=>n(...t)),Nf=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let Kf,F$,xa=null,N$=!1,Bf=Bd;const K4=e=>{e.to&&(F$=e.to),e.now&&(Me.now=e.now),e.colors!==void 0&&(xa=e.colors),e.skipAnimation!=null&&(N$=e.skipAnimation),e.createStringInterpolator&&(Kf=e.createStringInterpolator),e.requestAnimationFrame&&Me.use(e.requestAnimationFrame),e.batchedUpdates&&(Me.batchedUpdates=e.batchedUpdates),e.willAdvance&&(Bf=e.willAdvance),e.frameLoop&&(Me.frameLoop=e.frameLoop)};var pr=Object.freeze({__proto__:null,get createStringInterpolator(){return Kf},get to(){return F$},get colors(){return xa},get skipAnimation(){return N$},get willAdvance(){return Bf},assign:K4});const ns=new Set;let Mn=[],nd=[],eu=0;const wu={get idle(){return!ns.size&&!Mn.length},start(e){eu>e.priority?(ns.add(e),Me.onStart(B4)):(K$(e),Me(Ud))},advance:Ud,sort(e){if(eu)Me.onFrame(()=>wu.sort(e));else{const t=Mn.indexOf(e);~t&&(Mn.splice(t,1),B$(e))}},clear(){Mn=[],ns.clear()}};function B4(){ns.forEach(K$),ns.clear(),Me(Ud)}function K$(e){Mn.includes(e)||B$(e)}function B$(e){Mn.splice(U4(Mn,t=>t.priority>e.priority),0,e)}function Ud(e){const t=nd;for(let n=0;n<Mn.length;n++){const a=Mn[n];eu=a.priority,a.idle||(Bf(a),a.advance(e),a.idle||t.push(a))}return eu=0,nd=Mn,nd.length=0,Mn=t,Mn.length>0}function U4(e,t){const n=e.findIndex(t);return n<0?e.length:n}const z4=(e,t,n)=>Math.min(Math.max(n,e),t),j4={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Qn="[-+]?\\d*\\.?\\d+",tu=Qn+"%";function Du(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const V4=new RegExp("rgb"+Du(Qn,Qn,Qn)),W4=new RegExp("rgba"+Du(Qn,Qn,Qn,Qn)),H4=new RegExp("hsl"+Du(Qn,tu,tu)),G4=new RegExp("hsla"+Du(Qn,tu,tu,Qn)),q4=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Z4=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Y4=/^#([0-9a-fA-F]{6})$/,J4=/^#([0-9a-fA-F]{8})$/;function Q4(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Y4.exec(e))?parseInt(t[1]+"ff",16)>>>0:xa&&xa[e]!==void 0?xa[e]:(t=V4.exec(e))?(Wi(t[1])<<24|Wi(t[2])<<16|Wi(t[3])<<8|255)>>>0:(t=W4.exec(e))?(Wi(t[1])<<24|Wi(t[2])<<16|Wi(t[3])<<8|lg(t[4]))>>>0:(t=q4.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=J4.exec(e))?parseInt(t[1],16)>>>0:(t=Z4.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=H4.exec(e))?(og(sg(t[1]),Dl(t[2]),Dl(t[3]))|255)>>>0:(t=G4.exec(e))?(og(sg(t[1]),Dl(t[2]),Dl(t[3]))|lg(t[4]))>>>0:null}function rd(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 og(e,t,n){const a=n<.5?n*(1+t):n+t-n*t,o=2*n-a,s=rd(o,a,e+1/3),u=rd(o,a,e),c=rd(o,a,e-1/3);return Math.round(s*255)<<24|Math.round(u*255)<<16|Math.round(c*255)<<8}function Wi(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function sg(e){return(parseFloat(e)%360+360)%360/360}function lg(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function Dl(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function ug(e){let t=Q4(e);if(t===null)return e;t=t||0;let n=(t&4278190080)>>>24,a=(t&16711680)>>>16,o=(t&65280)>>>8,s=(t&255)/255;return`rgba(${n}, ${a}, ${o}, ${s})`}const fs=(e,t,n)=>{if(ae.fun(e))return e;if(ae.arr(e))return fs({range:e,output:t,extrapolate:n});if(ae.str(e.output[0]))return Kf(e);const a=e,o=a.output,s=a.range||[0,1],u=a.extrapolateLeft||a.extrapolate||"extend",c=a.extrapolateRight||a.extrapolate||"extend",f=a.easing||(h=>h);return h=>{const m=e6(h,s);return X4(h,s[m],s[m+1],o[m],o[m+1],f,u,c,a.map)}};function X4(e,t,n,a,o,s,u,c,f){let h=f?f(e):e;if(h<t){if(u==="identity")return h;u==="clamp"&&(h=t)}if(h>n){if(c==="identity")return h;c==="clamp"&&(h=n)}return a===o?a:t===n?e<=t?a:o:(t===-1/0?h=-h:n===1/0?h=h-t:h=(h-t)/(n-t),h=s(h),a===-1/0?h=-h:o===1/0?h=h+a:h=h*(o-a)+a,h)}function e6(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}const t6=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const a=n*e,o=t==="end"?Math.floor(a):Math.ceil(a);return z4(0,1,o/e)},nu=1.70158,Pl=nu*1.525,cg=nu+1,dg=2*Math.PI/3,fg=2*Math.PI/4.5,Sl=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,n6={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>cg*e*e*e-nu*e*e,easeOutBack:e=>1+cg*Math.pow(e-1,3)+nu*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((Pl+1)*2*e-Pl)/2:(Math.pow(2*e-2,2)*((Pl+1)*(e*2-2)+Pl)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*dg),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*dg)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*fg))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*fg)/2+1,easeInBounce:e=>1-Sl(1-e),easeOutBounce:Sl,easeInOutBounce:e=>e<.5?(1-Sl(1-2*e))/2:(1+Sl(2*e-1))/2,steps:t6};function zd(){return zd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},zd.apply(this,arguments)}const io=Symbol.for("FluidValue.get"),ci=Symbol.for("FluidValue.observers"),Cn=e=>!!(e&&e[io]),tn=e=>e&&e[io]?e[io]():e,hg=e=>e[ci]||null;function r6(e,t){e.eventObserved?e.eventObserved(t):e(t)}function hs(e,t){let n=e[ci];n&&n.forEach(a=>{r6(a,t)})}class U${constructor(t){if(this[io]=void 0,this[ci]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");a6(this,t)}}const a6=(e,t)=>z$(e,io,t);function uo(e,t){if(e[io]){let n=e[ci];n||z$(e,ci,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function ps(e,t){let n=e[ci];if(n&&n.has(t)){const a=n.size-1;a?n.delete(t):e[ci]=null,e.observerRemoved&&e.observerRemoved(a,t)}}const z$=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Ml=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,i6=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,pg=new RegExp(`(${Ml.source})(%|[a-z]+)`,"i"),o6=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Pu=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,j$=e=>{const[t,n]=s6(e);if(!t||Nf())return e;const a=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(a)return a.trim();if(n&&n.startsWith("--")){const o=window.getComputedStyle(document.documentElement).getPropertyValue(n);return o||e}else{if(n&&Pu.test(n))return j$(n);if(n)return n}return e},s6=e=>{const t=Pu.exec(e);if(!t)return[,];const[,n,a]=t;return[n,a]};let ad;const l6=(e,t,n,a,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(a)}, ${o})`,V$=e=>{ad||(ad=xa?new RegExp(`(${Object.keys(xa).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(s=>tn(s).replace(Pu,j$).replace(i6,ug).replace(ad,ug)),n=t.map(s=>s.match(Ml).map(Number)),o=n[0].map((s,u)=>n.map(c=>{if(!(u in c))throw Error('The arity of each "output" value must be equal');return c[u]})).map(s=>fs(zd({},e,{output:s})));return s=>{var u;const c=!pg.test(t[0])&&((u=t.find(h=>pg.test(h)))==null?void 0:u.replace(Ml,""));let f=0;return t[0].replace(Ml,()=>`${o[f++](s)}${c||""}`).replace(o6,l6)}},Uf="react-spring: ",W$=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${Uf}once requires a function parameter`);return(...a)=>{n||(t(...a),n=!0)}},u6=W$(console.warn);function c6(){u6(`${Uf}The "interpolate" function is deprecated in v9 (use "to" instead)`)}const d6=W$(console.warn);function f6(){d6(`${Uf}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function Su(e){return ae.str(e)&&(e[0]=="#"||/\d/.test(e)||!Nf()&&Pu.test(e)||e in(xa||{}))}const Zi=Nf()?g.useEffect:g.useLayoutEffect,h6=()=>{const e=g.useRef(!1);return Zi(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function H$(){const e=g.useState()[1],t=h6();return()=>{t.current&&e(Math.random())}}function p6(e,t){const[n]=g.useState(()=>({inputs:t,result:e()})),a=g.useRef(),o=a.current;let s=o;return s?t&&s.inputs&&m6(t,s.inputs)||(s={inputs:t,result:e()}):s=n,g.useEffect(()=>{a.current=s,o==n&&(n.inputs=n.result=void 0)},[s]),s.result}function m6(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const G$=e=>g.useEffect(e,g6),g6=[];function b6(e){const t=g.useRef();return g.useEffect(()=>{t.current=e}),t.current}const ms=Symbol.for("Animated:node"),y6=e=>!!e&&e[ms]===e,cr=e=>e&&e[ms],zf=(e,t)=>N4(e,ms,t),Tu=e=>e&&e[ms]&&e[ms].getPayload();class q${constructor(){this.payload=void 0,zf(this,this)}getPayload(){return this.payload||[]}}class co extends q${constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,ae.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new co(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,n){return ae.num(t)&&(this.lastPosition=t,n&&(t=Math.round(t/n)*n,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,ae.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}}class oo extends co{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=fs({output:[t,t]})}static create(t){return new oo(t)}getValue(){let t=this._string;return t??(this._string=this._toString(this._value))}setValue(t){if(ae.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=fs({output:[this.getValue(),t]})),this._value=0,super.reset()}}const ru={dependencies:null};class Eu extends q${constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const n={};return hr(this.source,(a,o)=>{y6(a)?n[o]=a.getValue(t):Cn(a)?n[o]=tn(a):t||(n[o]=a)}),n}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&ke(this.payload,t=>t.reset())}_makePayload(t){if(t){const n=new Set;return hr(t,this._addToPayload,n),Array.from(n)}}_addToPayload(t){ru.dependencies&&Cn(t)&&ru.dependencies.add(t);const n=Tu(t);n&&ke(n,a=>this.add(a))}}class jf extends Eu{constructor(t){super(t)}static create(t){return new jf(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){const n=this.getPayload();return t.length==n.length?n.map((a,o)=>a.setValue(t[o])).some(Boolean):(super.setValue(t.map(v6)),!0)}}function v6(e){return(Su(e)?oo:co).create(e)}function jd(e){const t=cr(e);return t?t.constructor:ae.arr(e)?jf:Su(e)?oo:co}function au(){return au=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},au.apply(this,arguments)}const mg=(e,t)=>{const n=!ae.fun(e)||e.prototype&&e.prototype.isReactComponent;return g.forwardRef((a,o)=>{const s=g.useRef(null),u=n&&g.useCallback(w=>{s.current=w6(o,w)},[o]),[c,f]=x6(a,t),h=H$(),m=()=>{const w=s.current;if(n&&!w)return;(w?t.applyAnimatedValues(w,c.getValue(!0)):!1)===!1&&h()},x=new $6(m,f),b=g.useRef();Zi(()=>(b.current=x,ke(f,w=>uo(w,x)),()=>{b.current&&(ke(b.current.deps,w=>ps(w,b.current)),Me.cancel(b.current.update))})),g.useEffect(m,[]),G$(()=>()=>{const w=b.current;ke(w.deps,T=>ps(T,w))});const v=t.getComponentProps(c.getValue());return ii.createElement(e,au({},v,{ref:u}))})};class $6{constructor(t,n){this.update=t,this.deps=n}eventObserved(t){t.type=="change"&&Me.write(this.update)}}function x6(e,t){const n=new Set;return ru.dependencies=n,e.style&&(e=au({},e,{style:t.createAnimatedStyle(e.style)})),e=new Eu(e),ru.dependencies=null,[e,n]}function w6(e,t){return e&&(ae.fun(e)?e(t):e.current=t),t}const gg=Symbol.for("AnimatedComponent"),D6=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=o=>new Eu(o),getComponentProps:a=o=>o}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:a},s=u=>{const c=bg(u)||"Anonymous";return ae.str(u)?u=s[u]||(s[u]=mg(u,o)):u=u[gg]||(u[gg]=mg(u,o)),u.displayName=`Animated(${c})`,u};return hr(e,(u,c)=>{ae.arr(e)&&(c=bg(u)),s[c]=s(u)}),{animated:s}},bg=e=>ae.str(e)?e:e&&ae.str(e.displayName)?e.displayName:ae.fun(e)&&e.name||null;function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},bt.apply(this,arguments)}function nn(e,...t){return ae.fun(e)?e(...t):e}const rs=(e,t)=>e===!0||!!(t&&e&&(ae.fun(e)?e(t):Wt(e).includes(t))),Z$=(e,t)=>ae.obj(e)?t&&e[t]:e,Y$=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,P6=e=>e,Vf=(e,t=P6)=>{let n=S6;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const a={};for(const o of n){const s=t(e[o],o);ae.und(s)||(a[o]=s)}return a},S6=["config","onProps","onStart","onChange","onPause","onResume","onRest"],T6={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function E6(e){const t={};let n=0;if(hr(e,(a,o)=>{T6[o]||(t[o]=a,n++)}),n)return t}function Wf(e){const t=E6(e);if(t){const n={to:t};return hr(e,(a,o)=>o in t||(n[o]=a)),n}return bt({},e)}function gs(e){return e=tn(e),ae.arr(e)?e.map(gs):Su(e)?pr.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function _6(e){for(const t in e)return!0;return!1}function Vd(e){return ae.fun(e)||ae.arr(e)&&ae.obj(e[0])}function yg(e,t){var n;(n=e.ref)==null||n.delete(e),t?.delete(e)}function R6(e,t){if(t&&e.ref!==t){var n;(n=e.ref)==null||n.delete(e),t.add(e),e.ref=t}}const Hf={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Wd=bt({},Hf.default,{mass:1,damping:1,easing:n6.linear,clamp:!1});class A6{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,Wd)}}function C6(e,t,n){n&&(n=bt({},n),vg(n,t),t=bt({},n,t)),vg(e,t),Object.assign(e,t);for(const u in Wd)e[u]==null&&(e[u]=Wd[u]);let{mass:a,frequency:o,damping:s}=e;return ae.und(o)||(o<.01&&(o=.01),s<0&&(s=0),e.tension=Math.pow(2*Math.PI/o,2)*a,e.friction=4*Math.PI*s*a/o),e}function vg(e,t){if(!ae.und(t.decay))e.duration=void 0;else{const n=!ae.und(t.tension)||!ae.und(t.friction);(n||!ae.und(t.frequency)||!ae.und(t.damping)||!ae.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}const $g=[];class M6{constructor(){this.changed=!1,this.values=$g,this.toValues=null,this.fromValues=$g,this.to=void 0,this.from=void 0,this.config=new A6,this.immediate=!1}}function J$(e,{key:t,props:n,defaultProps:a,state:o,actions:s}){return new Promise((u,c)=>{var f;let h,m,x=rs((f=n.cancel)!=null?f:a?.cancel,t);if(x)w();else{ae.und(n.pause)||(o.paused=rs(n.pause,t));let T=a?.pause;T!==!0&&(T=o.paused||rs(T,t)),h=nn(n.delay||0,t),T?(o.resumeQueue.add(v),s.pause()):(s.resume(),v())}function b(){o.resumeQueue.add(v),o.timeouts.delete(m),m.cancel(),h=m.time-Me.now()}function v(){h>0&&!pr.skipAnimation?(o.delayed=!0,m=Me.setTimeout(w,h),o.pauseQueue.add(b),o.timeouts.add(m)):w()}function w(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(b),o.timeouts.delete(m),e<=(o.cancelId||0)&&(x=!0);try{s.start(bt({},n,{callId:e,cancel:x}),u)}catch(T){c(T)}}})}const Gf=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?to(e.get()):t.every(n=>n.noop)?Q$(e.get()):Zn(e.get(),t.every(n=>n.finished)),Q$=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Zn=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),to=e=>({value:e,cancelled:!0,finished:!1});function X$(e,t,n,a){const{callId:o,parentId:s,onRest:u}=t,{asyncTo:c,promise:f}=n;return!s&&e===c&&!t.reset?f:n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;const h=Vf(t,(E,L)=>L==="onRest"?void 0:E);let m,x;const b=new Promise((E,L)=>(m=E,x=L)),v=E=>{const L=o<=(n.cancelId||0)&&to(a)||o!==n.asyncId&&Zn(a,!1);if(L)throw E.result=L,x(E),E},w=(E,L)=>{const C=new xg,N=new wg;return(async()=>{if(pr.skipAnimation)throw bs(n),N.result=Zn(a,!1),x(N),N;v(C);const O=ae.obj(E)?bt({},E):bt({},L,{to:E});O.parentId=o,hr(h,(se,ee)=>{ae.und(O[ee])&&(O[ee]=se)});const B=await a.start(O);return v(C),n.paused&&await new Promise(se=>{n.resumeQueue.add(se)}),B})()};let T;if(pr.skipAnimation)return bs(n),Zn(a,!1);try{let E;ae.arr(e)?E=(async L=>{for(const C of L)await w(C)})(e):E=Promise.resolve(e(w,a.stop.bind(a))),await Promise.all([E.then(m),b]),T=Zn(a.get(),!0,!1)}catch(E){if(E instanceof xg)T=E.result;else if(E instanceof wg)T=E.result;else throw E}finally{o==n.asyncId&&(n.asyncId=s,n.asyncTo=s?c:void 0,n.promise=s?f:void 0)}return ae.fun(u)&&Me.batchedUpdates(()=>{u(T,a,a.item)}),T})()}function bs(e,t){ts(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class xg extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class wg extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const Hd=e=>e instanceof qf;let I6=1;class qf extends U${constructor(...t){super(...t),this.id=I6++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=cr(this);return t&&t.getValue()}to(...t){return pr.to(this,t)}interpolate(...t){return c6(),pr.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,n=!1){hs(this,{type:"change",parent:this,value:t,idle:n})}_onPriorityChange(t){this.idle||wu.sort(this),hs(this,{type:"priority",parent:this,priority:t})}}const di=Symbol.for("SpringPhase"),e1=1,Gd=2,qd=4,id=e=>(e[di]&e1)>0,ma=e=>(e[di]&Gd)>0,zo=e=>(e[di]&qd)>0,Dg=(e,t)=>t?e[di]|=Gd|e1:e[di]&=~Gd,Pg=(e,t)=>t?e[di]|=qd:e[di]&=~qd;class k6 extends qf{constructor(t,n){if(super(),this.key=void 0,this.animation=new M6,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!ae.und(t)||!ae.und(n)){const a=ae.obj(t)?bt({},t):bt({},n,{from:t});ae.und(a.default)&&(a.default=!0),this.start(a)}}get idle(){return!(ma(this)||this._state.asyncTo)||zo(this)}get goal(){return tn(this.animation.to)}get velocity(){const t=cr(this);return t instanceof co?t.lastVelocity||0:t.getPayload().map(n=>n.lastVelocity||0)}get hasAnimated(){return id(this)}get isAnimating(){return ma(this)}get isPaused(){return zo(this)}get isDelayed(){return this._state.delayed}advance(t){let n=!0,a=!1;const o=this.animation;let{config:s,toValues:u}=o;const c=Tu(o.to);!c&&Cn(o.to)&&(u=Wt(tn(o.to))),o.values.forEach((m,x)=>{if(m.done)return;const b=m.constructor==oo?1:c?c[x].lastPosition:u[x];let v=o.immediate,w=b;if(!v){if(w=m.lastPosition,s.tension<=0){m.done=!0;return}let T=m.elapsedTime+=t;const E=o.fromValues[x],L=m.v0!=null?m.v0:m.v0=ae.arr(s.velocity)?s.velocity[x]:s.velocity;let C;const N=s.precision||(E==b?.005:Math.min(1,Math.abs(b-E)*.001));if(ae.und(s.duration))if(s.decay){const O=s.decay===!0?.998:s.decay,B=Math.exp(-(1-O)*T);w=E+L/(1-O)*(1-B),v=Math.abs(m.lastPosition-w)<=N,C=L*B}else{C=m.lastVelocity==null?L:m.lastVelocity;const O=s.restVelocity||N/10,B=s.clamp?0:s.bounce,se=!ae.und(B),ee=E==b?m.v0>0:E<b;let P,z=!1;const H=1,A=Math.ceil(t/H);for(let ge=0;ge<A&&(P=Math.abs(C)>O,!(!P&&(v=Math.abs(b-w)<=N,v)));++ge){se&&(z=w==b||w>b==ee,z&&(C=-C*B,w=b));const G=-s.tension*1e-6*(w-b),K=-s.friction*.001*C,ce=(G+K)/s.mass;C=C+ce*H,w=w+C*H}}else{let O=1;s.duration>0&&(this._memoizedDuration!==s.duration&&(this._memoizedDuration=s.duration,m.durationProgress>0&&(m.elapsedTime=s.duration*m.durationProgress,T=m.elapsedTime+=t)),O=(s.progress||0)+T/this._memoizedDuration,O=O>1?1:O<0?0:O,m.durationProgress=O),w=E+s.easing(O)*(b-E),C=(w-m.lastPosition)/t,v=O==1}m.lastVelocity=C,Number.isNaN(w)&&(console.warn("Got NaN while animating:",this),v=!0)}c&&!c[x].done&&(v=!1),v?m.done=!0:n=!1,m.setValue(w,s.round)&&(a=!0)});const f=cr(this),h=f.getValue();if(n){const m=tn(o.to);(h!==m||a)&&!s.decay?(f.setValue(m),this._onChange(m)):a&&s.decay&&this._onChange(h),this._stop()}else a&&this._onChange(h)}set(t){return Me.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(ma(this)){const{to:t,config:n}=this.animation;Me.batchedUpdates(()=>{this._onStart(),n.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,n){let a;return ae.und(t)?(a=this.queue||[],this.queue=[]):a=[ae.obj(t)?t:bt({},n,{to:t})],Promise.all(a.map(o=>this._update(o))).then(o=>Gf(this,o))}stop(t){const{to:n}=this.animation;return this._focus(this.get()),bs(this._state,t&&this._lastCallId),Me.batchedUpdates(()=>this._stop(n,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){const n=this.key||"";let{to:a,from:o}=t;a=ae.obj(a)?a[n]:a,(a==null||Vd(a))&&(a=void 0),o=ae.obj(o)?o[n]:o,o==null&&(o=void 0);const s={to:a,from:o};return id(this)||(t.reverse&&([a,o]=[o,a]),o=tn(o),ae.und(o)?cr(this)||this._set(a):this._set(o)),s}_update(t,n){let a=bt({},t);const{key:o,defaultProps:s}=this;a.default&&Object.assign(s,Vf(a,(f,h)=>/^on/.test(h)?Z$(f,o):f)),Tg(this,a,"onProps"),Vo(this,"onProps",a,this);const u=this._prepareNode(a);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const c=this._state;return J$(++this._lastCallId,{key:o,props:a,defaultProps:s,state:c,actions:{pause:()=>{zo(this)||(Pg(this,!0),Yo(c.pauseQueue),Vo(this,"onPause",Zn(this,jo(this,this.animation.to)),this))},resume:()=>{zo(this)&&(Pg(this,!1),ma(this)&&this._resume(),Yo(c.resumeQueue),Vo(this,"onResume",Zn(this,jo(this,this.animation.to)),this))},start:this._merge.bind(this,u)}}).then(f=>{if(a.loop&&f.finished&&!(n&&f.noop)){const h=t1(a);if(h)return this._update(h,!0)}return f})}_merge(t,n,a){if(n.cancel)return this.stop(!0),a(to(this));const o=!ae.und(t.to),s=!ae.und(t.from);if(o||s)if(n.callId>this._lastToId)this._lastToId=n.callId;else return a(to(this));const{key:u,defaultProps:c,animation:f}=this,{to:h,from:m}=f;let{to:x=h,from:b=m}=t;s&&!o&&(!n.default||ae.und(x))&&(x=b),n.reverse&&([x,b]=[b,x]);const v=!Br(b,m);v&&(f.from=b),b=tn(b);const w=!Br(x,h);w&&this._focus(x);const T=Vd(n.to),{config:E}=f,{decay:L,velocity:C}=E;(o||s)&&(E.velocity=0),n.config&&!T&&C6(E,nn(n.config,u),n.config!==c.config?nn(c.config,u):void 0);let N=cr(this);if(!N||ae.und(x))return a(Zn(this,!0));const O=ae.und(n.reset)?s&&!n.default:!ae.und(b)&&rs(n.reset,u),B=O?b:this.get(),se=gs(x),ee=ae.num(se)||ae.arr(se)||Su(se),P=!T&&(!ee||rs(c.immediate||n.immediate,u));if(w){const ge=jd(x);if(ge!==N.constructor)if(P)N=this._set(se);else throw Error(`Cannot animate between ${N.constructor.name} and ${ge.name}, as the "to" prop suggests`)}const z=N.constructor;let H=Cn(x),A=!1;if(!H){const ge=O||!id(this)&&v;(w||ge)&&(A=Br(gs(B),se),H=!A),(!Br(f.immediate,P)&&!P||!Br(E.decay,L)||!Br(E.velocity,C))&&(H=!0)}if(A&&ma(this)&&(f.changed&&!O?H=!0:H||this._stop(h)),!T&&((H||Cn(h))&&(f.values=N.getPayload(),f.toValues=Cn(x)?null:z==oo?[1]:Wt(se)),f.immediate!=P&&(f.immediate=P,!P&&!O&&this._set(h)),H)){const{onRest:ge}=f;ke(O6,K=>Tg(this,n,K));const G=Zn(this,jo(this,h));Yo(this._pendingCalls,G),this._pendingCalls.add(a),f.changed&&Me.batchedUpdates(()=>{f.changed=!O,ge?.(G,this),O?nn(c.onRest,G):f.onStart==null||f.onStart(G,this)})}O&&this._set(B),T?a(X$(n.to,n,this._state,this)):H?this._start():ma(this)&&!w?this._pendingCalls.add(a):a(Q$(B))}_focus(t){const n=this.animation;t!==n.to&&(hg(this)&&this._detach(),n.to=t,hg(this)&&this._attach())}_attach(){let t=0;const{to:n}=this.animation;Cn(n)&&(uo(n,this),Hd(n)&&(t=n.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;Cn(t)&&ps(t,this)}_set(t,n=!0){const a=tn(t);if(!ae.und(a)){const o=cr(this);if(!o||!Br(a,o.getValue())){const s=jd(a);!o||o.constructor!=s?zf(this,s.create(a)):o.setValue(a),o&&Me.batchedUpdates(()=>{this._onChange(a,n)})}}return cr(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,Vo(this,"onStart",Zn(this,jo(this,t.to)),this))}_onChange(t,n){n||(this._onStart(),nn(this.animation.onChange,t,this)),nn(this.defaultProps.onChange,t,this),super._onChange(t,n)}_start(){const t=this.animation;cr(this).reset(tn(t.to)),t.immediate||(t.fromValues=t.values.map(n=>n.lastPosition)),ma(this)||(Dg(this,!0),zo(this)||this._resume())}_resume(){pr.skipAnimation?this.finish():wu.start(this)}_stop(t,n){if(ma(this)){Dg(this,!1);const a=this.animation;ke(a.values,s=>{s.done=!0}),a.toValues&&(a.onChange=a.onPause=a.onResume=void 0),hs(this,{type:"idle",parent:this});const o=n?to(this.get()):Zn(this.get(),jo(this,t??a.to));Yo(this._pendingCalls,o),a.changed&&(a.changed=!1,Vo(this,"onRest",o,this))}}}function jo(e,t){const n=gs(t),a=gs(e.get());return Br(a,n)}function t1(e,t=e.loop,n=e.to){let a=nn(t);if(a){const o=a!==!0&&Wf(a),s=(o||e).reverse,u=!o||o.reset;return iu(bt({},e,{loop:t,default:!1,pause:void 0,to:!s||Vd(n)?n:void 0,from:u?e.from:void 0,reset:u},o))}}function iu(e){const{to:t,from:n}=e=Wf(e),a=new Set;return ae.obj(t)&&Sg(t,a),ae.obj(n)&&Sg(n,a),e.keys=a.size?Array.from(a):null,e}function Sg(e,t){hr(e,(n,a)=>n!=null&&t.add(a))}const O6=["onStart","onRest","onChange","onPause","onResume"];function Tg(e,t,n){e.animation[n]=t[n]!==Y$(t,n)?Z$(t[n],e.key):void 0}function Vo(e,t,...n){var a,o,s,u;(a=(o=e.animation)[t])==null||a.call(o,...n),(s=(u=e.defaultProps)[t])==null||s.call(u,...n)}const L6=["onStart","onChange","onRest"];let F6=1;class N6{constructor(t,n){this.id=F6++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),n&&(this._flush=n),t&&this.start(bt({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each((n,a)=>t[a]=n.get()),t}set(t){for(const n in t){const a=t[n];ae.und(a)||this.springs[n].set(a)}}update(t){return t&&this.queue.push(iu(t)),this}start(t){let{queue:n}=this;return t?n=Wt(t).map(iu):this.queue=[],this._flush?this._flush(this,n):(i1(this,n),K6(this,n))}stop(t,n){if(t!==!!t&&(n=t),n){const a=this.springs;ke(Wt(n),o=>a[o].stop(!!t))}else bs(this._state,this._lastAsyncId),this.each(a=>a.stop(!!t));return this}pause(t){if(ae.und(t))this.start({pause:!0});else{const n=this.springs;ke(Wt(t),a=>n[a].pause())}return this}resume(t){if(ae.und(t))this.start({pause:!1});else{const n=this.springs;ke(Wt(t),a=>n[a].resume())}return this}each(t){hr(this.springs,t)}_onFrame(){const{onStart:t,onChange:n,onRest:a}=this._events,o=this._active.size>0,s=this._changed.size>0;(o&&!this._started||s&&!this._started)&&(this._started=!0,ts(t,([f,h])=>{h.value=this.get(),f(h,this,this._item)}));const u=!o&&this._started,c=s||u&&a.size?this.get():null;s&&n.size&&ts(n,([f,h])=>{h.value=c,f(h,this,this._item)}),u&&(this._started=!1,ts(a,([f,h])=>{h.value=c,f(h,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;Me.onFrame(this._onFrame)}}function K6(e,t){return Promise.all(t.map(n=>n1(e,n))).then(n=>Gf(e,n))}async function n1(e,t,n){const{keys:a,to:o,from:s,loop:u,onRest:c,onResolve:f}=t,h=ae.obj(t.default)&&t.default;u&&(t.loop=!1),o===!1&&(t.to=null),s===!1&&(t.from=null);const m=ae.arr(o)||ae.fun(o)?o:void 0;m?(t.to=void 0,t.onRest=void 0,h&&(h.onRest=void 0)):ke(L6,T=>{const E=t[T];if(ae.fun(E)){const L=e._events[T];t[T]=({finished:C,cancelled:N})=>{const O=L.get(E);O?(C||(O.finished=!1),N&&(O.cancelled=!0)):L.set(E,{value:null,finished:C||!1,cancelled:N||!1})},h&&(h[T]=t[T])}});const x=e._state;t.pause===!x.paused?(x.paused=t.pause,Yo(t.pause?x.pauseQueue:x.resumeQueue)):x.paused&&(t.pause=!0);const b=(a||Object.keys(e.springs)).map(T=>e.springs[T].start(t)),v=t.cancel===!0||Y$(t,"cancel")===!0;(m||v&&x.asyncId)&&b.push(J$(++e._lastAsyncId,{props:t,state:x,actions:{pause:Bd,resume:Bd,start(T,E){v?(bs(x,e._lastAsyncId),E(to(e))):(T.onRest=c,E(X$(m,T,x,e)))}}})),x.paused&&await new Promise(T=>{x.resumeQueue.add(T)});const w=Gf(e,await Promise.all(b));if(u&&w.finished&&!(n&&w.noop)){const T=t1(t,u,o);if(T)return i1(e,[T]),n1(e,T,!0)}return f&&Me.batchedUpdates(()=>f(w,e,e.item)),w}function B6(e,t){const n=bt({},e.springs);return t&&ke(Wt(t),a=>{ae.und(a.keys)&&(a=iu(a)),ae.obj(a.to)||(a=bt({},a,{to:void 0})),a1(n,a,o=>r1(o))}),U6(e,n),n}function U6(e,t){hr(t,(n,a)=>{e.springs[a]||(e.springs[a]=n,uo(n,e))})}function r1(e,t){const n=new k6;return n.key=e,t&&uo(n,t),n}function a1(e,t,n){t.keys&&ke(t.keys,a=>{(e[a]||(e[a]=n(a)))._prepareNode(t)})}function i1(e,t){ke(t,n=>{a1(e.springs,n,a=>r1(a,e))})}function z6(e,t){if(e==null)return{};var n={},a=Object.keys(e),o,s;for(s=0;s<a.length;s++)o=a[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}const j6=["children"],_u=e=>{let{children:t}=e,n=z6(e,j6);const a=g.useContext(ou),o=n.pause||!!a.pause,s=n.immediate||!!a.immediate;n=p6(()=>({pause:o,immediate:s}),[o,s]);const{Provider:u}=ou;return ii.createElement(u,{value:n},t)},ou=V6(_u,{});_u.Provider=ou.Provider;_u.Consumer=ou.Consumer;function V6(e,t){return Object.assign(e,ii.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}const W6=()=>{const e=[],t=function(o){f6();const s=[];return ke(e,(u,c)=>{if(ae.und(o))s.push(u.start());else{const f=n(o,u,c);f&&s.push(u.start(f))}}),s};t.current=e,t.add=function(a){e.includes(a)||e.push(a)},t.delete=function(a){const o=e.indexOf(a);~o&&e.splice(o,1)},t.pause=function(){return ke(e,a=>a.pause(...arguments)),this},t.resume=function(){return ke(e,a=>a.resume(...arguments)),this},t.set=function(a){ke(e,o=>o.set(a))},t.start=function(a){const o=[];return ke(e,(s,u)=>{if(ae.und(a))o.push(s.start());else{const c=this._getProps(a,s,u);c&&o.push(s.start(c))}}),o},t.stop=function(){return ke(e,a=>a.stop(...arguments)),this},t.update=function(a){return ke(e,(o,s)=>o.update(this._getProps(a,o,s))),this};const n=function(o,s,u){return ae.fun(o)?o(u,s):o};return t._getProps=n,t};let Vt;(function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"})(Vt||(Vt={}));function Zf(e,t,n){const a=ae.fun(t)&&t,{reset:o,sort:s,trail:u=0,expires:c=!0,exitBeforeEnter:f=!1,onDestroyed:h,ref:m,config:x}=a?a():t,b=g.useMemo(()=>a||arguments.length==3?W6():void 0,[]),v=Wt(e),w=[],T=g.useRef(null),E=o?null:T.current;Zi(()=>{T.current=w}),G$(()=>(ke(w,K=>{b?.add(K.ctrl),K.ctrl.ref=b}),()=>{ke(T.current,K=>{K.expired&&clearTimeout(K.expirationId),yg(K.ctrl,b),K.ctrl.stop(!0)})}));const L=G6(v,a?a():t,E),C=o&&T.current||[];Zi(()=>ke(C,({ctrl:K,item:ce,key:X})=>{yg(K,b),nn(h,ce,X)}));const N=[];if(E&&ke(E,(K,ce)=>{K.expired?(clearTimeout(K.expirationId),C.push(K)):(ce=N[ce]=L.indexOf(K.key),~ce&&(w[ce]=K))}),ke(v,(K,ce)=>{w[ce]||(w[ce]={key:L[ce],item:K,phase:Vt.MOUNT,ctrl:new N6},w[ce].ctrl.item=K)}),N.length){let K=-1;const{leave:ce}=a?a():t;ke(N,(X,ne)=>{const Z=E[ne];~X?(K=w.indexOf(Z),w[K]=bt({},Z,{item:v[X]})):ce&&w.splice(++K,0,Z)})}ae.fun(s)&&w.sort((K,ce)=>s(K.item,ce.item));let O=-u;const B=H$(),se=Vf(t),ee=new Map,P=g.useRef(new Map),z=g.useRef(!1);ke(w,(K,ce)=>{const X=K.key,ne=K.phase,Z=a?a():t;let me,j,fe=nn(Z.delay||0,X);if(ne==Vt.MOUNT)me=Z.enter,j=Vt.ENTER;else{const le=L.indexOf(X)<0;if(ne!=Vt.LEAVE)if(le)me=Z.leave,j=Vt.LEAVE;else if(me=Z.update)j=Vt.UPDATE;else return;else if(!le)me=Z.enter,j=Vt.ENTER;else return}if(me=nn(me,K.item,ce),me=ae.obj(me)?Wf(me):{to:me},!me.config){const le=x||se.config;me.config=nn(le,K.item,ce,j)}O+=u;const q=bt({},se,{delay:fe+O,ref:m,immediate:Z.immediate,reset:!1},me);if(j==Vt.ENTER&&ae.und(q.from)){const le=a?a():t,Le=ae.und(le.initial)||E?le.from:le.initial;q.from=nn(Le,K.item,ce)}const{onResolve:ye}=q;q.onResolve=le=>{nn(ye,le);const Le=T.current,qe=Le.find(Ze=>Ze.key===X);if(qe&&!(le.cancelled&&qe.phase!=Vt.UPDATE)&&qe.ctrl.idle){const Ze=Le.every(it=>it.ctrl.idle);if(qe.phase==Vt.LEAVE){const it=nn(c,qe.item);if(it!==!1){const It=it===!0?0:it;if(qe.expired=!0,!Ze&&It>0){It<=2147483647&&(qe.expirationId=setTimeout(B,It));return}}}Ze&&Le.some(it=>it.expired)&&(P.current.delete(qe),f&&(z.current=!0),B())}};const xe=B6(K.ctrl,q);j===Vt.LEAVE&&f?P.current.set(K,{phase:j,springs:xe,payload:q}):ee.set(K,{phase:j,springs:xe,payload:q})});const H=g.useContext(_u),A=b6(H),ge=H!==A&&_6(H);Zi(()=>{ge&&ke(w,K=>{K.ctrl.start({default:H})})},[H]),ke(ee,(K,ce)=>{if(P.current.size){const X=w.findIndex(ne=>ne.key===ce.key);w.splice(X,1)}}),Zi(()=>{ke(P.current.size?P.current:ee,({phase:K,payload:ce},X)=>{const{ctrl:ne}=X;X.phase=K,b?.add(ne),ge&&K==Vt.ENTER&&ne.start({default:H}),ce&&(R6(ne,ce.ref),(ne.ref||b)&&!z.current?ne.update(ce):(ne.start(ce),z.current&&(z.current=!1)))})},o?void 0:n);const G=K=>ii.createElement(ii.Fragment,null,w.map((ce,X)=>{const{springs:ne}=ee.get(ce)||ce.ctrl,Z=K(bt({},ne),ce.item,ce,X);return Z&&Z.type?ii.createElement(Z.type,bt({},Z.props,{key:ae.str(ce.key)||ae.num(ce.key)?ce.key:ce.ctrl.id,ref:Z.ref})):Z}));return b?[G,b]:G}let H6=1;function G6(e,{key:t,keys:n=t},a){if(n===null){const o=new Set;return e.map(s=>{const u=a&&a.find(c=>c.item===s&&c.phase!==Vt.LEAVE&&!o.has(c));return u?(o.add(u),u.key):H6++})}return ae.und(n)?e:ae.fun(n)?e.map(n):Wt(n)}class q6 extends qf{constructor(t,n){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=fs(...n);const a=this._get(),o=jd(a);zf(this,o.create(a))}advance(t){const n=this._get(),a=this.get();Br(n,a)||(cr(this).setValue(n),this._onChange(n,this.idle)),!this.idle&&Eg(this._active)&&od(this)}_get(){const t=ae.arr(this.source)?this.source.map(tn):Wt(tn(this.source));return this.calc(...t)}_start(){this.idle&&!Eg(this._active)&&(this.idle=!1,ke(Tu(this),t=>{t.done=!1}),pr.skipAnimation?(Me.batchedUpdates(()=>this.advance()),od(this)):wu.start(this))}_attach(){let t=1;ke(Wt(this.source),n=>{Cn(n)&&uo(n,this),Hd(n)&&(n.idle||this._active.add(n),t=Math.max(t,n.priority+1))}),this.priority=t,this._start()}_detach(){ke(Wt(this.source),t=>{Cn(t)&&ps(t,this)}),this._active.clear(),od(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=Wt(this.source).reduce((n,a)=>Math.max(n,(Hd(a)?a.priority:0)+1),0))}}function Z6(e){return e.idle!==!1}function Eg(e){return!e.size||Array.from(e).every(Z6)}function od(e){e.idle||(e.idle=!0,ke(Tu(e),t=>{t.done=!0}),hs(e,{type:"idle",parent:e}))}pr.assign({createStringInterpolator:V$,to:(e,t)=>new q6(e,t)});function Yf(e,t){if(e==null)return{};var n={},a=Object.keys(e),o,s;for(s=0;s<a.length;s++)o=a[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}const Y6=["style","children","scrollTop","scrollLeft","viewBox"],o1=/^--/;function J6(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!o1.test(e)&&!(as.hasOwnProperty(e)&&as[e])?t+"px":(""+t).trim()}const _g={};function Q6(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",a=t,{style:o,children:s,scrollTop:u,scrollLeft:c,viewBox:f}=a,h=Yf(a,Y6),m=Object.values(h),x=Object.keys(h).map(b=>n||e.hasAttribute(b)?b:_g[b]||(_g[b]=b.replace(/([A-Z])/g,v=>"-"+v.toLowerCase())));s!==void 0&&(e.textContent=s);for(let b in o)if(o.hasOwnProperty(b)){const v=J6(b,o[b]);o1.test(b)?e.style.setProperty(b,v):e.style[b]=v}x.forEach((b,v)=>{e.setAttribute(b,m[v])}),u!==void 0&&(e.scrollTop=u),c!==void 0&&(e.scrollLeft=c),f!==void 0&&e.setAttribute("viewBox",f)}let as={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const X6=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),e8=["Webkit","Ms","Moz","O"];as=Object.keys(as).reduce((e,t)=>(e8.forEach(n=>e[X6(n,t)]=e[t]),e),as);const t8=["x","y","z"],n8=/^(matrix|translate|scale|rotate|skew)/,r8=/^(translate)/,a8=/^(rotate|skew)/,sd=(e,t)=>ae.num(e)&&e!==0?e+t:e,Il=(e,t)=>ae.arr(e)?e.every(n=>Il(n,t)):ae.num(e)?e===t:parseFloat(e)===t;class i8 extends Eu{constructor(t){let{x:n,y:a,z:o}=t,s=Yf(t,t8);const u=[],c=[];(n||a||o)&&(u.push([n||0,a||0,o||0]),c.push(f=>[`translate3d(${f.map(h=>sd(h,"px")).join(",")})`,Il(f,0)])),hr(s,(f,h)=>{if(h==="transform")u.push([f||""]),c.push(m=>[m,m===""]);else if(n8.test(h)){if(delete s[h],ae.und(f))return;const m=r8.test(h)?"px":a8.test(h)?"deg":"";u.push(Wt(f)),c.push(h==="rotate3d"?([x,b,v,w])=>[`rotate3d(${x},${b},${v},${sd(w,m)})`,Il(w,0)]:x=>[`${h}(${x.map(b=>sd(b,m)).join(",")})`,Il(x,h.startsWith("scale")?1:0)])}}),u.length&&(s.transform=new o8(u,c)),super(s)}}class o8 extends U${constructor(t,n){super(),this._value=null,this.inputs=t,this.transforms=n}get(){return this._value||(this._value=this._get())}_get(){let t="",n=!0;return ke(this.inputs,(a,o)=>{const s=tn(a[0]),[u,c]=this.transforms[o](ae.arr(s)?s:a.map(tn));t+=" "+u,n=n&&c}),n?"none":t}observerAdded(t){t==1&&ke(this.inputs,n=>ke(n,a=>Cn(a)&&uo(a,this)))}observerRemoved(t){t==0&&ke(this.inputs,n=>ke(n,a=>Cn(a)&&ps(a,this)))}eventObserved(t){t.type=="change"&&(this._value=null),hs(this,t)}}const s8=["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","head","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","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],l8=["scrollTop","scrollLeft"];pr.assign({batchedUpdates:Qd.unstable_batchedUpdates,createStringInterpolator:V$,colors:j4});const u8=D6(s8,{applyAnimatedValues:Q6,createAnimatedStyle:e=>new i8(e),getComponentProps:e=>Yf(e,l8)}),Jf=u8.animated,c8=({isVisible:e,children:t})=>Zf(e,{from:{opacity:0,translateX:"100%"},enter:{opacity:1,translateX:"0%"},leave:{opacity:0,translateX:"25%"}})((a,o)=>o&&F.jsx(Jf.div,{style:a,children:t})),d8="fixed",f8=({isVisible:e,children:t})=>Zf(e,{from:{opacity:0,position:d8,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1},leave:{opacity:0},config:Hf.stiff})((a,o)=>o&&F.jsx(Jf.div,{style:a,children:t})),h8="fixed",p8=({isVisible:e,children:t})=>Zf(e,{from:{opacity:0,scale:.75,position:h8,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1,scale:1},leave:{opacity:0,scale:.75},config:Hf.stiff})((a,o)=>o&&F.jsx(Jf.div,{style:a,children:t})),m8=e=>{const{children:t}=e,n=g.useRef(null),{overlayProps:a,underlayProps:o}=Tf(e,n),{modalProps:s}=My(),{dialogProps:u}=Rf(e,n);return F.jsx("div",{...o,children:F.jsx(sf,{contain:!0,restoreFocus:!0,autoFocus:!0,children:F.jsx("div",{...a,...u,...s,ref:n,children:t})})})},Qf=e=>{const[t,n]=g.useState(!1),{children:a,state:o,onCloseCallBack:s,transitionComponent:u=p8}=e,c=g.useCallback(()=>{o.close(),s?.()},[o.close,s]);return g.useEffect(()=>{!o.isOpen&&t||n(!0)},[o.isOpen]),t?F.jsx(Cy,{children:F.jsx(u,{isVisible:o.isOpen,children:F.jsx(m8,{isOpen:o.isOpen,onClose:c,isDismissable:!0,children:a})})}):null},g8=e=>{const{children:t,closeBtnRender:n,themeName:a="sidePanel",tokens:o,customTheme:s}=e,u=Te(`${a}.wrapper`,o,s),c=Te(`${a}.container`,o,s),f=Te(`${a}.innerContainer`,o,s),{overlayState:h}=C$();return F.jsx(Qf,{state:h,transitionComponent:f8,children:F.jsxs(_$,{className:u,children:[n&&n(),F.jsx(c8,{isVisible:h.isOpen,children:F.jsx("div",{className:c,children:F.jsx("div",{className:f,children:t})})})]})})},b8=g.memo(g8),y8=e=>{const{children:t,thumbnailContent:n,isOpen:a,onOpenCallBack:o,onCloseCallBack:s,label:u,themeName:c="lightBox",tokens:f,customTheme:h}=e,{state:m,openButtonRef:x,openButtonProps:b,closeButtonProps:v,closeButtonRef:w}=A$(a,o,s),T=Te(`${c}.container`,f,h);return F.jsxs("div",{children:[F.jsxs("div",{ref:x,...b,...a?{tabIndex:-1}:{},children:[u&&F.jsx(Hr,{themeName:`${c}.label`,tokens:{size:"footnotes"},children:u}),n]}),F.jsx(Qf,{onCloseCallBack:s,state:m,children:F.jsxs("div",{children:[F.jsx(vu,{themeName:`${c}.closeBtn`,type:"button",...v,ref:w,children:F.jsx(qr,{icon:"CloseBtn"})}),F.jsx("div",{className:T,children:t})]})})]})};function ld(e,t,n){return t!=null&&e.compare(t)<0||n!=null&&e.compare(n)>0}function Rg(e,t,n,a,o){let s={};for(let c in t)s[c]=Math.floor(t[c]/2),s[c]>0&&t[c]%2===0&&s[c]--;let u=ai(e,t,n).subtract(s);return ys(e,u,t,n,a,o)}function ai(e,t,n,a,o){let s=e;return t.years?s=FE(e):t.months?s=Ps(e):t.weeks&&(s=ss(e,n)),ys(e,s,t,n,a,o)}function Zd(e,t,n,a,o){let s={...t};t.days?s.days--:t.weeks?s.weeks--:t.months?s.months--:t.years&&s.years--;let u=ai(e,t,n).subtract(s);return ys(e,u,t,n,a,o)}function ys(e,t,n,a,o,s){return o&&e.compare(o)>=0&&(t=$b(t,ai(fr(o),n,a))),s&&e.compare(s)<=0&&(t=vb(t,Zd(fr(s),n,a))),t}function Qa(e,t,n){return t&&(e=$b(e,fr(t))),n&&(e=vb(e,fr(n))),e}function v8(e,t,n){if(!n)return e;for(;e.compare(t)>=0&&n(e);)e=e.subtract({days:1});if(e.compare(t)>=0)return e}function $8(e){let t=g.useMemo(()=>new Qi(e.locale),[e.locale]),n=g.useMemo(()=>t.resolvedOptions(),[t]),{locale:a,createCalendar:o,visibleDuration:s={months:1},minValue:u,maxValue:c,selectionAlignment:f,isDateUnavailable:h,pageBehavior:m="visible"}=e,x=g.useMemo(()=>o(n.calendar),[o,n.calendar]),[b,v]=wa(e.value,e.defaultValue,e.onChange),w=g.useMemo(()=>b?dt(fr(b),x):null,[b,x]),T=g.useMemo(()=>b&&"timeZone"in b?b.timeZone:n.timeZone,[b,n.timeZone]),E=g.useMemo(()=>e.focusedValue?Qa(dt(fr(e.focusedValue),x),u,c):void 0,[e.focusedValue,x,u,c]),L=g.useMemo(()=>Qa(e.defaultFocusedValue?dt(fr(e.defaultFocusedValue),x):w||dt(pf(T),x),u,c),[e.defaultFocusedValue,w,T,x,u,c]),[C,N]=wa(E,L,e.onFocusChange),[O,B]=g.useState(()=>{switch(f){case"start":return ai(C,s,a,u,c);case"end":return Zd(C,s,a,u,c);case"center":default:return Rg(C,s,a,u,c)}}),[se,ee]=g.useState(e.autoFocus||!1),P=g.useMemo(()=>{let X={...s};return X.days?X.days--:X.days=-1,O.add(X)},[O,s]),[z,H]=g.useState(x.identifier);if(x.identifier!==z){let X=dt(C,x);B(Rg(X,s,a,u,c)),N(X),H(x.identifier)}ld(C,u,c)?N(Qa(C,u,c)):C.compare(O)<0?B(Zd(C,s,a,u,c)):C.compare(P)>0&&B(ai(C,s,a,u,c));function A(X){X=Qa(X,u,c),N(X)}function ge(X){if(!e.isDisabled&&!e.isReadOnly){if(X=Qa(X,u,c),X=v8(X,O,h),!X)return;X=dt(X,b?.calendar||new mn),b&&"hour"in b?v(b.set(X)):v(X)}}let G=g.useMemo(()=>w?h&&h(w)?!0:ld(w,u,c):!1,[w,h,u,c]),K=e.validationState||(G?"invalid":null),ce=g.useMemo(()=>m==="visible"?s:ud(s),[m,s]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:w,setValue:ge,visibleRange:{start:O,end:P},minValue:u,maxValue:c,focusedDate:C,timeZone:T,validationState:K,setFocusedDate(X){A(X),ee(!0)},focusNextDay(){A(C.add({days:1}))},focusPreviousDay(){A(C.subtract({days:1}))},focusNextRow(){s.days?this.focusNextPage():(s.weeks||s.months||s.years)&&A(C.add({weeks:1}))},focusPreviousRow(){s.days?this.focusPreviousPage():(s.weeks||s.months||s.years)&&A(C.subtract({weeks:1}))},focusNextPage(){let X=O.add(ce);N(Qa(C.add(ce),u,c)),B(ai(ys(C,X,ce,a,u,c),ce,a))},focusPreviousPage(){let X=O.subtract(ce);N(Qa(C.subtract(ce),u,c)),B(ai(ys(C,X,ce,a,u,c),ce,a))},focusSectionStart(){s.days?A(O):s.weeks?A(ss(C,a)):(s.months||s.years)&&A(Ps(C))},focusSectionEnd(){s.days?A(P):s.weeks?A(BE(C,a)):(s.months||s.years)&&A(Pd(C))},focusNextSection(X){if(!X&&!s.days){A(C.add(ud(s)));return}s.days?this.focusNextPage():s.weeks?A(C.add({months:1})):(s.months||s.years)&&A(C.add({years:1}))},focusPreviousSection(X){if(!X&&!s.days){A(C.subtract(ud(s)));return}s.days?this.focusPreviousPage():s.weeks?A(C.subtract({months:1})):(s.months||s.years)&&A(C.subtract({years:1}))},selectFocusedDate(){ge(C)},selectDate(X){ge(X)},isFocused:se,setFocused:ee,isInvalid(X){return ld(X,u,c)},isSelected(X){return w!=null&&xt(X,w)&&!this.isCellDisabled(X)&&!this.isCellUnavailable(X)},isCellFocused(X){return se&&C&&xt(X,C)},isCellDisabled(X){return e.isDisabled||X.compare(O)<0||X.compare(P)>0||this.isInvalid(X,u,c)},isCellUnavailable(X){return e.isDateUnavailable&&e.isDateUnavailable(X)},isPreviousVisibleRangeInvalid(){let X=O.subtract({days:1});return xt(X,O)||this.isInvalid(X,u,c)},isNextVisibleRangeInvalid(){let X=P.add({days:1});return xt(X,P)||this.isInvalid(X,u,c)},getDatesInWeek(X,ne=O){let Z=ne.add({weeks:X}),me=[];Z=ss(Z,a);let j=pu(Z,a);for(let fe=0;fe<j;fe++)me.push(null);for(;me.length<7;){me.push(Z);let fe=Z.add({days:1});if(xt(Z,fe))break;Z=fe}for(;me.length<7;)me.push(null);return me}}}function ud(e){let t={...e};for(let n in e)t[n]=1;return t}class qn extends Set{constructor(t,n,a){super(t),t instanceof qn?(this.anchorKey=n||t.anchorKey,this.currentKey=a||t.currentKey):(this.anchorKey=n,this.currentKey=a)}}function x8(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function w8(e){let{selectionMode:t="none",disallowEmptySelection:n,allowDuplicateSelectionEvents:a,selectionBehavior:o="toggle",disabledBehavior:s="all"}=e,u=g.useRef(!1),[,c]=g.useState(!1),f=g.useRef(null),h=g.useRef(null),[,m]=g.useState(null),x=g.useMemo(()=>Ag(e.selectedKeys),[e.selectedKeys]),b=g.useMemo(()=>Ag(e.defaultSelectedKeys,new qn),[e.defaultSelectedKeys]),[v,w]=wa(x,b,e.onSelectionChange),T=g.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[E,L]=g.useState(o);o==="replace"&&E==="toggle"&&typeof v=="object"&&v.size===0&&L("replace");let C=g.useRef(o);return g.useEffect(()=>{o!==C.current&&(L(o),C.current=o)},[o]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:E,setSelectionBehavior:L,get isFocused(){return u.current},setFocused(N){u.current=N,c(N)},get focusedKey(){return f.current},get childFocusStrategy(){return h.current},setFocusedKey(N,O="first"){f.current=N,h.current=O,m(N)},selectedKeys:v,setSelectedKeys(N){(a||!x8(N,v))&&w(N)},disabledKeys:T,disabledBehavior:s}}function Ag(e,t){return e?e==="all"?"all":new qn(e):t}class D8{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){return this.state.selectionMode==="none"?!1:(t=this.getKey(t),this.state.selectedKeys==="all"?this.canSelectItem(t):this.state.selectedKeys.has(t))}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(a=>n.has(a)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let a=this.collection.getItem(n);(!t||a&&Xc(this.collection,a,t)<0)&&(t=a)}return t?.key}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let a=this.collection.getItem(n);(!t||a&&Xc(this.collection,a,t)>0)&&(t=a)}return t?.key}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}t=this.getKey(t);let n;if(this.state.selectedKeys==="all")n=new qn([t],t,t);else{let a=this.state.selectedKeys,o=a.anchorKey||t;n=new qn(a,o,t);for(let s of this.getKeyRange(o,a.currentKey||t))n.delete(s);for(let s of this.getKeyRange(t,o))this.canSelectItem(s)&&n.add(s)}this.state.setSelectedKeys(n)}getKeyRange(t,n){let a=this.collection.getItem(t),o=this.collection.getItem(n);return a&&o?Xc(this.collection,a,o)<=0?this.getKeyRangeInternal(t,n):this.getKeyRangeInternal(n,t):[]}getKeyRangeInternal(t,n){let a=[],o=t;for(;o;){let s=this.collection.getItem(o);if((s&&s.type==="item"||s.type==="cell"&&this.allowsCellSelection)&&a.push(o),o===n)return a;o=this.collection.getKeyAfter(o)}return[]}getKey(t){let n=this.collection.getItem(t);if(!n||n.type==="cell"&&this.allowsCellSelection)return t;for(;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}if(t=this.getKey(t),t==null)return;let n=new qn(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none"||(t=this.getKey(t),t==null))return;let n=this.canSelectItem(t)?new qn([t],t,t):new qn;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new qn;for(let a of t)if(a=this.getKey(a),a!=null&&(n.add(a),this.selectionMode==="single"))break;this.state.setSelectedKeys(n)}getSelectAllKeys(){let t=[],n=a=>{for(;a;){if(this.canSelectItem(a)){let o=this.collection.getItem(a);o.type==="item"&&t.push(a),o.hasChildNodes&&(this.allowsCellSelection||o.type!=="item")&&n(I7(vv(o,this.collection)).key)}a=this.collection.getKeyAfter(a)}};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 qn)}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 a of t)if(!n.has(a))return!1;for(let a of n)if(!t.has(a))return!1;return!0}canSelectItem(t){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){return this.state.disabledKeys.has(t)&&this.state.disabledBehavior==="all"}constructor(t,n,a){this.collection=t,this.state=n;var o;this.allowsCellSelection=(o=a?.allowsCellSelection)!==null&&o!==void 0?o:!1,this._isSelectAll=null}}class Cg{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);return n?n.prevKey:null}getKeyAfter(t){let n=this.keyMap.get(t);return n?n.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)}at(t){const n=[...this.getKeys()];return this.getItem(n[t])}getChildren(t){let n=this.keyMap.get(t);return n?.childNodes||[]}constructor(t){this.keyMap=new Map,this.iterable=t;let n=s=>{if(this.keyMap.set(s.key,s),s.childNodes&&s.type==="section")for(let u of s.childNodes)n(u)};for(let s of t)n(s);let a,o=0;for(let[s,u]of this.keyMap)a?(a.nextKey=s,u.prevKey=a.key):(this.firstKey=s,u.prevKey=void 0),u.type==="item"&&(u.index=o++),a=u,a.nextKey=void 0;this.lastKey=a?.key}}function P8(e){let{filter:t}=e,n=w8(e),a=g.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=g.useCallback(h=>t?new Cg(t(h)):new Cg(h),[t]),s=g.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),u=M7(e,o,s),c=g.useMemo(()=>new D8(u,n),[u,n]);const f=g.useRef(null);return g.useEffect(()=>{if(n.focusedKey!=null&&!u.getItem(n.focusedKey)){const h=f.current.getItem(n.focusedKey),m=[...f.current.getKeys()].map(T=>{const E=f.current.getItem(T);return E.type==="item"?E:null}).filter(T=>T!==null),x=[...u.getKeys()].map(T=>{const E=u.getItem(T);return E.type==="item"?E:null}).filter(T=>T!==null),b=m.length-x.length;let v=Math.min(b>1?Math.max(h.index-b+1,0):h.index,x.length-1),w;for(;v>=0;){if(!c.isDisabled(x[v].key)){w=x[v];break}v<x.length-1?v++:(v>h.index&&(v=h.index),v--)}n.setFocusedKey(w?w.key:null)}f.current=u},[u,c,n,n.focusedKey]),{collection:u,disabledKeys:a,selectionManager:c}}function S8(e){var t;let[n,a]=wa(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),o=g.useMemo(()=>n!=null?[n]:[],[n]),{collection:s,disabledKeys:u,selectionManager:c}=P8({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:h=>{let m=h.values().next().value;m===n&&e.onSelectionChange&&e.onSelectionChange(m),a(m)}}),f=n!=null?s.getItem(n):null;return{collection:s,disabledKeys:u,selectionManager:c,selectedKey:n,setSelectedKey:a,selectedItem:f}}function T8(e){let t=$u(e),[n,a]=g.useState(null);return{focusStrategy:n,...t,open(o=null){a(o),t.open()},toggle(o=null){a(o),t.toggle()}}}function s1(e,t,n){return e!=null&&(t!=null&&e.compare(t)<0||n!=null&&e.compare(n)>0)}const E8={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},_8={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Yd(e,t){e={...t.shouldForceLeadingZeros?_8:E8,...e};let a=t.granularity||"minute",o=Object.keys(e);var s;let u=o.indexOf((s=t.maxGranularity)!==null&&s!==void 0?s:"year");u<0&&(u=0);let c=o.indexOf(a);if(c<0&&(c=2),u>c)throw new Error("maxGranularity must be greater than granularity");let f=o.slice(u,c+1).reduce((m,x)=>(m[x]=e[x],m),{});return t.hourCycle!=null&&(f.hour12=t.hourCycle===12),f.timeZone=t.timeZone||"UTC",(a==="hour"||a==="minute"||a==="second")&&t.timeZone&&!t.hideTimeZone&&(f.timeZoneName="short"),t.showEra&&u===0&&(f.era="short"),f}function Mg(e){return e&&"hour"in e?e:new $f}function l1(e,t){if(e===null)return null;if(e)return dt(e,t)}function Wo(e,t,n,a){if(e)return l1(e,n);let o=dt(mb(a).set({hour:0,minute:0,second:0,millisecond:0}),n);return t==="year"||t==="month"||t==="day"?fr(o):a?o:Da(o)}function u1(e,t){let n=e&&"timeZone"in e?e.timeZone:void 0,a=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[o,s]=g.useState([a,n]);e&&(o[0]!==a||o[1]!==n)&&s([a,n]),t||(t=e?a:o[0]);let u=e?n:o[1];return[t,u]}function R8(e){var t;let n=$u(e),[a,o]=wa(e.value,e.defaultValue||null,e.onChange),s=a||e.placeholderValue,[u,c]=u1(s,e.granularity),f=a!=null?a.toDate(c??"UTC"):null,h=u==="hour"||u==="minute"||u==="second";var m;let x=(m=e.shouldCloseOnSelect)!==null&&m!==void 0?m:!0,[b,v]=g.useState(null),[w,T]=g.useState(null);if(a&&(b=a,"hour"in a&&(w=a)),s&&!(u in s))throw new Error("Invalid granularity "+u+" for value "+s.toString());let E=(O,B)=>{o("timeZone"in B?B.set(fr(O)):Da(O,B)),v(null),T(null)},L=O=>{let B=typeof x=="function"?x():x;h?w||B?E(O,w||Mg(e.placeholderValue)):v(O):o(O),B&&n.setOpen(!1)},C=O=>{b&&O?E(b,O):T(O)},N=e.validationState||(s1(a,e.minValue,e.maxValue)?"invalid":null)||(a&&(!((t=e.isDateUnavailable)===null||t===void 0)&&t.call(e,a))?"invalid":null);return{value:a,setValue:o,dateValue:b,timeValue:w,setDateValue:L,setTimeValue:C,granularity:u,hasTime:h,...n,setOpen(O){!O&&!a&&b&&h&&E(b,w||Mg(e.placeholderValue)),n.setOpen(O)},validationState:N,formatValue(O,B){if(!f)return"";let se=Yd(B,{granularity:u,timeZone:c,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:a.calendar.identifier==="gregory"&&a.era==="BC"});return new Qi(O,se).format(f)}}}const A8=new hf({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 C8(e,t,n){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?A8.getStringForLocale(e,n):"––"}const Tl={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Ig={year:5,month:2,day:7,hour:2,minute:15,second:15},M8={dayperiod:"dayPeriod"};function I8(e){let{locale:t,createCalendar:n,hideTimeZone:a,isDisabled:o,isReadOnly:s,isRequired:u}=e,c=e.value||e.defaultValue||e.placeholderValue,[f,h]=u1(c,e.granularity),m=h||"UTC";if(c&&!(f in c))throw new Error("Invalid granularity "+f+" for value "+c.toString());let x=g.useMemo(()=>new Qi(t),[t]),b=g.useMemo(()=>n(x.resolvedOptions().calendar),[n,x]),[v,w]=wa(e.value,e.defaultValue,e.onChange),T=g.useMemo(()=>l1(v,b),[v,b]),[E,L]=g.useState(()=>Wo(e.placeholderValue,f,b,h)),C=T||E,N=b.identifier==="gregory"&&C.era==="BC";var O;let B=g.useMemo(()=>({granularity:f,maxGranularity:(O=e.maxGranularity)!==null&&O!==void 0?O:"year",timeZone:h,hideTimeZone:a,hourCycle:e.hourCycle,showEra:N,shouldForceLeadingZeros:e.shouldForceLeadingZeros}),[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,h,a,N]),se=g.useMemo(()=>Yd({},B),[B]),ee=g.useMemo(()=>new Qi(t,se),[t,se]),P=g.useMemo(()=>ee.resolvedOptions(),[ee]),z=g.useMemo(()=>ee.formatToParts(new Date).filter(q=>Tl[q.type]).reduce((q,ye)=>(q[ye.type]=!0,q),{}),[ee]),[H,A]=g.useState(()=>e.value||e.defaultValue?{...z}:{}),ge=g.useRef(),G=g.useRef(b.identifier);g.useEffect(()=>{b.identifier!==G.current&&(G.current=b.identifier,L(q=>Object.keys(H).length>0?dt(q,b):Wo(e.placeholderValue,f,b,h)))},[b,f,H,h,e.placeholderValue]),v&&Object.keys(H).length<Object.keys(z).length&&(H={...z},A(H)),v==null&&Object.keys(H).length===Object.keys(z).length&&(H={},A(H),L(Wo(e.placeholderValue,f,b,h)));let K=T&&Object.keys(H).length>=Object.keys(z).length?T:E,ce=q=>{if(e.isDisabled||e.isReadOnly)return;let ye=Object.keys(H),xe=Object.keys(z);q==null?(w(null),L(Wo(e.placeholderValue,f,b,h)),A({})):ye.length>=xe.length||ye.length===xe.length-1&&z.dayPeriod&&!H.dayPeriod&&ge.current!=="dayPeriod"?(q=dt(q,c?.calendar||new mn),w(q)):L(q),ge.current=null},X=g.useMemo(()=>K.toDate(m),[K,m]),ne=g.useMemo(()=>ee.formatToParts(X).map(q=>{let ye=Tl[q.type];q.type==="era"&&b.getEras().length===1&&(ye=!1);let xe=Tl[q.type]&&!H[q.type],le=Tl[q.type]?C8(q.type,q.value,t):null;return{type:M8[q.type]||q.type,text:xe?le:q.value,...k8(K,q.type,P),isPlaceholder:xe,placeholder:le,isEditable:ye}}),[X,H,ee,P,K,b,t]);z.era&&H.year&&!H.era?(H.era=!0,A({...H})):!z.era&&H.era&&(delete H.era,A({...H}));let Z=q=>{H[q]=!0,q==="year"&&z.era&&(H.era=!0),A({...H})},me=(q,ye)=>{if(H[q])ce(O8(K,q,ye,P));else{Z(q);let xe=Object.keys(H),le=Object.keys(z);(xe.length>=le.length||xe.length===le.length-1&&z.dayPeriod&&!H.dayPeriod)&&ce(K)}},j=e.validationState||(s1(T,e.minValue,e.maxValue)?"invalid":null);var fe;return{value:T,dateValue:X,calendar:b,setValue:ce,segments:ne,dateFormatter:ee,validationState:j,granularity:f,maxGranularity:(fe=e.maxGranularity)!==null&&fe!==void 0?fe:"year",isDisabled:o,isReadOnly:s,isRequired:u,increment(q){me(q,1)},decrement(q){me(q,-1)},incrementPage(q){me(q,Ig[q]||1)},decrementPage(q){me(q,-(Ig[q]||1))},setSegment(q,ye){Z(q),ce(L8(K,q,ye,P))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let q=Object.keys(H),ye=Object.keys(z);q.length===ye.length-1&&z.dayPeriod&&!H.dayPeriod&&(H={...z},A(H),ce(K.copy()))},clearSegment(q){delete H[q],ge.current=q,A({...H});let ye=Wo(e.placeholderValue,f,b,h),xe=K;if(q==="dayPeriod"&&"hour"in K&&"hour"in ye){let le=K.hour>=12,Le=ye.hour>=12;le&&!Le?xe=K.set({hour:K.hour-12}):!le&&Le&&(xe=K.set({hour:K.hour+12}))}else q in K&&(xe=K.set({[q]:ye[q]}));w(null),ce(xe)},formatValue(q){if(!T)return"";let ye=Yd(q,B);return new Qi(t,ye).format(X)}}}function k8(e,t,n){switch(t){case"era":{let a=e.calendar.getEras();return{value:a.indexOf(e.era),minValue:0,maxValue:a.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:NE(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:KE(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 a=e.hour>=12;return{value:e.hour,minValue:a?12:0,maxValue:a?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 O8(e,t,n,a){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 o=e.hour,s=o>=12;return e.set({hour:s?o-12:o+12})}case"hour":case"minute":case"second":return e.cycle(t,n,{round:t!=="hour",hourCycle:a.hour12?12:24})}}function L8(e,t,n,a){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:n})}if("hour"in e)switch(t){case"dayPeriod":{let o=e.hour,s=o>=12;return n>=12===s?e:e.set({hour:s?o-12:o+12})}case"hour":if(a.hour12){let s=e.hour>=12;!s&&n===12&&(n=0),s&&n<12&&(n+=12)}case"minute":case"second":return e.set({[t]:n})}}function F8(e){let t=T8(e),n=S8({...e,onSelectionChange:s=>{e.onSelectionChange!=null&&e.onSelectionChange(s),t.close()}}),[a,o]=g.useState(!1);return{...n,...t,open(){n.collection.size!==0&&t.open()},toggle(s){n.collection.size!==0&&t.toggle(s)},isFocused:a,setFocused:o}}const N8=g.forwardRef((e,t)=>{const{isOpen:n,onClose:a,children:o,style:s}=e,{overlayProps:u}=Tf({isOpen:n,onClose:a,shouldCloseOnBlur:!1,isDismissable:!1},t),{modalProps:c}=My(),{dialogProps:f}=Rf({},t);return F.jsx(sf,{contain:!0,restoreFocus:!0,children:F.jsxs("div",{...w$(u,c,f),ref:t,style:{background:"white",color:"black",padding:30,...s},children:[o,F.jsx(ds,{onDismiss:a})]})})});function K8({children:e,buttonProps:t,placement:n="right",offset:a=5}){const o=$u({}),s=g.useRef(null),u=g.useRef(null),{triggerProps:c,overlayProps:f}=Ay({type:"dialog"},o,s),{overlayProps:h}=Ry({targetRef:s,overlayRef:u,placement:n,offset:a,isOpen:o.isOpen}),{onPress:m,...x}=c;return F.jsxs(F.Fragment,{children:[F.jsx(vu,{handlePress:m,...t,...x,ref:s,children:"Open Popover"}),o.isOpen&&F.jsx(Cy,{children:F.jsx(N8,{...f,...h,ref:u,isOpen:o.isOpen,onClose:o.close,children:e})})]})}var dr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function c1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cd={exports:{}};/*! @license DOMPurify 2.4.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.5/LICENSE */var kg;function Og(){return kg||(kg=1,function(e,t){(function(n,a){e.exports=a()})(dr,function(){function n(ie){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ue){return typeof ue}:function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue},n(ie)}function a(ie,ue){return a=Object.setPrototypeOf||function(De,Ye){return De.__proto__=Ye,De},a(ie,ue)}function o(){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 s(ie,ue,ve){return o()?s=Reflect.construct:s=function(Ye,At,Bt){var Ct=[null];Ct.push.apply(Ct,At);var Gt=Function.bind.apply(Ye,Ct),gn=new Gt;return Bt&&a(gn,Bt.prototype),gn},s.apply(null,arguments)}function u(ie){return c(ie)||f(ie)||h(ie)||x()}function c(ie){if(Array.isArray(ie))return m(ie)}function f(ie){if(typeof Symbol<"u"&&ie[Symbol.iterator]!=null||ie["@@iterator"]!=null)return Array.from(ie)}function h(ie,ue){if(ie){if(typeof ie=="string")return m(ie,ue);var ve=Object.prototype.toString.call(ie).slice(8,-1);if(ve==="Object"&&ie.constructor&&(ve=ie.constructor.name),ve==="Map"||ve==="Set")return Array.from(ie);if(ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ve))return m(ie,ue)}}function m(ie,ue){(ue==null||ue>ie.length)&&(ue=ie.length);for(var ve=0,De=new Array(ue);ve<ue;ve++)De[ve]=ie[ve];return De}function x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
47
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b=Object.hasOwnProperty,v=Object.setPrototypeOf,w=Object.isFrozen,T=Object.getPrototypeOf,E=Object.getOwnPropertyDescriptor,L=Object.freeze,C=Object.seal,N=Object.create,O=typeof Reflect<"u"&&Reflect,B=O.apply,se=O.construct;B||(B=function(ue,ve,De){return ue.apply(ve,De)}),L||(L=function(ue){return ue}),C||(C=function(ue){return ue}),se||(se=function(ue,ve){return s(ue,u(ve))});var ee=Z(Array.prototype.forEach),P=Z(Array.prototype.pop),z=Z(Array.prototype.push),H=Z(String.prototype.toLowerCase),A=Z(String.prototype.toString),ge=Z(String.prototype.match),G=Z(String.prototype.replace),K=Z(String.prototype.indexOf),ce=Z(String.prototype.trim),X=Z(RegExp.prototype.test),ne=me(TypeError);function Z(ie){return function(ue){for(var ve=arguments.length,De=new Array(ve>1?ve-1:0),Ye=1;Ye<ve;Ye++)De[Ye-1]=arguments[Ye];return B(ie,ue,De)}}function me(ie){return function(){for(var ue=arguments.length,ve=new Array(ue),De=0;De<ue;De++)ve[De]=arguments[De];return se(ie,ve)}}function j(ie,ue,ve){ve=ve||H,v&&v(ie,null);for(var De=ue.length;De--;){var Ye=ue[De];if(typeof Ye=="string"){var At=ve(Ye);At!==Ye&&(w(ue)||(ue[De]=At),Ye=At)}ie[Ye]=!0}return ie}function fe(ie){var ue=N(null),ve;for(ve in ie)B(b,ie,[ve])===!0&&(ue[ve]=ie[ve]);return ue}function q(ie,ue){for(;ie!==null;){var ve=E(ie,ue);if(ve){if(ve.get)return Z(ve.get);if(typeof ve.value=="function")return Z(ve.value)}ie=T(ie)}function De(Ye){return console.warn("fallback value for",Ye),null}return De}var ye=L(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),xe=L(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),le=L(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Le=L(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),qe=L(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Ze=L(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),it=L(["#text"]),It=L(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Ht=L(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),sn=L(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Xn=L(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),kt=C(/\{\{[\w\W]*|[\w\W]*\}\}/gm),gr=C(/<%[\w\W]*|[\w\W]*%>/gm),fo=C(/\${[\w\W]*}/gm),ln=C(/^data-[\-\w.\u00B7-\uFFFF]/),pi=C(/^aria-[\-\w]+$/),ho=C(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),br=C(/^(?:\w+script|data):/i),Kt=C(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),yr=C(/^html$/i),Yr=function(){return typeof window>"u"?null:window},po=function(ue,ve){if(n(ue)!=="object"||typeof ue.createPolicy!="function")return null;var De=null,Ye="data-tt-policy-suffix";ve.currentScript&&ve.currentScript.hasAttribute(Ye)&&(De=ve.currentScript.getAttribute(Ye));var At="dompurify"+(De?"#"+De:"");try{return ue.createPolicy(At,{createHTML:function(Ct){return Ct},createScriptURL:function(Ct){return Ct}})}catch{return console.warn("TrustedTypes policy "+At+" could not be created."),null}};function er(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Yr(),ue=function(R){return er(R)};if(ue.version="2.4.5",ue.removed=[],!ie||!ie.document||ie.document.nodeType!==9)return ue.isSupported=!1,ue;var ve=ie.document,De=ie.document,Ye=ie.DocumentFragment,At=ie.HTMLTemplateElement,Bt=ie.Node,Ct=ie.Element,Gt=ie.NodeFilter,gn=ie.NamedNodeMap,Jr=gn===void 0?ie.NamedNodeMap||ie.MozNamedAttrMap:gn,go=ie.HTMLFormElement,kn=ie.DOMParser,vr=ie.trustedTypes,$r=Ct.prototype,mi=q($r,"cloneNode"),Pa=q($r,"nextSibling"),xr=q($r,"childNodes"),wr=q($r,"parentNode");if(typeof At=="function"){var Dr=De.createElement("template");Dr.content&&Dr.content.ownerDocument&&(De=Dr.content.ownerDocument)}var Tt=po(vr,ve),On=Tt?Tt.createHTML(""):"",Qr=De,Sa=Qr.implementation,Ta=Qr.createNodeIterator,bo=Qr.createDocumentFragment,Ea=Qr.getElementsByTagName,gi=ve.importNode,Xr={};try{Xr=fe(De).documentMode?De.documentMode:{}}catch{}var yt={};ue.isSupported=typeof wr=="function"&&Sa&&typeof Sa.createHTMLDocument<"u"&&Xr!==9;var _a=kt,Ra=gr,Aa=fo,yo=ln,vo=pi,qt=br,bi=Kt,Ca=ho,lt=null,yi=j({},[].concat(u(ye),u(xe),u(le),u(qe),u(it))),ut=null,bn=j({},[].concat(u(It),u(Ht),u(sn),u(Xn))),et=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Pr=null,tr=null,vi=!0,Ma=!0,Sr=!1,Ia=!0,Ln=!1,Dt=!1,ka=!1,Oa=!1,nr=!1,ea=!1,Tr=!1,La=!0,rr=!1,Fa="user-content-",Fn=!0,Nn=!1,Zt={},Kn=null,$i=j({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Na=null,Ka=j({},["audio","video","img","source","image","track"]),ar=null,xi=j({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Er="http://www.w3.org/1998/Math/MathML",Bn="http://www.w3.org/2000/svg",Et="http://www.w3.org/1999/xhtml",vt=Et,ta=!1,na=null,yn=j({},[Er,Bn,Et],A),vn,wi=["application/xhtml+xml","text/html"],Di="text/html",ot,ir=null,Un=De.createElement("form"),Ba=function(R){return R instanceof RegExp||R instanceof Function},ra=function(R){ir&&ir===R||((!R||n(R)!=="object")&&(R={}),R=fe(R),vn=wi.indexOf(R.PARSER_MEDIA_TYPE)===-1?vn=Di:vn=R.PARSER_MEDIA_TYPE,ot=vn==="application/xhtml+xml"?A:H,lt="ALLOWED_TAGS"in R?j({},R.ALLOWED_TAGS,ot):yi,ut="ALLOWED_ATTR"in R?j({},R.ALLOWED_ATTR,ot):bn,na="ALLOWED_NAMESPACES"in R?j({},R.ALLOWED_NAMESPACES,A):yn,ar="ADD_URI_SAFE_ATTR"in R?j(fe(xi),R.ADD_URI_SAFE_ATTR,ot):xi,Na="ADD_DATA_URI_TAGS"in R?j(fe(Ka),R.ADD_DATA_URI_TAGS,ot):Ka,Kn="FORBID_CONTENTS"in R?j({},R.FORBID_CONTENTS,ot):$i,Pr="FORBID_TAGS"in R?j({},R.FORBID_TAGS,ot):{},tr="FORBID_ATTR"in R?j({},R.FORBID_ATTR,ot):{},Zt="USE_PROFILES"in R?R.USE_PROFILES:!1,vi=R.ALLOW_ARIA_ATTR!==!1,Ma=R.ALLOW_DATA_ATTR!==!1,Sr=R.ALLOW_UNKNOWN_PROTOCOLS||!1,Ia=R.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ln=R.SAFE_FOR_TEMPLATES||!1,Dt=R.WHOLE_DOCUMENT||!1,nr=R.RETURN_DOM||!1,ea=R.RETURN_DOM_FRAGMENT||!1,Tr=R.RETURN_TRUSTED_TYPE||!1,Oa=R.FORCE_BODY||!1,La=R.SANITIZE_DOM!==!1,rr=R.SANITIZE_NAMED_PROPS||!1,Fn=R.KEEP_CONTENT!==!1,Nn=R.IN_PLACE||!1,Ca=R.ALLOWED_URI_REGEXP||Ca,vt=R.NAMESPACE||Et,et=R.CUSTOM_ELEMENT_HANDLING||{},R.CUSTOM_ELEMENT_HANDLING&&Ba(R.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(et.tagNameCheck=R.CUSTOM_ELEMENT_HANDLING.tagNameCheck),R.CUSTOM_ELEMENT_HANDLING&&Ba(R.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(et.attributeNameCheck=R.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),R.CUSTOM_ELEMENT_HANDLING&&typeof R.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(et.allowCustomizedBuiltInElements=R.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ln&&(Ma=!1),ea&&(nr=!0),Zt&&(lt=j({},u(it)),ut=[],Zt.html===!0&&(j(lt,ye),j(ut,It)),Zt.svg===!0&&(j(lt,xe),j(ut,Ht),j(ut,Xn)),Zt.svgFilters===!0&&(j(lt,le),j(ut,Ht),j(ut,Xn)),Zt.mathMl===!0&&(j(lt,qe),j(ut,sn),j(ut,Xn))),R.ADD_TAGS&&(lt===yi&&(lt=fe(lt)),j(lt,R.ADD_TAGS,ot)),R.ADD_ATTR&&(ut===bn&&(ut=fe(ut)),j(ut,R.ADD_ATTR,ot)),R.ADD_URI_SAFE_ATTR&&j(ar,R.ADD_URI_SAFE_ATTR,ot),R.FORBID_CONTENTS&&(Kn===$i&&(Kn=fe(Kn)),j(Kn,R.FORBID_CONTENTS,ot)),Fn&&(lt["#text"]=!0),Dt&&j(lt,["html","head","body"]),lt.table&&(j(lt,["tbody"]),delete Pr.tbody),L&&L(R),ir=R)},_r=j({},["mi","mo","mn","ms","mtext"]),Pi=j({},["foreignobject","desc","title","annotation-xml"]),Ua=j({},["title","style","font","a","script"]),aa=j({},xe);j(aa,le),j(aa,Le);var or=j({},qe);j(or,Ze);var Si=function(R){var V=wr(R);(!V||!V.tagName)&&(V={namespaceURI:vt,tagName:"template"});var re=H(R.tagName),$e=H(V.tagName);return na[R.namespaceURI]?R.namespaceURI===Bn?V.namespaceURI===Et?re==="svg":V.namespaceURI===Er?re==="svg"&&($e==="annotation-xml"||_r[$e]):!!aa[re]:R.namespaceURI===Er?V.namespaceURI===Et?re==="math":V.namespaceURI===Bn?re==="math"&&Pi[$e]:!!or[re]:R.namespaceURI===Et?V.namespaceURI===Bn&&!Pi[$e]||V.namespaceURI===Er&&!_r[$e]?!1:!or[re]&&(Ua[re]||!aa[re]):!!(vn==="application/xhtml+xml"&&na[R.namespaceURI]):!1},Yt=function(R){z(ue.removed,{element:R});try{R.parentNode.removeChild(R)}catch{try{R.outerHTML=On}catch{R.remove()}}},zn=function(R,V){try{z(ue.removed,{attribute:V.getAttributeNode(R),from:V})}catch{z(ue.removed,{attribute:null,from:V})}if(V.removeAttribute(R),R==="is"&&!ut[R])if(nr||ea)try{Yt(V)}catch{}else try{V.setAttribute(R,"")}catch{}},za=function(R){var V,re;if(Oa)R="<remove></remove>"+R;else{var $e=ge(R,/^[\r\n\t ]+/);re=$e&&$e[0]}vn==="application/xhtml+xml"&&vt===Et&&(R='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+R+"</body></html>");var Qe=Tt?Tt.createHTML(R):R;if(vt===Et)try{V=new kn().parseFromString(Qe,vn)}catch{}if(!V||!V.documentElement){V=Sa.createDocument(vt,"template",null);try{V.documentElement.innerHTML=ta?On:Qe}catch{}}var Ne=V.body||V.documentElement;return R&&re&&Ne.insertBefore(De.createTextNode(re),Ne.childNodes[0]||null),vt===Et?Ea.call(V,Dt?"html":"body")[0]:Dt?V.documentElement:Ne},Ti=function(R){return Ta.call(R.ownerDocument||R,R,Gt.SHOW_ELEMENT|Gt.SHOW_COMMENT|Gt.SHOW_TEXT,null,!1)},Je=function(R){return R instanceof go&&(typeof R.nodeName!="string"||typeof R.textContent!="string"||typeof R.removeChild!="function"||!(R.attributes instanceof Jr)||typeof R.removeAttribute!="function"||typeof R.setAttribute!="function"||typeof R.namespaceURI!="string"||typeof R.insertBefore!="function"||typeof R.hasChildNodes!="function")},ze=function(R){return n(Bt)==="object"?R instanceof Bt:R&&n(R)==="object"&&typeof R.nodeType=="number"&&typeof R.nodeName=="string"},D=function(R,V,re){yt[R]&&ee(yt[R],function($e){$e.call(ue,V,re,ir)})},M=function(R){var V;if(D("beforeSanitizeElements",R,null),Je(R)||X(/[\u0080-\uFFFF]/,R.nodeName))return Yt(R),!0;var re=ot(R.nodeName);if(D("uponSanitizeElement",R,{tagName:re,allowedTags:lt}),R.hasChildNodes()&&!ze(R.firstElementChild)&&(!ze(R.content)||!ze(R.content.firstElementChild))&&X(/<[/\w]/g,R.innerHTML)&&X(/<[/\w]/g,R.textContent)||re==="select"&&X(/<template/i,R.innerHTML))return Yt(R),!0;if(!lt[re]||Pr[re]){if(!Pr[re]&&he(re)&&(et.tagNameCheck instanceof RegExp&&X(et.tagNameCheck,re)||et.tagNameCheck instanceof Function&&et.tagNameCheck(re)))return!1;if(Fn&&!Kn[re]){var $e=wr(R)||R.parentNode,Qe=xr(R)||R.childNodes;if(Qe&&$e)for(var Ne=Qe.length,Ae=Ne-1;Ae>=0;--Ae)$e.insertBefore(mi(Qe[Ae],!0),Pa(R))}return Yt(R),!0}return R instanceof Ct&&!Si(R)||(re==="noscript"||re==="noembed")&&X(/<\/no(script|embed)/i,R.innerHTML)?(Yt(R),!0):(Ln&&R.nodeType===3&&(V=R.textContent,V=G(V,_a," "),V=G(V,Ra," "),V=G(V,Aa," "),R.textContent!==V&&(z(ue.removed,{element:R.cloneNode()}),R.textContent=V)),D("afterSanitizeElements",R,null),!1)},Q=function(R,V,re){if(La&&(V==="id"||V==="name")&&(re in De||re in Un))return!1;if(!(Ma&&!tr[V]&&X(yo,V))){if(!(vi&&X(vo,V))){if(!ut[V]||tr[V]){if(!(he(R)&&(et.tagNameCheck instanceof RegExp&&X(et.tagNameCheck,R)||et.tagNameCheck instanceof Function&&et.tagNameCheck(R))&&(et.attributeNameCheck instanceof RegExp&&X(et.attributeNameCheck,V)||et.attributeNameCheck instanceof Function&&et.attributeNameCheck(V))||V==="is"&&et.allowCustomizedBuiltInElements&&(et.tagNameCheck instanceof RegExp&&X(et.tagNameCheck,re)||et.tagNameCheck instanceof Function&&et.tagNameCheck(re))))return!1}else if(!ar[V]){if(!X(Ca,G(re,bi,""))){if(!((V==="src"||V==="xlink:href"||V==="href")&&R!=="script"&&K(re,"data:")===0&&Na[R])){if(!(Sr&&!X(qt,G(re,bi,"")))){if(re)return!1}}}}}}return!0},he=function(R){return R.indexOf("-")>0},We=function(R){var V,re,$e,Qe;D("beforeSanitizeAttributes",R,null);var Ne=R.attributes;if(Ne){var Ae={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ut};for(Qe=Ne.length;Qe--;){V=Ne[Qe];var $t=V,He=$t.name,Ot=$t.namespaceURI;if(re=He==="value"?V.value:ce(V.value),$e=ot(He),Ae.attrName=$e,Ae.attrValue=re,Ae.keepAttr=!0,Ae.forceKeepAttr=void 0,D("uponSanitizeAttribute",R,Ae),re=Ae.attrValue,!Ae.forceKeepAttr&&(zn(He,R),!!Ae.keepAttr)){if(!Ia&&X(/\/>/i,re)){zn(He,R);continue}Ln&&(re=G(re,_a," "),re=G(re,Ra," "),re=G(re,Aa," "));var un=ot(R.nodeName);if(Q(un,$e,re)){if(rr&&($e==="id"||$e==="name")&&(zn(He,R),re=Fa+re),Tt&&n(vr)==="object"&&typeof vr.getAttributeType=="function"&&!Ot)switch(vr.getAttributeType(un,$e)){case"TrustedHTML":re=Tt.createHTML(re);break;case"TrustedScriptURL":re=Tt.createScriptURL(re);break}try{Ot?R.setAttributeNS(Ot,He,re):R.setAttribute(He,re),P(ue.removed)}catch{}}}}D("afterSanitizeAttributes",R,null)}},Ee=function oe(R){var V,re=Ti(R);for(D("beforeSanitizeShadowDOM",R,null);V=re.nextNode();)D("uponSanitizeShadowNode",V,null),!M(V)&&(V.content instanceof Ye&&oe(V.content),We(V));D("afterSanitizeShadowDOM",R,null)};return ue.sanitize=function(oe){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},V,re,$e,Qe,Ne;if(ta=!oe,ta&&(oe="<!-->"),typeof oe!="string"&&!ze(oe)){if(typeof oe.toString!="function")throw ne("toString is not a function");if(oe=oe.toString(),typeof oe!="string")throw ne("dirty is not a string, aborting")}if(!ue.isSupported){if(n(ie.toStaticHTML)==="object"||typeof ie.toStaticHTML=="function"){if(typeof oe=="string")return ie.toStaticHTML(oe);if(ze(oe))return ie.toStaticHTML(oe.outerHTML)}return oe}if(ka||ra(R),ue.removed=[],typeof oe=="string"&&(Nn=!1),Nn){if(oe.nodeName){var Ae=ot(oe.nodeName);if(!lt[Ae]||Pr[Ae])throw ne("root node is forbidden and cannot be sanitized in-place")}}else if(oe instanceof Bt)V=za("<!---->"),re=V.ownerDocument.importNode(oe,!0),re.nodeType===1&&re.nodeName==="BODY"||re.nodeName==="HTML"?V=re:V.appendChild(re);else{if(!nr&&!Ln&&!Dt&&oe.indexOf("<")===-1)return Tt&&Tr?Tt.createHTML(oe):oe;if(V=za(oe),!V)return nr?null:Tr?On:""}V&&Oa&&Yt(V.firstChild);for(var $t=Ti(Nn?oe:V);$e=$t.nextNode();)$e.nodeType===3&&$e===Qe||M($e)||($e.content instanceof Ye&&Ee($e.content),We($e),Qe=$e);if(Qe=null,Nn)return oe;if(nr){if(ea)for(Ne=bo.call(V.ownerDocument);V.firstChild;)Ne.appendChild(V.firstChild);else Ne=V;return(ut.shadowroot||ut.shadowrootmod)&&(Ne=gi.call(ve,Ne,!0)),Ne}var He=Dt?V.outerHTML:V.innerHTML;return Dt&&lt["!doctype"]&&V.ownerDocument&&V.ownerDocument.doctype&&V.ownerDocument.doctype.name&&X(yr,V.ownerDocument.doctype.name)&&(He="<!DOCTYPE "+V.ownerDocument.doctype.name+`>
48
+ `+He),Ln&&(He=G(He,_a," "),He=G(He,Ra," "),He=G(He,Aa," ")),Tt&&Tr?Tt.createHTML(He):He},ue.setConfig=function(oe){ra(oe),ka=!0},ue.clearConfig=function(){ir=null,ka=!1},ue.isValidAttribute=function(oe,R,V){ir||ra({});var re=ot(oe),$e=ot(R);return Q(re,$e,V)},ue.addHook=function(oe,R){typeof R=="function"&&(yt[oe]=yt[oe]||[],z(yt[oe],R))},ue.removeHook=function(oe){if(yt[oe])return P(yt[oe])},ue.removeHooks=function(oe){yt[oe]&&(yt[oe]=[])},ue.removeAllHooks=function(){yt={}},ue}var mo=er();return mo})}(cd)),cd.exports}var B8=window.DOMPurify||(window.DOMPurify=Og().default||Og());const U8=c1(B8),z8=({content:e,themeName:t="wysiwyg",...n})=>F.jsx(Hr,{...n,themeName:t,dangerouslySetInnerHTML:{__html:U8.sanitize(e,{ADD_TAGS:["iframe"],ADD_ATTR:["allow","allowfullscreen","frameborder","scrolling"]})}});var su={exports:{}};su.exports;(function(e,t){var n=200,a="__lodash_hash_undefined__",o=1,s=2,u=9007199254740991,c="[object Arguments]",f="[object Array]",h="[object AsyncFunction]",m="[object Boolean]",x="[object Date]",b="[object Error]",v="[object Function]",w="[object GeneratorFunction]",T="[object Map]",E="[object Number]",L="[object Null]",C="[object Object]",N="[object Promise]",O="[object Proxy]",B="[object RegExp]",se="[object Set]",ee="[object String]",P="[object Symbol]",z="[object Undefined]",H="[object WeakMap]",A="[object ArrayBuffer]",ge="[object DataView]",G="[object Float32Array]",K="[object Float64Array]",ce="[object Int8Array]",X="[object Int16Array]",ne="[object Int32Array]",Z="[object Uint8Array]",me="[object Uint8ClampedArray]",j="[object Uint16Array]",fe="[object Uint32Array]",q=/[\\^$.*+?()[\]{}|]/g,ye=/^\[object .+?Constructor\]$/,xe=/^(?:0|[1-9]\d*)$/,le={};le[G]=le[K]=le[ce]=le[X]=le[ne]=le[Z]=le[me]=le[j]=le[fe]=!0,le[c]=le[f]=le[A]=le[m]=le[ge]=le[x]=le[b]=le[v]=le[T]=le[E]=le[C]=le[B]=le[se]=le[ee]=le[H]=!1;var Le=typeof dr=="object"&&dr&&dr.Object===Object&&dr,qe=typeof self=="object"&&self&&self.Object===Object&&self,Ze=Le||qe||Function("return this")(),it=t&&!t.nodeType&&t,It=it&&!0&&e&&!e.nodeType&&e,Ht=It&&It.exports===it,sn=Ht&&Le.process,Xn=function(){try{return sn&&sn.binding&&sn.binding("util")}catch{}}(),kt=Xn&&Xn.isTypedArray;function gr(D,M){for(var Q=-1,he=D==null?0:D.length,We=0,Ee=[];++Q<he;){var oe=D[Q];M(oe,Q,D)&&(Ee[We++]=oe)}return Ee}function fo(D,M){for(var Q=-1,he=M.length,We=D.length;++Q<he;)D[We+Q]=M[Q];return D}function ln(D,M){for(var Q=-1,he=D==null?0:D.length;++Q<he;)if(M(D[Q],Q,D))return!0;return!1}function pi(D,M){for(var Q=-1,he=Array(D);++Q<D;)he[Q]=M(Q);return he}function ho(D){return function(M){return D(M)}}function br(D,M){return D.has(M)}function Kt(D,M){return D?.[M]}function yr(D){var M=-1,Q=Array(D.size);return D.forEach(function(he,We){Q[++M]=[We,he]}),Q}function Yr(D,M){return function(Q){return D(M(Q))}}function po(D){var M=-1,Q=Array(D.size);return D.forEach(function(he){Q[++M]=he}),Q}var er=Array.prototype,mo=Function.prototype,ie=Object.prototype,ue=Ze["__core-js_shared__"],ve=mo.toString,De=ie.hasOwnProperty,Ye=function(){var D=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),At=ie.toString,Bt=RegExp("^"+ve.call(De).replace(q,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ct=Ht?Ze.Buffer:void 0,Gt=Ze.Symbol,gn=Ze.Uint8Array,Jr=ie.propertyIsEnumerable,go=er.splice,kn=Gt?Gt.toStringTag:void 0,vr=Object.getOwnPropertySymbols,$r=Ct?Ct.isBuffer:void 0,mi=Yr(Object.keys,Object),Pa=vt(Ze,"DataView"),xr=vt(Ze,"Map"),wr=vt(Ze,"Promise"),Dr=vt(Ze,"Set"),Tt=vt(Ze,"WeakMap"),On=vt(Object,"create"),Qr=Un(Pa),Sa=Un(xr),Ta=Un(wr),bo=Un(Dr),Ea=Un(Tt),gi=Gt?Gt.prototype:void 0,Xr=gi?gi.valueOf:void 0;function yt(D){var M=-1,Q=D==null?0:D.length;for(this.clear();++M<Q;){var he=D[M];this.set(he[0],he[1])}}function _a(){this.__data__=On?On(null):{},this.size=0}function Ra(D){var M=this.has(D)&&delete this.__data__[D];return this.size-=M?1:0,M}function Aa(D){var M=this.__data__;if(On){var Q=M[D];return Q===a?void 0:Q}return De.call(M,D)?M[D]:void 0}function yo(D){var M=this.__data__;return On?M[D]!==void 0:De.call(M,D)}function vo(D,M){var Q=this.__data__;return this.size+=this.has(D)?0:1,Q[D]=On&&M===void 0?a:M,this}yt.prototype.clear=_a,yt.prototype.delete=Ra,yt.prototype.get=Aa,yt.prototype.has=yo,yt.prototype.set=vo;function qt(D){var M=-1,Q=D==null?0:D.length;for(this.clear();++M<Q;){var he=D[M];this.set(he[0],he[1])}}function bi(){this.__data__=[],this.size=0}function Ca(D){var M=this.__data__,Q=rr(M,D);if(Q<0)return!1;var he=M.length-1;return Q==he?M.pop():go.call(M,Q,1),--this.size,!0}function lt(D){var M=this.__data__,Q=rr(M,D);return Q<0?void 0:M[Q][1]}function yi(D){return rr(this.__data__,D)>-1}function ut(D,M){var Q=this.__data__,he=rr(Q,D);return he<0?(++this.size,Q.push([D,M])):Q[he][1]=M,this}qt.prototype.clear=bi,qt.prototype.delete=Ca,qt.prototype.get=lt,qt.prototype.has=yi,qt.prototype.set=ut;function bn(D){var M=-1,Q=D==null?0:D.length;for(this.clear();++M<Q;){var he=D[M];this.set(he[0],he[1])}}function et(){this.size=0,this.__data__={hash:new yt,map:new(xr||qt),string:new yt}}function Pr(D){var M=Et(this,D).delete(D);return this.size-=M?1:0,M}function tr(D){return Et(this,D).get(D)}function vi(D){return Et(this,D).has(D)}function Ma(D,M){var Q=Et(this,D),he=Q.size;return Q.set(D,M),this.size+=Q.size==he?0:1,this}bn.prototype.clear=et,bn.prototype.delete=Pr,bn.prototype.get=tr,bn.prototype.has=vi,bn.prototype.set=Ma;function Sr(D){var M=-1,Q=D==null?0:D.length;for(this.__data__=new bn;++M<Q;)this.add(D[M])}function Ia(D){return this.__data__.set(D,a),this}function Ln(D){return this.__data__.has(D)}Sr.prototype.add=Sr.prototype.push=Ia,Sr.prototype.has=Ln;function Dt(D){var M=this.__data__=new qt(D);this.size=M.size}function ka(){this.__data__=new qt,this.size=0}function Oa(D){var M=this.__data__,Q=M.delete(D);return this.size=M.size,Q}function nr(D){return this.__data__.get(D)}function ea(D){return this.__data__.has(D)}function Tr(D,M){var Q=this.__data__;if(Q instanceof qt){var he=Q.__data__;if(!xr||he.length<n-1)return he.push([D,M]),this.size=++Q.size,this;Q=this.__data__=new bn(he)}return Q.set(D,M),this.size=Q.size,this}Dt.prototype.clear=ka,Dt.prototype.delete=Oa,Dt.prototype.get=nr,Dt.prototype.has=ea,Dt.prototype.set=Tr;function La(D,M){var Q=_r(D),he=!Q&&ra(D),We=!Q&&!he&&Ua(D),Ee=!Q&&!he&&!We&&za(D),oe=Q||he||We||Ee,R=oe?pi(D.length,String):[],V=R.length;for(var re in D)(M||De.call(D,re))&&!(oe&&(re=="length"||We&&(re=="offset"||re=="parent")||Ee&&(re=="buffer"||re=="byteLength"||re=="byteOffset")||vn(re,V)))&&R.push(re);return R}function rr(D,M){for(var Q=D.length;Q--;)if(Ba(D[Q][0],M))return Q;return-1}function Fa(D,M,Q){var he=M(D);return _r(D)?he:fo(he,Q(D))}function Fn(D){return D==null?D===void 0?z:L:kn&&kn in Object(D)?ta(D):ir(D)}function Nn(D){return zn(D)&&Fn(D)==c}function Zt(D,M,Q,he,We){return D===M?!0:D==null||M==null||!zn(D)&&!zn(M)?D!==D&&M!==M:Kn(D,M,Q,he,Zt,We)}function Kn(D,M,Q,he,We,Ee){var oe=_r(D),R=_r(M),V=oe?f:yn(D),re=R?f:yn(M);V=V==c?C:V,re=re==c?C:re;var $e=V==C,Qe=re==C,Ne=V==re;if(Ne&&Ua(D)){if(!Ua(M))return!1;oe=!0,$e=!1}if(Ne&&!$e)return Ee||(Ee=new Dt),oe||za(D)?ar(D,M,Q,he,We,Ee):xi(D,M,V,Q,he,We,Ee);if(!(Q&o)){var Ae=$e&&De.call(D,"__wrapped__"),$t=Qe&&De.call(M,"__wrapped__");if(Ae||$t){var He=Ae?D.value():D,Ot=$t?M.value():M;return Ee||(Ee=new Dt),We(He,Ot,Q,he,Ee)}}return Ne?(Ee||(Ee=new Dt),Er(D,M,Q,he,We,Ee)):!1}function $i(D){if(!Yt(D)||Di(D))return!1;var M=or(D)?Bt:ye;return M.test(Un(D))}function Na(D){return zn(D)&&Si(D.length)&&!!le[Fn(D)]}function Ka(D){if(!ot(D))return mi(D);var M=[];for(var Q in Object(D))De.call(D,Q)&&Q!="constructor"&&M.push(Q);return M}function ar(D,M,Q,he,We,Ee){var oe=Q&o,R=D.length,V=M.length;if(R!=V&&!(oe&&V>R))return!1;var re=Ee.get(D);if(re&&Ee.get(M))return re==M;var $e=-1,Qe=!0,Ne=Q&s?new Sr:void 0;for(Ee.set(D,M),Ee.set(M,D);++$e<R;){var Ae=D[$e],$t=M[$e];if(he)var He=oe?he($t,Ae,$e,M,D,Ee):he(Ae,$t,$e,D,M,Ee);if(He!==void 0){if(He)continue;Qe=!1;break}if(Ne){if(!ln(M,function(Ot,un){if(!br(Ne,un)&&(Ae===Ot||We(Ae,Ot,Q,he,Ee)))return Ne.push(un)})){Qe=!1;break}}else if(!(Ae===$t||We(Ae,$t,Q,he,Ee))){Qe=!1;break}}return Ee.delete(D),Ee.delete(M),Qe}function xi(D,M,Q,he,We,Ee,oe){switch(Q){case ge:if(D.byteLength!=M.byteLength||D.byteOffset!=M.byteOffset)return!1;D=D.buffer,M=M.buffer;case A:return!(D.byteLength!=M.byteLength||!Ee(new gn(D),new gn(M)));case m:case x:case E:return Ba(+D,+M);case b:return D.name==M.name&&D.message==M.message;case B:case ee:return D==M+"";case T:var R=yr;case se:var V=he&o;if(R||(R=po),D.size!=M.size&&!V)return!1;var re=oe.get(D);if(re)return re==M;he|=s,oe.set(D,M);var $e=ar(R(D),R(M),he,We,Ee,oe);return oe.delete(D),$e;case P:if(Xr)return Xr.call(D)==Xr.call(M)}return!1}function Er(D,M,Q,he,We,Ee){var oe=Q&o,R=Bn(D),V=R.length,re=Bn(M),$e=re.length;if(V!=$e&&!oe)return!1;for(var Qe=V;Qe--;){var Ne=R[Qe];if(!(oe?Ne in M:De.call(M,Ne)))return!1}var Ae=Ee.get(D);if(Ae&&Ee.get(M))return Ae==M;var $t=!0;Ee.set(D,M),Ee.set(M,D);for(var He=oe;++Qe<V;){Ne=R[Qe];var Ot=D[Ne],un=M[Ne];if(he)var Ei=oe?he(un,Ot,Ne,M,D,Ee):he(Ot,un,Ne,D,M,Ee);if(!(Ei===void 0?Ot===un||We(Ot,un,Q,he,Ee):Ei)){$t=!1;break}He||(He=Ne=="constructor")}if($t&&!He){var ja=D.constructor,_t=M.constructor;ja!=_t&&"constructor"in D&&"constructor"in M&&!(typeof ja=="function"&&ja instanceof ja&&typeof _t=="function"&&_t instanceof _t)&&($t=!1)}return Ee.delete(D),Ee.delete(M),$t}function Bn(D){return Fa(D,Ti,na)}function Et(D,M){var Q=D.__data__;return wi(M)?Q[typeof M=="string"?"string":"hash"]:Q.map}function vt(D,M){var Q=Kt(D,M);return $i(Q)?Q:void 0}function ta(D){var M=De.call(D,kn),Q=D[kn];try{D[kn]=void 0;var he=!0}catch{}var We=At.call(D);return he&&(M?D[kn]=Q:delete D[kn]),We}var na=vr?function(D){return D==null?[]:(D=Object(D),gr(vr(D),function(M){return Jr.call(D,M)}))}:Je,yn=Fn;(Pa&&yn(new Pa(new ArrayBuffer(1)))!=ge||xr&&yn(new xr)!=T||wr&&yn(wr.resolve())!=N||Dr&&yn(new Dr)!=se||Tt&&yn(new Tt)!=H)&&(yn=function(D){var M=Fn(D),Q=M==C?D.constructor:void 0,he=Q?Un(Q):"";if(he)switch(he){case Qr:return ge;case Sa:return T;case Ta:return N;case bo:return se;case Ea:return H}return M});function vn(D,M){return M=M??u,!!M&&(typeof D=="number"||xe.test(D))&&D>-1&&D%1==0&&D<M}function wi(D){var M=typeof D;return M=="string"||M=="number"||M=="symbol"||M=="boolean"?D!=="__proto__":D===null}function Di(D){return!!Ye&&Ye in D}function ot(D){var M=D&&D.constructor,Q=typeof M=="function"&&M.prototype||ie;return D===Q}function ir(D){return At.call(D)}function Un(D){if(D!=null){try{return ve.call(D)}catch{}try{return D+""}catch{}}return""}function Ba(D,M){return D===M||D!==D&&M!==M}var ra=Nn(function(){return arguments}())?Nn:function(D){return zn(D)&&De.call(D,"callee")&&!Jr.call(D,"callee")},_r=Array.isArray;function Pi(D){return D!=null&&Si(D.length)&&!or(D)}var Ua=$r||ze;function aa(D,M){return Zt(D,M)}function or(D){if(!Yt(D))return!1;var M=Fn(D);return M==v||M==w||M==h||M==O}function Si(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=u}function Yt(D){var M=typeof D;return D!=null&&(M=="object"||M=="function")}function zn(D){return D!=null&&typeof D=="object"}var za=kt?ho(kt):Na;function Ti(D){return Pi(D)?La(D):Ka(D)}function Je(){return[]}function ze(){return!1}e.exports=aa})(su,su.exports);var j8=su.exports;const d1=c1(j8),V8=e=>F.jsxs("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[F.jsx("g",{children:F.jsx("path",{d:"M23.92 12.38a1 1 0 0 0 0-.76 1 1 0 0 0-.21-.33l-8-8a1.003 1.003 0 1 0-1.42 1.42l6.3 6.29H1a1 1 0 1 0 0 2h19.59l-6.3 6.29a1 1 0 0 0 0 1.42 1.002 1.002 0 0 0 1.42 0l8-8c.091-.095.162-.207.21-.33Z"})}),F.jsx("defs",{children:F.jsx("clipPath",{children:F.jsx("path",{fill:"currentColor",d:"M0 0h24v24H0z"})})})]}),f1=g.memo(V8,d1),W8=Object.freeze(Object.defineProperty({__proto__:null,default:f1},Symbol.toStringTag,{value:"Module"}));var lu={exports:{}};/**
49
+ * @license
50
+ * Lodash <https://lodash.com/>
51
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
52
+ * Released under MIT license <https://lodash.com/license>
53
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
54
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
55
+ */lu.exports;(function(e,t){(function(){var n,a="4.17.21",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",h=500,m="__lodash_placeholder__",x=1,b=2,v=4,w=1,T=2,E=1,L=2,C=4,N=8,O=16,B=32,se=64,ee=128,P=256,z=512,H=30,A="...",ge=800,G=16,K=1,ce=2,X=3,ne=1/0,Z=9007199254740991,me=17976931348623157e292,j=0/0,fe=4294967295,q=fe-1,ye=fe>>>1,xe=[["ary",ee],["bind",E],["bindKey",L],["curry",N],["curryRight",O],["flip",z],["partial",B],["partialRight",se],["rearg",P]],le="[object Arguments]",Le="[object Array]",qe="[object AsyncFunction]",Ze="[object Boolean]",it="[object Date]",It="[object DOMException]",Ht="[object Error]",sn="[object Function]",Xn="[object GeneratorFunction]",kt="[object Map]",gr="[object Number]",fo="[object Null]",ln="[object Object]",pi="[object Promise]",ho="[object Proxy]",br="[object RegExp]",Kt="[object Set]",yr="[object String]",Yr="[object Symbol]",po="[object Undefined]",er="[object WeakMap]",mo="[object WeakSet]",ie="[object ArrayBuffer]",ue="[object DataView]",ve="[object Float32Array]",De="[object Float64Array]",Ye="[object Int8Array]",At="[object Int16Array]",Bt="[object Int32Array]",Ct="[object Uint8Array]",Gt="[object Uint8ClampedArray]",gn="[object Uint16Array]",Jr="[object Uint32Array]",go=/\b__p \+= '';/g,kn=/\b(__p \+=) '' \+/g,vr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$r=/&(?:amp|lt|gt|quot|#39);/g,mi=/[&<>"']/g,Pa=RegExp($r.source),xr=RegExp(mi.source),wr=/<%-([\s\S]+?)%>/g,Dr=/<%([\s\S]+?)%>/g,Tt=/<%=([\s\S]+?)%>/g,On=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qr=/^\w*$/,Sa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ta=/[\\^$.*+?()[\]{}|]/g,bo=RegExp(Ta.source),Ea=/^\s+/,gi=/\s/,Xr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,yt=/\{\n\/\* \[wrapped with (.+)\] \*/,_a=/,? & /,Ra=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Aa=/[()=,{}\[\]\/\s]/,yo=/\\(\\)?/g,vo=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qt=/\w*$/,bi=/^[-+]0x[0-9a-f]+$/i,Ca=/^0b[01]+$/i,lt=/^\[object .+?Constructor\]$/,yi=/^0o[0-7]+$/i,ut=/^(?:0|[1-9]\d*)$/,bn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,et=/($^)/,Pr=/['\n\r\u2028\u2029\\]/g,tr="\\ud800-\\udfff",vi="\\u0300-\\u036f",Ma="\\ufe20-\\ufe2f",Sr="\\u20d0-\\u20ff",Ia=vi+Ma+Sr,Ln="\\u2700-\\u27bf",Dt="a-z\\xdf-\\xf6\\xf8-\\xff",ka="\\xac\\xb1\\xd7\\xf7",Oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",nr="\\u2000-\\u206f",ea=" \\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",Tr="A-Z\\xc0-\\xd6\\xd8-\\xde",La="\\ufe0e\\ufe0f",rr=ka+Oa+nr+ea,Fa="['’]",Fn="["+tr+"]",Nn="["+rr+"]",Zt="["+Ia+"]",Kn="\\d+",$i="["+Ln+"]",Na="["+Dt+"]",Ka="[^"+tr+rr+Kn+Ln+Dt+Tr+"]",ar="\\ud83c[\\udffb-\\udfff]",xi="(?:"+Zt+"|"+ar+")",Er="[^"+tr+"]",Bn="(?:\\ud83c[\\udde6-\\uddff]){2}",Et="[\\ud800-\\udbff][\\udc00-\\udfff]",vt="["+Tr+"]",ta="\\u200d",na="(?:"+Na+"|"+Ka+")",yn="(?:"+vt+"|"+Ka+")",vn="(?:"+Fa+"(?:d|ll|m|re|s|t|ve))?",wi="(?:"+Fa+"(?:D|LL|M|RE|S|T|VE))?",Di=xi+"?",ot="["+La+"]?",ir="(?:"+ta+"(?:"+[Er,Bn,Et].join("|")+")"+ot+Di+")*",Un="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ba="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ra=ot+Di+ir,_r="(?:"+[$i,Bn,Et].join("|")+")"+ra,Pi="(?:"+[Er+Zt+"?",Zt,Bn,Et,Fn].join("|")+")",Ua=RegExp(Fa,"g"),aa=RegExp(Zt,"g"),or=RegExp(ar+"(?="+ar+")|"+Pi+ra,"g"),Si=RegExp([vt+"?"+Na+"+"+vn+"(?="+[Nn,vt,"$"].join("|")+")",yn+"+"+wi+"(?="+[Nn,vt+na,"$"].join("|")+")",vt+"?"+na+"+"+vn,vt+"+"+wi,Ba,Un,Kn,_r].join("|"),"g"),Yt=RegExp("["+ta+tr+Ia+La+"]"),zn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,za=["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"],Ti=-1,Je={};Je[ve]=Je[De]=Je[Ye]=Je[At]=Je[Bt]=Je[Ct]=Je[Gt]=Je[gn]=Je[Jr]=!0,Je[le]=Je[Le]=Je[ie]=Je[Ze]=Je[ue]=Je[it]=Je[Ht]=Je[sn]=Je[kt]=Je[gr]=Je[ln]=Je[br]=Je[Kt]=Je[yr]=Je[er]=!1;var ze={};ze[le]=ze[Le]=ze[ie]=ze[ue]=ze[Ze]=ze[it]=ze[ve]=ze[De]=ze[Ye]=ze[At]=ze[Bt]=ze[kt]=ze[gr]=ze[ln]=ze[br]=ze[Kt]=ze[yr]=ze[Yr]=ze[Ct]=ze[Gt]=ze[gn]=ze[Jr]=!0,ze[Ht]=ze[sn]=ze[er]=!1;var D={À:"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"},M={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Q={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},he={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},We=parseFloat,Ee=parseInt,oe=typeof dr=="object"&&dr&&dr.Object===Object&&dr,R=typeof self=="object"&&self&&self.Object===Object&&self,V=oe||R||Function("return this")(),re=t&&!t.nodeType&&t,$e=re&&!0&&e&&!e.nodeType&&e,Qe=$e&&$e.exports===re,Ne=Qe&&oe.process,Ae=function(){try{var I=$e&&$e.require&&$e.require("util").types;return I||Ne&&Ne.binding&&Ne.binding("util")}catch{}}(),$t=Ae&&Ae.isArrayBuffer,He=Ae&&Ae.isDate,Ot=Ae&&Ae.isMap,un=Ae&&Ae.isRegExp,Ei=Ae&&Ae.isSet,ja=Ae&&Ae.isTypedArray;function _t(I,W,U){switch(U.length){case 0:return I.call(W);case 1:return I.call(W,U[0]);case 2:return I.call(W,U[0],U[1]);case 3:return I.call(W,U[0],U[1],U[2])}return I.apply(W,U)}function $1(I,W,U,pe){for(var _e=-1,Ve=I==null?0:I.length;++_e<Ve;){var Pt=I[_e];W(pe,Pt,U(Pt),I)}return pe}function $n(I,W){for(var U=-1,pe=I==null?0:I.length;++U<pe&&W(I[U],U,I)!==!1;);return I}function x1(I,W){for(var U=I==null?0:I.length;U--&&W(I[U],U,I)!==!1;);return I}function eh(I,W){for(var U=-1,pe=I==null?0:I.length;++U<pe;)if(!W(I[U],U,I))return!1;return!0}function ia(I,W){for(var U=-1,pe=I==null?0:I.length,_e=0,Ve=[];++U<pe;){var Pt=I[U];W(Pt,U,I)&&(Ve[_e++]=Pt)}return Ve}function _s(I,W){var U=I==null?0:I.length;return!!U&&_i(I,W,0)>-1}function Cu(I,W,U){for(var pe=-1,_e=I==null?0:I.length;++pe<_e;)if(U(W,I[pe]))return!0;return!1}function at(I,W){for(var U=-1,pe=I==null?0:I.length,_e=Array(pe);++U<pe;)_e[U]=W(I[U],U,I);return _e}function oa(I,W){for(var U=-1,pe=W.length,_e=I.length;++U<pe;)I[_e+U]=W[U];return I}function Mu(I,W,U,pe){var _e=-1,Ve=I==null?0:I.length;for(pe&&Ve&&(U=I[++_e]);++_e<Ve;)U=W(U,I[_e],_e,I);return U}function w1(I,W,U,pe){var _e=I==null?0:I.length;for(pe&&_e&&(U=I[--_e]);_e--;)U=W(U,I[_e],_e,I);return U}function Iu(I,W){for(var U=-1,pe=I==null?0:I.length;++U<pe;)if(W(I[U],U,I))return!0;return!1}var D1=ku("length");function P1(I){return I.split("")}function S1(I){return I.match(Ra)||[]}function th(I,W,U){var pe;return U(I,function(_e,Ve,Pt){if(W(_e,Ve,Pt))return pe=Ve,!1}),pe}function Rs(I,W,U,pe){for(var _e=I.length,Ve=U+(pe?1:-1);pe?Ve--:++Ve<_e;)if(W(I[Ve],Ve,I))return Ve;return-1}function _i(I,W,U){return W===W?F1(I,W,U):Rs(I,nh,U)}function T1(I,W,U,pe){for(var _e=U-1,Ve=I.length;++_e<Ve;)if(pe(I[_e],W))return _e;return-1}function nh(I){return I!==I}function rh(I,W){var U=I==null?0:I.length;return U?Lu(I,W)/U:j}function ku(I){return function(W){return W==null?n:W[I]}}function Ou(I){return function(W){return I==null?n:I[W]}}function ah(I,W,U,pe,_e){return _e(I,function(Ve,Pt,tt){U=pe?(pe=!1,Ve):W(U,Ve,Pt,tt)}),U}function E1(I,W){var U=I.length;for(I.sort(W);U--;)I[U]=I[U].value;return I}function Lu(I,W){for(var U,pe=-1,_e=I.length;++pe<_e;){var Ve=W(I[pe]);Ve!==n&&(U=U===n?Ve:U+Ve)}return U}function Fu(I,W){for(var U=-1,pe=Array(I);++U<I;)pe[U]=W(U);return pe}function _1(I,W){return at(W,function(U){return[U,I[U]]})}function ih(I){return I&&I.slice(0,uh(I)+1).replace(Ea,"")}function cn(I){return function(W){return I(W)}}function Nu(I,W){return at(W,function(U){return I[U]})}function $o(I,W){return I.has(W)}function oh(I,W){for(var U=-1,pe=I.length;++U<pe&&_i(W,I[U],0)>-1;);return U}function sh(I,W){for(var U=I.length;U--&&_i(W,I[U],0)>-1;);return U}function R1(I,W){for(var U=I.length,pe=0;U--;)I[U]===W&&++pe;return pe}var A1=Ou(D),C1=Ou(M);function M1(I){return"\\"+he[I]}function I1(I,W){return I==null?n:I[W]}function Ri(I){return Yt.test(I)}function k1(I){return zn.test(I)}function O1(I){for(var W,U=[];!(W=I.next()).done;)U.push(W.value);return U}function Ku(I){var W=-1,U=Array(I.size);return I.forEach(function(pe,_e){U[++W]=[_e,pe]}),U}function lh(I,W){return function(U){return I(W(U))}}function sa(I,W){for(var U=-1,pe=I.length,_e=0,Ve=[];++U<pe;){var Pt=I[U];(Pt===W||Pt===m)&&(I[U]=m,Ve[_e++]=U)}return Ve}function As(I){var W=-1,U=Array(I.size);return I.forEach(function(pe){U[++W]=pe}),U}function L1(I){var W=-1,U=Array(I.size);return I.forEach(function(pe){U[++W]=[pe,pe]}),U}function F1(I,W,U){for(var pe=U-1,_e=I.length;++pe<_e;)if(I[pe]===W)return pe;return-1}function N1(I,W,U){for(var pe=U+1;pe--;)if(I[pe]===W)return pe;return pe}function Ai(I){return Ri(I)?B1(I):D1(I)}function jn(I){return Ri(I)?U1(I):P1(I)}function uh(I){for(var W=I.length;W--&&gi.test(I.charAt(W)););return W}var K1=Ou(Q);function B1(I){for(var W=or.lastIndex=0;or.test(I);)++W;return W}function U1(I){return I.match(or)||[]}function z1(I){return I.match(Si)||[]}var j1=function I(W){W=W==null?V:Ci.defaults(V.Object(),W,Ci.pick(V,za));var U=W.Array,pe=W.Date,_e=W.Error,Ve=W.Function,Pt=W.Math,tt=W.Object,Bu=W.RegExp,V1=W.String,xn=W.TypeError,Cs=U.prototype,W1=Ve.prototype,Mi=tt.prototype,Ms=W["__core-js_shared__"],Is=W1.toString,Xe=Mi.hasOwnProperty,H1=0,ch=function(){var r=/[^.]+$/.exec(Ms&&Ms.keys&&Ms.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),ks=Mi.toString,G1=Is.call(tt),q1=V._,Z1=Bu("^"+Is.call(Xe).replace(Ta,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Os=Qe?W.Buffer:n,la=W.Symbol,Ls=W.Uint8Array,dh=Os?Os.allocUnsafe:n,Fs=lh(tt.getPrototypeOf,tt),fh=tt.create,hh=Mi.propertyIsEnumerable,Ns=Cs.splice,ph=la?la.isConcatSpreadable:n,xo=la?la.iterator:n,Va=la?la.toStringTag:n,Ks=function(){try{var r=Za(tt,"defineProperty");return r({},"",{}),r}catch{}}(),Y1=W.clearTimeout!==V.clearTimeout&&W.clearTimeout,J1=pe&&pe.now!==V.Date.now&&pe.now,Q1=W.setTimeout!==V.setTimeout&&W.setTimeout,Bs=Pt.ceil,Us=Pt.floor,Uu=tt.getOwnPropertySymbols,X1=Os?Os.isBuffer:n,mh=W.isFinite,ex=Cs.join,tx=lh(tt.keys,tt),St=Pt.max,Lt=Pt.min,nx=pe.now,rx=W.parseInt,gh=Pt.random,ax=Cs.reverse,zu=Za(W,"DataView"),wo=Za(W,"Map"),ju=Za(W,"Promise"),Ii=Za(W,"Set"),Do=Za(W,"WeakMap"),Po=Za(tt,"create"),zs=Do&&new Do,ki={},ix=Ya(zu),ox=Ya(wo),sx=Ya(ju),lx=Ya(Ii),ux=Ya(Do),js=la?la.prototype:n,So=js?js.valueOf:n,bh=js?js.toString:n;function y(r){if(ct(r)&&!Ce(r)&&!(r instanceof Be)){if(r instanceof wn)return r;if(Xe.call(r,"__wrapped__"))return yp(r)}return new wn(r)}var Oi=function(){function r(){}return function(i){if(!st(i))return{};if(fh)return fh(i);r.prototype=i;var l=new r;return r.prototype=n,l}}();function Vs(){}function wn(r,i){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=n}y.templateSettings={escape:wr,evaluate:Dr,interpolate:Tt,variable:"",imports:{_:y}},y.prototype=Vs.prototype,y.prototype.constructor=y,wn.prototype=Oi(Vs.prototype),wn.prototype.constructor=wn;function Be(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=fe,this.__views__=[]}function cx(){var r=new Be(this.__wrapped__);return r.__actions__=Jt(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=Jt(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=Jt(this.__views__),r}function dx(){if(this.__filtered__){var r=new Be(this);r.__dir__=-1,r.__filtered__=!0}else r=this.clone(),r.__dir__*=-1;return r}function fx(){var r=this.__wrapped__.value(),i=this.__dir__,l=Ce(r),d=i<0,p=l?r.length:0,$=Pw(0,p,this.__views__),S=$.start,_=$.end,k=_-S,Y=d?_:S-1,J=this.__iteratees__,te=J.length,de=0,be=Lt(k,this.__takeCount__);if(!l||!d&&p==k&&be==k)return Uh(r,this.__actions__);var Pe=[];e:for(;k--&&de<be;){Y+=i;for(var Oe=-1,Se=r[Y];++Oe<te;){var Ke=J[Oe],Ue=Ke.iteratee,hn=Ke.type,jt=Ue(Se);if(hn==ce)Se=jt;else if(!jt){if(hn==K)continue e;break e}}Pe[de++]=Se}return Pe}Be.prototype=Oi(Vs.prototype),Be.prototype.constructor=Be;function Wa(r){var i=-1,l=r==null?0:r.length;for(this.clear();++i<l;){var d=r[i];this.set(d[0],d[1])}}function hx(){this.__data__=Po?Po(null):{},this.size=0}function px(r){var i=this.has(r)&&delete this.__data__[r];return this.size-=i?1:0,i}function mx(r){var i=this.__data__;if(Po){var l=i[r];return l===f?n:l}return Xe.call(i,r)?i[r]:n}function gx(r){var i=this.__data__;return Po?i[r]!==n:Xe.call(i,r)}function bx(r,i){var l=this.__data__;return this.size+=this.has(r)?0:1,l[r]=Po&&i===n?f:i,this}Wa.prototype.clear=hx,Wa.prototype.delete=px,Wa.prototype.get=mx,Wa.prototype.has=gx,Wa.prototype.set=bx;function Rr(r){var i=-1,l=r==null?0:r.length;for(this.clear();++i<l;){var d=r[i];this.set(d[0],d[1])}}function yx(){this.__data__=[],this.size=0}function vx(r){var i=this.__data__,l=Ws(i,r);if(l<0)return!1;var d=i.length-1;return l==d?i.pop():Ns.call(i,l,1),--this.size,!0}function $x(r){var i=this.__data__,l=Ws(i,r);return l<0?n:i[l][1]}function xx(r){return Ws(this.__data__,r)>-1}function wx(r,i){var l=this.__data__,d=Ws(l,r);return d<0?(++this.size,l.push([r,i])):l[d][1]=i,this}Rr.prototype.clear=yx,Rr.prototype.delete=vx,Rr.prototype.get=$x,Rr.prototype.has=xx,Rr.prototype.set=wx;function Ar(r){var i=-1,l=r==null?0:r.length;for(this.clear();++i<l;){var d=r[i];this.set(d[0],d[1])}}function Dx(){this.size=0,this.__data__={hash:new Wa,map:new(wo||Rr),string:new Wa}}function Px(r){var i=rl(this,r).delete(r);return this.size-=i?1:0,i}function Sx(r){return rl(this,r).get(r)}function Tx(r){return rl(this,r).has(r)}function Ex(r,i){var l=rl(this,r),d=l.size;return l.set(r,i),this.size+=l.size==d?0:1,this}Ar.prototype.clear=Dx,Ar.prototype.delete=Px,Ar.prototype.get=Sx,Ar.prototype.has=Tx,Ar.prototype.set=Ex;function Ha(r){var i=-1,l=r==null?0:r.length;for(this.__data__=new Ar;++i<l;)this.add(r[i])}function _x(r){return this.__data__.set(r,f),this}function Rx(r){return this.__data__.has(r)}Ha.prototype.add=Ha.prototype.push=_x,Ha.prototype.has=Rx;function Vn(r){var i=this.__data__=new Rr(r);this.size=i.size}function Ax(){this.__data__=new Rr,this.size=0}function Cx(r){var i=this.__data__,l=i.delete(r);return this.size=i.size,l}function Mx(r){return this.__data__.get(r)}function Ix(r){return this.__data__.has(r)}function kx(r,i){var l=this.__data__;if(l instanceof Rr){var d=l.__data__;if(!wo||d.length<o-1)return d.push([r,i]),this.size=++l.size,this;l=this.__data__=new Ar(d)}return l.set(r,i),this.size=l.size,this}Vn.prototype.clear=Ax,Vn.prototype.delete=Cx,Vn.prototype.get=Mx,Vn.prototype.has=Ix,Vn.prototype.set=kx;function yh(r,i){var l=Ce(r),d=!l&&Ja(r),p=!l&&!d&&ha(r),$=!l&&!d&&!p&&Ki(r),S=l||d||p||$,_=S?Fu(r.length,V1):[],k=_.length;for(var Y in r)(i||Xe.call(r,Y))&&!(S&&(Y=="length"||p&&(Y=="offset"||Y=="parent")||$&&(Y=="buffer"||Y=="byteLength"||Y=="byteOffset")||kr(Y,k)))&&_.push(Y);return _}function vh(r){var i=r.length;return i?r[ec(0,i-1)]:n}function Ox(r,i){return al(Jt(r),Ga(i,0,r.length))}function Lx(r){return al(Jt(r))}function Vu(r,i,l){(l!==n&&!Wn(r[i],l)||l===n&&!(i in r))&&Cr(r,i,l)}function To(r,i,l){var d=r[i];(!(Xe.call(r,i)&&Wn(d,l))||l===n&&!(i in r))&&Cr(r,i,l)}function Ws(r,i){for(var l=r.length;l--;)if(Wn(r[l][0],i))return l;return-1}function Fx(r,i,l,d){return ua(r,function(p,$,S){i(d,p,l(p),S)}),d}function $h(r,i){return r&&lr(i,Rt(i),r)}function Nx(r,i){return r&&lr(i,Xt(i),r)}function Cr(r,i,l){i=="__proto__"&&Ks?Ks(r,i,{configurable:!0,enumerable:!0,value:l,writable:!0}):r[i]=l}function Wu(r,i){for(var l=-1,d=i.length,p=U(d),$=r==null;++l<d;)p[l]=$?n:Sc(r,i[l]);return p}function Ga(r,i,l){return r===r&&(l!==n&&(r=r<=l?r:l),i!==n&&(r=r>=i?r:i)),r}function Dn(r,i,l,d,p,$){var S,_=i&x,k=i&b,Y=i&v;if(l&&(S=p?l(r,d,p,$):l(r)),S!==n)return S;if(!st(r))return r;var J=Ce(r);if(J){if(S=Tw(r),!_)return Jt(r,S)}else{var te=Ft(r),de=te==sn||te==Xn;if(ha(r))return Vh(r,_);if(te==ln||te==le||de&&!p){if(S=k||de?{}:up(r),!_)return k?mw(r,Nx(S,r)):pw(r,$h(S,r))}else{if(!ze[te])return p?r:{};S=Ew(r,te,_)}}$||($=new Vn);var be=$.get(r);if(be)return be;$.set(r,S),Np(r)?r.forEach(function(Se){S.add(Dn(Se,i,l,Se,r,$))}):Lp(r)&&r.forEach(function(Se,Ke){S.set(Ke,Dn(Se,i,l,Ke,r,$))});var Pe=Y?k?dc:cc:k?Xt:Rt,Oe=J?n:Pe(r);return $n(Oe||r,function(Se,Ke){Oe&&(Ke=Se,Se=r[Ke]),To(S,Ke,Dn(Se,i,l,Ke,r,$))}),S}function Kx(r){var i=Rt(r);return function(l){return xh(l,r,i)}}function xh(r,i,l){var d=l.length;if(r==null)return!d;for(r=tt(r);d--;){var p=l[d],$=i[p],S=r[p];if(S===n&&!(p in r)||!$(S))return!1}return!0}function wh(r,i,l){if(typeof r!="function")throw new xn(u);return Io(function(){r.apply(n,l)},i)}function Eo(r,i,l,d){var p=-1,$=_s,S=!0,_=r.length,k=[],Y=i.length;if(!_)return k;l&&(i=at(i,cn(l))),d?($=Cu,S=!1):i.length>=o&&($=$o,S=!1,i=new Ha(i));e:for(;++p<_;){var J=r[p],te=l==null?J:l(J);if(J=d||J!==0?J:0,S&&te===te){for(var de=Y;de--;)if(i[de]===te)continue e;k.push(J)}else $(i,te,d)||k.push(J)}return k}var ua=Zh(sr),Dh=Zh(Gu,!0);function Bx(r,i){var l=!0;return ua(r,function(d,p,$){return l=!!i(d,p,$),l}),l}function Hs(r,i,l){for(var d=-1,p=r.length;++d<p;){var $=r[d],S=i($);if(S!=null&&(_===n?S===S&&!fn(S):l(S,_)))var _=S,k=$}return k}function Ux(r,i,l,d){var p=r.length;for(l=Ie(l),l<0&&(l=-l>p?0:p+l),d=d===n||d>p?p:Ie(d),d<0&&(d+=p),d=l>d?0:Bp(d);l<d;)r[l++]=i;return r}function Ph(r,i){var l=[];return ua(r,function(d,p,$){i(d,p,$)&&l.push(d)}),l}function Mt(r,i,l,d,p){var $=-1,S=r.length;for(l||(l=Rw),p||(p=[]);++$<S;){var _=r[$];i>0&&l(_)?i>1?Mt(_,i-1,l,d,p):oa(p,_):d||(p[p.length]=_)}return p}var Hu=Yh(),Sh=Yh(!0);function sr(r,i){return r&&Hu(r,i,Rt)}function Gu(r,i){return r&&Sh(r,i,Rt)}function Gs(r,i){return ia(i,function(l){return Or(r[l])})}function qa(r,i){i=da(i,r);for(var l=0,d=i.length;r!=null&&l<d;)r=r[ur(i[l++])];return l&&l==d?r:n}function Th(r,i,l){var d=i(r);return Ce(r)?d:oa(d,l(r))}function Ut(r){return r==null?r===n?po:fo:Va&&Va in tt(r)?Dw(r):Lw(r)}function qu(r,i){return r>i}function zx(r,i){return r!=null&&Xe.call(r,i)}function jx(r,i){return r!=null&&i in tt(r)}function Vx(r,i,l){return r>=Lt(i,l)&&r<St(i,l)}function Zu(r,i,l){for(var d=l?Cu:_s,p=r[0].length,$=r.length,S=$,_=U($),k=1/0,Y=[];S--;){var J=r[S];S&&i&&(J=at(J,cn(i))),k=Lt(J.length,k),_[S]=!l&&(i||p>=120&&J.length>=120)?new Ha(S&&J):n}J=r[0];var te=-1,de=_[0];e:for(;++te<p&&Y.length<k;){var be=J[te],Pe=i?i(be):be;if(be=l||be!==0?be:0,!(de?$o(de,Pe):d(Y,Pe,l))){for(S=$;--S;){var Oe=_[S];if(!(Oe?$o(Oe,Pe):d(r[S],Pe,l)))continue e}de&&de.push(Pe),Y.push(be)}}return Y}function Wx(r,i,l,d){return sr(r,function(p,$,S){i(d,l(p),$,S)}),d}function _o(r,i,l){i=da(i,r),r=hp(r,i);var d=r==null?r:r[ur(Sn(i))];return d==null?n:_t(d,r,l)}function Eh(r){return ct(r)&&Ut(r)==le}function Hx(r){return ct(r)&&Ut(r)==ie}function Gx(r){return ct(r)&&Ut(r)==it}function Ro(r,i,l,d,p){return r===i?!0:r==null||i==null||!ct(r)&&!ct(i)?r!==r&&i!==i:qx(r,i,l,d,Ro,p)}function qx(r,i,l,d,p,$){var S=Ce(r),_=Ce(i),k=S?Le:Ft(r),Y=_?Le:Ft(i);k=k==le?ln:k,Y=Y==le?ln:Y;var J=k==ln,te=Y==ln,de=k==Y;if(de&&ha(r)){if(!ha(i))return!1;S=!0,J=!1}if(de&&!J)return $||($=new Vn),S||Ki(r)?op(r,i,l,d,p,$):xw(r,i,k,l,d,p,$);if(!(l&w)){var be=J&&Xe.call(r,"__wrapped__"),Pe=te&&Xe.call(i,"__wrapped__");if(be||Pe){var Oe=be?r.value():r,Se=Pe?i.value():i;return $||($=new Vn),p(Oe,Se,l,d,$)}}return de?($||($=new Vn),ww(r,i,l,d,p,$)):!1}function Zx(r){return ct(r)&&Ft(r)==kt}function Yu(r,i,l,d){var p=l.length,$=p,S=!d;if(r==null)return!$;for(r=tt(r);p--;){var _=l[p];if(S&&_[2]?_[1]!==r[_[0]]:!(_[0]in r))return!1}for(;++p<$;){_=l[p];var k=_[0],Y=r[k],J=_[1];if(S&&_[2]){if(Y===n&&!(k in r))return!1}else{var te=new Vn;if(d)var de=d(Y,J,k,r,i,te);if(!(de===n?Ro(J,Y,w|T,d,te):de))return!1}}return!0}function _h(r){if(!st(r)||Cw(r))return!1;var i=Or(r)?Z1:lt;return i.test(Ya(r))}function Yx(r){return ct(r)&&Ut(r)==br}function Jx(r){return ct(r)&&Ft(r)==Kt}function Qx(r){return ct(r)&&cl(r.length)&&!!Je[Ut(r)]}function Rh(r){return typeof r=="function"?r:r==null?en:typeof r=="object"?Ce(r)?Mh(r[0],r[1]):Ch(r):Jp(r)}function Ju(r){if(!Mo(r))return tx(r);var i=[];for(var l in tt(r))Xe.call(r,l)&&l!="constructor"&&i.push(l);return i}function Xx(r){if(!st(r))return Ow(r);var i=Mo(r),l=[];for(var d in r)d=="constructor"&&(i||!Xe.call(r,d))||l.push(d);return l}function Qu(r,i){return r<i}function Ah(r,i){var l=-1,d=Qt(r)?U(r.length):[];return ua(r,function(p,$,S){d[++l]=i(p,$,S)}),d}function Ch(r){var i=hc(r);return i.length==1&&i[0][2]?dp(i[0][0],i[0][1]):function(l){return l===r||Yu(l,r,i)}}function Mh(r,i){return mc(r)&&cp(i)?dp(ur(r),i):function(l){var d=Sc(l,r);return d===n&&d===i?Tc(l,r):Ro(i,d,w|T)}}function qs(r,i,l,d,p){r!==i&&Hu(i,function($,S){if(p||(p=new Vn),st($))ew(r,i,S,l,qs,d,p);else{var _=d?d(bc(r,S),$,S+"",r,i,p):n;_===n&&(_=$),Vu(r,S,_)}},Xt)}function ew(r,i,l,d,p,$,S){var _=bc(r,l),k=bc(i,l),Y=S.get(k);if(Y){Vu(r,l,Y);return}var J=$?$(_,k,l+"",r,i,S):n,te=J===n;if(te){var de=Ce(k),be=!de&&ha(k),Pe=!de&&!be&&Ki(k);J=k,de||be||Pe?Ce(_)?J=_:ht(_)?J=Jt(_):be?(te=!1,J=Vh(k,!0)):Pe?(te=!1,J=Wh(k,!0)):J=[]:ko(k)||Ja(k)?(J=_,Ja(_)?J=Up(_):(!st(_)||Or(_))&&(J=up(k))):te=!1}te&&(S.set(k,J),p(J,k,d,$,S),S.delete(k)),Vu(r,l,J)}function Ih(r,i){var l=r.length;if(l)return i+=i<0?l:0,kr(i,l)?r[i]:n}function kh(r,i,l){i.length?i=at(i,function($){return Ce($)?function(S){return qa(S,$.length===1?$[0]:$)}:$}):i=[en];var d=-1;i=at(i,cn(we()));var p=Ah(r,function($,S,_){var k=at(i,function(Y){return Y($)});return{criteria:k,index:++d,value:$}});return E1(p,function($,S){return hw($,S,l)})}function tw(r,i){return Oh(r,i,function(l,d){return Tc(r,d)})}function Oh(r,i,l){for(var d=-1,p=i.length,$={};++d<p;){var S=i[d],_=qa(r,S);l(_,S)&&Ao($,da(S,r),_)}return $}function nw(r){return function(i){return qa(i,r)}}function Xu(r,i,l,d){var p=d?T1:_i,$=-1,S=i.length,_=r;for(r===i&&(i=Jt(i)),l&&(_=at(r,cn(l)));++$<S;)for(var k=0,Y=i[$],J=l?l(Y):Y;(k=p(_,J,k,d))>-1;)_!==r&&Ns.call(_,k,1),Ns.call(r,k,1);return r}function Lh(r,i){for(var l=r?i.length:0,d=l-1;l--;){var p=i[l];if(l==d||p!==$){var $=p;kr(p)?Ns.call(r,p,1):rc(r,p)}}return r}function ec(r,i){return r+Us(gh()*(i-r+1))}function rw(r,i,l,d){for(var p=-1,$=St(Bs((i-r)/(l||1)),0),S=U($);$--;)S[d?$:++p]=r,r+=l;return S}function tc(r,i){var l="";if(!r||i<1||i>Z)return l;do i%2&&(l+=r),i=Us(i/2),i&&(r+=r);while(i);return l}function Fe(r,i){return yc(fp(r,i,en),r+"")}function aw(r){return vh(Bi(r))}function iw(r,i){var l=Bi(r);return al(l,Ga(i,0,l.length))}function Ao(r,i,l,d){if(!st(r))return r;i=da(i,r);for(var p=-1,$=i.length,S=$-1,_=r;_!=null&&++p<$;){var k=ur(i[p]),Y=l;if(k==="__proto__"||k==="constructor"||k==="prototype")return r;if(p!=S){var J=_[k];Y=d?d(J,k,_):n,Y===n&&(Y=st(J)?J:kr(i[p+1])?[]:{})}To(_,k,Y),_=_[k]}return r}var Fh=zs?function(r,i){return zs.set(r,i),r}:en,ow=Ks?function(r,i){return Ks(r,"toString",{configurable:!0,enumerable:!1,value:_c(i),writable:!0})}:en;function sw(r){return al(Bi(r))}function Pn(r,i,l){var d=-1,p=r.length;i<0&&(i=-i>p?0:p+i),l=l>p?p:l,l<0&&(l+=p),p=i>l?0:l-i>>>0,i>>>=0;for(var $=U(p);++d<p;)$[d]=r[d+i];return $}function lw(r,i){var l;return ua(r,function(d,p,$){return l=i(d,p,$),!l}),!!l}function Zs(r,i,l){var d=0,p=r==null?d:r.length;if(typeof i=="number"&&i===i&&p<=ye){for(;d<p;){var $=d+p>>>1,S=r[$];S!==null&&!fn(S)&&(l?S<=i:S<i)?d=$+1:p=$}return p}return nc(r,i,en,l)}function nc(r,i,l,d){var p=0,$=r==null?0:r.length;if($===0)return 0;i=l(i);for(var S=i!==i,_=i===null,k=fn(i),Y=i===n;p<$;){var J=Us((p+$)/2),te=l(r[J]),de=te!==n,be=te===null,Pe=te===te,Oe=fn(te);if(S)var Se=d||Pe;else Y?Se=Pe&&(d||de):_?Se=Pe&&de&&(d||!be):k?Se=Pe&&de&&!be&&(d||!Oe):be||Oe?Se=!1:Se=d?te<=i:te<i;Se?p=J+1:$=J}return Lt($,q)}function Nh(r,i){for(var l=-1,d=r.length,p=0,$=[];++l<d;){var S=r[l],_=i?i(S):S;if(!l||!Wn(_,k)){var k=_;$[p++]=S===0?0:S}}return $}function Kh(r){return typeof r=="number"?r:fn(r)?j:+r}function dn(r){if(typeof r=="string")return r;if(Ce(r))return at(r,dn)+"";if(fn(r))return bh?bh.call(r):"";var i=r+"";return i=="0"&&1/r==-ne?"-0":i}function ca(r,i,l){var d=-1,p=_s,$=r.length,S=!0,_=[],k=_;if(l)S=!1,p=Cu;else if($>=o){var Y=i?null:vw(r);if(Y)return As(Y);S=!1,p=$o,k=new Ha}else k=i?[]:_;e:for(;++d<$;){var J=r[d],te=i?i(J):J;if(J=l||J!==0?J:0,S&&te===te){for(var de=k.length;de--;)if(k[de]===te)continue e;i&&k.push(te),_.push(J)}else p(k,te,l)||(k!==_&&k.push(te),_.push(J))}return _}function rc(r,i){return i=da(i,r),r=hp(r,i),r==null||delete r[ur(Sn(i))]}function Bh(r,i,l,d){return Ao(r,i,l(qa(r,i)),d)}function Ys(r,i,l,d){for(var p=r.length,$=d?p:-1;(d?$--:++$<p)&&i(r[$],$,r););return l?Pn(r,d?0:$,d?$+1:p):Pn(r,d?$+1:0,d?p:$)}function Uh(r,i){var l=r;return l instanceof Be&&(l=l.value()),Mu(i,function(d,p){return p.func.apply(p.thisArg,oa([d],p.args))},l)}function ac(r,i,l){var d=r.length;if(d<2)return d?ca(r[0]):[];for(var p=-1,$=U(d);++p<d;)for(var S=r[p],_=-1;++_<d;)_!=p&&($[p]=Eo($[p]||S,r[_],i,l));return ca(Mt($,1),i,l)}function zh(r,i,l){for(var d=-1,p=r.length,$=i.length,S={};++d<p;){var _=d<$?i[d]:n;l(S,r[d],_)}return S}function ic(r){return ht(r)?r:[]}function oc(r){return typeof r=="function"?r:en}function da(r,i){return Ce(r)?r:mc(r,i)?[r]:bp(Ge(r))}var uw=Fe;function fa(r,i,l){var d=r.length;return l=l===n?d:l,!i&&l>=d?r:Pn(r,i,l)}var jh=Y1||function(r){return V.clearTimeout(r)};function Vh(r,i){if(i)return r.slice();var l=r.length,d=dh?dh(l):new r.constructor(l);return r.copy(d),d}function sc(r){var i=new r.constructor(r.byteLength);return new Ls(i).set(new Ls(r)),i}function cw(r,i){var l=i?sc(r.buffer):r.buffer;return new r.constructor(l,r.byteOffset,r.byteLength)}function dw(r){var i=new r.constructor(r.source,qt.exec(r));return i.lastIndex=r.lastIndex,i}function fw(r){return So?tt(So.call(r)):{}}function Wh(r,i){var l=i?sc(r.buffer):r.buffer;return new r.constructor(l,r.byteOffset,r.length)}function Hh(r,i){if(r!==i){var l=r!==n,d=r===null,p=r===r,$=fn(r),S=i!==n,_=i===null,k=i===i,Y=fn(i);if(!_&&!Y&&!$&&r>i||$&&S&&k&&!_&&!Y||d&&S&&k||!l&&k||!p)return 1;if(!d&&!$&&!Y&&r<i||Y&&l&&p&&!d&&!$||_&&l&&p||!S&&p||!k)return-1}return 0}function hw(r,i,l){for(var d=-1,p=r.criteria,$=i.criteria,S=p.length,_=l.length;++d<S;){var k=Hh(p[d],$[d]);if(k){if(d>=_)return k;var Y=l[d];return k*(Y=="desc"?-1:1)}}return r.index-i.index}function Gh(r,i,l,d){for(var p=-1,$=r.length,S=l.length,_=-1,k=i.length,Y=St($-S,0),J=U(k+Y),te=!d;++_<k;)J[_]=i[_];for(;++p<S;)(te||p<$)&&(J[l[p]]=r[p]);for(;Y--;)J[_++]=r[p++];return J}function qh(r,i,l,d){for(var p=-1,$=r.length,S=-1,_=l.length,k=-1,Y=i.length,J=St($-_,0),te=U(J+Y),de=!d;++p<J;)te[p]=r[p];for(var be=p;++k<Y;)te[be+k]=i[k];for(;++S<_;)(de||p<$)&&(te[be+l[S]]=r[p++]);return te}function Jt(r,i){var l=-1,d=r.length;for(i||(i=U(d));++l<d;)i[l]=r[l];return i}function lr(r,i,l,d){var p=!l;l||(l={});for(var $=-1,S=i.length;++$<S;){var _=i[$],k=d?d(l[_],r[_],_,l,r):n;k===n&&(k=r[_]),p?Cr(l,_,k):To(l,_,k)}return l}function pw(r,i){return lr(r,pc(r),i)}function mw(r,i){return lr(r,sp(r),i)}function Js(r,i){return function(l,d){var p=Ce(l)?$1:Fx,$=i?i():{};return p(l,r,we(d,2),$)}}function Li(r){return Fe(function(i,l){var d=-1,p=l.length,$=p>1?l[p-1]:n,S=p>2?l[2]:n;for($=r.length>3&&typeof $=="function"?(p--,$):n,S&&zt(l[0],l[1],S)&&($=p<3?n:$,p=1),i=tt(i);++d<p;){var _=l[d];_&&r(i,_,d,$)}return i})}function Zh(r,i){return function(l,d){if(l==null)return l;if(!Qt(l))return r(l,d);for(var p=l.length,$=i?p:-1,S=tt(l);(i?$--:++$<p)&&d(S[$],$,S)!==!1;);return l}}function Yh(r){return function(i,l,d){for(var p=-1,$=tt(i),S=d(i),_=S.length;_--;){var k=S[r?_:++p];if(l($[k],k,$)===!1)break}return i}}function gw(r,i,l){var d=i&E,p=Co(r);function $(){var S=this&&this!==V&&this instanceof $?p:r;return S.apply(d?l:this,arguments)}return $}function Jh(r){return function(i){i=Ge(i);var l=Ri(i)?jn(i):n,d=l?l[0]:i.charAt(0),p=l?fa(l,1).join(""):i.slice(1);return d[r]()+p}}function Fi(r){return function(i){return Mu(Zp(qp(i).replace(Ua,"")),r,"")}}function Co(r){return function(){var i=arguments;switch(i.length){case 0:return new r;case 1:return new r(i[0]);case 2:return new r(i[0],i[1]);case 3:return new r(i[0],i[1],i[2]);case 4:return new r(i[0],i[1],i[2],i[3]);case 5:return new r(i[0],i[1],i[2],i[3],i[4]);case 6:return new r(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new r(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var l=Oi(r.prototype),d=r.apply(l,i);return st(d)?d:l}}function bw(r,i,l){var d=Co(r);function p(){for(var $=arguments.length,S=U($),_=$,k=Ni(p);_--;)S[_]=arguments[_];var Y=$<3&&S[0]!==k&&S[$-1]!==k?[]:sa(S,k);if($-=Y.length,$<l)return np(r,i,Qs,p.placeholder,n,S,Y,n,n,l-$);var J=this&&this!==V&&this instanceof p?d:r;return _t(J,this,S)}return p}function Qh(r){return function(i,l,d){var p=tt(i);if(!Qt(i)){var $=we(l,3);i=Rt(i),l=function(_){return $(p[_],_,p)}}var S=r(i,l,d);return S>-1?p[$?i[S]:S]:n}}function Xh(r){return Ir(function(i){var l=i.length,d=l,p=wn.prototype.thru;for(r&&i.reverse();d--;){var $=i[d];if(typeof $!="function")throw new xn(u);if(p&&!S&&nl($)=="wrapper")var S=new wn([],!0)}for(d=S?d:l;++d<l;){$=i[d];var _=nl($),k=_=="wrapper"?fc($):n;k&&gc(k[0])&&k[1]==(ee|N|B|P)&&!k[4].length&&k[9]==1?S=S[nl(k[0])].apply(S,k[3]):S=$.length==1&&gc($)?S[_]():S.thru($)}return function(){var Y=arguments,J=Y[0];if(S&&Y.length==1&&Ce(J))return S.plant(J).value();for(var te=0,de=l?i[te].apply(this,Y):J;++te<l;)de=i[te].call(this,de);return de}})}function Qs(r,i,l,d,p,$,S,_,k,Y){var J=i&ee,te=i&E,de=i&L,be=i&(N|O),Pe=i&z,Oe=de?n:Co(r);function Se(){for(var Ke=arguments.length,Ue=U(Ke),hn=Ke;hn--;)Ue[hn]=arguments[hn];if(be)var jt=Ni(Se),pn=R1(Ue,jt);if(d&&(Ue=Gh(Ue,d,p,be)),$&&(Ue=qh(Ue,$,S,be)),Ke-=pn,be&&Ke<Y){var pt=sa(Ue,jt);return np(r,i,Qs,Se.placeholder,l,Ue,pt,_,k,Y-Ke)}var Hn=te?l:this,Fr=de?Hn[r]:r;return Ke=Ue.length,_?Ue=Fw(Ue,_):Pe&&Ke>1&&Ue.reverse(),J&&k<Ke&&(Ue.length=k),this&&this!==V&&this instanceof Se&&(Fr=Oe||Co(Fr)),Fr.apply(Hn,Ue)}return Se}function ep(r,i){return function(l,d){return Wx(l,r,i(d),{})}}function Xs(r,i){return function(l,d){var p;if(l===n&&d===n)return i;if(l!==n&&(p=l),d!==n){if(p===n)return d;typeof l=="string"||typeof d=="string"?(l=dn(l),d=dn(d)):(l=Kh(l),d=Kh(d)),p=r(l,d)}return p}}function lc(r){return Ir(function(i){return i=at(i,cn(we())),Fe(function(l){var d=this;return r(i,function(p){return _t(p,d,l)})})})}function el(r,i){i=i===n?" ":dn(i);var l=i.length;if(l<2)return l?tc(i,r):i;var d=tc(i,Bs(r/Ai(i)));return Ri(i)?fa(jn(d),0,r).join(""):d.slice(0,r)}function yw(r,i,l,d){var p=i&E,$=Co(r);function S(){for(var _=-1,k=arguments.length,Y=-1,J=d.length,te=U(J+k),de=this&&this!==V&&this instanceof S?$:r;++Y<J;)te[Y]=d[Y];for(;k--;)te[Y++]=arguments[++_];return _t(de,p?l:this,te)}return S}function tp(r){return function(i,l,d){return d&&typeof d!="number"&&zt(i,l,d)&&(l=d=n),i=Lr(i),l===n?(l=i,i=0):l=Lr(l),d=d===n?i<l?1:-1:Lr(d),rw(i,l,d,r)}}function tl(r){return function(i,l){return typeof i=="string"&&typeof l=="string"||(i=Tn(i),l=Tn(l)),r(i,l)}}function np(r,i,l,d,p,$,S,_,k,Y){var J=i&N,te=J?S:n,de=J?n:S,be=J?$:n,Pe=J?n:$;i|=J?B:se,i&=~(J?se:B),i&C||(i&=~(E|L));var Oe=[r,i,p,be,te,Pe,de,_,k,Y],Se=l.apply(n,Oe);return gc(r)&&pp(Se,Oe),Se.placeholder=d,mp(Se,r,i)}function uc(r){var i=Pt[r];return function(l,d){if(l=Tn(l),d=d==null?0:Lt(Ie(d),292),d&&mh(l)){var p=(Ge(l)+"e").split("e"),$=i(p[0]+"e"+(+p[1]+d));return p=(Ge($)+"e").split("e"),+(p[0]+"e"+(+p[1]-d))}return i(l)}}var vw=Ii&&1/As(new Ii([,-0]))[1]==ne?function(r){return new Ii(r)}:Cc;function rp(r){return function(i){var l=Ft(i);return l==kt?Ku(i):l==Kt?L1(i):_1(i,r(i))}}function Mr(r,i,l,d,p,$,S,_){var k=i&L;if(!k&&typeof r!="function")throw new xn(u);var Y=d?d.length:0;if(Y||(i&=~(B|se),d=p=n),S=S===n?S:St(Ie(S),0),_=_===n?_:Ie(_),Y-=p?p.length:0,i&se){var J=d,te=p;d=p=n}var de=k?n:fc(r),be=[r,i,l,d,p,J,te,$,S,_];if(de&&kw(be,de),r=be[0],i=be[1],l=be[2],d=be[3],p=be[4],_=be[9]=be[9]===n?k?0:r.length:St(be[9]-Y,0),!_&&i&(N|O)&&(i&=~(N|O)),!i||i==E)var Pe=gw(r,i,l);else i==N||i==O?Pe=bw(r,i,_):(i==B||i==(E|B))&&!p.length?Pe=yw(r,i,l,d):Pe=Qs.apply(n,be);var Oe=de?Fh:pp;return mp(Oe(Pe,be),r,i)}function ap(r,i,l,d){return r===n||Wn(r,Mi[l])&&!Xe.call(d,l)?i:r}function ip(r,i,l,d,p,$){return st(r)&&st(i)&&($.set(i,r),qs(r,i,n,ip,$),$.delete(i)),r}function $w(r){return ko(r)?n:r}function op(r,i,l,d,p,$){var S=l&w,_=r.length,k=i.length;if(_!=k&&!(S&&k>_))return!1;var Y=$.get(r),J=$.get(i);if(Y&&J)return Y==i&&J==r;var te=-1,de=!0,be=l&T?new Ha:n;for($.set(r,i),$.set(i,r);++te<_;){var Pe=r[te],Oe=i[te];if(d)var Se=S?d(Oe,Pe,te,i,r,$):d(Pe,Oe,te,r,i,$);if(Se!==n){if(Se)continue;de=!1;break}if(be){if(!Iu(i,function(Ke,Ue){if(!$o(be,Ue)&&(Pe===Ke||p(Pe,Ke,l,d,$)))return be.push(Ue)})){de=!1;break}}else if(!(Pe===Oe||p(Pe,Oe,l,d,$))){de=!1;break}}return $.delete(r),$.delete(i),de}function xw(r,i,l,d,p,$,S){switch(l){case ue:if(r.byteLength!=i.byteLength||r.byteOffset!=i.byteOffset)return!1;r=r.buffer,i=i.buffer;case ie:return!(r.byteLength!=i.byteLength||!$(new Ls(r),new Ls(i)));case Ze:case it:case gr:return Wn(+r,+i);case Ht:return r.name==i.name&&r.message==i.message;case br:case yr:return r==i+"";case kt:var _=Ku;case Kt:var k=d&w;if(_||(_=As),r.size!=i.size&&!k)return!1;var Y=S.get(r);if(Y)return Y==i;d|=T,S.set(r,i);var J=op(_(r),_(i),d,p,$,S);return S.delete(r),J;case Yr:if(So)return So.call(r)==So.call(i)}return!1}function ww(r,i,l,d,p,$){var S=l&w,_=cc(r),k=_.length,Y=cc(i),J=Y.length;if(k!=J&&!S)return!1;for(var te=k;te--;){var de=_[te];if(!(S?de in i:Xe.call(i,de)))return!1}var be=$.get(r),Pe=$.get(i);if(be&&Pe)return be==i&&Pe==r;var Oe=!0;$.set(r,i),$.set(i,r);for(var Se=S;++te<k;){de=_[te];var Ke=r[de],Ue=i[de];if(d)var hn=S?d(Ue,Ke,de,i,r,$):d(Ke,Ue,de,r,i,$);if(!(hn===n?Ke===Ue||p(Ke,Ue,l,d,$):hn)){Oe=!1;break}Se||(Se=de=="constructor")}if(Oe&&!Se){var jt=r.constructor,pn=i.constructor;jt!=pn&&"constructor"in r&&"constructor"in i&&!(typeof jt=="function"&&jt instanceof jt&&typeof pn=="function"&&pn instanceof pn)&&(Oe=!1)}return $.delete(r),$.delete(i),Oe}function Ir(r){return yc(fp(r,n,xp),r+"")}function cc(r){return Th(r,Rt,pc)}function dc(r){return Th(r,Xt,sp)}var fc=zs?function(r){return zs.get(r)}:Cc;function nl(r){for(var i=r.name+"",l=ki[i],d=Xe.call(ki,i)?l.length:0;d--;){var p=l[d],$=p.func;if($==null||$==r)return p.name}return i}function Ni(r){var i=Xe.call(y,"placeholder")?y:r;return i.placeholder}function we(){var r=y.iteratee||Rc;return r=r===Rc?Rh:r,arguments.length?r(arguments[0],arguments[1]):r}function rl(r,i){var l=r.__data__;return Aw(i)?l[typeof i=="string"?"string":"hash"]:l.map}function hc(r){for(var i=Rt(r),l=i.length;l--;){var d=i[l],p=r[d];i[l]=[d,p,cp(p)]}return i}function Za(r,i){var l=I1(r,i);return _h(l)?l:n}function Dw(r){var i=Xe.call(r,Va),l=r[Va];try{r[Va]=n;var d=!0}catch{}var p=ks.call(r);return d&&(i?r[Va]=l:delete r[Va]),p}var pc=Uu?function(r){return r==null?[]:(r=tt(r),ia(Uu(r),function(i){return hh.call(r,i)}))}:Mc,sp=Uu?function(r){for(var i=[];r;)oa(i,pc(r)),r=Fs(r);return i}:Mc,Ft=Ut;(zu&&Ft(new zu(new ArrayBuffer(1)))!=ue||wo&&Ft(new wo)!=kt||ju&&Ft(ju.resolve())!=pi||Ii&&Ft(new Ii)!=Kt||Do&&Ft(new Do)!=er)&&(Ft=function(r){var i=Ut(r),l=i==ln?r.constructor:n,d=l?Ya(l):"";if(d)switch(d){case ix:return ue;case ox:return kt;case sx:return pi;case lx:return Kt;case ux:return er}return i});function Pw(r,i,l){for(var d=-1,p=l.length;++d<p;){var $=l[d],S=$.size;switch($.type){case"drop":r+=S;break;case"dropRight":i-=S;break;case"take":i=Lt(i,r+S);break;case"takeRight":r=St(r,i-S);break}}return{start:r,end:i}}function Sw(r){var i=r.match(yt);return i?i[1].split(_a):[]}function lp(r,i,l){i=da(i,r);for(var d=-1,p=i.length,$=!1;++d<p;){var S=ur(i[d]);if(!($=r!=null&&l(r,S)))break;r=r[S]}return $||++d!=p?$:(p=r==null?0:r.length,!!p&&cl(p)&&kr(S,p)&&(Ce(r)||Ja(r)))}function Tw(r){var i=r.length,l=new r.constructor(i);return i&&typeof r[0]=="string"&&Xe.call(r,"index")&&(l.index=r.index,l.input=r.input),l}function up(r){return typeof r.constructor=="function"&&!Mo(r)?Oi(Fs(r)):{}}function Ew(r,i,l){var d=r.constructor;switch(i){case ie:return sc(r);case Ze:case it:return new d(+r);case ue:return cw(r,l);case ve:case De:case Ye:case At:case Bt:case Ct:case Gt:case gn:case Jr:return Wh(r,l);case kt:return new d;case gr:case yr:return new d(r);case br:return dw(r);case Kt:return new d;case Yr:return fw(r)}}function _w(r,i){var l=i.length;if(!l)return r;var d=l-1;return i[d]=(l>1?"& ":"")+i[d],i=i.join(l>2?", ":" "),r.replace(Xr,`{
56
+ /* [wrapped with `+i+`] */
57
+ `)}function Rw(r){return Ce(r)||Ja(r)||!!(ph&&r&&r[ph])}function kr(r,i){var l=typeof r;return i=i??Z,!!i&&(l=="number"||l!="symbol"&&ut.test(r))&&r>-1&&r%1==0&&r<i}function zt(r,i,l){if(!st(l))return!1;var d=typeof i;return(d=="number"?Qt(l)&&kr(i,l.length):d=="string"&&i in l)?Wn(l[i],r):!1}function mc(r,i){if(Ce(r))return!1;var l=typeof r;return l=="number"||l=="symbol"||l=="boolean"||r==null||fn(r)?!0:Qr.test(r)||!On.test(r)||i!=null&&r in tt(i)}function Aw(r){var i=typeof r;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?r!=="__proto__":r===null}function gc(r){var i=nl(r),l=y[i];if(typeof l!="function"||!(i in Be.prototype))return!1;if(r===l)return!0;var d=fc(l);return!!d&&r===d[0]}function Cw(r){return!!ch&&ch in r}var Mw=Ms?Or:Ic;function Mo(r){var i=r&&r.constructor,l=typeof i=="function"&&i.prototype||Mi;return r===l}function cp(r){return r===r&&!st(r)}function dp(r,i){return function(l){return l==null?!1:l[r]===i&&(i!==n||r in tt(l))}}function Iw(r){var i=ll(r,function(d){return l.size===h&&l.clear(),d}),l=i.cache;return i}function kw(r,i){var l=r[1],d=i[1],p=l|d,$=p<(E|L|ee),S=d==ee&&l==N||d==ee&&l==P&&r[7].length<=i[8]||d==(ee|P)&&i[7].length<=i[8]&&l==N;if(!($||S))return r;d&E&&(r[2]=i[2],p|=l&E?0:C);var _=i[3];if(_){var k=r[3];r[3]=k?Gh(k,_,i[4]):_,r[4]=k?sa(r[3],m):i[4]}return _=i[5],_&&(k=r[5],r[5]=k?qh(k,_,i[6]):_,r[6]=k?sa(r[5],m):i[6]),_=i[7],_&&(r[7]=_),d&ee&&(r[8]=r[8]==null?i[8]:Lt(r[8],i[8])),r[9]==null&&(r[9]=i[9]),r[0]=i[0],r[1]=p,r}function Ow(r){var i=[];if(r!=null)for(var l in tt(r))i.push(l);return i}function Lw(r){return ks.call(r)}function fp(r,i,l){return i=St(i===n?r.length-1:i,0),function(){for(var d=arguments,p=-1,$=St(d.length-i,0),S=U($);++p<$;)S[p]=d[i+p];p=-1;for(var _=U(i+1);++p<i;)_[p]=d[p];return _[i]=l(S),_t(r,this,_)}}function hp(r,i){return i.length<2?r:qa(r,Pn(i,0,-1))}function Fw(r,i){for(var l=r.length,d=Lt(i.length,l),p=Jt(r);d--;){var $=i[d];r[d]=kr($,l)?p[$]:n}return r}function bc(r,i){if(!(i==="constructor"&&typeof r[i]=="function")&&i!="__proto__")return r[i]}var pp=gp(Fh),Io=Q1||function(r,i){return V.setTimeout(r,i)},yc=gp(ow);function mp(r,i,l){var d=i+"";return yc(r,_w(d,Nw(Sw(d),l)))}function gp(r){var i=0,l=0;return function(){var d=nx(),p=G-(d-l);if(l=d,p>0){if(++i>=ge)return arguments[0]}else i=0;return r.apply(n,arguments)}}function al(r,i){var l=-1,d=r.length,p=d-1;for(i=i===n?d:i;++l<i;){var $=ec(l,p),S=r[$];r[$]=r[l],r[l]=S}return r.length=i,r}var bp=Iw(function(r){var i=[];return r.charCodeAt(0)===46&&i.push(""),r.replace(Sa,function(l,d,p,$){i.push(p?$.replace(yo,"$1"):d||l)}),i});function ur(r){if(typeof r=="string"||fn(r))return r;var i=r+"";return i=="0"&&1/r==-ne?"-0":i}function Ya(r){if(r!=null){try{return Is.call(r)}catch{}try{return r+""}catch{}}return""}function Nw(r,i){return $n(xe,function(l){var d="_."+l[0];i&l[1]&&!_s(r,d)&&r.push(d)}),r.sort()}function yp(r){if(r instanceof Be)return r.clone();var i=new wn(r.__wrapped__,r.__chain__);return i.__actions__=Jt(r.__actions__),i.__index__=r.__index__,i.__values__=r.__values__,i}function Kw(r,i,l){(l?zt(r,i,l):i===n)?i=1:i=St(Ie(i),0);var d=r==null?0:r.length;if(!d||i<1)return[];for(var p=0,$=0,S=U(Bs(d/i));p<d;)S[$++]=Pn(r,p,p+=i);return S}function Bw(r){for(var i=-1,l=r==null?0:r.length,d=0,p=[];++i<l;){var $=r[i];$&&(p[d++]=$)}return p}function Uw(){var r=arguments.length;if(!r)return[];for(var i=U(r-1),l=arguments[0],d=r;d--;)i[d-1]=arguments[d];return oa(Ce(l)?Jt(l):[l],Mt(i,1))}var zw=Fe(function(r,i){return ht(r)?Eo(r,Mt(i,1,ht,!0)):[]}),jw=Fe(function(r,i){var l=Sn(i);return ht(l)&&(l=n),ht(r)?Eo(r,Mt(i,1,ht,!0),we(l,2)):[]}),Vw=Fe(function(r,i){var l=Sn(i);return ht(l)&&(l=n),ht(r)?Eo(r,Mt(i,1,ht,!0),n,l):[]});function Ww(r,i,l){var d=r==null?0:r.length;return d?(i=l||i===n?1:Ie(i),Pn(r,i<0?0:i,d)):[]}function Hw(r,i,l){var d=r==null?0:r.length;return d?(i=l||i===n?1:Ie(i),i=d-i,Pn(r,0,i<0?0:i)):[]}function Gw(r,i){return r&&r.length?Ys(r,we(i,3),!0,!0):[]}function qw(r,i){return r&&r.length?Ys(r,we(i,3),!0):[]}function Zw(r,i,l,d){var p=r==null?0:r.length;return p?(l&&typeof l!="number"&&zt(r,i,l)&&(l=0,d=p),Ux(r,i,l,d)):[]}function vp(r,i,l){var d=r==null?0:r.length;if(!d)return-1;var p=l==null?0:Ie(l);return p<0&&(p=St(d+p,0)),Rs(r,we(i,3),p)}function $p(r,i,l){var d=r==null?0:r.length;if(!d)return-1;var p=d-1;return l!==n&&(p=Ie(l),p=l<0?St(d+p,0):Lt(p,d-1)),Rs(r,we(i,3),p,!0)}function xp(r){var i=r==null?0:r.length;return i?Mt(r,1):[]}function Yw(r){var i=r==null?0:r.length;return i?Mt(r,ne):[]}function Jw(r,i){var l=r==null?0:r.length;return l?(i=i===n?1:Ie(i),Mt(r,i)):[]}function Qw(r){for(var i=-1,l=r==null?0:r.length,d={};++i<l;){var p=r[i];d[p[0]]=p[1]}return d}function wp(r){return r&&r.length?r[0]:n}function Xw(r,i,l){var d=r==null?0:r.length;if(!d)return-1;var p=l==null?0:Ie(l);return p<0&&(p=St(d+p,0)),_i(r,i,p)}function e2(r){var i=r==null?0:r.length;return i?Pn(r,0,-1):[]}var t2=Fe(function(r){var i=at(r,ic);return i.length&&i[0]===r[0]?Zu(i):[]}),n2=Fe(function(r){var i=Sn(r),l=at(r,ic);return i===Sn(l)?i=n:l.pop(),l.length&&l[0]===r[0]?Zu(l,we(i,2)):[]}),r2=Fe(function(r){var i=Sn(r),l=at(r,ic);return i=typeof i=="function"?i:n,i&&l.pop(),l.length&&l[0]===r[0]?Zu(l,n,i):[]});function a2(r,i){return r==null?"":ex.call(r,i)}function Sn(r){var i=r==null?0:r.length;return i?r[i-1]:n}function i2(r,i,l){var d=r==null?0:r.length;if(!d)return-1;var p=d;return l!==n&&(p=Ie(l),p=p<0?St(d+p,0):Lt(p,d-1)),i===i?N1(r,i,p):Rs(r,nh,p,!0)}function o2(r,i){return r&&r.length?Ih(r,Ie(i)):n}var s2=Fe(Dp);function Dp(r,i){return r&&r.length&&i&&i.length?Xu(r,i):r}function l2(r,i,l){return r&&r.length&&i&&i.length?Xu(r,i,we(l,2)):r}function u2(r,i,l){return r&&r.length&&i&&i.length?Xu(r,i,n,l):r}var c2=Ir(function(r,i){var l=r==null?0:r.length,d=Wu(r,i);return Lh(r,at(i,function(p){return kr(p,l)?+p:p}).sort(Hh)),d});function d2(r,i){var l=[];if(!(r&&r.length))return l;var d=-1,p=[],$=r.length;for(i=we(i,3);++d<$;){var S=r[d];i(S,d,r)&&(l.push(S),p.push(d))}return Lh(r,p),l}function vc(r){return r==null?r:ax.call(r)}function f2(r,i,l){var d=r==null?0:r.length;return d?(l&&typeof l!="number"&&zt(r,i,l)?(i=0,l=d):(i=i==null?0:Ie(i),l=l===n?d:Ie(l)),Pn(r,i,l)):[]}function h2(r,i){return Zs(r,i)}function p2(r,i,l){return nc(r,i,we(l,2))}function m2(r,i){var l=r==null?0:r.length;if(l){var d=Zs(r,i);if(d<l&&Wn(r[d],i))return d}return-1}function g2(r,i){return Zs(r,i,!0)}function b2(r,i,l){return nc(r,i,we(l,2),!0)}function y2(r,i){var l=r==null?0:r.length;if(l){var d=Zs(r,i,!0)-1;if(Wn(r[d],i))return d}return-1}function v2(r){return r&&r.length?Nh(r):[]}function $2(r,i){return r&&r.length?Nh(r,we(i,2)):[]}function x2(r){var i=r==null?0:r.length;return i?Pn(r,1,i):[]}function w2(r,i,l){return r&&r.length?(i=l||i===n?1:Ie(i),Pn(r,0,i<0?0:i)):[]}function D2(r,i,l){var d=r==null?0:r.length;return d?(i=l||i===n?1:Ie(i),i=d-i,Pn(r,i<0?0:i,d)):[]}function P2(r,i){return r&&r.length?Ys(r,we(i,3),!1,!0):[]}function S2(r,i){return r&&r.length?Ys(r,we(i,3)):[]}var T2=Fe(function(r){return ca(Mt(r,1,ht,!0))}),E2=Fe(function(r){var i=Sn(r);return ht(i)&&(i=n),ca(Mt(r,1,ht,!0),we(i,2))}),_2=Fe(function(r){var i=Sn(r);return i=typeof i=="function"?i:n,ca(Mt(r,1,ht,!0),n,i)});function R2(r){return r&&r.length?ca(r):[]}function A2(r,i){return r&&r.length?ca(r,we(i,2)):[]}function C2(r,i){return i=typeof i=="function"?i:n,r&&r.length?ca(r,n,i):[]}function $c(r){if(!(r&&r.length))return[];var i=0;return r=ia(r,function(l){if(ht(l))return i=St(l.length,i),!0}),Fu(i,function(l){return at(r,ku(l))})}function Pp(r,i){if(!(r&&r.length))return[];var l=$c(r);return i==null?l:at(l,function(d){return _t(i,n,d)})}var M2=Fe(function(r,i){return ht(r)?Eo(r,i):[]}),I2=Fe(function(r){return ac(ia(r,ht))}),k2=Fe(function(r){var i=Sn(r);return ht(i)&&(i=n),ac(ia(r,ht),we(i,2))}),O2=Fe(function(r){var i=Sn(r);return i=typeof i=="function"?i:n,ac(ia(r,ht),n,i)}),L2=Fe($c);function F2(r,i){return zh(r||[],i||[],To)}function N2(r,i){return zh(r||[],i||[],Ao)}var K2=Fe(function(r){var i=r.length,l=i>1?r[i-1]:n;return l=typeof l=="function"?(r.pop(),l):n,Pp(r,l)});function Sp(r){var i=y(r);return i.__chain__=!0,i}function B2(r,i){return i(r),r}function il(r,i){return i(r)}var U2=Ir(function(r){var i=r.length,l=i?r[0]:0,d=this.__wrapped__,p=function($){return Wu($,r)};return i>1||this.__actions__.length||!(d instanceof Be)||!kr(l)?this.thru(p):(d=d.slice(l,+l+(i?1:0)),d.__actions__.push({func:il,args:[p],thisArg:n}),new wn(d,this.__chain__).thru(function($){return i&&!$.length&&$.push(n),$}))});function z2(){return Sp(this)}function j2(){return new wn(this.value(),this.__chain__)}function V2(){this.__values__===n&&(this.__values__=Kp(this.value()));var r=this.__index__>=this.__values__.length,i=r?n:this.__values__[this.__index__++];return{done:r,value:i}}function W2(){return this}function H2(r){for(var i,l=this;l instanceof Vs;){var d=yp(l);d.__index__=0,d.__values__=n,i?p.__wrapped__=d:i=d;var p=d;l=l.__wrapped__}return p.__wrapped__=r,i}function G2(){var r=this.__wrapped__;if(r instanceof Be){var i=r;return this.__actions__.length&&(i=new Be(this)),i=i.reverse(),i.__actions__.push({func:il,args:[vc],thisArg:n}),new wn(i,this.__chain__)}return this.thru(vc)}function q2(){return Uh(this.__wrapped__,this.__actions__)}var Z2=Js(function(r,i,l){Xe.call(r,l)?++r[l]:Cr(r,l,1)});function Y2(r,i,l){var d=Ce(r)?eh:Bx;return l&&zt(r,i,l)&&(i=n),d(r,we(i,3))}function J2(r,i){var l=Ce(r)?ia:Ph;return l(r,we(i,3))}var Q2=Qh(vp),X2=Qh($p);function eD(r,i){return Mt(ol(r,i),1)}function tD(r,i){return Mt(ol(r,i),ne)}function nD(r,i,l){return l=l===n?1:Ie(l),Mt(ol(r,i),l)}function Tp(r,i){var l=Ce(r)?$n:ua;return l(r,we(i,3))}function Ep(r,i){var l=Ce(r)?x1:Dh;return l(r,we(i,3))}var rD=Js(function(r,i,l){Xe.call(r,l)?r[l].push(i):Cr(r,l,[i])});function aD(r,i,l,d){r=Qt(r)?r:Bi(r),l=l&&!d?Ie(l):0;var p=r.length;return l<0&&(l=St(p+l,0)),dl(r)?l<=p&&r.indexOf(i,l)>-1:!!p&&_i(r,i,l)>-1}var iD=Fe(function(r,i,l){var d=-1,p=typeof i=="function",$=Qt(r)?U(r.length):[];return ua(r,function(S){$[++d]=p?_t(i,S,l):_o(S,i,l)}),$}),oD=Js(function(r,i,l){Cr(r,l,i)});function ol(r,i){var l=Ce(r)?at:Ah;return l(r,we(i,3))}function sD(r,i,l,d){return r==null?[]:(Ce(i)||(i=i==null?[]:[i]),l=d?n:l,Ce(l)||(l=l==null?[]:[l]),kh(r,i,l))}var lD=Js(function(r,i,l){r[l?0:1].push(i)},function(){return[[],[]]});function uD(r,i,l){var d=Ce(r)?Mu:ah,p=arguments.length<3;return d(r,we(i,4),l,p,ua)}function cD(r,i,l){var d=Ce(r)?w1:ah,p=arguments.length<3;return d(r,we(i,4),l,p,Dh)}function dD(r,i){var l=Ce(r)?ia:Ph;return l(r,ul(we(i,3)))}function fD(r){var i=Ce(r)?vh:aw;return i(r)}function hD(r,i,l){(l?zt(r,i,l):i===n)?i=1:i=Ie(i);var d=Ce(r)?Ox:iw;return d(r,i)}function pD(r){var i=Ce(r)?Lx:sw;return i(r)}function mD(r){if(r==null)return 0;if(Qt(r))return dl(r)?Ai(r):r.length;var i=Ft(r);return i==kt||i==Kt?r.size:Ju(r).length}function gD(r,i,l){var d=Ce(r)?Iu:lw;return l&&zt(r,i,l)&&(i=n),d(r,we(i,3))}var bD=Fe(function(r,i){if(r==null)return[];var l=i.length;return l>1&&zt(r,i[0],i[1])?i=[]:l>2&&zt(i[0],i[1],i[2])&&(i=[i[0]]),kh(r,Mt(i,1),[])}),sl=J1||function(){return V.Date.now()};function yD(r,i){if(typeof i!="function")throw new xn(u);return r=Ie(r),function(){if(--r<1)return i.apply(this,arguments)}}function _p(r,i,l){return i=l?n:i,i=r&&i==null?r.length:i,Mr(r,ee,n,n,n,n,i)}function Rp(r,i){var l;if(typeof i!="function")throw new xn(u);return r=Ie(r),function(){return--r>0&&(l=i.apply(this,arguments)),r<=1&&(i=n),l}}var xc=Fe(function(r,i,l){var d=E;if(l.length){var p=sa(l,Ni(xc));d|=B}return Mr(r,d,i,l,p)}),Ap=Fe(function(r,i,l){var d=E|L;if(l.length){var p=sa(l,Ni(Ap));d|=B}return Mr(i,d,r,l,p)});function Cp(r,i,l){i=l?n:i;var d=Mr(r,N,n,n,n,n,n,i);return d.placeholder=Cp.placeholder,d}function Mp(r,i,l){i=l?n:i;var d=Mr(r,O,n,n,n,n,n,i);return d.placeholder=Mp.placeholder,d}function Ip(r,i,l){var d,p,$,S,_,k,Y=0,J=!1,te=!1,de=!0;if(typeof r!="function")throw new xn(u);i=Tn(i)||0,st(l)&&(J=!!l.leading,te="maxWait"in l,$=te?St(Tn(l.maxWait)||0,i):$,de="trailing"in l?!!l.trailing:de);function be(pt){var Hn=d,Fr=p;return d=p=n,Y=pt,S=r.apply(Fr,Hn),S}function Pe(pt){return Y=pt,_=Io(Ke,i),J?be(pt):S}function Oe(pt){var Hn=pt-k,Fr=pt-Y,Qp=i-Hn;return te?Lt(Qp,$-Fr):Qp}function Se(pt){var Hn=pt-k,Fr=pt-Y;return k===n||Hn>=i||Hn<0||te&&Fr>=$}function Ke(){var pt=sl();if(Se(pt))return Ue(pt);_=Io(Ke,Oe(pt))}function Ue(pt){return _=n,de&&d?be(pt):(d=p=n,S)}function hn(){_!==n&&jh(_),Y=0,d=k=p=_=n}function jt(){return _===n?S:Ue(sl())}function pn(){var pt=sl(),Hn=Se(pt);if(d=arguments,p=this,k=pt,Hn){if(_===n)return Pe(k);if(te)return jh(_),_=Io(Ke,i),be(k)}return _===n&&(_=Io(Ke,i)),S}return pn.cancel=hn,pn.flush=jt,pn}var vD=Fe(function(r,i){return wh(r,1,i)}),$D=Fe(function(r,i,l){return wh(r,Tn(i)||0,l)});function xD(r){return Mr(r,z)}function ll(r,i){if(typeof r!="function"||i!=null&&typeof i!="function")throw new xn(u);var l=function(){var d=arguments,p=i?i.apply(this,d):d[0],$=l.cache;if($.has(p))return $.get(p);var S=r.apply(this,d);return l.cache=$.set(p,S)||$,S};return l.cache=new(ll.Cache||Ar),l}ll.Cache=Ar;function ul(r){if(typeof r!="function")throw new xn(u);return function(){var i=arguments;switch(i.length){case 0:return!r.call(this);case 1:return!r.call(this,i[0]);case 2:return!r.call(this,i[0],i[1]);case 3:return!r.call(this,i[0],i[1],i[2])}return!r.apply(this,i)}}function wD(r){return Rp(2,r)}var DD=uw(function(r,i){i=i.length==1&&Ce(i[0])?at(i[0],cn(we())):at(Mt(i,1),cn(we()));var l=i.length;return Fe(function(d){for(var p=-1,$=Lt(d.length,l);++p<$;)d[p]=i[p].call(this,d[p]);return _t(r,this,d)})}),wc=Fe(function(r,i){var l=sa(i,Ni(wc));return Mr(r,B,n,i,l)}),kp=Fe(function(r,i){var l=sa(i,Ni(kp));return Mr(r,se,n,i,l)}),PD=Ir(function(r,i){return Mr(r,P,n,n,n,i)});function SD(r,i){if(typeof r!="function")throw new xn(u);return i=i===n?i:Ie(i),Fe(r,i)}function TD(r,i){if(typeof r!="function")throw new xn(u);return i=i==null?0:St(Ie(i),0),Fe(function(l){var d=l[i],p=fa(l,0,i);return d&&oa(p,d),_t(r,this,p)})}function ED(r,i,l){var d=!0,p=!0;if(typeof r!="function")throw new xn(u);return st(l)&&(d="leading"in l?!!l.leading:d,p="trailing"in l?!!l.trailing:p),Ip(r,i,{leading:d,maxWait:i,trailing:p})}function _D(r){return _p(r,1)}function RD(r,i){return wc(oc(i),r)}function AD(){if(!arguments.length)return[];var r=arguments[0];return Ce(r)?r:[r]}function CD(r){return Dn(r,v)}function MD(r,i){return i=typeof i=="function"?i:n,Dn(r,v,i)}function ID(r){return Dn(r,x|v)}function kD(r,i){return i=typeof i=="function"?i:n,Dn(r,x|v,i)}function OD(r,i){return i==null||xh(r,i,Rt(i))}function Wn(r,i){return r===i||r!==r&&i!==i}var LD=tl(qu),FD=tl(function(r,i){return r>=i}),Ja=Eh(function(){return arguments}())?Eh:function(r){return ct(r)&&Xe.call(r,"callee")&&!hh.call(r,"callee")},Ce=U.isArray,ND=$t?cn($t):Hx;function Qt(r){return r!=null&&cl(r.length)&&!Or(r)}function ht(r){return ct(r)&&Qt(r)}function KD(r){return r===!0||r===!1||ct(r)&&Ut(r)==Ze}var ha=X1||Ic,BD=He?cn(He):Gx;function UD(r){return ct(r)&&r.nodeType===1&&!ko(r)}function zD(r){if(r==null)return!0;if(Qt(r)&&(Ce(r)||typeof r=="string"||typeof r.splice=="function"||ha(r)||Ki(r)||Ja(r)))return!r.length;var i=Ft(r);if(i==kt||i==Kt)return!r.size;if(Mo(r))return!Ju(r).length;for(var l in r)if(Xe.call(r,l))return!1;return!0}function jD(r,i){return Ro(r,i)}function VD(r,i,l){l=typeof l=="function"?l:n;var d=l?l(r,i):n;return d===n?Ro(r,i,n,l):!!d}function Dc(r){if(!ct(r))return!1;var i=Ut(r);return i==Ht||i==It||typeof r.message=="string"&&typeof r.name=="string"&&!ko(r)}function WD(r){return typeof r=="number"&&mh(r)}function Or(r){if(!st(r))return!1;var i=Ut(r);return i==sn||i==Xn||i==qe||i==ho}function Op(r){return typeof r=="number"&&r==Ie(r)}function cl(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=Z}function st(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}function ct(r){return r!=null&&typeof r=="object"}var Lp=Ot?cn(Ot):Zx;function HD(r,i){return r===i||Yu(r,i,hc(i))}function GD(r,i,l){return l=typeof l=="function"?l:n,Yu(r,i,hc(i),l)}function qD(r){return Fp(r)&&r!=+r}function ZD(r){if(Mw(r))throw new _e(s);return _h(r)}function YD(r){return r===null}function JD(r){return r==null}function Fp(r){return typeof r=="number"||ct(r)&&Ut(r)==gr}function ko(r){if(!ct(r)||Ut(r)!=ln)return!1;var i=Fs(r);if(i===null)return!0;var l=Xe.call(i,"constructor")&&i.constructor;return typeof l=="function"&&l instanceof l&&Is.call(l)==G1}var Pc=un?cn(un):Yx;function QD(r){return Op(r)&&r>=-Z&&r<=Z}var Np=Ei?cn(Ei):Jx;function dl(r){return typeof r=="string"||!Ce(r)&&ct(r)&&Ut(r)==yr}function fn(r){return typeof r=="symbol"||ct(r)&&Ut(r)==Yr}var Ki=ja?cn(ja):Qx;function XD(r){return r===n}function eP(r){return ct(r)&&Ft(r)==er}function tP(r){return ct(r)&&Ut(r)==mo}var nP=tl(Qu),rP=tl(function(r,i){return r<=i});function Kp(r){if(!r)return[];if(Qt(r))return dl(r)?jn(r):Jt(r);if(xo&&r[xo])return O1(r[xo]());var i=Ft(r),l=i==kt?Ku:i==Kt?As:Bi;return l(r)}function Lr(r){if(!r)return r===0?r:0;if(r=Tn(r),r===ne||r===-ne){var i=r<0?-1:1;return i*me}return r===r?r:0}function Ie(r){var i=Lr(r),l=i%1;return i===i?l?i-l:i:0}function Bp(r){return r?Ga(Ie(r),0,fe):0}function Tn(r){if(typeof r=="number")return r;if(fn(r))return j;if(st(r)){var i=typeof r.valueOf=="function"?r.valueOf():r;r=st(i)?i+"":i}if(typeof r!="string")return r===0?r:+r;r=ih(r);var l=Ca.test(r);return l||yi.test(r)?Ee(r.slice(2),l?2:8):bi.test(r)?j:+r}function Up(r){return lr(r,Xt(r))}function aP(r){return r?Ga(Ie(r),-Z,Z):r===0?r:0}function Ge(r){return r==null?"":dn(r)}var iP=Li(function(r,i){if(Mo(i)||Qt(i)){lr(i,Rt(i),r);return}for(var l in i)Xe.call(i,l)&&To(r,l,i[l])}),zp=Li(function(r,i){lr(i,Xt(i),r)}),fl=Li(function(r,i,l,d){lr(i,Xt(i),r,d)}),oP=Li(function(r,i,l,d){lr(i,Rt(i),r,d)}),sP=Ir(Wu);function lP(r,i){var l=Oi(r);return i==null?l:$h(l,i)}var uP=Fe(function(r,i){r=tt(r);var l=-1,d=i.length,p=d>2?i[2]:n;for(p&&zt(i[0],i[1],p)&&(d=1);++l<d;)for(var $=i[l],S=Xt($),_=-1,k=S.length;++_<k;){var Y=S[_],J=r[Y];(J===n||Wn(J,Mi[Y])&&!Xe.call(r,Y))&&(r[Y]=$[Y])}return r}),cP=Fe(function(r){return r.push(n,ip),_t(jp,n,r)});function dP(r,i){return th(r,we(i,3),sr)}function fP(r,i){return th(r,we(i,3),Gu)}function hP(r,i){return r==null?r:Hu(r,we(i,3),Xt)}function pP(r,i){return r==null?r:Sh(r,we(i,3),Xt)}function mP(r,i){return r&&sr(r,we(i,3))}function gP(r,i){return r&&Gu(r,we(i,3))}function bP(r){return r==null?[]:Gs(r,Rt(r))}function yP(r){return r==null?[]:Gs(r,Xt(r))}function Sc(r,i,l){var d=r==null?n:qa(r,i);return d===n?l:d}function vP(r,i){return r!=null&&lp(r,i,zx)}function Tc(r,i){return r!=null&&lp(r,i,jx)}var $P=ep(function(r,i,l){i!=null&&typeof i.toString!="function"&&(i=ks.call(i)),r[i]=l},_c(en)),xP=ep(function(r,i,l){i!=null&&typeof i.toString!="function"&&(i=ks.call(i)),Xe.call(r,i)?r[i].push(l):r[i]=[l]},we),wP=Fe(_o);function Rt(r){return Qt(r)?yh(r):Ju(r)}function Xt(r){return Qt(r)?yh(r,!0):Xx(r)}function DP(r,i){var l={};return i=we(i,3),sr(r,function(d,p,$){Cr(l,i(d,p,$),d)}),l}function PP(r,i){var l={};return i=we(i,3),sr(r,function(d,p,$){Cr(l,p,i(d,p,$))}),l}var SP=Li(function(r,i,l){qs(r,i,l)}),jp=Li(function(r,i,l,d){qs(r,i,l,d)}),TP=Ir(function(r,i){var l={};if(r==null)return l;var d=!1;i=at(i,function($){return $=da($,r),d||(d=$.length>1),$}),lr(r,dc(r),l),d&&(l=Dn(l,x|b|v,$w));for(var p=i.length;p--;)rc(l,i[p]);return l});function EP(r,i){return Vp(r,ul(we(i)))}var _P=Ir(function(r,i){return r==null?{}:tw(r,i)});function Vp(r,i){if(r==null)return{};var l=at(dc(r),function(d){return[d]});return i=we(i),Oh(r,l,function(d,p){return i(d,p[0])})}function RP(r,i,l){i=da(i,r);var d=-1,p=i.length;for(p||(p=1,r=n);++d<p;){var $=r==null?n:r[ur(i[d])];$===n&&(d=p,$=l),r=Or($)?$.call(r):$}return r}function AP(r,i,l){return r==null?r:Ao(r,i,l)}function CP(r,i,l,d){return d=typeof d=="function"?d:n,r==null?r:Ao(r,i,l,d)}var Wp=rp(Rt),Hp=rp(Xt);function MP(r,i,l){var d=Ce(r),p=d||ha(r)||Ki(r);if(i=we(i,4),l==null){var $=r&&r.constructor;p?l=d?new $:[]:st(r)?l=Or($)?Oi(Fs(r)):{}:l={}}return(p?$n:sr)(r,function(S,_,k){return i(l,S,_,k)}),l}function IP(r,i){return r==null?!0:rc(r,i)}function kP(r,i,l){return r==null?r:Bh(r,i,oc(l))}function OP(r,i,l,d){return d=typeof d=="function"?d:n,r==null?r:Bh(r,i,oc(l),d)}function Bi(r){return r==null?[]:Nu(r,Rt(r))}function LP(r){return r==null?[]:Nu(r,Xt(r))}function FP(r,i,l){return l===n&&(l=i,i=n),l!==n&&(l=Tn(l),l=l===l?l:0),i!==n&&(i=Tn(i),i=i===i?i:0),Ga(Tn(r),i,l)}function NP(r,i,l){return i=Lr(i),l===n?(l=i,i=0):l=Lr(l),r=Tn(r),Vx(r,i,l)}function KP(r,i,l){if(l&&typeof l!="boolean"&&zt(r,i,l)&&(i=l=n),l===n&&(typeof i=="boolean"?(l=i,i=n):typeof r=="boolean"&&(l=r,r=n)),r===n&&i===n?(r=0,i=1):(r=Lr(r),i===n?(i=r,r=0):i=Lr(i)),r>i){var d=r;r=i,i=d}if(l||r%1||i%1){var p=gh();return Lt(r+p*(i-r+We("1e-"+((p+"").length-1))),i)}return ec(r,i)}var BP=Fi(function(r,i,l){return i=i.toLowerCase(),r+(l?Gp(i):i)});function Gp(r){return Ec(Ge(r).toLowerCase())}function qp(r){return r=Ge(r),r&&r.replace(bn,A1).replace(aa,"")}function UP(r,i,l){r=Ge(r),i=dn(i);var d=r.length;l=l===n?d:Ga(Ie(l),0,d);var p=l;return l-=i.length,l>=0&&r.slice(l,p)==i}function zP(r){return r=Ge(r),r&&xr.test(r)?r.replace(mi,C1):r}function jP(r){return r=Ge(r),r&&bo.test(r)?r.replace(Ta,"\\$&"):r}var VP=Fi(function(r,i,l){return r+(l?"-":"")+i.toLowerCase()}),WP=Fi(function(r,i,l){return r+(l?" ":"")+i.toLowerCase()}),HP=Jh("toLowerCase");function GP(r,i,l){r=Ge(r),i=Ie(i);var d=i?Ai(r):0;if(!i||d>=i)return r;var p=(i-d)/2;return el(Us(p),l)+r+el(Bs(p),l)}function qP(r,i,l){r=Ge(r),i=Ie(i);var d=i?Ai(r):0;return i&&d<i?r+el(i-d,l):r}function ZP(r,i,l){r=Ge(r),i=Ie(i);var d=i?Ai(r):0;return i&&d<i?el(i-d,l)+r:r}function YP(r,i,l){return l||i==null?i=0:i&&(i=+i),rx(Ge(r).replace(Ea,""),i||0)}function JP(r,i,l){return(l?zt(r,i,l):i===n)?i=1:i=Ie(i),tc(Ge(r),i)}function QP(){var r=arguments,i=Ge(r[0]);return r.length<3?i:i.replace(r[1],r[2])}var XP=Fi(function(r,i,l){return r+(l?"_":"")+i.toLowerCase()});function eS(r,i,l){return l&&typeof l!="number"&&zt(r,i,l)&&(i=l=n),l=l===n?fe:l>>>0,l?(r=Ge(r),r&&(typeof i=="string"||i!=null&&!Pc(i))&&(i=dn(i),!i&&Ri(r))?fa(jn(r),0,l):r.split(i,l)):[]}var tS=Fi(function(r,i,l){return r+(l?" ":"")+Ec(i)});function nS(r,i,l){return r=Ge(r),l=l==null?0:Ga(Ie(l),0,r.length),i=dn(i),r.slice(l,l+i.length)==i}function rS(r,i,l){var d=y.templateSettings;l&&zt(r,i,l)&&(i=n),r=Ge(r),i=fl({},i,d,ap);var p=fl({},i.imports,d.imports,ap),$=Rt(p),S=Nu(p,$),_,k,Y=0,J=i.interpolate||et,te="__p += '",de=Bu((i.escape||et).source+"|"+J.source+"|"+(J===Tt?vo:et).source+"|"+(i.evaluate||et).source+"|$","g"),be="//# sourceURL="+(Xe.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ti+"]")+`
58
+ `;r.replace(de,function(Se,Ke,Ue,hn,jt,pn){return Ue||(Ue=hn),te+=r.slice(Y,pn).replace(Pr,M1),Ke&&(_=!0,te+=`' +
59
+ __e(`+Ke+`) +
60
+ '`),jt&&(k=!0,te+=`';
61
+ `+jt+`;
62
+ __p += '`),Ue&&(te+=`' +
63
+ ((__t = (`+Ue+`)) == null ? '' : __t) +
64
+ '`),Y=pn+Se.length,Se}),te+=`';
65
+ `;var Pe=Xe.call(i,"variable")&&i.variable;if(!Pe)te=`with (obj) {
66
+ `+te+`
67
+ }
68
+ `;else if(Aa.test(Pe))throw new _e(c);te=(k?te.replace(go,""):te).replace(kn,"$1").replace(vr,"$1;"),te="function("+(Pe||"obj")+`) {
69
+ `+(Pe?"":`obj || (obj = {});
70
+ `)+"var __t, __p = ''"+(_?", __e = _.escape":"")+(k?`, __j = Array.prototype.join;
71
+ function print() { __p += __j.call(arguments, '') }
72
+ `:`;
73
+ `)+te+`return __p
74
+ }`;var Oe=Yp(function(){return Ve($,be+"return "+te).apply(n,S)});if(Oe.source=te,Dc(Oe))throw Oe;return Oe}function aS(r){return Ge(r).toLowerCase()}function iS(r){return Ge(r).toUpperCase()}function oS(r,i,l){if(r=Ge(r),r&&(l||i===n))return ih(r);if(!r||!(i=dn(i)))return r;var d=jn(r),p=jn(i),$=oh(d,p),S=sh(d,p)+1;return fa(d,$,S).join("")}function sS(r,i,l){if(r=Ge(r),r&&(l||i===n))return r.slice(0,uh(r)+1);if(!r||!(i=dn(i)))return r;var d=jn(r),p=sh(d,jn(i))+1;return fa(d,0,p).join("")}function lS(r,i,l){if(r=Ge(r),r&&(l||i===n))return r.replace(Ea,"");if(!r||!(i=dn(i)))return r;var d=jn(r),p=oh(d,jn(i));return fa(d,p).join("")}function uS(r,i){var l=H,d=A;if(st(i)){var p="separator"in i?i.separator:p;l="length"in i?Ie(i.length):l,d="omission"in i?dn(i.omission):d}r=Ge(r);var $=r.length;if(Ri(r)){var S=jn(r);$=S.length}if(l>=$)return r;var _=l-Ai(d);if(_<1)return d;var k=S?fa(S,0,_).join(""):r.slice(0,_);if(p===n)return k+d;if(S&&(_+=k.length-_),Pc(p)){if(r.slice(_).search(p)){var Y,J=k;for(p.global||(p=Bu(p.source,Ge(qt.exec(p))+"g")),p.lastIndex=0;Y=p.exec(J);)var te=Y.index;k=k.slice(0,te===n?_:te)}}else if(r.indexOf(dn(p),_)!=_){var de=k.lastIndexOf(p);de>-1&&(k=k.slice(0,de))}return k+d}function cS(r){return r=Ge(r),r&&Pa.test(r)?r.replace($r,K1):r}var dS=Fi(function(r,i,l){return r+(l?" ":"")+i.toUpperCase()}),Ec=Jh("toUpperCase");function Zp(r,i,l){return r=Ge(r),i=l?n:i,i===n?k1(r)?z1(r):S1(r):r.match(i)||[]}var Yp=Fe(function(r,i){try{return _t(r,n,i)}catch(l){return Dc(l)?l:new _e(l)}}),fS=Ir(function(r,i){return $n(i,function(l){l=ur(l),Cr(r,l,xc(r[l],r))}),r});function hS(r){var i=r==null?0:r.length,l=we();return r=i?at(r,function(d){if(typeof d[1]!="function")throw new xn(u);return[l(d[0]),d[1]]}):[],Fe(function(d){for(var p=-1;++p<i;){var $=r[p];if(_t($[0],this,d))return _t($[1],this,d)}})}function pS(r){return Kx(Dn(r,x))}function _c(r){return function(){return r}}function mS(r,i){return r==null||r!==r?i:r}var gS=Xh(),bS=Xh(!0);function en(r){return r}function Rc(r){return Rh(typeof r=="function"?r:Dn(r,x))}function yS(r){return Ch(Dn(r,x))}function vS(r,i){return Mh(r,Dn(i,x))}var $S=Fe(function(r,i){return function(l){return _o(l,r,i)}}),xS=Fe(function(r,i){return function(l){return _o(r,l,i)}});function Ac(r,i,l){var d=Rt(i),p=Gs(i,d);l==null&&!(st(i)&&(p.length||!d.length))&&(l=i,i=r,r=this,p=Gs(i,Rt(i)));var $=!(st(l)&&"chain"in l)||!!l.chain,S=Or(r);return $n(p,function(_){var k=i[_];r[_]=k,S&&(r.prototype[_]=function(){var Y=this.__chain__;if($||Y){var J=r(this.__wrapped__),te=J.__actions__=Jt(this.__actions__);return te.push({func:k,args:arguments,thisArg:r}),J.__chain__=Y,J}return k.apply(r,oa([this.value()],arguments))})}),r}function wS(){return V._===this&&(V._=q1),this}function Cc(){}function DS(r){return r=Ie(r),Fe(function(i){return Ih(i,r)})}var PS=lc(at),SS=lc(eh),TS=lc(Iu);function Jp(r){return mc(r)?ku(ur(r)):nw(r)}function ES(r){return function(i){return r==null?n:qa(r,i)}}var _S=tp(),RS=tp(!0);function Mc(){return[]}function Ic(){return!1}function AS(){return{}}function CS(){return""}function MS(){return!0}function IS(r,i){if(r=Ie(r),r<1||r>Z)return[];var l=fe,d=Lt(r,fe);i=we(i),r-=fe;for(var p=Fu(d,i);++l<r;)i(l);return p}function kS(r){return Ce(r)?at(r,ur):fn(r)?[r]:Jt(bp(Ge(r)))}function OS(r){var i=++H1;return Ge(r)+i}var LS=Xs(function(r,i){return r+i},0),FS=uc("ceil"),NS=Xs(function(r,i){return r/i},1),KS=uc("floor");function BS(r){return r&&r.length?Hs(r,en,qu):n}function US(r,i){return r&&r.length?Hs(r,we(i,2),qu):n}function zS(r){return rh(r,en)}function jS(r,i){return rh(r,we(i,2))}function VS(r){return r&&r.length?Hs(r,en,Qu):n}function WS(r,i){return r&&r.length?Hs(r,we(i,2),Qu):n}var HS=Xs(function(r,i){return r*i},1),GS=uc("round"),qS=Xs(function(r,i){return r-i},0);function ZS(r){return r&&r.length?Lu(r,en):0}function YS(r,i){return r&&r.length?Lu(r,we(i,2)):0}return y.after=yD,y.ary=_p,y.assign=iP,y.assignIn=zp,y.assignInWith=fl,y.assignWith=oP,y.at=sP,y.before=Rp,y.bind=xc,y.bindAll=fS,y.bindKey=Ap,y.castArray=AD,y.chain=Sp,y.chunk=Kw,y.compact=Bw,y.concat=Uw,y.cond=hS,y.conforms=pS,y.constant=_c,y.countBy=Z2,y.create=lP,y.curry=Cp,y.curryRight=Mp,y.debounce=Ip,y.defaults=uP,y.defaultsDeep=cP,y.defer=vD,y.delay=$D,y.difference=zw,y.differenceBy=jw,y.differenceWith=Vw,y.drop=Ww,y.dropRight=Hw,y.dropRightWhile=Gw,y.dropWhile=qw,y.fill=Zw,y.filter=J2,y.flatMap=eD,y.flatMapDeep=tD,y.flatMapDepth=nD,y.flatten=xp,y.flattenDeep=Yw,y.flattenDepth=Jw,y.flip=xD,y.flow=gS,y.flowRight=bS,y.fromPairs=Qw,y.functions=bP,y.functionsIn=yP,y.groupBy=rD,y.initial=e2,y.intersection=t2,y.intersectionBy=n2,y.intersectionWith=r2,y.invert=$P,y.invertBy=xP,y.invokeMap=iD,y.iteratee=Rc,y.keyBy=oD,y.keys=Rt,y.keysIn=Xt,y.map=ol,y.mapKeys=DP,y.mapValues=PP,y.matches=yS,y.matchesProperty=vS,y.memoize=ll,y.merge=SP,y.mergeWith=jp,y.method=$S,y.methodOf=xS,y.mixin=Ac,y.negate=ul,y.nthArg=DS,y.omit=TP,y.omitBy=EP,y.once=wD,y.orderBy=sD,y.over=PS,y.overArgs=DD,y.overEvery=SS,y.overSome=TS,y.partial=wc,y.partialRight=kp,y.partition=lD,y.pick=_P,y.pickBy=Vp,y.property=Jp,y.propertyOf=ES,y.pull=s2,y.pullAll=Dp,y.pullAllBy=l2,y.pullAllWith=u2,y.pullAt=c2,y.range=_S,y.rangeRight=RS,y.rearg=PD,y.reject=dD,y.remove=d2,y.rest=SD,y.reverse=vc,y.sampleSize=hD,y.set=AP,y.setWith=CP,y.shuffle=pD,y.slice=f2,y.sortBy=bD,y.sortedUniq=v2,y.sortedUniqBy=$2,y.split=eS,y.spread=TD,y.tail=x2,y.take=w2,y.takeRight=D2,y.takeRightWhile=P2,y.takeWhile=S2,y.tap=B2,y.throttle=ED,y.thru=il,y.toArray=Kp,y.toPairs=Wp,y.toPairsIn=Hp,y.toPath=kS,y.toPlainObject=Up,y.transform=MP,y.unary=_D,y.union=T2,y.unionBy=E2,y.unionWith=_2,y.uniq=R2,y.uniqBy=A2,y.uniqWith=C2,y.unset=IP,y.unzip=$c,y.unzipWith=Pp,y.update=kP,y.updateWith=OP,y.values=Bi,y.valuesIn=LP,y.without=M2,y.words=Zp,y.wrap=RD,y.xor=I2,y.xorBy=k2,y.xorWith=O2,y.zip=L2,y.zipObject=F2,y.zipObjectDeep=N2,y.zipWith=K2,y.entries=Wp,y.entriesIn=Hp,y.extend=zp,y.extendWith=fl,Ac(y,y),y.add=LS,y.attempt=Yp,y.camelCase=BP,y.capitalize=Gp,y.ceil=FS,y.clamp=FP,y.clone=CD,y.cloneDeep=ID,y.cloneDeepWith=kD,y.cloneWith=MD,y.conformsTo=OD,y.deburr=qp,y.defaultTo=mS,y.divide=NS,y.endsWith=UP,y.eq=Wn,y.escape=zP,y.escapeRegExp=jP,y.every=Y2,y.find=Q2,y.findIndex=vp,y.findKey=dP,y.findLast=X2,y.findLastIndex=$p,y.findLastKey=fP,y.floor=KS,y.forEach=Tp,y.forEachRight=Ep,y.forIn=hP,y.forInRight=pP,y.forOwn=mP,y.forOwnRight=gP,y.get=Sc,y.gt=LD,y.gte=FD,y.has=vP,y.hasIn=Tc,y.head=wp,y.identity=en,y.includes=aD,y.indexOf=Xw,y.inRange=NP,y.invoke=wP,y.isArguments=Ja,y.isArray=Ce,y.isArrayBuffer=ND,y.isArrayLike=Qt,y.isArrayLikeObject=ht,y.isBoolean=KD,y.isBuffer=ha,y.isDate=BD,y.isElement=UD,y.isEmpty=zD,y.isEqual=jD,y.isEqualWith=VD,y.isError=Dc,y.isFinite=WD,y.isFunction=Or,y.isInteger=Op,y.isLength=cl,y.isMap=Lp,y.isMatch=HD,y.isMatchWith=GD,y.isNaN=qD,y.isNative=ZD,y.isNil=JD,y.isNull=YD,y.isNumber=Fp,y.isObject=st,y.isObjectLike=ct,y.isPlainObject=ko,y.isRegExp=Pc,y.isSafeInteger=QD,y.isSet=Np,y.isString=dl,y.isSymbol=fn,y.isTypedArray=Ki,y.isUndefined=XD,y.isWeakMap=eP,y.isWeakSet=tP,y.join=a2,y.kebabCase=VP,y.last=Sn,y.lastIndexOf=i2,y.lowerCase=WP,y.lowerFirst=HP,y.lt=nP,y.lte=rP,y.max=BS,y.maxBy=US,y.mean=zS,y.meanBy=jS,y.min=VS,y.minBy=WS,y.stubArray=Mc,y.stubFalse=Ic,y.stubObject=AS,y.stubString=CS,y.stubTrue=MS,y.multiply=HS,y.nth=o2,y.noConflict=wS,y.noop=Cc,y.now=sl,y.pad=GP,y.padEnd=qP,y.padStart=ZP,y.parseInt=YP,y.random=KP,y.reduce=uD,y.reduceRight=cD,y.repeat=JP,y.replace=QP,y.result=RP,y.round=GS,y.runInContext=I,y.sample=fD,y.size=mD,y.snakeCase=XP,y.some=gD,y.sortedIndex=h2,y.sortedIndexBy=p2,y.sortedIndexOf=m2,y.sortedLastIndex=g2,y.sortedLastIndexBy=b2,y.sortedLastIndexOf=y2,y.startCase=tS,y.startsWith=nS,y.subtract=qS,y.sum=ZS,y.sumBy=YS,y.template=rS,y.times=IS,y.toFinite=Lr,y.toInteger=Ie,y.toLength=Bp,y.toLower=aS,y.toNumber=Tn,y.toSafeInteger=aP,y.toString=Ge,y.toUpper=iS,y.trim=oS,y.trimEnd=sS,y.trimStart=lS,y.truncate=uS,y.unescape=cS,y.uniqueId=OS,y.upperCase=dS,y.upperFirst=Ec,y.each=Tp,y.eachRight=Ep,y.first=wp,Ac(y,function(){var r={};return sr(y,function(i,l){Xe.call(y.prototype,l)||(r[l]=i)}),r}(),{chain:!1}),y.VERSION=a,$n(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){y[r].placeholder=y}),$n(["drop","take"],function(r,i){Be.prototype[r]=function(l){l=l===n?1:St(Ie(l),0);var d=this.__filtered__&&!i?new Be(this):this.clone();return d.__filtered__?d.__takeCount__=Lt(l,d.__takeCount__):d.__views__.push({size:Lt(l,fe),type:r+(d.__dir__<0?"Right":"")}),d},Be.prototype[r+"Right"]=function(l){return this.reverse()[r](l).reverse()}}),$n(["filter","map","takeWhile"],function(r,i){var l=i+1,d=l==K||l==X;Be.prototype[r]=function(p){var $=this.clone();return $.__iteratees__.push({iteratee:we(p,3),type:l}),$.__filtered__=$.__filtered__||d,$}}),$n(["head","last"],function(r,i){var l="take"+(i?"Right":"");Be.prototype[r]=function(){return this[l](1).value()[0]}}),$n(["initial","tail"],function(r,i){var l="drop"+(i?"":"Right");Be.prototype[r]=function(){return this.__filtered__?new Be(this):this[l](1)}}),Be.prototype.compact=function(){return this.filter(en)},Be.prototype.find=function(r){return this.filter(r).head()},Be.prototype.findLast=function(r){return this.reverse().find(r)},Be.prototype.invokeMap=Fe(function(r,i){return typeof r=="function"?new Be(this):this.map(function(l){return _o(l,r,i)})}),Be.prototype.reject=function(r){return this.filter(ul(we(r)))},Be.prototype.slice=function(r,i){r=Ie(r);var l=this;return l.__filtered__&&(r>0||i<0)?new Be(l):(r<0?l=l.takeRight(-r):r&&(l=l.drop(r)),i!==n&&(i=Ie(i),l=i<0?l.dropRight(-i):l.take(i-r)),l)},Be.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},Be.prototype.toArray=function(){return this.take(fe)},sr(Be.prototype,function(r,i){var l=/^(?:filter|find|map|reject)|While$/.test(i),d=/^(?:head|last)$/.test(i),p=y[d?"take"+(i=="last"?"Right":""):i],$=d||/^find/.test(i);p&&(y.prototype[i]=function(){var S=this.__wrapped__,_=d?[1]:arguments,k=S instanceof Be,Y=_[0],J=k||Ce(S),te=function(Ke){var Ue=p.apply(y,oa([Ke],_));return d&&de?Ue[0]:Ue};J&&l&&typeof Y=="function"&&Y.length!=1&&(k=J=!1);var de=this.__chain__,be=!!this.__actions__.length,Pe=$&&!de,Oe=k&&!be;if(!$&&J){S=Oe?S:new Be(this);var Se=r.apply(S,_);return Se.__actions__.push({func:il,args:[te],thisArg:n}),new wn(Se,de)}return Pe&&Oe?r.apply(this,_):(Se=this.thru(te),Pe?d?Se.value()[0]:Se.value():Se)})}),$n(["pop","push","shift","sort","splice","unshift"],function(r){var i=Cs[r],l=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",d=/^(?:pop|shift)$/.test(r);y.prototype[r]=function(){var p=arguments;if(d&&!this.__chain__){var $=this.value();return i.apply(Ce($)?$:[],p)}return this[l](function(S){return i.apply(Ce(S)?S:[],p)})}}),sr(Be.prototype,function(r,i){var l=y[i];if(l){var d=l.name+"";Xe.call(ki,d)||(ki[d]=[]),ki[d].push({name:i,func:l})}}),ki[Qs(n,L).name]=[{name:"wrapper",func:n}],Be.prototype.clone=cx,Be.prototype.reverse=dx,Be.prototype.value=fx,y.prototype.at=U2,y.prototype.chain=z2,y.prototype.commit=j2,y.prototype.next=V2,y.prototype.plant=H2,y.prototype.reverse=G2,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=q2,y.prototype.first=y.prototype.head,xo&&(y.prototype[xo]=W2),y},Ci=j1();$e?(($e.exports=Ci)._=Ci,re._=Ci):V._=Ci}).call(dr)})(lu,lu.exports);var Xf=lu.exports;const H8=e=>{const{as:t="time",date:n,tokens:a,customTheme:o,dateFormatterOptions:s={month:"long",day:"numeric",year:"numeric"},themeName:u="typography",...c}=e,f=x$(),h=new Date(n),x=Jn(s).format(h),b=Te(u,a,o);return f||Xf.isEmpty(x)?null:F.jsx(t,{...c,dateTime:h.toISOString(),className:b,children:x})};var G8=e=>e instanceof Date,h1=e=>e==null;const q8=e=>typeof e=="object";var Z8=e=>!h1(e)&&!Array.isArray(e)&&q8(e)&&!G8(e),Y8=e=>Array.isArray(e)?e.filter(Boolean):[],Lg=e=>e===void 0,p1=(e,t,n)=>{if(!t||!Z8(e))return n;const a=Y8(t.split(/[,[\].]+?/)).reduce((o,s)=>h1(o)?o:o[s],e);return Lg(a)||a===e?Lg(e[t])?n:e[t]:a};const J8=g.createContext(null),m1=()=>g.useContext(J8),Q8=({item:e,state:t,themeName:n="li"})=>{const a=g.useRef(null),{optionProps:o}=K7({key:e.key},t,a);return F.jsx(ef,{as:"li",...o,themeName:n,ref:a,children:e.rendered})},X8=e=>{const t=g.useRef(null),{listBoxRef:n=t,state:a,themeName:o="option"}=e,{listBoxProps:s}=N7(e,a,n);return F.jsx(ef,{...s,ref:n,as:"ul",themeName:`${o}.ul`,children:[...a.collection].map(u=>F.jsx(Q8,{themeName:`${o}.li`,item:u,state:a},u.key))})},e_=e=>{const t=g.useRef(null),{popoverRef:n=t,state:a,children:o,themeName:s="popover",...u}=e,{popoverProps:c,underlayProps:f}=pv({...e,popoverRef:n},a);return F.jsxs(mv,{children:[F.jsx("div",{...f,style:{position:"fixed",inset:0}}),F.jsxs(ef,{themeName:s,...u,...c,as:"div",ref:n,children:[F.jsx(ds,{onDismiss:a.close}),o,F.jsx(ds,{onDismiss:a.close})]})]})},g1=e=>{const{name:t,placeholderLabel:n,disabled:a,hookFormRef:o,isError:s=!1,errorMessage:u,themeName:c="select",tokens:f,customTheme:h,label:m,onSelectionChange:x,defaultValue:b,value:v,...w}=e,T=g.useRef(null),E=F8({...w,selectedKey:v,defaultSelectedKey:b,onSelectionChange:x}),{triggerProps:L,menuProps:C,labelProps:N}=c4({...w},E,T),O=Te(`${c}.wrapper`,f,h),B=Te(`${c}.container`,f,h);return F.jsxs("div",{className:O,children:[m&&F.jsx(Hr,{...N,as:"label",themeName:`${c}.label`,children:m}),F.jsx(f4,{...o,state:E,triggerRef:T,name:t,isDisabled:!0}),F.jsxs("div",{className:B,children:[F.jsxs(vu,{...L,ref:T,disabled:a,themeName:`${c}.button`,tokens:{...f,intent:s?"error":"default"},children:[E.selectedItem?E.selectedItem.rendered:n,F.jsx(qr,{icon:"ArrowDown"})]}),E.isOpen&&T.current&&F.jsx(e_,{state:E,tokens:{width:`${T.current?.offsetWidth}`},triggerRef:T,placement:"bottom",themeName:`${c}.popover`,children:F.jsx(X8,{...C,themeName:`${c}.ul`,state:E})}),s&&F.jsx(Hr,{tokens:{...f,isError:s},themeName:`${c}.errorMessage`,children:u})]})]})},t_=e=>{const{name:t,required:n,children:a}=e,{register:o,formState:s}=m1(),c=p1(s.errors,t)?.message??void 0,{ref:f}=o(t,{required:n?"This is an error message":!1});return F.jsx(g1,{...e,isError:!Xf.isEmpty(c),errorMessage:c,hookFormRef:f,children:a})},n_=e=>{const{id:t,label:n,isDisabled:a=!1,isError:o=!1,errorMessage:s,ariaLabel:u,themeName:c="checkbox",tokens:f,customTheme:h}=e,m=e7(e),x=g.useRef(null),{inputProps:b}=t7(e,m,x),{focusProps:v,isFocusVisible:w}=df(),T={...f,selected:m.isSelected,isDisabled:a,isError:o,isFocusVisible:w},E=Te(`${c}.label`,T,h),L=Te(`${c}.checkBox`,T,h),C=Te(`${c}.checkMark`,T,h);return F.jsxs("div",{children:[F.jsxs("label",{htmlFor:t,className:E,children:[F.jsx(Ey,{children:F.jsx("input",{type:"checkbox",ref:x,"aria-label":u,...w$(v,b)})}),F.jsx(ff,{focusRingClass:"focus-ring",children:F.jsx("div",{className:L,children:F.jsx("div",{className:C})})}),F.jsx("span",{children:n})]}),o&&s&&F.jsx(Hr,{themeName:`${c}.errorMessage`,tokens:T,children:s})]})},r_=e=>{const{id:t,label:n,name:a,placeholder:o,required:s,disabled:u=!1,errorMessage:c,ariaLabel:f,value:h,onBlur:m,onChange:x,fieldRef:b,themeName:v="textarea",tokens:w,customTheme:T}=e,E=g.useRef(null),{errorMessageProps:L,inputProps:C,labelProps:N}=t0(e,E),O={...w,isDisabled:u,isError:c!=null},B=Te(`${v}.wrapper`,O,T),se=Te(`${v}.input`,O,T),ee=Te(`${v}.label`,O,T),P=Te(`${v}.container`,O,T);return F.jsxs("div",{children:[F.jsxs("div",{className:B,"aria-disabled":u,children:[n&&F.jsx("label",{className:ee,...N,children:n}),F.jsx("div",{className:P,children:F.jsx(ff,{focusRingClass:"focus-ring",children:F.jsx("textarea",{ref:z=>{b?.(z),E.current=z},className:se,placeholder:o,disabled:u,required:s,id:t,name:a,"aria-label":f,"aria-labelledby":t,value:h,onBlur:m,onChange:x,...C})})})]}),c&&F.jsx(Hr,{themeName:`${v}.errorMessage`,tokens:O,...L,children:c})]})};function vs(e){"@babel/helpers - typeof";return vs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vs(e)}function a_(e,t){if(vs(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t||"default");if(vs(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function b1(e){var t=a_(e,"string");return vs(t)==="symbol"?t:String(t)}function i_(e,t,n){return t=b1(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o_(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];typeof n[0]=="string"&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var Fg={};function Jd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];typeof t[0]=="string"&&Fg[t[0]]||(typeof t[0]=="string"&&(Fg[t[0]]=new Date),o_.apply(void 0,t))}function Ng(e,t,n){e.loadNamespaces(t,function(){if(e.isInitialized)n();else{var a=function o(){setTimeout(function(){e.off("initialized",o)},0),n()};e.on("initialized",a)}})}function s_(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=t.languages[0],o=t.options?t.options.fallbackLng:!1,s=t.languages[t.languages.length-1];if(a.toLowerCase()==="cimode")return!0;var u=function(f,h){var m=t.services.backendConnector.state["".concat(f,"|").concat(h)];return m===-1||m===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!u(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(a,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||u(a,e)&&(!o||u(s,e)))}function l_(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return Jd("i18n.languages were undefined or empty",t.languages),!0;var a=t.options.ignoreJSONStructure!==void 0;return a?t.hasLoadedNamespace(e,{precheck:function(s,u){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&s.services.backendConnector.backend&&s.isLanguageChangingTo&&!u(s.isLanguageChangingTo,e))return!1}}):s_(e,t,n)}var u_=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,c_={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},d_=function(t){return c_[t]},f_=function(t){return t.replace(u_,d_)},h_={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:f_};function p_(){return h_}var m_;function g_(){return m_}function b_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kg(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,b1(a.key),a)}}function y_(e,t,n){return t&&Kg(e.prototype,t),n&&Kg(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var v_=g.createContext(),$_=function(){function e(){b_(this,e),this.usedNamespaces={}}return y_(e,[{key:"addUsedNamespaces",value:function(n){var a=this;n.forEach(function(o){a.usedNamespaces[o]||(a.usedNamespaces[o]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function x_(e){if(Array.isArray(e))return e}function w_(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var a,o,s,u,c=[],f=!0,h=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}else for(;!(f=(a=s.call(n)).done)&&(c.push(a.value),c.length!==t);f=!0);}catch(m){h=!0,o=m}finally{try{if(!f&&n.return!=null&&(u=n.return(),Object(u)!==u))return}finally{if(h)throw o}}return c}}function Bg(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function D_(e,t){if(e){if(typeof e=="string")return Bg(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bg(e,t)}}function P_(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
75
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S_(e,t){return x_(e)||w_(e,t)||D_(e,t)||P_()}function Ug(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,a)}return n}function dd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ug(Object(n),!0).forEach(function(a){i_(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ug(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}var T_=function(t,n){var a=g.useRef();return g.useEffect(function(){a.current=n?a.current:t},[t,n]),a.current};function E_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,a=g.useContext(v_)||{},o=a.i18n,s=a.defaultNS,u=n||o||g_();if(u&&!u.reportNamespaces&&(u.reportNamespaces=new $_),!u){Jd("You will need to pass in an i18next instance by using initReactI18next");var c=function(z){return Array.isArray(z)?z[z.length-1]:z},f=[c,{},!1];return f.t=c,f.i18n={},f.ready=!1,f}u.options.react&&u.options.react.wait!==void 0&&Jd("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var h=dd(dd(dd({},p_()),u.options.react),t),m=h.useSuspense,x=h.keyPrefix,b=e||s||u.options&&u.options.defaultNS;b=typeof b=="string"?[b]:b||["translation"],u.reportNamespaces.addUsedNamespaces&&u.reportNamespaces.addUsedNamespaces(b);var v=(u.isInitialized||u.initializedStoreOnce)&&b.every(function(P){return l_(P,u,h)});function w(){return u.getFixedT(null,h.nsMode==="fallback"?b:b[0],x)}var T=g.useState(w),E=S_(T,2),L=E[0],C=E[1],N=b.join(),O=T_(N),B=g.useRef(!0);g.useEffect(function(){var P=h.bindI18n,z=h.bindI18nStore;B.current=!0,!v&&!m&&Ng(u,b,function(){B.current&&C(w)}),v&&O&&O!==N&&B.current&&C(w);function H(){B.current&&C(w)}return P&&u&&u.on(P,H),z&&u&&u.store.on(z,H),function(){B.current=!1,P&&u&&P.split(" ").forEach(function(A){return u.off(A,H)}),z&&u&&z.split(" ").forEach(function(A){return u.store.off(A,H)})}},[u,N]);var se=g.useRef(!0);g.useEffect(function(){B.current&&!se.current&&C(w),se.current=!1},[u,x]);var ee=[L,u,v];if(ee.t=L,ee.i18n=u,ee.ready=v,v||!v&&!m)return ee;throw new Promise(function(P){Ng(u,b,function(){P()})})}const y1=e=>{const{id:t,label:n,required:a,disabled:o=!1,errorMessage:s,ariaLabel:u,value:c,onBlur:f,onChange:h,fieldRef:m,type:x="text",children:b,themeName:v="textInput",tokens:w,customTheme:T}=e,E=g.useRef(null),{errorMessageProps:L,inputProps:C,labelProps:N}=t0(e,E),O={...w,isDisabled:o,isError:s!=null},B=Te(`${v}.wrapper`,O,T),se=Te(`${v}.label`,O,T),ee=Te(`${v}.input`,O,T),P=Te(`${v}.container`,O,T);return F.jsxs("div",{children:[F.jsxs("div",{"aria-disabled":o,className:B,children:[n&&F.jsx("label",{className:se,...N,children:n}),F.jsxs("div",{className:P,children:[b,F.jsx(ff,{focusRingClass:"focus-ring",children:F.jsx("input",{...C,className:ee,disabled:o,required:a,ref:z=>{m?.(z),E.current=z},"aria-label":u,"aria-labelledby":t,value:c,onBlur:f,onChange:h,type:x})})]})]}),s&&F.jsx(Hr,{themeName:`${v}.errorMessage`,tokens:O,...L,children:s})]})},__=e=>{const{name:t,required:n,minLength:a=0,maxLength:o=99999999,validation:s}=e,{register:u,formState:c}=m1(),h=p1(c.errors,t)?.message??void 0,{t:m}=E_("components"),{ref:x,...b}=u(t,{required:n?m("FORM.ERROR.REQUIRED")??"required":!1,minLength:{value:a,message:m("FORM.ERROR.MIN_LENGTH",{length:a})},maxLength:{value:o,message:m("FORM.ERROR.MAX_LENGTH",{length:a})},...s});return F.jsx(y1,{fieldRef:x,...b,...e,isError:!Xf.isEmpty(h),errorMessage:h})};function R_({themeName:e="calendar",tokens:t,state:n,date:a}){const o=g.useRef(null),{cellProps:s,buttonProps:u,isSelected:c,isOutsideVisibleRange:f,isDisabled:h,formattedDate:m,isInvalid:x}=Q5({date:a},n,o),b=n?.highlightedRange?xt(a,n?.highlightedRange.start):c,v=n?.highlightedRange?xt(a,n?.highlightedRange.end):c,{locale:w}=u4(),T=pu(a,w),E=c&&(b||T===0||a.day===1),L=c&&(v||T===6||a.day===a.calendar.getDaysInMonth(a)),{focusProps:C,isFocusVisible:N}=df(),O=Te(`${e}.cellContainer`,{...t,isFocusVisible:N}),B=Te(`${e}.cell`,{...t,isSelected:c,isInvalid:x,isDisabled:h,isRoundedLeft:E,isRoundedRight:L}),se=Te(`${e}.cellDate`,{...t,isSelected:c,isInvalid:x,isDisabled:h,isSelectionStart:b,isSelectionEnd:v});return F.jsx("td",{...s,"aria-disabled":!1,className:O,children:F.jsx("div",{...je(u,C),ref:o,hidden:f,className:B,children:F.jsx("div",{className:se,children:m})})})}function A_({themeName:e="calendar",customTheme:t,tokens:n,state:a,...o}){const{locale:s}=on(),{gridProps:u,headerProps:c,weekDays:f}=J5({...o},a),h=jE(a.visibleRange.start,s),m=Te(`${e}.calendarTable`,n),x=Te(`${e}.dayLabel`,n);return F.jsxs("table",{...u,cellPadding:"0",className:m,children:[F.jsx("thead",{...c,children:F.jsx("tr",{children:f.map(b=>F.jsx("th",{className:x,children:b},`${b}`))})}),F.jsx("tbody",{children:[...new Array(h).keys()].map(b=>F.jsx("tr",{children:a.getDatesInWeek(b).map((v,w)=>v?F.jsx(R_,{state:a,date:v},v?.day):F.jsx("td",{},w))},b))})]})}function v1({buttons:e,tokens:t,customTheme:n,themeName:a="calendar",...o}){const{locale:s}=on(),u=$8({...o,locale:s,createCalendar:Ub}),c=g.useRef(null),{calendarProps:f,prevButtonProps:h,nextButtonProps:m,title:x}=Y5({...o},u),b=Te(`${a}.container`,t),v=Te(`${a}.header`,t),w=Te(`${a}.navigationButtonsContainer`,t);return F.jsxs("div",{...f,ref:c,className:b,children:[F.jsxs("div",{className:v,children:[F.jsx(Hr,{as:"p",tokens:{size:"h6"},children:x}),F.jsxs("div",{className:w,children:[F.jsx(ui,{themeName:`${a}.navigationButtons`,tokens:{...t},type:"button",...h,handlePress:h?.onPress,children:F.jsx(qr,{icon:e?.buttonPrev?.icon??"ArrowLeft"})}),F.jsx(ui,{themeName:`${a}.navigationButtons`,tokens:{...t},type:"button",...m,handlePress:m?.onPress,children:F.jsx(qr,{icon:e?.buttonNext?.icon??"ArrowRight"})})]})]}),F.jsx(A_,{state:u})]})}function C_({title:e,children:t,...n}){const a=g.useRef(null),{dialogProps:o}=Rf(n,a);return F.jsx("div",{...o,ref:a,children:t})}function M_({themeName:e="datePicker",tokens:t,...n}){const a=ii.useRef(null),{state:o,children:s}={...n},{popoverProps:u,underlayProps:c}=pv({...n,popoverRef:a},o),f=Te(`${e}.calendarUnderlay`,t),h=Te(`${e}.calendarPopover`,t);return F.jsxs(mv,{children:[F.jsx("div",{...c,className:f}),F.jsxs("div",{...u,ref:a,className:h,children:[F.jsx(ds,{onDismiss:o.close}),s,F.jsx(ds,{onDismiss:o.close})]})]})}function I_({segment:e,state:t}){const n=g.useRef(null),{segmentProps:a}=Z7(e,t,n);return F.jsxs("div",{...a,ref:n,children:[F.jsx("span",{"aria-hidden":"true",style:{visibility:e.isPlaceholder?"visible":"hidden",height:e.isPlaceholder?"":0,pointerEvents:"none",display:e.isPlaceholder?"block":"none"},children:e.placeholder}),e.isPlaceholder?"":e.text]})}function zg(e){const{locale:t}=on(),n=I8({...e,locale:t,createCalendar:Ub}),a=g.useRef(null),{fieldProps:o}=W7(e,n,a);return F.jsx("div",{...o,ref:a,className:"flex",children:n.segments.map((s,u)=>F.jsx(I_,{segment:s,state:n},u))})}function k_({popoverPlacement:e="bottom start",tokens:t,customTheme:n,themeName:a="datePicker",icon:o="ArrowDown",description:s,buttonLabel:u,...c}){const f=R8({...c}),h=g.useRef(null),{groupProps:m,fieldProps:x,labelProps:b,descriptionProps:v,buttonProps:w,dialogProps:T,calendarProps:E}=H7({...c},f,h),{label:L}={...c},C=Te(`${a}.container`,t),N=Te(`${a}.dateField`,t),O=Te(`${a}.label`,t);return F.jsxs("div",{className:C,children:[L&&F.jsx("span",{...b,children:L}),s&&F.jsx("div",{...v,children:s}),F.jsx("div",{...m,ref:h,children:F.jsxs(ui,{themeName:`${a}.button`,tokens:{...t},type:"button",...w,handlePress:w.onPress,children:[u&&F.jsx("p",{className:O,children:u}),F.jsxs("div",{className:N,children:[F.jsx(zg,{...x}),f.validationState==="invalid"&&"❌"]}),F.jsx(qr,{themeName:`${a}.icon`,tokens:{...t},icon:o})]})}),f.isOpen&&F.jsx(M_,{triggerRef:h,state:f,placement:e,children:F.jsxs(C_,{...T,children:[F.jsxs("div",{children:[F.jsx(zg,{...x}),f.validationState==="invalid"&&"❌"]}),F.jsx(v1,{...E})]})})]})}const O_=({as:e="div",themeName:t="box",tokens:n,customTheme:a,children:o,className:s,...u})=>{const c=Te(t,n,a);return F.jsx(e,{...u,className:c,children:o})},L_=g.forwardRef((e,t)=>{const{as:n="div",tokens:a,themeName:o="box",customTheme:s,children:u,...c}=e,f=Te(o,a,s);return F.jsx(n,{...c,ref:t,className:f,children:u})}),Ru=(e,t,n="sharing_tool")=>`?utm_source=${e}&utm_medium=${t}&utm_campaign=${n}`,Au=()=>{const[e,t]=g.useState(),[n,a]=g.useState();return g.useEffect(()=>{t(window.location.href),a(window.document.title)},[]),{windowLocation:e,windowTitle:n}},F_=(e,t,n)=>{const{windowLocation:a,windowTitle:o}=Au(),s=n??a,u=Ru(e,t);return`https://www.facebook.com/sharer.php?u=${`${s}${u}`}&t=${o}`},N_=(e,t,n)=>{const{windowLocation:a,windowTitle:o}=Au(),s=n??a,u=Ru(e,t),c=`${s}${u}`;return`mailto:?to=&body=${o}%20${c}`},K_=(e,t,n)=>{const{windowLocation:a}=Au(),o=n??a,s=Ru(e,t);return`https://twitter.com/intent/tweet?text=${`${o}${s}`}`};exports.Accordion=R4;exports.ArrowRight=f1;exports.Box=O_;exports.BoxWithForwardRef=L_;exports.Button=ui;exports.ButtonWithForwardRef=vu;exports.Calendar=v1;exports.Checkbox=n_;exports.DateComponent=H8;exports.DatePicker=k_;exports.IconDispatcher=qr;exports.IsClientContextProvider=D4;exports.Lightbox=y8;exports.Modal=Qf;exports.PopoverButton=K8;exports.ReactHookFormInput=__;exports.ReactHookFormSelect=t_;exports.Select=g1;exports.ShareButton=C4;exports.SidePanelContextProvider=L4;exports.TextArea=r_;exports.TextInputField=y1;exports.ThemeContextProvider=Wg;exports.Typography=Hr;exports.WysiwygBlock=z8;exports.createThemeProvider=Hg;exports.generateUtmTags=Ru;exports.index=xT;exports.index$1=b8;exports.isEqual=d1;exports.makeTheme=jg;exports.useFacebookShareUrl=F_;exports.useIsClient=P$;exports.useMailToShareUrl=N_;exports.useSidePanel=C$;exports.useTheme=Vg;exports.useThemeContext=Te;exports.useTwitterShareUrl=K_;exports.useWindow=Au;