limixbot 0.2.4 → 0.2.6

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 (129) hide show
  1. package/dist/app-icon-192.png +0 -0
  2. package/dist/app-icon-512.png +0 -0
  3. package/dist/app-icon.svg +1 -4
  4. package/dist/apple-touch-icon.png +0 -0
  5. package/dist/assets/{ActivityPanel-Yt1JPJtx.js → ActivityPanel--I8ZbzPP.js} +1 -1
  6. package/dist/assets/{App-CVCxQPpR.js → App-BV7lfvAV.js} +112 -112
  7. package/dist/assets/{AppEventEditor-C0O8Bn2f.js → AppEventEditor-8B4LbsP2.js} +1 -1
  8. package/dist/assets/{BotSettingsDialog-tUYy15lC.js → BotSettingsDialog-3inJTZDU.js} +4 -4
  9. package/dist/assets/{BrowserPanel-C5enR5R1.js → BrowserPanel-DCL1ihdL.js} +1 -1
  10. package/dist/assets/{BrowserProfilesManager-CSo4X7HO.js → BrowserProfilesManager-BsJcpUXn.js} +1 -1
  11. package/dist/assets/CloudAddDialog-ByLX1_cO.js +1 -0
  12. package/dist/assets/{ComputerFilesPane-DyhJMTEu.js → ComputerFilesPane-DfBb3jpl.js} +1 -1
  13. package/dist/assets/{ComputerPanel-DQydmwiD.js → ComputerPanel-I4wmIpih.js} +2 -2
  14. package/dist/assets/{DataPanel-DrjKXaiE.js → DataPanel-CtUMgjeI.js} +1 -1
  15. package/dist/assets/{DesktopViewer-CYiF8QbG.js → DesktopViewer-D-mh4Mvc.js} +1 -1
  16. package/dist/assets/{FilesView-DHmDJZVD.js → FilesView-JI5NRvg4.js} +1 -1
  17. package/dist/assets/{GrokMoveDialog-BU8ItDTb.js → GrokMoveDialog-9lKJlUqW.js} +3 -3
  18. package/dist/assets/{InspectorPanel-DgSqJslV.js → InspectorPanel-DYjIHQn_.js} +1 -1
  19. package/dist/assets/{KeyboardShortcutsModal-D7Y75zbh.js → KeyboardShortcutsModal-F6vm4Ee4.js} +1 -1
  20. package/dist/assets/{LiveDesktop-DIFFdwoj.js → LiveDesktop-CI9S1x-U.js} +1 -1
  21. package/dist/assets/{LocalVmWorkspace-cE5VrI75.js → LocalVmWorkspace-BVs4kGG8.js} +1 -1
  22. package/dist/assets/{MacLocalControl-CR1xsN8C.js → MacLocalControl-Dnpb-1A_.js} +1 -1
  23. package/dist/assets/{MarkdownFilePreview-C9-_VWg5.js → MarkdownFilePreview-gVi-3dXl.js} +1 -1
  24. package/dist/assets/{MenuMotion-Dh3Gi4kY.js → MenuMotion-DQYRi6n6.js} +1 -1
  25. package/dist/assets/{NewBotDialog-0aO27qTW.js → NewBotDialog-KtFHQMb_.js} +1 -1
  26. package/dist/assets/{PhoneAppDialog-CJeGAXQD.js → PhoneAppDialog-Dnn_AW4P.js} +1 -1
  27. package/dist/assets/PlacesRail-Bpjyw4Vm.js +57 -0
  28. package/dist/assets/{PluginsPanel-CxXhbzxv.js → PluginsPanel-D5f_fUBQ.js} +1 -1
  29. package/dist/assets/ProIntroduction-BPNgfh6z.js +1 -0
  30. package/dist/assets/{RemoteAgentSettingsPanel-Bmhtewtp.js → RemoteAgentSettingsPanel-3RAtLnAr.js} +1 -1
  31. package/dist/assets/{RoomPanel-8hijlQPG.js → RoomPanel-xMkLuBHe.js} +1 -1
  32. package/dist/assets/{RoutinesPage-BmR16t7O.js → RoutinesPage-M0vKACB8.js} +2 -2
  33. package/dist/assets/SettingsModal-Dcmk7Ghv.js +11 -0
  34. package/dist/assets/{ShareTeamDialog-COcdYImw.js → ShareTeamDialog-CeEhxIZd.js} +1 -1
  35. package/dist/assets/{SignedInSites--xtkgjnC.js → SignedInSites-BldnQjjC.js} +1 -1
  36. package/dist/assets/{TeamLibraryPanel-DOVg7avu.js → TeamLibraryPanel-BY_Ycbbf.js} +1 -1
  37. package/dist/assets/{TeamMapPage-r1iwHXYM.js → TeamMapPage-Da5W5s-4.js} +1 -1
  38. package/dist/assets/{TriggersPage-DkPipM4n.js → TriggersPage-D1EMwLwJ.js} +1 -1
  39. package/dist/assets/{VisibilitySection-UlGM_8Ri.js → VisibilitySection-Bg_6NbUb.js} +1 -1
  40. package/dist/assets/{WebhookTrigger-sfrkU37A.js → WebhookTrigger-DsKXQ3Cd.js} +1 -1
  41. package/dist/assets/{WorksOnGrid-Cx__gmQD.js → WorksOnGrid-CfkpIePV.js} +1 -1
  42. package/dist/assets/{abnfDiagram-YUKMZFIV-zKm62LaA.js → abnfDiagram-YUKMZFIV-Ckoz_CzF.js} +1 -1
  43. package/dist/assets/{activity-CPkAJarW.js → activity-CQ1e-FGE.js} +1 -1
  44. package/dist/assets/{architectureDiagram-47P4ROYG-BtuTxvNC.js → architectureDiagram-47P4ROYG-CgPs1VuD.js} +1 -1
  45. package/dist/assets/{blockDiagram-E7TT5TSB-BRCjM53y.js → blockDiagram-E7TT5TSB-Cmb2ImyI.js} +1 -1
  46. package/dist/assets/{c4Diagram-CRA5TL53-C9p73qnX.js → c4Diagram-CRA5TL53-FdJmz2JG.js} +1 -1
  47. package/dist/assets/{calendar-days-DdkRWrHv.js → calendar-days-BUipnvhW.js} +1 -1
  48. package/dist/assets/channel-BzoyEHOy.js +1 -0
  49. package/dist/assets/{chunk-2Q5K7J3B-BVttC6OI.js → chunk-2Q5K7J3B-BzwXKae0.js} +1 -1
  50. package/dist/assets/{chunk-5VM5RSS4-BNqqqnGl.js → chunk-5VM5RSS4-BYWM6mWC.js} +1 -1
  51. package/dist/assets/{chunk-7TKQ45FW-CLkkCMma.js → chunk-7TKQ45FW-BIriaw9d.js} +1 -1
  52. package/dist/assets/{chunk-AW2ZBBNX-ByE3NFnK.js → chunk-AW2ZBBNX-6yQL8NET.js} +1 -1
  53. package/dist/assets/{chunk-FVRAUYC3-D1NFW9zf.js → chunk-FVRAUYC3-B4pej_b0.js} +2 -2
  54. package/dist/assets/{chunk-HTAEGDNF-y9-VGZh8.js → chunk-HTAEGDNF-CyK4QAOD.js} +1 -1
  55. package/dist/assets/{chunk-JWPE2WC7-BOYZL91l.js → chunk-JWPE2WC7-DRvsvO9Z.js} +1 -1
  56. package/dist/assets/{chunk-KQW6MTUR-DRtZ-jux.js → chunk-KQW6MTUR-FEwgYelx.js} +1 -1
  57. package/dist/assets/{chunk-XXDRQBXY-DCH3w3v6.js → chunk-XXDRQBXY-BYleWq1o.js} +1 -1
  58. package/dist/assets/{classDiagram-v2-K4WV4PDN-BziSQpNK.js → classDiagram-v2-K4WV4PDN-BNjClALP.js} +1 -1
  59. package/dist/assets/{coins-BvYP8U4w.js → coins-CxF7VbZf.js} +1 -1
  60. package/dist/assets/{core-DgU9fIH7.js → core-C8K-KBYk.js} +1 -1
  61. package/dist/assets/{cose-bilkent-JH36ORCC-BzC7KDhz.js → cose-bilkent-JH36ORCC-DmY2f5QM.js} +1 -1
  62. package/dist/assets/{cynefin-EF2NZ3EQ-DallfvKE.js → cynefin-EF2NZ3EQ-D4pCl3aZ.js} +1 -1
  63. package/dist/assets/{cynefinDiagram-3GCD6N5R-BlzPquFR.js → cynefinDiagram-3GCD6N5R-jS7kDRoE.js} +1 -1
  64. package/dist/assets/{dagre-W4DXFKR2-XlgF2qP1.js → dagre-W4DXFKR2-Dd5ELGuw.js} +1 -1
  65. package/dist/assets/{diagram-2UJZ2QOL-D6-7kEyN.js → diagram-2UJZ2QOL-B-tizYMz.js} +1 -1
  66. package/dist/assets/{diagram-OVF4WLC6-BuvgW3fs.js → diagram-OVF4WLC6-D3xpMTHl.js} +1 -1
  67. package/dist/assets/{diagram-PFPMY2P6-Cxw7BxsQ.js → diagram-PFPMY2P6-DUf0EYR1.js} +1 -1
  68. package/dist/assets/{diagram-UMYRVEAY-DbaTO7xG.js → diagram-UMYRVEAY-CfhFy4fo.js} +1 -1
  69. package/dist/assets/{diagram-YEKJPTXX-ssS2jDd9.js → diagram-YEKJPTXX-pKD2IJJ7.js} +1 -1
  70. package/dist/assets/{diagram-ZIFT7M5P-MSG2hmJt.js → diagram-ZIFT7M5P-BxunPXAX.js} +1 -1
  71. package/dist/assets/{ebnfDiagram-VR2GEFS7-D3iLv4Vh.js → ebnfDiagram-VR2GEFS7-DPyW7BZH.js} +1 -1
  72. package/dist/assets/{elk-IJKZMXRS-CN_29WGs.js → elk-IJKZMXRS-XJxkJxok.js} +1 -1
  73. package/dist/assets/{erDiagram-O2IAPWRE-Bcl7Id7T.js → erDiagram-O2IAPWRE-CUES7W0a.js} +1 -1
  74. package/dist/assets/{file-up-CCEcdqcW.js → file-up-BDUXq-vg.js} +1 -1
  75. package/dist/assets/{flowDiagram-OXPTDLAJ-n2WLJBHk.js → flowDiagram-OXPTDLAJ-B5acRFQe.js} +1 -1
  76. package/dist/assets/{ganttDiagram-R7TSEDQI-BXBxYc2Z.js → ganttDiagram-R7TSEDQI-CQp0rp67.js} +1 -1
  77. package/dist/assets/{gitGraphDiagram-XJZIOB7I-B3rVvw07.js → gitGraphDiagram-XJZIOB7I-Chl_xMxf.js} +1 -1
  78. package/dist/assets/{import-name-QCV3NxTT.js → import-name-fDjyR5kx.js} +1 -1
  79. package/dist/assets/{index-DMDRA73w.js → index-3mZteHSQ.js} +1 -1
  80. package/dist/assets/index-BUpSDhKQ.js +2 -0
  81. package/dist/assets/{index-DxGSNARA.js → index-CZgKLcUm.js} +1 -1
  82. package/dist/assets/{infoDiagram-5W2HQ5XZ-BxRrhDe0.js → infoDiagram-5W2HQ5XZ-DDJYDjQ5.js} +1 -1
  83. package/dist/assets/{ishikawaDiagram-K3B6WC7H-ZOdsAPxi.js → ishikawaDiagram-K3B6WC7H-Bxd_dhZZ.js} +1 -1
  84. package/dist/assets/{journeyDiagram-COXZFDF6-axLKau4X.js → journeyDiagram-COXZFDF6-BYF-sQSD.js} +1 -1
  85. package/dist/assets/{kanban-definition-P3RFRI5V-DTVUrJqt.js → kanban-definition-P3RFRI5V-B0wBqOFH.js} +1 -1
  86. package/dist/assets/{mcp-servers-kshb3G8M.js → mcp-servers-xsYOIrTE.js} +1 -1
  87. package/dist/assets/{mermaid.core-D8G0v7ax.js → mermaid.core-C6PKoMQA.js} +4 -4
  88. package/dist/assets/{mindmap-definition-LZFPQGKD-eR6Dlm_o.js → mindmap-definition-LZFPQGKD-BlN8ZHNR.js} +1 -1
  89. package/dist/assets/{minimize-DsfIgSIh.js → minimize-BPbapdk9.js} +1 -1
  90. package/dist/assets/{monitor-CJJehAYK.js → monitor-Xr0SgoUO.js} +1 -1
  91. package/dist/assets/{new-bot-BxtfLvSH.js → new-bot-DZ8WGB0A.js} +2 -2
  92. package/dist/assets/{org-library-j54w6Ia7.js → org-library-jgASeM26.js} +1 -1
  93. package/dist/assets/{package-format-CMWKE_F6.js → package-format-HQ4GXg3u.js} +1 -1
  94. package/dist/assets/{pegDiagram-BGZESJAR-BabDseNJ.js → pegDiagram-BGZESJAR-Dts1Xq7B.js} +1 -1
  95. package/dist/assets/{pieDiagram-CAPJLFHJ-BKvqDvl1.js → pieDiagram-CAPJLFHJ-D6BLN9z8.js} +1 -1
  96. package/dist/assets/{quadrantDiagram-GDMTTRAM-B04ZbGZP.js → quadrantDiagram-GDMTTRAM-BNXscncZ.js} +1 -1
  97. package/dist/assets/rail-KIYXnvmP.js +1 -0
  98. package/dist/assets/{railroadDiagram-SM67HX2B-DcJknZtN.js → railroadDiagram-SM67HX2B-BcriwGaw.js} +1 -1
  99. package/dist/assets/{remote-desktop-panel-CqR9sYPm.js → remote-desktop-panel-D-AMCL3e.js} +1 -1
  100. package/dist/assets/{requirementDiagram-X7JNWC4A-CkeImvIM.js → requirementDiagram-X7JNWC4A-DFVmx-Hz.js} +1 -1
  101. package/dist/assets/{sankeyDiagram-UM26HJRW-DYxARQh9.js → sankeyDiagram-UM26HJRW-fySjdOut.js} +1 -1
  102. package/dist/assets/{sequenceDiagram-ZO4K6R2Y-DWd9rdXx.js → sequenceDiagram-ZO4K6R2Y-CXrhKe3C.js} +1 -1
  103. package/dist/assets/{sizeCapture-INFHLROL-CjzuzZLP.js → sizeCapture-INFHLROL-D7uoCaYO.js} +1 -1
  104. package/dist/assets/{stateDiagram-v2-TBUQTH76-CLmc94Ln.js → stateDiagram-v2-TBUQTH76-BcNwr-uw.js} +1 -1
  105. package/dist/assets/{styles-NM37uvmJ.js → styles-DSEcltf1.js} +3 -3
  106. package/dist/assets/{swimlanes-N4OXWK64-Dmc-N6gk.js → swimlanes-N4OXWK64-BXzCyVrs.js} +1 -1
  107. package/dist/assets/swimlanesDiagram-K3J5GTZL-kYQoltjc.js +8 -0
  108. package/dist/assets/{team-share-CfzFiDJl.js → team-share-BrQ2rI3n.js} +1 -1
  109. package/dist/assets/{timeline-definition-YOQAKGHF-B4YfX3Wn.js → timeline-definition-YOQAKGHF-BdAlbPSb.js} +1 -1
  110. package/dist/assets/{usecaseDiagram-VIAY4XPW-tkKvR-PW.js → usecaseDiagram-VIAY4XPW-CIBiINMq.js} +1 -1
  111. package/dist/assets/{vennDiagram-BLWOH2XV-CWEUMDKu.js → vennDiagram-BLWOH2XV-Ctrb2l50.js} +1 -1
  112. package/dist/assets/{wardleyDiagram-YMQ3BMBF-DRcqmHpZ.js → wardleyDiagram-YMQ3BMBF-kLbK1beS.js} +1 -1
  113. package/dist/assets/{xychartDiagram-TAQBALBS-B-YwOKwp.js → xychartDiagram-TAQBALBS-C5baNmCt.js} +1 -1
  114. package/dist/index.html +2 -2
  115. package/dist/rail.html +4 -4
  116. package/dist-server/package.json +1 -1
  117. package/dist-server/shared/mascot-bodies.js +4 -4
  118. package/package.json +1 -1
  119. package/dist/assets/CloudAddDialog-DsTSypGV.js +0 -1
  120. package/dist/assets/PlacesRail-BI7EZKaw.js +0 -57
  121. package/dist/assets/ProIntroduction-CQDF5fEs.js +0 -1
  122. package/dist/assets/SettingsModal-BJCVgscC.js +0 -11
  123. package/dist/assets/channel-BEZp93ad.js +0 -1
  124. package/dist/assets/cursor-128-D_P4sIyM.webp +0 -0
  125. package/dist/assets/cursor-192-TWSdnzcT.webp +0 -0
  126. package/dist/assets/cursor-256-Mw4jC-Z3.webp +0 -0
  127. package/dist/assets/index-DeIGTf2I.js +0 -2
  128. package/dist/assets/rail-COJ1VklA.js +0 -1
  129. package/dist/assets/swimlanesDiagram-K3J5GTZL-DHOLnd-u.js +0 -8
@@ -0,0 +1,57 @@
1
+ import{c as r1,t as f,j as a,E as Me,aB as ie,H as s1,Y as ve,aC as se,U as We,a as L,f as D2,J as Gt,Q as Jt,G as Wo,aD as Ko,ag as Ho,r as m,X as F2,a7 as Vo,a9 as Go,ar as B2,a0 as U2,aE as Jo,e as qo,R as Nn,aF as Yo,aG as Xo,aH as Qo,aI as ei,aJ as ti,ae as ni,aK as ri,aL as oi,D as z1,V as ii,T as si,aM as rt,O as En,K as ai,aN as ci,L as ot,g as W2,aO as li,aP as kt,aQ as K2,aR as h1,aS as ui,ah as di,S as fi,a5 as pi,aT as H2,aU as hi,b as Ci,aV as mi,aW as gi,aX as bi}from"./styles-DSEcltf1.js";import{M as yi}from"./monitor-Xr0SgoUO.js";const xi=[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]],vi=r1("audio-lines",xi);const ki=[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]],wi=r1("building-2",ki);const _i=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],Si=r1("cloud-upload",_i);const ji=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Mi=r1("copy",ji);const Ni=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],Ei=r1("ellipsis",Ni);const $i=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],qt=r1("external-link",$i);const Ai=[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]],Zi=r1("hard-drive",Ai);const zi=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],Oi=r1("house",zi);const Ii=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],x1=r1("loader-circle",Ii);const Ti=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],V2=r1("lock",Ti);const Pi=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],Ri=r1("log-out",Pi);const Li=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Di=r1("moon",Li);const Fi=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],G2=r1("plus",Fi);const Bi=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],Ui=r1("power",Bi);const Wi=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],J2=r1("server",Wi);const Ki=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Hi=r1("smartphone",Ki);const Vi=[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]],Gi=r1("timer",Vi);const Ji=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Yt=r1("user-round",Ji),$1=8,qi=new Set(["sso","two-factor","browser"]);function Yi(e,t){switch(e){case"invalid-email":return f("cloudBuy.signIn.invalidEmail");case"rate-limited":return f("cloudBuy.signIn.rateLimited");case"wrong-code":return t===1?f("cloudBuy.signIn.wrongCodeOne"):f("cloudBuy.signIn.wrongCode",{count:t??0});case"expired":return f("cloudBuy.signIn.expired");case"signup-closed":return f("cloudBuy.signIn.signupClosed");case"device-limit":return f("cloudBuy.signIn.deviceLimit");case"sso":return f("cloudBuy.signIn.sso");case"two-factor":return f("cloudBuy.signIn.twoFactor");case"browser":return f("cloudBuy.signIn.browser");case"failed":return f("cloudBuy.signIn.failed")}}function de(e){return e.replace(/\D/g,"").slice(0,$1)}const Xi=e=>{const t=Math.max(0,Math.ceil(e/1e3));return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`};function Qi({phase:e,email:t,code:n,profileEmail:r,busy:o,now:i,onBack:s,onEmail:c,onSend:l,onChangeEmail:u,onCode:d,onResend:p,onBrowser:h}){const C=e.step==="done"?null:e.problem,g=C!==null&&qi.has(C),y=e.intent?f("cloudBuy.signIn.title"):f("cloudBuy.signIn.titlePlain"),x=(w,v)=>w.parentElement?.querySelectorAll("input")[v]?.focus(),k=(w,v,A)=>{const z=de(v);if(z.length>1){d(de(n.slice(0,w)+z)),x(A,Math.min($1-1,w+z.length));return}const Z=(n.slice(0,w)+z+n.slice(w+1)).slice(0,$1);d(de(Z)),z&&w<$1-1&&x(A,w+1)},_=w=>v=>{v.key==="Backspace"&&!n[w]&&w>0?(v.preventDefault(),d(n.slice(0,w-1)),x(v.currentTarget,w-1)):v.key==="ArrowLeft"&&w>0?(v.preventDefault(),x(v.currentTarget,w-1)):v.key==="ArrowRight"&&w<$1-1&&(v.preventDefault(),x(v.currentTarget,w+1))},j=w=>{const v=de(w.clipboardData.getData("text"));v&&(w.preventDefault(),d(v),x(w.currentTarget,Math.min($1-1,v.length)))},N=w=>{w.preventDefault(),o||l()};return a.jsxs("div",{"data-cloud-add":`sign-in-${e.step}`,className:Me,children:[a.jsxs("div",{className:"flex flex-col gap-3",children:[a.jsx(ie,{label:f("cloudBuy.back"),onClick:s}),a.jsx(s1,{title:y,sub:f("cloudBuy.signIn.sub")})]}),e.step==="email"&&a.jsxs("form",{className:"flex flex-col gap-1.5",onSubmit:N,noValidate:!0,children:[a.jsx("label",{htmlFor:"cloud-add-email",className:"text-[13px] leading-[18px] text-ink-secondary",children:f("cloudBuy.signIn.email")}),a.jsx("input",{id:"cloud-add-email","data-autofocus":!0,type:"email",autoComplete:"email",inputMode:"email",spellCheck:!1,value:t,disabled:o,"aria-invalid":C==="invalid-email"||void 0,"aria-describedby":C?"cloud-add-problem":void 0,onChange:w=>c(w.target.value),className:ve}),a.jsxs("button",{type:"submit",className:`${se} mt-2`,disabled:o||!t.trim(),children:[o&&a.jsx(x1,{size:16,className:"animate-spin motion-reduce:animate-none","aria-hidden":"true"}),f("cloudBuy.signIn.send")]}),r&&t.trim().toLowerCase()===r.trim().toLowerCase()&&a.jsx("p",{className:"text-[13px] leading-[18px] text-ink-tertiary",children:f("cloudBuy.signIn.fromProfile")})]}),e.step==="code"&&a.jsxs("div",{className:"flex flex-col gap-2.5",children:[a.jsxs("p",{id:"cloud-add-code-label",className:"text-[13px] leading-[18px] text-ink-secondary",children:[f("cloudBuy.signIn.codeLabel",{email:e.email})," · ",a.jsx("button",{type:"button",className:We,disabled:o,onClick:u,children:f("cloudBuy.signIn.change")})]}),a.jsx("div",{role:"group","aria-labelledby":"cloud-add-code-label",className:"grid grid-cols-8 gap-1.5",dir:"ltr",children:Array.from({length:$1},(w,v)=>a.jsx("input",{"data-autofocus":v===Math.min(n.length,$1-1)||void 0,value:n[v]??"",inputMode:"numeric",pattern:"[0-9]*",maxLength:$1,autoComplete:v===0?"one-time-code":"off","aria-label":f("cloudBuy.signIn.digit",{n:v+1}),disabled:o,"aria-invalid":C==="wrong-code"||void 0,"aria-describedby":C?"cloud-add-problem":void 0,onChange:A=>k(v,A.target.value,A.currentTarget),onKeyDown:_(v),onPaste:j,onFocus:A=>A.currentTarget.select(),className:L(ve,"h-11 min-w-0 px-0 text-center text-[20px] font-medium tabular-nums")},v))}),e.signupOpen===!1&&a.jsx("p",{"data-cloud-signup-closed":!0,className:"text-[13px] leading-[18px] text-ink-secondary",children:f("cloudBuy.signIn.signupClosedNote")}),a.jsx("div",{className:"flex min-h-6 items-center justify-between gap-3 text-[13px] text-ink-tertiary",children:o?a.jsxs("span",{role:"status",className:"inline-flex items-center gap-1.5",children:[a.jsx(x1,{size:13,className:"animate-spin motion-reduce:animate-none","aria-hidden":"true"}),f("cloudBuy.signIn.checking")]}):e.resendAt>i?a.jsx("span",{children:f("cloudBuy.signIn.resendIn",{time:Xi(e.resendAt-i)})}):a.jsx("button",{type:"button",className:We,onClick:p,children:f("cloudBuy.signIn.resend")})})]}),e.step==="done"&&a.jsxs("p",{role:"status",className:"flex items-center gap-2 text-[14px] leading-5 text-ink",children:[a.jsx("span",{"aria-hidden":"true",className:"grid size-5 shrink-0 place-items-center rounded-full bg-ink text-app",children:a.jsx(D2,{size:12,strokeWidth:2.4})}),e.intent?f("cloudBuy.signIn.done"):f("cloudBuy.signIn.donePlain")]}),C&&a.jsxs("div",{id:"cloud-add-problem",role:"alert",className:"flex flex-col items-start gap-3 rounded-[12px] bg-ink/[0.04] px-4 py-3 text-[13px] leading-[18px] text-ink",children:[a.jsx("p",{children:Yi(C,e.step==="code"?e.triesLeft:null)}),g&&a.jsxs("button",{type:"button",className:Gt,onClick:h,children:[f("cloudBuy.signIn.continueBrowser"),a.jsx(qt,{size:14,"aria-hidden":"true"})]}),C==="expired"&&e.step==="code"&&a.jsx("button",{type:"button",className:Jt,disabled:o,onClick:p,children:f("cloudBuy.signIn.newCode")})]}),e.step!=="done"&&!g&&a.jsxs("p",{className:"text-[13px] leading-[18px] text-ink-tertiary",children:[f("cloudBuy.signIn.ssoHint")," ",a.jsx("button",{type:"button",className:We,onClick:h,children:f("cloudBuy.signIn.continueBrowser")})]})]})}function Y8({code:e,checkout:t,trial:n,busy:r,onReopen:o,onCancel:i}){return a.jsxs("div",{"data-cloud-add":"signing-in",className:Me,children:[a.jsx(s1,{title:f("cloudAdd.browserTitle")}),e?a.jsxs("ol",{className:"flex list-decimal flex-col gap-1.5 ps-5 text-[14px] leading-5 text-ink marker:text-ink-tertiary",children:[a.jsx("li",{children:f("cloudAdd.signInStep1")}),a.jsxs("li",{children:[f("cloudAccount.codeCheck"),a.jsx("code",{dir:"ltr",className:"mt-1.5 block w-fit select-all rounded-[8px] bg-ink/[0.05] px-3 py-1.5 font-mono text-[17px] font-medium tracking-[0.12em]",children:e})]}),a.jsx("li",{children:f(t?n?"cloudAdd.signInStep3Trial":"cloudAdd.signInStep3":"cloudAdd.signInStep3Connect")})]}):a.jsxs("p",{role:"status",className:"flex items-center gap-2 text-[13px] text-ink-secondary",children:[a.jsx(x1,{size:14,className:"animate-spin motion-reduce:animate-none","aria-hidden":"true"}),f("cloudAdd.opening")]}),a.jsxs("div",{className:Wo,children:[a.jsx("button",{type:"button",className:Jt,disabled:r,onClick:i,children:f("cloudAdd.cancel")}),a.jsxs("button",{type:"button",className:Gt,disabled:r||!e,onClick:o,children:[f("cloudAdd.reopenBrowser"),a.jsx(qt,{size:14,"aria-hidden":"true"})]})]})]})}var q2=Ko();const X8=Ho(q2);let es=0;const fe=[],wt=m.createContext(null),ts=()=>()=>{};function Y2({modal:e=!1,children:t}){const[n]=m.useState(()=>++es);m.useLayoutEffect(()=>{if(e)return fe.push(n),fe.sort((s,c)=>s-c),()=>{fe.splice(fe.indexOf(n),1)}},[e,n]);const r=m.useContext(wt),o=m.useSyncExternalStore(ts,()=>!1,()=>!0),i=a.jsx(wt.Provider,{value:e?n:r,children:t});return o?i:q2.createPortal(i,document.body)}function ns(){const e=m.useContext(wt);return m.useCallback(()=>e===null||fe.at(-1)===e,[e])}const rs="a[href], button:not([disabled]), input:not([disabled]), textarea:not([disabled]), select:not([disabled]), [tabindex]";function os(e,t){const n=m.useRef(t);n.current=t,m.useEffect(()=>{const r=e.current;if(!r)return;const o=document.activeElement instanceof HTMLElement?document.activeElement:null;r.contains(document.activeElement)||r.focus();const i=()=>Array.from(r.querySelectorAll(rs)).filter(c=>c.getAttribute("tabindex")!=="-1"&&!c.closest("[hidden], [inert]")),s=c=>{if(c.defaultPrevented)return;if(c.key==="Escape"){c.preventDefault(),c.stopPropagation(),n.current();return}if(c.key!=="Tab")return;const l=i();if(!l.length)return c.preventDefault();const u=l[0],d=l[l.length-1];c.shiftKey&&(document.activeElement===u||!r.contains(document.activeElement)||document.activeElement===r)?(c.preventDefault(),d.focus()):!c.shiftKey&&document.activeElement===d&&(c.preventDefault(),u.focus())};return r.addEventListener("keydown",s),()=>{r.removeEventListener("keydown",s),o?.focus()}},[e])}function Xt(e){switch(e.outcome){case"moving":return f("accounts.moving");case"gone":return f("accounts.gone");case"failed":return f("accounts.failed");default:return null}}function Q8(){const e=window.ogb?.remoteClient?.active?void 0:window.ogb?.accounts,t=window.ogb?.accountSheet,n=window.ogb?.app?.ownPage===!0&&!!e,r=B2(),[o,i]=m.useState(null),[s,c]=m.useState(!1),[l,u]=m.useState(null);return m.useEffect(()=>{if(!n)return;const d=()=>{e.list().then(i).catch(()=>{})};return d(),e.onChanged(d)},[n,e]),m.useEffect(()=>{if(n||!t)return;let d=!0;return t.offered().then(p=>{d&&c(p===!0)}).catch(()=>{}),()=>{d=!1}},[n,t]),{view:n?o:null,openSheet:!n&&s&&t?()=>{t.open().catch(()=>{})}:null,noRail:!r.beside&&!r.places.length,signOut:d=>{e?.signOut(d).then(p=>{i(p.view);const h=Xt(p);h&&u({email:null,note:h})}).catch(()=>u({email:null,note:f("accounts.failed")}))},add:d=>u({email:d??"",note:null}),sheet:l,closeSheet:()=>u(null)}}function e7(e){return f(e&&!e.active?"accounts.signIn":"settings.section.cloudAccount")}function t7({view:e,openSheet:t,noRail:n,signOut:r,add:o}){if(t)return[{key:"accounts-sheet",label:f("accounts.manage"),icon:a.jsx(Yt,{size:18}),onSelect:t}];const i=e?.active;return i?[{key:"accounts-active",heading:f("accounts.heading"),label:i.email,title:i.email,checked:!0,icon:a.jsx(D2,{size:18}),disabled:!i.signIn,...i.signIn?{subtitle:f("accounts.needsSignIn")}:{},onSelect:()=>{i.signIn&&o(i.email)}},...n?[{key:"accounts-add",label:f("accounts.add"),icon:a.jsx(G2,{size:18}),onSelect:()=>o()}]:[],{key:"accounts-sign-out",label:f("accounts.signOut"),icon:a.jsx(Ri,{size:18}),onSelect:()=>r(i.id)}]:[]}const $n={step:"email",intent:!1,problem:null};function is({start:e,onDone:t,onBack:n}){const r=window.ogb?.accounts,[o,i]=m.useState($n),[s,c]=m.useState(e),[l,u]=m.useState(""),[d,p]=m.useState(!1),[h,C]=m.useState(!1),[g,y]=m.useState(Date.now());m.useEffect(()=>{const _=setInterval(()=>y(Date.now()),1e3);return()=>clearInterval(_)},[]),m.useEffect(()=>()=>{r?.addCancel().catch(()=>{})},[r]);const x=()=>{d||!r||(p(!0),r.addStart(s).then(_=>{_.outcome==="sent"?(i({step:"code",intent:!1,email:_.email,resendAt:_.resendAt,problem:null,triesLeft:null,..._.signupOpen===!1?{signupOpen:!1}:{}}),u("")):i({step:"email",intent:!1,problem:_.outcome})},()=>i({step:"email",intent:!1,problem:"failed"})).finally(()=>p(!1)))},k=_=>{if(!r||o.step!=="code")return;const j=o;p(!0),r.addVerify(_).then(N=>{N.outcome==="switched"?t(null):N.outcome==="added"?t(f("accounts.added",{email:N.email??s})):N.outcome==="already"?t(f("accounts.already",{email:N.email??s})):(u(""),i({...j,problem:N.outcome,triesLeft:N.outcome==="wrong-code"?N.triesLeft:null}))},()=>i({...j,problem:"failed",triesLeft:null})).finally(()=>p(!1))};return m.useEffect(()=>{if(!h||!r)return;const _=()=>{r.addResult().then(j=>{j&&(j.outcome==="switched"?t(null):j.outcome==="added"?t(f("accounts.added",{email:j.email??s})):j.outcome==="already"?t(f("accounts.already",{email:j.email??s})):(C(!1),i({step:"email",intent:!1,problem:"failed"})))}).catch(()=>{})};return _(),r.onChanged(_)},[h,r,t,s]),h?a.jsxs("div",{"data-accounts-browser":!0,className:Me,children:[a.jsx(s1,{title:f("accounts.browserTitle"),sub:f("accounts.browserBody")}),a.jsx("button",{type:"button",className:Jt,onClick:()=>{r?.addReopen().catch(()=>{})},children:f("accounts.browserOpen")})]}):a.jsx(Qi,{phase:o,email:s,code:l,profileEmail:null,busy:d,now:g,onBack:n,onEmail:c,onSend:x,onChangeEmail:()=>{i($n),r?.addCancel().catch(()=>{})},onCode:_=>{const j=de(_);u(j),j.length===8&&!d&&k(j)},onResend:x,onBrowser:()=>{p(!0),r?.addBrowser().then(_=>{_.outcome==="browser"?C(!0):i({step:"email",intent:!1,problem:"failed"})},()=>i({step:"email",intent:!1,problem:"failed"})).finally(()=>p(!1))}})}function ss({onClose:e,adding:t=null,note:n=null}){const r=window.ogb?.accounts,[o,i]=m.useState(null),[s,c]=m.useState(n),[l,u]=m.useState(t);m.useEffect(()=>{if(!r)return;const C=()=>{r.list().then(i).catch(()=>c(f("accounts.failed")))};return C(),r.onChanged(C)},[r]);const d=C=>{c(null),r?.signOut(C).then(g=>{i(g.view);const y=Xt(g);y?c(y):e()},()=>c(f("accounts.failed")))},p=o?.active??null,h=m.useRef(null);return os(h,e),a.jsx(Y2,{modal:!0,children:a.jsx("div",{className:"ui-scrim fixed inset-0 z-[60] flex items-center justify-center p-4",onMouseDown:C=>C.target===C.currentTarget&&e(),children:a.jsxs("div",{ref:h,tabIndex:-1,role:"dialog","aria-modal":"true","aria-labelledby":"cloud-add-title","data-accounts-sheet":!0,className:L(Go,"relative w-full max-w-[420px] outline-none"),children:[a.jsx("button",{type:"button",onClick:e,"aria-label":f("accounts.close"),className:L(Vo,"absolute end-4 top-4 z-10"),children:a.jsx(F2,{size:16})}),l!==null?a.jsx(is,{start:l,onBack:()=>t!==null?e():u(null),onDone:C=>{u(null),C?c(C):e()}}):a.jsxs("div",{className:Me,children:[a.jsx(s1,{title:f("accounts.title")}),p&&!n&&a.jsxs("p",{"data-accounts-active":!0,className:"truncate text-[14px] text-ink",title:p.email,children:[f("accounts.heading")," ",p.email]}),s&&a.jsx("p",{role:"status","data-accounts-note":!0,className:"text-[13px] leading-5 text-ink-secondary",children:s}),p&&!n&&a.jsx("button",{type:"button","data-accounts-sign-out":!0,className:Gt,onClick:()=>d(p.id),children:f("accounts.signOut")})]})]})})})}function n7(){const e=window.ogb?.accounts,[t,n]=m.useState(!1);return m.useEffect(()=>{if(e)return e.sheetPending().then(r=>{r&&n(!0)}).catch(()=>{}),e.onOpenSheet(()=>n(!0))},[e]),m.useEffect(()=>{t&&window.ogb?.rail?.expand?.(!0)?.catch(()=>{})},[t]),{open:t,close:()=>{n(!1),window.ogb?.rail?.expand?.(!1)?.catch(()=>{}),e?.sheetClosed().catch(()=>{})}}}const me={host:{platform:"other",label:"Browser",session:"unknown",packaged:!1},windowChrome:"native",screenPreview:{available:!1,interaction:"none",reasonCode:"desktop-app-required"},dictation:{available:!1,engine:"none",onDevice:!1,reasonCode:"desktop-app-required"},localComputer:{available:!1,support:"unsupported",enabled:!1,status:"unavailable",reasonCode:"desktop-app-required"}};let L1=null,_t=0;function Qt(){const e=typeof window>"u"?void 0:window.ogb?.platform;if(!e)return me;const t=e==="darwin",n=e==="win32"||e==="linux",r={available:t||n,engine:t?"apple-speech":n?"fish-audio":"none",onDevice:t};return r.available||(r.reasonCode="unsupported-platform"),{...me,host:{...me.host,platform:e==="darwin"||e==="linux"||e==="win32"?e:"other",label:e==="darwin"?"macOS":e==="linux"?"Linux":e==="win32"?"Windows":"Desktop"},windowChrome:t?"mac-inset":e==="win32"?"win-caption":"native",dictation:r}}async function as(){if(L1)return L1;if(!window.ogb?.getCapabilities)return me;const e=_t;let t;try{t=await window.ogb.getCapabilities()}catch{t=me}return _t!==e&&L1||(L1=t),L1}function r7(){return L1??Qt()}function cs(e){return _t+=1,L1=e,e}function o7(){return typeof window>"u"||window.ogb?.remoteClient?.active?void 0:window.ogb?.approvals}const X2=m.createContext({capabilities:Qt(),ready:typeof window>"u"||!window.ogb});function i7({children:e}){const[t,n]=m.useState(()=>({capabilities:Qt(),ready:typeof window>"u"||!window.ogb}));return m.useEffect(()=>{let r=!0,o=0;const i=window.ogb?.onCapabilitiesChanged?.(c=>{o+=1,r&&n({capabilities:cs(c),ready:!0})}),s=o;return as().then(c=>{r&&o===s&&n({capabilities:c,ready:!0})}),()=>{r=!1,i?.()}},[]),a.jsx(X2.Provider,{value:t,children:e})}function Q2(){return m.useContext(X2)}function ls(){const{capabilities:e}=Q2();return ps(e.windowChrome)}const An={WebkitAppRegion:"drag"},us={WebkitAppRegion:"no-drag"};function ds(e){return e?.windowChrome==="mac-inset"||e?.windowChrome==="win-caption"}function fs(e){return ds(e)&&e?.windowFrame!==!1}function ps(e){const t=e==="win-caption",n=t||e==="mac-inset";return{windowsCaption:t,draggable:n,dragProps:n?{"data-window-drag":"",style:An}:{},dragStyle:n?An:void 0,noDragStyle:n?us:void 0}}function s7(){const{dragProps:e}=ls();return e.style?a.jsx("div",{"aria-hidden":!0,"data-window-drag-strip":!0,...e,className:"pointer-events-none absolute inset-x-0 top-0 h-[52px]"}):null}function hs(e,t,n=Date.now()){const r=Math.max(0,Math.round((n-e)/1e3)),o=new Intl.RelativeTimeFormat(t,{numeric:"auto"});if(r<45)return o.format(0,"second");const i=Math.round(r/60);if(i<60)return o.format(-i,"minute");const s=Math.round(i/60);if(s<24)return o.format(-s,"hour");const c=Math.round(s/24);return c<7?o.format(-c,"day"):new Date(e).toLocaleDateString(t,{month:"short",day:"numeric"})}let ke=null,Zn=!1;const St=new Set,it=()=>typeof window>"u"?void 0:window.ogb?.rail;function ee(e){ke=e;for(const t of St)t(ke)}function Cs(){const e=it();Zn||!e?.state||(Zn=!0,e.onState?.(ee),e.state().then(ee,()=>ee(null)))}function a7(){const[e,t]=m.useState(ke);return m.useEffect(()=>(St.add(t),Cs(),t(ke),()=>{St.delete(t)}),[]),e}function ms(){const[e,t]=m.useState(!0);return m.useEffect(()=>it()?.onFramed?.(t),[]),e}function c7(e=!0){it()?.drawsFrame?.(e)?.catch(()=>{})}function l7(e){const t=it(),n=ke;!t?.setHidden||!n||(ee({...n,hidden:e}),t.setHidden(e).then(ee,()=>ee(n)))}const en="popover-surface flex flex-col gap-1 rounded-[var(--radius-menu)] border border-hairline/50 bg-menu p-1.5 shadow-lg [&_svg.lucide]:stroke-[1.5]",u7="flex min-h-[30px] w-full shrink-0 items-center gap-2 whitespace-nowrap rounded-md px-2 py-1.5 text-left text-[14px] leading-[18px] focus-visible:bg-menu-hover",d7="mx-1.5 h-px shrink-0 bg-hairline/50",f7="px-2 pb-1 pt-2 text-[12px] font-medium leading-4 text-ink-secondary",Ne="group flex h-[30px] w-full min-w-0 shrink-0 items-center gap-2 rounded-md px-2 text-left text-[13px] leading-[18px] text-ink hover:bg-ink/[0.06] focus:bg-ink/[0.06] active:bg-ink/[0.08] disabled:cursor-default disabled:opacity-50 disabled:hover:bg-transparent touch:h-10",p7="group flex min-h-[30px] w-full min-w-0 shrink-0 items-center gap-2 rounded-md px-2 py-1 text-left text-[13px] leading-[18px] text-ink hover:bg-ink/[0.06] focus:bg-ink/[0.06] active:bg-ink/[0.08] disabled:cursor-default disabled:opacity-50 disabled:hover:bg-transparent touch:min-h-10",h7="min-w-0 max-w-full truncate text-[12px] leading-4 text-ink-tertiary",C7="flex h-[30px] w-full min-w-0 shrink-0 items-center gap-2 px-2 text-[13px] leading-[18px] touch:h-10",m7="flex size-4 shrink-0 items-center justify-center",g7="min-w-0 max-w-[45%] shrink truncate text-[12px] leading-4 text-ink-tertiary",b7="flex h-6 shrink-0 items-end gap-2 px-2 pb-0.5 text-[12px] font-medium leading-4 text-ink-tertiary",y7="mx-2 my-[5px] h-[0.5px] shrink-0 bg-ink/10",x7="px-2 py-1 text-[12px] leading-4 text-ink-tertiary",v7="shrink-0 text-ink-secondary",k7="shrink-0 text-ink-tertiary rtl:-scale-x-100",w7=1.75,gs=Object.freeze({empty:"native.connect.empty",codeOnly:"native.connect.codeOnly",emailCode:"native.connect.emailCode",oldCode:"native.connect.oldCode",scriptKey:"native.connect.scriptKey",notACode:"native.connect.notACode",publicHttp:"native.connect.publicHttp",phoneLink:"native.connect.phoneLink",notAnAddress:"native.connect.notAnAddress",unreachable:"native.connect.unreachable",dns:"native.connect.dns",certificate:"native.connect.certificate",notMausBot:"native.connect.notMausBot",desktopApp:"native.connect.desktopApp",desktopAppTailnet:"native.connect.desktopAppTailnet",loopback:"native.connect.loopback",localNetwork:"native.connect.localNetwork",tailscaleOff:"native.connect.tailscaleOff",otherTailnet:"native.connect.otherTailnet",tailnetBlocked:"native.connect.tailnetBlocked",tailnetSilent:"native.connect.tailnetSilent"}),tn=40,er={blue:"blue",green:"teal",amber:"yellow",rose:"red",violet:"purple",slate:null};function st(e){const t=er[e];return t?U2(t):"var(--color-raised)"}const jt={blue:"cloudBuy.color.blue",green:"cloudBuy.color.teal",amber:"cloudBuy.color.yellow",rose:"cloudBuy.color.red",violet:"cloudBuy.color.purple",slate:"cloudBuy.color.slate"},D1=Object.keys(jt),tr="blue";function bs(e,{now:t,tier:n=null,failed:r=!1,stop:o=null}){if(e===void 0)return{kind:"checking"};if(e===null)return{kind:"unreachable"};if(!e.signedIn||!e.hasCloud)return{kind:"first"};const i=e.adding&&!e.adding.done?e.adding:null;if(i)return i.status==="ready"?{kind:"ready",adding:i}:i.status==="setting_up"?{kind:"starting",adding:i}:i.status==="problem"?{kind:"problem",adding:i}:{kind:"waiting",adding:i,late:t-i.startedAt>=Jo};const s=e.home?.name??null;if(!e.supported)return{kind:"stop",reason:"one",home:s};const c=o??(e.canAdd?null:e.blocked==="cap"||!e.blocked?"one":e.blocked);if(c)return{kind:"stop",reason:c,home:s};if(r)return{kind:"error"};if(!e.offer?.plans.length)return{kind:"unreachable"};const l=n?e.offer.plans.find(u=>u.tier===n):void 0;return l?{kind:"name",plan:l}:{kind:"choose",offer:e.offer}}function ys(e){return e==="signups_closed"||e==="checkout_open"||e==="rate"?e:"one"}const xs=1200,vs=3e3;function ks(e){return new Promise(t=>{let n=!1;const r=i=>{n||(n=!0,clearTimeout(o),t(i))},o=setTimeout(()=>r(!1),vs);try{if(!navigator.clipboard?.writeText)return r(!1);Promise.resolve(navigator.clipboard.writeText(e)).then(()=>r(!0),()=>r(!1))}catch{r(!1)}})}function ws(e){if(typeof document>"u"||!document.body||typeof document.execCommand!="function")return!1;const t=document.activeElement,n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style.position="fixed",n.style.left="-9999px";try{return document.body.appendChild(n),n.select(),n.setSelectionRange(0,e.length),document.execCommand("copy")}catch{return!1}finally{n.remove(),t?.focus?.({preventScroll:!0})}}async function _s(e){if(!e.trim())return"empty";if(await ks(e))return"copied";try{if(typeof window<"u"&&await window.ogb?.copyText?.(e)===!0)return"copied"}catch{}return ws(e)?"copied":"failed"}function Ss({copy:e,onChange:t,resetMs:n=xs,setTimer:r=(i,s)=>setTimeout(i,s),clearTimer:o=i=>clearTimeout(i)}){let i=!1,s=!1,c;const l=()=>{c!==void 0&&o(c),c=void 0};return{async click(u){if(i)return"busy";i=!0;let d;try{d=await e(u)}catch{d="failed"}finally{i=!1}return s||d==="empty"||(l(),t(d==="copied"?"copied":"failed"),c=r(()=>{c=void 0,t("idle")},n)),d},dispose(){s=!0,l()}}}function js(e){const[t,n]=m.useState("idle"),r=m.useRef(null);m.useEffect(()=>{const i=Ss({copy:_s,onChange:n});return r.current=i,()=>{i.dispose(),r.current=null}},[]);const o=m.useCallback(()=>{r.current?.click(e)},[e]);return{state:t,copy:o}}const Ms={panel:"ring-offset-panel",card:"ring-offset-card",menu:"ring-offset-menu"};function Ee({value:e,onChange:t,label:n,disabled:r=!1,offset:o="panel",none:i=!1}){const s=e??D1[0],c=l=>i&&l==="slate";return a.jsx("div",{role:"radiogroup","aria-label":n,"aria-disabled":r||void 0,className:"flex flex-wrap gap-2.5",children:D1.map(l=>a.jsx("button",{type:"button",role:"radio","aria-checked":l===e,"aria-label":f(c(l)?"placeLook.none":jt[l]),title:f(c(l)?"placeLook.none":jt[l]),"data-swatch":l,disabled:r,onClick:()=>t(l),onKeyDown:u=>{const d=u.key==="ArrowRight"||u.key==="ArrowDown"?1:u.key==="ArrowLeft"||u.key==="ArrowUp"?-1:0;if(!d)return;u.preventDefault();const p=D1[(D1.indexOf(l)+d+D1.length)%D1.length];t(p),u.currentTarget.parentElement?.querySelector(`[data-swatch="${p}"]`)?.focus()},tabIndex:l===s?0:-1,className:L("grid size-8 place-items-center rounded-full border transition-[box-shadow] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus disabled:cursor-default",c(l)?"border-ink/55 text-ink/55":"border-ink/10",l===e&&L("ring-2 ring-ink/70 ring-offset-2",Ms[o]),r&&l!==e&&"opacity-50"),style:c(l)?void 0:{background:st(l)},children:c(l)&&a.jsx("span",{"aria-hidden":"true",className:"h-[1.5px] w-[60%] -rotate-45 rounded-full bg-current"})},l))})}function Mt(e){const t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,o])=>t.indexOf(+r)===-1).map(([r,o])=>o)}function zn(e,t="|"){return e.map(n=>sr(n)).join(t)}function Nt(e,t){return typeof t=="bigint"?t.toString():t}class Ns{constructor(t){this._getter=t,this._value=void 0}get value(){const t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}}function at(e){return new Ns(e)}function Es(e){return e==null}function nn(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function $s(e,t){const n=e/t,r=Math.round(n),o=4*Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-r)<o?0:n-r}function T1(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function rn(e){const t=Object.getOwnPropertyDescriptor(e,"shape");return t?.get?t.get.raw:t?.value}function O1(e){return rn(e._zod.def)??e._zod.def.shape}function nr(e,t,n){Object.defineProperty(e,t,{get(){const r=n();return T1(this,t,r),r},enumerable:!0,configurable:!0})}function rr(e,t,n){t in e?T1(e,t,n):e[t]=n}function J1(e,t,n,r){const o=O1(t);for(const i of n){const s=Object.getOwnPropertyDescriptor(o,i);s.enumerable&&(s.get?nr(e,i,()=>{const c=t._zod.def.shape[i];return r?r(c,i):c}):rr(e,i,r?r(s.value,i):s.value))}}function As(e,t){for(const n of Reflect.ownKeys(t)){const r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?nr(e,n,()=>t[n]):rr(e,n,r.value))}}function p1(...e){const t={};for(const n of e){const r=Object.getOwnPropertyDescriptors(n);Object.assign(t,r)}return Object.defineProperties({},t)}function Zs(e){return JSON.stringify(e)}function zs(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const or="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function we(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Os=at(()=>{if(v1.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function te(e){if(we(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(we(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function ir(e){return te(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const Is=new Set(["string","number","symbol"]);function ne(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function U1(e,t,n){const r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function S(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function sr(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Ts(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}const ar={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Ps={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Rs(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const i={};return J1(i,e,ct(e,t)),U1(e,p1(n,{shape:i,checks:[]}))}function ct(e,t){const n=O1(e),r=[];for(const o of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,o)?.enumerable)throw new Error(`Unrecognized key: "${String(o)}"`);t[o]&&r.push(o)}return r}function Ls(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=new Set(ct(e,t)),s={};return J1(s,e,Reflect.ownKeys(O1(e)).filter(c=>!i.has(c))),U1(e,p1(n,{shape:s,checks:[]}))}function Ds(e,t){if(!te(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const o=O1(e);for(const i of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(o,i)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return U1(e,p1(e._zod.def,{shape:cr(e,t)}))}function cr(e,t){const n={};return J1(n,e,Reflect.ownKeys(O1(e))),As(n,t),n}function Fs(e,t){if(!te(t))throw new Error("Invalid input to safeExtend: expected a plain object");return U1(e,p1(e._zod.def,{shape:cr(e,t)}))}function Bs(e,t){if(!t?._zod?.def)throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const n={};J1(n,e,Reflect.ownKeys(O1(e))),J1(n,t,Reflect.ownKeys(O1(t)));const r=p1(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return U1(e,r)}function On(e,t,n,r="partial"){const i=t._zod.def.checks;if(i&&i.length>0)throw new Error(`.${r}() cannot be used on object schemas containing refinements`);const c=n?new Set(ct(t,n)):void 0,l={};return J1(l,t,Reflect.ownKeys(O1(t)),e&&((u,d)=>c&&!c.has(d)?u:new e({type:"optional",innerType:u}))),U1(t,p1(t._zod.def,{shape:l,checks:[]}))}function Us(e,t,n){const r=n?new Set(ct(t,n)):void 0,o={};return J1(o,t,Reflect.ownKeys(O1(t)),(i,s)=>r&&!r.has(s)?i:new e({type:"nonoptional",innerType:i})),U1(t,p1(t._zod.def,{shape:o}))}function Z1(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Ws(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Q1(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function le(e){return typeof e=="string"?e:e?.message}function In(e){const t=[];for(const n of e??[]){const r=n._zod.def;if(!/_(length|size)$|_equals$/.test(r.check))break;const o=r.maximum??r.length??r.size;o>=0&&t.push([o,n])}return t}function Et(e,t,n){var r;for(let o=t;o<e.length;o++)(r=e[o]).schema??(r.schema=n)}function F1(e,t,n){var r;const o=e.inst?._zod?.traits;o?.has("$ZodType")&&(o.has("$ZodCheck")?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);const i=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,s=e.message?e.message:le(e.inst?._zod.def?.error?.(e))??le(i?.(e))??le(t?.error?.(e))??le(n.customError?.(e))??le(n.localeError?.(e))??"Invalid input",c={};for(const l of Object.keys(e))l==="inst"||l==="schema"||l==="continue"||l==="input"||l==="__proto__"||(c[l]=e[l]);return c.path??(c.path=[]),c.message=s,t?.reportInput&&(c.input=e.input),c}const Ks=/[\uD800-\uDBFF]/;function on(e){const t=e.length;if(!Ks.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)===55296&&(e.charCodeAt(r+1)&64512)===56320&&(n--,r++);return n}function sn(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Hs(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";const n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function _e(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}function Vs(e,t){for(const n in t){const r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):Gs(e,n,r.value)}}function B1(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function lr(e,t,n){return B1(e,t,n,!1)}function ur(e,t){for(const n in e){const r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return B1(this,n,r(this))},set(o){B1(this,n,o)}})}return t}function Gs(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:B1(this,t,n.bind(this))},set(r){B1(this,t,r)}})}function Js(e,t){const n=Object.getPrototypeOf(e);return t in n?void 0:n}let pt,R1=!1;const qs={configurable:!0,get(){R1=!0}};function R(e,t,n){const r=Object.getPrototypeOf(e._zod);if(t in r&&pt!==e._zod){pt=void 0;return}pt=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,qs);const o=R1;R1=!1;try{const i=n(this);return R1?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),R1=R1||o,i}catch(i){throw delete this[t],R1=R1||o,i}},set(o){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:o})}})}function Ys(e,t,n,r){const o=Js(e,t);o&&Object.defineProperty(o,t,{configurable:!0,get(){const i={configurable:!0,writable:!0,enumerable:r,value:void 0};return Object.defineProperty(this,t,i),i.value=n(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:r,value:i})}})}const Xs="~constantCatch";function Qs(e){const t=()=>e;return t[Xs]=!0,t}var Tn;const ht={value:void 0,enumerable:!1};let Pn="captureStackTrace"in Error?Error:null;function e5(e){const t=Pn;if(t){const n=t.stackTraceLimit;if(typeof n=="number"){try{t.stackTraceLimit=0}catch{return Pn=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function b(e,t,n,r){const o={};function i(h){this.def=h,this.constr=p,this.traits=new Set}i.prototype=o;const s=n,c=s&&new WeakSet;function l(h,C){if(h._zod){if(h._zod.traits.has(e))return}else{ht.value=new i(C);try{Object.defineProperty(h,"_zod",ht)}finally{ht.value=void 0}}if(h._zod.traits.add(e),t(h,C),c){const y=Object.getPrototypeOf(h),x=h._zod.constr.prototype;let k=y;for(;k&&k!==x;)k=Object.getPrototypeOf(k);const _=k??y;c.has(_)||(c.add(_),Vs(_,s))}const g=p.prototype;for(const y in g)Object.prototype.hasOwnProperty.call(g,y)&&(y in h||(h[y]=g[y].bind(h)))}const u=r?.Parent??Object;class d extends u{}Object.defineProperty(d,"name",{value:e});function p(h){const C=r?.Parent?e5(d):this;l(C,h);const g=C._zod.deferred;if(g){for(const x of g)x();C._zod.deferred=void 0}const y=globalThis.__zod_globalConfig?.postProcessor;return y&&y(C),C}return Object.defineProperty(p,"init",{value:l}),Object.defineProperty(p,Symbol.hasInstance,{value:h=>r?.Parent&&h instanceof r.Parent?!0:h?._zod?.traits?.has(e)}),Object.defineProperty(p,"name",{value:e}),p}class G1 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class dr extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(Tn=globalThis).__zod_globalConfig??(Tn.__zod_globalConfig={});const v1=globalThis.__zod_globalConfig;function _1(e){return e&&Object.assign(v1,e),v1}function t5(){const e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Nt,2)),e.message}function n5(e){this._zod.message=e}const r5={get:t5,set:n5,enumerable:!0,configurable:!0},Ct={value:void 0,enumerable:!1},Rn=new WeakSet([Object.prototype,Error.prototype]),o5=(e,t)=>{e.name="$ZodError",Ct.value=t,Object.defineProperty(e,"issues",Ct),Ct.value=void 0,Object.defineProperty(e,"message",r5);const n=Object.getPrototypeOf(e);Rn.has(n)||(Rn.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){const r=()=>this.message;return Object.defineProperty(this,"toString",{value:r,configurable:!0,writable:!0}),r},set(r){Object.defineProperty(this,"toString",{value:r,configurable:!0,writable:!0})}}))},i5=b("$ZodError",o5);function s5(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t==="__proto__"?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function a5(e,t=n=>n.message){const n={},r=[];for(const o of e.issues)o.path.length>0?s5(n,o.path[0],()=>[]).push(t(o)):r.push(t(o));return{formErrors:r,fieldErrors:n}}function c5(e,t=n=>n.message){const n={_errors:[]},r=(o,i=[])=>{for(const s of o.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(c=>r({issues:c},[...i,...s.path]));else if(s.code==="invalid_key")r({issues:s.issues},[...i,...s.path]);else if(s.code==="invalid_element")r({issues:s.issues},[...i,...s.path]);else{const c=[...i,...s.path];if(c.length===0)n._errors.push(t(s));else{let l=n,u=0;for(;u<c.length;){const d=c[u],p=u===c.length-1;if(d==="_errors"){p&&l._errors.push(t(s)),u++;continue}Object.prototype.hasOwnProperty.call(l,d)||Object.defineProperty(l,d,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});const h=l[d];p&&h._errors.push(t(s)),l=h,u++}}}};return r(e),n}function lt(e,t){return{callee:t?.callee??e,Err:t?.Err}}const an=e=>{const t=(n,r,o,i)=>{const s=o?{...o,async:!1}:{async:!1},c=n._zod.run({value:r,issues:[]},s);if(c instanceof Promise)throw new G1;if(c.issues.length){const l=new(i?.Err??e)(c.issues.map(u=>F1(u,s,_1())));throw or(l,i?.callee??t),l}return c.value};return t},cn=e=>{const t=async(n,r,o,i)=>{const s=o?{...o,async:!0}:{async:!0};let c=n._zod.run({value:r,issues:[]},s);if(c instanceof Promise&&(c=await c),c.issues.length){const l=new(i?.Err??e)(c.issues.map(u=>F1(u,s,_1())));throw or(l,i?.callee??t),l}return c.value};return t},ln=e=>(t,n,r)=>{const o=r?{...r,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},o);if(i instanceof Promise)throw new G1;return i.issues.length?fr(e,i.issues,o):{success:!0,data:i.value}};function fr(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(o=>F1(o,n,_1()))),t=void 0,n=void 0),r},set error(o){r=o,t=void 0,n=void 0}}}const un=e=>async(t,n,r)=>{const o=r?{...r,async:!0}:{async:!0};let i=t._zod.run({value:n,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?fr(e,i.issues,o):{success:!0,data:i.value}},l5=Symbol.for("zod.compile.invalid"),u5=Symbol.for("zod.compile.fallback"),d5=((e,t,n)=>{const r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==l5)return!0;if(r.definite===!0&&n===void 0)return!1}return f5(e,t,n)});function f5(e,t,n){const r=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},o=e._zod.bag.fallbackRun;let i;if(o?(r[u5]=!0,i=o({value:t,issues:[]},r)):i=e._zod.run({value:t,issues:[]},r),i instanceof Promise)throw new G1;return i.issues.length===0}const p5=async(e,t,n)=>{const r=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0};let o=e._zod.run({value:t,issues:[]},r);return o instanceof Promise&&(o=await o),o.issues.length===0},h5=e=>{const t=an(e),n=(r,o,i,s)=>{const c=i?{...i,direction:"backward"}:{direction:"backward"};return t(r,o,c,lt(n,s))};return n},C5=e=>{const t=an(e),n=(r,o,i,s)=>t(r,o,i,lt(n,s));return n},m5=e=>{const t=cn(e),n=async(r,o,i,s)=>{const c=i?{...i,direction:"backward"}:{direction:"backward"};return await t(r,o,c,lt(n,s))};return n},g5=e=>{const t=cn(e),n=async(r,o,i,s)=>await t(r,o,i,lt(n,s));return n},b5=e=>(t,n,r)=>{const o=r?{...r,direction:"backward"}:{direction:"backward"};return ln(e)(t,n,o)},y5=e=>(t,n,r)=>ln(e)(t,n,r),x5=e=>async(t,n,r)=>{const o=r?{...r,direction:"backward"}:{direction:"backward"};return un(e)(t,n,o)},v5=e=>async(t,n,r)=>un(e)(t,n,r),k5=/^[cC][0-9a-z]{6,}$/,w5=/^[0-9a-z]+$/,_5=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,S5=/^[0-9a-vA-V]{20}$/,j5=/^[A-Za-z0-9]{27}$/,M5=/^[a-zA-Z0-9_-]{21}$/;function N5(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}const E5=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,$5=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Ln=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,A5=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Z5="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function z5(){return new RegExp(Z5,"u")}const O5=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,I5=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,T5=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,P5=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,R5=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,L5=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,D5=/^https?$/,F5=/^\+[1-9]\d{6,14}$/,pr="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function B5(e){return new RegExp(`^${e}$`)}const U5=B5(pr);function $t(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function W5(e){return new RegExp(`^${$t(e)}$`)}function K5(e){const t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${$t({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,r=e.local?`${n}|${$t({precision:e.precision})}`:n;return new RegExp(`^${pr}T(?:${r})$`)}const H5=/^[\s\S]{0,}$/,V5=/^-?\d+$/,dn=/^-?\d+(?:\.\d+)?$/,G5=/^(?:true|false)$/i,J5=/^null$/i,q5=/^undefined$/i,Y5=/^[^A-Z]*$/,X5=/^[^a-z]*$/,d1=b("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),fn=e=>{const t=e.value;return!Es(t)&&t.length!==void 0},Ge={number:"number",bigint:"bigint",object:"date"},hr=b("$ZodCheckLessThan",(e,t)=>{d1.init(e,t);const n=Ge[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:Ge[typeof r.value]??n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Cr=b("$ZodCheckGreaterThan",(e,t)=>{d1.init(e,t);const n=Ge[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:Ge[typeof r.value]??n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Q5=b("$ZodCheckMultipleOf",(e,t)=>{d1.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):$s(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),ea=b("$ZodCheckNumberFormat",(e,t)=>{d1.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),r=n?"int":"number",[o,i]=ar[t.format];e._zod.check=s=>{const c=s.value;if(n){if(!Number.isInteger(c)){s.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){c>0?s.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):s.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}c<o&&s.issues.push({origin:"number",input:c,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),c>i&&s.issues.push({origin:"number",input:c,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),ta=b("$ZodCheckMaxLength",(e,t)=>{var n;d1.init(e,t),(n=e._zod.def).when??(n.when=fn),e._zod.check=r=>{const o=r.value,i=o.length;if((typeof o=="string"&&i>t.maximum?on(o):i)<=t.maximum)return;const c=sn(o);r.issues.push({origin:c,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),na=b("$ZodCheckMinLength",(e,t)=>{var n;d1.init(e,t),(n=e._zod.def).when??(n.when=fn),e._zod.check=r=>{const o=r.value,i=o.length;if((typeof o=="string"&&i>=t.minimum&&i<t.minimum*2?on(o):i)>=t.minimum)return;const c=sn(o);r.issues.push({origin:c,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ra=b("$ZodCheckLengthEquals",(e,t)=>{var n;d1.init(e,t),(n=e._zod.def).when??(n.when=fn),e._zod.check=r=>{const o=r.value,i=o.length,s=typeof o=="string"&&i>=t.length&&i<=t.length*2?on(o):i;if(s===t.length)return;const c=sn(o),l=s>t.length;r.issues.push({origin:c,...l?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),ut=b("$ZodCheckStringFormat",(e,t)=>{var n,r;d1.init(e,t),t.pattern?(n=e._zod).check??(n.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),oa=b("$ZodCheckRegex",(e,t)=>{ut.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),ia=b("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Y5),ut.init(e,t)}),sa=b("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=X5),ut.init(e,t)}),aa=b("$ZodCheckIncludes",(e,t)=>{d1.init(e,t);const n=ne(t.includes),r=new RegExp(typeof t.position=="number"?`^.{${t.position},}${n}`:n);t.pattern=r,e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),ca=b("$ZodCheckStartsWith",(e,t)=>{d1.init(e,t);const n=new RegExp(`^${ne(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),la=b("$ZodCheckEndsWith",(e,t)=>{d1.init(e,t);const n=new RegExp(`.*${ne(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}),ua=b("$ZodCheckOverwrite",(e,t)=>{d1.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class da{constructor(t=[],n={}){this.content=[],this.indent=0,this.args=t,this.closed=n}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const r=t.split(`
2
+ `).filter(s=>s),o=Math.min(...r.map(s=>s.length-s.trimStart().length)),i=r.map(s=>s.slice(o)).map(s=>" ".repeat(this.indent*2)+s);for(const s of i)this.content.push(s)}compile(){const t=Function,n=this?.content??[""];return new t(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
3
+ ${n.join(`
4
+ `)}
5
+ };`)(...Object.values(this.closed))}}const fa={major:4,minor:6,patch:7},K=b("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=fa;const r=e._zod.def.checks,o=e._zod.traits.has("$ZodCheck")?[e,...r??[]]:r?.length?[...r]:[];for(const i of o)for(const s of i._zod.onattach)s(e);if(o.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const i=(c,l,u)=>{if(c.memo)return c;let d=Z1(c),p;for(const h of l){if(h._zod.def.when){if(Ws(c)||!h._zod.def.when(c))continue}else if(d)continue;const C=c.issues.length,g=h._zod.check(c);if(g instanceof Promise&&u?.async===!1)throw new G1;if(p||g instanceof Promise)p=(p??Promise.resolve()).then(async()=>{await g,c.issues.length!==C&&(Et(c.issues,C,e),d||(d=Z1(c,C)))});else{if(c.issues.length===C)continue;Et(c.issues,C,e),d||(d=Z1(c,C))}}return p?p.then(()=>c):c},s=(c,l,u)=>{if(Z1(c))return c.aborted=!0,c;const d=i(l,o,u);if(d instanceof Promise){if(u.async===!1)throw new G1;return d.then(p=>e._zod.parse(p,u))}return e._zod.parse(d,u)};e._zod.run=(c,l)=>{if(l.skipChecks)return e._zod.parse(c,l);if(l.direction==="backward"){const d=e._zod.parse({value:c.value,issues:[]},{...l,skipChecks:!0});return d instanceof Promise?d.then(p=>s(p,c,l)):s(d,c,l)}const u=e._zod.parse(c,l);if(u instanceof Promise){if(l.async===!1)throw new G1;return u.then(d=>i(d,o,l))}return i(u,o,l)}}},{get"~standard"(){return lr(this,"~standard",gr(this))},set"~standard"(e){B1(this,"~standard",e)}}),mr=(e,t)=>e.issues.length?{issues:e.issues.map(n=>F1(n,t,_1()))}:{value:e.value};async function pa(e,t){const n={async:!0};return mr(await e._zod.run({value:t,issues:[]},n),n)}function gr(e){return{validate:t=>{const n={async:!1};try{const r=e._zod.run({value:t,issues:[]},n);if(!(r instanceof Promise))return mr(r,n)}catch{}return pa(e,t)},vendor:"zod",version:1}}const pn=b("$ZodString",(e,t)=>{K.init(e,t),e._zod.pattern=t.pattern??H5,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),G=b("$ZodStringFormat",(e,t)=>{ut.init(e,t),pn.init(e,t)}),ha=b("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=$5),G.init(e,t)}),Ca=b("$ZodUUID",(e,t)=>{if(t.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(r===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Ln(r))}else t.pattern??(t.pattern=Ln());G.init(e,t)}),ma=b("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=A5),G.init(e,t)}),br=1,Je=2;function yr(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function ga(e,t){return!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t)?yr(e)||Je:ba(e,t)}function ba(e,t){if(!t.normalize&&t.protocol?.source===D5.source&&!/^https?:\/\//i.test(e))return br;try{if(typeof URL<"u"){const n=URL;if(typeof n.parse=="function")return n.parse(e)??Je}return new URL(e)}catch{return Je}}const ya=/[\t\n\r]/g;function Dn(e){return e.replace(ya,"")}function xa(e,t){return t.lastIndex=0,t.test(e.hostname)}function va(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}const ka=b("$ZodURL",(e,t)=>{G.init(e,t),e._zod.check=n=>{try{const r=n.value.trim(),o=ga(r,t);if(o===br){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}if(o===Je){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort});return}if(o===!0){n.value=Dn(r);return}t.hostname&&!xa(o,t.hostname)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!va(o,t.protocol)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?o.href:Dn(r);return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),wa=b("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=z5()),G.init(e,t)}),_a=b("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?M5:N5(t.length)),G.init(e,t)}),Sa=b("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=k5),G.init(e,t)}),ja=b("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=w5),G.init(e,t)}),Ma=b("$ZodULID",(e,t)=>{t.pattern??(t.pattern=_5),G.init(e,t)}),Na=b("$ZodXID",(e,t)=>{t.pattern??(t.pattern=S5),G.init(e,t)}),Ea=b("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=j5),G.init(e,t)}),$a=b("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=K5(t)),G.init(e,t)}),Aa=b("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=U5),G.init(e,t)}),Za=b("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=W5(t)),G.init(e,t)}),za=b("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=E5),G.init(e,t)}),Oa=b("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=O5),G.init(e,t)}),Ia=/^[0-9a-fA-F:.]+$/;function xr(e){return Ia.test(e)?yr(`http://[${e}]`):!1}const Ta=b("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=I5),G.init(e,t),e._zod.check=n=>{xr(n.value)||n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}),Pa=b("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=T5),G.init(e,t)});function Ra(e){const t=e.split("/");if(t.length!==2)return!1;const[n,r]=t;if(!r)return!1;const o=Number(r);return`${o}`!==r||o<0||o>128?!1:xr(n)}const La=b("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=P5),G.init(e,t),e._zod.check=n=>{Ra(n.value)||n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}});function vr(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const kr=/^[0-9a-zA-Z+/]*={0,2}$/,Da=b("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=kr),G.init(e,t),e._zod.check=n=>{vr(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),hn=/^[A-Za-z0-9_-]*$/;function Fa(e){if(!hn.test(e))return!1;const t=e.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return vr(n)}const Ba=b("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=hn),G.init(e,t),e._zod.check=n=>{Fa(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),Ua=b("$ZodE164",(e,t)=>{t.pattern??(t.pattern=F5),G.init(e,t)});function Wa(e,t=null){try{const n=e.split(".");if(n.length!==3)return!1;const[r]=n;if(!r)return!1;const o=JSON.parse(atob(r));return!("typ"in o&&o?.typ!=="JWT"||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}}const Ka=b("$ZodJWT",(e,t)=>{G.init(e,t),e._zod.check=n=>{Wa(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),wr=b("$ZodNumber",(e,t)=>{K.init(e,t),e._zod.pattern=dn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}const o=n.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return n;const i=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:String(o):void 0;return n.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...i?{received:i}:{}}),n}}),Ha=b("$ZodNumberFormat",(e,t)=>{ea.init(e,t),wr.init(e,t)}),Va=b("$ZodBoolean",(e,t)=>{K.init(e,t),e._zod.pattern=G5,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}const o=n.value;return typeof o=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),n}}),Ga=b("$ZodUndefined",(e,t)=>{K.init(e,t),e._zod.pattern=q5,e._zod.values=new Set([void 0]),e._zod.parse=(n,r)=>{const o=n.value;return typeof o>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:o,inst:e}),n}}),Ja=b("$ZodNull",(e,t)=>{K.init(e,t),e._zod.pattern=J5,e._zod.values=new Set([null]),e._zod.parse=(n,r)=>{const o=n.value;return o===null||n.issues.push({expected:"null",code:"invalid_type",input:o,inst:e}),n}}),qa=b("$ZodUnknown",(e,t)=>{K.init(e,t),e._zod.parse=n=>n}),Ya=b("$ZodNever",(e,t)=>{K.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function Xa(e,t){const n=In(e._zod.def.checks);if(!n.length)return;const r=Math.min(...n.map(i=>i[0])),o=e._zod.parse;e._zod.parse=(i,s)=>{const c=t(i.value);if(c>r&&!s?.skipChecks&&s?.direction!=="backward"){for(const[l,u]of In(e._zod.def.checks))if(c>l&&u._zod.def.when(i)){const d=i.issues.length;return u._zod.check(i),i.issues[d].continue=!1,Et(i.issues,d,e),i}}return o(i,s)}}const Qa=e=>Array.isArray(e)?e.length:-1;function Fn(e,t,n){e.issues.length&&t.issues.push(...Q1(n,e.issues)),t.value[n]=e.value}const e3=b("$ZodArray",(e,t)=>{K.init(e,t);const n=v1.memoizer;n?.attach(e),e._zod.parse=(r,o)=>{const i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=n?n.alloc(e,r,Array(i.length),o):Array(i.length);const s=[],c=o?.abortEarly;for(let l=0;l<i.length;l++){const u=i[l],d=t.element._zod.run({value:u,issues:[]},o);if(d instanceof Promise)s.push(d.then(p=>Fn(p,r,l)));else if(Fn(d,r,l),c&&d.issues.length!==0&&Z1(d))break}return s.length?Promise.all(s).then(()=>r):r},Xa(e,Qa)});function qe(e,t,n,r,o,i){const s=n in r,c=i==="optional";if(!(!s&&c&&o==="optional")){if(e.issues.length){if(o!==void 0&&c&&!s)return;t.issues.push(...Q1(n,e.issues))}if(!s&&o===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?(s||o==="defaulted"&&!c)&&(t.value[n]=void 0):t.value[n]=e.value}}const t3=[];function _r(e){const t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),r=n.length?n:t3,o=r.length?[...t,...r]:t;for(const s of o)if(!e.shape?.[s]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(s)}": expected a Zod schema`);const i=Ts(e.shape);return{...e,allKeys:o,symbolKeys:r,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function Sr(e,t,n,r,o,i,s){const c=[],l=o.keySet,u=o.catchall._zod,d=u.def.type,p=u.optin,h=u.optout;let C=0;for(const g in t){if(s&&n.issues.length!==C){if(Z1(n,C))break;C=n.issues.length}if(l.has(g))continue;if(g==="__proto__"){d==="never"&&c.push(g);continue}if(d==="never"){c.push(g);continue}const y=u.run({value:t[g],issues:[]},r);y instanceof Promise?e.push(y.then(x=>qe(x,n,g,t,p,h))):qe(y,n,g,t,p,h)}return c.length&&n.issues.push({code:"unrecognized_keys",keys:c,input:t,inst:i,continue:!0}),e.length?Promise.all(e).then(()=>n):n}const n3=b("$ZodObject",(e,t)=>{K.init(e,t);const n=Object.getOwnPropertyDescriptor(t,"shape"),r=n?.get?n.get.raw:t.shape??{};if(r){const u=()=>{const d={...r};return Object.defineProperty(t,"shape",{value:d}),u.raw=d,d};u.raw=r,Object.defineProperty(t,"shape",{get:u})}const o=at(()=>_r(t));R(e,"propValues",u=>{const d=u.def.shape,p={};for(const h in d){const C=d[h]._zod;if(C.values){Object.prototype.hasOwnProperty.call(p,h)||T1(p,h,new Set);for(const g of C.values)p[h].add(g);C.optin!==void 0&&p[h].add(void 0)}}return p});const i=we,s=t.catchall;let c;const l=v1.memoizer;l?.attach(e),e._zod.parse=(u,d)=>{c??(c=o.value);const p=u.value;if(!i(p))return u.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),u;u.value=l?l.alloc(e,u,{},d):{};const h=[],C=c.shape,g=d?.abortEarly;let y=u.issues.length;for(const x of c.allKeys){if(g&&u.issues.length!==y){if(Z1(u,y))break;y=u.issues.length}if(x==="__proto__")continue;const k=C[x],_=k._zod.optin,j=k._zod.optout,N=k._zod.run({value:p[x],issues:[]},d);N instanceof Promise?h.push(N.then(w=>qe(w,u,x,p,_,j))):qe(N,u,x,p,_,j)}return s?Sr(h,p,u,d,o.value,e,g===!0):h.length?Promise.all(h).then(()=>u):u}}),r3=b("$ZodObjectJIT",(e,t)=>{n3.init(e,t);const n=e._zod.parse,r=at(()=>_r(t)),o=v1.memoizer,i=C=>{const g=r.value,y=g.symbolKeys,x=new da(["payload","ctx"],{shape:C,inst:e,memo:o,syms:y}),k=w=>`shape[${w}]._zod.run({ value: input[${w}], issues: [] }, ctx)`,_=(w,v)=>`
6
+ let ${w}_ab = false;
7
+ for (let i = 0; i < ${w}.issues.length; i++) {
8
+ const iss = ${w}.issues[i];
9
+ iss.path = iss.path ? [${v}, ...iss.path] : [${v}];
10
+ payload.issues.push(iss);
11
+ if (iss.continue !== true) ${w}_ab = true;
12
+ }
13
+ if (${w}_ab && ctx && ctx.abortEarly) {
14
+ payload.value = newResult;
15
+ return payload;
16
+ }`;x.write("const input = payload.value;");const j=Object.create(null);let N=0;for(const w of g.allKeys)j[w]=`key_${N++}`;x.write(o?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(const w of g.allKeys){if(w==="__proto__")continue;const v=j[w],A=typeof w=="symbol"?`syms[${y.indexOf(w)}]`:Zs(w),z=`${A} in input`,Z=C[w],V=Z?._zod?.optin,M=V!==void 0,o1=Z?._zod?.optout==="optional";if(x.write(`const ${v} = ${k(A)};`),M&&o1){const P=V==="optional"?`${v}_present`:`${v}.value !== undefined || ${v}_present`;x.write(`
17
+ const ${v}_present = ${z};
18
+ if (!${v}.issues.length || ${v}_present) {
19
+ if (${v}.issues.length) {${_(v,A)}
20
+ }
21
+
22
+ if (${P}) {
23
+ newResult[${A}] = ${v}.value;
24
+ }
25
+ }
26
+
27
+ `)}else M?(x.write(`
28
+ if (${v}.issues.length) {${_(v,A)}
29
+ }
30
+ `),V==="defaulted"?x.write(`newResult[${A}] = ${v}.value;`):x.write(`
31
+ if (${v}.value !== undefined || ${z}) {
32
+ newResult[${A}] = ${v}.value;
33
+ }
34
+ `)):x.write(`
35
+ const ${v}_present = ${z};
36
+ if (${v}.issues.length) {${_(v,A)}
37
+ }
38
+ if (!${v}_present && !${v}.issues.length) {
39
+ payload.issues.push({
40
+ code: "invalid_type",
41
+ expected: "nonoptional",
42
+ input: undefined,
43
+ path: [${A}]
44
+ });
45
+ if (ctx && ctx.abortEarly) {
46
+ payload.value = newResult;
47
+ return payload;
48
+ }
49
+ }
50
+
51
+ if (${v}_present) {
52
+ newResult[${A}] = ${v}.value;
53
+ }
54
+
55
+ `)}return x.write("payload.value = newResult;"),x.write("return payload;"),x.compile()};let s;const c=we,l=!v1.jitless,d=l&&Os.value,p=t.catchall;let h;e._zod.parse=(C,g)=>{h??(h=r.value);const y=C.value;return c(y)?l&&d&&g?.async===!1&&g.jitless!==!0?(s||(s=i(t.shape)),C=s(C,g),p?Sr([],y,C,g,h,e,g?.abortEarly===!0):C):n(C,g):(C.issues.push({expected:"object",code:"invalid_type",input:y,inst:e}),C)}});function Bn(e,t,n,r){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const o=e.filter(i=>!Z1(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(s=>F1(s,r,_1())))}),t)}const jr=b("$ZodUnion",(e,t)=>{K.init(e,t),R(e,"optin",r=>r.def.options.some(o=>o._zod.optin==="defaulted")?"defaulted":r.def.options.some(o=>o._zod.optin!==void 0)?"optional":void 0),R(e,"optout",r=>r.def.options.some(o=>o._zod.optout==="optional")?"optional":void 0),R(e,"values",r=>{if(r.def.options.every(o=>o._zod.values))return new Set(r.def.options.flatMap(o=>Array.from(o._zod.values)))}),R(e,"pattern",r=>{if(r.def.options.every(o=>o._zod.pattern)){const o=r.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>nn(i.source)).join("|")})$`)}});const n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,o)=>{if(n)return n(r,o);let i=!1;const s=[];for(const c of t.options){const l=c._zod.run({value:r.value,issues:[]},o);if(l instanceof Promise)s.push(l),i=!0;else{if(l.issues.length===0)return l;s.push(l)}}return i?Promise.all(s).then(c=>Bn(c,r,e,o)):Bn(s,r,e,o)}});function o3(e){const t=new Map;for(const n of e.options){const r=n._zod.propValues?.[e.discriminator];if(!r||r.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(n)}"`);for(const o of r)if(t.has(o)){if(o!==void 0)throw new Error(`Duplicate discriminator value "${String(o)}"`);t.set(o,null)}else t.set(o,n)}return t}const i3=b("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,jr.init(e,t);const n=e._zod.parse;R(e,"propValues",o=>{const i={};let s=0;for(const c of o.def.options){const l=c._zod.propValues;if(!l||Object.keys(l).length===0)throw new Error(`Invalid discriminated union option at index "${o.def.options.indexOf(c)}"`);l[o.def.discriminator]?.has(void 0)&&s++;for(const[u,d]of Object.entries(l)){Object.prototype.hasOwnProperty.call(i,u)||T1(i,u,new Set);for(const p of d)i[u].add(p)}}return!o.def.unionFallback&&s>1&&i[o.def.discriminator]?.delete(void 0),i}),t.options.forEach((o,i)=>{const s=rn(o._zod.def);if(s&&!Object.prototype.hasOwnProperty.call(s,t.discriminator))throw new Error(`Invalid discriminated union option at index "${i}"`)});const r=at(()=>o3(t));e._zod.parse=(o,i)=>{const s=o.value;if(!we(s))return o.issues.push({code:"invalid_type",expected:"object",input:s,inst:e}),o;const c=s?.[t.discriminator],l=r.value.get(c);return l&&(c!==void 0||i.direction!=="backward")?l._zod.run(o,i):t.unionFallback||i.direction==="backward"?n(o,i):(o.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(r.value.keys()).filter(u=>r.value.get(u)!==null),input:s,path:[t.discriminator],inst:e}),o)}}),s3=b("$ZodIntersection",(e,t)=>{K.init(e,t),e._zod.parse=(n,r)=>{const o=n.value,i=t.left._zod.run({value:o,issues:[]},r),s=t.right._zod.run({value:o,issues:[]},r);return i instanceof Promise||s instanceof Promise?Promise.all([i,s]).then(([l,u])=>Un(n,l,u)):Un(n,i,s)}});function At(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(te(e)&&te(t)){const n=Object.keys(t),r=Object.keys(e).filter(i=>n.indexOf(i)!==-1),o={...e,...t};Object.prototype.hasOwnProperty.call(o,"__proto__")&&delete o.__proto__;for(const i of r){if(i==="__proto__")continue;const s=At(e[i],t[i]);if(!s.valid)return{valid:!1,mergeErrorPath:[i,...s.mergeErrorPath]};o[i]=s.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<e.length;r++){const o=e[r],i=t[r],s=At(o,i);if(!s.valid)return{valid:!1,mergeErrorPath:[r,...s.mergeErrorPath]};n.push(s.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Un(e,t,n){const r=new Map;let o;const i=new Map,s=(u,d)=>{let p;if(u.code==="unrecognized_keys"&&!u.path?.length)o??(o=u),p=u.keys;else if(u.code==="invalid_key"&&u.origin==="record"&&u.path?.length===1){const h=String(u.path[0]);i.has(h)||i.set(h,u),p=[h]}else return!1;for(const h of p)r.has(h)||r.set(h,{}),r.get(h)[d]=!0;return!0};for(const u of t.issues)s(u,"l")||e.issues.push(u);for(const u of n.issues)s(u,"r")||e.issues.push(u);const c=[...r].filter(([,u])=>u.l&&u.r).map(([u])=>u);if(c.length){const u=o?c.filter(d=>o.keys.includes(d)):[];u.length&&e.issues.push({...o,keys:u});for(const d of c)!u.includes(d)&&i.has(d)&&e.issues.push(i.get(d))}const l=At(t.value,n.value);if(!l.valid){if(Z1(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(l.mergeErrorPath)}`)}return e.value=l.data,e}const a3=b("$ZodRecord",(e,t)=>{K.init(e,t);const n=v1.memoizer;n?.attach(e),e._zod.parse=(r,o)=>{const i=r.value;if(!te(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;const s=[],c=t.keyType._zod.values;if(c&&!t.partial){r.value=n?n.alloc(e,r,{},o):{};const l=new Set;for(const d of c)if(typeof d=="string"||typeof d=="number"||typeof d=="symbol"){if(l.add(typeof d=="number"?d.toString():d),d==="__proto__")continue;const p=t.keyType._zod.run({value:d,issues:[]},o);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(p.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(g=>F1(g,o,_1())),input:d,path:[d],inst:e});continue}const h=p.value;if(h==="__proto__")continue;const C=t.valueType._zod.run({value:i[d],issues:[]},o);C instanceof Promise?s.push(C.then(g=>{g.issues.length&&r.issues.push(...Q1(d,g.issues)),r.value[h]=g.value})):(C.issues.length&&r.issues.push(...Q1(d,C.issues)),r.value[h]=C.value)}let u;for(const d in i)if(!l.has(d))if(t.mode==="loose"){if(d==="__proto__")continue;r.value[d]=i[d]}else u=u??[],u.push(d);u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:u,continue:!0})}else{r.value=n?n.alloc(e,r,{},o):{};let l;for(const u of Reflect.ownKeys(i)){if(u==="__proto__"||!Object.prototype.propertyIsEnumerable.call(i,u))continue;let d=t.keyType._zod.run({value:u,issues:[]},o);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof u=="string"&&dn.test(u)&&d.issues.length){const g=t.keyType._zod.run({value:Number(u),issues:[]},o);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");g.issues.length===0&&(d=g)}if(d.issues.length){t.mode==="loose"?r.value[u]=i[u]:c?(l=l??[],l.push(u)):r.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(g=>F1(g,o,_1())),input:u,path:[u],inst:e});continue}const h=d.value;if(h==="__proto__")continue;const C=t.valueType._zod.run({value:i[u],issues:[]},o);C instanceof Promise?s.push(C.then(g=>{g.issues.length&&r.issues.push(...Q1(u,g.issues)),r.value[h]=g.value})):(C.issues.length&&r.issues.push(...Q1(u,C.issues)),r.value[h]=C.value)}l&&l.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:l,continue:!0})}return s.length?Promise.all(s).then(()=>r):r}}),c3=b("$ZodEnum",(e,t)=>{K.init(e,t);const n=Mt(t.entries),r=new Set(n);e._zod.values=r,R(e,"pattern",o=>{const i=Mt(o.def.entries).filter(s=>Is.has(typeof s));return new RegExp(i.length?`^(${i.map(s=>ne(s.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(o,i)=>{const s=o.value;return r.has(s)||o.issues.push({code:"invalid_value",values:n,input:s,inst:e}),o}}),l3=b("$ZodLiteral",(e,t)=>{K.init(e,t);const n=new Set(t.values);e._zod.values=n,R(e,"pattern",r=>{const o=r.def.values;return new RegExp(o.length?`^(${o.map(i=>typeof i=="string"?ne(i):i?ne(i.toString()):String(i)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(r,o)=>{const i=r.value;return n.has(i)||r.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),r}}),u3=b("$ZodTransform",(e,t)=>{K.init(e,t),e._zod.optin="optional",v1.memoizer?.guard(e),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new dr(e.constructor.name);const o=t.transform(n.value,n);if(r.async)return(o instanceof Promise?o:Promise.resolve(o)).then(s=>(n.value=s,n));if(o instanceof Promise)throw new G1;return n.value=o,n}});function Wn(e,t){return e.value=t.issues.length?void 0:t.value,e}const Mr=b("$ZodOptional",(e,t)=>{K.init(e,t),R(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",R(e,"values",n=>{const r=n.def.innerType._zod.values;return r?new Set([...r,void 0]):void 0}),R(e,"pattern",n=>{const r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${nn(r.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(n.value===void 0){if(t.innerType._zod.optin!=="defaulted")return n;const o=t.innerType._zod.run({value:n.value,issues:[]},r);return o instanceof Promise?o.then(i=>Wn(n,i)):Wn(n,o)}return t.innerType._zod.run(n,r)}}),d3=b("$ZodExactOptional",(e,t)=>{Mr.init(e,t),R(e,"values",n=>n.def.innerType._zod.values),R(e,"pattern",n=>n.def.innerType._zod.pattern),e._zod.parse=(n,r)=>t.innerType._zod.run(n,r)}),f3=b("$ZodNullable",(e,t)=>{K.init(e,t),R(e,"optin",n=>n.def.innerType._zod.optin),R(e,"optout",n=>n.def.innerType._zod.optout),R(e,"pattern",n=>{const r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${nn(r.source)}|null)$`):void 0}),R(e,"values",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r)}),p3=b("$ZodDefault",(e,t)=>{K.init(e,t),e._zod.optin="defaulted",R(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)return n.value=t.defaultValue,n;const o=t.innerType._zod.run(n,r);return o instanceof Promise?o.then(i=>Kn(i,t)):Kn(o,t)}});function Kn(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const h3=b("$ZodPrefault",(e,t)=>{K.init(e,t),e._zod.optin="defaulted",R(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,r))}),C3=b("$ZodNonOptional",(e,t)=>{K.init(e,t),R(e,"values",n=>{const r=n.def.innerType._zod.values;return r?new Set([...r].filter(o=>o!==void 0)):void 0}),e._zod.parse=(n,r)=>{const o=t.innerType._zod.run(n,r);return o instanceof Promise?o.then(i=>Hn(i,e)):Hn(o,e)}});function Hn(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}function Vn(e,t,n,r){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(o=>F1(o,r,_1()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}const m3=b("$ZodCatch",(e,t)=>{K.init(e,t),R(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),R(e,"optout",n=>n.def.innerType._zod.optout),R(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const o=t.innerType._zod.run({value:n.value,issues:[]},r);return o instanceof Promise?o.then(i=>Vn(n,i,t,r)):Vn(n,o,t,r)}}),Nr=b("$ZodPipe",(e,t)=>{K.init(e,t),R(e,"values",n=>n.def.in._zod.values),R(e,"optin",n=>n.def.in._zod.optin),R(e,"optout",n=>n.def.out._zod.optout),R(e,"propValues",n=>n.def.in._zod.propValues),e._zod.parse=(n,r)=>{if(r.direction==="backward"){const i=t.out._zod.run(n,r);return i instanceof Promise?i.then(s=>Te(s,t.in,r)):Te(i,t.in,r)}const o=t.in._zod.run(n,r);return o instanceof Promise?o.then(i=>Te(i,t.out,r)):Te(o,t.out,r)}});function Te(e,t,n){return e.issues.some(r=>r.code!=="unrecognized_keys")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}const g3=b("$ZodPreprocess",(e,t)=>{Nr.init(e,t)}),b3=b("$ZodReadonly",(e,t)=>{K.init(e,t),R(e,"propValues",n=>n.def.innerType._zod.propValues),R(e,"values",n=>n.def.innerType._zod.values),R(e,"optin",n=>n.def.innerType?._zod?.optin),R(e,"optout",n=>n.def.innerType?._zod?.optout),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const o=t.innerType._zod.run(n,r);return o instanceof Promise?o.then(Gn):Gn(o)}});function Gn(e){return e.memo||(e.value=Object.freeze(e.value)),e}const y3=b("$ZodCustom",(e,t)=>{d1.init(e,t),K.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{const r=n.value,o=t.fn(r);if(o instanceof Promise)return o.then(i=>Jn(i,n,r,e));Jn(o,n,r,e)}});function Jn(e,t,n,r){if(!e){const o={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(o.params=r._zod.def.params),t.issues.push(_e(o))}}class x3 extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}}const Zt="~memo",qn=[];function Er(e){return e!==null&&typeof e=="object"}function mt(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}const $r=new WeakMap,pe=0,Ke=1,ge=2;function He(e,t,n){const r=$r.get(e);if(r!==void 0)return r?ge:pe;if(t.has(e))return ge;t.add(e);let o=pe;const i=d=>{if(o!==ge&&d?._zod){const p=He(d,t);p>o&&(o=p)}},s=(d,p)=>{let h=pe;for(const C of Reflect.ownKeys(d)){const g=Object.getOwnPropertyDescriptor(d,C);if(!g.enumerable)continue;const y=g.get?Ke:g.value?._zod?He(g.value,t):pe;y>h&&(h=y)}return h},c=d=>{d>o&&(o=d)},l=e._zod.def;switch(l.type){case"object":{const d=rn(l);c(d?s(d):Ke),i(l.catchall);break}case"array":i(l.element);break;case"tuple":for(const d of l.items)i(d);i(l.rest);break;case"record":case"map":i(l.keyType),i(l.valueType);break;case"set":i(l.valueType);break;case"union":for(const d of l.options)i(d);break;case"intersection":i(l.left),i(l.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":i(l.innerType);break;case"pipe":i(l.in),i(l.out);break;case"function":i(l.input),i(l.output);break;case"lazy":{const d=l._cachedInner??void 0;c(d?He(d,t):Ke);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(const d in l){const p=Object.getOwnPropertyDescriptor(l,d);if(!p||p.get)continue;const h=p.value;if(!(!h||typeof h!="object")){if(h._zod)i(h);else if(Array.isArray(h))for(const C of h)i(C)}}}return t.delete(e),v3(e,o)}function v3(e,t){return t!==Ke&&$r.set(e,t===ge),t}function k3(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}let Pe;const Re=[],w3={alloc(e,t,n){const r=Pe;if(!r)return n;Pe=void 0;const o={value:n,issues:null};return r.set(t.value,o),Re.push(o),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const n=e._zod.parse,r=(o,i)=>{if(i.direction!=="backward"&&S3(i,o.value))throw new x3;return n(o,i)};e._zod.parse=r,e._zod.run===n&&(e._zod.run=r)})},attach(e){var t;let n,r=!1,o,i;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const s=e._zod.parse,c=(l,u)=>{if(n===void 0){const k=He(e,new Set);if(k===pe)return e._zod.parse=s,e._zod.run===c&&(e._zod.run=s),s(l,u);k===ge||r?n=!0:r=!0}const d=l.value;if(!Er(d))return s(l,u);let p=u[Zt];p||(p={buckets:new WeakMap,backEdges:void 0},u[Zt]=p);let h;o===u?h=i:(h=k3(p,e),o=u,i=h);const C=h.get(d);if(C)return l.value=C.value,C.issues?C.issues.length&&l.issues.push(...mt(C.issues)):(l.memo=!0,p.backEdges??(p.backEdges=new WeakSet),p.backEdges.add(C.value)),l;Pe=h;const g=Re.length,y=s(l,u);Pe=void 0;const x=Re.length>g?Re.pop():void 0;return y instanceof Promise?y.then(k=>(x&&(x.issues=k.issues.length?mt(k.issues):qn),k)):(x&&(x.issues=y.issues.length?mt(y.issues):qn),y)};e._zod.parse=c,e._zod.run===s&&(e._zod.run=c)})}};function _3(){return w3}function S3(e,t){const n=e[Zt]?.backEdges;return n!==void 0&&Er(t)&&n.has(t)}const j3=()=>{const e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(i){return e[i]??null}const n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},r={nan:"NaN"};function o(i,s){return i==="number"&&typeof s=="number"&&!Number.isFinite(s)?String(s):r[i]??i}return i=>{switch(i.code){case"invalid_type":{const s=o(i.expected),c=Hs(i.input),l=o(c,i.input);return`Invalid input: expected ${s}, received ${l}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${sr(i.values[0])}`:`Invalid option: expected one of ${zn(i.values,"|")}`;case"too_big":{const s=i.exact?"exactly ":i.inclusive?"<=":"<",c=t(i.origin);return c?`Too big: expected ${i.origin??"value"} to have ${s}${i.maximum.toString()} ${c.unit??"elements"}`:`Too big: expected ${i.origin??"value"} to be ${s}${i.maximum.toString()}`}case"too_small":{const s=i.exact?"exactly ":i.inclusive?">=":">",c=t(i.origin);return c?`Too small: expected ${i.origin} to have ${s}${i.minimum.toString()} ${c.unit}`:`Too small: expected ${i.origin} to be ${s}${i.minimum.toString()}`}case"invalid_format":{const s=i;return s.format==="starts_with"?`Invalid string: must start with "${s.prefix}"`:s.format==="ends_with"?`Invalid string: must end with "${s.suffix}"`:s.format==="includes"?`Invalid string: must include "${s.includes}"`:s.format==="regex"?`Invalid string: must match pattern ${s.pattern}`:`Invalid ${n[s.format]??i.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${zn(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":return i.options&&Array.isArray(i.options)&&i.options.length>0?`Invalid discriminator value. Expected ${i.options.map(c=>`'${c}'`).join(" | ")}`:i.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`;default:return"Invalid input"}}};function M3(){return{localeError:j3()}}var Yn;class N3{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const o={...r,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function E3(){return new N3}(Yn=globalThis).__zod_globalRegistry??(Yn.__zod_globalRegistry=E3());const he=globalThis.__zod_globalRegistry;function Ar(e){return e.checks&&(e.checks=[...e.checks]),e}function $3(e,t){return new e(Ar({type:"string",...S(t)}))}function A3(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...S(t)})}function Z3(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...S(t)})}function z3(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...S(t)})}function O3(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...S(t)})}function I3(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...S(t)})}function T3(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...S(t)})}function P3(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...S(t)})}function R3(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...S(t)})}function L3(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...S(t)})}function D3(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...S(t)})}function F3(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...S(t)})}function B3(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...S(t)})}function U3(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...S(t)})}function W3(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...S(t)})}function K3(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...S(t)})}function H3(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...S(t)})}function V3(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...S(t)})}function G3(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...S(t)})}function J3(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...S(t)})}function q3(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...S(t)})}function Y3(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...S(t)})}function X3(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...S(t)})}function Q3(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...S(t)})}function e4(e,t){return new e({type:"string",format:"date",check:"string_format",...S(t)})}function t4(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...S(t)})}function n4(e,t){return new e({type:"string",format:"duration",check:"string_format",...S(t)})}function r4(e,t){return new e(Ar({type:"number",checks:[],...S(t)}))}function o4(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...S(t)})}function i4(e,t){return new e({type:"boolean",...S(t)})}function s4(e,t){return new e({type:"undefined",...S(t)})}function a4(e,t){return new e({type:"null",...S(t)})}function c4(e){return new e({type:"unknown"})}function l4(e,t){return new e({type:"never",...S(t)})}function Xn(e,t){return new hr({check:"less_than",...S(t),value:e,inclusive:!1})}function gt(e,t){return new hr({check:"less_than",...S(t),value:e,inclusive:!0})}function Qn(e,t){return new Cr({check:"greater_than",...S(t),value:e,inclusive:!1})}function bt(e,t){return new Cr({check:"greater_than",...S(t),value:e,inclusive:!0})}function e2(e,t){return new Q5({check:"multiple_of",...S(t),value:e})}function Zr(e,t){return new ta({check:"max_length",...S(t),maximum:e})}function Ye(e,t){return new na({check:"min_length",...S(t),minimum:e})}function zr(e,t){return new ra({check:"length_equals",...S(t),length:e})}function u4(e,t){return new oa({check:"string_format",format:"regex",...S(t),pattern:e})}function d4(e){return new ia({check:"string_format",format:"lowercase",...S(e)})}function f4(e){return new sa({check:"string_format",format:"uppercase",...S(e)})}function p4(e,t){return new aa({check:"string_format",format:"includes",...S(t),includes:e})}function h4(e,t){return new ca({check:"string_format",format:"starts_with",...S(t),prefix:e})}function C4(e,t){return new la({check:"string_format",format:"ends_with",...S(t),suffix:e})}function ae(e){return new ua({check:"overwrite",tx:e})}function m4(e){return ae(t=>t.normalize(e))}function g4(){return ae(e=>e.trim())}function b4(){return ae(e=>e.toLowerCase())}function y4(){return ae(e=>e.toUpperCase())}function x4(){return ae(e=>zs(e))}function v4(e,t,n){return new e({type:"array",element:t,...S(n)})}function k4(e,t,n){const r=S(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}function w4(e,t,n){return new e({type:"custom",check:"custom",fn:t,...S(n)})}function _4(e,t){const n=S4(r=>(r.addIssue=o=>{if(typeof o=="string")r.issues.push(_e(o,r.value,n._zod.def));else{const i=o;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),"input"in i||(i.input=r.value),i.inst??(i.inst=n),i.continue??(i.continue=!n._zod.def.abort),r.issues.push(_e(i))}},e(r.value,r)),t);return n}function S4(e,t){const n=new d1({check:"custom",...S(t)});return n._zod.check=e,n}function be(e,...t){for(const n of t)for(const r of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,r)&&T1(e,r,n[r]);return e}function Or(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??he,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function I1(e,t,n,r,o){const i=typeof t.unrepresentable=="function"?t.unrepresentable({zodSchema:e,path:r.path,message:o}):t.unrepresentable;if(i==="any")return!1;if(i===void 0||i==="throw")throw new Error(o);return Object.assign(n,i),!0}function Q(e,t,n={path:[],schemaPath:[]}){var r;const o=e._zod.def,i=t.seen.get(e);if(i)return i.count++,n.schemaPath.includes(e)&&(i.cycle=n.path),i.schema;const s={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,s),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;const c=e._zod.toJSONSchema?.();if(c)s.schema=c;else{const d={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,s.schema,d);else{const h=s.schema,C=t.processors[o.type];if(!C)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);C(e,t,h,d)}const p=e._zod.parent;p&&(s.ref||(s.ref=p),Q(p,t,d),t.seen.get(p).isParent=!0)}const l=t.metadataRegistry.get(e);return l&&be(s.schema,l),t.io==="input"&&u1(e)&&(delete s.schema.examples,delete s.schema.default),t.io==="input"&&"_prefault"in s.schema&&((r=s.schema).default??(r.default=s.schema._prefault)),delete s.schema._prefault,t.seen.get(e).schema}function t2(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Ir(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;const r=new Map;for(const s of e.seen.entries()){const c=e.metadataRegistry.get(s[0])?.id;if(c){const l=r.get(c);if(l&&l!==s[0])throw new Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(c,s[0])}}const o=s=>{const c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const p=e.external.registry.get(s[0])?.id,h=e.external.uri??(g=>g);if(p)return{ref:h(p)};const C=s[1].defId??s[1].schema.id??`schema${e.counter++}`;return s[1].defId=C,{defId:C,ref:`${h("__shared")}#/${c}/${t2(C)}`}}const l="#",u=`${l}/${c}/`;if(s[1]===n&&!s[1].schema.id)return{ref:l};const d=s[1].schema.id??`__schema${e.counter++}`;return{defId:d,ref:u+t2(d)}},i=s=>{if(s[1].schema.$ref)return;const c=s[1],{ref:l,defId:u}=o(s);c.def={...c.schema},u&&(c.defId=u);const d=c.schema;for(const p in d)delete d[p];d.$ref=l};if(e.cycles==="throw")for(const s of e.seen.entries()){const c=s[1];if(c.cycle)throw new Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
56
+
57
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const s of e.seen.entries()){const c=s[1];if(t===s[0]){i(s);continue}if(e.external){const u=e.external.registry.get(s[0])?.id;if(t!==s[0]&&u){i(s);continue}}if(e.metadataRegistry.get(s[0])?.id){i(s);continue}if(c.cycle){i(s);continue}c.count>1&&e.reused==="ref"&&i(s)}e.external&&(e.sharedDefsExtractedFor=e.external)}function Tr(e){const t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;const n=[];for(const r of t){if(!r||typeof r!="object")return;Tr(r);const o=Object.keys(r);if(o.length!==1||o[0]!=="type")return;const i=r.type;for(const s of Array.isArray(i)?i:[i]){if(typeof s!="string")return;n.includes(s)||n.push(s)}}delete e.anyOf,e.type=n.length===1?n[0]:n}const Pr=new Set(["type","properties","required","additionalProperties"]),n2=["oneOf","anyOf"];function r2(e){const t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function zt(e){const t=[];for(const i of e){if(typeof i!="object"||i.type!=="object")return null;for(const s in i)if(!Pr.has(s))return null;t.push(i)}const n={},r=new Set;for(const i of t){for(const s in i.properties){if(Object.prototype.hasOwnProperty.call(n,s))continue;const c=[];for(const u of t){const d=u.properties?.[s]??r2(u);d!=null&&(c.some(p=>JSON.stringify(p)===JSON.stringify(d))||c.push(d))}const l=c.length===1?c[0]:zt(c)??{allOf:c};T1(n,s,l)}for(const s of i.required??[])r.add(s)}const o={type:"object",properties:n};if(r.size&&(o.required=[...r]),t.every(i=>i.additionalProperties===!1))o.additionalProperties=!1;else{const i=[];for(const s of t){const c=r2(s);c&&!i.some(l=>JSON.stringify(l)===JSON.stringify(c))&&i.push(c)}i.length===1?o.additionalProperties=i[0]:i.length>1&&(o.additionalProperties={allOf:i})}return o}function j4(e){const t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(const o of Pr)if(o in e)return;const n=t.filter(o=>n2.some(i=>Array.isArray(o[i])));let r=null;if(!n.length)r=zt(t);else{const o=n[0],i=n2.find(l=>Array.isArray(o[l]));if(Object.keys(o).length!==1)return;const s=t.filter(l=>l!==o),c=o[i].map(l=>zt([...s,l]));if(c.some(l=>!l))return;r={[i]:c}}r&&(delete e.allOf,be(e,r))}function Rr(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=c=>{const l=e.seen.get(c);if(l.ref===null)return;const u=l.def??l.schema,d={...u},p=l.ref;if(l.ref=null,p){r(p);const C=e.seen.get(p),g=C.schema;if(g.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(g)):be(u,g),be(u,d),c._zod.parent===p)for(const x in u)x==="$ref"||x==="allOf"||x in d||delete u[x];if(g.$ref&&C.def)for(const x in u)x==="$ref"||x==="allOf"||x in C.def&&JSON.stringify(u[x])===JSON.stringify(C.def[x])&&delete u[x]}const h=c._zod.parent;if(h&&h!==p){r(h);const C=e.seen.get(h);if(C?.schema.$ref&&(u.$ref=C.schema.$ref,C.def))for(const g in u)g==="$ref"||g==="allOf"||g in C.def&&JSON.stringify(u[g])===JSON.stringify(C.def[g])&&delete u[g]}e.override({zodSchema:c,jsonSchema:u,path:l.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(const c of[...e.seen.entries()].reverse())r(c[0]);if(e.target!=="openapi-3.0")for(const c of e.seen.entries())Tr(c[1].def??c[1].schema);for(const c of e.deferred)c();if(e.intersections.length){const c=new Map;for(const l of e.seen.values())for(const u of[l.schema,l.def]){const d=u?.allOf;if(!Array.isArray(d))continue;const p=c.get(d);p?p.push(u):c.set(d,[u])}for(const l of e.intersections)for(const u of c.get(l)??[])j4(u)}}const o={};if(e.target==="draft-2020-12"?o.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?o.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?o.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const c=e.external.registry.get(t)?.id;if(!c)throw new Error("Schema is missing an `id` property");o.$id=e.external.uri(c)}be(o,n.defId?n.schema:n.def??n.schema);const i=e.metadataRegistry.get(t)?.id;i!==void 0&&o.id===i&&delete o.id;const s=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(const c of e.seen.entries()){const l=c[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,T1(s,l.defId,l.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(s).length>0&&(e.target==="draft-2020-12"?o.$defs=s:o.definitions=s);try{const c=JSON.parse(JSON.stringify(o));return Object.defineProperty(c,"~standard",{value:{...t["~standard"],jsonSchema:{input:Xe(t,"input",e.processors),output:Xe(t,"output",e.processors)}},enumerable:!1,writable:!1}),c}catch{throw new Error("Error converting schema to JSON.")}}function u1(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const r=e._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return u1(r.element,n);if(r.type==="set")return u1(r.valueType,n);if(r.type==="lazy")return u1(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault"||r.type==="catch")return u1(r.innerType,n);if(r.type==="intersection")return u1(r.left,n)||u1(r.right,n);if(r.type==="record"||r.type==="map")return u1(r.keyType,n)||u1(r.valueType,n);if(r.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:u1(r.in,n)||u1(r.out,n);if(r.type==="object"){for(const o in r.shape)if(u1(r.shape[o],n))return!0;return!1}if(r.type==="union"){for(const o of r.options)if(u1(o,n))return!0;return!1}if(r.type==="tuple"){for(const o of r.items)if(u1(o,n))return!0;return!!(r.rest&&u1(r.rest,n))}return!1}const M4=(e,t={})=>n=>{const r=Or({...n,processors:t});return Q(e,r),Ir(r,e),Rr(r,e)},Xe=(e,t,n={})=>r=>{const{libraryOptions:o,target:i}=r??{},s=Or({...o??{},target:i,io:t,processors:n});return Q(e,s),Ir(s,e),Rr(s,e)},re=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},oe=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},o2=(e,t)=>{re(e,"minimum",t),oe(e,"maximum",t)},Lr=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},Dr=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},Fr=(e,t)=>{e.mime=e.mime?e.mime.filter(n=>t.includes(n)):[...t]},Br=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},i2=(e,t)=>re(e,"minimum",t.minimum),s2=(e,t)=>oe(e,"maximum",t.maximum),a2=e=>(t,n)=>{Br(t,n.format);const[r,o]=e[n.format];re(t,"minimum",r),oe(t,"maximum",o)},N4={greater_than:(e,t)=>re(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>oe(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>Lr(e,t.value),number_format:a2(ar),bigint_format:a2(Ps),min_length:i2,max_length:s2,length_equals:(e,t)=>o2(e,t.length),min_size:i2,max_size:s2,size_equals:(e,t)=>o2(e,t.size),string_format:(e,t)=>{Br(e,t.format),t.pattern&&Dr(e,t.pattern),(t.format==="base64"||t.format==="base64url")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>Fr(e,t.mime)};function y1(e){const t={},n=e._zod.def,r=e._zod.traits.has("$ZodCheck")?[e,...n.checks??[]]:n.checks??[];for(const i of r)N4[i._zod.def.check]?.(t,i._zod.def);const o=e._zod.bag;o.minimum!==void 0&&re(t,"minimum",o.minimum),o.exclusiveMinimum!==void 0&&re(t,"exclusiveMinimum",o.exclusiveMinimum),o.maximum!==void 0&&oe(t,"maximum",o.maximum),o.exclusiveMaximum!==void 0&&oe(t,"exclusiveMaximum",o.exclusiveMaximum),o.multipleOf!==void 0&&Lr(t,o.multipleOf),o.format!==void 0&&(t.format??(t.format=o.format),o.format.includes("int")&&(t.isInt=!0)),o.mime&&Fr(t,o.mime);for(const i of o.patterns??[])Dr(t,i);return t}const E4={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},$4=new Map([[kr,R5],[hn,L5]]),Ur=e=>$4.get(e)??e,A4=(e,t,n,r)=>{const o=n;o.type="string";const{minimum:i,maximum:s,format:c,patterns:l,contentEncoding:u,laxFormat:d}=y1(e);if(typeof i=="number"&&(o.minLength=i),typeof s=="number"&&(o.maxLength=s),c&&(o.format=E4[c]??c,o.format===""&&delete o.format,(c==="time"||d)&&delete o.format),u&&(o.contentEncoding=u),l&&l.size>0){const p=[...l].map(Ur);p.length===1?o.pattern=p[0].source:p.length>1&&(o.allOf=[...p.map(h=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:h.source}))])}},Z4=(e,t,n,r)=>{const o=n,{minimum:i,maximum:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u,isInt:d}=y1(e);o.type=d?"integer":"number";const p=typeof u=="number"&&u>=(i??Number.NEGATIVE_INFINITY),h=typeof l=="number"&&l<=(s??Number.POSITIVE_INFINITY),C=t.target==="draft-04"||t.target==="openapi-3.0";if(p?C?(o.minimum=u,o.exclusiveMinimum=!0):o.exclusiveMinimum=u:typeof i=="number"&&(o.minimum=i),h?C?(o.maximum=l,o.exclusiveMaximum=!0):o.exclusiveMaximum=l:typeof s=="number"&&(o.maximum=s),c){const g=new Set;for(const k of c)Number.isFinite(k)&&k!==0?g.add(Math.abs(k)):I1(e,t,o,r,`A multipleOf divisor of ${k} cannot be represented in JSON Schema`);const[y,...x]=g;y!==void 0&&(o.multipleOf=y),x.length&&(o.allOf=[...o.allOf??[],...x.map(k=>({multipleOf:k}))])}},z4=(e,t,n,r)=>{n.type="boolean"},O4=(e,t,n,r)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},I4=(e,t,n,r)=>{I1(e,t,n,r,"Undefined cannot be represented in JSON Schema")},T4=(e,t,n,r)=>{n.not={}},P4=(e,t,n,r)=>{},R4=(e,t,n,r)=>{const o=e._zod.def,i=Mt(o.entries);if(i.length===0){n.not={};return}i.every(s=>typeof s=="number")&&(n.type="number"),i.every(s=>typeof s=="string")&&(n.type="string"),n.enum=i},L4=(e,t,n,r)=>{const o=e._zod.def;if(o.values.length===0){n.not={};return}const i=[];for(const s of o.values)if(s===void 0){if(I1(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof s=="bigint"){if(I1(e,t,n,r,"BigInt literals cannot be represented in JSON Schema"))return;i.push(Number(s))}else i.push(s);if(i.length!==0)if(i.length===1){const s=i[0];n.type=s===null?"null":typeof s,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[s]:n.const=s}else i.every(s=>typeof s=="number")&&(n.type="number"),i.every(s=>typeof s=="string")&&(n.type="string"),i.every(s=>typeof s=="boolean")&&(n.type="boolean"),i.every(s=>s===null)&&(n.type="null"),n.enum=i},D4=(e,t,n,r)=>{I1(e,t,n,r,"Custom types cannot be represented in JSON Schema")},F4=(e,t,n,r)=>{I1(e,t,n,r,"Transforms cannot be represented in JSON Schema")},B4=(e,t,n,r)=>{const o=n,i=e._zod.def,{minimum:s,maximum:c}=y1(e);typeof s=="number"&&(o.minItems=s),typeof c=="number"&&(o.maxItems=c),o.type="array",o.items=Q(i.element,t,{...r,path:[...r.path,"items"]})};function Qe(e){const t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?Qe(t.out):t.type==="catch"?Qe(t.innerType):e._zod.optin}const U4=(e,t,n,r)=>{const o=n,i=e._zod.def,s=i.shape;if(Object.getOwnPropertySymbols(s).length&&I1(e,t,o,r,"Symbol keys cannot be represented in JSON Schema"))return;o.type="object",o.properties={};for(const u in s)T1(o.properties,u,Q(s[u],t,{...r,path:[...r.path,"properties",u]}));const l=[];for(const u of Object.keys(s)){const d=i.shape[u];(t.io==="input"?Qe(d)===void 0:d._zod.optout===void 0)&&l.push(u)}l.length>0&&(o.required=l),i.catchall?._zod.def.type==="never"?o.additionalProperties=!1:i.catchall?i.catchall&&(o.additionalProperties=Q(i.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):t.io==="output"&&(o.additionalProperties=!1)},W4=(e,t,n,r)=>{const o=e._zod.def,i=o.inclusive===!1,s=o.options.map((c,l)=>Q(c,t,{...r,path:[...r.path,i?"oneOf":"anyOf",l]}));i?n.oneOf=s:n.anyOf=s},K4=(e,t,n,r)=>{const o=e._zod.def,i=Q(o.left,t,{...r,path:[...r.path,"allOf",0]}),s=Q(o.right,t,{...r,path:[...r.path,"allOf",1]}),c=u=>"allOf"in u&&Object.keys(u).length===1,l=[...c(i)?i.allOf:[i],...c(s)?s.allOf:[s]];n.allOf=l,t.intersections.push(l)};function Ot(e,t,n){if(t.$ref){if(n.has(t))return t;n.add(t);const g=e.get(t)?.def;if(!g)return t;const y=Ot(e,g,n);return y===g?t:y}for(const g of["anyOf","oneOf"]){const y=t[g];if(!Array.isArray(y))continue;const x=y.map(k=>Ot(e,k,n));x.some((k,_)=>k!==y[_])&&(t={...t,[g]:x})}const r=Array.isArray(t.type)?t.type:[t.type],o=!r.includes("string")&&r.some(g=>g==="number"||g==="integer"),i=t.enum??(t.const!==void 0?[t.const]:void 0);if(!o&&!i?.some(g=>typeof g=="number"))return t;const{minimum:s,maximum:c,exclusiveMinimum:l,exclusiveMaximum:u,multipleOf:d,format:p,id:h,...C}=t;return C.enum?C.enum=C.enum.map(g=>typeof g=="number"?String(g):g):typeof C.const=="number"&&(C.const=String(C.const)),o&&(C.type="string",i||(C.pattern=(r.includes("number")?dn:V5).source)),C}const It=new WeakMap;function H4(e){const t=new Map;for(const r of e.seen.values())r.def&&!t.has(r.schema)&&t.set(r.schema,r);const n=new Map;for(const r of It.get(e)??[]){const o=e.seen.get(r),i=(o?.def??o?.schema)?.propertyNames;if(!i||i===!0||n.has(i))continue;const s=Ot(t,i,new Set);s!==i&&n.set(i,s)}if(n.size)for(const r of e.seen.values())for(const o of[r.schema,r.def]){const i=o&&n.get(o.propertyNames);i&&(o.propertyNames=i)}}const V4=(e,t,n,r)=>{const o=n,i=e._zod.def;o.type="object";const s=i.keyType,c=y1(s).patterns;if(i.mode==="loose"&&c&&c.size>0){const d=Q(i.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});o.patternProperties={};for(const p of c)T1(o.patternProperties,Ur(p).source,d)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){o.propertyNames=Q(i.keyType,t,{...r,path:[...r.path,"propertyNames"]});let d=It.get(t);d||(d=[],It.set(t,d),t.deferred.push(()=>H4(t))),d.push(e)}o.additionalProperties=Q(i.valueType,t,{...r,path:[...r.path,"additionalProperties"]})}const l=s._zod.values,u=t.io==="input"&&Qe(i.valueType)!==void 0;if(l&&!i.partial&&!u){const d=[...l].filter(p=>typeof p=="string"||typeof p=="number");d.length>0&&(o.required=d.map(String))}},G4=(e,t,n,r)=>{const o=e._zod.def,i=Q(o.innerType,t,r),s=t.seen.get(e);t.target==="openapi-3.0"?(s.ref=o.innerType,n.nullable=!0):n.anyOf=[i,{type:"null"}]},J4=(e,t,n,r)=>{const o=e._zod.def;Q(o.innerType,t,r);const i=t.seen.get(e);i.ref=o.innerType},Cn=Symbol();function Wr(e,t,n,r,o){let i=!1;const s=JSON.stringify(e,(c,l)=>typeof l!="bigint"?l:(i=!0,null));return i?(I1(t,n,r,o,"BigInt defaults cannot be represented in JSON Schema"),Cn):JSON.parse(s)}const q4=(e,t,n,r)=>{const o=e._zod.def;Q(o.innerType,t,r);const i=t.seen.get(e);i.ref=o.innerType;const s=Wr(o.defaultValue,e,t,n,r);s!==Cn&&(n.default=s)},Y4=(e,t,n,r)=>{const o=e._zod.def;Q(o.innerType,t,r);const i=t.seen.get(e);if(i.ref=o.innerType,t.io!=="input")return;const s=Wr(o.defaultValue,e,t,n,r);s!==Cn&&(n._prefault=s)},X4=(e,t,n,r)=>{const o=e._zod.def;Q(o.innerType,t,r);const i=t.seen.get(e);i.ref=o.innerType;let s;try{s=o.catchValue(void 0)}catch{I1(e,t,n,r,"Dynamic catch values are not supported in JSON Schema");return}n.default=s},Q4=(e,t,n,r)=>{const o=e._zod.def,i=o.in._zod.traits.has("$ZodTransform"),s=t.io==="input"?i?o.out:o.in:o.out;Q(s,t,r);const c=t.seen.get(e);c.ref=s},e0=(e,t,n,r)=>{const o=e._zod.def;Q(o.innerType,t,r);const i=t.seen.get(e);i.ref=o.innerType,n.readOnly=!0},Kr=(e,t,n,r)=>{const o=e._zod.def;Q(o.innerType,t,r);const i=t.seen.get(e);i.ref=o.innerType},c2=new WeakSet([Object.prototype,Error.prototype]);function Le(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){const r=n(this);return Object.defineProperty(this,t,{value:r,configurable:!0,writable:!0}),r},set(r){Object.defineProperty(this,t,{value:r,configurable:!0,writable:!0})}})}const t0=(e,t)=>{i5.init(e,t),e.name="ZodError";const n=Object.getPrototypeOf(e);c2.has(n)||(c2.add(n),Le(n,"format",r=>o=>c5(r,o)),Le(n,"flatten",r=>o=>a5(r,o)),Le(n,"addIssue",r=>o=>{r.issues.push(o),r.message=JSON.stringify(r.issues,Nt,2)}),Le(n,"addIssues",r=>o=>{r.issues.push(...o),r.message=JSON.stringify(r.issues,Nt,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},m1=b("ZodError",t0,void 0,{Parent:Error}),n0=an(m1),r0=cn(m1),o0=ln(m1),i0=un(m1),s0=h5(m1),a0=C5(m1),c0=m5(m1),l0=g5(m1),u0=b5(m1),d0=y5(m1),f0=x5(m1),p0=v5(m1);function h0(){v1.localeError||_1(M3())}function dt(){v1.memoizer||_1({memoizer:_3()})}const H=b("ZodType",(e,t)=>(h0(),K.init(e,t),e.def=t,e.type=t.type,e),{check(...e){const t=this.def;return this.clone(p1(t,{checks:[...t.checks??[],...e.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return U1(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(u6(e,t))},superRefine(e,t){return this.check(d6(e,t))},overwrite(e){return this.check(ae(e))},optional(){return u2(this)},exactOptional(){return X0(this)},nullable(){return d2(this)},nullish(){return u2(d2(this))},nonoptional(e){return o6(this,e)},array(){return K0(this)},or(e){return H0([this,e])},and(e){return J0(this,e)},transform(e){return f2(this,Yr(e))},default(e){return t6(this,e)},prefault(e){return r6(this,e)},catch(e){return s6(this,e)},pipe(e){return f2(this,e)},readonly(){return l6(this)},describe(e){const t=this.clone();return he.add(t,{description:e}),t},meta(...e){if(e.length===0)return he.get(this);const t=this.clone();return he.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return lr(this,"~standard",{...gr(this),jsonSchema:{input:Xe(this,"input"),output:Xe(this,"output")}})},set"~standard"(e){B1(this,"~standard",e)},parse:function e(t,n){return n0(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await r0(this,t,n,{callee:e})},safeParse(e,t){return o0(this,e,t)},async safeParseAsync(e,t){return i0(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){B1(this,"spa",e)},validate(e,t){return d5(this,e,t)},validateAsync(e,t){return p5(this,e,t)},encode:function e(t,n){return s0(this,t,n,{callee:e})},decode:function e(t,n){return a0(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await c0(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await l0(this,t,n,{callee:e})},safeEncode(e,t){return u0(this,e,t)},safeDecode(e,t){return d0(this,e,t)},async safeEncodeAsync(e,t){return f0(this,e,t)},async safeDecodeAsync(e,t){return p0(this,e,t)},toJSONSchema(e){return M4(this,{})(e)},get description(){return he.get(this)?.description},get _def(){return this._zod.def}}),Hr=b("_ZodString",(e,t)=>{pn.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>A4(e,n,r)},ur({format:e=>y1(e).format??null,minLength:e=>y1(e).minimum??null,maxLength:e=>y1(e).maximum??null},{regex(...e){return this.check(u4(...e))},includes(...e){return this.check(p4(...e))},startsWith(...e){return this.check(h4(...e))},endsWith(...e){return this.check(C4(...e))},min(...e){return this.check(Ye(...e))},max(...e){return this.check(Zr(...e))},length(...e){return this.check(zr(...e))},nonempty(...e){return this.check(Ye(1,...e))},lowercase(e){return this.check(d4(e))},uppercase(e){return this.check(f4(e))},trim(){return this.check(g4())},normalize(...e){return this.check(m4(...e))},toLowerCase(){return this.check(b4())},toUpperCase(){return this.check(y4())},slugify(){return this.check(x4())}})),C0=b("ZodString",(e,t)=>{pn.init(e,t),Hr.init(e,t)},{email(e){return this.check(A3(x0,e))},url(e){return this.check(P3(k0,e))},jwt(e){return this.check(X3(P0,e))},emoji(e){return this.check(R3(w0,e))},guid(e){return this.check(Z3(v0,e))},uuid(e){return this.check(z3(De,e))},uuidv4(e){return this.check(O3(De,e))},uuidv6(e){return this.check(I3(De,e))},uuidv7(e){return this.check(T3(De,e))},nanoid(e){return this.check(L3(_0,e))},cuid(e){return this.check(D3(S0,e))},cuid2(e){return this.check(F3(j0,e))},ulid(e){return this.check(B3(M0,e))},base64(e){return this.check(J3(O0,e))},base64url(e){return this.check(q3(I0,e))},xid(e){return this.check(U3(N0,e))},ksuid(e){return this.check(W3(E0,e))},ipv4(e){return this.check(K3($0,e))},ipv6(e){return this.check(H3(A0,e))},cidrv4(e){return this.check(V3(Z0,e))},cidrv6(e){return this.check(G3(z0,e))},e164(e){return this.check(Y3(T0,e))},datetime(e){return this.check(Q3(m0,e))},date(e){return this.check(e4(g0,e))},time(e){return this.check(t4(b0,e))},duration(e){return this.check(n4(y0,e))}});function Vr(e){return $3(C0,e)}const J=b("ZodStringFormat",(e,t)=>{G.init(e,t),Hr.init(e,t)}),m0=b("ZodISODateTime",(e,t)=>{$a.init(e,t),J.init(e,t)}),g0=b("ZodISODate",(e,t)=>{Aa.init(e,t),J.init(e,t)}),b0=b("ZodISOTime",(e,t)=>{Za.init(e,t),J.init(e,t)}),y0=b("ZodISODuration",(e,t)=>{za.init(e,t),J.init(e,t)}),x0=b("ZodEmail",(e,t)=>{ma.init(e,t),J.init(e,t)}),v0=b("ZodGUID",(e,t)=>{ha.init(e,t),J.init(e,t)}),De=b("ZodUUID",(e,t)=>{Ca.init(e,t),J.init(e,t)}),k0=b("ZodURL",(e,t)=>{ka.init(e,t),J.init(e,t)}),w0=b("ZodEmoji",(e,t)=>{wa.init(e,t),J.init(e,t)}),_0=b("ZodNanoID",(e,t)=>{_a.init(e,t),J.init(e,t)}),S0=b("ZodCUID",(e,t)=>{Sa.init(e,t),J.init(e,t)}),j0=b("ZodCUID2",(e,t)=>{ja.init(e,t),J.init(e,t)}),M0=b("ZodULID",(e,t)=>{Ma.init(e,t),J.init(e,t)}),N0=b("ZodXID",(e,t)=>{Na.init(e,t),J.init(e,t)}),E0=b("ZodKSUID",(e,t)=>{Ea.init(e,t),J.init(e,t)}),$0=b("ZodIPv4",(e,t)=>{Oa.init(e,t),J.init(e,t)}),A0=b("ZodIPv6",(e,t)=>{Ta.init(e,t),J.init(e,t)}),Z0=b("ZodCIDRv4",(e,t)=>{Pa.init(e,t),J.init(e,t)}),z0=b("ZodCIDRv6",(e,t)=>{La.init(e,t),J.init(e,t)}),O0=b("ZodBase64",(e,t)=>{Da.init(e,t),J.init(e,t)}),I0=b("ZodBase64URL",(e,t)=>{Ba.init(e,t),J.init(e,t)}),T0=b("ZodE164",(e,t)=>{Ua.init(e,t),J.init(e,t)}),P0=b("ZodJWT",(e,t)=>{Ka.init(e,t),J.init(e,t)}),Gr=b("ZodNumber",(e,t)=>{wr.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Z4(e,n,r,o),e.isFinite=!0},ur({minValue:e=>{const{minimum:t,exclusiveMinimum:n}=y1(e);return Math.max(t??Number.NEGATIVE_INFINITY,n??Number.NEGATIVE_INFINITY)},maxValue:e=>{const{maximum:t,exclusiveMaximum:n}=y1(e);return Math.min(t??Number.POSITIVE_INFINITY,n??Number.POSITIVE_INFINITY)},isInt:e=>{const{isInt:t,multipleOf:n}=y1(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>y1(e).format??null},{gt(e,t){return this.check(Qn(e,t))},gte(e,t){return this.check(bt(e,t))},min(e,t){return this.check(bt(e,t))},lt(e,t){return this.check(Xn(e,t))},lte(e,t){return this.check(gt(e,t))},max(e,t){return this.check(gt(e,t))},int(e){return this.check(l2(e))},safe(e){return this.check(l2(e))},positive(e){return this.check(Qn(0,e))},nonnegative(e){return this.check(bt(0,e))},negative(e){return this.check(Xn(0,e))},nonpositive(e){return this.check(gt(0,e))},multipleOf(e,t){return this.check(e2(e,t))},step(e,t){return this.check(e2(e,t))},finite(){return this}}));function _7(e){return r4(Gr,e)}const R0=b("ZodNumberFormat",(e,t)=>{Ha.init(e,t),Gr.init(e,t)});function l2(e){return o4(R0,e)}const L0=b("ZodBoolean",(e,t)=>{Va.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>z4(e,n,r)});function S7(e){return i4(L0,e)}const D0=b("ZodUndefined",(e,t)=>{Ga.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>I4(e,n,r,o)});function j7(e){return s4(D0,e)}const F0=b("ZodNull",(e,t)=>{Ja.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>O4(e,n,r)});function M7(e){return a4(F0,e)}const B0=b("ZodUnknown",(e,t)=>{qa.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>P4()});function Tt(){return c4(B0)}const U0=b("ZodNever",(e,t)=>{Ya.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>T4(e,n,r)});function Jr(e){return l4(U0,e)}const W0=b("ZodArray",(e,t)=>{dt(),e3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>B4(e,n,r,o),e.element=t.element},{min(e,t){return this.check(Ye(e,t))},nonempty(e){return this.check(Ye(1,e))},max(e,t){return this.check(Zr(e,t))},length(e,t){return this.check(zr(e,t))},unwrap(){return this.element}});function K0(e,t){return v4(W0,e,t)}const mn=b("ZodObject",(e,t)=>{dt(),r3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>U4(e,n,r,o),Ys(e,"shape",n=>n._zod.def.shape,!1)},{keyof(){return $e(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(p1(this._zod.def,{catchall:e}))},passthrough(){return this.clone(p1(this._zod.def,{catchall:Tt()}))},loose(){return this.clone(p1(this._zod.def,{catchall:Tt()}))},strict(){return this.clone(p1(this._zod.def,{catchall:Jr()}))},strip(){return this.clone(p1(this._zod.def,{catchall:void 0}))},extend(e){return Ds(this,e)},safeExtend(e){return Fs(this,e)},merge(e){return Bs(this,e)},pick(e){return Rs(this,e)},omit(e){return Ls(this,e)},partial(...e){return On(Xr,this,e[0])},exactPartial(...e){return On(Qr,this,e[0],"exactPartial")},required(...e){return Us(eo,this,e[0])}});function N7(e,t){const n={type:"object",shape:e??{},...S(t)};return new mn(n)}function E7(e,t){return new mn({type:"object",shape:e,catchall:Jr(),...S(t)})}function $7(e,t){return new mn({type:"object",shape:e,catchall:Tt(),...S(t)})}const qr=b("ZodUnion",(e,t)=>{jr.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>W4(e,n,r,o),e.options=t.options});function H0(e,t){return new qr({type:"union",options:e,...S(t)})}const V0=b("ZodDiscriminatedUnion",(e,t)=>{qr.init(e,t),i3.init(e,t)});function A7(e,t,n){return new V0({type:"union",options:t,discriminator:e,...S(n)})}const G0=b("ZodIntersection",(e,t)=>{s3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>K4(e,n,r,o)});function J0(e,t){return new G0({type:"intersection",left:e,right:t})}const Pt=b("ZodRecord",(e,t)=>{dt(),a3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>V4(e,n,r,o),e.keyType=t.keyType,e.valueType=t.valueType});function Z7(e,t,n){return!t||!t._zod?new Pt({type:"record",keyType:Vr(),valueType:e,...S(t)}):new Pt({type:"record",keyType:e,valueType:t,...S(n)})}function z7(e,t,n){return new Pt({type:"record",keyType:e,valueType:t,...S(n),partial:!0})}const Rt=b("ZodEnum",(e,t)=>{c3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(r,o,i)=>R4(e,r,o),e.enum=t.entries,e.options=[...e._zod.values];const n=new Set(Object.keys(t.entries));e.extract=(r,o)=>{const i={};for(const s of r)if(n.has(s))i[s]=t.entries[s];else throw new Error(`Key ${s} not found in enum`);return new Rt({...t,checks:[],...S(o),entries:i})},e.exclude=(r,o)=>{const i={...t.entries};for(const s of r)if(n.has(s))delete i[s];else throw new Error(`Key ${s} not found in enum`);return new Rt({...t,checks:[],...S(o),entries:i})}});function $e(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new Rt({type:"enum",entries:n,...S(t)})}const q0=b("ZodLiteral",(e,t)=>{l3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>L4(e,n,r,o),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function O7(e,t){return new q0({type:"literal",values:Array.isArray(e)?e:[e],...S(t)})}const Y0=b("ZodTransform",(e,t)=>{dt(),u3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>F4(e,n,r,o),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new dr(e.constructor.name);n.addIssue=i=>{if(typeof i=="string")n.issues.push(_e(i,n.value,t));else{const s=i;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),"input"in s||(s.input=n.value),s.inst??(s.inst=e),n.issues.push(_e(s))}};const o=t.transform(n.value,n);return o instanceof Promise?o.then(i=>(n.value=i,n)):(n.value=o,n)}});function Yr(e){return new Y0({type:"transform",transform:e})}const Xr=b("ZodOptional",(e,t)=>{Mr.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Kr(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function u2(e){return new Xr({type:"optional",innerType:e})}const Qr=b("ZodExactOptional",(e,t)=>{d3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Kr(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function X0(e){return new Qr({type:"optional",innerType:e})}const Q0=b("ZodNullable",(e,t)=>{f3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>G4(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function d2(e){return new Q0({type:"nullable",innerType:e})}const e6=b("ZodDefault",(e,t)=>{p3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>q4(e,n,r,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function t6(e,t){return new e6({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():ir(t)}})}const n6=b("ZodPrefault",(e,t)=>{h3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Y4(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function r6(e,t){return new n6({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():ir(t)}})}const eo=b("ZodNonOptional",(e,t)=>{C3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>J4(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function o6(e,t){return new eo({type:"nonoptional",innerType:e,...S(t)})}const i6=b("ZodCatch",(e,t)=>{m3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>X4(e,n,r,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function s6(e,t){return new i6({type:"catch",innerType:e,catchValue:typeof t=="function"?t:Qs(t)})}const to=b("ZodPipe",(e,t)=>{Nr.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Q4(e,n,r,o),e.in=t.in,e.out=t.out});function f2(e,t){return new to({type:"pipe",in:e,out:t})}const a6=b("ZodPreprocess",(e,t)=>{to.init(e,t),g3.init(e,t)}),c6=b("ZodReadonly",(e,t)=>{b3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>e0(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function l6(e){return new c6({type:"readonly",innerType:e})}const no=b("ZodCustom",(e,t)=>{y3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>D4(e,n,r,o)});function I7(e,t){return k4(no,e??(()=>!0),t)}function u6(e,t={}){return w4(no,e,t)}function d6(e,t){return _4(e,t)}function T7(e,t){return new a6({type:"pipe",in:Yr(e),out:t})}const ro=["cursor","blob","circle","squircle","capsule","drop","shield","hexagon","diamond","star"],f6=$e(ro),p6="cursor",gn={cursor:{id:"cursor",name:"Limi",fit:"translate(-12.6967 -14.6012) scale(1.269672)",body:'<path fill="{{GRADIENT}}" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/>',clip:'<path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/>',anchor:{x:154.51,y:99.16,scale:.83}},blob:{id:"blob",name:"Blob",fit:"translate(-0.7217 2.9555) scale(1.134706)",body:'<path fill="{{GRADIENT}}" d="M198.91052 113.12915C198.30169 121.88191 196.37668 130.37605 193.1355 138.61157C189.89431 146.84709 185.49332 154.4026 179.93252 161.27809C174.37172 168.15358 167.99976 174.1053 160.81663 179.13325C153.6335 184.1612 145.98678 188.22176 137.87645 191.31491C129.76613 194.40806 121.42581 196.55178 112.85548 197.74609C104.28516 198.94039 95.66469 199.12755 86.99407 198.30758C78.32344 197.4876 69.86713 195.54477 61.62513 192.47909C53.38313 189.41341 45.74309 185.20915 38.70501 179.86633C31.66693 174.52351 25.60941 168.25632 20.53243 161.06476C15.45546 153.87319 11.54067 146.15559 8.78808 137.91195C6.03549 129.66831 4.37316 121.28874 3.80109 112.77325C3.22902 104.25775 3.5616 95.83136 4.79882 87.49409C6.03604 79.15682 8.08364 70.99969 10.94163 63.0227C13.79962 55.04571 17.53174 47.38891 22.13799 40.0523C26.74425 32.71568 32.30193 26.0276 38.81103 19.98806C45.32014 13.94852 52.65266 9.00619 60.80862 5.16109C68.96458 1.31599 77.53546 -1.10241 86.52128 -2.09412C95.50709 -3.08583 104.37427 -2.64309 113.12282 -0.76589C121.87137 1.11131 130.09712 4.12751 137.80007 8.28271C145.50302 12.43791 152.53652 17.35515 158.90058 23.03443C165.26463 28.7137 170.969 34.91856 176.01368 41.649C181.05836 48.37944 185.3953 55.56843 189.02451 63.21597C192.65372 70.86352 195.3609 78.90607 197.14605 87.34364C198.93119 95.78121 199.51935 104.37638 198.91052 113.12915Z"/>',clip:'<path d="M198.91052 113.12915C198.30169 121.88191 196.37668 130.37605 193.1355 138.61157C189.89431 146.84709 185.49332 154.4026 179.93252 161.27809C174.37172 168.15358 167.99976 174.1053 160.81663 179.13325C153.6335 184.1612 145.98678 188.22176 137.87645 191.31491C129.76613 194.40806 121.42581 196.55178 112.85548 197.74609C104.28516 198.94039 95.66469 199.12755 86.99407 198.30758C78.32344 197.4876 69.86713 195.54477 61.62513 192.47909C53.38313 189.41341 45.74309 185.20915 38.70501 179.86633C31.66693 174.52351 25.60941 168.25632 20.53243 161.06476C15.45546 153.87319 11.54067 146.15559 8.78808 137.91195C6.03549 129.66831 4.37316 121.28874 3.80109 112.77325C3.22902 104.25775 3.5616 95.83136 4.79882 87.49409C6.03604 79.15682 8.08364 70.99969 10.94163 63.0227C13.79962 55.04571 17.53174 47.38891 22.13799 40.0523C26.74425 32.71568 32.30193 26.0276 38.81103 19.98806C45.32014 13.94852 52.65266 9.00619 60.80862 5.16109C68.96458 1.31599 77.53546 -1.10241 86.52128 -2.09412C95.50709 -3.08583 104.37427 -2.64309 113.12282 -0.76589C121.87137 1.11131 130.09712 4.12751 137.80007 8.28271C145.50302 12.43791 152.53652 17.35515 158.90058 23.03443C165.26463 28.7137 170.969 34.91856 176.01368 41.649C181.05836 48.37944 185.3953 55.56843 189.02451 63.21597C192.65372 70.86352 195.3609 78.90607 197.14605 87.34364C198.93119 95.78121 199.51935 104.37638 198.91052 113.12915Z"/>',anchor:{x:111.22,y:116.58,scale:.83}},circle:{id:"circle",name:"Circle",fit:"translate(0 0) scale(1.142705)",body:'<path fill="{{GRADIENT}}" d="M200 100C200 155.22847 155.22847 200 100 200C44.77153 200 0 155.22847 0 100C0 44.77153 44.77153 0 100 0C155.22847 0 200 44.77153 200 100Z"/>',clip:'<path d="M200 100C200 155.22847 155.22847 200 100 200C44.77153 200 0 155.22847 0 100C0 44.77153 44.77153 0 100 0C155.22847 0 200 44.77153 200 100Z"/>',anchor:{x:113.82,y:112.05,scale:.83}},squircle:{id:"squircle",name:"Squircle",fit:"translate(0 0) scale(1.142705)",body:'<path fill="{{GRADIENT}}" d="M50 0C83.33333 0 116.66667 0 150 0C177.61424 0 200 22.38576 200 50C200 83.33333 200 116.66667 200 150C200 177.61424 177.61424 200 150 200C116.66667 200 83.33333 200 50 200C22.38576 200 0 177.61424 0 150C0 116.66667 0 83.33333 0 50C0 22.38576 22.38576 0 50 0Z"/>',clip:'<path d="M50 0C83.33333 0 116.66667 0 150 0C177.61424 0 200 22.38576 200 50C200 83.33333 200 116.66667 200 150C200 177.61424 177.61424 200 150 200C116.66667 200 83.33333 200 50 200C22.38576 200 0 177.61424 0 150C0 116.66667 0 83.33333 0 50C0 22.38576 22.38576 0 50 0Z"/>',anchor:{x:111.78,y:111.79,scale:.83}},capsule:{id:"capsule",name:"Capsule",fit:"translate(0 0) scale(1.142705)",body:'<path fill="{{GRADIENT}}" d="M100 0C141.42136 0 175 33.57864 175 75C175 91.66667 175 108.33333 175 125C175 166.42136 141.42136 200 100 200C58.57864 200 25 166.42136 25 125C25 108.33333 25 91.66667 25 75C25 33.57864 58.57864 0 100 0Z"/>',clip:'<path d="M100 0C141.42136 0 175 33.57864 175 75C175 91.66667 175 108.33333 175 125C175 166.42136 141.42136 200 100 200C58.57864 200 25 166.42136 25 125C25 108.33333 25 91.66667 25 75C25 33.57864 58.57864 0 100 0Z"/>',anchor:{x:113.82,y:131.68,scale:.83}},drop:{id:"drop",name:"Drop",fit:"translate(-3.5341 -3.5341) scale(1.178046)",body:'<path fill="{{GRADIENT}}" d="M100 3C160.84 78.2235 178 103.298 178 119C178 162.07821 143.07821 197 100 197C56.92179 197 22 162.07821 22 119C22 103.298 39.16 78.2235 100 3Z"/>',clip:'<path d="M100 3C160.84 78.2235 178 103.298 178 119C178 162.07821 143.07821 197 100 197C56.92179 197 22 162.07821 22 119C22 103.298 39.16 78.2235 100 3Z"/>',anchor:{x:112.47,y:138.8,scale:.83}},shield:{id:"shield",name:"Shield",fit:"translate(-12.1611 -24.3222) scale(1.264316)",body:'<path fill="{{GRADIENT}}" d="M57.25 38.475C85.75 12.825 114.25 12.825 142.75 38.475C153.89667 76.64167 165.04333 114.80833 176.19 152.975C188.73 184.325 179.325 200 147.975 200C115.99167 200 84.00833 200 52.025 200C20.675 200 11.27 184.325 23.81 152.975C34.95667 114.80833 46.10333 76.64167 57.25 38.475Z"/>',clip:'<path d="M57.25 38.475C85.75 12.825 114.25 12.825 142.75 38.475C153.89667 76.64167 165.04333 114.80833 176.19 152.975C188.73 184.325 179.325 200 147.975 200C115.99167 200 84.00833 200 52.025 200C20.675 200 11.27 184.325 23.81 152.975C34.95667 114.80833 46.10333 76.64167 57.25 38.475Z"/>',anchor:{x:113.82,y:167.74,scale:.83}},hexagon:{id:"hexagon",name:"Hexagon",fit:"translate(-4.1077 -4.1077) scale(1.183782)",body:'<path fill="{{GRADIENT}}" d="M94.90777 4.94C98.30259 2.98 101.69741 2.98 105.09223 4.94C129.98757 19.31333 154.88292 33.68667 179.77826 48.06C183.17308 50.02 184.87049 52.96 184.87049 56.88C184.87049 85.62667 184.87049 114.37333 184.87049 143.12C184.87049 147.04 183.17308 149.98 179.77826 151.94C154.88292 166.31333 129.98757 180.68667 105.09223 195.06C101.69741 197.02 98.30259 197.02 94.90777 195.06C70.01243 180.68667 45.11708 166.31333 20.22174 151.94C16.82692 149.98 15.12951 147.04 15.12951 143.12C15.12951 114.37333 15.12951 85.62667 15.12951 56.88C15.12951 52.96 16.82692 50.02 20.22174 48.06C45.11708 33.68667 70.01243 19.31333 94.90777 4.94Z"/>',clip:'<path d="M94.90777 4.94C98.30259 2.98 101.69741 2.98 105.09223 4.94C129.98757 19.31333 154.88292 33.68667 179.77826 48.06C183.17308 50.02 184.87049 52.96 184.87049 56.88C184.87049 85.62667 184.87049 114.37333 184.87049 143.12C184.87049 147.04 183.17308 149.98 179.77826 151.94C154.88292 166.31333 129.98757 180.68667 105.09223 195.06C101.69741 197.02 98.30259 197.02 94.90777 195.06C70.01243 180.68667 45.11708 166.31333 20.22174 151.94C16.82692 149.98 15.12951 147.04 15.12951 143.12C15.12951 114.37333 15.12951 85.62667 15.12951 56.88C15.12951 52.96 16.82692 50.02 20.22174 48.06C45.11708 33.68667 70.01243 19.31333 94.90777 4.94Z"/>',anchor:{x:112.26,y:110.7,scale:.83}},diamond:{id:"diamond",name:"Diamond",fit:"translate(-5.9383 -5.9383) scale(1.202088)",body:'<path fill="{{GRADIENT}}" d="M94.12 7.88C98.04 3.96 101.96 3.96 105.88 7.88C134.62667 36.62667 163.37333 65.37333 192.12 94.12C196.04 98.04 196.04 101.96 192.12 105.88C163.37333 134.62667 134.62667 163.37333 105.88 192.12C101.96 196.04 98.04 196.04 94.12 192.12C65.37333 163.37333 36.62667 134.62667 7.88 105.88C3.96 101.96 3.96 98.04 7.88 94.12C36.62667 65.37333 65.37333 36.62667 94.12 7.88Z"/>',clip:'<path d="M94.12 7.88C98.04 3.96 101.96 3.96 105.88 7.88C134.62667 36.62667 163.37333 65.37333 192.12 94.12C196.04 98.04 196.04 101.96 192.12 105.88C163.37333 134.62667 134.62667 163.37333 105.88 192.12C101.96 196.04 98.04 196.04 94.12 192.12C65.37333 163.37333 36.62667 134.62667 7.88 105.88C3.96 101.96 3.96 98.04 7.88 94.12C36.62667 65.37333 65.37333 36.62667 94.12 7.88Z"/>',anchor:{x:112.53,y:111.23,scale:.83}},star:{id:"star",name:"Star",fit:"translate(-8.3327 3.1407) scale(1.226032)",body:'<path fill="{{GRADIENT}}" d="M100 2C110.56054 20.13133 121.12108 38.26266 131.68163 56.39398C152.18893 60.83477 172.69623 65.27555 193.20354 69.71633C179.22301 85.3629 165.24248 101.00946 151.26195 116.65602C153.37562 137.5319 155.48929 158.40778 157.60295 179.28367C138.40197 170.82244 119.20098 162.36122 100 153.9C80.79902 162.36122 61.59803 170.82244 42.39705 179.28367C44.51071 158.40778 46.62438 137.5319 48.73805 116.65602C34.75752 101.00946 20.77699 85.3629 6.79646 69.71633C27.30377 65.27555 47.81107 60.83477 68.31837 56.39398C78.87892 38.26266 89.43946 20.13133 100 2Z"/>',clip:'<path d="M100 2C110.56054 20.13133 121.12108 38.26266 131.68163 56.39398C152.18893 60.83477 172.69623 65.27555 193.20354 69.71633C179.22301 85.3629 165.24248 101.00946 151.26195 116.65602C153.37562 137.5319 155.48929 158.40778 157.60295 179.28367C138.40197 170.82244 119.20098 162.36122 100 153.9C80.79902 162.36122 61.59803 170.82244 42.39705 179.28367C44.51071 158.40778 46.62438 137.5319 48.73805 116.65602C34.75752 101.00946 20.77699 85.3629 6.79646 69.71633C27.30377 65.27555 47.81107 60.83477 68.31837 56.39398C78.87892 38.26266 89.43946 20.13133 100 2Z"/>',anchor:{x:113.82,y:125.43,scale:.83}}};function h6(e){return f6.safeParse(e).data??p6}const oo=["pumpkin","ghost","witch","bat","cat","skull","monster","mummy","vampire","spider"],io=["rocket","anaar","chakri","sparkler","bomb","laddu","chakli","jalebi","katli","karanji"],so=[...oo,...io],ao={pumpkin:{id:"pumpkin",name:"Pumpkin",paint:"bot",bone:null,eyes:{cx:120,cy:152,dx:35,w:28,h:56,round:50,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M90.5 54.48 C77.98 56.31 67.02 63.37 58.51 72.5 C55.95 75.24 53.91 78.51 51.11 81 C47.33 84.36 42.38 85.53 38 87.83 C32.54 90.69 27.86 94.89 24 99.66 C0.95 128.17 1.01 181.52 24.97 209.5 C31.03 216.58 39.12 222.26 48.5 223.66 C53.49 224.41 58.74 223.08 63.5 225.16 C66.21 226.35 68.43 228.42 70.9 230 C78.54 234.9 87.38 237.89 96.5 238 C102.12 238.06 107.73 237.03 113 235.08 C114.66 234.46 118.98 231.87 120.5 232.13 C121.68 232.33 127.39 235.28 129.5 235.93 C135.79 237.88 142.47 238.48 149 237.59 C156.48 236.58 163.59 233.66 169.87 229.5 C172.18 227.96 174.28 226.04 176.89 225 C181.28 223.25 185.94 224.33 190.5 223.8 C198.11 222.91 205.1 219.14 210.69 214 C238.8 188.15 239.54 131.34 217.5 101.6 C212.81 95.28 206.78 89.78 199.5 86.63 C196.43 85.31 193.26 84.22 190.5 82.26 C185.59 78.78 182.01 72.7 177.5 68.51 C167.37 59.12 153.97 53.16 140 54.1 C134.84 54.45 129.76 55.71 125 57.71 C123.69 58.27 121.86 59.64 120.5 59.87 C119.38 60.06 111.9 56.48 110 55.92 C103.69 54.04 97.01 53.52 90.5 54.48 Z",parts:[{fill:"#3d3d3d",d:"M94.5 3.93 C90.73 5.44 88.5 9.55 89.93 13.5 C91.2 17 95.18 19.44 97.5 22.28 C101.77 27.51 104.88 33.56 106.89 40 C109.27 47.63 110.3 56.02 109.8 64 C109.52 68.57 107.41 72.89 108.74 77.5 C110.77 84.55 118.63 88.55 125.5 85.93 C135.23 82.22 133.7 73.67 132.84 65.5 C130.89 47.14 126.81 30.93 114.5 16.5 C110.8 12.16 100.82 1.39 94.5 3.93 Z"},{fill:"body",d:"M90.5 54.48 C77.98 56.31 67.02 63.37 58.51 72.5 C55.95 75.24 53.91 78.51 51.11 81 C47.33 84.36 42.38 85.53 38 87.83 C32.54 90.69 27.86 94.89 24 99.66 C0.95 128.17 1.01 181.52 24.97 209.5 C31.03 216.58 39.12 222.26 48.5 223.66 C53.49 224.41 58.74 223.08 63.5 225.16 C66.21 226.35 68.43 228.42 70.9 230 C78.54 234.9 87.38 237.89 96.5 238 C102.12 238.06 107.73 237.03 113 235.08 C114.66 234.46 118.98 231.87 120.5 232.13 C121.68 232.33 127.39 235.28 129.5 235.93 C135.79 237.88 142.47 238.48 149 237.59 C156.48 236.58 163.59 233.66 169.87 229.5 C172.18 227.96 174.28 226.04 176.89 225 C181.28 223.25 185.94 224.33 190.5 223.8 C198.11 222.91 205.1 219.14 210.69 214 C238.8 188.15 239.54 131.34 217.5 101.6 C212.81 95.28 206.78 89.78 199.5 86.63 C196.43 85.31 193.26 84.22 190.5 82.26 C185.59 78.78 182.01 72.7 177.5 68.51 C167.37 59.12 153.97 53.16 140 54.1 C134.84 54.45 129.76 55.71 125 57.71 C123.69 58.27 121.86 59.64 120.5 59.87 C119.38 60.06 111.9 56.48 110 55.92 C103.69 54.04 97.01 53.52 90.5 54.48 Z"}]},ghost:{id:"ghost",name:"Ghost",paint:"pale",bone:null,eyes:{cx:120,cy:112,dx:32,w:26,h:52,round:44,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M111.5 18.45 C102.67 19.45 94.05 21.8 86 25.58 C79.38 28.69 73.19 32.71 67.66 37.5 C55.69 47.85 46.96 61.73 42.81 77 C41.15 83.07 41.21 88.17 40.02 93.5 C39.67 95.08 38.72 96.36 38.5 97.97 C37.5 105.16 38.47 113.18 38.11 120.5 C37.62 130.51 36.53 140.51 35.71 150.5 C34.9 160.48 34.46 170.57 33.23 180.5 C32.61 185.5 30.7 190.45 30.58 195.5 C30.54 197.24 31.38 198.4 31.89 200 C33.45 204.88 34.26 209.22 38 213.1 C45.27 220.62 57.05 222.23 65.9 216.5 C68.85 214.59 75.17 206.54 75.27 206.5 C75.82 206.31 76.48 206.39 77 206.65 C77.78 207.05 82.14 213.41 84 214.97 C91.11 220.92 101.63 221.6 109.5 216.75 C112.96 214.63 119.13 206.55 119.27 206.5 C121.64 205.67 124.14 210.98 125.45 212.5 C129.1 216.73 134.46 219.4 140 219.91 C146.43 220.5 153.1 218.15 157.61 213.5 C158.94 212.13 161.82 207.01 163.27 206.5 C165.61 205.68 168.9 212.06 170.5 213.61 C175.27 218.25 181.86 220.62 188.5 219.86 C196.53 218.94 203.54 213.52 206.49 206 C207.26 204.04 207.48 201.99 208.11 200 C208.44 198.97 209.07 198.05 209.32 197 C210.25 193.16 207.29 184.77 206.77 180.5 C205.35 169.08 204.85 157.47 203.92 146 C203.19 137.02 202.16 128.01 201.83 119 C201.57 112.11 202.45 104.83 201.5 98 C201.28 96.4 200.36 95.14 200 93.58 C199.55 91.62 199.57 89.5 199.31 87.5 C198.7 82.92 197.7 78.4 196.32 74 C190.52 55.58 178.01 39.62 161.5 29.61 C154.53 25.38 146.92 22.23 139 20.29 C130.06 18.1 120.66 17.42 111.5 18.45 Z",parts:[{fill:"body",d:"M111.5 18.45 C102.67 19.45 94.05 21.8 86 25.58 C79.38 28.69 73.19 32.71 67.66 37.5 C55.69 47.85 46.96 61.73 42.81 77 C41.15 83.07 41.21 88.17 40.02 93.5 C39.67 95.08 38.72 96.36 38.5 97.97 C37.5 105.16 38.47 113.18 38.11 120.5 C37.62 130.51 36.53 140.51 35.71 150.5 C34.9 160.48 34.46 170.57 33.23 180.5 C32.61 185.5 30.7 190.45 30.58 195.5 C30.54 197.24 31.38 198.4 31.89 200 C33.45 204.88 34.26 209.22 38 213.1 C45.27 220.62 57.05 222.23 65.9 216.5 C68.85 214.59 75.17 206.54 75.27 206.5 C75.82 206.31 76.48 206.39 77 206.65 C77.78 207.05 82.14 213.41 84 214.97 C91.11 220.92 101.63 221.6 109.5 216.75 C112.96 214.63 119.13 206.55 119.27 206.5 C121.64 205.67 124.14 210.98 125.45 212.5 C129.1 216.73 134.46 219.4 140 219.91 C146.43 220.5 153.1 218.15 157.61 213.5 C158.94 212.13 161.82 207.01 163.27 206.5 C165.61 205.68 168.9 212.06 170.5 213.61 C175.27 218.25 181.86 220.62 188.5 219.86 C196.53 218.94 203.54 213.52 206.49 206 C207.26 204.04 207.48 201.99 208.11 200 C208.44 198.97 209.07 198.05 209.32 197 C210.25 193.16 207.29 184.77 206.77 180.5 C205.35 169.08 204.85 157.47 203.92 146 C203.19 137.02 202.16 128.01 201.83 119 C201.57 112.11 202.45 104.83 201.5 98 C201.28 96.4 200.36 95.14 200 93.58 C199.55 91.62 199.57 89.5 199.31 87.5 C198.7 82.92 197.7 78.4 196.32 74 C190.52 55.58 178.01 39.62 161.5 29.61 C154.53 25.38 146.92 22.23 139 20.29 C130.06 18.1 120.66 17.42 111.5 18.45 Z"}]},witch:{id:"witch",name:"Witch",paint:"bot",bone:null,eyes:{cx:120,cy:174,dx:30,w:24,h:46,round:40,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M70 115.37 C64.92 118.19 58.38 126.61 55.15 131.5 C39.04 155.88 40.93 187.85 59.5 210.37 C83.52 239.49 127.61 245.99 160 227.52 C193.86 208.21 206.9 166.06 185.5 132.5 C182.23 127.37 176.01 119.21 170.88 116 C168.88 114.75 156.18 116.17 153 116.31 C138.51 116.93 124 117.12 109.5 116.93 C100 116.81 90.49 116.52 81 116.03 C79.79 115.97 70.33 115.19 70 115.37 Z",parts:[{fill:"#3d3d3d",d:"M56 93.43 C43.48 96.13 40.36 109.2 37.78 120 C31.5 146.29 30.56 174.43 35.74 201 C37.12 208.09 38.78 215.1 40.92 222 C41.86 225.03 42.59 228.55 45.34 230.5 C50.73 234.32 58.38 230.12 57.98 223.5 C57.72 219 56.75 214.51 56.42 210 C55.7 200 56.02 189.96 57.07 180 C57.37 177.15 58.02 166.48 61 165.64 C63.18 165.03 66.49 167.44 68.5 168.11 C72.91 169.6 77.38 170 82 170 C105.5 170 129 170 152.5 170 C158.59 170 164.6 170.23 170.5 168.43 C172.53 167.82 177.65 164.86 179.5 165.82 C181.99 167.11 182.45 176.27 182.79 179 C184.42 191.91 184.37 205.09 182.77 218 C182.17 222.84 180.96 227.92 186 230.93 C187.77 231.99 190.01 232.27 192 231.75 C196.36 230.6 197.5 226.81 198.73 223 C201.11 215.63 202.91 208.12 204.32 200.5 C208.97 175.34 208.61 149 203.13 124 C201.42 116.16 199.23 104.47 193.5 98.63 C188.23 93.26 179.97 91.56 173 94.34 C168.24 96.23 164.9 99.79 159.5 100 C144.55 100.56 129.46 100 114.5 100 C103.07 100 91.41 100.67 80 99.98 C70.75 99.42 67.69 90.9 56 93.43 Z"},{fill:"body",d:"M111 98.49 C99.92 99.78 89.16 103.16 79.5 108.77 C71.23 113.57 63.85 119.91 58.01 127.5 C52.95 134.08 49.07 141.54 46.7 149.5 C31.29 201.28 80.43 243.45 130 237.39 C141.09 236.03 151.91 232.4 161.5 226.64 C169.36 221.92 176.39 215.78 181.99 208.5 C186.73 202.34 190.44 195.4 192.83 188 C209.5 136.52 160.9 92.7 111 98.49 Z"},{fill:"#3d3d3d",d:"M177 10.96 C138.98 13.21 103.23 27.45 85.12 63 C81.33 70.43 77.84 78.65 76.85 87 C76.55 89.52 76.75 91.99 76.61 94.5 C76.56 95.51 76.17 96.49 76.14 97.5 C76 101.4 77.46 105.9 78.82 109.5 C85.72 127.81 104.52 139.6 124 137.82 C143.59 136.03 160 120.88 163.36 101.5 C163.9 98.37 164.65 94.14 163.9 91 C162.95 87.07 162.41 82.91 161.16 79 C158.31 70.02 153.98 63.41 156.17 53.5 C158.71 41.94 167.43 31.98 176.22 24.5 C178.98 22.16 184.33 18.67 186.45 16.5 C187.23 15.7 187.64 14.61 187.46 13.5 C186.74 9 180.07 10.78 177 10.96 Z"},{fill:"accent",d:"M81 72.19 C79.92 73.17 77.55 82.62 77.22 84.5 C77.21 84.56 76.73 87.42 76.79 87.5 C77.5 88.43 80.51 88 81.5 88 C86.5 88 91.5 88 96.5 88 C113 88 129.5 88 146 88 C150 88 154 88 158 88 C158.41 88 162.39 88.09 162.5 88 C163.43 87.24 162.51 84.38 162.33 83.5 C161.84 81.07 159.9 72.86 157.5 72 C155.93 71.44 142.27 72 139.5 72 C126 72 112.5 72 99 72 C94.5 72 90 72 85.5 72 C84.65 72 81.67 71.58 81 72.19 Z"},{fill:"#3d3d3d",d:"M92.5 82.49 C70.51 83.29 48.05 84.51 26.5 89.19 C21.5 90.28 16.04 91.43 11.56 94 C9.93 94.93 7.19 96.67 8.22 99 C9.82 102.64 17.9 104.67 21.5 105.62 C34.2 108.96 47.45 110.39 60.5 111.56 C99.75 115.07 139.74 115.08 179 111.6 C192.04 110.44 217.43 108.32 228.44 102 C234.96 98.26 231.04 94.96 226 92.83 C217.57 89.26 208 87.94 199 86.66 C163.9 81.67 127.88 81.21 92.5 82.49 Z"}]},bat:{id:"bat",name:"Bat",paint:"bot",bone:null,eyes:{cx:120,cy:142,dx:28,w:24,h:46,round:40,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M78.5 28.29 C74.93 30.19 75.47 37.8 75.15 41.5 C74.53 48.5 73.91 55.5 73.29 62.5 C72.9 66.96 72.85 71.64 71.75 76 C70.83 79.6 68.82 85.6 64.5 86.26 C59.64 87 48.75 76.45 44 74 C41.3 72.61 37.88 71.96 35 71 C27.5 68.5 20 66 12.5 63.5 C8.5 62.17 4.5 60.83 0.5 59.5 C-0.78 59.07 -2.92 57.58 -3.85 59.5 C-4.29 60.4 -3.66 61.5 -3.56 62.5 C-3.1 67.12 -0.34 68.8 2.57 72 C7.4 77.32 10.12 84.29 10 91.5 C9.9 96.81 8.27 102.08 5.32 106.5 C4.31 108.01 3.03 109.34 2.25 111 C1.43 112.74 1.01 118.51 2.5 119.97 C3.97 121.42 10.69 121.29 13 121.89 C18.65 123.35 23.67 126.57 27.45 131 C31.02 135.19 33.25 140.53 33.84 146 C34.08 148.27 33.22 153.18 34.21 155 C35.72 157.76 38.05 155.63 40 154.7 C43.58 153 47.39 152.47 50.08 156 C52.67 159.38 53.61 164.19 55.5 168 C58.57 174.19 62.54 179.93 67.25 185 C89.14 208.58 125.04 214.65 153.5 199.73 C165.15 193.62 175.01 184.28 181.77 173 C184.06 169.17 188.57 157.24 190.5 155.3 C193.16 152.64 196.34 153.04 199.5 154.47 C200.95 155.13 203.95 157.59 205.5 155.79 C206.74 154.34 205.93 148.54 206.11 146.5 C206.6 141.11 208.67 135.94 212 131.68 C215.97 126.61 221.72 123.03 228 121.65 C230.52 121.1 236.88 121.57 238.04 119 C238.13 118.81 238.37 116.21 238.39 116 C238.8 111.43 236.27 109.16 234.05 105.5 C231.32 101.01 229.91 95.75 230 90.5 C230.12 83.91 232.62 77.44 236.98 72.5 C239.99 69.1 243.08 67.35 243.56 62.5 C243.66 61.5 244.29 60.4 243.85 59.5 C242.92 57.58 240.78 59.07 239.5 59.5 C235.5 60.83 231.5 62.17 227.5 63.5 C220 66 212.5 68.5 205 71 C202.11 71.96 198.7 72.62 196 74 C191.23 76.44 180.37 87 175.5 86.26 C171.18 85.6 169.16 79.6 168.25 76 C167.15 71.64 167.1 66.96 166.71 62.5 C166.09 55.5 165.47 48.5 164.85 41.5 C164.54 37.89 165.2 28.63 160.5 28.03 C156.82 27.56 152.58 35.31 150.59 38 C146.75 43.2 137.29 57.47 133 60.83 C130.83 62.53 128.21 63.45 125.5 63.81 C123.5 64.08 121.51 63.99 119.5 64 C109.03 64.05 106.48 61.1 100.5 53.01 C97.5 48.95 94.5 44.89 91.5 40.83 C89.48 38.09 84.84 30.64 82.5 28.88 C81.44 28.09 79.75 27.63 78.5 28.29 Z",parts:[{fill:"body",d:"M78.5 28.29 C74.93 30.19 75.47 37.8 75.15 41.5 C74.53 48.5 73.91 55.5 73.29 62.5 C72.9 66.96 72.85 71.64 71.75 76 C70.83 79.6 68.82 85.6 64.5 86.26 C59.64 87 48.75 76.45 44 74 C41.3 72.61 37.88 71.96 35 71 C27.5 68.5 20 66 12.5 63.5 C8.5 62.17 4.5 60.83 0.5 59.5 C-0.78 59.07 -2.92 57.58 -3.85 59.5 C-4.29 60.4 -3.66 61.5 -3.56 62.5 C-3.1 67.12 -0.34 68.8 2.57 72 C7.4 77.32 10.12 84.29 10 91.5 C9.9 96.81 8.27 102.08 5.32 106.5 C4.31 108.01 3.03 109.34 2.25 111 C1.43 112.74 1.01 118.51 2.5 119.97 C3.97 121.42 10.69 121.29 13 121.89 C18.65 123.35 23.67 126.57 27.45 131 C31.02 135.19 33.25 140.53 33.84 146 C34.08 148.27 33.22 153.18 34.21 155 C35.72 157.76 38.05 155.63 40 154.7 C43.58 153 47.39 152.47 50.08 156 C52.67 159.38 53.61 164.19 55.5 168 C58.57 174.19 62.54 179.93 67.25 185 C89.14 208.58 125.04 214.65 153.5 199.73 C165.15 193.62 175.01 184.28 181.77 173 C184.06 169.17 188.57 157.24 190.5 155.3 C193.16 152.64 196.34 153.04 199.5 154.47 C200.95 155.13 203.95 157.59 205.5 155.79 C206.74 154.34 205.93 148.54 206.11 146.5 C206.6 141.11 208.67 135.94 212 131.68 C215.97 126.61 221.72 123.03 228 121.65 C230.52 121.1 236.88 121.57 238.04 119 C238.13 118.81 238.37 116.21 238.39 116 C238.8 111.43 236.27 109.16 234.05 105.5 C231.32 101.01 229.91 95.75 230 90.5 C230.12 83.91 232.62 77.44 236.98 72.5 C239.99 69.1 243.08 67.35 243.56 62.5 C243.66 61.5 244.29 60.4 243.85 59.5 C242.92 57.58 240.78 59.07 239.5 59.5 C235.5 60.83 231.5 62.17 227.5 63.5 C220 66 212.5 68.5 205 71 C202.11 71.96 198.7 72.62 196 74 C191.23 76.44 180.37 87 175.5 86.26 C171.18 85.6 169.16 79.6 168.25 76 C167.15 71.64 167.1 66.96 166.71 62.5 C166.09 55.5 165.47 48.5 164.85 41.5 C164.54 37.89 165.2 28.63 160.5 28.03 C156.82 27.56 152.58 35.31 150.59 38 C146.75 43.2 137.29 57.47 133 60.83 C130.83 62.53 128.21 63.45 125.5 63.81 C123.5 64.08 121.51 63.99 119.5 64 C109.03 64.05 106.48 61.1 100.5 53.01 C97.5 48.95 94.5 44.89 91.5 40.83 C89.48 38.09 84.84 30.64 82.5 28.88 C81.44 28.09 79.75 27.63 78.5 28.29 Z"}]},cat:{id:"cat",name:"Cat",paint:"bot",bone:null,eyes:{cx:120,cy:156,dx:36,w:27,h:52,round:46,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M48 25.42 C46.77 26.16 46.14 26.51 45.5 27.83 C44.09 30.74 43.01 40.74 42.34 44.5 C39.14 62.5 35.94 80.5 32.74 98.5 C31.46 105.73 28.94 112.44 27.09 119.5 C26.44 121.96 26.44 124.52 25.93 127 C25.3 130.04 24.17 132.96 23.51 136 C21.02 147.42 21.66 159.39 25.27 170.5 C29.81 184.46 38.78 196.64 50 205.99 C85.42 235.47 140.72 237.75 179.5 213.57 C186.45 209.23 192.84 204.02 198.4 198 C210.43 184.96 218 167.87 218 150 C218 141.88 215.96 135.26 214.18 127.5 C213.61 125.03 213.61 122.47 213.04 120 C211.96 115.44 210.13 111.04 208.95 106.5 C206.39 96.7 205.12 86.47 203.35 76.5 C201.03 63.5 198.72 50.5 196.41 37.5 C195.71 33.57 195.94 26.16 191 25.1 C187.51 24.35 184.88 27.92 182.63 30 C176.13 36 169.63 42 163.13 48 C157.65 53.05 146.41 64.8 140.5 67.87 C138.17 69.08 135.61 69.79 133 70.1 C130.41 70.4 108.36 70.34 106 69.96 C98.34 68.74 93.44 63.3 88 58.27 C79.78 50.68 71.55 43.09 63.33 35.5 C60.5 32.89 52.07 22.98 48 25.42 Z",parts:[{fill:"body",d:"M48 25.42 C46.77 26.16 46.14 26.51 45.5 27.83 C44.09 30.74 43.01 40.74 42.34 44.5 C39.14 62.5 35.94 80.5 32.74 98.5 C31.46 105.73 28.94 112.44 27.09 119.5 C26.44 121.96 26.44 124.52 25.93 127 C25.3 130.04 24.17 132.96 23.51 136 C21.02 147.42 21.66 159.39 25.27 170.5 C29.81 184.46 38.78 196.64 50 205.99 C85.42 235.47 140.72 237.75 179.5 213.57 C186.45 209.23 192.84 204.02 198.4 198 C210.43 184.96 218 167.87 218 150 C218 141.88 215.96 135.26 214.18 127.5 C213.61 125.03 213.61 122.47 213.04 120 C211.96 115.44 210.13 111.04 208.95 106.5 C206.39 96.7 205.12 86.47 203.35 76.5 C201.03 63.5 198.72 50.5 196.41 37.5 C195.71 33.57 195.94 26.16 191 25.1 C187.51 24.35 184.88 27.92 182.63 30 C176.13 36 169.63 42 163.13 48 C157.65 53.05 146.41 64.8 140.5 67.87 C138.17 69.08 135.61 69.79 133 70.1 C130.41 70.4 108.36 70.34 106 69.96 C98.34 68.74 93.44 63.3 88 58.27 C79.78 50.68 71.55 43.09 63.33 35.5 C60.5 32.89 52.07 22.98 48 25.42 Z"}]},skull:{id:"skull",name:"Skull",paint:"bone",bone:"#f1ede6",eyes:{cx:120,cy:112,dx:34,w:42,h:44,round:50,ink:"#0d0a10",mouth:!1,mouthInk:"#0d0a10",mouthY:null},clip:"M111 16.48 C60.53 22.23 26.1 71.09 38.54 120.5 C40.96 130.13 45.1 139.31 50.72 147.5 C55.37 154.28 61.54 159.58 64.33 167.5 C66.25 172.92 65.77 178.38 66.35 184 C66.91 189.5 67.86 194.95 67.98 200.5 C68.17 209.19 66.13 215.91 73.45 222.5 C80.55 228.89 89.65 228 98.5 228 C111 228 123.5 228 136 228 C141.94 228 148.08 228.45 154 227.91 C161.84 227.19 170.56 221.74 171.93 213.5 C172.59 209.54 171.97 205.49 172 201.5 C172.05 195.44 173.12 189.51 173.7 183.5 C174.04 180.01 173.78 176.47 174.27 173 C174.64 170.41 175.44 167.92 176.42 165.5 C179.29 158.45 185.28 153.4 189.5 147.18 C196.53 136.81 201.2 124.89 203.06 112.5 C211.17 58.67 165.37 10.29 111 16.48 Z",parts:[{fill:"body",d:"M111 16.48 C60.53 22.23 26.1 71.09 38.54 120.5 C40.96 130.13 45.1 139.31 50.72 147.5 C55.37 154.28 61.54 159.58 64.33 167.5 C66.25 172.92 65.77 178.38 66.35 184 C66.91 189.5 67.86 194.95 67.98 200.5 C68.17 209.19 66.13 215.91 73.45 222.5 C80.55 228.89 89.65 228 98.5 228 C111 228 123.5 228 136 228 C141.94 228 148.08 228.45 154 227.91 C161.84 227.19 170.56 221.74 171.93 213.5 C172.59 209.54 171.97 205.49 172 201.5 C172.05 195.44 173.12 189.51 173.7 183.5 C174.04 180.01 173.78 176.47 174.27 173 C174.64 170.41 175.44 167.92 176.42 165.5 C179.29 158.45 185.28 153.4 189.5 147.18 C196.53 136.81 201.2 124.89 203.06 112.5 C211.17 58.67 165.37 10.29 111 16.48 Z"},{fill:"#0d0a10",d:"M108.5 149.4 C107.57 150.05 107 150.82 107 152 C107 154.18 114.28 164.52 115.84 167 C116.89 168.68 118.36 171.98 121 170.83 C123.26 169.84 129.3 158.78 131 156.06 C132.04 154.39 134.17 151.94 132.23 150 C130.51 148.28 117.13 149 114 149 C112.48 149 109.83 148.48 108.5 149.4 Z"},{fill:"#0d0a10",d:"M94.5 187.86 C90.92 189.52 93.89 198.41 92.8 199.5 C91.51 200.79 82.21 198.69 80.5 200.4 C80.09 200.81 79.82 201.42 79.8 202 C79.71 204.75 83.35 204.2 85 204.2 C85.71 204.2 92.43 204.13 92.5 204.2 C94.27 205.97 90.74 214.92 94.5 216.14 C99.5 217.76 95.66 205.52 98 204.2 C98.87 203.71 100 204.2 101 204.2 C102.15 204.2 104.56 203.68 105.3 205 C106.51 207.15 103.11 216.05 107.5 216.2 C112.34 216.36 107.39 205.23 111 204.2 C111.96 203.93 113 204.2 114 204.2 C115 204.2 116.13 203.71 117 204.2 C118.31 204.94 117.8 210.08 117.8 211.5 C117.8 213.04 117.59 217.08 120.5 216.14 C124.04 215 121.14 205.56 122.2 204.5 C122.63 204.07 123.39 204.26 124 204.2 C124.45 204.16 129.99 204.19 130 204.2 C131.77 205.97 128.24 214.92 132 216.14 C134.91 217.08 134.7 213.04 134.7 211.5 C134.7 210.08 134.19 204.94 135.5 204.2 C136.37 203.71 137.5 204.2 138.5 204.2 C139.5 204.2 140.54 203.93 141.5 204.2 C141.99 204.34 142.55 204.56 142.8 205 C143.36 206 142.47 212.32 142.8 214 C143.12 215.64 144.94 217.16 146.5 215.6 C148.29 213.81 146.31 206.57 147.2 205 C148.42 202.83 156.88 205.32 159 203.96 C159.52 203.62 159.95 203.09 160.14 202.5 C161.24 199.11 155.62 199.8 154 199.8 C153.08 199.8 148.56 200.12 148 199.8 C145.66 198.48 149.5 186.24 144.5 187.86 C140.96 189 143.86 198.44 142.8 199.5 C142.42 199.88 140.04 199.8 139.5 199.8 C139.14 199.8 135.05 199.85 135 199.8 C133.92 198.72 136.59 184.88 131.5 188.04 C128.44 189.94 132 198.39 129.5 199.8 C128.63 200.29 127.5 199.8 126.5 199.8 C125.35 199.8 122.94 200.32 122.2 199 C120.99 196.85 124.39 187.95 120 187.8 C115.16 187.64 120.11 198.77 116.5 199.8 C115.54 200.07 114.5 199.8 113.5 199.8 C112.5 199.8 111.37 200.29 110.5 199.8 C108.57 198.71 110.45 191.48 109.64 189.5 C108.87 187.61 106.74 187.14 105.54 189 C104.68 190.34 105.78 199.02 105.3 199.5 C104.92 199.88 102.54 199.8 102 199.8 C101.64 199.8 97.55 199.85 97.5 199.8 C96.32 198.62 99.05 185.75 94.5 187.86 Z"}]},monster:{id:"monster",name:"Monster",paint:"bot",bone:null,eyes:{cx:120,cy:156,dx:36,w:27,h:52,round:46,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M62.5 85.83 C62.35 85.86 59.77 89.26 59.5 89.6 C57.48 92.13 51.44 101.28 48.5 101.5 C45.58 101.72 39.42 92.42 37.5 90.01 C36.59 88.88 34.53 86.24 34.5 86.25 C33.82 86.47 34 93.06 34 94 C34 102 34 110 34 118 C34 142 34 166 34 190 C34 201.71 32.25 214.47 41 223.75 C50.98 234.33 65.82 232 79 232 C103 232 127 232 151 232 C159.5 232 179.87 233.04 187 231.04 C196.89 228.27 204.38 219.67 205.76 209.5 C206.8 201.92 206 189.13 206 181 C206 162 206 143 206 124 C206 114.5 206 105 206 95.5 C206 92.69 206.04 86.51 206 86.5 C205.02 86.17 202.97 89.42 202.51 90 C200.52 92.51 195.5 100.01 193 101.23 C192.11 101.67 190.85 101.54 190 101.08 C188.02 99.98 182.32 91.88 180.5 89.6 C180.27 89.3 177.53 85.83 177.5 85.83 C176.98 85.81 174.43 89.26 174 89.8 C171.93 92.41 166.13 101.35 163 101.5 C160.25 101.63 153.88 92.16 152 89.8 C151.76 89.5 149.08 86.05 149 86.04 C147.81 85.89 146.09 88.85 145.5 89.6 C143.48 92.13 137.44 101.28 134.5 101.5 C130.72 101.78 122.19 86.67 120.5 86.25 C119.09 85.89 117.64 88.58 117 89.39 C115.13 91.74 108.86 100.75 106.5 101.4 C101.99 102.65 94.55 87.55 92.04 86.5 C90.19 85.73 88.38 89.32 87.5 90.43 C85.52 92.92 79.68 101.98 76.5 101.46 C73.7 101.01 67.54 91.73 65.5 89.18 C65.15 88.73 62.92 85.74 62.5 85.83 Z",parts:[{fill:"#8d8d8d",d:"M14.5 180.29 C13.19 180.99 12.59 181.55 12.13 183 C11.71 184.32 11.73 193.65 12.13 195 C12.45 196.1 13.06 196.94 14.07 197.5 C16.14 198.66 31.56 198 35 198 C37.29 198 40.56 198.62 42.5 197.12 C44.75 195.37 44.74 182.84 42.64 181 C40.99 179.55 38.5 180 36.5 180 C33.26 180 16.22 179.38 14.5 180.29 Z M198.5 180.29 C197.19 180.99 196.59 181.55 196.13 183 C195.71 184.32 195.73 193.65 196.13 195 C196.45 196.1 197.06 196.94 198.07 197.5 C200.14 198.66 215.56 198 219 198 C221.29 198 224.56 198.62 226.5 197.12 C228.75 195.37 228.74 182.84 226.64 181 C224.99 179.55 222.5 180 220.5 180 C217.26 180 200.22 179.38 198.5 180.29 Z"},{fill:"#6f6f6f",d:"M6 174.34 C2.94 176.55 4 181.14 4 184.5 C4 188.39 3.35 197.74 4.04 201 C4.3 202.25 4.84 203.05 6 203.66 C7.59 204.49 10.27 204 12 204 C13.45 204 15.23 204.3 16.5 203.37 C18.94 201.57 18 197.12 18 194.5 C18 191.27 18.73 176.79 17 175.05 C15.47 173.52 12.94 174 11 174 C9.71 174 7.11 173.53 6 174.34 Z M224 174.34 C220.94 176.55 222 181.14 222 184.5 C222 188.39 221.35 197.74 222.04 201 C222.3 202.25 222.84 203.05 224 203.66 C225.59 204.49 228.27 204 230 204 C231.45 204 233.23 204.3 234.5 203.37 C236.94 201.57 236 197.12 236 194.5 C236 191.27 236.73 176.79 235 175.05 C233.47 173.52 230.94 174 229 174 C227.71 174 225.11 173.53 224 174.34 Z"},{fill:"body",d:"M55 22.49 C44.2 24.71 35.73 33.52 34.24 44.5 C33.64 48.92 34 53.55 34 58 C34 96 34 134 34 172 C34 180 34 188 34 196 C34 200.93 33.53 206.14 34.49 211 C35.1 214.13 36.29 217.16 38 219.86 C46.73 233.59 60.38 232 74.5 232 C99 232 123.5 232 148 232 C156.48 232 178.53 232.92 185.5 231.41 C196.07 229.12 204.3 220.22 205.76 209.5 C206.43 204.6 206 199.44 206 194.5 C206 157 206 119.5 206 82 C206 74 206 66 206 58 C206 53.07 206.47 47.86 205.51 43 C204.9 39.87 203.71 36.84 202 34.14 C193.01 20 178.47 22 164 22 C140 22 116 22 92 22 C83.69 22 61.8 21.08 55 22.49 Z"},{fill:"#3d3d3d",d:"M55 18.42 C42.19 20.59 32 31.13 30.27 44 C29.41 50.36 30 57.09 30 63.5 C30 68 30 72.5 30 77 C30 77.97 29.55 80.79 30.5 81.5 C31.3 82.1 32.64 81.26 33.5 81.78 C34.97 82.67 36.42 85.45 37.5 86.8 C38.91 88.58 46.34 98.67 47.5 99.24 C49.39 100.17 50.54 97.63 51.45 96.5 C54.13 93.13 56.82 89.76 59.5 86.38 C59.73 86.1 62.49 82.62 62.5 82.62 C62.95 82.64 64.72 84.99 65 85.34 C67.67 88.69 70.33 92.04 73 95.38 C73.82 96.42 75.75 100.08 77.5 99.41 C78.97 98.85 86.46 88.53 88 86.59 C88.24 86.3 90.94 82.83 91 82.83 C92.18 82.73 93.9 85.63 94.5 86.38 C97.17 89.73 99.83 93.08 102.5 96.43 C103.26 97.39 104.41 99.72 106 99.46 C106.95 99.31 115.23 88.4 116.5 86.8 C116.79 86.44 119.31 83.08 119.5 83.04 C120.91 82.68 122.36 85.37 123 86.18 C125.67 89.52 128.33 92.87 131 96.22 C131.72 97.12 133.05 99.61 134.5 99.49 C135.82 99.38 137.28 96.71 138 95.8 C139.12 94.4 147.45 83.47 148 83.25 C149.78 82.5 151.66 86.16 152.5 87.22 C153.82 88.88 161.68 99.49 163 99.5 C164.27 99.51 172.2 88.86 173.5 87.22 C174.35 86.16 176.2 82.54 178 83.25 C178.45 83.42 186.93 94.46 188 95.8 C188.74 96.74 190.2 99.31 191.5 99.49 C192.89 99.69 194.33 97.06 195 96.22 C197.98 92.48 200.96 88.74 203.94 85 C204.62 84.14 205.16 83.13 206 82.41 C207.66 80.98 209.21 82.38 210 80 C210.52 78.45 210 67.49 210 65 C210 50.51 211.96 36.41 200 25.64 C188.98 15.71 173.68 18 160 18 C137 18 114 18 91 18 C82.08 18 62.75 17.11 55 18.42 Z"}]},mummy:{id:"mummy",name:"Mummy",paint:"bone",bone:"#efe5cf",eyes:{cx:120,cy:119,dx:30,w:24,h:24,round:30,ink:"#f4efe4",mouthInk:"#0d0a10",mouthY:170,mouth:!0},clip:"M201.5 97.49 C164.5 98.63 127.5 99.77 90.5 100.91 C78 101.29 65.5 101.68 53 102.06 C48.3 102.21 42.56 101.73 38 102.52 C37.48 102.61 36.82 102.58 36.5 103 C36.25 103.33 36.5 109.62 36.5 110.5 C36.5 118 36.5 125.5 36.5 133 C36.5 133.71 36.42 140.42 36.5 140.5 C36.65 140.65 44.6 140.32 45.5 140.29 C55 140 64.5 139.71 74 139.42 C105.5 138.45 137 137.48 168.5 136.51 C177 136.25 185.5 135.98 194 135.72 C195.18 135.69 202.47 135.84 203 135.45 C203.86 134.81 203.5 127.83 203.5 126.5 C203.5 119 203.5 111.5 203.5 104 C203.5 103.31 203.7 98.26 203.5 98 C203.04 97.39 202.15 97.47 201.5 97.49 Z",parts:[{fill:"body",d:"M111 14.48 C76.78 18.38 47.65 43.09 38.8 76.5 C34.8 91.61 36 107.52 36 123 C36 140.11 34.75 157.49 40.13 174 C52.39 211.67 90.69 236.12 130 231.4 C163.8 227.35 192.49 202.41 201.2 169.5 C205.2 154.39 204 138.48 204 123 C204 105.89 205.25 88.51 199.87 72 C187.78 34.85 149.95 10.05 111 14.48 Z"},{fill:"#d8ccb2",d:"M174.5 35.45 C146.5 38.81 118.5 42.17 90.5 45.53 C79.5 46.85 68.5 48.17 57.5 49.49 C53.73 49.94 51.23 49.33 49.07 53 C48.78 53.49 47.97 54.03 48.28 54.5 C48.38 54.65 55.19 53.79 56 53.69 C63.5 52.79 71 51.89 78.5 50.99 C101.5 48.23 124.5 45.47 147.5 42.71 C155.5 41.75 163.5 40.79 171.5 39.83 C173.36 39.61 178.97 38.95 179 38.88 C179.56 37.71 175.8 35.29 174.5 35.45 Z M43 64.46 C42.99 64.47 41.71 67.42 41.73 67.5 C42.08 68.71 45.14 68.52 46 68.61 C49.5 68.96 53 69.31 56.5 69.66 C72 71.21 87.5 72.76 103 74.31 C128.5 76.86 154 79.41 179.5 81.96 C185.5 82.56 191.5 83.16 197.5 83.76 C199.48 83.96 202.33 85.3 202.56 82.5 C202.66 81.24 202.17 80.54 201 80.09 C198.79 79.24 189.02 78.89 186 78.59 C168.5 76.84 151 75.09 133.5 73.34 C110.5 71.04 87.5 68.74 64.5 66.44 C59 65.89 53.5 65.34 48 64.79 C47.4 64.73 43.12 64.28 43 64.46 Z M36.5 145.97 C33.26 150.75 40.97 150.53 43.5 150.83 C52.5 151.91 61.5 152.99 70.5 154.07 C100 157.61 129.5 161.15 159 164.69 C170 166.01 181 167.33 192 168.65 C192.91 168.76 200.81 169.85 201 169.71 C201.48 169.35 201.42 168.58 201.58 168 C201.73 167.51 202.15 166.97 201.94 166.5 C201.4 165.34 195.79 165.08 194.5 164.93 C186.5 163.97 178.5 163.01 170.5 162.05 C137.5 158.09 104.5 154.13 71.5 150.17 C62.5 149.09 53.5 148.01 44.5 146.93 C42 146.63 39.5 146.33 37 146.03 C36.83 146.01 36.59 145.83 36.5 145.97 Z M195 178.49 C158 182.19 121 185.89 84 189.59 C75 190.49 66 191.39 57 192.29 C56.12 192.38 49.54 193 49.5 193.15 C49.31 193.81 50.04 194.41 50.38 195 C51.95 197.75 54.8 196.53 57.5 196.26 C66.5 195.36 75.5 194.46 84.5 193.56 C110.5 190.96 136.5 188.36 162.5 185.76 C167.23 185.29 193.16 183.27 195.5 182.46 C197.22 181.86 197.03 181.54 197.67 180 C198.87 177.08 197.1 178.28 195 178.49 Z M63 209.43 C63 209.92 66.26 212.65 66.79 213 C69.51 214.78 78.4 214.68 82 214.97 C102.5 216.61 123 218.25 143.5 219.89 C146.75 220.15 159.21 221.83 161.5 221.03 C161.84 220.92 166 218.31 166 218.29 C166 217.49 163.3 217.46 163 217.43 C159.5 217.15 156 216.87 152.5 216.59 C138 215.43 123.5 214.27 109 213.11 C99 212.31 89 211.51 79 210.71 C75.5 210.43 72 210.15 68.5 209.87 C67 209.75 65.5 209.63 64 209.51 C63.67 209.49 63 209.1 63 209.43 Z"},{fill:"#0d0a10",d:"M201.5 97.49 C164.5 98.63 127.5 99.77 90.5 100.91 C78 101.29 65.5 101.68 53 102.06 C48.3 102.21 42.56 101.73 38 102.52 C37.48 102.61 36.82 102.58 36.5 103 C36.25 103.33 36.5 109.62 36.5 110.5 C36.5 118 36.5 125.5 36.5 133 C36.5 133.71 36.42 140.42 36.5 140.5 C36.65 140.65 44.6 140.32 45.5 140.29 C55 140 64.5 139.71 74 139.42 C105.5 138.45 137 137.48 168.5 136.51 C177 136.25 185.5 135.98 194 135.72 C195.18 135.69 202.47 135.84 203 135.45 C203.86 134.81 203.5 127.83 203.5 126.5 C203.5 119 203.5 111.5 203.5 104 C203.5 103.31 203.7 98.26 203.5 98 C203.04 97.39 202.15 97.47 201.5 97.49 Z"}]},vampire:{id:"vampire",name:"Vampire",paint:"bot",bone:null,eyes:{cx:120,cy:150,dx:28,w:22,h:42,round:38,ink:"#7a0f24",mouth:!0,mouthInk:"#7a0f24",mouthY:null},clip:"M90.5 74.47 C84.48 75.44 78.4 77.7 72.5 79.27 C70.54 79.79 64.93 80.75 63.5 81.67 C61.68 82.85 59.36 87.13 58.03 89 C49.89 100.39 47.02 115.7 46.19 129.5 C44.07 165.18 60.28 205.2 94.5 220.49 C105.75 225.51 118.34 227.21 130.5 225.09 C176.27 217.11 198.13 165.57 193.28 123.5 C192.29 114.91 189.54 100.92 185.19 93.5 C183.7 90.97 181.7 88.63 180 86.24 C179.11 85 178.17 83 177 82.04 C175.59 80.88 159.05 77.02 156 76.2 C154.71 75.86 149.54 74.05 148.5 74.47 C147.76 74.76 145.18 78.26 144.5 79.04 C140.5 83.61 136.5 88.18 132.5 92.75 C129.5 96.18 126.5 99.61 123.5 103.04 C122.66 103.99 121.5 106 120 106 C118.37 106 114.64 100.91 113.5 99.61 C108.17 93.51 102.83 87.42 97.5 81.32 C96.28 79.93 92.06 74.22 90.5 74.47 Z",parts:[{fill:"#3d3d3d",d:"M23 108.27 C21.28 109.28 22.11 112.42 22.18 114 C22.41 119 22.63 124 22.86 129 C23.63 146 24.41 163 25.18 180 C25.33 183.4 25.18 197.44 26.68 199.5 C28.01 201.33 30.32 202.94 31.97 204.5 C37.79 210 43.62 215.5 49.44 221 C52.16 223.57 60.5 232.29 63 233.73 C64.91 234.82 77.88 237.02 81 237.69 C90.5 239.72 100 241.76 109.5 243.8 C112.77 244.5 116.66 246 120 246 C123.19 246 143.69 240.97 148.5 239.94 C152.57 239.07 175.06 234.84 177 233.73 C179.54 232.27 183.95 227.24 186.32 225 C192.55 219.12 198.77 213.24 205 207.36 C207.09 205.39 213.34 200.67 214 198.02 C214.74 195.06 214.65 183.83 214.82 180 C215.39 167.5 215.96 155 216.52 142.5 C216.91 134 217.3 125.5 217.68 117 C217.77 115.16 218.7 109.27 217 108.27 C214.68 106.91 211.26 112.91 210.04 114.5 C203.36 123.24 196.68 131.97 190 140.71 C183.68 148.97 177.36 157.24 171.04 165.5 C169.44 167.59 164.63 174.77 163.01 176 C161.21 177.37 157.66 177.66 155.5 178.25 C149 180.02 142.5 181.79 136 183.56 C132.6 184.49 122.37 188.05 119.5 187.79 C117.06 187.57 114.37 186.39 112 185.75 C105 183.84 98 181.93 91 180.02 C88.54 179.35 79.05 177.31 77.5 176.34 C75.46 175.05 71.68 169.06 70 166.86 C64 159.02 58 151.17 52 143.32 C45 134.17 38 125.02 31 115.86 C29.7 114.17 25.29 106.92 23 108.27 Z"},{fill:"accent",d:"M31 129.08 C30.83 129.18 31.08 133.51 31.1 134 C31.3 138.5 31.51 143 31.71 147.5 C32.23 159 32.76 170.5 33.28 182 C33.38 184.26 33.26 194.09 34.09 195.5 C35.17 197.32 41.21 202.22 43.09 204 C48.73 209.32 54.36 214.65 60 219.97 C62.03 221.89 64.08 224.44 66.39 226 C68.95 227.74 86.26 230.63 90.5 231.54 C96.75 232.88 105.4 235.43 111.5 236 C115.59 236.38 125.58 236.47 129.5 235.83 C137.54 234.51 145.53 232.39 153.5 230.69 C156.99 229.94 170.79 227.62 173 226.51 C175.03 225.49 180.56 219.44 182.5 217.61 C187.67 212.73 192.83 207.85 198 202.97 C199.86 201.22 204.77 197.42 205.91 195.5 C206.62 194.3 206.5 186.83 206.58 185 C207.02 175.5 207.45 166 207.88 156.5 C208.2 149.5 208.52 142.5 208.83 135.5 C208.92 133.72 209.19 129.54 209.11 129.5 C208.57 129.27 203.65 136.03 202.52 137.5 C195.52 146.66 188.51 155.83 181.5 164.99 C178.96 168.31 169.94 181.38 167.31 183 C164.18 184.92 155.89 186.43 152 187.49 C144.5 189.54 137 191.58 129.5 193.63 C126.63 194.41 123.47 195.74 120.5 195.98 C117.18 196.25 111.81 193.99 108.5 193.08 C100.5 190.9 92.5 188.72 84.5 186.54 C81.26 185.65 75.08 184.81 72.5 182.87 C69.62 180.71 59.01 165.66 56 161.72 C49.67 153.44 43.33 145.16 37 136.88 C34.7 133.87 31.03 129.05 31 129.08 Z"},{fill:"#f2eef4",d:"M112.5 46.46 C98.93 48.14 86.29 54.43 76.15 63.5 C44.86 91.51 38.25 141.01 54.77 178.5 C67.45 207.29 95.18 229.81 128 225.47 C141.63 223.67 154.29 217.22 164.4 208 C195.36 179.76 201.71 130.34 185.01 93 C172.31 64.61 144.93 42.44 112.5 46.46 Z"},{fill:"#3d3d3d",d:"M112 42.49 C89.7 45.35 70.68 59.42 58.6 78 C55.5 82.75 52.85 87.79 50.63 93 C50.47 93.36 48.79 97.47 48.83 97.5 C49.49 97.91 52.03 93.96 52.36 93.5 C54.54 90.45 59.14 82.93 61.5 80.7 C63.5 78.81 80.21 75.14 84 74.13 C85.49 73.74 90.24 71.93 91.5 72.13 C93.06 72.39 96.82 77.5 98 78.86 C103.33 84.95 108.67 91.05 114 97.14 C115.67 99.05 117.33 100.95 119 102.86 C119.33 103.24 119.49 104 120 104 C120.51 104 120.67 103.24 121 102.86 C123 100.57 125 98.29 127 96 C132 90.29 137 84.57 142 78.86 C142.67 78.09 147.64 72.11 148 72 C148.73 71.78 154.39 73.71 155.5 74 C158.39 74.77 176.92 79.22 178 80 C179.49 81.07 186.35 91.69 188 94 C188.99 95.38 190.99 98.2 191 98.2 C191.69 97.94 188.7 91.44 188.27 90.5 C184.89 83.14 180.63 76.18 175.5 69.92 C160.15 51.18 136.5 39.36 112 42.49 Z"}]},spider:{id:"spider",name:"Spider",paint:"bot",bone:null,eyes:{cx:120,cy:142,dx:28,w:24,h:46,round:40,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M111.5 64.49 C100.9 65.75 90.63 69.24 81.5 74.8 C73.1 79.92 65.76 86.72 60 94.69 C29.57 136.79 51.51 197.11 102 209.78 C110.8 211.98 120 212.55 129 211.45 C139.53 210.16 149.8 206.59 158.82 201 C202.82 173.75 205.99 110.29 164.67 79 C157.16 73.32 148.58 69.1 139.5 66.62 C130.43 64.14 120.84 63.38 111.5 64.49 Z",parts:[{fill:"#8d8d8d",d:"M119.5 -1.2 C118.33 -0.73 118.7 8.01 118.7 9.5 C118.7 20 118.7 30.5 118.7 41 C118.7 48 118.7 55 118.7 62 C118.7 62.99 117.97 68.21 120.5 67.2 C121.67 66.73 121.3 57.99 121.3 56.5 C121.3 46 121.3 35.5 121.3 25 C121.3 18 121.3 11 121.3 4 C121.3 3.01 122.03 -2.21 119.5 -1.2 Z"},{fill:"#3d3d3d",d:"M26 56.34 C22.33 58.06 6.97 75.56 3 79.77 C0.83 82.08 -2.54 85.01 -0.33 88.5 C0.9 90.45 3.25 91.52 5.5 90.77 C8.52 89.76 18.53 79.17 21.5 76.37 C22.78 75.17 26.71 70.42 28.5 71.33 C29.8 71.99 35.57 78.91 37.05 80.5 C43.27 87.17 49.49 93.83 55.71 100.5 C59.14 104.17 63.66 111.14 69.46 107.5 C76.32 103.2 70.53 97.33 67 93.69 C57.67 84.04 48.33 74.39 39 64.74 C36.15 61.79 30.77 54.11 26 56.34 Z M210 56.34 C206.02 58.21 200.28 65.48 197 68.88 C190.51 75.58 184.02 82.29 177.53 89 C174.72 91.91 171.28 94.74 168.88 98 C165.76 102.22 168.57 108.5 174 108.5 C178.19 108.5 180.94 104.08 183.5 101.35 C190.5 93.84 197.5 86.34 204.5 78.83 C205.33 77.95 211.72 70.85 212 70.8 C212.81 70.63 216.85 74.82 217.5 75.43 C221.83 79.51 226.17 83.6 230.5 87.68 C232.57 89.63 234.89 92.04 238 90.58 C240.63 89.35 241.87 86.06 240.33 83.5 C238.37 80.24 222.75 64.66 219 60.68 C216.77 58.32 213.77 54.57 210 56.34 Z M10 100.34 C6.57 101.78 5.82 105.35 4.59 108.5 C2.09 114.91 -3.16 126.5 -4.77 132.5 C-5.53 135.33 -3.96 138.26 -1 138.9 C0.61 139.25 2.32 138.71 3.5 137.57 C5.71 135.43 10 124.43 11.6 121 C12.42 119.26 13.6 114.34 16 114.47 C17.05 114.52 22.23 117.36 23.5 117.95 C30 120.96 36.5 123.98 43 126.99 C46.52 128.62 51.06 131.92 55 129.77 C59.03 127.57 59.76 121.75 56 118.88 C52.96 116.56 27.09 106.04 21.5 103.6 C18.36 102.23 13.53 98.87 10 100.34 Z M226 100.34 C219.38 102.72 212.95 106.02 206.5 108.84 C199.54 111.87 192.26 114.55 185.5 118 C180.19 120.71 180.18 128.78 186.5 130.32 C190.04 131.19 193.9 128.43 196.98 127 C203.45 124 209.92 121 216.39 118 C218.23 117.14 222.07 114.72 223.93 114.5 C226.17 114.23 227.56 119.21 228.4 121 C229.98 124.38 234.35 135.35 236.43 137.5 C237.58 138.69 239.38 139.25 241 138.9 C243.96 138.26 245.53 135.33 244.77 132.5 C243.68 128.44 241.63 124.42 240.1 120.5 C237.96 115.03 236.1 109.34 233.66 104 C232.3 101.03 229.26 99.18 226 100.34 Z M44 145.99 C35 146.55 26 147.11 17 147.68 C13.65 147.89 9.05 147.35 7 150.69 C5.17 153.67 4.75 159.49 4.03 163 C2.4 170.92 0.13 178.98 -0.9 187 C-1.28 189.93 0.44 192.59 3.5 192.97 C6.77 193.39 8.45 190.72 9.17 188 C11.04 181 12.89 174 14.75 167 C15.25 165.14 15.54 160.73 17.5 159.8 C18.46 159.34 24.99 159.52 26.5 159.46 C31.8 159.26 49.63 159.28 53.5 158.32 C58.63 157.06 60.29 150.15 56 146.88 C52.8 144.44 47.71 145.76 44 145.99 Z M186 145.82 C179.25 148.05 180.72 157.67 187.5 158.48 C195.76 159.46 206 159.18 214.5 159.5 C216.14 159.56 222.53 159.3 223.5 160.42 C224.25 161.29 225.14 166.61 225.51 168 C227.36 174.96 228.87 182.15 231.09 189 C232.47 193.22 237.75 194.57 240.33 190.5 C242.19 187.56 238.67 176.18 237.92 172.5 C237.05 168.24 234.71 152.61 232.5 150.03 C230.09 147.23 225.33 147.82 222 147.61 C214 147.11 206 146.61 198 146.11 C194.69 145.91 189.07 144.8 186 145.82 Z M62 171.82 C59.08 172.78 56.4 175.64 54 177.5 C47.94 182.16 41.87 186.83 35.81 191.5 C33.36 193.38 28.56 196.15 27 198.69 C25.09 201.8 24.02 214.22 23.36 218.5 C22.82 221.95 20.49 232.18 21.1 235 C21.37 236.25 21.99 237.19 23 238 C27 241.21 30.4 237.25 31.23 233.5 C32.65 227.01 34.08 220.52 35.5 214.03 C36.06 211.47 36.18 207.04 38 205.05 C39.42 203.49 41.79 202.27 43.5 201.03 C49.44 196.69 55.39 192.34 61.33 188 C63.95 186.09 67.63 184.22 69.48 181.5 C72.84 176.54 67.56 169.97 62 171.82 Z M174 171.82 C168.53 173.63 168.37 180.28 172.5 183.49 C179.62 189.04 187.12 194.17 194.41 199.5 C196.09 200.73 201.55 204.03 202.5 205.41 C203.45 206.81 203.88 211.21 204.27 213 C205.7 219.5 207.13 226 208.55 232.5 C209.34 236.06 211.26 240.8 216 238.58 C217.67 237.8 218.74 236.33 218.97 234.5 C219.36 231.5 217.12 221.59 216.56 218 C215.98 214.28 214.65 200.87 212.87 198.5 C210.6 195.47 194.7 184.19 190.55 181 C186.69 178.02 179.05 170.14 174 171.82 Z"},{fill:"body",d:"M111.5 64.49 C100.9 65.75 90.63 69.24 81.5 74.8 C73.1 79.92 65.76 86.72 60 94.69 C29.57 136.79 51.51 197.11 102 209.78 C110.8 211.98 120 212.55 129 211.45 C139.53 210.16 149.8 206.59 158.82 201 C202.82 173.75 205.99 110.29 164.67 79 C157.16 73.32 148.58 69.1 139.5 66.62 C130.43 64.14 120.84 63.38 111.5 64.49 Z"}]},rocket:{id:"rocket",name:"Rocket",paint:"bot",bone:null,eyes:{cx:120,cy:136,dx:24,w:20,h:38,round:34,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M84.5 92.44 C73.32 95.79 74 105.01 74 114.5 C74 134 74 153.5 74 173 C74 179.43 72.79 193.18 75.6 198.5 C79.55 205.97 86.14 206 93.5 206 C107.5 206 121.5 206 135.5 206 C141.06 206 151.57 206.94 156.5 205.26 C166.84 201.72 166 192.32 166 183.5 C166 163.5 166 143.5 166 123.5 C166 116.39 167.52 103.86 163.5 98.02 C159.05 91.55 151.95 92 145 92 C131.5 92 118 92 104.5 92 C99.62 92 88.68 91.19 84.5 92.44 Z",parts:[{fill:"#8d8d8d",d:"M118 195.42 C113.86 197.91 115.06 202.85 115.15 207 C115.38 218 115.6 229 115.83 240 C115.91 243.49 114.51 251.33 119.5 251.97 C125.29 252.7 124.07 244.44 124.15 241 C124.41 228.5 124.67 216 124.93 203.5 C124.96 202.08 125.21 200.4 124.9 199 C124.29 196.26 120.75 193.77 118 195.42 Z"},{fill:"#ffc93c",d:"M84 213.4 C82.94 213.74 81.82 222.52 80.78 224 C79.27 226.14 70.96 226.4 70.5 227.28 C69.33 229.53 78.59 230.23 80 231.22 C82.14 232.73 82.4 241.04 83.28 241.5 C85.53 242.67 86.23 233.41 87.22 232 C88.73 229.86 97.04 229.6 97.5 228.72 C98.81 226.21 88.45 226.3 87 223.63 C85.53 220.92 85.89 217.33 84.72 214.5 C84.55 214.1 84.42 213.27 84 213.4 Z M158 223.4 C156.36 224.56 156.92 229.31 155.55 231 C154.23 232.63 148.14 232.93 148 233.4 C147.47 235.25 153.92 235.58 155 236.45 C156.63 237.77 156.93 243.86 157.4 244 C159.25 244.53 159.58 238.08 160.45 237 C161.77 235.37 167.86 235.07 168 234.6 C168.53 232.75 162.08 232.42 161 231.55 C158.88 229.83 159.6 226.27 158.6 224 C158.49 223.74 158.23 223.24 158 223.4 Z"},{fill:"body",d:"M84.5 92.44 C73.32 95.79 74 105.01 74 114.5 C74 134 74 153.5 74 173 C74 179.43 72.79 193.18 75.6 198.5 C79.55 205.97 86.14 206 93.5 206 C107.5 206 121.5 206 135.5 206 C141.06 206 151.57 206.94 156.5 205.26 C166.84 201.72 166 192.32 166 183.5 C166 163.5 166 143.5 166 123.5 C166 116.39 167.52 103.86 163.5 98.02 C159.05 91.55 151.95 92 145 92 C131.5 92 118 92 104.5 92 C99.62 92 88.68 91.19 84.5 92.44 Z"},{fill:"#fff3dc",d:"M74.5 178 C74.01 178.37 73.72 191.13 74 191.5 C74.32 191.92 74.98 191.91 75.5 192 C79.35 192.64 93.12 192 98 192 C113.5 192 129 192 144.5 192 C150 192 155.5 192 161 192 C162.97 192 165.59 192.94 166 190.5 C166.16 189.56 166.17 178.73 166 178.5 C165.39 177.69 161.04 178 160 178 C155 178 150 178 145 178 C127.5 178 110 178 92.5 178 C88 178 83.5 178 79 178 C78.56 178 74.65 177.88 74.5 178 Z"},{fill:"#3d3d3d",d:"M118 14.34 C114.29 15.71 108.91 27.66 106.79 31.5 C97.95 47.5 89.11 63.5 80.26 79.5 C78.24 83.17 73.15 90.9 72.19 94.5 C71.8 95.98 72.01 97.69 72.81 99 C73.75 100.55 75.21 101.59 77 101.92 C81.22 102.68 90.27 102 95 102 C111 102 127 102 143 102 C147.08 102 161.03 102.75 164 101.66 C172.74 98.43 164.27 87.7 161.67 83 C152 65.5 142.33 48 132.66 30.5 C130.72 27 126.58 17.88 124 15.53 C122.41 14.08 120.02 13.6 118 14.34 Z"}]},anaar:{id:"anaar",name:"Anaar",paint:"bot",bone:null,eyes:{cx:120,cy:170,dx:26,w:22,h:40,round:36,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M85.5 97.46 C83.8 98.28 82.55 99.28 81.68 101 C79.47 105.36 75.47 119.45 73.62 125 C64.95 151 56.29 177 47.62 203 C45.29 210 42.95 217 40.62 224 C39.47 227.46 37.89 231.06 40.5 234.33 C43.03 237.5 46.89 237 50.5 237 C59 237 67.5 237 76 237 C105 237 134 237 163 237 C171 237 179 237 187 237 C190.24 237 194.59 237.78 197.5 236.06 C203.71 232.4 199.73 225.07 198.05 220 C193.05 205 188.05 190 183.05 175 C176.71 156 170.38 137 164.05 118 C162.7 113.98 159.82 102.92 157.74 100 C157 98.96 156.14 98.24 155 97.68 C151.84 96.12 145.11 97 141.5 97 C132 97 122.5 97 113 97 C106.5 97 100 97 93.5 97 C91.12 97 87.71 96.39 85.5 97.46 Z",parts:[{fill:"#ffc93c",d:"M119 5.71 C116.56 7.31 117.27 11.92 117.13 14.5 C116.63 23 116.14 31.5 115.65 40 C115.58 41.37 115.32 49.98 114.55 50.5 C112.6 51.82 110.67 45.61 110.21 44.5 C107.69 38.5 105.18 32.5 102.67 26.5 C101.93 24.72 100.92 19.95 98 20.92 C94.8 21.99 96.74 25.86 97.31 28 C99.04 34.49 100.77 40.98 102.5 47.47 C102.75 48.42 104.49 54.52 103.71 55 C102.24 55.9 98.4 50.91 97.5 49.89 C92.84 44.59 88.17 39.3 83.51 34 C81.99 32.28 79.13 28.39 77.05 32 C76.18 33.51 77.75 35.16 78.5 36.29 C81.17 40.29 83.83 44.29 86.5 48.3 C91.5 55.81 96.5 63.31 101.5 70.82 C104.14 74.79 107.27 78.72 109.39 83 C110.59 85.4 110.6 88.16 111.97 90.5 C114.3 94.45 119.21 96.31 123.5 94.51 C129.49 91.99 129.75 84.46 132.76 79.5 C139.59 68.24 147.4 57.46 154.7 46.5 C156.1 44.39 163.2 34.78 163.17 33 C163.16 32.47 163 31.9 162.65 31.5 C159.85 28.35 156.6 33.88 155 35.7 C150.67 40.61 146.33 45.53 142 50.45 C141.38 51.16 138.17 55 137.51 55 C134.61 55 137.38 47.94 137.76 46.5 C139.36 40.5 140.96 34.5 142.56 28.5 C143.13 26.36 145.07 22.67 142.5 21.12 C139.53 19.32 138.26 24.27 137.54 26 C135.03 32 132.51 38 130 44 C129.58 45.01 127.2 51.27 126.08 51 C124.62 50.65 124.54 43.36 124.46 42 C123.94 33 123.42 24 122.9 15 C122.81 13.36 123.24 2.93 119 5.71 Z"},{fill:"#fff3c4",d:"M118.5 36.36 C114.78 38.21 113.38 43.83 112.53 47.5 C110.82 54.8 110.6 62.56 111.44 70 C111.72 72.5 112.49 75 112.62 77.5 C112.77 80.03 111.72 82.46 112.06 85 C112.75 90.08 118.2 93.41 123 91.42 C130.09 88.47 127.07 82.94 127.38 77.5 C127.51 75 128.28 72.5 128.56 70 C129.4 62.56 129.18 54.8 127.47 47.5 C126.7 44.21 123.66 33.8 118.5 36.36 Z"},{fill:"#ffc93c",d:"M120 -3.6 C118.09 -2.25 119.38 2.17 117 3.91 C115.7 4.86 111.13 4.95 111 5.4 C110.48 7.21 116.67 7.3 117.91 9 C118.86 10.3 118.95 14.87 119.4 15 C121.23 15.53 121.36 10.39 121.84 9.5 C123.09 7.14 128.92 6.87 129 6.6 C129.52 4.79 123.33 4.7 122.09 3 C120.9 1.37 121.38 -1.21 120.6 -3 C120.49 -3.26 120.23 -3.76 120 -3.6 Z M56 22.4 C53.85 23.91 55.2 29.53 52.54 31.5 C50.93 32.7 45.18 32.78 45 33.4 C44.45 35.34 52.08 35.53 53.5 37.46 C54.7 39.07 54.78 44.82 55.4 45 C57.3 45.54 57.67 39.05 58.23 38 C59.66 35.35 66.89 35 67 34.6 C67.55 32.66 59.92 32.47 58.5 30.54 C57.02 28.54 57.59 25.22 56.6 23 C56.48 22.74 56.23 22.24 56 22.4 Z M184 22.4 C181.85 23.91 183.2 29.53 180.54 31.5 C178.93 32.7 173.18 32.78 173 33.4 C172.45 35.34 180.08 35.53 181.5 37.46 C182.7 39.07 182.78 44.82 183.4 45 C185.3 45.54 185.67 39.05 186.23 38 C187.66 35.35 194.89 35 195 34.6 C195.55 32.66 187.92 32.47 186.5 30.54 C185.02 28.54 185.59 25.22 184.6 23 C184.48 22.74 184.23 22.24 184 22.4 Z"},{fill:"body",d:"M85.5 97.46 C83.8 98.28 82.55 99.28 81.68 101 C79.47 105.36 75.47 119.45 73.62 125 C64.95 151 56.29 177 47.62 203 C45.29 210 42.95 217 40.62 224 C39.47 227.46 37.89 231.06 40.5 234.33 C43.03 237.5 46.89 237 50.5 237 C59 237 67.5 237 76 237 C105 237 134 237 163 237 C171 237 179 237 187 237 C190.24 237 194.59 237.78 197.5 236.06 C203.71 232.4 199.73 225.07 198.05 220 C193.05 205 188.05 190 183.05 175 C176.71 156 170.38 137 164.05 118 C162.7 113.98 159.82 102.92 157.74 100 C157 98.96 156.14 98.24 155 97.68 C151.84 96.12 145.11 97 141.5 97 C132 97 122.5 97 113 97 C106.5 97 100 97 93.5 97 C91.12 97 87.71 96.39 85.5 97.46 Z"},{fill:"#fff3dc",d:"M76 118 C75.28 118.7 72.97 126.95 72.45 128.5 C72.12 129.5 70.97 130.57 71.45 131.5 C71.94 132.43 75.2 132 76 132 C80.5 132 85 132 89.5 132 C108.5 132 127.5 132 146.5 132 C152 132 157.5 132 163 132 C164.65 132 168.04 132.94 168.21 130.5 C168.25 130.02 164.42 118.69 164.21 118.5 C163.17 117.56 149.79 118 147.5 118 C131.5 118 115.5 118 99.5 118 C93.5 118 87.5 118 81.5 118 C80.99 118 76.06 117.94 76 118 Z"},{fill:"#3d3d3d",d:"M102.5 86.46 C98.27 88.32 98 91.95 98 96 C98 99.72 98.12 103.49 102 105.32 C104.64 106.57 108.16 106 111 106 C115.81 106 134.81 106.83 138 105.32 C143.72 102.62 143.72 89.38 138 86.68 C134.81 85.17 115.81 86 111 86 C108.41 86 104.93 85.4 102.5 86.46 Z"}]},chakri:{id:"chakri",name:"Chakri",paint:"bot",bone:null,eyes:{cx:120,cy:126,dx:24,w:20,h:38,round:34,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M111 46.47 C98.86 47.75 87.03 51.64 76.5 57.81 C66.82 63.49 58.28 71.06 51.5 80 C14.9 128.24 38.89 199.11 97.48 215 C107.72 217.78 118.45 218.64 129 217.53 C141.14 216.25 152.97 212.36 163.5 206.19 C173.18 200.51 181.72 192.94 188.5 184 C225.1 135.76 201.11 64.89 142.52 49 C132.28 46.22 121.55 45.36 111 46.47 Z",parts:[{fill:"#ffc93c",d:"M74 30.45 C70.49 31.64 64.72 37 62 39.72 C51.88 49.87 45.59 62.85 43.61 77 C42.81 82.68 41.74 95.72 48 98.45 C52.15 100.26 56.99 97.42 57.65 93 C58.04 90.36 55.7 83.04 55.4 79.5 C54.75 71.87 56.06 64.16 58.69 57 C61.05 50.58 64.6 44.67 69 39.44 C70.84 37.26 73.16 35.52 75 33.38 C76.08 32.13 76.14 29.72 74 30.45 Z M150.5 33.46 C138.12 34.29 126.42 38.39 116.5 45.91 C111.03 50.06 112.32 59 120 59 C124.16 59 126.63 55.04 129.5 52.61 C134.19 48.64 139.68 45.6 145.5 43.64 C153.7 40.86 162.4 40.01 171 40.99 C172.62 41.18 184.35 43.93 184.5 43.85 C188.58 41.74 178.17 38.02 177 37.57 C168.7 34.37 159.39 32.87 150.5 33.46 Z M187 85.38 C181.77 87.68 180.52 94.47 185.5 97.89 C188.08 99.66 192.92 100.18 195.99 101.5 C202.87 104.47 208.94 108.98 213.99 114.5 C218.86 119.84 222.71 126.24 225.24 133 C225.71 134.24 228.08 143.29 228.31 143.5 C228.74 143.9 229.44 144.2 229.99 144 C231.59 143.4 230.9 140.64 230.84 139.5 C230.55 134.43 229.53 129.32 227.91 124.5 C223.32 110.78 214.55 99.06 202.5 91.03 C199.18 88.81 191.04 83.6 187 85.38 Z M10.5 119.91 C8.34 120.32 9.07 122.57 9.14 124 C9.38 129.07 10.36 134.17 11.91 139 C16.47 153.16 25.72 165.52 38.3 173.5 C42.52 176.18 50.17 181.49 55 177.54 C58.29 174.85 58.61 170.04 55.61 167 C53.12 164.47 48.22 164.22 45 162.93 C38.4 160.29 32.46 156.11 27.5 151.05 C21.93 145.35 17.55 138.46 14.76 131 C14.14 129.35 12.19 121.12 11.69 120.5 C11.42 120.15 10.94 119.83 10.5 119.91 Z M187 165.38 C184.27 166.58 182.27 168.88 182.28 172 C182.3 175.45 184 179.03 184.4 182.5 C185.35 190.59 184.28 198.82 181.5 206.47 C179.01 213.3 175.31 219.7 170.5 225.16 C169.45 226.36 164.6 230.52 164.21 231.5 C163.69 232.82 164.75 233.69 166 233.55 C168.2 233.31 176.11 226.18 178 224.28 C188.58 213.68 195.87 199.08 196.67 184 C196.96 178.59 197.96 168.15 192 165.55 C190.54 164.91 188.5 164.72 187 165.38 Z M117.5 205.46 C114.7 206.69 109.27 212.67 105.65 215 C98.01 219.9 89.04 222.68 80 223.3 C74.5 223.67 68.88 223.28 63.5 222.08 C62.07 221.76 57.07 219.8 56 220.03 C54.77 220.29 54.13 221.41 54.95 222.5 C56.54 224.63 67.12 227.84 70 228.61 C85.91 232.86 103.96 230.48 118 221.84 C120.3 220.42 122.96 218.92 124.9 217 C130 211.92 124.39 202.44 117.5 205.46 Z"},{fill:"body",d:"M111 46.47 C98.86 47.75 87.03 51.64 76.5 57.81 C66.82 63.49 58.28 71.06 51.5 80 C14.9 128.24 38.89 199.11 97.48 215 C107.72 217.78 118.45 218.64 129 217.53 C141.14 216.25 152.97 212.36 163.5 206.19 C173.18 200.51 181.72 192.94 188.5 184 C225.1 135.76 201.11 64.89 142.52 49 C132.28 46.22 121.55 45.36 111 46.47 Z"},{fill:"#3d3d3d",d:"M151.5 53.91 C149.68 54.3 148.66 56.44 149.83 58 C150.98 59.53 155.66 61.23 157.5 62.31 C161.79 64.82 165.84 67.73 169.58 71 C182.08 81.92 190.92 96.78 194.43 113 C203.28 153.79 177.05 195.2 135.5 202.65 C84.6 211.77 39.51 164.21 55.93 114 C58.35 106.59 62.08 99.6 66.93 93.5 C72.41 86.61 79.25 80.84 87 76.67 C116.65 60.68 154.62 70.66 171.14 100.5 C177.43 111.85 179.88 125.17 177.92 138 C177.3 142.1 176.23 146.13 174.75 150 C174.19 151.45 173.19 153.01 172.81 154.5 C172.19 156.98 174.88 159.06 177 157.29 C180.8 154.11 183.66 135.74 183.77 130.5 C184.39 100.13 162.81 73.06 133.5 65.81 C124.69 63.62 115.46 63.25 106.5 64.67 C97.48 66.1 88.78 69.34 81 74.13 C74.14 78.36 68.02 83.8 63 90.1 C31.87 129.13 49.92 186.89 96 204.13 C156.15 226.64 214.37 169.92 198.83 109 C194.01 90.12 182.41 73.32 166.57 62 C164.36 60.42 153.86 53.41 151.5 53.91 Z"}]},sparkler:{id:"sparkler",name:"Sparkler",paint:"bot",bone:null,eyes:{cx:120,cy:104,dx:24,w:21,h:40,round:36,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M112.5 46.46 C104.13 47.48 95.94 50.21 88.67 54.5 C41.85 82.12 50.89 153.23 103.5 167.76 C111.29 169.91 119.48 170.52 127.5 169.54 C135.87 168.52 144.06 165.79 151.33 161.5 C198.15 133.88 189.11 62.77 136.5 48.24 C128.71 46.09 120.52 45.48 112.5 46.46 Z",parts:[{fill:"#8d8d8d",d:"M118 155.97 C116.82 156.76 116.29 157.12 115.76 158.5 C114.81 160.99 115.57 171.69 115.59 175 C115.69 193 115.8 211 115.9 229 C115.92 232.52 115.37 244.42 116.13 247 C116.59 248.57 117.85 249.76 119.5 249.97 C121.12 250.17 122.71 249.35 123.5 247.93 C124.83 245.56 124.07 233.41 124.09 230 C124.21 210.5 124.32 191 124.43 171.5 C124.46 167.4 126.07 157.51 121.5 155.76 C120.5 155.38 118.93 155.35 118 155.97 Z"},{fill:"#ffc93c",d:"M147.5 0 C146.05 0.87 144.26 7.21 143.57 9 C140.94 15.9 136.25 26.33 134.42 33 C133.53 36.24 135.58 39.61 139 40.05 C142.95 40.55 144.77 37.34 145.31 34 C146.75 25 148.2 16 149.64 7 C149.95 5.1 151.62 0.75 149 -0.18 C148.53 -0.35 147.93 -0.26 147.5 0 Z M94.5 13.38 C92.16 14.23 93.48 18.71 93.64 20.5 C93.94 23.84 94.18 34.58 95.39 37 C96.66 39.55 99.86 40.85 102.5 39.64 C104.51 38.73 105.89 36.74 105.83 34.5 C105.76 31.79 100.69 22.52 99.29 19.5 C98.53 17.87 97.1 12.44 94.5 13.38 Z M41.5 28.35 C40.38 28.74 39.99 29.99 40.38 31 C41.12 32.94 46.85 39.07 48.5 41.09 C51.67 44.99 59.38 55.53 62.5 58.27 C64.68 60.19 67.81 60.25 70 58.29 C72.05 56.45 72.31 53.19 70.69 51 C68.79 48.44 54.22 37.41 50.64 34.5 C49.04 33.21 43.34 27.71 41.5 28.35 Z M187 38.33 C184.94 39.36 171.17 48.97 169.73 50.5 C167.74 52.61 167.81 55.87 169.71 58 C171.53 60.03 174.83 60.34 177 58.69 C179.44 56.83 183.98 49.1 186 46.23 C187.07 44.7 189.49 42.34 189.84 40.5 C190.15 38.9 188.41 37.61 187 38.33 Z M223.5 77.96 C214 79.48 204.5 81.01 195 82.53 C191.31 83.13 186.95 84.74 188.04 89.5 C188.69 92.38 191.59 94.32 194.5 93.72 C198.75 92.85 213.38 86.57 218.5 84.62 C220.15 83.99 226.55 82.04 227.5 81.09 C227.91 80.67 228.24 80.09 228.25 79.5 C228.28 76.78 224.99 77.72 223.5 77.96 Z M26.5 81.31 C24.17 82.43 25.59 84.32 27 85.2 C29.32 86.65 44.47 93.77 46.5 93.83 C48.74 93.89 50.73 92.5 51.64 90.5 C52.78 88.01 51.68 84.74 49.21 83.5 C46.33 82.05 37.59 82.09 34 81.77 C32.52 81.64 27.68 80.74 26.5 81.31 Z M45 122.42 C42.46 123.12 39.96 124.34 37.5 125.28 C31.5 127.57 25.5 129.86 19.5 132.15 C17.81 132.79 10.94 134.51 11.82 137 C12.81 139.78 18.45 137.73 20.5 137.4 C24.9 136.69 46.6 133.83 49 132.61 C54.91 129.6 51.29 120.7 45 122.42 Z M192 122.35 C187.44 123.62 186.34 130.26 190.79 132.5 C193.45 133.84 203.95 134.05 207.5 134.36 C209 134.49 212.11 135.36 213.5 134.69 C215.83 133.57 214.41 131.68 213 130.8 C210.51 129.24 197.79 123.33 195 122.43 C194.01 122.12 193.01 122.08 192 122.35 Z M65 156.39 C61.08 157.74 54.77 168.67 52.09 172.5 C51.16 173.81 48.32 177.47 52 177.88 C53.42 178.04 55.47 175.94 56.5 175.21 C59.62 173.02 70.36 166.61 71.47 163.5 C72.79 159.79 69.07 154.98 65 156.39 Z M172.5 156.38 C168.57 157.72 166.8 162.16 169.73 165.5 C172.49 168.64 185.23 178.14 189.36 181.5 C190.96 182.79 196.66 188.29 198.5 187.65 C202.13 186.38 196.6 181.18 195.5 179.82 C190.5 173.68 185.5 167.53 180.5 161.38 C178.6 159.04 176.17 155.13 172.5 156.38 Z M99.5 175.97 C95.51 176.61 94.98 180.2 94.45 183.5 C93.25 191 92.04 198.5 90.84 206 C90.49 208.17 88.38 215.25 91 216.18 C93.52 217.07 95.2 210.22 95.85 208.5 C98.14 202.5 100.43 196.5 102.72 190.5 C103.66 188.04 104.88 185.54 105.58 183 C106.62 179.22 103.52 175.33 99.5 175.97 Z M139 175.95 C136.26 176.26 134.1 178.75 134.17 181.5 C134.25 184.35 139.9 194.76 141.41 198 C142.1 199.48 143.1 203.49 145.5 202.62 C147.84 201.77 146.52 197.29 146.36 195.5 C146.06 192.16 145.82 181.42 144.61 179 C143.57 176.9 141.32 175.69 139 175.95 Z"},{fill:"#ffc93c",d:"M28 21.4 C26.98 21.73 26.13 29.17 25.16 30.5 C23.82 32.35 16.86 32.6 16.5 33.28 C15.35 35.45 23.22 35.91 24.5 36.84 C26.35 38.18 26.6 45.14 27.28 45.5 C29.45 46.65 29.91 38.78 30.84 37.5 C32.18 35.65 39.14 35.4 39.5 34.72 C40.75 32.35 31.89 32.57 30.54 30 C29.05 27.18 29.25 21 28 21.4 Z M214 47.4 C212.36 48.56 212.92 53.31 211.55 55 C210.23 56.63 204.14 56.93 204 57.4 C203.47 59.25 209.92 59.58 211 60.45 C212.63 61.77 212.93 67.86 213.4 68 C215.25 68.53 215.58 62.08 216.45 61 C217.77 59.37 223.86 59.07 224 58.6 C224.53 56.75 218.08 56.42 217 55.55 C214.88 53.83 215.6 50.27 214.6 48 C214.49 47.74 214.23 47.24 214 47.4 Z M36 160.4 C34.09 161.75 35.38 166.17 33 167.91 C31.7 168.86 27.13 168.95 27 169.4 C26.48 171.21 32.67 171.3 33.91 173 C34.86 174.3 34.95 178.87 35.4 179 C37.23 179.53 37.36 174.39 37.84 173.5 C39.09 171.14 44.92 170.87 45 170.6 C45.52 168.79 39.33 168.7 38.09 167 C36.9 165.37 37.38 162.79 36.6 161 C36.49 160.74 36.23 160.24 36 160.4 Z"},{fill:"body",d:"M112.5 46.46 C104.13 47.48 95.94 50.21 88.67 54.5 C41.85 82.12 50.89 153.23 103.5 167.76 C111.29 169.91 119.48 170.52 127.5 169.54 C135.87 168.52 144.06 165.79 151.33 161.5 C198.15 133.88 189.11 62.77 136.5 48.24 C128.71 46.09 120.52 45.48 112.5 46.46 Z"}]},bomb:{id:"bomb",name:"Bomb",paint:"bot",bone:null,eyes:{cx:120,cy:150,dx:34,w:26,h:50,round:44,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M111 62.47 C98.86 63.75 87.03 67.64 76.5 73.81 C66.82 79.49 58.28 87.06 51.5 96 C14.9 144.24 38.89 215.11 97.48 231 C107.72 233.78 118.45 234.64 129 233.53 C141.14 232.25 152.97 228.36 163.5 222.19 C173.18 216.51 181.72 208.94 188.5 200 C225.1 151.76 201.11 80.89 142.52 65 C132.28 62.22 121.55 61.36 111 62.47 Z",parts:[{fill:"#b08a5a",d:"M190.5 14.84 C188.2 16.26 186.69 22.31 182.29 25.5 C171.79 33.11 159.94 29.76 151.1 43.5 C149.19 46.48 145.5 52.25 149 55.35 C154.69 60.39 156.89 50.92 158.67 48 C159.93 45.93 161.56 44.17 163.5 42.73 C171.81 36.57 182.48 36.65 189.94 28.5 C192.23 26 195.04 21.96 195.46 18.5 C195.77 16.02 192.92 13.34 190.5 14.84 Z"},{fill:"#3d3d3d",d:"M132.5 40.29 C129.8 41.52 123.5 56.05 121.78 59.5 C120.88 61.29 119.34 63.4 120.29 65.5 C121.29 67.69 124.01 68.48 126 69.47 C131 71.97 136 74.47 141 76.97 C144.05 78.5 154.65 85 157.5 83.71 C160.2 82.48 166.5 67.95 168.22 64.5 C169.12 62.71 170.66 60.6 169.71 58.5 C168.71 56.31 165.99 55.52 164 54.53 C159 52.03 154 49.53 149 47.03 C145.95 45.5 135.35 39 132.5 40.29 Z"},{fill:"body",d:"M111 62.47 C98.86 63.75 87.03 67.64 76.5 73.81 C66.82 79.49 58.28 87.06 51.5 96 C14.9 144.24 38.89 215.11 97.48 231 C107.72 233.78 118.45 234.64 129 233.53 C141.14 232.25 152.97 228.36 163.5 222.19 C173.18 216.51 181.72 208.94 188.5 200 C225.1 151.76 201.11 80.89 142.52 65 C132.28 62.22 121.55 61.36 111 62.47 Z"},{fill:"#ffc93c",d:"M196 -6.6 C194.72 -6.19 193.32 5.23 192 7 C190.4 9.13 184.13 9.89 181.5 10.54 C180.5 10.78 178.97 10.36 178.5 11.28 C177.22 13.76 189.33 14.75 191 16 C193.13 17.6 193.89 23.87 194.54 26.5 C194.78 27.5 194.36 29.03 195.28 29.5 C197.76 30.78 198.75 18.67 200 17 C201.6 14.87 207.87 14.11 210.5 13.46 C211.5 13.22 213.03 13.64 213.5 12.72 C214.49 10.8 210.78 10.61 210 10.41 C207 9.67 201.4 9.44 199.75 6.5 C198.53 4.35 197.74 -1.36 197.09 -4 C196.82 -5.13 196.52 -6.76 196 -6.6 Z"},{fill:"#fff3c4",d:"M194 6.34 C185.67 9.82 192 21.46 199 17.19 C204.97 13.56 200.6 3.59 194 6.34 Z"}]},laddu:{id:"laddu",name:"Laddu",paint:"bone",bone:"#f6a420",eyes:{cx:120,cy:138,dx:34,w:26,h:50,round:44,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M118 44.82 C114.73 46.19 114.06 49.72 112 50.32 C109.4 51.07 107.36 44.78 102 46.23 C97.16 47.54 98.12 52.8 95 53.5 C92.77 54 90.49 49.4 86 50.78 C80.4 52.5 82.43 58.49 79.68 59.5 C77.1 60.45 74.63 56.47 70.5 58.39 C64.71 61.09 68.32 65.69 66 67.95 C63.86 70.04 59.56 65.76 55.58 69.5 C51.81 73.05 55.55 78.07 53 79.77 C50.36 81.53 46.21 77.52 43.14 83.5 C41.36 86.98 44.7 90.79 43.54 92.5 C41.61 95.36 34.86 92.17 33.88 99.5 C33.47 102.66 36.59 104.71 36.2 107 C35.76 109.56 30.29 109.18 28.5 112.92 C25.79 118.57 31.55 119.99 31.56 123 C31.57 125.72 25.92 126.11 25.01 130.5 C23.79 136.37 29.98 136.93 29.99 140 C30.01 142.91 24.23 143.49 24.93 149 C25.6 154.32 29.84 153.19 31.35 156 C32.58 158.3 26.85 161.35 28.11 166 C29.6 171.53 34.04 169.54 35.78 172 C37.53 174.47 32.16 177.91 34.48 182.5 C36.96 187.41 42.48 184.84 43.75 188 C44.38 189.58 41.85 192.6 42.75 195.5 C45.02 202.81 51.48 198.16 53.5 200.68 C54.97 202.51 52.93 205.91 54.14 208.5 C57.26 215.16 62.61 210.56 65 211.44 C68.44 212.71 64.59 219.43 71 221.8 C74.53 223.11 78.1 219.43 80 220.65 C82.91 222.51 80.14 227.96 86.5 229.35 C90.35 230.19 93.62 225.72 95.5 226.62 C98.57 228.09 97.03 232.87 102.5 233.88 C107.85 234.87 107.96 230.39 111 229.66 C114.12 228.92 115.05 236.9 121.5 235.32 C125 234.47 126.5 229.11 129 229.66 C131.94 230.32 132.17 234.87 137.5 233.88 C142.95 232.88 142.19 226.21 145.5 226.49 C148.56 226.74 149.49 231.07 154.5 229.05 C159.76 226.93 157.34 223.11 159.5 221.01 C161.48 219.1 165.4 222.8 168.5 221.96 C175.59 220.04 171.5 213.57 174.5 211.67 C177.08 210.03 180.79 214.73 184.89 210 C187.99 206.42 184.79 203.31 186.25 201 C187.8 198.53 192.98 201.74 196.25 197.5 C199.37 193.45 194.8 188.99 196.84 187 C199.21 184.68 202.93 187.6 205.5 182.54 C207.85 177.91 202.48 174.47 204.22 172 C206.03 169.44 211.41 171.42 212.07 165 C212.47 161.15 207.52 158.17 208.65 156 C210.12 153.18 215.81 153.89 215.08 147.5 C214.63 143.5 210.02 142.44 210.01 140 C210 137.61 214.63 136.47 215.08 132.5 C215.81 126.12 210.18 126.85 208.65 124 C207.42 121.7 213.15 118.65 211.89 114 C210.4 108.47 205.96 110.46 204.22 108 C202.47 105.53 207.84 102.09 205.52 97.5 C203.04 92.59 197.52 95.16 196.25 92 C195.26 89.53 200.17 86.01 195.5 81.66 C192.49 78.85 187.92 81.1 186.5 79.32 C184.77 77.17 187.83 73.6 185 70.13 C181 65.24 175.66 70.47 173.63 67.5 C171.98 65.09 175.31 60.53 169 58.2 C165.47 56.89 161.9 60.57 160 59.35 C157.95 58.04 158.79 54.22 156.5 52.18 C150.9 47.2 147.12 54.63 144.5 53.38 C142.27 52.31 142.37 49.11 140.5 47.51 C134.76 42.58 131.49 49.75 129 50.34 C125.88 51.08 124.32 42.16 118 44.82 Z",parts:[{fill:"body",d:"M118 44.82 C114.73 46.19 114.06 49.72 112 50.32 C109.4 51.07 107.36 44.78 102 46.23 C97.16 47.54 98.12 52.8 95 53.5 C92.77 54 90.49 49.4 86 50.78 C80.4 52.5 82.43 58.49 79.68 59.5 C77.1 60.45 74.63 56.47 70.5 58.39 C64.71 61.09 68.32 65.69 66 67.95 C63.86 70.04 59.56 65.76 55.58 69.5 C51.81 73.05 55.55 78.07 53 79.77 C50.36 81.53 46.21 77.52 43.14 83.5 C41.36 86.98 44.7 90.79 43.54 92.5 C41.61 95.36 34.86 92.17 33.88 99.5 C33.47 102.66 36.59 104.71 36.2 107 C35.76 109.56 30.29 109.18 28.5 112.92 C25.79 118.57 31.55 119.99 31.56 123 C31.57 125.72 25.92 126.11 25.01 130.5 C23.79 136.37 29.98 136.93 29.99 140 C30.01 142.91 24.23 143.49 24.93 149 C25.6 154.32 29.84 153.19 31.35 156 C32.58 158.3 26.85 161.35 28.11 166 C29.6 171.53 34.04 169.54 35.78 172 C37.53 174.47 32.16 177.91 34.48 182.5 C36.96 187.41 42.48 184.84 43.75 188 C44.38 189.58 41.85 192.6 42.75 195.5 C45.02 202.81 51.48 198.16 53.5 200.68 C54.97 202.51 52.93 205.91 54.14 208.5 C57.26 215.16 62.61 210.56 65 211.44 C68.44 212.71 64.59 219.43 71 221.8 C74.53 223.11 78.1 219.43 80 220.65 C82.91 222.51 80.14 227.96 86.5 229.35 C90.35 230.19 93.62 225.72 95.5 226.62 C98.57 228.09 97.03 232.87 102.5 233.88 C107.85 234.87 107.96 230.39 111 229.66 C114.12 228.92 115.05 236.9 121.5 235.32 C125 234.47 126.5 229.11 129 229.66 C131.94 230.32 132.17 234.87 137.5 233.88 C142.95 232.88 142.19 226.21 145.5 226.49 C148.56 226.74 149.49 231.07 154.5 229.05 C159.76 226.93 157.34 223.11 159.5 221.01 C161.48 219.1 165.4 222.8 168.5 221.96 C175.59 220.04 171.5 213.57 174.5 211.67 C177.08 210.03 180.79 214.73 184.89 210 C187.99 206.42 184.79 203.31 186.25 201 C187.8 198.53 192.98 201.74 196.25 197.5 C199.37 193.45 194.8 188.99 196.84 187 C199.21 184.68 202.93 187.6 205.5 182.54 C207.85 177.91 202.48 174.47 204.22 172 C206.03 169.44 211.41 171.42 212.07 165 C212.47 161.15 207.52 158.17 208.65 156 C210.12 153.18 215.81 153.89 215.08 147.5 C214.63 143.5 210.02 142.44 210.01 140 C210 137.61 214.63 136.47 215.08 132.5 C215.81 126.12 210.18 126.85 208.65 124 C207.42 121.7 213.15 118.65 211.89 114 C210.4 108.47 205.96 110.46 204.22 108 C202.47 105.53 207.84 102.09 205.52 97.5 C203.04 92.59 197.52 95.16 196.25 92 C195.26 89.53 200.17 86.01 195.5 81.66 C192.49 78.85 187.92 81.1 186.5 79.32 C184.77 77.17 187.83 73.6 185 70.13 C181 65.24 175.66 70.47 173.63 67.5 C171.98 65.09 175.31 60.53 169 58.2 C165.47 56.89 161.9 60.57 160 59.35 C157.95 58.04 158.79 54.22 156.5 52.18 C150.9 47.2 147.12 54.63 144.5 53.38 C142.27 52.31 142.37 49.11 140.5 47.51 C134.76 42.58 131.49 49.75 129 50.34 C125.88 51.08 124.32 42.16 118 44.82 Z"},{fill:"#ffc560",d:"M105.5 58.92 C100.23 60.32 102.29 68.46 107.5 67.08 C112.77 65.68 110.71 57.54 105.5 58.92 Z M125.5 58.92 C120.23 60.32 122.29 68.46 127.5 67.08 C132.77 65.68 130.71 57.54 125.5 58.92 Z M79 71.92 C73.73 73.32 75.79 81.46 81 80.08 C86.27 78.68 84.21 70.54 79 71.92 Z M99 71.92 C93.73 73.32 95.79 81.46 101 80.08 C106.27 78.68 104.21 70.54 99 71.92 Z M114 71.92 C108.73 73.32 110.79 81.46 116 80.08 C121.27 78.68 119.21 70.54 114 71.92 Z M134 71.92 C128.73 73.32 130.79 81.46 136 80.08 C141.27 78.68 139.21 70.54 134 71.92 Z M149 71.92 C143.73 73.32 145.79 81.46 151 80.08 C156.27 78.68 154.21 70.54 149 71.92 Z M54.5 84.92 C49.23 86.32 51.29 94.46 56.5 93.08 C61.77 91.68 59.71 83.54 54.5 84.92 Z M74.5 84.92 C69.23 86.32 71.29 94.46 76.5 93.08 C81.77 91.68 79.71 83.54 74.5 84.92 Z M89.5 84.92 C84.23 86.32 86.29 94.46 91.5 93.08 C96.77 91.68 94.71 83.54 89.5 84.92 Z M104.5 84.92 C99.23 86.32 101.29 94.46 106.5 93.08 C111.77 91.68 109.71 83.54 104.5 84.92 Z M124.5 84.92 C119.23 86.32 121.29 94.46 126.5 93.08 C131.77 91.68 129.71 83.54 124.5 84.92 Z M139.5 84.92 C134.23 86.32 136.29 94.46 141.5 93.08 C146.77 91.68 144.71 83.54 139.5 84.92 Z M159.5 89.92 C154.23 91.32 156.29 99.46 161.5 98.08 C166.77 96.68 164.71 88.54 159.5 89.92 Z M174.5 89.92 C169.23 91.32 171.29 99.46 176.5 98.08 C181.77 96.68 179.71 88.54 174.5 89.92 Z M48 102.92 C42.73 104.32 44.79 112.46 50 111.08 C55.27 109.68 53.21 101.54 48 102.92 Z M63 102.92 C57.73 104.32 59.79 112.46 65 111.08 C70.27 109.68 68.21 101.54 63 102.92 Z M83 102.92 C77.73 104.32 79.79 112.46 85 111.08 C90.27 109.68 88.21 101.54 83 102.92 Z M98 102.92 C92.73 104.32 94.79 112.46 100 111.08 C105.27 109.68 103.21 101.54 98 102.92 Z M113 102.92 C107.73 104.32 109.79 112.46 115 111.08 C120.27 109.68 118.21 101.54 113 102.92 Z M133 102.92 C127.73 104.32 129.79 112.46 135 111.08 C140.27 109.68 138.21 101.54 133 102.92 Z M148 107.92 C142.73 109.32 144.79 117.46 150 116.08 C155.27 114.68 153.21 106.54 148 107.92 Z M168 107.92 C162.73 109.32 164.79 117.46 170 116.08 C175.27 114.68 173.21 106.54 168 107.92 Z M183 107.92 C177.73 109.32 179.79 117.46 185 116.08 C190.27 114.68 188.21 106.54 183 107.92 Z M38.5 115.92 C33.23 117.32 35.29 125.46 40.5 124.08 C45.77 122.68 43.71 114.54 38.5 115.92 Z M53.5 115.92 C48.23 117.32 50.29 125.46 55.5 124.08 C60.77 122.68 58.71 114.54 53.5 115.92 Z M73.5 115.92 C68.23 117.32 70.29 125.46 75.5 124.08 C80.77 122.68 78.71 114.54 73.5 115.92 Z M88.5 115.92 C83.23 117.32 85.29 125.46 90.5 124.08 C95.77 122.68 93.71 114.54 88.5 115.92 Z M108.5 115.92 C103.23 117.32 105.29 125.46 110.5 124.08 C115.77 122.68 113.71 114.54 108.5 115.92 Z M123.5 115.92 C118.23 117.32 120.29 125.46 125.5 124.08 C130.77 122.68 128.71 114.54 123.5 115.92 Z M138.5 120.92 C133.23 122.32 135.29 130.46 140.5 129.08 C145.77 127.68 143.71 119.54 138.5 120.92 Z M158.5 120.92 C153.23 122.32 155.29 130.46 160.5 129.08 C165.77 127.68 163.71 119.54 158.5 120.92 Z M178.5 120.92 C173.23 122.32 175.29 130.46 180.5 129.08 C185.77 127.68 183.71 119.54 178.5 120.92 Z M193.5 120.92 C188.23 122.32 190.29 130.46 195.5 129.08 C200.77 127.68 198.71 119.54 193.5 120.92 Z M47 133.92 C41.73 135.32 43.79 143.46 49 142.08 C54.27 140.68 52.21 132.54 47 133.92 Z M62 133.92 C56.73 135.32 58.79 143.46 64 142.08 C69.27 140.68 67.21 132.54 62 133.92 Z M82 133.92 C76.73 135.32 78.79 143.46 84 142.08 C89.27 140.68 87.21 132.54 82 133.92 Z M97 133.92 C91.73 135.32 93.79 143.46 99 142.08 C104.27 140.68 102.21 132.54 97 133.92 Z M117 133.92 C111.73 135.32 113.79 143.46 119 142.08 C124.27 140.68 122.21 132.54 117 133.92 Z M137 133.92 C131.73 135.32 133.79 143.46 139 142.08 C144.27 140.68 142.21 132.54 137 133.92 Z M152 133.92 C146.73 135.32 148.79 143.46 154 142.08 C159.27 140.68 157.21 132.54 152 133.92 Z M172 133.92 C166.73 135.32 168.79 143.46 174 142.08 C179.27 140.68 177.21 132.54 172 133.92 Z M187 133.92 C181.73 135.32 183.79 143.46 189 142.08 C194.27 140.68 192.21 132.54 187 133.92 Z M37.5 146.92 C32.23 148.32 34.29 156.46 39.5 155.08 C44.77 153.68 42.71 145.54 37.5 146.92 Z M57.5 146.92 C52.23 148.32 54.29 156.46 59.5 155.08 C64.77 153.68 62.71 145.54 57.5 146.92 Z M72.5 146.92 C67.23 148.32 69.29 156.46 74.5 155.08 C79.77 153.68 77.71 145.54 72.5 146.92 Z M92.5 146.92 C87.23 148.32 89.29 156.46 94.5 155.08 C99.77 153.68 97.71 145.54 92.5 146.92 Z M112.5 146.92 C107.23 148.32 109.29 156.46 114.5 155.08 C119.77 153.68 117.71 145.54 112.5 146.92 Z M127.5 151.92 C122.23 153.32 124.29 161.46 129.5 160.08 C134.77 158.68 132.71 150.54 127.5 151.92 Z M142.5 151.92 C137.23 153.32 139.29 161.46 144.5 160.08 C149.77 158.68 147.71 150.54 142.5 151.92 Z M162.5 151.92 C157.23 153.32 159.29 161.46 164.5 160.08 C169.77 158.68 167.71 150.54 162.5 151.92 Z M177.5 151.92 C172.23 153.32 174.29 161.46 179.5 160.08 C184.77 158.68 182.71 150.54 177.5 151.92 Z M197.5 151.92 C192.23 153.32 194.29 161.46 199.5 160.08 C204.77 158.68 202.71 150.54 197.5 151.92 Z M51 159.92 C45.73 161.32 47.79 169.46 53 168.08 C58.27 166.68 56.21 158.54 51 159.92 Z M66 159.92 C60.73 161.32 62.79 169.46 68 168.08 C73.27 166.68 71.21 158.54 66 159.92 Z M86 159.92 C80.73 161.32 82.79 169.46 88 168.08 C93.27 166.68 91.21 158.54 86 159.92 Z M101 164.92 C95.73 166.32 97.79 174.46 103 173.08 C108.27 171.68 106.21 163.54 101 164.92 Z M121 164.92 C115.73 166.32 117.79 174.46 123 173.08 C128.27 171.68 126.21 163.54 121 164.92 Z M136 164.92 C130.73 166.32 132.79 174.46 138 173.08 C143.27 171.68 141.21 163.54 136 164.92 Z M151 164.92 C145.73 166.32 147.79 174.46 153 173.08 C158.27 171.68 156.21 163.54 151 164.92 Z M171 164.92 C165.73 166.32 167.79 174.46 173 173.08 C178.27 171.68 176.21 163.54 171 164.92 Z M186 164.92 C180.73 166.32 182.79 174.46 188 173.08 C193.27 171.68 191.21 163.54 186 164.92 Z M61.5 177.92 C56.23 179.32 58.29 187.46 63.5 186.08 C68.77 184.68 66.71 176.54 61.5 177.92 Z M76.5 177.92 C71.23 179.32 73.29 187.46 78.5 186.08 C83.77 184.68 81.71 176.54 76.5 177.92 Z M91.5 177.92 C86.23 179.32 88.29 187.46 93.5 186.08 C98.77 184.68 96.71 176.54 91.5 177.92 Z M111.5 182.92 C106.23 184.32 108.29 192.46 113.5 191.08 C118.77 189.68 116.71 181.54 111.5 182.92 Z M126.5 182.92 C121.23 184.32 123.29 192.46 128.5 191.08 C133.77 189.68 131.71 181.54 126.5 182.92 Z M146.5 182.92 C141.23 184.32 143.29 192.46 148.5 191.08 C153.77 189.68 151.71 181.54 146.5 182.92 Z M161.5 182.92 C156.23 184.32 158.29 192.46 163.5 191.08 C168.77 189.68 166.71 181.54 161.5 182.92 Z M176.5 182.92 C171.23 184.32 173.29 192.46 178.5 191.08 C183.77 189.68 181.71 181.54 176.5 182.92 Z M85 195.92 C79.73 197.32 81.79 205.46 87 204.08 C92.27 202.68 90.21 194.54 85 195.92 Z M100 195.92 C94.73 197.32 96.79 205.46 102 204.08 C107.27 202.68 105.21 194.54 100 195.92 Z M120 195.92 C114.73 197.32 116.79 205.46 122 204.08 C127.27 202.68 125.21 194.54 120 195.92 Z M135 195.92 C129.73 197.32 131.79 205.46 137 204.08 C142.27 202.68 140.21 194.54 135 195.92 Z M155 195.92 C149.73 197.32 151.79 205.46 157 204.08 C162.27 202.68 160.21 194.54 155 195.92 Z M110.5 208.92 C105.23 210.32 107.29 218.46 112.5 217.08 C117.77 215.68 115.71 207.54 110.5 208.92 Z M125.5 208.92 C120.23 210.32 122.29 218.46 127.5 217.08 C132.77 215.68 130.71 207.54 125.5 208.92 Z"}]},chakli:{id:"chakli",name:"Chakli",paint:"bone",bone:"#cf8f45",eyes:{cx:120,cy:128,dx:30,w:24,h:46,round:40,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M110.5 42.49 C108.7 42.68 106.15 42.62 104.53 43.5 C101.84 44.96 101.77 47.78 98 48.22 C92.47 48.87 93.76 44.31 84.5 49.13 C81.79 50.53 81.81 53.93 79.12 55.5 C76.05 57.29 72.97 55.04 70 56.77 C60.87 62.1 65.76 62.65 62.04 67 C59.43 70.05 55.7 68.43 53 70.95 C51.59 72.27 49.26 74.49 48.5 76.31 C47.41 78.9 49 81.48 47 83.95 C43.57 88.21 42.2 84.22 38.41 91.5 C38.26 91.77 37.02 94.19 36.93 94.5 C35.97 97.64 38.9 100.01 36.84 103.5 C35.29 106.11 32.27 106.46 31.32 109.5 C30.68 111.55 29.38 114.86 30.04 117 C30.73 119.2 32.36 120.49 32.18 123 C31.95 126.21 29 127.23 28.15 130 C28.03 130.42 28.01 132.57 28.01 133 C27.9 142.82 31.77 139.38 32.18 145 C32.39 147.92 29.75 149.72 29.89 152.5 C30 154.55 30.77 158.25 31.86 160 C33.44 162.54 36.54 162.71 37.45 166 C38.08 168.27 36.85 169.84 36.73 172 C36.6 174.3 38.75 177.58 40 179.43 C42.04 182.46 46.2 181.67 47.83 185.5 C50.04 190.69 45.57 190.06 52.96 197 C55.65 199.53 59.41 197.93 62 200.95 C65.3 204.81 61.28 205.3 68 209.89 C68.36 210.14 70.57 211.64 71 211.81 C73.45 212.78 75.93 211.03 78.5 212.18 C81.46 213.51 81.28 216.49 83.5 218.31 C85.11 219.64 88.94 220.99 91 221.27 C93.66 221.63 95.68 219.29 98.5 219.86 C102.43 220.64 102.82 224.47 107 225.08 C108.79 225.34 111.2 225.98 113 225.65 C115.87 225.11 117.22 222.26 120.5 222.52 C124.44 222.83 124.8 226 129.5 225.51 C131.3 225.32 133.85 225.38 135.47 224.5 C138.16 223.04 138.23 220.22 142 219.78 C147.53 219.13 146.24 223.69 155.5 218.87 C158.21 217.47 158.19 214.07 160.88 212.5 C163.95 210.71 167.03 212.96 170 211.23 C179.13 205.9 174.24 205.35 177.96 201 C180.57 197.95 184.3 199.57 187 197.05 C188.41 195.73 190.74 193.51 191.5 191.69 C192.59 189.1 191 186.52 193 184.05 C196.43 179.79 197.8 183.78 201.59 176.5 C201.74 176.23 202.98 173.81 203.07 173.5 C204.03 170.36 201.1 167.99 203.16 164.5 C204.71 161.89 207.73 161.54 208.68 158.5 C209.32 156.45 210.62 153.14 209.96 151 C209.27 148.8 207.64 147.51 207.82 145 C208.05 141.79 211 140.77 211.85 138 C211.97 137.58 211.99 135.43 211.99 135 C212.1 125.18 208.23 128.62 207.82 123 C207.61 120.08 210.25 118.28 210.11 115.5 C210 113.45 209.23 109.75 208.14 108 C206.56 105.46 203.46 105.29 202.55 102 C201.92 99.73 203.15 98.16 203.27 96 C203.4 93.7 201.25 90.42 200 88.57 C197.96 85.54 193.8 86.33 192.17 82.5 C189.96 77.31 194.43 77.94 187.04 71 C184.35 68.47 180.59 70.07 178 67.05 C174.7 63.19 178.72 62.7 172 58.11 C171.64 57.86 169.43 56.36 169 56.19 C166.55 55.22 164.07 56.97 161.5 55.82 C158.54 54.49 158.72 51.51 156.5 49.69 C154.89 48.36 151.06 47.01 149 46.73 C146.34 46.37 144.32 48.71 141.5 48.14 C137.57 47.36 137.18 43.53 133 42.92 C131.21 42.66 128.8 42.02 127 42.35 C124.13 42.89 122.78 45.74 119.5 45.48 C115.56 45.17 115.2 42 110.5 42.49 Z",parts:[{fill:"body",d:"M110.5 42.49 C108.7 42.68 106.15 42.62 104.53 43.5 C101.84 44.96 101.77 47.78 98 48.22 C92.47 48.87 93.76 44.31 84.5 49.13 C81.79 50.53 81.81 53.93 79.12 55.5 C76.05 57.29 72.97 55.04 70 56.77 C60.87 62.1 65.76 62.65 62.04 67 C59.43 70.05 55.7 68.43 53 70.95 C51.59 72.27 49.26 74.49 48.5 76.31 C47.41 78.9 49 81.48 47 83.95 C43.57 88.21 42.2 84.22 38.41 91.5 C38.26 91.77 37.02 94.19 36.93 94.5 C35.97 97.64 38.9 100.01 36.84 103.5 C35.29 106.11 32.27 106.46 31.32 109.5 C30.68 111.55 29.38 114.86 30.04 117 C30.73 119.2 32.36 120.49 32.18 123 C31.95 126.21 29 127.23 28.15 130 C28.03 130.42 28.01 132.57 28.01 133 C27.9 142.82 31.77 139.38 32.18 145 C32.39 147.92 29.75 149.72 29.89 152.5 C30 154.55 30.77 158.25 31.86 160 C33.44 162.54 36.54 162.71 37.45 166 C38.08 168.27 36.85 169.84 36.73 172 C36.6 174.3 38.75 177.58 40 179.43 C42.04 182.46 46.2 181.67 47.83 185.5 C50.04 190.69 45.57 190.06 52.96 197 C55.65 199.53 59.41 197.93 62 200.95 C65.3 204.81 61.28 205.3 68 209.89 C68.36 210.14 70.57 211.64 71 211.81 C73.45 212.78 75.93 211.03 78.5 212.18 C81.46 213.51 81.28 216.49 83.5 218.31 C85.11 219.64 88.94 220.99 91 221.27 C93.66 221.63 95.68 219.29 98.5 219.86 C102.43 220.64 102.82 224.47 107 225.08 C108.79 225.34 111.2 225.98 113 225.65 C115.87 225.11 117.22 222.26 120.5 222.52 C124.44 222.83 124.8 226 129.5 225.51 C131.3 225.32 133.85 225.38 135.47 224.5 C138.16 223.04 138.23 220.22 142 219.78 C147.53 219.13 146.24 223.69 155.5 218.87 C158.21 217.47 158.19 214.07 160.88 212.5 C163.95 210.71 167.03 212.96 170 211.23 C179.13 205.9 174.24 205.35 177.96 201 C180.57 197.95 184.3 199.57 187 197.05 C188.41 195.73 190.74 193.51 191.5 191.69 C192.59 189.1 191 186.52 193 184.05 C196.43 179.79 197.8 183.78 201.59 176.5 C201.74 176.23 202.98 173.81 203.07 173.5 C204.03 170.36 201.1 167.99 203.16 164.5 C204.71 161.89 207.73 161.54 208.68 158.5 C209.32 156.45 210.62 153.14 209.96 151 C209.27 148.8 207.64 147.51 207.82 145 C208.05 141.79 211 140.77 211.85 138 C211.97 137.58 211.99 135.43 211.99 135 C212.1 125.18 208.23 128.62 207.82 123 C207.61 120.08 210.25 118.28 210.11 115.5 C210 113.45 209.23 109.75 208.14 108 C206.56 105.46 203.46 105.29 202.55 102 C201.92 99.73 203.15 98.16 203.27 96 C203.4 93.7 201.25 90.42 200 88.57 C197.96 85.54 193.8 86.33 192.17 82.5 C189.96 77.31 194.43 77.94 187.04 71 C184.35 68.47 180.59 70.07 178 67.05 C174.7 63.19 178.72 62.7 172 58.11 C171.64 57.86 169.43 56.36 169 56.19 C166.55 55.22 164.07 56.97 161.5 55.82 C158.54 54.49 158.72 51.51 156.5 49.69 C154.89 48.36 151.06 47.01 149 46.73 C146.34 46.37 144.32 48.71 141.5 48.14 C137.57 47.36 137.18 43.53 133 42.92 C131.21 42.66 128.8 42.02 127 42.35 C124.13 42.89 122.78 45.74 119.5 45.48 C115.56 45.17 115.2 42 110.5 42.49 Z"},{fill:"#a8692b",d:"M93.5 50.95 C84.2 53.05 69.54 63.76 62.74 70.5 C23.83 109.08 31.36 176.49 81.5 201.68 C89.47 205.68 98.14 208.3 107 209.35 C116.52 210.48 126.24 209.8 135.5 207.31 C164.66 199.48 186.95 173.78 189.33 143.5 C192.65 101.31 156.21 64.42 113.5 71.68 C89.04 75.83 68.66 94.93 64.09 119.5 C57.81 153.24 83.71 186.58 119 184.46 C137.57 183.34 154.61 171.52 161.28 154 C170.67 129.3 156.23 100 129 96.42 C115.86 94.69 102.28 100.11 94.53 111 C83.78 126.11 87.67 149.25 105.5 157.09 C114.39 161.01 125.16 159.7 132.37 153 C134.18 151.32 138.65 146.12 137.56 143.5 C136.65 141.3 133.76 140.62 132.14 142.5 C131.4 143.36 131.16 144.55 130.55 145.5 C128.35 148.89 124.87 151.28 121 152.36 C111.69 154.96 102.03 149.75 97.57 141.5 C84.73 117.74 114.27 92.24 140 106.69 C161.3 118.65 163.21 148.04 146.98 165 C134.8 177.72 115.78 181.45 99.5 175.02 C69.42 163.16 61.11 125.79 79 100.23 C92.04 81.59 116.14 73.41 138 78.91 C177.03 88.72 194.13 133.84 175.5 168.34 C162.44 192.53 135.17 206.16 108 203.03 C64.27 198 36.31 154.58 46.2 112.5 C50.42 94.56 61.17 78.46 76 67.54 C80.23 64.43 84.75 61.74 89.5 59.51 C91.39 58.62 93.64 58.05 95.43 57 C98.47 55.23 97.28 50.09 93.5 50.95 Z"}]},jalebi:{id:"jalebi",name:"Jalebi",paint:"bone",bone:"#f7941d",eyes:{cx:120,cy:128,dx:30,w:24,h:46,round:40,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M111 46.46 C98.31 47.8 85.98 51.84 75 58.38 C65.1 64.27 56.39 72.11 49.5 81.33 C12.72 130.58 37.1 202.34 96.5 218.8 C107.2 221.77 118.46 222.69 129.5 221.49 C141.62 220.17 153.44 216.31 164 210.21 C174.31 204.26 183.38 196.21 190.5 186.67 C227.67 136.89 202.32 64.37 142 48.79 C131.92 46.19 121.35 45.37 111 46.46 Z",parts:[{fill:"#c9650c",d:"M111 46.46 C66.5 51.29 30.86 89.67 32.01 135 C32.21 143.1 34.35 151.44 37.15 159 C50.23 194.25 86.34 217.76 124 213.29 C148.37 210.41 170.75 195.84 182.5 174.16 C185.85 167.99 188.33 161.37 189.81 154.5 C190.24 152.52 190.58 150.51 190.84 148.5 C190.9 148 190.6 147.28 191.02 147 C192.04 146.31 194.35 149.04 195 149.49 C196.48 150.54 203.77 154.07 205.5 152.99 C205.97 152.7 206.06 152.03 206.24 151.5 C208.89 143.83 208.18 128.07 206.88 120 C199.53 74.41 157.06 41.46 111 46.46 Z"},{fill:"body",d:"M119.5 41.47 C77.13 44.17 41.16 76.39 36.27 119 C30.32 170.89 74.59 217.91 127.5 208.75 C152.93 204.35 174.95 186.47 183.56 162 C196.52 125.13 175.17 82.72 135.5 75.85 C94.49 68.75 56.62 107.47 73.08 147.5 C75.45 153.28 78.95 158.56 83.35 163 C103.34 183.2 140.39 180.27 151.45 152 C156.14 140.01 153.75 126.23 145 116.71 C141.79 113.22 137.87 110.41 133.5 108.54 C132.27 108.01 125.29 106.81 128.5 105.3 C129.48 104.84 133.43 105.92 134.5 106.24 C140.62 108.09 145.99 112.04 149.96 117 C161.5 131.44 159.3 152.82 147 166.04 C126.62 187.95 91.64 182.67 75.11 159 C63.75 142.73 62.76 121.09 71.68 103.5 C92.18 63.1 146.85 61.52 174.92 94.5 C181.77 102.55 186.64 112.25 189.16 122.5 C190.47 127.79 190.36 136.13 192.48 140.5 C197.19 150.21 210.56 151.8 217.5 143.63 C219.32 141.48 220.49 138.78 220.87 136 C222.08 127.05 217.16 109.9 213.73 101.5 C198.41 64 160.17 38.89 119.5 41.47 Z"},{fill:"#ffc566",d:"M119.5 50.48 C92.13 52.57 66.86 68.13 53.81 92.5 C50.53 98.63 48.07 105.21 46.55 112 C46.33 112.98 45.16 117.31 46 118 C46.77 118.64 48 118 49 118 C50.72 118 55.05 118.53 56.5 118 C57 117.82 57.46 117.45 57.74 117 C58.27 116.12 59.91 108.43 60.62 106.5 C62.97 100.1 66.32 94.09 70.5 88.71 C83.88 71.48 105.28 61.77 127 62.26 C149.28 62.77 170.44 73.85 184 91.46 C188.13 96.83 191.55 102.74 194.15 109 C194.7 110.31 196.78 117.5 197.5 118 C198.06 118.39 205.3 118 206.5 118 C207.5 118 208.86 118.77 209.5 118 C209.74 117.71 207.76 111.33 207.5 110.54 C205.03 103.12 201.6 96.03 197.3 89.5 C180.44 63.92 150.26 48.13 119.5 50.48 Z M123 83.99 C108.29 84.83 94.43 91.98 86 104.22 C85.03 105.63 79.16 116.42 79.83 117.5 C80.07 117.9 91.51 118.33 92 118 C92.08 117.94 93.38 115.09 93.42 115 C94.65 112.52 96.18 110.17 98 108.09 C104.68 100.45 114.38 96.07 124.5 95.86 C135.27 95.62 145.87 100.05 153.5 107.63 C155.56 109.67 160.86 117.41 160.97 117.5 C161.46 117.92 172.53 118.31 173 118 C174.73 116.85 172.93 114.66 172.34 113.5 C170.23 109.33 167.6 105.41 164.5 101.91 C154.16 90.26 138.7 83.09 123 83.99 Z M122 117.47 C122 118.17 124.83 118 125 118 C126 118 128 119 128 118 C128 116.6 122 117.41 122 117.47 Z"}]},katli:{id:"katli",name:"Kaju katli",paint:"bone",bone:"#f2e4c6",eyes:{cx:120,cy:122,dx:30,w:24,h:46,round:40,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M117.5 18.4 C113.87 19.89 111.22 23.46 108.5 26.19 C103.06 31.62 97.62 37.06 92.19 42.5 C73.46 61.23 54.73 79.96 36 98.69 C30.17 104.52 24.33 110.35 18.5 116.19 C15.74 118.94 13.14 121.77 14.25 126 C15.13 129.33 18.35 131.67 20.69 134 C26.12 139.44 31.56 144.88 37 150.31 C56.56 169.88 76.12 189.44 95.69 209 C101.12 214.44 106.56 219.88 112 225.31 C115.17 228.48 118.8 231.55 123.5 229.19 C126.94 227.47 143.48 209.83 147.5 205.81 C165.83 187.48 184.17 169.15 202.5 150.81 C208.33 144.98 214.17 139.15 220 133.31 C222.79 130.52 226.26 127.87 225.98 123.5 C225.75 119.83 222.91 117.6 220.5 115.19 C215.5 110.19 210.5 105.19 205.5 100.19 C185.1 79.79 164.71 59.4 144.31 39 C138.48 33.17 132.65 27.33 126.81 21.5 C124.39 19.08 121.08 16.94 117.5 18.4 Z",parts:[{fill:"#d9c39a",d:"M117.5 32.4 C113.87 33.89 111.22 37.46 108.5 40.19 C103.06 45.62 97.62 51.06 92.19 56.5 C73.46 75.23 54.73 93.96 36 112.69 C30.17 118.52 24.33 124.35 18.5 130.19 C15.74 132.94 13.14 135.77 14.25 140 C15.13 143.33 18.35 145.67 20.69 148 C26.12 153.44 31.56 158.88 37 164.31 C56.56 183.88 76.12 203.44 95.69 223 C101.12 228.44 106.56 233.88 112 239.31 C115.17 242.48 118.8 245.55 123.5 243.19 C126.94 241.47 143.48 223.83 147.5 219.81 C165.83 201.48 184.17 183.15 202.5 164.81 C208.33 158.98 214.17 153.15 220 147.31 C222.79 144.52 226.26 141.87 225.98 137.5 C225.75 133.83 222.91 131.6 220.5 129.19 C215.5 124.19 210.5 119.19 205.5 114.19 C185.1 93.79 164.71 73.4 144.31 53 C138.48 47.17 132.65 41.33 126.81 35.5 C124.39 33.08 121.08 30.94 117.5 32.4 Z"},{fill:"body",d:"M117.5 18.4 C113.87 19.89 111.22 23.46 108.5 26.19 C103.06 31.62 97.62 37.06 92.19 42.5 C73.46 61.23 54.73 79.96 36 98.69 C30.17 104.52 24.33 110.35 18.5 116.19 C15.74 118.94 13.14 121.77 14.25 126 C15.13 129.33 18.35 131.67 20.69 134 C26.12 139.44 31.56 144.88 37 150.31 C56.56 169.88 76.12 189.44 95.69 209 C101.12 214.44 106.56 219.88 112 225.31 C115.17 228.48 118.8 231.55 123.5 229.19 C126.94 227.47 143.48 209.83 147.5 205.81 C165.83 187.48 184.17 169.15 202.5 150.81 C208.33 144.98 214.17 139.15 220 133.31 C222.79 130.52 226.26 127.87 225.98 123.5 C225.75 119.83 222.91 117.6 220.5 115.19 C215.5 110.19 210.5 105.19 205.5 100.19 C185.1 79.79 164.71 59.4 144.31 39 C138.48 33.17 132.65 27.33 126.81 21.5 C124.39 19.08 121.08 16.94 117.5 18.4 Z"},{fill:"#cdd3db",d:"M116.5 50.48 C109.63 51.83 98.39 57.9 106.97 65.5 C112.3 70.23 121.35 70.74 128 69.43 C135.21 68.01 145.85 61 136.4 54 C131.01 50.01 122.93 49.21 116.5 50.48 Z M64 104.45 C56.72 105.58 41.53 112.42 50.5 121.56 C56.71 127.88 67.69 128.83 76 127.55 C83.28 126.42 98.47 119.58 89.5 110.44 C83.29 104.12 72.31 103.17 64 104.45 Z M164.5 121.42 C156.96 122.61 143.48 129.58 153.24 138 C159 142.97 168.3 143.71 175.5 142.58 C183.04 141.39 196.52 134.42 186.76 126 C181 121.03 171.7 120.29 164.5 121.42 Z M119 187.45 C112.47 188.8 102.49 195.04 111.34 201.5 C116.33 205.15 123.62 205.67 129.5 204.45 C135.47 203.22 144.64 197.57 137.5 191.17 C132.84 187 124.9 186.23 119 187.45 Z"}]},karanji:{id:"karanji",name:"Karanji",paint:"bone",bone:"#ecb460",eyes:{cx:120,cy:150,dx:30,w:24,h:44,round:40,ink:"#0d0a10",mouth:!0,mouthInk:"#0d0a10",mouthY:null},clip:"M110.5 72.46 C61.45 77.23 24.93 117.01 12.78 163 C10.06 173.28 8.5 183.87 8.1 194.5 C8.05 195.91 7.65 204.26 8.09 205 C9.05 206.66 17.9 206 20 206 C32.5 206 45 206 57.5 206 C100.5 206 143.5 206 186.5 206 C197.5 206 208.5 206 219.5 206 C220.94 206 230.97 206.41 231.5 206 C232.39 205.31 231.94 195.58 231.88 194 C231.31 180.23 228.8 166.54 224.35 153.5 C207.85 105.16 163.52 67.3 110.5 72.46 Z",parts:[{fill:"body",d:"M117.5 65.91 C114.31 66.95 111.01 71.93 109.5 71.82 C106.46 71.59 104.87 65.82 98 67.92 C92.99 69.45 91.87 75.89 89.5 76.07 C86.62 76.28 83.82 70.96 77.5 74.5 C72.94 77.06 73.27 83.27 71 84.25 C69.72 84.8 67.69 83.51 66.5 83.21 C63.2 82.38 59.78 83.49 57.5 86 C54.74 89.05 56.04 95.08 53.5 96.25 C50.74 97.52 46.49 93.39 41.63 99 C38.01 103.19 40.95 109.28 39.13 111 C36.36 113.61 30.21 109.49 26.73 117 C24.62 121.54 28.47 126.92 26.51 129 C23.87 131.81 18.58 128.74 15.58 136 C13.31 141.49 18.38 145.09 17.5 148 C16.61 150.95 10.42 151 8.07 155.5 C4.29 162.75 12.23 166.45 11.03 170 C10.05 172.93 5.04 173.58 3.26 177.5 C0 184.68 5.89 186.57 7.8 190.5 C8.64 192.21 8.09 194.67 8.04 196.5 C8.02 197.45 7.85 205.24 8.1 205.5 C9.11 206.54 19.98 206 22 206 C35 206 48 206 61 206 C100.5 206 140 206 179.5 206 C191.5 206 203.5 206 215.5 206 C217.91 206 229.05 206.5 230.5 206 C231.05 205.81 231.62 205.5 231.91 205 C232.75 203.56 231.37 193.92 231.89 191.5 C232.84 187.02 239.51 186.13 237.11 178.5 C235.56 173.55 229.32 172.61 228.87 169.5 C228.54 167.17 231.05 165.36 231.99 163.5 C233.98 159.55 232.57 154.34 228.79 152 C226.86 150.81 223.84 150.71 222.67 148.5 C221.61 146.5 223.73 144.2 224.4 142.5 C225.57 139.55 225.05 135.99 223 133.55 C220.13 130.13 213.96 130.6 212.88 128 C211.69 125.12 216.15 121.28 212.73 116 C208.96 110.18 201.78 113.22 200.26 110 C198.78 106.87 202.98 102.98 197.5 98.12 C193.3 94.4 187.1 97.34 185.5 95.63 C183.08 93.03 186.94 86.9 179 83.55 C175.34 82 169.93 84.96 168.5 84.02 C165.62 82.12 168 75.76 160.5 73.69 C155.81 72.4 151.93 76.49 150 75.98 C147.68 75.37 147.13 69.17 141.5 67.78 C135.68 66.35 131.71 72.41 129.5 71.68 C127 70.85 125.09 63.45 117.5 65.91 Z"},{fill:"#cf923d",d:"M111 87.49 C72.98 91.74 43.35 121.08 30.67 156 C27.67 164.25 25.55 172.81 24.31 181.5 C24.17 182.46 23.1 190.18 23.34 190.5 C24 191.36 32.51 191 34 191 C45.5 191 57 191 68.5 191 C103 191 137.5 191 172 191 C182 191 192 191 202 191 C204.21 191 214.14 191.52 215.5 191 C215.97 190.82 216.43 190.46 216.62 190 C217.01 189.03 215.63 181.02 215.39 179.5 C213.32 166.47 209.26 153.75 203.23 142 C185.79 108.01 150.26 83.1 111 87.49 Z M120 91.5 C158.05 91.62 189.39 118.96 203.36 153 C206.72 161.2 209.16 169.77 210.66 178.5 C210.79 179.25 211.87 185.81 211.73 186 C211.06 186.85 202.49 186.5 201 186.5 C191 186.5 181 186.5 171 186.5 C135.5 186.5 100 186.5 64.5 186.5 C55.5 186.5 46.5 186.5 37.5 186.5 C36.6 186.5 28.65 186.64 28.5 186.5 C27.99 186.02 29.32 178.58 29.51 177.5 C31.09 168.76 33.61 160.19 37.06 152 C51.13 118.58 82.4 91.38 120 91.5 Z"}]}},co=[...Object.values(gn),...Object.values(ao)],ft=(e,t)=>Object.hasOwn(qo,e)?f(e):t,C6=e=>ft(`mascot.body.${e}`,co.find(t=>t.id===e)?.name??e),P7=e=>ft(`mascot.color.${e}`,e),R7=e=>ft(`botPanel.avatar.${e}`,e),L7=e=>ft(`mascot.expression.${e}`,e);function m6(e){const t=co.find(n=>n.name===e);return t?C6(t.id):e}const g6=e=>f("mascot.label",{name:m6(e)}),q1=228.541,p2=[120,122.5],h2={x:13.2,y:8.4},b6=["130.36,45.98 132.71,46.19 134.98,46.81 137.11,47.83 138.97,49.28 140.47,51.09 141.68,53.12 142.73,55.23 143.76,57.36 144.78,59.49 145.79,61.62 146.79,63.76 147.76,65.91 148.71,68.07 149.63,70.25 150.52,72.43 151.37,74.63 151.99,76.91 152.1,79.26 151.64,81.57 150.59,83.68 149.04,85.45 147.1,86.78 144.9,87.62 142.56,87.93 140.22,87.71 137.98,86.99 135.93,85.82 134.17,84.24 132.78,82.34 131.69,80.25 130.77,78.08 129.87,75.89 128.94,73.72 128,71.56 127.03,69.4 126.05,67.26 125.05,65.12 124.03,62.99 122.93,60.9 121.87,58.79 121.03,56.59 120.72,54.26 121.1,51.93 122.15,49.83 123.75,48.1 125.76,46.89 128.01,46.19|176.61,37.08 178.72,37.59 180.7,38.48 182.52,39.65 184.2,41.03 185.71,42.59 187.03,44.31 188.2,46.14 189.26,48.03 190.27,49.96 191.26,51.89 192.23,53.84 193.16,55.8 194.05,57.78 194.92,59.77 195.74,61.78 196.53,63.8 197.27,65.84 197.97,67.9 198.47,70.01 198.63,72.18 198.4,74.33 197.58,76.33 195.95,77.72 193.83,78.08 191.71,77.65 189.76,76.69 188.03,75.38 186.53,73.82 185.28,72.05 184.25,70.13 183.4,68.14 182.63,66.11 181.87,64.07 181.07,62.05 180.25,60.04 179.39,58.05 178.49,56.07 177.57,54.1 176.61,52.15 175.62,50.22 174.59,48.31 173.53,46.41 172.54,44.48 171.86,42.42 171.76,40.26 172.62,38.3 174.45,37.19","86.14,124.79 89.16,124.92 92.06,125.76 94.68,127.27 96.86,129.36 98.48,131.92 99.51,134.76 100.12,137.73 100.56,140.72 101.01,143.72 101.52,146.71 102.06,149.69 102.62,152.67 103.2,155.64 103.81,158.61 104.44,161.57 105.11,164.52 105.81,167.47 106.49,170.42 106.72,173.44 106.01,176.37 104.37,178.9 102.03,180.81 99.26,181.99 96.27,182.46 93.25,182.25 90.34,181.43 87.65,180.04 85.32,178.11 83.51,175.7 82.37,172.9 81.66,169.96 80.98,167 80.32,164.05 79.69,161.08 79.08,158.12 78.5,155.14 77.94,152.16 77.4,149.18 76.89,146.2 76.4,143.21 75.93,140.21 75.56,137.21 75.7,134.19 76.6,131.3 78.22,128.76 80.47,126.74 83.18,125.4|147.23,112.87 150.24,113.13 153.07,114.19 155.53,115.94 157.46,118.26 158.73,121.01 159.53,123.93 160.21,126.88 160.88,129.84 161.52,132.8 162.15,135.76 162.74,138.73 163.32,141.71 163.87,144.69 164.39,147.67 164.9,150.66 165.39,153.65 165.8,156.65 165.76,159.67 164.98,162.59 163.56,165.26 161.61,167.58 159.23,169.45 156.52,170.77 153.57,171.46 150.55,171.4 147.67,170.52 145.19,168.79 143.45,166.33 142.57,163.44 142.08,160.45 141.61,157.46 141.11,154.47 140.59,151.48 140.04,148.5 139.47,145.53 138.87,142.56 138.25,139.59 137.6,136.63 136.94,133.68 136.25,130.72 135.59,127.77 135.47,124.75 136.07,121.78 137.34,119.04 139.19,116.65 141.53,114.74 144.26,113.44","104.84,104.08 109.39,104.89 113.63,106.73 117.32,109.5 120.25,113.08 122.22,117.25 123.15,121.77 122.92,126.39 121.86,130.89 120.61,135.35 119.37,139.81 118.15,144.27 116.94,148.74 115.74,153.21 114.56,157.69 113.39,162.17 112.24,166.65 111.13,171.15 110.04,175.65 108.89,180.13 106.98,184.33 103.8,187.67 99.75,189.87 95.25,190.93 90.63,190.93 86.11,189.97 81.86,188.16 78.05,185.54 74.89,182.18 72.62,178.16 71.54,173.67 71.94,169.08 73.01,164.57 74.13,160.08 75.26,155.59 76.42,151.11 77.59,146.63 78.77,142.15 79.97,137.68 81.18,133.22 82.41,128.75 83.65,124.29 84.87,119.83 86.33,115.43 88.67,111.46 91.9,108.15 95.83,105.72 100.23,104.35|174.26,115.55 178.59,116.54 182.37,118.86 185.31,122.2 187.23,126.21 188.12,130.57 188.06,135.02 187.52,139.44 186.86,143.85 186.11,148.25 185.25,152.62 184.3,156.98 183.24,161.31 182.07,165.61 180.79,169.88 179.39,174.12 177.89,178.31 176.27,182.47 174.47,186.55 172.17,190.35 169.21,193.68 165.73,196.46 161.84,198.64 157.66,200.16 153.27,200.91 148.83,200.69 144.65,199.19 141.47,196.14 140.18,191.91 140.82,187.53 142.46,183.38 144.16,179.26 145.73,175.09 147.18,170.87 148.51,166.62 149.73,162.33 150.84,158.01 151.84,153.67 152.74,149.3 153.54,144.91 154.24,140.51 154.85,136.1 155.58,131.7 156.93,127.46 159.15,123.6 162.12,120.29 165.73,117.68 169.84,116","44.72,103.35 47.95,103.93 51.04,105.05 53.93,106.62 56.58,108.57 58.97,110.83 61.09,113.35 62.93,116.07 64.5,118.97 65.79,121.99 66.8,125.13 67.52,128.34 67.94,131.6 68.08,134.89 67.9,138.17 67.4,141.42 66.56,144.6 65.33,147.66 63.71,150.52 61.69,153.11 59.3,155.36 56.54,157.16 53.51,158.42 50.29,159.07 47,159.09 43.76,158.5 40.67,157.39 37.78,155.82 35.13,153.87 32.75,151.6 30.63,149.09 28.78,146.36 27.21,143.47 25.92,140.44 24.92,137.31 24.2,134.1 23.77,130.84 23.64,127.55 23.81,124.27 24.31,121.01 25.16,117.84 26.38,114.78 28,111.92 30.02,109.33 32.42,107.08 35.17,105.28 38.21,104.02 41.43,103.37|114.62,83.64 118.31,83.88 121.94,84.6 125.44,85.77 128.77,87.38 131.86,89.4 134.67,91.81 137.13,94.56 139.2,97.62 140.85,100.93 142.05,104.42 142.79,108.05 143.05,111.73 142.83,115.42 142.13,119.05 140.95,122.55 139.34,125.88 137.3,128.96 134.88,131.75 132.11,134.2 129.05,136.27 125.75,137.93 122.25,139.13 118.63,139.86 114.94,140.1 111.25,139.86 107.63,139.14 104.12,137.97 100.8,136.36 97.7,134.34 94.9,131.93 92.44,129.18 90.36,126.12 88.72,122.81 87.51,119.31 86.78,115.69 86.52,112.01 86.74,108.32 87.44,104.69 88.61,101.18 90.23,97.86 92.27,94.78 94.69,91.99 97.45,89.54 100.51,87.47 103.82,85.81 107.31,84.61 110.94,83.88","90.44,99.25 93.11,99.26 95.74,99.79 98.37,100.3 101,100.82 103.64,101.33 106.27,101.85 108.9,102.37 111.53,102.89 114.16,103.41 116.79,103.94 119.42,104.47 122.06,105 124.69,105.53 127.32,106.06 129.94,106.6 132.57,107.14 135.2,107.68 137.65,108.73 139.5,110.65 140.44,113.14 140.36,115.81 139.35,118.28 137.48,120.18 135,121.14 132.32,121.11 129.7,120.56 127.08,120 124.45,119.46 121.82,118.93 119.19,118.4 116.56,117.87 113.93,117.35 111.29,116.83 108.66,116.32 106.02,115.82 103.39,115.31 100.76,114.79 98.12,114.28 95.49,113.75 92.86,113.22 90.23,112.68 87.77,111.66 85.93,109.74 85.01,107.24 85.06,104.57 86.07,102.1 87.96,100.22|156.6,112.56 158.91,112.66 161.18,113.15 163.45,113.64 165.72,114.13 167.99,114.62 170.26,115.12 172.53,115.62 174.8,116.12 177.07,116.62 179.34,117.13 181.6,117.64 183.87,118.15 186.14,118.67 188.4,119.18 190.67,119.7 192.94,120.2 195.12,120.96 196.7,122.63 197.45,124.82 197.53,127.14 197.07,129.41 196.08,131.51 194.49,133.18 192.33,133.97 190.04,133.68 187.79,133.09 185.52,132.57 183.26,132.05 180.99,131.54 178.72,131.03 176.45,130.53 174.18,130.03 171.91,129.54 169.64,129.05 167.37,128.56 165.1,128.07 162.83,127.58 160.56,127.08 158.29,126.57 156.02,126.05 153.9,125.14 152.26,123.51 151.32,121.4 151.08,119.1 151.53,116.82 152.65,114.8 154.41,113.31","79.94,130.44 83.08,130.57 86.11,131.41 88.89,132.89 91.27,134.94 93.15,137.46 94.39,140.35 95.11,143.42 95.65,146.52 96.2,149.62 96.78,152.72 97.39,155.81 98.04,158.89 98.72,161.97 99.43,165.04 100.18,168.1 100.97,171.15 101.81,174.18 102.64,177.22 103.01,180.34 102.35,183.4 100.66,186.04 98.19,187.98 95.28,189.16 92.17,189.6 89.03,189.37 85.99,188.56 83.16,187.2 80.63,185.33 78.55,182.97 77.05,180.21 76.1,177.21 75.28,174.17 74.5,171.11 73.74,168.06 73.02,164.99 72.33,161.92 71.68,158.83 71.06,155.75 70.47,152.65 69.91,149.55 69.37,146.45 68.97,143.32 69.12,140.18 70.04,137.18 71.7,134.51 74.03,132.41 76.86,131.04|168.95,136.28 171.31,136.97 172.99,138.76 173.66,141.13 173.36,143.58 172.24,145.79 170.45,147.49 168.22,148.58 165.89,149.43 163.57,150.31 161.24,151.18 158.9,152.02 156.56,152.85 154.21,153.65 151.85,154.44 149.48,155.2 147.11,155.94 144.73,156.65 142.34,157.34 139.95,158.01 137.55,158.66 135.14,159.27 132.73,159.86 130.31,160.43 127.84,160.54 125.53,159.69 123.77,157.96 122.89,155.66 123.09,153.21 124.36,151.09 126.34,149.61 128.69,148.83 131.1,148.24 133.51,147.62 135.91,146.98 138.31,146.32 140.7,145.65 143.08,144.95 145.46,144.23 147.83,143.49 150.2,142.73 152.56,141.95 154.91,141.15 157.25,140.32 159.59,139.48 161.92,138.61 164.24,137.72 166.54,136.78","119.79,105.35 121.94,105.42 124.03,105.87 126,106.72 127.77,107.93 129.27,109.47 130.45,111.26 131.29,113.23 131.73,115.33 131.79,117.47 131.53,119.6 131.11,121.71 130.66,123.81 130.27,125.92 129.88,128.03 129.49,130.14 129.07,132.25 128.62,134.35 127.96,136.39 126.96,138.29 125.62,139.96 123.99,141.36 122.13,142.43 120.11,143.15 118,143.5 115.85,143.45 113.75,143 111.79,142.15 110.03,140.93 108.54,139.38 107.36,137.59 106.53,135.61 106.1,133.51 106.07,131.37 106.35,129.24 106.77,127.14 107.22,125.04 107.64,122.93 108.05,120.82 108.45,118.71 108.84,116.6 109.25,114.49 109.86,112.44 110.83,110.52 112.16,108.84 113.78,107.44 115.65,106.38 117.67,105.68|174.73,114.1 176.71,114.59 178.5,115.55 180.04,116.88 181.27,118.5 182.17,120.33 182.71,122.29 182.9,124.32 182.82,126.36 182.56,128.38 182.23,130.39 181.89,132.4 181.53,134.41 181.16,136.41 180.75,138.41 180.3,140.4 179.82,142.38 179.18,144.31 178.28,146.15 177.14,147.83 175.74,149.31 174.11,150.53 172.29,151.44 170.32,151.97 168.29,152.07 166.29,151.69 164.45,150.83 162.87,149.54 161.66,147.91 160.83,146.06 160.38,144.07 160.29,142.04 160.53,140.01 160.98,138.02 161.43,136.03 161.84,134.04 162.24,132.04 162.62,130.03 162.93,128.02 163.24,126 163.6,124 164.11,122.03 164.91,120.15 165.99,118.43 167.35,116.91 168.94,115.64 170.74,114.69 172.7,114.15","105.72,72.58 108.82,72.78 111.75,73.82 114.27,75.64 116.39,77.92 118.42,80.29 120.45,82.66 122.47,85.03 124.48,87.41 126.49,89.8 128.48,92.2 130.47,94.6 132.45,97.01 134.43,99.42 136.4,101.83 138.37,104.25 140.3,106.7 141.85,109.39 142.65,112.4 142.63,115.51 141.8,118.5 140.21,121.17 137.95,123.31 135.17,124.7 132.11,125.26 129.02,124.98 126.12,123.86 123.67,121.94 121.61,119.6 119.66,117.17 117.69,114.75 115.73,112.33 113.75,109.92 111.77,107.52 109.77,105.12 107.77,102.73 105.76,100.34 103.75,97.96 101.72,95.59 99.68,93.23 97.63,90.89 95.91,88.3 94.95,85.34 94.92,82.24 95.84,79.27 97.56,76.68 99.9,74.63 102.67,73.22|176.73,63.75 179.52,64.43 182.02,65.85 184.15,67.78 185.85,70.1 187.08,72.7 187.76,75.5 187.76,78.37 187.23,81.2 186.58,84.01 185.89,86.8 185.16,89.59 184.39,92.36 183.59,95.13 182.76,97.89 181.88,100.64 180.98,103.37 180.02,106.09 179.03,108.79 177.99,111.48 176.9,114.15 175.5,116.66 173.51,118.72 171,120.11 168.18,120.66 165.34,120.29 162.75,119.04 160.62,117.12 159.02,114.73 158,112.04 157.63,109.19 157.98,106.34 158.83,103.59 159.86,100.9 160.87,98.2 161.85,95.49 162.79,92.76 163.7,90.03 164.57,87.29 165.41,84.53 166.21,81.76 166.98,78.99 167.7,76.2 168.38,73.4 169,70.58 169.79,67.82 171.41,65.46 173.88,64.03","64.12,83.43 66.69,84.08 68.9,85.53 70.57,87.6 71.56,90.05 71.86,92.69 71.53,95.32 70.55,97.78 69.06,99.99 67.36,102.03 65.64,104.06 63.95,106.11 62.28,108.18 60.63,110.27 59,112.38 57.41,114.5 55.84,116.65 54.29,118.82 52.78,121 51.31,123.22 49.86,125.45 48.42,127.69 46.67,129.68 44.36,130.96 41.73,131.22 39.22,130.38 37.16,128.72 35.64,126.55 34.65,124.08 34.2,121.46 34.29,118.81 34.94,116.24 36.12,113.86 37.54,111.61 39.04,109.41 40.54,107.21 42.06,105.03 43.61,102.87 45.18,100.73 46.79,98.6 48.41,96.5 50.07,94.42 51.74,92.35 53.45,90.31 55.17,88.28 56.94,86.3 59.04,84.67 61.48,83.65|104.23,93.09 106.97,93.77 109.4,95.24 111.32,97.31 112.59,99.85 113.4,102.57 114.13,105.32 114.87,108.06 115.62,110.8 116.37,113.54 117.14,116.28 117.9,119.02 118.67,121.75 119.45,124.49 120.23,127.22 121.03,129.95 121.83,132.68 122.6,135.41 122.98,138.22 122.57,141.02 121.34,143.57 119.44,145.67 117.05,147.19 114.34,148.04 111.51,148.14 108.77,147.45 106.33,146.01 104.38,143.96 103.07,141.44 102.21,138.73 101.43,136 100.65,133.27 99.87,130.53 99.09,127.8 98.32,125.06 97.55,122.33 96.79,119.59 96.04,116.85 95.28,114.11 94.53,111.37 93.79,108.62 93.05,105.88 92.73,103.07 93.18,100.27 94.42,97.72 96.32,95.62 98.7,94.08 101.4,93.21","108.14,135.9 111.13,136.06 114.08,136.56 116.95,137.39 119.71,138.55 122.31,140.03 124.71,141.81 126.86,143.89 128.73,146.23 130.27,148.8 131.44,151.55 132.22,154.44 132.56,157.41 132.47,160.4 131.93,163.34 130.96,166.17 129.6,168.83 127.87,171.28 125.83,173.46 123.51,175.35 120.96,176.91 118.23,178.13 115.36,179 112.42,179.52 109.43,179.7 106.44,179.54 103.49,179.04 100.62,178.21 97.86,177.06 95.26,175.58 92.86,173.79 90.71,171.71 88.84,169.37 87.3,166.81 86.13,164.06 85.35,161.17 85.01,158.2 85.11,155.21 85.64,152.26 86.61,149.43 87.97,146.77 89.7,144.33 91.74,142.14 94.06,140.25 96.61,138.69 99.34,137.47 102.21,136.6 105.15,136.08|175.67,128.81 177.16,128.85 178.62,129.14 180.01,129.67 181.28,130.44 182.41,131.42 183.36,132.57 184.12,133.85 184.68,135.23 185.05,136.68 185.24,138.15 185.27,139.64 185.13,141.13 184.85,142.59 184.42,144.02 183.85,145.4 183.15,146.72 182.33,147.96 181.38,149.11 180.32,150.16 179.15,151.08 177.88,151.87 176.53,152.49 175.1,152.91 173.62,153.11 172.13,153.07 170.67,152.78 169.28,152.24 168.01,151.47 166.88,150.49 165.93,149.35 165.18,148.06 164.61,146.68 164.24,145.24 164.05,143.76 164.02,142.27 164.16,140.78 164.44,139.32 164.87,137.89 165.44,136.51 166.14,135.2 166.96,133.95 167.91,132.8 168.97,131.75 170.14,130.83 171.4,130.04 172.76,129.43 174.19,129.01","103.39,78.25 106.56,78.38 109.59,79.28 112.29,80.94 114.43,83.28 115.86,86.1 116.52,89.2 116.32,92.37 115.62,95.46 114.86,98.55 114.1,101.63 113.36,104.72 112.63,107.81 111.91,110.91 111.2,114.01 110.51,117.1 109.82,120.21 109.16,123.31 108.52,126.42 107.84,129.53 106.8,132.52 105.04,135.16 102.66,137.25 99.81,138.63 96.7,139.2 93.54,138.96 90.53,137.95 87.87,136.24 85.71,133.92 84.21,131.13 83.48,128.05 83.5,124.88 84,121.74 84.7,118.64 85.4,115.54 86.08,112.44 86.77,109.34 87.48,106.24 88.19,103.15 88.92,100.05 89.66,96.96 90.41,93.88 91.18,90.8 91.95,87.71 93.1,84.76 94.95,82.19 97.4,80.19 100.28,78.86|161.99,91.57 165.07,92 167.9,93.28 170.32,95.23 172.22,97.69 173.49,100.53 174.05,103.59 173.93,106.7 173.45,109.78 172.9,112.85 172.33,115.91 171.71,118.97 171.06,122.02 170.38,125.06 169.66,128.09 168.91,131.12 168.13,134.14 167.33,137.15 166.5,140.16 165.58,143.14 164.33,145.98 162.5,148.5 160.15,150.53 157.38,151.95 154.34,152.61 151.24,152.43 148.32,151.38 145.83,149.52 143.99,147.01 142.95,144.08 142.73,140.98 143.25,137.91 144.09,134.91 144.94,131.91 145.76,128.9 146.54,125.89 147.29,122.86 148.01,119.83 148.69,116.79 149.34,113.74 149.95,110.68 150.54,107.62 151.09,104.55 151.6,101.47 152.44,98.48 154,95.79 156.21,93.6 158.94,92.12","47.23,91.05 51.61,92.47 55.26,95.29 57.96,99.03 59.7,103.31 60.56,107.85 61.28,112.42 62.11,116.97 63.06,121.51 64.11,126.01 65.28,130.49 66.56,134.94 67.95,139.35 69.44,143.73 71.05,148.07 72.77,152.37 74.62,156.61 76.52,160.83 78.06,165.19 78.52,169.78 77.62,174.3 75.2,178.22 71.44,180.86 66.96,181.91 62.36,181.55 57.99,180.06 54.03,177.68 50.59,174.58 47.77,170.92 45.62,166.83 43.74,162.6 41.96,158.33 40.29,154.01 38.72,149.66 37.27,145.26 35.93,140.83 34.69,136.37 33.56,131.88 32.55,127.37 31.65,122.83 30.85,118.27 30.2,113.69 30.08,109.07 30.85,104.51 32.49,100.19 35.01,96.32 38.44,93.24 42.64,91.35|108.93,73.38 113.76,73.6 118.38,75.01 122.49,77.56 125.82,81.07 128.1,85.34 129.65,89.93 131.04,94.58 132.43,99.22 133.82,103.87 135.22,108.51 136.6,113.16 137.99,117.81 139.36,122.46 140.73,127.11 142.13,131.76 143.51,136.41 144.82,141.08 145.51,145.86 144.91,150.66 143.09,155.14 140.17,158.99 136.38,162.01 132,164.05 127.26,165.03 122.42,164.86 117.79,163.48 113.67,160.95 110.36,157.43 108.17,153.11 106.72,148.49 105.36,143.83 103.99,139.18 102.62,134.53 101.24,129.88 99.87,125.23 98.48,120.58 97.09,115.93 95.7,111.29 94.29,106.64 92.89,102 91.49,97.36 90.81,92.57 91.38,87.77 93.14,83.26 96.02,79.37 99.79,76.34 104.18,74.32","102.86,129.56 106.39,129.96 109.85,130.76 113.21,131.94 116.4,133.5 119.39,135.42 122.13,137.69 124.56,140.28 126.64,143.16 128.33,146.29 129.59,149.61 130.37,153.08 130.66,156.62 130.43,160.16 129.68,163.63 128.42,166.96 126.7,170.07 124.54,172.89 122.02,175.39 119.18,177.52 116.07,179.25 112.76,180.54 109.31,181.4 105.78,181.82 102.23,181.83 98.7,181.42 95.24,180.62 91.88,179.44 88.69,177.88 85.7,175.96 82.96,173.69 80.53,171.1 78.45,168.22 76.76,165.1 75.5,161.77 74.72,158.31 74.44,154.77 74.67,151.22 75.41,147.75 76.67,144.42 78.39,141.32 80.55,138.49 83.07,135.99 85.91,133.86 89.02,132.14 92.33,130.84 95.78,129.99 99.31,129.56|180.44,141.06 183.61,141.1 186.72,141.68 189.66,142.86 192.28,144.63 194.43,146.96 196,149.71 197,152.72 197.48,155.86 197.51,159.03 197.15,162.18 196.43,165.27 195.38,168.26 194.07,171.15 192.52,173.92 190.74,176.55 188.77,179.03 186.6,181.35 184.25,183.48 181.74,185.41 179.06,187.12 176.23,188.56 173.28,189.71 170.21,190.52 167.07,190.95 163.9,190.91 160.78,190.33 157.84,189.15 155.22,187.37 153.08,185.04 151.51,182.29 150.51,179.28 150.03,176.15 150,172.98 150.36,169.83 151.07,166.74 152.12,163.74 153.43,160.85 154.99,158.09 156.76,155.46 158.74,152.98 160.91,150.66 163.25,148.53 165.77,146.59 168.45,144.89 171.27,143.45 174.23,142.3 177.29,141.48","86.02,131.33 88.42,131.69 90.54,132.87 92.12,134.71 93.03,136.97 93.17,139.39 92.41,141.69 90.78,143.48 88.59,144.52 86.19,144.97 83.78,145.34 81.37,145.72 78.96,146.09 76.54,146.45 74.13,146.81 71.72,147.16 69.3,147.5 66.88,147.84 64.47,148.16 62.05,148.47 59.62,148.76 57.2,149.03 54.77,149.27 52.34,149.49 49.91,149.68 47.53,149.28 45.52,147.92 44.04,145.99 43.12,143.74 42.85,141.32 43.44,138.97 45.04,137.17 47.33,136.4 49.76,136.2 52.19,135.96 54.62,135.7 57.04,135.43 59.46,135.15 61.89,134.85 64.31,134.54 66.72,134.22 69.14,133.89 71.56,133.54 73.97,133.19 76.38,132.83 78.79,132.45 81.2,132.06 83.61,131.67|153.42,116.84 155.92,117.69 157.78,119.56 158.72,122.03 158.73,124.68 157.84,127.18 156.08,129.15 153.71,130.33 151.13,131 148.55,131.65 145.98,132.32 143.4,132.98 140.82,133.63 138.23,134.27 135.65,134.9 133.06,135.53 130.47,136.15 127.88,136.76 125.29,137.36 122.69,137.94 120.09,138.51 117.49,139.06 114.88,139.59 112.27,140.1 109.62,140.12 107.17,139.14 105.28,137.29 104.18,134.88 104.06,132.23 105.03,129.78 106.92,127.93 109.35,126.87 111.96,126.34 114.57,125.8 117.17,125.24 119.77,124.67 122.37,124.09 124.96,123.5 127.56,122.9 130.15,122.29 132.74,121.68 135.32,121.05 137.91,120.41 140.49,119.76 143.07,119.11 145.65,118.44 148.22,117.76 150.78,117.03","83.36,65.84 86.61,66.42 89.57,67.88 92,70.12 93.67,72.97 94.46,76.17 94.31,79.47 93.61,82.71 92.8,85.92 92.02,89.14 91.27,92.36 90.56,95.6 89.88,98.84 89.23,102.09 88.62,105.34 88.03,108.61 87.51,111.88 87.01,115.15 86.5,118.42 85.65,121.62 84.11,124.54 81.9,126.99 79.13,128.79 75.98,129.8 72.68,129.91 69.47,129.13 66.6,127.49 64.24,125.18 62.49,122.38 61.42,119.25 61.08,115.97 61.36,112.67 61.87,109.4 62.45,106.13 63.01,102.87 63.61,99.61 64.24,96.36 64.9,93.11 65.6,89.87 66.33,86.64 67.09,83.42 67.89,80.2 68.73,77 69.89,73.9 71.7,71.14 74.1,68.86 76.93,67.16 80.07,66.12|119.49,99.16 121.99,99.28 124.44,99.82 126.9,100.34 129.36,100.86 131.81,101.38 134.27,101.91 136.72,102.44 139.17,102.98 141.62,103.52 144.08,104.07 146.52,104.62 148.97,105.18 151.42,105.74 153.86,106.31 156.31,106.89 158.75,107.47 161.2,108.02 163.49,109.03 165.16,110.87 165.95,113.24 165.87,115.74 164.94,118.05 163.17,119.8 160.79,120.55 158.31,120.29 155.88,119.65 153.44,119.06 150.99,118.49 148.55,117.92 146.1,117.36 143.65,116.81 141.2,116.26 138.75,115.73 136.29,115.2 133.84,114.67 131.38,114.15 128.93,113.62 126.47,113.1 124.02,112.57 121.56,112.04 119.11,111.5 116.81,110.53 115.08,108.73 114.22,106.39 114.29,103.9 115.28,101.61 117.12,99.93","168.71,85.67 170.73,86 172.64,86.75 174.37,87.85 175.88,89.24 177.11,90.88 178.04,92.71 178.71,94.65 179.21,96.64 179.64,98.65 180.05,100.66 180.45,102.67 180.83,104.69 181.18,106.71 181.5,108.74 181.77,110.78 181.88,112.82 181.71,114.87 181.22,116.86 180.41,118.74 179.27,120.45 177.83,121.91 176.12,123.03 174.2,123.74 172.16,123.99 170.13,123.75 168.21,123.04 166.49,121.93 165.03,120.48 163.88,118.79 163.02,116.93 162.49,114.95 162.17,112.92 161.85,110.89 161.51,108.87 161.14,106.84 160.77,104.83 160.37,102.81 159.96,100.8 159.52,98.79 159.24,96.76 159.3,94.71 159.71,92.7 160.48,90.8 161.58,89.08 163.01,87.61 164.73,86.49 166.67,85.83|206.57,78.24 208.3,78.8 209.77,79.87 210.99,81.22 212.01,82.73 212.85,84.34 213.53,86.03 214.08,87.77 214.54,89.54 214.95,91.31 215.34,93.09 215.7,94.88 216.04,96.67 216.36,98.46 216.64,100.26 216.89,102.07 217.11,103.88 217.25,105.7 217.26,107.52 217.1,109.33 216.75,111.12 216.16,112.84 215.3,114.44 214.04,115.75 212.34,116.35 210.58,115.96 209.11,114.89 207.97,113.48 207.1,111.88 206.44,110.18 205.97,108.42 205.62,106.63 205.35,104.83 205.11,103.02 204.85,101.22 204.55,99.42 204.22,97.63 203.87,95.84 203.49,94.05 203.09,92.28 202.67,90.5 202.32,88.71 202.1,86.91 202.1,85.08 202.32,83.28 202.77,81.51 203.54,79.86 204.82,78.59","39.78,104.3 42.64,105.01 45.03,106.74 46.73,109.15 47.75,111.93 48.35,114.83 48.81,117.76 49.31,120.68 49.87,123.6 50.48,126.5 51.15,129.39 51.86,132.27 52.63,135.13 53.44,137.98 54.3,140.82 55.19,143.65 56.13,146.46 57.1,149.26 58.1,152.05 58.86,154.92 58.96,157.87 58.18,160.72 56.43,163.09 53.84,164.48 50.9,164.62 48.08,163.75 45.58,162.16 43.51,160.05 41.89,157.57 40.67,154.87 39.67,152.08 38.73,149.26 37.81,146.44 36.94,143.61 36.11,140.76 35.34,137.9 34.61,135.03 33.92,132.14 33.28,129.24 32.7,126.34 32.16,123.42 31.67,120.5 31.23,117.57 31.14,114.61 31.65,111.69 32.74,108.94 34.47,106.54 36.89,104.86|108.97,125.73 111.9,126.2 114.63,127.37 117,129.16 118.84,131.49 119.99,134.23 120.32,137.18 119.85,140.11 118.59,142.8 116.78,145.16 114.84,147.42 112.89,149.67 110.93,151.92 108.97,154.16 107.01,156.39 105.03,158.62 103.05,160.85 101.07,163.06 99.07,165.28 97.09,167.5 95.09,169.71 93.05,171.88 90.69,173.67 87.89,174.66 84.93,174.81 82.02,174.22 79.31,173 76.92,171.24 74.99,168.98 73.7,166.3 73.26,163.37 73.74,160.45 75.2,157.86 77.17,155.63 79.18,153.43 81.18,151.23 83.17,149.02 85.16,146.8 87.14,144.58 89.11,142.35 91.08,140.11 93.04,137.87 95,135.63 96.95,133.38 98.89,131.12 100.87,128.89 103.25,127.12 106.02,126.04","115.43,87.59 118.19,88.24 120.69,89.59 122.69,91.59 124.03,94.09 124.63,96.87 124.41,99.7 123.7,102.45 122.9,105.18 122.12,107.92 121.34,110.65 120.57,113.39 119.79,116.13 119.02,118.87 118.25,121.61 117.48,124.35 116.72,127.09 115.97,129.83 115.23,132.58 114.45,135.32 113.3,137.91 111.49,140.09 109.13,141.65 106.41,142.48 103.58,142.56 100.82,141.91 98.33,140.54 96.33,138.53 94.99,136.03 94.38,133.26 94.57,130.43 95.25,127.67 96.02,124.93 96.79,122.19 97.55,119.45 98.31,116.7 99.08,113.96 99.85,111.22 100.62,108.49 101.4,105.75 102.18,103.01 102.95,100.27 103.74,97.54 104.51,94.8 105.68,92.21 107.5,90.04 109.88,88.5 112.59,87.67|155.37,78.64 158.04,79.15 160.48,80.37 162.53,82.16 164.33,84.22 166.1,86.3 167.85,88.4 169.58,90.51 171.29,92.64 172.98,94.78 174.65,96.94 176.3,99.12 177.92,101.32 179.51,103.54 181.06,105.79 182.57,108.07 184.03,110.37 185.2,112.83 185.77,115.5 185.73,118.23 185.07,120.87 183.8,123.28 181.94,125.26 179.57,126.6 176.89,127.03 174.24,126.43 171.99,124.92 170.26,122.8 168.75,120.53 167.22,118.27 165.66,116.03 164.07,113.81 162.45,111.6 160.82,109.41 159.16,107.25 157.47,105.1 155.76,102.97 154.03,100.85 152.28,98.76 150.51,96.68 148.74,94.6 147.29,92.29 146.49,89.69 146.36,86.97 146.94,84.31 148.23,81.91 150.19,80.02 152.66,78.89","92.71,76.24 95.76,76.59 98.73,77.35 101.56,78.53 104.21,80.08 106.63,81.96 108.78,84.16 110.61,86.62 112.09,89.31 113.19,92.17 113.91,95.15 114.24,98.2 114.18,101.27 113.73,104.31 112.9,107.26 111.7,110.09 110.15,112.73 108.28,115.17 106.12,117.35 103.71,119.24 101.08,120.83 98.27,122.07 95.33,122.95 92.3,123.44 89.23,123.51 86.18,123.17 83.21,122.41 80.38,121.23 77.73,119.69 75.31,117.8 73.16,115.61 71.33,113.14 69.86,110.45 68.75,107.59 68.02,104.61 67.7,101.56 67.76,98.49 68.22,95.46 69.05,92.5 70.25,89.68 71.8,87.03 73.67,84.59 75.83,82.41 78.24,80.52 80.87,78.93 83.67,77.69 86.61,76.81 89.64,76.32|157.73,102.08 159.31,102.13 160.86,102.42 162.35,102.95 163.74,103.69 165.01,104.62 166.15,105.72 167.13,106.95 167.96,108.29 168.63,109.72 169.13,111.22 169.45,112.76 169.59,114.34 169.55,115.91 169.31,117.47 168.88,118.99 168.28,120.45 167.52,121.83 166.58,123.1 165.48,124.23 164.25,125.22 162.89,126.02 161.43,126.63 159.91,127.02 158.34,127.2 156.76,127.14 155.21,126.85 153.73,126.33 152.33,125.59 151.06,124.65 149.93,123.56 148.94,122.33 148.11,120.99 147.44,119.56 146.95,118.06 146.62,116.51 146.48,114.94 146.52,113.37 146.76,111.8 147.18,110.28 147.78,108.83 148.56,107.45 149.5,106.18 150.59,105.05 151.83,104.07 153.18,103.26 154.64,102.65 156.17,102.26","57.98,112.03 61.01,112.26 63.82,113.41 66.22,115.27 68.09,117.67 69.36,120.44 70.14,123.39 70.64,126.39 71.07,129.41 71.58,132.42 72.15,135.41 72.76,138.4 73.4,141.38 74.09,144.35 74.82,147.31 75.59,150.26 76.42,153.2 77.3,156.12 78.16,159.04 78.68,162.04 78.42,165.07 77.28,167.88 75.25,170.13 72.54,171.49 69.52,171.87 66.51,171.44 63.69,170.32 61.16,168.61 59.03,166.44 57.38,163.89 56.23,161.06 55.34,158.15 54.53,155.21 53.73,152.27 52.97,149.31 52.25,146.35 51.57,143.38 50.93,140.4 50.34,137.41 49.78,134.41 49.26,131.4 48.78,128.39 48.37,125.37 48.37,122.33 49.06,119.36 50.44,116.65 52.47,114.39 55.04,112.78|117.45,101.46 120.57,101.84 123.48,103.02 125.99,104.91 127.97,107.35 129.25,110.23 130.05,113.27 130.76,116.34 131.46,119.41 132.15,122.49 132.85,125.56 133.55,128.63 134.24,131.71 134.93,134.78 135.61,137.86 136.32,140.93 137.01,144 137.66,147.09 137.87,150.22 137.25,153.3 135.83,156.1 133.73,158.45 131.15,160.23 128.22,161.38 125.11,161.83 121.98,161.5 119.05,160.37 116.52,158.51 114.57,156.05 113.37,153.14 112.64,150.08 111.95,147 111.27,143.93 110.58,140.85 109.89,137.78 109.2,134.7 108.51,131.63 107.81,128.56 107.12,125.48 106.42,122.41 105.71,119.34 105.02,116.27 104.83,113.13 105.42,110.04 106.79,107.22 108.84,104.83 111.41,103.02 114.33,101.87","113.75,120.08 118.16,120.78 122.31,122.43 125.98,124.96 128.94,128.29 131.02,132.23 132.12,136.56 132.1,141.02 131.16,145.38 129.94,149.68 128.69,153.98 127.44,158.27 126.19,162.56 124.92,166.85 123.64,171.14 122.35,175.42 121.05,179.69 119.76,183.97 118.46,188.25 117.05,192.49 114.84,196.36 111.47,199.27 107.42,201.12 103.04,201.99 98.58,201.97 94.18,201.19 89.97,199.7 86.1,197.48 82.8,194.48 80.41,190.72 79.31,186.41 79.87,182 81.24,177.74 82.57,173.47 83.88,169.2 85.19,164.92 86.48,160.64 87.75,156.36 89.02,152.07 90.28,147.78 91.53,143.49 92.77,139.19 93.97,134.88 95.5,130.69 97.93,126.95 101.16,123.87 105.02,121.64 109.3,120.36|181.19,127.71 185.4,128.03 189.23,129.79 192.19,132.8 194.06,136.59 194.87,140.74 194.76,144.98 194.21,149.18 193.55,153.37 192.79,157.55 191.91,161.69 190.91,165.82 189.8,169.91 188.57,173.97 187.22,177.99 185.72,181.96 184.07,185.87 182.26,189.7 180.26,193.44 177.85,196.92 174.93,199.99 171.62,202.64 168,204.85 164.13,206.59 160.07,207.78 155.86,208.24 151.69,207.6 148.31,205.16 147.33,201.11 148.48,197.06 150.4,193.28 152.24,189.46 153.93,185.56 155.48,181.61 156.89,177.62 158.17,173.57 159.32,169.49 160.35,165.38 161.26,161.23 162.06,157.07 162.7,152.87 163.29,148.67 164.12,144.52 165.46,140.5 167.49,136.78 170.16,133.49 173.37,130.73 177.08,128.7","52.43,111.88 55.76,112.3 59,113.21 62.08,114.57 64.96,116.3 67.61,118.36 70.01,120.71 72.16,123.3 74.02,126.1 75.61,129.06 76.9,132.17 77.89,135.38 78.56,138.68 78.89,142.02 78.86,145.39 78.45,148.72 77.63,151.98 76.39,155.11 74.74,158.03 72.67,160.68 70.2,162.96 67.38,164.79 64.28,166.08 61,166.78 57.64,166.91 54.3,166.49 51.07,165.57 47.99,164.22 45.11,162.49 42.46,160.42 40.05,158.07 37.91,155.48 36.04,152.68 34.46,149.72 33.16,146.62 32.17,143.4 31.51,140.11 31.18,136.76 31.21,133.4 31.62,130.06 32.44,126.8 33.67,123.68 35.33,120.75 37.4,118.1 39.86,115.82 42.68,114 45.79,112.71 49.07,112.01|126.89,95.19 130.56,95.44 134.16,96.17 137.64,97.36 140.94,98.99 143.98,101.06 146.73,103.5 149.13,106.29 151.14,109.37 152.72,112.69 153.86,116.19 154.54,119.8 154.74,123.47 154.45,127.14 153.67,130.74 152.43,134.2 150.76,137.48 148.69,140.51 146.25,143.27 143.48,145.69 140.43,147.75 137.14,149.39 133.66,150.59 130.06,151.32 126.39,151.56 122.72,151.31 119.11,150.59 115.63,149.4 112.34,147.76 109.29,145.7 106.54,143.26 104.14,140.47 102.13,137.39 100.55,134.07 99.41,130.57 98.73,126.96 98.53,123.28 98.83,119.62 99.6,116.02 100.84,112.56 102.51,109.28 104.59,106.25 107.03,103.49 109.79,101.07 112.84,99.01 116.13,97.36 119.61,96.16 123.22,95.43","72.34,79.33 74.93,79.64 77.52,79.94 80.12,80.25 82.71,80.57 85.3,80.91 87.88,81.26 90.47,81.63 93.05,82 95.63,82.39 98.21,82.79 100.79,83.21 103.37,83.63 105.94,84.07 108.51,84.52 111.09,84.92 113.65,85.44 115.99,86.56 117.75,88.47 118.68,90.89 118.57,93.48 117.47,95.83 115.57,97.6 113.16,98.56 110.56,98.58 108,98.1 105.43,97.64 102.85,97.19 100.28,96.76 97.7,96.33 95.12,95.93 92.54,95.53 89.96,95.14 87.38,94.77 84.79,94.4 82.2,94.06 79.62,93.72 77.02,93.41 74.43,93.11 71.84,92.81 69.24,92.5 66.78,91.69 64.99,89.83 64.25,87.35 64.5,84.76 65.58,82.39 67.38,80.53 69.74,79.45|136.83,90.25 139.33,90.71 141.8,91.34 144.28,91.93 146.75,92.53 149.22,93.14 151.69,93.77 154.15,94.4 156.62,95.05 159.08,95.71 161.53,96.38 163.98,97.07 166.43,97.76 168.88,98.47 171.32,99.2 173.75,99.94 176.19,100.67 178.49,101.74 180.18,103.62 181.12,105.98 181.31,108.51 180.69,110.96 179.21,113.01 176.98,114.19 174.46,114.13 172.02,113.41 169.58,112.66 167.14,111.93 164.7,111.22 162.25,110.52 159.8,109.84 157.34,109.17 154.88,108.52 152.42,107.88 149.95,107.26 147.48,106.64 145.01,106.03 142.54,105.42 140.06,104.81 137.59,104.21 135.12,103.61 132.78,102.62 130.96,100.86 129.93,98.55 129.77,96.02 130.49,93.59 132.06,91.61 134.31,90.46","107.05,116.19 110.26,116.71 113.26,118 115.85,119.97 117.92,122.49 119.29,125.45 120.04,128.63 120.54,131.86 121.04,135.09 121.54,138.31 122.06,141.54 122.59,144.77 123.12,147.99 123.67,151.21 124.22,154.43 124.8,157.65 125.4,160.86 125.95,164.08 126.04,167.34 125.2,170.49 123.53,173.28 121.14,175.49 118.26,177.02 115.11,177.87 111.85,178.04 108.63,177.56 105.58,176.41 102.87,174.58 100.72,172.14 99.35,169.18 98.61,166 98.04,162.78 97.47,159.57 96.91,156.35 96.36,153.13 95.83,149.9 95.3,146.68 94.78,143.45 94.27,140.22 93.76,137 93.26,133.77 92.82,130.53 92.96,127.27 93.87,124.15 95.55,121.35 97.88,119.07 100.68,117.41 103.79,116.44|189.21,121.96 191.36,122.71 192.8,124.5 193.41,126.73 193.32,129.04 192.59,131.23 191.22,133.09 189.28,134.34 187.12,135.19 184.95,136 182.78,136.83 180.61,137.63 178.43,138.43 176.24,139.2 174.05,139.95 171.85,140.69 169.64,141.4 167.43,142.09 165.21,142.76 162.98,143.42 160.75,144.05 158.51,144.66 156.27,145.25 154.02,145.81 151.72,145.98 149.57,145.18 148.01,143.49 147.25,141.31 147.31,139 148.16,136.86 149.7,135.14 151.74,134.05 153.97,133.43 156.21,132.84 158.45,132.22 160.68,131.59 162.91,130.93 165.13,130.26 167.34,129.58 169.55,128.87 171.76,128.15 173.95,127.41 176.15,126.65 178.33,125.87 180.51,125.08 182.68,124.26 184.84,123.41 186.98,122.53","98.62,121.53 100.72,121.6 102.78,122.03 104.72,122.83 106.49,123.97 108.01,125.42 109.24,127.12 110.15,129.02 110.66,131.05 110.78,133.15 110.62,135.25 110.34,137.33 110.04,139.42 109.76,141.5 109.49,143.59 109.21,145.68 108.92,147.76 108.6,149.84 108.08,151.88 107.18,153.78 105.92,155.45 104.34,156.83 102.51,157.86 100.51,158.52 98.43,158.81 96.33,158.72 94.28,158.27 92.33,157.47 90.57,156.33 89.03,154.89 87.78,153.21 86.85,151.32 86.29,149.3 86.13,147.2 86.28,145.11 86.57,143.02 86.9,140.94 87.2,138.86 87.49,136.78 87.79,134.69 88.08,132.61 88.4,130.53 88.96,128.5 89.88,126.61 91.15,124.94 92.73,123.56 94.56,122.52 96.54,121.84|155.31,127.29 157.36,127.43 159.33,127.99 161.14,128.96 162.7,130.29 163.95,131.92 164.84,133.77 165.35,135.75 165.49,137.8 165.35,139.85 165.07,141.89 164.79,143.92 164.53,145.96 164.26,148 163.97,150.04 163.65,152.06 163.27,154.09 162.7,156.06 161.83,157.92 160.68,159.62 159.29,161.13 157.69,162.41 155.9,163.42 153.97,164.1 151.94,164.41 149.89,164.32 147.9,163.82 146.06,162.92 144.47,161.62 143.24,159.98 142.41,158.1 142,156.09 142.01,154.04 142.32,152.01 142.64,149.98 142.96,147.95 143.25,145.92 143.51,143.88 143.73,141.83 143.97,139.79 144.27,137.76 144.74,135.76 145.53,133.87 146.62,132.13 147.98,130.59 149.57,129.28 151.35,128.27 153.28,127.58"],lo=b6.map(e=>e.split("|").map(t=>t.split(" ").map(n=>{const[r,o]=n.split(",");return[Number(r),Number(o)]}))),et=e=>{let t=0,n=0;for(const r of e)t+=r[0],n+=r[1];return[t/e.length,n/e.length]},ye=lo.map(e=>{const t=et(e[0]),n=et(e[1]);return[(t[0]+n[0])/2-p2[0],(t[1]+n[1])/2-p2[1]]}),Ve=lo.map((e,t)=>e.map(n=>n.map(r=>[r[0]-ye[t][0],r[1]-ye[t][1]]))),yt=Ve.length,xt=[[14,3,20,0],[13,1,20,0],[25,14,13,0],[11,4,18,0],[16,-2,22,0],[15,-3,20,6],[12,2,20,0],[17,-7,18,0],[15,5,20,0],[12,3,20,0],[14,1,20,0],[23,12,13,0],[12,2,20,0],[16,-3,22,0],[15,-2,20,-6],[12,5,20,0],[16,-4,18,0],[20,11,18,0],[11,2,20,0],[17,8,20,0],[15,5,10,0],[12,4,18,0],[16,-3,22,0],[15,-5,20,7],[11,6,20,0]],y6=7.5;function x6(e,t){const n=et(e[0]),r=et(e[1]),o=Math.atan2(r[1]-n[1],r[0]-n[0]);let i=0;for(const c of e){let l=1/0,u=-1/0;for(const d of c)d[1]<l&&(l=d[1]),d[1]>u&&(u=d[1]);i=Math.max(i,(u-l)/2)}const s=i+t[2];return{x:(n[0]+r[0])/2-Math.sin(o)*s,y:(n[1]+r[1])/2+Math.cos(o)*s,angle:o+t[3]*Math.PI/180}}const Ae=1e3/60,Lt=4,uo=[1e3/20,1e3/30,Ae],v6=64,k6=uo[0],w6=.5,_6=.2,fo=1400,Dt=200,S6=1/Math.E,Se=q1+30,C2=q1/2,j6=Math.PI*2,M6=Math.PI/180,m2={sleeping:{pulse:[.028,4600],tilt:2},waking:{enter:[.92,700],pulse:[.03,2200]},idle:{pulse:[.014,3600]},listening:{bob:[2,2600],pulse:[.012,2600]},thinking:{sway:[1.6,3e3],pulse:[.01,3e3]},searching:{bob:[3,1400],sway:[2.2,1400]},working:{bob:[2.5,900],squash:.22},excited:{bob:[9,520],sway:[3,1040],squash:.35},surprised:{enter:[1.14,340],jitter:[.8,120]},suspicious:{sway:[2.4,2600],tilt:-3},angry:{jitter:[1.3,95],tilt:2},drowsy:{pulse:[.026,5e3],tilt:3},happy:{bob:[5,820],squash:.28},curious:{sway:[3.4,1900],tilt:-4},confused:{sway:[3,2200]},bored:{pulse:[.016,5200],tilt:2},proud:{bob:[1.6,2400],pulse:[.02,2400]},shy:{pulse:[.016,3e3],tilt:4},sad:{pulse:[.02,4600],tilt:3},laughing:{bob:[7,430],squash:.4},scared:{jitter:[2.2,75]},playful:{bob:[6,620],sway:[5,1240],squash:.3},celebrate:{bob:[10,480],sway:[4,960],squash:.35},orbit:{circle:[6,3200]},radar:{sway:[6,2400],pulse:[.012,2400]},progress:{pulse:[.022,1600]},spawning:{enter:[.02,820],pulse:[.014,3600]},humming:{pulse:[.016,2800]},loading:{sway:[2.2,1500],pulse:[.012,1500]},dictating:{bob:[2,2e3]},writing:{bob:[1.6,1100]},sending:{bob:[3,900]},receiving:{bob:[3,900]},uploading:{bob:[3,1e3]},notifying:{bob:[4,700],sway:[2.5,700]},alerting:{jitter:[2.6,85]},dragging:{tilt:-6,sway:[2,900]},bouncing:{bob:[12,560],squash:.45},"powering-down":{settle:.05,tilt:4}},N6=e=>{const n=e-1;return 1+(1.7+1)*n*n*n+1.7*n*n},E6=e=>e<.5?2*e*e:1-2*(1-e)*(1-e);function $6(e,t,n){if(n<=0)return"";const r=q1/2,o=q1,i=(C,g=0)=>Math.sin(t/C*Math.PI*2+g);let s=0,c=0,l=e.tilt?e.tilt*n:0,u=1,d=1,p=1;if(e.bob){const[C,g]=e.bob,y=i(g);if(c-=C*n*y,e.squash){const x=e.squash*n*Math.max(0,-y);p=1-x*.5,d=1+x*.5}}if(e.circle){const[C,g]=e.circle;s+=C*n*i(g),c+=C*n*i(g,Math.PI/2)}if(e.sway){const[C,g]=e.sway;l+=C*n*i(g)}if(e.pulse){const[C,g]=e.pulse;u*=1+C*n*i(g)}if(e.jitter){const[C,g]=e.jitter;s+=C*n*i(g),c+=C*n*i(g*.63,1.1)}if(e.enter){const[C,g]=e.enter,y=t/g;u*=y>=1?1:C+(1-C)*N6(Math.max(y,0))}if(e.settle!==void 0){const C=Math.min(Math.max(t/fo,0),1);u*=1+(e.settle-1)*E6(C)*n}const h=[];return(s||c)&&h.push(`translate(${s.toFixed(2)} ${c.toFixed(2)})`),l&&h.push(`rotate(${l.toFixed(2)} ${r} ${r})`),u!==1&&h.push(`translate(${r} ${r}) scale(${u.toFixed(4)}) translate(${-r} ${-r})`),(d!==1||p!==1)&&h.push(`translate(${r} ${o}) scale(${d.toFixed(4)} ${p.toFixed(4)}) translate(${-r} ${-o})`),h.join(" ")}function A6(e){if(!(e>0))return 1/0;for(const t of uo)if(e*t<=w6)return t;return Ae}function X1(e,t,n){return e*n>=_6?j6*e*n/t:0}function Z6(e,t,n){if(t<=0)return 0;let r=0;return e.bob&&(r+=X1(e.bob[0]*t,e.bob[1],n),e.squash&&(r+=X1(e.squash*t*.5*q1,e.bob[1],n))),e.sway&&(r+=X1(e.sway[0]*t*M6*C2,e.sway[1],n)),e.pulse&&(r+=X1(e.pulse[0]*t*C2,e.pulse[1],n)),e.circle&&(r+=X1(e.circle[0]*t,e.circle[1],n)),e.jitter&&(r+=X1(e.jitter[0]*t,e.jitter[1]*.63,n)),r}function z6(e,t){return!!(e.enter&&t<e.enter[1])||e.settle!==void 0&&t<fo}function je(e,t){return t===1/0?1/0:(Math.floor((e+Lt)/t)+1)*t}function bn(e){return e<=v6?k6:Ae}function O6(e,t){return Math.max(I6(e,t),je(e,bn(t.sizePx)))}function I6(e,t){const{motion:n,effects:r,stateElapsedMs:o,strength:i}=t,s=je(e,Ae);if(t.blinkingOrSpinning||i>0&&t.showEffects&&(r?.confetti||r?.trails)||i>0&&z6(n,o))return s;const c=t.sizePx/Se,l=je(e,A6(Z6(n,i,c)+t.faceUnitsPerMs*c)),u=t.showGlyphs?r?.glyph:void 0;if(!u)return l;const d=o%u.period,p=u.period-u.hold;if(d<p)return Math.min(l,e+p-d);const h=u.period-Dt;return d<p+Dt||d>=h?s:Math.min(l,e+h-d)}function T6(e,t,n,r){return t>=1?0:Math.max(Math.abs(e),S6*n*(1-t))/1e3*r}function P6(e,t){let n=0;return e.rings.forEach((r,o)=>r.forEach((i,s)=>{const c=t.rings[o][s];n=Math.max(n,Math.hypot(c[0]-i[0],c[1]-i[1]))})),e.mouth.forEach((r,o)=>{n=Math.max(n,Math.abs(t.mouth[o]-r))}),n+Math.hypot(t.gaze[0]-e.gaze[0],t.gaze[1]-e.gaze[1])}const R6=1;function L6(e){const t=new Set,n=new Map;let r=null,o=null,i=!1,s;const c=()=>{if(o!==null&&(e.clearTimer(o),o=null),r!==null||i)return;let p=1/0;for(const C of t)C.onScreen&&C.due<p&&(p=C.due);if(p===1/0)return;const h=p-e.now()-Lt;if(h<=Ae){r=e.requestFrame(u);return}o=e.setTimer(()=>{o=null,r===null&&!i&&t.size&&(r=e.requestFrame(u))},h-R6)},l=(p,h)=>{let C=1/0;try{C=p.frame(h)}finally{p.due=C}},u=p=>{r=null;try{for(const h of t)h.onScreen&&h.due<=p+Lt&&l(h,p)}finally{c()}},d=()=>{i=e.documentHidden(),e.onDocumentVisibility(()=>{if(i=e.documentHidden(),!i)return c();r!==null&&e.cancelFrame(r),o!==null&&e.clearTimer(o),r=null,o=null}),s=e.watchVisibility(p=>{for(const h of p){const C=n.get(h.target);C&&(C.onScreen=h.isIntersecting)}c()})};return{add(p,h){s===void 0&&d();const C={frame:p,due:-1/0,onScreen:!0};return t.add(C),h&&s&&(n.set(h,C),s.observe(h)),c(),{wake(g=-1/0){t.has(C)&&(C.due=Math.min(C.due,g),c())},remove(){t.delete(C),h&&n.get(h)===C&&(n.delete(h),s?.unobserve(h))}}},pending(){let p=0;for(const h of t)h.onScreen&&h.due!==1/0&&p++;return p}}}function D6(){return{now:()=>performance.now(),requestFrame:e=>requestAnimationFrame(e),cancelFrame:e=>cancelAnimationFrame(e),setTimer:(e,t)=>setTimeout(e,t),clearTimer:e=>clearTimeout(e),watchVisibility:e=>typeof IntersectionObserver=="function"?new IntersectionObserver(e,{rootMargin:"64px"}):null,documentHidden:()=>document.visibilityState==="hidden",onDocumentVisibility:e=>document.addEventListener("visibilitychange",e)}}let g2;function po(){return g2??=L6(D6()),g2}const ho="(prefers-reduced-motion: reduce)";function F6(e){const t=globalThis.window?.matchMedia?.(ho);return t?.addEventListener("change",e),()=>t?.removeEventListener("change",e)}const B6=()=>globalThis.window?.matchMedia?.(ho).matches??!1;function Co(){return m.useSyncExternalStore(F6,B6,()=>!1)}const{id:D7,...U6}=gn.cursor,W6=U6,K6=["#9FE6B5","#3FAE6E","#1C7A4C"],H6=`-15 -15 ${Se} ${Se}`,Fe=114.2705,Be=105,Ft=Math.PI*2,xe=e=>{const t=Math.sin(e*127.1+311.7)*43758.5453;return t-Math.floor(t)},b2=["#F472B6","#C084FC","#818CF8","#38BDF8","#34D399","#FACC15","#FB7185"],y2=["#4ADE80","#34D399","#22D3EE","#60A5FA"],x2='<path fill="{{GRADIENT}}" d="M99 58 Q99 43 114.3 43 Q129.6 43 129.6 58 L123 150 Q122 161 114.3 161 Q106.6 161 105.6 150 Z"/><circle fill="{{GRADIENT}}" cx="114.3" cy="188" r="15"/>',V6='<path fill="none" stroke="{{GRADIENT}}" stroke-width="19" stroke-linecap="round" d="M88 76 A27 27 0 1 1 114.3 112 L114.3 132"/><circle fill="{{GRADIENT}}" cx="114.3" cy="170" r="13"/>',Bt={celebrate:{confetti:{count:16,period:1500,life:1300,origin:74,spread:54}},excited:{confetti:{count:9,period:2e3,life:1100,origin:72,spread:44}},laughing:{confetti:{count:7,period:2400,life:1e3,origin:70,spread:38}},orbit:{trails:{count:3,period:2600,radius:128}},radar:{trails:{count:2,period:2e3,radius:132}},progress:{trails:{count:3,period:1800,radius:124}},loading:{trails:{count:2,period:2200,radius:126}},uploading:{trails:{count:2,period:1700,radius:122}},sending:{trails:{count:2,period:1500,radius:120}},receiving:{trails:{count:2,period:1500,radius:120}},alerting:{glyph:{markup:x2,period:2600,hold:1100}},notifying:{glyph:{markup:x2,period:4200,hold:900}},confused:{glyph:{markup:V6,period:5200,hold:1200}}},G6="http://www.w3.org/2000/svg";function mo(e,t){for(;e.childNodes.length>t;)e.removeChild(e.lastChild);for(;e.childNodes.length<t;){const n=document.createElementNS(G6,"path");n.setAttribute("stroke-linecap","round"),n.setAttribute("fill","none"),e.appendChild(n)}return Array.from(e.querySelectorAll(":scope > path"))}function J6(e,t,n,r,o,i){const s=mo(e,t.count);for(let c=0;c<t.count;c++){const l=s[c],u=xe(c+1),d=xe(c+41),p=xe(c+91),h=(n+p*t.period)%t.period/t.life*1;if(h>1){l.setAttribute("opacity","0");continue}const C=u*Ft,g=t.spread*(.45+d*.55)*(1-(1-h)*(1-h)),y=(t.origin+g)*r,x=34*r*h*h,k=o+Math.cos(C)*y,_=i+Math.sin(C)*y+x,j=11+d*12,N=C+(p-.5)*5*h,w=k+Math.cos(N)*j,v=_+Math.sin(N)*j,A=(u-.5)*j*.7,z=(k+w)/2-Math.sin(N)*A,Z=(_+v)/2+Math.cos(N)*A;l.setAttribute("d",`M${k.toFixed(1)} ${_.toFixed(1)} Q${z.toFixed(1)} ${Z.toFixed(1)} ${w.toFixed(1)} ${v.toFixed(1)}`),l.setAttribute("stroke",b2[c%b2.length]),l.setAttribute("stroke-width",(4+d*2.4).toFixed(1)),l.setAttribute("opacity",(h<.12?h/.12:1-(h-.12)/.88).toFixed(3))}}function q6(e,t,n,r,o,i){const s=mo(e,t.count),c=12;for(let l=0;l<t.count;l++){const u=s[l],d=xe(l+3),p=xe(l+29),h=l%2===0?1:-1,C=t.period*(.8+d*.5),g=t.radius*r*(.78+p*.4),y=h*(n/C)*Ft+d*Ft,x=.85+p*.7;let k="";for(let _=0;_<=c;_++){const j=_/c,N=y+x*j,w=g*(1+Math.sin(j*Math.PI)*.14),v=o+Math.cos(N)*w,A=i+Math.sin(N)*w*.78;k+=(_===0?"M":"L")+v.toFixed(1)+" "+A.toFixed(1)}u.setAttribute("d",k),u.setAttribute("stroke",y2[l%y2.length]),u.setAttribute("stroke-width",(5+d*3).toFixed(1)),u.setAttribute("opacity","0.85")}}function go(e,t){const n=t%e.period,r=e.period-e.hold;if(n<r)return 0;const o=n-r,i=e.hold-o;return Math.max(0,Math.min(1,Math.min(o,i)/Dt))}function Y6(e){const t=Bt[e.state],n=q1/2,r=e.strength;if(e.trails&&(t?.trails&&e.showEffects&&r>0?q6(e.trails,t.trails,e.elapsed,r,n,n):e.trails.childNodes.length&&e.trails.replaceChildren()),e.confetti&&(t?.confetti&&e.showEffects&&r>0?J6(e.confetti,t.confetti,e.elapsed,r,n,n):e.confetti.childNodes.length&&e.confetti.replaceChildren()),e.glyph&&e.bodyContent)if(t?.glyph&&e.showGlyphs){const o=go(t.glyph,e.elapsed),i=t.glyph.markup.replace(/\{\{GRADIENT\}\}/g,e.paint);e.glyph.getAttribute("data-glyph")!==i&&(e.glyph.setAttribute("data-glyph",i),e.glyph.innerHTML=i),e.glyph.style.opacity=String(o);const s=.72+.28*o;e.glyph.setAttribute("transform",`translate(${n} ${n}) scale(${s.toFixed(3)}) translate(${-n} ${-n})`),e.bodyContent.style.opacity=String(1-o)}else e.glyph.getAttribute("data-glyph")&&(e.glyph.removeAttribute("data-glyph"),e.glyph.replaceChildren()),e.glyph.style.opacity="0",e.bodyContent.style.opacity="1"}const tt={sleeping:[22,13,4],waking:[13],idle:[6,0,8],listening:[1,10,19],thinking:[17,8,16,14,5],searching:[20,15,9,3,12,18],working:[10,7,16,11],excited:[2,17,21,3,11],surprised:[21,3],suspicious:[5,14,23],angry:[7,16],drowsy:[22,4,13],happy:[19,2,11,17],curious:[21,3,0,15],confused:[8,14,5],bored:[0,4,22],proud:[2,15,8],shy:[24,0,13],sad:[22,4,13],laughing:[2,11,17],scared:[21,3],playful:[2,17,11,8],celebrate:[2,8,17],orbit:[6,0,8],radar:[6,0,8],progress:[6,0,8],spawning:[3,0],humming:[6,0,8],loading:[6,0,8],dictating:[1,10,19],sending:[6,0,8],receiving:[19,0,8],uploading:[15,9,8],writing:[15,9],notifying:[21,3,0],alerting:[21,3],bouncing:[2,17],dragging:[3,15,0],"powering-down":[22,13]},X6={sleeping:[6e3,1e4],waking:[800,800],idle:[9e3,16e3],listening:[2800,5e3],thinking:[2e3,3600],searching:[1e3,1800],working:[1800,3200],excited:[1100,2e3],surprised:[2500,4e3],suspicious:[2600,4500],angry:[2200,3800],drowsy:[4e3,8e3],happy:[2500,4500],curious:[1800,3200],confused:[2200,3800],bored:[3500,6e3],proud:[3500,6e3],shy:[3e3,5500],sad:[4e3,7e3],laughing:[1200,2400],scared:[900,1800],playful:[1500,3e3],celebrate:[1400,2600],orbit:[4e3,8e3],radar:[4e3,8e3],progress:[4e3,8e3],spawning:[1200,1200],humming:[5e3,9e3],loading:[6e3,1e4],dictating:[4e3,8e3],sending:[4e3,8e3],receiving:[4e3,8e3],uploading:[4e3,8e3],writing:[4e3,8e3],notifying:[1500,2600],alerting:[2e3,3600],bouncing:[3e3,6e3],dragging:[1600,3e3],"powering-down":[6e3,9e3]},Q6={sleeping:null,waking:null,idle:[6e3,14e3],listening:[3e3,7e3],thinking:[3500,7e3],searching:[1600,4e3],working:[2800,5500],excited:[2e3,4e3],surprised:[1800,3500],suspicious:[4500,8e3],angry:[3500,7e3],drowsy:null,happy:[2500,5e3],curious:[2500,5500],confused:[2800,5500],bored:[4e3,8e3],proud:[3500,7e3],shy:[3e3,6e3],sad:[4e3,8e3],laughing:[2500,5e3],scared:[1200,3e3],playful:[2e3,4500],celebrate:[2200,4500],orbit:null,radar:null,progress:null,spawning:null,humming:[4e3,8e3],loading:null,dictating:null,sending:null,receiving:null,uploading:null,writing:null,notifying:[2e3,4e3],alerting:null,bouncing:null,dragging:[2200,4500],"powering-down":null},e9=e=>e in tt,t9=Object.keys(tt).filter(e9),A1=(e,t,n)=>Math.max(t,Math.min(n,e)),v2=()=>null,n9=e=>"M"+e.map(t=>t[0].toFixed(2)+" "+t[1].toFixed(2)).join("L")+"Z",r9=e=>e.map(t=>t.map(n=>[n[0],n[1]])),o9=e=>{let t=0,n=0;for(const r of e)t+=r[0],n+=r[1];return[t/e.length,n/e.length]};function i9(e,t){const n=Math.cos(e.angle),r=Math.sin(e.angle),o=(l,u)=>[e.x+l*n-u*r,e.y+l*r+u*n],i=o(-t[0],0),s=o(0,t[1]),c=o(t[0],0);return"M"+i[0].toFixed(2)+" "+i[1].toFixed(2)+" Q"+s[0].toFixed(2)+" "+s[1].toFixed(2)+" "+c[0].toFixed(2)+" "+c[1].toFixed(2)}const s9=e=>`translate(${e.x} ${e.y}) scale(${e.scale}) translate(-120 ${-122.5})`,a9=Nn.forwardRef(function({state:t="idle",expression:n,size:r=160,gaze:o,turn:i=0,lookAround:s=.5,flip:c=!1,spring:l=7,eyeScale:u=1,showMouth:d=!0,mouthStroke:p=y6,motion:h,effects:C=!0,glyphs:g=!0,autoBlink:y=!0,autoExpression:x=!0,paused:k=!1,silhouette:_=W6,gradient:j=K6,picture:N,eyeColor:w="#ffffff",title:v,className:A,style:z},Z){const V=m.useId(),M=m.useMemo(()=>"mascot"+V.replace(/[^a-zA-Z0-9]/g,""),[V]),o1=m.useRef(null),P=m.useRef(null),T=m.useRef(null),O=m.useRef(null),$=m.useRef(null),q=m.useRef(null),B=m.useRef(null),t1=m.useRef(null),S1=m.useRef(null),Y=m.useRef(null),j1=()=>Y.current?.wake(je(performance.now(),bn(U.current.props.sizePx))),i1=Co(),k1=h??(i1?0:1),I=`url(#${M}-grad)`,a1={state:t,expression:n,gaze:o,turn:i,spring:l,eyeScale:u,paused:k,reduced:i1,lookAround:s,motionStrength:k1,effects:C,glyphs:g,paint:I,sizePx:typeof r=="number"?r:160},U=m.useRef({current:r9(Ve[0]),target:Ve[0],currentMouth:xt[0].slice(),targetMouth:xt[0],currentGaze:[...ye[0]],targetGaze:[...ye[0]],expression:0,morph:1,velocity:0,travel:0,blinkStart:v2(),spinStart:v2(),spinDuration:900,last:0,stateStart:0,lastState:t,lastBodyTransform:"",faceStale:!0,faceMoving:!1,effectsStill:"",props:a1});U.current.props=a1;const e1=l1=>{const F=U.current,f1=(l1%yt+yt)%yt;if(f1===F.expression&&F.morph>=1)return;const M1={rings:k2(F),mouth:w2(F),gaze:_2(F)};F.current=M1.rings,F.currentMouth=M1.mouth,F.currentGaze=M1.gaze,F.target=Ve[f1],F.targetMouth=xt[f1],F.targetGaze=ye[f1],F.travel=P6(M1,{rings:F.target,mouth:F.targetMouth,gaze:F.targetGaze}),F.expression=f1,F.morph=0,F.velocity=0,F.last=performance.now(),j1()};Nn.useImperativeHandle(Z,()=>({blink:()=>{U.current.props.reduced||(U.current.blinkStart=performance.now(),j1())},spin:(l1=900)=>{U.current.props.reduced||(U.current.spinDuration=l1,U.current.spinStart=performance.now(),j1())},setExpression:e1}),[]),m.useEffect(()=>{e1(n??tt[t][0])},[t,n]),m.useEffect(()=>{if(!x||n!==void 0||k||i1)return;let l1;const F=()=>{const[f1,M1]=X6[t];l1=setTimeout(()=>{const D=tt[t],E=D.filter(X=>X!==U.current.expression);e1(E.length?E[Math.floor(Math.random()*E.length)]:D[0]),F()},f1+Math.random()*(M1-f1))};return F(),()=>clearTimeout(l1)},[t,x,n,k,i1]),m.useEffect(()=>{const l1=Q6[t];if(!y||!l1||k||i1)return;let F;const f1=()=>{F=setTimeout(()=>{U.current.blinkStart=performance.now(),j1(),f1()},l1[0]+Math.random()*(l1[1]-l1[0]))};return f1(),()=>clearTimeout(F)},[t,y,k,i1]),m.useEffect(()=>{U.current.faceStale=!0,j1()},[t,n,o?.x,o?.y,i,u,s,k,i1,k1,C,g,I,d,r]),m.useEffect(()=>{const l1=(D,E,X)=>{const C1=D.props,n1=_2(D),N1=C1.lookAround??.35,E1=n1[0]*N1,Y1=n1[1]*N1,P1=k2(D).map(W1=>W1.map(w1=>[w1[0]+E1,w1[1]+Y1])),b1=A1(C1.gaze?.x??0,-1,1)*h2.x,_n=A1(C1.gaze?.y??0,-1,1)*h2.y,Sn=((C1.turn??0)+X)*Math.PI/180,jn=C1.eyeScale??1,Bo=c9(D,E);P1.forEach((W1,w1)=>{const K1=w1===0?P.current:T.current;if(!K1)return;const H1=o9(W1),ce=Math.asin(A1((H1[0]-Fe)/Be,-1,1)),Ie=ce+Sn,Mn=Math.cos(Ie),Uo=Math.max(Mn,.02)/Math.max(Math.cos(ce),.02);K1.setAttribute("d",n9(W1)),K1.setAttribute("transform",`translate(${(Fe+Be*Math.sin(Ie)+b1).toFixed(2)} ${(H1[1]+_n).toFixed(2)}) scale(${A1(Uo*jn,.02,2.4).toFixed(4)} ${A1(Bo*jn,.02,2.4).toFixed(4)}) translate(${(-H1[0]).toFixed(2)} ${(-H1[1]).toFixed(2)})`),K1.style.opacity=Mn>.02?"1":"0"});const Oe=O.current;if(Oe){const W1=w2(D),w1=x6(P1,W1),K1=Math.asin(A1((w1.x-Fe)/Be,-1,1)),H1=K1+Sn,ce=Math.cos(H1),Ie=Math.max(ce,.02)/Math.max(Math.cos(K1),.02);Oe.setAttribute("d",i9(w1,W1)),Oe.setAttribute("transform",`translate(${(Fe+Be*Math.sin(H1)+b1).toFixed(2)} ${(w1.y+_n).toFixed(2)}) scale(${A1(Ie,.02,2.4).toFixed(4)} 1) translate(${(-w1.x).toFixed(2)} ${(-w1.y).toFixed(2)})`),Oe.style.opacity=ce>.02?"1":"0"}},F=(D,E,X,C1)=>{const n1=D.props;n1.state!==D.lastState&&(D.lastState=n1.state,D.stateStart=E);const N1=$.current;if(N1){const b1=$6(m2[n1.state]??{},E-D.stateStart,n1.motionStrength??1);b1!==D.lastBodyTransform&&(D.lastBodyTransform=b1,b1?N1.setAttribute("transform",b1):N1.removeAttribute("transform"))}const E1=Bt[n1.state],Y1=E1?.glyph&&C1?go(E1.glyph,E-D.stateStart):0,P1=`${n1.state}|${X}|${C1}|${Y1}|${n1.paint}`;!E1?.confetti&&!E1?.trails&&D.effectsStill===P1||(D.effectsStill=P1,Y6({trails:B.current,confetti:t1.current,glyph:S1.current,bodyContent:q.current,state:n1.state,elapsed:E-D.stateStart,strength:n1.motionStrength??1,paint:n1.paint,showEffects:X,showGlyphs:C1}))},f1=D=>{const E=U.current,X=E.props,C1=Math.min(Math.max(D-E.last,0)/1e3,.05),n1=X.spring??7;E.last=D,X.paused||X.reduced?(E.morph=1,E.velocity=0,E.blinkStart=null,E.spinStart=null):(E.velocity+=(-2*n1*E.velocity-n1*n1*(E.morph-1))*C1,E.morph+=E.velocity*C1,(Math.abs(1-E.morph)*E.travel<.05&&Math.abs(E.velocity)*E.travel<.5||!Number.isFinite(E.morph))&&(E.morph=1,E.velocity=0));let N1=0;if(E.spinStart!==null){const b1=(D-E.spinStart)/E.spinDuration;b1>=1?E.spinStart=null:N1=360*b1}const E1=()=>E.morph<1||E.blinkStart!==null||E.spinStart!==null;(E.faceStale||E.faceMoving||E1())&&l1(E,D,N1),E.faceStale=!1,E.faceMoving=E1();const Y1=X.effects!==!1&&!X.paused,P1=X.glyphs!==!1&&!X.paused&&!X.reduced;return F(E,D,Y1,P1),X.paused?1/0:O6(D,{motion:m2[X.state]??{},effects:Bt[X.state],stateElapsedMs:D-E.stateStart,strength:X.motionStrength??1,showEffects:Y1,showGlyphs:P1,sizePx:X.sizePx,faceUnitsPerMs:T6(E.velocity,E.morph,n1,E.travel),blinkingOrSpinning:E.blinkStart!==null||E.spinStart!==null})};U.current.last=performance.now();const M1=po().add(f1,o1.current);return Y.current=M1,()=>{M1.remove(),Y.current=null}},[]);const c1=typeof r=="number"?`${r}px`:r,g1=v===void 0?g6(_.name):v,ze=_.body.replace(/\{\{GRADIENT\}\}/g,`url(#${M}-grad)`);return a.jsxs("svg",{ref:o1,viewBox:H6,width:c1,height:c1,className:A,style:z,role:g1?"img":void 0,"aria-label":g1??void 0,"aria-hidden":g1?void 0:!0,children:[a.jsxs("defs",{children:[a.jsxs("linearGradient",{id:`${M}-grad`,x1:"1",y1:"0",x2:"0",y2:"1",children:[a.jsx("stop",{offset:"0%",stopColor:j[0]}),a.jsx("stop",{offset:"55%",stopColor:j[1]}),a.jsx("stop",{offset:"100%",stopColor:j[2]})]}),a.jsx("clipPath",{id:`${M}-clip`,transform:_.fit||void 0,dangerouslySetInnerHTML:{__html:_.clip}})]}),a.jsxs("g",{transform:c?`translate(${q1} 0) scale(-1 1)`:void 0,children:[a.jsx("g",{ref:B}),a.jsxs("g",{ref:$,children:[a.jsxs("g",{ref:q,children:[N?a.jsx("image",{href:N,x:"-15",y:"-15",width:Se,height:Se,preserveAspectRatio:"none"}):a.jsx("g",{transform:_.fit||void 0,dangerouslySetInnerHTML:{__html:ze}}),a.jsx("g",{clipPath:`url(#${M}-clip)`,visibility:N?"hidden":void 0,children:a.jsxs("g",{transform:s9(_.anchor),children:[a.jsx("path",{ref:P,fill:w}),a.jsx("path",{ref:T,fill:w}),d&&a.jsx("path",{ref:O,fill:"none",stroke:w,strokeWidth:p,strokeLinecap:"round"})]})})]}),a.jsx("g",{ref:S1,style:{opacity:0}})]}),a.jsx("g",{ref:t1})]})]})});function k2(e){const t=A1(e.morph,0,1);return e.current.map((n,r)=>n.map((o,i)=>[o[0]+(e.target[r][i][0]-o[0])*t,o[1]+(e.target[r][i][1]-o[1])*t]))}const bo=(e,t,n)=>e.map((r,o)=>r+(t[o]-r)*A1(n,0,1)),w2=e=>bo(e.currentMouth,e.targetMouth,e.morph),_2=e=>bo(e.currentGaze,e.targetGaze,e.morph);function c9(e,t){if(e.blinkStart===null)return 1;const n=(t-e.blinkStart)/320;return n>=1?(e.blinkStart=null,1):Math.max(n<.42?1-n/.42:(n-.42)/.58,.04)}function yo(e){return e.tasks?.length?e.tasks.some(t=>!!t.unread&&!t.routineRunId&&t.archivedAt===void 0):!!e.unread}function l9(e){return(e.tasks??[]).reduce((t,n)=>t+(n.openAsks??0),0)}function F7(e){return Math.max(yo(e)?1:0,l9(e))}const u9=/^\(\d+\) /;function d9(e,t){const n=e.replace(u9,"");return t>0?`(${t}) ${n}`:n}function B7(e){document.title=d9(document.title,e),(e>0?navigator.setAppBadge?.(e):navigator.clearAppBadge?.())?.catch(()=>{})}function f9(e){return e.kind==="digest"||e.kind==="compaction"||e.kind==="call"}function p9(e){if(e){for(let t=e.length-1;t>=0;t-=1)if(!f9(e[t]))return e[t]}}const h9=t9,V1={green:"#009957",blue:"#377FE6",red:"#D94B52",orange:"#E78531",purple:"#8057C8",cyan:"#0EA5C6",pink:"#D84F8B",yellow:"#D8A729",teal:"#01A492",coral:"#E5634E",silver:"#A8ADB4",chrome:"#B3BAC4"},U7={green:"mascotColor.green",blue:"mascotColor.blue",red:"mascotColor.red",orange:"mascotColor.orange",purple:"mascotColor.purple",cyan:"mascotColor.cyan",pink:"mascotColor.pink",yellow:"mascotColor.yellow",teal:"mascotColor.teal",coral:"mascotColor.coral",silver:"mascotColor.silver",chrome:"mascotColor.chrome"},xo=["#F1F4F7","#AEB8C3","#66717E"],C9="#1E2833";function W7(e){if(e!=="chrome")return V1[e];const[t,n,r]=xo;return`radial-gradient(circle at 34% 26%, #ffffff 0%, ${t} 20%, ${n} 55%, ${r} 100%)`}const m9={deadpan:"idle",friendly:"happy",focused:"working",thinking:"thinking",excited:"excited",sleepy:"drowsy",surprised:"surprised",skeptical:"suspicious",worried:"scared",mischievous:"playful"},g9=new Set(h9);function b9(e){return e?g9.has(e)?e:m9[e]??null:null}const K7=["idle","happy","curious","drowsy","working","thinking","listening","sleeping","suspicious","proud"];function H7(e){const t=b9(e.mascotExpression);if(t)return t;const n=p9(e.messages);if(n?.kind==="activity"&&n.tool?.ok===!1)return"alerting";if(e.busy)return"working";if(yo(e))return"notifying";if(n?.kind==="options")return"curious";const r=`${e.name} ${e.title??""} ${e.description??""}`.toLowerCase(),o=i=>i.test(r);return o(/\b(code|coding|developer|development|engineer|engineering|build|debug|program|software)\b/)?"working":o(/\b(research|researcher|search|investigate|strategy|strategist|study|learn|knowledge)\b/)?"searching":o(/\b(marketing|growth|launch|campaign|social|sales|outreach|brand)\b/)?"excited":o(/\b(overnight|night|background|async|queue|batch|long-running)\b/)?"drowsy":o(/\b(monitor|monitoring|incident|alert|watch|status|uptime)\b/)?"radar":o(/\b(review|reviewer|audit|critic|critique|quality|qa|test|legal)\b/)?"suspicious":o(/\b(security|secure|compliance|risk|privacy|finance|financial)\b/)?"scared":o(/\b(design|designer|creative|brainstorm|art|illustration|music|story)\b/)?"playful":o(/\b(support|help|success|onboarding|coach|teacher|guide|welcome)\b/)?"happy":"idle"}const y9=["white","black"],x9=$e(y9);function vo(e){const t=x9.safeParse(e).data;return t==="white"?"#ffffff":t==="black"?"#000000":void 0}const v9=["mascot","circle","rounded","square"],k9=$e(v9);function w9(e){return e==="circle"?"50%":e==="rounded"?"22%":"0"}const S2=1,_9=3,S9=.5;function j9(e){const t=typeof e=="number"?e:Number.NaN;if(!Number.isFinite(t))return S2;const n=Math.min(_9,Math.max(S2,t));return Math.round(n*100)/100}function j2(e){const t=typeof e=="number"?e:Number.NaN;if(!Number.isFinite(t))return S9;const n=Math.min(1,Math.max(0,t));return Math.round(n*1e3)/1e3}const ko=Vr().regex(/^\/api\/attachments\/[A-Za-z0-9-]+\.(?:png|jpg|gif|webp)$/,"must be a stored PNG, JPEG, GIF, or WebP attachment");function V7(e){const t=e.replaceAll("\\","/").split("/").pop();if(!t)return null;const n=`/api/attachments/${t}`;return ko.safeParse(n).success?n:null}function M9(e){const t={avatarCrop:k9.safeParse(e.avatarCrop).data??"mascot"},n=ko.safeParse(e.avatarUrl);return n.success&&(t.avatarUrl=n.data),t}const N9=[...ro,...so];$e(N9);function E9(e){return so.includes(e)}const M2=(e,t)=>({bodies:e,costumes:t}),yn={halloween:M2(oo,{orange:"pumpkin",purple:"ghost",teal:"witch",red:"bat",blue:"cat",cyan:"skull",green:"monster",yellow:"mummy",coral:"vampire",pink:"spider"}),diwali:M2(io,{orange:"laddu",purple:"chakri",teal:"karanji",red:"rocket",blue:"bomb",cyan:"chakli",green:"anaar",yellow:"katli",coral:"jalebi",pink:"sparkler"})},G7=Object.keys(yn);function $9(e){return typeof e=="string"&&Object.hasOwn(yn,e)}const xn="omb-halloween-dress";let nt;const Ce=new Set;let Ue;function vn(){try{return globalThis.localStorage}catch{return}}function Ut(){if(nt!==void 0)return nt;try{return vn()?.getItem(xn)!=="0"}catch{return!0}}function A9(){if(typeof document>"u")return null;const e=document.documentElement.dataset.skin;return $9(e)&&Ut()?e:null}function kn(){for(const e of Ce)e()}function N2(e){e.key!==xn&&e.key!==null||e.storageArea&&e.storageArea!==vn()||(nt=void 0,kn())}function wo(e){return Ce.add(e),Ce.size===1&&typeof window<"u"&&(window.addEventListener("storage",N2),typeof MutationObserver<"u"&&(Ue=new MutationObserver(kn),Ue.observe(document.documentElement,{attributes:!0,attributeFilter:["data-skin"]}))),()=>{Ce.delete(e),Ce.size===0&&typeof window<"u"&&(window.removeEventListener("storage",N2),Ue?.disconnect(),Ue=void 0)}}function J7(e){nt=e;try{vn()?.setItem(xn,e?"1":"0")}catch{}kn()}function q7(){return m.useSyncExternalStore(wo,Ut,Ut)}function Z9(){return m.useSyncExternalStore(wo,A9,()=>null)}function z9(e,t,n){if(!n||t==="silver"||t==="chrome")return e??void 0;const{bodies:r,costumes:o}=yn[n];return r.includes(e)?e??void 0:o[t]}const E2=150,W=e=>Math.round(e*100)/100;function $2(e,t){const n=e.eyes,r=Math.abs(t.gx),o=-t.gx*9,i=1-.06*t.wide,s=1+.09*t.wide,c=n.dx*(1-.1*r)*(1+.14*t.wide),l=n.cx+t.gx*n.dx*1.05,u=n.cy+t.gy*16-t.wide*n.h*.42;let d=n.w*(1+.05*r),p=n.h*(1-.3*r);d+=(n.round-d)*t.wide,p+=(n.round*1.08-p)*t.wide,p*=1-.9*t.shut;const h=-t.gx*18*(1-t.wide),C=_=>{const j=1-.1*Math.max(0,_*-t.gx),N=d*j,w=Math.max(p*j,.5),v=l+_*c;return{x:W(v-N/2),y:W(u-w/2),width:W(N),height:W(w),rx:W(Math.min(N,w)/2),transform:`rotate(${W(h)} ${W(v)} ${W(u)})`}},g=n.dx*.46,y=g*(1-.25*r),x=g*.5*t.smile,k=(n.mouthY??n.cy+n.h*.5+n.dx*.42)+t.gy*10;return{body:`translate(120 ${E2}) rotate(${W(o)}) scale(${W(i*1e3)/1e3} ${W(s*1e3)/1e3}) translate(-120 ${-E2})`,eyes:[C(-1),C(1)],smile:{d:`M${W(l-y)} ${W(k-x*.35)} Q${W(l)} ${W(k+x)} ${W(l+y)} ${W(k-x*.35)}`,transform:`rotate(${W(h*.6)} ${W(l)} ${W(k)})`,opacity:W(1-t.wide)},open:{cx:W(l),cy:W(k+g*.1),rx:W(g*.5*t.wide),ry:W(g*.62*t.wide),opacity:W(t.wide)}}}function _o(e){switch(e){case"surprised":case"alerting":case"scared":case"excited":case"celebrate":case"spawning":case"waking":return{wide:1};case"sleeping":case"powering-down":return{shut:.92,smile:.4,glance:0};case"drowsy":case"bored":return{shut:.55,smile:.6,glance:.3};case"happy":case"laughing":case"proud":case"playful":return{smile:1.5};case"sad":return{smile:-.8,gy:.6,glance:.3};case"thinking":return{gx:.6,gy:-.6,glance:0};case"searching":case"radar":case"orbit":case"curious":return{glance:2.2};case"working":case"writing":case"loading":return{gy:.5,glance:.6};default:return{}}}const O9=new Set(["arrive","switch","customize","alert","launch","success","celebrate","surprise"]),A2=[[0,0],[0,0],[-1,.25],[1,.25],[-.8,.55],[.8,.55],[-.7,-.4],[.7,-.4],[0,.5]];function I9(e,t,n){const r=Number.parseInt(e.slice(1),16),o=Number.parseInt(t.slice(1),16),i=s=>Math.round((r>>s&255)+((o>>s&255)-(r>>s&255))*n);return`#${[i(16),i(8),i(0)].map(s=>s.toString(16).padStart(2,"0")).join("")}`}function T9(e){const t=Number.parseInt(e.slice(1),16),n=(t>>16&255)/255,r=(t>>8&255)/255,o=(t&255)/255,i=Math.max(n,r,o),s=Math.min(n,r,o),c=(i+s)/2,l=i-s;if(!l)return e;const u=Math.min(1,(c>.5?l/(2-i-s):l/(i+s))*1.15),d=(i===n?(r-o)/l+(r<o?6:0):i===r?(o-n)/l+2:(n-r)/l+4)/6,p=c<.5?c*(1+u):c+u-c*u,h=2*c-p,C=g=>{const y=(g+1)%1;return y<1/6?h+(p-h)*6*y:y<1/2?p:y<2/3?h+(p-h)*(2/3-y)*6:h};return`#${[C(d+1/3),C(d),C(d-1/3)].map(g=>Math.round(g*255).toString(16).padStart(2,"0")).join("")}`}function P9(e,t){const n=T9(V1[t]??V1.green);return e.paint==="bone"?{body:e.bone??"#f1ede6",accent:n}:e.paint==="pale"?{body:I9(V1[t]??V1.green,"#ffffff",.86),accent:n}:{body:n,accent:n}}function R9({body:e,color:t,faceColor:n,size:r=44,state:o="idle",motion:i="none",motionKey:s=0,gaze:c,trackPointer:l=!0,animated:u=!0,label:d},p){const h=ao[e],C=vo(n),g=m.useId().replace(/:/g,""),y=Co(),x=u&&!y,k=m.useRef(null),_=[m.useRef(null),m.useRef(null)],j=m.useRef(null),N=m.useRef(null),w=m.useRef(Z2(o)),v=m.useRef({blinkAt:-1,startleUntil:0,pointer:null}),A=m.useRef({state:o,gaze:c});A.current={state:o,gaze:c};const[z]=m.useState(()=>$2(h,w.current)),Z=()=>{v.current.startleUntil=performance.now()+1100,v.current.blinkAt=performance.now()};m.useImperativeHandle(p,()=>({blink:()=>{v.current.blinkAt=performance.now()},spin:()=>Z(),setExpression:()=>{}})),m.useEffect(()=>{!x||i==="none"||(i==="blink"?v.current.blinkAt=performance.now():O9.has(i)&&Z())},[i,s,x]);const V=O=>{const $=$2(h,O);if(k.current?.setAttribute("transform",$.body),$.eyes.forEach((q,B)=>{const t1=_[B].current;if(t1)for(const[S1,Y]of Object.entries(q))t1.setAttribute(S1,String(Y))}),j.current&&(j.current.setAttribute("d",$.smile.d),j.current.setAttribute("transform",$.smile.transform),j.current.setAttribute("opacity",String($.smile.opacity))),N.current)for(const[q,B]of Object.entries($.open))N.current.setAttribute(q,String(B))};m.useEffect(()=>{x||(w.current=Z2(o),V(w.current))},[o,x,h]),m.useEffect(()=>{if(!x)return;let O=performance.now(),$=O+900+Math.random()*2600,q=O+1500+Math.random()*3500,B=[0,0];const t1=Y=>{const j1=Math.min(.05,(Y-O)/1e3);O=Y;const i1=_o(A.current.state),k1=i1.glance??1;k1>0&&Y>$&&(B=A2[Math.floor(Math.random()*A2.length)],$=Y+(1400+Math.random()*3200)/k1),Y>q&&(v.current.blinkAt=Y,q=Y+2600+Math.random()*4200);const I=v.current.pointer,a1=A.current.gaze,U={gx:I?.x??(i1.gx??(k1>0?B[0]:0))+(a1?.x??0),gy:I?.y??(i1.gy??(k1>0?B[1]:0))+(a1?.y??0),wide:Y<v.current.startleUntil?1:i1.wide??0,shut:i1.shut??0,smile:i1.smile??1},e1=w.current,c1=l1=>1-Math.exp(-j1*l1);e1.gx+=(Math.max(-1,Math.min(1,U.gx))-e1.gx)*c1(9),e1.gy+=(Math.max(-1,Math.min(1,U.gy))-e1.gy)*c1(9),e1.wide+=(U.wide-e1.wide)*c1(U.wide>e1.wide?18:7),e1.smile+=(U.smile-e1.smile)*c1(8);const g1=v.current.blinkAt<0?1:(Y-v.current.blinkAt)/200,ze=g1>=1?0:g1<.45?g1/.45:1-(g1-.45)/.55;return e1.shut+=(Math.max(U.shut,ze)-e1.shut)*(ze>0?1:c1(10)),V(e1),je(Y,bn(r))},S1=po().add(t1,k.current?.ownerSVGElement);return()=>S1.remove()},[h,x,r]);const M=O=>{const $=O.currentTarget.getBoundingClientRect();v.current.pointer={x:Math.max(-1,Math.min(1,(O.clientX-$.left)/$.width*2-1)),y:Math.max(-1,Math.min(1,(O.clientY-$.top)/$.height*2-1))}},o1=()=>{v.current.pointer=null},P=P9(h,t),T=O=>O==="body"?P.body:O==="accent"?P.accent:O;return a.jsx("span",{className:"inline-flex shrink-0",onPointerMove:l&&x?M:void 0,onPointerLeave:l&&x?o1:void 0,children:a.jsxs("svg",{viewBox:"-14 -14 268 268",width:r,height:r,role:d?"img":void 0,"aria-label":d??void 0,"aria-hidden":d?void 0:!0,"data-carved-body":h.id,style:{overflow:"visible"},children:[a.jsx("defs",{children:a.jsx("clipPath",{id:`carved-${g}`,children:a.jsx("path",{d:h.clip})})}),a.jsxs("g",{ref:k,transform:z.body,children:[h.parts.map((O,$)=>a.jsx("path",{d:O.d,fill:T(O.fill)},$)),a.jsx("g",{clipPath:`url(#carved-${g})`,children:z.eyes.map((O,$)=>a.jsx("rect",{ref:_[$],...O,fill:C??h.eyes.ink},$))}),h.eyes.mouth&&a.jsxs("g",{children:[a.jsx("path",{ref:j,d:z.smile.d,transform:z.smile.transform,opacity:z.smile.opacity,fill:"none",stroke:C??h.eyes.mouthInk,strokeWidth:h.eyes.w*.36,strokeLinecap:"round"}),a.jsx("ellipse",{ref:N,...z.open,fill:C??h.eyes.mouthInk})]})]})]})})}function Z2(e){const t=_o(e);return{gx:t.gx??0,gy:t.gy??0,wide:t.wide??0,shut:t.shut??0,smile:t.smile??1}}const L9=m.memo(m.forwardRef(R9)),D9=Object.assign({}),F9=Object.entries(D9).flatMap(([e,t])=>{const n=/\/([a-z]+)-(\d+)\.(?:webp|png)$/.exec(e);return n?[{body:n[1],px:Number(n[2]),url:t}]:[]}).sort((e,t)=>e.px-t.px);function B9(e,t,n,r=F9){const o=r.filter(s=>s.body===e);if(!o.length)return null;const i=t*Math.max(1,n);return(o.find(s=>s.px>=i)??o.at(-1)).url}const z2={forward:1,authored:.25},U9={arrive:{state:"spawning",spin:900},switch:{state:"waking",spin:620},customize:{state:"proud",blink:!0},alert:{state:"alerting"},thinking:{state:"thinking"},working:{state:"working"},launch:{state:"loading"},success:{state:"happy",blink:!0},celebrate:{state:"celebrate",spin:700},blink:{blink:!0},surprise:{state:"surprised",blink:!0},failure:{state:"sad"}},W9=1400;function O2(e,t,n){const r=Number.parseInt(e.slice(1),16),o=Number.parseInt(t.slice(1),16),i=s=>{const c=r>>s&255,l=o>>s&255;return Math.round(c+(l-c)*n)};return`#${[i(16),i(8),i(0)].map(s=>s.toString(16).padStart(2,"0")).join("")}`}const K9=e=>{if(e==="chrome")return xo;const t=V1[e]??V1.green;return[O2(t,"#ffffff",.55),t,O2(t,"#000000",.42)]};function H9(e){const t=`var(--identity-${e})`;return[`color-mix(in srgb, ${t} 82%, #ffffff)`,t,`color-mix(in srgb, ${t} 82%, #000000)`]}function V9(e,t){const{bodyId:n,color:r,size:o,state:i,motion:s,motionKey:c,gaze:l,trackPointer:u,animated:d,label:p}=e;return E9(n)?a.jsx(L9,{ref:t,body:n,color:r,faceColor:e.faceColor,size:o,state:i,motion:s,motionKey:c,gaze:l,trackPointer:u,animated:d,label:p}):a.jsx(J9,{ref:t,...e})}function G9({color:e,state:t="idle",expression:n,size:r=44,label:o,motion:i="none",motionKey:s=0,turn:c,gaze:l,spring:u,eyeScale:d,showMouth:p,mouthStroke:h,forward:C=!0,lookAround:g,trackPointer:y=!0,animated:x=!0,bodyId:k,gradient:_,faceColor:j},N){const w=gn[h6(k)],v=e==="chrome",A=vo(j),z=m.useRef(null);m.useImperativeHandle(N,()=>({blink:()=>z.current?.blink(),spin:$=>z.current?.spin($),setExpression:$=>z.current?.setExpression($)}));const[Z,V]=m.useState(null);m.useEffect(()=>{if(i==="none"||!x)return;const $=U9[i];if(!$||($.blink&&z.current?.blink(),$.spin&&z.current?.spin($.spin),!$.state))return;V($.state);const q=setTimeout(()=>V(null),W9);return()=>clearTimeout(q)},[i,s,x]);const[M,o1]=m.useState({x:0,y:0}),P=C?z2.forward:z2.authored,T=$=>{if(!y||!x)return;const q=$.currentTarget.getBoundingClientRect();o1({x:Math.max(-1,Math.min(1,($.clientX-q.left)/q.width*2-1))*P,y:Math.max(-1,Math.min(1,($.clientY-q.top)/q.height*2-1))*P})},O=()=>o1({x:0,y:0});return a.jsx("span",{className:"inline-flex shrink-0",onPointerMove:y&&x?T:void 0,onPointerLeave:y&&x?O:void 0,children:a.jsx(a9,{ref:z,state:Z??t,expression:n,size:r,silhouette:w,gradient:_??K9(e),picture:v&&!A?B9(w.id,r,globalThis.devicePixelRatio??1):null,eyeColor:A??(v?C9:void 0),title:o??null,lookAround:g??(C?0:1),gaze:{x:(l?.x??0)+M.x,y:(l?.y??0)+M.y},turn:c,spring:u,eyeScale:d,showMouth:p,mouthStroke:h,paused:!x})})}const J9=m.forwardRef(G9),So=m.memo(m.forwardRef(V9));function q9(e){const{avatarCrop:t,hasUrl:n,imageFailed:r}=e;return!n||t==="mascot"||r?"gradientMascot":"flatImage"}function Y7({bot:e,size:t=44,label:n,readable:r=!1,...o}){const i=M9(e),s=Z9(),[c,l]=m.useState(!1);if(m.useEffect(()=>l(!1),[i.avatarUrl]),q9({avatarCrop:i.avatarCrop,hasUrl:!!i.avatarUrl,imageFailed:c})!=="flatImage")return a.jsx(So,{bodyId:z9(e.mascotBody,e.color,s),...o,color:e.color,faceColor:e.mascotFaceColor,gradient:r?H9(e.color):void 0,size:t,label:n??e.name});const d=w9(i.avatarCrop),p=j9(e.avatarZoom??1),h=j2(e.avatarFocusX??.5),C=j2(e.avatarFocusY??.5),g=`${h*100}% ${C*100}%`;return a.jsx("span",{className:"relative block shrink-0 overflow-hidden bg-raised",style:{width:t,height:t,borderRadius:d},children:a.jsx("img",{src:i.avatarUrl,alt:n??(e.name?f("avatar.alt",{name:e.name}):f("avatar.altFallback")),width:t,height:t,draggable:!1,onError:()=>l(!0),className:"block size-full max-w-none object-cover",style:{width:t,height:t,objectPosition:g,transform:p===1?void 0:`scale(${p})`,transformOrigin:g}})})}function X7({initials:e,avatarUrl:t,size:n=32,fallback:r,fontSize:o,className:i}){const[s,c]=m.useState(null);return t&&s!==t?a.jsx("img",{src:t,alt:"",onError:()=>c(t),className:L("shrink-0 rounded-full object-cover",i),style:{width:n,height:n}}):a.jsx("div",{className:L("flex shrink-0 items-center justify-center rounded-full bg-raised text-ink-secondary font-medium",i),style:{width:n,height:n,fontSize:o??n*.38},children:r??e})}const jo=1,Y9="onboarding-cloud-v1",X9={claudeAgent:0,codex:1,geminiAgent:2,antigravityAgent:2,grokAgent:3,grok:3},I2=4,Q9=5;function Mo(e){return e.snapshot?.freeFallback===!0}function e8(e){return Mo(e)?Q9:e.access==="custom"?I2:X9[e.driverKind]??I2}function No(e){return e.map((t,n)=>({instance:t,index:n,tier:e8(t)})).sort((t,n)=>t.tier-n.tier||t.index-n.index).map(({instance:t})=>t)}function Q7(e){return JSON.stringify([e.state,e.authenticated??null,e.account?.email??null,e.account?.organization??null,e.account?.method??null,e.chatgptPlan===!0,e.freeFallback===!0])}const t8={completedAt:"",version:0},ec={hosted:!1,canSave:!0};function n8(e){return!!(e?.hosted&&!e.canSave)}function tc(e){return e===null||n8(e)}function nc(e){const t=e&&typeof e=="object"?e:{};return{hosted:t.hosted===!0,canSave:Array.isArray(t.scopes)?t.scopes.includes("admin"):!0,...t.cloudHome===!0?{cloudHome:!0}:{}}}function rc(e,t){if(t.remoteClient||t.cloudHome||t.canSave===!1||t.hosted&&t.canSave!==!0||!e)return!1;const n=e.onboarding??t8;return!(n.completedAt&&n.version>=jo||!n.completedAt&&t.legacyDone)}function r8(e=new Date){return{onboarding:{completedAt:e.toISOString(),version:jo}}}const T2="met-chief-v1";function oc(e,t=new Date){const n=e?.hintsSeen??[];return{onboarding:{...r8(t).onboarding,...n.includes(T2)?{}:{hintsSeen:[...n,T2]}}}}function Eo(e,t){return(e?.hintsSeen??[]).includes(t)}function ic(e,t){return Eo(e,t)?null:{onboarding:{hintsSeen:[...e?.hintsSeen??[],t]}}}const sc=["meet","chief"];function ac(e){return e.hosted?["meet"]:["meet","chief"]}function cc(e,t){return t&&e.includes(t)?t:e[0]??"meet"}function lc(e){return Eo(e,Y9)}let Wt=0;function uc(){Wt++;let e=!1;return()=>{e||(e=!0,Wt--)}}function dc(){return Wt>0}const $o="omb.onboarding.welcomeFinished";let Ao=!1;function fc(){try{sessionStorage.setItem($o,"1")}catch{Ao=!0}}function pc(){try{return sessionStorage.getItem($o)==="1"}catch{return Ao}}const hc="https://admin.openmausbot.com";function Cc(e,t){if(!(t.hosted||!e||e.remoteClient?.active===!0))return e.organization}function mc(e){return(e?.providers??[]).reduce((t,n)=>t+(n.configured?n.models.length:0),0)}function gc(e){const t=r=>!r.readOnly&&r.access!=="api"&&r.access!=="custom",n=No(e.filter(t))[0]??e.find(r=>!r.readOnly);return{recommended:n,others:e.filter(r=>r!==n)}}function bc(e,t,n){let r;for(const o of No(e.filter(i=>t(i)&&!Mo(i)))){const i=n(o)??"testing";if(i!=="failed")return{instance:o,state:i};r??=o}return r?{instance:r,state:"failed"}:null}function yc(e){return e?.state==="passed"||e?.state==="untestable"}function xc(e){return e.snapshot.state==="available"&&e.snapshot.authenticated===!1?!!e.authentication:!!(e.install?.server||e.install?.managed)}function vc(e,t,n){return!!(e?.cloudHome&&e.canSave)&&t.connected&&t.instances.length>0&&!t.instances.some(n)}function P2(){return typeof document<"u"&&document.documentElement.dataset.reducedMotion==="true"?!0:globalThis.window?.matchMedia?.("(prefers-reduced-motion: reduce)").matches??!1}function o8(e){const t=globalThis.window?.matchMedia?.("(prefers-reduced-motion: reduce)");t?.addEventListener?.("change",e);const n=globalThis.document?.documentElement,r=n&&typeof MutationObserver=="function"?new MutationObserver(e):null;return n&&r?.observe(n,{attributes:!0,attributeFilter:["data-reduced-motion"]}),()=>{t?.removeEventListener?.("change",e),r?.disconnect()}}function i8(e){const[t,n]=m.useState(!0);return m.useEffect(()=>{const o=e.current;if(!o||typeof IntersectionObserver!="function")return;const i=new IntersectionObserver(s=>n(s.at(-1)?.isIntersecting??!0));return i.observe(o),()=>i.disconnect()},[e]),!m.useSyncExternalStore(o8,P2,P2)&&t}const s8=[[20,10,.7,0,0],[420,108,.6,0,0],[472,16,.9,0,0],[530,106,.7,0,0],[566,12,1.1,9,-3],[598,92,.7,0,0],[742,10,.8,0,0],[652,106,.6,0,0],[884,74,.8,0,0]],a8=[[640,20,4.2],[712,40,3],[868,62,3.2]],c8=[{color:"orange",state:"working",spot:[636,52,28]},{color:"pink",state:"idle",spot:[668,46,30]},{color:"green",state:"thinking",spot:[702,52,28]}],l8="M-2.6-2.6h5.2l-5.2 5.2h5.2",u8=e=>`M0 ${-e}L${e*.22} ${-e*.22}L${e} 0L${e*.22} ${e*.22}L0 ${e}L${-e*.22} ${e*.22}L${-e} 0L${-e*.22} ${-e*.22}Z`;function d8({moving:e}){return a.jsxs("g",{transform:"translate(850 98)",children:[a.jsx("ellipse",{cy:"6.2",rx:"25",ry:"2.6",fill:"#000",opacity:".3"}),a.jsx("path",{d:"M-23.5 1.6H23.5L21.6 5.2H-21.6Z",fill:"var(--cloud-night-laptop-edge)"}),a.jsx("path",{d:"M-19.5-6.6H19.5L23.5 1.6H-23.5Z",fill:"var(--cloud-night-laptop)"}),a.jsx("path",{d:"M-19.5-6.6H19.5L20.1-5.4H-20.1Z",fill:"#fff",opacity:".45"}),a.jsx("ellipse",{cy:"-2.4",rx:"2.2",ry:"1.3",fill:"var(--cloud-night-laptop-edge)",opacity:".55"}),a.jsx("circle",{cx:"17.2",cy:"3.4",r:".8",fill:"#9df0c4"}),a.jsx("g",{transform:"translate(22 -14)",children:[[0,0,.6],[7,-8,.8],[15,-17,1]].map(([t,n,r])=>a.jsx("g",{className:e?"cloud-night-z":void 0,transform:`translate(${t} ${n}) scale(${r})`,children:a.jsx("path",{d:l8,fill:"none",stroke:"var(--cloud-night-z)",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})},t))})]})}const f8=m.memo(function({moving:t}){return a.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 900 120",preserveAspectRatio:"xMaxYMax slice",className:"absolute inset-0 size-full",children:[a.jsx("g",{fill:"var(--cloud-night-star)",children:s8.map(([n,r,o,i,s])=>a.jsx("circle",{cx:n,cy:r,r:o,opacity:i?void 0:.6,...t&&i?{className:"cloud-night-twinkle",style:{animationDuration:`${i}s`,animationDelay:`${s}s`}}:{}},`${n}-${r}`))}),a.jsx("g",{fill:"var(--cloud-night-paper)",children:a8.map(([n,r,o])=>a.jsx("path",{transform:`translate(${n} ${r})`,d:u8(o)},n))}),t&&a.jsx("path",{className:"cloud-night-shoot",d:"M600 14l30 9",stroke:"var(--cloud-night-star)",strokeWidth:"1.2",strokeLinecap:"round"}),a.jsx("circle",{cx:"770",cy:"44",r:"27",fill:"var(--cloud-night-paper)"}),a.jsxs("g",{fill:"none",stroke:"var(--cloud-night-carve)",strokeWidth:"1.1",strokeLinecap:"round",children:[a.jsx("circle",{cx:"760",cy:"34",r:"4.5"}),a.jsx("circle",{cx:"776",cy:"30",r:"2.2"}),a.jsx("circle",{cx:"783",cy:"50",r:"3.2"}),a.jsx("path",{d:"M748 46c1 6 4 11 9 15"})]}),a.jsx("path",{d:"M560 120C610 98 662 86 724 90S846 82 900 76V120Z",fill:"var(--cloud-night-far)"}),a.jsx("path",{d:"M610 120C660 106 712 100 772 104S860 98 900 96V120Z",fill:"var(--cloud-night-near)"}),a.jsx("g",{stroke:"var(--cloud-night-far)",strokeWidth:"1",strokeLinecap:"round",children:[[680,112],[700,108],[722,112],[800,112],[822,108],[878,110]].map(([n,r])=>a.jsx("path",{d:`M${n} ${r}l9-3`},n))}),a.jsxs("g",{fill:"var(--cloud-night-paper)",children:[a.jsx("rect",{x:"622",y:"71",width:"124",height:"21",rx:"10.5"}),a.jsx("circle",{cx:"656.7",cy:"71",r:"17.7"}),a.jsx("circle",{cx:"690.2",cy:"66.2",r:"23.2"}),a.jsx("circle",{cx:"718.7",cy:"73",r:"16"})]}),a.jsxs("g",{fill:"none",stroke:"var(--cloud-night-carve)",strokeWidth:"1",strokeLinecap:"round",children:[a.jsx("path",{d:"M640 86c6-4 12-4 18 0"}),a.jsx("path",{d:"M676 82c7-5 15-5 22 0"}),a.jsx("path",{d:"M712 86c5-3 10-3 15 0"})]}),c8.map(({color:n,state:r,spot:[o,i,s]})=>a.jsx("foreignObject",{x:o,y:i,width:s,height:s,overflow:"visible",children:a.jsx(So,{color:n,state:r,size:s,animated:t,trackPointer:!1})},n)),a.jsx(d8,{moving:t})]})});function p8({small:e=!1,children:t}){const n=m.useRef(null),r=i8(n);return a.jsxs("div",{ref:n,"data-night-card":"","data-paused":r?void 0:"",className:L("cloud-night relative isolate overflow-hidden rounded-[12px]",e?"h-[92px]":"h-[120px]"),children:[a.jsx(f8,{moving:r}),a.jsx("div",{className:L("relative z-10 flex h-full flex-col justify-center",e?"px-5":"px-6"),children:t})]})}const h8=[[Di,"cloudBuy.benefit.awayTitle","cloudBuy.benefit.away"],[V2,"cloudBuy.benefit.privateTitle","cloudBuy.benefit.private"],[Hi,"cloudBuy.benefit.anywhereTitle","cloudBuy.benefit.anywhere"],[yi,"cloudBuy.benefit.browserTitle","cloudBuy.benefit.browser"],[Si,"cloudBuy.benefit.moveTitle","cloudBuy.benefit.move"]],C8={power:Ui,hours:Gi,storage:Zi,voice:vi},m8={1:"md:grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-2 lg:grid-cols-4"},Zo=e=>`cloud-plan-details-${e}`;function g8({card:e,shown:t,details:n,compare:r,busy:o,onStart:i}){const s=`cloud-plan-${e.tier}`;return a.jsxs("li",{"data-plan":e.tier,"aria-labelledby":s,"data-plan-current":e.current?"":void 0,className:L("grid min-w-0 grid-rows-subgrid gap-y-3 rounded-[12px] border-[0.5px] bg-menu p-4",r?"row-span-5":"row-span-4",e.popular?"border-ink/25":"border-ink/10"),children:[a.jsxs("div",{className:"flex min-h-6 flex-wrap items-center justify-between gap-x-2 gap-y-1",children:[a.jsx("h4",{id:s,className:"text-[15px] font-medium leading-[22px] text-ink",children:e.name}),e.popular&&a.jsx(ri,{"data-plan-popular":"",children:f("cloudAdd.popular")})]}),a.jsxs("div",{className:"flex flex-col gap-1.5",children:[a.jsxs("p",{className:"flex items-baseline gap-1",children:[a.jsx("span",{className:"text-[28px] font-semibold leading-8 tracking-[-0.02em] tabular-nums text-ink",children:e.price}),a.jsx("span",{className:"text-[13px] text-ink-tertiary",children:f("cloudBuy.perMonth")})]}),e.promise&&a.jsx("p",{"data-plan-promise":"",className:"text-[13px] leading-[18px] text-ink-secondary",children:e.promise})]}),a.jsx("ul",{className:"flex flex-col gap-2.5 pt-1",children:t.map(c=>{const l=C8[c.key];return a.jsxs("li",{"data-plan-row":c.key,className:"grid grid-cols-[16px_minmax(0,1fr)] items-start gap-2.5 text-[13px] leading-[18px] text-ink",children:[l?a.jsx(l,{size:16,strokeWidth:1.5,"aria-hidden":"true",className:"mt-px text-ink-tertiary"}):a.jsx("span",{}),a.jsxs("span",{children:[c.text,c.note&&a.jsx("small",{className:"block text-[12px] leading-4 text-ink-tertiary",children:c.note})]})]},c.key)})}),a.jsx("ul",{id:Zo(e.tier),hidden:!r,className:"flex flex-col gap-2 border-t-[0.5px] border-ink/10 pt-4 text-[12px] leading-4 text-ink-secondary",children:n.map(c=>a.jsxs("li",{"data-plan-row":c.key,children:[c.text,c.note&&a.jsx("small",{className:"block text-[12px] leading-4 text-ink-tertiary",children:c.note})]},c.key))}),a.jsxs("div",{className:"flex flex-col gap-2 self-start pt-1",children:[e.action?a.jsx("button",{type:"button","data-plan-buy":e.tier,"aria-describedby":s,className:e.popular?se:oi,disabled:o,onClick:()=>i(e.tier),children:e.action}):a.jsx("p",{"data-plan-mine":"",className:"grid min-h-9 place-items-center rounded-full bg-ink/[0.04] px-4 text-[14px] text-ink-secondary",children:f("cloudBuy.card.current")}),e.terms&&a.jsx("p",{className:"text-center text-[12px] leading-4 text-ink-tertiary",children:e.terms})]})]})}function b8({offer:e,current:t=null,own:n=null,now:r,busy:o,signedOut:i,notice:s,onStart:c,onSignIn:l}){const[u,d]=m.useState(!1),p=Yo(e,{current:t,own:n}),h=Xo(p),C=Qo(e,r),g=ei(e),y=!!ti(e);return a.jsxs("div",{"data-cloud-add":e.plans.some(x=>x.trialDays)?"offer-trial":"offer",className:Me,children:[a.jsx("div",{className:"-mx-4 -mt-3",children:a.jsxs(p8,{children:[a.jsx("h2",{id:"cloud-add-title",tabIndex:-1,className:"text-[17px] font-medium leading-6 tracking-[-0.008em] outline-none!",children:f("pro.name")}),a.jsxs("p",{className:"mt-0.5 max-w-[440px] text-[14px] leading-5 text-(--cloud-night-ink-quiet) [text-wrap:pretty]",children:[a.jsx("span",{className:"font-medium text-(--cloud-night-ink)",children:f("cloudBuy.title")})," ",f("cloudBuy.lede")]}),a.jsxs("button",{type:"button","aria-expanded":u,"aria-controls":p.map(x=>Zo(x.tier)).join(" "),onClick:()=>d(!u),className:"-ms-2 mt-2 inline-flex items-center gap-1 self-start rounded-full py-0.5 pe-1.5 ps-2 text-[13px] leading-[18px] text-(--cloud-night-ink-quiet) transition-colors hover:bg-white/10 hover:text-(--cloud-night-ink) motion-reduce:transition-none",children:[f("pro.seePlans"),a.jsx(ni,{size:14,strokeWidth:1.5,"aria-hidden":"true",className:L("transition-transform motion-reduce:transition-none",u&&"rotate-180")})]})]})}),s&&a.jsx("p",{role:"status",className:"rounded-[12px] bg-ink/[0.04] px-4 py-3 text-[13px] leading-[18px] text-ink",children:s}),a.jsxs("section",{"aria-labelledby":"cloud-add-plans",children:[a.jsx("h3",{id:"cloud-add-plans",className:"sr-only",children:f("cloudBuy.choose")}),a.jsx("ul",{"aria-labelledby":"cloud-add-plans",className:L("grid gap-3",m8[p.length]??"md:grid-cols-3"),children:p.map((x,k)=>a.jsx(g8,{card:x,shown:h[k].shown,details:h[k].details,compare:u,busy:o,onStart:c},x.tier))})]}),a.jsxs("div",{"aria-live":"polite",className:"flex flex-col gap-1.5 text-[13px] leading-[18px] text-ink-secondary",children:[C.length>1&&a.jsx("ol",{"aria-label":f("cloudBuy.timeline"),className:"flex flex-wrap items-center gap-x-4 gap-y-1",children:C.map((x,k)=>a.jsxs("li",{className:"inline-flex items-center gap-1.5",children:[a.jsx("span",{"aria-hidden":"true",className:L("size-1.5 shrink-0 rounded-full",k===0?"bg-ink":"border border-ink/40")}),a.jsx("b",{className:"font-medium text-ink",children:x.when}),x.text]},x.when))}),(y||g)&&a.jsxs("p",{className:"flex flex-wrap gap-x-1.5",children:[y&&a.jsx("span",{children:f("cloudBuy.trialTerms")}),y&&g&&a.jsx("span",{"aria-hidden":"true",children:"·"}),g&&a.jsx("span",{children:g})]})]}),a.jsxs("section",{"aria-labelledby":"cloud-add-includes",className:"flex flex-col gap-2.5",children:[a.jsx("h3",{id:"cloud-add-includes",className:"text-[13px] font-medium leading-[18px] text-ink-secondary",children:f("cloudBuy.includes")}),a.jsx("ul",{className:"flex flex-wrap gap-x-5 gap-y-2",children:h8.map(([x,k,_])=>a.jsxs("li",{className:"flex text-[13px] leading-[18px] text-ink",children:[a.jsxs("span",{"aria-hidden":"true",title:f(_),className:"inline-flex items-center gap-1.5",children:[a.jsx(x,{size:16,strokeWidth:1.5,className:"shrink-0 text-ink-tertiary"}),f(k)]}),a.jsxs("span",{className:"sr-only",children:[f(k),": ",f(_)]})]},k))})]}),a.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-x-4 gap-y-2 border-t-[0.5px] border-ink/10 pt-4 text-[12px] leading-4 text-ink-tertiary",children:[a.jsxs("p",{className:"flex flex-wrap items-center gap-x-2.5 gap-y-1",children:[a.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[a.jsx(V2,{size:13,strokeWidth:1.5,"aria-hidden":"true"}),f("cloudBuy.secure")]}),a.jsx("span",{role:"img","aria-label":f("cloudBuy.wallets"),className:"inline-flex gap-1",children:[f("cloudBuy.applePay"),f("cloudBuy.googlePay"),f("cloudBuy.card")].map(x=>a.jsx("span",{"aria-hidden":"true",className:"rounded-[6px] border-[0.5px] border-ink/20 px-1.5 py-px text-[11px] font-medium text-ink-secondary",children:x},x))}),a.jsx("span",{"aria-hidden":"true",children:"·"}),a.jsx("span",{children:f("cloudBuy.cancelEasy")})]}),i&&a.jsx("button",{type:"button",className:We,onClick:l,children:f("cloudBuy.haveAccount")})]})]})}const y8=3e3,x8={signups_closed:"cloudBuy.extra.signupsClosed",checkout_open:"cloudBuy.extra.checkoutOpen",rate:"cloudAdd.rateLimited"};function v8({plan:e,name:t,color:n,busy:r,suggested:o,onName:i,onColor:s,onBack:c,onContinue:l}){const u=t.trim().replace(/\s+/g," ")||o;return a.jsxs("form",{"data-cloud-add":"extra-name",className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",onSubmit:d=>{d.preventDefault(),l()},children:[a.jsx("div",{children:a.jsx(ie,{label:f("cloudBuy.back"),onClick:c})}),a.jsx(s1,{title:f("cloudBuy.extra.nameTitle"),sub:f("cloudBuy.extra.nameSub")}),a.jsxs("label",{className:"flex flex-col gap-1.5 text-[13px] font-medium text-ink",children:[f("cloudBuy.setup.name"),a.jsx("input",{"data-autofocus":!0,value:t,maxLength:tn,placeholder:o,disabled:r,onChange:d=>i(d.target.value),className:ve})]}),a.jsxs("div",{className:"flex flex-col gap-1.5",children:[a.jsx("span",{"aria-hidden":"true",className:"text-[13px] font-medium text-ink",children:f("cloudBuy.setup.color")}),a.jsx(Ee,{value:n,onChange:s,label:f("cloudBuy.setup.color"),disabled:r})]}),a.jsxs("div",{className:"flex items-center gap-3 rounded-xl border border-hairline/70 bg-card/70 px-4 py-3",children:[a.jsx("span",{"aria-hidden":"true",className:L("grid size-10 shrink-0 place-items-center rounded-full text-[14px] font-semibold",n==="slate"?"bg-raised text-ink":"text-white"),style:n==="slate"?void 0:{background:st(n)},children:rt(u)}),a.jsxs("span",{className:"min-w-0",children:[a.jsx("span",{className:"block truncate text-[14px] font-semibold text-ink",children:u}),a.jsx("span",{className:"block text-[13px] text-ink-secondary",children:f("cloudBuy.pay.planPaid",{plan:ai(e),price:En(e.amount/100)})})]})]}),a.jsx("p",{className:"text-[13px] leading-relaxed text-ink-secondary",children:f("cloudBuy.card.paid",{price:En(e.amount/100)})}),a.jsxs("button",{type:"submit",className:se,disabled:r,children:[r&&a.jsx(x1,{size:15,className:"animate-spin motion-reduce:animate-none","aria-hidden":"true"}),f("cloudBuy.extra.continue")]})]})}function k8({reason:e,home:t,busy:n,interest:r,onInterest:o,onClose:i}){return a.jsxs("div",{"data-cloud-add":`extra-${e}`,className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",children:[e==="one"?a.jsx(s1,{title:f("cloudBuy.one.title"),sub:f("cloudBuy.one.sub",{name:t??f("cloudSetup.myCloud")})}):a.jsxs(a.Fragment,{children:[a.jsx(s1,{title:f("cloudAdd.title")}),a.jsx("p",{role:"status",className:"text-[14px] leading-relaxed text-ink",children:f(x8[e])})]}),a.jsxs("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[e==="one"&&r!=="sent"&&a.jsx("button",{type:"button",className:"ui-button",disabled:n,onClick:o,children:f("cloudBuy.one.email")}),a.jsx("button",{type:"button","data-autofocus":!0,className:"ui-button ui-button-primary",onClick:i,children:f("cloudAdd.close")})]}),a.jsxs("div",{"aria-live":"polite",className:"text-[13px] empty:-mt-4",children:[r==="sent"&&a.jsx("p",{className:"text-ink-secondary",children:f("cloudBuy.one.thanks")}),r==="failed"&&a.jsx("p",{role:"alert",className:"text-danger",children:f("cloudBuy.one.failed")})]})]})}function w8({onClose:e,onFirstCloud:t,onWide:n=()=>{},onBack:r=null,now:o=Date.now,source:i}){const s=window.ogb?.cloudAdd,[c,l]=m.useState(void 0),[u,d]=m.useState(null),[p,h]=m.useState(""),[C,g]=m.useState(tr),[y,x]=m.useState(!1),[k,_]=m.useState(!1),[j,N]=m.useState(null),[w,v]=m.useState(null),[A,z]=m.useState(null),Z=m.useRef(null),V=()=>s?.state().then(l,()=>l(null))??Promise.resolve(l(null));m.useEffect(()=>{V();const B=window.ogb?.workspaces?.onChanged?.(()=>{V()});return s?.sheet(!0).catch(()=>{}),()=>{B?.(),s?.sheet(!1).catch(()=>{})}},[]);const M=bs(c,{now:o(),tier:u,failed:k,stop:j}),o1=M.kind==="waiting"||M.kind==="starting";m.useEffect(()=>{if(!o1)return;const B=setInterval(()=>{V()},y8);return()=>clearInterval(B)},[o1]),m.useEffect(()=>{n(M.kind==="choose")},[M.kind]),m.useEffect(()=>{M.kind==="first"&&t(),M.kind==="ready"&&z1("cloud_add_another",{step:"ready"})},[M.kind]),m.useEffect(()=>{Z.current?.contains(document.activeElement)||(Z.current?.querySelector("[data-autofocus]")??Z.current?.querySelector("#cloud-add-title"))?.focus()},[M.kind]);const P=c&&c.signedIn?c.count:1,T=f("cloudBuy.extra.defaultName",{number:P+1}),O=(B,t1)=>{y||(x(!0),v(null),B().catch(t1).finally(()=>x(!1)))},$=()=>O(async()=>{if(M.kind!=="name"||!s)return;const B=p.trim().replace(/\s+/g," ")||T,t1=await(i?s.start(M.plan.tier,B,C,i):s.start(M.plan.tier,B,C));if(t1.outcome==="opened"){z1("cloud_add_another",{step:"checkout_opened",plan:M.plan.tier}),d(null),await V();return}t1.outcome==="blocked"?(N(ys(t1.blocked)),t1.blocked==="checkout_open"&&await V()):t1.outcome==="unsupported"?N("one"):_(!0)},()=>_(!0)),q=(()=>{switch(M.kind){case"checking":case"first":return a.jsxs("div",{"data-cloud-add":"extra-checking",className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",children:[a.jsx(s1,{title:f("cloudAdd.title")}),a.jsxs("p",{role:"status",className:"flex items-center gap-2 text-[13px] text-ink-secondary",children:[a.jsx(x1,{size:14,className:"animate-spin motion-reduce:animate-none","aria-hidden":"true"}),f("cloudAdd.checking")]})]});case"unreachable":case"error":return a.jsxs("div",{"data-cloud-add":`extra-${M.kind}`,className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",children:[a.jsx(s1,{title:f("cloudAdd.title")}),a.jsx("p",{role:"alert",className:"text-[14px] leading-relaxed text-ink",children:f(M.kind==="error"?"cloudAdd.failed":"cloudAdd.unreachable")}),a.jsxs("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[a.jsx("button",{type:"button",className:"ui-button",onClick:e,children:f("cloudAdd.close")}),a.jsx("button",{type:"button","data-autofocus":!0,className:"ui-button ui-button-primary",onClick:()=>{_(!1),l(void 0),V()},children:f("cloudAdd.tryAgain")})]})]});case"stop":return a.jsx(k8,{reason:M.reason,home:M.home,busy:y,interest:A,onClose:e,onInterest:()=>O(async()=>{await s?.interest(),z("sent")},()=>z("failed"))});case"choose":return a.jsxs("div",{children:[r&&a.jsx("div",{className:"px-7 pt-5",children:a.jsx(ie,{label:f("rail.back"),onClick:r})}),a.jsx(b8,{offer:M.offer,now:o(),busy:y,signedOut:!1,notice:null,onSignIn:()=>{},onStart:B=>{z1("cloud_add_another",{step:"plan",plan:B}),d(B)}})]});case"name":return a.jsx(v8,{plan:M.plan,name:p,color:C,busy:y,suggested:T,onName:h,onColor:g,onBack:()=>d(null),onContinue:$});case"waiting":return a.jsxs("div",{"data-cloud-add":M.late?"extra-waiting-late":"extra-waiting",className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",children:[a.jsx(s1,{title:M.late?f("cloudBuy.pay.lateTitle"):f("cloudAdd.browserTitle"),sub:M.late?f("cloudBuy.extra.lateSub"):f("cloudBuy.pay.sub")}),a.jsx(si,{items:[{key:"payment",state:"now",title:f("cloudBuy.pay.waiting"),detail:M.adding.name},{key:"setup",state:"next",title:f("cloudBuy.pay.setup"),detail:f("cloudBuy.pay.setupHint")}]}),M.adding.link&&a.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[a.jsxs("button",{type:"button","data-autofocus":!0,className:M.late?"ui-button ui-button-primary":"ui-button",disabled:y,onClick:()=>O(async()=>{await s?.reopen()||v("pay-failed")},()=>v("pay-failed")),children:[a.jsx(qt,{size:14,"aria-hidden":"true"}),f("cloudAdd.reopenCheckout")]}),a.jsxs("button",{type:"button",className:"ui-button",disabled:y,onClick:()=>O(async()=>v(await s?.copyLink()?"copied":"pay-failed"),()=>v("pay-failed")),children:[a.jsx(Mi,{size:14,"aria-hidden":"true"}),f("cloudBuy.pay.copy")]})]}),a.jsxs("div",{"aria-live":"polite",className:"text-[13px] empty:-mt-4",children:[w==="copied"&&a.jsx("p",{className:"text-ink-secondary",children:f("cloudBuy.pay.copied")}),w==="pay-failed"&&a.jsx("p",{role:"alert",className:"text-danger",children:f("cloudBuy.pay.failed")})]})]});case"starting":return a.jsxs("div",{"data-cloud-add":"extra-starting",className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",children:[a.jsx(s1,{title:f("cloudBuy.extra.setupTitle",{name:M.adding.name}),sub:f("cloudBuy.extra.setupSub")}),a.jsx(ii,{value:M.adding.progress??0,label:f("cloudBuy.setup.progress")}),a.jsx("div",{className:"flex justify-end",children:a.jsx("button",{type:"button","data-autofocus":!0,className:"ui-button",onClick:e,children:f("cloudAdd.close")})})]});case"ready":return a.jsxs("div",{"data-cloud-add":"extra-ready",className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",children:[a.jsx(s1,{title:f("cloudBuy.ready.title",{name:M.adding.name}),sub:f("cloudBuy.extra.readySub")}),a.jsx("button",{type:"button","data-autofocus":!0,className:se,disabled:y,onClick:()=>O(async()=>{await s?.open(),e()},()=>v("open-failed")),children:f("cloudBuy.setup.open",{name:M.adding.name})}),w==="open-failed"&&a.jsx("p",{role:"alert",className:"text-[13px] text-danger",children:f("cloudBuy.openFailed",{name:M.adding.name})})]});case"problem":return a.jsxs("div",{"data-cloud-add":"extra-problem",className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",children:[a.jsx(s1,{title:f("cloudAdd.title")}),a.jsx("p",{role:"alert",className:"text-[14px] leading-relaxed text-ink",children:f("cloudBuy.extra.problem",{name:M.adding.name})}),a.jsx("div",{className:"flex justify-end",children:a.jsx("button",{type:"button","data-autofocus":!0,className:"ui-button ui-button-primary",onClick:e,children:f("cloudAdd.close")})})]})}})();return a.jsx("div",{ref:Z,"data-add-cloud-flow":M.kind,className:"contents",children:q})}const zo={no_team_plan:"rail.orgNoPlan",limit:"rail.orgLimit",rate:"rail.orgRate",off:"rail.orgOff"};function _8(e){return e?.outcome==="added"?null:e?.outcome==="taken"?"rail.orgTaken":e?.outcome==="blocked"?zo[e.blocked]:"rail.orgFailed"}function S8({onBack:e,onClose:t}){const[n,r]=m.useState(null),[o,i]=m.useState(""),[s,c]=m.useState(tr),[l,u]=m.useState(!1),[d,p]=m.useState(null);m.useEffect(()=>{window.ogb?.cloudAdd?.state().then(r,()=>r(null))},[]);const h=n?.signedIn?n.organizations??null:null,C=h&&!h.canAdd?h.blocked?zo[h.blocked]:"rail.orgOff":null,g=o.trim().replace(/\s+/g," "),y=async()=>{if(!g||l||C)return;u(!0),p(null);const x=await window.ogb?.cloudAdd?.organization?.(g,s).catch(()=>null)??null;u(!1);const k=_8(x);if(k){p(k);return}z1("rail_add",{step:"organization"}),ci(),t()};return a.jsxs("form",{"data-place-add":"organization",className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",onSubmit:x=>{x.preventDefault(),y()},children:[e&&a.jsx("div",{children:a.jsx(ie,{label:f("rail.back"),onClick:e})}),a.jsx(s1,{title:f("rail.org"),sub:f("rail.orgLede")}),a.jsxs("label",{className:"flex flex-col gap-1.5 text-[13px] font-medium text-ink",children:[f("rail.orgName"),a.jsx("input",{"data-autofocus":!0,value:o,maxLength:tn,placeholder:f("rail.orgPlaceholder"),disabled:l,onChange:x=>i(x.target.value),className:ve})]}),a.jsxs("div",{className:"flex flex-col gap-1.5",children:[a.jsx("span",{"aria-hidden":"true",className:"text-[13px] font-medium text-ink",children:f("rail.orgColor")}),a.jsx(Ee,{value:s,onChange:c,label:f("rail.orgColor"),disabled:l})]}),a.jsxs("div",{className:"flex items-center gap-3 rounded-xl border border-hairline/70 bg-card/70 px-4 py-3",children:[a.jsx("span",{"aria-hidden":"true",className:L("grid size-10 shrink-0 place-items-center rounded-full text-[14px] font-semibold",s==="slate"?"bg-raised text-ink":"text-white"),style:s==="slate"?void 0:{background:st(s)},children:rt(g||f("rail.org"))}),a.jsxs("span",{className:"min-w-0",children:[a.jsx("span",{"data-org-preview":!0,className:"block truncate text-[14px] font-semibold text-ink",children:g||f("rail.org")}),h&&a.jsx("span",{"data-org-count":!0,className:"block text-[13px] text-ink-secondary",children:f("rail.orgCount",{count:Math.min(h.count+1,h.max),max:h.max})})]})]}),(C||d)&&a.jsx("p",{role:"alert","data-org-problem":!0,className:"text-[13px] leading-relaxed text-danger",children:f(C??d)}),a.jsxs("button",{type:"submit",className:se,disabled:l||!g||!!C,children:[l&&a.jsx(x1,{size:15,className:"animate-spin motion-reduce:animate-none","aria-hidden":"true"}),f("rail.orgCreate")]})]})}const j8="npx limixbot pair";function M8({command:e}){const{state:t,copy:n}=js(e);return a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx("code",{className:"min-w-0 truncate rounded-md bg-inset px-2 py-1 font-mono text-[12px] text-ink",children:e}),a.jsx("button",{type:"button",onClick:n,className:"text-[12px] font-medium text-accent-text hover:underline",children:f(t==="copied"?"connect.copied":"connect.copy")})]})}function vt(e,t){return f(gs[e],{host:t??"",example:K2})}function N8(e,t){const n=kt(e,t);if(n.ok&&n.candidates[0])return new URL(n.candidates[0]).host;try{return new URL(/^[a-z][a-z0-9+.-]*:\/\//i.test(e.trim())?e.trim():`http://${e.trim()}`).host||void 0}catch{return}}const E8={https:"connect.found.https",tailscale:"connect.found.tailscale","private-http":"connect.found.privateHttp",loopback:"connect.found.loopback"};function $8({onBack:e,onConnected:t,connect:n=null,start:r=null}){const[o,i]=m.useState(r?.address??""),[s,c]=m.useState(""),[l,u]=m.useState(!1),[d,p]=m.useState(null),[h,C]=m.useState(!1),[g,y]=m.useState(!1),[x,k]=m.useState(null),_=m.useRef(null),j=window.ogb?.workspaces,N=typeof j?.probe=="function",w=kt(o,s),v=w.ok&&!s.trim()&&(w.code!==null||w.credential!==null),A=l||o.trim()!==""&&!v&&!(w.ok===!1&&w.problem==="codeOnly");m.useEffect(()=>{if(!N||!o.trim()){p(null),C(!1);return}let P=!0;C(!0);const T=window.setTimeout(()=>{j.probe(o,s).then(O=>{P&&p(O)}).catch(()=>{P&&p({outcome:"problem",problem:"unreachable",host:N8(o,s)})}).finally(()=>{P&&C(!1)})},400);return()=>{P=!1,window.clearTimeout(T)}},[o,s,N,j]);const z=P=>{k(null);const T=kt(P);if(!T.ok&&T.problem==="codeOnly"&&T.code){c(T.code),i(""),u(!0);return}i(P),T.ok&&T.code===null&&T.credential===null&&window.setTimeout(()=>_.current?.focus(),0)},Z=d?.outcome==="found"?d:null,V=async P=>{if(P.preventDefault(),!(!o.trim()||g||N&&!Z)){z1("rail_add",{step:"link"}),y(!0),k(null);try{const T=await j?.add?.("link",o.trim(),s.trim());T&&typeof T=="object"?T.outcome==="connected"?t():T.outcome==="problem"&&k(vt(T.problem,T.host)):T!==!1&&t()}catch(T){k(T instanceof Error&&T.message?T.message.replace(/^Error invoking remote method '[^']+': (?:Error: )?/,""):vt("notAnAddress"))}finally{y(!1)}}},M=x??(d?.outcome==="problem"&&d.problem!=="empty"?vt(d.problem,d.host):null),o1=l&&!o.trim();return a.jsxs("form",{"data-place-add":n?"connect-server":"own-server",onSubmit:P=>{V(P)},className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",children:[e&&a.jsx("div",{children:a.jsx(ie,{label:f("rail.back"),onClick:e})}),a.jsx(s1,{title:n?f("rail.connectTitle",{name:n.name}):r?.title??f("connect.title"),sub:f(n?"connect.signedInLede":"connect.lede")}),a.jsxs("label",{className:"flex flex-col gap-1.5 text-[13px] font-medium text-ink",children:[f("connect.address"),a.jsx("input",{"data-autofocus":r?.locked?void 0:!0,"data-own-server-link":!0,value:o,disabled:g,readOnly:r?.locked===!0,onChange:P=>{r?.locked||z(P.target.value)},placeholder:f("connect.addressPlaceholder"),autoCapitalize:"none",autoCorrect:"off",autoComplete:"off",spellCheck:!1,"aria-invalid":!!M||void 0,className:"w-full rounded-lg border border-hairline/40 bg-inset px-3 py-2 text-[14px] font-normal text-ink outline-none focus:border-accent/50"})]}),o1&&a.jsx("p",{"data-connect-hint":!0,className:"text-[13px] text-ink-secondary",children:f("connect.addAddress",{example:K2})}),Z&&a.jsxs("p",{"data-connect-found":!0,className:"text-[13px] text-ink-secondary",children:["✓ ",Z.version?f("connect.found",{name:Z.label,version:Z.version}):Z.label," · ",f(E8[Z.transport])]}),A&&a.jsxs("label",{className:"flex flex-col gap-1.5 text-[13px] font-medium text-ink",children:[f("connect.code"),a.jsx("input",{ref:_,"data-autofocus":r?.locked?!0:void 0,"data-own-server-code":!0,value:s,disabled:g,onChange:P=>{c(P.target.value),k(null)},placeholder:"7KQ2-M9XD-H4TP",autoCapitalize:"characters",autoCorrect:"off",autoComplete:"off",spellCheck:!1,className:"w-full rounded-lg border border-hairline/40 bg-inset px-3 py-2 font-mono text-[14px] font-normal text-ink outline-none focus:border-accent/50"}),a.jsxs("span",{className:"flex flex-col gap-1 text-[12px] font-normal text-ink-secondary",children:[f("connect.noCode"),a.jsx(M8,{command:j8})]})]}),M&&a.jsx("p",{role:"alert","data-connect-problem":!0,className:"text-[13px] text-danger",children:M}),N&&h&&!Z&&!M&&a.jsxs("p",{"data-connect-checking":!0,className:"inline-flex items-center gap-1.5 text-[13px] text-ink-secondary",children:[a.jsx(x1,{size:13,className:"animate-spin","aria-hidden":"true"}),f("connect.checking")]}),a.jsx("div",{children:a.jsxs("button",{type:"submit","data-own-server-connect":!0,disabled:g||!o.trim()||N&&!Z,className:"ui-button ui-button-primary inline-flex items-center gap-2",children:[g&&a.jsx(x1,{size:14,className:"animate-spin","aria-hidden":"true"}),Z?f("connect.to",{name:Z.label}):f("rail.connect")]})})]})}function ue({icon:e,title:t,sub:n,onClick:r,kind:o}){return a.jsxs("button",{type:"button","data-place-add-choice":o,onClick:r,className:"flex min-w-0 flex-1 flex-col items-start gap-2 rounded-2xl border border-hairline bg-card p-5 text-start transition-colors hover:border-accent/60 hover:bg-raised focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus",children:[a.jsx("span",{"aria-hidden":"true",className:"grid size-9 place-items-center rounded-[8px] bg-accent/12 text-accent-text",children:e}),a.jsx("span",{className:"text-[15px] font-semibold text-ink",children:t}),a.jsx("span",{className:"text-[13px] leading-snug text-ink-secondary",children:n})]})}const A8="button:not([disabled]):not([tabindex='-1']), input:not([disabled]):not([tabindex='-1']), [href], [tabindex='0']";function Oo(e){return a.jsx(Y2,{modal:!0,children:a.jsx(Z8,{...e})})}function Z8({wide:e=!1,focusKey:t,onClose:n,children:r}){const o=m.useRef(null),i=ns(),s=m.useEffectEvent(n);return m.useEffect(()=>{const c=document.activeElement,l=u=>{if(!i())return;if(u.key==="Escape"){u.preventDefault(),s();return}if(u.key!=="Tab")return;const d=[...o.current?.querySelectorAll(A8)??[]];if(!d.length)return;u.preventDefault();const p=d.indexOf(document.activeElement);d[p===-1?0:(p+(u.shiftKey?-1:1)+d.length)%d.length].focus()};return window.addEventListener("keydown",l,!0),()=>{window.removeEventListener("keydown",l,!0),c?.isConnected&&c.focus()}},[i]),m.useEffect(()=>{o.current?.contains(document.activeElement)&&document.activeElement!==o.current||(o.current?.querySelector("[data-autofocus]")??o.current?.querySelector("#cloud-add-title"))?.focus()},[t]),a.jsx("div",{className:"fixed inset-0 z-[60] flex items-center justify-center bg-black/50 p-4 sm:p-6",onMouseDown:c=>c.target===c.currentTarget&&n(),children:a.jsxs("div",{ref:o,role:"dialog","aria-modal":"true","aria-labelledby":"cloud-add-title","data-place-add-sheet":!0,tabIndex:-1,className:L("animate-pop-in relative max-h-full w-full overflow-y-auto overscroll-contain rounded-2xl border border-hairline/70 bg-panel shadow-2xl outline-none",e?"max-w-[900px]":"max-w-[560px]"),children:[a.jsx("button",{type:"button",onClick:n,"aria-label":f("cloudAdd.close"),className:"ui-icon-button absolute end-3.5 top-3.5 z-10",children:a.jsx(F2,{size:18})}),r]})})}function z8(e){return{names:e.map(n=>n.kind==="computer"?h1(n):n.name),swatches:new Set(e.map(n=>n.paint?.swatch??D1.find(r=>n.color!==null&&er[r]===n.color)).filter(n=>!!n))}}function Io({places:e,onBack:t,onDone:n}){const[r]=m.useState(()=>z8(e)),[o,i]=m.useState(()=>li(r.names)),[s,c]=m.useState(()=>D1.find(y=>y!=="slate"&&!r.swatches.has(y))??"slate"),[l,u]=m.useState(!1),[d,p]=m.useState(null),h=o.trim().replace(/\s+/g," "),C=r.names.some(y=>y.toLocaleLowerCase()===h.toLocaleLowerCase()),g=async()=>{if(!h||l)return;if(C){p("taken");return}u(!0),p(null);const y=await ui(h,s==="slate"?null:s);if(u(!1),y==="made"){z1("rail_add",{step:"local"}),n();return}p(y==="taken"?"taken":"failed")};return a.jsxs("form",{"data-place-add":"local",className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",onSubmit:y=>{y.preventDefault(),g()},children:[t&&a.jsx("div",{children:a.jsx(ie,{label:f("rail.back"),onClick:t})}),a.jsx(s1,{title:f("rail.local"),sub:f("rail.localSub")}),a.jsxs("label",{className:"flex flex-col gap-1.5 text-[13px] font-medium text-ink",children:[f("rail.orgName"),a.jsx("input",{"data-autofocus":!0,"data-local-name":!0,value:o,maxLength:tn,disabled:l,"aria-invalid":d==="taken"||void 0,onChange:y=>{i(y.target.value),p(null)},onFocus:y=>y.currentTarget.select(),className:ve})]}),a.jsxs("div",{className:"flex flex-col gap-1.5",children:[a.jsx("span",{"aria-hidden":"true",className:"text-[13px] font-medium text-ink",children:f("rail.orgColor")}),a.jsx(Ee,{value:s,onChange:c,label:f("rail.orgColor"),disabled:l,none:!0})]}),a.jsxs("div",{className:"flex items-center gap-3 rounded-xl border border-hairline/70 bg-card/70 px-4 py-3",children:[a.jsxs("span",{"aria-hidden":"true",className:L("relative grid size-10 shrink-0 place-items-center rounded-[12px] text-[14px] font-semibold",s==="slate"?"bg-raised text-ink":"text-white"),style:s==="slate"?void 0:{background:st(s)},children:[rt(h||f("rail.localWork")),a.jsx("span",{className:"absolute -bottom-1 -right-1 grid size-4 place-items-center rounded-full border border-hairline bg-panel text-ink-secondary",children:a.jsx(ot,{size:9,strokeWidth:2.25})})]}),a.jsxs("span",{className:"min-w-0",children:[a.jsx("span",{"data-local-preview":!0,className:"block truncate text-[14px] font-semibold text-ink",children:h||f("rail.localWork")}),a.jsx("span",{className:"block text-[13px] text-ink-secondary",children:f("rail.localPreview")})]})]}),d&&a.jsx("p",{role:"alert","data-local-problem":!0,className:"text-[13px] leading-relaxed text-danger",children:f(d==="taken"?"rail.localTaken":"rail.localFailed")}),a.jsxs("button",{type:"submit","data-local-create":!0,className:se,disabled:l||!h,children:[l&&a.jsx(x1,{size:15,className:"animate-spin motion-reduce:animate-none","aria-hidden":"true"}),f("rail.localCreate")]})]})}function kc(){const[e,t]=m.useState(!1);return m.useEffect(()=>window.ogb?.remoteClient?.active?void 0:window.ogb?.workspaces?.onNewLocal?.(()=>t(!0)),[]),e?a.jsx(Oo,{focusKey:"local",onClose:()=>t(!1),children:a.jsx(Io,{places:[],onBack:null,onDone:()=>t(!1)})}):null}function R2({choices:e,places:t=[],connect:n=null,onClose:r,onAccount:o}){const i=e.link,s=e.organization===!0,c=e.account===!0&&!!o,l=e.local===!0,u=[l,s,e.cloud,i,c].filter(Boolean).length>1,[d,p]=m.useState(n?"server":u?"choose":l?"local":s?"organization":e.cloud?"cloud":"server"),[h,C]=m.useState(!1),g=window.ogb?.workspaces,y=()=>{z1("rail_add",{step:"cloud"}),r(),g?.add?.("cloud").catch(()=>{})};return a.jsxs(Oo,{wide:d==="cloud"&&h,focusKey:d,onClose:r,children:[d==="choose"&&a.jsxs("div",{"data-place-add":"choose",className:"flex flex-col gap-5 px-[30px] pb-[26px] pt-7",children:[a.jsx(s1,{title:f(l?"rail.addAny":"rail.add")}),l&&a.jsx(ue,{kind:"local",icon:a.jsx(ot,{size:19}),title:f("rail.local"),sub:f("rail.localSub"),onClick:()=>p("local")}),a.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[s&&a.jsx(ue,{kind:"organization",icon:a.jsx(wi,{size:19}),title:f("rail.org"),sub:f("rail.orgSub"),onClick:()=>p("organization")}),e.cloud&&a.jsx(ue,{kind:"cloud",icon:a.jsx(W2,{size:19}),title:f("rail.buy"),sub:f("rail.buySub"),onClick:()=>p("cloud")}),i&&a.jsx(ue,{kind:"server",icon:a.jsx(J2,{size:19}),title:f("connect.title"),sub:f("connect.choiceSub"),onClick:()=>p("server")}),c&&a.jsx(ue,{kind:"account",icon:a.jsx(Yt,{size:19}),title:f("accounts.add"),sub:f("rail.accountSub"),onClick:()=>o()})]})]}),d==="local"&&a.jsx(Io,{places:t,onBack:u?()=>p("choose"):null,onDone:r}),d==="server"&&a.jsx($8,{onBack:u&&!n?()=>p("choose"):null,onConnected:r,connect:n}),d==="cloud"&&a.jsx(w8,{onClose:r,onFirstCloud:y,onWide:C,onBack:u?()=>p("choose"):null}),d==="organization"&&a.jsx(S8,{onClose:r,onBack:u?()=>p("choose"):null})]})}const To=8,Kt=24,Po=e=>Math.round(e*.3);function Ht(e,t=Date.now()){if(e.settling!==void 0)return e.settling?f("rail.settling",{name:h1(e),bot:e.settling}):f("rail.settlingAny",{name:h1(e)});if(e.profile)return e.named?f("rail.localPlace",{name:h1(e)}):f("rail.profile",{name:h1(e)});const n=e.kind==="account"?null:e.email??null;return[Ro(e,t),n,e.signIn&&f("accounts.needsSignIn")].filter(Boolean).join(" · ")}function Ro(e,t){const n=e.kind==="computer"?h1(e):e.server?f("rail.ownServer",{name:e.name}):e.name;return e.waiting?f("rail.waiting",{name:n}):e.progress!==void 0?f("rail.settingUp",{name:n}):e.attention?f("rail.attention",{name:n}):e.ended?f("rail.ended",{name:n}):[e.offline?e.lastSeenAt?f("rail.lastSeen",{name:n,when:hs(e.lastSeenAt,Ci(),t)}):f("rail.offline",{name:n}):e.pairs?f("rail.notConnected",{name:n}):n,e.update&&f("rail.update",e.update),e.ownNetwork&&f("rail.ownNetwork")].filter(Boolean).join(" · ")}const wn=e=>(e.kind==="cloud"||e.kind==="team")&&!e.server,O8=(e,t=Date.now())=>wn(e)?f("rail.cloudLabel",{label:Ht(e,t)}):Ht(e,t),Vt=(e,t)=>e.opens||e.pairs===!0&&t;function I8(e,t=To){if(e.length<=t)return e;const n=e.slice(0,t-1),r=e.find(o=>o.active);return[...n,r&&!n.includes(r)?r:e[t-1]]}function T8(e,t){const n=t.toLocaleLowerCase().split(/\s+/).filter(Boolean);return e.filter(r=>{const o=`${r.kind==="computer"?h1(r):r.name} ${r.email??""}`.toLocaleLowerCase();return n.every(i=>o.includes(i))})}const Lo=(e,t)=>t>0&&e[t].group!==e[t-1].group;function P8({value:e=0,waiting:t=!1}){const n=Kt+6,r=1,o=n-2*r,i=Po(Kt)+2,s=4*(o-2*i)+2*Math.PI*i,c=t?.28:Math.max(.06,Math.min(1,e)),l=`M ${n/2} ${r} H ${n-r-i} A ${i} ${i} 0 0 1 ${n-r} ${r+i} V ${n-r-i} A ${i} ${i} 0 0 1 ${n-r-i} ${n-r} H ${r+i} A ${i} ${i} 0 0 1 ${r} ${n-r-i} V ${r+i} A ${i} ${i} 0 0 1 ${r+i} ${r} Z`;return a.jsxs("svg",{"aria-hidden":"true","data-rail-ring":t?"waiting":Math.round(e*100),width:n,height:n,viewBox:`0 0 ${n} ${n}`,className:L("pointer-events-none absolute -left-[3px] -top-[3px]",t&&"animate-pulse motion-reduce:animate-none"),children:[a.jsx("path",{d:l,fill:"none",stroke:"var(--color-hairline)",strokeWidth:2}),a.jsx("path",{d:l,fill:"none",stroke:"var(--color-accent)",strokeWidth:2,strokeLinecap:"round",strokeDasharray:`${c*s} ${s}`,className:"transition-[stroke-dasharray] duration-500 motion-reduce:transition-none"})]})}function Ze({place:e,size:t=Kt}){const n=pi(e.color);return a.jsx("span",{"aria-hidden":"true","data-rail-offline":e.offline?"":void 0,"data-rail-ended":e.ended?"":void 0,className:L("grid shrink-0 place-items-center font-semibold leading-none",n?"text-white":"bg-card text-ink",(e.offline||e.ended)&&"opacity-55 grayscale"),style:{width:t,height:t,borderRadius:Po(t),fontSize:Math.round(t*.4),...n?{background:U2(n)}:{}},children:e.kind==="computer"&&!e.named?a.jsx(ot,{size:Math.round(t*.46),strokeWidth:1.75}):e.kind==="account"?a.jsx(Yt,{size:Math.round(t*.5),strokeWidth:1.75}):rt(e.name)})}function Do({place:e}){if(wn(e))return a.jsx("span",{"aria-hidden":"true","data-rail-cloud":!0,className:"pointer-events-none absolute -bottom-1 -right-1 grid size-3.5 place-items-center rounded-full border-2 border-(--rail-surface) bg-ink text-(--rail-surface)",children:a.jsx(W2,{size:9,strokeWidth:3})});const t=e.server?J2:e.named?ot:null;return t?a.jsx("span",{"aria-hidden":"true","data-rail-server":e.server?"":void 0,"data-rail-local":e.server?void 0:"",className:"pointer-events-none absolute -bottom-1 -right-1 grid size-3 place-items-center rounded-full border border-hairline bg-(--rail-surface) text-ink-secondary",children:a.jsx(t,{size:7,strokeWidth:2.25})}):null}const Fo=(e,t)=>n=>{n.preventDefault(),(e.paint||e.removable)&&t({place:e,from:n.currentTarget})};function R8(e,t){let n=0;for(let r=e;r&&r!==t;r=r.offsetParent)n+=r.offsetTop;for(let r=e.parentElement;r&&r!==t;r=r.parentElement)n-=r.scrollTop;return n}function L8({place:e,canPair:t,pending:n,onOpen:r,onMenu:o}){const i=Ht(e),s=Vt(e,t);return a.jsxs("button",{type:"button","aria-label":O8(e),title:i,"aria-current":e.active?"page":void 0,"aria-disabled":s?void 0:!0,"aria-busy":n||void 0,"data-rail-place":e.id,"data-rail-kind":e.kind,"data-rail-pending":n?"":void 0,onClick:()=>{s&&r(e)},onContextMenu:Fo(e,o),className:L("group/tile relative shrink-0 rounded-[8px] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus",!s&&L("cursor-default",!e.offline&&"opacity-75")),children:[a.jsx("span",{"aria-hidden":"true","data-rail-pill":e.active?"page":s?"hover":void 0,className:L("pointer-events-none absolute -left-1.5 top-1/2 w-[3px] -translate-y-1/2 rounded-r-full bg-ink transition-[height,opacity] duration-150 motion-reduce:transition-none",e.active?"h-4":s?"h-2 opacity-0 group-hover/tile:opacity-100":"hidden")}),a.jsx(Ze,{place:e}),(e.progress!==void 0||e.settling!==void 0||n)&&a.jsx(P8,{value:e.progress,waiting:e.waiting===!0||e.settling!==void 0||n}),e.attention&&a.jsx("span",{"aria-hidden":"true","data-rail-dot":!0,className:"absolute -right-1 -top-1 size-2.5 rounded-full border-2 border-(--rail-surface) bg-danger"}),e.update&&!e.attention&&a.jsx("span",{"aria-hidden":"true","data-rail-update":!0,className:"absolute -right-1 -top-1 size-2.5 rounded-full border-2 border-(--rail-surface) bg-accent"}),a.jsx(Do,{place:e})]})}function D8({place:e,onRemoved:t}){const[n,r]=m.useState(!1),[o,i]=m.useState(!1),[s,c]=m.useState(null),l=()=>{i(!0),c(null),bi(e.id).then(u=>{if(i(!1),u==="removed"||u==="gone"){t();return}r(!1),c(u==="refused"?"refused":"failed")})};return a.jsxs("div",{"data-rail-remove":!0,className:"flex flex-col gap-1.5 border-t border-hairline/50 px-0.5 pt-1.5",children:[n?a.jsxs("div",{role:"alertdialog","aria-label":f("rail.remove"),className:"flex flex-col gap-2 px-1.5 pb-1",children:[a.jsx("p",{className:"text-[12px] leading-snug text-ink",children:f(e.forget?"rail.removeServerAsk":"rail.removeAsk",{name:e.name})}),a.jsxs("div",{className:"flex gap-2",children:[a.jsx("button",{type:"button","data-rail-remove-confirm":!0,className:"ui-button ui-button-primary",disabled:o,onClick:l,children:f("rail.removeYes")}),a.jsx("button",{type:"button",className:"ui-button",disabled:o,onClick:()=>r(!1),children:f("rail.removeNo")})]})]}):a.jsx("button",{type:"button","data-rail-remove-ask":!0,className:Ne,onClick:()=>{c(null),r(!0)},children:f("rail.remove")}),s&&a.jsx("p",{role:"alert",className:"px-1.5 pb-1 text-[12px] text-danger",children:f(s==="refused"?"rail.removeRefused":"rail.removeFailed")})]})}function F8({place:e,onStarted:t}){const[n,r]=m.useState(!1),[o,i]=m.useState(null),s=()=>{r(!0),i(null),gi(e.id).then(c=>{r(!1),c===!0?t():i(c)})};return a.jsxs("div",{"data-rail-make-home":!0,className:"flex flex-col gap-0.5 border-t border-hairline/50 px-0.5 pt-1.5",children:[a.jsxs("button",{type:"button","data-rail-make-home-start":!0,className:L(Ne,"h-auto min-h-[30px] items-start py-1.5 touch:h-auto"),disabled:n,"aria-busy":n||void 0,onClick:s,children:[n?a.jsx(x1,{size:15,"aria-hidden":"true",className:"mt-0.5 shrink-0 animate-spin motion-reduce:animate-none"}):a.jsx(Oi,{size:15,"aria-hidden":"true",className:"mt-0.5 shrink-0"}),a.jsxs("span",{className:"flex min-w-0 flex-col text-start",children:[a.jsx("span",{className:"text-[13px] text-ink",children:f("rail.makeHome",{name:e.name})}),a.jsx("span",{className:"text-[12px] leading-snug text-ink-secondary",children:f("rail.makeHomeSub",{name:e.name})})]})]}),o&&a.jsx("p",{role:"alert",className:"px-1.5 pb-1 text-[12px] text-danger",children:o})]})}function B8({place:e,top:t,onClose:n}){return e.profile?a.jsx(H8,{place:e,top:t,onClose:n}):a.jsx(U8,{place:e,top:t,onClose:n})}function U8({place:e,top:t,onClose:n}){const r=e.paint,[o,i]=m.useState(null),[s,c]=m.useState(null),l=m.useRef(null);if(m.useEffect(()=>{(l.current?.querySelector("[role='radio'][tabindex='0']")??l.current?.querySelector("[data-rail-remove-ask], [data-rail-make-home-start]"))?.focus()},[]),!r&&!e.removable&&!e.makeHome)return null;const u=e.kind==="computer"?h1(e):e.name,d=h=>{!r||r.locked||o||h===r.swatch||(i(h),c(null),hi(e.id,h).then(C=>{i(null),c(C),C==="saved"&&n()}))},p=r?.locked==="member"||s==="refused"?f("placeLook.member"):r?.locked==="signed-out"?f("placeLook.signedOut"):s==="unsupported"?f("placeLook.unsupported"):null;return a.jsxs("div",{ref:l,role:"dialog","aria-label":u,"data-rail-menu":e.id,className:L("absolute left-full z-50 ml-2 w-72",en),style:{top:t},onKeyDown:h=>{h.key==="Escape"&&(h.stopPropagation(),n())},children:[a.jsxs("div",{className:"flex items-center gap-2 px-2 pt-1",children:[a.jsx(Ze,{place:e,size:22}),a.jsx("span",{className:"min-w-0 flex-1 truncate text-[13px] font-semibold text-ink",children:u})]}),r&&a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"px-2 pt-1 text-[12px] text-ink-secondary",children:f("placeLook.title")}),a.jsx("div",{className:"px-2 pb-1.5 pt-0.5",children:a.jsx(Ee,{value:o??r.swatch,onChange:d,label:f("placeLook.aria",{name:u}),disabled:!!r.locked,offset:"menu",none:!0})}),p&&a.jsx("p",{"data-rail-menu-note":!0,className:"px-2 pb-1 text-[12px] text-ink-secondary",children:p}),s==="failed"&&a.jsx("p",{role:"alert",className:"px-2 pb-1 text-[12px] text-danger",children:f("placeLook.failed")})]}),e.makeHome&&a.jsx(F8,{place:e,onStarted:n}),e.removable&&a.jsx(D8,{place:e,onRemoved:n})]})}const L2=e=>[Ro(e,Date.now()),e.signIn&&f("accounts.needsSignIn")].filter(Boolean).join(" · ");function W8({place:e,onSaved:t}){const[n,r]=m.useState(!1),[o,i]=m.useState(""),[s,c]=m.useState(!1),[l,u]=m.useState(null),d=()=>{i(h1(e)),u(null),r(!0)},p=()=>{const h=o.trim();if(!(!h||s)){if(h===h1(e)){r(!1);return}c(!0),u(null),H2(e.id,{name:h}).then(C=>{if(c(!1),C==="saved"){r(!1),t();return}u(C==="taken"?"taken":"failed")})}};return n?a.jsxs("form",{"data-rail-rename-form":!0,className:"flex flex-col gap-1.5 px-1.5 pb-1",onSubmit:h=>{h.preventDefault(),p()},children:[a.jsx("input",{autoFocus:!0,value:o,maxLength:80,disabled:s,"aria-label":f("rail.rename"),"aria-invalid":l?!0:void 0,onChange:h=>{i(h.target.value),u(null)},onKeyDown:h=>{h.key==="Escape"&&(h.preventDefault(),h.stopPropagation(),r(!1))},className:"h-8 w-full rounded-md border border-hairline/60 bg-inset px-2 text-[13px] text-ink outline-none focus:border-accent/50"}),l&&a.jsx("p",{role:"alert",className:"text-[12px] text-danger",children:f(l==="taken"?"rail.localTaken":"rail.localFailed")}),a.jsxs("div",{className:"flex gap-2",children:[a.jsx("button",{type:"submit","data-rail-rename-save":!0,className:"ui-button ui-button-primary",disabled:s||!o.trim(),children:f("rail.renameSave")}),a.jsx("button",{type:"button",className:"ui-button",disabled:s,onClick:()=>r(!1),children:f("rail.removeNo")})]})]}):a.jsx("button",{type:"button","data-rail-rename":!0,className:Ne,onClick:d,children:f("rail.rename")})}function K8({place:e,onRemoved:t}){const[n,r]=m.useState(!1),[o,i]=m.useState(!1),[s,c]=m.useState(!1),l=()=>{i(!0),c(!1),mi(e.id).then(d=>{if(i(!1),d==="removed"){t();return}r(!1),c(!0)})},u=f(window.ogb?.platform==="win32"?"rail.localRemoveAskWin":"rail.localRemoveAsk",{name:h1(e)});return a.jsxs("div",{"data-rail-remove":!0,className:"flex flex-col gap-1.5 border-t border-hairline/50 px-0.5 pt-1.5",children:[n?a.jsxs("div",{role:"alertdialog","aria-label":f("rail.localRemove"),className:"flex flex-col gap-2 px-1.5 pb-1",children:[a.jsx("p",{className:"text-[12px] leading-snug text-ink",children:u}),a.jsxs("div",{className:"flex gap-2",children:[a.jsxs("button",{type:"button","data-rail-remove-confirm":!0,className:"ui-button ui-button-primary inline-flex items-center gap-1.5",disabled:o,onClick:l,children:[o&&a.jsx(x1,{size:13,"aria-hidden":"true",className:"animate-spin motion-reduce:animate-none"}),f("rail.removeYes")]}),a.jsx("button",{type:"button","data-rail-remove-cancel":!0,className:"ui-button",disabled:o,onClick:()=>r(!1),children:f("rail.removeNo")})]})]}):a.jsx("button",{type:"button","data-rail-remove-ask":!0,className:Ne,onClick:()=>{c(!1),r(!0)},children:f("rail.localRemove")}),s&&a.jsx("p",{role:"alert",className:"px-1.5 pb-1 text-[12px] text-danger",children:f("rail.localRemoveFailed")})]})}function H8({place:e,top:t,onClose:n}){const[r,o]=m.useState(void 0),[i,s]=m.useState(!1),c=m.useRef(null);m.useEffect(()=>{c.current?.querySelector("[data-rail-rename]")?.focus()},[]);const l=h1(e),u=e.paint?.swatch??null,d=p=>{const h=p==="slate"?null:p;r!==void 0||h===u||(o(h),s(!1),H2(e.id,{color:h}).then(C=>{o(void 0),C==="saved"?n():s(!0)}))};return a.jsxs("div",{ref:c,role:"dialog","aria-label":l,"data-rail-menu":e.id,className:L("absolute left-full z-50 ml-2 w-72",en),style:{top:t},onKeyDown:p=>{p.key==="Escape"&&(p.stopPropagation(),n())},children:[a.jsxs("div",{className:"flex items-center gap-2 px-2 pt-1",children:[a.jsx(Ze,{place:e,size:22}),a.jsx("span",{className:"min-w-0 flex-1 truncate text-[13px] font-semibold text-ink",children:l})]}),a.jsx("div",{className:"px-0.5 pt-1",children:a.jsx(W8,{place:e,onSaved:n})}),a.jsx("p",{className:"px-2 pt-1 text-[12px] text-ink-secondary",children:f("placeLook.title")}),a.jsx("div",{className:"px-2 pb-1.5 pt-0.5","data-rail-local-color":!0,children:a.jsx(Ee,{value:(r===void 0?u:r)??"slate",onChange:d,label:f("placeLook.aria",{name:l}),offset:"menu",none:!0})}),i&&a.jsx("p",{role:"alert",className:"px-2 pb-1 text-[12px] text-danger",children:f("placeLook.failed")}),a.jsx(K8,{place:e,onRemoved:n})]})}function V8({places:e,canPair:t,onOpen:n,onMenu:r,onClose:o}){const[i,s]=m.useState(""),c=T8(e,i),l=f(e.some(u=>u.profile)?"rail.searchAny":"rail.search");return a.jsxs("div",{role:"dialog","aria-label":l,"data-rail-more":!0,className:L("absolute bottom-0 left-full z-50 ml-2 w-64",en),onKeyDown:u=>{u.key==="Escape"&&(u.stopPropagation(),o())},children:[a.jsxs("label",{className:"flex h-8 items-center gap-2 rounded-md bg-ink/[0.05] px-2",children:[a.jsx(fi,{size:14,"aria-hidden":"true",className:"shrink-0 text-ink-secondary"}),a.jsx("input",{autoFocus:!0,value:i,onChange:u=>s(u.target.value),placeholder:l,"aria-label":l,onKeyDown:u=>{u.key==="Enter"&&c[0]&&Vt(c[0],t)&&(n(c[0]),o())},className:"w-full bg-transparent text-[13px] text-ink outline-none placeholder:text-ink-tertiary"})]}),a.jsx("ul",{className:"max-h-72 overflow-y-auto",children:c.map((u,d)=>a.jsxs("li",{children:[Lo(c,d)&&a.jsx("div",{"data-rail-group":!0,className:"mt-1 truncate border-t border-hairline/50 px-2 pt-1.5 text-[12px] text-ink-tertiary",children:u.kind==="account"?"":u.email??""}),a.jsxs("button",{type:"button",disabled:!Vt(u,t),"aria-current":u.active?"page":void 0,onClick:()=>{n(u),o()},"aria-label":wn(u)?f("rail.cloudLabel",{label:L2(u)}):void 0,onContextMenu:Fo(u,p=>{o(),r(p)}),className:L(Ne,"h-9"),children:[a.jsxs("span",{className:"relative shrink-0",children:[a.jsx(Ze,{place:u,size:22}),a.jsx(Do,{place:u})]}),a.jsx("span",{className:"min-w-0 flex-1 truncate",children:L2(u)})]})]},u.id))}),c.length===0&&a.jsx("p",{className:"px-2 py-1.5 text-[12px] text-ink-tertiary",children:f("rail.noMatch")})]})}const G8=(e,t)=>t===null?e:e.map(({active:n,...r})=>r.id===t?{...r,active:!0}:r);function wc({chrome:e=!1}){const t=B2(),n=!di(),{capabilities:r}=Q2(),o=ms(),[i,s]=m.useState(!1),[c,l]=m.useState(!1),[u,d]=m.useState(null),[p,h]=m.useState(null),[C,g]=m.useState(null),y=m.useRef(null),x=m.useRef(null),[k,_]=m.useState(null),j=m.useRef(null),N=m.useRef(0),w=I=>{j.current=I,_(I)},v=m.useRef(null);m.useEffect(()=>{v.current&&t.places.find(I=>I.id===v.current)?.active&&(v.current=null)},[t.places]);const A=m.useRef(null);m.useEffect(()=>{if(!i&&!p)return;const I=a1=>{y.current?.contains(a1.target)||s(!1),x.current?.contains(a1.target)||h(null)};return window.addEventListener("mousedown",I),()=>window.removeEventListener("mousedown",I)},[i,p]);const z=k&&k.id!==k.from?t.places.find(I=>I.id===k.id)??null:null,Z=e&&z?.settling===void 0?z:null,V=i||c||u!==null||p!==null||C!==null||Z!==null;if(m.useEffect(()=>{e&&window.ogb?.rail?.expand?.(V)?.catch(()=>{})},[e,V]),!t.places.length)return null;const M=window.ogb?.workspaces,o1=I=>{if(!I.opens){I.pairs&&d(I.name);return}const a1=t.places.find(c1=>c1.active)?.id??null;if(I.id===j.current?.id||I.id===a1&&(v.current===null||v.current===I.id))return;v.current=I.id;const U=++N.current;w({id:I.id,from:a1});const e1=()=>{U===N.current&&w(null)};z1("rail_place_opened",{kind:I.kind}),Promise.resolve(M?.open?.(I.id)).then(c1=>{if(e1(),!!c1)if(c1.outcome==="sign-in")g({adding:c1.email??I.email??"",note:null});else{const g1=Xt(c1);g1&&g({adding:null,note:g1})}},e1)},P=fs(r),T=r.windowChrome!=="native",O=r.windowChrome==="mac-inset"?"h-[52px]":"h-3",$=P?e?o?"h-[37px]":O:"h-[9px]":O,q=T?{WebkitAppRegion:"drag"}:void 0,B=T?{WebkitAppRegion:"no-drag"}:void 0,t1=G8(t.places,k?.id??null),S1=I8(t1),Y=t.add.link||t.add.address,j1=t.add.cloud||Y||t.add.organization===!0||t.add.account===!0||t.add.local===!0,i1=f(t.add.local?"rail.addAny":"rail.add"),k1=({place:I,from:a1})=>{const U=A.current;h({place:I,top:U?Math.max(8,Math.min(R8(a1,U)-6,U.clientHeight-200)):8})};return a.jsxs("nav",{ref:A,"aria-label":f("rail.label"),"data-places-rail":!0,style:q,className:L("relative w-9 shrink-0 flex-col items-center",e?"flex h-full":"hidden md:flex",P?"bg-frame [--rail-surface:var(--color-frame)]":L("border-r bg-panel [--rail-surface:var(--color-panel)]",n?"border-r-[0.5px] border-edge":"border-hairline/50")),children:[a.jsx("div",{"aria-hidden":"true",className:L($,"shrink-0")}),a.jsx("ul",{className:"flex min-h-0 w-full flex-col items-center gap-2 overflow-y-auto py-1",style:B,children:S1.map((I,a1)=>a.jsxs("li",{className:"flex flex-col items-center gap-2",children:[Lo(S1,a1)&&a.jsx("span",{role:"separator","data-rail-divider":!0,className:"h-px w-4 bg-hairline"}),a.jsx(L8,{place:I,canPair:Y,pending:I.id===z?.id,onOpen:o1,onMenu:k1})]},I.id))}),a.jsxs("div",{className:"relative mt-2 flex flex-col items-center gap-2 pb-3",style:B,ref:y,children:[t.places.length>To&&a.jsx("button",{type:"button","aria-label":f("rail.more",{count:t.places.length}),title:f("rail.more",{count:t.places.length}),"aria-haspopup":"dialog","aria-expanded":i,"data-rail-more-button":!0,onClick:()=>s(!i),className:"grid size-6 place-items-center rounded-[8px] text-ink-secondary hover:bg-ink/[0.06] hover:text-ink focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus aria-expanded:bg-ink/[0.06]",children:a.jsx(Ei,{size:13,"aria-hidden":"true"})}),i&&a.jsx(V8,{places:t1,canPair:Y,onOpen:o1,onMenu:k1,onClose:()=>s(!1)}),j1&&a.jsx("button",{type:"button","aria-label":i1,title:i1,"aria-haspopup":"dialog","data-rail-add":!0,onClick:()=>{z1("rail_add",{step:"opened"}),l(!0)},className:"grid size-6 place-items-center rounded-[8px] border border-dashed border-ink/25 text-ink-secondary hover:border-ink/40 hover:bg-ink/[0.04] hover:text-ink focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus",children:a.jsx(G2,{size:13,"aria-hidden":"true"})})]}),p&&a.jsx("div",{ref:x,style:B,children:a.jsx(B8,{place:t.places.find(I=>I.id===p.place.id)??p.place,top:p.top,onClose:()=>h(null)},p.place.id)}),c&&a.jsx(R2,{choices:t.add,places:t.places,onClose:()=>l(!1),onAccount:()=>{l(!1),g({adding:"",note:null})}}),C&&a.jsx(ss,{adding:C.adding,note:C.note,onClose:()=>g(null)}),u!==null&&a.jsx(R2,{choices:t.add,connect:{name:u},onClose:()=>d(null)}),Z&&a.jsxs("div",{role:"status","data-rail-veil":!0,style:q,className:"absolute inset-y-0 left-full z-40 flex w-[calc(100vw-2.25rem)] flex-col items-center justify-center gap-3 bg-panel text-[13px] text-ink-secondary",children:[a.jsx(Ze,{place:Z,size:40}),a.jsx("span",{children:t.switching?.id===Z.id&&t.switching.waking?f("homeScreen.waking"):f("homeScreen.openingNamed",{name:Z.kind==="computer"?h1(Z):Z.name})})]})]})}export{J2 as $,ss as A,Y7 as B,Mi as C,i7 as D,Ei as E,dc as F,Y8 as G,b8 as H,de as I,_s as J,So as K,x1 as L,en as M,wi as N,Si as O,G2 as P,r8 as Q,Y2 as R,Qi as S,Gi as T,ns as U,fs as V,Di as W,Hi as X,Yt as Y,X8 as Z,$e as _,Ri as a,V1 as a$,hs as a0,Z9 as a1,z9 as a2,E9 as a3,C6 as a4,ro as a5,W7 as a6,U7 as a7,P7 as a8,G7 as a9,hc as aA,Cc as aB,yc as aC,Mo as aD,gc as aE,xc as aF,bc as aG,Q7 as aH,cc as aI,uc as aJ,fc as aK,oc as aL,ac as aM,ec as aN,nc as aO,rc as aP,n8 as aQ,Eo as aR,T2 as aS,S9 as aT,S2 as aU,j9 as aV,j2 as aW,_9 as aX,pc as aY,P2 as aZ,ic as a_,R7 as aa,yn as ab,K7 as ac,vi as ad,y9 as ae,v9 as af,L7 as ag,M7 as ah,j7 as ai,Zi as aj,V2 as ak,Oo as al,$8 as am,Ee as an,$9 as ao,q7 as ap,J7 as aq,Q3 as ar,m0 as as,r7 as at,o7 as au,yo as av,jo as aw,sc as ax,Co as ay,mc as az,V7 as b,f9 as b0,l9 as b1,d7 as b2,f7 as b3,w7 as b4,p7 as b5,h7 as b6,y7 as b7,b7 as b8,x7 as b9,ds as bA,c7 as bB,ps as bC,s7 as bD,tc as bE,F7 as bF,B7 as bG,kc as bH,C7 as ba,Ne as bb,v7 as bc,m7 as bd,k7 as be,g7 as bf,Q8 as bg,t7 as bh,e7 as bi,X7 as bj,H7 as bk,a7 as bl,l7 as bm,u7 as bn,Bt as bo,w9 as bp,M9 as bq,p9 as br,Qt as bs,E7 as bt,$7 as bu,z7 as bv,i8 as bw,lc as bx,vc as by,Ze as bz,os as c,Q2 as d,S7 as e,Tt as f,Ui as g,n7 as h,wc as i,b9 as j,K0 as k,O7 as l,A7 as m,_7 as n,N7 as o,T7 as p,I7 as q,q2 as r,Vr as s,x9 as t,ls as u,Z7 as v,H0 as w,js as x,qt as y,w8 as z};