@emailmaker/filemanager 0.10.102 → 1.1.69

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 (804) hide show
  1. package/.build-meta.json +5 -0
  2. package/adapters/systemFolderPath.d.ts +1 -1
  3. package/assets/image-editor/images/brushes/black/circle.png +0 -0
  4. package/assets/image-editor/images/brushes/black/diamond.png +0 -0
  5. package/assets/image-editor/images/brushes/black/hline.png +0 -0
  6. package/assets/image-editor/images/brushes/black/pencil.png +0 -0
  7. package/assets/image-editor/images/brushes/black/spray.png +0 -0
  8. package/assets/image-editor/images/brushes/black/square.png +0 -0
  9. package/assets/image-editor/images/brushes/black/vline.png +0 -0
  10. package/assets/image-editor/images/brushes/white/circle.png +0 -0
  11. package/assets/image-editor/images/brushes/white/diamond.png +0 -0
  12. package/assets/image-editor/images/brushes/white/hline.png +0 -0
  13. package/assets/image-editor/images/brushes/white/pencil.png +0 -0
  14. package/assets/image-editor/images/brushes/white/spray.png +0 -0
  15. package/assets/image-editor/images/brushes/white/square.png +0 -0
  16. package/assets/image-editor/images/brushes/white/vline.png +0 -0
  17. package/assets/image-editor/images/filter/blackWhite.jpg +0 -0
  18. package/assets/image-editor/images/filter/blendColor.jpg +0 -0
  19. package/assets/image-editor/images/filter/blur.jpg +0 -0
  20. package/assets/image-editor/images/filter/brightness.jpg +0 -0
  21. package/assets/image-editor/images/filter/brownie.jpg +0 -0
  22. package/assets/image-editor/images/filter/emboss.jpg +0 -0
  23. package/assets/image-editor/images/filter/gamma.jpg +0 -0
  24. package/assets/image-editor/images/filter/grayscale.jpg +0 -0
  25. package/assets/image-editor/images/filter/invert.jpg +0 -0
  26. package/assets/image-editor/images/filter/kodachrome.jpg +0 -0
  27. package/assets/image-editor/images/filter/noise.jpg +0 -0
  28. package/assets/image-editor/images/filter/original.jpg +0 -0
  29. package/assets/image-editor/images/filter/pixelate.jpg +0 -0
  30. package/assets/image-editor/images/filter/polaroid.jpg +0 -0
  31. package/assets/image-editor/images/filter/removeColor.jpg +0 -0
  32. package/assets/image-editor/images/filter/sepia.jpg +0 -0
  33. package/assets/image-editor/images/filter/sharpen.jpg +0 -0
  34. package/assets/image-editor/images/filter/technicolor.jpg +0 -0
  35. package/assets/image-editor/images/filter/vintage.jpg +0 -0
  36. package/assets/image-editor/images/frames/art1/bottom.png +0 -0
  37. package/assets/image-editor/images/frames/art1/bottomLeft.png +0 -0
  38. package/assets/image-editor/images/frames/art1/bottomRight.png +0 -0
  39. package/assets/image-editor/images/frames/art1/left.png +0 -0
  40. package/assets/image-editor/images/frames/art1/right.png +0 -0
  41. package/assets/image-editor/images/frames/art1/thumbnail.png +0 -0
  42. package/assets/image-editor/images/frames/art1/top.png +0 -0
  43. package/assets/image-editor/images/frames/art1/topLeft.png +0 -0
  44. package/assets/image-editor/images/frames/art1/topRight.png +0 -0
  45. package/assets/image-editor/images/frames/art2/bottom.png +0 -0
  46. package/assets/image-editor/images/frames/art2/bottomLeft.png +0 -0
  47. package/assets/image-editor/images/frames/art2/bottomRight.png +0 -0
  48. package/assets/image-editor/images/frames/art2/left.png +0 -0
  49. package/assets/image-editor/images/frames/art2/right.png +0 -0
  50. package/assets/image-editor/images/frames/art2/thumbnail.png +0 -0
  51. package/assets/image-editor/images/frames/art2/top.png +0 -0
  52. package/assets/image-editor/images/frames/art2/topLeft.png +0 -0
  53. package/assets/image-editor/images/frames/art2/topRight.png +0 -0
  54. package/assets/image-editor/images/frames/basic/thumbnail.png +0 -0
  55. package/assets/image-editor/images/frames/ebony/bottom.png +0 -0
  56. package/assets/image-editor/images/frames/ebony/bottomLeft.png +0 -0
  57. package/assets/image-editor/images/frames/ebony/bottomRight.png +0 -0
  58. package/assets/image-editor/images/frames/ebony/left.png +0 -0
  59. package/assets/image-editor/images/frames/ebony/right.png +0 -0
  60. package/assets/image-editor/images/frames/ebony/thumbnail.png +0 -0
  61. package/assets/image-editor/images/frames/ebony/top.png +0 -0
  62. package/assets/image-editor/images/frames/ebony/topLeft.png +0 -0
  63. package/assets/image-editor/images/frames/ebony/topRight.png +0 -0
  64. package/assets/image-editor/images/frames/grunge1/bottom.png +0 -0
  65. package/assets/image-editor/images/frames/grunge1/bottomLeft.png +0 -0
  66. package/assets/image-editor/images/frames/grunge1/bottomRight.png +0 -0
  67. package/assets/image-editor/images/frames/grunge1/left.png +0 -0
  68. package/assets/image-editor/images/frames/grunge1/right.png +0 -0
  69. package/assets/image-editor/images/frames/grunge1/thumbnail.png +0 -0
  70. package/assets/image-editor/images/frames/grunge1/top.png +0 -0
  71. package/assets/image-editor/images/frames/grunge1/topLeft.png +0 -0
  72. package/assets/image-editor/images/frames/grunge1/topRight.png +0 -0
  73. package/assets/image-editor/images/frames/grunge2/bottom.png +0 -0
  74. package/assets/image-editor/images/frames/grunge2/bottomLeft.png +0 -0
  75. package/assets/image-editor/images/frames/grunge2/bottomRight.png +0 -0
  76. package/assets/image-editor/images/frames/grunge2/left.png +0 -0
  77. package/assets/image-editor/images/frames/grunge2/right.png +0 -0
  78. package/assets/image-editor/images/frames/grunge2/thumbnail.png +0 -0
  79. package/assets/image-editor/images/frames/grunge2/top.png +0 -0
  80. package/assets/image-editor/images/frames/grunge2/topLeft.png +0 -0
  81. package/assets/image-editor/images/frames/grunge2/topRight.png +0 -0
  82. package/assets/image-editor/images/frames/oak/bottom.png +0 -0
  83. package/assets/image-editor/images/frames/oak/bottomLeft.png +0 -0
  84. package/assets/image-editor/images/frames/oak/bottomRight.png +0 -0
  85. package/assets/image-editor/images/frames/oak/left.png +0 -0
  86. package/assets/image-editor/images/frames/oak/right.png +0 -0
  87. package/assets/image-editor/images/frames/oak/thumbnail.png +0 -0
  88. package/assets/image-editor/images/frames/oak/top.png +0 -0
  89. package/assets/image-editor/images/frames/oak/topLeft.png +0 -0
  90. package/assets/image-editor/images/frames/oak/topRight.png +0 -0
  91. package/assets/image-editor/images/frames/pine/bottom.png +0 -0
  92. package/assets/image-editor/images/frames/pine/bottomLeft.png +0 -0
  93. package/assets/image-editor/images/frames/pine/bottomRight.png +0 -0
  94. package/assets/image-editor/images/frames/pine/left.png +0 -0
  95. package/assets/image-editor/images/frames/pine/right.png +0 -0
  96. package/assets/image-editor/images/frames/pine/thumbnail.png +0 -0
  97. package/assets/image-editor/images/frames/pine/top.png +0 -0
  98. package/assets/image-editor/images/frames/pine/topLeft.png +0 -0
  99. package/assets/image-editor/images/frames/pine/topRight.png +0 -0
  100. package/assets/image-editor/images/frames/rainbow/bottom.png +0 -0
  101. package/assets/image-editor/images/frames/rainbow/bottomLeft.png +0 -0
  102. package/assets/image-editor/images/frames/rainbow/bottomRight.png +0 -0
  103. package/assets/image-editor/images/frames/rainbow/left.png +0 -0
  104. package/assets/image-editor/images/frames/rainbow/right.png +0 -0
  105. package/assets/image-editor/images/frames/rainbow/thumbnail.png +0 -0
  106. package/assets/image-editor/images/frames/rainbow/top.png +0 -0
  107. package/assets/image-editor/images/frames/rainbow/topLeft.png +0 -0
  108. package/assets/image-editor/images/frames/rainbow/topRight.png +0 -0
  109. package/assets/image-editor/images/gradients/0.png +0 -0
  110. package/assets/image-editor/images/gradients/1.png +0 -0
  111. package/assets/image-editor/images/gradients/10.png +0 -0
  112. package/assets/image-editor/images/gradients/11.png +0 -0
  113. package/assets/image-editor/images/gradients/12.png +0 -0
  114. package/assets/image-editor/images/gradients/2.png +0 -0
  115. package/assets/image-editor/images/gradients/3.png +0 -0
  116. package/assets/image-editor/images/gradients/4.png +0 -0
  117. package/assets/image-editor/images/gradients/5.png +0 -0
  118. package/assets/image-editor/images/gradients/6.png +0 -0
  119. package/assets/image-editor/images/gradients/7.png +0 -0
  120. package/assets/image-editor/images/gradients/8.png +0 -0
  121. package/assets/image-editor/images/gradients/9.png +0 -0
  122. package/assets/image-editor/images/samples/sample1.jpg +0 -0
  123. package/assets/image-editor/images/samples/sample1_thumbnail.jpg +0 -0
  124. package/assets/image-editor/images/samples/sample2.jpg +0 -0
  125. package/assets/image-editor/images/samples/sample2_thumbnail.jpg +0 -0
  126. package/assets/image-editor/images/samples/sample3.jpg +0 -0
  127. package/assets/image-editor/images/samples/sample3_thumbnail.jpg +0 -0
  128. package/assets/image-editor/images/samples/sample4.json +871 -871
  129. package/assets/image-editor/images/stickers/beach/0.svg +25 -25
  130. package/assets/image-editor/images/stickers/beach/1.svg +14 -14
  131. package/assets/image-editor/images/stickers/beach/10.svg +34 -34
  132. package/assets/image-editor/images/stickers/beach/11.svg +27 -27
  133. package/assets/image-editor/images/stickers/beach/12.svg +10 -10
  134. package/assets/image-editor/images/stickers/beach/13.svg +25 -25
  135. package/assets/image-editor/images/stickers/beach/14.svg +16 -16
  136. package/assets/image-editor/images/stickers/beach/15.svg +14 -14
  137. package/assets/image-editor/images/stickers/beach/16.svg +44 -44
  138. package/assets/image-editor/images/stickers/beach/17.svg +35 -35
  139. package/assets/image-editor/images/stickers/beach/18.svg +32 -32
  140. package/assets/image-editor/images/stickers/beach/19.svg +23 -23
  141. package/assets/image-editor/images/stickers/beach/2.svg +14 -14
  142. package/assets/image-editor/images/stickers/beach/20.svg +24 -24
  143. package/assets/image-editor/images/stickers/beach/21.svg +11 -11
  144. package/assets/image-editor/images/stickers/beach/3.svg +26 -26
  145. package/assets/image-editor/images/stickers/beach/4.svg +25 -25
  146. package/assets/image-editor/images/stickers/beach/5.svg +22 -22
  147. package/assets/image-editor/images/stickers/beach/6.svg +20 -20
  148. package/assets/image-editor/images/stickers/beach/7.svg +32 -32
  149. package/assets/image-editor/images/stickers/beach/8.svg +28 -28
  150. package/assets/image-editor/images/stickers/beach/9.svg +18 -18
  151. package/assets/image-editor/images/stickers/bubbles/0.png +0 -0
  152. package/assets/image-editor/images/stickers/bubbles/1.png +0 -0
  153. package/assets/image-editor/images/stickers/bubbles/10.png +0 -0
  154. package/assets/image-editor/images/stickers/bubbles/100.png +0 -0
  155. package/assets/image-editor/images/stickers/bubbles/101.png +0 -0
  156. package/assets/image-editor/images/stickers/bubbles/102.png +0 -0
  157. package/assets/image-editor/images/stickers/bubbles/103.png +0 -0
  158. package/assets/image-editor/images/stickers/bubbles/105.png +0 -0
  159. package/assets/image-editor/images/stickers/bubbles/11.png +0 -0
  160. package/assets/image-editor/images/stickers/bubbles/12.png +0 -0
  161. package/assets/image-editor/images/stickers/bubbles/13.png +0 -0
  162. package/assets/image-editor/images/stickers/bubbles/14.png +0 -0
  163. package/assets/image-editor/images/stickers/bubbles/15.png +0 -0
  164. package/assets/image-editor/images/stickers/bubbles/16.png +0 -0
  165. package/assets/image-editor/images/stickers/bubbles/17.png +0 -0
  166. package/assets/image-editor/images/stickers/bubbles/18.png +0 -0
  167. package/assets/image-editor/images/stickers/bubbles/19.png +0 -0
  168. package/assets/image-editor/images/stickers/bubbles/2.png +0 -0
  169. package/assets/image-editor/images/stickers/bubbles/20.png +0 -0
  170. package/assets/image-editor/images/stickers/bubbles/21.png +0 -0
  171. package/assets/image-editor/images/stickers/bubbles/22.png +0 -0
  172. package/assets/image-editor/images/stickers/bubbles/23.png +0 -0
  173. package/assets/image-editor/images/stickers/bubbles/24.png +0 -0
  174. package/assets/image-editor/images/stickers/bubbles/25.png +0 -0
  175. package/assets/image-editor/images/stickers/bubbles/26.png +0 -0
  176. package/assets/image-editor/images/stickers/bubbles/27.png +0 -0
  177. package/assets/image-editor/images/stickers/bubbles/28.png +0 -0
  178. package/assets/image-editor/images/stickers/bubbles/29.png +0 -0
  179. package/assets/image-editor/images/stickers/bubbles/3.png +0 -0
  180. package/assets/image-editor/images/stickers/bubbles/30.png +0 -0
  181. package/assets/image-editor/images/stickers/bubbles/31.png +0 -0
  182. package/assets/image-editor/images/stickers/bubbles/32.png +0 -0
  183. package/assets/image-editor/images/stickers/bubbles/33.png +0 -0
  184. package/assets/image-editor/images/stickers/bubbles/34.png +0 -0
  185. package/assets/image-editor/images/stickers/bubbles/35.png +0 -0
  186. package/assets/image-editor/images/stickers/bubbles/36.png +0 -0
  187. package/assets/image-editor/images/stickers/bubbles/37.png +0 -0
  188. package/assets/image-editor/images/stickers/bubbles/38.png +0 -0
  189. package/assets/image-editor/images/stickers/bubbles/39.png +0 -0
  190. package/assets/image-editor/images/stickers/bubbles/4.png +0 -0
  191. package/assets/image-editor/images/stickers/bubbles/40.png +0 -0
  192. package/assets/image-editor/images/stickers/bubbles/41.png +0 -0
  193. package/assets/image-editor/images/stickers/bubbles/42.png +0 -0
  194. package/assets/image-editor/images/stickers/bubbles/43.png +0 -0
  195. package/assets/image-editor/images/stickers/bubbles/44.png +0 -0
  196. package/assets/image-editor/images/stickers/bubbles/45.png +0 -0
  197. package/assets/image-editor/images/stickers/bubbles/46.png +0 -0
  198. package/assets/image-editor/images/stickers/bubbles/47.png +0 -0
  199. package/assets/image-editor/images/stickers/bubbles/48.png +0 -0
  200. package/assets/image-editor/images/stickers/bubbles/49.png +0 -0
  201. package/assets/image-editor/images/stickers/bubbles/5.png +0 -0
  202. package/assets/image-editor/images/stickers/bubbles/50.png +0 -0
  203. package/assets/image-editor/images/stickers/bubbles/51.png +0 -0
  204. package/assets/image-editor/images/stickers/bubbles/52.png +0 -0
  205. package/assets/image-editor/images/stickers/bubbles/53.png +0 -0
  206. package/assets/image-editor/images/stickers/bubbles/54.png +0 -0
  207. package/assets/image-editor/images/stickers/bubbles/55.png +0 -0
  208. package/assets/image-editor/images/stickers/bubbles/56.png +0 -0
  209. package/assets/image-editor/images/stickers/bubbles/57.png +0 -0
  210. package/assets/image-editor/images/stickers/bubbles/58.png +0 -0
  211. package/assets/image-editor/images/stickers/bubbles/59.png +0 -0
  212. package/assets/image-editor/images/stickers/bubbles/6.png +0 -0
  213. package/assets/image-editor/images/stickers/bubbles/60.png +0 -0
  214. package/assets/image-editor/images/stickers/bubbles/61.png +0 -0
  215. package/assets/image-editor/images/stickers/bubbles/62.png +0 -0
  216. package/assets/image-editor/images/stickers/bubbles/63.png +0 -0
  217. package/assets/image-editor/images/stickers/bubbles/64.png +0 -0
  218. package/assets/image-editor/images/stickers/bubbles/65.png +0 -0
  219. package/assets/image-editor/images/stickers/bubbles/66.png +0 -0
  220. package/assets/image-editor/images/stickers/bubbles/67.png +0 -0
  221. package/assets/image-editor/images/stickers/bubbles/68.png +0 -0
  222. package/assets/image-editor/images/stickers/bubbles/69.png +0 -0
  223. package/assets/image-editor/images/stickers/bubbles/7.png +0 -0
  224. package/assets/image-editor/images/stickers/bubbles/70.png +0 -0
  225. package/assets/image-editor/images/stickers/bubbles/71.png +0 -0
  226. package/assets/image-editor/images/stickers/bubbles/72.png +0 -0
  227. package/assets/image-editor/images/stickers/bubbles/73.png +0 -0
  228. package/assets/image-editor/images/stickers/bubbles/74.png +0 -0
  229. package/assets/image-editor/images/stickers/bubbles/75.png +0 -0
  230. package/assets/image-editor/images/stickers/bubbles/76.png +0 -0
  231. package/assets/image-editor/images/stickers/bubbles/77.png +0 -0
  232. package/assets/image-editor/images/stickers/bubbles/78.png +0 -0
  233. package/assets/image-editor/images/stickers/bubbles/79.png +0 -0
  234. package/assets/image-editor/images/stickers/bubbles/8.png +0 -0
  235. package/assets/image-editor/images/stickers/bubbles/80.png +0 -0
  236. package/assets/image-editor/images/stickers/bubbles/81.png +0 -0
  237. package/assets/image-editor/images/stickers/bubbles/82.png +0 -0
  238. package/assets/image-editor/images/stickers/bubbles/83.png +0 -0
  239. package/assets/image-editor/images/stickers/bubbles/84.png +0 -0
  240. package/assets/image-editor/images/stickers/bubbles/85.png +0 -0
  241. package/assets/image-editor/images/stickers/bubbles/86.png +0 -0
  242. package/assets/image-editor/images/stickers/bubbles/87.png +0 -0
  243. package/assets/image-editor/images/stickers/bubbles/88.png +0 -0
  244. package/assets/image-editor/images/stickers/bubbles/89.png +0 -0
  245. package/assets/image-editor/images/stickers/bubbles/9.png +0 -0
  246. package/assets/image-editor/images/stickers/bubbles/90.png +0 -0
  247. package/assets/image-editor/images/stickers/bubbles/91.png +0 -0
  248. package/assets/image-editor/images/stickers/bubbles/92.png +0 -0
  249. package/assets/image-editor/images/stickers/bubbles/93.png +0 -0
  250. package/assets/image-editor/images/stickers/bubbles/94.png +0 -0
  251. package/assets/image-editor/images/stickers/bubbles/95.png +0 -0
  252. package/assets/image-editor/images/stickers/bubbles/96.png +0 -0
  253. package/assets/image-editor/images/stickers/bubbles/97.png +0 -0
  254. package/assets/image-editor/images/stickers/bubbles/98.png +0 -0
  255. package/assets/image-editor/images/stickers/bubbles/99.png +0 -0
  256. package/assets/image-editor/images/stickers/categories/beach.svg +17 -17
  257. package/assets/image-editor/images/stickers/categories/clouds.svg +14 -14
  258. package/assets/image-editor/images/stickers/categories/doodles.svg +12 -12
  259. package/assets/image-editor/images/stickers/categories/emoticon.svg +9 -9
  260. package/assets/image-editor/images/stickers/categories/landmark.svg +19 -19
  261. package/assets/image-editor/images/stickers/categories/speech-bubble.svg +5 -5
  262. package/assets/image-editor/images/stickers/categories/star.svg +5 -5
  263. package/assets/image-editor/images/stickers/categories/transportation.svg +17 -17
  264. package/assets/image-editor/images/stickers/clouds/0.png +0 -0
  265. package/assets/image-editor/images/stickers/clouds/1.png +0 -0
  266. package/assets/image-editor/images/stickers/clouds/10.png +0 -0
  267. package/assets/image-editor/images/stickers/clouds/11.png +0 -0
  268. package/assets/image-editor/images/stickers/clouds/12.png +0 -0
  269. package/assets/image-editor/images/stickers/clouds/13.png +0 -0
  270. package/assets/image-editor/images/stickers/clouds/14.png +0 -0
  271. package/assets/image-editor/images/stickers/clouds/2.png +0 -0
  272. package/assets/image-editor/images/stickers/clouds/3.png +0 -0
  273. package/assets/image-editor/images/stickers/clouds/4.png +0 -0
  274. package/assets/image-editor/images/stickers/clouds/5.png +0 -0
  275. package/assets/image-editor/images/stickers/clouds/6.png +0 -0
  276. package/assets/image-editor/images/stickers/clouds/7.png +0 -0
  277. package/assets/image-editor/images/stickers/clouds/8.png +0 -0
  278. package/assets/image-editor/images/stickers/clouds/9.png +0 -0
  279. package/assets/image-editor/images/stickers/doodles/0.svg +201 -201
  280. package/assets/image-editor/images/stickers/doodles/1.svg +255 -255
  281. package/assets/image-editor/images/stickers/doodles/10.svg +160 -160
  282. package/assets/image-editor/images/stickers/doodles/11.svg +393 -393
  283. package/assets/image-editor/images/stickers/doodles/12.svg +293 -293
  284. package/assets/image-editor/images/stickers/doodles/13.svg +251 -251
  285. package/assets/image-editor/images/stickers/doodles/14.svg +370 -370
  286. package/assets/image-editor/images/stickers/doodles/15.svg +194 -194
  287. package/assets/image-editor/images/stickers/doodles/16.svg +383 -383
  288. package/assets/image-editor/images/stickers/doodles/17.svg +346 -346
  289. package/assets/image-editor/images/stickers/doodles/18.svg +286 -286
  290. package/assets/image-editor/images/stickers/doodles/19.svg +241 -241
  291. package/assets/image-editor/images/stickers/doodles/2.svg +227 -227
  292. package/assets/image-editor/images/stickers/doodles/20.svg +330 -330
  293. package/assets/image-editor/images/stickers/doodles/21.svg +200 -200
  294. package/assets/image-editor/images/stickers/doodles/22.svg +308 -308
  295. package/assets/image-editor/images/stickers/doodles/23.svg +518 -518
  296. package/assets/image-editor/images/stickers/doodles/24.svg +207 -207
  297. package/assets/image-editor/images/stickers/doodles/25.svg +260 -260
  298. package/assets/image-editor/images/stickers/doodles/26.svg +380 -380
  299. package/assets/image-editor/images/stickers/doodles/27.svg +222 -222
  300. package/assets/image-editor/images/stickers/doodles/28.svg +164 -164
  301. package/assets/image-editor/images/stickers/doodles/29.svg +271 -271
  302. package/assets/image-editor/images/stickers/doodles/3.svg +272 -272
  303. package/assets/image-editor/images/stickers/doodles/30.svg +283 -283
  304. package/assets/image-editor/images/stickers/doodles/31.svg +257 -257
  305. package/assets/image-editor/images/stickers/doodles/32.svg +276 -276
  306. package/assets/image-editor/images/stickers/doodles/33.svg +198 -198
  307. package/assets/image-editor/images/stickers/doodles/34.svg +314 -314
  308. package/assets/image-editor/images/stickers/doodles/35.svg +236 -236
  309. package/assets/image-editor/images/stickers/doodles/36.svg +273 -273
  310. package/assets/image-editor/images/stickers/doodles/37.svg +284 -284
  311. package/assets/image-editor/images/stickers/doodles/38.svg +167 -167
  312. package/assets/image-editor/images/stickers/doodles/39.svg +381 -381
  313. package/assets/image-editor/images/stickers/doodles/4.svg +216 -216
  314. package/assets/image-editor/images/stickers/doodles/40.svg +198 -198
  315. package/assets/image-editor/images/stickers/doodles/41.svg +259 -259
  316. package/assets/image-editor/images/stickers/doodles/42.svg +371 -371
  317. package/assets/image-editor/images/stickers/doodles/43.svg +198 -198
  318. package/assets/image-editor/images/stickers/doodles/44.svg +174 -174
  319. package/assets/image-editor/images/stickers/doodles/45.svg +178 -178
  320. package/assets/image-editor/images/stickers/doodles/46.svg +211 -211
  321. package/assets/image-editor/images/stickers/doodles/47.svg +195 -195
  322. package/assets/image-editor/images/stickers/doodles/48.svg +293 -293
  323. package/assets/image-editor/images/stickers/doodles/49.svg +191 -191
  324. package/assets/image-editor/images/stickers/doodles/5.svg +179 -179
  325. package/assets/image-editor/images/stickers/doodles/50.svg +323 -323
  326. package/assets/image-editor/images/stickers/doodles/51.svg +308 -308
  327. package/assets/image-editor/images/stickers/doodles/52.svg +162 -162
  328. package/assets/image-editor/images/stickers/doodles/53.svg +263 -263
  329. package/assets/image-editor/images/stickers/doodles/54.svg +175 -175
  330. package/assets/image-editor/images/stickers/doodles/55.svg +177 -177
  331. package/assets/image-editor/images/stickers/doodles/56.svg +160 -160
  332. package/assets/image-editor/images/stickers/doodles/57.svg +115 -115
  333. package/assets/image-editor/images/stickers/doodles/58.svg +327 -327
  334. package/assets/image-editor/images/stickers/doodles/59.svg +197 -197
  335. package/assets/image-editor/images/stickers/doodles/6.svg +388 -388
  336. package/assets/image-editor/images/stickers/doodles/60.svg +414 -414
  337. package/assets/image-editor/images/stickers/doodles/61.svg +287 -287
  338. package/assets/image-editor/images/stickers/doodles/62.svg +193 -193
  339. package/assets/image-editor/images/stickers/doodles/63.svg +329 -329
  340. package/assets/image-editor/images/stickers/doodles/64.svg +150 -150
  341. package/assets/image-editor/images/stickers/doodles/65.svg +275 -275
  342. package/assets/image-editor/images/stickers/doodles/66.svg +174 -174
  343. package/assets/image-editor/images/stickers/doodles/67.svg +343 -343
  344. package/assets/image-editor/images/stickers/doodles/68.svg +242 -242
  345. package/assets/image-editor/images/stickers/doodles/69.svg +160 -160
  346. package/assets/image-editor/images/stickers/doodles/7.svg +194 -194
  347. package/assets/image-editor/images/stickers/doodles/70.svg +365 -365
  348. package/assets/image-editor/images/stickers/doodles/71.svg +454 -454
  349. package/assets/image-editor/images/stickers/doodles/72.svg +162 -162
  350. package/assets/image-editor/images/stickers/doodles/73.svg +393 -393
  351. package/assets/image-editor/images/stickers/doodles/74.svg +206 -206
  352. package/assets/image-editor/images/stickers/doodles/75.svg +275 -275
  353. package/assets/image-editor/images/stickers/doodles/76.svg +350 -350
  354. package/assets/image-editor/images/stickers/doodles/77.svg +323 -323
  355. package/assets/image-editor/images/stickers/doodles/78.svg +316 -316
  356. package/assets/image-editor/images/stickers/doodles/79.svg +503 -503
  357. package/assets/image-editor/images/stickers/doodles/8.svg +185 -185
  358. package/assets/image-editor/images/stickers/doodles/80.svg +235 -235
  359. package/assets/image-editor/images/stickers/doodles/81.svg +184 -184
  360. package/assets/image-editor/images/stickers/doodles/82.svg +246 -246
  361. package/assets/image-editor/images/stickers/doodles/83.svg +125 -125
  362. package/assets/image-editor/images/stickers/doodles/84.svg +168 -168
  363. package/assets/image-editor/images/stickers/doodles/85.svg +138 -138
  364. package/assets/image-editor/images/stickers/doodles/86.svg +223 -223
  365. package/assets/image-editor/images/stickers/doodles/87.svg +475 -475
  366. package/assets/image-editor/images/stickers/doodles/88.svg +172 -172
  367. package/assets/image-editor/images/stickers/doodles/89.svg +199 -199
  368. package/assets/image-editor/images/stickers/doodles/9.svg +368 -368
  369. package/assets/image-editor/images/stickers/doodles/90.svg +298 -298
  370. package/assets/image-editor/images/stickers/doodles/91.svg +176 -176
  371. package/assets/image-editor/images/stickers/doodles/92.svg +152 -152
  372. package/assets/image-editor/images/stickers/doodles/93.svg +206 -206
  373. package/assets/image-editor/images/stickers/doodles/94.svg +202 -202
  374. package/assets/image-editor/images/stickers/doodles/95.svg +114 -114
  375. package/assets/image-editor/images/stickers/doodles/96.svg +149 -149
  376. package/assets/image-editor/images/stickers/doodles/97.svg +197 -197
  377. package/assets/image-editor/images/stickers/doodles/98.svg +397 -397
  378. package/assets/image-editor/images/stickers/doodles/99.svg +502 -502
  379. package/assets/image-editor/images/stickers/emoticons/afro-1.svg +122 -122
  380. package/assets/image-editor/images/stickers/emoticons/afro.svg +85 -85
  381. package/assets/image-editor/images/stickers/emoticons/agent.svg +114 -114
  382. package/assets/image-editor/images/stickers/emoticons/alien-1.svg +60 -60
  383. package/assets/image-editor/images/stickers/emoticons/alien.svg +64 -64
  384. package/assets/image-editor/images/stickers/emoticons/angel.svg +47 -47
  385. package/assets/image-editor/images/stickers/emoticons/angry-1.svg +83 -83
  386. package/assets/image-editor/images/stickers/emoticons/angry-2.svg +48 -48
  387. package/assets/image-editor/images/stickers/emoticons/angry-3.svg +45 -45
  388. package/assets/image-editor/images/stickers/emoticons/angry-4.svg +52 -52
  389. package/assets/image-editor/images/stickers/emoticons/angry-5.svg +62 -62
  390. package/assets/image-editor/images/stickers/emoticons/angry.svg +78 -78
  391. package/assets/image-editor/images/stickers/emoticons/arguing.svg +49 -49
  392. package/assets/image-editor/images/stickers/emoticons/arrogant.svg +98 -98
  393. package/assets/image-editor/images/stickers/emoticons/asian-1.svg +52 -52
  394. package/assets/image-editor/images/stickers/emoticons/asian.svg +54 -54
  395. package/assets/image-editor/images/stickers/emoticons/avatar.svg +49 -49
  396. package/assets/image-editor/images/stickers/emoticons/baby-1.svg +51 -51
  397. package/assets/image-editor/images/stickers/emoticons/baby-2.svg +54 -54
  398. package/assets/image-editor/images/stickers/emoticons/baby.svg +66 -66
  399. package/assets/image-editor/images/stickers/emoticons/bully.svg +68 -68
  400. package/assets/image-editor/images/stickers/emoticons/burglar.svg +75 -75
  401. package/assets/image-editor/images/stickers/emoticons/businessman.svg +52 -52
  402. package/assets/image-editor/images/stickers/emoticons/cheeky-1.svg +83 -83
  403. package/assets/image-editor/images/stickers/emoticons/cheeky.svg +73 -73
  404. package/assets/image-editor/images/stickers/emoticons/clown.svg +75 -75
  405. package/assets/image-editor/images/stickers/emoticons/confused-1.svg +74 -74
  406. package/assets/image-editor/images/stickers/emoticons/confused-2.svg +55 -55
  407. package/assets/image-editor/images/stickers/emoticons/confused-3.svg +45 -45
  408. package/assets/image-editor/images/stickers/emoticons/confused.svg +66 -66
  409. package/assets/image-editor/images/stickers/emoticons/creepy.svg +60 -60
  410. package/assets/image-editor/images/stickers/emoticons/crying-1.svg +55 -55
  411. package/assets/image-editor/images/stickers/emoticons/crying-2.svg +83 -83
  412. package/assets/image-editor/images/stickers/emoticons/crying-3.svg +53 -53
  413. package/assets/image-editor/images/stickers/emoticons/crying.svg +59 -59
  414. package/assets/image-editor/images/stickers/emoticons/dazed-1.svg +63 -63
  415. package/assets/image-editor/images/stickers/emoticons/dazed-2.svg +51 -51
  416. package/assets/image-editor/images/stickers/emoticons/dazed-3.svg +55 -55
  417. package/assets/image-editor/images/stickers/emoticons/dazed.svg +56 -56
  418. package/assets/image-editor/images/stickers/emoticons/dead-1.svg +61 -61
  419. package/assets/image-editor/images/stickers/emoticons/dead-2.svg +80 -80
  420. package/assets/image-editor/images/stickers/emoticons/dead-3.svg +66 -66
  421. package/assets/image-editor/images/stickers/emoticons/dead-4.svg +54 -54
  422. package/assets/image-editor/images/stickers/emoticons/dead-5.svg +52 -52
  423. package/assets/image-editor/images/stickers/emoticons/dead-6.svg +53 -53
  424. package/assets/image-editor/images/stickers/emoticons/dead.svg +54 -54
  425. package/assets/image-editor/images/stickers/emoticons/desperate-1.svg +47 -47
  426. package/assets/image-editor/images/stickers/emoticons/desperate.svg +75 -75
  427. package/assets/image-editor/images/stickers/emoticons/detective.svg +75 -75
  428. package/assets/image-editor/images/stickers/emoticons/dissapointment.svg +70 -70
  429. package/assets/image-editor/images/stickers/emoticons/doctor.svg +61 -61
  430. package/assets/image-editor/images/stickers/emoticons/drunk.svg +55 -55
  431. package/assets/image-editor/images/stickers/emoticons/dumb.svg +50 -50
  432. package/assets/image-editor/images/stickers/emoticons/emo-1.svg +104 -104
  433. package/assets/image-editor/images/stickers/emoticons/emo-2.svg +111 -111
  434. package/assets/image-editor/images/stickers/emoticons/emo.svg +56 -56
  435. package/assets/image-editor/images/stickers/emoticons/emoticon.svg +84 -84
  436. package/assets/image-editor/images/stickers/emoticons/evil.svg +59 -59
  437. package/assets/image-editor/images/stickers/emoticons/faint-1.svg +75 -75
  438. package/assets/image-editor/images/stickers/emoticons/faint.svg +84 -84
  439. package/assets/image-editor/images/stickers/emoticons/flirt-1.svg +81 -81
  440. package/assets/image-editor/images/stickers/emoticons/flirt-2.svg +68 -68
  441. package/assets/image-editor/images/stickers/emoticons/flirt.svg +71 -71
  442. package/assets/image-editor/images/stickers/emoticons/flirty.svg +60 -60
  443. package/assets/image-editor/images/stickers/emoticons/gangster.svg +54 -54
  444. package/assets/image-editor/images/stickers/emoticons/geek-1.svg +76 -76
  445. package/assets/image-editor/images/stickers/emoticons/geek.svg +69 -69
  446. package/assets/image-editor/images/stickers/emoticons/gentleman-1.svg +82 -82
  447. package/assets/image-editor/images/stickers/emoticons/gentleman-2.svg +58 -58
  448. package/assets/image-editor/images/stickers/emoticons/gentleman-3.svg +54 -54
  449. package/assets/image-editor/images/stickers/emoticons/gentleman-4.svg +59 -59
  450. package/assets/image-editor/images/stickers/emoticons/gentleman.svg +57 -57
  451. package/assets/image-editor/images/stickers/emoticons/ginger.svg +55 -55
  452. package/assets/image-editor/images/stickers/emoticons/girl-1.svg +70 -70
  453. package/assets/image-editor/images/stickers/emoticons/girl.svg +73 -73
  454. package/assets/image-editor/images/stickers/emoticons/goofy-1.svg +46 -46
  455. package/assets/image-editor/images/stickers/emoticons/goofy-2.svg +79 -79
  456. package/assets/image-editor/images/stickers/emoticons/goofy-3.svg +79 -79
  457. package/assets/image-editor/images/stickers/emoticons/goofy-4.svg +46 -46
  458. package/assets/image-editor/images/stickers/emoticons/goofy.svg +79 -79
  459. package/assets/image-editor/images/stickers/emoticons/grubby-1.svg +114 -114
  460. package/assets/image-editor/images/stickers/emoticons/grubby.svg +165 -165
  461. package/assets/image-editor/images/stickers/emoticons/happy-1.svg +49 -49
  462. package/assets/image-editor/images/stickers/emoticons/happy-10.svg +62 -62
  463. package/assets/image-editor/images/stickers/emoticons/happy-11.svg +55 -55
  464. package/assets/image-editor/images/stickers/emoticons/happy-12.svg +53 -53
  465. package/assets/image-editor/images/stickers/emoticons/happy-13.svg +58 -58
  466. package/assets/image-editor/images/stickers/emoticons/happy-14.svg +62 -62
  467. package/assets/image-editor/images/stickers/emoticons/happy-15.svg +49 -49
  468. package/assets/image-editor/images/stickers/emoticons/happy-16.svg +49 -49
  469. package/assets/image-editor/images/stickers/emoticons/happy-2.svg +71 -71
  470. package/assets/image-editor/images/stickers/emoticons/happy-3.svg +74 -74
  471. package/assets/image-editor/images/stickers/emoticons/happy-4.svg +77 -77
  472. package/assets/image-editor/images/stickers/emoticons/happy-5.svg +52 -52
  473. package/assets/image-editor/images/stickers/emoticons/happy-6.svg +54 -54
  474. package/assets/image-editor/images/stickers/emoticons/happy-7.svg +58 -58
  475. package/assets/image-editor/images/stickers/emoticons/happy-8.svg +42 -42
  476. package/assets/image-editor/images/stickers/emoticons/happy-9.svg +45 -45
  477. package/assets/image-editor/images/stickers/emoticons/happy.svg +48 -48
  478. package/assets/image-editor/images/stickers/emoticons/harry-potter.svg +68 -68
  479. package/assets/image-editor/images/stickers/emoticons/heisenberg.svg +80 -80
  480. package/assets/image-editor/images/stickers/emoticons/hipster-1.svg +118 -118
  481. package/assets/image-editor/images/stickers/emoticons/hipster-2.svg +49 -49
  482. package/assets/image-editor/images/stickers/emoticons/hipster.svg +48 -48
  483. package/assets/image-editor/images/stickers/emoticons/in-love-1.svg +62 -62
  484. package/assets/image-editor/images/stickers/emoticons/in-love-2.svg +48 -48
  485. package/assets/image-editor/images/stickers/emoticons/in-love-3.svg +49 -49
  486. package/assets/image-editor/images/stickers/emoticons/in-love-4.svg +50 -50
  487. package/assets/image-editor/images/stickers/emoticons/in-love-5.svg +49 -49
  488. package/assets/image-editor/images/stickers/emoticons/in-love-6.svg +53 -53
  489. package/assets/image-editor/images/stickers/emoticons/in-love.svg +57 -57
  490. package/assets/image-editor/images/stickers/emoticons/japan.svg +79 -79
  491. package/assets/image-editor/images/stickers/emoticons/jew.svg +83 -83
  492. package/assets/image-editor/images/stickers/emoticons/joyful-1.svg +72 -72
  493. package/assets/image-editor/images/stickers/emoticons/joyful-2.svg +45 -45
  494. package/assets/image-editor/images/stickers/emoticons/joyful.svg +47 -47
  495. package/assets/image-editor/images/stickers/emoticons/kiss-1.svg +48 -48
  496. package/assets/image-editor/images/stickers/emoticons/kiss-2.svg +59 -59
  497. package/assets/image-editor/images/stickers/emoticons/kiss-3.svg +53 -53
  498. package/assets/image-editor/images/stickers/emoticons/kiss-4.svg +59 -59
  499. package/assets/image-editor/images/stickers/emoticons/kiss.svg +67 -67
  500. package/assets/image-editor/images/stickers/emoticons/laughing-1.svg +54 -54
  501. package/assets/image-editor/images/stickers/emoticons/laughing-2.svg +57 -57
  502. package/assets/image-editor/images/stickers/emoticons/laughing-3.svg +55 -55
  503. package/assets/image-editor/images/stickers/emoticons/laughing.svg +56 -56
  504. package/assets/image-editor/images/stickers/emoticons/listening.svg +55 -55
  505. package/assets/image-editor/images/stickers/emoticons/love.svg +74 -74
  506. package/assets/image-editor/images/stickers/emoticons/manly.svg +75 -75
  507. package/assets/image-editor/images/stickers/emoticons/miserly-1.svg +90 -90
  508. package/assets/image-editor/images/stickers/emoticons/miserly.svg +82 -82
  509. package/assets/image-editor/images/stickers/emoticons/nerd-1.svg +88 -88
  510. package/assets/image-editor/images/stickers/emoticons/nerd-2.svg +73 -73
  511. package/assets/image-editor/images/stickers/emoticons/nerd-3.svg +60 -60
  512. package/assets/image-editor/images/stickers/emoticons/nerd-4.svg +70 -70
  513. package/assets/image-editor/images/stickers/emoticons/nerd.svg +88 -88
  514. package/assets/image-editor/images/stickers/emoticons/ninja.svg +51 -51
  515. package/assets/image-editor/images/stickers/emoticons/pirate-1.svg +92 -92
  516. package/assets/image-editor/images/stickers/emoticons/pirate-2.svg +48 -48
  517. package/assets/image-editor/images/stickers/emoticons/pirate.svg +286 -286
  518. package/assets/image-editor/images/stickers/emoticons/punk-1.svg +134 -134
  519. package/assets/image-editor/images/stickers/emoticons/punk-2.svg +153 -153
  520. package/assets/image-editor/images/stickers/emoticons/punk.svg +82 -82
  521. package/assets/image-editor/images/stickers/emoticons/rapper.svg +51 -51
  522. package/assets/image-editor/images/stickers/emoticons/relieved.svg +56 -56
  523. package/assets/image-editor/images/stickers/emoticons/rich-1.svg +59 -59
  524. package/assets/image-editor/images/stickers/emoticons/rich-2.svg +93 -93
  525. package/assets/image-editor/images/stickers/emoticons/rich.svg +88 -88
  526. package/assets/image-editor/images/stickers/emoticons/rockstar.svg +177 -177
  527. package/assets/image-editor/images/stickers/emoticons/sad-1.svg +43 -43
  528. package/assets/image-editor/images/stickers/emoticons/sad-2.svg +49 -49
  529. package/assets/image-editor/images/stickers/emoticons/sad-3.svg +49 -49
  530. package/assets/image-editor/images/stickers/emoticons/sad-4.svg +49 -49
  531. package/assets/image-editor/images/stickers/emoticons/sad-5.svg +45 -45
  532. package/assets/image-editor/images/stickers/emoticons/sad-6.svg +47 -47
  533. package/assets/image-editor/images/stickers/emoticons/sad.svg +47 -47
  534. package/assets/image-editor/images/stickers/emoticons/scared-1.svg +79 -79
  535. package/assets/image-editor/images/stickers/emoticons/scared-2.svg +59 -59
  536. package/assets/image-editor/images/stickers/emoticons/scared-3.svg +52 -52
  537. package/assets/image-editor/images/stickers/emoticons/scared.svg +45 -45
  538. package/assets/image-editor/images/stickers/emoticons/sceptic-1.svg +59 -59
  539. package/assets/image-editor/images/stickers/emoticons/sceptic-2.svg +80 -80
  540. package/assets/image-editor/images/stickers/emoticons/sceptic-3.svg +59 -59
  541. package/assets/image-editor/images/stickers/emoticons/sceptic-4.svg +46 -46
  542. package/assets/image-editor/images/stickers/emoticons/sceptic-5.svg +43 -43
  543. package/assets/image-editor/images/stickers/emoticons/sceptic-6.svg +42 -42
  544. package/assets/image-editor/images/stickers/emoticons/sceptic-7.svg +50 -50
  545. package/assets/image-editor/images/stickers/emoticons/sceptic.svg +44 -44
  546. package/assets/image-editor/images/stickers/emoticons/secret.svg +48 -48
  547. package/assets/image-editor/images/stickers/emoticons/shocked-1.svg +67 -67
  548. package/assets/image-editor/images/stickers/emoticons/shocked-2.svg +44 -44
  549. package/assets/image-editor/images/stickers/emoticons/shocked-3.svg +48 -48
  550. package/assets/image-editor/images/stickers/emoticons/shocked.svg +46 -46
  551. package/assets/image-editor/images/stickers/emoticons/sick-1.svg +55 -55
  552. package/assets/image-editor/images/stickers/emoticons/sick-2.svg +48 -48
  553. package/assets/image-editor/images/stickers/emoticons/sick-3.svg +49 -49
  554. package/assets/image-editor/images/stickers/emoticons/sick-4.svg +52 -52
  555. package/assets/image-editor/images/stickers/emoticons/sick.svg +52 -52
  556. package/assets/image-editor/images/stickers/emoticons/silent.svg +43 -43
  557. package/assets/image-editor/images/stickers/emoticons/skeleton.svg +64 -64
  558. package/assets/image-editor/images/stickers/emoticons/smile.svg +43 -43
  559. package/assets/image-editor/images/stickers/emoticons/smiling-1.svg +47 -47
  560. package/assets/image-editor/images/stickers/emoticons/smiling.svg +75 -75
  561. package/assets/image-editor/images/stickers/emoticons/smoked.svg +131 -131
  562. package/assets/image-editor/images/stickers/emoticons/smug-1.svg +74 -74
  563. package/assets/image-editor/images/stickers/emoticons/smug-2.svg +82 -82
  564. package/assets/image-editor/images/stickers/emoticons/smug-3.svg +71 -71
  565. package/assets/image-editor/images/stickers/emoticons/smug-4.svg +50 -50
  566. package/assets/image-editor/images/stickers/emoticons/smug-5.svg +64 -64
  567. package/assets/image-editor/images/stickers/emoticons/smug-6.svg +82 -82
  568. package/assets/image-editor/images/stickers/emoticons/smug.svg +96 -96
  569. package/assets/image-editor/images/stickers/emoticons/sporty.svg +68 -68
  570. package/assets/image-editor/images/stickers/emoticons/stunned.svg +72 -72
  571. package/assets/image-editor/images/stickers/emoticons/superhero-1.svg +60 -60
  572. package/assets/image-editor/images/stickers/emoticons/superhero-2.svg +47 -47
  573. package/assets/image-editor/images/stickers/emoticons/superhero-3.svg +48 -48
  574. package/assets/image-editor/images/stickers/emoticons/superhero-4.svg +52 -52
  575. package/assets/image-editor/images/stickers/emoticons/superhero.svg +45 -45
  576. package/assets/image-editor/images/stickers/emoticons/surprised-1.svg +47 -47
  577. package/assets/image-editor/images/stickers/emoticons/surprised.svg +58 -58
  578. package/assets/image-editor/images/stickers/emoticons/thinking.svg +43 -43
  579. package/assets/image-editor/images/stickers/emoticons/tired-1.svg +78 -78
  580. package/assets/image-editor/images/stickers/emoticons/tired-2.svg +65 -65
  581. package/assets/image-editor/images/stickers/emoticons/tired-3.svg +59 -59
  582. package/assets/image-editor/images/stickers/emoticons/tired.svg +83 -83
  583. package/assets/image-editor/images/stickers/emoticons/tough-1.svg +65 -65
  584. package/assets/image-editor/images/stickers/emoticons/tough.svg +158 -158
  585. package/assets/image-editor/images/stickers/emoticons/trendy.svg +57 -57
  586. package/assets/image-editor/images/stickers/emoticons/vampire-1.svg +56 -56
  587. package/assets/image-editor/images/stickers/emoticons/vampire.svg +59 -59
  588. package/assets/image-editor/images/stickers/emoticons/wink-1.svg +54 -54
  589. package/assets/image-editor/images/stickers/emoticons/wink-2.svg +64 -64
  590. package/assets/image-editor/images/stickers/emoticons/wink.svg +73 -73
  591. package/assets/image-editor/images/stickers/emoticons/winking-1.svg +52 -52
  592. package/assets/image-editor/images/stickers/emoticons/winking.svg +43 -43
  593. package/assets/image-editor/images/stickers/emoticons/yawning-1.svg +62 -62
  594. package/assets/image-editor/images/stickers/emoticons/yawning-2.svg +51 -51
  595. package/assets/image-editor/images/stickers/emoticons/yawning-3.svg +51 -51
  596. package/assets/image-editor/images/stickers/emoticons/yawning.svg +73 -73
  597. package/assets/image-editor/images/stickers/emoticons/yelling.svg +80 -80
  598. package/assets/image-editor/images/stickers/emoticons/zombie.svg +65 -65
  599. package/assets/image-editor/images/stickers/landmarks/0.svg +38 -38
  600. package/assets/image-editor/images/stickers/landmarks/1.svg +46 -46
  601. package/assets/image-editor/images/stickers/landmarks/10.svg +18 -18
  602. package/assets/image-editor/images/stickers/landmarks/11.svg +81 -81
  603. package/assets/image-editor/images/stickers/landmarks/12.svg +77 -77
  604. package/assets/image-editor/images/stickers/landmarks/13.svg +42 -42
  605. package/assets/image-editor/images/stickers/landmarks/14.svg +78 -78
  606. package/assets/image-editor/images/stickers/landmarks/15.svg +84 -84
  607. package/assets/image-editor/images/stickers/landmarks/16.svg +87 -87
  608. package/assets/image-editor/images/stickers/landmarks/17.svg +60 -60
  609. package/assets/image-editor/images/stickers/landmarks/18.svg +30 -30
  610. package/assets/image-editor/images/stickers/landmarks/19.svg +36 -36
  611. package/assets/image-editor/images/stickers/landmarks/2.svg +28 -28
  612. package/assets/image-editor/images/stickers/landmarks/20.svg +137 -137
  613. package/assets/image-editor/images/stickers/landmarks/21.svg +63 -63
  614. package/assets/image-editor/images/stickers/landmarks/22.svg +26 -26
  615. package/assets/image-editor/images/stickers/landmarks/23.svg +52 -52
  616. package/assets/image-editor/images/stickers/landmarks/24.svg +56 -56
  617. package/assets/image-editor/images/stickers/landmarks/25.svg +40 -40
  618. package/assets/image-editor/images/stickers/landmarks/26.svg +34 -34
  619. package/assets/image-editor/images/stickers/landmarks/27.svg +32 -32
  620. package/assets/image-editor/images/stickers/landmarks/28.svg +19 -19
  621. package/assets/image-editor/images/stickers/landmarks/29.svg +23 -23
  622. package/assets/image-editor/images/stickers/landmarks/3.svg +36 -36
  623. package/assets/image-editor/images/stickers/landmarks/30.svg +36 -36
  624. package/assets/image-editor/images/stickers/landmarks/31.svg +27 -27
  625. package/assets/image-editor/images/stickers/landmarks/32.svg +25 -25
  626. package/assets/image-editor/images/stickers/landmarks/33.svg +29 -29
  627. package/assets/image-editor/images/stickers/landmarks/34.svg +72 -72
  628. package/assets/image-editor/images/stickers/landmarks/35.svg +18 -18
  629. package/assets/image-editor/images/stickers/landmarks/36.svg +45 -45
  630. package/assets/image-editor/images/stickers/landmarks/37.svg +46 -46
  631. package/assets/image-editor/images/stickers/landmarks/38.svg +44 -44
  632. package/assets/image-editor/images/stickers/landmarks/39.svg +23 -23
  633. package/assets/image-editor/images/stickers/landmarks/4.svg +33 -33
  634. package/assets/image-editor/images/stickers/landmarks/40.svg +25 -25
  635. package/assets/image-editor/images/stickers/landmarks/41.svg +69 -69
  636. package/assets/image-editor/images/stickers/landmarks/42.svg +75 -75
  637. package/assets/image-editor/images/stickers/landmarks/43.svg +44 -44
  638. package/assets/image-editor/images/stickers/landmarks/44.svg +65 -65
  639. package/assets/image-editor/images/stickers/landmarks/45.svg +19 -19
  640. package/assets/image-editor/images/stickers/landmarks/46.svg +47 -47
  641. package/assets/image-editor/images/stickers/landmarks/47.svg +544 -544
  642. package/assets/image-editor/images/stickers/landmarks/48.svg +162 -162
  643. package/assets/image-editor/images/stickers/landmarks/49.svg +70 -70
  644. package/assets/image-editor/images/stickers/landmarks/5.svg +36 -36
  645. package/assets/image-editor/images/stickers/landmarks/50.svg +52 -52
  646. package/assets/image-editor/images/stickers/landmarks/51.svg +110 -110
  647. package/assets/image-editor/images/stickers/landmarks/52.svg +41 -41
  648. package/assets/image-editor/images/stickers/landmarks/53.svg +74 -74
  649. package/assets/image-editor/images/stickers/landmarks/54.svg +36 -36
  650. package/assets/image-editor/images/stickers/landmarks/55.svg +84 -84
  651. package/assets/image-editor/images/stickers/landmarks/56.svg +93 -93
  652. package/assets/image-editor/images/stickers/landmarks/57.svg +67 -67
  653. package/assets/image-editor/images/stickers/landmarks/58.svg +101 -101
  654. package/assets/image-editor/images/stickers/landmarks/59.svg +47 -47
  655. package/assets/image-editor/images/stickers/landmarks/6.svg +59 -59
  656. package/assets/image-editor/images/stickers/landmarks/60.svg +134 -134
  657. package/assets/image-editor/images/stickers/landmarks/61.svg +79 -79
  658. package/assets/image-editor/images/stickers/landmarks/62.svg +43 -43
  659. package/assets/image-editor/images/stickers/landmarks/63.svg +83 -83
  660. package/assets/image-editor/images/stickers/landmarks/64.svg +99 -99
  661. package/assets/image-editor/images/stickers/landmarks/65.svg +79 -79
  662. package/assets/image-editor/images/stickers/landmarks/66.svg +37 -37
  663. package/assets/image-editor/images/stickers/landmarks/67.svg +82 -82
  664. package/assets/image-editor/images/stickers/landmarks/68.svg +216 -216
  665. package/assets/image-editor/images/stickers/landmarks/69.svg +17 -17
  666. package/assets/image-editor/images/stickers/landmarks/7.svg +16 -16
  667. package/assets/image-editor/images/stickers/landmarks/70.svg +45 -45
  668. package/assets/image-editor/images/stickers/landmarks/71.svg +37 -37
  669. package/assets/image-editor/images/stickers/landmarks/72.svg +28 -28
  670. package/assets/image-editor/images/stickers/landmarks/73.svg +25 -25
  671. package/assets/image-editor/images/stickers/landmarks/74.svg +23 -23
  672. package/assets/image-editor/images/stickers/landmarks/75.svg +88 -88
  673. package/assets/image-editor/images/stickers/landmarks/76.svg +25 -25
  674. package/assets/image-editor/images/stickers/landmarks/77.svg +23 -23
  675. package/assets/image-editor/images/stickers/landmarks/78.svg +63 -63
  676. package/assets/image-editor/images/stickers/landmarks/79.svg +25 -25
  677. package/assets/image-editor/images/stickers/landmarks/8.svg +52 -52
  678. package/assets/image-editor/images/stickers/landmarks/80.svg +29 -29
  679. package/assets/image-editor/images/stickers/landmarks/81.svg +44 -44
  680. package/assets/image-editor/images/stickers/landmarks/82.svg +83 -83
  681. package/assets/image-editor/images/stickers/landmarks/83.svg +65 -65
  682. package/assets/image-editor/images/stickers/landmarks/84.svg +31 -31
  683. package/assets/image-editor/images/stickers/landmarks/85.svg +30 -30
  684. package/assets/image-editor/images/stickers/landmarks/86.svg +26 -26
  685. package/assets/image-editor/images/stickers/landmarks/87.svg +132 -132
  686. package/assets/image-editor/images/stickers/landmarks/88.svg +93 -93
  687. package/assets/image-editor/images/stickers/landmarks/89.svg +91 -91
  688. package/assets/image-editor/images/stickers/landmarks/9.svg +70 -70
  689. package/assets/image-editor/images/stickers/landmarks/90.svg +65 -65
  690. package/assets/image-editor/images/stickers/landmarks/91.svg +36 -36
  691. package/assets/image-editor/images/stickers/landmarks/92.svg +66 -66
  692. package/assets/image-editor/images/stickers/landmarks/93.svg +65 -65
  693. package/assets/image-editor/images/stickers/landmarks/94.svg +28 -28
  694. package/assets/image-editor/images/stickers/landmarks/95.svg +31 -31
  695. package/assets/image-editor/images/stickers/landmarks/96.svg +25 -25
  696. package/assets/image-editor/images/stickers/landmarks/97.svg +31 -31
  697. package/assets/image-editor/images/stickers/landmarks/98.svg +52 -52
  698. package/assets/image-editor/images/stickers/landmarks/99.svg +56 -56
  699. package/assets/image-editor/images/stickers/stars/0.png +0 -0
  700. package/assets/image-editor/images/stickers/stars/1.png +0 -0
  701. package/assets/image-editor/images/stickers/stars/2.png +0 -0
  702. package/assets/image-editor/images/stickers/stars/3.png +0 -0
  703. package/assets/image-editor/images/stickers/stars/4.png +0 -0
  704. package/assets/image-editor/images/stickers/stars/5.png +0 -0
  705. package/assets/image-editor/images/stickers/transportation/0.svg +26 -26
  706. package/assets/image-editor/images/stickers/transportation/1.svg +10 -10
  707. package/assets/image-editor/images/stickers/transportation/10.svg +16 -16
  708. package/assets/image-editor/images/stickers/transportation/11.svg +30 -30
  709. package/assets/image-editor/images/stickers/transportation/12.svg +22 -22
  710. package/assets/image-editor/images/stickers/transportation/13.svg +24 -24
  711. package/assets/image-editor/images/stickers/transportation/14.svg +19 -19
  712. package/assets/image-editor/images/stickers/transportation/15.svg +23 -23
  713. package/assets/image-editor/images/stickers/transportation/16.svg +25 -25
  714. package/assets/image-editor/images/stickers/transportation/17.svg +34 -34
  715. package/assets/image-editor/images/stickers/transportation/18.svg +29 -29
  716. package/assets/image-editor/images/stickers/transportation/19.svg +24 -24
  717. package/assets/image-editor/images/stickers/transportation/2.svg +27 -27
  718. package/assets/image-editor/images/stickers/transportation/20.svg +25 -25
  719. package/assets/image-editor/images/stickers/transportation/21.svg +22 -22
  720. package/assets/image-editor/images/stickers/transportation/3.svg +18 -18
  721. package/assets/image-editor/images/stickers/transportation/4.svg +24 -24
  722. package/assets/image-editor/images/stickers/transportation/5.svg +15 -15
  723. package/assets/image-editor/images/stickers/transportation/6.svg +25 -25
  724. package/assets/image-editor/images/stickers/transportation/7.svg +17 -17
  725. package/assets/image-editor/images/stickers/transportation/8.svg +28 -28
  726. package/assets/image-editor/images/stickers/transportation/9.svg +23 -23
  727. package/assets/image-editor/images/textures/0.png +0 -0
  728. package/assets/image-editor/images/textures/1.png +0 -0
  729. package/assets/image-editor/images/textures/10.png +0 -0
  730. package/assets/image-editor/images/textures/11.png +0 -0
  731. package/assets/image-editor/images/textures/12.png +0 -0
  732. package/assets/image-editor/images/textures/13.png +0 -0
  733. package/assets/image-editor/images/textures/14.png +0 -0
  734. package/assets/image-editor/images/textures/15.png +0 -0
  735. package/assets/image-editor/images/textures/16.png +0 -0
  736. package/assets/image-editor/images/textures/17.png +0 -0
  737. package/assets/image-editor/images/textures/18.png +0 -0
  738. package/assets/image-editor/images/textures/19.png +0 -0
  739. package/assets/image-editor/images/textures/2.png +0 -0
  740. package/assets/image-editor/images/textures/20.png +0 -0
  741. package/assets/image-editor/images/textures/21.png +0 -0
  742. package/assets/image-editor/images/textures/22.png +0 -0
  743. package/assets/image-editor/images/textures/23.png +0 -0
  744. package/assets/image-editor/images/textures/24.png +0 -0
  745. package/assets/image-editor/images/textures/25.png +0 -0
  746. package/assets/image-editor/images/textures/26.png +0 -0
  747. package/assets/image-editor/images/textures/27.png +0 -0
  748. package/assets/image-editor/images/textures/28.png +0 -0
  749. package/assets/image-editor/images/textures/3.png +0 -0
  750. package/assets/image-editor/images/textures/4.png +0 -0
  751. package/assets/image-editor/images/textures/5.png +0 -0
  752. package/assets/image-editor/images/textures/6.png +0 -0
  753. package/assets/image-editor/images/textures/7.png +0 -0
  754. package/assets/image-editor/images/textures/8.png +0 -0
  755. package/assets/image-editor/images/textures/9.png +0 -0
  756. package/components/EmIcons/EmIcons.d.ts +30 -15
  757. package/components/ImageIcons/useIconsCopyToFolder.d.ts +2 -2
  758. package/components/PixieEditor/PixieEditor.d.ts +1 -2
  759. package/components/PixieEditor/index.d.ts +4 -1
  760. package/constants/index.d.ts +8 -8
  761. package/core.d.ts +21 -0
  762. package/core.esm.js +2690 -0
  763. package/core.js +2 -0
  764. package/debug-script.js +445 -445
  765. package/file-manager-IconsTab-BPDaI1rw.js +2434 -0
  766. package/file-manager-ImageCodeGenerator-Bfcf-n-G.js +368 -0
  767. package/file-manager-JsBarcode-CyaffT5b.js +2691 -0
  768. package/file-manager-PixieEditor-BRUKJkjp.js +597 -0
  769. package/file-manager-browser-DDyRNDQk.js +1229 -0
  770. package/file-manager-hooks-aNT0w8kI.js +12419 -0
  771. package/file-manager-rolldown-runtime-DAVfCfog.js +20 -0
  772. package/file-manager-urls-DN9gaYil.js +37 -0
  773. package/file-manager-useMediaListEngine-zkDk3m1H.js +921 -0
  774. package/file-manager.css +2 -3393
  775. package/file-manager.esm.js +8253 -2
  776. package/file-manager.js +28 -60259
  777. package/hooks/notifications/useNotificationsBase.d.ts +1 -1
  778. package/hooks/usePixieEditor.d.ts +1 -1
  779. package/i18n.d.ts +0 -1
  780. package/index.d.ts +5 -9
  781. package/mockServiceWorker.js +344 -344
  782. package/notification.d.ts +643 -646
  783. package/package.json +59 -36
  784. package/sample-files.json +104 -104
  785. package/shared/fileManagerApiError.d.ts +2 -2
  786. package/suppress-resize-observer-errors.js +60 -60
  787. package/test-pixie-loading.html +108 -108
  788. package/utils/fileFormatUtils.d.ts +2 -2
  789. package/utils/iconCssVars.d.ts +12 -0
  790. package/utils/jsonDataProvider.d.ts +4 -4
  791. package/utils/sortHelpers.d.ts +1 -1
  792. package/utils/svgToPng.test.d.ts +1 -0
  793. package/utils/themeUtils.d.ts +2 -2
  794. package/widgets/layout/errorBoundary/errorBoundary.d.ts +1 -2
  795. package/129.1f7048a0e93daec2ca44.js +0 -3893
  796. package/276.c0a535f6d0c018f0ff32.js +0 -426
  797. package/583.177f1aa2edb14f5f073e.js +0 -2978
  798. package/file-manager-IconsTab-DoB38f7f.js +0 -2
  799. package/file-manager-ImageCodeGenerator-CqcxlFj4.js +0 -2
  800. package/file-manager-JsBarcode-C1cbGYHV.js +0 -2
  801. package/file-manager-browser-Ca_Mbew5.js +0 -2
  802. package/file-manager-index-CVN64GK6.js +0 -10
  803. package/fm-icons-tab.dbc6aea218d2ab6b3de5.js +0 -2304
  804. package/fm-image-code-generator.50fded261e49f2abdf2b.js +0 -370
@@ -0,0 +1,2691 @@
1
+ import { t as e } from "./file-manager-rolldown-runtime-DAVfCfog.js";
2
+ //#region node_modules/jsbarcode/bin/barcodes/Barcode.js
3
+ var t = /* @__PURE__ */ e(((e) => {
4
+ Object.defineProperty(e, "__esModule", { value: !0 });
5
+ function t(e, t) {
6
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
7
+ }
8
+ e.default = function e(n, r) {
9
+ t(this, e), this.data = n, this.text = r.text || n, this.options = r;
10
+ };
11
+ })), n = /* @__PURE__ */ e(((e) => {
12
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.CODE39 = void 0;
13
+ var n = function() {
14
+ function e(e, t) {
15
+ for (var n = 0; n < t.length; n++) {
16
+ var r = t[n];
17
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
18
+ }
19
+ }
20
+ return function(t, n, r) {
21
+ return n && e(t.prototype, n), r && e(t, r), t;
22
+ };
23
+ }(), r = i(t());
24
+ function i(e) {
25
+ return e && e.__esModule ? e : { default: e };
26
+ }
27
+ function a(e, t) {
28
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
29
+ }
30
+ function o(e, t) {
31
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
32
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
33
+ }
34
+ function s(e, t) {
35
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
36
+ e.prototype = Object.create(t && t.prototype, { constructor: {
37
+ value: e,
38
+ enumerable: !1,
39
+ writable: !0,
40
+ configurable: !0
41
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
42
+ }
43
+ var c = function(e) {
44
+ s(t, e);
45
+ function t(e, n) {
46
+ return a(this, t), e = e.toUpperCase(), n.mod43 && (e += p(h(e))), o(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n));
47
+ }
48
+ return n(t, [{
49
+ key: "encode",
50
+ value: function() {
51
+ for (var e = d("*"), t = 0; t < this.data.length; t++) e += d(this.data[t]) + "0";
52
+ return e += d("*"), {
53
+ data: e,
54
+ text: this.text
55
+ };
56
+ }
57
+ }, {
58
+ key: "valid",
59
+ value: function() {
60
+ return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/) !== -1;
61
+ }
62
+ }]), t;
63
+ }(r.default), l = /* @__PURE__ */ "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%*".split(""), u = [
64
+ 20957,
65
+ 29783,
66
+ 23639,
67
+ 30485,
68
+ 20951,
69
+ 29813,
70
+ 23669,
71
+ 20855,
72
+ 29789,
73
+ 23645,
74
+ 29975,
75
+ 23831,
76
+ 30533,
77
+ 22295,
78
+ 30149,
79
+ 24005,
80
+ 21623,
81
+ 29981,
82
+ 23837,
83
+ 22301,
84
+ 30023,
85
+ 23879,
86
+ 30545,
87
+ 22343,
88
+ 30161,
89
+ 24017,
90
+ 21959,
91
+ 30065,
92
+ 23921,
93
+ 22385,
94
+ 29015,
95
+ 18263,
96
+ 29141,
97
+ 17879,
98
+ 29045,
99
+ 18293,
100
+ 17783,
101
+ 29021,
102
+ 18269,
103
+ 17477,
104
+ 17489,
105
+ 17681,
106
+ 20753,
107
+ 35770
108
+ ];
109
+ function d(e) {
110
+ return f(m(e));
111
+ }
112
+ function f(e) {
113
+ return u[e].toString(2);
114
+ }
115
+ function p(e) {
116
+ return l[e];
117
+ }
118
+ function m(e) {
119
+ return l.indexOf(e);
120
+ }
121
+ function h(e) {
122
+ for (var t = 0, n = 0; n < e.length; n++) t += m(e[n]);
123
+ return t %= 43, t;
124
+ }
125
+ e.CODE39 = c;
126
+ })), r = /* @__PURE__ */ e(((e) => {
127
+ Object.defineProperty(e, "__esModule", { value: !0 });
128
+ var t;
129
+ function n(e, t, n) {
130
+ return t in e ? Object.defineProperty(e, t, {
131
+ value: n,
132
+ enumerable: !0,
133
+ configurable: !0,
134
+ writable: !0
135
+ }) : e[t] = n, e;
136
+ }
137
+ var r = e.SET_A = 0, i = e.SET_B = 1, a = e.SET_C = 2;
138
+ e.SHIFT = 98;
139
+ var o = e.START_A = 103, s = e.START_B = 104, c = e.START_C = 105;
140
+ e.MODULO = 103, e.STOP = 106, e.FNC1 = 207, e.SET_BY_CODE = (t = {}, n(t, o, r), n(t, s, i), n(t, c, a), t), e.SWAP = {
141
+ 101: r,
142
+ 100: i,
143
+ 99: a
144
+ }, e.A_START_CHAR = "Ð", e.B_START_CHAR = "Ñ", e.C_START_CHAR = "Ò", e.A_CHARS = "[\0-_È-Ï]", e.B_CHARS = "[ -È-Ï]", e.C_CHARS = "(Ï*[0-9]{2}Ï*)", e.BARS = [
145
+ 11011001100,
146
+ 11001101100,
147
+ 11001100110,
148
+ 10010011e3,
149
+ 10010001100,
150
+ 10001001100,
151
+ 10011001e3,
152
+ 10011000100,
153
+ 10001100100,
154
+ 11001001e3,
155
+ 11001000100,
156
+ 11000100100,
157
+ 10110011100,
158
+ 10011011100,
159
+ 10011001110,
160
+ 10111001100,
161
+ 10011101100,
162
+ 10011100110,
163
+ 11001110010,
164
+ 11001011100,
165
+ 11001001110,
166
+ 11011100100,
167
+ 11001110100,
168
+ 11101101110,
169
+ 11101001100,
170
+ 11100101100,
171
+ 11100100110,
172
+ 11101100100,
173
+ 11100110100,
174
+ 11100110010,
175
+ 11011011e3,
176
+ 11011000110,
177
+ 11000110110,
178
+ 10100011e3,
179
+ 10001011e3,
180
+ 10001000110,
181
+ 10110001e3,
182
+ 10001101e3,
183
+ 10001100010,
184
+ 11010001e3,
185
+ 11000101e3,
186
+ 11000100010,
187
+ 10110111e3,
188
+ 10110001110,
189
+ 10001101110,
190
+ 10111011e3,
191
+ 10111000110,
192
+ 10001110110,
193
+ 11101110110,
194
+ 11010001110,
195
+ 11000101110,
196
+ 11011101e3,
197
+ 11011100010,
198
+ 11011101110,
199
+ 11101011e3,
200
+ 11101000110,
201
+ 11100010110,
202
+ 11101101e3,
203
+ 11101100010,
204
+ 11100011010,
205
+ 11101111010,
206
+ 11001000010,
207
+ 11110001010,
208
+ 1010011e4,
209
+ 10100001100,
210
+ 1001011e4,
211
+ 10010000110,
212
+ 10000101100,
213
+ 10000100110,
214
+ 1011001e4,
215
+ 10110000100,
216
+ 1001101e4,
217
+ 10011000010,
218
+ 10000110100,
219
+ 10000110010,
220
+ 11000010010,
221
+ 1100101e4,
222
+ 11110111010,
223
+ 11000010100,
224
+ 10001111010,
225
+ 10100111100,
226
+ 10010111100,
227
+ 10010011110,
228
+ 10111100100,
229
+ 10011110100,
230
+ 10011110010,
231
+ 11110100100,
232
+ 11110010100,
233
+ 11110010010,
234
+ 11011011110,
235
+ 11011110110,
236
+ 11110110110,
237
+ 10101111e3,
238
+ 10100011110,
239
+ 10001011110,
240
+ 10111101e3,
241
+ 10111100010,
242
+ 11110101e3,
243
+ 11110100010,
244
+ 10111011110,
245
+ 10111101110,
246
+ 11101011110,
247
+ 11110101110,
248
+ 11010000100,
249
+ 1101001e4,
250
+ 11010011100,
251
+ 1100011101011
252
+ ];
253
+ })), i = /* @__PURE__ */ e(((e) => {
254
+ Object.defineProperty(e, "__esModule", { value: !0 });
255
+ var n = function() {
256
+ function e(e, t) {
257
+ for (var n = 0; n < t.length; n++) {
258
+ var r = t[n];
259
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
260
+ }
261
+ }
262
+ return function(t, n, r) {
263
+ return n && e(t.prototype, n), r && e(t, r), t;
264
+ };
265
+ }(), i = o(t()), a = r();
266
+ function o(e) {
267
+ return e && e.__esModule ? e : { default: e };
268
+ }
269
+ function s(e, t) {
270
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
271
+ }
272
+ function c(e, t) {
273
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
274
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
275
+ }
276
+ function l(e, t) {
277
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
278
+ e.prototype = Object.create(t && t.prototype, { constructor: {
279
+ value: e,
280
+ enumerable: !1,
281
+ writable: !0,
282
+ configurable: !0
283
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
284
+ }
285
+ e.default = function(e) {
286
+ l(t, e);
287
+ function t(e, n) {
288
+ s(this, t);
289
+ var r = c(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e.substring(1), n));
290
+ return r.bytes = e.split("").map(function(e) {
291
+ return e.charCodeAt(0);
292
+ }), r;
293
+ }
294
+ return n(t, [
295
+ {
296
+ key: "valid",
297
+ value: function() {
298
+ return /^[\x00-\x7F\xC8-\xD3]+$/.test(this.data);
299
+ }
300
+ },
301
+ {
302
+ key: "encode",
303
+ value: function() {
304
+ var e = this.bytes, n = e.shift() - 105, r = a.SET_BY_CODE[n];
305
+ if (r === void 0) throw RangeError("The encoding does not start with a start character.");
306
+ this.shouldEncodeAsEan128() === !0 && e.unshift(a.FNC1);
307
+ var i = t.next(e, 1, r);
308
+ return {
309
+ text: this.text === this.data ? this.text.replace(/[^\x20-\x7E]/g, "") : this.text,
310
+ data: t.getBar(n) + i.result + t.getBar((i.checksum + n) % a.MODULO) + t.getBar(a.STOP)
311
+ };
312
+ }
313
+ },
314
+ {
315
+ key: "shouldEncodeAsEan128",
316
+ value: function() {
317
+ var e = this.options.ean128 || !1;
318
+ return typeof e == "string" && (e = e.toLowerCase() === "true"), e;
319
+ }
320
+ }
321
+ ], [
322
+ {
323
+ key: "getBar",
324
+ value: function(e) {
325
+ return a.BARS[e] ? a.BARS[e].toString() : "";
326
+ }
327
+ },
328
+ {
329
+ key: "correctIndex",
330
+ value: function(e, t) {
331
+ if (t === a.SET_A) {
332
+ var n = e.shift();
333
+ return n < 32 ? n + 64 : n - 32;
334
+ } else if (t === a.SET_B) return e.shift() - 32;
335
+ else return (e.shift() - 48) * 10 + e.shift() - 48;
336
+ }
337
+ },
338
+ {
339
+ key: "next",
340
+ value: function(e, n, r) {
341
+ if (!e.length) return {
342
+ result: "",
343
+ checksum: 0
344
+ };
345
+ var i = void 0, o = void 0;
346
+ if (e[0] >= 200) {
347
+ o = e.shift() - 105;
348
+ var s = a.SWAP[o];
349
+ s === void 0 ? ((r === a.SET_A || r === a.SET_B) && o === a.SHIFT && (e[0] = r === a.SET_A ? e[0] > 95 ? e[0] - 96 : e[0] : e[0] < 32 ? e[0] + 96 : e[0]), i = t.next(e, n + 1, r)) : i = t.next(e, n + 1, s);
350
+ } else o = t.correctIndex(e, r), i = t.next(e, n + 1, r);
351
+ var c = t.getBar(o), l = o * n;
352
+ return {
353
+ result: c + i.result,
354
+ checksum: l + i.checksum
355
+ };
356
+ }
357
+ }
358
+ ]), t;
359
+ }(i.default);
360
+ })), a = /* @__PURE__ */ e(((e) => {
361
+ Object.defineProperty(e, "__esModule", { value: !0 });
362
+ var t = r(), n = function(e) {
363
+ return e.match(RegExp("^" + t.A_CHARS + "*"))[0].length;
364
+ }, i = function(e) {
365
+ return e.match(RegExp("^" + t.B_CHARS + "*"))[0].length;
366
+ }, a = function(e) {
367
+ return e.match(RegExp("^" + t.C_CHARS + "*"))[0];
368
+ };
369
+ function o(e, n) {
370
+ var r = n ? t.A_CHARS : t.B_CHARS, i = e.match(RegExp("^(" + r + "+?)(([0-9]{2}){2,})([^0-9]|$)"));
371
+ if (i) return i[1] + "Ì" + s(e.substring(i[1].length));
372
+ var a = e.match(RegExp("^" + r + "+"))[0];
373
+ return a.length === e.length ? e : a + String.fromCharCode(n ? 205 : 206) + o(e.substring(a.length), !n);
374
+ }
375
+ function s(e) {
376
+ var t = a(e), r = t.length;
377
+ if (r === e.length) return e;
378
+ e = e.substring(r);
379
+ var s = n(e) >= i(e);
380
+ return t + String.fromCharCode(s ? 206 : 205) + o(e, s);
381
+ }
382
+ e.default = function(e) {
383
+ var r = void 0;
384
+ if (a(e).length >= 2) r = t.C_START_CHAR + s(e);
385
+ else {
386
+ var c = n(e) > i(e);
387
+ r = (c ? t.A_START_CHAR : t.B_START_CHAR) + o(e, c);
388
+ }
389
+ return r.replace(/[\xCD\xCE]([^])[\xCD\xCE]/, function(e, t) {
390
+ return "Ë" + t;
391
+ });
392
+ };
393
+ })), o = /* @__PURE__ */ e(((e) => {
394
+ Object.defineProperty(e, "__esModule", { value: !0 });
395
+ var t = r(i()), n = r(a());
396
+ function r(e) {
397
+ return e && e.__esModule ? e : { default: e };
398
+ }
399
+ function o(e, t) {
400
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
401
+ }
402
+ function s(e, t) {
403
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
404
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
405
+ }
406
+ function c(e, t) {
407
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
408
+ e.prototype = Object.create(t && t.prototype, { constructor: {
409
+ value: e,
410
+ enumerable: !1,
411
+ writable: !0,
412
+ configurable: !0
413
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
414
+ }
415
+ e.default = function(e) {
416
+ c(t, e);
417
+ function t(e, r) {
418
+ if (o(this, t), /^[\x00-\x7F\xC8-\xD3]+$/.test(e)) var i = s(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, (0, n.default)(e), r));
419
+ else var i = s(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, r));
420
+ return s(i);
421
+ }
422
+ return t;
423
+ }(t.default);
424
+ })), s = /* @__PURE__ */ e(((e) => {
425
+ Object.defineProperty(e, "__esModule", { value: !0 });
426
+ var t = function() {
427
+ function e(e, t) {
428
+ for (var n = 0; n < t.length; n++) {
429
+ var r = t[n];
430
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
431
+ }
432
+ }
433
+ return function(t, n, r) {
434
+ return n && e(t.prototype, n), r && e(t, r), t;
435
+ };
436
+ }(), n = o(i()), a = r();
437
+ function o(e) {
438
+ return e && e.__esModule ? e : { default: e };
439
+ }
440
+ function s(e, t) {
441
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
442
+ }
443
+ function c(e, t) {
444
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
445
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
446
+ }
447
+ function l(e, t) {
448
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
449
+ e.prototype = Object.create(t && t.prototype, { constructor: {
450
+ value: e,
451
+ enumerable: !1,
452
+ writable: !0,
453
+ configurable: !0
454
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
455
+ }
456
+ e.default = function(e) {
457
+ l(n, e);
458
+ function n(e, t) {
459
+ return s(this, n), c(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, a.A_START_CHAR + e, t));
460
+ }
461
+ return t(n, [{
462
+ key: "valid",
463
+ value: function() {
464
+ return RegExp("^" + a.A_CHARS + "+$").test(this.data);
465
+ }
466
+ }]), n;
467
+ }(n.default);
468
+ })), c = /* @__PURE__ */ e(((e) => {
469
+ Object.defineProperty(e, "__esModule", { value: !0 });
470
+ var t = function() {
471
+ function e(e, t) {
472
+ for (var n = 0; n < t.length; n++) {
473
+ var r = t[n];
474
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
475
+ }
476
+ }
477
+ return function(t, n, r) {
478
+ return n && e(t.prototype, n), r && e(t, r), t;
479
+ };
480
+ }(), n = o(i()), a = r();
481
+ function o(e) {
482
+ return e && e.__esModule ? e : { default: e };
483
+ }
484
+ function s(e, t) {
485
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
486
+ }
487
+ function c(e, t) {
488
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
489
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
490
+ }
491
+ function l(e, t) {
492
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
493
+ e.prototype = Object.create(t && t.prototype, { constructor: {
494
+ value: e,
495
+ enumerable: !1,
496
+ writable: !0,
497
+ configurable: !0
498
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
499
+ }
500
+ e.default = function(e) {
501
+ l(n, e);
502
+ function n(e, t) {
503
+ return s(this, n), c(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, a.B_START_CHAR + e, t));
504
+ }
505
+ return t(n, [{
506
+ key: "valid",
507
+ value: function() {
508
+ return RegExp("^" + a.B_CHARS + "+$").test(this.data);
509
+ }
510
+ }]), n;
511
+ }(n.default);
512
+ })), l = /* @__PURE__ */ e(((e) => {
513
+ Object.defineProperty(e, "__esModule", { value: !0 });
514
+ var t = function() {
515
+ function e(e, t) {
516
+ for (var n = 0; n < t.length; n++) {
517
+ var r = t[n];
518
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
519
+ }
520
+ }
521
+ return function(t, n, r) {
522
+ return n && e(t.prototype, n), r && e(t, r), t;
523
+ };
524
+ }(), n = o(i()), a = r();
525
+ function o(e) {
526
+ return e && e.__esModule ? e : { default: e };
527
+ }
528
+ function s(e, t) {
529
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
530
+ }
531
+ function c(e, t) {
532
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
533
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
534
+ }
535
+ function l(e, t) {
536
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
537
+ e.prototype = Object.create(t && t.prototype, { constructor: {
538
+ value: e,
539
+ enumerable: !1,
540
+ writable: !0,
541
+ configurable: !0
542
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
543
+ }
544
+ e.default = function(e) {
545
+ l(n, e);
546
+ function n(e, t) {
547
+ return s(this, n), c(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, a.C_START_CHAR + e, t));
548
+ }
549
+ return t(n, [{
550
+ key: "valid",
551
+ value: function() {
552
+ return RegExp("^" + a.C_CHARS + "+$").test(this.data);
553
+ }
554
+ }]), n;
555
+ }(n.default);
556
+ })), u = /* @__PURE__ */ e(((e) => {
557
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.CODE128C = e.CODE128B = e.CODE128A = e.CODE128 = void 0;
558
+ var t = a(o()), n = a(s()), r = a(c()), i = a(l());
559
+ function a(e) {
560
+ return e && e.__esModule ? e : { default: e };
561
+ }
562
+ e.CODE128 = t.default, e.CODE128A = n.default, e.CODE128B = r.default, e.CODE128C = i.default;
563
+ })), d = /* @__PURE__ */ e(((e) => {
564
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.SIDE_BIN = "101", e.MIDDLE_BIN = "01010", e.BINARIES = {
565
+ L: [
566
+ "0001101",
567
+ "0011001",
568
+ "0010011",
569
+ "0111101",
570
+ "0100011",
571
+ "0110001",
572
+ "0101111",
573
+ "0111011",
574
+ "0110111",
575
+ "0001011"
576
+ ],
577
+ G: [
578
+ "0100111",
579
+ "0110011",
580
+ "0011011",
581
+ "0100001",
582
+ "0011101",
583
+ "0111001",
584
+ "0000101",
585
+ "0010001",
586
+ "0001001",
587
+ "0010111"
588
+ ],
589
+ R: [
590
+ "1110010",
591
+ "1100110",
592
+ "1101100",
593
+ "1000010",
594
+ "1011100",
595
+ "1001110",
596
+ "1010000",
597
+ "1000100",
598
+ "1001000",
599
+ "1110100"
600
+ ],
601
+ O: [
602
+ "0001101",
603
+ "0011001",
604
+ "0010011",
605
+ "0111101",
606
+ "0100011",
607
+ "0110001",
608
+ "0101111",
609
+ "0111011",
610
+ "0110111",
611
+ "0001011"
612
+ ],
613
+ E: [
614
+ "0100111",
615
+ "0110011",
616
+ "0011011",
617
+ "0100001",
618
+ "0011101",
619
+ "0111001",
620
+ "0000101",
621
+ "0010001",
622
+ "0001001",
623
+ "0010111"
624
+ ]
625
+ }, e.EAN2_STRUCTURE = [
626
+ "LL",
627
+ "LG",
628
+ "GL",
629
+ "GG"
630
+ ], e.EAN5_STRUCTURE = [
631
+ "GGLLL",
632
+ "GLGLL",
633
+ "GLLGL",
634
+ "GLLLG",
635
+ "LGGLL",
636
+ "LLGGL",
637
+ "LLLGG",
638
+ "LGLGL",
639
+ "LGLLG",
640
+ "LLGLG"
641
+ ], e.EAN13_STRUCTURE = [
642
+ "LLLLLL",
643
+ "LLGLGG",
644
+ "LLGGLG",
645
+ "LLGGGL",
646
+ "LGLLGG",
647
+ "LGGLLG",
648
+ "LGGGLL",
649
+ "LGLGLG",
650
+ "LGLGGL",
651
+ "LGGLGL"
652
+ ];
653
+ })), f = /* @__PURE__ */ e(((e) => {
654
+ Object.defineProperty(e, "__esModule", { value: !0 });
655
+ var t = d();
656
+ e.default = function(e, n, r) {
657
+ var i = e.split("").map(function(e, r) {
658
+ return t.BINARIES[n[r]];
659
+ }).map(function(t, n) {
660
+ return t ? t[e[n]] : "";
661
+ });
662
+ if (r) {
663
+ var a = e.length - 1;
664
+ i = i.map(function(e, t) {
665
+ return t < a ? e + r : e;
666
+ });
667
+ }
668
+ return i.join("");
669
+ };
670
+ })), p = /* @__PURE__ */ e(((e) => {
671
+ Object.defineProperty(e, "__esModule", { value: !0 });
672
+ var n = function() {
673
+ function e(e, t) {
674
+ for (var n = 0; n < t.length; n++) {
675
+ var r = t[n];
676
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
677
+ }
678
+ }
679
+ return function(t, n, r) {
680
+ return n && e(t.prototype, n), r && e(t, r), t;
681
+ };
682
+ }(), r = d(), i = o(f()), a = o(t());
683
+ function o(e) {
684
+ return e && e.__esModule ? e : { default: e };
685
+ }
686
+ function s(e, t) {
687
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
688
+ }
689
+ function c(e, t) {
690
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
691
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
692
+ }
693
+ function l(e, t) {
694
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
695
+ e.prototype = Object.create(t && t.prototype, { constructor: {
696
+ value: e,
697
+ enumerable: !1,
698
+ writable: !0,
699
+ configurable: !0
700
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
701
+ }
702
+ e.default = function(e) {
703
+ l(t, e);
704
+ function t(e, n) {
705
+ s(this, t);
706
+ var r = c(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n));
707
+ return r.fontSize = !n.flat && n.fontSize > n.width * 10 ? n.width * 10 : n.fontSize, r.guardHeight = n.height + r.fontSize / 2 + n.textMargin, r;
708
+ }
709
+ return n(t, [
710
+ {
711
+ key: "encode",
712
+ value: function() {
713
+ return this.options.flat ? this.encodeFlat() : this.encodeGuarded();
714
+ }
715
+ },
716
+ {
717
+ key: "leftText",
718
+ value: function(e, t) {
719
+ return this.text.substr(e, t);
720
+ }
721
+ },
722
+ {
723
+ key: "leftEncode",
724
+ value: function(e, t) {
725
+ return (0, i.default)(e, t);
726
+ }
727
+ },
728
+ {
729
+ key: "rightText",
730
+ value: function(e, t) {
731
+ return this.text.substr(e, t);
732
+ }
733
+ },
734
+ {
735
+ key: "rightEncode",
736
+ value: function(e, t) {
737
+ return (0, i.default)(e, t);
738
+ }
739
+ },
740
+ {
741
+ key: "encodeGuarded",
742
+ value: function() {
743
+ var e = { fontSize: this.fontSize }, t = { height: this.guardHeight };
744
+ return [
745
+ {
746
+ data: r.SIDE_BIN,
747
+ options: t
748
+ },
749
+ {
750
+ data: this.leftEncode(),
751
+ text: this.leftText(),
752
+ options: e
753
+ },
754
+ {
755
+ data: r.MIDDLE_BIN,
756
+ options: t
757
+ },
758
+ {
759
+ data: this.rightEncode(),
760
+ text: this.rightText(),
761
+ options: e
762
+ },
763
+ {
764
+ data: r.SIDE_BIN,
765
+ options: t
766
+ }
767
+ ];
768
+ }
769
+ },
770
+ {
771
+ key: "encodeFlat",
772
+ value: function() {
773
+ return {
774
+ data: [
775
+ r.SIDE_BIN,
776
+ this.leftEncode(),
777
+ r.MIDDLE_BIN,
778
+ this.rightEncode(),
779
+ r.SIDE_BIN
780
+ ].join(""),
781
+ text: this.text
782
+ };
783
+ }
784
+ }
785
+ ]), t;
786
+ }(a.default);
787
+ })), m = /* @__PURE__ */ e(((e) => {
788
+ Object.defineProperty(e, "__esModule", { value: !0 });
789
+ var t = function() {
790
+ function e(e, t) {
791
+ for (var n = 0; n < t.length; n++) {
792
+ var r = t[n];
793
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
794
+ }
795
+ }
796
+ return function(t, n, r) {
797
+ return n && e(t.prototype, n), r && e(t, r), t;
798
+ };
799
+ }(), n = function e(t, n, r) {
800
+ t === null && (t = Function.prototype);
801
+ var i = Object.getOwnPropertyDescriptor(t, n);
802
+ if (i === void 0) {
803
+ var a = Object.getPrototypeOf(t);
804
+ return a === null ? void 0 : e(a, n, r);
805
+ } else if ("value" in i) return i.value;
806
+ else {
807
+ var o = i.get;
808
+ return o === void 0 ? void 0 : o.call(r);
809
+ }
810
+ }, r = d(), i = a(p());
811
+ function a(e) {
812
+ return e && e.__esModule ? e : { default: e };
813
+ }
814
+ function o(e, t) {
815
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
816
+ }
817
+ function s(e, t) {
818
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
819
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
820
+ }
821
+ function c(e, t) {
822
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
823
+ e.prototype = Object.create(t && t.prototype, { constructor: {
824
+ value: e,
825
+ enumerable: !1,
826
+ writable: !0,
827
+ configurable: !0
828
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
829
+ }
830
+ var l = function(e) {
831
+ return (10 - e.substr(0, 12).split("").map(function(e) {
832
+ return +e;
833
+ }).reduce(function(e, t, n) {
834
+ return n % 2 ? e + t * 3 : e + t;
835
+ }, 0) % 10) % 10;
836
+ };
837
+ e.default = function(e) {
838
+ c(i, e);
839
+ function i(e, t) {
840
+ o(this, i), e.search(/^[0-9]{12}$/) !== -1 && (e += l(e));
841
+ var n = s(this, (i.__proto__ || Object.getPrototypeOf(i)).call(this, e, t));
842
+ return n.lastChar = t.lastChar, n;
843
+ }
844
+ return t(i, [
845
+ {
846
+ key: "valid",
847
+ value: function() {
848
+ return this.data.search(/^[0-9]{13}$/) !== -1 && +this.data[12] === l(this.data);
849
+ }
850
+ },
851
+ {
852
+ key: "leftText",
853
+ value: function() {
854
+ return n(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "leftText", this).call(this, 1, 6);
855
+ }
856
+ },
857
+ {
858
+ key: "leftEncode",
859
+ value: function() {
860
+ var e = this.data.substr(1, 6), t = r.EAN13_STRUCTURE[this.data[0]];
861
+ return n(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "leftEncode", this).call(this, e, t);
862
+ }
863
+ },
864
+ {
865
+ key: "rightText",
866
+ value: function() {
867
+ return n(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "rightText", this).call(this, 7, 6);
868
+ }
869
+ },
870
+ {
871
+ key: "rightEncode",
872
+ value: function() {
873
+ var e = this.data.substr(7, 6);
874
+ return n(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "rightEncode", this).call(this, e, "RRRRRR");
875
+ }
876
+ },
877
+ {
878
+ key: "encodeGuarded",
879
+ value: function() {
880
+ var e = n(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "encodeGuarded", this).call(this);
881
+ return this.options.displayValue && (e.unshift({
882
+ data: "000000000000",
883
+ text: this.text.substr(0, 1),
884
+ options: {
885
+ textAlign: "left",
886
+ fontSize: this.fontSize
887
+ }
888
+ }), this.options.lastChar && (e.push({ data: "00" }), e.push({
889
+ data: "00000",
890
+ text: this.options.lastChar,
891
+ options: { fontSize: this.fontSize }
892
+ }))), e;
893
+ }
894
+ }
895
+ ]), i;
896
+ }(i.default);
897
+ })), h = /* @__PURE__ */ e(((e) => {
898
+ Object.defineProperty(e, "__esModule", { value: !0 });
899
+ var t = function() {
900
+ function e(e, t) {
901
+ for (var n = 0; n < t.length; n++) {
902
+ var r = t[n];
903
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
904
+ }
905
+ }
906
+ return function(t, n, r) {
907
+ return n && e(t.prototype, n), r && e(t, r), t;
908
+ };
909
+ }(), n = function e(t, n, r) {
910
+ t === null && (t = Function.prototype);
911
+ var i = Object.getOwnPropertyDescriptor(t, n);
912
+ if (i === void 0) {
913
+ var a = Object.getPrototypeOf(t);
914
+ return a === null ? void 0 : e(a, n, r);
915
+ } else if ("value" in i) return i.value;
916
+ else {
917
+ var o = i.get;
918
+ return o === void 0 ? void 0 : o.call(r);
919
+ }
920
+ }, r = i(p());
921
+ function i(e) {
922
+ return e && e.__esModule ? e : { default: e };
923
+ }
924
+ function a(e, t) {
925
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
926
+ }
927
+ function o(e, t) {
928
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
929
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
930
+ }
931
+ function s(e, t) {
932
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
933
+ e.prototype = Object.create(t && t.prototype, { constructor: {
934
+ value: e,
935
+ enumerable: !1,
936
+ writable: !0,
937
+ configurable: !0
938
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
939
+ }
940
+ var c = function(e) {
941
+ return (10 - e.substr(0, 7).split("").map(function(e) {
942
+ return +e;
943
+ }).reduce(function(e, t, n) {
944
+ return n % 2 ? e + t : e + t * 3;
945
+ }, 0) % 10) % 10;
946
+ };
947
+ e.default = function(e) {
948
+ s(r, e);
949
+ function r(e, t) {
950
+ return a(this, r), e.search(/^[0-9]{7}$/) !== -1 && (e += c(e)), o(this, (r.__proto__ || Object.getPrototypeOf(r)).call(this, e, t));
951
+ }
952
+ return t(r, [
953
+ {
954
+ key: "valid",
955
+ value: function() {
956
+ return this.data.search(/^[0-9]{8}$/) !== -1 && +this.data[7] === c(this.data);
957
+ }
958
+ },
959
+ {
960
+ key: "leftText",
961
+ value: function() {
962
+ return n(r.prototype.__proto__ || Object.getPrototypeOf(r.prototype), "leftText", this).call(this, 0, 4);
963
+ }
964
+ },
965
+ {
966
+ key: "leftEncode",
967
+ value: function() {
968
+ var e = this.data.substr(0, 4);
969
+ return n(r.prototype.__proto__ || Object.getPrototypeOf(r.prototype), "leftEncode", this).call(this, e, "LLLL");
970
+ }
971
+ },
972
+ {
973
+ key: "rightText",
974
+ value: function() {
975
+ return n(r.prototype.__proto__ || Object.getPrototypeOf(r.prototype), "rightText", this).call(this, 4, 4);
976
+ }
977
+ },
978
+ {
979
+ key: "rightEncode",
980
+ value: function() {
981
+ var e = this.data.substr(4, 4);
982
+ return n(r.prototype.__proto__ || Object.getPrototypeOf(r.prototype), "rightEncode", this).call(this, e, "RRRR");
983
+ }
984
+ }
985
+ ]), r;
986
+ }(r.default);
987
+ })), g = /* @__PURE__ */ e(((e) => {
988
+ Object.defineProperty(e, "__esModule", { value: !0 });
989
+ var n = function() {
990
+ function e(e, t) {
991
+ for (var n = 0; n < t.length; n++) {
992
+ var r = t[n];
993
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
994
+ }
995
+ }
996
+ return function(t, n, r) {
997
+ return n && e(t.prototype, n), r && e(t, r), t;
998
+ };
999
+ }(), r = d(), i = o(f()), a = o(t());
1000
+ function o(e) {
1001
+ return e && e.__esModule ? e : { default: e };
1002
+ }
1003
+ function s(e, t) {
1004
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1005
+ }
1006
+ function c(e, t) {
1007
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1008
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1009
+ }
1010
+ function l(e, t) {
1011
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1012
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1013
+ value: e,
1014
+ enumerable: !1,
1015
+ writable: !0,
1016
+ configurable: !0
1017
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1018
+ }
1019
+ var u = function(e) {
1020
+ return e.split("").map(function(e) {
1021
+ return +e;
1022
+ }).reduce(function(e, t, n) {
1023
+ return n % 2 ? e + t * 9 : e + t * 3;
1024
+ }, 0) % 10;
1025
+ };
1026
+ e.default = function(e) {
1027
+ l(t, e);
1028
+ function t(e, n) {
1029
+ return s(this, t), c(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n));
1030
+ }
1031
+ return n(t, [{
1032
+ key: "valid",
1033
+ value: function() {
1034
+ return this.data.search(/^[0-9]{5}$/) !== -1;
1035
+ }
1036
+ }, {
1037
+ key: "encode",
1038
+ value: function() {
1039
+ var e = r.EAN5_STRUCTURE[u(this.data)];
1040
+ return {
1041
+ data: "1011" + (0, i.default)(this.data, e, "01"),
1042
+ text: this.text
1043
+ };
1044
+ }
1045
+ }]), t;
1046
+ }(a.default);
1047
+ })), _ = /* @__PURE__ */ e(((e) => {
1048
+ Object.defineProperty(e, "__esModule", { value: !0 });
1049
+ var n = function() {
1050
+ function e(e, t) {
1051
+ for (var n = 0; n < t.length; n++) {
1052
+ var r = t[n];
1053
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1054
+ }
1055
+ }
1056
+ return function(t, n, r) {
1057
+ return n && e(t.prototype, n), r && e(t, r), t;
1058
+ };
1059
+ }(), r = d(), i = o(f()), a = o(t());
1060
+ function o(e) {
1061
+ return e && e.__esModule ? e : { default: e };
1062
+ }
1063
+ function s(e, t) {
1064
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1065
+ }
1066
+ function c(e, t) {
1067
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1068
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1069
+ }
1070
+ function l(e, t) {
1071
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1072
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1073
+ value: e,
1074
+ enumerable: !1,
1075
+ writable: !0,
1076
+ configurable: !0
1077
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1078
+ }
1079
+ e.default = function(e) {
1080
+ l(t, e);
1081
+ function t(e, n) {
1082
+ return s(this, t), c(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n));
1083
+ }
1084
+ return n(t, [{
1085
+ key: "valid",
1086
+ value: function() {
1087
+ return this.data.search(/^[0-9]{2}$/) !== -1;
1088
+ }
1089
+ }, {
1090
+ key: "encode",
1091
+ value: function() {
1092
+ var e = r.EAN2_STRUCTURE[parseInt(this.data) % 4];
1093
+ return {
1094
+ data: "1011" + (0, i.default)(this.data, e, "01"),
1095
+ text: this.text
1096
+ };
1097
+ }
1098
+ }]), t;
1099
+ }(a.default);
1100
+ })), v = /* @__PURE__ */ e(((e) => {
1101
+ Object.defineProperty(e, "__esModule", { value: !0 });
1102
+ var n = function() {
1103
+ function e(e, t) {
1104
+ for (var n = 0; n < t.length; n++) {
1105
+ var r = t[n];
1106
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1107
+ }
1108
+ }
1109
+ return function(t, n, r) {
1110
+ return n && e(t.prototype, n), r && e(t, r), t;
1111
+ };
1112
+ }();
1113
+ e.checksum = u;
1114
+ var r = a(f()), i = a(t());
1115
+ function a(e) {
1116
+ return e && e.__esModule ? e : { default: e };
1117
+ }
1118
+ function o(e, t) {
1119
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1120
+ }
1121
+ function s(e, t) {
1122
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1123
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1124
+ }
1125
+ function c(e, t) {
1126
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1127
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1128
+ value: e,
1129
+ enumerable: !1,
1130
+ writable: !0,
1131
+ configurable: !0
1132
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1133
+ }
1134
+ var l = function(e) {
1135
+ c(t, e);
1136
+ function t(e, n) {
1137
+ o(this, t), e.search(/^[0-9]{11}$/) !== -1 && (e += u(e));
1138
+ var r = s(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n));
1139
+ return r.displayValue = n.displayValue, n.fontSize > n.width * 10 ? r.fontSize = n.width * 10 : r.fontSize = n.fontSize, r.guardHeight = n.height + r.fontSize / 2 + n.textMargin, r;
1140
+ }
1141
+ return n(t, [
1142
+ {
1143
+ key: "valid",
1144
+ value: function() {
1145
+ return this.data.search(/^[0-9]{12}$/) !== -1 && this.data[11] == u(this.data);
1146
+ }
1147
+ },
1148
+ {
1149
+ key: "encode",
1150
+ value: function() {
1151
+ return this.options.flat ? this.flatEncoding() : this.guardedEncoding();
1152
+ }
1153
+ },
1154
+ {
1155
+ key: "flatEncoding",
1156
+ value: function() {
1157
+ var e = "";
1158
+ return e += "101", e += (0, r.default)(this.data.substr(0, 6), "LLLLLL"), e += "01010", e += (0, r.default)(this.data.substr(6, 6), "RRRRRR"), e += "101", {
1159
+ data: e,
1160
+ text: this.text
1161
+ };
1162
+ }
1163
+ },
1164
+ {
1165
+ key: "guardedEncoding",
1166
+ value: function() {
1167
+ var e = [];
1168
+ return this.displayValue && e.push({
1169
+ data: "00000000",
1170
+ text: this.text.substr(0, 1),
1171
+ options: {
1172
+ textAlign: "left",
1173
+ fontSize: this.fontSize
1174
+ }
1175
+ }), e.push({
1176
+ data: "101" + (0, r.default)(this.data[0], "L"),
1177
+ options: { height: this.guardHeight }
1178
+ }), e.push({
1179
+ data: (0, r.default)(this.data.substr(1, 5), "LLLLL"),
1180
+ text: this.text.substr(1, 5),
1181
+ options: { fontSize: this.fontSize }
1182
+ }), e.push({
1183
+ data: "01010",
1184
+ options: { height: this.guardHeight }
1185
+ }), e.push({
1186
+ data: (0, r.default)(this.data.substr(6, 5), "RRRRR"),
1187
+ text: this.text.substr(6, 5),
1188
+ options: { fontSize: this.fontSize }
1189
+ }), e.push({
1190
+ data: (0, r.default)(this.data[11], "R") + "101",
1191
+ options: { height: this.guardHeight }
1192
+ }), this.displayValue && e.push({
1193
+ data: "00000000",
1194
+ text: this.text.substr(11, 1),
1195
+ options: {
1196
+ textAlign: "right",
1197
+ fontSize: this.fontSize
1198
+ }
1199
+ }), e;
1200
+ }
1201
+ }
1202
+ ]), t;
1203
+ }(i.default);
1204
+ function u(e) {
1205
+ var t = 0, n;
1206
+ for (n = 1; n < 11; n += 2) t += parseInt(e[n]);
1207
+ for (n = 0; n < 11; n += 2) t += parseInt(e[n]) * 3;
1208
+ return (10 - t % 10) % 10;
1209
+ }
1210
+ e.default = l;
1211
+ })), y = /* @__PURE__ */ e(((e) => {
1212
+ Object.defineProperty(e, "__esModule", { value: !0 });
1213
+ var n = function() {
1214
+ function e(e, t) {
1215
+ for (var n = 0; n < t.length; n++) {
1216
+ var r = t[n];
1217
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1218
+ }
1219
+ }
1220
+ return function(t, n, r) {
1221
+ return n && e(t.prototype, n), r && e(t, r), t;
1222
+ };
1223
+ }(), r = o(f()), i = o(t()), a = v();
1224
+ function o(e) {
1225
+ return e && e.__esModule ? e : { default: e };
1226
+ }
1227
+ function s(e, t) {
1228
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1229
+ }
1230
+ function c(e, t) {
1231
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1232
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1233
+ }
1234
+ function l(e, t) {
1235
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1236
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1237
+ value: e,
1238
+ enumerable: !1,
1239
+ writable: !0,
1240
+ configurable: !0
1241
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1242
+ }
1243
+ var u = [
1244
+ "XX00000XXX",
1245
+ "XX10000XXX",
1246
+ "XX20000XXX",
1247
+ "XXX00000XX",
1248
+ "XXXX00000X",
1249
+ "XXXXX00005",
1250
+ "XXXXX00006",
1251
+ "XXXXX00007",
1252
+ "XXXXX00008",
1253
+ "XXXXX00009"
1254
+ ], d = [
1255
+ ["EEEOOO", "OOOEEE"],
1256
+ ["EEOEOO", "OOEOEE"],
1257
+ ["EEOOEO", "OOEEOE"],
1258
+ ["EEOOOE", "OOEEEO"],
1259
+ ["EOEEOO", "OEOOEE"],
1260
+ ["EOOEEO", "OEEOOE"],
1261
+ ["EOOOEE", "OEEEOO"],
1262
+ ["EOEOEO", "OEOEOE"],
1263
+ ["EOEOOE", "OEOEEO"],
1264
+ ["EOOEOE", "OEEOEO"]
1265
+ ], p = function(e) {
1266
+ l(t, e);
1267
+ function t(e, n) {
1268
+ s(this, t);
1269
+ var r = c(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n));
1270
+ if (r.isValid = !1, e.search(/^[0-9]{6}$/) !== -1) r.middleDigits = e, r.upcA = m(e, "0"), r.text = n.text || "" + r.upcA[0] + e + r.upcA[r.upcA.length - 1], r.isValid = !0;
1271
+ else if (e.search(/^[01][0-9]{7}$/) !== -1) if (r.middleDigits = e.substring(1, e.length - 1), r.upcA = m(r.middleDigits, e[0]), r.upcA[r.upcA.length - 1] === e[e.length - 1]) r.isValid = !0;
1272
+ else return c(r);
1273
+ else return c(r);
1274
+ return r.displayValue = n.displayValue, n.fontSize > n.width * 10 ? r.fontSize = n.width * 10 : r.fontSize = n.fontSize, r.guardHeight = n.height + r.fontSize / 2 + n.textMargin, r;
1275
+ }
1276
+ return n(t, [
1277
+ {
1278
+ key: "valid",
1279
+ value: function() {
1280
+ return this.isValid;
1281
+ }
1282
+ },
1283
+ {
1284
+ key: "encode",
1285
+ value: function() {
1286
+ return this.options.flat ? this.flatEncoding() : this.guardedEncoding();
1287
+ }
1288
+ },
1289
+ {
1290
+ key: "flatEncoding",
1291
+ value: function() {
1292
+ var e = "";
1293
+ return e += "101", e += this.encodeMiddleDigits(), e += "010101", {
1294
+ data: e,
1295
+ text: this.text
1296
+ };
1297
+ }
1298
+ },
1299
+ {
1300
+ key: "guardedEncoding",
1301
+ value: function() {
1302
+ var e = [];
1303
+ return this.displayValue && e.push({
1304
+ data: "00000000",
1305
+ text: this.text[0],
1306
+ options: {
1307
+ textAlign: "left",
1308
+ fontSize: this.fontSize
1309
+ }
1310
+ }), e.push({
1311
+ data: "101",
1312
+ options: { height: this.guardHeight }
1313
+ }), e.push({
1314
+ data: this.encodeMiddleDigits(),
1315
+ text: this.text.substring(1, 7),
1316
+ options: { fontSize: this.fontSize }
1317
+ }), e.push({
1318
+ data: "010101",
1319
+ options: { height: this.guardHeight }
1320
+ }), this.displayValue && e.push({
1321
+ data: "00000000",
1322
+ text: this.text[7],
1323
+ options: {
1324
+ textAlign: "right",
1325
+ fontSize: this.fontSize
1326
+ }
1327
+ }), e;
1328
+ }
1329
+ },
1330
+ {
1331
+ key: "encodeMiddleDigits",
1332
+ value: function() {
1333
+ var e = this.upcA[0], t = this.upcA[this.upcA.length - 1], n = d[parseInt(t)][parseInt(e)];
1334
+ return (0, r.default)(this.middleDigits, n);
1335
+ }
1336
+ }
1337
+ ]), t;
1338
+ }(i.default);
1339
+ function m(e, t) {
1340
+ for (var n = u[parseInt(e[e.length - 1])], r = "", i = 0, o = 0; o < n.length; o++) {
1341
+ var s = n[o];
1342
+ s === "X" ? r += e[i++] : r += s;
1343
+ }
1344
+ return r = "" + t + r, "" + r + (0, a.checksum)(r);
1345
+ }
1346
+ e.default = p;
1347
+ })), b = /* @__PURE__ */ e(((e) => {
1348
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.UPCE = e.UPC = e.EAN2 = e.EAN5 = e.EAN8 = e.EAN13 = void 0;
1349
+ var t = s(m()), n = s(h()), r = s(g()), i = s(_()), a = s(v()), o = s(y());
1350
+ function s(e) {
1351
+ return e && e.__esModule ? e : { default: e };
1352
+ }
1353
+ e.EAN13 = t.default, e.EAN8 = n.default, e.EAN5 = r.default, e.EAN2 = i.default, e.UPC = a.default, e.UPCE = o.default;
1354
+ })), x = /* @__PURE__ */ e(((e) => {
1355
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.START_BIN = "1010", e.END_BIN = "11101", e.BINARIES = [
1356
+ "00110",
1357
+ "10001",
1358
+ "01001",
1359
+ "11000",
1360
+ "00101",
1361
+ "10100",
1362
+ "01100",
1363
+ "00011",
1364
+ "10010",
1365
+ "01010"
1366
+ ];
1367
+ })), S = /* @__PURE__ */ e(((e) => {
1368
+ Object.defineProperty(e, "__esModule", { value: !0 });
1369
+ var n = function() {
1370
+ function e(e, t) {
1371
+ for (var n = 0; n < t.length; n++) {
1372
+ var r = t[n];
1373
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1374
+ }
1375
+ }
1376
+ return function(t, n, r) {
1377
+ return n && e(t.prototype, n), r && e(t, r), t;
1378
+ };
1379
+ }(), r = x(), i = a(t());
1380
+ function a(e) {
1381
+ return e && e.__esModule ? e : { default: e };
1382
+ }
1383
+ function o(e, t) {
1384
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1385
+ }
1386
+ function s(e, t) {
1387
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1388
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1389
+ }
1390
+ function c(e, t) {
1391
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1392
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1393
+ value: e,
1394
+ enumerable: !1,
1395
+ writable: !0,
1396
+ configurable: !0
1397
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1398
+ }
1399
+ e.default = function(e) {
1400
+ c(t, e);
1401
+ function t() {
1402
+ return o(this, t), s(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));
1403
+ }
1404
+ return n(t, [
1405
+ {
1406
+ key: "valid",
1407
+ value: function() {
1408
+ return this.data.search(/^([0-9]{2})+$/) !== -1;
1409
+ }
1410
+ },
1411
+ {
1412
+ key: "encode",
1413
+ value: function() {
1414
+ var e = this, t = this.data.match(/.{2}/g).map(function(t) {
1415
+ return e.encodePair(t);
1416
+ }).join("");
1417
+ return {
1418
+ data: r.START_BIN + t + r.END_BIN,
1419
+ text: this.text
1420
+ };
1421
+ }
1422
+ },
1423
+ {
1424
+ key: "encodePair",
1425
+ value: function(e) {
1426
+ var t = r.BINARIES[e[1]];
1427
+ return r.BINARIES[e[0]].split("").map(function(e, n) {
1428
+ return (e === "1" ? "111" : "1") + (t[n] === "1" ? "000" : "0");
1429
+ }).join("");
1430
+ }
1431
+ }
1432
+ ]), t;
1433
+ }(i.default);
1434
+ })), C = /* @__PURE__ */ e(((e) => {
1435
+ Object.defineProperty(e, "__esModule", { value: !0 });
1436
+ var t = function() {
1437
+ function e(e, t) {
1438
+ for (var n = 0; n < t.length; n++) {
1439
+ var r = t[n];
1440
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1441
+ }
1442
+ }
1443
+ return function(t, n, r) {
1444
+ return n && e(t.prototype, n), r && e(t, r), t;
1445
+ };
1446
+ }(), n = r(S());
1447
+ function r(e) {
1448
+ return e && e.__esModule ? e : { default: e };
1449
+ }
1450
+ function i(e, t) {
1451
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1452
+ }
1453
+ function a(e, t) {
1454
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1455
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1456
+ }
1457
+ function o(e, t) {
1458
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1459
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1460
+ value: e,
1461
+ enumerable: !1,
1462
+ writable: !0,
1463
+ configurable: !0
1464
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1465
+ }
1466
+ var s = function(e) {
1467
+ var t = e.substr(0, 13).split("").map(function(e) {
1468
+ return parseInt(e, 10);
1469
+ }).reduce(function(e, t, n) {
1470
+ return e + t * (3 - n % 2 * 2);
1471
+ }, 0);
1472
+ return Math.ceil(t / 10) * 10 - t;
1473
+ };
1474
+ e.default = function(e) {
1475
+ o(n, e);
1476
+ function n(e, t) {
1477
+ return i(this, n), e.search(/^[0-9]{13}$/) !== -1 && (e += s(e)), a(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, e, t));
1478
+ }
1479
+ return t(n, [{
1480
+ key: "valid",
1481
+ value: function() {
1482
+ return this.data.search(/^[0-9]{14}$/) !== -1 && +this.data[13] === s(this.data);
1483
+ }
1484
+ }]), n;
1485
+ }(n.default);
1486
+ })), w = /* @__PURE__ */ e(((e) => {
1487
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.ITF14 = e.ITF = void 0;
1488
+ var t = r(S()), n = r(C());
1489
+ function r(e) {
1490
+ return e && e.__esModule ? e : { default: e };
1491
+ }
1492
+ e.ITF = t.default, e.ITF14 = n.default;
1493
+ })), T = /* @__PURE__ */ e(((e) => {
1494
+ Object.defineProperty(e, "__esModule", { value: !0 });
1495
+ var n = function() {
1496
+ function e(e, t) {
1497
+ for (var n = 0; n < t.length; n++) {
1498
+ var r = t[n];
1499
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1500
+ }
1501
+ }
1502
+ return function(t, n, r) {
1503
+ return n && e(t.prototype, n), r && e(t, r), t;
1504
+ };
1505
+ }(), r = i(t());
1506
+ function i(e) {
1507
+ return e && e.__esModule ? e : { default: e };
1508
+ }
1509
+ function a(e, t) {
1510
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1511
+ }
1512
+ function o(e, t) {
1513
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1514
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1515
+ }
1516
+ function s(e, t) {
1517
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1518
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1519
+ value: e,
1520
+ enumerable: !1,
1521
+ writable: !0,
1522
+ configurable: !0
1523
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1524
+ }
1525
+ var c = function(e) {
1526
+ s(t, e);
1527
+ function t(e, n) {
1528
+ return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n));
1529
+ }
1530
+ return n(t, [{
1531
+ key: "encode",
1532
+ value: function() {
1533
+ for (var e = "110", t = 0; t < this.data.length; t++) {
1534
+ var n = parseInt(this.data[t]).toString(2);
1535
+ n = l(n, 4 - n.length);
1536
+ for (var r = 0; r < n.length; r++) e += n[r] == "0" ? "100" : "110";
1537
+ }
1538
+ return e += "1001", {
1539
+ data: e,
1540
+ text: this.text
1541
+ };
1542
+ }
1543
+ }, {
1544
+ key: "valid",
1545
+ value: function() {
1546
+ return this.data.search(/^[0-9]+$/) !== -1;
1547
+ }
1548
+ }]), t;
1549
+ }(r.default);
1550
+ function l(e, t) {
1551
+ for (var n = 0; n < t; n++) e = "0" + e;
1552
+ return e;
1553
+ }
1554
+ e.default = c;
1555
+ })), E = /* @__PURE__ */ e(((e) => {
1556
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.mod10 = t, e.mod11 = n;
1557
+ function t(e) {
1558
+ for (var t = 0, n = 0; n < e.length; n++) {
1559
+ var r = parseInt(e[n]);
1560
+ (n + e.length) % 2 == 0 ? t += r : t += r * 2 % 10 + Math.floor(r * 2 / 10);
1561
+ }
1562
+ return (10 - t % 10) % 10;
1563
+ }
1564
+ function n(e) {
1565
+ for (var t = 0, n = [
1566
+ 2,
1567
+ 3,
1568
+ 4,
1569
+ 5,
1570
+ 6,
1571
+ 7
1572
+ ], r = 0; r < e.length; r++) {
1573
+ var i = parseInt(e[e.length - 1 - r]);
1574
+ t += n[r % n.length] * i;
1575
+ }
1576
+ return (11 - t % 11) % 11;
1577
+ }
1578
+ })), D = /* @__PURE__ */ e(((e) => {
1579
+ Object.defineProperty(e, "__esModule", { value: !0 });
1580
+ var t = r(T()), n = E();
1581
+ function r(e) {
1582
+ return e && e.__esModule ? e : { default: e };
1583
+ }
1584
+ function i(e, t) {
1585
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1586
+ }
1587
+ function a(e, t) {
1588
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1589
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1590
+ }
1591
+ function o(e, t) {
1592
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1593
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1594
+ value: e,
1595
+ enumerable: !1,
1596
+ writable: !0,
1597
+ configurable: !0
1598
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1599
+ }
1600
+ e.default = function(e) {
1601
+ o(t, e);
1602
+ function t(e, r) {
1603
+ return i(this, t), a(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e + (0, n.mod10)(e), r));
1604
+ }
1605
+ return t;
1606
+ }(t.default);
1607
+ })), O = /* @__PURE__ */ e(((e) => {
1608
+ Object.defineProperty(e, "__esModule", { value: !0 });
1609
+ var t = r(T()), n = E();
1610
+ function r(e) {
1611
+ return e && e.__esModule ? e : { default: e };
1612
+ }
1613
+ function i(e, t) {
1614
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1615
+ }
1616
+ function a(e, t) {
1617
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1618
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1619
+ }
1620
+ function o(e, t) {
1621
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1622
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1623
+ value: e,
1624
+ enumerable: !1,
1625
+ writable: !0,
1626
+ configurable: !0
1627
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1628
+ }
1629
+ e.default = function(e) {
1630
+ o(t, e);
1631
+ function t(e, r) {
1632
+ return i(this, t), a(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e + (0, n.mod11)(e), r));
1633
+ }
1634
+ return t;
1635
+ }(t.default);
1636
+ })), k = /* @__PURE__ */ e(((e) => {
1637
+ Object.defineProperty(e, "__esModule", { value: !0 });
1638
+ var t = r(T()), n = E();
1639
+ function r(e) {
1640
+ return e && e.__esModule ? e : { default: e };
1641
+ }
1642
+ function i(e, t) {
1643
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1644
+ }
1645
+ function a(e, t) {
1646
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1647
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1648
+ }
1649
+ function o(e, t) {
1650
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1651
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1652
+ value: e,
1653
+ enumerable: !1,
1654
+ writable: !0,
1655
+ configurable: !0
1656
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1657
+ }
1658
+ e.default = function(e) {
1659
+ o(t, e);
1660
+ function t(e, r) {
1661
+ return i(this, t), e += (0, n.mod10)(e), e += (0, n.mod10)(e), a(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, r));
1662
+ }
1663
+ return t;
1664
+ }(t.default);
1665
+ })), A = /* @__PURE__ */ e(((e) => {
1666
+ Object.defineProperty(e, "__esModule", { value: !0 });
1667
+ var t = r(T()), n = E();
1668
+ function r(e) {
1669
+ return e && e.__esModule ? e : { default: e };
1670
+ }
1671
+ function i(e, t) {
1672
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1673
+ }
1674
+ function a(e, t) {
1675
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1676
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1677
+ }
1678
+ function o(e, t) {
1679
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1680
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1681
+ value: e,
1682
+ enumerable: !1,
1683
+ writable: !0,
1684
+ configurable: !0
1685
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1686
+ }
1687
+ e.default = function(e) {
1688
+ o(t, e);
1689
+ function t(e, r) {
1690
+ return i(this, t), e += (0, n.mod11)(e), e += (0, n.mod10)(e), a(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, r));
1691
+ }
1692
+ return t;
1693
+ }(t.default);
1694
+ })), j = /* @__PURE__ */ e(((e) => {
1695
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.MSI1110 = e.MSI1010 = e.MSI11 = e.MSI10 = e.MSI = void 0;
1696
+ var t = o(T()), n = o(D()), r = o(O()), i = o(k()), a = o(A());
1697
+ function o(e) {
1698
+ return e && e.__esModule ? e : { default: e };
1699
+ }
1700
+ e.MSI = t.default, e.MSI10 = n.default, e.MSI11 = r.default, e.MSI1010 = i.default, e.MSI1110 = a.default;
1701
+ })), M = /* @__PURE__ */ e(((e) => {
1702
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.pharmacode = void 0;
1703
+ var n = function() {
1704
+ function e(e, t) {
1705
+ for (var n = 0; n < t.length; n++) {
1706
+ var r = t[n];
1707
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1708
+ }
1709
+ }
1710
+ return function(t, n, r) {
1711
+ return n && e(t.prototype, n), r && e(t, r), t;
1712
+ };
1713
+ }(), r = i(t());
1714
+ function i(e) {
1715
+ return e && e.__esModule ? e : { default: e };
1716
+ }
1717
+ function a(e, t) {
1718
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1719
+ }
1720
+ function o(e, t) {
1721
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1722
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1723
+ }
1724
+ function s(e, t) {
1725
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1726
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1727
+ value: e,
1728
+ enumerable: !1,
1729
+ writable: !0,
1730
+ configurable: !0
1731
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1732
+ }
1733
+ e.pharmacode = function(e) {
1734
+ s(t, e);
1735
+ function t(e, n) {
1736
+ a(this, t);
1737
+ var r = o(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n));
1738
+ return r.number = parseInt(e, 10), r;
1739
+ }
1740
+ return n(t, [{
1741
+ key: "encode",
1742
+ value: function() {
1743
+ for (var e = this.number, t = ""; !isNaN(e) && e != 0;) e % 2 == 0 ? (t = "11100" + t, e = (e - 2) / 2) : (t = "100" + t, e = (e - 1) / 2);
1744
+ return t = t.slice(0, -2), {
1745
+ data: t,
1746
+ text: this.text
1747
+ };
1748
+ }
1749
+ }, {
1750
+ key: "valid",
1751
+ value: function() {
1752
+ return this.number >= 3 && this.number <= 131070;
1753
+ }
1754
+ }]), t;
1755
+ }(r.default);
1756
+ })), N = /* @__PURE__ */ e(((e) => {
1757
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.codabar = void 0;
1758
+ var n = function() {
1759
+ function e(e, t) {
1760
+ for (var n = 0; n < t.length; n++) {
1761
+ var r = t[n];
1762
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1763
+ }
1764
+ }
1765
+ return function(t, n, r) {
1766
+ return n && e(t.prototype, n), r && e(t, r), t;
1767
+ };
1768
+ }(), r = i(t());
1769
+ function i(e) {
1770
+ return e && e.__esModule ? e : { default: e };
1771
+ }
1772
+ function a(e, t) {
1773
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1774
+ }
1775
+ function o(e, t) {
1776
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1777
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1778
+ }
1779
+ function s(e, t) {
1780
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1781
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1782
+ value: e,
1783
+ enumerable: !1,
1784
+ writable: !0,
1785
+ configurable: !0
1786
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1787
+ }
1788
+ e.codabar = function(e) {
1789
+ s(t, e);
1790
+ function t(e, n) {
1791
+ a(this, t), e.search(/^[0-9\-\$\:\.\+\/]+$/) === 0 && (e = "A" + e + "A");
1792
+ var r = o(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e.toUpperCase(), n));
1793
+ return r.text = r.options.text || r.text.replace(/[A-D]/g, ""), r;
1794
+ }
1795
+ return n(t, [
1796
+ {
1797
+ key: "valid",
1798
+ value: function() {
1799
+ return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/) !== -1;
1800
+ }
1801
+ },
1802
+ {
1803
+ key: "encode",
1804
+ value: function() {
1805
+ for (var e = [], t = this.getEncodings(), n = 0; n < this.data.length; n++) e.push(t[this.data.charAt(n)]), n !== this.data.length - 1 && e.push("0");
1806
+ return {
1807
+ text: this.text,
1808
+ data: e.join("")
1809
+ };
1810
+ }
1811
+ },
1812
+ {
1813
+ key: "getEncodings",
1814
+ value: function() {
1815
+ return {
1816
+ 0: "101010011",
1817
+ 1: "101011001",
1818
+ 2: "101001011",
1819
+ 3: "110010101",
1820
+ 4: "101101001",
1821
+ 5: "110101001",
1822
+ 6: "100101011",
1823
+ 7: "100101101",
1824
+ 8: "100110101",
1825
+ 9: "110100101",
1826
+ "-": "101001101",
1827
+ $: "101100101",
1828
+ ":": "1101011011",
1829
+ "/": "1101101011",
1830
+ ".": "1101101101",
1831
+ "+": "1011011011",
1832
+ A: "1011001001",
1833
+ B: "1001001011",
1834
+ C: "1010010011",
1835
+ D: "1010011001"
1836
+ };
1837
+ }
1838
+ }
1839
+ ]), t;
1840
+ }(r.default);
1841
+ })), P = /* @__PURE__ */ e(((e) => {
1842
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.SYMBOLS = /* @__PURE__ */ "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,-,., ,$,/,+,%,($),(%),(/),(+),ÿ".split(","), e.BINARIES = /* @__PURE__ */ "100010100.101001000.101000100.101000010.100101000.100100100.100100010.101010000.100010010.100001010.110101000.110100100.110100010.110010100.110010010.110001010.101101000.101100100.101100010.100110100.100011010.101011000.101001100.101000110.100101100.100010110.110110100.110110010.110101100.110100110.110010110.110011010.101101100.101100110.100110110.100111010.100101110.111010100.111010010.111001010.101101110.101110110.110101110.100100110.111011010.111010110.100110010.101011110".split("."), e.MULTI_SYMBOLS = {
1843
+ "\0": ["(%)", "U"],
1844
+ "": ["($)", "A"],
1845
+ "": ["($)", "B"],
1846
+ "": ["($)", "C"],
1847
+ "": ["($)", "D"],
1848
+ "": ["($)", "E"],
1849
+ "": ["($)", "F"],
1850
+ "\x07": ["($)", "G"],
1851
+ "\b": ["($)", "H"],
1852
+ " ": ["($)", "I"],
1853
+ "\n": ["($)", "J"],
1854
+ "\v": ["($)", "K"],
1855
+ "\f": ["($)", "L"],
1856
+ "\r": ["($)", "M"],
1857
+ "": ["($)", "N"],
1858
+ "": ["($)", "O"],
1859
+ "": ["($)", "P"],
1860
+ "": ["($)", "Q"],
1861
+ "": ["($)", "R"],
1862
+ "": ["($)", "S"],
1863
+ "": ["($)", "T"],
1864
+ "": ["($)", "U"],
1865
+ "": ["($)", "V"],
1866
+ "": ["($)", "W"],
1867
+ "": ["($)", "X"],
1868
+ "": ["($)", "Y"],
1869
+ "": ["($)", "Z"],
1870
+ "\x1B": ["(%)", "A"],
1871
+ "": ["(%)", "B"],
1872
+ "": ["(%)", "C"],
1873
+ "": ["(%)", "D"],
1874
+ "": ["(%)", "E"],
1875
+ "!": ["(/)", "A"],
1876
+ "\"": ["(/)", "B"],
1877
+ "#": ["(/)", "C"],
1878
+ "&": ["(/)", "F"],
1879
+ "'": ["(/)", "G"],
1880
+ "(": ["(/)", "H"],
1881
+ ")": ["(/)", "I"],
1882
+ "*": ["(/)", "J"],
1883
+ ",": ["(/)", "L"],
1884
+ ":": ["(/)", "Z"],
1885
+ ";": ["(%)", "F"],
1886
+ "<": ["(%)", "G"],
1887
+ "=": ["(%)", "H"],
1888
+ ">": ["(%)", "I"],
1889
+ "?": ["(%)", "J"],
1890
+ "@": ["(%)", "V"],
1891
+ "[": ["(%)", "K"],
1892
+ "\\": ["(%)", "L"],
1893
+ "]": ["(%)", "M"],
1894
+ "^": ["(%)", "N"],
1895
+ _: ["(%)", "O"],
1896
+ "`": ["(%)", "W"],
1897
+ a: ["(+)", "A"],
1898
+ b: ["(+)", "B"],
1899
+ c: ["(+)", "C"],
1900
+ d: ["(+)", "D"],
1901
+ e: ["(+)", "E"],
1902
+ f: ["(+)", "F"],
1903
+ g: ["(+)", "G"],
1904
+ h: ["(+)", "H"],
1905
+ i: ["(+)", "I"],
1906
+ j: ["(+)", "J"],
1907
+ k: ["(+)", "K"],
1908
+ l: ["(+)", "L"],
1909
+ m: ["(+)", "M"],
1910
+ n: ["(+)", "N"],
1911
+ o: ["(+)", "O"],
1912
+ p: ["(+)", "P"],
1913
+ q: ["(+)", "Q"],
1914
+ r: ["(+)", "R"],
1915
+ s: ["(+)", "S"],
1916
+ t: ["(+)", "T"],
1917
+ u: ["(+)", "U"],
1918
+ v: ["(+)", "V"],
1919
+ w: ["(+)", "W"],
1920
+ x: ["(+)", "X"],
1921
+ y: ["(+)", "Y"],
1922
+ z: ["(+)", "Z"],
1923
+ "{": ["(%)", "P"],
1924
+ "|": ["(%)", "Q"],
1925
+ "}": ["(%)", "R"],
1926
+ "~": ["(%)", "S"],
1927
+ "": ["(%)", "T"]
1928
+ };
1929
+ })), F = /* @__PURE__ */ e(((e) => {
1930
+ Object.defineProperty(e, "__esModule", { value: !0 });
1931
+ var n = function() {
1932
+ function e(e, t) {
1933
+ for (var n = 0; n < t.length; n++) {
1934
+ var r = t[n];
1935
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1936
+ }
1937
+ }
1938
+ return function(t, n, r) {
1939
+ return n && e(t.prototype, n), r && e(t, r), t;
1940
+ };
1941
+ }(), r = P(), i = a(t());
1942
+ function a(e) {
1943
+ return e && e.__esModule ? e : { default: e };
1944
+ }
1945
+ function o(e, t) {
1946
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1947
+ }
1948
+ function s(e, t) {
1949
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1950
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
1951
+ }
1952
+ function c(e, t) {
1953
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
1954
+ e.prototype = Object.create(t && t.prototype, { constructor: {
1955
+ value: e,
1956
+ enumerable: !1,
1957
+ writable: !0,
1958
+ configurable: !0
1959
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1960
+ }
1961
+ e.default = function(e) {
1962
+ c(t, e);
1963
+ function t(e, n) {
1964
+ return o(this, t), s(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n));
1965
+ }
1966
+ return n(t, [{
1967
+ key: "valid",
1968
+ value: function() {
1969
+ return /^[0-9A-Z\-. $/+%]+$/.test(this.data);
1970
+ }
1971
+ }, {
1972
+ key: "encode",
1973
+ value: function() {
1974
+ var e = this.data.split("").flatMap(function(e) {
1975
+ return r.MULTI_SYMBOLS[e] || e;
1976
+ }), n = e.map(function(e) {
1977
+ return t.getEncoding(e);
1978
+ }).join(""), i = t.checksum(e, 20), a = t.checksum(e.concat(i), 15);
1979
+ return {
1980
+ text: this.text,
1981
+ data: t.getEncoding("ÿ") + n + t.getEncoding(i) + t.getEncoding(a) + t.getEncoding("ÿ") + "1"
1982
+ };
1983
+ }
1984
+ }], [
1985
+ {
1986
+ key: "getEncoding",
1987
+ value: function(e) {
1988
+ return r.BINARIES[t.symbolValue(e)];
1989
+ }
1990
+ },
1991
+ {
1992
+ key: "getSymbol",
1993
+ value: function(e) {
1994
+ return r.SYMBOLS[e];
1995
+ }
1996
+ },
1997
+ {
1998
+ key: "symbolValue",
1999
+ value: function(e) {
2000
+ return r.SYMBOLS.indexOf(e);
2001
+ }
2002
+ },
2003
+ {
2004
+ key: "checksum",
2005
+ value: function(e, n) {
2006
+ var r = e.slice().reverse().reduce(function(e, r, i) {
2007
+ var a = i % n + 1;
2008
+ return e + t.symbolValue(r) * a;
2009
+ }, 0);
2010
+ return t.getSymbol(r % 47);
2011
+ }
2012
+ }
2013
+ ]), t;
2014
+ }(i.default);
2015
+ })), I = /* @__PURE__ */ e(((e) => {
2016
+ Object.defineProperty(e, "__esModule", { value: !0 });
2017
+ var t = function() {
2018
+ function e(e, t) {
2019
+ for (var n = 0; n < t.length; n++) {
2020
+ var r = t[n];
2021
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
2022
+ }
2023
+ }
2024
+ return function(t, n, r) {
2025
+ return n && e(t.prototype, n), r && e(t, r), t;
2026
+ };
2027
+ }(), n = r(F());
2028
+ function r(e) {
2029
+ return e && e.__esModule ? e : { default: e };
2030
+ }
2031
+ function i(e, t) {
2032
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
2033
+ }
2034
+ function a(e, t) {
2035
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
2036
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
2037
+ }
2038
+ function o(e, t) {
2039
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
2040
+ e.prototype = Object.create(t && t.prototype, { constructor: {
2041
+ value: e,
2042
+ enumerable: !1,
2043
+ writable: !0,
2044
+ configurable: !0
2045
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
2046
+ }
2047
+ e.default = function(e) {
2048
+ o(n, e);
2049
+ function n(e, t) {
2050
+ return i(this, n), a(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, e, t));
2051
+ }
2052
+ return t(n, [{
2053
+ key: "valid",
2054
+ value: function() {
2055
+ return /^[\x00-\x7f]+$/.test(this.data);
2056
+ }
2057
+ }]), n;
2058
+ }(n.default);
2059
+ })), L = /* @__PURE__ */ e(((e) => {
2060
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.CODE93FullASCII = e.CODE93 = void 0;
2061
+ var t = r(F()), n = r(I());
2062
+ function r(e) {
2063
+ return e && e.__esModule ? e : { default: e };
2064
+ }
2065
+ e.CODE93 = t.default, e.CODE93FullASCII = n.default;
2066
+ })), R = /* @__PURE__ */ e(((e) => {
2067
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.GenericBarcode = void 0;
2068
+ var n = function() {
2069
+ function e(e, t) {
2070
+ for (var n = 0; n < t.length; n++) {
2071
+ var r = t[n];
2072
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
2073
+ }
2074
+ }
2075
+ return function(t, n, r) {
2076
+ return n && e(t.prototype, n), r && e(t, r), t;
2077
+ };
2078
+ }(), r = i(t());
2079
+ function i(e) {
2080
+ return e && e.__esModule ? e : { default: e };
2081
+ }
2082
+ function a(e, t) {
2083
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
2084
+ }
2085
+ function o(e, t) {
2086
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
2087
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
2088
+ }
2089
+ function s(e, t) {
2090
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
2091
+ e.prototype = Object.create(t && t.prototype, { constructor: {
2092
+ value: e,
2093
+ enumerable: !1,
2094
+ writable: !0,
2095
+ configurable: !0
2096
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
2097
+ }
2098
+ e.GenericBarcode = function(e) {
2099
+ s(t, e);
2100
+ function t(e, n) {
2101
+ return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n));
2102
+ }
2103
+ return n(t, [{
2104
+ key: "encode",
2105
+ value: function() {
2106
+ return {
2107
+ data: "10101010101010101010101010101010101010101",
2108
+ text: this.text
2109
+ };
2110
+ }
2111
+ }, {
2112
+ key: "valid",
2113
+ value: function() {
2114
+ return !0;
2115
+ }
2116
+ }]), t;
2117
+ }(r.default);
2118
+ })), z = /* @__PURE__ */ e(((e) => {
2119
+ Object.defineProperty(e, "__esModule", { value: !0 });
2120
+ var t = n(), r = u(), i = b(), a = w(), o = j(), s = M(), c = N(), l = L(), d = R();
2121
+ e.default = {
2122
+ CODE39: t.CODE39,
2123
+ CODE128: r.CODE128,
2124
+ CODE128A: r.CODE128A,
2125
+ CODE128B: r.CODE128B,
2126
+ CODE128C: r.CODE128C,
2127
+ EAN13: i.EAN13,
2128
+ EAN8: i.EAN8,
2129
+ EAN5: i.EAN5,
2130
+ EAN2: i.EAN2,
2131
+ UPC: i.UPC,
2132
+ UPCE: i.UPCE,
2133
+ ITF14: a.ITF14,
2134
+ ITF: a.ITF,
2135
+ MSI: o.MSI,
2136
+ MSI10: o.MSI10,
2137
+ MSI11: o.MSI11,
2138
+ MSI1010: o.MSI1010,
2139
+ MSI1110: o.MSI1110,
2140
+ pharmacode: s.pharmacode,
2141
+ codabar: c.codabar,
2142
+ CODE93: l.CODE93,
2143
+ CODE93FullASCII: l.CODE93FullASCII,
2144
+ GenericBarcode: d.GenericBarcode
2145
+ };
2146
+ })), B = /* @__PURE__ */ e(((e) => {
2147
+ Object.defineProperty(e, "__esModule", { value: !0 });
2148
+ var t = Object.assign || function(e) {
2149
+ for (var t = 1; t < arguments.length; t++) {
2150
+ var n = arguments[t];
2151
+ for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
2152
+ }
2153
+ return e;
2154
+ };
2155
+ e.default = function(e, n) {
2156
+ return t({}, e, n);
2157
+ };
2158
+ })), V = /* @__PURE__ */ e(((e) => {
2159
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = t;
2160
+ function t(e) {
2161
+ var t = [];
2162
+ function n(e) {
2163
+ if (Array.isArray(e)) for (var r = 0; r < e.length; r++) n(e[r]);
2164
+ else e.text = e.text || "", e.data = e.data || "", t.push(e);
2165
+ }
2166
+ return n(e), t;
2167
+ }
2168
+ })), H = /* @__PURE__ */ e(((e) => {
2169
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = t;
2170
+ function t(e) {
2171
+ return e.marginTop = e.marginTop || e.margin, e.marginBottom = e.marginBottom || e.margin, e.marginRight = e.marginRight || e.margin, e.marginLeft = e.marginLeft || e.margin, e;
2172
+ }
2173
+ })), U = /* @__PURE__ */ e(((e) => {
2174
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = t;
2175
+ function t(e) {
2176
+ var t = [
2177
+ "width",
2178
+ "height",
2179
+ "textMargin",
2180
+ "fontSize",
2181
+ "margin",
2182
+ "marginTop",
2183
+ "marginBottom",
2184
+ "marginLeft",
2185
+ "marginRight"
2186
+ ];
2187
+ for (var n in t) t.hasOwnProperty(n) && (n = t[n], typeof e[n] == "string" && (e[n] = parseInt(e[n], 10)));
2188
+ return typeof e.displayValue == "string" && (e.displayValue = e.displayValue != "false"), e;
2189
+ }
2190
+ })), W = /* @__PURE__ */ e(((e) => {
2191
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
2192
+ width: 2,
2193
+ height: 100,
2194
+ format: "auto",
2195
+ displayValue: !0,
2196
+ fontOptions: "",
2197
+ font: "monospace",
2198
+ text: void 0,
2199
+ textAlign: "center",
2200
+ textPosition: "bottom",
2201
+ textMargin: 2,
2202
+ fontSize: 20,
2203
+ background: "#ffffff",
2204
+ lineColor: "#000000",
2205
+ margin: 10,
2206
+ marginTop: void 0,
2207
+ marginBottom: void 0,
2208
+ marginLeft: void 0,
2209
+ marginRight: void 0,
2210
+ valid: function() {}
2211
+ };
2212
+ })), G = /* @__PURE__ */ e(((e) => {
2213
+ Object.defineProperty(e, "__esModule", { value: !0 });
2214
+ var t = r(U()), n = r(W());
2215
+ function r(e) {
2216
+ return e && e.__esModule ? e : { default: e };
2217
+ }
2218
+ function i(e) {
2219
+ var r = {};
2220
+ for (var i in n.default) n.default.hasOwnProperty(i) && (e.hasAttribute("jsbarcode-" + i.toLowerCase()) && (r[i] = e.getAttribute("jsbarcode-" + i.toLowerCase())), e.hasAttribute("data-" + i.toLowerCase()) && (r[i] = e.getAttribute("data-" + i.toLowerCase())));
2221
+ return r.value = e.getAttribute("jsbarcode-value") || e.getAttribute("data-value"), r = (0, t.default)(r), r;
2222
+ }
2223
+ e.default = i;
2224
+ })), K = /* @__PURE__ */ e(((e) => {
2225
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.getTotalWidthOfEncodings = e.calculateEncodingAttributes = e.getBarcodePadding = e.getEncodingHeight = e.getMaximumHeightOfEncodings = void 0;
2226
+ var t = n(B());
2227
+ function n(e) {
2228
+ return e && e.__esModule ? e : { default: e };
2229
+ }
2230
+ function r(e, t) {
2231
+ return t.height + (t.displayValue && e.text.length > 0 ? t.fontSize + t.textMargin : 0) + t.marginTop + t.marginBottom;
2232
+ }
2233
+ function i(e, t, n) {
2234
+ if (n.displayValue && t < e) {
2235
+ if (n.textAlign == "center") return Math.floor((e - t) / 2);
2236
+ if (n.textAlign == "left") return 0;
2237
+ if (n.textAlign == "right") return Math.floor(e - t);
2238
+ }
2239
+ return 0;
2240
+ }
2241
+ function a(e, n, a) {
2242
+ for (var o = 0; o < e.length; o++) {
2243
+ var s = e[o], l = (0, t.default)(n, s.options), u = l.displayValue ? c(s.text, l, a) : 0, d = s.data.length * l.width;
2244
+ s.width = Math.ceil(Math.max(u, d)), s.height = r(s, l), s.barcodePadding = i(u, d, l);
2245
+ }
2246
+ }
2247
+ function o(e) {
2248
+ for (var t = 0, n = 0; n < e.length; n++) t += e[n].width;
2249
+ return t;
2250
+ }
2251
+ function s(e) {
2252
+ for (var t = 0, n = 0; n < e.length; n++) e[n].height > t && (t = e[n].height);
2253
+ return t;
2254
+ }
2255
+ function c(e, t, n) {
2256
+ var r;
2257
+ if (n) r = n;
2258
+ else if (typeof document < "u") r = document.createElement("canvas").getContext("2d");
2259
+ else return 0;
2260
+ r.font = t.fontOptions + " " + t.fontSize + "px " + t.font;
2261
+ var i = r.measureText(e);
2262
+ return i ? i.width : 0;
2263
+ }
2264
+ e.getMaximumHeightOfEncodings = s, e.getEncodingHeight = r, e.getBarcodePadding = i, e.calculateEncodingAttributes = a, e.getTotalWidthOfEncodings = o;
2265
+ })), q = /* @__PURE__ */ e(((e) => {
2266
+ Object.defineProperty(e, "__esModule", { value: !0 });
2267
+ var t = function() {
2268
+ function e(e, t) {
2269
+ for (var n = 0; n < t.length; n++) {
2270
+ var r = t[n];
2271
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
2272
+ }
2273
+ }
2274
+ return function(t, n, r) {
2275
+ return n && e(t.prototype, n), r && e(t, r), t;
2276
+ };
2277
+ }(), n = i(B()), r = K();
2278
+ function i(e) {
2279
+ return e && e.__esModule ? e : { default: e };
2280
+ }
2281
+ function a(e, t) {
2282
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
2283
+ }
2284
+ e.default = function() {
2285
+ function e(t, n, r) {
2286
+ a(this, e), this.canvas = t, this.encodings = n, this.options = r;
2287
+ }
2288
+ return t(e, [
2289
+ {
2290
+ key: "render",
2291
+ value: function() {
2292
+ if (!this.canvas.getContext) throw Error("The browser does not support canvas.");
2293
+ this.prepareCanvas();
2294
+ for (var e = 0; e < this.encodings.length; e++) {
2295
+ var t = (0, n.default)(this.options, this.encodings[e].options);
2296
+ this.drawCanvasBarcode(t, this.encodings[e]), this.drawCanvasText(t, this.encodings[e]), this.moveCanvasDrawing(this.encodings[e]);
2297
+ }
2298
+ this.restoreCanvas();
2299
+ }
2300
+ },
2301
+ {
2302
+ key: "prepareCanvas",
2303
+ value: function() {
2304
+ var e = this.canvas.getContext("2d");
2305
+ e.save(), (0, r.calculateEncodingAttributes)(this.encodings, this.options, e);
2306
+ var t = (0, r.getTotalWidthOfEncodings)(this.encodings), n = (0, r.getMaximumHeightOfEncodings)(this.encodings);
2307
+ this.canvas.width = t + this.options.marginLeft + this.options.marginRight, this.canvas.height = n, e.clearRect(0, 0, this.canvas.width, this.canvas.height), this.options.background && (e.fillStyle = this.options.background, e.fillRect(0, 0, this.canvas.width, this.canvas.height)), e.translate(this.options.marginLeft, 0);
2308
+ }
2309
+ },
2310
+ {
2311
+ key: "drawCanvasBarcode",
2312
+ value: function(e, t) {
2313
+ var n = this.canvas.getContext("2d"), r = t.data, i = e.textPosition == "top" ? e.marginTop + e.fontSize + e.textMargin : e.marginTop;
2314
+ n.fillStyle = e.lineColor;
2315
+ for (var a = 0; a < r.length; a++) {
2316
+ var o = a * e.width + t.barcodePadding;
2317
+ r[a] === "1" ? n.fillRect(o, i, e.width, e.height) : r[a] && n.fillRect(o, i, e.width, e.height * r[a]);
2318
+ }
2319
+ }
2320
+ },
2321
+ {
2322
+ key: "drawCanvasText",
2323
+ value: function(e, t) {
2324
+ var n = this.canvas.getContext("2d"), r = e.fontOptions + " " + e.fontSize + "px " + e.font;
2325
+ if (e.displayValue) {
2326
+ var i, a = e.textPosition == "top" ? e.marginTop + e.fontSize - e.textMargin : e.height + e.textMargin + e.marginTop + e.fontSize;
2327
+ n.font = r, e.textAlign == "left" || t.barcodePadding > 0 ? (i = 0, n.textAlign = "left") : e.textAlign == "right" ? (i = t.width - 1, n.textAlign = "right") : (i = t.width / 2, n.textAlign = "center"), n.fillText(t.text, i, a);
2328
+ }
2329
+ }
2330
+ },
2331
+ {
2332
+ key: "moveCanvasDrawing",
2333
+ value: function(e) {
2334
+ this.canvas.getContext("2d").translate(e.width, 0);
2335
+ }
2336
+ },
2337
+ {
2338
+ key: "restoreCanvas",
2339
+ value: function() {
2340
+ this.canvas.getContext("2d").restore();
2341
+ }
2342
+ }
2343
+ ]), e;
2344
+ }();
2345
+ })), J = /* @__PURE__ */ e(((e) => {
2346
+ Object.defineProperty(e, "__esModule", { value: !0 });
2347
+ var t = function() {
2348
+ function e(e, t) {
2349
+ for (var n = 0; n < t.length; n++) {
2350
+ var r = t[n];
2351
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
2352
+ }
2353
+ }
2354
+ return function(t, n, r) {
2355
+ return n && e(t.prototype, n), r && e(t, r), t;
2356
+ };
2357
+ }(), n = i(B()), r = K();
2358
+ function i(e) {
2359
+ return e && e.__esModule ? e : { default: e };
2360
+ }
2361
+ function a(e, t) {
2362
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
2363
+ }
2364
+ var o = "http://www.w3.org/2000/svg";
2365
+ e.default = function() {
2366
+ function e(t, n, r) {
2367
+ a(this, e), this.svg = t, this.encodings = n, this.options = r, this.document = r.xmlDocument || document;
2368
+ }
2369
+ return t(e, [
2370
+ {
2371
+ key: "render",
2372
+ value: function() {
2373
+ var e = this.options.marginLeft;
2374
+ this.prepareSVG();
2375
+ for (var t = 0; t < this.encodings.length; t++) {
2376
+ var r = this.encodings[t], i = (0, n.default)(this.options, r.options), a = this.createGroup(e, i.marginTop, this.svg);
2377
+ this.setGroupOptions(a, i), this.drawSvgBarcode(a, i, r), this.drawSVGText(a, i, r), e += r.width;
2378
+ }
2379
+ }
2380
+ },
2381
+ {
2382
+ key: "prepareSVG",
2383
+ value: function() {
2384
+ for (; this.svg.firstChild;) this.svg.removeChild(this.svg.firstChild);
2385
+ (0, r.calculateEncodingAttributes)(this.encodings, this.options);
2386
+ var e = (0, r.getTotalWidthOfEncodings)(this.encodings), t = (0, r.getMaximumHeightOfEncodings)(this.encodings), n = e + this.options.marginLeft + this.options.marginRight;
2387
+ this.setSvgAttributes(n, t), this.options.background && this.drawRect(0, 0, n, t, this.svg).setAttribute("fill", this.options.background);
2388
+ }
2389
+ },
2390
+ {
2391
+ key: "drawSvgBarcode",
2392
+ value: function(e, t, n) {
2393
+ for (var r = n.data, i = t.textPosition == "top" ? t.fontSize + t.textMargin : 0, a = 0, o = 0, s = 0; s < r.length; s++) o = s * t.width + n.barcodePadding, r[s] === "1" ? a++ : a > 0 && (this.drawRect(o - t.width * a, i, t.width * a, t.height, e), a = 0);
2394
+ a > 0 && this.drawRect(o - t.width * (a - 1), i, t.width * a, t.height, e);
2395
+ }
2396
+ },
2397
+ {
2398
+ key: "drawSVGText",
2399
+ value: function(e, t, n) {
2400
+ var r = this.document.createElementNS(o, "text");
2401
+ if (t.displayValue) {
2402
+ var i, a;
2403
+ r.setAttribute("font-family", t.font), r.setAttribute("font-size", t.fontSize), t.fontOptions.includes("bold") && r.setAttribute("font-weight", "bold"), t.fontOptions.includes("italic") && r.setAttribute("font-style", "italic"), a = t.textPosition == "top" ? t.fontSize - t.textMargin : t.height + t.textMargin + t.fontSize, t.textAlign == "left" || n.barcodePadding > 0 ? (i = 0, r.setAttribute("text-anchor", "start")) : t.textAlign == "right" ? (i = n.width - 1, r.setAttribute("text-anchor", "end")) : (i = n.width / 2, r.setAttribute("text-anchor", "middle")), r.setAttribute("x", i), r.setAttribute("y", a), r.appendChild(this.document.createTextNode(n.text)), e.appendChild(r);
2404
+ }
2405
+ }
2406
+ },
2407
+ {
2408
+ key: "setSvgAttributes",
2409
+ value: function(e, t) {
2410
+ var n = this.svg;
2411
+ n.setAttribute("width", e + "px"), n.setAttribute("height", t + "px"), n.setAttribute("x", "0px"), n.setAttribute("y", "0px"), n.setAttribute("viewBox", "0 0 " + e + " " + t), n.setAttribute("xmlns", o), n.setAttribute("version", "1.1");
2412
+ }
2413
+ },
2414
+ {
2415
+ key: "createGroup",
2416
+ value: function(e, t, n) {
2417
+ var r = this.document.createElementNS(o, "g");
2418
+ return r.setAttribute("transform", "translate(" + e + ", " + t + ")"), n.appendChild(r), r;
2419
+ }
2420
+ },
2421
+ {
2422
+ key: "setGroupOptions",
2423
+ value: function(e, t) {
2424
+ e.setAttribute("fill", t.lineColor);
2425
+ }
2426
+ },
2427
+ {
2428
+ key: "drawRect",
2429
+ value: function(e, t, n, r, i) {
2430
+ var a = this.document.createElementNS(o, "rect");
2431
+ return a.setAttribute("x", e), a.setAttribute("y", t), a.setAttribute("width", n), a.setAttribute("height", r), i.appendChild(a), a;
2432
+ }
2433
+ }
2434
+ ]), e;
2435
+ }();
2436
+ })), Y = /* @__PURE__ */ e(((e) => {
2437
+ Object.defineProperty(e, "__esModule", { value: !0 });
2438
+ var t = function() {
2439
+ function e(e, t) {
2440
+ for (var n = 0; n < t.length; n++) {
2441
+ var r = t[n];
2442
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
2443
+ }
2444
+ }
2445
+ return function(t, n, r) {
2446
+ return n && e(t.prototype, n), r && e(t, r), t;
2447
+ };
2448
+ }();
2449
+ function n(e, t) {
2450
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
2451
+ }
2452
+ e.default = function() {
2453
+ function e(t, r, i) {
2454
+ n(this, e), this.object = t, this.encodings = r, this.options = i;
2455
+ }
2456
+ return t(e, [{
2457
+ key: "render",
2458
+ value: function() {
2459
+ this.object.encodings = this.encodings;
2460
+ }
2461
+ }]), e;
2462
+ }();
2463
+ })), X = /* @__PURE__ */ e(((e) => {
2464
+ Object.defineProperty(e, "__esModule", { value: !0 });
2465
+ var t = i(q()), n = i(J()), r = i(Y());
2466
+ function i(e) {
2467
+ return e && e.__esModule ? e : { default: e };
2468
+ }
2469
+ e.default = {
2470
+ CanvasRenderer: t.default,
2471
+ SVGRenderer: n.default,
2472
+ ObjectRenderer: r.default
2473
+ };
2474
+ })), Z = /* @__PURE__ */ e(((e) => {
2475
+ Object.defineProperty(e, "__esModule", { value: !0 });
2476
+ function t(e, t) {
2477
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
2478
+ }
2479
+ function n(e, t) {
2480
+ if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
2481
+ return t && (typeof t == "object" || typeof t == "function") ? t : e;
2482
+ }
2483
+ function r(e, t) {
2484
+ if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
2485
+ e.prototype = Object.create(t && t.prototype, { constructor: {
2486
+ value: e,
2487
+ enumerable: !1,
2488
+ writable: !0,
2489
+ configurable: !0
2490
+ } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
2491
+ }
2492
+ var i = function(e) {
2493
+ r(i, e);
2494
+ function i(e, r) {
2495
+ t(this, i);
2496
+ var a = n(this, (i.__proto__ || Object.getPrototypeOf(i)).call(this));
2497
+ return a.name = "InvalidInputException", a.symbology = e, a.input = r, a.message = "\"" + a.input + "\" is not a valid input for " + a.symbology, a;
2498
+ }
2499
+ return i;
2500
+ }(Error), a = function(e) {
2501
+ r(i, e);
2502
+ function i() {
2503
+ t(this, i);
2504
+ var e = n(this, (i.__proto__ || Object.getPrototypeOf(i)).call(this));
2505
+ return e.name = "InvalidElementException", e.message = "Not supported type to render on", e;
2506
+ }
2507
+ return i;
2508
+ }(Error), o = function(e) {
2509
+ r(i, e);
2510
+ function i() {
2511
+ t(this, i);
2512
+ var e = n(this, (i.__proto__ || Object.getPrototypeOf(i)).call(this));
2513
+ return e.name = "NoElementException", e.message = "No element to render on.", e;
2514
+ }
2515
+ return i;
2516
+ }(Error);
2517
+ e.InvalidInputException = i, e.InvalidElementException = a, e.NoElementException = o;
2518
+ })), Q = /* @__PURE__ */ e(((e) => {
2519
+ Object.defineProperty(e, "__esModule", { value: !0 });
2520
+ var t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2521
+ return typeof e;
2522
+ } : function(e) {
2523
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2524
+ }, n = a(G()), r = a(X()), i = Z();
2525
+ function a(e) {
2526
+ return e && e.__esModule ? e : { default: e };
2527
+ }
2528
+ function o(e) {
2529
+ if (typeof e == "string") return s(e);
2530
+ if (Array.isArray(e)) {
2531
+ for (var a = [], l = 0; l < e.length; l++) a.push(o(e[l]));
2532
+ return a;
2533
+ } else if (typeof HTMLCanvasElement < "u" && e instanceof HTMLImageElement) return c(e);
2534
+ else if (e && e.nodeName && e.nodeName.toLowerCase() === "svg" || typeof SVGElement < "u" && e instanceof SVGElement) return {
2535
+ element: e,
2536
+ options: (0, n.default)(e),
2537
+ renderer: r.default.SVGRenderer
2538
+ };
2539
+ else if (typeof HTMLCanvasElement < "u" && e instanceof HTMLCanvasElement) return {
2540
+ element: e,
2541
+ options: (0, n.default)(e),
2542
+ renderer: r.default.CanvasRenderer
2543
+ };
2544
+ else if (e && e.getContext) return {
2545
+ element: e,
2546
+ renderer: r.default.CanvasRenderer
2547
+ };
2548
+ else if (e && (e === void 0 ? "undefined" : t(e)) === "object" && !e.nodeName) return {
2549
+ element: e,
2550
+ renderer: r.default.ObjectRenderer
2551
+ };
2552
+ else throw new i.InvalidElementException();
2553
+ }
2554
+ function s(e) {
2555
+ var t = document.querySelectorAll(e);
2556
+ if (t.length !== 0) {
2557
+ for (var n = [], r = 0; r < t.length; r++) n.push(o(t[r]));
2558
+ return n;
2559
+ }
2560
+ }
2561
+ function c(e) {
2562
+ var t = document.createElement("canvas");
2563
+ return {
2564
+ element: t,
2565
+ options: (0, n.default)(e),
2566
+ renderer: r.default.CanvasRenderer,
2567
+ afterRender: function() {
2568
+ e.setAttribute("src", t.toDataURL());
2569
+ }
2570
+ };
2571
+ }
2572
+ e.default = o;
2573
+ })), $ = /* @__PURE__ */ e(((e) => {
2574
+ Object.defineProperty(e, "__esModule", { value: !0 });
2575
+ var t = function() {
2576
+ function e(e, t) {
2577
+ for (var n = 0; n < t.length; n++) {
2578
+ var r = t[n];
2579
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
2580
+ }
2581
+ }
2582
+ return function(t, n, r) {
2583
+ return n && e(t.prototype, n), r && e(t, r), t;
2584
+ };
2585
+ }();
2586
+ function n(e, t) {
2587
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
2588
+ }
2589
+ e.default = function() {
2590
+ function e(t) {
2591
+ n(this, e), this.api = t;
2592
+ }
2593
+ return t(e, [{
2594
+ key: "handleCatch",
2595
+ value: function(e) {
2596
+ if (e.name === "InvalidInputException") if (this.api._options.valid !== this.api._defaults.valid) this.api._options.valid(!1);
2597
+ else throw e.message;
2598
+ else throw e;
2599
+ this.api.render = function() {};
2600
+ }
2601
+ }, {
2602
+ key: "wrapBarcodeCall",
2603
+ value: function(e) {
2604
+ try {
2605
+ var t = e.apply(void 0, arguments);
2606
+ return this.api._options.valid(!0), t;
2607
+ } catch (e) {
2608
+ return this.handleCatch(e), this.api;
2609
+ }
2610
+ }
2611
+ }]), e;
2612
+ }();
2613
+ })), ee = /* @__PURE__ */ e(((e, t) => {
2614
+ var n = d(z()), r = d(B()), i = d(V()), a = d(H()), o = d(Q()), s = d(U()), c = d($()), l = Z(), u = d(W());
2615
+ function d(e) {
2616
+ return e && e.__esModule ? e : { default: e };
2617
+ }
2618
+ var f = function() {}, p = function(e, t, n) {
2619
+ var r = new f();
2620
+ if (e === void 0) throw Error("No element to render on was provided.");
2621
+ return r._renderProperties = (0, o.default)(e), r._encodings = [], r._options = u.default, r._errorHandler = new c.default(r), t !== void 0 && (n ||= {}, n.format ||= _(), r.options(n)[n.format](t, n).render()), r;
2622
+ };
2623
+ for (var m in p.getModule = function(e) {
2624
+ return n.default[e];
2625
+ }, n.default) n.default.hasOwnProperty(m) && h(n.default, m);
2626
+ function h(e, t) {
2627
+ f.prototype[t] = f.prototype[t.toUpperCase()] = f.prototype[t.toLowerCase()] = function(n, i) {
2628
+ var a = this;
2629
+ return a._errorHandler.wrapBarcodeCall(function() {
2630
+ i.text = i.text === void 0 ? void 0 : "" + i.text;
2631
+ var o = (0, r.default)(a._options, i);
2632
+ o = (0, s.default)(o);
2633
+ var c = e[t], l = g(n, c, o);
2634
+ return a._encodings.push(l), a;
2635
+ });
2636
+ };
2637
+ }
2638
+ function g(e, t, n) {
2639
+ e = "" + e;
2640
+ var a = new t(e, n);
2641
+ if (!a.valid()) throw new l.InvalidInputException(a.constructor.name, e);
2642
+ var o = a.encode();
2643
+ o = (0, i.default)(o);
2644
+ for (var s = 0; s < o.length; s++) o[s].options = (0, r.default)(n, o[s].options);
2645
+ return o;
2646
+ }
2647
+ function _() {
2648
+ return n.default.CODE128 ? "CODE128" : Object.keys(n.default)[0];
2649
+ }
2650
+ f.prototype.options = function(e) {
2651
+ return this._options = (0, r.default)(this._options, e), this;
2652
+ }, f.prototype.blank = function(e) {
2653
+ var t = Array(e + 1).join("0");
2654
+ return this._encodings.push({ data: t }), this;
2655
+ }, f.prototype.init = function() {
2656
+ if (this._renderProperties) {
2657
+ Array.isArray(this._renderProperties) || (this._renderProperties = [this._renderProperties]);
2658
+ var e;
2659
+ for (var t in this._renderProperties) {
2660
+ e = this._renderProperties[t];
2661
+ var i = (0, r.default)(this._options, e.options);
2662
+ i.format == "auto" && (i.format = _()), this._errorHandler.wrapBarcodeCall(function() {
2663
+ var t = i.value, r = n.default[i.format.toUpperCase()], a = g(t, r, i);
2664
+ v(e, a, i);
2665
+ });
2666
+ }
2667
+ }
2668
+ }, f.prototype.render = function() {
2669
+ if (!this._renderProperties) throw new l.NoElementException();
2670
+ if (Array.isArray(this._renderProperties)) for (var e = 0; e < this._renderProperties.length; e++) v(this._renderProperties[e], this._encodings, this._options);
2671
+ else v(this._renderProperties, this._encodings, this._options);
2672
+ return this;
2673
+ }, f.prototype._defaults = u.default;
2674
+ function v(e, t, n) {
2675
+ t = (0, i.default)(t);
2676
+ for (var o = 0; o < t.length; o++) t[o].options = (0, r.default)(n, t[o].options), (0, a.default)(t[o].options);
2677
+ (0, a.default)(n);
2678
+ var s = e.renderer;
2679
+ new s(e.element, t, n).render(), e.afterRender && e.afterRender();
2680
+ }
2681
+ typeof window < "u" && (window.JsBarcode = p), typeof jQuery < "u" && (jQuery.fn.JsBarcode = function(e, t) {
2682
+ var n = [];
2683
+ return jQuery(this).each(function() {
2684
+ n.push(this);
2685
+ }), p(n, e, t);
2686
+ }), t.exports = p;
2687
+ }));
2688
+ //#endregion
2689
+ export default ee();
2690
+
2691
+ //# sourceMappingURL=file-manager-JsBarcode-CyaffT5b.js.map