Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 `_u#Z@sddlmZddlmZddlmZddddddddddddddddddddddddddddddddddddddddddddddddddc1ZiZx"ejD]\Z Z e ee d<qWdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddYZ ddZ GdddeZ GddÄde ZGddńde ZdS))inch)asNative)MultiWidthBarcodeAcAaAbAaAbAcAaAcAbAaAdAaAbAaAcAbAbAbAbAcAaAaAaAdAcAbAaAdAaAa BaAaAc BaAbAb BaAcAa BbAaAb BbAbAaBcAaAaAaBaAcAaBbAbAaBcAaAbBaAbAcBaAaAaAaBcAaAbBbAaAcBaAbAaBbAcAaBaBaBaAbBaBbAaBaAaBbBaAbBaBbAaBaBbBaAaAaBaBb AaBbBa!AbBaBa"AbCaAa#AbAaCa$CaAaAb%CaAbAa&CbAaAa'AaBaCa(AaCaBa)BaAaCa*AbAbBa+CaBaAa,CaAaBa-AbBbAa.AaAaDaAaAaDaA)10123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%#!=&startstopz!Uz#Az#Bz#Cz#Dz#Ez#Fz#Gz#Hz#Iz#Jz#Kz#Lz#Mz#Nz#Oz#Pz#Qz#Rz#Sz#Tz#Uz#Vz#Wz#Xz#Yz#Zz!Az!Bz!Cz!Dz!Ez=Az=Bz=Cz=Dz=Ez=Fz=Gz=Hz=Iz=Jz=Kz=Lz=Oz=Zz!Fz!Gz!Hz!Iz!Jz!Vz!Kz!Lz!Mz!Nz!Oz!Wz&Az&Bz&Cz&Dz&Ez&Fz&Gz&Hz&Iz&Jz&Kz&Lz&Mz&Nz&Oz&Pz&Qz&Rz&Sz&Tz&Uz&Vz&Wz&Xz&Yz&Zz!Pz!Qz!Rz!Sz!T)Y     r"rrrr'()*r,r:;?@[\]^_`abcdefghijklmnopqrstuvwxyz{|}~cCst|}|jd}d}d}xD|t|kr`||t||d}|d}|d}|dkrd}qW|jdt|dd}d}d}xD|t|kr||t||d}|d}|d}|dkrd}qW|jdt|d|jdj|S)Nrrr-/r#)listreverselen _patternsinsert _charsbyvaljoin)strrrrrrB/tmp/tmp4i9tl1d3/lib64/python/reportlab/graphics/barcode/code93.py _encode93Ws0rc@s:eZdZedZdZdZdZdZdZ d ddZ ddZ dS) _Code93BasegQ~?NrrcKst|tdkrt|}x |jD]\}}t|||q"W|jrx|jdkrttd|jd|_ttd|jd|_ n d|_|_ t j ||dS)Nrg?g$@g) typeritemssetattrquietlquietmaxrbarWidthrquietr__init__)selfvalueargsrrrrrrxs  z_Code93Base.__init__cCsV|jrtddgpg}|dd|jD7}|jrD|jtdddj||_|jS)NrrcSsg|]}t|dqS)r)r).0rrrr sz)_Code93Base.decompose..rr)rrencodedappendrZ decomposed)rZdvalrrr decomposes  z_Code93Base.decompose)r) __name__ __module__ __qualname__rrrrrZ barHeightrrrrrrrrqs rc@s eZdZdZddZddZdS) Standard93a Code 93 is a Uppercase alphanumeric symbology with some punctuation. See Extended Code 93 for a variant that can represent the entire 128 characrter ASCII set. Options that may be passed to constructor: value (int, or numeric string. required.): The value to encode. barWidth (float, default .0075): X-Dimension, or width of the smallest element Minumum is .0075 inch (7.5 mils). barHeight (float, see default below): Height of the symbol. Default is the height of the two bearer bars (if they exist) plus the greater of .25 inch or .15 times the symbol's length. quiet (bool, default 1): Wether to include quiet zones in the symbol. lquiet (float, see default below): Quiet zone size to left of code, if quiet is true. Default is the greater of .25 inch, or 10 barWidth rquiet (float, defaults as above): Quiet zone size to right left of code, if quiet is true. stop (bool, default 1): Whether to include start/stop symbols. Sources of Information on Code 93: http://www.semiconductor.agilent.com/barcode/sg/Misc/code_93.html Official Spec, "NSI/AIM BC5-1995, USS" is available for US$45 from http://www.aimglobal.org/aimstore/ cCs@d}d|_x*|jjD]}|tkr*d|_q||}qW||_|S)Nrrr)validrupperr validated)rvvalrrrrvalidates zStandard93.validatecCst|j|_|jS)N)rr r)rrrrencodes zStandard93.encodeN)rrr__doc__r rrrrrrs' rc@s(eZdZdZddZddZddZdS) Extended93a  Extended Code 93 is a convention for encoding the entire 128 character set using pairs of characters to represent the characters missing in Standard Code 93. It is very much like Extended Code 39 in that way. See Standard93 for arguments. cCsRg}d|_|j}x.|jD]$}|tkr4|tkr4d|_q||qWdj||_|jS)Nrrr)r rrr _extendedrr )rr rrrrrr s   zExtended93.validatecCs\d|_xB|jD]8}|tkr(|j||_q|tkrB|jt||_qtqWt|j|_|jS)Nr)rr rr ValueErrorr)rrrrrrs  zExtended93.encodecCs|j|jddS)Nr )r r)rrrr _humanTextszExtended93._humanTextN)rrrrr rrrrrrrs  rN)rr)rr)rr )r r )r r )rr)rr)rr)rr)rr)rr)rr)rr)rr)r r!)r"r#)r$r%)r&r')r(r))r*r+)r,r-)r.r/)r0r1)r2r3)r4r5)r6r7)r8r9)r:r;)r<r=)r>r?)r@rA)rBrC)rDrE)rFrG)rHrI)rJrK)rLrM)rNrO)rPrQ)rRrS)rTrU)rVrW)rXrY)rZr[)r\r])r^r_)r`ra)rbrr)rcr)Zreportlab.lib.unitsrZreportlab.lib.utilsrZ!reportlab.graphics.barcode.commonrrrrrrrrrrrrrrr!sb    8