@buoy-gg/shared-ui 7.0.46 → 7.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/lib/commonjs/stores/ignoredPatternsStore.shared.js +1 -1
  2. package/lib/commonjs/sync/settingsSync.js +1 -1
  3. package/lib/module/stores/ignoredPatternsStore.shared.js +1 -1
  4. package/lib/module/sync/settingsSync.js +1 -1
  5. package/lib/typescript/commonjs/hooks/safe-area-impl.d.ts +1 -1
  6. package/lib/typescript/commonjs/stores/ignoredPatternsStore.shared.d.ts +2 -0
  7. package/lib/typescript/module/hooks/safe-area-impl.d.ts +1 -1
  8. package/lib/typescript/module/stores/ignoredPatternsStore.shared.d.ts +2 -0
  9. package/lib/web/index.mjs +2 -2
  10. package/package.json +5 -5
  11. package/lib/web/chunks/chunk-26OV3QDY.mjs +0 -1
  12. package/lib/web/chunks/chunk-2MHKRRQW.mjs +0 -1
  13. package/lib/web/chunks/chunk-2Q3SDPH2.mjs +0 -13
  14. package/lib/web/chunks/chunk-34YQ42KI.mjs +0 -1
  15. package/lib/web/chunks/chunk-3NNNCQYP.mjs +0 -13
  16. package/lib/web/chunks/chunk-46CXXOQB.mjs +0 -1
  17. package/lib/web/chunks/chunk-475BSDCB.mjs +0 -1
  18. package/lib/web/chunks/chunk-552W4COI.mjs +0 -1
  19. package/lib/web/chunks/chunk-55EIUPOI.mjs +0 -14
  20. package/lib/web/chunks/chunk-56TTTMX4.mjs +0 -1
  21. package/lib/web/chunks/chunk-5KWAGM5V.mjs +0 -1
  22. package/lib/web/chunks/chunk-5LOQZINQ.mjs +0 -13
  23. package/lib/web/chunks/chunk-5NOIO6ZM.mjs +0 -15
  24. package/lib/web/chunks/chunk-6CCRCSA2.mjs +0 -1
  25. package/lib/web/chunks/chunk-6Q52HRBL.mjs +0 -1
  26. package/lib/web/chunks/chunk-6TEDFSNM.mjs +0 -1
  27. package/lib/web/chunks/chunk-7BLJTQ4U.mjs +0 -1
  28. package/lib/web/chunks/chunk-7BMRSMHN.mjs +0 -1
  29. package/lib/web/chunks/chunk-7PRKERDN.mjs +0 -1
  30. package/lib/web/chunks/chunk-A2SOFE47.mjs +0 -1
  31. package/lib/web/chunks/chunk-A7KJCK4R.mjs +0 -13
  32. package/lib/web/chunks/chunk-AEXGGXS7.mjs +0 -1
  33. package/lib/web/chunks/chunk-AGD7ZT6O.mjs +0 -14
  34. package/lib/web/chunks/chunk-AIEOQWNG.mjs +0 -1
  35. package/lib/web/chunks/chunk-ASEPWYDC.mjs +0 -14
  36. package/lib/web/chunks/chunk-ASTM35HG.mjs +0 -15
  37. package/lib/web/chunks/chunk-AZBMFPMX.mjs +0 -1
  38. package/lib/web/chunks/chunk-B2V2UDCU.mjs +0 -15
  39. package/lib/web/chunks/chunk-BFGKGTAC.mjs +0 -1
  40. package/lib/web/chunks/chunk-BHW6AFO6.mjs +0 -1
  41. package/lib/web/chunks/chunk-BWRW3NJ2.mjs +0 -15
  42. package/lib/web/chunks/chunk-CBM2IZAK.mjs +0 -1
  43. package/lib/web/chunks/chunk-CDLCFF44.mjs +0 -1
  44. package/lib/web/chunks/chunk-CI5CO7FQ.mjs +0 -1
  45. package/lib/web/chunks/chunk-CIB4U2YK.mjs +0 -1
  46. package/lib/web/chunks/chunk-CLLTZQGD.mjs +0 -1
  47. package/lib/web/chunks/chunk-D4RXBAOO.mjs +0 -15
  48. package/lib/web/chunks/chunk-D5HQLRFW.mjs +0 -1
  49. package/lib/web/chunks/chunk-DEJNSL6V.mjs +0 -1
  50. package/lib/web/chunks/chunk-DZDTNXXK.mjs +0 -1
  51. package/lib/web/chunks/chunk-EMEAL3L5.mjs +0 -1
  52. package/lib/web/chunks/chunk-ER3T3IDI.mjs +0 -1
  53. package/lib/web/chunks/chunk-F6SJ5CLB.mjs +0 -1
  54. package/lib/web/chunks/chunk-FDOZ6YSS.mjs +0 -1
  55. package/lib/web/chunks/chunk-FMEWNGQO.mjs +0 -1
  56. package/lib/web/chunks/chunk-G4DH7GMT.mjs +0 -1
  57. package/lib/web/chunks/chunk-GBUZCZE4.mjs +0 -1
  58. package/lib/web/chunks/chunk-GLMS5ZLJ.mjs +0 -1
  59. package/lib/web/chunks/chunk-GNGMIA7V.mjs +0 -1
  60. package/lib/web/chunks/chunk-GTYIS7H7.mjs +0 -14
  61. package/lib/web/chunks/chunk-GZE3FIOX.mjs +0 -1
  62. package/lib/web/chunks/chunk-HGA3GJA6.mjs +0 -1
  63. package/lib/web/chunks/chunk-HJ36IONA.mjs +0 -14
  64. package/lib/web/chunks/chunk-HXPTZMAZ.mjs +0 -1
  65. package/lib/web/chunks/chunk-I27M4JCS.mjs +0 -1
  66. package/lib/web/chunks/chunk-IVCT27JB.mjs +0 -1
  67. package/lib/web/chunks/chunk-JG4QSK5B.mjs +0 -1
  68. package/lib/web/chunks/chunk-JR7BJW6B.mjs +0 -1
  69. package/lib/web/chunks/chunk-K46ZJUXJ.mjs +0 -1
  70. package/lib/web/chunks/chunk-K4EGHHD6.mjs +0 -1
  71. package/lib/web/chunks/chunk-K4LXMO4D.mjs +0 -1
  72. package/lib/web/chunks/chunk-K7CGIEFU.mjs +0 -1
  73. package/lib/web/chunks/chunk-KBTYK5YE.mjs +0 -1
  74. package/lib/web/chunks/chunk-KHP6CSSM.mjs +0 -1
  75. package/lib/web/chunks/chunk-KRDRIW7T.mjs +0 -13
  76. package/lib/web/chunks/chunk-L2DTKDER.mjs +0 -1
  77. package/lib/web/chunks/chunk-L3AFTHWX.mjs +0 -14
  78. package/lib/web/chunks/chunk-LFDFDGHY.mjs +0 -1
  79. package/lib/web/chunks/chunk-MAIUUK4E.mjs +0 -1
  80. package/lib/web/chunks/chunk-MKJKS3IG.mjs +0 -1
  81. package/lib/web/chunks/chunk-MRQKVLXG.mjs +0 -1
  82. package/lib/web/chunks/chunk-NK3OISOL.mjs +0 -13
  83. package/lib/web/chunks/chunk-NLJDDIXW.mjs +0 -1
  84. package/lib/web/chunks/chunk-OENR3XFI.mjs +0 -1
  85. package/lib/web/chunks/chunk-OZB3VKZE.mjs +0 -1
  86. package/lib/web/chunks/chunk-P64PFJT3.mjs +0 -5
  87. package/lib/web/chunks/chunk-PACPGYH7.mjs +0 -1
  88. package/lib/web/chunks/chunk-PART6HOE.mjs +0 -13
  89. package/lib/web/chunks/chunk-PMRXUQRH.mjs +0 -1
  90. package/lib/web/chunks/chunk-PTK5FO6C.mjs +0 -1
  91. package/lib/web/chunks/chunk-PZ45TQ55.mjs +0 -13
  92. package/lib/web/chunks/chunk-Q5LN7GET.mjs +0 -5
  93. package/lib/web/chunks/chunk-QCD6T6L4.mjs +0 -1
  94. package/lib/web/chunks/chunk-QD5EUANU.mjs +0 -1
  95. package/lib/web/chunks/chunk-QJTECJCO.mjs +0 -1
  96. package/lib/web/chunks/chunk-QPIZURPZ.mjs +0 -1
  97. package/lib/web/chunks/chunk-QPY45R5F.mjs +0 -1
  98. package/lib/web/chunks/chunk-QQTJ463K.mjs +0 -1
  99. package/lib/web/chunks/chunk-R2SGZIG5.mjs +0 -1
  100. package/lib/web/chunks/chunk-RJO7RXQQ.mjs +0 -1
  101. package/lib/web/chunks/chunk-S3GYQYVJ.mjs +0 -15
  102. package/lib/web/chunks/chunk-SCCXVTDM.mjs +0 -1
  103. package/lib/web/chunks/chunk-SHJHD646.mjs +0 -1
  104. package/lib/web/chunks/chunk-TCRVZ55E.mjs +0 -1
  105. package/lib/web/chunks/chunk-TJ6ZVV2L.mjs +0 -14
  106. package/lib/web/chunks/chunk-TJUBBXXK.mjs +0 -1
  107. package/lib/web/chunks/chunk-TPSY4RC3.mjs +0 -13
  108. package/lib/web/chunks/chunk-U5KNX5O6.mjs +0 -5
  109. package/lib/web/chunks/chunk-UCKELQSM.mjs +0 -1
  110. package/lib/web/chunks/chunk-UGGCYHRH.mjs +0 -1
  111. package/lib/web/chunks/chunk-UKYVRCMZ.mjs +0 -1
  112. package/lib/web/chunks/chunk-UNYQJZET.mjs +0 -15
  113. package/lib/web/chunks/chunk-VE72SWLV.mjs +0 -14
  114. package/lib/web/chunks/chunk-VKONO6MI.mjs +0 -1
  115. package/lib/web/chunks/chunk-VOS562HW.mjs +0 -14
  116. package/lib/web/chunks/chunk-W4BGMPJO.mjs +0 -1
  117. package/lib/web/chunks/chunk-WHNEEKLR.mjs +0 -1
  118. package/lib/web/chunks/chunk-WIFX6XNL.mjs +0 -15
  119. package/lib/web/chunks/chunk-WLGUP3KY.mjs +0 -15
  120. package/lib/web/chunks/chunk-WY7D4WBZ.mjs +0 -1
  121. package/lib/web/chunks/chunk-XD2BEYMM.mjs +0 -15
  122. package/lib/web/chunks/chunk-XMDNJJS5.mjs +0 -14
  123. package/lib/web/chunks/chunk-XRNB2MHO.mjs +0 -1
  124. package/lib/web/chunks/chunk-XUHVHSSG.mjs +0 -14
  125. package/lib/web/chunks/chunk-XXTIAXQY.mjs +0 -1
  126. package/lib/web/chunks/chunk-YG6DIKQD.mjs +0 -1
  127. package/lib/web/chunks/chunk-YIZFMU66.mjs +0 -1
  128. package/lib/web/chunks/chunk-YOGAPOGC.mjs +0 -1
  129. package/lib/web/chunks/chunk-Z7373DS5.mjs +0 -1
  130. package/lib/web/chunks/chunk-Z76GRN66.mjs +0 -5
  131. package/lib/web/chunks/chunk-ZFPRFFDY.mjs +0 -1
  132. package/lib/web/chunks/persistentStorage.web-4FBAOYJ4.mjs +0 -1
  133. package/lib/web/chunks/persistentStorage.web-6OAJAVRK.mjs +0 -1
  134. package/lib/web/chunks/persistentStorage.web-6S5TDRE4.mjs +0 -1
  135. package/lib/web/chunks/persistentStorage.web-7W3Y6Q24.mjs +0 -1
  136. package/lib/web/chunks/persistentStorage.web-GOWNFMVT.mjs +0 -1
  137. package/lib/web/chunks/persistentStorage.web-RF47FXIK.mjs +0 -1
  138. package/lib/web/chunks/persistentStorage.web-SOPYL5VC.mjs +0 -1
@@ -1 +0,0 @@
1
- "use client";import{ChevronDownGlyph as O,ChevronRightGlyph as B,monoFont as f}from"./chunk-56TTTMX4.mjs";import{night as t}from"./chunk-XRNB2MHO.mjs";import{View as o,Text as a,TouchableOpacity as H,StyleSheet as A}from"react-native-web";import{jsx as r,jsxs as i}from"react/jsx-runtime";function j({statusDotColor:s,statusLabel:x,statusSublabel:p,primaryText:w,secondaryText:l,secondaryAccessory:m,expandedContent:u,isExpanded:n,badgeText:d,badgeColor:C,customBadge:c,showChevron:T,bottomRightText:h,isSelected:D,onPress:g,disabled:S,expandedGlowColor:y,testID:v,statusTestID:I,statusSublabelTestID:R,primaryTestID:W,secondaryTestID:z,accessibilityLabel:L,trailingAction:b}){return r(o,{style:[e.rowWrapper,n&&e.rowWrapperExpanded],children:i(o,{style:[e.row,D&&e.selectedRow,n&&[e.expandedRowActive,{borderColor:y||t.color.accent,borderBottomColor:y||t.color.accent,shadowColor:y||t.color.accent}]],children:[i(o,{style:e.headerRow,children:[r(H,{style:e.headerPress,onPress:g,activeOpacity:.8,disabled:S||!g,testID:v,accessibilityLabel:L,accessibilityRole:g?"button":void 0,children:i(o,{style:e.rowContent,children:[i(o,{style:e.statusSection,children:[r(o,{style:[e.statusDot,{backgroundColor:s}]}),i(o,{style:e.statusInfo,children:[r(a,{style:[e.statusLabel,{color:s}],numberOfLines:1,testID:I,children:x}),p?r(a,{style:e.observerText,numberOfLines:1,testID:R,children:p}):null]})]}),i(o,{style:e.querySection,children:[r(a,{style:e.queryHash,numberOfLines:n?void 0:2,testID:W,children:w}),!n&&(l||m)?i(o,{style:e.secondaryRow,children:[l?r(a,{style:e.secondaryText,numberOfLines:1,testID:z,children:l}):null,m]}):null]}),i(o,{style:e.rightSection,children:[(c||d!==void 0||!n&&h)&&i(o,{style:e.badgeContainer,children:[c?c:d!==void 0?r(a,{style:[e.statusBadge,{color:C||s}],children:d}):null,!n&&h?r(a,{style:e.bottomRightText,numberOfLines:1,children:h}):null]}),T&&r(o,{style:e.chevronContainer,children:n?r(O,{size:14,color:t.color.textTertiary}):r(B,{size:14,color:t.color.textTertiary})})]})]})}),b?r(o,{style:e.trailingAction,children:b}):null]}),n&&u&&r(o,{style:e.expandedContent,children:u})]})})}var e=A.create({rowWrapper:{position:"relative",marginHorizontal:8,marginVertical:3},rowWrapperExpanded:{marginVertical:12},row:{backgroundColor:"rgba(12, 12, 12, 0.9)",borderRadius:8,borderWidth:1,borderColor:t.color.border,borderBottomWidth:1,borderBottomColor:t.color.separator,padding:12,paddingHorizontal:12,transform:[{scale:1}]},selectedRow:{backgroundColor:t.color.accentSoft,borderColor:t.color.accentBorderStrong,transform:[{scale:1.01}],shadowColor:t.color.accent,shadowOffset:{width:0,height:0},shadowOpacity:.1,shadowRadius:8,elevation:2},expandedRowActive:{transform:[{scale:1.02}],borderWidth:2,paddingBottom:16,shadowOffset:{width:0,height:0},shadowOpacity:.8,shadowRadius:20,elevation:10},headerRow:{flexDirection:"row",alignItems:"center"},headerPress:{flex:1,minWidth:0},trailingAction:{marginLeft:8,justifyContent:"center"},rowContent:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},statusSection:{flexDirection:"row",alignItems:"center",gap:8,width:90,minWidth:90},statusDot:{width:8,height:8,borderRadius:4},statusInfo:{flex:1,maxWidth:70},statusLabel:{fontSize:11,fontWeight:"600",lineHeight:14},observerText:{fontSize:10,color:t.color.textTertiary,marginTop:1},querySection:{flex:2,paddingHorizontal:12},queryHash:{fontFamily:f,fontSize:12,color:t.color.text,lineHeight:16},secondaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},secondaryText:{fontSize:10,color:t.color.textTertiary,marginTop:1},rightSection:{flexDirection:"row",alignItems:"center",gap:8},badgeContainer:{flexDirection:"column",alignItems:"flex-end",gap:2},statusBadge:{fontSize:12,fontWeight:"600",fontVariant:["tabular-nums"]},chevronContainer:{padding:2},expandedContent:{marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:t.color.separator,marginLeft:24},bottomRightText:{fontSize:9,color:t.color.textTertiary,fontFamily:f}});export{j as CompactRow};
@@ -1 +0,0 @@
1
- "use client";import{a as t}from"./chunk-GF5C5DVX.mjs";import{Wb as O,Yb as B,ld as f}from"./chunk-CIB4U2YK.mjs";import{R as a,W as H,Y as o,x as A}from"./chunk-K4LXMO4D.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function j({statusDotColor:s,statusLabel:x,statusSublabel:b,primaryText:w,secondaryText:l,secondaryAccessory:y,expandedContent:u,isExpanded:i,badgeText:d,badgeColor:C,customBadge:m,showChevron:T,bottomRightText:c,isSelected:D,onPress:h,disabled:I,expandedGlowColor:g,testID:R,statusTestID:S,statusSublabelTestID:v,primaryTestID:W,secondaryTestID:L,accessibilityLabel:z,trailingAction:p}){return r(o,{style:[e.rowWrapper,i&&e.rowWrapperExpanded],children:n(o,{style:[e.row,D&&e.selectedRow,i&&[e.expandedRowActive,{borderColor:g||t.color.accent,borderBottomColor:g||t.color.accent,shadowColor:g||t.color.accent}]],children:[n(o,{style:e.headerRow,children:[r(H,{style:e.headerPress,onPress:h,activeOpacity:.8,disabled:I||!h,testID:R,accessibilityLabel:z,accessibilityRole:h?"button":void 0,children:n(o,{style:e.rowContent,children:[n(o,{style:e.statusSection,children:[r(o,{style:[e.statusDot,{backgroundColor:s}]}),n(o,{style:e.statusInfo,children:[r(a,{style:[e.statusLabel,{color:s}],numberOfLines:1,testID:S,children:x}),b?r(a,{style:e.observerText,numberOfLines:1,testID:v,children:b}):null]})]}),n(o,{style:e.querySection,children:[r(a,{style:e.queryHash,numberOfLines:i?void 0:2,testID:W,children:w}),!i&&(l||y)?n(o,{style:e.secondaryRow,children:[l?r(a,{style:e.secondaryText,numberOfLines:1,testID:L,children:l}):null,y]}):null]}),n(o,{style:e.rightSection,children:[(m||d!==void 0||!i&&c)&&n(o,{style:e.badgeContainer,children:[m||(d!==void 0?r(a,{style:[e.statusBadge,{color:C||s}],children:d}):null),!i&&c?r(a,{style:e.bottomRightText,numberOfLines:1,children:c}):null]}),T&&r(o,{style:e.chevronContainer,children:i?r(O,{size:14,color:t.color.textTertiary}):r(B,{size:14,color:t.color.textTertiary})})]})]})}),p?r(o,{style:e.trailingAction,children:p}):null]}),i&&u&&r(o,{style:e.expandedContent,children:u})]})})}var e=A.create({rowWrapper:{position:"relative",marginHorizontal:8,marginVertical:3},rowWrapperExpanded:{marginVertical:12},row:{backgroundColor:"rgba(12, 12, 12, 0.9)",borderRadius:8,borderWidth:1,borderColor:t.color.border,borderBottomWidth:1,borderBottomColor:t.color.separator,padding:12,paddingHorizontal:12,transform:[{scale:1}]},selectedRow:{backgroundColor:t.color.accentSoft,borderColor:t.color.accentBorderStrong,transform:[{scale:1.01}],shadowColor:t.color.accent,shadowOffset:{width:0,height:0},shadowOpacity:.1,shadowRadius:8,elevation:2},expandedRowActive:{transform:[{scale:1.02}],borderWidth:2,paddingBottom:16,shadowOffset:{width:0,height:0},shadowOpacity:.8,shadowRadius:20,elevation:10},headerRow:{flexDirection:"row",alignItems:"center"},headerPress:{flex:1,minWidth:0},trailingAction:{marginLeft:8,justifyContent:"center"},rowContent:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},statusSection:{flexDirection:"row",alignItems:"center",gap:8,width:90,minWidth:90},statusDot:{width:8,height:8,borderRadius:4},statusInfo:{flex:1,maxWidth:70},statusLabel:{fontSize:11,fontWeight:"600",lineHeight:14},observerText:{fontSize:10,color:t.color.textTertiary,marginTop:1},querySection:{flex:2,paddingHorizontal:12},queryHash:{fontFamily:f,fontSize:12,color:t.color.text,lineHeight:16},secondaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},secondaryText:{fontSize:10,color:t.color.textTertiary,marginTop:1},rightSection:{flexDirection:"row",alignItems:"center",gap:8},badgeContainer:{flexDirection:"column",alignItems:"flex-end",gap:2},statusBadge:{fontSize:12,fontWeight:"600",fontVariant:["tabular-nums"]},chevronContainer:{padding:2},expandedContent:{marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:t.color.separator,marginLeft:24},bottomRightText:{fontSize:9,color:t.color.textTertiary,fontFamily:f}});export{j as a};
@@ -1 +0,0 @@
1
- "use client";import{a as t}from"./chunk-GF5C5DVX.mjs";import{Wb as O,Yb as B,ld as f}from"./chunk-IVCT27JB.mjs";import{J as H,a as o,b as i,d as A}from"./chunk-3UTMGIUG.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function j({statusDotColor:s,statusLabel:x,statusSublabel:g,primaryText:w,secondaryText:l,secondaryAccessory:y,expandedContent:u,isExpanded:a,badgeText:d,badgeColor:C,customBadge:m,showChevron:T,bottomRightText:c,isSelected:D,onPress:h,disabled:I,expandedGlowColor:b,testID:S,statusTestID:v,statusSublabelTestID:R,primaryTestID:W,secondaryTestID:L,accessibilityLabel:z,trailingAction:p}){return r(o,{style:[e.rowWrapper,a&&e.rowWrapperExpanded],children:n(o,{style:[e.row,D&&e.selectedRow,a&&[e.expandedRowActive,{borderColor:b||t.color.accent,borderBottomColor:b||t.color.accent,shadowColor:b||t.color.accent}]],children:[n(o,{style:e.headerRow,children:[r(A,{style:e.headerPress,onPress:h,activeOpacity:.8,disabled:I||!h,testID:S,accessibilityLabel:z,accessibilityRole:h?"button":void 0,children:n(o,{style:e.rowContent,children:[n(o,{style:e.statusSection,children:[r(o,{style:[e.statusDot,{backgroundColor:s}]}),n(o,{style:e.statusInfo,children:[r(i,{style:[e.statusLabel,{color:s}],numberOfLines:1,testID:v,children:x}),g?r(i,{style:e.observerText,numberOfLines:1,testID:R,children:g}):null]})]}),n(o,{style:e.querySection,children:[r(i,{style:e.queryHash,numberOfLines:a?void 0:2,testID:W,children:w}),!a&&(l||y)?n(o,{style:e.secondaryRow,children:[l?r(i,{style:e.secondaryText,numberOfLines:1,testID:L,children:l}):null,y]}):null]}),n(o,{style:e.rightSection,children:[(m||d!==void 0||!a&&c)&&n(o,{style:e.badgeContainer,children:[m||(d!==void 0?r(i,{style:[e.statusBadge,{color:C||s}],children:d}):null),!a&&c?r(i,{style:e.bottomRightText,numberOfLines:1,children:c}):null]}),T&&r(o,{style:e.chevronContainer,children:a?r(O,{size:14,color:t.color.textTertiary}):r(B,{size:14,color:t.color.textTertiary})})]})]})}),p?r(o,{style:e.trailingAction,children:p}):null]}),a&&u&&r(o,{style:e.expandedContent,children:u})]})})}var e=H.create({rowWrapper:{position:"relative",marginHorizontal:8,marginVertical:3},rowWrapperExpanded:{marginVertical:12},row:{backgroundColor:"rgba(12, 12, 12, 0.9)",borderRadius:8,borderWidth:1,borderColor:t.color.border,borderBottomWidth:1,borderBottomColor:t.color.separator,padding:12,paddingHorizontal:12,transform:[{scale:1}]},selectedRow:{backgroundColor:t.color.accentSoft,borderColor:t.color.accentBorderStrong,transform:[{scale:1.01}],shadowColor:t.color.accent,shadowOffset:{width:0,height:0},shadowOpacity:.1,shadowRadius:8,elevation:2},expandedRowActive:{transform:[{scale:1.02}],borderWidth:2,paddingBottom:16,shadowOffset:{width:0,height:0},shadowOpacity:.8,shadowRadius:20,elevation:10},headerRow:{flexDirection:"row",alignItems:"center"},headerPress:{flex:1,minWidth:0},trailingAction:{marginLeft:8,justifyContent:"center"},rowContent:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},statusSection:{flexDirection:"row",alignItems:"center",gap:8,width:90,minWidth:90},statusDot:{width:8,height:8,borderRadius:4},statusInfo:{flex:1,maxWidth:70},statusLabel:{fontSize:11,fontWeight:"600",lineHeight:14},observerText:{fontSize:10,color:t.color.textTertiary,marginTop:1},querySection:{flex:2,paddingHorizontal:12},queryHash:{fontFamily:f,fontSize:12,color:t.color.text,lineHeight:16},secondaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},secondaryText:{fontSize:10,color:t.color.textTertiary,marginTop:1},rightSection:{flexDirection:"row",alignItems:"center",gap:8},badgeContainer:{flexDirection:"column",alignItems:"flex-end",gap:2},statusBadge:{fontSize:12,fontWeight:"600",fontVariant:["tabular-nums"]},chevronContainer:{padding:2},expandedContent:{marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:t.color.separator,marginLeft:24},bottomRightText:{fontSize:9,color:t.color.textTertiary,fontFamily:f}});export{j as a};
@@ -1 +0,0 @@
1
- "use client";export*from"react-native-web";import{unstable_createElement as m,NativeModules as x,AccessibilityInfo as b,Animated as f,Appearance as h,AppRegistry as y,AppState as g,BackHandler as v,Clipboard as w,Dimensions as C,Easing as E,I18nManager as T,Keyboard as k,InteractionManager as A,LayoutAnimation as S,Linking as I,NativeEventEmitter as B,PanResponder as L,PixelRatio as V,Platform as M,Share as N,StyleSheet as P,UIManager as R,Vibration as D,CheckBox as $,FlatList as K,Image as z,ImageBackground as F,KeyboardAvoidingView as H,Picker as O,ProgressBar as W,RefreshControl as j,SafeAreaView as Y,SectionList as _,StatusBar as q,Input as G,Touchable as J,TouchableNativeFeedback as Q,VirtualizedList as U,YellowBox as X,LogBox as Z,DeviceEventEmitter as ee,useColorScheme as ae,useLocaleContext as se,useWindowDimensions as te}from"react-native-web";import*as a from"react-native-web";import{createElement as ie,forwardRef as oe}from"react";function s(n){let l=oe((p,u)=>{let{accessibilityState:e,accessibilityValue:r,...t}=p;for(let i of["busy","checked","disabled","expanded","selected"])e?.[i]!==void 0&&t[`aria-${i}`]===void 0&&(t[`aria-${i}`]=e[i]);for(let[i,d]of Object.entries({min:"valuemin",max:"valuemax",now:"valuenow",text:"valuetext"}))r?.[i]!==void 0&&t[`aria-${d}`]===void 0&&(t[`aria-${d}`]=r[i]);return ie(n,{...t,ref:u})});return l.displayName=n.displayName??n.name??"NativeWebView",l}var ne=s(a.View),re=s(a.Text),le=s(a.TextInput),de=s(a.TouchableOpacity),ce=s(a.TouchableHighlight),pe=s(a.TouchableWithoutFeedback),ue=s(a.Pressable),me=s(a.ScrollView),xe=s(a.Modal),be=s(a.Switch),fe=s(a.ActivityIndicator),he=s(a.Button),ye=a.findNodeHandle,ge={alert(n,l,p,u){if(typeof document>"u")return;let e=document.createElement("dialog");e.dataset.buoyRoot="",e.setAttribute("aria-label",n),e.style.cssText="position:fixed;inset:0;margin:auto;width:min(440px,90vw);padding:24px;border:1px solid #475569;border-radius:14px;background:#17212e;color:#f1f5f9;font:14px system-ui;box-shadow:0 20px 80px #0008;z-index:2147483647";let r=document.createElement("h2");if(r.textContent=n,r.style.cssText="font-size:18px;margin:0 0 12px",e.appendChild(r),l){let o=document.createElement("p");o.textContent=l,o.style.cssText="line-height:1.5;white-space:pre-wrap;margin:0 0 20px",e.appendChild(o)}let t=document.createElement("div");t.style.cssText="display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px";let i=p?.length?p:[{text:"OK"}],d=()=>{e.close?.(),e.remove()};for(let o of i){let c=document.createElement("button");c.type="button",c.textContent=o.text??"OK",c.style.cssText=`padding:9px 14px;border:1px solid #64748b;border-radius:7px;color:white;background:${o.style==="destructive"?"#a52b38":"#283a4d"};cursor:pointer;font:inherit`,c.onclick=()=>{d(),o.onPress?.()},t.appendChild(c)}e.addEventListener("cancel",o=>{o.preventDefault(),u?.cancelable!==false&&(d(),u?.onDismiss?.())}),e.appendChild(t),document.body.appendChild(e),e.showModal?e.showModal():e.setAttribute("open","")}};export{ne as a,re as b,le as c,de as d,ce as e,pe as f,ue as g,me as h,xe as i,be as j,fe as k,he as l,ye as m,ge as n,m as o,x as p,b as q,f as r,h as s,y as t,g as u,v,w,C as x,E as y,T as z,k as A,A as B,S as C,I as D,B as E,L as F,V as G,M as H,N as I,P as J,R as K,D as L,$ as M,K as N,z as O,F as P,H as Q,O as R,W as S,j as T,Y as U,_ as V,q as W,G as X,J as Y,Q as Z,U as _,X as $,Z as aa,ee as ba,ae as ca,se as da,te as ea};
@@ -1 +0,0 @@
1
- "use client";var r={background:{base:"#0A0A0C",card:"#1A1A1C",hover:"#1D1D1F",input:"#26262A"},border:{default:"#2D2D2F",toggle:"#3D3D3F",input:"#3D3D42",hover:"#4D4D4F"},text:{primary:"#F5F5F7",secondary:"#A1A1A6",muted:"#8E8E93",disabled:"#9E9EA0",icon:"#6D6D6F"},semantic:{success:"#34C759",successLight:"#52D976",successLighter:"#86E29F",successBackground:"rgba(52, 199, 89, 0.15)",error:"#FF453A",errorLight:"#FF6961",errorLighter:"#FF887F",errorBackground:"rgba(255, 69, 58, 0.15)",warning:"#FFEB3B",warningLight:"#FFF066",warningBackground:"rgba(255, 235, 59, 0.15)",info:"#00B8E6",infoLight:"#40CCFF",infoLighter:"#70D8FF",infoBackground:"rgba(0, 184, 230, 0.1)",debug:"#BF5AF2"},platform:{ios:"#E5E5EA",android:"#86E29F",web:"#70B8FF",webAlt:"#5AC8FA",tv:"#B381F0"},shadows:{sm:"0 0.5rem 1.5rem rgba(0,0,0,0.15)",md:"0 0.75rem 2.5rem rgba(0,0,0,0.25)",lg:"0 1rem 3rem rgba(0,0,0,0.3)",xl:"0 1.5rem 3rem rgba(0,0,0,0.35)",successGlow:"0 0 8px rgba(52, 199, 89, 0.1)",errorGlow:"0 0 8px rgba(255, 69, 58, 0.1)",warningGlow:"0 0 8px rgba(255, 235, 59, 0.2)",infoGlow:"0 0 8px rgba(0, 184, 230, 0.2)",infoGlowStrong:"0 0 10px rgba(0, 184, 230, 0.3)"},dataTypes:{object:"#00B8E6",array:"#FFEB3B",string:"#34C759",number:"#FF9F0A",boolean:"#BF5AF2",function:"#5E5CE6",undefined:"#8E8E93",null:"#FF453A"},diff:{addedBackground:"rgba(52, 199, 89, 0.1)",removedBackground:"rgba(255, 69, 58, 0.1)",modifiedBackground:"rgba(0, 184, 230, 0.1)",unchangedBackground:"transparent",contextBackground:"rgba(245, 245, 247, 0.02)",addedText:"#34C759",removedText:"#FF453A",modifiedText:"#00B8E6",unchangedText:"#A1A1A6",addedWordHighlight:"rgba(52, 199, 89, 0.3)",removedWordHighlight:"rgba(255, 69, 58, 0.3)",lineNumberBackground:"#0A0A0C",lineNumberText:"#8E8E93",lineNumberBorder:"#2D2D2F",markerAddedBackground:"rgba(52, 199, 89, 0.2)",markerRemovedBackground:"rgba(255, 69, 58, 0.2)",markerModifiedBackground:"rgba(0, 184, 230, 0.2)",markerText:"#8E8E93"}};var e=()=>({background:r.background.base,panel:r.background.card,backdrop:"rgba(0, 0, 0, 0.85)",buttonBackground:r.background.hover,pureBlack:"#000000",border:r.border.default,blackTint1:r.background.base,blackTint2:r.background.card,blackTint3:r.background.hover,success:r.semantic.success,warning:r.semantic.warning,error:r.semantic.error,info:r.semantic.info,critical:r.semantic.error,optional:r.semantic.debug,env:r.semantic.success,storage:r.semantic.debug,query:r.semantic.info,debug:r.semantic.error,network:r.semantic.success,dataTypes:r.dataTypes,text:r.text.primary,primary:r.text.primary,primaryLight:r.text.primary,secondary:r.text.secondary,tertiary:r.text.secondary,muted:r.text.muted,diff:r.diff,neonGlow:{primary:r.semantic.info,secondary:r.semantic.debug,tertiary:r.semantic.success}});var a=e();var o=()=>{Object.assign(a,e())};var i=a;var n=i;var t={background:"rgba(8, 12, 21, 0.98)",panel:"rgba(16, 22, 35, 0.98)",backdrop:"rgba(0, 0, 0, 0.85)",buttonBackground:"rgba(12, 16, 26, 0.9)",pureBlack:"#000000",primary:"#FFFFFF",primaryLight:"#F1F5F9"};var d={...t,...n};var g=()=>{o();Object.assign(d,n)};var c={base:"#121212",card:"#1A1A1A",cardScrim:"rgba(10,13,20,0.9)",hover:"#242424",input:"#2A2A2A",border:"#333333",borderStrong:"#444444",text:"#E0E0E0",textSecondary:"#A0A0A0",textMuted:"#888888",primary:"#20C997",success:"#20C997",warning:"#FFA94D",error:"#EF4444",info:"#00B8E6"};var s={dialBackground:"#050505",dialGradient1:"rgba(255, 255, 255, 0.05)",dialGradient2:"rgba(255, 255, 255, 0.03)",dialGradient3:"rgba(255, 255, 255, 0.06)",dialBorder:"rgba(255, 255, 255, 0.12)",dialShadow:"#000000",dialGridLine:"rgba(255, 255, 255, 0.08)",hubFill:"rgba(5, 5, 5, 0.34)",hubHalo:"rgba(5, 5, 5, 0.12)"};export{r as macOSColors,a as macOSGameUIColors,o as refreshMacOSGameUIColors,d as gameUIColors,g as refreshGameUIColors,c as buoyColors,s as dialColors};
@@ -1 +0,0 @@
1
- "use client";import{Pb as le,Qb as se,R as _,Rb as P,S as ce,Vb as de,Xb as M,_b as $,qd as y}from"./chunk-7BLJTQ4U.mjs";import{d as n}from"./chunk-CE5U3CSQ.mjs";import{J as z,a as c,b as f,d as G,r as O,y as U}from"./chunk-3UTMGIUG.mjs";var ue="[Circular]",H="[...]";function fe(e,t,o={}){let{depthLimit:s=Number.MAX_SAFE_INTEGER,edgesLimit:p=Number.MAX_SAFE_INTEGER}=o,d=[];function a(i,l,g,r,w,A){if(A+=1,typeof i=="object"&&i!==null){for(let v=0;v<r.length;v++)if(r[v]===i){m(ue,i,l,w);return}if(A>s){m(H,i,l,w);return}if(g+1>p){m(H,i,l,w);return}if(r.push(i),Array.isArray(i)){let v=i;for(let I=0;I<i.length;I++)a(i[I],I,I,r,v,A)}else if(i instanceof Map||i instanceof Set||i instanceof RegExp||i instanceof Date||i instanceof Error){r.pop();return}else{let v=i,I=Object.keys(v);for(let B=0;B<I.length;B++){let W=I[B];a(v[W],W,B,r,v,A)}}r.pop()}}function m(i,l,g,r){if(!r)return;let w=Object.getOwnPropertyDescriptor(r,g);if(w?.get!==void 0)if(w.configurable)Object.defineProperty(r,g,{value:i}),d.push([r,g,l,w]);else return;else r[g]=i,d.push([r,g,l])}let C=(i,l)=>{if(typeof l=="bigint")return`${l.toString()}n`;if(typeof l=="symbol")return l.toString();if(typeof l>"u")return"undefined";if(typeof l=="function")return`[Function: ${l.name||"anonymous"}]`;if(typeof l=="number"){if(l===1/0)return"Infinity";if(l===-1/0)return"-Infinity";if(Number.isNaN(l))return"NaN"}if(l instanceof Error){let g={name:l.name,message:l.message,stack:l.stack};return Object.getOwnPropertyNames(l).forEach(r=>{if(!["name","message","stack"].includes(r))try{let w=l[r];w!==void 0&&(g[r]=w)}catch{}}),g}if(l instanceof Date)return l.toISOString();if(l instanceof RegExp)return l.toString();if(l instanceof Map)try{return{__type:"Map",entries:Array.from(l.entries()).map(([g,r])=>[String(g),r])}}catch{return{__type:"Map",entries:"[Map iteration failed]"}}if(l instanceof Set)try{return{__type:"Set",values:Array.from(l)}}catch{return{__type:"Set",values:"[Set iteration failed]"}}return l};try{return a(e,"",0,[],null,0),JSON.stringify(e,C,t)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;d.length!==0;){let i=d.pop();if(i&&i.length===4){let[l,g,,r]=i;l&&typeof l=="object"&&r&&Object.defineProperty(l,g,r)}else if(i){let[l,g,r]=i;l&&typeof l=="object"&&(typeof g=="string"||typeof g=="number")&&(l[g]=r)}}}}var pe=e=>typeof e>"u",ge=e=>typeof e!="object"||e===null||e===Object.prototype?false:Object.getPrototypeOf(e)===null?true:Object.getPrototypeOf(e)===Object.prototype,D=e=>Array.isArray(e),ye=e=>typeof e=="boolean"||e===null||typeof e>"u"||typeof e=="number"||typeof e=="string"||typeof e=="symbol",he=e=>e instanceof Date&&!isNaN(e.valueOf()),J=e=>e instanceof Error,me=e=>e instanceof RegExp,X=e=>e instanceof Set,Y=e=>e instanceof Map,be=e=>typeof e=="bigint",q=e=>typeof e=="number"&&isNaN(e),Se=e=>e===1/0||e===-1/0,we=e=>e===0&&1/e===-1/0,xe=e=>e instanceof URL,Ce=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),Ae={Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray},K=[{isApplicable:pe,annotation:"undefined",transform:()=>null,untransform:()=>{}},{isApplicable:be,annotation:"bigint",transform:e=>e.toString(),untransform:e=>typeof BigInt<"u"?BigInt(e):(console.error("BigInt is not supported in this environment"),e)},{isApplicable:he,annotation:"Date",transform:e=>e.toISOString(),untransform:e=>new Date(e)},{isApplicable:J,annotation:"Error",transform:e=>({name:e.name,message:e.message,stack:e.stack,cause:"cause"in e?e.cause:void 0}),untransform:e=>{let t=new Error(e.message);return t.name=e.name,t.stack=e.stack,e.cause!==void 0&&(t.cause=e.cause),t}},{isApplicable:me,annotation:"regexp",transform:e=>""+e,untransform:e=>{let t=e.slice(1,e.lastIndexOf("/")),o=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,o)}},{isApplicable:X,annotation:"set",transform:e=>[...e.values()],untransform:e=>new Set(e)},{isApplicable:Y,annotation:"map",transform:e=>[...e.entries()],untransform:e=>new Map(e)},{isApplicable:e=>q(e)||Se(e),annotation:"number",transform:e=>q(e)?"NaN":e>0?"Infinity":"-Infinity",untransform:e=>Number(e)},{isApplicable:we,annotation:"number",transform:()=>"-0",untransform:()=>-0},{isApplicable:xe,annotation:"URL",transform:e=>e.toString(),untransform:e=>new URL(e)},{isApplicable:Ce,annotation:e=>["typed-array",e.constructor.name],transform:e=>[...e],untransform:(e,t)=>{let o=Array.isArray(t)?t[1]:"Uint8Array",s=Ae[o];if(!s)throw new Error(`Unknown typed array: ${o}`);return new s(e)}}];function j(e){for(let t of K)if(t.isApplicable(e)){let o=typeof t.annotation=="function"?t.annotation(e):t.annotation;return{value:t.transform(e),type:o}}}function Q(e,t){for(let o of K){let s=typeof o.annotation=="function"?Array.isArray(t)?t[0]:t:o.annotation;if(Array.isArray(t)&&Array.isArray(s)?t[0]===s[0]:s===t)return o.untransform(e,t)}throw new Error(`Unknown transformation: ${t}`)}var Z=e=>ge(e)||D(e)||Y(e)||X(e)||J(e);function V(e){return e.replace(/\\/g,"\\\\").replace(/\./g,"\\.")}function ee(e,t=[],o=[]){let s=ye(e);if(!s&&!Z(e)){let i=j(e);return i?{transformedValue:i.value,annotations:{[t.map(String).map(V).join(".")]:i.type}}:{transformedValue:e}}if(!s&&o.indexOf(e)!==-1)return{transformedValue:null};if(!Z(e)){let i=j(e);return i?{transformedValue:i.value,annotations:t.length>0?{[t.map(String).map(V).join(".")]:i.type}:{"":i.type}}:{transformedValue:e}}let p=j(e),d=p?.value??e,a=D(d)?[]:{},m={};if(p){let i=t.length>0?t.map(String).map(V).join("."):"";m[i]=p.type}let C=D(d)?d.map((i,l)=>[l,i]):Object.entries(d);for(let[i,l]of C){let g=String(i);if(g==="__proto__"||g==="constructor"||g==="prototype")throw new Error(`Detected property ${g}. This is a prototype pollution risk, please remove it from your object.`);let r=ee(l,[...t,i],[...o,e]);a[i]=r.transformedValue,r.annotations&&Object.assign(m,r.annotations)}return{transformedValue:a,annotations:Object.keys(m).length>0?m:void 0}}function ve(e){if(e==="")return[];let t=[],o="";for(let s=0;s<e.length;s++){let p=e.charAt(s);if(p==="\\"){let d=e.charAt(s+1);if(d==="\\"){o+="\\",s++;continue}else if(d==="."){o+=".",s++;continue}}if(p==="."){t.push(o),o="";continue}o+=p}return o&&t.push(o),t}function Ie(e,t,o){if(t.length===0)return;let s=e;for(let p=0;p<t.length-1;p++)s=s[t[p]];s[t[t.length-1]]=o}function Re(e,t){let o=e;for(let s of t)o=o[s];return o}function te(e){let t=ee(e),o={json:t.transformedValue};return t.annotations&&(o.meta={values:t.annotations}),o}function re(e){let{json:t,meta:o}=e;if(!o?.values)return t;let s=D(t)?[...t]:{...t},p=Object.entries(o.values).map(([d,a])=>({pathString:d,type:a,path:ve(d)})).sort((d,a)=>a.path.length-d.path.length);for(let{type:d,path:a}of p)if(a.length===0)s=Q(s,d);else{let m=Re(s,a),C=Q(m,d);Ie(s,a,C)}return s}var Te=(e,t=false)=>{let{json:o}=te(e);return JSON.stringify(o,null,t?2:void 0)},Oe=e=>{try{let t=JSON.parse(e);return re({json:t,meta:void 0})}catch{return JSON.parse(e)}};import{jsx as N,jsxs as L}from"react/jsx-runtime";function ke({icon:e,iconColor:t,title:o,count:s,subtitle:p,expanded:d,onToggle:a,children:m,style:C,titleStyle:i}){return L(c,{style:[F.container,C],children:[L(G,{onPress:a,activeOpacity:.7,style:F.headerTouchable,children:[L(c,{style:F.header,children:[L(c,{style:F.headerLeft,children:[N(e,{size:14,color:t}),N(f,{style:[F.title,i],children:o}),N(c,{style:[F.badge,{backgroundColor:t+"20"}],children:N(f,{style:[F.badgeText,{color:t}],children:s})})]}),d?N($,{size:14,color:n.muted}):N(M,{size:14,color:n.muted})]}),N(f,{style:F.subtitle,children:p})]}),d&&N(O.View,{style:{opacity:1},children:m})]})}var F=z.create({container:{marginBottom:20},headerTouchable:{marginBottom:12},header:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4,paddingHorizontal:4},headerLeft:{flexDirection:"row",alignItems:"center",gap:8,flex:1},title:{fontSize:11,color:n.primary,fontFamily:y,fontWeight:"700",letterSpacing:2,opacity:.9},subtitle:{fontSize:9,color:n.secondary,fontFamily:y,paddingHorizontal:4,marginTop:2,opacity:.7},badge:{paddingHorizontal:8,paddingVertical:2,borderRadius:10},badgeText:{fontSize:10,fontFamily:y,fontWeight:"700"}});var oe={position:"absolute",top:0,left:0,right:0,bottom:0};import{jsx as k,jsxs as E}from"react/jsx-runtime";function Ne({alertConfig:e,badgeText:t,animatedStyle:o,style:s,indicatorCount:p=3}){let d=e.icon;return E(O.View,{style:[R.container,{borderColor:e.color+"40"},s,o],children:[k(c,{style:[R.glow,{backgroundColor:e.color+"10"}]}),E(c,{style:R.content,children:[k(c,{style:[R.iconWrapper,{backgroundColor:e.color+"15"}],children:k(d,{size:20,color:e.color})}),E(c,{style:R.textContainer,children:[k(f,{style:[R.label,{color:e.color}],children:e.label}),k(f,{style:R.subtitle,children:e.subtitle})]}),k(c,{style:[R.badge,{backgroundColor:e.color+"20"}],children:k(f,{style:[R.badgeText,{color:e.color}],children:t})})]}),k(c,{style:R.indicators,children:[...Array(p)].map((a,m)=>k(c,{style:[R.indicatorDot,{backgroundColor:e.color,opacity:e.pulse?m===0?1:.5-m*.2:.3-m*.1}]},m))})]})}var R=z.create({container:{backgroundColor:n.panel,borderRadius:12,borderWidth:1,padding:16,marginBottom:16,position:"relative",overflow:"hidden"},glow:{...oe,opacity:.5},content:{flexDirection:"row",alignItems:"center",gap:12},iconWrapper:{width:36,height:36,borderRadius:8,justifyContent:"center",alignItems:"center"},textContainer:{flex:1,gap:2},label:{fontSize:13,fontWeight:"700",fontFamily:y,letterSpacing:1.5,textShadowOffset:{width:0,height:0},textShadowRadius:8},subtitle:{fontSize:10,color:n.secondary,fontFamily:y},badge:{paddingHorizontal:8,paddingVertical:4,borderRadius:4},badgeText:{fontSize:9,fontWeight:"700",fontFamily:y,letterSpacing:1},indicators:{position:"absolute",top:8,right:8,flexDirection:"row",gap:3},indicatorDot:{width:4,height:4,borderRadius:2}});import{Fragment as Fe}from"react";import{jsx as b,jsxs as x}from"react/jsx-runtime";function Be({statsConfig:e,totalCount:t,header:o,bottomStats:s,style:p,hideInactive:d=true}){return x(c,{style:[u.container,p],children:[o&&x(c,{style:u.header,children:[x(c,{style:u.headerLeft,children:[b(f,{style:u.headerTitle,children:o.title}),b(f,{style:u.headerSubtitle,children:o.subtitle})]}),o.healthPercentage!==void 0&&b(c,{style:u.headerRight,children:x(c,{style:u.statusIndicator,children:[b(c,{style:[u.statusDot,{backgroundColor:o.healthColor||n.success}]}),b(f,{style:[u.statusText,{color:o.healthColor||n.success}],children:o.healthStatus||"OPTIMAL"})]})})]}),o?.healthPercentage!==void 0&&x(c,{style:u.healthSection,children:[b(f,{style:u.healthLabel,children:"SYSTEM HEALTH"}),b(c,{style:u.healthBarWrapper,children:b(c,{style:u.healthBarBg,children:b(O.View,{style:[u.healthBarFill,{width:`${o.healthPercentage}%`,backgroundColor:o.healthColor||n.success}]})})}),x(f,{style:[u.healthPercentage,{color:o.healthColor||n.success}],children:[o.healthPercentage,"%"]})]}),b(c,{style:u.statsGrid,children:e.map(a=>{let m=a.value>0;if(d&&!m)return null;let C=a.icon,i=t?a.value/t*100:0;return x(O.View,{style:[u.statCard,{borderColor:a.color+"30"}],children:[x(c,{style:u.cardContent,children:[b(c,{style:[u.iconBadge,{backgroundColor:a.color+"1A",borderColor:a.color+"33"}],children:b(C,{size:12,color:a.color})}),x(c,{style:u.cardInfo,children:[b(f,{style:u.cardLabel,children:a.label}),b(f,{style:u.cardSubtitle,children:a.subtitle})]}),x(c,{style:u.valueBlock,children:[b(f,{style:[u.statNumber,{color:a.color}],children:a.value.toString().padStart(2,"0")}),t?x(f,{style:u.percentText,children:[Math.round(i),"%"]}):null]})]}),a.showBar!==false&&t&&b(c,{style:[u.statBar,{backgroundColor:a.color+"10"}],children:b(c,{style:[u.statBarFill,{width:`${i}%`,backgroundColor:a.color}]})})]},a.key)})}),s&&s.length>0&&b(c,{style:u.bottomBar,children:s.map((a,m)=>x(Fe,{children:[x(c,{style:u.bottomStat,children:[b(f,{style:u.bottomStatLabel,children:a.label}),b(f,{style:[u.bottomStatValue,a.color&&{color:a.color}],children:a.value})]}),m<s.length-1&&b(c,{style:u.bottomDivider})]},a.label))})]})}var u=z.create({container:{backgroundColor:n.panel,borderRadius:12,padding:12,marginBottom:12,borderWidth:1,borderColor:n.border+"40",overflow:"hidden",position:"relative"},header:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:8,paddingBottom:8,borderBottomWidth:1,borderBottomColor:"rgba(128, 128, 128, 0.1)"},headerLeft:{gap:1},headerRight:{alignItems:"flex-end"},headerTitle:{fontSize:11,fontWeight:"700",color:n.primary,fontFamily:y,letterSpacing:1.5},headerSubtitle:{fontSize:8,color:n.secondary,fontFamily:y,opacity:.7},statusIndicator:{flexDirection:"row",alignItems:"center",gap:4},statusDot:{width:5,height:5,borderRadius:2.5},statusText:{fontSize:9,fontWeight:"600",fontFamily:y,letterSpacing:.5},healthSection:{flexDirection:"row",alignItems:"center",marginBottom:10,gap:8},healthLabel:{fontSize:8,color:n.secondary,fontFamily:y,letterSpacing:.5},healthBarWrapper:{flex:1},healthBarBg:{height:4,backgroundColor:"rgba(128, 128, 128, 0.1)",borderRadius:2,overflow:"hidden"},healthBarFill:{height:"100%",borderRadius:2},healthPercentage:{fontSize:11,fontWeight:"700",fontFamily:y},statsGrid:{gap:6,marginBottom:8},statCard:{backgroundColor:n.blackTint2,borderRadius:8,borderWidth:1,borderColor:n.border,padding:10,marginBottom:4},cardContent:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:4},cardInfo:{flex:1},cardLabel:{fontSize:11,fontWeight:"700",fontFamily:y,letterSpacing:.5,color:n.primary},cardSubtitle:{fontSize:8,color:n.secondary,fontFamily:y,opacity:.7},statNumber:{fontSize:16,fontWeight:"700",fontFamily:y,minWidth:28},valueBlock:{alignItems:"flex-end"},percentText:{fontSize:9,color:n.secondary,fontFamily:y},statBar:{height:3,borderRadius:1.5,overflow:"hidden"},statBarFill:{height:"100%",borderRadius:1.5},bottomBar:{flexDirection:"row",alignItems:"center",paddingTop:8,borderTopWidth:1,borderTopColor:n.border+"40"},bottomStat:{flex:1,alignItems:"center"},bottomStatLabel:{fontSize:7,color:n.muted,fontFamily:y,letterSpacing:.5,marginBottom:1},bottomStatValue:{fontSize:11,fontWeight:"700",color:n.primary,fontFamily:y},bottomDivider:{width:1,height:16,backgroundColor:n.border+"40"},iconBadge:{width:24,height:24,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"}});import{useState as ze,useCallback as De}from"react";import{jsx as S,jsxs as T}from"react/jsx-runtime";function Le({issues:e,onIssueClick:t,hintText:o="Tap any issue to view details",style:s,expandable:p=true,statusLabels:d={missing:"Not found",wrong_type:"Type error",wrong_value:"Invalid value"}}){let[a,m]=ze(new Set),C=De(r=>{p&&m(w=>{let A=new Set(w);return A.has(r)?A.delete(r):A.add(r),A})},[p]),i=r=>r==="missing"?n.warning:n.info,l=r=>r==="missing"?_:P,g=r=>{switch(r.status){case"missing":return`\u2022 ${d.missing}`;case"wrong_type":return`\u2022 ${d.wrong_type}${r.expectedType?`: Expected ${r.expectedType}`:""}`;case"wrong_value":return`\u2022 ${d.wrong_value}${r.value?`: ${String(r.value).substring(0,20)}`:""}`;default:return""}};return e.length===0?null:T(c,{style:[h.container,s],children:[e.map((r,w)=>{let A=i(r.status),v=l(r.status),I=a.has(r.key),B=I?$:M;return T(c,{children:[T(G,{onPress:()=>{p&&C(r.key),t?.(r)},style:h.issueRow,activeOpacity:.7,children:[S(v,{size:14,color:A}),T(c,{style:h.issueContent,children:[S(f,{style:[h.issueKey,{color:n.primary}],children:r.key}),S(f,{style:h.issueDesc,children:g(r)})]}),p&&S(B,{size:12,color:n.muted})]}),p&&I&&T(O.View,{style:h.issueDetails,children:[T(c,{style:h.detailRow,children:[S(f,{style:h.detailLabel,children:"Status:"}),T(f,{style:[h.detailValue,{color:n.primary,fontWeight:"600"}],children:[r.status==="missing"&&"MISSING",r.status==="wrong_type"&&"TYPE ERROR",r.status==="wrong_value"&&"INVALID VALUE"]})]}),r.value!==void 0&&r.status!=="missing"&&T(c,{style:h.detailRow,children:[S(f,{style:h.detailLabel,children:"Current:"}),S(f,{style:[h.detailValue,{color:n.warning}],children:`"${String(r.value)}"`})]}),r.expectedType&&r.status==="wrong_type"&&T(c,{style:h.detailRow,children:[S(f,{style:h.detailLabel,children:"Expected:"}),S(f,{style:[h.detailValue,{color:n.success}],children:r.expectedType})]}),r.expectedValue&&r.status==="wrong_value"&&T(c,{style:h.detailRow,children:[S(f,{style:h.detailLabel,children:"Expected:"}),S(f,{style:[h.detailValue,{color:n.success}],children:`"${r.expectedValue}"`})]}),r.description&&S(c,{style:h.descSection,children:S(f,{style:h.descText,children:r.description})}),r.fixSuggestion&&T(c,{style:h.fixSection,children:[S(f,{style:h.fixLabel,children:"HOW TO FIX"}),S(f,{style:h.fixText,children:r.fixSuggestion})]})]})]},`${r.key}-${w}`)}),o&&S(f,{style:h.hint,children:o})]})}var h=z.create({container:{backgroundColor:n.panel,borderRadius:8,padding:8,borderWidth:1,borderColor:n.warning+"33"},issueRow:{flexDirection:"row",alignItems:"center",paddingVertical:8,paddingHorizontal:8,borderRadius:6,marginBottom:4},issueContent:{flex:1,marginLeft:8,flexDirection:"row",alignItems:"center",gap:8},issueKey:{fontSize:11,fontWeight:"600",fontFamily:y},issueDesc:{fontSize:10,color:n.secondary,fontFamily:y,flex:1},hint:{fontSize:9,color:n.muted,fontFamily:y,textAlign:"center",marginTop:8,paddingTop:8,borderTopWidth:1,borderTopColor:n.primary+"0D"},issueDetails:{marginTop:8,marginLeft:22,marginRight:8,paddingLeft:12,paddingRight:8,paddingTop:8,paddingBottom:8,backgroundColor:n.background+"4D",borderLeftWidth:2,borderLeftColor:n.primary+"1A",borderRadius:4},detailRow:{flexDirection:"row",marginTop:8,alignItems:"flex-start"},detailLabel:{fontSize:10,color:n.secondary,fontFamily:y,fontWeight:"600",width:70},detailValue:{fontSize:11,color:n.primary,fontFamily:y,flex:1,lineHeight:16},fixSection:{marginTop:12,padding:10,backgroundColor:n.info+"14",borderRadius:6,borderWidth:1,borderColor:n.info+"33"},fixLabel:{fontSize:10,color:n.info,fontFamily:y,fontWeight:"700",marginBottom:6,letterSpacing:.5},fixText:{fontSize:11,color:n.primary,fontFamily:y,lineHeight:18,backgroundColor:n.background+"66",padding:8,borderRadius:4,overflow:"hidden"},descSection:{marginTop:10,paddingTop:10,borderTopWidth:1,borderTopColor:n.primary+"0D"},descText:{fontSize:10,color:n.secondary,fontFamily:y,marginTop:4,lineHeight:14}});import{useMemo as ne,useEffect as je,useRef as ie}from"react";var ae={OPTIMAL:{icon:de,color:n.success,label:"CONFIG OK",subtitle:"All requirements met",pulse:false},WARNING:{icon:P,color:n.warning,label:"CONFIG WARNING",subtitle:"Check values and types",pulse:false},ERROR:{icon:se,color:n.error,label:"CONFIG ERROR",subtitle:"Missing required data",pulse:false},CRITICAL:{icon:_,color:n.critical,label:"CONFIG FAILURE",subtitle:"Multiple critical issues",pulse:false},LOADING:{icon:le,color:n.info,label:"LOADING",subtitle:"Reading configuration...",pulse:true},EMPTY:{icon:ce,color:n.muted,label:"NO DATA",subtitle:"No configuration found",pulse:false}};function Ve(e,t){let o=ne(()=>({...ae,...t}),[t]),s=ne(()=>e.totalCount===0?"EMPTY":e.missingCount>2||e.wrongTypeCount>2?"CRITICAL":e.missingCount>0?"ERROR":e.wrongValueCount>0||e.wrongTypeCount>0?"WARNING":"OPTIMAL",[e]),p=o[s],d=ie(new O.Value(1)).current,a=ie(new O.Value(1)).current;return je(()=>{d.setValue(0),a.setValue(.95),O.parallel([O.timing(d,{toValue:1,duration:300,useNativeDriver:true}),O.timing(a,{toValue:1,duration:300,easing:U.out(U.ease),useNativeDriver:true})]).start()},[s,d,a]),{alertState:s,alertConfig:p,alertAnimatedStyle:{transform:[{scale:a}],opacity:d},alertOpacity:d,alertScale:a}}export{fe as a,te as b,re as c,Te as d,Oe as e,ke as f,oe as g,Ne as h,Be as i,Le as j,ae as k,Ve as l};
@@ -1 +0,0 @@
1
- "use client";import{a as V}from"./chunk-L2DTKDER.mjs";import{f as m}from"./chunk-CE5U3CSQ.mjs";import{createContext as D,useContext as N,useState as T,useCallback as w,useMemo as F,useEffect as W}from"react";import{jsx as q}from"react/jsx-runtime";var I=D(null);function G({children:e,initialAdapters:t=[]}){let[a,s]=T(()=>{let r=new Map;return t.forEach(n=>{r.set(n.adapter.id,{...n,enabled:n.enabled??true})}),r}),[u,f]=T(null),[p,C]=T(0),d=w(()=>C(r=>r+1),[]);W(()=>{let r=[];return a.forEach(n=>{if(n.enabled){let c=n.adapter.subscribe(d);r.push(c)}}),()=>{r.forEach(n=>n())}},[a,d]);let i=F(()=>Array.from(a.values()).filter(r=>r.enabled).sort((r,n)=>(r.priority??100)-(n.priority??100)).map(r=>r.adapter),[a,p]),h=w(r=>a.get(r)?.adapter,[a]),x=w(r=>{s(n=>{let c=new Map(n);return c.set(r.adapter.id,{...r,enabled:r.enabled??true}),c})},[]),l=w(r=>{s(n=>{let c=new Map(n);return c.delete(r),c})},[]),o=w(r=>{let n=[];return(u&&r?.sources===void 0?i.filter(c=>c.id===u):i).forEach(c=>{r?.sources&&!r.sources.includes(c.id)||(n=n.concat(c.getEntries()))}),r&&(n=K(n,r)),n.sort((c,R)=>R.timestamp-c.timestamp),n},[i,u,p]),S=w(()=>{let r={};return i.forEach(n=>{r[n.id]=n.getEntryCount()}),r},[i,p]),j=F(()=>({adapters:i,getAdapter:h,registerAdapter:x,unregisterAdapter:l,getAllEntries:o,getEntryCounts:S,selectedAdapterId:u,setSelectedAdapterId:f,refresh:d}),[i,h,x,l,o,S,u,d]);return q(I.Provider,{value:j,children:e})}function b(){let e=N(I);if(!e)throw new Error("useHistoryContext must be used within a HistoryProvider");return e}function P(){return b().adapters}function U(e){return b().getAdapter(e)}function B(e){let{getAllEntries:t}=b();return t(e)}function J(){return b().getEntryCounts()}function K(e,t){return e.filter(a=>{if(t.searchText){let s=t.searchText.toLowerCase();if(!a.label.toLowerCase().includes(s))return false}if(t.onlyWithChanges&&!a.hasStateChange||t.onlyErrors&&a.status!=="error"||t.afterTimestamp&&a.timestamp<t.afterTimestamp||t.beforeTimestamp&&a.timestamp>t.beforeTimestamp)return false;if(t.ignoredPatterns?.length){for(let s of t.ignoredPatterns)if(new RegExp(s).test(a.label))return false}if(t.includedPatterns?.length){let s=false;for(let u of t.includedPatterns)if(new RegExp(u).test(a.label)){s=true;break}if(!s)return false}return true})}import{View as O,Text as Q,StyleSheet as X}from"react-native-web";import{jsx as L}from"react/jsx-runtime";function Y(e){let t=Date.now()-e;return t<1e3?"just now":t<6e4?`${Math.floor(t/1e3)}s ago`:t<36e5?`${Math.floor(t/6e4)}m ago`:`${Math.floor(t/36e5)}h ago`}function Z(e,t){if(t?.color)return t.color;if(e.status==="error")return m.error;if(e.status==="pending")return m.warning;if(e.status==="success")return m.success;if(e.hasStateChange)return m.success;if(e.isSkipped)return m.textMuted;if(e.isInFuture)return m.textMuted+"80";switch(e.source){case"redux":return"#764ABC";case"zustand":return"#443E38";case"mmkv":return"#4CAF50";case"async-storage":return"#2196F3";case"react-query":return"#FF4154";case"jotai":return"#000000";case"legend-state":return"#7C3AED";default:return m.textSecondary}}function _(e){return e.isSkipped?"Skipped":e.isInFuture?"Future":e.status?e.status.charAt(0).toUpperCase()+e.status.slice(1):e.hasStateChange?"Changed":"Action"}function ee(e,t){return t?.name?t.name:e.category?e.category:e.source}function M({entry:e,adapter:t,isSelected:a,onPress:s,showSource:u=true,showDuration:f=true}){let p=Z(e,t),C=_(e),d=u?ee(e,t):void 0,i=Y(e.timestamp);f&&e.duration!==void 0&&(i=`${e.duration.toFixed(1)}ms \xB7 ${i}`);let h=e.hasStateChange?L(O,{style:k.changeBadge,children:L(Q,{style:k.changeBadgeText,children:"\u26A1"})}):void 0;return L(V,{statusDotColor:p,statusLabel:C,statusSublabel:d,primaryText:e.label,bottomRightText:i,customBadge:h,isSelected:a,onPress:s?()=>s(e):void 0,showChevron:!!s})}var k=X.create({changeBadge:{paddingHorizontal:4},changeBadgeText:{fontSize:12}});import{useCallback as E,useMemo as v}from"react";import{FlatList as $,View as z,Text as A,StyleSheet as te}from"react-native-web";import{jsx as y,jsxs as H}from"react/jsx-runtime";function re({filter:e,selectedEntryId:t,onSelectEntry:a,showSource:s=true,emptyMessage:u="No history entries yet",ListHeaderComponent:f,ListFooterComponent:p}){let C=B(e),d=P(),i=v(()=>{let o=new Map;return d.forEach(S=>o.set(S.id,S)),o},[d]),h=E(o=>`${o.source}-${o.id}`,[]),x=E(({item:o})=>{let S=i.get(o.source);return y(M,{entry:o,adapter:S,isSelected:t===o.id,onPress:a,showSource:s})},[i,t,a,s]),l=v(()=>H(z,{style:g.emptyContainer,children:[y(A,{style:g.emptyText,children:u}),y(A,{style:g.emptySubtext,children:"Actions will appear here as they happen"})]}),[u]);return y($,{data:C,keyExtractor:h,renderItem:x,ListEmptyComponent:l,ListHeaderComponent:f,ListFooterComponent:p,contentContainerStyle:g.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15,getItemLayout:void 0})}function ne({entries:e,adapters:t=[],selectedEntryId:a,onSelectEntry:s,showSource:u=true,emptyMessage:f="No history entries yet",ListHeaderComponent:p,ListFooterComponent:C}){let d=v(()=>{let l=new Map;return t.forEach(o=>l.set(o.id,o)),l},[t]),i=E(l=>`${l.source}-${l.id}`,[]),h=E(({item:l})=>{let o=d.get(l.source);return y(M,{entry:l,adapter:o,isSelected:a===l.id,onPress:s,showSource:u})},[d,a,s,u]),x=v(()=>H(z,{style:g.emptyContainer,children:[y(A,{style:g.emptyText,children:f}),y(A,{style:g.emptySubtext,children:"Actions will appear here as they happen"})]}),[f]);return y($,{data:e,keyExtractor:i,renderItem:h,ListEmptyComponent:x,ListHeaderComponent:p,ListFooterComponent:C,contentContainerStyle:g.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15})}var g=te.create({listContent:{flexGrow:1,paddingVertical:4},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:60,paddingHorizontal:20},emptyText:{fontSize:16,fontWeight:"600",color:m.text,marginBottom:8},emptySubtext:{fontSize:13,color:m.textMuted,textAlign:"center"}});export{G as a,b,P as c,U as d,B as e,J as f,M as g,re as h,ne as i};
@@ -1 +0,0 @@
1
- "use client";import{a as N}from"./chunk-GZE3FIOX.mjs";import{f as m}from"./chunk-CE5U3CSQ.mjs";import{J as I,N as P,a as T,b}from"./chunk-3UTMGIUG.mjs";import{createContext as V,useContext as W,useState as M,useCallback as w,useMemo as B,useEffect as q}from"react";import{jsx as G}from"react/jsx-runtime";var k=V(null);function J({children:e,initialAdapters:t=[]}){let[a,s]=M(()=>{let r=new Map;return t.forEach(n=>{r.set(n.adapter.id,{...n,enabled:n.enabled??true})}),r}),[u,f]=M(null),[p,C]=M(0),d=w(()=>C(r=>r+1),[]);q(()=>{let r=[];return a.forEach(n=>{if(n.enabled){let c=n.adapter.subscribe(d);r.push(c)}}),()=>{r.forEach(n=>n())}},[a,d]);let i=B(()=>Array.from(a.values()).filter(r=>r.enabled).sort((r,n)=>(r.priority??100)-(n.priority??100)).map(r=>r.adapter),[a,p]),h=w(r=>a.get(r)?.adapter,[a]),x=w(r=>{s(n=>{let c=new Map(n);return c.set(r.adapter.id,{...r,enabled:r.enabled??true}),c})},[]),l=w(r=>{s(n=>{let c=new Map(n);return c.delete(r),c})},[]),o=w(r=>{let n=[];return(u&&r?.sources===void 0?i.filter(c=>c.id===u):i).forEach(c=>{r?.sources&&!r.sources.includes(c.id)||(n=n.concat(c.getEntries()))}),r&&(n=O(n,r)),n.sort((c,D)=>D.timestamp-c.timestamp),n},[i,u,p]),S=w(()=>{let r={};return i.forEach(n=>{r[n.id]=n.getEntryCount()}),r},[i,p]),R=B(()=>({adapters:i,getAdapter:h,registerAdapter:x,unregisterAdapter:l,getAllEntries:o,getEntryCounts:S,selectedAdapterId:u,setSelectedAdapterId:f,refresh:d}),[i,h,x,l,o,S,u,d]);return G(k.Provider,{value:R,children:e})}function E(){let e=W(k);if(!e)throw new Error("useHistoryContext must be used within a HistoryProvider");return e}function $(){return E().adapters}function U(e){return E().getAdapter(e)}function z(e){let{getAllEntries:t}=E();return t(e)}function K(){return E().getEntryCounts()}function O(e,t){return e.filter(a=>{if(t.searchText){let s=t.searchText.toLowerCase();if(!a.label.toLowerCase().includes(s))return false}if(t.onlyWithChanges&&!a.hasStateChange||t.onlyErrors&&a.status!=="error"||t.afterTimestamp&&a.timestamp<t.afterTimestamp||t.beforeTimestamp&&a.timestamp>t.beforeTimestamp)return false;if(t.ignoredPatterns?.length){for(let s of t.ignoredPatterns)if(new RegExp(s).test(a.label))return false}if(t.includedPatterns?.length){let s=false;for(let u of t.includedPatterns)if(new RegExp(u).test(a.label)){s=true;break}if(!s)return false}return true})}import{jsx as L}from"react/jsx-runtime";function Q(e){let t=Date.now()-e;return t<1e3?"just now":t<6e4?`${Math.floor(t/1e3)}s ago`:t<36e5?`${Math.floor(t/6e4)}m ago`:`${Math.floor(t/36e5)}h ago`}function X(e,t){if(t?.color)return t.color;if(e.status==="error")return m.error;if(e.status==="pending")return m.warning;if(e.status==="success")return m.success;if(e.hasStateChange)return m.success;if(e.isSkipped)return m.textMuted;if(e.isInFuture)return m.textMuted+"80";switch(e.source){case"redux":return"#764ABC";case"zustand":return"#443E38";case"mmkv":return"#4CAF50";case"async-storage":return"#2196F3";case"react-query":return"#FF4154";case"jotai":return"#000000";case"legend-state":return"#7C3AED";default:return m.textSecondary}}function Y(e){return e.isSkipped?"Skipped":e.isInFuture?"Future":e.status?e.status.charAt(0).toUpperCase()+e.status.slice(1):e.hasStateChange?"Changed":"Action"}function Z(e,t){return t?.name?t.name:e.category?e.category:e.source}function F({entry:e,adapter:t,isSelected:a,onPress:s,showSource:u=true,showDuration:f=true}){let p=X(e,t),C=Y(e),d=u?Z(e,t):void 0,i=Q(e.timestamp);f&&e.duration!==void 0&&(i=`${e.duration.toFixed(1)}ms \xB7 ${i}`);let h=e.hasStateChange?L(T,{style:H.changeBadge,children:L(b,{style:H.changeBadgeText,children:"\u26A1"})}):void 0;return L(N,{statusDotColor:p,statusLabel:C,statusSublabel:d,primaryText:e.label,bottomRightText:i,customBadge:h,isSelected:a,onPress:s?()=>s(e):void 0,showChevron:!!s})}var H=I.create({changeBadge:{paddingHorizontal:4},changeBadgeText:{fontSize:12}});import{useCallback as v,useMemo as A}from"react";import{jsx as g,jsxs as j}from"react/jsx-runtime";function _({filter:e,selectedEntryId:t,onSelectEntry:a,showSource:s=true,emptyMessage:u="No history entries yet",ListHeaderComponent:f,ListFooterComponent:p}){let C=z(e),d=$(),i=A(()=>{let o=new Map;return d.forEach(S=>o.set(S.id,S)),o},[d]),h=v(o=>`${o.source}-${o.id}`,[]),x=v(({item:o})=>{let S=i.get(o.source);return g(F,{entry:o,adapter:S,isSelected:t===o.id,onPress:a,showSource:s})},[i,t,a,s]),l=A(()=>j(T,{style:y.emptyContainer,children:[g(b,{style:y.emptyText,children:u}),g(b,{style:y.emptySubtext,children:"Actions will appear here as they happen"})]}),[u]);return g(P,{data:C,keyExtractor:h,renderItem:x,ListEmptyComponent:l,ListHeaderComponent:f,ListFooterComponent:p,contentContainerStyle:y.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15,getItemLayout:void 0})}function ee({entries:e,adapters:t=[],selectedEntryId:a,onSelectEntry:s,showSource:u=true,emptyMessage:f="No history entries yet",ListHeaderComponent:p,ListFooterComponent:C}){let d=A(()=>{let l=new Map;return t.forEach(o=>l.set(o.id,o)),l},[t]),i=v(l=>`${l.source}-${l.id}`,[]),h=v(({item:l})=>{let o=d.get(l.source);return g(F,{entry:l,adapter:o,isSelected:a===l.id,onPress:s,showSource:u})},[d,a,s,u]),x=A(()=>j(T,{style:y.emptyContainer,children:[g(b,{style:y.emptyText,children:f}),g(b,{style:y.emptySubtext,children:"Actions will appear here as they happen"})]}),[f]);return g(P,{data:e,keyExtractor:i,renderItem:h,ListEmptyComponent:x,ListHeaderComponent:p,ListFooterComponent:C,contentContainerStyle:y.listContent,showsVerticalScrollIndicator:false,removeClippedSubviews:true,maxToRenderPerBatch:15,windowSize:10,initialNumToRender:15})}var y=I.create({listContent:{flexGrow:1,paddingVertical:4},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:60,paddingHorizontal:20},emptyText:{fontSize:16,fontWeight:"600",color:m.text,marginBottom:8},emptySubtext:{fontSize:13,color:m.textMuted,textAlign:"center"}});export{J as a,E as b,$ as c,U as d,z as e,K as f,F as g,_ as h,ee as i};
@@ -1,15 +0,0 @@
1
- "use client";import{c as Y}from"./chunk-GBUZCZE4.mjs";import{useCallback as te,useEffect as ae,useRef as $,useState as j}from"react";var T=new Map;function se(e){try{return JSON.parse(e)}catch{return}}function ie(e,t,a={}){let[n,l]=j(()=>T.has(e)?T.get(e):t),[E,g]=j(()=>T.has(e)),c=$(e);c.current=e;let d=$(a);d.current=a,ae(()=>{if(T.has(e)){l(T.get(e)),g(true);return}let o=false,S=d.current.storage??Y,p=d.current.parse??se;return S.getItem(e).then(h=>{if(!o){if(h!=null){let u;try{u=p(h)}catch{}u!==void 0&&(T.set(e,u),l(u))}g(true)}}).catch(()=>{o||g(true)}),()=>{o=true}},[e]);let v=te(o=>{l(S=>{let p=typeof o=="function"?o(S):o;T.set(c.current,p);let h=d.current.storage??Y,u=d.current.serialize??JSON.stringify;try{h.setItem(c.current,u(p)).catch(()=>{})}catch{}return p})},[]);return[n,v,E]}function ne(){T.clear()}import{useCallback as R,useEffect as K,useMemo as re,useState as A}from"react";function le(e,t={}){let[a,n]=A(()=>e.getAll()),[l,E]=A(()=>t.initialFilter??{}),[g,c]=A(()=>e.getEnabled());K(()=>e.subscribe(n),[e]);let d=t.filterItems,v=re(()=>d?d(a,l):a,[a,l,d]),o=R(()=>{e.clear()},[e]),S=R(()=>{let h=!g;e.setEnabled(h),c(h)},[e,g]),p=R(h=>e.getById(h),[e]);return{items:a,filteredItems:v,filter:l,setFilter:E,isEnabled:g,toggleCapture:S,clear:o,getById:p}}function oe(e,t){let[a,n]=A(e);return K(()=>t(n),[t]),a}import{useCallback as ce,useEffect as de,useState as W}from"react";function ue(e,t={}){let{enabled:a=true,maxEvents:n=500,select:l}=t,[E,g]=W([]),[c,d]=W(a);de(()=>{if(!a){d(false);return}let o=null,S=null,p=e.subscribeToEvents(h=>{S=h,o==null&&(o=requestAnimationFrame(()=>{if(o=null,!S)return;let u=S;S=null,l&&(u=l(u)),u.length>n&&(u=u.slice(0,n)),g(u)}))});return d(true),()=>{p(),o!=null&&cancelAnimationFrame(o)}},[e,a,n,l]);let v=ce(()=>{e.clearEvents()},[e]);return{events:E,clearEvents:v,isActive:c}}import{useState as b,useEffect as w,useCallback as fe}from"react";import{Platform as r,Dimensions as L,PixelRatio as q,AccessibilityInfo as m,Appearance as O,I18nManager as P,NativeModules as C,Keyboard as z,AppState as I,StatusBar as ge}from"react-native-web";async function U(){let[e,t,a]=await Promise.all([m.isScreenReaderEnabled(),m.isReduceMotionEnabled(),m.isReduceTransparencyEnabled()]),n={isScreenReaderEnabled:e,isReduceMotionEnabled:t,isReduceTransparencyEnabled:a};if(r.OS==="ios"){let[l,E,g,c,d]=await Promise.all([m.isBoldTextEnabled?.()??Promise.resolve(false),m.isGrayscaleEnabled?.()??Promise.resolve(false),m.isInvertColorsEnabled?.()??Promise.resolve(false),m.isDarkerSystemColorsEnabled?.()??Promise.resolve(false),m.prefersCrossFadeTransitions?.()??Promise.resolve(false)]);n.isBoldTextEnabled=l,n.isGrayscaleEnabled=E,n.isInvertColorsEnabled=g,n.isDarkerSystemColorsEnabled=c,n.prefersCrossFadeTransitions=d}if(r.OS==="android"){let l=await m.isHighTextContrastEnabled?.()??false;n.isHighTextContrastEnabled=l}return n}function M(){let e=r.constants,t={os:r.OS,version:r.Version,reactNativeVersion:e.reactNativeVersion,isTesting:r.isTesting??false,isDisableAnimations:e.isDisableAnimations??false};return r.OS==="ios"?{...t,osVersion:e.osVersion,systemName:e.systemName,interfaceIdiom:e.interfaceIdiom,isPad:r.isPad,isTV:r.isTV,isVision:r.isVision??false,isMacCatalyst:r.isMacCatalyst??false,forceTouchAvailable:e.forceTouchAvailable}:r.OS==="android"?{...t,apiLevel:e.Version,release:e.Release,brand:e.Brand,manufacturer:e.Manufacturer,model:e.Model,fingerprint:e.Fingerprint,serial:e.Serial,uiMode:e.uiMode}:t}function k(){let e=L.get("window"),t=L.get("screen"),a={window:{width:e.width,height:e.height,scale:e.scale,fontScale:e.fontScale},screen:{width:t.width,height:t.height,scale:t.scale,fontScale:t.fontScale},pixelRatio:q.get(),fontScale:q.getFontScale(),isLandscape:e.width>e.height,isPortrait:e.height>e.width};if(r.OS==="ios")try{let n=C.DeviceInfo?.getConstants?.();a.isIPhoneNotched=n?.isIPhoneX_deprecated??false}catch{a.isIPhoneNotched=false}if(r.OS==="android")try{let n=C.DeviceInfo?.getConstants?.();a.isEdgeToEdge=n?.isEdgeToEdge??false,a.densityDpi=Math.round(e.scale*160)}catch{}return a}async function X(){return new Promise(e=>{let t=false;r.OS==="ios"?C.StatusBarManager?.getHeight?.(a=>{t||(t=true,e(a?.height??null))})??e(null):r.OS==="android"?(t=true,e(ge.currentHeight??null)):(t=true,e(null)),setTimeout(()=>{t||(t=true,e(null))},100)})}function N(){let e={isRTL:P.isRTL,doLeftAndRightSwapInRTL:P.doLeftAndRightSwapInRTL};return r.OS==="android"&&(e.localeIdentifier=P.localeIdentifier),e}function V(){if(r.OS==="ios")try{return{userDefaults:C.SettingsManager?.getConstants?.()?.settings??{}}}catch{return{}}return{}}function B(){let e={};if(r.OS==="android"){let t=r.constants;e.serial=t.Serial,e.fingerprint=t.Fingerprint;try{let a=C.PlatformConstants;a?.getAndroidID&&(e.androidId=a.getAndroidID())}catch{}}return e}function he(e){let t=[e.platform.os,e.platform.version,e.display.window.width,e.display.window.height,e.display.pixelRatio,e.platform.interfaceIdiom??"",e.platform.forceTouchAvailable??false,e.display.isIPhoneNotched??false,e.platform.model??"",e.platform.brand??"",e.platform.manufacturer??"",e.platform.uiMode??""].join("|"),a=0;for(let n=0;n<t.length;n++){let l=t.charCodeAt(n);a=(a<<5)-a+l,a=a&a}return Math.abs(a).toString(16).padStart(8,"0")}function me(){let[e,t]=b(true),[a,n]=b(M()),[l,E]=b(k()),[g,c]=b({isScreenReaderEnabled:false,isReduceMotionEnabled:false,isReduceTransparencyEnabled:false}),[d,v]=b(()=>{let f=O.getColorScheme()??null;return{colorScheme:f,prefersDarkMode:f==="dark"}}),[o,S]=b(N()),[p,h]=b({height:null,isVisible:true}),[u,F]=b({isVisible:false,height:0,animationDuration:0}),[J,_]=b({currentState:I.currentState,isActive:I.currentState==="active"}),[x,Q]=b(B()),[H,Z]=b(V()),[G,ee]=b(Date.now()),D=fe(async()=>{t(true);let[f,s]=await Promise.all([U(),X()]);n(M()),E(k()),c(f);let i=O.getColorScheme()??null;v({colorScheme:i,prefersDarkMode:i==="dark"}),S(N()),h(y=>({...y,height:s})),Q(B()),Z(V()),ee(Date.now()),t(false)},[]);return w(()=>{D()},[D]),w(()=>{let f=L.addEventListener("change",({window:s,screen:i})=>{E(y=>({...y,window:{width:s.width,height:s.height,scale:s.scale,fontScale:s.fontScale},screen:{width:i.width,height:i.height,scale:i.scale,fontScale:i.fontScale},isLandscape:s.width>s.height,isPortrait:s.height>s.width}))});return()=>f.remove()},[]),w(()=>{let f=O.addChangeListener(({colorScheme:s})=>{let i=s??null;v({colorScheme:i,prefersDarkMode:i==="dark"})});return()=>f.remove()},[]),w(()=>{let f=z.addListener(r.OS==="ios"?"keyboardWillShow":"keyboardDidShow",i=>{F({isVisible:true,height:i.endCoordinates.height,animationDuration:i.duration??0})}),s=z.addListener(r.OS==="ios"?"keyboardWillHide":"keyboardDidHide",i=>{F({isVisible:false,height:0,animationDuration:i.duration??0})});return()=>{f.remove(),s.remove()}},[]),w(()=>{let f=I.addEventListener("change",s=>{_({currentState:s,isActive:s==="active"})});return()=>f.remove()},[]),w(()=>{let f=[m.addEventListener("screenReaderChanged",s=>{c(i=>({...i,isScreenReaderEnabled:s}))}),m.addEventListener("reduceMotionChanged",s=>{c(i=>({...i,isReduceMotionEnabled:s}))}),m.addEventListener("reduceTransparencyChanged",s=>{c(i=>({...i,isReduceTransparencyEnabled:s}))})];if(r.OS==="ios"){let s=(i,y)=>m.addEventListener(i,y);f.push(s("boldTextChanged",i=>{c(y=>({...y,isBoldTextEnabled:i}))}),s("grayscaleChanged",i=>{c(y=>({...y,isGrayscaleEnabled:i}))}),s("invertColorsChanged",i=>{c(y=>({...y,isInvertColorsEnabled:i}))}))}return()=>{f.forEach(s=>s.remove())}},[]),{platform:a,display:l,accessibility:g,appearance:d,locale:o,statusBar:p,keyboard:u,appState:J,identifiers:x,settings:H,timestamp:G,isLoading:e,refresh:D,generateFingerprint:()=>he({platform:a,display:l,accessibility:g,appearance:d,locale:o,statusBar:p,keyboard:u,appState:J,identifiers:x,settings:H,timestamp:G,isLoading:e})}}async function Se(){let[e,t]=await Promise.all([U(),X()]),a=O.getColorScheme()??null;return{platform:M(),display:k(),accessibility:e,appearance:{colorScheme:a,prefersDarkMode:a==="dark"},locale:N(),statusBar:{height:t,isVisible:true},keyboard:{isVisible:false,height:0,animationDuration:0},appState:{currentState:I.currentState,isActive:I.currentState==="active"},identifiers:B(),settings:V(),timestamp:Date.now(),isLoading:false}}function pe(e){console.log(`
2
- ========================================`),console.log(" DEVICE INFO REPORT"),console.log(`========================================
3
- `),console.log("--- PLATFORM ---"),console.log(JSON.stringify(e.platform,null,2)),console.log(`
4
- --- DISPLAY ---`),console.log(JSON.stringify(e.display,null,2)),console.log(`
5
- --- ACCESSIBILITY ---`),console.log(JSON.stringify(e.accessibility,null,2)),console.log(`
6
- --- APPEARANCE ---`),console.log(JSON.stringify(e.appearance,null,2)),console.log(`
7
- --- LOCALE ---`),console.log(JSON.stringify(e.locale,null,2)),console.log(`
8
- --- STATUS BAR ---`),console.log(JSON.stringify(e.statusBar,null,2)),console.log(`
9
- --- KEYBOARD ---`),console.log(JSON.stringify(e.keyboard,null,2)),console.log(`
10
- --- APP STATE ---`),console.log(JSON.stringify(e.appState,null,2)),console.log(`
11
- --- IDENTIFIERS ---`),console.log(JSON.stringify(e.identifiers,null,2)),console.log(`
12
- --- SETTINGS ---`);let t=Object.keys(e.settings.userDefaults??{});console.log(`userDefaults: ${t.length} keys`),t.length>0&&t.length<=20&&console.log(JSON.stringify(e.settings,null,2)),console.log(`
13
- --- METADATA ---`),console.log(`timestamp: ${e.timestamp}`),console.log(`isLoading: ${e.isLoading}`),console.log(`
14
- ========================================
15
- `)}export{ie as a,ne as b,le as c,oe as d,ue as e,me as f,Se as g,pe as h};
@@ -1 +0,0 @@
1
- "use client";import{a as A}from"./chunk-GF5C5DVX.mjs";var pe=-40,me=20,he=10;function Q(){return window.innerHeight/2}function Z(){return Q()-130}function ee(){return Z()+-40-20-10}import{useState as te,useRef as S,useCallback as L,useEffect as w,useMemo as ie,Children as ne}from"react";import{useFloatingTools as fe,FloatingToolsProvider as be,useFloatingToolsContext as we,interleaveWithDividers as ye,floatingToolsColors as h,withAlpha as C,getUserStatusConfig as ve,getGripIconLayout as xe,interpolatePosition as Se,easing as Ie,VISIBLE_HANDLE_WIDTH as oe,ANIMATION_DURATION as Ce}from"@buoy-gg/floating-tools-react/web/floating";import{jsx as d,jsxs as Y}from"react/jsx-runtime";var O={getItem:e=>localStorage.getItem(e),setItem:(e,i)=>localStorage.setItem(e,i)},re="#A0A0A0";function De({size:e=24,color:i=C(re,"CC")}){let n=xe(e);return d("div",{style:{width:e,height:e,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},children:[0,1].map(s=>d("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",marginLeft:n.columnGap/2,marginRight:n.columnGap/2},children:[0,1,2].map(p=>d("div",{style:{width:n.dotSize,height:n.dotSize,borderRadius:n.dotSize/2,backgroundColor:i,marginTop:n.rowGap/2,marginBottom:n.rowGap/2}},p))},s))})}function ae(){return d("div",{style:{width:1,height:12,backgroundColor:C(h.muted,"66"),flexShrink:0}})}var Pe={success:h.success,optional:h.optional,muted:h.muted,secondary:re};function Re({userRole:e,onPress:i}){let{isDragging:n}=we(),s=ve(e,Pe),p=u=>{!n&&i&&(u.stopPropagation(),i())};return Y("button",{role:"button","aria-label":`User status: ${s.label}`,onClick:p,style:{display:"flex",flexDirection:"row",alignItems:"center",paddingTop:6,paddingBottom:6,paddingLeft:8,paddingRight:8,flexShrink:0,cursor:i&&!n?"pointer":"default",background:"none",border:"none",margin:0},children:[d("div",{style:{width:6,height:6,borderRadius:3,backgroundColor:s.dotColor,marginRight:4}}),d("span",{style:{fontSize:10,fontWeight:500,color:s.textColor,letterSpacing:.3,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',lineHeight:"normal"},children:s.label})]})}function ke(){let e=S(null),[i,n]=te({x:0,y:0}),s=L((p,u,I)=>{e.current&&cancelAnimationFrame(e.current);let D=performance.now(),l=y=>{let M=y-D,P=Math.min(M/Ce,1),k=Se(p,u,P,Ie.easeOutCubic);n(k),P<1?e.current=requestAnimationFrame(l):(n(u),I?.())};e.current=requestAnimationFrame(l)},[]);return w(()=>()=>{e.current&&cancelAnimationFrame(e.current)},[]),{position:i,setPosition:n,animateTo:s}}var se=null;function Te(){return se}function He({id:e,revealToken:i,variant:n="bubble",dragFromSurface:s=false,accessibilityLabel:p="Drag handle",accessory:u,handleAdornment:I,enablePositionPersistence:D=true,children:l,pushToSide:y=false,suspendPointerEvents:M=false,centerOnboarding:P=false,minimizedStack:k,hasMinimizedStack:q=false}){let v=S(null),ce=ie(()=>e?{getItem:t=>O.getItem(`@buoy/floating-tool/${e}/${t}`),setItem:(t,r)=>O.setItem(`@buoy/floating-tool/${e}/${t}`,r)}:O,[e]),{state:o,actions:a,isInitialized:g}=fe({screenSize:{width:window.innerWidth,height:window.innerHeight},enablePositionPersistence:D,storage:ce}),{position:x,setPosition:T,animateTo:f}=ke();w(()=>{g&&T(o.position)},[g,o.position,T]),w(()=>{e||(se={x:x.x,y:x.y})},[x,e]),w(()=>{if(!g)return;let t=()=>{let m=v.current?.getBoundingClientRect();m&&m.width>0&&m.height>0&&a.setBubbleSize({width:m.width,height:m.height})},r=()=>{a.setScreenSize(window.innerWidth,window.innerHeight),t()};t();let b=typeof ResizeObserver<"u"?new ResizeObserver(t):null;return v.current&&b?.observe(v.current),window.addEventListener("resize",r),()=>{b?.disconnect(),window.removeEventListener("resize",r)}},[a,g]),w(()=>{let t=document.createElement("div");t.style.cssText="position:fixed;top:env(safe-area-inset-top);left:env(safe-area-inset-left);visibility:hidden;pointer-events:none",document.body.appendChild(t);let r=t.getBoundingClientRect();document.body.removeChild(t),(r.top>0||r.left>0)&&a.setMinPosition({x:Math.max(r.left,10),y:Math.max(r.top,10)})},[a]);let[K,V]=te(false),_=L(t=>{t.stopPropagation(),t.preventDefault(),V(true),a.handleDragStart({clientX:t.clientX,clientY:t.clientY})},[a]),F=S(false),ue=t=>{t.button!==0||!(t.target instanceof Element)||t.target.closest('button, a, input, select, textarea, [role="button"], [role="switch"], [role="slider"], [role="checkbox"], [role="radio"], [contenteditable="true"], [data-floating-accessory]')||(F.current=true,_(t))},B=L(t=>{let r=a.handleDragMove({clientX:t.clientX,clientY:t.clientY});r.isDragging&&T(r.position)},[a,T]),R=L(t=>{V(false);let r=a.handleDragEnd({clientX:t.clientX,clientY:t.clientY}),b=F.current;if(F.current=false,r.wasTap&&!b){let m=a.toggleHideShow();f(o.position,m.targetPosition,()=>{a.commitPosition(m.targetPosition)})}else r.shouldHide&&f(o.position,r.position,()=>{a.commitPosition(r.position)})},[a,f,o.position]);w(()=>{if(K)return window.addEventListener("pointermove",B),window.addEventListener("pointerup",R),window.addEventListener("pointercancel",R),()=>{window.removeEventListener("pointermove",B),window.removeEventListener("pointerup",R),window.removeEventListener("pointercancel",R)}},[K,B,R]);let H=S(o.position);H.current=o.position;let $=S(o.isHidden);$.current=o.isHidden;let z=S(false);w(()=>{if(g){if(y&&!z.current){if($.current)return;z.current=true;let{targetPosition:t}=a.forceHide();f(H.current,t,()=>{})}else if(!y&&z.current){if(z.current=false,!$.current)return;let{targetPosition:t}=a.forceShow(),r=v.current?.getBoundingClientRect().width??100,b={x:Math.max(10,Math.min(t.x,window.innerWidth-r-10)),y:t.y};f(H.current,b,()=>{a.commitPosition(b)})}}},[y,g]),w(()=>{if(!P||!g)return;let t=v.current?.getBoundingClientRect().width??100,r=v.current?.getBoundingClientRect().height??32,b=ee(),m={x:(window.innerWidth-t)/2,y:window.innerHeight-b-r};f(H.current,m,()=>{})},[P,g]);let J=S(void 0);w(()=>{if(!(!g||J.current===i)&&(J.current=i,i!==void 0&&i>0&&o.isHidden)){let{targetPosition:t}=a.forceShow();f(o.position,t,()=>a.commitPosition(t))}},[i,g,o.isHidden,o.position,a,f]);let ge=ie(()=>n==="strip"?ne.toArray(l):ye(ne.toArray(l),t=>d(ae,{},t)),[l,n]);if(!g)return null;let W=Math.max(0,x.y-8),j=Math.max(0,window.innerHeight-x.y-o.bubbleSize.height-8),E=W>j;return Y("div",{ref:v,"data-testid":e??"buoy-floating-tool",role:"toolbar","aria-label":"Floating Tools",onPointerDown:s?ue:void 0,style:{position:"fixed",left:x.x,top:x.y,zIndex:y?8999:9999,display:"flex",flexDirection:"row",alignItems:"center",backgroundColor:h.panel,borderTopLeftRadius:q?0:6,borderTopRightRadius:6,borderBottomLeftRadius:6,borderBottomRightRadius:6,borderWidth:o.isDragging?2:1,borderTopWidth:o.isDragging?2:q?0:1,borderStyle:"solid",borderColor:o.isDragging?h.dragActive:C(h.muted,"66"),boxShadow:o.isDragging?`0 6px 12px ${C(h.dragActive,.36)}`:"0 4px 8px rgba(0, 0, 0, 0.3)",cursor:s?o.isDragging?"grabbing":"grab":void 0,userSelect:"none",touchAction:"none",pointerEvents:M?"none":"auto",...n==="strip"?{borderRadius:A.radius.card,minHeight:48,backgroundColor:A.color.surface,borderColor:o.isDragging?A.color.accentBorderStrong:A.color.separator,boxShadow:"0 4px 16px rgba(0, 0, 0, 0.24)"}:{}},children:[k&&d("div",{style:{position:"absolute",...E?{bottom:"100%"}:{top:"100%"},"--buoy-stack-bottom":E?"0px":"auto","--buoy-stack-top":E?"auto":"0px","--buoy-stack-space":`${Math.max(W,j)}px`,left:-1,width:oe,overflow:"visible",zIndex:1001},children:k}),Y("div",{role:"button","aria-label":p,"data-testid":e?`${e}-grip`:"buoy-floating-grip",tabIndex:0,onPointerDown:_,onKeyDown:t=>{if(t.key!=="Enter"&&t.key!==" ")return;t.preventDefault();let r=a.toggleHideShow();f(o.position,r.targetPosition,()=>a.commitPosition(r.targetPosition))},style:{touchAction:"none",paddingLeft:6,paddingRight:6,paddingTop:6,paddingBottom:6,backgroundColor:C(h.muted,"1A"),display:"flex",alignItems:"center",justifyContent:"center",width:oe,boxSizing:"border-box",borderRight:`1px solid ${C(h.muted,"66")}`,cursor:o.isDragging?"grabbing":"grab",...n==="strip"?{minHeight:48,backgroundColor:"transparent",borderRight:"none",flexDirection:"column"}:{}},children:[d(De,{size:n==="strip"?20:12}),I]}),d(be,{value:{isDragging:o.isDragging,isHidden:o.isHidden},children:d("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:6,paddingRight:8},children:ge})}),!o.isHidden&&u&&d("div",{"data-floating-accessory":true,style:{position:"absolute",...E?{bottom:"100%"}:{top:"100%"},left:0,width:"100%",maxHeight:Math.max(W,j),overflowY:"auto",zIndex:1002},children:u})]})}var c=[],ze=0,X=new Set,G=()=>X.forEach(e=>e()),N=()=>c,U=e=>(X.add(e),()=>{X.delete(e)});function Ee(e){if(!e.id.trim())throw new Error("Floating tools need a non-empty id");let i={...e,revealToken:++ze};c=c.some(n=>n.id===e.id)?c.map(n=>n.id===e.id?i:n):[...c,i],G()}function le(e){c.some(i=>i.id===e)&&(c=c.filter(i=>i.id!==e),G())}function Ae(e,i){if(!e.id.trim())throw new Error("Floating tools need a non-empty id");let n=`@buoy/floating-tool/${e.id}/open`,s=false,p=false,u=c.some(l=>l.id===e.id),I=Promise.resolve(),D=U(()=>{let l=c.some(y=>y.id===e.id);l!==u&&(u=l,p=true,I=I.then(()=>i.setItem(n,l?"1":"0")).then(()=>{},()=>{}))});return i.getItem(n).then(l=>{s||p||u||l!=="1"||(c=[...c,{...e,revealToken:0}],G())}).catch(()=>{}),()=>{s=true,D()}}import{Fragment as Le,useSyncExternalStore as Me}from"react";import{jsx as de}from"react/jsx-runtime";function Fe(){let e=Me(U,N,N);return de("div",{style:{position:"fixed",inset:0,pointerEvents:"none",zIndex:1e4},children:e.map(i=>de(Le,{children:i.render({id:i.id,revealToken:i.revealToken,dismiss:()=>le(i.id)})},i.id))})}export{pe as a,me as b,he as c,Q as d,Z as e,ee as f,ae as g,Re as h,Te as i,He as j,N as k,U as l,Ee as m,le as n,Ae as o,Fe as p};
@@ -1 +0,0 @@
1
- "use client";import{d as ot}from"./chunk-CE5U3CSQ.mjs";import{$ as l}from"./chunk-CI5CO7FQ.mjs";import{jsx as P}from"react/jsx-runtime";var et=({size:e,children:t,style:o})=>P(l,{style:[{width:e,height:e,position:"relative"},o],children:t}),X=({cx:e,cy:t,r:o,fill:r="transparent",borderColor:a,borderWidth:y=0,opacity:h=1,scaleX:k=1,scaleY:c=1,glowColor:p,glowRadius:C=4})=>{let x=o*2,u=[];k!==1&&u.push({scaleX:k}),c!==1&&u.push({scaleY:c});let v={position:"absolute",left:e-o,top:t-o,width:x,height:x,borderRadius:o,backgroundColor:r,borderWidth:y,borderColor:a,opacity:h,transform:u.length>0?u:void 0,...p&&{shadowColor:p,shadowOffset:{width:0,height:0},shadowOpacity:.6,shadowRadius:C}};return P(l,{style:v})},Ht=({x:e,y:t,width:o,height:r,fill:a="transparent",borderColor:y,borderWidth:h=0,borderRadius:k=0,opacity:c=1,rotate:p})=>{let C=[];p!==void 0&&C.push({rotate:`${p}deg`});let x={position:"absolute",left:e,top:t,width:o,height:r,backgroundColor:a,borderWidth:h,borderColor:y,borderRadius:k,opacity:c,transform:C.length>0?C:void 0};return P(l,{style:x})},Ut=({x1:e,y1:t,x2:o,y2:r,color:a,strokeWidth:y=2,opacity:h=1})=>{let k=Math.sqrt(Math.pow(o-e,2)+Math.pow(r-t,2)),c=Math.atan2(r-t,o-e)*(180/Math.PI),p={position:"absolute",left:e,top:t-y/2,width:k,height:y,backgroundColor:a,transform:[{rotate:`${c}deg`}],transformOrigin:"left center",opacity:h,borderRadius:y/2};return P(l,{style:p})};import{jsx as H,jsxs as qt}from"react/jsx-runtime";var Jt="#4AFF9F",rt={network:Jt,blackTint1:"rgba(8, 12, 21, 0.95)"},it=({size:e=24,color:t=rt.network})=>{let o=e/24,r=18*o/2,a=e/2,y=2*o;return qt(et,{size:e,children:[H(X,{cx:a,cy:a,r,fill:rt.blackTint1,borderColor:t,borderWidth:y,glowColor:t,glowRadius:4*o}),H(X,{cx:a,cy:a,r,borderColor:t,borderWidth:y,scaleX:.45,opacity:.6}),H(X,{cx:a,cy:a,r,borderColor:t,borderWidth:y,scaleX:1.33,scaleY:.6,opacity:.6})]})},Kt=it;import{Fragment as st}from"react";import{Fragment as D,jsx as B,jsxs as S}from"react/jsx-runtime";var Zt=[{x:.1,y:.1,size:1,opacity:.3},{x:.9,y:.1,size:1.2,opacity:.5},{x:.05,y:.3,size:.8,opacity:.4},{x:.95,y:.35,size:1,opacity:.3},{x:.15,y:.85,size:1,opacity:.5},{x:.85,y:.9,size:1.2,opacity:.4}],Qt={circuit:{lines:[{x:.5,width:.5,height:.9,opacity:.15},{x:.25,width:.3,height:.7,opacity:.1},{x:.75,width:.3,height:.7,opacity:.1}],nodes:[{x:.5,y:.15},{x:.25,y:.25},{x:.75,y:.25},{x:.5,y:.5},{x:.25,y:.6},{x:.75,y:.6}]},nodes:{nodes:[{x:.2,y:.2},{x:.8,y:.2},{x:.15,y:.5},{x:.85,y:.5},{x:.2,y:.8},{x:.8,y:.8}]},grid:{lines:[.2,.35,.5,.65,.8]},matrix:{lines:[.2,.35,.5,.65,.8],rain:[.25,.5,.75]},glitch:{lines:[.2,.35,.5,.65,.8],scan:[.3,.7]}},E=({size:e,glowColor:t,variant:o="circuit",children:r})=>{let a=e/24,y=()=>B(D,{children:Zt.map((k,c)=>B(l,{style:{position:"absolute",width:k.size*a,height:k.size*a,borderRadius:k.size*a/2,backgroundColor:t,left:k.x*e-k.size*a/2,top:k.y*e-k.size*a/2,opacity:k.opacity}},`star-${c}`))}),h=()=>{let k=Qt[o];if(!k)return null;if(o==="circuit"){let c=k;return S(D,{children:[c.lines.map((p,C)=>B(l,{style:{position:"absolute",width:p.width*a,height:e*p.height,backgroundColor:t,left:p.x*e-p.width*a/2,top:e*.05,opacity:p.opacity}},`line-${C}`)),c.nodes.map((p,C)=>B(l,{style:{position:"absolute",width:2*a,height:2*a,borderRadius:a,backgroundColor:t,left:p.x*e-a,top:p.y*e-a,opacity:.4}},`node-${C}`))]})}if(o==="nodes")return B(D,{children:k.nodes.map((c,p)=>S(st,{children:[B(l,{style:{position:"absolute",width:Math.abs(.5-c.x)*e,height:.3*a,backgroundColor:t,left:Math.min(c.x*e,e/2),top:c.y*e,opacity:.1}}),B(l,{style:{position:"absolute",width:2*a,height:2*a,borderRadius:a,backgroundColor:t,left:c.x*e-a,top:c.y*e-a,opacity:.5}})]},`node-${p}`))});if(o==="grid"||o==="matrix")return B(D,{children:k.lines.map((c,p)=>S(st,{children:[B(l,{style:{position:"absolute",width:.2*a,height:e*.9,backgroundColor:t,left:c*e,top:e*.05,opacity:.05}}),B(l,{style:{position:"absolute",width:e*.9,height:.2*a,backgroundColor:t,left:e*.05,top:c*e,opacity:.05}})]},`grid-${p}`))});if(o==="glitch"){let c=k;return S(D,{children:[c.lines.map((p,C)=>B(l,{style:{position:"absolute",width:e*.4,height:.5*a,backgroundColor:t,left:e*(.1+C*.1),top:p*e,opacity:.2}},`glitch-${C}`)),c.scan.map((p,C)=>B(l,{style:{position:"absolute",width:e,height:a,backgroundColor:t,left:0,top:e*p,opacity:.15}},`scan-${C}`))]})}return null};return S(l,{style:{width:e,height:e,position:"relative"},children:[B(l,{style:{position:"absolute",width:e,height:e,borderRadius:e/2,backgroundColor:t,opacity:.05}}),B(l,{style:{position:"absolute",width:e*.9,height:e*.9,borderRadius:e*.9/2,borderWidth:.5*a,borderColor:t,opacity:.1,left:e*.05,top:e*.05}}),y(),h(),r]})};import{Fragment as Vt,jsx as G,jsxs as U}from"react/jsx-runtime";var ht={green:{color:"#00FF88",glow:"#00FF88"},cyan:{color:"#00D4FF",glow:"#00D4FF"},purple:{color:"#9945FF",glow:"#9945FF"},pink:{color:"#FF45FF",glow:"#FF45FF"},yellow:{color:"#FFD700",glow:"#FFD700"},orange:{color:"#FF8800",glow:"#FF8800"}},to=[1,3,5,7,9,11,13,15,17],oo=[2,4,6,8,10,12,14,16],q={x:5,width:10,y:5.5},eo=[{x:.3,y:.3},{x:.7,y:.3},{x:.5,y:.7}],dt=({size:e=24,color:t,glowColor:o,colorPreset:r="green",variant:a="circuit",noBackground:y=true})=>{let h=y?e/24:e/40,k=ht[r]||ht.green,c=t||k.color,p=o||k.glow,C=U(Vt,{children:[U(l,{style:{position:"absolute",width:20*h,height:8*h,backgroundColor:c,borderRadius:1*h,left:e/2-10*h,top:e/2+4*h,opacity:.85},children:[to.map((x,u)=>G(l,{style:{position:"absolute",width:1.5*h,height:1.2*h,backgroundColor:"#000",opacity:.3,left:x*h,top:1.5*h,borderRadius:.2*h}},`key1-${u}`)),oo.map((x,u)=>G(l,{style:{position:"absolute",width:1.5*h,height:1.2*h,backgroundColor:"#000",opacity:.3,left:x*h,top:3.2*h,borderRadius:.2*h}},`key2-${u}`)),G(l,{style:{position:"absolute",width:q.width*h,height:1*h,backgroundColor:"#000",opacity:.25,left:q.x*h,top:q.y*h,borderRadius:.2*h}})]}),G(l,{style:{position:"absolute",width:22*h,height:10*h,backgroundColor:p,borderRadius:1*h,left:e/2-11*h,top:e/2+3*h,opacity:.15}}),U(l,{style:{position:"absolute",width:18*h,height:12*h,backgroundColor:c,borderRadius:1*h,left:e/2-9*h,top:e/2-10*h,opacity:.9},children:[G(l,{style:{position:"absolute",width:16*h,height:10*h,backgroundColor:"#000",opacity:.5,left:1*h,top:1*h,borderRadius:.5*h}}),[2,4,6].map((x,u)=>G(l,{style:{position:"absolute",width:(10-u*3)*h,height:.5*h,backgroundColor:p,opacity:.6,left:2*h,top:x*h}},u))]}),G(l,{style:{position:"absolute",width:2*h,height:1*h,backgroundColor:p,borderRadius:.5*h,left:e/2-1*h,top:e/2+10*h,opacity:.8}}),eo.map((x,u)=>G(l,{style:{position:"absolute",width:1*h,height:1*h,borderRadius:.5*h,backgroundColor:p,left:e/2-9*h+x.x*18*h,top:e/2-10*h+x.y*12*h,opacity:.4}},`dot-${u}`))]});return y?G(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:C}):G(E,{size:e,glowColor:p,variant:a,children:C})};var ro=dt;import{QueryIcon as io}from"@buoy-gg/floating-tools-core/web";import{jsx as so}from"react/jsx-runtime";function ho({size:e=24}){return so(io,{size:e})}import{SentryIcon as ao}from"@buoy-gg/floating-tools-core/web";import{jsx as lo}from"react/jsx-runtime";function yo({size:e=24,color:t}){return lo(ao,{size:e,color:t??"#9945FF"})}import{Fragment as no}from"react";import{Fragment as co,jsx as $,jsxs as at}from"react/jsx-runtime";var lt={yellow:{color:"#FFD700",glow:"#FFD700"},cyan:{color:"#00D4FF",glow:"#00D4FF"},green:{color:"#00FF88",glow:"#00FF88"},purple:{color:"#9945FF",glow:"#9945FF"},pink:{color:"#FF45FF",glow:"#FF45FF"},orange:{color:"#FF8800",glow:"#FF8800"}},ko=[{y:.25,opacity:.9},{y:.45,opacity:.8},{y:.65,opacity:.7}],xo=({size:e=24,color:t,glowColor:o,colorPreset:r="yellow",variant:a="nodes",noBackground:y=true})=>{let h=y?e/24:e/26,k=lt[r]||lt.yellow,c=t||k.color,p=o||k.glow,C=(u,v,F)=>at(no,{children:[$(l,{style:{position:"absolute",width:18*h,height:8*h,borderRadius:4*h,backgroundColor:p,left:e/2-9*h,top:u*e-h,opacity:.1}}),$(l,{style:{position:"absolute",width:16*h,height:6*h,borderRadius:3*h,backgroundColor:c,left:e/2-8*h,top:u*e,opacity:v}}),$(l,{style:{position:"absolute",width:14*h,height:2*h,borderRadius:1*h,backgroundColor:"#fff",left:e/2-7*h,top:u*e+.5*h,opacity:.15}}),$(l,{style:{position:"absolute",width:16*h,height:6*h,borderRadius:3*h,borderWidth:.5*h,borderColor:p,backgroundColor:"transparent",left:e/2-8*h,top:u*e,opacity:.3}})]},`cylinder-${F}`),x=at(co,{children:[ko.map(({y:u,opacity:v},F)=>C(u,v,F)),[.35,.55].map((u,v)=>$(l,{style:{position:"absolute",width:.5*h,height:6*h,backgroundColor:p,left:e/2-.25*h,top:u*e,opacity:.3}},`connection-${v}`)),[.25,.45,.65].map((u,v)=>$(l,{style:{position:"absolute",width:1*h,height:1*h,borderRadius:.5*h,backgroundColor:p,left:e/2-.5*h,top:u*e+2.5*h,opacity:.6}},`dot-${v}`))]});return y?$(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:x}):$(E,{size:e,glowColor:p,variant:a,children:x})};import{Fragment as po,jsx as _,jsxs as go}from"react/jsx-runtime";var yt={cyan:{color:"#00D4FF",glow:"#00D4FF"},green:{color:"#00FF88",glow:"#00FF88"},purple:{color:"#9945FF",glow:"#9945FF"},pink:{color:"#FF45FF",glow:"#FF45FF"},yellow:{color:"#FFD700",glow:"#FFD700"},orange:{color:"#FF8800",glow:"#FF8800"}},bo=[{strength:1,size:15,topOffset:.55,opacity:.9},{strength:2,size:30,topOffset:.45,opacity:.8},{strength:3,size:45,topOffset:.35,opacity:.7},{strength:4,size:60,topOffset:.25,opacity:.6}],uo=[{x:.35,y:.5,minStrength:2},{x:.65,y:.5,minStrength:2},{x:.5,y:.3,minStrength:4}],Wo=({size:e=24,color:t,glowColor:o,strength:r=4,colorPreset:a="cyan",variant:y="nodes",noBackground:h=true,showSlash:k=false})=>{let c=e/60,p=2.5*c,C=r===0,x=yt[a]||yt.cyan,u=t||x.color,v=o||x.glow,F=C?"#333":u,L=C?"#333":v,M=go(po,{children:[_(l,{style:{position:"absolute",width:5*c,height:5*c,borderRadius:2.5*c,backgroundColor:F,left:e/2-2.5*c,top:e*.7,opacity:r>0?1:.3}}),bo.filter(z=>r>=z.strength).map((z,N)=>_(l,{style:{position:"absolute",width:z.size*c,height:z.size*c,borderRadius:z.size*c/2,borderWidth:p,borderColor:F,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent",left:e/2-z.size*c/2,top:e*z.topOffset,transform:[{rotate:"180deg"}],opacity:z.opacity}},`arc-${N}`)),r>0&&uo.filter(z=>r>=z.minStrength).map((z,N)=>_(l,{style:{position:"absolute",width:1.5*c,height:1.5*c,borderRadius:.75*c,backgroundColor:L,left:z.x*e-.75*c,top:z.y*e,opacity:.6}},`dot-${N}`)),k&&_(l,{style:{position:"absolute",width:e*.7,height:p*1.5,backgroundColor:F,left:e*.15,top:e*.5-p*.75,opacity:.9,transform:[{rotate:"45deg"}],borderRadius:p}})]});return h?_(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:M}):_(E,{size:e,glowColor:L,variant:y,children:M})};import{Fragment as nt}from"react";import{Fragment as ct,jsx as O,jsxs as Y}from"react/jsx-runtime";var kt={orange:{color:"#f59e0b",glow:"#f59e0b"},cyan:{color:"#00D4FF",glow:"#00D4FF"},purple:{color:"#a78bfa",glow:"#a78bfa"},pink:{color:"#FF45FF",glow:"#FF45FF"},yellow:{color:"#FFD700",glow:"#FFD700"},green:{color:"#00FF88",glow:"#00FF88"}},J=[{x:.5,y:.2,size:1.2,isActive:true},{x:.25,y:.45,size:1,isActive:false},{x:.75,y:.45,size:1,isActive:false},{x:.35,y:.7,size:.9,isActive:false},{x:.65,y:.7,size:.9,isActive:false}],wo=[{from:0,to:1},{from:0,to:2},{from:1,to:3},{from:2,to:4}],K=({size:e=24,color:t,glowColor:o,colorPreset:r="orange",variant:a="nodes",noBackground:y=true})=>{let h=y?e/24:e/26,k=kt[r]||kt.orange,c=t||k.color,p=o||k.glow,C=Y(ct,{children:[wo.map((x,u)=>{let v=J[x.from],F=J[x.to],L=v.x*e,M=v.y*e,z=F.x*e,N=F.y*e,Q=Math.sqrt(Math.pow(z-L,2)+Math.pow(N-M,2)),V=Math.atan2(N-M,z-L);return Y(nt,{children:[O(l,{style:{position:"absolute",width:Q,height:1.5*h,backgroundColor:p,left:L,top:M,opacity:.15,transform:[{translateY:-.75*h},{rotate:`${V}rad`}]}}),O(l,{style:{position:"absolute",width:Q,height:.8*h,backgroundColor:c,left:L,top:M,opacity:.5,transform:[{translateY:-.4*h},{rotate:`${V}rad`}]}}),[.3,.6].map((tt,Yt)=>O(l,{style:{position:"absolute",width:1*h,height:1*h,borderRadius:.5*h,backgroundColor:p,left:L+(z-L)*tt,top:M+(N-M)*tt,opacity:.7}},`dot-${u}-${Yt}`))]},`connection-${u}`)}),J.map((x,u)=>{let v=x.x*e-x.size*1.5*h,F=x.y*e-x.size*1.5*h;return Y(nt,{children:[O(l,{style:{position:"absolute",width:x.size*4*h,height:x.size*4*h,borderRadius:x.size*2*h,backgroundColor:p,left:v-x.size*.5*h,top:F-x.size*.5*h,opacity:x.isActive?.2:.1}}),O(l,{style:{position:"absolute",width:x.size*3*h,height:x.size*3*h,borderRadius:x.size*1.5*h,backgroundColor:c,left:v,top:F,opacity:x.isActive?.95:.75}}),O(l,{style:{position:"absolute",width:x.size*1.5*h,height:x.size*1.5*h,borderRadius:x.size*.75*h,backgroundColor:"#fff",left:v+x.size*.75*h,top:F+x.size*.75*h,opacity:.2}}),x.isActive&&Y(ct,{children:[O(l,{style:{position:"absolute",width:x.size*5*h,height:x.size*5*h,borderRadius:x.size*2.5*h,borderWidth:.5*h,borderColor:p,backgroundColor:"transparent",left:v-x.size*1*h,top:F-x.size*1*h,opacity:.4}}),O(l,{style:{position:"absolute",width:x.size*1*h,height:x.size*1*h,borderRadius:x.size*.5*h,backgroundColor:p,left:v+x.size*1*h,top:F+x.size*1*h,opacity:.9}})]})]},`node-${u}`)})]});return y?O(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:C}):O(E,{size:e,glowColor:p,variant:a,children:C})},fo=K,Co=K;import{jsx as j,jsxs as mo}from"react/jsx-runtime";var Z=({size:e=24,color:t="#00D4FF",glowColor:o})=>{let r=e/24,a=t,y=o||t;return mo(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:[j(l,{style:{position:"absolute",width:20*r,height:20*r,borderRadius:3*r,borderWidth:1.5*r,borderColor:y,backgroundColor:"transparent",left:e/2-10*r,top:e/2-10*r,opacity:.2}}),j(l,{style:{position:"absolute",width:15*r,height:15*r,borderRadius:2.5*r,borderWidth:1.5*r,borderColor:y,backgroundColor:"transparent",left:e/2-7.5*r,top:e/2-7.5*r,opacity:.4}}),j(l,{style:{position:"absolute",width:12*r,height:12*r,borderRadius:2*r,backgroundColor:y,left:e/2-6*r,top:e/2-6*r,opacity:.15}}),j(l,{style:{position:"absolute",width:10*r,height:10*r,borderRadius:1.5*r,backgroundColor:a,left:e/2-5*r,top:e/2-5*r,opacity:.9}}),j(l,{style:{position:"absolute",width:7*r,height:7*r,borderRadius:1*r,backgroundColor:"#000",left:e/2-3.5*r,top:e/2-3.5*r,opacity:.4}}),j(l,{style:{position:"absolute",width:4*r,height:1*r,borderRadius:.5*r,backgroundColor:y,left:e/2-2*r,top:e/2-2*r,opacity:.7}}),j(l,{style:{position:"absolute",width:3*r,height:1*r,borderRadius:.5*r,backgroundColor:y,left:e/2-2*r,top:e/2,opacity:.5}}),j(l,{style:{position:"absolute",width:2*r,height:1*r,borderRadius:.5*r,backgroundColor:y,left:e/2-2*r,top:e/2+2*r,opacity:.4}}),j(l,{style:{position:"absolute",width:6*r,height:1.5*r,borderRadius:.75*r,backgroundColor:"#fff",left:e/2-3*r,top:e/2-4.5*r,opacity:.2}}),[{x:.15,y:.15},{x:.85,y:.15},{x:.15,y:.85},{x:.85,y:.85}].map((h,k)=>j(l,{style:{position:"absolute",width:1.5*r,height:1.5*r,borderRadius:.75*r,backgroundColor:y,left:h.x*e-.75*r,top:h.y*e-.75*r,opacity:.6}},`corner-${k}`))]})},vo=Z,zo=Z;import{jsx as T,jsxs as Fo}from"react/jsx-runtime";var Ro=({size:e=24,color:t="#00D4FF",glowColor:o})=>{let r=e/24,a=t,y=o||t;return Fo(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:[T(l,{style:{position:"absolute",width:14*r,height:10*r,borderRadius:2*r,backgroundColor:y,left:e/2-7*r+3*r,top:e/2-5*r+3*r,opacity:.2}}),T(l,{style:{position:"absolute",width:14*r,height:10*r,borderRadius:2*r,backgroundColor:y,left:e/2-7*r+1.5*r,top:e/2-5*r+1.5*r,opacity:.35}}),T(l,{style:{position:"absolute",width:14*r,height:10*r,borderRadius:2*r,borderWidth:1.5*r,borderColor:a,backgroundColor:"transparent",left:e/2-7*r,top:e/2-5*r,opacity:.9}}),T(l,{style:{position:"absolute",width:6*r,height:1*r,borderRadius:.5*r,backgroundColor:a,left:e/2-5*r,top:e/2-2*r,opacity:.7}}),T(l,{style:{position:"absolute",width:4*r,height:1*r,borderRadius:.5*r,backgroundColor:a,left:e/2-5*r,top:e/2,opacity:.5}}),T(l,{style:{position:"absolute",width:8*r,height:8*r,borderRadius:4*r,backgroundColor:a,right:e*.1,top:e*.08,opacity:.9,alignItems:"center",justifyContent:"center"},children:T(l,{style:{width:3*r,height:4*r,borderRadius:.5*r,backgroundColor:"#000",opacity:.6}})}),T(l,{style:{position:"absolute",width:6*r,height:6*r,borderRadius:3*r,borderWidth:1*r,borderColor:y,borderRightColor:"transparent",borderBottomColor:"transparent",left:e*.08,bottom:e*.12,opacity:.6,transform:[{rotate:"-45deg"}]}}),T(l,{style:{position:"absolute",width:0,height:0,borderLeftWidth:2*r,borderRightWidth:2*r,borderBottomWidth:3*r,borderLeftColor:"transparent",borderRightColor:"transparent",borderBottomColor:y,left:e*.18,bottom:e*.22,opacity:.6,transform:[{rotate:"45deg"}]}})]})};import{jsx as A,jsxs as Bo}from"react/jsx-runtime";var Io=({size:e=24,color:t="#F59E0B",glowColor:o})=>{let r=e/24,a=t,y=o||t,h=e/2,k=e/2+1*r,c=7*r;return Bo(l,{style:{width:e,height:e,position:"relative",alignItems:"center",justifyContent:"center"},children:[A(l,{style:{position:"absolute",width:c*2,height:c*2,borderRadius:c,borderWidth:1.5*r,borderColor:a,backgroundColor:"transparent",left:h-c,top:k-c,opacity:.9}}),A(l,{style:{position:"absolute",width:10*r,height:10*r,borderRadius:5*r,backgroundColor:y,left:h-5*r,top:k-5*r,opacity:.15}}),A(l,{style:{position:"absolute",width:4*r,height:3*r,borderRadius:1*r,backgroundColor:a,left:h-2*r,top:k-c-3*r,opacity:.9}}),A(l,{style:{position:"absolute",width:2*r,height:2*r,backgroundColor:a,left:h-1*r,top:k-c-.5*r,opacity:.9}}),A(l,{style:{position:"absolute",width:1.5*r,height:5*r,borderRadius:1*r,backgroundColor:a,left:h-.75*r,top:k-5*r,opacity:.9,transform:[{rotate:"-45deg"}],transformOrigin:"bottom center"}}),A(l,{style:{position:"absolute",width:2*r,height:2*r,borderRadius:1*r,backgroundColor:a,left:h-1*r,top:k-1*r,opacity:.9}})]})};import{Fragment as Go}from"react";import{jsx as d,jsxs as W}from"react/jsx-runtime";var f=({width:e,height:t,viewBox:o,children:r,style:a,...y})=>{let[,,h,k]=o.split(" ").map(Number),c=e/h,p=t/k;return d(l,{style:[{width:e,height:t,position:"relative",overflow:"hidden"},a],...y,children:d(l,{style:{transform:[{scaleX:c},{scaleY:p}],transformOrigin:"top left",width:h,height:k},children:r})})},n=({x1:e,y1:t,x2:o,y2:r,stroke:a,strokeWidth:y=2})=>{let h=Math.sqrt(Math.pow(o-e,2)+Math.pow(r-t,2)),k=Math.atan2(r-t,o-e)*(180/Math.PI);return d(l,{style:{position:"absolute",left:e,top:t-y/2,width:h,height:y,backgroundColor:a,transform:[{rotate:`${k}deg`}],transformOrigin:"left center"}})},R=({cx:e,cy:t,r:o,fill:r,stroke:a,strokeWidth:y=2})=>{let h=o*2;return d(l,{style:{position:"absolute",left:e-o,top:t-o,width:h,height:h,borderRadius:o,backgroundColor:r||"transparent",borderColor:a,borderWidth:a?y:0}})},w=({x:e,y:t,width:o,height:r,fill:a,stroke:y,strokeWidth:h=2,rx:k=0})=>d(l,{style:{position:"absolute",left:e,top:t,width:o,height:r,backgroundColor:a||"transparent",borderColor:y,borderWidth:y?h:0,borderRadius:k}}),Oo=({size:e=1,color:t="currentColor",strokeWidth:o=2})=>{let r=.4666666666666667;return o=4*r,W(l,{style:{position:"relative",width:e,height:e},children:[d(l,{style:{position:"absolute",width:5*r,height:5*r,borderRadius:2.5*r,backgroundColor:t,bottom:0,left:e/2-2.5*r,zIndex:10}}),d(l,{style:{position:"absolute",bottom:-8*r,left:e/2-10*r,transform:[{rotate:"180deg"}]},children:d(l,{style:{width:20*r,height:20*r,borderRadius:10*r,borderWidth:o*r,borderColor:t,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent"}})}),d(l,{style:{position:"absolute",bottom:-14*r,left:e/2-17*r,transform:[{rotate:"180deg"}]},children:d(l,{style:{width:34*r,height:34*r,borderRadius:17*r,borderWidth:o*r,borderColor:t,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent"}})}),d(l,{style:{position:"absolute",bottom:-22*r,left:e/2-25*r,transform:[{rotate:"180deg"}]},children:d(l,{style:{width:50*r,height:50*r,borderRadius:25*r,borderWidth:o*r,borderColor:t,borderTopColor:"transparent",borderLeftColor:"transparent",borderRightColor:"transparent"}})})]})};var xt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:8,cy:15,r:4,stroke:t,strokeWidth:o}),d(R,{cx:16,cy:15,r:4,stroke:t,strokeWidth:o}),d(R,{cx:12,cy:11,r:4,stroke:t,strokeWidth:o}),d(w,{x:8,y:13,width:8,height:6,fill:"white",stroke:"white"})]}),pt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:15,width:6,height:6,rx:2,stroke:t,strokeWidth:o}),d(w,{x:13,y:3,width:6,height:6,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:11,y1:15,x2:13,y2:9,stroke:t,strokeWidth:o})]}),gt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:3,y:9,width:5,height:6,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:9,x2:11,y2:6,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:15,x2:11,y2:18,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:9,x2:8,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:13,y1:9,x2:13,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:16,y1:7,x2:16,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:19,y1:5,x2:19,y2:19,stroke:t,strokeWidth:o})]});var bt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:7,y:11,width:10,height:10,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:11,x2:9,y2:6,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:11,x2:12,y2:4,stroke:t,strokeWidth:o}),d(n,{x1:15,y1:11,x2:15,y2:6,stroke:t,strokeWidth:o}),d(n,{x1:7,y1:14,x2:4,y2:12,stroke:t,strokeWidth:o})]});var jo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:3,width:14,height:4,rx:2,stroke:t,strokeWidth:o}),d(w,{x:5,y:7,width:14,height:4,stroke:t,strokeWidth:o}),d(w,{x:5,y:11,width:14,height:8,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:5,y1:7,x2:19,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:5,y1:11,x2:19,y2:11,stroke:t,strokeWidth:o})]}),Lo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>{let a=.6666666666666666;return d(l,{style:{width:e*1.5,height:e*1,alignItems:"center",justifyContent:"center"},children:W(l,{style:{transform:[{rotate:"20deg"}],position:"relative"},children:[d(l,{style:{width:20*a,height:26*a,backgroundColor:t,borderRadius:10*a,borderTopLeftRadius:10*a,borderTopRightRadius:10*a,borderBottomLeftRadius:12*a,borderBottomRightRadius:12*a}}),d(l,{style:{position:"absolute",width:12*a,height:8*a,backgroundColor:t,borderRadius:6*a,top:-4*a,left:4*a}}),d(l,{style:{position:"absolute",width:2*a,height:8*a,backgroundColor:t,top:-10*a,left:6*a,transform:[{rotate:"-15deg"}]}}),d(l,{style:{position:"absolute",width:2*a,height:8*a,backgroundColor:t,top:-10*a,right:6*a,transform:[{rotate:"15deg"}]}}),d(l,{style:{position:"absolute",width:3*a,height:3*a,backgroundColor:"#fff",borderRadius:1.5*a,top:-2*a,left:6*a}}),d(l,{style:{position:"absolute",width:3*a,height:3*a,backgroundColor:"#fff",borderRadius:1.5*a,top:-2*a,right:6*a}}),[0,1,2].map(y=>W(Go,{children:[d(l,{style:{position:"absolute",width:8*a,height:2*a,backgroundColor:t,top:(6+y*6)*a,left:-6*a,transform:[{rotate:"-45deg"}]}}),d(l,{style:{position:"absolute",width:8*a,height:2*a,backgroundColor:t,top:(6+y*6)*a,right:-6*a,transform:[{rotate:"45deg"}]}})]},y))]})})},Mo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>{let a=.6666666666666666;return W(l,{style:{width:e,height:e,alignItems:"center",justifyContent:"center"},children:[d(l,{style:{width:28*a,height:18*a,backgroundColor:t,borderRadius:2*a,marginBottom:-2*a}}),d(l,{style:{position:"absolute",width:24*a,height:14*a,backgroundColor:"#fff",borderRadius:1*a,top:11*a,opacity:.2}}),d(l,{style:{width:36*a,height:3*a,backgroundColor:t,borderRadius:1*a}}),d(l,{style:{position:"absolute",width:8*a,height:1*a,backgroundColor:"#fff",bottom:17*a,opacity:.3}})]})},To=({size:e=24,color:t=ot.env,strokeWidth:o=2,...r})=>{let a=e/24,y=18*a;return W(l,{style:{width:e,height:e},children:[d(l,{style:{position:"absolute",width:y,height:y,borderWidth:2*a,borderColor:t,borderRadius:y/2,top:(e-y)/2,left:(e-y)/2,backgroundColor:ot.blackTint1,shadowColor:t,shadowOffset:{width:0,height:0},shadowOpacity:.6,shadowRadius:4*a}}),d(l,{style:{position:"absolute",width:y,height:y,borderWidth:2*a,borderColor:t,borderRadius:y/2,top:(e-y)/2,left:(e-y)/2,transform:[{scaleX:.45}],opacity:.6}}),d(l,{style:{position:"absolute",width:y,height:y,borderWidth:2*a,borderColor:t,borderRadius:y/2,top:(e-y)/2,left:(e-y)/2,transform:[{scaleX:1.33},{scaleY:.6}],opacity:.6}})]})};var ut=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:12,x2:11,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:11,y1:15,x2:16,y2:9,stroke:t,strokeWidth:o})]});var $o=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:2,width:14,height:20,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:2,x2:19,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:2,x2:14,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:7,x2:19,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:11,x2:9,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:11,x2:10,y2:11,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:15,x2:10,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:15,y1:11,x2:15,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:11,x2:15,y2:11,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:15,x2:15,y2:15,stroke:t,strokeWidth:o})]});var No=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:7,width:14,height:14,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:3,y1:7,x2:21,y2:7,stroke:t,strokeWidth:o}),d(w,{x:9,y:3,width:6,height:4,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:10,y1:11,x2:10,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:14,y1:11,x2:14,y2:17,stroke:t,strokeWidth:o})]});var Wt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:9,cy:8,r:3,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:4,top:14,width:10,height:6,borderRadius:5,borderWidth:o,borderColor:t,backgroundColor:"transparent"}}),d(R,{cx:16,cy:7,r:2,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:13,top:12,width:6,height:8,borderRadius:3,borderWidth:o,borderColor:t,backgroundColor:"transparent"}})]});var _o=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:5,cy:12,r:3,stroke:t,strokeWidth:o}),d(R,{cx:19,cy:12,r:3,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:12,x2:16,y2:12,stroke:t,strokeWidth:o}),d(n,{x1:13,y1:9,x2:16,y2:12,stroke:t,strokeWidth:o}),d(n,{x1:13,y1:15,x2:16,y2:12,stroke:t,strokeWidth:o})]}),wt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:12,y1:3,x2:3,y2:20,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:3,x2:21,y2:20,stroke:t,strokeWidth:o}),d(n,{x1:3,y1:20,x2:21,y2:20,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:9,x2:12,y2:13,stroke:t,strokeWidth:o}),d(R,{cx:12,cy:16,r:1,fill:t})]}),Ao=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:11,width:14,height:10,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:7,y1:11,x2:7,y2:7,stroke:t,strokeWidth:o}),d(n,{x1:7,y1:7,x2:14,y2:7,stroke:t,strokeWidth:o}),d(R,{cx:12,cy:16,r:1,fill:t})]}),Do=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:3,y:3,width:18,height:18,rx:1,stroke:t,strokeWidth:o}),d(R,{cx:8,cy:8,r:2,fill:t}),d(n,{x1:3,y1:21,x2:10,y2:14,stroke:t,strokeWidth:o}),d(n,{x1:10,y1:14,x2:21,y2:21,stroke:t,strokeWidth:o})]}),So=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:3,width:14,height:18,stroke:t,strokeWidth:o}),d(w,{x:7,y:5,width:2,height:2,fill:t}),d(w,{x:7,y:17,width:2,height:2,fill:t}),d(w,{x:15,y:5,width:2,height:2,fill:t}),d(w,{x:15,y:17,width:2,height:2,fill:t}),d(n,{x1:5,y1:12,x2:19,y2:12,stroke:t,strokeWidth:o})]}),Eo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:8,y1:6,x2:8,y2:18,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:6,x2:18,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:18,y1:3,x2:18,y2:8,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:10,x2:18,y2:8,stroke:t,strokeWidth:o}),d(R,{cx:8,cy:18,r:2,fill:t})]}),ft=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:12,cy:13,r:9,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:2,x2:12,y2:4,stroke:t,strokeWidth:o}),d(n,{x1:9,y1:2,x2:15,y2:2,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:13,x2:12,y2:8,stroke:t,strokeWidth:o})]}),Ct=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:6,y:2,width:12,height:20,rx:2,stroke:t,strokeWidth:o}),d(n,{x1:6,y1:5,x2:18,y2:5,stroke:t,strokeWidth:o}),d(n,{x1:6,y1:19,x2:18,y2:19,stroke:t,strokeWidth:o}),d(n,{x1:10,y1:20.5,x2:14,y2:20.5,stroke:t,strokeWidth:o})]});var mt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:3,y:5,width:18,height:14,rx:1,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:15,x2:12,y2:19,stroke:t,strokeWidth:o})]}),Po=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:8,x2:12,y2:12,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:11,top:15,width:2,height:2,borderRadius:1,backgroundColor:t}})]});var Xo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:12,y1:3,x2:12,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:11,x2:12,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:16,y1:11,x2:12,y2:15,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:20,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:4,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:20,y1:17,x2:20,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:21,x2:20,y2:21,stroke:t,strokeWidth:o})]});var vt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:8,y:10,width:8,height:4,rx:2,stroke:t,strokeWidth:o}),d(w,{x:4,y:10,width:8,height:4,rx:2,stroke:t,strokeWidth:o}),d(w,{x:12,y:10,width:8,height:4,rx:2,stroke:t,strokeWidth:o})]});var Yo=No,Ho=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:12,y1:15,x2:12,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:8,y1:7,x2:12,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:16,y1:7,x2:12,y2:3,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:20,y2:17,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:17,x2:4,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:20,y1:17,x2:20,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:4,y1:21,x2:20,y2:21,stroke:t,strokeWidth:o})]});var Uo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:12,cy:7,r:4,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:5,top:14,width:14,height:7,borderTopLeftRadius:7,borderTopRightRadius:7,borderWidth:o,borderColor:t,borderBottomColor:"transparent",backgroundColor:"transparent"}})]}),qo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(w,{x:5,y:11,width:14,height:10,rx:1,stroke:t,strokeWidth:o}),d(l,{style:{position:"absolute",left:7,top:4,width:10,height:9,borderTopLeftRadius:5,borderTopRightRadius:5,borderWidth:o,borderColor:t,borderBottomColor:"transparent",backgroundColor:"transparent"}}),d(l,{style:{position:"absolute",left:11,top:15,width:2,height:3,backgroundColor:t}})]}),Jo=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(R,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),d(n,{x1:12,y1:2,x2:12,y2:12,stroke:t,strokeWidth:o})]});var zt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>W(f,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[d(n,{x1:3,y1:3,x2:3,y2:21,stroke:t,strokeWidth:o}),d(n,{x1:3,y1:21,x2:21,y2:21,stroke:t,strokeWidth:o}),d(w,{x:7,y:12,width:3,height:9,fill:t}),d(w,{x:12,y:8,width:3,height:13,fill:t}),d(w,{x:17,y:15,width:3,height:6,fill:t})]});var Ko=zt;var Zo=xt;var Qo=pt;var Vo=Ct;var te=ft,oe=mt;var ee=Wt,re=gt;import{jsx as i,jsxs as b}from"react/jsx-runtime";var g=({width:e,height:t,viewBox:o,children:r,style:a,...y})=>{let[,,h,k]=o.split(" ").map(Number),c=e/h,p=t/k;return i(l,{style:[{width:e,height:t,position:"relative",overflow:"hidden"},a],...y,children:i(l,{style:{transform:[{scaleX:c},{scaleY:p}],transformOrigin:"top left",width:h,height:k},children:r})})},s=({x1:e,y1:t,x2:o,y2:r,stroke:a,strokeWidth:y=2})=>{let h=Math.sqrt(Math.pow(o-e,2)+Math.pow(r-t,2)),k=Math.atan2(r-t,o-e)*(180/Math.PI);return i(l,{style:{position:"absolute",left:e,top:t-y/2,width:h,height:y,backgroundColor:a,transform:[{rotate:`${k}deg`}],transformOrigin:"left center"}})},m=({cx:e,cy:t,r:o,fill:r,stroke:a,strokeWidth:y=2})=>i(l,{style:{position:"absolute",left:e-o,top:t-o,width:o*2,height:o*2,borderRadius:o,backgroundColor:r||"transparent",borderColor:a,borderWidth:a?y:0}}),I=({x:e,y:t,width:o,height:r,fill:a,stroke:y,strokeWidth:h=2,rx:k=0,ry:c})=>i(l,{style:{position:"absolute",left:e,top:t,width:o,height:r,borderRadius:c!==void 0?Math.max(k,c):k,backgroundColor:a||"transparent",borderColor:y,borderWidth:y?h:0}}),ie=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:3,y1:12,x2:7,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:7,y1:12,x2:10,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:6,x2:14,y2:18,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:18,x2:17,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:17,y1:12,x2:21,y2:12,stroke:t,strokeWidth:o})]}),Ft=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:3,x2:3,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:3,x2:21,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:20,x2:21,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:12,y2:13,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:16,r:1,fill:t})]}),Rt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:20,y1:6,x2:9,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:17,x2:4,y2:12,stroke:t,strokeWidth:o})]}),se=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:10,x2:11,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:11,y1:15,x2:8,y2:12,stroke:t,strokeWidth:o})]}),he=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:6,y1:9,x2:12,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:15,x2:18,y2:9,stroke:t,strokeWidth:o})]}),Bt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:15,y1:18,x2:9,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:12,x2:15,y2:6,stroke:t,strokeWidth:o})]}),It=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:9,y1:18,x2:15,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:12,x2:9,y2:6,stroke:t,strokeWidth:o})]}),de=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:18,y1:15,x2:12,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:6,y2:15,stroke:t,strokeWidth:o})]}),Gt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:6,x2:12,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:16,y2:14,stroke:t,strokeWidth:o})]}),Ot=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:8,y:8,width:12,height:12,rx:1,stroke:t,strokeWidth:o}),i(l,{style:{position:"absolute",left:4,top:4,width:12,height:12,borderRadius:1,borderWidth:o,borderColor:t,borderRightColor:"transparent",borderBottomColor:"transparent",backgroundColor:"transparent"}})]}),ae=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:20,x2:20,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:4,x2:4,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:16,x2:4,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:20,x2:8,y2:20,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:2,x2:22,y2:10,stroke:t,strokeWidth:o})]}),le=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(l,{style:{position:"absolute",left:2,top:8,width:20,height:8,borderWidth:o,borderColor:t,borderRadius:10}}),i(m,{cx:12,cy:12,r:3,stroke:t,strokeWidth:o})]}),ye=({size:e=24,color:t="currentColor",strokeWidth:o=2,active:r=false,...a})=>i(g,{width:e,height:e,viewBox:"0 0 24 24",...a,children:b(l,{style:{position:"absolute",width:24,height:24,transform:r?[{rotate:"-45deg"},{scale:.92}]:[{rotate:"0deg"},{scale:1}]},children:[i(s,{x1:2.97,y1:21.03,x2:8.18,y2:15.82,stroke:t,strokeWidth:o}),i(s,{x1:4.4,y1:10.81,x2:13.19,y2:19.6,stroke:t,strokeWidth:o}),i(s,{x1:5.17,y1:10.54,x2:11.43,y2:8.83,stroke:t,strokeWidth:o}),i(s,{x1:13.46,y1:18.83,x2:15.17,y2:12.57,stroke:t,strokeWidth:o}),i(l,{style:{position:"absolute",left:11.15,top:4.4,width:11.38,height:5.52,borderWidth:o,borderColor:t,borderRadius:2.07,transform:[{rotate:"-45deg"}]}})]})});var ne=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:17.94,y1:17.94,x2:14.12,y2:14.12,stroke:t,strokeWidth:o}),i(s,{x1:9.88,y1:9.88,x2:6.06,y2:6.06,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:21,x2:3,y2:3,stroke:t,strokeWidth:o}),i(l,{style:{position:"absolute",left:2,top:8,width:20,height:8,borderWidth:o,borderColor:t,borderRadius:10}})]}),jt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:4,y:2,width:12,height:20,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:2,x2:20,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:6,x2:20,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:22,x2:4,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:9,x2:8,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:11,x2:10,y2:13,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:9,x2:16,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:11,x2:14,y2:13,stroke:t,strokeWidth:o})]}),ce=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:4,y:2,width:12,height:20,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:2,x2:20,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:6,x2:20,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:20,y1:22,x2:4,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:12,x2:16,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:16,x2:16,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:8,x2:13,y2:8,stroke:t,strokeWidth:o})]}),ke=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:22,y1:3,x2:2,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:3,x2:10,y2:12.5,stroke:t,strokeWidth:o}),i(s,{x1:22,y1:3,x2:14,y2:12.5,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:12.5,x2:10,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:12.5,x2:14,y2:21,stroke:t,strokeWidth:o})]}),xe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:10,y1:2,x2:10,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:2,x2:14,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:2,x2:16,y2:2,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:9,x2:4,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:9,x2:20,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:21,x2:20,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:16,x2:16,y2:16,stroke:t,strokeWidth:o})]}),pe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:6,y1:3,x2:6,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:6,y1:9,x2:18,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:18,y1:9,x2:18,y2:6,stroke:t,strokeWidth:o}),i(m,{cx:6,cy:18,r:3,stroke:t,strokeWidth:o}),i(m,{cx:18,cy:6,r:3,stroke:t,strokeWidth:o}),i(m,{cx:6,cy:6,r:3,stroke:t,strokeWidth:o})]}),Lt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:3,y:6,width:18,height:12,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:12,x2:21,y2:12,stroke:t,strokeWidth:o}),i(m,{cx:6,cy:15,r:1,fill:t}),i(m,{cx:9,cy:15,r:.5,fill:t}),i(s,{x1:18,y1:9,x2:21,y2:9,stroke:t,strokeWidth:o})]}),ge=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:4,y1:9,x2:20,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:4,y1:15,x2:20,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:3,x2:8,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:3,x2:14,y2:21,stroke:t,strokeWidth:o})]}),be=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:16,x2:12,y2:12,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:8,r:1,fill:t})]}),Mt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:7,cy:12,r:5,stroke:t,strokeWidth:o}),i(m,{cx:7,cy:12,r:1.5,fill:t}),i(s,{x1:12,y1:12,x2:21,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:12,x2:19,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:12,x2:21,y2:14,stroke:t,strokeWidth:o})]}),ue=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:2,x2:2,y2:7,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:7,x2:12,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:22,y2:7,stroke:t,strokeWidth:o}),i(s,{x1:22,y1:7,x2:12,y2:2,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:12,x2:12,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:17,x2:22,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:2,y1:17,x2:12,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:22,x2:22,y2:17,stroke:t,strokeWidth:o})]}),We=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>i(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:i(s,{x1:5,y1:12,x2:19,y2:12,stroke:t,strokeWidth:o})}),Tt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:5,y1:9,x2:5,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:5,x2:9,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:5,x2:19,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:5,x2:19,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:15,x2:5,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:19,x2:9,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:19,x2:19,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:19,x2:19,y2:15,stroke:t,strokeWidth:o})]});var $t=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(m,{cx:8.5,cy:8.5,r:1.5,fill:t}),i(m,{cx:15.5,cy:8.5,r:1.5,fill:t}),i(m,{cx:8.5,cy:15.5,r:1.5,fill:t}),i(m,{cx:15.5,cy:15.5,r:1.5,fill:t})]}),we=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:6,y:4,width:4,height:16,stroke:t,strokeWidth:o,fill:t}),i(I,{x:14,y:4,width:4,height:16,stroke:t,strokeWidth:o,fill:t})]}),fe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:5,y1:3,x2:5,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:3,x2:19,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:12,x2:5,y2:21,stroke:t,strokeWidth:o})]}),Ce=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:5,x2:12,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:12,x2:19,y2:12,stroke:t,strokeWidth:o})]}),me=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>{let a=15.162277660168378,y=12-2.846049894151541-3.0004;return b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(l,{style:{position:"absolute",left:5,top:5,width:14,height:14,borderRadius:7,borderWidth:2.4,borderTopColor:t,borderLeftColor:t,borderBottomColor:t,borderRightColor:"transparent"}}),i(l,{style:{position:"absolute",left:a,top:y,width:0,height:0,borderTopWidth:3.0004,borderBottomWidth:3.0004,borderLeftWidth:5.2,borderTopColor:"transparent",borderBottomColor:"transparent",borderLeftColor:t,transform:[{rotate:"45deg"}]}})]})},ve=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:3,y1:10,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:3,x2:21,y2:10,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:9,x2:5,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:9,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:21,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:21,x2:10,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:15,x2:14,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:15,x2:14,y2:21,stroke:t,strokeWidth:o})]}),ze=ve,Fe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:11,cy:11,r:8,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:21,x2:16.65,y2:16.65,stroke:t,strokeWidth:o})]}),Re=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:1,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:21,x2:12,y2:23,stroke:t,strokeWidth:o}),i(s,{x1:4.22,y1:4.22,x2:5.64,y2:5.64,stroke:t,strokeWidth:o}),i(s,{x1:18.36,y1:18.36,x2:19.78,y2:19.78,stroke:t,strokeWidth:o}),i(s,{x1:1,y1:12,x2:3,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:12,x2:23,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:4.22,y1:19.78,x2:5.64,y2:18.36,stroke:t,strokeWidth:o}),i(s,{x1:18.36,y1:5.64,x2:19.78,y2:4.22,stroke:t,strokeWidth:o})]}),Nt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:12,y1:2,x2:5,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:5,x2:5,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:11,x2:12,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:22,x2:19,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:11,x2:19,y2:5,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:5,x2:12,y2:2,stroke:t,strokeWidth:o})]}),_t=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:10,y:2,width:4,height:18,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:4,x2:16,y2:4,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:14,x2:14,y2:14,stroke:t,strokeWidth:o}),i(I,{x:11,y:15,width:2,height:4,fill:t})]}),At=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:3,y1:6,x2:21,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:6,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:19,y1:21,x2:5,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:21,x2:5,y2:6,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:11,x2:10,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:11,x2:14,y2:17,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:6,x2:8,y2:4,stroke:t,strokeWidth:o}),i(s,{x1:8,y1:4,x2:16,y2:4,stroke:t,strokeWidth:o}),i(s,{x1:16,y1:4,x2:16,y2:6,stroke:t,strokeWidth:o})]}),Dt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:18,y1:6,x2:6,y2:18,stroke:t,strokeWidth:o}),i(s,{x1:6,y1:6,x2:18,y2:18,stroke:t,strokeWidth:o})]}),Be=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:9,x2:9,y2:15,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:9,x2:15,y2:15,stroke:t,strokeWidth:o})]}),St=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:13,y1:2,x2:3,y2:14,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:14,x2:10,y2:14,stroke:t,strokeWidth:o}),i(s,{x1:10,y1:14,x2:11,y2:22,stroke:t,strokeWidth:o}),i(s,{x1:11,y1:22,x2:21,y2:10,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:10,x2:14,y2:10,stroke:t,strokeWidth:o}),i(s,{x1:14,y1:10,x2:13,y2:2,stroke:t,strokeWidth:o})]}),Et=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>i(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:i(I,{x:3,y:3,width:18,height:18,rx:2,stroke:t,strokeWidth:o})}),Pt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:3,y:3,width:18,height:18,rx:2,stroke:t,strokeWidth:o}),i(s,{x1:9,y1:12,x2:11,y2:14,stroke:t,strokeWidth:o}),i(s,{x1:11,y1:14,x2:15,y2:10,stroke:t,strokeWidth:o})]}),Xt=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:5,y1:3,x2:9,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:3,x2:19,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:5,y1:21,x2:9,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:15,y1:21,x2:19,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:5,x2:3,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:15,x2:3,y2:19,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:5,x2:21,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:15,x2:21,y2:19,stroke:t,strokeWidth:o})]}),Ie=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(s,{x1:21,y1:16,x2:21,y2:8,stroke:t,strokeWidth:o}),i(s,{x1:21,y1:8,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:3,x2:3,y2:8,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:8,x2:3,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:3,y1:16,x2:12,y2:21,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:21,x2:21,y2:16,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:21,x2:12,y2:12,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:12,y2:3,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:3,y2:8,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:12,x2:21,y2:8,stroke:t,strokeWidth:o})]}),Ge=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(I,{x:3,y:3,width:18,height:18,rx:4,ry:4,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:8,x2:12,y2:12,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:16,r:1,fill:t})]}),Oe=({size:e=24,color:t="currentColor",strokeWidth:o=2,...r})=>b(g,{width:e,height:e,viewBox:"0 0 24 24",...r,children:[i(m,{cx:12,cy:12,r:10,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:13,x2:12,y2:11,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:11,x2:12,y2:9,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:10,y2:7,stroke:t,strokeWidth:o}),i(s,{x1:12,y1:9,x2:14,y2:7,stroke:t,strokeWidth:o}),i(m,{cx:12,cy:17,r:1,fill:t})]}),je=ie,Le=Ft,Me=Ie,Te=Rt,$e=se,Ne=he,_e=Bt,Ae=It,De=de,Se=Gt,Ee=Ot,Pe=ae,Xe=le,Ye=ne,He=jt,Ue=ce,qe=ke,Je=xe,Ke=pe,Ze=Lt,Qe=ge,Ve=be,tr=Mt,or=ue,er=Tt,rr=We,ir=$t,sr=we,hr=fe,dr=Ce,ar=me,lr=Fe,yr=Re,nr=Nt,cr=_t,kr=At,xr=Dt,pr=Be,gr=St,br=Et,ur=Pt,Wr=Xt;var wr=ut;var fr=vt,Cr=bt,mr=_o;var vr=wt;var zr=Ko,Fr=zt,Rr=Zo,Br=xt;var Ir=So;var Gr=Do;var Or=Eo;var jr=Qo,Lr=pt,Mr=Vo,Tr=Ct,$r=te,Nr=ft,_r=oe,Ar=mt,Dr=ee,Sr=Wt,Er=re,Pr=gt,Xr=Lo,Yr=jo,Hr=To,Ur=Oo,qr=Po,Jr=ut,Kr=Mo,Zr=Jo,Qr=Ho,Vr=Xo,ti=qo,oi=Ao,ei=$o,ri=vt,ii=bt;var si=Yo,hi=wt,di=Uo;import{NetworkIcon as ai,NETWORK_ICON_COLOR as li}from"@buoy-gg/floating-tools-core/web";import{EnvIcon as yi,ENV_ICON_COLOR as ni}from"@buoy-gg/floating-tools-core/web";import{ConsoleIcon as ci,CONSOLE_ICON_COLOR as ki}from"@buoy-gg/floating-tools-core/web";import{TimeMachineIcon as xi,TIME_MACHINE_ICON_COLOR as pi}from"@buoy-gg/floating-tools-core/web";import{ImagesIcon as gi,IMAGES_ICON_COLOR as bi}from"@buoy-gg/floating-tools-core/web";import{AssetsIcon as ui,ASSETS_ICON_COLOR as Wi}from"@buoy-gg/floating-tools-core/web";import{ImpersonateIcon as wi,IMPERSONATE_ICON_COLOR as fi}from"@buoy-gg/floating-tools-core/web";import{ImageOverlayIcon as Ci,IMAGE_OVERLAY_ICON_COLOR as mi}from"@buoy-gg/floating-tools-core/web";import{ZustandIcon as vi,ZUSTAND_ICON_COLOR as zi}from"@buoy-gg/floating-tools-core/web";import{JotaiIcon as Fi,JOTAI_ICON_COLOR as Ri}from"@buoy-gg/floating-tools-core/web";import{ActivityGlyph as Bi,AlertCircleGlyph as Ii,AlertTriangleGlyph as Gi,BookmarkGlyph as Oi,BoxGlyph as ji,BugGlyph as Li,CheckCircleGlyph as Mi,CheckGlyph as Ti,ChevronDownGlyph as $i,ChevronLeftGlyph as Ni,ChevronRightGlyph as _i,ChevronUpGlyph as Ai,ClockGlyph as Di,CopyGlyph as Si,DatabaseGlyph as Ei,DockBottomGlyph as Pi,DownloadGlyph as Xi,Edit3Glyph as Yi,EyeOffGlyph as Hi,EyeGlyph as Ui,FileJsonGlyph as qi,FileTextGlyph as Ji,FilmGlyph as Ki,FilterGlyph as Zi,FlaskConicalGlyph as Qi,FloatWindowGlyph as Vi,GitBranchGlyph as ts,GlobeGlyph as os,HashGlyph as es,HomeGlyph as rs,ImageGlyph as is,InfoGlyph as ss,KeyGlyph as hs,LayersGlyph as ds,LinkGlyph as as,LockGlyph as ls,MinusGlyph as ys,MusicGlyph as ns,NavigationGlyph as cs,PaletteGlyph as ks,PauseGlyph as xs,PlayGlyph as ps,PlusGlyph as gs,PowerGlyph as bs,RefreshCwGlyph as us,SearchGlyph as Ws,ServerGlyph as ws,SettingsGlyph as fs,SettingsSolidIcon as Cs,ShieldGlyph as ms,Trash2Glyph as vs,Trash2Glyph as zs,UnlockGlyph as Fs,UploadGlyph as Rs,UserGlyph as Bs,WifiGlyph as Is,XCircleGlyph as Gs,XGlyph as Os,ZapGlyph as js}from"@buoy-gg/floating-tools-core/web";import{SentryIcon as Ls,EventsIcon as Ms,RoutesIcon as Ts,RoutePinIcon as $s,RoutePathIcon as Ns,RouteDotIcon as _s,RouteTwoPinsIcon as As,CameraIcon as Ds,HighlightIcon as Ss,ReduxIcon as Es,StorageIcon as Ps,AskBuoyIcon as Xs,HighlighterIcon as Ys,QueryIcon as Hs,ScenariosIcon as Us}from"@buoy-gg/floating-tools-core/web";import{WifiIcon as qs,BenchmarkIcon as Js,BENCHMARK_ICON_COLOR as Ks}from"@buoy-gg/floating-tools-core/web";import{NotificationsIcon as Zs,NOTIFICATIONS_ICON_COLOR as Qs}from"@buoy-gg/floating-tools-core/web";import{monoFont as Vs}from"@buoy-gg/floating-tools-core/web";export{et as a,X as b,Ht as c,Ut as d,it as e,Kt as f,E as g,dt as h,ro as i,ho as j,yo as k,xo as l,Wo as m,K as n,fo as o,Co as p,Z as q,vo as r,zo as s,Ro as t,Io as u,Ft as v,Rt as w,Bt as x,It as y,Gt as z,Ot as A,ye as B,jt as C,Lt as D,Mt as E,Tt as F,$t as G,ze as H,Nt as I,_t as J,At as K,Dt as L,St as M,Et as N,Pt as O,Xt as P,Ge as Q,Oe as R,je as S,Le as T,Me as U,Te as V,$e as W,Ne as X,_e as Y,Ae as Z,De as _,Se as $,Ee as aa,Pe as ba,Xe as ca,Ye as da,He as ea,Ue as fa,qe as ga,Je as ha,Ke as ia,Ze as ja,Qe as ka,Ve as la,tr as ma,or as na,er as oa,rr as pa,ir as qa,sr as ra,hr as sa,dr as ta,ar as ua,lr as va,yr as wa,nr as xa,cr as ya,kr as za,xr as Aa,pr as Ba,gr as Ca,br as Da,ur as Ea,Wr as Fa,wr as Ga,fr as Ha,Cr as Ia,mr as Ja,vr as Ka,zr as La,Fr as Ma,Rr as Na,Br as Oa,Ir as Pa,Gr as Qa,Or as Ra,jr as Sa,Lr as Ta,Mr as Ua,Tr as Va,$r as Wa,Nr as Xa,_r as Ya,Ar as Za,Dr as _a,Sr as $a,Er as ab,Pr as bb,Xr as cb,Yr as db,Hr as eb,Ur as fb,qr as gb,Jr as hb,Kr as ib,Zr as jb,Qr as kb,Vr as lb,ti as mb,oi as nb,ei as ob,ri as pb,ii as qb,si as rb,hi as sb,di as tb,ai as ub,li as vb,yi as wb,ni as xb,ci as yb,ki as zb,xi as Ab,pi as Bb,gi as Cb,bi as Db,ui as Eb,Wi as Fb,wi as Gb,fi as Hb,Ci as Ib,mi as Jb,vi as Kb,zi as Lb,Fi as Mb,Ri as Nb,Bi as Ob,Ii as Pb,Gi as Qb,Oi as Rb,ji as Sb,Li as Tb,Mi as Ub,Ti as Vb,$i as Wb,Ni as Xb,_i as Yb,Ai as Zb,Di as _b,Si as $b,Ei as ac,Pi as bc,Xi as cc,Yi as dc,Hi as ec,Ui as fc,qi as gc,Ji as hc,Ki as ic,Zi as jc,Qi as kc,Vi as lc,ts as mc,os as nc,es as oc,rs as pc,is as qc,ss as rc,hs as sc,ds as tc,as as uc,ls as vc,ys as wc,ns as xc,cs as yc,ks as zc,xs as Ac,ps as Bc,gs as Cc,bs as Dc,us as Ec,Ws as Fc,ws as Gc,fs as Hc,Cs as Ic,ms as Jc,vs as Kc,zs as Lc,Fs as Mc,Rs as Nc,Bs as Oc,Is as Pc,Gs as Qc,Os as Rc,js as Sc,Ls as Tc,Ms as Uc,Ts as Vc,$s as Wc,Ns as Xc,_s as Yc,As as Zc,Ds as _c,Ss as $c,Es as ad,Ps as bd,Xs as cd,Ys as dd,Hs as ed,Us as fd,qs as gd,Js as hd,Ks as id,Zs as jd,Qs as kd,Vs as ld};
@@ -1 +0,0 @@
1
- "use client";import{d as c}from"./chunk-CE5U3CSQ.mjs";import{a as K}from"./chunk-5NZOQR6Q.mjs";var G=e=>{if(e===null)return"null";if(e===void 0)return"undefined";if(Array.isArray(e))return"array";let t=typeof e;return t==="object"?e instanceof Date?"date":e instanceof RegExp?"regexp":e instanceof Map?"map":e instanceof Set?"set":e instanceof Error?"error":"object":t},X=e=>{let t=typeof e;return e==null||t==="string"||t==="number"||t==="boolean"||t==="bigint"||t==="symbol"},Y=e=>{try{return JSON.stringify(e),true}catch{return false}},H=e=>{try{return JSON.parse(e),true}catch{return false}},Q=e=>{if(e===null)return"null";if(e===void 0)return"undefined";try{return e.constructor?.name||typeof e}catch{return typeof e}},Z=e=>e==null?true:typeof e=="string"||Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:false,ee=e=>{if(Array.isArray(e)){let t=e.length;return t===0?"empty array":t===1?"1 item":`${t} items`}if(e&&typeof e=="object"){let t=Object.keys(e).length;return t===0?"empty object":t===1?"1 key":`${t} keys`}if(typeof e=="string"){let t=e.length;return t===0?"empty string":t===1?"1 character":`${t} characters`}return""},te=e=>typeof e=="object"&&e!==null&&!Array.isArray(e)&&e.constructor===Object;var ne=e=>{if(e==null)return e;if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},re=e=>e===null?"null":e===void 0?"undefined":typeof e=="string"?`"${e}"`:typeof e=="boolean"?e?"true":"false":typeof e=="number"?String(e):typeof e=="function"?`[Function: ${e.name||"anonymous"}]`:typeof e=="object"?Array.isArray(e)?`[Array: ${e.length} items]`:`{Object: ${Object.keys(e).length} keys}`:String(e),ae=e=>{if(e===null)return c.dataTypes.null;if(e===void 0)return c.dataTypes.undefined;switch(typeof e){case"string":return c.dataTypes.string;case"number":return c.dataTypes.number;case"boolean":return c.dataTypes.boolean;case"function":return c.dataTypes.function;case"object":return Array.isArray(e)?c.dataTypes.array:c.dataTypes.object;default:return c.primary}},oe=(e,t)=>e.length<=t?e:e.slice(0,t-3)+"...",v=(e,t="")=>{let n={};return e==null?n:typeof e!="object"?(n[t||"root"]=e,n):(Array.isArray(e)?e.forEach((r,a)=>{let o=t?`${t}[${a}]`:`[${a}]`;typeof r=="object"&&r!==null?Object.assign(n,v(r,o)):n[o]=r}):Object.keys(e).forEach(r=>{let a=t?`${t}.${r}`:r,o=e[r];typeof o=="object"&&o!==null?Object.assign(n,v(o,a)):n[a]=o}),n)},se=e=>e.length===0?"root":e.map((t,n)=>typeof t=="number"?`[${t}]`:n===0?t:`.${t}`).join("");var ie={log:()=>{},warn:()=>{},error:(...e)=>{console.error("[optional-module]",...e)}},f=new Map,g=new Map,R=new Set;async function ue(e,t={}){if(f.has(e))return f.get(e);let n={...ie,...t.logger??{}};g.has(e)||g.set(e,(async()=>{try{let a=await le(e,t),o=a?.default??a;return f.set(e,o),n.log("Loaded optional module",e),o}catch(a){return n.log("Optional module unavailable",e,a),f.set(e,null),null}})());let r=await g.get(e);return g.delete(e),!r&&t.warnOnceKey&&!R.has(t.warnOnceKey)&&(R.add(t.warnOnceKey),n.warn(t.warningMessage??`Module '${e}' not found.`)),r}var L=(()=>{try{return new Function("moduleName","return import(moduleName);")}catch{return null}})(),C=(()=>{try{return new Function("return typeof require === 'function' ? require : undefined;")()}catch{return}})();async function le(e,t){if(t.loader)return await Promise.resolve(t.loader());if(L)return L(e);if(C)return C(e);throw new Error(`No dynamic loader available for optional module '${e}'.`)}function ce(e){return f.has(e)?f.get(e):null}var M="__buoyRenderCaptureProvider";function N(){return globalThis}function pe(e){N()[M]=e}function de(){return N()[M]??null}var h=new Map,E=new Set;function _(){E.forEach(e=>{try{e()}catch{}})}function fe(e){return h.set(e.id,e),_(),()=>{h.get(e.id)===e&&(h.delete(e.id),_())}}function ye(){return Array.from(h.values())}function he(e){return h.get(e)??null}function be(e){return E.add(e),()=>{E.delete(e)}}function S(){return null}function j(){return null}function $(){return typeof window>"u"?null:()=>window.location.reload()}function x(e="auto"){return e==="browser"?$()?"browser":null:e==="auto"&&$()?"browser":e==="dev-settings"?S()?"dev-settings":null:e==="expo-updates"?j()?"expo-updates":null:K&&S()?"dev-settings":j()?"expo-updates":null}function P(e){return e==="browser"?"[buoy] Browser reload requires a browser window.":e==="dev-settings"?"[buoy] DevSettings.reload() unavailable \u2014 strategy 'dev-settings' requires React Native dev mode.":e==="expo-updates"?"[buoy] expo-updates not installed \u2014 strategy 'expo-updates' requires the host app to add the dependency.":"[buoy] No reload mechanism available. Run in __DEV__ or install expo-updates."}async function D(e="auto",t="buoy reload"){let n=x(e);if(!n)throw new Error(P(e));return n==="browser"?$()():n==="dev-settings"?S().reload(t):await j().reloadAsync(),await new Promise(()=>{})}var B=250;function we(e){let t=e?.strategy??"auto",n=x(t);if(!n)throw new Error(P(t));let r=Math.max(0,e?.delayMs??B),a=e?.reason??"buoy remote reload";return setTimeout(()=>{D(n,a).catch(()=>{})},r),{strategy:n,delayMs:r}}function ge(){return null}var me=class{constructor(){this.listeners=new Set;this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}getListenerCount(){return this.listeners.size}notify(...e){this.listeners.forEach(t=>{t(...e)})}onSubscribe(){}onUnsubscribe(){}};var ve=class{constructor(){this.listeners=new Set}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}notify(e){this.listeners.forEach(t=>{try{t(e)}catch{}})}},O=new ve,Ee=e=>O.subscribe(e),Se=e=>O.notify(e);import{useSyncExternalStore as V}from"react";var l,b=new Set,k;function je(e){return l=e,()=>{l===e&&(l=void 0)}}function d(){return typeof location>"u"?"/":location.href}function q(e){if(!b.size&&typeof window<"u"){let t=window.history,n=t.pushState,r=t.replaceState,a=s=>{for(let p of[...b])try{p({href:d(),kind:s})}catch{}},o=function(...s){let p=Reflect.apply(n,this,s);return a("push"),p},i=function(...s){let p=Reflect.apply(r,this,s);return a("replace"),p};t.pushState=o,t.replaceState=i;let u=()=>a("pop");window.addEventListener("popstate",u),window.addEventListener("hashchange",u),k=()=>{t.pushState===o&&(t.pushState=n),t.replaceState===i&&(t.replaceState=r),window.removeEventListener("popstate",u),window.removeEventListener("hashchange",u),k=void 0}}return b.add(e),()=>{b.delete(e),b.size||k?.()}}function F(e){let t=typeof e=="string"?e:e.pathname,n=new URL(t,d());if(n.origin!==window.location.origin)throw new Error("Tool navigation must stay on the current origin.");if(typeof e!="string")for(let[r,a]of Object.entries(e.params??{}))n.searchParams.set(r,String(a));return`${n.pathname}${n.search}${n.hash}`}var w={push(e){let t=F(e);if(l)return l.push(t);window.history.pushState(null,"",t),window.dispatchEvent(new PopStateEvent("popstate",{state:window.history.state}))},replace(e){let t=F(e);if(l)return l.replace(t);window.history.replaceState(window.history.state,"",t),window.dispatchEvent(new PopStateEvent("popstate",{state:window.history.state}))},back(){l?l.back():window.history.back()},canGoBack(){return l?.canGoBack?.()??(typeof window<"u"&&window.history.length>1)},navigate(e){w.push(e)},setParams(e){w.replace({pathname:d(),params:e})},dismiss(e=1){window.history.go(-e)},dismissAll(){throw new Error("Use the captured browser history to select a destination.")}};var U=e=>q(e);function m(){return new URL(d(),"http://localhost")}function $e(){return w}function I(){return V(U,d,()=>"/"),m().pathname}function xe(){return I().split("/").filter(Boolean)}function Oe(){return V(U,d,()=>"/"),Object.fromEntries(m().searchParams)}function ke(){return typeof window>"u"?null:w}function Te(){return m().pathname}function Ae(){let e=m();return{pathname:e.pathname,href:`${e.pathname}${e.search}${e.hash}`,segments:e.pathname.split("/").filter(Boolean)}}function Re(){return false}var W=new WeakMap,Le=1;function y(e){return!!e&&typeof e=="object"&&e.nodeType===1&&typeof e.getBoundingClientRect=="function"}function T(e){if(!y(e))return null;let t=W.get(e);return t===void 0&&(t=Le++,W.set(e,t)),t}function Ce(e){if(!y(e))return null;let t=Object.keys(e).find(n=>n.startsWith("__reactFiber$"));return t?e[t]:null}function Me(e,t){if(!y(e)||!t)return t;let n=e,r=e.tagName.toLowerCase(),a=r==="input"&&(n.type==="checkbox"||n.type==="radio"),o=r==="input"&&n.type==="range",i=r==="textarea"||r==="select"||r==="input"&&!a&&!o&&!["button","submit","reset","file","hidden"].includes(n.type),u=s=>{if(a){n.checked!==!!s&&n.click();return}let p=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n),"value")?.set;p?p.call(n,String(s)):n.value=String(s),n.dispatchEvent(new Event("input",{bubbles:true})),n.dispatchEvent(new Event("change",{bubbles:true}))};return{...t,__buoyDevToolsRoot:t.__buoyDevToolsRoot||t["data-buoy-root"]!==void 0,testID:t.testID??t["data-testid"],nativeID:t.nativeID??t.id,accessibilityLabel:t.accessibilityLabel??t["aria-label"],accessibilityRole:t.accessibilityRole??t.role??(r==="button"?"button":r==="a"?"link":a?n.type:i?"textbox":o?"slider":void 0),onPress:t.onPress??(typeof t.onClick=="function"||r==="button"||r==="a"?()=>n.click():void 0),...a||o?{onValueChange:u,value:a?n.checked:Number(n.value),...o?{minimumValue:Number(n.min||0),maximumValue:Number(n.max||100)}:{}}:{},...i?{onChangeText:u,value:n.value}:{}}}function Ne(e){return y(e)?{__nativeTag:T(e),measure(t){let n=e.getBoundingClientRect();t(n.x,n.y,n.width,n.height,n.x,n.y)},measureInWindow(t){let n=e.getBoundingClientRect();t(n.x,n.y,n.width,n.height)},requestTVFocus(){e.focus()},focus(){e.focus()}}:null}var _e={topFocus:"focus",topBlur:"blur",topTouchStart:"pointerdown",topTouchMove:"pointermove",topTouchEnd:"pointerup",topTouchCancel:"pointercancel",topChange:"input",topValueChange:"input",topSlidingComplete:"change"};function Pe(){return typeof document>"u"?{emitter:null,reason:"DOM events are unavailable during server rendering."}:{reason:null,emitter:{addListener(e,t){let n=_e[e];if(!n)throw new Error(`Unsupported DOM event: ${e}`);let r=a=>{let o=a.composedPath()[0]??a.target;if(!y(o))return;let i=o,u=a,s={target:T(o),pageX:u.clientX,pageY:u.clientY};(n==="input"||n==="change")&&(i.type==="checkbox"||i.type==="radio"?s.value=i.checked:i.type==="range"?s.value=Number(i.value):s.text=i.value??o.textContent??""),t({eventName:e,nativeEvent:s})};return document.addEventListener(n,r,true),{remove:()=>document.removeEventListener(n,r,true)}}}}}var A=new Map,z=0;function De(e){for(let[t,n]of Object.entries(e)){let r=t.startsWith("@buoy-gg/")?t.replace(/\/web$/,""):`@buoy-gg/${t}`;A.get(r)!==n&&(A.set(r,n),z++)}}function J(e){return A.get(e)??null}function Be(){return z}function Ve(e){let t=J(e);if(!t)throw new Error(`Register ${e} with createWebTools before opening tools that use it.`);return t}export{me as a,O as b,Ee as c,Se as d,G as e,X as f,Y as g,H as h,Q as i,Z as j,ee as k,te as l,ne as m,re as n,ae as o,oe as p,v as q,se as r,ue as s,ce as t,pe as u,de as v,fe as w,ye as x,he as y,be as z,x as A,D as B,B as C,we as D,ge as E,je as F,d as G,q as H,w as I,$e as J,I as K,xe as L,Oe as M,ke as N,Te as O,Ae as P,Re as Q,y as R,T as S,Ce as T,Me as U,Ne as V,Pe as W,De as X,J as Y,Be as Z,Ve as _};