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