PageSourceSearch

https://www.nitori-net.tw/_next/static/chunks/2125-59a6dd9341a23bd7.js

js nitori-net.tw collected 2026-10-05 07:48:52 UTC 65,614 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2125],{4177:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();e.default=function(){function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.api=e}return r(t,[{key:"handleCatch",value:function(t){if("InvalidInputException"===t.name)if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw t.message;else throw t;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(t){try{var e=t.apply(void 0,arguments);return this.api._options.valid(!0),e}catch(t){return this.handleCatch(t),this.api}}}]),t}()},8273:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(r(37832)),i=r(9780),a="http://www.w3.org/2000/svg";e.default=function(){function t(e,r,n){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.svg=e,this.encodings=r,this.options=n,this.document=n.xmlDocument||document}return n(t,[{key:"render",value:function(){var t=this.options.marginLeft;this.prepareSVG();for(var e=0;e<this.encodings.length;e++){var r=this.encodings[e],n=(0,o.default)(this.options,r.options),i=this.createGroup(t,n.marginTop,this.svg);this.setGroupOptions(i,n),this.drawSvgBarcode(i,n,r),this.drawSVGText(i,n,r),t+=r.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,i.calculateEncodingAttributes)(this.encodings,this.options);var t=(0,i.getTotalWidthOfEncodings)(this.encodings),e=(0,i.getMaximumHeightOfEncodings)(this.encodings),r=t+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(r,e),this.options.background&&this.drawRect(0,0,r,e,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(t,e,r){var n,o=r.data;n="top"==e.textPosition?e.fontSize+e.textMargin:0;for(var i=0,a=0,u=0;u<o.length;u++)a=u*e.width+r.barcodePadding,"1"===o[u]?i++:i>0&&(this.drawRect(a-e.width*i,n,e.width*i,e.height,t),i=0);i>0&&this.drawRect(a-e.width*(i-1),n,e.width*i,e.height,t)}},{key:"drawSVGText",value:function(t,e,r){var n,o,i=this.document.createElementNS(a,"text");e.displayValue&&(i.setAttribute("style","font:"+e.fontOptions+" "+e.fontSize+"px "+e.font),o="top"==e.textPosition?e.fontSize-e.textMargin:e.height+e.textMargin+e.fontSize,"left"==e.textAlign||r.barcodePadding>0?(n=0,i.setAttribute("text-anchor","start")):"right"==e.textAlign?(n=r.width-1,i.setAttribute("text-anchor","end")):(n=r.width/2,i.setAttribute("text-anchor","middle")),i.setAttribute("x",n),i.setAttribute("y",o),i.appendChild(this.document.createTextNode(r.text)),t.appendChild(i))}},{key:"setSvgAttributes",value:function(t,e){var r=this.svg;r.setAttribute("width",t+"px"),r.setAttribute("height",e+"px"),r.setAttribute("x","0px"),r.setAttribute("y","0px"),r.setAttribute("viewBox","0 0 "+t+" "+e),r.setAttribute("xmlns",a),r.setAttribute("version","1.1"),r.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(t,e,r){var n=this.document.createElementNS(a,"g");return n.setAttribute("transform","translate("+t+", "+e+")"),r.appendChild(n),n}},{key:"setGroupOptions",value:function(t,e){t.setAttribute("style","fill:"+e.lineColor+";")}},{key:"drawRect",value:function(t,e,r,n,o){var i=this.document.createElementNS(a,"rect");return i.setAttribute("x",t),i.setAttribute("y",e),i.setAttribute("width",r),i.setAttribute("height",n),o.appendChild(i),i}}]),t}()},8313:(t,e)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=[];return!function t(r){if(Array.isArray(r))for(var n=0;n<r.length;n++)t(r[n]);else r.text=r.text||"",r.data=r.data||"",e.push(r)}(t),e}},9780:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(r(37832));function o(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function i(t,e,r){if(r.displayValue&&e<t){if("center"==r.textAlign)return Math.floor((t-e)/2);else if("left"==r.textAlign);else if("right"==r.textAlign)return Math.floor(t-e)}return 0}e.getMaximumHeightOfEncodings=function(t){for(var e=0,r=0;r<t.length;r++)t[r].height>e&&(e=t[r].height);return e},e.getEncodingHeight=o,e.getBarcodePadding=i,e.calculateEncodingAttributes=function(t,e,r){for(var a=0;a<t.length;a++){var u,s=t[a],l=(0,n.default)(e,s.options);u=l.displayValue?function(t,e,r){if(r)n=r;else{if("undefined"==typeof document)return 0;n=document.createElement("canvas").getContext("2d")}n.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var n,o=n.measureText(t);return o?o.width:0}(s.text,l,r):0;var f=s.data.length*l.width;s.width=Math.ceil(Math.max(u,f)),s.height=o(s,l),s.barcodePadding=i(u,f,l)}},e.getTotalWidthOfEncodings=function(t){for(var e=0,r=0;r<t.length;r++)e+=t[r].width;return e}},12265:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(r(37832)),i=r(9780);e.default=function(){function t(e,r,n){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.canvas=e,this.encodings=r,this.options=n}return n(t,[{key:"render",value:function(){if(!this.canvas.getContext)throw Error("The browser does not support canvas.");this.prepareCanvas();for(var t=0;t<this.encodings.length;t++){var e=(0,o.default)(this.options,this.encodings[t].options);this.drawCanvasBarcode(e,this.encodings[t]),this.drawCanvasText(e,this.encodings[t]),this.moveCanvasDrawing(this.encodings[t])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var t=this.canvas.getContext("2d");t.save(),(0,i.calculateEncodingAttributes)(this.encodings,this.options,t);var e=(0,i.getTotalWidthOfEncodings)(this.encodings),r=(0,i.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=e+this.options.marginLeft+this.options.marginRight,this.canvas.height=r,t.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(t.fillStyle=this.options.background,t.fillRect(0,0,this.canvas.width,this.canvas.height)),t.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(t,e){var r,n=this.canvas.getContext("2d"),o=e.data;r="top"==t.textPosition?t.marginTop+t.fontSize+t.textMargin:t.marginTop,n.fillStyle=t.lineColor;for(var i=0;i<o.length;i++){var a=i*t.width+e.barcodePadding;"1"===o[i]?n.fillRect(a,r,t.width,t.height):o[i]&&n.fillRect(a,r,t.width,t.height*o[i])}}},{key:"drawCanvasText",value:function(t,e){var r,n,o=this.canvas.getContext("2d"),i=t.fontOptions+" "+t.fontSize+"px "+t.font;t.displayValue&&(n="top"==t.textPosition?t.marginTop+t.fontSize-t.textMargin:t.height+t.textMargin+t.marginTop+t.fontSize,o.font=i,"left"==t.textAlign||e.barcodePadding>0?(r=0,o.textAlign="left"):"right"==t.textAlign?(r=e.width-1,o.textAlign="right"):(r=e.width/2,o.textAlign="center"),o.fillText(e.text,r,n))}},{key:"moveCanvasDrawing",value:function(t){this.canvas.getContext("2d").translate(t.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),t}()},15133:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=u(r(92632)),i=u(r(26898)),a=r(65670);function u(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}var l=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],f=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]];function c(t,e){for(var r=l[parseInt(t[t.length-1])],n="",o=0,i=0;i<r.length;i++){var u=r[i];"X"===u?n+=t[o++]:n+=u}return(n=""+e+n)+(0,a.checksum)(n)}e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));if(n.isValid=!1,-1!==t.search(/^[0-9]{6}$/))n.middleDigits=t,n.upcA=c(t,"0"),n.text=r.text||""+n.upcA[0]+t+n.upcA[n.upcA.length-1],n.isValid=!0;else{if(-1===t.search(/^[01][0-9]{7}$/)||(n.middleDigits=t.substring(1,t.length-1),n.upcA=c(n.middleDigits,t[0]),n.upcA[n.upcA.length-1]!==t[t.length-1]))return s(n);n.isValid=!0}return n.displayValue=r.displayValue,r.fontSize>10*r.width?n.fontSize=10*r.width:n.fontSize=r.fontSize,n.guardHeight=r.height+n.fontSize/2+r.textMargin,n}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=this.encodeMiddleDigits(),{data:t+="010101",text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101",options:{height:this.guardHeight}}),t.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),t.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),t}}
1,{key:"encodeMiddleDigits",value:function(){var t=this.upcA[0],e=f[parseInt(this.upcA[this.upcA.length-1])][parseInt(t)];return(0,o.default)(this.middleDigits,e)}}]),e}(i.default)},17093:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"encode",value:function(){for(var t="110",e=0;e<this.data.length;e++){var r=parseInt(this.data[e]).toString(2);r=function(t,e){for(var r=0;r<e;r++)t="0"+t;return t}(r,4-r.length);for(var n=0;n<r.length;n++)t+="0"==r[n]?"100":"110"}return{data:t+="1001",text:this.text}}},{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]+$/)}}]),e}(function(t){return t&&t.__esModule?t:{default:t}}(r(26898)).default)},18161:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(r(68049)),i=r(58898);e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,i.B_START_CHAR+t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return RegExp("^"+i.B_CHARS+"+$").test(this.data)}}]),e}(o.default)},18847:(t,e,r)=>{t.exports=r(71147)},21172:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);if(null===i)return;return t(i,r,n)}if("value"in o)return o.value;var a=o.get;if(void 0!==a)return a.call(n)},i=r(40125),a=function(t){return t&&t.__esModule?t:{default:t}}(r(51784)),u=function(t){return(10-t.substr(0,12).split("").map(function(t){return+t}).reduce(function(t,e,r){return r%2?t+3*e:t+e},0)%10)%10};e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");-1!==t.search(/^[0-9]{12}$/)&&(t+=u(t));var n=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.lastChar=r.lastChar,n}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===u(this.data)}},{key:"leftText",value:function(){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var t=this.data.substr(1,6),r=i.EAN13_STRUCTURE[this.data[0]];return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,r)}},{key:"rightText",value:function(){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var t=this.data.substr(7,6);return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRRRR")}},{key:"encodeGuarded",value:function(){var t=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(t.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(t.push({data:"00"}),t.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),t}}]),e}(a.default)},21482:(t,e,r)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var n=s(r(17093)),o=s(r(93588)),i=s(r(58263)),a=s(r(44221)),u=s(r(59038));function s(t){return t&&t.__esModule?t:{default:t}}e.MSI=n.default,e.MSI10=o.default,e.MSI11=i.default,e.MSI1010=a.default,e.MSI1110=u.default},21650:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(64252)._(r(14232)).default.createContext(null)},22100:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(r(68049)),i=r(58898);e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,i.A_START_CHAR+t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return RegExp("^"+i.A_CHARS+"+$").test(this.data)}}]),e}(o.default)},22582:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(r(68049)),i=r(58898);e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,i.C_START_CHAR+t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return RegExp("^"+i.C_CHARS+"+$").test(this.data)}}]),e}(o.default)},22804:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function t(e,r,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,r);if(void 0===o){var i=Object.getPrototypeOf(e);if(null===i)return;return t(i,r,n)}if("value"in o)return o.value;var a=o.get;if(void 0!==a)return a.call(n)},i=function(t){return t&&t.__esModule?t:{default:t}}(r(51784)),a=function(t){return(10-t.substr(0,7).split("").map(function(t){return+t}).reduce(function(t,e,r){return r%2?t+e:t+3*e},0)%10)%10};e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");-1!==t.search(/^[0-9]{7}$/)&&(t+=a(t));var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===a(this.data)}},{key:"leftText",value:function(){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var t=this.data.substr(0,4);return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,"LLLL")}},{key:"rightText",value:function(){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var t=this.data.substr(4,4);return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRR")}}]),e}(i.default)},23069:(t,e,r)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=u(r(57262)),i=u(r(78883)),a=r(97489);function u(t){return t&&t.__esModule?t:{default:t}}e.default=function t(e){if("string"==typeof e){var r,u,s=e,l=document.querySelectorAll(s);if(0!==l.length){for(var f=[],c=0;c<l.length;c++)f.push(t(l[c]));return f}return}if(Array.isArray(e)){for(var d=[],p=0;p<e.length;p++)d.push(t(e[p]));return d}if("undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLImageElement){return r=e,{element:u=document.createElement("canvas"),options:(0,o.default)(r),renderer:i.default.CanvasRenderer,afterRender:function(){r.setAttribute("src",u.toDataURL())}}}if(e&&e.nodeName&&"svg"===e.nodeName.toLowerCase()||"undefined"!=typeof SVGElement&&e instanceof SVGElement)return{element:e,options:(0,o.default)(e),renderer:i.default.SVGRenderer};if("undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement)return{element:e,options:(0,o.default)(e),renderer:i.default.CanvasRenderer};else if(e&&e.getContext)return{element:e,renderer:i.default.CanvasRenderer};else if(e&&(void 0===e?"undefined":n(e))==="object"&&!e.nodeName)return{element:e,renderer:i.default.ObjectRenderer};else throw new a.InvalidElementException}},26898:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e,r){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.data=e,this.text=r.text||e,this.options=r}},29537:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.START_BIN="1010",e.END_BIN="11101",e.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]},33646:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(40125),i=a(r(92632));function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var t=o.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,i.default)(this.data,t,"01"),text:this.text}}}]),e}(a(r(26898)).default)},34944:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var r in e)e.hasOwnProperty(r)&&"string"==typeof t[r=e[r]]&&(t[r]=parseInt(t[r],10));return"string"==typeof t.displayValue&&(t.displayValue="false"!=t.displayValue),t}},35492:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var n=i(r(95145)),o=i(r(70684));function i(t){return t&&t.__esModule?t:{default:t}}e.ITF=n.default,e.ITF14=o.default},37832:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=function(t,e){return r({},t,e)}},37939:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.marginTop=t.marginTop||t.margin,t.marginBottom=t.marginBottom||t.margin,t.marginRight=t.marginRight||t.margin,t.marginLeft=t.marginLeft||t.margin,t}},40125:(t,e)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.SIDE_BIN="101",e.MIDDLE_BIN="01010",e.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},e.EAN2_STRUCTURE=["LL","LG","GL","GG"],e.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],e.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]},41991:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();e.codabar=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");0===t.search(/^[0-9\-\$\:\.\+\/]+$/)&&(t="A"+t+"A");var n=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t.toUpperCase(),r));return n.text=n.options.text||n.text.replace(/[A-D]/g,""),n}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return -1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var t=[],e=this.getEncodings(),r=0;r<this.data.length;r++)t.push(e[this.data.charAt(r)]),r!==this.data.length-1&&t.push("0");return{text:this.text,data:t.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),e}(function(t){return t&&t.__esModule?t:{default:t}}(r(26898)).default)},44221:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(r(17093)),o=r(49182);e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");t+=(0,o.mod10)(t),t+=(0,o.mod10)(t);var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),e}(n.default)},49182:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=function(t){for(var e=0,r=0;r<t.length;r++){var n=parseInt(t[r]);(r+t.length)%2==0?e+=n:e+=2*n%10+Math.floor(2*n/10)}return(10-e%10)%10},e.mod11=function(t){for(var e=0,r=[2,3,4,5,6,7],n=0;n<t.length;n++){var o=parseInt(t[t.length-1-n]);e+=r[n%r.length]*o}return(11-e%11)%11}},49666:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();e.default=function(){function t(e,r,n){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.object=e,this.encodings=r,this.options=n}return r(t,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),t}()},51784:(t,e,r)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(40125),i=a(r(92632));function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.fontSize=!r.flat&&r.fontSize>10*r.width?10*r.width:r.fontSize,n.guardHeight=r.height+n.fontSize/2+r.textMargin,n}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(t,e){return this.text.substr(t,e)}},{key:"leftEncode",value:function(t,e){return(0,i.default)(t,e)}},{key:"rightText",value:function(t,e){return this.text.substr(t,e)}},{key:"rightEncode",value:function(t,e){return(0,i.default)(t,e)}},{key:"encodeGuarded",value:function(){var t={fontSize:this.fontSize},e={height:this.guardHeight};return[{data:o.SIDE_BIN,options:e},{data:this.leftEncode(),text:this.leftText(),options:t},{data:o.MIDDLE_BIN,options:e},{data:this.rightEncode(),text:this.rightText(),options:t},{data:o.SIDE_BIN,options:e}]}},{key:"encodeFlat",value:function(){return{data:[o.SIDE_BIN,this.leftEncode(),o.MIDDLE_BIN,this.rightEncode(),o.SIDE_BIN].join(""),text:this.text}}}]),e}(a(r(26898)).default)},51978:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();e.GenericBarcode=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(function(t){return t&&t.__esModule?t:{default:t}}(r(26898)).default)},52100:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return d}});let n=r(64252)._(r(14232)),o=r(21650),i=[],a=[],u=!1;function s(t){let e=t(),r={loading:!0,loaded:null,error:null};return r.promise=e.then(t=>(r.loading=!1,r.loaded=t,t)).catch(t=>{throw r.loading=!1,r.error=t,t}),r}class l{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:t,_opts:e}=this;t.loading&&("number"==typeof e.delay&&(0===e.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},e.delay)),"number"==typeof e.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},e.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(t=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(t){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...t},this._callbacks.forEach(t=>t())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(t){return this._callbacks.add(t),()=>{this._callbacks.delete(t)}}constructor(t,e){this._loadFn=t,this._opts=e,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(t){return function(t,e){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},e),i=null;function s(){if(!i){let e=new l(t,r);i={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return i.promise()}if(!u){let t=r.webpack&&1?r.webpack():r.modules;t&&a.push(e=>{for(let r of t)if(e.includes(r))return s()})}function f(t,e){s();let a=n.default.useContext(o.LoadableContext);
1a&&Array.isArray(r.modules)&&r.modules.forEach(t=>{a(t)});let u=n.default.useSyncExternalStore(i.subscribe,i.getCurrentValue,i.getCurrentValue);return n.default.useImperativeHandle(e,()=>({retry:i.retry}),[]),n.default.useMemo(()=>{var e;return u.loading||u.error?n.default.createElement(r.loading,{isLoading:u.loading,pastDelay:u.pastDelay,timedOut:u.timedOut,error:u.error,retry:i.retry}):u.loaded?n.default.createElement((e=u.loaded)&&e.default?e.default:e,t):null},[t,u])}return f.preload=()=>s(),f.displayName="LoadableComponent",n.default.forwardRef(f)}(s,t)}function c(t,e){let r=[];for(;t.length;){let n=t.pop();r.push(n(e))}return Promise.all(r).then(()=>{if(t.length)return c(t,e)})}f.preloadAll=()=>new Promise((t,e)=>{c(i).then(t,e)}),f.preloadReady=t=>(void 0===t&&(t=[]),new Promise(e=>{let r=()=>(u=!0,e());c(a,t).then(r,r)})),window.__NEXT_PRELOADREADY=f.preloadReady;let d=f},52101:(t,e,r)=>{"use strict";var n=d(r(84090)),o=d(r(37832)),i=d(r(8313)),a=d(r(37939)),u=d(r(23069)),s=d(r(34944)),l=d(r(4177)),f=r(97489),c=d(r(77349));function d(t){return t&&t.__esModule?t:{default:t}}var p=function(){},h=function(t,e,r){var n=new p;if(void 0===t)throw Error("No element to render on was provided.");return n._renderProperties=(0,u.default)(t),n._encodings=[],n._options=c.default,n._errorHandler=new l.default(n),void 0!==e&&((r=r||{}).format||(r.format=_()),n.options(r)[r.format](e,r).render()),n};for(var b in h.getModule=function(t){return n.default[t]},n.default)n.default.hasOwnProperty(b)&&function(t,e){p.prototype[e]=p.prototype[e.toUpperCase()]=p.prototype[e.toLowerCase()]=function(r,n){var i=this;return i._errorHandler.wrapBarcodeCall(function(){n.text=void 0===n.text?void 0:""+n.text;var a=(0,o.default)(i._options,n);a=(0,s.default)(a);var u=y(r,t[e],a);return i._encodings.push(u),i})}}(n.default,b);function y(t,e,r){var n=new e(t=""+t,r);if(!n.valid())throw new f.InvalidInputException(n.constructor.name,t);var a=n.encode();a=(0,i.default)(a);for(var u=0;u<a.length;u++)a[u].options=(0,o.default)(r,a[u].options);return a}function _(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}function v(t,e,r){e=(0,i.default)(e);for(var n=0;n<e.length;n++)e[n].options=(0,o.default)(r,e[n].options),(0,a.default)(e[n].options);(0,a.default)(r),new t.renderer(t.element,e,r).render(),t.afterRender&&t.afterRender()}p.prototype.options=function(t){return this._options=(0,o.default)(this._options,t),this},p.prototype.blank=function(t){var e=Array(t+1).join("0");return this._encodings.push({data:e}),this},p.prototype.init=function(){if(this._renderProperties)for(var t in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){var e=this._renderProperties[t],r=(0,o.default)(this._options,e.options);"auto"==r.format&&(r.format=_()),this._errorHandler.wrapBarcodeCall(function(){v(e,y(r.value,n.default[r.format.toUpperCase()],r),r)})}},p.prototype.render=function(){if(!this._renderProperties)throw new f.NoElementException;if(Array.isArray(this._renderProperties))for(var t=0;t<this._renderProperties.length;t++)v(this._renderProperties[t],this._encodings,this._options);else v(this._renderProperties,this._encodings,this._options);return this},p.prototype._defaults=c.default,"undefined"!=typeof window&&(window.JsBarcode=h),"undefined"!=typeof jQuery&&(jQuery.fn.JsBarcode=function(t,e){var r=[];return jQuery(this).each(function(){r.push(this)}),h(r,t,e)}),t.exports=h},53591:(t,e,r)=>{"use strict";var n,o=u(r(14232)),i=u(r(52101)),a=u(r(95062));function u(t){return t&&t.__esModule?t:{default:t}}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
1function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var d=o.default.version.split(/[.-]/);n="0"===d[0]&&("13"===d[1]||"12"===d[1])?function(t){return t.getDOMNode()}:function(t){return t};var p=function(t){var e;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function r(t){var e,n;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return(e=(n=l(r).call(this,t))&&("object"===s(n)||"function"==typeof n)?n:f(this)).update=e.update.bind(f(e)),e}return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),t&&c(r,t),e=[{key:"shouldComponentUpdate",value:function(t){var e=this;return Object.keys(r.propTypes).some(function(r){return e.props[r]!==t[r]})}},{key:"componentDidMount",value:function(){this.update()}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var t=n(this.refs.renderElement);try{new i.default(t,this.props.value,Object.assign({},this.props))}catch(t){window.console.error(t)}}},{key:"render",value:function(){return"svg"===this.props.renderer?o.default.createElement("svg",{ref:"renderElement"}):"canvas"===this.props.renderer?o.default.createElement("canvas",{ref:"renderElement"}):"img"===this.props.renderer?o.default.createElement("img",{ref:"renderElement"}):void 0}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(r.prototype,e),r}(o.default.Component);p.propTypes={value:a.default.string.isRequired,renderer:a.default.string,format:a.default.string,width:a.default.number,height:a.default.number,displayValue:a.default.bool,fontOptions:a.default.string,font:a.default.string,textAlign:a.default.string,textPosition:a.default.string,textMargin:a.default.number,fontSize:a.default.number,background:a.default.string,lineColor:a.default.string,margin:a.default.number,marginTop:a.default.number,marginBottom:a.default.number,marginLeft:a.default.number,marginRight:a.default.number},p.defaultProps={format:"CODE128",renderer:"svg",width:2,height:100,displayValue:!0,fontOptions:"",font:"monospace",textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10},t.exports=p},53956:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");t=t.toUpperCase(),r.mod43&&(t+=i[function(t){for(var e=0,r=0;r<t.length;r++)e+=s(t[r]);return e%43}(t)]);var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"encode",value:function(){for(var t=u("*"),e=0;e<this.data.length;e++)t+=u(this.data[e])+"0";return{data:t+=u("*"),text:this.text}}},{key:"valid",value:function(){return -1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),e}(function(t){return t&&t.__esModule?t:{default:t}}(r(26898)).default),i=["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","-","."," ","$","/","+","%","*"],a=[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,3
10065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function u(t){return a[s(t)].toString(2)}function s(t){return i.indexOf(t)}e.CODE39=o},57262:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(r(34944)),o=i(r(77349));function i(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){var e={};for(var r in o.default)o.default.hasOwnProperty(r)&&(t.hasAttribute("jsbarcode-"+r.toLowerCase())&&(e[r]=t.getAttribute("jsbarcode-"+r.toLowerCase())),t.hasAttribute("data-"+r.toLowerCase())&&(e[r]=t.getAttribute("data-"+r.toLowerCase())));return e.value=t.getAttribute("jsbarcode-value")||t.getAttribute("data-value"),e=(0,n.default)(e)}},58263:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(r(17093)),o=r(49182);e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,o.mod11)(t),r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),e}(n.default)},58898:(t,e)=>{"use strict";function r(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Object.defineProperty(e,"__esModule",{value:!0});var n,o=e.SET_A=0,i=e.SET_B=1,a=e.SET_C=2;e.SHIFT=98;var u=e.START_A=103,s=e.START_B=104,l=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,r(n={},u,o),r(n,s,i),r(n,l,a),e.SET_BY_CODE=n,e.SWAP={101:o,100:i,99:a},e.A_START_CHAR=String.fromCharCode(208),e.B_START_CHAR=String.fromCharCode(209),e.C_START_CHAR=String.fromCharCode(210),e.A_CHARS="[\0-_\xc8-\xcf]",e.B_CHARS="[ -\x7f\xc8-\xcf]",e.C_CHARS="(\xcf*[0-9]{2}\xcf*)",e.BARS=[0x2904e8b0c,0x28fb77b2c,0x28fb7774e,10010011e3,0x254a47ecc,0x2541b2a8c,10011001e3,0x254b3bd24,0x2541cad44,11001001e3,0x28fb5f0a4,0x28fa83504,0x25a9a86dc,0x254b3e81c,0x254b3c116,0x25aa9a20c,0x254b547ac,0x254b543ce,0x28fb79dfa,0x28fb61b9c,0x28fb5f496,0x290500dc4,0x28fb79e54,0x295ad5c36,0x295abd58c,0x2959e19ec,0x2959e160e,0x295ad5844,0x2959e3d14,0x2959e3cba,11011011e3,0x2904e872e,0x28fa85c1e,10100011e3,10001011e3,0x2541b26ae,10110001e3,10001101e3,0x2541cacea,11010001e3,11000101e3,0x28fa834aa,10110111e3,0x25a9a5fd6,0x2541cb136,10111011e3,0x25aa99e2e,0x2541cd45e,0x295ad7f5e,0x2903f48d6,0x28fa838f6,11011101e3,0x290500d6a,0x2905011b6,11101011e3,0x295abd1ae,0x2959cb67e,11101101e3,0x295ad57ea,0x2959cba02,0x295ad82e2,0x28fb5f04a,0x296352972,1010011e4,0x25a01c94c,1001011e4,0x254a47aee,0x2540d6eec,0x2540d6b0e,1011001e4,0x25a9a5be4,1001101e4,0x254b3bcca,0x2540d9214,0x2540d91ba,0x28fa6d51a,1100101e4,0x29636d722,0x28fa6d574,0x2541cd7e2,0x25a0376fc,0x254a62c7c,0x254a4a5e6,0x25aab24c4,0x254b56ad4,0x254b56a7a,0x29636ac84,0x296354cf4,0x296354c9a,0x2904eb226,0x2905034de,0x29636d39e,10101111e3,0x25a01f066,0x2541b51a6,10111101e3,0x25aab246a,11110101e3,0x29636ac2a,0x25aa9c926,0x25aab28b6,0x295abfca6,0x29636b076,0x2903f44e4,1101001e4,0x2903f6fdc,0x1001dc55b53]},59038:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(r(17093)),o=r(49182);e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");t+=(0,o.mod11)(t),t+=(0,o.mod10)(t);var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),e}(n.default)},59217:(t,e,r)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var n=i(r(68049)),o=i(r(92894));function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");if(/^[\x00-\x7F\xC8-\xD3]+$/.test(t))var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,o.default)(t),r));else var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return a(n)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),e}(n.default)},65670:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();e.checksum=a;var o=i(r(92632));function i(t){return t&&t.__esModule?t:{default:t}}function a(t){var e,r=0;for(e=1;e<11;e+=2)r+=parseInt(t[e]);for(e=0;e<11;e+=2)r+=3*parseInt(t[e]);return(10-r%10)%10}e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");-1!==t.search(/^[0-9]{11}$/)&&(t+=a(t));var n=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.displayValue=r.displayValue,r.fontSize>10*r.width?n.fontSize=10*r.width:n.fontSize=r.fontSize,n.guardHeight=r.height+n.fontSize/2+r.textMargin,n}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==a(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=(0,o.default)(this.data.substr(0,6),"LLLLLL"),t+="01010",t+=(0,o.default)(this.data.substr(6,6),"RRRRRR"),{data:t+="101",text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101"+(0,o.default)(this.data[0],"L"),options:{height:this.guardHeight}}),t.push({data:(0,o.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),t.push({data:"01010",options:{height:this.guardHeight}}),t.push({data:(0,o.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),t.push({data:(0,o.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),t}}]),e}(i(r(26898)).default)},68049:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(r(26898)),i=r(58898);e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t.substring(1),r));return n.bytes=t.split("").map(function(t){return t.charCodeAt(0)}),n}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var t=this.bytes,r=t.shift()-105,n=i.SET_BY_CODE[r];if(void 0===n)throw RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&t.unshift(i.FNC1);var o=e.next(t,1,n);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:e.getBar(r)+o.result+e.getBar((o.checksum+r)%i.MODULO)+e.getBar(i.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var t=this.options.ean128||!1;return"string"==typeof t&&(t="true"===t.toLowerCase()),t}}
1],[{key:"getBar",value:function(t){return i.BARS[t]?i.BARS[t].toString():""}},{key:"correctIndex",value:function(t,e){if(e===i.SET_A){var r=t.shift();return r<32?r+64:r-32}return e===i.SET_B?t.shift()-32:(t.shift()-48)*10+t.shift()-48}},{key:"next",value:function(t,r,n){if(!t.length)return{result:"",checksum:0};var o=void 0,a=void 0;if(t[0]>=200){a=t.shift()-105;var u=i.SWAP[a];void 0!==u?o=e.next(t,r+1,u):((n===i.SET_A||n===i.SET_B)&&a===i.SHIFT&&(t[0]=n===i.SET_A?t[0]>95?t[0]-96:t[0]:t[0]<32?t[0]+96:t[0]),o=e.next(t,r+1,n))}else a=e.correctIndex(t,n),o=e.next(t,r+1,n);var s=e.getBar(a),l=a*r;return{result:s+o.result,checksum:l+o.checksum}}}]),e}(o.default)},70684:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(r(95145)),i=function(t){var e=t.substr(0,13).split("").map(function(t){return parseInt(t,10)}).reduce(function(t,e,r){return t+e*(3-r%2*2)},0);return 10*Math.ceil(e/10)-e};e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");-1!==t.search(/^[0-9]{13}$/)&&(t+=i(t));var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{14}$/)&&+this.data[13]===i(this.data)}}]),e}(o.default)},71147:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{default:function(){return u},noSSR:function(){return a}});let n=r(64252);r(37876),r(14232);let o=n._(r(52100));function i(t){return{default:(null==t?void 0:t.default)||t}}function a(t,e){return delete e.webpack,delete e.modules,t(e)}function u(t,e){let r=o.default,n={loading:t=>{let{error:e,isLoading:r,pastDelay:n}=t;return null}};t instanceof Promise?n.loader=()=>t:"function"==typeof t?n.loader=t:"object"==typeof t&&(n={...n,...t});let u=(n={...n,...e}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=u?u().then(i):Promise.resolve(i(()=>null))}):(delete n.webpack,delete n.modules,a(r,n))}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},74793:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();e.pharmacode=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.number=parseInt(t,10),n}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"encode",value:function(){for(var t=this.number,e="";!isNaN(t)&&0!=t;)t%2==0?(e="11100"+e,t=(t-2)/2):(e="100"+e,t=(t-1)/2);return{data:e=e.slice(0,-2),text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e}(function(t){return t&&t.__esModule?t:{default:t}}(r(26898)).default)},77349:(t,e)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.default={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}}},78407:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var n=u(r(59217)),o=u(r(22100)),i=u(r(18161)),a=u(r(22582));function u(t){return t&&t.__esModule?t:{default:t}}e.CODE128=n.default,e.CODE128A=o.default,e.CODE128B=i.default,e.CODE128C=a.default},78883:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(r(12265)),o=a(r(8273)),i=a(r(49666));function a(t){return t&&t.__esModule?t:{default:t}}e.default={CanvasRenderer:n.default,SVGRenderer:o.default,ObjectRenderer:i.default}},81403:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(40125),i=a(r(92632));function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return -1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var t=o.EAN5_STRUCTURE[this.data.split("").map(function(t){return+t}).reduce(function(t,e,r){return r%2?t+9*e:t+3*e},0)%10];return{data:"1011"+(0,i.default)(this.data,t,"01"),text:this.text}}}]),e}(a(r(26898)).default)},81424:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var n=l(r(21172)),o=l(r(22804)),i=l(r(81403)),a=l(r(33646)),u=l(r(65670)),s=l(r(15133));function l(t){return t&&t.__esModule?t:{default:t}}e.EAN13=n.default,e.EAN8=o.default,e.EAN5=i.default,e.EAN2=a.default,e.UPC=u.default,e.UPCE=s.default},84090:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(53956),o=r(78407),i=r(81424),a=r(35492),u=r(21482),s=r(74793),l=r(41991),f=r(51978);e.default={CODE39:n.CODE39,CODE128:o.CODE128,CODE128A:o.CODE128A,CODE128B:o.CODE128B,CODE128C:o.CODE128C,EAN13:i.EAN13,EAN8:i.EAN8,EAN5:i.EAN5,EAN2:i.EAN2,UPC:i.UPC,UPCE:i.UPCE,ITF14:a.ITF14,ITF:a.ITF,MSI:u.MSI,MSI10:u.MSI10,MSI11:u.MSI11,MSI1010:u.MSI1010,MSI1110:u.MSI1110,pharmacode:s.pharmacode,codabar:l.codabar,GenericBarcode:f.GenericBarcode}},92632:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(40125);e.default=function(t,e,r){var o=t.split("").map(function(t,r){return n.BINARIES[e[r]]}).map(function(e,r){return e?e[t[r]]:""});if(r){var i=t.length-1;o=o.map(function(t,e){return e<i?t+r:t})}return o.join("")}},92894:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(58898),o=function(t){return t.match(RegExp("^"+n.A_CHARS+"*"))[0].length},i=function(t){return t.match(RegExp("^"+n.B_CHARS+"*"))[0].length},a=function(t){return t.match(RegExp("^"+n.C_CHARS+"*"))[0]};function u(t,e){var r=e?n.A_CHARS:n.B_CHARS,o=t.match(RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(o)return o[1]+String.fromCharCode(204)+s(t.substring(o[1].length));var i=t.match(RegExp("^"+r+"+"))[0];return i.length===t.length?t:i+String.fromCharCode(e?205:206)+u(t.substring(i.length),!e)}function s(t){var e=a(t),r=e.length;if(r===t.length)return t;var n=o(t=t.substring(r))>=i(t);return e+String.fromCharCode(n?206:205)+u(t,n)}e.default=function(t){var e=void 0;if(a(t).length>=2)e=n.C_START_CHAR+s(t);else{var r=o(t)>i(t);e=(r?n.A_START_CHAR:n.B_START_CHAR)+u(t,r)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(t,e){return String.fromCharCode(203)+e})}},93588:(t,e,r)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(r(17093)),o=r(49182);e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(t,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var n=(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,o.mod10)(t),r);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&("object"==typeof n||"function"==typeof n)?n:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),e}(n.default)},95145:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(29537);e.default=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var t=(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments);if(!this)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:this}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n(e,[{key:"valid",value:function(){return -1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){var t=this,e=this.data.match(/.{2}/g).map(function(e){return t.encodePair(e)}).join("");return{data:o.START_BIN+e+o.END_BIN,text:this.text}}},{key:"encodePair",value:function(t){var e=o.BINARIES[t[1]];return o.BINARIES[t[0]].split("").map(function(t,r){return("1"===t?"111":"1")+("1"===e[r]?"000":"0")}).join("")}}]),e}(function(t){return t&&t.__esModule?t:{default:t}}(r(26898)).default)},97489:(t,e)=>{"use strict";function r(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function n(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}function o(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(t,o){r(this,e);var i=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.name="InvalidInputException",i.symbology=t,i.input=o,i.message='"'+i.input+'" is not a valid input for '+i.symbology,i}return o(e,t),e}(Error),a=function(t){function e(){r(this,e);var t=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="InvalidElementException",t.message="Not supported type to render on",t}return o(e,t),e}(Error),u=function(t){function e(){r(this,e);var t=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="NoElementException",t.message="No element to render on.",t}return o(e,t),e}(Error);e.InvalidInputException=i,e.InvalidElementException=a,e.NoElementException=u}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.