KMFastToolCollectionViewItem.swift 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  1. //
  2. // KMFastToolCollectionViewItem.swift
  3. // PDF Master
  4. //
  5. // Created by wanjun on 2022/10/20.
  6. //
  7. import Cocoa
  8. public enum DataNavigationViewButtonActionType : Int {
  9. case Batch = 0 // 批量处理
  10. case ConvertPDF // 转换PDF
  11. case ImageToPDF // 图片转PDF
  12. case MergePDF // 合并
  13. case Compression // 压缩
  14. case Security // 安全
  15. case PDFToPPT // PDF转PPT
  16. case PDFToExcel // PDF转Excel
  17. case PDFToWord // PDF转Word
  18. case PDFToImage // PDF转图片
  19. case Watermark // 水印
  20. case Background // 背景
  21. case HeaderAndFooter// 页眉页脚
  22. case BatesCode // 贝茨码
  23. case Print // 打印
  24. case BatchRemove // 批量移除
  25. case Insert // 插入
  26. case BreakUp // 拆分
  27. case Extract // 提取
  28. case MarkCipher // 标记密文
  29. case PageEdit // 页面编辑
  30. case OCR // 批量OCR
  31. case AutomaticFormRecognition //表单自动识别
  32. case FileCompare // 文件对比
  33. case ComparativeTable // 比较表
  34. case equity // 权益弹窗
  35. }
  36. class KMFastToolMode: NSObject {
  37. var toolImageName: String? //图片名称
  38. var toolTitle: String? //主标题
  39. var toolSubtitle: String? //副标题
  40. class func toolModeData(type: DataNavigationViewButtonActionType) -> KMFastToolMode {
  41. let mode: KMFastToolMode = KMFastToolMode()
  42. switch type {
  43. case .Batch:
  44. mode.toolTitle = NSLocalizedString("Batch", comment: "")
  45. mode.toolSubtitle = NSLocalizedString("content content content content content content content content", comment: "")
  46. mode.toolImageName = "icon_pdftools_batch"
  47. break
  48. case .OCR:
  49. mode.toolTitle = NSLocalizedString("OCR", comment: "")
  50. mode.toolSubtitle = NSLocalizedString("Recognize text from image or scanned PDF with OCR", comment: "")
  51. mode.toolImageName = "icon_pdftools_ocr"
  52. break
  53. case .ConvertPDF:
  54. mode.toolTitle = NSLocalizedString("Convert PDF", comment: "")
  55. mode.toolSubtitle = NSLocalizedString("Convert PDFs to Word/HTML/TXT/JPEG/PNG files", comment: "")
  56. mode.toolImageName = "icon_pdftools_convert"
  57. break
  58. case .ImageToPDF:
  59. mode.toolTitle = NSLocalizedString("Image To PDF", comment: "")
  60. mode.toolSubtitle = NSLocalizedString("Convert JPEG/JPG/PNG/TIFF/BMP/PSD files to PDF", comment: "")
  61. mode.toolImageName = "icon_pdftools_image"
  62. break
  63. case .MergePDF:
  64. mode.toolTitle = NSLocalizedString("Merge", comment: "")
  65. mode.toolSubtitle = NSLocalizedString("Combine multiple documents into a new PDF file", comment: "")
  66. mode.toolImageName = "icon_pdftools_merge"
  67. break
  68. case .Compression:
  69. mode.toolTitle = NSLocalizedString("Compress", comment: "")
  70. mode.toolSubtitle = NSLocalizedString("Reduce files size to make sure you can easily send them by mail", comment: "")
  71. mode.toolImageName = "icon_pdftools_compress"
  72. break
  73. case .Security:
  74. mode.toolTitle = NSLocalizedString("Security", comment: "")
  75. mode.toolSubtitle = NSLocalizedString("Limit access to PDFs, restrict copying and printing permission with passwords", comment: "")
  76. mode.toolImageName = "icon_pdftools_security"
  77. break
  78. case .FileCompare:
  79. mode.toolTitle = NSLocalizedString("Compare", comment: "")
  80. mode.toolSubtitle = NSLocalizedString("content content content content content content content content", comment: "")
  81. mode.toolImageName = "icon_pdftools_compare"
  82. break
  83. case .PDFToPPT:
  84. mode.toolTitle = NSLocalizedString("PDF To PPT", comment: "")
  85. mode.toolSubtitle = NSLocalizedString("Turn your PDF into a formatted PPT file that you can edit", comment: "")
  86. mode.toolImageName = "icon_pdftools_pdfToPPT"
  87. break
  88. case .PDFToExcel:
  89. mode.toolTitle = NSLocalizedString("PDF To Excel", comment: "")
  90. mode.toolSubtitle = NSLocalizedString("Turn PDF table into a formatted Excel file", comment: "")
  91. mode.toolImageName = "icon_pdftools_pdfToExcel"
  92. break
  93. case .PDFToWord:
  94. mode.toolTitle = NSLocalizedString("PDF To Word", comment: "")
  95. mode.toolSubtitle = NSLocalizedString("Convert PDF to Word, fonts & formatting get converted", comment: "")
  96. mode.toolImageName = "icon_pdftools_pdfToWord"
  97. break
  98. case .PDFToImage:
  99. mode.toolTitle = NSLocalizedString("PDF To Image", comment: "")
  100. mode.toolSubtitle = NSLocalizedString("Convert PDF to image, such as JPEG, JPG, PNG, GIF, TIFF, TAG,BMP", comment: "")
  101. mode.toolImageName = "icon_pdftools_pdfToImage"
  102. break
  103. case .Watermark:
  104. mode.toolTitle = NSLocalizedString("Watermark", comment: "")
  105. mode.toolSubtitle = NSLocalizedString("Protect PDFs with image/text watermarks from plagiarism", comment: "")
  106. mode.toolImageName = "icon_pdftools_watermark"
  107. break
  108. case .Background:
  109. mode.toolTitle = NSLocalizedString("Background", comment: "")
  110. mode.toolSubtitle = NSLocalizedString("Customize PDFs background with colors or images", comment: "")
  111. mode.toolImageName = "icon_pdftools_background"
  112. break
  113. case .HeaderAndFooter:
  114. mode.toolTitle = NSLocalizedString("Header & Footer", comment: "")
  115. mode.toolSubtitle = NSLocalizedString("Customize PDFs header&footer or add page number", comment: "")
  116. mode.toolImageName = "icon_pdftools_headerfooter"
  117. break
  118. case .BatesCode:
  119. mode.toolTitle = NSLocalizedString("Bates Numbers", comment: "")
  120. mode.toolSubtitle = NSLocalizedString("Easily retrieval indexing legal document by Bates Numbers", comment: "")
  121. mode.toolImageName = "icon_pdftools_batesnumbers"
  122. break
  123. case .Print:
  124. mode.toolTitle = NSLocalizedString("Print", comment: "")
  125. mode.toolSubtitle = NSLocalizedString("Powerful PDF printer allows to print PDF from any computer without much hassle", comment: "")
  126. mode.toolImageName = "icon_pdftools_print"
  127. break
  128. case .BatchRemove:
  129. mode.toolTitle = NSLocalizedString("Batch Remove", comment: "")
  130. mode.toolSubtitle = NSLocalizedString("content content content content content content content content", comment: "")
  131. mode.toolImageName = "icon_pdftools_remove"
  132. break
  133. case .Insert:
  134. mode.toolTitle = NSLocalizedString("Insert", comment: "")
  135. mode.toolSubtitle = NSLocalizedString("Insert blank pages to PDF or insert a new file", comment: "")
  136. mode.toolImageName = "icon_pdftools_insert"
  137. break
  138. case .BreakUp:
  139. mode.toolTitle = NSLocalizedString("Split", comment: "")
  140. mode.toolSubtitle = NSLocalizedString("content content content content content content content content", comment: "")
  141. mode.toolImageName = "icon_pdftools_split"
  142. break
  143. case .Extract:
  144. mode.toolTitle = NSLocalizedString("Extract", comment: "")
  145. mode.toolSubtitle = NSLocalizedString("Extract selected pages to a new PDF", comment: "")
  146. mode.toolImageName = "icon_pdftools_extract"
  147. break
  148. case .MarkCipher:
  149. mode.toolTitle = NSLocalizedString("Redact", comment: "")
  150. mode.toolSubtitle = NSLocalizedString("content content content content content content content content", comment: "")
  151. mode.toolImageName = "icon_pdftools_reduct"
  152. break
  153. case .AutomaticFormRecognition:
  154. mode.toolTitle = NSLocalizedString("Form Filed Recognition", comment: "")
  155. mode.toolSubtitle = NSLocalizedString("content content content content content content content content", comment: "")
  156. mode.toolImageName = "icon_pdftools_formfiledrecognition"
  157. break
  158. case .PageEdit:
  159. mode.toolTitle = NSLocalizedString("Page Edit", comment: "")
  160. mode.toolSubtitle = NSLocalizedString("Delete/Rotate/Copy/Paste PDF pages", comment: "")
  161. mode.toolImageName = "icon_pdftools_pageEdit"
  162. break
  163. case .ComparativeTable:
  164. break
  165. case .equity:
  166. break
  167. }
  168. return mode
  169. }
  170. }
  171. class KMFastToolCollectionViewItem: NSCollectionViewItem {
  172. @IBOutlet weak var fastToolItemBox: KMBox!
  173. @IBOutlet weak var fastToolItemImageView: NSImageView!
  174. @IBOutlet weak var fastToolIteTitleLabel: NSTextField!
  175. @IBOutlet weak var fastToolItemSubtitleLabel: NSTextField!
  176. @IBOutlet weak var fastToolItemBoxHeightConstraint: NSLayoutConstraint!
  177. @IBOutlet weak var padding_top: NSLayoutConstraint!
  178. @IBOutlet weak var padding_left: NSLayoutConstraint!
  179. // @IBOutlet weak var padding_down: NSLayoutConstraint!
  180. @IBOutlet weak var padding_right: NSLayoutConstraint!
  181. @IBOutlet weak var itemspacing_1: NSLayoutConstraint!
  182. @IBOutlet weak var itemspacing_2: NSLayoutConstraint!
  183. @IBOutlet weak var addBox: NSBox!
  184. @IBOutlet weak var addLabel: NSTextField!
  185. var horizontalPadding : Float = 16.0
  186. var horizontalPadding_hov : Float = 16.0
  187. var horizontalPadding_sel : Float = 16.0
  188. var horizontalPadding_custom : Float = 16.0
  189. var horizontalPadding_none : Float = 16.0
  190. var horizontalPadding_change : Float = 16.0
  191. var borderColor : NSColor = .clear
  192. var borderColor_hov : NSColor = .clear
  193. var borderColor_sel : NSColor = .clear
  194. var borderColor_custom : NSColor = .clear
  195. var borderColor_none : NSColor = .clear
  196. var borderColor_change : NSColor = .clear
  197. var borderRadius : Float = 8.0
  198. var borderRadius_hov : Float = 8.0
  199. var borderRadius_sel : Float = 8.0
  200. var borderRadius_custom : Float = 8.0
  201. var borderRadius_none : Float = 8.0
  202. var borderRadius_change : Float = 8.0
  203. var borderWidth : Float = 1.0
  204. var borderWidth_hov : Float = 1.0
  205. var borderWidth_sel : Float = 1.0
  206. var borderWidth_custom : Float = 1.0
  207. var borderWidth_none : Float = 1.0
  208. var borderWidth_change : Float = 1.0
  209. var itemSpacing : Float = 8.0
  210. var itemSpacing_hov : Float = 8.0
  211. var itemSpacing_sel : Float = 8.0
  212. var itemSpacing_custom : Float = 8.0
  213. var itemSpacing_none : Float = 8.0
  214. var itemSpacing_change : Float = 8.0
  215. var background : NSColor = .clear
  216. var background_hov : NSColor = .clear
  217. var background_sel : NSColor = .clear
  218. var background_custom : NSColor = .clear
  219. var background_none : NSColor = .clear
  220. var background_change : NSColor = .clear
  221. var textColor : NSColor = .black
  222. var textColor_hov : NSColor = .black
  223. var textColor_sel : NSColor = .black
  224. var textColor_custom: NSColor = .black
  225. var textColor_change: NSColor = .black
  226. var font : NSFont = NSFont.systemFont(ofSize: 14.0) // 默认 内容字体
  227. var font_hov : NSFont = NSFont.systemFont(ofSize: 14.0) // 默认 内容字体
  228. var font_sel : NSFont = NSFont.systemFont(ofSize: 14.0) // 默认 内容字体
  229. var font_custom : NSFont = NSFont.systemFont(ofSize: 14.0) // 默认 内容字体
  230. var font_change : NSFont = NSFont.systemFont(ofSize: 14.0) // 默认 内容字体
  231. var lineHeight : CGFloat = 20.0 // 默认 内容行高
  232. var lineHeight_hov : CGFloat = 20.0 // 默认 内容行高
  233. var lineHeight_sel : CGFloat = 20.0 // 默认 内容行高
  234. var lineHeight_custom : CGFloat = 20.0 // 默认 内容行高
  235. var lineHeight_change : CGFloat = 20.0 // 默认 内容行高
  236. var descTextColor : NSColor = .black
  237. var descTextColor_hov : NSColor = .black
  238. var descTextColor_sel : NSColor = .black
  239. var descTextColor_custom: NSColor = .black
  240. var descTextColor_change: NSColor = .black
  241. var descFont : NSFont = NSFont.systemFont(ofSize: 14.0) // 默认 内容字体
  242. var descFont_hov : NSFont = NSFont.systemFont(ofSize: 14.0) // 默认 内容字体
  243. var descFont_sel : NSFont = NSFont.systemFont(ofSize: 14.0) // 默认 内容字体
  244. var descFont_custom : NSFont = NSFont.systemFont(ofSize: 14.0) // 默认 内容字体
  245. var descFont_change : NSFont = NSFont.systemFont(ofSize: 14.0) // 默认 内容字体
  246. var descLineHeight : CGFloat = 6.0 // 默认 内容行高
  247. var descLineHeight_hov : CGFloat = 6.0 // 默认 内容行高
  248. var descLineHeight_sel : CGFloat = 6.0 // 默认 内容行高
  249. var descLineHeight_custom : CGFloat = 6.0 // 默认 内容行高
  250. var descLineHeight_change : CGFloat = 6.0 // 默认 内容行高
  251. var itemSpacing2 : Float = 8.0
  252. var itemSpacing2_hov : Float = 8.0
  253. var itemSpacing2_sel : Float = 8.0
  254. var itemSpacing2_custom : Float = 8.0
  255. var itemSpacing2_change : Float = 8.0
  256. var state: KMDesignTokenState = .Norm
  257. var canHover: Bool = true // 是否可悬浮
  258. var isCustomize: Bool = false
  259. // MARK: init
  260. override func viewDidLoad() {
  261. super.viewDidLoad()
  262. // Do view setup here.
  263. addBox.isHidden = true
  264. fastToolItemBox.moveCallback = { [weak self](mouseEntered: Bool, mouseBox: KMBox) -> Void in
  265. if self != nil {
  266. if mouseEntered {
  267. if self!.state != .Sel && self!.canHover {
  268. self!.state = .Hov
  269. self!.updateUI()
  270. }
  271. } else {
  272. if self!.state != .Sel && self!.canHover {
  273. self!.state = .Norm
  274. self!.updateUI()
  275. }
  276. }
  277. }
  278. }
  279. updateUI()
  280. }
  281. // MARK: private
  282. func quickToolsCollectionCellItem(type: DataNavigationViewButtonActionType) {
  283. let paragraphStyle1 = NSMutableParagraphStyle()
  284. let paragraphStyle2 = NSMutableParagraphStyle()
  285. if (state == .Norm) {
  286. paragraphStyle1.lineSpacing = lineHeight
  287. paragraphStyle2.lineSpacing = descLineHeight
  288. } else if (state == .Hov) {
  289. paragraphStyle1.lineSpacing = lineHeight_hov
  290. paragraphStyle2.lineSpacing = descLineHeight_hov
  291. } else if (state == .Sel) {
  292. paragraphStyle1.lineSpacing = lineHeight_sel
  293. paragraphStyle2.lineSpacing = descLineHeight_sel
  294. } else if (state == .Custom) {
  295. paragraphStyle1.lineSpacing = lineHeight_custom
  296. paragraphStyle2.lineSpacing = descLineHeight_custom
  297. } else if (state == .Change) {
  298. paragraphStyle1.lineSpacing = lineHeight_change
  299. paragraphStyle2.lineSpacing = descLineHeight_change
  300. }
  301. let mode: KMFastToolMode = KMFastToolMode.toolModeData(type: type)
  302. self.fastToolIteTitleLabel.attributedStringValue = NSAttributedString(string: mode.toolTitle!, attributes: [NSAttributedString.Key.paragraphStyle: paragraphStyle1])
  303. self.fastToolItemSubtitleLabel.lineBreakMode = .byTruncatingTail
  304. self.fastToolItemSubtitleLabel.cell?.truncatesLastVisibleLine = true
  305. self.fastToolItemSubtitleLabel.attributedStringValue = NSAttributedString(string: mode.toolSubtitle!, attributes: [NSAttributedString.Key.paragraphStyle: paragraphStyle2])
  306. self.fastToolItemImageView.image = NSImage(named: mode.toolImageName!)
  307. }
  308. func refreshHoverStatus(_ canHover: Bool, _ canClick: Bool) -> Void {
  309. fastToolItemBox.canHover = canHover
  310. fastToolItemBox.canClick = canClick
  311. }
  312. func refreshUIColor(_ customize: Bool) -> Void {
  313. self.isCustomize = customize
  314. if isCustomize {
  315. fastToolItemBox.isDottedLine = true
  316. fastToolItemBox.fillColor = NSColor.km_init(hex: "#F7F8FA")
  317. fastToolIteTitleLabel.textColor = NSColor.km_init(hex: "#252629")
  318. fastToolItemSubtitleLabel.textColor = NSColor.km_init(hex: "#616469")
  319. } else {
  320. fastToolItemBox.isDottedLine = false
  321. fastToolItemBox.fillColor = NSColor.km_init(hex: "#FFFFFF")
  322. fastToolIteTitleLabel.textColor = NSColor.km_init(hex: "#252629")
  323. fastToolItemSubtitleLabel.textColor = NSColor.km_init(hex: "#616469")
  324. }
  325. }
  326. func updateUI() -> Void {
  327. if (state == .Norm) {
  328. fastToolItemBox.fillColor = background
  329. fastToolItemBox.borderWidth = CGFloat(borderWidth)
  330. fastToolItemBox.borderColor = borderColor
  331. fastToolItemBox.cornerRadius = CGFloat(borderRadius)
  332. fastToolIteTitleLabel.font = font
  333. fastToolIteTitleLabel.textColor = textColor
  334. fastToolItemSubtitleLabel.font = descFont
  335. fastToolItemSubtitleLabel.textColor = descTextColor
  336. padding_top.constant = CGFloat(horizontalPadding)
  337. padding_left.constant = CGFloat(horizontalPadding)
  338. // padding_down.constant = CGFloat(horizontalPadding)
  339. padding_right.constant = CGFloat(horizontalPadding)
  340. itemspacing_1.constant = CGFloat(itemSpacing)
  341. itemspacing_2.constant = CGFloat(itemSpacing2)
  342. } else if (state == .Hov) {
  343. fastToolItemBox.fillColor = background_hov
  344. fastToolItemBox.borderWidth = CGFloat(borderWidth_hov)
  345. fastToolItemBox.borderColor = borderColor_hov
  346. fastToolItemBox.cornerRadius = CGFloat(borderRadius_hov)
  347. fastToolIteTitleLabel.font = font_hov
  348. fastToolIteTitleLabel.textColor = textColor_hov
  349. fastToolItemSubtitleLabel.font = descFont_hov
  350. fastToolItemSubtitleLabel.textColor = descTextColor_hov
  351. padding_top.constant = CGFloat(horizontalPadding_hov)
  352. padding_left.constant = CGFloat(horizontalPadding_hov)
  353. // padding_down.constant = CGFloat(horizontalPadding_hov)
  354. padding_right.constant = CGFloat(horizontalPadding_hov)
  355. itemspacing_1.constant = CGFloat(itemSpacing_hov)
  356. itemspacing_2.constant = CGFloat(itemSpacing2_hov)
  357. } else if (state == .Sel) {
  358. fastToolItemBox.fillColor = background_sel
  359. fastToolItemBox.borderWidth = CGFloat(borderWidth_sel)
  360. fastToolItemBox.borderColor = borderColor_sel
  361. fastToolItemBox.cornerRadius = CGFloat(borderRadius_sel)
  362. fastToolIteTitleLabel.font = font_sel
  363. fastToolIteTitleLabel.textColor = textColor_sel
  364. fastToolItemSubtitleLabel.font = descFont_sel
  365. fastToolItemSubtitleLabel.textColor = descTextColor_sel
  366. padding_top.constant = CGFloat(horizontalPadding_sel)
  367. padding_left.constant = CGFloat(horizontalPadding_sel)
  368. // padding_down.constant = CGFloat(horizontalPadding_sel)
  369. padding_right.constant = CGFloat(horizontalPadding_sel)
  370. itemspacing_1.constant = CGFloat(itemSpacing_sel)
  371. itemspacing_2.constant = CGFloat(itemSpacing2_sel)
  372. } else if (state == .Custom) {
  373. fastToolItemBox.fillColor = background_custom
  374. fastToolItemBox.borderWidth = CGFloat(borderWidth_custom)
  375. fastToolItemBox.borderColor = borderColor_custom
  376. fastToolItemBox.cornerRadius = CGFloat(borderRadius_custom)
  377. fastToolIteTitleLabel.font = font_custom
  378. fastToolIteTitleLabel.textColor = textColor_custom
  379. fastToolItemSubtitleLabel.font = descFont_custom
  380. fastToolItemSubtitleLabel.textColor = descTextColor_custom
  381. padding_top.constant = CGFloat(horizontalPadding_custom)
  382. padding_left.constant = CGFloat(horizontalPadding_custom)
  383. // padding_down.constant = CGFloat(horizontalPadding_custom)
  384. padding_right.constant = CGFloat(horizontalPadding_custom)
  385. itemspacing_1.constant = CGFloat(itemSpacing_custom)
  386. itemspacing_2.constant = CGFloat(itemSpacing2_custom)
  387. } else if (state == .None) {
  388. fastToolItemBox.fillColor = background_none
  389. fastToolItemBox.borderWidth = CGFloat(borderWidth_none)
  390. fastToolItemBox.borderColor = borderColor_none
  391. fastToolItemBox.cornerRadius = CGFloat(borderRadius_none)
  392. padding_top.constant = CGFloat(horizontalPadding_none)
  393. padding_left.constant = CGFloat(horizontalPadding_none)
  394. // padding_down.constant = CGFloat(horizontalPadding_none)
  395. padding_right.constant = CGFloat(horizontalPadding_none)
  396. itemspacing_1.constant = CGFloat(itemSpacing_none)
  397. } else if (state == .Change) {
  398. fastToolItemBox.fillColor = background_change
  399. fastToolItemBox.borderWidth = CGFloat(borderWidth_change)
  400. fastToolItemBox.borderColor = borderColor_change
  401. fastToolItemBox.cornerRadius = CGFloat(borderRadius_change)
  402. fastToolIteTitleLabel.font = font_change
  403. fastToolIteTitleLabel.textColor = textColor_change
  404. fastToolItemSubtitleLabel.font = descFont_change
  405. fastToolItemSubtitleLabel.textColor = descTextColor_change
  406. padding_top.constant = CGFloat(horizontalPadding_change)
  407. padding_left.constant = CGFloat(horizontalPadding_change)
  408. // 吧 padding_right.constant = CGFloat(horizontalPadding_change)
  409. itemspacing_1.constant = CGFloat(itemSpacing_change)
  410. itemspacing_2.constant = CGFloat(itemSpacing2_change)
  411. }
  412. }
  413. }