limixbot 0.2.10 → 0.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ActivityPanel-Bvpm94SI.js → ActivityPanel-BHCUppbs.js} +1 -1
- package/dist/assets/{App-l_O0SoTW.js → App-D93hKk8l.js} +9 -9
- package/dist/assets/{AppEventEditor-XelkzaCS.js → AppEventEditor-tGh5VM2Z.js} +1 -1
- package/dist/assets/{BotSettingsDialog-BOSia0Dl.js → BotSettingsDialog-D6Y7Bflm.js} +1 -1
- package/dist/assets/{BrowserPanel-Dt1GcUfa.js → BrowserPanel-k55-4cIw.js} +1 -1
- package/dist/assets/{BrowserProfilesManager-DoftjFgj.js → BrowserProfilesManager-BRZM0q_M.js} +1 -1
- package/dist/assets/{CloudAddDialog-BFuXEtoq.js → CloudAddDialog-BZQDNnKi.js} +1 -1
- package/dist/assets/{ComputerFilesPane-DsPGGwZg.js → ComputerFilesPane-DAQhcfSG.js} +1 -1
- package/dist/assets/{ComputerPanel-CIS2wlkk.js → ComputerPanel-ExjbTj4s.js} +2 -2
- package/dist/assets/{DataPanel-C2rGXLo2.js → DataPanel-DRPDfcrQ.js} +1 -1
- package/dist/assets/{DesktopViewer-DiQCMFTh.js → DesktopViewer-D9jr2w9X.js} +1 -1
- package/dist/assets/{FilesView-CavOcRYg.js → FilesView-CplahKQt.js} +1 -1
- package/dist/assets/{GrokMoveDialog-BdfUUgBw.js → GrokMoveDialog-Cc5o6HuE.js} +1 -1
- package/dist/assets/{InspectorPanel-Cqr4F5c-.js → InspectorPanel-B5iY0Ism.js} +1 -1
- package/dist/assets/{KeyboardShortcutsModal-BbNDxfMR.js → KeyboardShortcutsModal-DhUpWvIZ.js} +1 -1
- package/dist/assets/{LiveDesktop-ByA7q9m-.js → LiveDesktop-DRcJOYg3.js} +1 -1
- package/dist/assets/{LocalVmWorkspace-C7hUHh4F.js → LocalVmWorkspace-CrRyugwl.js} +1 -1
- package/dist/assets/{MacLocalControl-DPUWRa_D.js → MacLocalControl-D2pf75xx.js} +1 -1
- package/dist/assets/{MarkdownFilePreview-KFjj9_pt.js → MarkdownFilePreview-CLYypRvz.js} +1 -1
- package/dist/assets/{MenuMotion-Dao-MHD0.js → MenuMotion-CNjHVOE4.js} +1 -1
- package/dist/assets/{NewBotDialog-DAE6phyl.js → NewBotDialog-CuYIfLJL.js} +1 -1
- package/dist/assets/{PhoneAppDialog-C0Xxzdtc.js → PhoneAppDialog-EKN4JV-B.js} +1 -1
- package/dist/assets/{PlacesRail-CRjMyuI2.js → PlacesRail-eySktVNq.js} +2 -2
- package/dist/assets/{PluginsPanel-pUZhAXjc.js → PluginsPanel-D8Kw3j_E.js} +1 -1
- package/dist/assets/{ProIntroduction-SyZcb5wk.js → ProIntroduction-Dutut6C-.js} +1 -1
- package/dist/assets/{RemoteAgentSettingsPanel-Dj0bKPod.js → RemoteAgentSettingsPanel-BuNfrHcn.js} +1 -1
- package/dist/assets/{RoomPanel-CoFn4Os1.js → RoomPanel-vlOHVr2o.js} +1 -1
- package/dist/assets/{RoutinesPage-DJTaktUm.js → RoutinesPage-Dgl6g38a.js} +1 -1
- package/dist/assets/{SettingsModal-B9z8lpfU.js → SettingsModal-B6mWaU4-.js} +2 -2
- package/dist/assets/{ShareTeamDialog-DtUyfCWF.js → ShareTeamDialog-BNMxpMeG.js} +1 -1
- package/dist/assets/{SignedInSites-CHbpn9OB.js → SignedInSites-rqBhWQLe.js} +1 -1
- package/dist/assets/{TeamLibraryPanel-C_1QuCtX.js → TeamLibraryPanel-pCffPnk4.js} +1 -1
- package/dist/assets/{TeamMapPage-B9mnajv2.js → TeamMapPage-BPNPSuOR.js} +1 -1
- package/dist/assets/{TriggersPage-CNdRJbmW.js → TriggersPage--eDtuNSl.js} +1 -1
- package/dist/assets/{VisibilitySection-CtAuM-r8.js → VisibilitySection-BCqfMHFk.js} +1 -1
- package/dist/assets/{WebhookTrigger-Cloosig_.js → WebhookTrigger-AXmqIpLx.js} +1 -1
- package/dist/assets/{WorksOnGrid-CVqKC9g1.js → WorksOnGrid-IvyvcWBI.js} +1 -1
- package/dist/assets/{abnfDiagram-YUKMZFIV-CBkP-BSK.js → abnfDiagram-YUKMZFIV-CNbBpzNE.js} +1 -1
- package/dist/assets/{activity-DigNyw0O.js → activity-CtCHrNz-.js} +1 -1
- package/dist/assets/{architectureDiagram-47P4ROYG-CruvcvsJ.js → architectureDiagram-47P4ROYG-BZ3BXsFv.js} +1 -1
- package/dist/assets/{blockDiagram-E7TT5TSB-B63DyzaX.js → blockDiagram-E7TT5TSB-9DpYtThS.js} +1 -1
- package/dist/assets/{c4Diagram-CRA5TL53-C_3PpHJM.js → c4Diagram-CRA5TL53-C9ygyYDI.js} +1 -1
- package/dist/assets/{calendar-days-CyuCxX5z.js → calendar-days-7b_rKY9F.js} +1 -1
- package/dist/assets/channel-CkUESPbF.js +1 -0
- package/dist/assets/{chunk-2Q5K7J3B-DELAqst-.js → chunk-2Q5K7J3B-DXA1dGYf.js} +1 -1
- package/dist/assets/{chunk-5VM5RSS4-xPWzVz6f.js → chunk-5VM5RSS4-Cmdn6u6A.js} +1 -1
- package/dist/assets/{chunk-7TKQ45FW-DPkObkBx.js → chunk-7TKQ45FW-C6_3KbD6.js} +1 -1
- package/dist/assets/{chunk-AW2ZBBNX-CNZ6heg3.js → chunk-AW2ZBBNX-DE_9xcGW.js} +1 -1
- package/dist/assets/{chunk-FVRAUYC3-DQ1HgL5V.js → chunk-FVRAUYC3-DeXezLUR.js} +2 -2
- package/dist/assets/{chunk-HTAEGDNF-rfF3xhH-.js → chunk-HTAEGDNF-WoJSboze.js} +1 -1
- package/dist/assets/{chunk-JWPE2WC7-D-w1MaQx.js → chunk-JWPE2WC7-BarwLFEj.js} +1 -1
- package/dist/assets/{chunk-KQW6MTUR-BOdYGC6r.js → chunk-KQW6MTUR-DZV0Hgcq.js} +1 -1
- package/dist/assets/{chunk-XXDRQBXY-DeLsd0YD.js → chunk-XXDRQBXY-XRA7d5ef.js} +1 -1
- package/dist/assets/{classDiagram-v2-K4WV4PDN-Bk4SD_yU.js → classDiagram-v2-K4WV4PDN-BB9-8H0H.js} +1 -1
- package/dist/assets/{coins-BKT_JiVX.js → coins-RZxks5Iq.js} +1 -1
- package/dist/assets/{core-Du2-KW-O.js → core-CNxiO5i6.js} +1 -1
- package/dist/assets/{cose-bilkent-JH36ORCC-CKCxcnFo.js → cose-bilkent-JH36ORCC-DlAty1qX.js} +1 -1
- package/dist/assets/{cynefin-EF2NZ3EQ-Bm8ykwYR.js → cynefin-EF2NZ3EQ-DjVt4mTB.js} +1 -1
- package/dist/assets/{cynefinDiagram-3GCD6N5R-rm0b-j7u.js → cynefinDiagram-3GCD6N5R-BP3mxzbM.js} +1 -1
- package/dist/assets/{dagre-W4DXFKR2-CZTVMRZx.js → dagre-W4DXFKR2-D6R89cka.js} +1 -1
- package/dist/assets/{diagram-2UJZ2QOL-B_9AJMo0.js → diagram-2UJZ2QOL-ED6ZLR9P.js} +1 -1
- package/dist/assets/{diagram-OVF4WLC6-Bc-Qdipc.js → diagram-OVF4WLC6-DS5DPgfj.js} +1 -1
- package/dist/assets/{diagram-PFPMY2P6-5Y9Re5B_.js → diagram-PFPMY2P6-CkwWFUys.js} +1 -1
- package/dist/assets/{diagram-UMYRVEAY-DnhF-EqI.js → diagram-UMYRVEAY-B6_INDe2.js} +1 -1
- package/dist/assets/{diagram-YEKJPTXX-CZxXKfro.js → diagram-YEKJPTXX-Dt30zl92.js} +1 -1
- package/dist/assets/{diagram-ZIFT7M5P-DUJqZ-uV.js → diagram-ZIFT7M5P-BWQrszzW.js} +1 -1
- package/dist/assets/{ebnfDiagram-VR2GEFS7-39Ln_RbH.js → ebnfDiagram-VR2GEFS7-B40bZpn4.js} +1 -1
- package/dist/assets/{elk-IJKZMXRS-B-lqhJ12.js → elk-IJKZMXRS-BOAPURLs.js} +1 -1
- package/dist/assets/{erDiagram-O2IAPWRE-BnaUK8IN.js → erDiagram-O2IAPWRE-DhIN8EFk.js} +1 -1
- package/dist/assets/{file-up-DNhG9NJH.js → file-up-Dg7JsLFP.js} +1 -1
- package/dist/assets/{flowDiagram-OXPTDLAJ-BToXR2Mw.js → flowDiagram-OXPTDLAJ-o61yZ5Jp.js} +1 -1
- package/dist/assets/{ganttDiagram-R7TSEDQI-DRtcIc_1.js → ganttDiagram-R7TSEDQI-DKwTsk_A.js} +1 -1
- package/dist/assets/{gitGraphDiagram-XJZIOB7I-BqNco84N.js → gitGraphDiagram-XJZIOB7I-Dqte4h2a.js} +1 -1
- package/dist/assets/{import-name-Dpw9ffGc.js → import-name-BpcY7eF3.js} +1 -1
- package/dist/assets/{index-ta51KzHq.js → index-CN3qYQZ7.js} +2 -2
- package/dist/assets/{index-NUJD2B9p.js → index-Df4sIScD.js} +1 -1
- package/dist/assets/{index-BQun5WYq.js → index-y3wal1WK.js} +1 -1
- package/dist/assets/{infoDiagram-5W2HQ5XZ-BVqKd6-t.js → infoDiagram-5W2HQ5XZ-CeOhDqP5.js} +1 -1
- package/dist/assets/{ishikawaDiagram-K3B6WC7H-B93SsggN.js → ishikawaDiagram-K3B6WC7H-BLxBG4Ku.js} +1 -1
- package/dist/assets/{journeyDiagram-COXZFDF6-D4uAuvjz.js → journeyDiagram-COXZFDF6-a7-OqFVb.js} +1 -1
- package/dist/assets/{kanban-definition-P3RFRI5V-CD_E9F80.js → kanban-definition-P3RFRI5V-BpqE9wv9.js} +1 -1
- package/dist/assets/{mcp-servers-BlsicIOW.js → mcp-servers-Cb7NFF4i.js} +1 -1
- package/dist/assets/{mermaid.core-DAyICXcr.js → mermaid.core-DCkDS2l6.js} +4 -4
- package/dist/assets/{mindmap-definition-LZFPQGKD-B_36GatV.js → mindmap-definition-LZFPQGKD-CbVxI-Dw.js} +1 -1
- package/dist/assets/{minimize-CRy5CmbJ.js → minimize-BzhEcU2C.js} +1 -1
- package/dist/assets/{monitor-DLOjaeVP.js → monitor-tq9gQZRc.js} +1 -1
- package/dist/assets/{new-bot-BKsNF8dT.js → new-bot-FZ7p0MaB.js} +1 -1
- package/dist/assets/{org-library-DOYA88DK.js → org-library-BurlfP-M.js} +1 -1
- package/dist/assets/{package-format-CX64Cr9h.js → package-format-B2CMS446.js} +1 -1
- package/dist/assets/{pegDiagram-BGZESJAR-B7FuV7X0.js → pegDiagram-BGZESJAR-JzbTYrpF.js} +1 -1
- package/dist/assets/{pieDiagram-CAPJLFHJ-BQBZcFY5.js → pieDiagram-CAPJLFHJ-FJGAn2CJ.js} +1 -1
- package/dist/assets/{quadrantDiagram-GDMTTRAM-Y5wQGSfU.js → quadrantDiagram-GDMTTRAM-BH0XP_4R.js} +1 -1
- package/dist/assets/{rail-D_MJNGjb.js → rail-Cq1USSn9.js} +1 -1
- package/dist/assets/{railroadDiagram-SM67HX2B-C2X7zVuY.js → railroadDiagram-SM67HX2B-DdmOm9v7.js} +1 -1
- package/dist/assets/{remote-desktop-panel-5jCqe8J5.js → remote-desktop-panel-ByjBIDKD.js} +1 -1
- package/dist/assets/{requirementDiagram-X7JNWC4A-BkmRYoO5.js → requirementDiagram-X7JNWC4A-CmHsqVU3.js} +1 -1
- package/dist/assets/{sankeyDiagram-UM26HJRW-Cl8g0NZX.js → sankeyDiagram-UM26HJRW-20UkT1qC.js} +1 -1
- package/dist/assets/{sequenceDiagram-ZO4K6R2Y-Cc26UOue.js → sequenceDiagram-ZO4K6R2Y-DbOCvva9.js} +1 -1
- package/dist/assets/{sizeCapture-INFHLROL-hOlzqxab.js → sizeCapture-INFHLROL-BiRygHwv.js} +1 -1
- package/dist/assets/{stateDiagram-v2-TBUQTH76-DV0u3rMX.js → stateDiagram-v2-TBUQTH76-_b0RTe98.js} +1 -1
- package/dist/assets/{styles-CEi8u2Uw.js → styles-b2tBrp-F.js} +1 -1
- package/dist/assets/{swimlanes-N4OXWK64-DoPALhro.js → swimlanes-N4OXWK64-Cph2675B.js} +1 -1
- package/dist/assets/swimlanesDiagram-K3J5GTZL-DqgQUDUL.js +8 -0
- package/dist/assets/{team-share-BKhOCfz-.js → team-share-BegoEw7-.js} +1 -1
- package/dist/assets/{timeline-definition-YOQAKGHF-DpyL_3nh.js → timeline-definition-YOQAKGHF-2fj61Rzb.js} +1 -1
- package/dist/assets/{usecaseDiagram-VIAY4XPW-BaUhrGVI.js → usecaseDiagram-VIAY4XPW-Cfx3YEF_.js} +1 -1
- package/dist/assets/{vennDiagram-BLWOH2XV-ycFRyc2_.js → vennDiagram-BLWOH2XV-BX_M6eTv.js} +1 -1
- package/dist/assets/{wardleyDiagram-YMQ3BMBF-BQSM0Pl0.js → wardleyDiagram-YMQ3BMBF-BfDn4ghH.js} +1 -1
- package/dist/assets/{xychartDiagram-TAQBALBS-Djubnd96.js → xychartDiagram-TAQBALBS-CqrDBgpf.js} +1 -1
- package/dist/index.html +2 -2
- package/dist/rail.html +4 -4
- package/dist-server/package.json +1 -1
- package/package.json +1 -1
- package/dist/assets/channel-B7uxr5Bj.js +0 -1
- package/dist/assets/swimlanesDiagram-K3J5GTZL-BEg3YODK.js +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as r1,t as f,j as a,E as Ne,aB as se,H as s1,Y as ke,aC as ae,U as Ke,a as L,f as F2,J as qt,Q as Yt,G as Ko,aD as Ho,ag as Vo,r as m,X as B2,a7 as Go,a9 as Jo,ar as U2,a0 as W2,aE as qo,e as Yo,R as $n,aF as Xo,aG as Qo,aH as e5,aI as t5,aJ as n5,ae as r5,aK as o5,aL as i5,D as I1,V as s5,T as a5,aM as ot,O as An,K as c5,aN as l5,L as it,g as K2,aO as u5,aP as wt,aQ as H2,aR as h1,aS as d5,ah as f5,S as p5,a5 as h5,aT as V2,aU as C5,b as m5,aV as g5,aW as b5,aX as y5}from"./styles-CEi8u2Uw.js";import{M as x5}from"./monitor-DLOjaeVP.js";const v5=[["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"}]],k5=r1("audio-lines",v5);const w5=[["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"}]],_5=r1("building-2",w5);const S5=[["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"}]],j5=r1("cloud-upload",S5);const M5=[["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"}]],N5=r1("copy",M5);const E5=[["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"}]],$5=r1("ellipsis",E5);const A5=[["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"}]],Xt=r1("external-link",A5);const Z5=[["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"}]],O5=r1("hard-drive",Z5);const z5=[["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"}]],I5=r1("house",z5);const T5=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],x1=r1("loader-circle",T5);const P5=[["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"}]],G2=r1("lock",P5);const R5=[["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"}]],L5=r1("log-out",R5);const D5=[["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"}]],F5=r1("moon",D5);const B5=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],J2=r1("plus",B5);const U5=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],W5=r1("power",U5);const K5=[["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"}]],q2=r1("server",K5);const H5=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],V5=r1("smartphone",H5);const G5=[["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"}]],J5=r1("timer",G5);const q5=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Qt=r1("user-round",q5),A1=8,Y5=new Set(["sso","two-factor","browser"]);function X5(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 fe(e){return e.replace(/\D/g,"").slice(0,A1)}const Q5=e=>{const t=Math.max(0,Math.ceil(e/1e3));return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`};function ei({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&&Y5.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 O=fe(v);if(O.length>1){d(fe(n.slice(0,w)+O)),x(A,Math.min(A1-1,w+O.length));return}const Z=(n.slice(0,w)+O+n.slice(w+1)).slice(0,A1);d(fe(Z)),O&&w<A1-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<A1-1&&(v.preventDefault(),x(v.currentTarget,w+1))},M=w=>{const v=fe(w.clipboardData.getData("text"));v&&(w.preventDefault(),d(v),x(w.currentTarget,Math.min(A1-1,v.length)))},N=w=>{w.preventDefault(),o||l()};return a.jsxs("div",{"data-cloud-add":`sign-in-${e.step}`,className:Ne,children:[a.jsxs("div",{className:"flex flex-col gap-3",children:[a.jsx(se,{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:ke}),a.jsxs("button",{type:"submit",className:`${ae} 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:Ke,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:A1},(w,v)=>a.jsx("input",{"data-autofocus":v===Math.min(n.length,A1-1)||void 0,value:n[v]??"",inputMode:"numeric",pattern:"[0-9]*",maxLength:A1,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:M,onFocus:A=>A.currentTarget.select(),className:L(ke,"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:Q5(e.resendAt-i)})}):a.jsx("button",{type:"button",className:Ke,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(F2,{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:X5(C,e.step==="code"?e.triesLeft:null)}),g&&a.jsxs("button",{type:"button",className:qt,onClick:h,children:[f("cloudBuy.signIn.continueBrowser"),a.jsx(Xt,{size:14,"aria-hidden":"true"})]}),C==="expired"&&e.step==="code"&&a.jsx("button",{type:"button",className:Yt,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:Ke,onClick:h,children:f("cloudBuy.signIn.continueBrowser")})]})]})}function Xc({code:e,checkout:t,trial:n,busy:r,onReopen:o,onCancel:i}){return a.jsxs("div",{"data-cloud-add":"signing-in",className:Ne,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:Ko,children:[a.jsx("button",{type:"button",className:Yt,disabled:r,onClick:i,children:f("cloudAdd.cancel")}),a.jsxs("button",{type:"button",className:qt,disabled:r||!e,onClick:o,children:[f("cloudAdd.reopenBrowser"),a.jsx(Xt,{size:14,"aria-hidden":"true"})]})]})]})}var Y2=Ho();const Qc=Vo(Y2);let ti=0;const pe=[],_t=m.createContext(null),ni=()=>()=>{};function X2({modal:e=!1,children:t}){const[n]=m.useState(()=>++ti);m.useLayoutEffect(()=>{if(e)return pe.push(n),pe.sort((s,c)=>s-c),()=>{pe.splice(pe.indexOf(n),1)}},[e,n]);const r=m.useContext(_t),o=m.useSyncExternalStore(ni,()=>!1,()=>!0),i=a.jsx(_t.Provider,{value:e?n:r,children:t});return o?i:Y2.createPortal(i,document.body)}function ri(){const e=m.useContext(_t);return m.useCallback(()=>e===null||pe.at(-1)===e,[e])}const oi="a[href], button:not([disabled]), input:not([disabled]), textarea:not([disabled]), select:not([disabled]), [tabindex]";function ii(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(oi)).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 en(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 e6(){const e=window.ogb?.remoteClient?.active?void 0:window.ogb?.accounts,t=window.ogb?.accountSheet,n=window.ogb?.app?.ownPage===!0&&!!e,r=U2(),[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=en(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 t6(e){return f(e&&!e.active?"accounts.signIn":"settings.section.cloudAccount")}function n6({view:e,openSheet:t,noRail:n,signOut:r,add:o}){if(t)return[{key:"accounts-sheet",label:f("accounts.manage"),icon:a.jsx(Qt,{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(F2,{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(J2,{size:18}),onSelect:()=>o()}]:[],{key:"accounts-sign-out",label:f("accounts.signOut"),icon:a.jsx(L5,{size:18}),onSelect:()=>r(i.id)}]:[]}const Zn={step:"email",intent:!1,problem:null};function si({start:e,onDone:t,onBack:n}){const r=window.ogb?.accounts,[o,i]=m.useState(Zn),[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 M=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({...M,problem:N.outcome,triesLeft:N.outcome==="wrong-code"?N.triesLeft:null}))},()=>i({...M,problem:"failed",triesLeft:null})).finally(()=>p(!1))};return m.useEffect(()=>{if(!h||!r)return;const _=()=>{r.addResult().then(M=>{M&&(M.outcome==="switched"?t(null):M.outcome==="added"?t(f("accounts.added",{email:M.email??s})):M.outcome==="already"?t(f("accounts.already",{email:M.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:Ne,children:[a.jsx(s1,{title:f("accounts.browserTitle"),sub:f("accounts.browserBody")}),a.jsx("button",{type:"button",className:Yt,onClick:()=>{r?.addReopen().catch(()=>{})},children:f("accounts.browserOpen")})]}):a.jsx(ei,{phase:o,email:s,code:l,profileEmail:null,busy:d,now:g,onBack:n,onEmail:c,onSend:x,onChangeEmail:()=>{i(Zn),r?.addCancel().catch(()=>{})},onCode:_=>{const M=fe(_);u(M),M.length===8&&!d&&k(M)},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 ai({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=en(g);y?c(y):e()},()=>c(f("accounts.failed")))},p=o?.active??null,h=m.useRef(null);return ii(h,e),a.jsx(X2,{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(Jo,"relative w-full max-w-[420px] outline-none"),children:[a.jsx("button",{type:"button",onClick:e,"aria-label":f("accounts.close"),className:L(Go,"absolute end-4 top-4 z-10"),children:a.jsx(B2,{size:16})}),l!==null?a.jsx(si,{start:l,onBack:()=>t!==null?e():u(null),onDone:C=>{u(null),C?c(C):e()}}):a.jsxs("div",{className:Ne,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:qt,onClick:()=>d(p.id),children:f("accounts.signOut")})]})]})})})}function r6(){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 ge={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 F1=null,St=0;function tn(){const e=typeof window>"u"?void 0:window.ogb?.platform;if(!e)return ge;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"),{...ge,host:{...ge.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 ci(){if(F1)return F1;if(!window.ogb?.getCapabilities)return ge;const e=St;let t;try{t=await window.ogb.getCapabilities()}catch{t=ge}return St!==e&&F1||(F1=t),F1}function o6(){return F1??tn()}function li(e){return St+=1,F1=e,e}function i6(){return typeof window>"u"||window.ogb?.remoteClient?.active?void 0:window.ogb?.approvals}const Q2=m.createContext({capabilities:tn(),ready:typeof window>"u"||!window.ogb});function s6({children:e}){const[t,n]=m.useState(()=>({capabilities:tn(),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:li(c),ready:!0})}),s=o;return ci().then(c=>{r&&o===s&&n({capabilities:c,ready:!0})}),()=>{r=!1,i?.()}},[]),a.jsx(Q2.Provider,{value:t,children:e})}function er(){return m.useContext(Q2)}function ui(){const{capabilities:e}=er();return hi(e.windowChrome)}const On={WebkitAppRegion:"drag"},di={WebkitAppRegion:"no-drag"};function fi(e){return e?.windowChrome==="mac-inset"||e?.windowChrome==="win-caption"}function pi(e){return fi(e)&&e?.windowFrame!==!1}function hi(e){const t=e==="win-caption",n=t||e==="mac-inset";return{windowsCaption:t,draggable:n,dragProps:n?{"data-window-drag":"",style:On}:{},dragStyle:n?On:void 0,noDragStyle:n?di:void 0}}function a6(){const{dragProps:e}=ui();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 Ci(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 we=null,zn=!1;const jt=new Set,st=()=>typeof window>"u"?void 0:window.ogb?.rail;function te(e){we=e;for(const t of jt)t(we)}function mi(){const e=st();zn||!e?.state||(zn=!0,e.onState?.(te),e.state().then(te,()=>te(null)))}function c6(){const[e,t]=m.useState(we);return m.useEffect(()=>(jt.add(t),mi(),t(we),()=>{jt.delete(t)}),[]),e}function gi(){const[e,t]=m.useState(!0);return m.useEffect(()=>st()?.onFramed?.(t),[]),e}function l6(e=!0){st()?.drawsFrame?.(e)?.catch(()=>{})}function u6(e){const t=st(),n=we;!t?.setHidden||!n||(te({...n,hidden:e}),t.setHidden(e).then(te,()=>te(n)))}const nn="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]",d6="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",f6="mx-1.5 h-px shrink-0 bg-hairline/50",p6="px-2 pb-1 pt-2 text-[12px] font-medium leading-4 text-ink-secondary",Ee="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",h6="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",C6="min-w-0 max-w-full truncate text-[12px] leading-4 text-ink-tertiary",m6="flex h-[30px] w-full min-w-0 shrink-0 items-center gap-2 px-2 text-[13px] leading-[18px] touch:h-10",g6="flex size-4 shrink-0 items-center justify-center",b6="min-w-0 max-w-[45%] shrink truncate text-[12px] leading-4 text-ink-tertiary",y6="flex h-6 shrink-0 items-end gap-2 px-2 pb-0.5 text-[12px] font-medium leading-4 text-ink-tertiary",x6="mx-2 my-[5px] h-[0.5px] shrink-0 bg-ink/10",v6="px-2 py-1 text-[12px] leading-4 text-ink-tertiary",k6="shrink-0 text-ink-secondary",w6="shrink-0 text-ink-tertiary rtl:-scale-x-100",_6=1.75,bi=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"}),rn=40,tr={blue:"blue",green:"teal",amber:"yellow",rose:"red",violet:"purple",slate:null};function at(e){const t=tr[e];return t?W2(t):"var(--color-raised)"}const Mt={blue:"cloudBuy.color.blue",green:"cloudBuy.color.teal",amber:"cloudBuy.color.yellow",rose:"cloudBuy.color.red",violet:"cloudBuy.color.purple",slate:"cloudBuy.color.slate"},B1=Object.keys(Mt),nr="blue";function yi(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>=qo};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 xi(e){return e==="signups_closed"||e==="checkout_open"||e==="rate"?e:"one"}const vi=1200,ki=3e3;function wi(e){return new Promise(t=>{let n=!1;const r=i=>{n||(n=!0,clearTimeout(o),t(i))},o=setTimeout(()=>r(!1),ki);try{if(!navigator.clipboard?.writeText)return r(!1);Promise.resolve(navigator.clipboard.writeText(e)).then(()=>r(!0),()=>r(!1))}catch{r(!1)}})}function _i(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 Si(e){if(!e.trim())return"empty";if(await wi(e))return"copied";try{if(typeof window<"u"&&await window.ogb?.copyText?.(e)===!0)return"copied"}catch{}return _i(e)?"copied":"failed"}function ji({copy:e,onChange:t,resetMs:n=vi,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 Mi(e){const[t,n]=m.useState("idle"),r=m.useRef(null);m.useEffect(()=>{const i=ji({copy:Si,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 Ni={panel:"ring-offset-panel",card:"ring-offset-card",menu:"ring-offset-menu"};function $e({value:e,onChange:t,label:n,disabled:r=!1,offset:o="panel",none:i=!1}){const s=e??B1[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:B1.map(l=>a.jsx("button",{type:"button",role:"radio","aria-checked":l===e,"aria-label":f(c(l)?"placeLook.none":Mt[l]),title:f(c(l)?"placeLook.none":Mt[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=B1[(B1.indexOf(l)+d+B1.length)%B1.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",Ni[o]),r&&l!==e&&"opacity-50"),style:c(l)?void 0:{background:at(l)},children:c(l)&&a.jsx("span",{"aria-hidden":"true",className:"h-[1.5px] w-[60%] -rotate-45 rounded-full bg-current"})},l))})}function Nt(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 In(e,t="|"){return e.map(n=>ar(n)).join(t)}function Et(e,t){return typeof t=="bigint"?t.toString():t}class Ei{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 ct(e){return new Ei(e)}function $i(e){return e==null}function on(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function Ai(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 R1(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function sn(e){const t=Object.getOwnPropertyDescriptor(e,"shape");return t?.get?t.get.raw:t?.value}function T1(e){return sn(e._zod.def)??e._zod.def.shape}function rr(e,t,n){Object.defineProperty(e,t,{get(){const r=n();return R1(this,t,r),r},enumerable:!0,configurable:!0})}function or(e,t,n){t in e?R1(e,t,n):e[t]=n}function q1(e,t,n,r){const o=T1(t);for(const i of n){const s=Object.getOwnPropertyDescriptor(o,i);s.enumerable&&(s.get?rr(e,i,()=>{const c=t._zod.def.shape[i];return r?r(c,i):c}):or(e,i,r?r(s.value,i):s.value))}}function Zi(e,t){for(const n of Reflect.ownKeys(t)){const r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?rr(e,n,()=>t[n]):or(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 Oi(e){return JSON.stringify(e)}function zi(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const ir="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function _e(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Ii=ct(()=>{if(v1.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function ne(e){if(_e(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(_e(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function sr(e){return ne(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const Ti=new Set(["string","number","symbol"]);function re(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function K1(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 ar(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Pi(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}const cr={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]},Ri={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Li(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 q1(i,e,lt(e,t)),K1(e,p1(n,{shape:i,checks:[]}))}function lt(e,t){const n=T1(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 Di(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(lt(e,t)),s={};return q1(s,e,Reflect.ownKeys(T1(e)).filter(c=>!i.has(c))),K1(e,p1(n,{shape:s,checks:[]}))}function Fi(e,t){if(!ne(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=T1(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 K1(e,p1(e._zod.def,{shape:lr(e,t)}))}function lr(e,t){const n={};return q1(n,e,Reflect.ownKeys(T1(e))),Zi(n,t),n}function Bi(e,t){if(!ne(t))throw new Error("Invalid input to safeExtend: expected a plain object");return K1(e,p1(e._zod.def,{shape:lr(e,t)}))}function Ui(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={};q1(n,e,Reflect.ownKeys(T1(e))),q1(n,t,Reflect.ownKeys(T1(t)));const r=p1(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return K1(e,r)}function Tn(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(lt(t,n)):void 0,l={};return q1(l,t,Reflect.ownKeys(T1(t)),e&&((u,d)=>c&&!c.has(d)?u:new e({type:"optional",innerType:u}))),K1(t,p1(t._zod.def,{shape:l,checks:[]}))}function Wi(e,t,n){const r=n?new Set(lt(t,n)):void 0,o={};return q1(o,t,Reflect.ownKeys(T1(t)),(i,s)=>r&&!r.has(s)?i:new e({type:"nonoptional",innerType:i})),K1(t,p1(t._zod.def,{shape:o}))}function O1(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 Ki(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 ee(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function ue(e){return typeof e=="string"?e:e?.message}function Pn(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 $t(e,t,n){var r;for(let o=t;o<e.length;o++)(r=e[o]).schema??(r.schema=n)}function U1(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:ue(e.inst?._zod.def?.error?.(e))??ue(i?.(e))??ue(t?.error?.(e))??ue(n.customError?.(e))??ue(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 Hi=/[\uD800-\uDBFF]/;function an(e){const t=e.length;if(!Hi.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 cn(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Vi(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 Se(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}function Gi(e,t){for(const n in t){const r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):Ji(e,n,r.value)}}function W1(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function ur(e,t,n){return W1(e,t,n,!1)}function dr(e,t){for(const n in e){const r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return W1(this,n,r(this))},set(o){W1(this,n,o)}})}return t}function Ji(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:W1(this,t,n.bind(this))},set(r){W1(this,t,r)}})}function qi(e,t){const n=Object.getPrototypeOf(e);return t in n?void 0:n}let ht,D1=!1;const Yi={configurable:!0,get(){D1=!0}};function R(e,t,n){const r=Object.getPrototypeOf(e._zod);if(t in r&&ht!==e._zod){ht=void 0;return}ht=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,Yi);const o=D1;D1=!1;try{const i=n(this);return D1?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),D1=D1||o,i}catch(i){throw delete this[t],D1=D1||o,i}},set(o){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:o})}})}function Xi(e,t,n,r){const o=qi(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 Qi="~constantCatch";function es(e){const t=()=>e;return t[Qi]=!0,t}var Rn;const Ct={value:void 0,enumerable:!1};let Ln="captureStackTrace"in Error?Error:null;function ts(e){const t=Ln;if(t){const n=t.stackTraceLimit;if(typeof n=="number"){try{t.stackTraceLimit=0}catch{return Ln=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{Ct.value=new i(C);try{Object.defineProperty(h,"_zod",Ct)}finally{Ct.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(_),Gi(_,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?ts(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 J1 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class fr extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(Rn=globalThis).__zod_globalConfig??(Rn.__zod_globalConfig={});const v1=globalThis.__zod_globalConfig;function S1(e){return e&&Object.assign(v1,e),v1}function ns(){const e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Et,2)),e.message}function rs(e){this._zod.message=e}const os={get:ns,set:rs,enumerable:!0,configurable:!0},mt={value:void 0,enumerable:!1},Dn=new WeakSet([Object.prototype,Error.prototype]),is=(e,t)=>{e.name="$ZodError",mt.value=t,Object.defineProperty(e,"issues",mt),mt.value=void 0,Object.defineProperty(e,"message",os);const n=Object.getPrototypeOf(e);Dn.has(n)||(Dn.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})}}))},ss=b("$ZodError",is);function as(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 cs(e,t=n=>n.message){const n={},r=[];for(const o of e.issues)o.path.length>0?as(n,o.path[0],()=>[]).push(t(o)):r.push(t(o));return{formErrors:r,fieldErrors:n}}function ls(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 ut(e,t){return{callee:t?.callee??e,Err:t?.Err}}const ln=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 J1;if(c.issues.length){const l=new(i?.Err??e)(c.issues.map(u=>U1(u,s,S1())));throw ir(l,i?.callee??t),l}return c.value};return t},un=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=>U1(u,s,S1())));throw ir(l,i?.callee??t),l}return c.value};return t},dn=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 J1;return i.issues.length?pr(e,i.issues,o):{success:!0,data:i.value}};function pr(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(o=>U1(o,n,S1()))),t=void 0,n=void 0),r},set error(o){r=o,t=void 0,n=void 0}}}const fn=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?pr(e,i.issues,o):{success:!0,data:i.value}},us=Symbol.for("zod.compile.invalid"),ds=Symbol.for("zod.compile.fallback"),fs=((e,t,n)=>{const r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==us)return!0;if(r.definite===!0&&n===void 0)return!1}return ps(e,t,n)});function ps(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[ds]=!0,i=o({value:t,issues:[]},r)):i=e._zod.run({value:t,issues:[]},r),i instanceof Promise)throw new J1;return i.issues.length===0}const hs=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},Cs=e=>{const t=ln(e),n=(r,o,i,s)=>{const c=i?{...i,direction:"backward"}:{direction:"backward"};return t(r,o,c,ut(n,s))};return n},ms=e=>{const t=ln(e),n=(r,o,i,s)=>t(r,o,i,ut(n,s));return n},gs=e=>{const t=un(e),n=async(r,o,i,s)=>{const c=i?{...i,direction:"backward"}:{direction:"backward"};return await t(r,o,c,ut(n,s))};return n},bs=e=>{const t=un(e),n=async(r,o,i,s)=>await t(r,o,i,ut(n,s));return n},ys=e=>(t,n,r)=>{const o=r?{...r,direction:"backward"}:{direction:"backward"};return dn(e)(t,n,o)},xs=e=>(t,n,r)=>dn(e)(t,n,r),vs=e=>async(t,n,r)=>{const o=r?{...r,direction:"backward"}:{direction:"backward"};return fn(e)(t,n,o)},ks=e=>async(t,n,r)=>fn(e)(t,n,r),ws=/^[cC][0-9a-z]{6,}$/,_s=/^[0-9a-z]+$/,Ss=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,js=/^[0-9a-vA-V]{20}$/,Ms=/^[A-Za-z0-9]{27}$/,Ns=/^[a-zA-Z0-9_-]{21}$/;function Es(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}const $s=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,As=/^([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})$/,Fn=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)$/,Zs=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Os="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function zs(){return new RegExp(Os,"u")}const Is=/^(?:(?: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])$/,Ts=/^(([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}|:))$/,Ps=/^((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])$/,Rs=/^(([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])$/,Ls=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Ds=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,Fs=/^https?$/,Bs=/^\+[1-9]\d{6,14}$/,hr="(?:(?:\\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 Us(e){return new RegExp(`^${e}$`)}const Ws=Us(hr);function At(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 Ks(e){return new RegExp(`^${At(e)}$`)}function Hs(e){const t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${At({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,r=e.local?`${n}|${At({precision:e.precision})}`:n;return new RegExp(`^${hr}T(?:${r})$`)}const Vs=/^[\s\S]{0,}$/,Gs=/^-?\d+$/,pn=/^-?\d+(?:\.\d+)?$/,Js=/^(?:true|false)$/i,qs=/^null$/i,Ys=/^undefined$/i,Xs=/^[^A-Z]*$/,Qs=/^[^a-z]*$/,d1=b("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),hn=e=>{const t=e.value;return!$i(t)&&t.length!==void 0},Je={number:"number",bigint:"bigint",object:"date"},Cr=b("$ZodCheckLessThan",(e,t)=>{d1.init(e,t);const n=Je[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:Je[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})}}),mr=b("$ZodCheckGreaterThan",(e,t)=>{d1.init(e,t);const n=Je[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:Je[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})}}),ea=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):Ai(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})}}),ta=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]=cr[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})}}),na=b("$ZodCheckMaxLength",(e,t)=>{var n;d1.init(e,t),(n=e._zod.def).when??(n.when=hn),e._zod.check=r=>{const o=r.value,i=o.length;if((typeof o=="string"&&i>t.maximum?an(o):i)<=t.maximum)return;const c=cn(o);r.issues.push({origin:c,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ra=b("$ZodCheckMinLength",(e,t)=>{var n;d1.init(e,t),(n=e._zod.def).when??(n.when=hn),e._zod.check=r=>{const o=r.value,i=o.length;if((typeof o=="string"&&i>=t.minimum&&i<t.minimum*2?an(o):i)>=t.minimum)return;const c=cn(o);r.issues.push({origin:c,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),oa=b("$ZodCheckLengthEquals",(e,t)=>{var n;d1.init(e,t),(n=e._zod.def).when??(n.when=hn),e._zod.check=r=>{const o=r.value,i=o.length,s=typeof o=="string"&&i>=t.length&&i<=t.length*2?an(o):i;if(s===t.length)return;const c=cn(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})}}),dt=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=()=>{})}),ia=b("$ZodCheckRegex",(e,t)=>{dt.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})}}),sa=b("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Xs),dt.init(e,t)}),aa=b("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Qs),dt.init(e,t)}),ca=b("$ZodCheckIncludes",(e,t)=>{d1.init(e,t);const n=re(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})}}),la=b("$ZodCheckStartsWith",(e,t)=>{d1.init(e,t);const n=new RegExp(`^${re(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})}}),ua=b("$ZodCheckEndsWith",(e,t)=>{d1.init(e,t);const n=new RegExp(`.*${re(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})}}),da=b("$ZodCheckOverwrite",(e,t)=>{d1.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class fa{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(`
|
|
1
|
+
import{c as r1,t as f,j as a,E as Ne,aB as se,H as s1,Y as ke,aC as ae,U as Ke,a as L,f as F2,J as qt,Q as Yt,G as Ko,aD as Ho,ag as Vo,r as m,X as B2,a7 as Go,a9 as Jo,ar as U2,a0 as W2,aE as qo,e as Yo,R as $n,aF as Xo,aG as Qo,aH as e5,aI as t5,aJ as n5,ae as r5,aK as o5,aL as i5,D as I1,V as s5,T as a5,aM as ot,O as An,K as c5,aN as l5,L as it,g as K2,aO as u5,aP as wt,aQ as H2,aR as h1,aS as d5,ah as f5,S as p5,a5 as h5,aT as V2,aU as C5,b as m5,aV as g5,aW as b5,aX as y5}from"./styles-b2tBrp-F.js";import{M as x5}from"./monitor-tq9gQZRc.js";const v5=[["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"}]],k5=r1("audio-lines",v5);const w5=[["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"}]],_5=r1("building-2",w5);const S5=[["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"}]],j5=r1("cloud-upload",S5);const M5=[["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"}]],N5=r1("copy",M5);const E5=[["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"}]],$5=r1("ellipsis",E5);const A5=[["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"}]],Xt=r1("external-link",A5);const Z5=[["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"}]],O5=r1("hard-drive",Z5);const z5=[["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"}]],I5=r1("house",z5);const T5=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],x1=r1("loader-circle",T5);const P5=[["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"}]],G2=r1("lock",P5);const R5=[["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"}]],L5=r1("log-out",R5);const D5=[["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"}]],F5=r1("moon",D5);const B5=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],J2=r1("plus",B5);const U5=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],W5=r1("power",U5);const K5=[["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"}]],q2=r1("server",K5);const H5=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],V5=r1("smartphone",H5);const G5=[["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"}]],J5=r1("timer",G5);const q5=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Qt=r1("user-round",q5),A1=8,Y5=new Set(["sso","two-factor","browser"]);function X5(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 fe(e){return e.replace(/\D/g,"").slice(0,A1)}const Q5=e=>{const t=Math.max(0,Math.ceil(e/1e3));return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`};function ei({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&&Y5.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 O=fe(v);if(O.length>1){d(fe(n.slice(0,w)+O)),x(A,Math.min(A1-1,w+O.length));return}const Z=(n.slice(0,w)+O+n.slice(w+1)).slice(0,A1);d(fe(Z)),O&&w<A1-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<A1-1&&(v.preventDefault(),x(v.currentTarget,w+1))},M=w=>{const v=fe(w.clipboardData.getData("text"));v&&(w.preventDefault(),d(v),x(w.currentTarget,Math.min(A1-1,v.length)))},N=w=>{w.preventDefault(),o||l()};return a.jsxs("div",{"data-cloud-add":`sign-in-${e.step}`,className:Ne,children:[a.jsxs("div",{className:"flex flex-col gap-3",children:[a.jsx(se,{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:ke}),a.jsxs("button",{type:"submit",className:`${ae} 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:Ke,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:A1},(w,v)=>a.jsx("input",{"data-autofocus":v===Math.min(n.length,A1-1)||void 0,value:n[v]??"",inputMode:"numeric",pattern:"[0-9]*",maxLength:A1,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:M,onFocus:A=>A.currentTarget.select(),className:L(ke,"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:Q5(e.resendAt-i)})}):a.jsx("button",{type:"button",className:Ke,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(F2,{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:X5(C,e.step==="code"?e.triesLeft:null)}),g&&a.jsxs("button",{type:"button",className:qt,onClick:h,children:[f("cloudBuy.signIn.continueBrowser"),a.jsx(Xt,{size:14,"aria-hidden":"true"})]}),C==="expired"&&e.step==="code"&&a.jsx("button",{type:"button",className:Yt,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:Ke,onClick:h,children:f("cloudBuy.signIn.continueBrowser")})]})]})}function Xc({code:e,checkout:t,trial:n,busy:r,onReopen:o,onCancel:i}){return a.jsxs("div",{"data-cloud-add":"signing-in",className:Ne,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:Ko,children:[a.jsx("button",{type:"button",className:Yt,disabled:r,onClick:i,children:f("cloudAdd.cancel")}),a.jsxs("button",{type:"button",className:qt,disabled:r||!e,onClick:o,children:[f("cloudAdd.reopenBrowser"),a.jsx(Xt,{size:14,"aria-hidden":"true"})]})]})]})}var Y2=Ho();const Qc=Vo(Y2);let ti=0;const pe=[],_t=m.createContext(null),ni=()=>()=>{};function X2({modal:e=!1,children:t}){const[n]=m.useState(()=>++ti);m.useLayoutEffect(()=>{if(e)return pe.push(n),pe.sort((s,c)=>s-c),()=>{pe.splice(pe.indexOf(n),1)}},[e,n]);const r=m.useContext(_t),o=m.useSyncExternalStore(ni,()=>!1,()=>!0),i=a.jsx(_t.Provider,{value:e?n:r,children:t});return o?i:Y2.createPortal(i,document.body)}function ri(){const e=m.useContext(_t);return m.useCallback(()=>e===null||pe.at(-1)===e,[e])}const oi="a[href], button:not([disabled]), input:not([disabled]), textarea:not([disabled]), select:not([disabled]), [tabindex]";function ii(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(oi)).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 en(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 e6(){const e=window.ogb?.remoteClient?.active?void 0:window.ogb?.accounts,t=window.ogb?.accountSheet,n=window.ogb?.app?.ownPage===!0&&!!e,r=U2(),[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=en(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 t6(e){return f(e&&!e.active?"accounts.signIn":"settings.section.cloudAccount")}function n6({view:e,openSheet:t,noRail:n,signOut:r,add:o}){if(t)return[{key:"accounts-sheet",label:f("accounts.manage"),icon:a.jsx(Qt,{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(F2,{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(J2,{size:18}),onSelect:()=>o()}]:[],{key:"accounts-sign-out",label:f("accounts.signOut"),icon:a.jsx(L5,{size:18}),onSelect:()=>r(i.id)}]:[]}const Zn={step:"email",intent:!1,problem:null};function si({start:e,onDone:t,onBack:n}){const r=window.ogb?.accounts,[o,i]=m.useState(Zn),[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 M=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({...M,problem:N.outcome,triesLeft:N.outcome==="wrong-code"?N.triesLeft:null}))},()=>i({...M,problem:"failed",triesLeft:null})).finally(()=>p(!1))};return m.useEffect(()=>{if(!h||!r)return;const _=()=>{r.addResult().then(M=>{M&&(M.outcome==="switched"?t(null):M.outcome==="added"?t(f("accounts.added",{email:M.email??s})):M.outcome==="already"?t(f("accounts.already",{email:M.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:Ne,children:[a.jsx(s1,{title:f("accounts.browserTitle"),sub:f("accounts.browserBody")}),a.jsx("button",{type:"button",className:Yt,onClick:()=>{r?.addReopen().catch(()=>{})},children:f("accounts.browserOpen")})]}):a.jsx(ei,{phase:o,email:s,code:l,profileEmail:null,busy:d,now:g,onBack:n,onEmail:c,onSend:x,onChangeEmail:()=>{i(Zn),r?.addCancel().catch(()=>{})},onCode:_=>{const M=fe(_);u(M),M.length===8&&!d&&k(M)},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 ai({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=en(g);y?c(y):e()},()=>c(f("accounts.failed")))},p=o?.active??null,h=m.useRef(null);return ii(h,e),a.jsx(X2,{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(Jo,"relative w-full max-w-[420px] outline-none"),children:[a.jsx("button",{type:"button",onClick:e,"aria-label":f("accounts.close"),className:L(Go,"absolute end-4 top-4 z-10"),children:a.jsx(B2,{size:16})}),l!==null?a.jsx(si,{start:l,onBack:()=>t!==null?e():u(null),onDone:C=>{u(null),C?c(C):e()}}):a.jsxs("div",{className:Ne,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:qt,onClick:()=>d(p.id),children:f("accounts.signOut")})]})]})})})}function r6(){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 ge={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 F1=null,St=0;function tn(){const e=typeof window>"u"?void 0:window.ogb?.platform;if(!e)return ge;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"),{...ge,host:{...ge.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 ci(){if(F1)return F1;if(!window.ogb?.getCapabilities)return ge;const e=St;let t;try{t=await window.ogb.getCapabilities()}catch{t=ge}return St!==e&&F1||(F1=t),F1}function o6(){return F1??tn()}function li(e){return St+=1,F1=e,e}function i6(){return typeof window>"u"||window.ogb?.remoteClient?.active?void 0:window.ogb?.approvals}const Q2=m.createContext({capabilities:tn(),ready:typeof window>"u"||!window.ogb});function s6({children:e}){const[t,n]=m.useState(()=>({capabilities:tn(),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:li(c),ready:!0})}),s=o;return ci().then(c=>{r&&o===s&&n({capabilities:c,ready:!0})}),()=>{r=!1,i?.()}},[]),a.jsx(Q2.Provider,{value:t,children:e})}function er(){return m.useContext(Q2)}function ui(){const{capabilities:e}=er();return hi(e.windowChrome)}const On={WebkitAppRegion:"drag"},di={WebkitAppRegion:"no-drag"};function fi(e){return e?.windowChrome==="mac-inset"||e?.windowChrome==="win-caption"}function pi(e){return fi(e)&&e?.windowFrame!==!1}function hi(e){const t=e==="win-caption",n=t||e==="mac-inset";return{windowsCaption:t,draggable:n,dragProps:n?{"data-window-drag":"",style:On}:{},dragStyle:n?On:void 0,noDragStyle:n?di:void 0}}function a6(){const{dragProps:e}=ui();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 Ci(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 we=null,zn=!1;const jt=new Set,st=()=>typeof window>"u"?void 0:window.ogb?.rail;function te(e){we=e;for(const t of jt)t(we)}function mi(){const e=st();zn||!e?.state||(zn=!0,e.onState?.(te),e.state().then(te,()=>te(null)))}function c6(){const[e,t]=m.useState(we);return m.useEffect(()=>(jt.add(t),mi(),t(we),()=>{jt.delete(t)}),[]),e}function gi(){const[e,t]=m.useState(!0);return m.useEffect(()=>st()?.onFramed?.(t),[]),e}function l6(e=!0){st()?.drawsFrame?.(e)?.catch(()=>{})}function u6(e){const t=st(),n=we;!t?.setHidden||!n||(te({...n,hidden:e}),t.setHidden(e).then(te,()=>te(n)))}const nn="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]",d6="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",f6="mx-1.5 h-px shrink-0 bg-hairline/50",p6="px-2 pb-1 pt-2 text-[12px] font-medium leading-4 text-ink-secondary",Ee="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",h6="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",C6="min-w-0 max-w-full truncate text-[12px] leading-4 text-ink-tertiary",m6="flex h-[30px] w-full min-w-0 shrink-0 items-center gap-2 px-2 text-[13px] leading-[18px] touch:h-10",g6="flex size-4 shrink-0 items-center justify-center",b6="min-w-0 max-w-[45%] shrink truncate text-[12px] leading-4 text-ink-tertiary",y6="flex h-6 shrink-0 items-end gap-2 px-2 pb-0.5 text-[12px] font-medium leading-4 text-ink-tertiary",x6="mx-2 my-[5px] h-[0.5px] shrink-0 bg-ink/10",v6="px-2 py-1 text-[12px] leading-4 text-ink-tertiary",k6="shrink-0 text-ink-secondary",w6="shrink-0 text-ink-tertiary rtl:-scale-x-100",_6=1.75,bi=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"}),rn=40,tr={blue:"blue",green:"teal",amber:"yellow",rose:"red",violet:"purple",slate:null};function at(e){const t=tr[e];return t?W2(t):"var(--color-raised)"}const Mt={blue:"cloudBuy.color.blue",green:"cloudBuy.color.teal",amber:"cloudBuy.color.yellow",rose:"cloudBuy.color.red",violet:"cloudBuy.color.purple",slate:"cloudBuy.color.slate"},B1=Object.keys(Mt),nr="blue";function yi(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>=qo};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 xi(e){return e==="signups_closed"||e==="checkout_open"||e==="rate"?e:"one"}const vi=1200,ki=3e3;function wi(e){return new Promise(t=>{let n=!1;const r=i=>{n||(n=!0,clearTimeout(o),t(i))},o=setTimeout(()=>r(!1),ki);try{if(!navigator.clipboard?.writeText)return r(!1);Promise.resolve(navigator.clipboard.writeText(e)).then(()=>r(!0),()=>r(!1))}catch{r(!1)}})}function _i(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 Si(e){if(!e.trim())return"empty";if(await wi(e))return"copied";try{if(typeof window<"u"&&await window.ogb?.copyText?.(e)===!0)return"copied"}catch{}return _i(e)?"copied":"failed"}function ji({copy:e,onChange:t,resetMs:n=vi,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 Mi(e){const[t,n]=m.useState("idle"),r=m.useRef(null);m.useEffect(()=>{const i=ji({copy:Si,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 Ni={panel:"ring-offset-panel",card:"ring-offset-card",menu:"ring-offset-menu"};function $e({value:e,onChange:t,label:n,disabled:r=!1,offset:o="panel",none:i=!1}){const s=e??B1[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:B1.map(l=>a.jsx("button",{type:"button",role:"radio","aria-checked":l===e,"aria-label":f(c(l)?"placeLook.none":Mt[l]),title:f(c(l)?"placeLook.none":Mt[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=B1[(B1.indexOf(l)+d+B1.length)%B1.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",Ni[o]),r&&l!==e&&"opacity-50"),style:c(l)?void 0:{background:at(l)},children:c(l)&&a.jsx("span",{"aria-hidden":"true",className:"h-[1.5px] w-[60%] -rotate-45 rounded-full bg-current"})},l))})}function Nt(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 In(e,t="|"){return e.map(n=>ar(n)).join(t)}function Et(e,t){return typeof t=="bigint"?t.toString():t}class Ei{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 ct(e){return new Ei(e)}function $i(e){return e==null}function on(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function Ai(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 R1(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function sn(e){const t=Object.getOwnPropertyDescriptor(e,"shape");return t?.get?t.get.raw:t?.value}function T1(e){return sn(e._zod.def)??e._zod.def.shape}function rr(e,t,n){Object.defineProperty(e,t,{get(){const r=n();return R1(this,t,r),r},enumerable:!0,configurable:!0})}function or(e,t,n){t in e?R1(e,t,n):e[t]=n}function q1(e,t,n,r){const o=T1(t);for(const i of n){const s=Object.getOwnPropertyDescriptor(o,i);s.enumerable&&(s.get?rr(e,i,()=>{const c=t._zod.def.shape[i];return r?r(c,i):c}):or(e,i,r?r(s.value,i):s.value))}}function Zi(e,t){for(const n of Reflect.ownKeys(t)){const r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?rr(e,n,()=>t[n]):or(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 Oi(e){return JSON.stringify(e)}function zi(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const ir="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function _e(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Ii=ct(()=>{if(v1.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function ne(e){if(_e(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(_e(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function sr(e){return ne(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const Ti=new Set(["string","number","symbol"]);function re(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function K1(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 ar(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Pi(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}const cr={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]},Ri={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Li(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 q1(i,e,lt(e,t)),K1(e,p1(n,{shape:i,checks:[]}))}function lt(e,t){const n=T1(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 Di(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(lt(e,t)),s={};return q1(s,e,Reflect.ownKeys(T1(e)).filter(c=>!i.has(c))),K1(e,p1(n,{shape:s,checks:[]}))}function Fi(e,t){if(!ne(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=T1(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 K1(e,p1(e._zod.def,{shape:lr(e,t)}))}function lr(e,t){const n={};return q1(n,e,Reflect.ownKeys(T1(e))),Zi(n,t),n}function Bi(e,t){if(!ne(t))throw new Error("Invalid input to safeExtend: expected a plain object");return K1(e,p1(e._zod.def,{shape:lr(e,t)}))}function Ui(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={};q1(n,e,Reflect.ownKeys(T1(e))),q1(n,t,Reflect.ownKeys(T1(t)));const r=p1(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return K1(e,r)}function Tn(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(lt(t,n)):void 0,l={};return q1(l,t,Reflect.ownKeys(T1(t)),e&&((u,d)=>c&&!c.has(d)?u:new e({type:"optional",innerType:u}))),K1(t,p1(t._zod.def,{shape:l,checks:[]}))}function Wi(e,t,n){const r=n?new Set(lt(t,n)):void 0,o={};return q1(o,t,Reflect.ownKeys(T1(t)),(i,s)=>r&&!r.has(s)?i:new e({type:"nonoptional",innerType:i})),K1(t,p1(t._zod.def,{shape:o}))}function O1(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 Ki(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 ee(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function ue(e){return typeof e=="string"?e:e?.message}function Pn(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 $t(e,t,n){var r;for(let o=t;o<e.length;o++)(r=e[o]).schema??(r.schema=n)}function U1(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:ue(e.inst?._zod.def?.error?.(e))??ue(i?.(e))??ue(t?.error?.(e))??ue(n.customError?.(e))??ue(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 Hi=/[\uD800-\uDBFF]/;function an(e){const t=e.length;if(!Hi.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 cn(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Vi(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 Se(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}function Gi(e,t){for(const n in t){const r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):Ji(e,n,r.value)}}function W1(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function ur(e,t,n){return W1(e,t,n,!1)}function dr(e,t){for(const n in e){const r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return W1(this,n,r(this))},set(o){W1(this,n,o)}})}return t}function Ji(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:W1(this,t,n.bind(this))},set(r){W1(this,t,r)}})}function qi(e,t){const n=Object.getPrototypeOf(e);return t in n?void 0:n}let ht,D1=!1;const Yi={configurable:!0,get(){D1=!0}};function R(e,t,n){const r=Object.getPrototypeOf(e._zod);if(t in r&&ht!==e._zod){ht=void 0;return}ht=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,Yi);const o=D1;D1=!1;try{const i=n(this);return D1?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),D1=D1||o,i}catch(i){throw delete this[t],D1=D1||o,i}},set(o){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:o})}})}function Xi(e,t,n,r){const o=qi(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 Qi="~constantCatch";function es(e){const t=()=>e;return t[Qi]=!0,t}var Rn;const Ct={value:void 0,enumerable:!1};let Ln="captureStackTrace"in Error?Error:null;function ts(e){const t=Ln;if(t){const n=t.stackTraceLimit;if(typeof n=="number"){try{t.stackTraceLimit=0}catch{return Ln=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{Ct.value=new i(C);try{Object.defineProperty(h,"_zod",Ct)}finally{Ct.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(_),Gi(_,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?ts(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 J1 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class fr extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(Rn=globalThis).__zod_globalConfig??(Rn.__zod_globalConfig={});const v1=globalThis.__zod_globalConfig;function S1(e){return e&&Object.assign(v1,e),v1}function ns(){const e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Et,2)),e.message}function rs(e){this._zod.message=e}const os={get:ns,set:rs,enumerable:!0,configurable:!0},mt={value:void 0,enumerable:!1},Dn=new WeakSet([Object.prototype,Error.prototype]),is=(e,t)=>{e.name="$ZodError",mt.value=t,Object.defineProperty(e,"issues",mt),mt.value=void 0,Object.defineProperty(e,"message",os);const n=Object.getPrototypeOf(e);Dn.has(n)||(Dn.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})}}))},ss=b("$ZodError",is);function as(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 cs(e,t=n=>n.message){const n={},r=[];for(const o of e.issues)o.path.length>0?as(n,o.path[0],()=>[]).push(t(o)):r.push(t(o));return{formErrors:r,fieldErrors:n}}function ls(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 ut(e,t){return{callee:t?.callee??e,Err:t?.Err}}const ln=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 J1;if(c.issues.length){const l=new(i?.Err??e)(c.issues.map(u=>U1(u,s,S1())));throw ir(l,i?.callee??t),l}return c.value};return t},un=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=>U1(u,s,S1())));throw ir(l,i?.callee??t),l}return c.value};return t},dn=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 J1;return i.issues.length?pr(e,i.issues,o):{success:!0,data:i.value}};function pr(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(o=>U1(o,n,S1()))),t=void 0,n=void 0),r},set error(o){r=o,t=void 0,n=void 0}}}const fn=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?pr(e,i.issues,o):{success:!0,data:i.value}},us=Symbol.for("zod.compile.invalid"),ds=Symbol.for("zod.compile.fallback"),fs=((e,t,n)=>{const r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==us)return!0;if(r.definite===!0&&n===void 0)return!1}return ps(e,t,n)});function ps(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[ds]=!0,i=o({value:t,issues:[]},r)):i=e._zod.run({value:t,issues:[]},r),i instanceof Promise)throw new J1;return i.issues.length===0}const hs=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},Cs=e=>{const t=ln(e),n=(r,o,i,s)=>{const c=i?{...i,direction:"backward"}:{direction:"backward"};return t(r,o,c,ut(n,s))};return n},ms=e=>{const t=ln(e),n=(r,o,i,s)=>t(r,o,i,ut(n,s));return n},gs=e=>{const t=un(e),n=async(r,o,i,s)=>{const c=i?{...i,direction:"backward"}:{direction:"backward"};return await t(r,o,c,ut(n,s))};return n},bs=e=>{const t=un(e),n=async(r,o,i,s)=>await t(r,o,i,ut(n,s));return n},ys=e=>(t,n,r)=>{const o=r?{...r,direction:"backward"}:{direction:"backward"};return dn(e)(t,n,o)},xs=e=>(t,n,r)=>dn(e)(t,n,r),vs=e=>async(t,n,r)=>{const o=r?{...r,direction:"backward"}:{direction:"backward"};return fn(e)(t,n,o)},ks=e=>async(t,n,r)=>fn(e)(t,n,r),ws=/^[cC][0-9a-z]{6,}$/,_s=/^[0-9a-z]+$/,Ss=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,js=/^[0-9a-vA-V]{20}$/,Ms=/^[A-Za-z0-9]{27}$/,Ns=/^[a-zA-Z0-9_-]{21}$/;function Es(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}const $s=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,As=/^([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})$/,Fn=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)$/,Zs=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Os="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function zs(){return new RegExp(Os,"u")}const Is=/^(?:(?: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])$/,Ts=/^(([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}|:))$/,Ps=/^((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])$/,Rs=/^(([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])$/,Ls=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Ds=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,Fs=/^https?$/,Bs=/^\+[1-9]\d{6,14}$/,hr="(?:(?:\\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 Us(e){return new RegExp(`^${e}$`)}const Ws=Us(hr);function At(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 Ks(e){return new RegExp(`^${At(e)}$`)}function Hs(e){const t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${At({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,r=e.local?`${n}|${At({precision:e.precision})}`:n;return new RegExp(`^${hr}T(?:${r})$`)}const Vs=/^[\s\S]{0,}$/,Gs=/^-?\d+$/,pn=/^-?\d+(?:\.\d+)?$/,Js=/^(?:true|false)$/i,qs=/^null$/i,Ys=/^undefined$/i,Xs=/^[^A-Z]*$/,Qs=/^[^a-z]*$/,d1=b("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),hn=e=>{const t=e.value;return!$i(t)&&t.length!==void 0},Je={number:"number",bigint:"bigint",object:"date"},Cr=b("$ZodCheckLessThan",(e,t)=>{d1.init(e,t);const n=Je[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:Je[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})}}),mr=b("$ZodCheckGreaterThan",(e,t)=>{d1.init(e,t);const n=Je[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:Je[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})}}),ea=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):Ai(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})}}),ta=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]=cr[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})}}),na=b("$ZodCheckMaxLength",(e,t)=>{var n;d1.init(e,t),(n=e._zod.def).when??(n.when=hn),e._zod.check=r=>{const o=r.value,i=o.length;if((typeof o=="string"&&i>t.maximum?an(o):i)<=t.maximum)return;const c=cn(o);r.issues.push({origin:c,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),ra=b("$ZodCheckMinLength",(e,t)=>{var n;d1.init(e,t),(n=e._zod.def).when??(n.when=hn),e._zod.check=r=>{const o=r.value,i=o.length;if((typeof o=="string"&&i>=t.minimum&&i<t.minimum*2?an(o):i)>=t.minimum)return;const c=cn(o);r.issues.push({origin:c,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),oa=b("$ZodCheckLengthEquals",(e,t)=>{var n;d1.init(e,t),(n=e._zod.def).when??(n.when=hn),e._zod.check=r=>{const o=r.value,i=o.length,s=typeof o=="string"&&i>=t.length&&i<=t.length*2?an(o):i;if(s===t.length)return;const c=cn(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})}}),dt=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=()=>{})}),ia=b("$ZodCheckRegex",(e,t)=>{dt.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})}}),sa=b("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Xs),dt.init(e,t)}),aa=b("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Qs),dt.init(e,t)}),ca=b("$ZodCheckIncludes",(e,t)=>{d1.init(e,t);const n=re(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})}}),la=b("$ZodCheckStartsWith",(e,t)=>{d1.init(e,t);const n=new RegExp(`^${re(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})}}),ua=b("$ZodCheckEndsWith",(e,t)=>{d1.init(e,t);const n=new RegExp(`.*${re(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})}}),da=b("$ZodCheckOverwrite",(e,t)=>{d1.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class fa{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
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
3
|
${n.join(`
|
|
4
4
|
`)}
|
|
@@ -54,4 +54,4 @@ ${n.join(`
|
|
|
54
54
|
|
|
55
55
|
`)}return x.write("payload.value = newResult;"),x.write("return payload;"),x.compile()};let s;const c=_e,l=!v1.jitless,d=l&&Ii.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?jr([],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 Wn(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=>!O1(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=>U1(s,r,S1())))}),t)}const Mr=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=>on(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=>Wn(c,r,e,o)):Wn(s,r,e,o)}});function i3(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 s3=b("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Mr.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)||R1(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=sn(o._zod.def);if(s&&!Object.prototype.hasOwnProperty.call(s,t.discriminator))throw new Error(`Invalid discriminated union option at index "${i}"`)});const r=ct(()=>i3(t));e._zod.parse=(o,i)=>{const s=o.value;if(!_e(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)}}),a3=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])=>Kn(n,l,u)):Kn(n,i,s)}});function Zt(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(ne(e)&&ne(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=Zt(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=Zt(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 Kn(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=Zt(t.value,n.value);if(!l.valid){if(O1(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(l.mergeErrorPath)}`)}return e.value=l.data,e}const c3=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(!ne(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=>U1(g,o,S1())),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(...ee(d,g.issues)),r.value[h]=g.value})):(C.issues.length&&r.issues.push(...ee(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"&&pn.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=>U1(g,o,S1())),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(...ee(u,g.issues)),r.value[h]=g.value})):(C.issues.length&&r.issues.push(...ee(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}}),l3=b("$ZodEnum",(e,t)=>{K.init(e,t);const n=Nt(t.entries),r=new Set(n);e._zod.values=r,R(e,"pattern",o=>{const i=Nt(o.def.entries).filter(s=>Ti.has(typeof s));return new RegExp(i.length?`^(${i.map(s=>re(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}}),u3=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"?re(i):i?re(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}}),d3=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 fr(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 J1;return n.value=o,n}});function Hn(e,t){return e.value=t.issues.length?void 0:t.value,e}const Nr=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(`^(${on(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=>Hn(n,i)):Hn(n,o)}return t.innerType._zod.run(n,r)}}),f3=b("$ZodExactOptional",(e,t)=>{Nr.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)}),p3=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(`^(${on(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)}),h3=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=>Vn(i,t)):Vn(o,t)}});function Vn(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const C3=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))}),m3=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=>Gn(i,e)):Gn(o,e)}});function Gn(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 Jn(e,t,n,r){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(o=>U1(o,r,S1()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}const g3=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=>Jn(n,i,t,r)):Jn(n,o,t,r)}}),Er=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=>Pe(s,t.in,r)):Pe(i,t.in,r)}const o=t.in._zod.run(n,r);return o instanceof Promise?o.then(i=>Pe(i,t.out,r)):Pe(o,t.out,r)}});function Pe(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 b3=b("$ZodPreprocess",(e,t)=>{Er.init(e,t)}),y3=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(qn):qn(o)}});function qn(e){return e.memo||(e.value=Object.freeze(e.value)),e}const x3=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=>Yn(i,n,r,e));Yn(o,n,r,e)}});function Yn(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(Se(o))}}class v3 extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}}const Ot="~memo",Xn=[];function $r(e){return e!==null&&typeof e=="object"}function gt(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}const Ar=new WeakMap,he=0,He=1,be=2;function Ve(e,t,n){const r=Ar.get(e);if(r!==void 0)return r?be:he;if(t.has(e))return be;t.add(e);let o=he;const i=d=>{if(o!==be&&d?._zod){const p=Ve(d,t);p>o&&(o=p)}},s=(d,p)=>{let h=he;for(const C of Reflect.ownKeys(d)){const g=Object.getOwnPropertyDescriptor(d,C);if(!g.enumerable)continue;const y=g.get?He:g.value?._zod?Ve(g.value,t):he;y>h&&(h=y)}return h},c=d=>{d>o&&(o=d)},l=e._zod.def;switch(l.type){case"object":{const d=sn(l);c(d?s(d):He),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?Ve(d,t):He);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),k3(e,o)}function k3(e,t){return t!==He&&Ar.set(e,t===be),t}function w3(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}let Re;const Le=[],_3={alloc(e,t,n){const r=Re;if(!r)return n;Re=void 0;const o={value:n,issues:null};return r.set(t.value,o),Le.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"&&j3(i,o.value))throw new v3;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=Ve(e,new Set);if(k===he)return e._zod.parse=s,e._zod.run===c&&(e._zod.run=s),s(l,u);k===be||r?n=!0:r=!0}const d=l.value;if(!$r(d))return s(l,u);let p=u[Ot];p||(p={buckets:new WeakMap,backEdges:void 0},u[Ot]=p);let h;o===u?h=i:(h=w3(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(...gt(C.issues)):(l.memo=!0,p.backEdges??(p.backEdges=new WeakSet),p.backEdges.add(C.value)),l;Re=h;const g=Le.length,y=s(l,u);Re=void 0;const x=Le.length>g?Le.pop():void 0;return y instanceof Promise?y.then(k=>(x&&(x.issues=k.issues.length?gt(k.issues):Xn),k)):(x&&(x.issues=y.issues.length?gt(y.issues):Xn),y)};e._zod.parse=c,e._zod.run===s&&(e._zod.run=c)})}};function S3(){return _3}function j3(e,t){const n=e[Ot]?.backEdges;return n!==void 0&&$r(t)&&n.has(t)}const M3=()=>{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=Vi(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 ${ar(i.values[0])}`:`Invalid option: expected one of ${In(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":""}: ${In(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 N3(){return{localeError:M3()}}var Qn;class E3{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 $3(){return new E3}(Qn=globalThis).__zod_globalRegistry??(Qn.__zod_globalRegistry=$3());const Ce=globalThis.__zod_globalRegistry;function Zr(e){return e.checks&&(e.checks=[...e.checks]),e}function A3(e,t){return new e(Zr({type:"string",...S(t)}))}function Z3(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...S(t)})}function O3(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 I3(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...S(t)})}function T3(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...S(t)})}function P3(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...S(t)})}function R3(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...S(t)})}function L3(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...S(t)})}function D3(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...S(t)})}function F3(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...S(t)})}function B3(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...S(t)})}function U3(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...S(t)})}function W3(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...S(t)})}function K3(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...S(t)})}function H3(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...S(t)})}function V3(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...S(t)})}function G3(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...S(t)})}function J3(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...S(t)})}function q3(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...S(t)})}function Y3(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...S(t)})}function X3(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...S(t)})}function Q3(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...S(t)})}function e4(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...S(t)})}function t4(e,t){return new e({type:"string",format:"date",check:"string_format",...S(t)})}function n4(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...S(t)})}function r4(e,t){return new e({type:"string",format:"duration",check:"string_format",...S(t)})}function o4(e,t){return new e(Zr({type:"number",checks:[],...S(t)}))}function i4(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...S(t)})}function s4(e,t){return new e({type:"boolean",...S(t)})}function a4(e,t){return new e({type:"undefined",...S(t)})}function c4(e,t){return new e({type:"null",...S(t)})}function l4(e){return new e({type:"unknown"})}function u4(e,t){return new e({type:"never",...S(t)})}function e2(e,t){return new Cr({check:"less_than",...S(t),value:e,inclusive:!1})}function bt(e,t){return new Cr({check:"less_than",...S(t),value:e,inclusive:!0})}function t2(e,t){return new mr({check:"greater_than",...S(t),value:e,inclusive:!1})}function yt(e,t){return new mr({check:"greater_than",...S(t),value:e,inclusive:!0})}function n2(e,t){return new ea({check:"multiple_of",...S(t),value:e})}function Or(e,t){return new na({check:"max_length",...S(t),maximum:e})}function Xe(e,t){return new ra({check:"min_length",...S(t),minimum:e})}function zr(e,t){return new oa({check:"length_equals",...S(t),length:e})}function d4(e,t){return new ia({check:"string_format",format:"regex",...S(t),pattern:e})}function f4(e){return new sa({check:"string_format",format:"lowercase",...S(e)})}function p4(e){return new aa({check:"string_format",format:"uppercase",...S(e)})}function h4(e,t){return new ca({check:"string_format",format:"includes",...S(t),includes:e})}function C4(e,t){return new la({check:"string_format",format:"starts_with",...S(t),prefix:e})}function m4(e,t){return new ua({check:"string_format",format:"ends_with",...S(t),suffix:e})}function ce(e){return new da({check:"overwrite",tx:e})}function g4(e){return ce(t=>t.normalize(e))}function b4(){return ce(e=>e.trim())}function y4(){return ce(e=>e.toLowerCase())}function x4(){return ce(e=>e.toUpperCase())}function v4(){return ce(e=>zi(e))}function k4(e,t,n){return new e({type:"array",element:t,...S(n)})}function w4(e,t,n){const r=S(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}function _4(e,t,n){return new e({type:"custom",check:"custom",fn:t,...S(n)})}function S4(e,t){const n=j4(r=>(r.addIssue=o=>{if(typeof o=="string")r.issues.push(Se(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(Se(i))}},e(r.value,r)),t);return n}function j4(e,t){const n=new d1({check:"custom",...S(t)});return n._zod.check=e,n}function ye(e,...t){for(const n of t)for(const r of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,r)&&R1(e,r,n[r]);return e}function Ir(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??Ce,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 P1(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&&ye(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 r2(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Tr(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}/${r2(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+r2(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
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 Pr(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;Pr(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 Rr=new Set(["type","properties","required","additionalProperties"]),o2=["oneOf","anyOf"];function i2(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(!Rr.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]??i2(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};R1(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=i2(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 M4(e){const t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(const o of Rr)if(o in e)return;const n=t.filter(o=>o2.some(i=>Array.isArray(o[i])));let r=null;if(!n.length)r=zt(t);else{const o=n[0],i=o2.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,ye(e,r))}function Lr(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)):ye(u,g),ye(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())Pr(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)??[])M4(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)}ye(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,R1(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:Qe(t,"input",e.processors),output:Qe(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 N4=(e,t={})=>n=>{const r=Ir({...n,processors:t});return Q(e,r),Tr(r,e),Lr(r,e)},Qe=(e,t,n={})=>r=>{const{libraryOptions:o,target:i}=r??{},s=Ir({...o??{},target:i,io:t,processors:n});return Q(e,s),Tr(s,e),Lr(s,e)},oe=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},ie=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},s2=(e,t)=>{oe(e,"minimum",t),ie(e,"maximum",t)},Dr=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},Fr=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},Br=(e,t)=>{e.mime=e.mime?e.mime.filter(n=>t.includes(n)):[...t]},Ur=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},a2=(e,t)=>oe(e,"minimum",t.minimum),c2=(e,t)=>ie(e,"maximum",t.maximum),l2=e=>(t,n)=>{Ur(t,n.format);const[r,o]=e[n.format];oe(t,"minimum",r),ie(t,"maximum",o)},E4={greater_than:(e,t)=>oe(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>ie(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>Dr(e,t.value),number_format:l2(cr),bigint_format:l2(Ri),min_length:a2,max_length:c2,length_equals:(e,t)=>s2(e,t.length),min_size:a2,max_size:c2,size_equals:(e,t)=>s2(e,t.size),string_format:(e,t)=>{Ur(e,t.format),t.pattern&&Fr(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)=>Br(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)E4[i._zod.def.check]?.(t,i._zod.def);const o=e._zod.bag;o.minimum!==void 0&&oe(t,"minimum",o.minimum),o.exclusiveMinimum!==void 0&&oe(t,"exclusiveMinimum",o.exclusiveMinimum),o.maximum!==void 0&&ie(t,"maximum",o.maximum),o.exclusiveMaximum!==void 0&&ie(t,"exclusiveMaximum",o.exclusiveMaximum),o.multipleOf!==void 0&&Dr(t,o.multipleOf),o.format!==void 0&&(t.format??(t.format=o.format),o.format.includes("int")&&(t.isInt=!0)),o.mime&&Br(t,o.mime);for(const i of o.patterns??[])Fr(t,i);return t}const $4={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},A4=new Map([[wr,Ls],[mn,Ds]]),Wr=e=>A4.get(e)??e,Z4=(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=$4[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(Wr);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}))])}},O4=(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)):P1(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"},I4=(e,t,n,r)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},T4=(e,t,n,r)=>{P1(e,t,n,r,"Undefined cannot be represented in JSON Schema")},P4=(e,t,n,r)=>{n.not={}},R4=(e,t,n,r)=>{},L4=(e,t,n,r)=>{const o=e._zod.def,i=Nt(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},D4=(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(P1(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof s=="bigint"){if(P1(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},F4=(e,t,n,r)=>{P1(e,t,n,r,"Custom types cannot be represented in JSON Schema")},B4=(e,t,n,r)=>{P1(e,t,n,r,"Transforms cannot be represented in JSON Schema")},U4=(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 et(e){const t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?et(t.out):t.type==="catch"?et(t.innerType):e._zod.optin}const W4=(e,t,n,r)=>{const o=n,i=e._zod.def,s=i.shape;if(Object.getOwnPropertySymbols(s).length&&P1(e,t,o,r,"Symbol keys cannot be represented in JSON Schema"))return;o.type="object",o.properties={};for(const u in s)R1(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"?et(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)},K4=(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},H4=(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 It(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=It(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=>It(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")?pn:Gs).source)),C}const Tt=new WeakMap;function V4(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 Tt.get(e)??[]){const o=e.seen.get(r),i=(o?.def??o?.schema)?.propertyNames;if(!i||i===!0||n.has(i))continue;const s=It(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 G4=(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)R1(o.patternProperties,Wr(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=Tt.get(t);d||(d=[],Tt.set(t,d),t.deferred.push(()=>V4(t))),d.push(e)}o.additionalProperties=Q(i.valueType,t,{...r,path:[...r.path,"additionalProperties"]})}const l=s._zod.values,u=t.io==="input"&&et(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))}},J4=(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"}]},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},gn=Symbol();function Kr(e,t,n,r,o){let i=!1;const s=JSON.stringify(e,(c,l)=>typeof l!="bigint"?l:(i=!0,null));return i?(P1(t,n,r,o,"BigInt defaults cannot be represented in JSON Schema"),gn):JSON.parse(s)}const Y4=(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=Kr(o.defaultValue,e,t,n,r);s!==gn&&(n.default=s)},X4=(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=Kr(o.defaultValue,e,t,n,r);s!==gn&&(n._prefault=s)},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;let s;try{s=o.catchValue(void 0)}catch{P1(e,t,n,r,"Dynamic catch values are not supported in JSON Schema");return}n.default=s},e0=(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},t0=(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},Hr=(e,t,n,r)=>{const o=e._zod.def;Q(o.innerType,t,r);const i=t.seen.get(e);i.ref=o.innerType},u2=new WeakSet([Object.prototype,Error.prototype]);function De(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 n0=(e,t)=>{ss.init(e,t),e.name="ZodError";const n=Object.getPrototypeOf(e);u2.has(n)||(u2.add(n),De(n,"format",r=>o=>ls(r,o)),De(n,"flatten",r=>o=>cs(r,o)),De(n,"addIssue",r=>o=>{r.issues.push(o),r.message=JSON.stringify(r.issues,Et,2)}),De(n,"addIssues",r=>o=>{r.issues.push(...o),r.message=JSON.stringify(r.issues,Et,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},m1=b("ZodError",n0,void 0,{Parent:Error}),r0=ln(m1),o0=un(m1),i0=dn(m1),s0=fn(m1),a0=Cs(m1),c0=ms(m1),l0=gs(m1),u0=bs(m1),d0=ys(m1),f0=xs(m1),p0=vs(m1),h0=ks(m1);function C0(){v1.localeError||S1(N3())}function ft(){v1.memoizer||S1({memoizer:S3()})}const H=b("ZodType",(e,t)=>(C0(),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 K1(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(d9(e,t))},superRefine(e,t){return this.check(f9(e,t))},overwrite(e){return this.check(ce(e))},optional(){return f2(this)},exactOptional(){return Q0(this)},nullable(){return p2(this)},nullish(){return f2(p2(this))},nonoptional(e){return i9(this,e)},array(){return H0(this)},or(e){return V0([this,e])},and(e){return q0(this,e)},transform(e){return h2(this,Xr(e))},default(e){return n9(this,e)},prefault(e){return o9(this,e)},catch(e){return a9(this,e)},pipe(e){return h2(this,e)},readonly(){return u9(this)},describe(e){const t=this.clone();return Ce.add(t,{description:e}),t},meta(...e){if(e.length===0)return Ce.get(this);const t=this.clone();return Ce.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 ur(this,"~standard",{...br(this),jsonSchema:{input:Qe(this,"input"),output:Qe(this,"output")}})},set"~standard"(e){W1(this,"~standard",e)},parse:function e(t,n){return r0(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await o0(this,t,n,{callee:e})},safeParse(e,t){return i0(this,e,t)},async safeParseAsync(e,t){return s0(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){W1(this,"spa",e)},validate(e,t){return fs(this,e,t)},validateAsync(e,t){return hs(this,e,t)},encode:function e(t,n){return a0(this,t,n,{callee:e})},decode:function e(t,n){return c0(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await l0(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await u0(this,t,n,{callee:e})},safeEncode(e,t){return d0(this,e,t)},safeDecode(e,t){return f0(this,e,t)},async safeEncodeAsync(e,t){return p0(this,e,t)},async safeDecodeAsync(e,t){return h0(this,e,t)},toJSONSchema(e){return N4(this,{})(e)},get description(){return Ce.get(this)?.description},get _def(){return this._zod.def}}),Vr=b("_ZodString",(e,t)=>{Cn.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Z4(e,n,r)},dr({format:e=>y1(e).format??null,minLength:e=>y1(e).minimum??null,maxLength:e=>y1(e).maximum??null},{regex(...e){return this.check(d4(...e))},includes(...e){return this.check(h4(...e))},startsWith(...e){return this.check(C4(...e))},endsWith(...e){return this.check(m4(...e))},min(...e){return this.check(Xe(...e))},max(...e){return this.check(Or(...e))},length(...e){return this.check(zr(...e))},nonempty(...e){return this.check(Xe(1,...e))},lowercase(e){return this.check(f4(e))},uppercase(e){return this.check(p4(e))},trim(){return this.check(b4())},normalize(...e){return this.check(g4(...e))},toLowerCase(){return this.check(y4())},toUpperCase(){return this.check(x4())},slugify(){return this.check(v4())}})),m0=b("ZodString",(e,t)=>{Cn.init(e,t),Vr.init(e,t)},{email(e){return this.check(Z3(v0,e))},url(e){return this.check(R3(w0,e))},jwt(e){return this.check(Q3(R0,e))},emoji(e){return this.check(L3(_0,e))},guid(e){return this.check(O3(k0,e))},uuid(e){return this.check(z3(Fe,e))},uuidv4(e){return this.check(I3(Fe,e))},uuidv6(e){return this.check(T3(Fe,e))},uuidv7(e){return this.check(P3(Fe,e))},nanoid(e){return this.check(D3(S0,e))},cuid(e){return this.check(F3(j0,e))},cuid2(e){return this.check(B3(M0,e))},ulid(e){return this.check(U3(N0,e))},base64(e){return this.check(q3(I0,e))},base64url(e){return this.check(Y3(T0,e))},xid(e){return this.check(W3(E0,e))},ksuid(e){return this.check(K3($0,e))},ipv4(e){return this.check(H3(A0,e))},ipv6(e){return this.check(V3(Z0,e))},cidrv4(e){return this.check(G3(O0,e))},cidrv6(e){return this.check(J3(z0,e))},e164(e){return this.check(X3(P0,e))},datetime(e){return this.check(e4(g0,e))},date(e){return this.check(t4(b0,e))},time(e){return this.check(n4(y0,e))},duration(e){return this.check(r4(x0,e))}});function Gr(e){return A3(m0,e)}const J=b("ZodStringFormat",(e,t)=>{G.init(e,t),Vr.init(e,t)}),g0=b("ZodISODateTime",(e,t)=>{Aa.init(e,t),J.init(e,t)}),b0=b("ZodISODate",(e,t)=>{Za.init(e,t),J.init(e,t)}),y0=b("ZodISOTime",(e,t)=>{Oa.init(e,t),J.init(e,t)}),x0=b("ZodISODuration",(e,t)=>{za.init(e,t),J.init(e,t)}),v0=b("ZodEmail",(e,t)=>{ga.init(e,t),J.init(e,t)}),k0=b("ZodGUID",(e,t)=>{Ca.init(e,t),J.init(e,t)}),Fe=b("ZodUUID",(e,t)=>{ma.init(e,t),J.init(e,t)}),w0=b("ZodURL",(e,t)=>{wa.init(e,t),J.init(e,t)}),_0=b("ZodEmoji",(e,t)=>{_a.init(e,t),J.init(e,t)}),S0=b("ZodNanoID",(e,t)=>{Sa.init(e,t),J.init(e,t)}),j0=b("ZodCUID",(e,t)=>{ja.init(e,t),J.init(e,t)}),M0=b("ZodCUID2",(e,t)=>{Ma.init(e,t),J.init(e,t)}),N0=b("ZodULID",(e,t)=>{Na.init(e,t),J.init(e,t)}),E0=b("ZodXID",(e,t)=>{Ea.init(e,t),J.init(e,t)}),$0=b("ZodKSUID",(e,t)=>{$a.init(e,t),J.init(e,t)}),A0=b("ZodIPv4",(e,t)=>{Ia.init(e,t),J.init(e,t)}),Z0=b("ZodIPv6",(e,t)=>{Pa.init(e,t),J.init(e,t)}),O0=b("ZodCIDRv4",(e,t)=>{Ra.init(e,t),J.init(e,t)}),z0=b("ZodCIDRv6",(e,t)=>{Da.init(e,t),J.init(e,t)}),I0=b("ZodBase64",(e,t)=>{Fa.init(e,t),J.init(e,t)}),T0=b("ZodBase64URL",(e,t)=>{Ua.init(e,t),J.init(e,t)}),P0=b("ZodE164",(e,t)=>{Wa.init(e,t),J.init(e,t)}),R0=b("ZodJWT",(e,t)=>{Ha.init(e,t),J.init(e,t)}),Jr=b("ZodNumber",(e,t)=>{_r.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>O4(e,n,r,o),e.isFinite=!0},dr({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(t2(e,t))},gte(e,t){return this.check(yt(e,t))},min(e,t){return this.check(yt(e,t))},lt(e,t){return this.check(e2(e,t))},lte(e,t){return this.check(bt(e,t))},max(e,t){return this.check(bt(e,t))},int(e){return this.check(d2(e))},safe(e){return this.check(d2(e))},positive(e){return this.check(t2(0,e))},nonnegative(e){return this.check(yt(0,e))},negative(e){return this.check(e2(0,e))},nonpositive(e){return this.check(bt(0,e))},multipleOf(e,t){return this.check(n2(e,t))},step(e,t){return this.check(n2(e,t))},finite(){return this}}));function S6(e){return o4(Jr,e)}const L0=b("ZodNumberFormat",(e,t)=>{Va.init(e,t),Jr.init(e,t)});function d2(e){return i4(L0,e)}const D0=b("ZodBoolean",(e,t)=>{Ga.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>z4(e,n,r)});function j6(e){return s4(D0,e)}const F0=b("ZodUndefined",(e,t)=>{Ja.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>T4(e,n,r,o)});function M6(e){return a4(F0,e)}const B0=b("ZodNull",(e,t)=>{qa.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>I4(e,n,r)});function N6(e){return c4(B0,e)}const U0=b("ZodUnknown",(e,t)=>{Ya.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>R4()});function Pt(){return l4(U0)}const W0=b("ZodNever",(e,t)=>{Xa.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>P4(e,n,r)});function qr(e){return u4(W0,e)}const K0=b("ZodArray",(e,t)=>{ft(),t3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>U4(e,n,r,o),e.element=t.element},{min(e,t){return this.check(Xe(e,t))},nonempty(e){return this.check(Xe(1,e))},max(e,t){return this.check(Or(e,t))},length(e,t){return this.check(zr(e,t))},unwrap(){return this.element}});function H0(e,t){return k4(K0,e,t)}const bn=b("ZodObject",(e,t)=>{ft(),o3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>W4(e,n,r,o),Xi(e,"shape",n=>n._zod.def.shape,!1)},{keyof(){return Ae(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:Pt()}))},loose(){return this.clone(p1(this._zod.def,{catchall:Pt()}))},strict(){return this.clone(p1(this._zod.def,{catchall:qr()}))},strip(){return this.clone(p1(this._zod.def,{catchall:void 0}))},extend(e){return Fi(this,e)},safeExtend(e){return Bi(this,e)},merge(e){return Ui(this,e)},pick(e){return Li(this,e)},omit(e){return Di(this,e)},partial(...e){return Tn(Qr,this,e[0])},exactPartial(...e){return Tn(eo,this,e[0],"exactPartial")},required(...e){return Wi(to,this,e[0])}});function E6(e,t){const n={type:"object",shape:e??{},...S(t)};return new bn(n)}function $6(e,t){return new bn({type:"object",shape:e,catchall:qr(),...S(t)})}function A6(e,t){return new bn({type:"object",shape:e,catchall:Pt(),...S(t)})}const Yr=b("ZodUnion",(e,t)=>{Mr.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>K4(e,n,r,o),e.options=t.options});function V0(e,t){return new Yr({type:"union",options:e,...S(t)})}const G0=b("ZodDiscriminatedUnion",(e,t)=>{Yr.init(e,t),s3.init(e,t)});function Z6(e,t,n){return new G0({type:"union",options:t,discriminator:e,...S(n)})}const J0=b("ZodIntersection",(e,t)=>{a3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>H4(e,n,r,o)});function q0(e,t){return new J0({type:"intersection",left:e,right:t})}const Rt=b("ZodRecord",(e,t)=>{ft(),c3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>G4(e,n,r,o),e.keyType=t.keyType,e.valueType=t.valueType});function O6(e,t,n){return!t||!t._zod?new Rt({type:"record",keyType:Gr(),valueType:e,...S(t)}):new Rt({type:"record",keyType:e,valueType:t,...S(n)})}function z6(e,t,n){return new Rt({type:"record",keyType:e,valueType:t,...S(n),partial:!0})}const Lt=b("ZodEnum",(e,t)=>{l3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(r,o,i)=>L4(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 Lt({...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 Lt({...t,checks:[],...S(o),entries:i})}});function Ae(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new Lt({type:"enum",entries:n,...S(t)})}const Y0=b("ZodLiteral",(e,t)=>{u3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>D4(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 I6(e,t){return new Y0({type:"literal",values:Array.isArray(e)?e:[e],...S(t)})}const X0=b("ZodTransform",(e,t)=>{ft(),d3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>B4(e,n,r,o),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new fr(e.constructor.name);n.addIssue=i=>{if(typeof i=="string")n.issues.push(Se(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(Se(s))}};const o=t.transform(n.value,n);return o instanceof Promise?o.then(i=>(n.value=i,n)):(n.value=o,n)}});function Xr(e){return new X0({type:"transform",transform:e})}const Qr=b("ZodOptional",(e,t)=>{Nr.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Hr(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function f2(e){return new Qr({type:"optional",innerType:e})}const eo=b("ZodExactOptional",(e,t)=>{f3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Hr(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function Q0(e){return new eo({type:"optional",innerType:e})}const e9=b("ZodNullable",(e,t)=>{p3.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 p2(e){return new e9({type:"nullable",innerType:e})}const t9=b("ZodDefault",(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,e.removeDefault=e.unwrap});function n9(e,t){return new t9({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():sr(t)}})}const r9=b("ZodPrefault",(e,t)=>{C3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>X4(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function o9(e,t){return new r9({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():sr(t)}})}const to=b("ZodNonOptional",(e,t)=>{m3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>q4(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function i9(e,t){return new to({type:"nonoptional",innerType:e,...S(t)})}const s9=b("ZodCatch",(e,t)=>{g3.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.removeCatch=e.unwrap});function a9(e,t){return new s9({type:"catch",innerType:e,catchValue:typeof t=="function"?t:es(t)})}const no=b("ZodPipe",(e,t)=>{Er.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>e0(e,n,r,o),e.in=t.in,e.out=t.out});function h2(e,t){return new no({type:"pipe",in:e,out:t})}const c9=b("ZodPreprocess",(e,t)=>{no.init(e,t),b3.init(e,t)}),l9=b("ZodReadonly",(e,t)=>{y3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>t0(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function u9(e){return new l9({type:"readonly",innerType:e})}const ro=b("ZodCustom",(e,t)=>{x3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>F4(e,n,r,o)});function T6(e,t){return w4(ro,e??(()=>!0),t)}function d9(e,t={}){return _4(ro,e,t)}function f9(e,t){return S4(e,t)}function P6(e,t){return new c9({type:"pipe",in:Xr(e),out:t})}const oo=["cursor","blob","circle","squircle","capsule","drop","shield","hexagon","diamond","star"],p9=Ae(oo),h9="cursor",yn={cursor:{id:"cursor",name:"Limi",fit:"translate(-37.1368 -35.6789) scale(1.514073)",body:'<path fill="{{GRADIENT}}" d="M121.45 37.29C124.88 42.3 128.31 47.31 131.75 52.32C133.57 54.98 136.25 56.93 139.34 57.84C145.16 59.55 150.99 61.27 156.81 62.99C174.34 68.15 181.21 89.31 170.07 103.78C166.37 108.6 162.66 113.41 158.96 118.22C156.99 120.78 155.97 123.93 156.06 127.15C156.23 133.22 156.39 139.29 156.56 145.36C157.06 163.62 139.07 176.69 121.86 170.57C116.14 168.54 110.41 166.5 104.69 164.47C101.66 163.39 98.34 163.39 95.31 164.47C89.59 166.5 83.86 168.54 78.14 170.57C60.93 176.69 42.94 163.62 43.44 145.36C43.61 139.29 43.77 133.22 43.94 127.15C44.03 123.93 43.01 120.78 41.04 118.22C37.34 113.41 33.63 108.6 29.93 103.78C18.79 89.31 25.66 68.15 43.19 62.99C49.01 61.27 54.84 59.55 60.66 57.84C63.75 56.93 66.43 54.98 68.25 52.32C71.69 47.31 75.12 42.3 78.55 37.29C88.88 22.22 111.12 22.22 121.45 37.29Z"/>',clip:'<path d="M121.45 37.29C124.88 42.3 128.31 47.31 131.75 52.32C133.57 54.98 136.25 56.93 139.34 57.84C145.16 59.55 150.99 61.27 156.81 62.99C174.34 68.15 181.21 89.31 170.07 103.78C166.37 108.6 162.66 113.41 158.96 118.22C156.99 120.78 155.97 123.93 156.06 127.15C156.23 133.22 156.39 139.29 156.56 145.36C157.06 163.62 139.07 176.69 121.86 170.57C116.14 168.54 110.41 166.5 104.69 164.47C101.66 163.39 98.34 163.39 95.31 164.47C89.59 166.5 83.86 168.54 78.14 170.57C60.93 176.69 42.94 163.62 43.44 145.36C43.61 139.29 43.77 133.22 43.94 127.15C44.03 123.93 43.01 120.78 41.04 118.22C37.34 113.41 33.63 108.6 29.93 103.78C18.79 89.31 25.66 68.15 43.19 62.99C49.01 61.27 54.84 59.55 60.66 57.84C63.75 56.93 66.43 54.98 68.25 52.32C71.69 47.31 75.12 42.3 78.55 37.29C88.88 22.22 111.12 22.22 121.45 37.29Z"/>',anchor:{x:113.82,y:113.41,scale:1}},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:112.93,y:121.71,scale:1}},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:113.82,scale:1}},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:113.82,y:113.82,scale:1}},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:88.83,scale:1}},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:113.82,y:141.5,scale:1}},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:174.91,scale:1}},hexagon:{id:"hexagon",name:"Hexagon",fit:"translate(-5.6293 -5.6293) scale(1.198998)",body:'<path fill="{{GRADIENT}}" d="M90.66425 7.39C96.88808 3.79667 103.11192 3.79667 109.33575 7.39C131.40208 20.13 153.46841 32.87 175.53474 45.61C181.75857 49.20333 184.87049 54.59333 184.87049 61.78C184.87049 87.26 184.87049 112.74 184.87049 138.22C184.87049 145.40667 181.75857 150.79667 175.53474 154.39C153.46841 167.13 131.40208 179.87 109.33575 192.61C103.11192 196.20333 96.88808 196.20333 90.66425 192.61C68.59792 179.87 46.53159 167.13 24.46526 154.39C18.24143 150.79667 15.12951 145.40667 15.12951 138.22C15.12951 112.74 15.12951 87.26 15.12951 61.78C15.12951 54.59333 18.24143 49.20333 24.46526 45.61C46.53159 32.87 68.59792 20.13 90.66425 7.39Z"/>',clip:'<path d="M90.66425 7.39C96.88808 3.79667 103.11192 3.79667 109.33575 7.39C131.40208 20.13 153.46841 32.87 175.53474 45.61C181.75857 49.20333 184.87049 54.59333 184.87049 61.78C184.87049 87.26 184.87049 112.74 184.87049 138.22C184.87049 145.40667 181.75857 150.79667 175.53474 154.39C153.46841 167.13 131.40208 179.87 109.33575 192.61C103.11192 196.20333 96.88808 196.20333 90.66425 192.61C68.59792 179.87 46.53159 167.13 24.46526 154.39C18.24143 150.79667 15.12951 145.40667 15.12951 138.22C15.12951 112.74 15.12951 87.26 15.12951 61.78C15.12951 54.59333 18.24143 49.20333 24.46526 45.61C46.53159 32.87 68.59792 20.13 90.66425 7.39Z"/>',anchor:{x:113.82,y:113.82,scale:1}},diamond:{id:"diamond",name:"Diamond",fit:"translate(-9.1184 -9.1184) scale(1.233889)",body:'<path fill="{{GRADIENT}}" d="M89.22 12.78C96.40667 5.59333 103.59333 5.59333 110.78 12.78C136.26 38.26 161.74 63.74 187.22 89.22C194.40667 96.40667 194.40667 103.59333 187.22 110.78C161.74 136.26 136.26 161.74 110.78 187.22C103.59333 194.40667 96.40667 194.40667 89.22 187.22C63.74 161.74 38.26 136.26 12.78 110.78C5.59333 103.59333 5.59333 96.40667 12.78 89.22C38.26 63.74 63.74 38.26 89.22 12.78Z"/>',clip:'<path d="M89.22 12.78C96.40667 5.59333 103.59333 5.59333 110.78 12.78C136.26 38.26 161.74 63.74 187.22 89.22C194.40667 96.40667 194.40667 103.59333 187.22 110.78C161.74 136.26 136.26 161.74 110.78 187.22C103.59333 194.40667 96.40667 194.40667 89.22 187.22C63.74 161.74 38.26 136.26 12.78 110.78C5.59333 103.59333 5.59333 96.40667 12.78 89.22C38.26 63.74 63.74 38.26 89.22 12.78Z"/>',anchor:{x:113.82,y:113.82,scale:1}},star:{id:"star",name:"Blend",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:136.75,y:114.39,scale:1}}};function C9(e){return p9.safeParse(e).data??h9}const io=["pumpkin","ghost","witch","bat","cat","skull","monster","mummy","vampire","spider"],so=["rocket","anaar","chakri","sparkler","bomb","laddu","chakli","jalebi","katli","karanji"],ao=[...io,...so],co={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"}]}},lo=[...Object.values(yn),...Object.values(co)],pt=(e,t)=>Object.hasOwn(Yo,e)?f(e):t,m9=e=>pt(`mascot.body.${e}`,lo.find(t=>t.id===e)?.name??e),R6=e=>pt(`mascot.color.${e}`,e),L6=e=>pt(`botPanel.avatar.${e}`,e),D6=e=>pt(`mascot.expression.${e}`,e);function g9(e){const t=lo.find(n=>n.name===e);return t?m9(t.id):e}const b9=e=>f("mascot.label",{name:g9(e)}),Y1=228.541,C2=[120,122.5],m2={x:13.2,y:8.4},y9=["94.4,103.51 96.44,103.81 98.37,104.51 100.11,105.59 101.6,107.01 102.77,108.7 103.56,110.59 103.96,112.61 104,114.67 104,116.73 104,118.79 104,120.84 104,122.9 104,124.96 104,127.02 104,129.08 104,131.14 103.85,133.19 103.3,135.17 102.35,136.99 101.05,138.58 99.46,139.87 97.63,140.81 95.65,141.36 93.6,141.49 91.56,141.19 89.63,140.49 87.89,139.41 86.4,137.99 85.23,136.3 84.44,134.41 84.04,132.39 84,130.33 84,128.27 84,126.21 84,124.16 84,122.1 84,120.04 84,117.98 84,115.92 84,113.86 84.15,111.81 84.7,109.83 85.65,108.01 86.95,106.42 88.54,105.13 90.37,104.19 92.35,103.64|145.6,103.51 147.65,103.64 149.63,104.19 151.46,105.13 153.05,106.42 154.35,108.01 155.3,109.83 155.85,111.81 156,113.86 156,115.92 156,117.98 156,120.04 156,122.1 156,124.16 156,126.21 156,128.27 156,130.33 155.96,132.39 155.56,134.41 154.77,136.3 153.6,137.99 152.11,139.41 150.37,140.49 148.44,141.19 146.4,141.49 144.35,141.36 142.37,140.81 140.54,139.87 138.95,138.58 137.65,136.99 136.7,135.17 136.15,133.19 136,131.14 136,129.08 136,127.02 136,124.96 136,122.9 136,120.84 136,118.79 136,116.73 136,114.67 136.04,112.61 136.44,110.59 137.23,108.7 138.4,107.01 139.89,105.59 141.63,104.51 143.56,103.81","98.58,100.51 100.73,100.65 102.82,101.22 104.74,102.22 106.42,103.58 107.78,105.25 108.77,107.17 109.35,109.26 109.5,111.41 109.5,113.58 109.5,115.75 109.5,117.91 109.5,120.08 109.5,122.24 109.5,124.41 109.5,126.57 109.5,128.74 109.46,130.9 109.05,133.03 108.22,135.02 106.99,136.8 105.43,138.29 103.59,139.44 101.56,140.17 99.42,140.49 97.27,140.35 95.18,139.78 93.26,138.78 91.58,137.42 90.22,135.75 89.23,133.83 88.65,131.74 88.5,129.59 88.5,127.42 88.5,125.25 88.5,123.09 88.5,120.92 88.5,118.76 88.5,116.59 88.5,114.43 88.5,112.26 88.54,110.1 88.95,107.97 89.78,105.98 91.01,104.2 92.57,102.71 94.41,101.56 96.44,100.83|150.58,100.51 152.73,100.65 154.82,101.22 156.74,102.22 158.42,103.58 159.78,105.25 160.77,107.17 161.35,109.26 161.5,111.41 161.5,113.58 161.5,115.75 161.5,117.91 161.5,120.08 161.5,122.24 161.5,124.41 161.5,126.57 161.5,128.74 161.46,130.9 161.05,133.03 160.22,135.02 158.99,136.8 157.43,138.29 155.59,139.44 153.56,140.17 151.42,140.49 149.27,140.35 147.18,139.78 145.26,138.78 143.58,137.42 142.22,135.75 141.23,133.83 140.65,131.74 140.5,129.59 140.5,127.42 140.5,125.25 140.5,123.09 140.5,120.92 140.5,118.76 140.5,116.59 140.5,114.43 140.5,112.26 140.54,110.1 140.95,107.97 141.78,105.98 143.01,104.2 144.57,102.71 146.41,101.56 148.44,100.83","94,110.5 96.72,110.71 99.38,111.33 101.91,112.35 104.25,113.75 106.34,115.51 108.11,117.59 109.49,119.94 110.45,122.49 110.94,125.17 109.44,126.6 106.75,127.07 104.06,127.54 104.14,129.26 106.53,130.44 109.14,129.88 110.77,127.75 108.58,127.16 105.86,126.92 103.14,126.68 102.59,124.12 101.24,121.76 99.19,119.97 96.7,118.87 94,118.5 91.3,118.87 88.81,119.97 86.76,121.76 85.41,124.12 84.86,126.68 82.14,126.92 79.42,127.16 77.23,127.75 78.86,129.88 81.47,130.44 83.86,129.26 83.94,127.54 81.25,127.07 78.56,126.6 77.06,125.17 77.55,122.49 78.51,119.94 79.89,117.59 81.66,115.51 83.75,113.75 86.09,112.35 88.62,111.33 91.28,110.71|146,110.5 148.72,110.71 151.38,111.33 153.91,112.35 156.25,113.75 158.34,115.51 160.11,117.59 161.49,119.94 162.45,122.49 162.94,125.17 161.44,126.6 158.75,127.07 156.06,127.54 156.14,129.26 158.53,130.44 161.14,129.88 162.77,127.75 160.58,127.16 157.86,126.92 155.14,126.68 154.59,124.12 153.24,121.76 151.19,119.97 148.7,118.87 146,118.5 143.3,118.87 140.81,119.97 138.76,121.76 137.41,124.12 136.86,126.68 134.14,126.92 131.42,127.16 129.23,127.75 130.86,129.88 133.47,130.44 135.86,129.26 135.94,127.54 133.25,127.07 130.56,126.6 129.06,125.17 129.55,122.49 130.51,119.94 131.89,117.59 133.66,115.51 135.75,113.75 138.09,112.35 140.62,111.33 143.28,110.71","93.48,99.51 95.92,99.65 98.29,100.24 100.52,101.26 102.51,102.68 104.2,104.45 105.53,106.5 106.44,108.78 106.92,111.17 107,113.62 107,116.07 107,118.53 107,120.98 107,123.43 107,125.88 107,128.33 106.99,130.78 106.7,133.21 105.98,135.55 104.81,137.7 103.27,139.6 101.41,141.18 99.27,142.38 96.95,143.15 94.52,143.49 92.08,143.35 89.71,142.76 87.48,141.74 85.49,140.32 83.8,138.55 82.47,136.5 81.56,134.22 81.08,131.83 81,129.38 81,126.93 81,124.47 81,122.02 81,119.57 81,117.12 81,114.67 81.01,112.22 81.3,109.79 82.02,107.45 83.19,105.3 84.73,103.4 86.59,101.82 88.73,100.62 91.05,99.85|145.48,99.51 147.92,99.65 150.29,100.24 152.52,101.26 154.51,102.68 156.2,104.45 157.53,106.5 158.44,108.78 158.92,111.17 159,113.62 159,116.07 159,118.53 159,120.98 159,123.43 159,125.88 159,128.33 158.99,130.78 158.7,133.21 157.98,135.55 156.81,137.7 155.27,139.6 153.41,141.18 151.27,142.38 148.95,143.15 146.52,143.49 144.08,143.35 141.71,142.76 139.48,141.74 137.49,140.32 135.8,138.55 134.47,136.5 133.56,134.22 133.08,131.83 133,129.38 133,126.93 133,124.47 133,122.02 133,119.57 133,117.12 133,114.67 133.01,112.22 133.3,109.79 134.02,107.45 135.19,105.3 136.73,103.4 138.59,101.82 140.73,100.62 143.05,99.85","102.5,124 103.64,124.19 104.66,124.75 105.44,125.61 105.9,126.68 105.98,127.83 105.68,128.96 105.03,129.92 104.1,130.61 102.99,130.96 101.83,131 100.66,131 99.5,131 98.33,131 97.16,131 96,131 94.83,131 93.66,131 92.5,131 91.33,131 90.17,131 89,131 87.83,131 86.67,131 85.5,131 84.36,130.81 83.34,130.25 82.56,129.39 82.1,128.32 82.02,127.17 82.32,126.04 82.97,125.08 83.9,124.39 85.01,124.04 86.17,124 87.34,124 88.5,124 89.67,124 90.84,124 92,124 93.17,124 94.34,124 95.5,124 96.67,124 97.83,124 99,124 100.17,124 101.33,124|154.5,124 155.64,124.19 156.66,124.75 157.44,125.61 157.9,126.68 157.98,127.83 157.68,128.96 157.03,129.92 156.1,130.61 154.99,130.96 153.83,131 152.66,131 151.5,131 150.33,131 149.16,131 148,131 146.83,131 145.66,131 144.5,131 143.33,131 142.17,131 141,131 139.83,131 138.67,131 137.5,131 136.36,130.81 135.34,130.25 134.56,129.39 134.1,128.32 134.02,127.17 134.32,126.04 134.97,125.08 135.9,124.39 137.01,124.04 138.17,124 139.34,124 140.5,124 141.67,124 142.84,124 144,124 145.17,124 146.34,124 147.5,124 148.67,124 149.83,124 151,124 152.17,124 153.33,124","100.4,110.51 101.78,110.67 103.13,111.01 104.42,111.53 105.62,112.23 106.71,113.1 107.67,114.1 108.49,115.22 109.14,116.46 109.61,117.76 109.9,119.12 110,120.51 110,121.9 109.97,123.29 109.76,124.67 109.36,126 108.79,127.27 108.04,128.44 107.13,129.5 106.09,130.42 104.94,131.19 103.68,131.79 102.36,132.21 100.99,132.44 99.6,132.49 98.22,132.33 96.87,131.99 95.58,131.47 94.38,130.77 93.29,129.9 92.33,128.9 91.51,127.78 90.86,126.54 90.39,125.24 90.1,123.88 90,122.49 90,121.1 90.03,119.71 90.24,118.33 90.64,117 91.21,115.73 91.96,114.56 92.87,113.5 93.91,112.58 95.06,111.81 96.32,111.21 97.64,110.79 99.01,110.56|151.6,98.51 153.65,98.64 155.63,99.19 157.46,100.13 159.05,101.42 160.35,103.01 161.3,104.83 161.85,106.81 162,108.86 162,110.92 162,112.98 162,115.04 162,117.1 162,119.16 162,121.21 162,123.27 162,125.33 161.96,127.39 161.56,129.41 160.77,131.3 159.6,132.99 158.11,134.41 156.37,135.49 154.44,136.19 152.4,136.49 150.35,136.36 148.37,135.81 146.54,134.87 144.95,133.58 143.65,131.99 142.7,130.17 142.15,128.19 142,126.14 142,124.08 142,122.02 142,119.96 142,117.9 142,115.84 142,113.79 142,111.73 142,109.67 142.04,107.61 142.44,105.59 143.23,103.7 144.4,102.01 145.89,100.59 147.63,99.51 149.56,98.81","89.4,104.01 91.39,104.3 93.29,104.97 95.01,106.02 96.49,107.38 97.66,109.02 98.49,110.85 98.92,112.82 99,114.83 99,116.85 99,118.87 99,120.89 99,122.9 99,124.92 99,126.94 99,128.95 99,130.97 98.8,132.97 98.21,134.9 97.23,136.66 95.94,138.2 94.35,139.44 92.55,140.35 90.61,140.86 88.6,140.99 86.61,140.7 84.71,140.03 82.99,138.98 81.51,137.62 80.34,135.98 79.51,134.15 79.08,132.18 79,130.17 79,128.15 79,126.13 79,124.11 79,122.1 79,120.08 79,118.06 79,116.05 79,114.03 79.2,112.03 79.79,110.1 80.77,108.34 82.06,106.8 83.65,105.56 85.45,104.65 87.39,104.14|140.6,104.01 142.61,104.14 144.55,104.65 146.35,105.56 147.94,106.8 149.23,108.34 150.21,110.1 150.8,112.03 151,114.03 151,116.05 151,118.06 151,120.08 151,122.1 151,124.11 151,126.13 151,128.15 151,130.17 150.92,132.18 150.49,134.15 149.66,135.98 148.49,137.62 147.01,138.98 145.29,140.03 143.39,140.7 141.4,140.99 139.39,140.86 137.45,140.35 135.65,139.44 134.06,138.2 132.77,136.66 131.79,134.9 131.2,132.97 131,130.97 131,128.95 131,126.94 131,124.92 131,122.9 131,120.89 131,118.87 131,116.85 131,114.83 131.08,112.82 131.51,110.85 132.34,109.02 133.51,107.38 134.99,106.02 136.71,104.97 138.61,104.3","95.08,108.69 96.88,108.79 98.63,109.21 100.29,109.93 101.79,110.94 103.07,112.21 104.11,113.69 104.87,115.33 105.32,117.07 105.44,118.88 105.24,120.67 104.82,122.43 104.38,124.18 103.95,125.94 103.51,127.69 103.07,129.45 102.63,131.2 102.19,132.96 101.56,134.65 100.63,136.2 99.45,137.56 98.03,138.68 96.43,139.53 94.71,140.08 92.92,140.31 91.12,140.21 89.37,139.79 87.71,139.07 86.21,138.06 84.93,136.79 83.89,135.31 83.13,133.67 82.68,131.93 82.56,130.12 82.76,128.33 83.18,126.57 83.62,124.82 84.05,123.06 84.49,121.31 84.93,119.55 85.37,117.8 85.81,116.04 86.44,114.35 87.37,112.8 88.55,111.44 89.97,110.32 91.57,109.47 93.29,108.92|144.92,108.69 146.71,108.92 148.43,109.47 150.03,110.32 151.45,111.44 152.63,112.8 153.56,114.35 154.19,116.04 154.63,117.8 155.07,119.55 155.51,121.31 155.95,123.06 156.38,124.82 156.82,126.57 157.24,128.33 157.44,130.12 157.32,131.93 156.87,133.67 156.11,135.31 155.07,136.79 153.79,138.06 152.29,139.07 150.63,139.79 148.88,140.21 147.08,140.31 145.29,140.08 143.57,139.53 141.97,138.68 140.55,137.56 139.37,136.2 138.44,134.65 137.81,132.96 137.37,131.2 136.93,129.45 136.49,127.69 136.05,125.94 135.62,124.18 135.18,122.43 134.76,120.67 134.56,118.88 134.68,117.07 135.13,115.33 135.89,113.69 136.93,112.21 138.21,110.94 139.71,109.93 141.37,109.21 143.12,108.79","88.4,98.51 90.44,98.81 92.37,99.51 94.11,100.59 95.6,102.01 96.77,103.7 97.56,105.59 97.96,107.61 98,109.67 98,111.73 98,113.79 98,115.84 98,117.9 98,119.96 98,122.02 98,124.08 98,126.14 97.85,128.19 97.3,130.17 96.35,131.99 95.05,133.58 93.46,134.87 91.63,135.81 89.65,136.36 87.6,136.49 85.56,136.19 83.63,135.49 81.89,134.41 80.4,132.99 79.23,131.3 78.44,129.41 78.04,127.39 78,125.33 78,123.27 78,121.21 78,119.16 78,117.1 78,115.04 78,112.98 78,110.92 78,108.86 78.15,106.81 78.7,104.83 79.65,103.01 80.95,101.42 82.54,100.13 84.37,99.19 86.35,98.64|139.6,98.51 141.65,98.64 143.63,99.19 145.46,100.13 147.05,101.42 148.35,103.01 149.3,104.83 149.85,106.81 150,108.86 150,110.92 150,112.98 150,115.04 150,117.1 150,119.16 150,121.21 150,123.27 150,125.33 149.96,127.39 149.56,129.41 148.77,131.3 147.6,132.99 146.11,134.41 144.37,135.49 142.44,136.19 140.4,136.49 138.35,136.36 136.37,135.81 134.54,134.87 132.95,133.58 131.65,131.99 130.7,130.17 130.15,128.19 130,126.14 130,124.08 130,122.02 130,119.96 130,117.9 130,115.84 130,113.79 130,111.73 130,109.67 130.04,107.61 130.44,105.59 131.23,103.7 132.4,102.01 133.89,100.59 135.63,99.51 137.56,98.81","94.4,112.01 96.23,112.26 97.99,112.84 99.61,113.72 101.03,114.9 102.22,116.32 103.13,117.92 103.72,119.67 103.98,121.5 104,123.35 104,125.2 104,127.05 104,128.9 104,130.75 104,132.6 104,134.45 103.91,136.3 103.5,138.1 102.77,139.8 101.73,141.33 100.44,142.64 98.92,143.7 97.24,144.45 95.44,144.89 93.6,144.99 91.77,144.74 90.01,144.16 88.39,143.28 86.97,142.1 85.78,140.68 84.87,139.08 84.28,137.33 84.02,135.5 84,133.65 84,131.8 84,129.95 84,128.1 84,126.25 84,124.4 84,122.55 84.09,120.7 84.5,118.9 85.23,117.2 86.27,115.67 87.56,114.36 89.08,113.3 90.76,112.55 92.56,112.11|145.6,112.01 147.44,112.11 149.24,112.55 150.92,113.3 152.44,114.36 153.73,115.67 154.77,117.2 155.5,118.9 155.91,120.7 156,122.55 156,124.4 156,126.25 156,128.1 156,129.95 156,131.8 156,133.65 155.98,135.5 155.72,137.33 155.13,139.08 154.22,140.68 153.03,142.1 151.61,143.28 149.99,144.16 148.23,144.74 146.4,144.99 144.56,144.89 142.76,144.45 141.08,143.7 139.56,142.64 138.27,141.33 137.23,139.8 136.5,138.1 136.09,136.3 136,134.45 136,132.6 136,130.75 136,128.9 136,127.05 136,125.2 136,123.35 136.02,121.5 136.28,119.67 136.87,117.92 137.78,116.32 138.97,114.9 140.39,113.72 142.01,112.84 143.77,112.26","100.4,103.51 102.44,103.81 104.37,104.51 106.11,105.59 107.6,107.01 108.77,108.7 109.56,110.59 109.96,112.61 110,114.67 110,116.73 110,118.79 110,120.84 110,122.9 110,124.96 110,127.02 110,129.08 110,131.14 109.85,133.19 109.3,135.17 108.35,136.99 107.05,138.58 105.46,139.87 103.63,140.81 101.65,141.36 99.6,141.49 97.56,141.19 95.63,140.49 93.89,139.41 92.4,137.99 91.23,136.3 90.44,134.41 90.04,132.39 90,130.33 90,128.27 90,126.21 90,124.16 90,122.1 90,120.04 90,117.98 90,115.92 90,113.86 90.15,111.81 90.7,109.83 91.65,108.01 92.95,106.42 94.54,105.13 96.37,104.19 98.35,103.64|151.6,103.51 153.65,103.64 155.63,104.19 157.46,105.13 159.05,106.42 160.35,108.01 161.3,109.83 161.85,111.81 162,113.86 162,115.92 162,117.98 162,120.04 162,122.1 162,124.16 162,126.21 162,128.27 162,130.33 161.96,132.39 161.56,134.41 160.77,136.3 159.6,137.99 158.11,139.41 156.37,140.49 154.44,141.19 152.4,141.49 150.35,141.36 148.37,140.81 146.54,139.87 144.95,138.58 143.65,136.99 142.7,135.17 142.15,133.19 142,131.14 142,129.08 142,127.02 142,124.96 142,122.9 142,120.84 142,118.79 142,116.73 142,114.67 142.04,112.61 142.44,110.59 143.23,108.7 144.4,107.01 145.89,105.59 147.63,104.51 149.56,103.81","94,111 96.39,111.16 98.74,111.65 101,112.46 103.12,113.58 105.04,115.02 106.69,116.76 108.02,118.75 108.95,120.96 109.44,123.31 108.14,124.58 105.78,125 103.42,125.43 103.52,126.94 105.64,127.95 107.93,127.42 109.32,125.52 107.32,125.07 104.93,124.87 102.53,124.67 102.01,122.37 100.6,120.44 98.64,119.07 96.38,118.27 94,118 91.62,118.27 89.36,119.07 87.4,120.44 85.99,122.37 85.47,124.67 83.07,124.87 80.68,125.07 78.68,125.52 80.07,127.42 82.36,127.95 84.48,126.94 84.58,125.43 82.22,125 79.86,124.58 78.56,123.31 79.05,120.96 79.98,118.75 81.31,116.76 82.96,115.02 84.88,113.58 87,112.46 89.26,111.65 91.61,111.16|146,111 148.39,111.16 150.74,111.65 153,112.46 155.12,113.58 157.04,115.02 158.69,116.76 160.02,118.75 160.95,120.96 161.44,123.31 160.14,124.58 157.78,125 155.42,125.43 155.52,126.94 157.64,127.95 159.93,127.42 161.32,125.52 159.32,125.07 156.93,124.87 154.53,124.67 154.01,122.37 152.6,120.44 150.64,119.07 148.38,118.27 146,118 143.62,118.27 141.36,119.07 139.4,120.44 137.99,122.37 137.47,124.67 135.07,124.87 132.68,125.07 130.68,125.52 132.07,127.42 134.36,127.95 136.48,126.94 136.58,125.43 134.22,125 131.86,124.58 130.56,123.31 131.05,120.96 131.98,118.75 133.31,116.76 134.96,115.02 136.88,113.58 139,112.46 141.26,111.65 143.61,111.16","84.62,104.51 86.56,104.64 88.44,105.15 90.17,106.04 91.69,107.26 92.92,108.77 93.82,110.49 94.35,112.37 94.5,114.31 94.5,116.26 94.5,118.21 94.5,120.17 94.5,122.12 94.5,124.07 94.5,126.02 94.5,127.97 94.5,129.92 94.46,131.87 94.08,133.78 93.32,135.58 92.21,137.18 90.8,138.52 89.14,139.55 87.31,140.21 85.38,140.49 83.44,140.36 81.56,139.85 79.83,138.96 78.31,137.74 77.08,136.23 76.18,134.51 75.65,132.63 75.5,130.69 75.5,128.74 75.5,126.79 75.5,124.83 75.5,122.88 75.5,120.93 75.5,118.98 75.5,117.03 75.5,115.08 75.54,113.13 75.92,111.22 76.68,109.42 77.79,107.82 79.2,106.48 80.86,105.45 82.69,104.79|136.62,104.51 138.56,104.64 140.44,105.15 142.17,106.04 143.69,107.26 144.92,108.77 145.82,110.49 146.35,112.37 146.5,114.31 146.5,116.26 146.5,118.21 146.5,120.17 146.5,122.12 146.5,124.07 146.5,126.02 146.5,127.97 146.5,129.92 146.46,131.87 146.08,133.78 145.32,135.58 144.21,137.18 142.8,138.52 141.14,139.55 139.31,140.21 137.38,140.49 135.44,140.36 133.56,139.85 131.83,138.96 130.31,137.74 129.08,136.23 128.18,134.51 127.65,132.63 127.5,130.69 127.5,128.74 127.5,126.79 127.5,124.83 127.5,122.88 127.5,120.93 127.5,118.98 127.5,117.03 127.5,115.08 127.54,113.13 127.92,111.22 128.68,109.42 129.79,107.82 131.2,106.48 132.86,105.45 134.69,104.79","97.5,125 98.77,125.11 100,125.43 101.15,125.96 102.21,126.67 103.13,127.55 103.88,128.57 104.45,129.7 104.83,130.92 104.99,132.18 104.94,133.45 104.67,134.69 104.19,135.87 103.53,136.95 102.69,137.91 101.7,138.71 100.59,139.33 99.39,139.75 98.14,139.97 96.87,140 95.59,140 94.32,140 93.05,140 91.77,140 90.5,140 89.23,139.89 88,139.57 86.85,139.04 85.79,138.33 84.87,137.45 84.12,136.43 83.55,135.3 83.17,134.08 83.01,132.82 83.06,131.55 83.33,130.31 83.81,129.13 84.47,128.05 85.31,127.09 86.3,126.29 87.41,125.67 88.61,125.25 89.86,125.03 91.13,125 92.41,125 93.68,125 94.95,125 96.23,125|149.5,125 150.77,125.11 152,125.43 153.15,125.96 154.21,126.67 155.13,127.55 155.88,128.57 156.45,129.7 156.83,130.92 156.99,132.18 156.94,133.45 156.67,134.69 156.19,135.87 155.53,136.95 154.69,137.91 153.7,138.71 152.59,139.33 151.39,139.75 150.14,139.97 148.87,140 147.59,140 146.32,140 145.05,140 143.77,140 142.5,140 141.23,139.89 140,139.57 138.85,139.04 137.79,138.33 136.87,137.45 136.12,136.43 135.55,135.3 135.17,134.08 135.01,132.82 135.06,131.55 135.33,130.31 135.81,129.13 136.47,128.05 137.31,127.09 138.3,126.29 139.41,125.67 140.61,125.25 141.86,125.03 143.13,125 144.41,125 145.68,125 146.95,125 148.23,125","88.5,108.5 89.85,108.6 91.17,108.87 92.44,109.31 93.64,109.93 94.75,110.7 95.74,111.61 96.6,112.65 97.32,113.8 97.87,115.02 98.25,116.32 98.46,117.65 98.48,119 98.32,120.34 97.98,121.64 97.48,122.89 96.8,124.06 95.98,125.13 95.02,126.08 93.94,126.89 92.76,127.54 91.5,128.03 90.19,128.35 88.85,128.49 87.5,128.5 86.15,128.4 84.83,128.13 83.56,127.69 82.36,127.07 81.25,126.3 80.26,125.39 79.4,124.35 78.68,123.2 78.13,121.98 77.75,120.68 77.54,119.35 77.52,118 77.68,116.66 78.02,115.36 78.52,114.11 79.2,112.94 80.02,111.87 80.98,110.92 82.06,110.11 83.24,109.46 84.5,108.97 85.81,108.65 87.15,108.51|140.5,108.5 141.85,108.6 143.17,108.87 144.44,109.31 145.64,109.93 146.75,110.7 147.74,111.61 148.6,112.65 149.32,113.8 149.87,115.02 150.25,116.32 150.46,117.65 150.48,119 150.32,120.34 149.98,121.64 149.48,122.89 148.8,124.06 147.98,125.13 147.02,126.08 145.94,126.89 144.76,127.54 143.5,128.03 142.19,128.35 140.85,128.49 139.5,128.5 138.15,128.4 136.83,128.13 135.56,127.69 134.36,127.07 133.25,126.3 132.26,125.39 131.4,124.35 130.68,123.2 130.13,121.98 129.75,120.68 129.54,119.35 129.52,118 129.68,116.66 130.02,115.36 130.52,114.11 131.2,112.94 132.02,111.87 132.98,110.92 134.06,110.11 135.24,109.46 136.5,108.97 137.81,108.65 139.15,108.51","93.58,95.51 95.73,95.65 97.82,96.22 99.74,97.22 101.42,98.58 102.78,100.25 103.77,102.17 104.35,104.26 104.5,106.41 104.5,108.58 104.5,110.75 104.5,112.91 104.5,115.08 104.5,117.24 104.5,119.41 104.5,121.57 104.5,123.74 104.46,125.9 104.05,128.03 103.22,130.02 101.99,131.8 100.43,133.29 98.59,134.44 96.56,135.17 94.42,135.49 92.27,135.35 90.18,134.78 88.26,133.78 86.58,132.42 85.22,130.75 84.23,128.83 83.65,126.74 83.5,124.59 83.5,122.42 83.5,120.25 83.5,118.09 83.5,115.92 83.5,113.76 83.5,111.59 83.5,109.43 83.5,107.26 83.54,105.1 83.95,102.97 84.78,100.98 86.01,99.2 87.57,97.71 89.41,96.56 91.44,95.83|145.58,95.51 147.73,95.65 149.82,96.22 151.74,97.22 153.42,98.58 154.78,100.25 155.77,102.17 156.35,104.26 156.5,106.41 156.5,108.58 156.5,110.75 156.5,112.91 156.5,115.08 156.5,117.24 156.5,119.41 156.5,121.57 156.5,123.74 156.46,125.9 156.05,128.03 155.22,130.02 153.99,131.8 152.43,133.29 150.59,134.44 148.56,135.17 146.42,135.49 144.27,135.35 142.18,134.78 140.26,133.78 138.58,132.42 137.22,130.75 136.23,128.83 135.65,126.74 135.5,124.59 135.5,122.42 135.5,120.25 135.5,118.09 135.5,115.92 135.5,113.76 135.5,111.59 135.5,109.43 135.5,107.26 135.54,105.1 135.95,102.97 136.78,100.98 138.01,99.2 139.57,97.71 141.41,96.56 143.44,95.83","95.58,109.8 97.29,109.93 98.96,110.35 100.54,111.05 101.97,112.01 103.21,113.2 104.24,114.59 105.01,116.13 105.5,117.78 105.7,119.49 105.6,121.21 105.21,122.89 104.64,124.51 104.05,126.14 103.46,127.76 102.87,129.38 102.28,131 101.69,132.62 100.96,134.18 99.97,135.59 98.76,136.82 97.35,137.81 95.8,138.56 94.14,139.02 92.42,139.2 90.71,139.07 89.04,138.65 87.46,137.95 86.03,136.99 84.79,135.8 83.76,134.41 82.99,132.87 82.5,131.22 82.3,129.51 82.4,127.79 82.79,126.11 83.36,124.49 83.95,122.86 84.54,121.24 85.13,119.62 85.72,118 86.31,116.38 87.04,114.82 88.03,113.41 89.24,112.18 90.65,111.19 92.2,110.44 93.86,109.98|144.42,109.8 146.14,109.98 147.8,110.44 149.35,111.19 150.76,112.18 151.97,113.41 152.96,114.82 153.69,116.38 154.28,118 154.87,119.62 155.46,121.24 156.05,122.86 156.64,124.49 157.21,126.11 157.6,127.79 157.7,129.51 157.5,131.22 157.01,132.87 156.24,134.41 155.21,135.8 153.97,136.99 152.54,137.95 150.96,138.65 149.29,139.07 147.58,139.2 145.86,139.02 144.2,138.56 142.65,137.81 141.24,136.82 140.03,135.59 139.04,134.18 138.31,132.62 137.72,131 137.13,129.38 136.54,127.76 135.95,126.14 135.36,124.51 134.79,122.89 134.4,121.21 134.3,119.49 134.5,117.78 134.99,116.13 135.76,114.59 136.79,113.2 138.03,112.01 139.46,111.05 141.04,110.35 142.71,109.93","94,108 97.12,108.24 100.16,108.96 103.06,110.13 105.74,111.74 108.13,113.76 110.15,116.15 111.74,118.84 112.84,121.77 113.41,124.84 111.86,126.6 108.78,127.13 105.69,127.67 105.81,129.64 108.58,130.94 111.54,130.19 113.31,127.69 110.5,127.22 107.38,126.95 104.49,126.45 103.91,123.39 102.31,120.71 99.95,118.68 97.09,117.43 94,117 90.91,117.43 88.05,118.68 85.69,120.71 84.09,123.39 83.51,126.45 80.62,126.95 77.5,127.22 74.69,127.69 76.46,130.19 79.42,130.94 82.19,129.64 82.31,127.67 79.22,127.13 76.14,126.6 74.59,124.84 75.16,121.77 76.26,118.84 77.85,116.15 79.87,113.76 82.26,111.74 84.94,110.13 87.84,108.96 90.88,108.24|146,108 149.12,108.24 152.16,108.96 155.06,110.13 157.74,111.74 160.13,113.76 162.15,116.15 163.74,118.84 164.84,121.77 165.41,124.84 163.86,126.6 160.78,127.13 157.69,127.67 157.81,129.64 160.58,130.94 163.54,130.19 165.31,127.69 162.5,127.22 159.38,126.95 156.49,126.45 155.91,123.39 154.31,120.71 151.95,118.68 149.09,117.43 146,117 142.91,117.43 140.05,118.68 137.69,120.71 136.09,123.39 135.51,126.45 132.62,126.95 129.5,127.22 126.69,127.69 128.46,130.19 131.42,130.94 134.19,129.64 134.31,127.67 131.22,127.13 128.14,126.6 126.59,124.84 127.16,121.77 128.26,118.84 129.85,116.15 131.87,113.76 134.26,111.74 136.94,110.13 139.84,108.96 142.88,108.24","102.62,104.51 104.56,104.64 106.44,105.15 108.17,106.04 109.69,107.26 110.92,108.77 111.82,110.49 112.35,112.37 112.5,114.31 112.5,116.26 112.5,118.21 112.5,120.17 112.5,122.12 112.5,124.07 112.5,126.02 112.5,127.97 112.5,129.92 112.46,131.87 112.08,133.78 111.32,135.58 110.21,137.18 108.8,138.52 107.14,139.55 105.31,140.21 103.38,140.49 101.44,140.36 99.56,139.85 97.83,138.96 96.31,137.74 95.08,136.23 94.18,134.51 93.65,132.63 93.5,130.69 93.5,128.74 93.5,126.79 93.5,124.83 93.5,122.88 93.5,120.93 93.5,118.98 93.5,117.03 93.5,115.08 93.54,113.13 93.92,111.22 94.68,109.42 95.79,107.82 97.2,106.48 98.86,105.45 100.69,104.79|154.62,104.51 156.56,104.64 158.44,105.15 160.17,106.04 161.69,107.26 162.92,108.77 163.82,110.49 164.35,112.37 164.5,114.31 164.5,116.26 164.5,118.21 164.5,120.17 164.5,122.12 164.5,124.07 164.5,126.02 164.5,127.97 164.5,129.92 164.46,131.87 164.08,133.78 163.32,135.58 162.21,137.18 160.8,138.52 159.14,139.55 157.31,140.21 155.38,140.49 153.44,140.36 151.56,139.85 149.83,138.96 148.31,137.74 147.08,136.23 146.18,134.51 145.65,132.63 145.5,130.69 145.5,128.74 145.5,126.79 145.5,124.83 145.5,122.88 145.5,120.93 145.5,118.98 145.5,117.03 145.5,115.08 145.54,113.13 145.92,111.22 146.68,109.42 147.79,107.82 149.2,106.48 150.86,105.45 152.69,104.79","93.48,105.51 95.34,105.58 97.18,105.91 98.95,106.49 100.62,107.32 102.16,108.38 103.52,109.66 104.68,111.11 105.63,112.72 106.35,114.44 106.8,116.25 106.98,118.11 107,119.98 107,121.84 106.94,123.71 106.63,125.55 106.06,127.33 105.24,129 104.2,130.55 102.94,131.93 101.5,133.11 99.9,134.07 98.18,134.8 96.38,135.27 94.52,135.49 92.66,135.42 90.82,135.09 89.05,134.51 87.38,133.68 85.84,132.62 84.48,131.34 83.32,129.89 82.37,128.28 81.65,126.56 81.2,124.75 81.02,122.89 81,121.02 81,119.16 81.06,117.29 81.37,115.45 81.94,113.67 82.76,112 83.8,110.45 85.06,109.07 86.5,107.89 88.1,106.93 89.82,106.2 91.62,105.73|145.48,105.51 147.34,105.58 149.18,105.91 150.95,106.49 152.62,107.32 154.16,108.38 155.52,109.66 156.68,111.11 157.63,112.72 158.35,114.44 158.8,116.25 158.98,118.11 159,119.98 159,121.84 158.94,123.71 158.63,125.55 158.06,127.33 157.24,129 156.2,130.55 154.94,131.93 153.5,133.11 151.9,134.07 150.18,134.8 148.38,135.27 146.52,135.49 144.66,135.42 142.82,135.09 141.05,134.51 139.38,133.68 137.84,132.62 136.48,131.34 135.32,129.89 134.37,128.28 133.65,126.56 133.2,124.75 133.02,122.89 133,121.02 133,119.16 133.06,117.29 133.37,115.45 133.94,113.67 134.76,112 135.8,110.45 137.06,109.07 138.5,107.89 140.1,106.93 141.82,106.2 143.62,105.73","86.62,110.51 88.48,110.62 90.28,111.09 91.96,111.91 93.45,113.03 94.69,114.42 95.63,116.04 96.24,117.8 96.49,119.64 96.5,121.51 96.5,123.38 96.5,125.25 96.5,127.12 96.5,128.99 96.5,130.85 96.5,132.72 96.5,134.59 96.39,136.45 95.92,138.26 95.11,139.94 93.99,141.43 92.6,142.67 90.99,143.62 89.23,144.23 87.38,144.49 85.52,144.38 83.72,143.91 82.04,143.09 80.55,141.97 79.31,140.58 78.37,138.96 77.76,137.2 77.51,135.36 77.5,133.49 77.5,131.62 77.5,129.75 77.5,127.88 77.5,126.01 77.5,124.15 77.5,122.28 77.5,120.41 77.61,118.55 78.08,116.74 78.89,115.06 80.01,113.57 81.4,112.33 83.01,111.38 84.77,110.77|138.62,110.51 140.48,110.62 142.28,111.09 143.96,111.91 145.45,113.03 146.69,114.42 147.63,116.04 148.24,117.8 148.49,119.64 148.5,121.51 148.5,123.38 148.5,125.25 148.5,127.12 148.5,128.99 148.5,130.85 148.5,132.72 148.5,134.59 148.39,136.45 147.92,138.26 147.11,139.94 145.99,141.43 144.6,142.67 142.99,143.62 141.23,144.23 139.38,144.49 137.52,144.38 135.72,143.91 134.04,143.09 132.55,141.97 131.31,140.58 130.37,138.96 129.76,137.2 129.51,135.36 129.5,133.49 129.5,131.62 129.5,129.75 129.5,127.88 129.5,126.01 129.5,124.15 129.5,122.28 129.5,120.41 129.61,118.55 130.08,116.74 130.89,115.06 132.01,113.57 133.4,112.33 135.01,111.38 136.77,110.77","94.6,97.51 97.21,97.85 99.71,98.64 102.04,99.85 104.13,101.45 105.9,103.38 107.31,105.6 108.31,108.03 108.87,110.59 109,113.22 109,115.84 109,118.47 109,121.1 109,123.73 109,126.36 108.98,128.99 108.66,131.6 107.9,134.11 106.71,136.45 105.13,138.55 103.2,140.33 101,141.75 98.58,142.77 96.02,143.36 93.4,143.49 90.79,143.15 88.29,142.36 85.96,141.15 83.87,139.55 82.1,137.62 80.69,135.4 79.69,132.97 79.13,130.41 79,127.78 79,125.16 79,122.53 79,119.9 79,117.27 79,114.64 79.02,112.01 79.34,109.4 80.1,106.89 81.29,104.55 82.87,102.45 84.8,100.67 87,99.25 89.42,98.23 91.98,97.64|145.4,97.51 148.02,97.64 150.58,98.23 153,99.25 155.2,100.67 157.13,102.45 158.71,104.55 159.9,106.89 160.66,109.4 160.98,112.01 161,114.64 161,117.27 161,119.9 161,122.53 161,125.16 161,127.78 160.87,130.41 160.31,132.97 159.31,135.4 157.9,137.62 156.13,139.55 154.04,141.15 151.71,142.36 149.21,143.15 146.6,143.49 143.98,143.36 141.42,142.77 139,141.75 136.8,140.33 134.87,138.55 133.29,136.45 132.1,134.11 131.34,131.6 131.02,128.99 131,126.36 131,123.73 131,121.1 131,118.47 131,115.84 131,113.22 131.13,110.59 131.69,108.03 132.69,105.6 134.1,103.38 135.87,101.45 137.96,99.85 140.29,98.64 142.79,97.85","81.79,118.01 79.73,118.87 78.57,120.79 80.84,120.96 83.11,121.12 85.39,121.29 86.3,123.25 88.1,124.63 90.21,125.48 92.45,125.92 94.73,125.98 96.99,125.68 99.16,124.99 101.11,123.82 102.43,122.01 104.06,121.18 106.34,121.02 108.61,120.85 108.82,119.48 107.02,118.16 104.78,118.25 103.04,119.65 104.1,120.67 106.34,121.1 108.58,121.53 109.35,123.05 108.68,125.22 107.53,127.18 105.98,128.86 104.17,130.23 102.16,131.31 100.03,132.11 97.81,132.65 95.55,132.94 93.27,132.98 91,132.78 88.77,132.34 86.6,131.63 84.54,130.66 82.65,129.39 81,127.82 79.69,125.96 78.83,123.85 78.61,121.69 80.85,121.26 83.09,120.83 85.32,120.39 83.94,118.63|133.79,118.01 131.73,118.87 130.57,120.79 132.84,120.96 135.11,121.12 137.39,121.29 138.3,123.25 140.1,124.63 142.21,125.48 144.45,125.92 146.73,125.98 148.99,125.68 151.16,124.99 153.11,123.82 154.43,122.01 156.06,121.18 158.34,121.02 160.61,120.85 160.82,119.48 159.02,118.16 156.78,118.25 155.04,119.65 156.1,120.67 158.34,121.1 160.58,121.53 161.35,123.05 160.68,125.22 159.53,127.18 157.98,128.86 156.17,130.23 154.16,131.31 152.03,132.11 149.81,132.65 147.55,132.94 145.27,132.98 143,132.78 140.77,132.34 138.6,131.63 136.54,130.66 134.65,129.39 133,127.82 131.69,125.96 130.83,123.85 130.61,121.69 132.85,121.26 135.09,120.83 137.32,120.39 135.94,118.63","102,111.5 103.24,111.62 104.44,111.95 105.57,112.48 106.58,113.21 107.45,114.11 108.14,115.15 108.64,116.29 108.92,117.51 108.99,118.75 108.84,119.99 108.46,121.18 107.88,122.28 107.12,123.27 106.19,124.11 105.13,124.76 103.97,125.21 102.74,125.46 101.5,125.5 100.25,125.5 99,125.5 97.75,125.5 96.5,125.5 95.25,125.5 94,125.5 92.76,125.38 91.56,125.05 90.43,124.52 89.42,123.79 88.55,122.89 87.86,121.85 87.36,120.71 87.08,119.49 87.01,118.25 87.16,117.01 87.54,115.82 88.12,114.72 88.88,113.73 89.81,112.89 90.87,112.24 92.03,111.79 93.26,111.54 94.5,111.5 95.75,111.5 97,111.5 98.25,111.5 99.5,111.5 100.75,111.5|149.6,106.51 151.4,106.6 153.16,107.02 154.81,107.74 156.31,108.75 157.6,110.01 158.64,111.49 159.41,113.12 159.87,114.87 160,116.67 160,118.48 160,120.29 160,122.1 160,123.91 160,125.71 160,127.52 159.96,129.33 159.65,131.11 159.02,132.8 158.1,134.36 156.92,135.72 155.5,136.84 153.91,137.69 152.19,138.25 150.4,138.49 148.6,138.4 146.84,137.98 145.19,137.26 143.69,136.25 142.4,134.99 141.36,133.51 140.59,131.88 140.13,130.13 140,128.33 140,126.52 140,124.71 140,122.9 140,121.09 140,119.29 140,117.48 140.04,115.67 140.35,113.89 140.98,112.2 141.9,110.64 143.08,109.28 144.5,108.16 146.09,107.31 147.81,106.75","88.66,115.51 90.14,115.58 91.59,115.91 92.96,116.49 94.21,117.29 95.3,118.3 96.2,119.48 96.87,120.8 97.31,122.22 97.49,123.7 97.5,125.18 97.5,126.67 97.5,128.16 97.5,129.65 97.5,131.13 97.5,132.62 97.42,134.1 97.1,135.55 96.54,136.93 95.74,138.18 94.73,139.27 93.55,140.17 92.23,140.85 90.82,141.3 89.34,141.49 87.86,141.42 86.41,141.09 85.04,140.51 83.79,139.71 82.7,138.7 81.8,137.52 81.13,136.2 80.69,134.78 80.51,133.3 80.5,131.82 80.5,130.33 80.5,128.84 80.5,127.35 80.5,125.87 80.5,124.38 80.58,122.9 80.9,121.45 81.46,120.07 82.26,118.82 83.27,117.73 84.45,116.83 85.77,116.15 87.18,115.7|140.66,115.51 142.14,115.58 143.59,115.91 144.96,116.49 146.21,117.29 147.3,118.3 148.2,119.48 148.87,120.8 149.31,122.22 149.49,123.7 149.5,125.18 149.5,126.67 149.5,128.16 149.5,129.65 149.5,131.13 149.5,132.62 149.42,134.1 149.1,135.55 148.54,136.93 147.74,138.18 146.73,139.27 145.55,140.17 144.23,140.85 142.82,141.3 141.34,141.49 139.86,141.42 138.41,141.09 137.04,140.51 135.79,139.71 134.7,138.7 133.8,137.52 133.13,136.2 132.69,134.78 132.51,133.3 132.5,131.82 132.5,130.33 132.5,128.84 132.5,127.35 132.5,125.87 132.5,124.38 132.58,122.9 132.9,121.45 133.46,120.07 134.26,118.82 135.27,117.73 136.45,116.83 137.77,116.15 139.18,115.7"],uo=y9.map(e=>e.split("|").map(t=>t.split(" ").map(n=>{const[r,o]=n.split(",");return[Number(r),Number(o)]}))),tt=e=>{let t=0,n=0;for(const r of e)t+=r[0],n+=r[1];return[t/e.length,n/e.length]},xe=uo.map(e=>{const t=tt(e[0]),n=tt(e[1]);return[(t[0]+n[0])/2-C2[0],(t[1]+n[1])/2-C2[1]]}),Ge=uo.map((e,t)=>e.map(n=>n.map(r=>[r[0]-xe[t][0],r[1]-xe[t][1]]))),xt=Ge.length,vt=[[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0]],x9=7.5;function v9(e,t){const n=tt(e[0]),r=tt(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 _1={x:56,y:86.5,w:128,h:72,r:36},Ze=1e3/60,Dt=4,fo=[1e3/20,1e3/30,Ze],k9=64,w9=fo[0],_9=.5,S9=.2,po=1400,Ft=200,j9=1/Math.E,je=Y1+30,g2=Y1/2,M9=Math.PI*2,N9=Math.PI/180,b2={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}},E9=e=>{const n=e-1;return 1+(1.7+1)*n*n*n+1.7*n*n},$9=e=>e<.5?2*e*e:1-2*(1-e)*(1-e);function A9(e,t,n){if(n<=0)return"";const r=Y1/2,o=Y1,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)*E9(Math.max(y,0))}if(e.settle!==void 0){const C=Math.min(Math.max(t/po,0),1);u*=1+(e.settle-1)*$9(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 Z9(e){if(!(e>0))return 1/0;for(const t of fo)if(e*t<=_9)return t;return Ze}function Q1(e,t,n){return e*n>=S9?M9*e*n/t:0}function O9(e,t,n){if(t<=0)return 0;let r=0;return e.bob&&(r+=Q1(e.bob[0]*t,e.bob[1],n),e.squash&&(r+=Q1(e.squash*t*.5*Y1,e.bob[1],n))),e.sway&&(r+=Q1(e.sway[0]*t*N9*g2,e.sway[1],n)),e.pulse&&(r+=Q1(e.pulse[0]*t*g2,e.pulse[1],n)),e.circle&&(r+=Q1(e.circle[0]*t,e.circle[1],n)),e.jitter&&(r+=Q1(e.jitter[0]*t,e.jitter[1]*.63,n)),r}function z9(e,t){return!!(e.enter&&t<e.enter[1])||e.settle!==void 0&&t<po}function Me(e,t){return t===1/0?1/0:(Math.floor((e+Dt)/t)+1)*t}function xn(e){return e<=k9?w9:Ze}function I9(e,t){return Math.max(T9(e,t),Me(e,xn(t.sizePx)))}function T9(e,t){const{motion:n,effects:r,stateElapsedMs:o,strength:i}=t,s=Me(e,Ze);if(t.blinkingOrSpinning||i>0&&t.showEffects&&(r?.confetti||r?.trails)||i>0&&z9(n,o))return s;const c=t.sizePx/je,l=Me(e,Z9(O9(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-Ft;return d<p+Ft||d>=h?s:Math.min(l,e+h-d)}function P9(e,t,n,r){return t>=1?0:Math.max(Math.abs(e),j9*n*(1-t))/1e3*r}function R9(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 L9=1;function D9(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()-Dt;if(h<=Ze){r=e.requestFrame(u);return}o=e.setTimer(()=>{o=null,r===null&&!i&&t.size&&(r=e.requestFrame(u))},h-L9)},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+Dt&&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 F9(){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 y2;function ho(){return y2??=D9(F9()),y2}const Co="(prefers-reduced-motion: reduce)";function B9(e){const t=globalThis.window?.matchMedia?.(Co);return t?.addEventListener("change",e),()=>t?.removeEventListener("change",e)}const U9=()=>globalThis.window?.matchMedia?.(Co).matches??!1;function mo(){return m.useSyncExternalStore(B9,U9,()=>!1)}const{id:F6,...W9}=yn.cursor,K9=W9,H9=["#9FE6B5","#3FAE6E","#1C7A4C"],V9=`-15 -15 ${je} ${je}`,Be=114.2705,Ue=105,Bt=Math.PI*2,ve=e=>{const t=Math.sin(e*127.1+311.7)*43758.5453;return t-Math.floor(t)},x2=["#F472B6","#C084FC","#818CF8","#38BDF8","#34D399","#FACC15","#FB7185"],v2=["#4ADE80","#34D399","#22D3EE","#60A5FA"],k2='<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"/>',G9='<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"/>',Ut={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:k2,period:2600,hold:1100}},notifying:{glyph:{markup:k2,period:4200,hold:900}},confused:{glyph:{markup:G9,period:5200,hold:1200}}},J9="http://www.w3.org/2000/svg";function go(e,t){for(;e.childNodes.length>t;)e.removeChild(e.lastChild);for(;e.childNodes.length<t;){const n=document.createElementNS(J9,"path");n.setAttribute("stroke-linecap","round"),n.setAttribute("fill","none"),e.appendChild(n)}return Array.from(e.querySelectorAll(":scope > path"))}function q9(e,t,n,r,o,i){const s=go(e,t.count);for(let c=0;c<t.count;c++){const l=s[c],u=ve(c+1),d=ve(c+41),p=ve(c+91),h=(n+p*t.period)%t.period/t.life*1;if(h>1){l.setAttribute("opacity","0");continue}const C=u*Bt,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,M=11+d*12,N=C+(p-.5)*5*h,w=k+Math.cos(N)*M,v=_+Math.sin(N)*M,A=(u-.5)*M*.7,O=(k+w)/2-Math.sin(N)*A,Z=(_+v)/2+Math.cos(N)*A;l.setAttribute("d",`M${k.toFixed(1)} ${_.toFixed(1)} Q${O.toFixed(1)} ${Z.toFixed(1)} ${w.toFixed(1)} ${v.toFixed(1)}`),l.setAttribute("stroke",x2[c%x2.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 Y9(e,t,n,r,o,i){const s=go(e,t.count),c=12;for(let l=0;l<t.count;l++){const u=s[l],d=ve(l+3),p=ve(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)*Bt+d*Bt,x=.85+p*.7;let k="";for(let _=0;_<=c;_++){const M=_/c,N=y+x*M,w=g*(1+Math.sin(M*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",v2[l%v2.length]),u.setAttribute("stroke-width",(5+d*3).toFixed(1)),u.setAttribute("opacity","0.85")}}function bo(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)/Ft))}function X9(e){const t=Ut[e.state],n=Y1/2,r=e.strength;if(e.trails&&(t?.trails&&e.showEffects&&r>0?Y9(e.trails,t.trails,e.elapsed,r,n,n):e.trails.childNodes.length&&e.trails.replaceChildren()),e.confetti&&(t?.confetti&&e.showEffects&&r>0?q9(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=bo(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 nt={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]},Q9={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]},e8={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},t8=e=>e in nt,n8=Object.keys(nt).filter(t8),Z1=(e,t,n)=>Math.max(t,Math.min(n,e)),w2=()=>null,r8=e=>"M"+e.map(t=>t[0].toFixed(2)+" "+t[1].toFixed(2)).join("L")+"Z",o8=e=>e.map(t=>t.map(n=>[n[0],n[1]])),i8=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 s8(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 a8=e=>`translate(${e.x} ${e.y}) scale(${e.scale}) translate(-120 ${-122.5})`,c8=$n.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=!1,mouthStroke:p=x9,motion:h,effects:C=!0,glyphs:g=!0,autoBlink:y=!0,autoExpression:x=!0,paused:k=!1,silhouette:_=K9,gradient:M=H9,picture:N,eyeColor:w="#ffffff",title:v,className:A,style:O},Z){const V=m.useId(),j=m.useMemo(()=>"mascot"+V.replace(/[^a-zA-Z0-9]/g,""),[V]),o1=m.useRef(null),P=m.useRef(null),T=m.useRef(null),z=m.useRef(null),$=m.useRef(null),q=m.useRef(null),B=m.useRef(null),t1=m.useRef(null),j1=m.useRef(null),Y=m.useRef(null),M1=()=>Y.current?.wake(Me(performance.now(),xn(U.current.props.sizePx))),i1=mo(),k1=h??(i1?0:1),I=`url(#${j}-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:o8(Ge[0]),target:Ge[0],currentMouth:vt[0].slice(),targetMouth:vt[0],currentGaze:[...xe[0]],targetGaze:[...xe[0]],expression:0,morph:1,velocity:0,travel:0,blinkStart:w2(),spinStart:w2(),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%xt+xt)%xt;if(f1===F.expression&&F.morph>=1)return;const N1={rings:_2(F),mouth:S2(F),gaze:j2(F)};F.current=N1.rings,F.currentMouth=N1.mouth,F.currentGaze=N1.gaze,F.target=Ge[f1],F.targetMouth=vt[f1],F.targetGaze=xe[f1],F.travel=R9(N1,{rings:F.target,mouth:F.targetMouth,gaze:F.targetGaze}),F.expression=f1,F.morph=0,F.velocity=0,F.last=performance.now(),M1()};$n.useImperativeHandle(Z,()=>({blink:()=>{U.current.props.reduced||(U.current.blinkStart=performance.now(),M1())},spin:(l1=900)=>{U.current.props.reduced||(U.current.spinDuration=l1,U.current.spinStart=performance.now(),M1())},setExpression:e1}),[]),m.useEffect(()=>{e1(n??nt[t][0])},[t,n]),m.useEffect(()=>{if(!x||n!==void 0||k||i1)return;let l1;const F=()=>{const[f1,N1]=Q9[t];l1=setTimeout(()=>{const D=nt[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()*(N1-f1))};return F(),()=>clearTimeout(l1)},[t,x,n,k,i1]),m.useEffect(()=>{const l1=e8[t];if(!y||!l1||k||i1)return;let F;const f1=()=>{F=setTimeout(()=>{U.current.blinkStart=performance.now(),M1(),f1()},l1[0]+Math.random()*(l1[1]-l1[0]))};return f1(),()=>clearTimeout(F)},[t,y,k,i1]),m.useEffect(()=>{U.current.faceStale=!0,M1()},[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=j2(D),E1=C1.lookAround??.35,$1=n1[0]*E1,X1=n1[1]*E1,L1=_2(D).map(H1=>H1.map(w1=>[w1[0]+$1,w1[1]+X1])),b1=Z1(C1.gaze?.x??0,-1,1)*m2.x,jn=Z1(C1.gaze?.y??0,-1,1)*m2.y,Mn=((C1.turn??0)+X)*Math.PI/180,Nn=C1.eyeScale??1,Uo=l8(D,E);L1.forEach((H1,w1)=>{const V1=w1===0?P.current:T.current;if(!V1)return;const G1=i8(H1),le=Math.asin(Z1((G1[0]-Be)/Ue,-1,1)),Te=le+Mn,En=Math.cos(Te),Wo=Math.max(En,.02)/Math.max(Math.cos(le),.02);V1.setAttribute("d",r8(H1)),V1.setAttribute("transform",`translate(${(Be+Ue*Math.sin(Te)+b1).toFixed(2)} ${(G1[1]+jn).toFixed(2)}) scale(${Z1(Wo*Nn,.02,2.4).toFixed(4)} ${Z1(Uo*Nn,.02,2.4).toFixed(4)}) translate(${(-G1[0]).toFixed(2)} ${(-G1[1]).toFixed(2)})`),V1.style.opacity=En>.02?"1":"0"});const Ie=z.current;if(Ie){const H1=S2(D),w1=v9(L1,H1),V1=Math.asin(Z1((w1.x-Be)/Ue,-1,1)),G1=V1+Mn,le=Math.cos(G1),Te=Math.max(le,.02)/Math.max(Math.cos(V1),.02);Ie.setAttribute("d",s8(w1,H1)),Ie.setAttribute("transform",`translate(${(Be+Ue*Math.sin(G1)+b1).toFixed(2)} ${(w1.y+jn).toFixed(2)}) scale(${Z1(Te,.02,2.4).toFixed(4)} 1) translate(${(-w1.x).toFixed(2)} ${(-w1.y).toFixed(2)})`),Ie.style.opacity=le>.02?"1":"0"}},F=(D,E,X,C1)=>{const n1=D.props;n1.state!==D.lastState&&(D.lastState=n1.state,D.stateStart=E);const E1=$.current;if(E1){const b1=A9(b2[n1.state]??{},E-D.stateStart,n1.motionStrength??1);b1!==D.lastBodyTransform&&(D.lastBodyTransform=b1,b1?E1.setAttribute("transform",b1):E1.removeAttribute("transform"))}const $1=Ut[n1.state],X1=$1?.glyph&&C1?bo($1.glyph,E-D.stateStart):0,L1=`${n1.state}|${X}|${C1}|${X1}|${n1.paint}`;!$1?.confetti&&!$1?.trails&&D.effectsStill===L1||(D.effectsStill=L1,X9({trails:B.current,confetti:t1.current,glyph:j1.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 E1=0;if(E.spinStart!==null){const b1=(D-E.spinStart)/E.spinDuration;b1>=1?E.spinStart=null:E1=360*b1}const $1=()=>E.morph<1||E.blinkStart!==null||E.spinStart!==null;(E.faceStale||E.faceMoving||$1())&&l1(E,D,E1),E.faceStale=!1,E.faceMoving=$1();const X1=X.effects!==!1&&!X.paused,L1=X.glyphs!==!1&&!X.paused&&!X.reduced;return F(E,D,X1,L1),X.paused?1/0:I9(D,{motion:b2[X.state]??{},effects:Ut[X.state],stateElapsedMs:D-E.stateStart,strength:X.motionStrength??1,showEffects:X1,showGlyphs:L1,sizePx:X.sizePx,faceUnitsPerMs:P9(E.velocity,E.morph,n1,E.travel),blinkingOrSpinning:E.blinkStart!==null||E.spinStart!==null})};U.current.last=performance.now();const N1=ho().add(f1,o1.current);return Y.current=N1,()=>{N1.remove(),Y.current=null}},[]);const c1=typeof r=="number"?`${r}px`:r,g1=v===void 0?b9(_.name):v,ze=_.body.replace(/\{\{GRADIENT\}\}/g,`url(#${j}-grad)`);return a.jsxs("svg",{ref:o1,viewBox:V9,width:c1,height:c1,className:A,style:O,role:g1?"img":void 0,"aria-label":g1??void 0,"aria-hidden":g1?void 0:!0,children:[a.jsxs("defs",{children:[a.jsxs("radialGradient",{id:`${j}-grad`,cx:"0.36",cy:"0.3",r:"0.82",fx:"0.32",fy:"0.22",children:[a.jsx("stop",{offset:"0%",stopColor:M[0]}),a.jsx("stop",{offset:"45%",stopColor:M[1]}),a.jsx("stop",{offset:"100%",stopColor:M[2]})]}),a.jsxs("linearGradient",{id:`${j}-visor`,x1:"0",y1:"0",x2:"0",y2:"1",children:[a.jsx("stop",{offset:"0%",stopColor:"#24333F"}),a.jsx("stop",{offset:"100%",stopColor:"#05090D"})]}),a.jsx("clipPath",{id:`${j}-vclip`,children:a.jsx("rect",{x:_1.x,y:_1.y,width:_1.w,height:_1.h,rx:_1.r})}),a.jsx("clipPath",{id:`${j}-clip`,transform:_.fit||void 0,dangerouslySetInnerHTML:{__html:_.clip}})]}),a.jsxs("g",{transform:c?`translate(${Y1} 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:je,height:je,preserveAspectRatio:"none"}):a.jsx("g",{transform:_.fit||void 0,dangerouslySetInnerHTML:{__html:ze}}),a.jsx("g",{clipPath:`url(#${j}-clip)`,visibility:N?"hidden":void 0,children:a.jsxs("g",{transform:a8(_.anchor),children:[a.jsx("rect",{x:_1.x,y:_1.y,width:_1.w,height:_1.h,rx:_1.r,fill:`url(#${j}-visor)`,stroke:"#ffffff",strokeOpacity:.12,strokeWidth:2}),a.jsxs("g",{clipPath:`url(#${j}-vclip)`,children:[a.jsx("use",{href:`#${j}-eye0`,stroke:w,strokeWidth:12,strokeOpacity:.16,strokeLinejoin:"round"}),a.jsx("use",{href:`#${j}-eye1`,stroke:w,strokeWidth:12,strokeOpacity:.16,strokeLinejoin:"round"}),a.jsx("path",{id:`${j}-eye0`,ref:P,fill:w}),a.jsx("path",{id:`${j}-eye1`,ref:T,fill:w})]}),d&&a.jsx("path",{ref:z,fill:"none",stroke:w,strokeWidth:p,strokeLinecap:"round"})]})})]}),a.jsx("g",{ref:j1,style:{opacity:0}})]}),a.jsx("g",{ref:t1})]})]})});function _2(e){const t=Z1(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 yo=(e,t,n)=>e.map((r,o)=>r+(t[o]-r)*Z1(n,0,1)),S2=e=>yo(e.currentMouth,e.targetMouth,e.morph),j2=e=>yo(e.currentGaze,e.targetGaze,e.morph);function l8(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 xo(e){return e.tasks?.length?e.tasks.some(t=>!!t.unread&&!t.routineRunId&&t.archivedAt===void 0):!!e.unread}function u8(e){return(e.tasks??[]).reduce((t,n)=>t+(n.openAsks??0),0)}function B6(e){return Math.max(xo(e)?1:0,u8(e))}const d8=/^\(\d+\) /;function f8(e,t){const n=e.replace(d8,"");return t>0?`(${t}) ${n}`:n}function U6(e){document.title=f8(document.title,e),(e>0?navigator.setAppBadge?.(e):navigator.clearAppBadge?.())?.catch(()=>{})}function p8(e){return e.kind==="digest"||e.kind==="compaction"||e.kind==="call"}function h8(e){if(e){for(let t=e.length-1;t>=0;t-=1)if(!p8(e[t]))return e[t]}}const C8=n8,z1={green:"#009957",blue:"#377FE6",red:"#D94B52",orange:"#E78531",purple:"#8057C8",cyan:"#0EA5C6",pink:"#D84F8B",yellow:"#D8A729",teal:"#01A492",coral:"#E5634E",silver:"#A8ADB4",chrome:"#45D6EE"},W6={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"},vo=["#C4FAFF","#45D6EE","#137F9E"],m8="#9CF7FF";function K6(e){if(e!=="chrome")return z1[e];const[t,n,r]=vo;return`radial-gradient(circle at 34% 26%, #ffffff 0%, ${t} 20%, ${n} 55%, ${r} 100%)`}const g8={deadpan:"idle",friendly:"happy",focused:"working",thinking:"thinking",excited:"excited",sleepy:"drowsy",surprised:"surprised",skeptical:"suspicious",worried:"scared",mischievous:"playful"},b8=new Set(C8);function y8(e){return e?b8.has(e)?e:g8[e]??null:null}const H6=["idle","happy","curious","drowsy","working","thinking","listening","sleeping","suspicious","proud"];function V6(e){const t=y8(e.mascotExpression);if(t)return t;const n=h8(e.messages);if(n?.kind==="activity"&&n.tool?.ok===!1)return"alerting";if(e.busy)return"working";if(xo(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 x8=["white","black"],v8=Ae(x8);function ko(e){const t=v8.safeParse(e).data;return t==="white"?"#ffffff":t==="black"?"#000000":void 0}const k8=["mascot","circle","rounded","square"],w8=Ae(k8);function _8(e){return e==="circle"?"50%":e==="rounded"?"22%":"0"}const M2=1,S8=3,j8=.5;function M8(e){const t=typeof e=="number"?e:Number.NaN;if(!Number.isFinite(t))return M2;const n=Math.min(S8,Math.max(M2,t));return Math.round(n*100)/100}function N2(e){const t=typeof e=="number"?e:Number.NaN;if(!Number.isFinite(t))return j8;const n=Math.min(1,Math.max(0,t));return Math.round(n*1e3)/1e3}const wo=Gr().regex(/^\/api\/attachments\/[A-Za-z0-9-]+\.(?:png|jpg|gif|webp)$/,"must be a stored PNG, JPEG, GIF, or WebP attachment");function G6(e){const t=e.replaceAll("\\","/").split("/").pop();if(!t)return null;const n=`/api/attachments/${t}`;return wo.safeParse(n).success?n:null}function N8(e){const t={avatarCrop:w8.safeParse(e.avatarCrop).data??"mascot"},n=wo.safeParse(e.avatarUrl);return n.success&&(t.avatarUrl=n.data),t}const E8=[...oo,...ao];Ae(E8);function $8(e){return ao.includes(e)}const E2=(e,t)=>({bodies:e,costumes:t}),vn={halloween:E2(io,{orange:"pumpkin",purple:"ghost",teal:"witch",red:"bat",blue:"cat",cyan:"skull",green:"monster",yellow:"mummy",coral:"vampire",pink:"spider"}),diwali:E2(so,{orange:"laddu",purple:"chakri",teal:"karanji",red:"rocket",blue:"bomb",cyan:"chakli",green:"anaar",yellow:"katli",coral:"jalebi",pink:"sparkler"})},J6=Object.keys(vn);function A8(e){return typeof e=="string"&&Object.hasOwn(vn,e)}const kn="omb-halloween-dress";let rt;const me=new Set;let We;function wn(){try{return globalThis.localStorage}catch{return}}function Wt(){if(rt!==void 0)return rt;try{return wn()?.getItem(kn)!=="0"}catch{return!0}}function Z8(){if(typeof document>"u")return null;const e=document.documentElement.dataset.skin;return A8(e)&&Wt()?e:null}function _n(){for(const e of me)e()}function $2(e){e.key!==kn&&e.key!==null||e.storageArea&&e.storageArea!==wn()||(rt=void 0,_n())}function _o(e){return me.add(e),me.size===1&&typeof window<"u"&&(window.addEventListener("storage",$2),typeof MutationObserver<"u"&&(We=new MutationObserver(_n),We.observe(document.documentElement,{attributes:!0,attributeFilter:["data-skin"]}))),()=>{me.delete(e),me.size===0&&typeof window<"u"&&(window.removeEventListener("storage",$2),We?.disconnect(),We=void 0)}}function q6(e){rt=e;try{wn()?.setItem(kn,e?"1":"0")}catch{}_n()}function Y6(){return m.useSyncExternalStore(_o,Wt,Wt)}function O8(){return m.useSyncExternalStore(_o,Z8,()=>null)}function z8(e,t,n){if(!n||t==="silver"||t==="chrome")return e??void 0;const{bodies:r,costumes:o}=vn[n];return r.includes(e)?e??void 0:o[t]}const A2=150,W=e=>Math.round(e*100)/100;function Z2(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 M=1-.1*Math.max(0,_*-t.gx),N=d*M,w=Math.max(p*M,.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 ${A2}) rotate(${W(o)}) scale(${W(i*1e3)/1e3} ${W(s*1e3)/1e3}) translate(-120 ${-A2})`,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 So(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 I8=new Set(["arrive","switch","customize","alert","launch","success","celebrate","surprise"]),O2=[[0,0],[0,0],[-1,.25],[1,.25],[-.8,.55],[.8,.55],[-.7,-.4],[.7,-.4],[0,.5]];function T8(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 P8(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 R8(e,t){const n=P8(z1[t]??z1.green);return e.paint==="bone"?{body:e.bone??"#f1ede6",accent:n}:e.paint==="pale"?{body:T8(z1[t]??z1.green,"#ffffff",.86),accent:n}:{body:n,accent:n}}function L8({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=co[e],C=ko(n),g=m.useId().replace(/:/g,""),y=mo(),x=u&&!y,k=m.useRef(null),_=[m.useRef(null),m.useRef(null)],M=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[O]=m.useState(()=>Z2(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():I8.has(i)&&Z())},[i,s,x]);const V=z=>{const $=Z2(h,z);if(k.current?.setAttribute("transform",$.body),$.eyes.forEach((q,B)=>{const t1=_[B].current;if(t1)for(const[j1,Y]of Object.entries(q))t1.setAttribute(j1,String(Y))}),M.current&&(M.current.setAttribute("d",$.smile.d),M.current.setAttribute("transform",$.smile.transform),M.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 z=performance.now(),$=z+900+Math.random()*2600,q=z+1500+Math.random()*3500,B=[0,0];const t1=Y=>{const M1=Math.min(.05,(Y-z)/1e3);z=Y;const i1=So(A.current.state),k1=i1.glance??1;k1>0&&Y>$&&(B=O2[Math.floor(Math.random()*O2.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(-M1*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),Me(Y,xn(r))},j1=ho().add(t1,k.current?.ownerSVGElement);return()=>j1.remove()},[h,x,r]);const j=z=>{const $=z.currentTarget.getBoundingClientRect();v.current.pointer={x:Math.max(-1,Math.min(1,(z.clientX-$.left)/$.width*2-1)),y:Math.max(-1,Math.min(1,(z.clientY-$.top)/$.height*2-1))}},o1=()=>{v.current.pointer=null},P=R8(h,t),T=z=>z==="body"?P.body:z==="accent"?P.accent:z;return a.jsx("span",{className:"inline-flex shrink-0",onPointerMove:l&&x?j: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:O.body,children:[h.parts.map((z,$)=>a.jsx("path",{d:z.d,fill:T(z.fill)},$)),a.jsx("g",{clipPath:`url(#carved-${g})`,children:O.eyes.map((z,$)=>a.jsx("rect",{ref:_[$],...z,fill:C??h.eyes.ink},$))}),h.eyes.mouth&&a.jsxs("g",{children:[a.jsx("path",{ref:M,d:O.smile.d,transform:O.smile.transform,opacity:O.smile.opacity,fill:"none",stroke:C??h.eyes.mouthInk,strokeWidth:h.eyes.w*.36,strokeLinecap:"round"}),a.jsx("ellipse",{ref:N,...O.open,fill:C??h.eyes.mouthInk})]})]})]})})}function z2(e){const t=So(e);return{gx:t.gx??0,gy:t.gy??0,wide:t.wide??0,shut:t.shut??0,smile:t.smile??1}}const D8=m.memo(m.forwardRef(L8)),F8=Object.assign({}),B8=Object.entries(F8).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 U8(e,t,n,r=B8){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 I2={forward:1,authored:.25},W8={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"}},K8=1400;function Kt(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 H8=e=>{if(e==="chrome")return vo;const t=z1[e]??z1.green;return[Kt(t,"#ffffff",.55),t,Kt(t,"#000000",.42)]};function V8(e){const t=`var(--identity-${e})`;return[`color-mix(in srgb, ${t} 82%, #ffffff)`,t,`color-mix(in srgb, ${t} 82%, #000000)`]}function G8(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 $8(n)?a.jsx(D8,{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(q8,{ref:t,...e})}function J8({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:M},N){const w=yn[C9(k)],v=e==="chrome",A=ko(M),O=m.useRef(null);m.useImperativeHandle(N,()=>({blink:()=>O.current?.blink(),spin:$=>O.current?.spin($),setExpression:$=>O.current?.setExpression($)}));const[Z,V]=m.useState(null);m.useEffect(()=>{if(i==="none"||!x)return;const $=W8[i];if(!$||($.blink&&O.current?.blink(),$.spin&&O.current?.spin($.spin),!$.state))return;V($.state);const q=setTimeout(()=>V(null),K8);return()=>clearTimeout(q)},[i,s,x]);const[j,o1]=m.useState({x:0,y:0}),P=C?I2.forward:I2.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})},z=()=>o1({x:0,y:0});return a.jsx("span",{className:"inline-flex shrink-0",onPointerMove:y&&x?T:void 0,onPointerLeave:y&&x?z:void 0,children:a.jsx(c8,{ref:O,state:Z??t,expression:n,size:r,silhouette:w,gradient:_??H8(e),picture:v&&!A?U8(w.id,r,globalThis.devicePixelRatio??1):null,eyeColor:A??(v?m8:Kt(z1[e]??z1.green,"#ffffff",.62)),title:o??null,lookAround:g??(C?0:1),gaze:{x:(l?.x??0)+j.x,y:(l?.y??0)+j.y},turn:c,spring:u,eyeScale:d,showMouth:p,mouthStroke:h,paused:!x})})}const q8=m.forwardRef(J8),jo=m.memo(m.forwardRef(G8));function Y8(e){const{avatarCrop:t,hasUrl:n,imageFailed:r}=e;return!n||t==="mascot"||r?"gradientMascot":"flatImage"}function X6({bot:e,size:t=44,label:n,readable:r=!1,...o}){const i=N8(e),s=O8(),[c,l]=m.useState(!1);if(m.useEffect(()=>l(!1),[i.avatarUrl]),Y8({avatarCrop:i.avatarCrop,hasUrl:!!i.avatarUrl,imageFailed:c})!=="flatImage")return a.jsx(jo,{bodyId:z8(e.mascotBody,e.color,s),...o,color:e.color,faceColor:e.mascotFaceColor,gradient:r?V8(e.color):void 0,size:t,label:n??e.name});const d=_8(i.avatarCrop),p=M8(e.avatarZoom??1),h=N2(e.avatarFocusX??.5),C=N2(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 Q6({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 Mo=1,X8="onboarding-cloud-v1",Q8={claudeAgent:0,codex:1,geminiAgent:2,antigravityAgent:2,grokAgent:3,grok:3},T2=4,ec=5;function No(e){return e.snapshot?.freeFallback===!0}function tc(e){return No(e)?ec:e.access==="custom"?T2:Q8[e.driverKind]??T2}function Eo(e){return e.map((t,n)=>({instance:t,index:n,tier:tc(t)})).sort((t,n)=>t.tier-n.tier||t.index-n.index).map(({instance:t})=>t)}function e7(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 nc={completedAt:"",version:0},t7={hosted:!1,canSave:!0};function rc(e){return!!(e?.hosted&&!e.canSave)}function n7(e){return e===null||rc(e)}function r7(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 o7(e,t){if(t.remoteClient||t.cloudHome||t.canSave===!1||t.hosted&&t.canSave!==!0||!e)return!1;const n=e.onboarding??nc;return!(n.completedAt&&n.version>=Mo||!n.completedAt&&t.legacyDone)}function oc(e=new Date){return{onboarding:{completedAt:e.toISOString(),version:Mo}}}const P2="met-chief-v1";function i7(e,t=new Date){const n=e?.hintsSeen??[];return{onboarding:{...oc(t).onboarding,...n.includes(P2)?{}:{hintsSeen:[...n,P2]}}}}function $o(e,t){return(e?.hintsSeen??[]).includes(t)}function s7(e,t){return $o(e,t)?null:{onboarding:{hintsSeen:[...e?.hintsSeen??[],t]}}}const a7=["meet","chief"];function c7(e){return e.hosted?["meet"]:["meet","chief"]}function l7(e,t){return t&&e.includes(t)?t:e[0]??"meet"}function u7(e){return $o(e,X8)}let Ht=0;function d7(){Ht++;let e=!1;return()=>{e||(e=!0,Ht--)}}function f7(){return Ht>0}const Ao="omb.onboarding.welcomeFinished";let Zo=!1;function p7(){try{sessionStorage.setItem(Ao,"1")}catch{Zo=!0}}function h7(){try{return sessionStorage.getItem(Ao)==="1"}catch{return Zo}}const C7="https://admin.openmausbot.com";function m7(e,t){if(!(t.hosted||!e||e.remoteClient?.active===!0))return e.organization}function g7(e){return(e?.providers??[]).reduce((t,n)=>t+(n.configured?n.models.length:0),0)}function b7(e){const t=r=>!r.readOnly&&r.access!=="api"&&r.access!=="custom",n=Eo(e.filter(t))[0]??e.find(r=>!r.readOnly);return{recommended:n,others:e.filter(r=>r!==n)}}function y7(e,t,n){let r;for(const o of Eo(e.filter(i=>t(i)&&!No(i)))){const i=n(o)??"testing";if(i!=="failed")return{instance:o,state:i};r??=o}return r?{instance:r,state:"failed"}:null}function x7(e){return e?.state==="passed"||e?.state==="untestable"}function v7(e){return e.snapshot.state==="available"&&e.snapshot.authenticated===!1?!!e.authentication:!!(e.install?.server||e.install?.managed)}function k7(e,t,n){return!!(e?.cloudHome&&e.canSave)&&t.connected&&t.instances.length>0&&!t.instances.some(n)}function R2(){return typeof document<"u"&&document.documentElement.dataset.reducedMotion==="true"?!0:globalThis.window?.matchMedia?.("(prefers-reduced-motion: reduce)").matches??!1}function ic(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 sc(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(ic,R2,R2)&&t}const ac=[[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]],cc=[[640,20,4.2],[712,40,3],[868,62,3.2]],lc=[{color:"orange",state:"working",spot:[636,52,28]},{color:"pink",state:"idle",spot:[668,46,30]},{color:"green",state:"thinking",spot:[702,52,28]}],uc="M-2.6-2.6h5.2l-5.2 5.2h5.2",dc=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 fc({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:uc,fill:"none",stroke:"var(--cloud-night-z)",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})},t))})]})}const pc=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:ac.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:cc.map(([n,r,o])=>a.jsx("path",{transform:`translate(${n} ${r})`,d:dc(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"})]}),lc.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(jo,{color:n,state:r,size:s,animated:t,trackPointer:!1})},n)),a.jsx(fc,{moving:t})]})});function hc({small:e=!1,children:t}){const n=m.useRef(null),r=sc(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(pc,{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 Cc=[[F5,"cloudBuy.benefit.awayTitle","cloudBuy.benefit.away"],[G2,"cloudBuy.benefit.privateTitle","cloudBuy.benefit.private"],[V5,"cloudBuy.benefit.anywhereTitle","cloudBuy.benefit.anywhere"],[x5,"cloudBuy.benefit.browserTitle","cloudBuy.benefit.browser"],[j5,"cloudBuy.benefit.moveTitle","cloudBuy.benefit.move"]],mc={power:W5,hours:J5,storage:O5,voice:k5},gc={1:"md:grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-2 lg:grid-cols-4"},Oo=e=>`cloud-plan-details-${e}`;function bc({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(o5,{"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=mc[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:Oo(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?ae:i5,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 yc({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=Xo(e,{current:t,own:n}),h=Qo(p),C=e5(e,r),g=t5(e),y=!!n5(e);return a.jsxs("div",{"data-cloud-add":e.plans.some(x=>x.trialDays)?"offer-trial":"offer",className:Ne,children:[a.jsx("div",{className:"-mx-4 -mt-3",children:a.jsxs(hc,{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=>Oo(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(r5,{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",gc[p.length]??"md:grid-cols-3"),children:p.map((x,k)=>a.jsx(bc,{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:Cc.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(G2,{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:Ke,onClick:l,children:f("cloudBuy.haveAccount")})]})]})}const xc=3e3,vc={signups_closed:"cloudBuy.extra.signupsClosed",checkout_open:"cloudBuy.extra.checkoutOpen",rate:"cloudAdd.rateLimited"};function kc({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(se,{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:rn,placeholder:o,disabled:r,onChange:d=>i(d.target.value),className:ke})]}),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($e,{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:at(n)},children:ot(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:c5(e),price:An(e.amount/100)})})]})]}),a.jsx("p",{className:"text-[13px] leading-relaxed text-ink-secondary",children:f("cloudBuy.card.paid",{price:An(e.amount/100)})}),a.jsxs("button",{type:"submit",className:ae,disabled:r,children:[r&&a.jsx(x1,{size:15,className:"animate-spin motion-reduce:animate-none","aria-hidden":"true"}),f("cloudBuy.extra.continue")]})]})}function wc({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(vc[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 _c({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(nr),[y,x]=m.useState(!1),[k,_]=m.useState(!1),[M,N]=m.useState(null),[w,v]=m.useState(null),[A,O]=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 j=yi(c,{now:o(),tier:u,failed:k,stop:M}),o1=j.kind==="waiting"||j.kind==="starting";m.useEffect(()=>{if(!o1)return;const B=setInterval(()=>{V()},xc);return()=>clearInterval(B)},[o1]),m.useEffect(()=>{n(j.kind==="choose")},[j.kind]),m.useEffect(()=>{j.kind==="first"&&t(),j.kind==="ready"&&I1("cloud_add_another",{step:"ready"})},[j.kind]),m.useEffect(()=>{Z.current?.contains(document.activeElement)||(Z.current?.querySelector("[data-autofocus]")??Z.current?.querySelector("#cloud-add-title"))?.focus()},[j.kind]);const P=c&&c.signedIn?c.count:1,T=f("cloudBuy.extra.defaultName",{number:P+1}),z=(B,t1)=>{y||(x(!0),v(null),B().catch(t1).finally(()=>x(!1)))},$=()=>z(async()=>{if(j.kind!=="name"||!s)return;const B=p.trim().replace(/\s+/g," ")||T,t1=await(i?s.start(j.plan.tier,B,C,i):s.start(j.plan.tier,B,C));if(t1.outcome==="opened"){I1("cloud_add_another",{step:"checkout_opened",plan:j.plan.tier}),d(null),await V();return}t1.outcome==="blocked"?(N(xi(t1.blocked)),t1.blocked==="checkout_open"&&await V()):t1.outcome==="unsupported"?N("one"):_(!0)},()=>_(!0)),q=(()=>{switch(j.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-${j.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(j.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(wc,{reason:j.reason,home:j.home,busy:y,interest:A,onClose:e,onInterest:()=>z(async()=>{await s?.interest(),O("sent")},()=>O("failed"))});case"choose":return a.jsxs("div",{children:[r&&a.jsx("div",{className:"px-7 pt-5",children:a.jsx(se,{label:f("rail.back"),onClick:r})}),a.jsx(yc,{offer:j.offer,now:o(),busy:y,signedOut:!1,notice:null,onSignIn:()=>{},onStart:B=>{I1("cloud_add_another",{step:"plan",plan:B}),d(B)}})]});case"name":return a.jsx(kc,{plan:j.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":j.late?"extra-waiting-late":"extra-waiting",className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",children:[a.jsx(s1,{title:j.late?f("cloudBuy.pay.lateTitle"):f("cloudAdd.browserTitle"),sub:j.late?f("cloudBuy.extra.lateSub"):f("cloudBuy.pay.sub")}),a.jsx(a5,{items:[{key:"payment",state:"now",title:f("cloudBuy.pay.waiting"),detail:j.adding.name},{key:"setup",state:"next",title:f("cloudBuy.pay.setup"),detail:f("cloudBuy.pay.setupHint")}]}),j.adding.link&&a.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[a.jsxs("button",{type:"button","data-autofocus":!0,className:j.late?"ui-button ui-button-primary":"ui-button",disabled:y,onClick:()=>z(async()=>{await s?.reopen()||v("pay-failed")},()=>v("pay-failed")),children:[a.jsx(Xt,{size:14,"aria-hidden":"true"}),f("cloudAdd.reopenCheckout")]}),a.jsxs("button",{type:"button",className:"ui-button",disabled:y,onClick:()=>z(async()=>v(await s?.copyLink()?"copied":"pay-failed"),()=>v("pay-failed")),children:[a.jsx(N5,{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:j.adding.name}),sub:f("cloudBuy.extra.setupSub")}),a.jsx(s5,{value:j.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:j.adding.name}),sub:f("cloudBuy.extra.readySub")}),a.jsx("button",{type:"button","data-autofocus":!0,className:ae,disabled:y,onClick:()=>z(async()=>{await s?.open(),e()},()=>v("open-failed")),children:f("cloudBuy.setup.open",{name:j.adding.name})}),w==="open-failed"&&a.jsx("p",{role:"alert",className:"text-[13px] text-danger",children:f("cloudBuy.openFailed",{name:j.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:j.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":j.kind,className:"contents",children:q})}const zo={no_team_plan:"rail.orgNoPlan",limit:"rail.orgLimit",rate:"rail.orgRate",off:"rail.orgOff"};function Sc(e){return e?.outcome==="added"?null:e?.outcome==="taken"?"rail.orgTaken":e?.outcome==="blocked"?zo[e.blocked]:"rail.orgFailed"}function jc({onBack:e,onClose:t}){const[n,r]=m.useState(null),[o,i]=m.useState(""),[s,c]=m.useState(nr),[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=Sc(x);if(k){p(k);return}I1("rail_add",{step:"organization"}),l5(),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(se,{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:rn,placeholder:f("rail.orgPlaceholder"),disabled:l,onChange:x=>i(x.target.value),className:ke})]}),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($e,{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:at(s)},children:ot(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:ae,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 Mc="npx limixbot pair";function Nc({command:e}){const{state:t,copy:n}=Mi(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 kt(e,t){return f(bi[e],{host:t??"",example:H2})}function Ec(e,t){const n=wt(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 $c={https:"connect.found.https",tailscale:"connect.found.tailscale","private-http":"connect.found.privateHttp",loopback:"connect.found.loopback"};function Ac({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),M=window.ogb?.workspaces,N=typeof M?.probe=="function",w=wt(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(()=>{M.probe(o,s).then(z=>{P&&p(z)}).catch(()=>{P&&p({outcome:"problem",problem:"unreachable",host:Ec(o,s)})}).finally(()=>{P&&C(!1)})},400);return()=>{P=!1,window.clearTimeout(T)}},[o,s,N,M]);const O=P=>{k(null);const T=wt(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)){I1("rail_add",{step:"link"}),y(!0),k(null);try{const T=await M?.add?.("link",o.trim(),s.trim());T&&typeof T=="object"?T.outcome==="connected"?t():T.outcome==="problem"&&k(kt(T.problem,T.host)):T!==!1&&t()}catch(T){k(T instanceof Error&&T.message?T.message.replace(/^Error invoking remote method '[^']+': (?:Error: )?/,""):kt("notAnAddress"))}finally{y(!1)}}},j=x??(d?.outcome==="problem"&&d.problem!=="empty"?kt(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(se,{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||O(P.target.value)},placeholder:f("connect.addressPlaceholder"),autoCapitalize:"none",autoCorrect:"off",autoComplete:"off",spellCheck:!1,"aria-invalid":!!j||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:H2})}),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($c[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(Nc,{command:Mc})]})]}),j&&a.jsx("p",{role:"alert","data-connect-problem":!0,className:"text-[13px] text-danger",children:j}),N&&h&&!Z&&!j&&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 de({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 Zc="button:not([disabled]):not([tabindex='-1']), input:not([disabled]):not([tabindex='-1']), [href], [tabindex='0']";function Io(e){return a.jsx(X2,{modal:!0,children:a.jsx(Oc,{...e})})}function Oc({wide:e=!1,focusKey:t,onClose:n,children:r}){const o=m.useRef(null),i=ri(),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(Zc)??[]];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(B2,{size:18})}),r]})})}function zc(e){return{names:e.map(n=>n.kind==="computer"?h1(n):n.name),swatches:new Set(e.map(n=>n.paint?.swatch??B1.find(r=>n.color!==null&&tr[r]===n.color)).filter(n=>!!n))}}function To({places:e,onBack:t,onDone:n}){const[r]=m.useState(()=>zc(e)),[o,i]=m.useState(()=>u5(r.names)),[s,c]=m.useState(()=>B1.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 d5(h,s==="slate"?null:s);if(u(!1),y==="made"){I1("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(se,{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:rn,disabled:l,"aria-invalid":d==="taken"||void 0,onChange:y=>{i(y.target.value),p(null)},onFocus:y=>y.currentTarget.select(),className:ke})]}),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($e,{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:at(s)},children:[ot(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(it,{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:ae,disabled:l||!h,children:[l&&a.jsx(x1,{size:15,className:"animate-spin motion-reduce:animate-none","aria-hidden":"true"}),f("rail.localCreate")]})]})}function w7(){const[e,t]=m.useState(!1);return m.useEffect(()=>window.ogb?.remoteClient?.active?void 0:window.ogb?.workspaces?.onNewLocal?.(()=>t(!0)),[]),e?a.jsx(Io,{focusKey:"local",onClose:()=>t(!1),children:a.jsx(To,{places:[],onBack:null,onDone:()=>t(!1)})}):null}function L2({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=()=>{I1("rail_add",{step:"cloud"}),r(),g?.add?.("cloud").catch(()=>{})};return a.jsxs(Io,{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(de,{kind:"local",icon:a.jsx(it,{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(de,{kind:"organization",icon:a.jsx(_5,{size:19}),title:f("rail.org"),sub:f("rail.orgSub"),onClick:()=>p("organization")}),e.cloud&&a.jsx(de,{kind:"cloud",icon:a.jsx(K2,{size:19}),title:f("rail.buy"),sub:f("rail.buySub"),onClick:()=>p("cloud")}),i&&a.jsx(de,{kind:"server",icon:a.jsx(q2,{size:19}),title:f("connect.title"),sub:f("connect.choiceSub"),onClick:()=>p("server")}),c&&a.jsx(de,{kind:"account",icon:a.jsx(Qt,{size:19}),title:f("accounts.add"),sub:f("rail.accountSub"),onClick:()=>o()})]})]}),d==="local"&&a.jsx(To,{places:t,onBack:u?()=>p("choose"):null,onDone:r}),d==="server"&&a.jsx(Ac,{onBack:u&&!n?()=>p("choose"):null,onConnected:r,connect:n}),d==="cloud"&&a.jsx(_c,{onClose:r,onFirstCloud:y,onWide:C,onBack:u?()=>p("choose"):null}),d==="organization"&&a.jsx(jc,{onClose:r,onBack:u?()=>p("choose"):null})]})}const Po=8,Vt=24,Ro=e=>Math.round(e*.3);function Gt(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[Lo(e,t),n,e.signIn&&f("accounts.needsSignIn")].filter(Boolean).join(" · ")}function Lo(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:Ci(e.lastSeenAt,m5(),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 Sn=e=>(e.kind==="cloud"||e.kind==="team")&&!e.server,Ic=(e,t=Date.now())=>Sn(e)?f("rail.cloudLabel",{label:Gt(e,t)}):Gt(e,t),Jt=(e,t)=>e.opens||e.pairs===!0&&t;function Tc(e,t=Po){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 Pc(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 Do=(e,t)=>t>0&&e[t].group!==e[t-1].group;function Rc({value:e=0,waiting:t=!1}){const n=Vt+6,r=1,o=n-2*r,i=Ro(Vt)+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 Oe({place:e,size:t=Vt}){const n=h5(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:Ro(t),fontSize:Math.round(t*.4),...n?{background:W2(n)}:{}},children:e.kind==="computer"&&!e.named?a.jsx(it,{size:Math.round(t*.46),strokeWidth:1.75}):e.kind==="account"?a.jsx(Qt,{size:Math.round(t*.5),strokeWidth:1.75}):ot(e.name)})}function Fo({place:e}){if(Sn(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(K2,{size:9,strokeWidth:3})});const t=e.server?q2:e.named?it: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 Bo=(e,t)=>n=>{n.preventDefault(),(e.paint||e.removable)&&t({place:e,from:n.currentTarget})};function Lc(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 Dc({place:e,canPair:t,pending:n,onOpen:r,onMenu:o}){const i=Gt(e),s=Jt(e,t);return a.jsxs("button",{type:"button","aria-label":Ic(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:Bo(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(Oe,{place:e}),(e.progress!==void 0||e.settling!==void 0||n)&&a.jsx(Rc,{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(Fo,{place:e})]})}function Fc({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),y5(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:Ee,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 Bc({place:e,onStarted:t}){const[n,r]=m.useState(!1),[o,i]=m.useState(null),s=()=>{r(!0),i(null),b5(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(Ee,"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(I5,{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 Uc({place:e,top:t,onClose:n}){return e.profile?a.jsx(Vc,{place:e,top:t,onClose:n}):a.jsx(Wc,{place:e,top:t,onClose:n})}function Wc({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),C5(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",nn),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(Oe,{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($e,{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(Bc,{place:e,onStarted:n}),e.removable&&a.jsx(Fc,{place:e,onRemoved:n})]})}const D2=e=>[Lo(e,Date.now()),e.signIn&&f("accounts.needsSignIn")].filter(Boolean).join(" · ");function Kc({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),V2(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:Ee,onClick:d,children:f("rail.rename")})}function Hc({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),g5(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:Ee,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 Vc({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),V2(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",nn),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(Oe,{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(Kc,{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($e,{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(Hc,{place:e,onRemoved:n})]})}function Gc({places:e,canPair:t,onOpen:n,onMenu:r,onClose:o}){const[i,s]=m.useState(""),c=Pc(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",nn),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(p5,{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]&&Jt(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:[Do(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:!Jt(u,t),"aria-current":u.active?"page":void 0,onClick:()=>{n(u),o()},"aria-label":Sn(u)?f("rail.cloudLabel",{label:D2(u)}):void 0,onContextMenu:Bo(u,p=>{o(),r(p)}),className:L(Ee,"h-9"),children:[a.jsxs("span",{className:"relative shrink-0",children:[a.jsx(Oe,{place:u,size:22}),a.jsx(Fo,{place:u})]}),a.jsx("span",{className:"min-w-0 flex-1 truncate",children:D2(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 Jc=(e,t)=>t===null?e:e.map(({active:n,...r})=>r.id===t?{...r,active:!0}:r);function _7({chrome:e=!1}){const t=U2(),n=!f5(),{capabilities:r}=er(),o=gi(),[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),M=m.useRef(null),N=m.useRef(0),w=I=>{M.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 O=k&&k.id!==k.from?t.places.find(I=>I.id===k.id)??null:null,Z=e&&O?.settling===void 0?O: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 j=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===M.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)};I1("rail_place_opened",{kind:I.kind}),Promise.resolve(j?.open?.(I.id)).then(c1=>{if(e1(),!!c1)if(c1.outcome==="sign-in")g({adding:c1.email??I.email??"",note:null});else{const g1=en(c1);g1&&g({adding:null,note:g1})}},e1)},P=pi(r),T=r.windowChrome!=="native",z=r.windowChrome==="mac-inset"?"h-[52px]":"h-3",$=P?e?o?"h-[37px]":z:"h-[9px]":z,q=T?{WebkitAppRegion:"drag"}:void 0,B=T?{WebkitAppRegion:"no-drag"}:void 0,t1=Jc(t.places,k?.id??null),j1=Tc(t1),Y=t.add.link||t.add.address,M1=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(Lc(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:j1.map((I,a1)=>a.jsxs("li",{className:"flex flex-col items-center gap-2",children:[Do(j1,a1)&&a.jsx("span",{role:"separator","data-rail-divider":!0,className:"h-px w-4 bg-hairline"}),a.jsx(Dc,{place:I,canPair:Y,pending:I.id===O?.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>Po&&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($5,{size:13,"aria-hidden":"true"})}),i&&a.jsx(Gc,{places:t1,canPair:Y,onOpen:o1,onMenu:k1,onClose:()=>s(!1)}),M1&&a.jsx("button",{type:"button","aria-label":i1,title:i1,"aria-haspopup":"dialog","data-rail-add":!0,onClick:()=>{I1("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(J2,{size:13,"aria-hidden":"true"})})]}),p&&a.jsx("div",{ref:x,style:B,children:a.jsx(Uc,{place:t.places.find(I=>I.id===p.place.id)??p.place,top:p.top,onClose:()=>h(null)},p.place.id)}),c&&a.jsx(L2,{choices:t.add,places:t.places,onClose:()=>l(!1),onAccount:()=>{l(!1),g({adding:"",note:null})}}),C&&a.jsx(ai,{adding:C.adding,note:C.note,onClose:()=>g(null)}),u!==null&&a.jsx(L2,{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(Oe,{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{q2 as $,ai as A,X6 as B,N5 as C,s6 as D,$5 as E,f7 as F,Xc as G,yc as H,fe as I,Si as J,jo as K,x1 as L,nn as M,_5 as N,j5 as O,J2 as P,oc as Q,X2 as R,ei as S,J5 as T,ri as U,pi as V,F5 as W,V5 as X,Qt as Y,Qc as Z,Ae as _,L5 as a,z1 as a$,Ci as a0,O8 as a1,z8 as a2,$8 as a3,m9 as a4,oo as a5,K6 as a6,W6 as a7,R6 as a8,J6 as a9,C7 as aA,m7 as aB,x7 as aC,No as aD,b7 as aE,v7 as aF,y7 as aG,e7 as aH,l7 as aI,d7 as aJ,p7 as aK,i7 as aL,c7 as aM,t7 as aN,r7 as aO,o7 as aP,rc as aQ,$o as aR,P2 as aS,j8 as aT,M2 as aU,M8 as aV,N2 as aW,S8 as aX,h7 as aY,R2 as aZ,s7 as a_,L6 as aa,vn as ab,H6 as ac,k5 as ad,x8 as ae,k8 as af,D6 as ag,N6 as ah,M6 as ai,O5 as aj,G2 as ak,Io as al,Ac as am,$e as an,A8 as ao,Y6 as ap,q6 as aq,e4 as ar,g0 as as,o6 as at,i6 as au,xo as av,Mo as aw,a7 as ax,mo as ay,g7 as az,G6 as b,p8 as b0,u8 as b1,f6 as b2,p6 as b3,_6 as b4,h6 as b5,C6 as b6,x6 as b7,y6 as b8,v6 as b9,fi as bA,l6 as bB,hi as bC,a6 as bD,n7 as bE,B6 as bF,U6 as bG,w7 as bH,m6 as ba,Ee as bb,k6 as bc,g6 as bd,w6 as be,b6 as bf,e6 as bg,n6 as bh,t6 as bi,Q6 as bj,V6 as bk,c6 as bl,u6 as bm,d6 as bn,Ut as bo,_8 as bp,N8 as bq,h8 as br,tn as bs,$6 as bt,A6 as bu,z6 as bv,sc as bw,u7 as bx,k7 as by,Oe as bz,ii as c,er as d,j6 as e,Pt as f,W5 as g,r6 as h,_7 as i,y8 as j,H0 as k,I6 as l,Z6 as m,S6 as n,E6 as o,P6 as p,T6 as q,Y2 as r,Gr as s,v8 as t,ui as u,O6 as v,V0 as w,Mi as x,Xt as y,_c as z};
|
|
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 Pr(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;Pr(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 Rr=new Set(["type","properties","required","additionalProperties"]),o2=["oneOf","anyOf"];function i2(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(!Rr.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]??i2(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};R1(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=i2(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 M4(e){const t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(const o of Rr)if(o in e)return;const n=t.filter(o=>o2.some(i=>Array.isArray(o[i])));let r=null;if(!n.length)r=zt(t);else{const o=n[0],i=o2.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,ye(e,r))}function Lr(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)):ye(u,g),ye(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())Pr(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)??[])M4(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)}ye(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,R1(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:Qe(t,"input",e.processors),output:Qe(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 N4=(e,t={})=>n=>{const r=Ir({...n,processors:t});return Q(e,r),Tr(r,e),Lr(r,e)},Qe=(e,t,n={})=>r=>{const{libraryOptions:o,target:i}=r??{},s=Ir({...o??{},target:i,io:t,processors:n});return Q(e,s),Tr(s,e),Lr(s,e)},oe=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},ie=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},s2=(e,t)=>{oe(e,"minimum",t),ie(e,"maximum",t)},Dr=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},Fr=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},Br=(e,t)=>{e.mime=e.mime?e.mime.filter(n=>t.includes(n)):[...t]},Ur=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},a2=(e,t)=>oe(e,"minimum",t.minimum),c2=(e,t)=>ie(e,"maximum",t.maximum),l2=e=>(t,n)=>{Ur(t,n.format);const[r,o]=e[n.format];oe(t,"minimum",r),ie(t,"maximum",o)},E4={greater_than:(e,t)=>oe(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>ie(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>Dr(e,t.value),number_format:l2(cr),bigint_format:l2(Ri),min_length:a2,max_length:c2,length_equals:(e,t)=>s2(e,t.length),min_size:a2,max_size:c2,size_equals:(e,t)=>s2(e,t.size),string_format:(e,t)=>{Ur(e,t.format),t.pattern&&Fr(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)=>Br(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)E4[i._zod.def.check]?.(t,i._zod.def);const o=e._zod.bag;o.minimum!==void 0&&oe(t,"minimum",o.minimum),o.exclusiveMinimum!==void 0&&oe(t,"exclusiveMinimum",o.exclusiveMinimum),o.maximum!==void 0&&ie(t,"maximum",o.maximum),o.exclusiveMaximum!==void 0&&ie(t,"exclusiveMaximum",o.exclusiveMaximum),o.multipleOf!==void 0&&Dr(t,o.multipleOf),o.format!==void 0&&(t.format??(t.format=o.format),o.format.includes("int")&&(t.isInt=!0)),o.mime&&Br(t,o.mime);for(const i of o.patterns??[])Fr(t,i);return t}const $4={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},A4=new Map([[wr,Ls],[mn,Ds]]),Wr=e=>A4.get(e)??e,Z4=(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=$4[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(Wr);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}))])}},O4=(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)):P1(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"},I4=(e,t,n,r)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},T4=(e,t,n,r)=>{P1(e,t,n,r,"Undefined cannot be represented in JSON Schema")},P4=(e,t,n,r)=>{n.not={}},R4=(e,t,n,r)=>{},L4=(e,t,n,r)=>{const o=e._zod.def,i=Nt(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},D4=(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(P1(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof s=="bigint"){if(P1(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},F4=(e,t,n,r)=>{P1(e,t,n,r,"Custom types cannot be represented in JSON Schema")},B4=(e,t,n,r)=>{P1(e,t,n,r,"Transforms cannot be represented in JSON Schema")},U4=(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 et(e){const t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?et(t.out):t.type==="catch"?et(t.innerType):e._zod.optin}const W4=(e,t,n,r)=>{const o=n,i=e._zod.def,s=i.shape;if(Object.getOwnPropertySymbols(s).length&&P1(e,t,o,r,"Symbol keys cannot be represented in JSON Schema"))return;o.type="object",o.properties={};for(const u in s)R1(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"?et(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)},K4=(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},H4=(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 It(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=It(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=>It(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")?pn:Gs).source)),C}const Tt=new WeakMap;function V4(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 Tt.get(e)??[]){const o=e.seen.get(r),i=(o?.def??o?.schema)?.propertyNames;if(!i||i===!0||n.has(i))continue;const s=It(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 G4=(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)R1(o.patternProperties,Wr(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=Tt.get(t);d||(d=[],Tt.set(t,d),t.deferred.push(()=>V4(t))),d.push(e)}o.additionalProperties=Q(i.valueType,t,{...r,path:[...r.path,"additionalProperties"]})}const l=s._zod.values,u=t.io==="input"&&et(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))}},J4=(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"}]},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},gn=Symbol();function Kr(e,t,n,r,o){let i=!1;const s=JSON.stringify(e,(c,l)=>typeof l!="bigint"?l:(i=!0,null));return i?(P1(t,n,r,o,"BigInt defaults cannot be represented in JSON Schema"),gn):JSON.parse(s)}const Y4=(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=Kr(o.defaultValue,e,t,n,r);s!==gn&&(n.default=s)},X4=(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=Kr(o.defaultValue,e,t,n,r);s!==gn&&(n._prefault=s)},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;let s;try{s=o.catchValue(void 0)}catch{P1(e,t,n,r,"Dynamic catch values are not supported in JSON Schema");return}n.default=s},e0=(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},t0=(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},Hr=(e,t,n,r)=>{const o=e._zod.def;Q(o.innerType,t,r);const i=t.seen.get(e);i.ref=o.innerType},u2=new WeakSet([Object.prototype,Error.prototype]);function De(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 n0=(e,t)=>{ss.init(e,t),e.name="ZodError";const n=Object.getPrototypeOf(e);u2.has(n)||(u2.add(n),De(n,"format",r=>o=>ls(r,o)),De(n,"flatten",r=>o=>cs(r,o)),De(n,"addIssue",r=>o=>{r.issues.push(o),r.message=JSON.stringify(r.issues,Et,2)}),De(n,"addIssues",r=>o=>{r.issues.push(...o),r.message=JSON.stringify(r.issues,Et,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},m1=b("ZodError",n0,void 0,{Parent:Error}),r0=ln(m1),o0=un(m1),i0=dn(m1),s0=fn(m1),a0=Cs(m1),c0=ms(m1),l0=gs(m1),u0=bs(m1),d0=ys(m1),f0=xs(m1),p0=vs(m1),h0=ks(m1);function C0(){v1.localeError||S1(N3())}function ft(){v1.memoizer||S1({memoizer:S3()})}const H=b("ZodType",(e,t)=>(C0(),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 K1(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(d9(e,t))},superRefine(e,t){return this.check(f9(e,t))},overwrite(e){return this.check(ce(e))},optional(){return f2(this)},exactOptional(){return Q0(this)},nullable(){return p2(this)},nullish(){return f2(p2(this))},nonoptional(e){return i9(this,e)},array(){return H0(this)},or(e){return V0([this,e])},and(e){return q0(this,e)},transform(e){return h2(this,Xr(e))},default(e){return n9(this,e)},prefault(e){return o9(this,e)},catch(e){return a9(this,e)},pipe(e){return h2(this,e)},readonly(){return u9(this)},describe(e){const t=this.clone();return Ce.add(t,{description:e}),t},meta(...e){if(e.length===0)return Ce.get(this);const t=this.clone();return Ce.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 ur(this,"~standard",{...br(this),jsonSchema:{input:Qe(this,"input"),output:Qe(this,"output")}})},set"~standard"(e){W1(this,"~standard",e)},parse:function e(t,n){return r0(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await o0(this,t,n,{callee:e})},safeParse(e,t){return i0(this,e,t)},async safeParseAsync(e,t){return s0(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){W1(this,"spa",e)},validate(e,t){return fs(this,e,t)},validateAsync(e,t){return hs(this,e,t)},encode:function e(t,n){return a0(this,t,n,{callee:e})},decode:function e(t,n){return c0(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await l0(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await u0(this,t,n,{callee:e})},safeEncode(e,t){return d0(this,e,t)},safeDecode(e,t){return f0(this,e,t)},async safeEncodeAsync(e,t){return p0(this,e,t)},async safeDecodeAsync(e,t){return h0(this,e,t)},toJSONSchema(e){return N4(this,{})(e)},get description(){return Ce.get(this)?.description},get _def(){return this._zod.def}}),Vr=b("_ZodString",(e,t)=>{Cn.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Z4(e,n,r)},dr({format:e=>y1(e).format??null,minLength:e=>y1(e).minimum??null,maxLength:e=>y1(e).maximum??null},{regex(...e){return this.check(d4(...e))},includes(...e){return this.check(h4(...e))},startsWith(...e){return this.check(C4(...e))},endsWith(...e){return this.check(m4(...e))},min(...e){return this.check(Xe(...e))},max(...e){return this.check(Or(...e))},length(...e){return this.check(zr(...e))},nonempty(...e){return this.check(Xe(1,...e))},lowercase(e){return this.check(f4(e))},uppercase(e){return this.check(p4(e))},trim(){return this.check(b4())},normalize(...e){return this.check(g4(...e))},toLowerCase(){return this.check(y4())},toUpperCase(){return this.check(x4())},slugify(){return this.check(v4())}})),m0=b("ZodString",(e,t)=>{Cn.init(e,t),Vr.init(e,t)},{email(e){return this.check(Z3(v0,e))},url(e){return this.check(R3(w0,e))},jwt(e){return this.check(Q3(R0,e))},emoji(e){return this.check(L3(_0,e))},guid(e){return this.check(O3(k0,e))},uuid(e){return this.check(z3(Fe,e))},uuidv4(e){return this.check(I3(Fe,e))},uuidv6(e){return this.check(T3(Fe,e))},uuidv7(e){return this.check(P3(Fe,e))},nanoid(e){return this.check(D3(S0,e))},cuid(e){return this.check(F3(j0,e))},cuid2(e){return this.check(B3(M0,e))},ulid(e){return this.check(U3(N0,e))},base64(e){return this.check(q3(I0,e))},base64url(e){return this.check(Y3(T0,e))},xid(e){return this.check(W3(E0,e))},ksuid(e){return this.check(K3($0,e))},ipv4(e){return this.check(H3(A0,e))},ipv6(e){return this.check(V3(Z0,e))},cidrv4(e){return this.check(G3(O0,e))},cidrv6(e){return this.check(J3(z0,e))},e164(e){return this.check(X3(P0,e))},datetime(e){return this.check(e4(g0,e))},date(e){return this.check(t4(b0,e))},time(e){return this.check(n4(y0,e))},duration(e){return this.check(r4(x0,e))}});function Gr(e){return A3(m0,e)}const J=b("ZodStringFormat",(e,t)=>{G.init(e,t),Vr.init(e,t)}),g0=b("ZodISODateTime",(e,t)=>{Aa.init(e,t),J.init(e,t)}),b0=b("ZodISODate",(e,t)=>{Za.init(e,t),J.init(e,t)}),y0=b("ZodISOTime",(e,t)=>{Oa.init(e,t),J.init(e,t)}),x0=b("ZodISODuration",(e,t)=>{za.init(e,t),J.init(e,t)}),v0=b("ZodEmail",(e,t)=>{ga.init(e,t),J.init(e,t)}),k0=b("ZodGUID",(e,t)=>{Ca.init(e,t),J.init(e,t)}),Fe=b("ZodUUID",(e,t)=>{ma.init(e,t),J.init(e,t)}),w0=b("ZodURL",(e,t)=>{wa.init(e,t),J.init(e,t)}),_0=b("ZodEmoji",(e,t)=>{_a.init(e,t),J.init(e,t)}),S0=b("ZodNanoID",(e,t)=>{Sa.init(e,t),J.init(e,t)}),j0=b("ZodCUID",(e,t)=>{ja.init(e,t),J.init(e,t)}),M0=b("ZodCUID2",(e,t)=>{Ma.init(e,t),J.init(e,t)}),N0=b("ZodULID",(e,t)=>{Na.init(e,t),J.init(e,t)}),E0=b("ZodXID",(e,t)=>{Ea.init(e,t),J.init(e,t)}),$0=b("ZodKSUID",(e,t)=>{$a.init(e,t),J.init(e,t)}),A0=b("ZodIPv4",(e,t)=>{Ia.init(e,t),J.init(e,t)}),Z0=b("ZodIPv6",(e,t)=>{Pa.init(e,t),J.init(e,t)}),O0=b("ZodCIDRv4",(e,t)=>{Ra.init(e,t),J.init(e,t)}),z0=b("ZodCIDRv6",(e,t)=>{Da.init(e,t),J.init(e,t)}),I0=b("ZodBase64",(e,t)=>{Fa.init(e,t),J.init(e,t)}),T0=b("ZodBase64URL",(e,t)=>{Ua.init(e,t),J.init(e,t)}),P0=b("ZodE164",(e,t)=>{Wa.init(e,t),J.init(e,t)}),R0=b("ZodJWT",(e,t)=>{Ha.init(e,t),J.init(e,t)}),Jr=b("ZodNumber",(e,t)=>{_r.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>O4(e,n,r,o),e.isFinite=!0},dr({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(t2(e,t))},gte(e,t){return this.check(yt(e,t))},min(e,t){return this.check(yt(e,t))},lt(e,t){return this.check(e2(e,t))},lte(e,t){return this.check(bt(e,t))},max(e,t){return this.check(bt(e,t))},int(e){return this.check(d2(e))},safe(e){return this.check(d2(e))},positive(e){return this.check(t2(0,e))},nonnegative(e){return this.check(yt(0,e))},negative(e){return this.check(e2(0,e))},nonpositive(e){return this.check(bt(0,e))},multipleOf(e,t){return this.check(n2(e,t))},step(e,t){return this.check(n2(e,t))},finite(){return this}}));function S6(e){return o4(Jr,e)}const L0=b("ZodNumberFormat",(e,t)=>{Va.init(e,t),Jr.init(e,t)});function d2(e){return i4(L0,e)}const D0=b("ZodBoolean",(e,t)=>{Ga.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>z4(e,n,r)});function j6(e){return s4(D0,e)}const F0=b("ZodUndefined",(e,t)=>{Ja.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>T4(e,n,r,o)});function M6(e){return a4(F0,e)}const B0=b("ZodNull",(e,t)=>{qa.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>I4(e,n,r)});function N6(e){return c4(B0,e)}const U0=b("ZodUnknown",(e,t)=>{Ya.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>R4()});function Pt(){return l4(U0)}const W0=b("ZodNever",(e,t)=>{Xa.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>P4(e,n,r)});function qr(e){return u4(W0,e)}const K0=b("ZodArray",(e,t)=>{ft(),t3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>U4(e,n,r,o),e.element=t.element},{min(e,t){return this.check(Xe(e,t))},nonempty(e){return this.check(Xe(1,e))},max(e,t){return this.check(Or(e,t))},length(e,t){return this.check(zr(e,t))},unwrap(){return this.element}});function H0(e,t){return k4(K0,e,t)}const bn=b("ZodObject",(e,t)=>{ft(),o3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>W4(e,n,r,o),Xi(e,"shape",n=>n._zod.def.shape,!1)},{keyof(){return Ae(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:Pt()}))},loose(){return this.clone(p1(this._zod.def,{catchall:Pt()}))},strict(){return this.clone(p1(this._zod.def,{catchall:qr()}))},strip(){return this.clone(p1(this._zod.def,{catchall:void 0}))},extend(e){return Fi(this,e)},safeExtend(e){return Bi(this,e)},merge(e){return Ui(this,e)},pick(e){return Li(this,e)},omit(e){return Di(this,e)},partial(...e){return Tn(Qr,this,e[0])},exactPartial(...e){return Tn(eo,this,e[0],"exactPartial")},required(...e){return Wi(to,this,e[0])}});function E6(e,t){const n={type:"object",shape:e??{},...S(t)};return new bn(n)}function $6(e,t){return new bn({type:"object",shape:e,catchall:qr(),...S(t)})}function A6(e,t){return new bn({type:"object",shape:e,catchall:Pt(),...S(t)})}const Yr=b("ZodUnion",(e,t)=>{Mr.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>K4(e,n,r,o),e.options=t.options});function V0(e,t){return new Yr({type:"union",options:e,...S(t)})}const G0=b("ZodDiscriminatedUnion",(e,t)=>{Yr.init(e,t),s3.init(e,t)});function Z6(e,t,n){return new G0({type:"union",options:t,discriminator:e,...S(n)})}const J0=b("ZodIntersection",(e,t)=>{a3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>H4(e,n,r,o)});function q0(e,t){return new J0({type:"intersection",left:e,right:t})}const Rt=b("ZodRecord",(e,t)=>{ft(),c3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>G4(e,n,r,o),e.keyType=t.keyType,e.valueType=t.valueType});function O6(e,t,n){return!t||!t._zod?new Rt({type:"record",keyType:Gr(),valueType:e,...S(t)}):new Rt({type:"record",keyType:e,valueType:t,...S(n)})}function z6(e,t,n){return new Rt({type:"record",keyType:e,valueType:t,...S(n),partial:!0})}const Lt=b("ZodEnum",(e,t)=>{l3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(r,o,i)=>L4(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 Lt({...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 Lt({...t,checks:[],...S(o),entries:i})}});function Ae(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new Lt({type:"enum",entries:n,...S(t)})}const Y0=b("ZodLiteral",(e,t)=>{u3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>D4(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 I6(e,t){return new Y0({type:"literal",values:Array.isArray(e)?e:[e],...S(t)})}const X0=b("ZodTransform",(e,t)=>{ft(),d3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>B4(e,n,r,o),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new fr(e.constructor.name);n.addIssue=i=>{if(typeof i=="string")n.issues.push(Se(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(Se(s))}};const o=t.transform(n.value,n);return o instanceof Promise?o.then(i=>(n.value=i,n)):(n.value=o,n)}});function Xr(e){return new X0({type:"transform",transform:e})}const Qr=b("ZodOptional",(e,t)=>{Nr.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Hr(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function f2(e){return new Qr({type:"optional",innerType:e})}const eo=b("ZodExactOptional",(e,t)=>{f3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Hr(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function Q0(e){return new eo({type:"optional",innerType:e})}const e9=b("ZodNullable",(e,t)=>{p3.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 p2(e){return new e9({type:"nullable",innerType:e})}const t9=b("ZodDefault",(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,e.removeDefault=e.unwrap});function n9(e,t){return new t9({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():sr(t)}})}const r9=b("ZodPrefault",(e,t)=>{C3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>X4(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function o9(e,t){return new r9({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():sr(t)}})}const to=b("ZodNonOptional",(e,t)=>{m3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>q4(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function i9(e,t){return new to({type:"nonoptional",innerType:e,...S(t)})}const s9=b("ZodCatch",(e,t)=>{g3.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.removeCatch=e.unwrap});function a9(e,t){return new s9({type:"catch",innerType:e,catchValue:typeof t=="function"?t:es(t)})}const no=b("ZodPipe",(e,t)=>{Er.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>e0(e,n,r,o),e.in=t.in,e.out=t.out});function h2(e,t){return new no({type:"pipe",in:e,out:t})}const c9=b("ZodPreprocess",(e,t)=>{no.init(e,t),b3.init(e,t)}),l9=b("ZodReadonly",(e,t)=>{y3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>t0(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function u9(e){return new l9({type:"readonly",innerType:e})}const ro=b("ZodCustom",(e,t)=>{x3.init(e,t),H.init(e,t),e._zod.processJSONSchema=(n,r,o)=>F4(e,n,r,o)});function T6(e,t){return w4(ro,e??(()=>!0),t)}function d9(e,t={}){return _4(ro,e,t)}function f9(e,t){return S4(e,t)}function P6(e,t){return new c9({type:"pipe",in:Xr(e),out:t})}const oo=["cursor","blob","circle","squircle","capsule","drop","shield","hexagon","diamond","star"],p9=Ae(oo),h9="cursor",yn={cursor:{id:"cursor",name:"Limi",fit:"translate(-37.1368 -35.6789) scale(1.514073)",body:'<path fill="{{GRADIENT}}" d="M121.45 37.29C124.88 42.3 128.31 47.31 131.75 52.32C133.57 54.98 136.25 56.93 139.34 57.84C145.16 59.55 150.99 61.27 156.81 62.99C174.34 68.15 181.21 89.31 170.07 103.78C166.37 108.6 162.66 113.41 158.96 118.22C156.99 120.78 155.97 123.93 156.06 127.15C156.23 133.22 156.39 139.29 156.56 145.36C157.06 163.62 139.07 176.69 121.86 170.57C116.14 168.54 110.41 166.5 104.69 164.47C101.66 163.39 98.34 163.39 95.31 164.47C89.59 166.5 83.86 168.54 78.14 170.57C60.93 176.69 42.94 163.62 43.44 145.36C43.61 139.29 43.77 133.22 43.94 127.15C44.03 123.93 43.01 120.78 41.04 118.22C37.34 113.41 33.63 108.6 29.93 103.78C18.79 89.31 25.66 68.15 43.19 62.99C49.01 61.27 54.84 59.55 60.66 57.84C63.75 56.93 66.43 54.98 68.25 52.32C71.69 47.31 75.12 42.3 78.55 37.29C88.88 22.22 111.12 22.22 121.45 37.29Z"/>',clip:'<path d="M121.45 37.29C124.88 42.3 128.31 47.31 131.75 52.32C133.57 54.98 136.25 56.93 139.34 57.84C145.16 59.55 150.99 61.27 156.81 62.99C174.34 68.15 181.21 89.31 170.07 103.78C166.37 108.6 162.66 113.41 158.96 118.22C156.99 120.78 155.97 123.93 156.06 127.15C156.23 133.22 156.39 139.29 156.56 145.36C157.06 163.62 139.07 176.69 121.86 170.57C116.14 168.54 110.41 166.5 104.69 164.47C101.66 163.39 98.34 163.39 95.31 164.47C89.59 166.5 83.86 168.54 78.14 170.57C60.93 176.69 42.94 163.62 43.44 145.36C43.61 139.29 43.77 133.22 43.94 127.15C44.03 123.93 43.01 120.78 41.04 118.22C37.34 113.41 33.63 108.6 29.93 103.78C18.79 89.31 25.66 68.15 43.19 62.99C49.01 61.27 54.84 59.55 60.66 57.84C63.75 56.93 66.43 54.98 68.25 52.32C71.69 47.31 75.12 42.3 78.55 37.29C88.88 22.22 111.12 22.22 121.45 37.29Z"/>',anchor:{x:113.82,y:113.41,scale:1}},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:112.93,y:121.71,scale:1}},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:113.82,scale:1}},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:113.82,y:113.82,scale:1}},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:88.83,scale:1}},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:113.82,y:141.5,scale:1}},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:174.91,scale:1}},hexagon:{id:"hexagon",name:"Hexagon",fit:"translate(-5.6293 -5.6293) scale(1.198998)",body:'<path fill="{{GRADIENT}}" d="M90.66425 7.39C96.88808 3.79667 103.11192 3.79667 109.33575 7.39C131.40208 20.13 153.46841 32.87 175.53474 45.61C181.75857 49.20333 184.87049 54.59333 184.87049 61.78C184.87049 87.26 184.87049 112.74 184.87049 138.22C184.87049 145.40667 181.75857 150.79667 175.53474 154.39C153.46841 167.13 131.40208 179.87 109.33575 192.61C103.11192 196.20333 96.88808 196.20333 90.66425 192.61C68.59792 179.87 46.53159 167.13 24.46526 154.39C18.24143 150.79667 15.12951 145.40667 15.12951 138.22C15.12951 112.74 15.12951 87.26 15.12951 61.78C15.12951 54.59333 18.24143 49.20333 24.46526 45.61C46.53159 32.87 68.59792 20.13 90.66425 7.39Z"/>',clip:'<path d="M90.66425 7.39C96.88808 3.79667 103.11192 3.79667 109.33575 7.39C131.40208 20.13 153.46841 32.87 175.53474 45.61C181.75857 49.20333 184.87049 54.59333 184.87049 61.78C184.87049 87.26 184.87049 112.74 184.87049 138.22C184.87049 145.40667 181.75857 150.79667 175.53474 154.39C153.46841 167.13 131.40208 179.87 109.33575 192.61C103.11192 196.20333 96.88808 196.20333 90.66425 192.61C68.59792 179.87 46.53159 167.13 24.46526 154.39C18.24143 150.79667 15.12951 145.40667 15.12951 138.22C15.12951 112.74 15.12951 87.26 15.12951 61.78C15.12951 54.59333 18.24143 49.20333 24.46526 45.61C46.53159 32.87 68.59792 20.13 90.66425 7.39Z"/>',anchor:{x:113.82,y:113.82,scale:1}},diamond:{id:"diamond",name:"Diamond",fit:"translate(-9.1184 -9.1184) scale(1.233889)",body:'<path fill="{{GRADIENT}}" d="M89.22 12.78C96.40667 5.59333 103.59333 5.59333 110.78 12.78C136.26 38.26 161.74 63.74 187.22 89.22C194.40667 96.40667 194.40667 103.59333 187.22 110.78C161.74 136.26 136.26 161.74 110.78 187.22C103.59333 194.40667 96.40667 194.40667 89.22 187.22C63.74 161.74 38.26 136.26 12.78 110.78C5.59333 103.59333 5.59333 96.40667 12.78 89.22C38.26 63.74 63.74 38.26 89.22 12.78Z"/>',clip:'<path d="M89.22 12.78C96.40667 5.59333 103.59333 5.59333 110.78 12.78C136.26 38.26 161.74 63.74 187.22 89.22C194.40667 96.40667 194.40667 103.59333 187.22 110.78C161.74 136.26 136.26 161.74 110.78 187.22C103.59333 194.40667 96.40667 194.40667 89.22 187.22C63.74 161.74 38.26 136.26 12.78 110.78C5.59333 103.59333 5.59333 96.40667 12.78 89.22C38.26 63.74 63.74 38.26 89.22 12.78Z"/>',anchor:{x:113.82,y:113.82,scale:1}},star:{id:"star",name:"Blend",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:136.75,y:114.39,scale:1}}};function C9(e){return p9.safeParse(e).data??h9}const io=["pumpkin","ghost","witch","bat","cat","skull","monster","mummy","vampire","spider"],so=["rocket","anaar","chakri","sparkler","bomb","laddu","chakli","jalebi","katli","karanji"],ao=[...io,...so],co={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"}]}},lo=[...Object.values(yn),...Object.values(co)],pt=(e,t)=>Object.hasOwn(Yo,e)?f(e):t,m9=e=>pt(`mascot.body.${e}`,lo.find(t=>t.id===e)?.name??e),R6=e=>pt(`mascot.color.${e}`,e),L6=e=>pt(`botPanel.avatar.${e}`,e),D6=e=>pt(`mascot.expression.${e}`,e);function g9(e){const t=lo.find(n=>n.name===e);return t?m9(t.id):e}const b9=e=>f("mascot.label",{name:g9(e)}),Y1=228.541,C2=[120,122.5],m2={x:13.2,y:8.4},y9=["94.4,103.51 96.44,103.81 98.37,104.51 100.11,105.59 101.6,107.01 102.77,108.7 103.56,110.59 103.96,112.61 104,114.67 104,116.73 104,118.79 104,120.84 104,122.9 104,124.96 104,127.02 104,129.08 104,131.14 103.85,133.19 103.3,135.17 102.35,136.99 101.05,138.58 99.46,139.87 97.63,140.81 95.65,141.36 93.6,141.49 91.56,141.19 89.63,140.49 87.89,139.41 86.4,137.99 85.23,136.3 84.44,134.41 84.04,132.39 84,130.33 84,128.27 84,126.21 84,124.16 84,122.1 84,120.04 84,117.98 84,115.92 84,113.86 84.15,111.81 84.7,109.83 85.65,108.01 86.95,106.42 88.54,105.13 90.37,104.19 92.35,103.64|145.6,103.51 147.65,103.64 149.63,104.19 151.46,105.13 153.05,106.42 154.35,108.01 155.3,109.83 155.85,111.81 156,113.86 156,115.92 156,117.98 156,120.04 156,122.1 156,124.16 156,126.21 156,128.27 156,130.33 155.96,132.39 155.56,134.41 154.77,136.3 153.6,137.99 152.11,139.41 150.37,140.49 148.44,141.19 146.4,141.49 144.35,141.36 142.37,140.81 140.54,139.87 138.95,138.58 137.65,136.99 136.7,135.17 136.15,133.19 136,131.14 136,129.08 136,127.02 136,124.96 136,122.9 136,120.84 136,118.79 136,116.73 136,114.67 136.04,112.61 136.44,110.59 137.23,108.7 138.4,107.01 139.89,105.59 141.63,104.51 143.56,103.81","98.58,100.51 100.73,100.65 102.82,101.22 104.74,102.22 106.42,103.58 107.78,105.25 108.77,107.17 109.35,109.26 109.5,111.41 109.5,113.58 109.5,115.75 109.5,117.91 109.5,120.08 109.5,122.24 109.5,124.41 109.5,126.57 109.5,128.74 109.46,130.9 109.05,133.03 108.22,135.02 106.99,136.8 105.43,138.29 103.59,139.44 101.56,140.17 99.42,140.49 97.27,140.35 95.18,139.78 93.26,138.78 91.58,137.42 90.22,135.75 89.23,133.83 88.65,131.74 88.5,129.59 88.5,127.42 88.5,125.25 88.5,123.09 88.5,120.92 88.5,118.76 88.5,116.59 88.5,114.43 88.5,112.26 88.54,110.1 88.95,107.97 89.78,105.98 91.01,104.2 92.57,102.71 94.41,101.56 96.44,100.83|150.58,100.51 152.73,100.65 154.82,101.22 156.74,102.22 158.42,103.58 159.78,105.25 160.77,107.17 161.35,109.26 161.5,111.41 161.5,113.58 161.5,115.75 161.5,117.91 161.5,120.08 161.5,122.24 161.5,124.41 161.5,126.57 161.5,128.74 161.46,130.9 161.05,133.03 160.22,135.02 158.99,136.8 157.43,138.29 155.59,139.44 153.56,140.17 151.42,140.49 149.27,140.35 147.18,139.78 145.26,138.78 143.58,137.42 142.22,135.75 141.23,133.83 140.65,131.74 140.5,129.59 140.5,127.42 140.5,125.25 140.5,123.09 140.5,120.92 140.5,118.76 140.5,116.59 140.5,114.43 140.5,112.26 140.54,110.1 140.95,107.97 141.78,105.98 143.01,104.2 144.57,102.71 146.41,101.56 148.44,100.83","94,110.5 96.72,110.71 99.38,111.33 101.91,112.35 104.25,113.75 106.34,115.51 108.11,117.59 109.49,119.94 110.45,122.49 110.94,125.17 109.44,126.6 106.75,127.07 104.06,127.54 104.14,129.26 106.53,130.44 109.14,129.88 110.77,127.75 108.58,127.16 105.86,126.92 103.14,126.68 102.59,124.12 101.24,121.76 99.19,119.97 96.7,118.87 94,118.5 91.3,118.87 88.81,119.97 86.76,121.76 85.41,124.12 84.86,126.68 82.14,126.92 79.42,127.16 77.23,127.75 78.86,129.88 81.47,130.44 83.86,129.26 83.94,127.54 81.25,127.07 78.56,126.6 77.06,125.17 77.55,122.49 78.51,119.94 79.89,117.59 81.66,115.51 83.75,113.75 86.09,112.35 88.62,111.33 91.28,110.71|146,110.5 148.72,110.71 151.38,111.33 153.91,112.35 156.25,113.75 158.34,115.51 160.11,117.59 161.49,119.94 162.45,122.49 162.94,125.17 161.44,126.6 158.75,127.07 156.06,127.54 156.14,129.26 158.53,130.44 161.14,129.88 162.77,127.75 160.58,127.16 157.86,126.92 155.14,126.68 154.59,124.12 153.24,121.76 151.19,119.97 148.7,118.87 146,118.5 143.3,118.87 140.81,119.97 138.76,121.76 137.41,124.12 136.86,126.68 134.14,126.92 131.42,127.16 129.23,127.75 130.86,129.88 133.47,130.44 135.86,129.26 135.94,127.54 133.25,127.07 130.56,126.6 129.06,125.17 129.55,122.49 130.51,119.94 131.89,117.59 133.66,115.51 135.75,113.75 138.09,112.35 140.62,111.33 143.28,110.71","93.48,99.51 95.92,99.65 98.29,100.24 100.52,101.26 102.51,102.68 104.2,104.45 105.53,106.5 106.44,108.78 106.92,111.17 107,113.62 107,116.07 107,118.53 107,120.98 107,123.43 107,125.88 107,128.33 106.99,130.78 106.7,133.21 105.98,135.55 104.81,137.7 103.27,139.6 101.41,141.18 99.27,142.38 96.95,143.15 94.52,143.49 92.08,143.35 89.71,142.76 87.48,141.74 85.49,140.32 83.8,138.55 82.47,136.5 81.56,134.22 81.08,131.83 81,129.38 81,126.93 81,124.47 81,122.02 81,119.57 81,117.12 81,114.67 81.01,112.22 81.3,109.79 82.02,107.45 83.19,105.3 84.73,103.4 86.59,101.82 88.73,100.62 91.05,99.85|145.48,99.51 147.92,99.65 150.29,100.24 152.52,101.26 154.51,102.68 156.2,104.45 157.53,106.5 158.44,108.78 158.92,111.17 159,113.62 159,116.07 159,118.53 159,120.98 159,123.43 159,125.88 159,128.33 158.99,130.78 158.7,133.21 157.98,135.55 156.81,137.7 155.27,139.6 153.41,141.18 151.27,142.38 148.95,143.15 146.52,143.49 144.08,143.35 141.71,142.76 139.48,141.74 137.49,140.32 135.8,138.55 134.47,136.5 133.56,134.22 133.08,131.83 133,129.38 133,126.93 133,124.47 133,122.02 133,119.57 133,117.12 133,114.67 133.01,112.22 133.3,109.79 134.02,107.45 135.19,105.3 136.73,103.4 138.59,101.82 140.73,100.62 143.05,99.85","102.5,124 103.64,124.19 104.66,124.75 105.44,125.61 105.9,126.68 105.98,127.83 105.68,128.96 105.03,129.92 104.1,130.61 102.99,130.96 101.83,131 100.66,131 99.5,131 98.33,131 97.16,131 96,131 94.83,131 93.66,131 92.5,131 91.33,131 90.17,131 89,131 87.83,131 86.67,131 85.5,131 84.36,130.81 83.34,130.25 82.56,129.39 82.1,128.32 82.02,127.17 82.32,126.04 82.97,125.08 83.9,124.39 85.01,124.04 86.17,124 87.34,124 88.5,124 89.67,124 90.84,124 92,124 93.17,124 94.34,124 95.5,124 96.67,124 97.83,124 99,124 100.17,124 101.33,124|154.5,124 155.64,124.19 156.66,124.75 157.44,125.61 157.9,126.68 157.98,127.83 157.68,128.96 157.03,129.92 156.1,130.61 154.99,130.96 153.83,131 152.66,131 151.5,131 150.33,131 149.16,131 148,131 146.83,131 145.66,131 144.5,131 143.33,131 142.17,131 141,131 139.83,131 138.67,131 137.5,131 136.36,130.81 135.34,130.25 134.56,129.39 134.1,128.32 134.02,127.17 134.32,126.04 134.97,125.08 135.9,124.39 137.01,124.04 138.17,124 139.34,124 140.5,124 141.67,124 142.84,124 144,124 145.17,124 146.34,124 147.5,124 148.67,124 149.83,124 151,124 152.17,124 153.33,124","100.4,110.51 101.78,110.67 103.13,111.01 104.42,111.53 105.62,112.23 106.71,113.1 107.67,114.1 108.49,115.22 109.14,116.46 109.61,117.76 109.9,119.12 110,120.51 110,121.9 109.97,123.29 109.76,124.67 109.36,126 108.79,127.27 108.04,128.44 107.13,129.5 106.09,130.42 104.94,131.19 103.68,131.79 102.36,132.21 100.99,132.44 99.6,132.49 98.22,132.33 96.87,131.99 95.58,131.47 94.38,130.77 93.29,129.9 92.33,128.9 91.51,127.78 90.86,126.54 90.39,125.24 90.1,123.88 90,122.49 90,121.1 90.03,119.71 90.24,118.33 90.64,117 91.21,115.73 91.96,114.56 92.87,113.5 93.91,112.58 95.06,111.81 96.32,111.21 97.64,110.79 99.01,110.56|151.6,98.51 153.65,98.64 155.63,99.19 157.46,100.13 159.05,101.42 160.35,103.01 161.3,104.83 161.85,106.81 162,108.86 162,110.92 162,112.98 162,115.04 162,117.1 162,119.16 162,121.21 162,123.27 162,125.33 161.96,127.39 161.56,129.41 160.77,131.3 159.6,132.99 158.11,134.41 156.37,135.49 154.44,136.19 152.4,136.49 150.35,136.36 148.37,135.81 146.54,134.87 144.95,133.58 143.65,131.99 142.7,130.17 142.15,128.19 142,126.14 142,124.08 142,122.02 142,119.96 142,117.9 142,115.84 142,113.79 142,111.73 142,109.67 142.04,107.61 142.44,105.59 143.23,103.7 144.4,102.01 145.89,100.59 147.63,99.51 149.56,98.81","89.4,104.01 91.39,104.3 93.29,104.97 95.01,106.02 96.49,107.38 97.66,109.02 98.49,110.85 98.92,112.82 99,114.83 99,116.85 99,118.87 99,120.89 99,122.9 99,124.92 99,126.94 99,128.95 99,130.97 98.8,132.97 98.21,134.9 97.23,136.66 95.94,138.2 94.35,139.44 92.55,140.35 90.61,140.86 88.6,140.99 86.61,140.7 84.71,140.03 82.99,138.98 81.51,137.62 80.34,135.98 79.51,134.15 79.08,132.18 79,130.17 79,128.15 79,126.13 79,124.11 79,122.1 79,120.08 79,118.06 79,116.05 79,114.03 79.2,112.03 79.79,110.1 80.77,108.34 82.06,106.8 83.65,105.56 85.45,104.65 87.39,104.14|140.6,104.01 142.61,104.14 144.55,104.65 146.35,105.56 147.94,106.8 149.23,108.34 150.21,110.1 150.8,112.03 151,114.03 151,116.05 151,118.06 151,120.08 151,122.1 151,124.11 151,126.13 151,128.15 151,130.17 150.92,132.18 150.49,134.15 149.66,135.98 148.49,137.62 147.01,138.98 145.29,140.03 143.39,140.7 141.4,140.99 139.39,140.86 137.45,140.35 135.65,139.44 134.06,138.2 132.77,136.66 131.79,134.9 131.2,132.97 131,130.97 131,128.95 131,126.94 131,124.92 131,122.9 131,120.89 131,118.87 131,116.85 131,114.83 131.08,112.82 131.51,110.85 132.34,109.02 133.51,107.38 134.99,106.02 136.71,104.97 138.61,104.3","95.08,108.69 96.88,108.79 98.63,109.21 100.29,109.93 101.79,110.94 103.07,112.21 104.11,113.69 104.87,115.33 105.32,117.07 105.44,118.88 105.24,120.67 104.82,122.43 104.38,124.18 103.95,125.94 103.51,127.69 103.07,129.45 102.63,131.2 102.19,132.96 101.56,134.65 100.63,136.2 99.45,137.56 98.03,138.68 96.43,139.53 94.71,140.08 92.92,140.31 91.12,140.21 89.37,139.79 87.71,139.07 86.21,138.06 84.93,136.79 83.89,135.31 83.13,133.67 82.68,131.93 82.56,130.12 82.76,128.33 83.18,126.57 83.62,124.82 84.05,123.06 84.49,121.31 84.93,119.55 85.37,117.8 85.81,116.04 86.44,114.35 87.37,112.8 88.55,111.44 89.97,110.32 91.57,109.47 93.29,108.92|144.92,108.69 146.71,108.92 148.43,109.47 150.03,110.32 151.45,111.44 152.63,112.8 153.56,114.35 154.19,116.04 154.63,117.8 155.07,119.55 155.51,121.31 155.95,123.06 156.38,124.82 156.82,126.57 157.24,128.33 157.44,130.12 157.32,131.93 156.87,133.67 156.11,135.31 155.07,136.79 153.79,138.06 152.29,139.07 150.63,139.79 148.88,140.21 147.08,140.31 145.29,140.08 143.57,139.53 141.97,138.68 140.55,137.56 139.37,136.2 138.44,134.65 137.81,132.96 137.37,131.2 136.93,129.45 136.49,127.69 136.05,125.94 135.62,124.18 135.18,122.43 134.76,120.67 134.56,118.88 134.68,117.07 135.13,115.33 135.89,113.69 136.93,112.21 138.21,110.94 139.71,109.93 141.37,109.21 143.12,108.79","88.4,98.51 90.44,98.81 92.37,99.51 94.11,100.59 95.6,102.01 96.77,103.7 97.56,105.59 97.96,107.61 98,109.67 98,111.73 98,113.79 98,115.84 98,117.9 98,119.96 98,122.02 98,124.08 98,126.14 97.85,128.19 97.3,130.17 96.35,131.99 95.05,133.58 93.46,134.87 91.63,135.81 89.65,136.36 87.6,136.49 85.56,136.19 83.63,135.49 81.89,134.41 80.4,132.99 79.23,131.3 78.44,129.41 78.04,127.39 78,125.33 78,123.27 78,121.21 78,119.16 78,117.1 78,115.04 78,112.98 78,110.92 78,108.86 78.15,106.81 78.7,104.83 79.65,103.01 80.95,101.42 82.54,100.13 84.37,99.19 86.35,98.64|139.6,98.51 141.65,98.64 143.63,99.19 145.46,100.13 147.05,101.42 148.35,103.01 149.3,104.83 149.85,106.81 150,108.86 150,110.92 150,112.98 150,115.04 150,117.1 150,119.16 150,121.21 150,123.27 150,125.33 149.96,127.39 149.56,129.41 148.77,131.3 147.6,132.99 146.11,134.41 144.37,135.49 142.44,136.19 140.4,136.49 138.35,136.36 136.37,135.81 134.54,134.87 132.95,133.58 131.65,131.99 130.7,130.17 130.15,128.19 130,126.14 130,124.08 130,122.02 130,119.96 130,117.9 130,115.84 130,113.79 130,111.73 130,109.67 130.04,107.61 130.44,105.59 131.23,103.7 132.4,102.01 133.89,100.59 135.63,99.51 137.56,98.81","94.4,112.01 96.23,112.26 97.99,112.84 99.61,113.72 101.03,114.9 102.22,116.32 103.13,117.92 103.72,119.67 103.98,121.5 104,123.35 104,125.2 104,127.05 104,128.9 104,130.75 104,132.6 104,134.45 103.91,136.3 103.5,138.1 102.77,139.8 101.73,141.33 100.44,142.64 98.92,143.7 97.24,144.45 95.44,144.89 93.6,144.99 91.77,144.74 90.01,144.16 88.39,143.28 86.97,142.1 85.78,140.68 84.87,139.08 84.28,137.33 84.02,135.5 84,133.65 84,131.8 84,129.95 84,128.1 84,126.25 84,124.4 84,122.55 84.09,120.7 84.5,118.9 85.23,117.2 86.27,115.67 87.56,114.36 89.08,113.3 90.76,112.55 92.56,112.11|145.6,112.01 147.44,112.11 149.24,112.55 150.92,113.3 152.44,114.36 153.73,115.67 154.77,117.2 155.5,118.9 155.91,120.7 156,122.55 156,124.4 156,126.25 156,128.1 156,129.95 156,131.8 156,133.65 155.98,135.5 155.72,137.33 155.13,139.08 154.22,140.68 153.03,142.1 151.61,143.28 149.99,144.16 148.23,144.74 146.4,144.99 144.56,144.89 142.76,144.45 141.08,143.7 139.56,142.64 138.27,141.33 137.23,139.8 136.5,138.1 136.09,136.3 136,134.45 136,132.6 136,130.75 136,128.9 136,127.05 136,125.2 136,123.35 136.02,121.5 136.28,119.67 136.87,117.92 137.78,116.32 138.97,114.9 140.39,113.72 142.01,112.84 143.77,112.26","100.4,103.51 102.44,103.81 104.37,104.51 106.11,105.59 107.6,107.01 108.77,108.7 109.56,110.59 109.96,112.61 110,114.67 110,116.73 110,118.79 110,120.84 110,122.9 110,124.96 110,127.02 110,129.08 110,131.14 109.85,133.19 109.3,135.17 108.35,136.99 107.05,138.58 105.46,139.87 103.63,140.81 101.65,141.36 99.6,141.49 97.56,141.19 95.63,140.49 93.89,139.41 92.4,137.99 91.23,136.3 90.44,134.41 90.04,132.39 90,130.33 90,128.27 90,126.21 90,124.16 90,122.1 90,120.04 90,117.98 90,115.92 90,113.86 90.15,111.81 90.7,109.83 91.65,108.01 92.95,106.42 94.54,105.13 96.37,104.19 98.35,103.64|151.6,103.51 153.65,103.64 155.63,104.19 157.46,105.13 159.05,106.42 160.35,108.01 161.3,109.83 161.85,111.81 162,113.86 162,115.92 162,117.98 162,120.04 162,122.1 162,124.16 162,126.21 162,128.27 162,130.33 161.96,132.39 161.56,134.41 160.77,136.3 159.6,137.99 158.11,139.41 156.37,140.49 154.44,141.19 152.4,141.49 150.35,141.36 148.37,140.81 146.54,139.87 144.95,138.58 143.65,136.99 142.7,135.17 142.15,133.19 142,131.14 142,129.08 142,127.02 142,124.96 142,122.9 142,120.84 142,118.79 142,116.73 142,114.67 142.04,112.61 142.44,110.59 143.23,108.7 144.4,107.01 145.89,105.59 147.63,104.51 149.56,103.81","94,111 96.39,111.16 98.74,111.65 101,112.46 103.12,113.58 105.04,115.02 106.69,116.76 108.02,118.75 108.95,120.96 109.44,123.31 108.14,124.58 105.78,125 103.42,125.43 103.52,126.94 105.64,127.95 107.93,127.42 109.32,125.52 107.32,125.07 104.93,124.87 102.53,124.67 102.01,122.37 100.6,120.44 98.64,119.07 96.38,118.27 94,118 91.62,118.27 89.36,119.07 87.4,120.44 85.99,122.37 85.47,124.67 83.07,124.87 80.68,125.07 78.68,125.52 80.07,127.42 82.36,127.95 84.48,126.94 84.58,125.43 82.22,125 79.86,124.58 78.56,123.31 79.05,120.96 79.98,118.75 81.31,116.76 82.96,115.02 84.88,113.58 87,112.46 89.26,111.65 91.61,111.16|146,111 148.39,111.16 150.74,111.65 153,112.46 155.12,113.58 157.04,115.02 158.69,116.76 160.02,118.75 160.95,120.96 161.44,123.31 160.14,124.58 157.78,125 155.42,125.43 155.52,126.94 157.64,127.95 159.93,127.42 161.32,125.52 159.32,125.07 156.93,124.87 154.53,124.67 154.01,122.37 152.6,120.44 150.64,119.07 148.38,118.27 146,118 143.62,118.27 141.36,119.07 139.4,120.44 137.99,122.37 137.47,124.67 135.07,124.87 132.68,125.07 130.68,125.52 132.07,127.42 134.36,127.95 136.48,126.94 136.58,125.43 134.22,125 131.86,124.58 130.56,123.31 131.05,120.96 131.98,118.75 133.31,116.76 134.96,115.02 136.88,113.58 139,112.46 141.26,111.65 143.61,111.16","84.62,104.51 86.56,104.64 88.44,105.15 90.17,106.04 91.69,107.26 92.92,108.77 93.82,110.49 94.35,112.37 94.5,114.31 94.5,116.26 94.5,118.21 94.5,120.17 94.5,122.12 94.5,124.07 94.5,126.02 94.5,127.97 94.5,129.92 94.46,131.87 94.08,133.78 93.32,135.58 92.21,137.18 90.8,138.52 89.14,139.55 87.31,140.21 85.38,140.49 83.44,140.36 81.56,139.85 79.83,138.96 78.31,137.74 77.08,136.23 76.18,134.51 75.65,132.63 75.5,130.69 75.5,128.74 75.5,126.79 75.5,124.83 75.5,122.88 75.5,120.93 75.5,118.98 75.5,117.03 75.5,115.08 75.54,113.13 75.92,111.22 76.68,109.42 77.79,107.82 79.2,106.48 80.86,105.45 82.69,104.79|136.62,104.51 138.56,104.64 140.44,105.15 142.17,106.04 143.69,107.26 144.92,108.77 145.82,110.49 146.35,112.37 146.5,114.31 146.5,116.26 146.5,118.21 146.5,120.17 146.5,122.12 146.5,124.07 146.5,126.02 146.5,127.97 146.5,129.92 146.46,131.87 146.08,133.78 145.32,135.58 144.21,137.18 142.8,138.52 141.14,139.55 139.31,140.21 137.38,140.49 135.44,140.36 133.56,139.85 131.83,138.96 130.31,137.74 129.08,136.23 128.18,134.51 127.65,132.63 127.5,130.69 127.5,128.74 127.5,126.79 127.5,124.83 127.5,122.88 127.5,120.93 127.5,118.98 127.5,117.03 127.5,115.08 127.54,113.13 127.92,111.22 128.68,109.42 129.79,107.82 131.2,106.48 132.86,105.45 134.69,104.79","97.5,125 98.77,125.11 100,125.43 101.15,125.96 102.21,126.67 103.13,127.55 103.88,128.57 104.45,129.7 104.83,130.92 104.99,132.18 104.94,133.45 104.67,134.69 104.19,135.87 103.53,136.95 102.69,137.91 101.7,138.71 100.59,139.33 99.39,139.75 98.14,139.97 96.87,140 95.59,140 94.32,140 93.05,140 91.77,140 90.5,140 89.23,139.89 88,139.57 86.85,139.04 85.79,138.33 84.87,137.45 84.12,136.43 83.55,135.3 83.17,134.08 83.01,132.82 83.06,131.55 83.33,130.31 83.81,129.13 84.47,128.05 85.31,127.09 86.3,126.29 87.41,125.67 88.61,125.25 89.86,125.03 91.13,125 92.41,125 93.68,125 94.95,125 96.23,125|149.5,125 150.77,125.11 152,125.43 153.15,125.96 154.21,126.67 155.13,127.55 155.88,128.57 156.45,129.7 156.83,130.92 156.99,132.18 156.94,133.45 156.67,134.69 156.19,135.87 155.53,136.95 154.69,137.91 153.7,138.71 152.59,139.33 151.39,139.75 150.14,139.97 148.87,140 147.59,140 146.32,140 145.05,140 143.77,140 142.5,140 141.23,139.89 140,139.57 138.85,139.04 137.79,138.33 136.87,137.45 136.12,136.43 135.55,135.3 135.17,134.08 135.01,132.82 135.06,131.55 135.33,130.31 135.81,129.13 136.47,128.05 137.31,127.09 138.3,126.29 139.41,125.67 140.61,125.25 141.86,125.03 143.13,125 144.41,125 145.68,125 146.95,125 148.23,125","88.5,108.5 89.85,108.6 91.17,108.87 92.44,109.31 93.64,109.93 94.75,110.7 95.74,111.61 96.6,112.65 97.32,113.8 97.87,115.02 98.25,116.32 98.46,117.65 98.48,119 98.32,120.34 97.98,121.64 97.48,122.89 96.8,124.06 95.98,125.13 95.02,126.08 93.94,126.89 92.76,127.54 91.5,128.03 90.19,128.35 88.85,128.49 87.5,128.5 86.15,128.4 84.83,128.13 83.56,127.69 82.36,127.07 81.25,126.3 80.26,125.39 79.4,124.35 78.68,123.2 78.13,121.98 77.75,120.68 77.54,119.35 77.52,118 77.68,116.66 78.02,115.36 78.52,114.11 79.2,112.94 80.02,111.87 80.98,110.92 82.06,110.11 83.24,109.46 84.5,108.97 85.81,108.65 87.15,108.51|140.5,108.5 141.85,108.6 143.17,108.87 144.44,109.31 145.64,109.93 146.75,110.7 147.74,111.61 148.6,112.65 149.32,113.8 149.87,115.02 150.25,116.32 150.46,117.65 150.48,119 150.32,120.34 149.98,121.64 149.48,122.89 148.8,124.06 147.98,125.13 147.02,126.08 145.94,126.89 144.76,127.54 143.5,128.03 142.19,128.35 140.85,128.49 139.5,128.5 138.15,128.4 136.83,128.13 135.56,127.69 134.36,127.07 133.25,126.3 132.26,125.39 131.4,124.35 130.68,123.2 130.13,121.98 129.75,120.68 129.54,119.35 129.52,118 129.68,116.66 130.02,115.36 130.52,114.11 131.2,112.94 132.02,111.87 132.98,110.92 134.06,110.11 135.24,109.46 136.5,108.97 137.81,108.65 139.15,108.51","93.58,95.51 95.73,95.65 97.82,96.22 99.74,97.22 101.42,98.58 102.78,100.25 103.77,102.17 104.35,104.26 104.5,106.41 104.5,108.58 104.5,110.75 104.5,112.91 104.5,115.08 104.5,117.24 104.5,119.41 104.5,121.57 104.5,123.74 104.46,125.9 104.05,128.03 103.22,130.02 101.99,131.8 100.43,133.29 98.59,134.44 96.56,135.17 94.42,135.49 92.27,135.35 90.18,134.78 88.26,133.78 86.58,132.42 85.22,130.75 84.23,128.83 83.65,126.74 83.5,124.59 83.5,122.42 83.5,120.25 83.5,118.09 83.5,115.92 83.5,113.76 83.5,111.59 83.5,109.43 83.5,107.26 83.54,105.1 83.95,102.97 84.78,100.98 86.01,99.2 87.57,97.71 89.41,96.56 91.44,95.83|145.58,95.51 147.73,95.65 149.82,96.22 151.74,97.22 153.42,98.58 154.78,100.25 155.77,102.17 156.35,104.26 156.5,106.41 156.5,108.58 156.5,110.75 156.5,112.91 156.5,115.08 156.5,117.24 156.5,119.41 156.5,121.57 156.5,123.74 156.46,125.9 156.05,128.03 155.22,130.02 153.99,131.8 152.43,133.29 150.59,134.44 148.56,135.17 146.42,135.49 144.27,135.35 142.18,134.78 140.26,133.78 138.58,132.42 137.22,130.75 136.23,128.83 135.65,126.74 135.5,124.59 135.5,122.42 135.5,120.25 135.5,118.09 135.5,115.92 135.5,113.76 135.5,111.59 135.5,109.43 135.5,107.26 135.54,105.1 135.95,102.97 136.78,100.98 138.01,99.2 139.57,97.71 141.41,96.56 143.44,95.83","95.58,109.8 97.29,109.93 98.96,110.35 100.54,111.05 101.97,112.01 103.21,113.2 104.24,114.59 105.01,116.13 105.5,117.78 105.7,119.49 105.6,121.21 105.21,122.89 104.64,124.51 104.05,126.14 103.46,127.76 102.87,129.38 102.28,131 101.69,132.62 100.96,134.18 99.97,135.59 98.76,136.82 97.35,137.81 95.8,138.56 94.14,139.02 92.42,139.2 90.71,139.07 89.04,138.65 87.46,137.95 86.03,136.99 84.79,135.8 83.76,134.41 82.99,132.87 82.5,131.22 82.3,129.51 82.4,127.79 82.79,126.11 83.36,124.49 83.95,122.86 84.54,121.24 85.13,119.62 85.72,118 86.31,116.38 87.04,114.82 88.03,113.41 89.24,112.18 90.65,111.19 92.2,110.44 93.86,109.98|144.42,109.8 146.14,109.98 147.8,110.44 149.35,111.19 150.76,112.18 151.97,113.41 152.96,114.82 153.69,116.38 154.28,118 154.87,119.62 155.46,121.24 156.05,122.86 156.64,124.49 157.21,126.11 157.6,127.79 157.7,129.51 157.5,131.22 157.01,132.87 156.24,134.41 155.21,135.8 153.97,136.99 152.54,137.95 150.96,138.65 149.29,139.07 147.58,139.2 145.86,139.02 144.2,138.56 142.65,137.81 141.24,136.82 140.03,135.59 139.04,134.18 138.31,132.62 137.72,131 137.13,129.38 136.54,127.76 135.95,126.14 135.36,124.51 134.79,122.89 134.4,121.21 134.3,119.49 134.5,117.78 134.99,116.13 135.76,114.59 136.79,113.2 138.03,112.01 139.46,111.05 141.04,110.35 142.71,109.93","94,108 97.12,108.24 100.16,108.96 103.06,110.13 105.74,111.74 108.13,113.76 110.15,116.15 111.74,118.84 112.84,121.77 113.41,124.84 111.86,126.6 108.78,127.13 105.69,127.67 105.81,129.64 108.58,130.94 111.54,130.19 113.31,127.69 110.5,127.22 107.38,126.95 104.49,126.45 103.91,123.39 102.31,120.71 99.95,118.68 97.09,117.43 94,117 90.91,117.43 88.05,118.68 85.69,120.71 84.09,123.39 83.51,126.45 80.62,126.95 77.5,127.22 74.69,127.69 76.46,130.19 79.42,130.94 82.19,129.64 82.31,127.67 79.22,127.13 76.14,126.6 74.59,124.84 75.16,121.77 76.26,118.84 77.85,116.15 79.87,113.76 82.26,111.74 84.94,110.13 87.84,108.96 90.88,108.24|146,108 149.12,108.24 152.16,108.96 155.06,110.13 157.74,111.74 160.13,113.76 162.15,116.15 163.74,118.84 164.84,121.77 165.41,124.84 163.86,126.6 160.78,127.13 157.69,127.67 157.81,129.64 160.58,130.94 163.54,130.19 165.31,127.69 162.5,127.22 159.38,126.95 156.49,126.45 155.91,123.39 154.31,120.71 151.95,118.68 149.09,117.43 146,117 142.91,117.43 140.05,118.68 137.69,120.71 136.09,123.39 135.51,126.45 132.62,126.95 129.5,127.22 126.69,127.69 128.46,130.19 131.42,130.94 134.19,129.64 134.31,127.67 131.22,127.13 128.14,126.6 126.59,124.84 127.16,121.77 128.26,118.84 129.85,116.15 131.87,113.76 134.26,111.74 136.94,110.13 139.84,108.96 142.88,108.24","102.62,104.51 104.56,104.64 106.44,105.15 108.17,106.04 109.69,107.26 110.92,108.77 111.82,110.49 112.35,112.37 112.5,114.31 112.5,116.26 112.5,118.21 112.5,120.17 112.5,122.12 112.5,124.07 112.5,126.02 112.5,127.97 112.5,129.92 112.46,131.87 112.08,133.78 111.32,135.58 110.21,137.18 108.8,138.52 107.14,139.55 105.31,140.21 103.38,140.49 101.44,140.36 99.56,139.85 97.83,138.96 96.31,137.74 95.08,136.23 94.18,134.51 93.65,132.63 93.5,130.69 93.5,128.74 93.5,126.79 93.5,124.83 93.5,122.88 93.5,120.93 93.5,118.98 93.5,117.03 93.5,115.08 93.54,113.13 93.92,111.22 94.68,109.42 95.79,107.82 97.2,106.48 98.86,105.45 100.69,104.79|154.62,104.51 156.56,104.64 158.44,105.15 160.17,106.04 161.69,107.26 162.92,108.77 163.82,110.49 164.35,112.37 164.5,114.31 164.5,116.26 164.5,118.21 164.5,120.17 164.5,122.12 164.5,124.07 164.5,126.02 164.5,127.97 164.5,129.92 164.46,131.87 164.08,133.78 163.32,135.58 162.21,137.18 160.8,138.52 159.14,139.55 157.31,140.21 155.38,140.49 153.44,140.36 151.56,139.85 149.83,138.96 148.31,137.74 147.08,136.23 146.18,134.51 145.65,132.63 145.5,130.69 145.5,128.74 145.5,126.79 145.5,124.83 145.5,122.88 145.5,120.93 145.5,118.98 145.5,117.03 145.5,115.08 145.54,113.13 145.92,111.22 146.68,109.42 147.79,107.82 149.2,106.48 150.86,105.45 152.69,104.79","93.48,105.51 95.34,105.58 97.18,105.91 98.95,106.49 100.62,107.32 102.16,108.38 103.52,109.66 104.68,111.11 105.63,112.72 106.35,114.44 106.8,116.25 106.98,118.11 107,119.98 107,121.84 106.94,123.71 106.63,125.55 106.06,127.33 105.24,129 104.2,130.55 102.94,131.93 101.5,133.11 99.9,134.07 98.18,134.8 96.38,135.27 94.52,135.49 92.66,135.42 90.82,135.09 89.05,134.51 87.38,133.68 85.84,132.62 84.48,131.34 83.32,129.89 82.37,128.28 81.65,126.56 81.2,124.75 81.02,122.89 81,121.02 81,119.16 81.06,117.29 81.37,115.45 81.94,113.67 82.76,112 83.8,110.45 85.06,109.07 86.5,107.89 88.1,106.93 89.82,106.2 91.62,105.73|145.48,105.51 147.34,105.58 149.18,105.91 150.95,106.49 152.62,107.32 154.16,108.38 155.52,109.66 156.68,111.11 157.63,112.72 158.35,114.44 158.8,116.25 158.98,118.11 159,119.98 159,121.84 158.94,123.71 158.63,125.55 158.06,127.33 157.24,129 156.2,130.55 154.94,131.93 153.5,133.11 151.9,134.07 150.18,134.8 148.38,135.27 146.52,135.49 144.66,135.42 142.82,135.09 141.05,134.51 139.38,133.68 137.84,132.62 136.48,131.34 135.32,129.89 134.37,128.28 133.65,126.56 133.2,124.75 133.02,122.89 133,121.02 133,119.16 133.06,117.29 133.37,115.45 133.94,113.67 134.76,112 135.8,110.45 137.06,109.07 138.5,107.89 140.1,106.93 141.82,106.2 143.62,105.73","86.62,110.51 88.48,110.62 90.28,111.09 91.96,111.91 93.45,113.03 94.69,114.42 95.63,116.04 96.24,117.8 96.49,119.64 96.5,121.51 96.5,123.38 96.5,125.25 96.5,127.12 96.5,128.99 96.5,130.85 96.5,132.72 96.5,134.59 96.39,136.45 95.92,138.26 95.11,139.94 93.99,141.43 92.6,142.67 90.99,143.62 89.23,144.23 87.38,144.49 85.52,144.38 83.72,143.91 82.04,143.09 80.55,141.97 79.31,140.58 78.37,138.96 77.76,137.2 77.51,135.36 77.5,133.49 77.5,131.62 77.5,129.75 77.5,127.88 77.5,126.01 77.5,124.15 77.5,122.28 77.5,120.41 77.61,118.55 78.08,116.74 78.89,115.06 80.01,113.57 81.4,112.33 83.01,111.38 84.77,110.77|138.62,110.51 140.48,110.62 142.28,111.09 143.96,111.91 145.45,113.03 146.69,114.42 147.63,116.04 148.24,117.8 148.49,119.64 148.5,121.51 148.5,123.38 148.5,125.25 148.5,127.12 148.5,128.99 148.5,130.85 148.5,132.72 148.5,134.59 148.39,136.45 147.92,138.26 147.11,139.94 145.99,141.43 144.6,142.67 142.99,143.62 141.23,144.23 139.38,144.49 137.52,144.38 135.72,143.91 134.04,143.09 132.55,141.97 131.31,140.58 130.37,138.96 129.76,137.2 129.51,135.36 129.5,133.49 129.5,131.62 129.5,129.75 129.5,127.88 129.5,126.01 129.5,124.15 129.5,122.28 129.5,120.41 129.61,118.55 130.08,116.74 130.89,115.06 132.01,113.57 133.4,112.33 135.01,111.38 136.77,110.77","94.6,97.51 97.21,97.85 99.71,98.64 102.04,99.85 104.13,101.45 105.9,103.38 107.31,105.6 108.31,108.03 108.87,110.59 109,113.22 109,115.84 109,118.47 109,121.1 109,123.73 109,126.36 108.98,128.99 108.66,131.6 107.9,134.11 106.71,136.45 105.13,138.55 103.2,140.33 101,141.75 98.58,142.77 96.02,143.36 93.4,143.49 90.79,143.15 88.29,142.36 85.96,141.15 83.87,139.55 82.1,137.62 80.69,135.4 79.69,132.97 79.13,130.41 79,127.78 79,125.16 79,122.53 79,119.9 79,117.27 79,114.64 79.02,112.01 79.34,109.4 80.1,106.89 81.29,104.55 82.87,102.45 84.8,100.67 87,99.25 89.42,98.23 91.98,97.64|145.4,97.51 148.02,97.64 150.58,98.23 153,99.25 155.2,100.67 157.13,102.45 158.71,104.55 159.9,106.89 160.66,109.4 160.98,112.01 161,114.64 161,117.27 161,119.9 161,122.53 161,125.16 161,127.78 160.87,130.41 160.31,132.97 159.31,135.4 157.9,137.62 156.13,139.55 154.04,141.15 151.71,142.36 149.21,143.15 146.6,143.49 143.98,143.36 141.42,142.77 139,141.75 136.8,140.33 134.87,138.55 133.29,136.45 132.1,134.11 131.34,131.6 131.02,128.99 131,126.36 131,123.73 131,121.1 131,118.47 131,115.84 131,113.22 131.13,110.59 131.69,108.03 132.69,105.6 134.1,103.38 135.87,101.45 137.96,99.85 140.29,98.64 142.79,97.85","81.79,118.01 79.73,118.87 78.57,120.79 80.84,120.96 83.11,121.12 85.39,121.29 86.3,123.25 88.1,124.63 90.21,125.48 92.45,125.92 94.73,125.98 96.99,125.68 99.16,124.99 101.11,123.82 102.43,122.01 104.06,121.18 106.34,121.02 108.61,120.85 108.82,119.48 107.02,118.16 104.78,118.25 103.04,119.65 104.1,120.67 106.34,121.1 108.58,121.53 109.35,123.05 108.68,125.22 107.53,127.18 105.98,128.86 104.17,130.23 102.16,131.31 100.03,132.11 97.81,132.65 95.55,132.94 93.27,132.98 91,132.78 88.77,132.34 86.6,131.63 84.54,130.66 82.65,129.39 81,127.82 79.69,125.96 78.83,123.85 78.61,121.69 80.85,121.26 83.09,120.83 85.32,120.39 83.94,118.63|133.79,118.01 131.73,118.87 130.57,120.79 132.84,120.96 135.11,121.12 137.39,121.29 138.3,123.25 140.1,124.63 142.21,125.48 144.45,125.92 146.73,125.98 148.99,125.68 151.16,124.99 153.11,123.82 154.43,122.01 156.06,121.18 158.34,121.02 160.61,120.85 160.82,119.48 159.02,118.16 156.78,118.25 155.04,119.65 156.1,120.67 158.34,121.1 160.58,121.53 161.35,123.05 160.68,125.22 159.53,127.18 157.98,128.86 156.17,130.23 154.16,131.31 152.03,132.11 149.81,132.65 147.55,132.94 145.27,132.98 143,132.78 140.77,132.34 138.6,131.63 136.54,130.66 134.65,129.39 133,127.82 131.69,125.96 130.83,123.85 130.61,121.69 132.85,121.26 135.09,120.83 137.32,120.39 135.94,118.63","102,111.5 103.24,111.62 104.44,111.95 105.57,112.48 106.58,113.21 107.45,114.11 108.14,115.15 108.64,116.29 108.92,117.51 108.99,118.75 108.84,119.99 108.46,121.18 107.88,122.28 107.12,123.27 106.19,124.11 105.13,124.76 103.97,125.21 102.74,125.46 101.5,125.5 100.25,125.5 99,125.5 97.75,125.5 96.5,125.5 95.25,125.5 94,125.5 92.76,125.38 91.56,125.05 90.43,124.52 89.42,123.79 88.55,122.89 87.86,121.85 87.36,120.71 87.08,119.49 87.01,118.25 87.16,117.01 87.54,115.82 88.12,114.72 88.88,113.73 89.81,112.89 90.87,112.24 92.03,111.79 93.26,111.54 94.5,111.5 95.75,111.5 97,111.5 98.25,111.5 99.5,111.5 100.75,111.5|149.6,106.51 151.4,106.6 153.16,107.02 154.81,107.74 156.31,108.75 157.6,110.01 158.64,111.49 159.41,113.12 159.87,114.87 160,116.67 160,118.48 160,120.29 160,122.1 160,123.91 160,125.71 160,127.52 159.96,129.33 159.65,131.11 159.02,132.8 158.1,134.36 156.92,135.72 155.5,136.84 153.91,137.69 152.19,138.25 150.4,138.49 148.6,138.4 146.84,137.98 145.19,137.26 143.69,136.25 142.4,134.99 141.36,133.51 140.59,131.88 140.13,130.13 140,128.33 140,126.52 140,124.71 140,122.9 140,121.09 140,119.29 140,117.48 140.04,115.67 140.35,113.89 140.98,112.2 141.9,110.64 143.08,109.28 144.5,108.16 146.09,107.31 147.81,106.75","88.66,115.51 90.14,115.58 91.59,115.91 92.96,116.49 94.21,117.29 95.3,118.3 96.2,119.48 96.87,120.8 97.31,122.22 97.49,123.7 97.5,125.18 97.5,126.67 97.5,128.16 97.5,129.65 97.5,131.13 97.5,132.62 97.42,134.1 97.1,135.55 96.54,136.93 95.74,138.18 94.73,139.27 93.55,140.17 92.23,140.85 90.82,141.3 89.34,141.49 87.86,141.42 86.41,141.09 85.04,140.51 83.79,139.71 82.7,138.7 81.8,137.52 81.13,136.2 80.69,134.78 80.51,133.3 80.5,131.82 80.5,130.33 80.5,128.84 80.5,127.35 80.5,125.87 80.5,124.38 80.58,122.9 80.9,121.45 81.46,120.07 82.26,118.82 83.27,117.73 84.45,116.83 85.77,116.15 87.18,115.7|140.66,115.51 142.14,115.58 143.59,115.91 144.96,116.49 146.21,117.29 147.3,118.3 148.2,119.48 148.87,120.8 149.31,122.22 149.49,123.7 149.5,125.18 149.5,126.67 149.5,128.16 149.5,129.65 149.5,131.13 149.5,132.62 149.42,134.1 149.1,135.55 148.54,136.93 147.74,138.18 146.73,139.27 145.55,140.17 144.23,140.85 142.82,141.3 141.34,141.49 139.86,141.42 138.41,141.09 137.04,140.51 135.79,139.71 134.7,138.7 133.8,137.52 133.13,136.2 132.69,134.78 132.51,133.3 132.5,131.82 132.5,130.33 132.5,128.84 132.5,127.35 132.5,125.87 132.5,124.38 132.58,122.9 132.9,121.45 133.46,120.07 134.26,118.82 135.27,117.73 136.45,116.83 137.77,116.15 139.18,115.7"],uo=y9.map(e=>e.split("|").map(t=>t.split(" ").map(n=>{const[r,o]=n.split(",");return[Number(r),Number(o)]}))),tt=e=>{let t=0,n=0;for(const r of e)t+=r[0],n+=r[1];return[t/e.length,n/e.length]},xe=uo.map(e=>{const t=tt(e[0]),n=tt(e[1]);return[(t[0]+n[0])/2-C2[0],(t[1]+n[1])/2-C2[1]]}),Ge=uo.map((e,t)=>e.map(n=>n.map(r=>[r[0]-xe[t][0],r[1]-xe[t][1]]))),xt=Ge.length,vt=[[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0],[0,0,-14,0]],x9=7.5;function v9(e,t){const n=tt(e[0]),r=tt(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 _1={x:56,y:86.5,w:128,h:72,r:36},Ze=1e3/60,Dt=4,fo=[1e3/20,1e3/30,Ze],k9=64,w9=fo[0],_9=.5,S9=.2,po=1400,Ft=200,j9=1/Math.E,je=Y1+30,g2=Y1/2,M9=Math.PI*2,N9=Math.PI/180,b2={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}},E9=e=>{const n=e-1;return 1+(1.7+1)*n*n*n+1.7*n*n},$9=e=>e<.5?2*e*e:1-2*(1-e)*(1-e);function A9(e,t,n){if(n<=0)return"";const r=Y1/2,o=Y1,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)*E9(Math.max(y,0))}if(e.settle!==void 0){const C=Math.min(Math.max(t/po,0),1);u*=1+(e.settle-1)*$9(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 Z9(e){if(!(e>0))return 1/0;for(const t of fo)if(e*t<=_9)return t;return Ze}function Q1(e,t,n){return e*n>=S9?M9*e*n/t:0}function O9(e,t,n){if(t<=0)return 0;let r=0;return e.bob&&(r+=Q1(e.bob[0]*t,e.bob[1],n),e.squash&&(r+=Q1(e.squash*t*.5*Y1,e.bob[1],n))),e.sway&&(r+=Q1(e.sway[0]*t*N9*g2,e.sway[1],n)),e.pulse&&(r+=Q1(e.pulse[0]*t*g2,e.pulse[1],n)),e.circle&&(r+=Q1(e.circle[0]*t,e.circle[1],n)),e.jitter&&(r+=Q1(e.jitter[0]*t,e.jitter[1]*.63,n)),r}function z9(e,t){return!!(e.enter&&t<e.enter[1])||e.settle!==void 0&&t<po}function Me(e,t){return t===1/0?1/0:(Math.floor((e+Dt)/t)+1)*t}function xn(e){return e<=k9?w9:Ze}function I9(e,t){return Math.max(T9(e,t),Me(e,xn(t.sizePx)))}function T9(e,t){const{motion:n,effects:r,stateElapsedMs:o,strength:i}=t,s=Me(e,Ze);if(t.blinkingOrSpinning||i>0&&t.showEffects&&(r?.confetti||r?.trails)||i>0&&z9(n,o))return s;const c=t.sizePx/je,l=Me(e,Z9(O9(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-Ft;return d<p+Ft||d>=h?s:Math.min(l,e+h-d)}function P9(e,t,n,r){return t>=1?0:Math.max(Math.abs(e),j9*n*(1-t))/1e3*r}function R9(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 L9=1;function D9(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()-Dt;if(h<=Ze){r=e.requestFrame(u);return}o=e.setTimer(()=>{o=null,r===null&&!i&&t.size&&(r=e.requestFrame(u))},h-L9)},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+Dt&&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 F9(){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 y2;function ho(){return y2??=D9(F9()),y2}const Co="(prefers-reduced-motion: reduce)";function B9(e){const t=globalThis.window?.matchMedia?.(Co);return t?.addEventListener("change",e),()=>t?.removeEventListener("change",e)}const U9=()=>globalThis.window?.matchMedia?.(Co).matches??!1;function mo(){return m.useSyncExternalStore(B9,U9,()=>!1)}const{id:F6,...W9}=yn.cursor,K9=W9,H9=["#9FE6B5","#3FAE6E","#1C7A4C"],V9=`-15 -15 ${je} ${je}`,Be=114.2705,Ue=105,Bt=Math.PI*2,ve=e=>{const t=Math.sin(e*127.1+311.7)*43758.5453;return t-Math.floor(t)},x2=["#F472B6","#C084FC","#818CF8","#38BDF8","#34D399","#FACC15","#FB7185"],v2=["#4ADE80","#34D399","#22D3EE","#60A5FA"],k2='<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"/>',G9='<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"/>',Ut={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:k2,period:2600,hold:1100}},notifying:{glyph:{markup:k2,period:4200,hold:900}},confused:{glyph:{markup:G9,period:5200,hold:1200}}},J9="http://www.w3.org/2000/svg";function go(e,t){for(;e.childNodes.length>t;)e.removeChild(e.lastChild);for(;e.childNodes.length<t;){const n=document.createElementNS(J9,"path");n.setAttribute("stroke-linecap","round"),n.setAttribute("fill","none"),e.appendChild(n)}return Array.from(e.querySelectorAll(":scope > path"))}function q9(e,t,n,r,o,i){const s=go(e,t.count);for(let c=0;c<t.count;c++){const l=s[c],u=ve(c+1),d=ve(c+41),p=ve(c+91),h=(n+p*t.period)%t.period/t.life*1;if(h>1){l.setAttribute("opacity","0");continue}const C=u*Bt,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,M=11+d*12,N=C+(p-.5)*5*h,w=k+Math.cos(N)*M,v=_+Math.sin(N)*M,A=(u-.5)*M*.7,O=(k+w)/2-Math.sin(N)*A,Z=(_+v)/2+Math.cos(N)*A;l.setAttribute("d",`M${k.toFixed(1)} ${_.toFixed(1)} Q${O.toFixed(1)} ${Z.toFixed(1)} ${w.toFixed(1)} ${v.toFixed(1)}`),l.setAttribute("stroke",x2[c%x2.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 Y9(e,t,n,r,o,i){const s=go(e,t.count),c=12;for(let l=0;l<t.count;l++){const u=s[l],d=ve(l+3),p=ve(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)*Bt+d*Bt,x=.85+p*.7;let k="";for(let _=0;_<=c;_++){const M=_/c,N=y+x*M,w=g*(1+Math.sin(M*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",v2[l%v2.length]),u.setAttribute("stroke-width",(5+d*3).toFixed(1)),u.setAttribute("opacity","0.85")}}function bo(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)/Ft))}function X9(e){const t=Ut[e.state],n=Y1/2,r=e.strength;if(e.trails&&(t?.trails&&e.showEffects&&r>0?Y9(e.trails,t.trails,e.elapsed,r,n,n):e.trails.childNodes.length&&e.trails.replaceChildren()),e.confetti&&(t?.confetti&&e.showEffects&&r>0?q9(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=bo(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 nt={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]},Q9={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]},e8={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},t8=e=>e in nt,n8=Object.keys(nt).filter(t8),Z1=(e,t,n)=>Math.max(t,Math.min(n,e)),w2=()=>null,r8=e=>"M"+e.map(t=>t[0].toFixed(2)+" "+t[1].toFixed(2)).join("L")+"Z",o8=e=>e.map(t=>t.map(n=>[n[0],n[1]])),i8=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 s8(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 a8=e=>`translate(${e.x} ${e.y}) scale(${e.scale}) translate(-120 ${-122.5})`,c8=$n.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=!1,mouthStroke:p=x9,motion:h,effects:C=!0,glyphs:g=!0,autoBlink:y=!0,autoExpression:x=!0,paused:k=!1,silhouette:_=K9,gradient:M=H9,picture:N,eyeColor:w="#ffffff",title:v,className:A,style:O},Z){const V=m.useId(),j=m.useMemo(()=>"mascot"+V.replace(/[^a-zA-Z0-9]/g,""),[V]),o1=m.useRef(null),P=m.useRef(null),T=m.useRef(null),z=m.useRef(null),$=m.useRef(null),q=m.useRef(null),B=m.useRef(null),t1=m.useRef(null),j1=m.useRef(null),Y=m.useRef(null),M1=()=>Y.current?.wake(Me(performance.now(),xn(U.current.props.sizePx))),i1=mo(),k1=h??(i1?0:1),I=`url(#${j}-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:o8(Ge[0]),target:Ge[0],currentMouth:vt[0].slice(),targetMouth:vt[0],currentGaze:[...xe[0]],targetGaze:[...xe[0]],expression:0,morph:1,velocity:0,travel:0,blinkStart:w2(),spinStart:w2(),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%xt+xt)%xt;if(f1===F.expression&&F.morph>=1)return;const N1={rings:_2(F),mouth:S2(F),gaze:j2(F)};F.current=N1.rings,F.currentMouth=N1.mouth,F.currentGaze=N1.gaze,F.target=Ge[f1],F.targetMouth=vt[f1],F.targetGaze=xe[f1],F.travel=R9(N1,{rings:F.target,mouth:F.targetMouth,gaze:F.targetGaze}),F.expression=f1,F.morph=0,F.velocity=0,F.last=performance.now(),M1()};$n.useImperativeHandle(Z,()=>({blink:()=>{U.current.props.reduced||(U.current.blinkStart=performance.now(),M1())},spin:(l1=900)=>{U.current.props.reduced||(U.current.spinDuration=l1,U.current.spinStart=performance.now(),M1())},setExpression:e1}),[]),m.useEffect(()=>{e1(n??nt[t][0])},[t,n]),m.useEffect(()=>{if(!x||n!==void 0||k||i1)return;let l1;const F=()=>{const[f1,N1]=Q9[t];l1=setTimeout(()=>{const D=nt[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()*(N1-f1))};return F(),()=>clearTimeout(l1)},[t,x,n,k,i1]),m.useEffect(()=>{const l1=e8[t];if(!y||!l1||k||i1)return;let F;const f1=()=>{F=setTimeout(()=>{U.current.blinkStart=performance.now(),M1(),f1()},l1[0]+Math.random()*(l1[1]-l1[0]))};return f1(),()=>clearTimeout(F)},[t,y,k,i1]),m.useEffect(()=>{U.current.faceStale=!0,M1()},[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=j2(D),E1=C1.lookAround??.35,$1=n1[0]*E1,X1=n1[1]*E1,L1=_2(D).map(H1=>H1.map(w1=>[w1[0]+$1,w1[1]+X1])),b1=Z1(C1.gaze?.x??0,-1,1)*m2.x,jn=Z1(C1.gaze?.y??0,-1,1)*m2.y,Mn=((C1.turn??0)+X)*Math.PI/180,Nn=C1.eyeScale??1,Uo=l8(D,E);L1.forEach((H1,w1)=>{const V1=w1===0?P.current:T.current;if(!V1)return;const G1=i8(H1),le=Math.asin(Z1((G1[0]-Be)/Ue,-1,1)),Te=le+Mn,En=Math.cos(Te),Wo=Math.max(En,.02)/Math.max(Math.cos(le),.02);V1.setAttribute("d",r8(H1)),V1.setAttribute("transform",`translate(${(Be+Ue*Math.sin(Te)+b1).toFixed(2)} ${(G1[1]+jn).toFixed(2)}) scale(${Z1(Wo*Nn,.02,2.4).toFixed(4)} ${Z1(Uo*Nn,.02,2.4).toFixed(4)}) translate(${(-G1[0]).toFixed(2)} ${(-G1[1]).toFixed(2)})`),V1.style.opacity=En>.02?"1":"0"});const Ie=z.current;if(Ie){const H1=S2(D),w1=v9(L1,H1),V1=Math.asin(Z1((w1.x-Be)/Ue,-1,1)),G1=V1+Mn,le=Math.cos(G1),Te=Math.max(le,.02)/Math.max(Math.cos(V1),.02);Ie.setAttribute("d",s8(w1,H1)),Ie.setAttribute("transform",`translate(${(Be+Ue*Math.sin(G1)+b1).toFixed(2)} ${(w1.y+jn).toFixed(2)}) scale(${Z1(Te,.02,2.4).toFixed(4)} 1) translate(${(-w1.x).toFixed(2)} ${(-w1.y).toFixed(2)})`),Ie.style.opacity=le>.02?"1":"0"}},F=(D,E,X,C1)=>{const n1=D.props;n1.state!==D.lastState&&(D.lastState=n1.state,D.stateStart=E);const E1=$.current;if(E1){const b1=A9(b2[n1.state]??{},E-D.stateStart,n1.motionStrength??1);b1!==D.lastBodyTransform&&(D.lastBodyTransform=b1,b1?E1.setAttribute("transform",b1):E1.removeAttribute("transform"))}const $1=Ut[n1.state],X1=$1?.glyph&&C1?bo($1.glyph,E-D.stateStart):0,L1=`${n1.state}|${X}|${C1}|${X1}|${n1.paint}`;!$1?.confetti&&!$1?.trails&&D.effectsStill===L1||(D.effectsStill=L1,X9({trails:B.current,confetti:t1.current,glyph:j1.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 E1=0;if(E.spinStart!==null){const b1=(D-E.spinStart)/E.spinDuration;b1>=1?E.spinStart=null:E1=360*b1}const $1=()=>E.morph<1||E.blinkStart!==null||E.spinStart!==null;(E.faceStale||E.faceMoving||$1())&&l1(E,D,E1),E.faceStale=!1,E.faceMoving=$1();const X1=X.effects!==!1&&!X.paused,L1=X.glyphs!==!1&&!X.paused&&!X.reduced;return F(E,D,X1,L1),X.paused?1/0:I9(D,{motion:b2[X.state]??{},effects:Ut[X.state],stateElapsedMs:D-E.stateStart,strength:X.motionStrength??1,showEffects:X1,showGlyphs:L1,sizePx:X.sizePx,faceUnitsPerMs:P9(E.velocity,E.morph,n1,E.travel),blinkingOrSpinning:E.blinkStart!==null||E.spinStart!==null})};U.current.last=performance.now();const N1=ho().add(f1,o1.current);return Y.current=N1,()=>{N1.remove(),Y.current=null}},[]);const c1=typeof r=="number"?`${r}px`:r,g1=v===void 0?b9(_.name):v,ze=_.body.replace(/\{\{GRADIENT\}\}/g,`url(#${j}-grad)`);return a.jsxs("svg",{ref:o1,viewBox:V9,width:c1,height:c1,className:A,style:O,role:g1?"img":void 0,"aria-label":g1??void 0,"aria-hidden":g1?void 0:!0,children:[a.jsxs("defs",{children:[a.jsxs("radialGradient",{id:`${j}-grad`,cx:"0.36",cy:"0.3",r:"0.82",fx:"0.32",fy:"0.22",children:[a.jsx("stop",{offset:"0%",stopColor:M[0]}),a.jsx("stop",{offset:"45%",stopColor:M[1]}),a.jsx("stop",{offset:"100%",stopColor:M[2]})]}),a.jsxs("linearGradient",{id:`${j}-visor`,x1:"0",y1:"0",x2:"0",y2:"1",children:[a.jsx("stop",{offset:"0%",stopColor:"#24333F"}),a.jsx("stop",{offset:"100%",stopColor:"#05090D"})]}),a.jsx("clipPath",{id:`${j}-vclip`,children:a.jsx("rect",{x:_1.x,y:_1.y,width:_1.w,height:_1.h,rx:_1.r})}),a.jsx("clipPath",{id:`${j}-clip`,transform:_.fit||void 0,dangerouslySetInnerHTML:{__html:_.clip}})]}),a.jsxs("g",{transform:c?`translate(${Y1} 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:je,height:je,preserveAspectRatio:"none"}):a.jsx("g",{transform:_.fit||void 0,dangerouslySetInnerHTML:{__html:ze}}),a.jsx("g",{clipPath:`url(#${j}-clip)`,visibility:N?"hidden":void 0,children:a.jsxs("g",{transform:a8(_.anchor),children:[a.jsx("rect",{x:_1.x,y:_1.y,width:_1.w,height:_1.h,rx:_1.r,fill:`url(#${j}-visor)`,stroke:"#ffffff",strokeOpacity:.12,strokeWidth:2}),a.jsxs("g",{clipPath:`url(#${j}-vclip)`,children:[a.jsx("use",{href:`#${j}-eye0`,stroke:w,strokeWidth:12,strokeOpacity:.16,strokeLinejoin:"round"}),a.jsx("use",{href:`#${j}-eye1`,stroke:w,strokeWidth:12,strokeOpacity:.16,strokeLinejoin:"round"}),a.jsx("path",{id:`${j}-eye0`,ref:P,fill:w}),a.jsx("path",{id:`${j}-eye1`,ref:T,fill:w})]}),d&&a.jsx("path",{ref:z,fill:"none",stroke:w,strokeWidth:p,strokeLinecap:"round"})]})})]}),a.jsx("g",{ref:j1,style:{opacity:0}})]}),a.jsx("g",{ref:t1})]})]})});function _2(e){const t=Z1(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 yo=(e,t,n)=>e.map((r,o)=>r+(t[o]-r)*Z1(n,0,1)),S2=e=>yo(e.currentMouth,e.targetMouth,e.morph),j2=e=>yo(e.currentGaze,e.targetGaze,e.morph);function l8(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 xo(e){return e.tasks?.length?e.tasks.some(t=>!!t.unread&&!t.routineRunId&&t.archivedAt===void 0):!!e.unread}function u8(e){return(e.tasks??[]).reduce((t,n)=>t+(n.openAsks??0),0)}function B6(e){return Math.max(xo(e)?1:0,u8(e))}const d8=/^\(\d+\) /;function f8(e,t){const n=e.replace(d8,"");return t>0?`(${t}) ${n}`:n}function U6(e){document.title=f8(document.title,e),(e>0?navigator.setAppBadge?.(e):navigator.clearAppBadge?.())?.catch(()=>{})}function p8(e){return e.kind==="digest"||e.kind==="compaction"||e.kind==="call"}function h8(e){if(e){for(let t=e.length-1;t>=0;t-=1)if(!p8(e[t]))return e[t]}}const C8=n8,z1={green:"#009957",blue:"#377FE6",red:"#D94B52",orange:"#E78531",purple:"#8057C8",cyan:"#0EA5C6",pink:"#D84F8B",yellow:"#D8A729",teal:"#01A492",coral:"#E5634E",silver:"#A8ADB4",chrome:"#45D6EE"},W6={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"},vo=["#C4FAFF","#45D6EE","#137F9E"],m8="#9CF7FF";function K6(e){if(e!=="chrome")return z1[e];const[t,n,r]=vo;return`radial-gradient(circle at 34% 26%, #ffffff 0%, ${t} 20%, ${n} 55%, ${r} 100%)`}const g8={deadpan:"idle",friendly:"happy",focused:"working",thinking:"thinking",excited:"excited",sleepy:"drowsy",surprised:"surprised",skeptical:"suspicious",worried:"scared",mischievous:"playful"},b8=new Set(C8);function y8(e){return e?b8.has(e)?e:g8[e]??null:null}const H6=["idle","happy","curious","drowsy","working","thinking","listening","sleeping","suspicious","proud"];function V6(e){const t=y8(e.mascotExpression);if(t)return t;const n=h8(e.messages);if(n?.kind==="activity"&&n.tool?.ok===!1)return"alerting";if(e.busy)return"working";if(xo(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 x8=["white","black"],v8=Ae(x8);function ko(e){const t=v8.safeParse(e).data;return t==="white"?"#ffffff":t==="black"?"#000000":void 0}const k8=["mascot","circle","rounded","square"],w8=Ae(k8);function _8(e){return e==="circle"?"50%":e==="rounded"?"22%":"0"}const M2=1,S8=3,j8=.5;function M8(e){const t=typeof e=="number"?e:Number.NaN;if(!Number.isFinite(t))return M2;const n=Math.min(S8,Math.max(M2,t));return Math.round(n*100)/100}function N2(e){const t=typeof e=="number"?e:Number.NaN;if(!Number.isFinite(t))return j8;const n=Math.min(1,Math.max(0,t));return Math.round(n*1e3)/1e3}const wo=Gr().regex(/^\/api\/attachments\/[A-Za-z0-9-]+\.(?:png|jpg|gif|webp)$/,"must be a stored PNG, JPEG, GIF, or WebP attachment");function G6(e){const t=e.replaceAll("\\","/").split("/").pop();if(!t)return null;const n=`/api/attachments/${t}`;return wo.safeParse(n).success?n:null}function N8(e){const t={avatarCrop:w8.safeParse(e.avatarCrop).data??"mascot"},n=wo.safeParse(e.avatarUrl);return n.success&&(t.avatarUrl=n.data),t}const E8=[...oo,...ao];Ae(E8);function $8(e){return ao.includes(e)}const E2=(e,t)=>({bodies:e,costumes:t}),vn={halloween:E2(io,{orange:"pumpkin",purple:"ghost",teal:"witch",red:"bat",blue:"cat",cyan:"skull",green:"monster",yellow:"mummy",coral:"vampire",pink:"spider"}),diwali:E2(so,{orange:"laddu",purple:"chakri",teal:"karanji",red:"rocket",blue:"bomb",cyan:"chakli",green:"anaar",yellow:"katli",coral:"jalebi",pink:"sparkler"})},J6=Object.keys(vn);function A8(e){return typeof e=="string"&&Object.hasOwn(vn,e)}const kn="omb-halloween-dress";let rt;const me=new Set;let We;function wn(){try{return globalThis.localStorage}catch{return}}function Wt(){if(rt!==void 0)return rt;try{return wn()?.getItem(kn)!=="0"}catch{return!0}}function Z8(){if(typeof document>"u")return null;const e=document.documentElement.dataset.skin;return A8(e)&&Wt()?e:null}function _n(){for(const e of me)e()}function $2(e){e.key!==kn&&e.key!==null||e.storageArea&&e.storageArea!==wn()||(rt=void 0,_n())}function _o(e){return me.add(e),me.size===1&&typeof window<"u"&&(window.addEventListener("storage",$2),typeof MutationObserver<"u"&&(We=new MutationObserver(_n),We.observe(document.documentElement,{attributes:!0,attributeFilter:["data-skin"]}))),()=>{me.delete(e),me.size===0&&typeof window<"u"&&(window.removeEventListener("storage",$2),We?.disconnect(),We=void 0)}}function q6(e){rt=e;try{wn()?.setItem(kn,e?"1":"0")}catch{}_n()}function Y6(){return m.useSyncExternalStore(_o,Wt,Wt)}function O8(){return m.useSyncExternalStore(_o,Z8,()=>null)}function z8(e,t,n){if(!n||t==="silver"||t==="chrome")return e??void 0;const{bodies:r,costumes:o}=vn[n];return r.includes(e)?e??void 0:o[t]}const A2=150,W=e=>Math.round(e*100)/100;function Z2(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 M=1-.1*Math.max(0,_*-t.gx),N=d*M,w=Math.max(p*M,.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 ${A2}) rotate(${W(o)}) scale(${W(i*1e3)/1e3} ${W(s*1e3)/1e3}) translate(-120 ${-A2})`,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 So(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 I8=new Set(["arrive","switch","customize","alert","launch","success","celebrate","surprise"]),O2=[[0,0],[0,0],[-1,.25],[1,.25],[-.8,.55],[.8,.55],[-.7,-.4],[.7,-.4],[0,.5]];function T8(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 P8(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 R8(e,t){const n=P8(z1[t]??z1.green);return e.paint==="bone"?{body:e.bone??"#f1ede6",accent:n}:e.paint==="pale"?{body:T8(z1[t]??z1.green,"#ffffff",.86),accent:n}:{body:n,accent:n}}function L8({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=co[e],C=ko(n),g=m.useId().replace(/:/g,""),y=mo(),x=u&&!y,k=m.useRef(null),_=[m.useRef(null),m.useRef(null)],M=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[O]=m.useState(()=>Z2(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():I8.has(i)&&Z())},[i,s,x]);const V=z=>{const $=Z2(h,z);if(k.current?.setAttribute("transform",$.body),$.eyes.forEach((q,B)=>{const t1=_[B].current;if(t1)for(const[j1,Y]of Object.entries(q))t1.setAttribute(j1,String(Y))}),M.current&&(M.current.setAttribute("d",$.smile.d),M.current.setAttribute("transform",$.smile.transform),M.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 z=performance.now(),$=z+900+Math.random()*2600,q=z+1500+Math.random()*3500,B=[0,0];const t1=Y=>{const M1=Math.min(.05,(Y-z)/1e3);z=Y;const i1=So(A.current.state),k1=i1.glance??1;k1>0&&Y>$&&(B=O2[Math.floor(Math.random()*O2.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(-M1*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),Me(Y,xn(r))},j1=ho().add(t1,k.current?.ownerSVGElement);return()=>j1.remove()},[h,x,r]);const j=z=>{const $=z.currentTarget.getBoundingClientRect();v.current.pointer={x:Math.max(-1,Math.min(1,(z.clientX-$.left)/$.width*2-1)),y:Math.max(-1,Math.min(1,(z.clientY-$.top)/$.height*2-1))}},o1=()=>{v.current.pointer=null},P=R8(h,t),T=z=>z==="body"?P.body:z==="accent"?P.accent:z;return a.jsx("span",{className:"inline-flex shrink-0",onPointerMove:l&&x?j: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:O.body,children:[h.parts.map((z,$)=>a.jsx("path",{d:z.d,fill:T(z.fill)},$)),a.jsx("g",{clipPath:`url(#carved-${g})`,children:O.eyes.map((z,$)=>a.jsx("rect",{ref:_[$],...z,fill:C??h.eyes.ink},$))}),h.eyes.mouth&&a.jsxs("g",{children:[a.jsx("path",{ref:M,d:O.smile.d,transform:O.smile.transform,opacity:O.smile.opacity,fill:"none",stroke:C??h.eyes.mouthInk,strokeWidth:h.eyes.w*.36,strokeLinecap:"round"}),a.jsx("ellipse",{ref:N,...O.open,fill:C??h.eyes.mouthInk})]})]})]})})}function z2(e){const t=So(e);return{gx:t.gx??0,gy:t.gy??0,wide:t.wide??0,shut:t.shut??0,smile:t.smile??1}}const D8=m.memo(m.forwardRef(L8)),F8=Object.assign({}),B8=Object.entries(F8).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 U8(e,t,n,r=B8){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 I2={forward:1,authored:.25},W8={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"}},K8=1400;function Kt(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 H8=e=>{if(e==="chrome")return vo;const t=z1[e]??z1.green;return[Kt(t,"#ffffff",.55),t,Kt(t,"#000000",.42)]};function V8(e){const t=`var(--identity-${e})`;return[`color-mix(in srgb, ${t} 82%, #ffffff)`,t,`color-mix(in srgb, ${t} 82%, #000000)`]}function G8(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 $8(n)?a.jsx(D8,{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(q8,{ref:t,...e})}function J8({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:M},N){const w=yn[C9(k)],v=e==="chrome",A=ko(M),O=m.useRef(null);m.useImperativeHandle(N,()=>({blink:()=>O.current?.blink(),spin:$=>O.current?.spin($),setExpression:$=>O.current?.setExpression($)}));const[Z,V]=m.useState(null);m.useEffect(()=>{if(i==="none"||!x)return;const $=W8[i];if(!$||($.blink&&O.current?.blink(),$.spin&&O.current?.spin($.spin),!$.state))return;V($.state);const q=setTimeout(()=>V(null),K8);return()=>clearTimeout(q)},[i,s,x]);const[j,o1]=m.useState({x:0,y:0}),P=C?I2.forward:I2.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})},z=()=>o1({x:0,y:0});return a.jsx("span",{className:"inline-flex shrink-0",onPointerMove:y&&x?T:void 0,onPointerLeave:y&&x?z:void 0,children:a.jsx(c8,{ref:O,state:Z??t,expression:n,size:r,silhouette:w,gradient:_??H8(e),picture:v&&!A?U8(w.id,r,globalThis.devicePixelRatio??1):null,eyeColor:A??(v?m8:Kt(z1[e]??z1.green,"#ffffff",.62)),title:o??null,lookAround:g??(C?0:1),gaze:{x:(l?.x??0)+j.x,y:(l?.y??0)+j.y},turn:c,spring:u,eyeScale:d,showMouth:p,mouthStroke:h,paused:!x})})}const q8=m.forwardRef(J8),jo=m.memo(m.forwardRef(G8));function Y8(e){const{avatarCrop:t,hasUrl:n,imageFailed:r}=e;return!n||t==="mascot"||r?"gradientMascot":"flatImage"}function X6({bot:e,size:t=44,label:n,readable:r=!1,...o}){const i=N8(e),s=O8(),[c,l]=m.useState(!1);if(m.useEffect(()=>l(!1),[i.avatarUrl]),Y8({avatarCrop:i.avatarCrop,hasUrl:!!i.avatarUrl,imageFailed:c})!=="flatImage")return a.jsx(jo,{bodyId:z8(e.mascotBody,e.color,s),...o,color:e.color,faceColor:e.mascotFaceColor,gradient:r?V8(e.color):void 0,size:t,label:n??e.name});const d=_8(i.avatarCrop),p=M8(e.avatarZoom??1),h=N2(e.avatarFocusX??.5),C=N2(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 Q6({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 Mo=1,X8="onboarding-cloud-v1",Q8={claudeAgent:0,codex:1,geminiAgent:2,antigravityAgent:2,grokAgent:3,grok:3},T2=4,ec=5;function No(e){return e.snapshot?.freeFallback===!0}function tc(e){return No(e)?ec:e.access==="custom"?T2:Q8[e.driverKind]??T2}function Eo(e){return e.map((t,n)=>({instance:t,index:n,tier:tc(t)})).sort((t,n)=>t.tier-n.tier||t.index-n.index).map(({instance:t})=>t)}function e7(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 nc={completedAt:"",version:0},t7={hosted:!1,canSave:!0};function rc(e){return!!(e?.hosted&&!e.canSave)}function n7(e){return e===null||rc(e)}function r7(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 o7(e,t){if(t.remoteClient||t.cloudHome||t.canSave===!1||t.hosted&&t.canSave!==!0||!e)return!1;const n=e.onboarding??nc;return!(n.completedAt&&n.version>=Mo||!n.completedAt&&t.legacyDone)}function oc(e=new Date){return{onboarding:{completedAt:e.toISOString(),version:Mo}}}const P2="met-chief-v1";function i7(e,t=new Date){const n=e?.hintsSeen??[];return{onboarding:{...oc(t).onboarding,...n.includes(P2)?{}:{hintsSeen:[...n,P2]}}}}function $o(e,t){return(e?.hintsSeen??[]).includes(t)}function s7(e,t){return $o(e,t)?null:{onboarding:{hintsSeen:[...e?.hintsSeen??[],t]}}}const a7=["meet","chief"];function c7(e){return e.hosted?["meet"]:["meet","chief"]}function l7(e,t){return t&&e.includes(t)?t:e[0]??"meet"}function u7(e){return $o(e,X8)}let Ht=0;function d7(){Ht++;let e=!1;return()=>{e||(e=!0,Ht--)}}function f7(){return Ht>0}const Ao="omb.onboarding.welcomeFinished";let Zo=!1;function p7(){try{sessionStorage.setItem(Ao,"1")}catch{Zo=!0}}function h7(){try{return sessionStorage.getItem(Ao)==="1"}catch{return Zo}}const C7="https://admin.limixbot.com";function m7(e,t){if(!(t.hosted||!e||e.remoteClient?.active===!0))return e.organization}function g7(e){return(e?.providers??[]).reduce((t,n)=>t+(n.configured?n.models.length:0),0)}function b7(e){const t=r=>!r.readOnly&&r.access!=="api"&&r.access!=="custom",n=Eo(e.filter(t))[0]??e.find(r=>!r.readOnly);return{recommended:n,others:e.filter(r=>r!==n)}}function y7(e,t,n){let r;for(const o of Eo(e.filter(i=>t(i)&&!No(i)))){const i=n(o)??"testing";if(i!=="failed")return{instance:o,state:i};r??=o}return r?{instance:r,state:"failed"}:null}function x7(e){return e?.state==="passed"||e?.state==="untestable"}function v7(e){return e.snapshot.state==="available"&&e.snapshot.authenticated===!1?!!e.authentication:!!(e.install?.server||e.install?.managed)}function k7(e,t,n){return!!(e?.cloudHome&&e.canSave)&&t.connected&&t.instances.length>0&&!t.instances.some(n)}function R2(){return typeof document<"u"&&document.documentElement.dataset.reducedMotion==="true"?!0:globalThis.window?.matchMedia?.("(prefers-reduced-motion: reduce)").matches??!1}function ic(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 sc(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(ic,R2,R2)&&t}const ac=[[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]],cc=[[640,20,4.2],[712,40,3],[868,62,3.2]],lc=[{color:"orange",state:"working",spot:[636,52,28]},{color:"pink",state:"idle",spot:[668,46,30]},{color:"green",state:"thinking",spot:[702,52,28]}],uc="M-2.6-2.6h5.2l-5.2 5.2h5.2",dc=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 fc({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:uc,fill:"none",stroke:"var(--cloud-night-z)",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})},t))})]})}const pc=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:ac.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:cc.map(([n,r,o])=>a.jsx("path",{transform:`translate(${n} ${r})`,d:dc(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"})]}),lc.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(jo,{color:n,state:r,size:s,animated:t,trackPointer:!1})},n)),a.jsx(fc,{moving:t})]})});function hc({small:e=!1,children:t}){const n=m.useRef(null),r=sc(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(pc,{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 Cc=[[F5,"cloudBuy.benefit.awayTitle","cloudBuy.benefit.away"],[G2,"cloudBuy.benefit.privateTitle","cloudBuy.benefit.private"],[V5,"cloudBuy.benefit.anywhereTitle","cloudBuy.benefit.anywhere"],[x5,"cloudBuy.benefit.browserTitle","cloudBuy.benefit.browser"],[j5,"cloudBuy.benefit.moveTitle","cloudBuy.benefit.move"]],mc={power:W5,hours:J5,storage:O5,voice:k5},gc={1:"md:grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-2 lg:grid-cols-4"},Oo=e=>`cloud-plan-details-${e}`;function bc({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(o5,{"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=mc[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:Oo(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?ae:i5,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 yc({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=Xo(e,{current:t,own:n}),h=Qo(p),C=e5(e,r),g=t5(e),y=!!n5(e);return a.jsxs("div",{"data-cloud-add":e.plans.some(x=>x.trialDays)?"offer-trial":"offer",className:Ne,children:[a.jsx("div",{className:"-mx-4 -mt-3",children:a.jsxs(hc,{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=>Oo(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(r5,{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",gc[p.length]??"md:grid-cols-3"),children:p.map((x,k)=>a.jsx(bc,{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:Cc.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(G2,{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:Ke,onClick:l,children:f("cloudBuy.haveAccount")})]})]})}const xc=3e3,vc={signups_closed:"cloudBuy.extra.signupsClosed",checkout_open:"cloudBuy.extra.checkoutOpen",rate:"cloudAdd.rateLimited"};function kc({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(se,{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:rn,placeholder:o,disabled:r,onChange:d=>i(d.target.value),className:ke})]}),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($e,{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:at(n)},children:ot(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:c5(e),price:An(e.amount/100)})})]})]}),a.jsx("p",{className:"text-[13px] leading-relaxed text-ink-secondary",children:f("cloudBuy.card.paid",{price:An(e.amount/100)})}),a.jsxs("button",{type:"submit",className:ae,disabled:r,children:[r&&a.jsx(x1,{size:15,className:"animate-spin motion-reduce:animate-none","aria-hidden":"true"}),f("cloudBuy.extra.continue")]})]})}function wc({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(vc[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 _c({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(nr),[y,x]=m.useState(!1),[k,_]=m.useState(!1),[M,N]=m.useState(null),[w,v]=m.useState(null),[A,O]=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 j=yi(c,{now:o(),tier:u,failed:k,stop:M}),o1=j.kind==="waiting"||j.kind==="starting";m.useEffect(()=>{if(!o1)return;const B=setInterval(()=>{V()},xc);return()=>clearInterval(B)},[o1]),m.useEffect(()=>{n(j.kind==="choose")},[j.kind]),m.useEffect(()=>{j.kind==="first"&&t(),j.kind==="ready"&&I1("cloud_add_another",{step:"ready"})},[j.kind]),m.useEffect(()=>{Z.current?.contains(document.activeElement)||(Z.current?.querySelector("[data-autofocus]")??Z.current?.querySelector("#cloud-add-title"))?.focus()},[j.kind]);const P=c&&c.signedIn?c.count:1,T=f("cloudBuy.extra.defaultName",{number:P+1}),z=(B,t1)=>{y||(x(!0),v(null),B().catch(t1).finally(()=>x(!1)))},$=()=>z(async()=>{if(j.kind!=="name"||!s)return;const B=p.trim().replace(/\s+/g," ")||T,t1=await(i?s.start(j.plan.tier,B,C,i):s.start(j.plan.tier,B,C));if(t1.outcome==="opened"){I1("cloud_add_another",{step:"checkout_opened",plan:j.plan.tier}),d(null),await V();return}t1.outcome==="blocked"?(N(xi(t1.blocked)),t1.blocked==="checkout_open"&&await V()):t1.outcome==="unsupported"?N("one"):_(!0)},()=>_(!0)),q=(()=>{switch(j.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-${j.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(j.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(wc,{reason:j.reason,home:j.home,busy:y,interest:A,onClose:e,onInterest:()=>z(async()=>{await s?.interest(),O("sent")},()=>O("failed"))});case"choose":return a.jsxs("div",{children:[r&&a.jsx("div",{className:"px-7 pt-5",children:a.jsx(se,{label:f("rail.back"),onClick:r})}),a.jsx(yc,{offer:j.offer,now:o(),busy:y,signedOut:!1,notice:null,onSignIn:()=>{},onStart:B=>{I1("cloud_add_another",{step:"plan",plan:B}),d(B)}})]});case"name":return a.jsx(kc,{plan:j.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":j.late?"extra-waiting-late":"extra-waiting",className:"flex flex-col gap-4 px-[30px] pb-[26px] pt-7",children:[a.jsx(s1,{title:j.late?f("cloudBuy.pay.lateTitle"):f("cloudAdd.browserTitle"),sub:j.late?f("cloudBuy.extra.lateSub"):f("cloudBuy.pay.sub")}),a.jsx(a5,{items:[{key:"payment",state:"now",title:f("cloudBuy.pay.waiting"),detail:j.adding.name},{key:"setup",state:"next",title:f("cloudBuy.pay.setup"),detail:f("cloudBuy.pay.setupHint")}]}),j.adding.link&&a.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[a.jsxs("button",{type:"button","data-autofocus":!0,className:j.late?"ui-button ui-button-primary":"ui-button",disabled:y,onClick:()=>z(async()=>{await s?.reopen()||v("pay-failed")},()=>v("pay-failed")),children:[a.jsx(Xt,{size:14,"aria-hidden":"true"}),f("cloudAdd.reopenCheckout")]}),a.jsxs("button",{type:"button",className:"ui-button",disabled:y,onClick:()=>z(async()=>v(await s?.copyLink()?"copied":"pay-failed"),()=>v("pay-failed")),children:[a.jsx(N5,{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:j.adding.name}),sub:f("cloudBuy.extra.setupSub")}),a.jsx(s5,{value:j.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:j.adding.name}),sub:f("cloudBuy.extra.readySub")}),a.jsx("button",{type:"button","data-autofocus":!0,className:ae,disabled:y,onClick:()=>z(async()=>{await s?.open(),e()},()=>v("open-failed")),children:f("cloudBuy.setup.open",{name:j.adding.name})}),w==="open-failed"&&a.jsx("p",{role:"alert",className:"text-[13px] text-danger",children:f("cloudBuy.openFailed",{name:j.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:j.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":j.kind,className:"contents",children:q})}const zo={no_team_plan:"rail.orgNoPlan",limit:"rail.orgLimit",rate:"rail.orgRate",off:"rail.orgOff"};function Sc(e){return e?.outcome==="added"?null:e?.outcome==="taken"?"rail.orgTaken":e?.outcome==="blocked"?zo[e.blocked]:"rail.orgFailed"}function jc({onBack:e,onClose:t}){const[n,r]=m.useState(null),[o,i]=m.useState(""),[s,c]=m.useState(nr),[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=Sc(x);if(k){p(k);return}I1("rail_add",{step:"organization"}),l5(),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(se,{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:rn,placeholder:f("rail.orgPlaceholder"),disabled:l,onChange:x=>i(x.target.value),className:ke})]}),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($e,{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:at(s)},children:ot(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:ae,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 Mc="npx limixbot pair";function Nc({command:e}){const{state:t,copy:n}=Mi(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 kt(e,t){return f(bi[e],{host:t??"",example:H2})}function Ec(e,t){const n=wt(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 $c={https:"connect.found.https",tailscale:"connect.found.tailscale","private-http":"connect.found.privateHttp",loopback:"connect.found.loopback"};function Ac({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),M=window.ogb?.workspaces,N=typeof M?.probe=="function",w=wt(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(()=>{M.probe(o,s).then(z=>{P&&p(z)}).catch(()=>{P&&p({outcome:"problem",problem:"unreachable",host:Ec(o,s)})}).finally(()=>{P&&C(!1)})},400);return()=>{P=!1,window.clearTimeout(T)}},[o,s,N,M]);const O=P=>{k(null);const T=wt(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)){I1("rail_add",{step:"link"}),y(!0),k(null);try{const T=await M?.add?.("link",o.trim(),s.trim());T&&typeof T=="object"?T.outcome==="connected"?t():T.outcome==="problem"&&k(kt(T.problem,T.host)):T!==!1&&t()}catch(T){k(T instanceof Error&&T.message?T.message.replace(/^Error invoking remote method '[^']+': (?:Error: )?/,""):kt("notAnAddress"))}finally{y(!1)}}},j=x??(d?.outcome==="problem"&&d.problem!=="empty"?kt(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(se,{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||O(P.target.value)},placeholder:f("connect.addressPlaceholder"),autoCapitalize:"none",autoCorrect:"off",autoComplete:"off",spellCheck:!1,"aria-invalid":!!j||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:H2})}),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($c[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(Nc,{command:Mc})]})]}),j&&a.jsx("p",{role:"alert","data-connect-problem":!0,className:"text-[13px] text-danger",children:j}),N&&h&&!Z&&!j&&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 de({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 Zc="button:not([disabled]):not([tabindex='-1']), input:not([disabled]):not([tabindex='-1']), [href], [tabindex='0']";function Io(e){return a.jsx(X2,{modal:!0,children:a.jsx(Oc,{...e})})}function Oc({wide:e=!1,focusKey:t,onClose:n,children:r}){const o=m.useRef(null),i=ri(),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(Zc)??[]];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(B2,{size:18})}),r]})})}function zc(e){return{names:e.map(n=>n.kind==="computer"?h1(n):n.name),swatches:new Set(e.map(n=>n.paint?.swatch??B1.find(r=>n.color!==null&&tr[r]===n.color)).filter(n=>!!n))}}function To({places:e,onBack:t,onDone:n}){const[r]=m.useState(()=>zc(e)),[o,i]=m.useState(()=>u5(r.names)),[s,c]=m.useState(()=>B1.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 d5(h,s==="slate"?null:s);if(u(!1),y==="made"){I1("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(se,{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:rn,disabled:l,"aria-invalid":d==="taken"||void 0,onChange:y=>{i(y.target.value),p(null)},onFocus:y=>y.currentTarget.select(),className:ke})]}),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($e,{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:at(s)},children:[ot(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(it,{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:ae,disabled:l||!h,children:[l&&a.jsx(x1,{size:15,className:"animate-spin motion-reduce:animate-none","aria-hidden":"true"}),f("rail.localCreate")]})]})}function w7(){const[e,t]=m.useState(!1);return m.useEffect(()=>window.ogb?.remoteClient?.active?void 0:window.ogb?.workspaces?.onNewLocal?.(()=>t(!0)),[]),e?a.jsx(Io,{focusKey:"local",onClose:()=>t(!1),children:a.jsx(To,{places:[],onBack:null,onDone:()=>t(!1)})}):null}function L2({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=()=>{I1("rail_add",{step:"cloud"}),r(),g?.add?.("cloud").catch(()=>{})};return a.jsxs(Io,{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(de,{kind:"local",icon:a.jsx(it,{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(de,{kind:"organization",icon:a.jsx(_5,{size:19}),title:f("rail.org"),sub:f("rail.orgSub"),onClick:()=>p("organization")}),e.cloud&&a.jsx(de,{kind:"cloud",icon:a.jsx(K2,{size:19}),title:f("rail.buy"),sub:f("rail.buySub"),onClick:()=>p("cloud")}),i&&a.jsx(de,{kind:"server",icon:a.jsx(q2,{size:19}),title:f("connect.title"),sub:f("connect.choiceSub"),onClick:()=>p("server")}),c&&a.jsx(de,{kind:"account",icon:a.jsx(Qt,{size:19}),title:f("accounts.add"),sub:f("rail.accountSub"),onClick:()=>o()})]})]}),d==="local"&&a.jsx(To,{places:t,onBack:u?()=>p("choose"):null,onDone:r}),d==="server"&&a.jsx(Ac,{onBack:u&&!n?()=>p("choose"):null,onConnected:r,connect:n}),d==="cloud"&&a.jsx(_c,{onClose:r,onFirstCloud:y,onWide:C,onBack:u?()=>p("choose"):null}),d==="organization"&&a.jsx(jc,{onClose:r,onBack:u?()=>p("choose"):null})]})}const Po=8,Vt=24,Ro=e=>Math.round(e*.3);function Gt(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[Lo(e,t),n,e.signIn&&f("accounts.needsSignIn")].filter(Boolean).join(" · ")}function Lo(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:Ci(e.lastSeenAt,m5(),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 Sn=e=>(e.kind==="cloud"||e.kind==="team")&&!e.server,Ic=(e,t=Date.now())=>Sn(e)?f("rail.cloudLabel",{label:Gt(e,t)}):Gt(e,t),Jt=(e,t)=>e.opens||e.pairs===!0&&t;function Tc(e,t=Po){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 Pc(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 Do=(e,t)=>t>0&&e[t].group!==e[t-1].group;function Rc({value:e=0,waiting:t=!1}){const n=Vt+6,r=1,o=n-2*r,i=Ro(Vt)+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 Oe({place:e,size:t=Vt}){const n=h5(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:Ro(t),fontSize:Math.round(t*.4),...n?{background:W2(n)}:{}},children:e.kind==="computer"&&!e.named?a.jsx(it,{size:Math.round(t*.46),strokeWidth:1.75}):e.kind==="account"?a.jsx(Qt,{size:Math.round(t*.5),strokeWidth:1.75}):ot(e.name)})}function Fo({place:e}){if(Sn(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(K2,{size:9,strokeWidth:3})});const t=e.server?q2:e.named?it: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 Bo=(e,t)=>n=>{n.preventDefault(),(e.paint||e.removable)&&t({place:e,from:n.currentTarget})};function Lc(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 Dc({place:e,canPair:t,pending:n,onOpen:r,onMenu:o}){const i=Gt(e),s=Jt(e,t);return a.jsxs("button",{type:"button","aria-label":Ic(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:Bo(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(Oe,{place:e}),(e.progress!==void 0||e.settling!==void 0||n)&&a.jsx(Rc,{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(Fo,{place:e})]})}function Fc({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),y5(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:Ee,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 Bc({place:e,onStarted:t}){const[n,r]=m.useState(!1),[o,i]=m.useState(null),s=()=>{r(!0),i(null),b5(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(Ee,"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(I5,{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 Uc({place:e,top:t,onClose:n}){return e.profile?a.jsx(Vc,{place:e,top:t,onClose:n}):a.jsx(Wc,{place:e,top:t,onClose:n})}function Wc({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),C5(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",nn),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(Oe,{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($e,{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(Bc,{place:e,onStarted:n}),e.removable&&a.jsx(Fc,{place:e,onRemoved:n})]})}const D2=e=>[Lo(e,Date.now()),e.signIn&&f("accounts.needsSignIn")].filter(Boolean).join(" · ");function Kc({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),V2(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:Ee,onClick:d,children:f("rail.rename")})}function Hc({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),g5(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:Ee,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 Vc({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),V2(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",nn),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(Oe,{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(Kc,{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($e,{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(Hc,{place:e,onRemoved:n})]})}function Gc({places:e,canPair:t,onOpen:n,onMenu:r,onClose:o}){const[i,s]=m.useState(""),c=Pc(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",nn),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(p5,{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]&&Jt(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:[Do(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:!Jt(u,t),"aria-current":u.active?"page":void 0,onClick:()=>{n(u),o()},"aria-label":Sn(u)?f("rail.cloudLabel",{label:D2(u)}):void 0,onContextMenu:Bo(u,p=>{o(),r(p)}),className:L(Ee,"h-9"),children:[a.jsxs("span",{className:"relative shrink-0",children:[a.jsx(Oe,{place:u,size:22}),a.jsx(Fo,{place:u})]}),a.jsx("span",{className:"min-w-0 flex-1 truncate",children:D2(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 Jc=(e,t)=>t===null?e:e.map(({active:n,...r})=>r.id===t?{...r,active:!0}:r);function _7({chrome:e=!1}){const t=U2(),n=!f5(),{capabilities:r}=er(),o=gi(),[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),M=m.useRef(null),N=m.useRef(0),w=I=>{M.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 O=k&&k.id!==k.from?t.places.find(I=>I.id===k.id)??null:null,Z=e&&O?.settling===void 0?O: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 j=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===M.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)};I1("rail_place_opened",{kind:I.kind}),Promise.resolve(j?.open?.(I.id)).then(c1=>{if(e1(),!!c1)if(c1.outcome==="sign-in")g({adding:c1.email??I.email??"",note:null});else{const g1=en(c1);g1&&g({adding:null,note:g1})}},e1)},P=pi(r),T=r.windowChrome!=="native",z=r.windowChrome==="mac-inset"?"h-[52px]":"h-3",$=P?e?o?"h-[37px]":z:"h-[9px]":z,q=T?{WebkitAppRegion:"drag"}:void 0,B=T?{WebkitAppRegion:"no-drag"}:void 0,t1=Jc(t.places,k?.id??null),j1=Tc(t1),Y=t.add.link||t.add.address,M1=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(Lc(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:j1.map((I,a1)=>a.jsxs("li",{className:"flex flex-col items-center gap-2",children:[Do(j1,a1)&&a.jsx("span",{role:"separator","data-rail-divider":!0,className:"h-px w-4 bg-hairline"}),a.jsx(Dc,{place:I,canPair:Y,pending:I.id===O?.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>Po&&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($5,{size:13,"aria-hidden":"true"})}),i&&a.jsx(Gc,{places:t1,canPair:Y,onOpen:o1,onMenu:k1,onClose:()=>s(!1)}),M1&&a.jsx("button",{type:"button","aria-label":i1,title:i1,"aria-haspopup":"dialog","data-rail-add":!0,onClick:()=>{I1("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(J2,{size:13,"aria-hidden":"true"})})]}),p&&a.jsx("div",{ref:x,style:B,children:a.jsx(Uc,{place:t.places.find(I=>I.id===p.place.id)??p.place,top:p.top,onClose:()=>h(null)},p.place.id)}),c&&a.jsx(L2,{choices:t.add,places:t.places,onClose:()=>l(!1),onAccount:()=>{l(!1),g({adding:"",note:null})}}),C&&a.jsx(ai,{adding:C.adding,note:C.note,onClose:()=>g(null)}),u!==null&&a.jsx(L2,{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(Oe,{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{q2 as $,ai as A,X6 as B,N5 as C,s6 as D,$5 as E,f7 as F,Xc as G,yc as H,fe as I,Si as J,jo as K,x1 as L,nn as M,_5 as N,j5 as O,J2 as P,oc as Q,X2 as R,ei as S,J5 as T,ri as U,pi as V,F5 as W,V5 as X,Qt as Y,Qc as Z,Ae as _,L5 as a,z1 as a$,Ci as a0,O8 as a1,z8 as a2,$8 as a3,m9 as a4,oo as a5,K6 as a6,W6 as a7,R6 as a8,J6 as a9,C7 as aA,m7 as aB,x7 as aC,No as aD,b7 as aE,v7 as aF,y7 as aG,e7 as aH,l7 as aI,d7 as aJ,p7 as aK,i7 as aL,c7 as aM,t7 as aN,r7 as aO,o7 as aP,rc as aQ,$o as aR,P2 as aS,j8 as aT,M2 as aU,M8 as aV,N2 as aW,S8 as aX,h7 as aY,R2 as aZ,s7 as a_,L6 as aa,vn as ab,H6 as ac,k5 as ad,x8 as ae,k8 as af,D6 as ag,N6 as ah,M6 as ai,O5 as aj,G2 as ak,Io as al,Ac as am,$e as an,A8 as ao,Y6 as ap,q6 as aq,e4 as ar,g0 as as,o6 as at,i6 as au,xo as av,Mo as aw,a7 as ax,mo as ay,g7 as az,G6 as b,p8 as b0,u8 as b1,f6 as b2,p6 as b3,_6 as b4,h6 as b5,C6 as b6,x6 as b7,y6 as b8,v6 as b9,fi as bA,l6 as bB,hi as bC,a6 as bD,n7 as bE,B6 as bF,U6 as bG,w7 as bH,m6 as ba,Ee as bb,k6 as bc,g6 as bd,w6 as be,b6 as bf,e6 as bg,n6 as bh,t6 as bi,Q6 as bj,V6 as bk,c6 as bl,u6 as bm,d6 as bn,Ut as bo,_8 as bp,N8 as bq,h8 as br,tn as bs,$6 as bt,A6 as bu,z6 as bv,sc as bw,u7 as bx,k7 as by,Oe as bz,ii as c,er as d,j6 as e,Pt as f,W5 as g,r6 as h,_7 as i,y8 as j,H0 as k,I6 as l,Z6 as m,S6 as n,E6 as o,P6 as p,T6 as q,Y2 as r,Gr as s,v8 as t,ui as u,O6 as v,V0 as w,Mi as x,Xt as y,_c as z};
|