Files
qhmes/deploy-qhmes/frontend/js/JsBarcode-Cs4ZrpMU.js

2 lines
67 KiB
Java
Raw Normal View History

2026-05-15 11:34:12 +08:00
import"./antd-vue-vendor-BPnV8VqP.js";var Z={},F={},K={},Ne;function P(){if(Ne)return K;Ne=1,Object.defineProperty(K,"__esModule",{value:!0});function s(v,l){if(!(v instanceof l))throw new TypeError("Cannot call a class as a function")}var d=function v(l,h){s(this,v),this.data=l,this.text=h.text||l,this.options=h};return K.default=d,K}var $e;function Jt(){if($e)return F;$e=1,Object.defineProperty(F,"__esModule",{value:!0}),F.CODE39=void 0;var s=(function(){function o(y,p){for(var g=0;g<p.length;g++){var b=p[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(y,b.key,b)}}return function(y,p,g){return p&&o(y.prototype,p),g&&o(y,g),y}})(),d=P(),v=l(d);function l(o){return o&&o.__esModule?o:{default:o}}function h(o,y){if(!(o instanceof y))throw new TypeError("Cannot call a class as a function")}function _(o,y){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:o}function c(o,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);o.prototype=Object.create(y&&y.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(o,y):o.__proto__=y)}var f=(function(o){c(y,o);function y(p,g){return h(this,y),p=p.toUpperCase(),g.mod43&&(p+=r(u(p))),_(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,p,g))}return s(y,[{key:"encode",value:function(){for(var g=t("*"),b=0;b<this.data.length;b++)g+=t(this.data[b])+"0";return g+=t("*"),{data:g,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),y})(v.default),a=["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","-","."," ","$","/","+","%","*"],e=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function t(o){return n(i(o))}function n(o){return e[o].toString(2)}function r(o){return a[o]}function i(o){return a.indexOf(o)}function u(o){for(var y=0,p=0;p<o.length;p++)y+=i(o[p]);return y=y%43,y}return F.CODE39=f,F}var M={},ee={},te={},S={},Ge;function Y(){if(Ge)return S;Ge=1,Object.defineProperty(S,"__esModule",{value:!0});var s;function d(D,L,G){return L in D?Object.defineProperty(D,L,{value:G,enumerable:!0,configurable:!0,writable:!0}):D[L]=G,D}var v=S.SET_A=0,l=S.SET_B=1,h=S.SET_C=2,_=S.SHIFT=98,c=S.START_A=103,f=S.START_B=104,a=S.START_C=105,e=S.MODULO=103,t=S.STOP=106,n=S.FNC1=207,r=S.SET_BY_CODE=(s={},d(s,c,v),d(s,f,l),d(s,a,h),s),i=S.SWAP={101:v,100:l,99:h},u=S.A_START_CHAR="Ð",o=S.B_START_CHAR="Ñ",y=S.C_START_CHAR="Ò",p=S.A_CHARS="[\0-_È-Ï]",g=S.B_CHARS="[ -È-Ï]",b=S.C_CHARS="(Ï*[0-9]{2}Ï*)",C=S.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11