@pisell/materials 2.2.15 → 2.2.16
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/iconfont/index.js +1 -1
- package/es/components/table/Table/index.less +0 -1
- package/iconfont/iconfont.js +1 -0
- package/lib/components/iconfont/index.js +1 -1
- package/lib/components/table/Table/index.less +0 -1
- package/package.json +5 -4
|
@@ -15,7 +15,7 @@ ee=function t(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Objec
|
|
|
15
15
|
* v5.2.0 - 2021-11-03
|
|
16
16
|
* (c) Sindre Sorhus; MIT License
|
|
17
17
|
*/
|
|
18
|
-
!function(){"use strict";var t="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=e.exports,r=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,o=n.length,a={};r<o;r++)if((e=n[r])&&e[1]in t){for(r=0;r<e.length;r++)a[n[0][r]]=e[r];return a}return!1}(),o={change:r.fullscreenchange,error:r.fullscreenerror},a={request:function(e,n){return new Promise(function(o,a){var i=function(){this.off("change",i),o()}.bind(this);this.on("change",i);var c=(e=e||t.documentElement)[r.requestFullscreen](n);c instanceof Promise&&c.then(i).catch(a)}.bind(this))},exit:function(){return new Promise(function(e,n){if(this.isFullscreen){var o=function(){this.off("change",o),e()}.bind(this);this.on("change",o);var a=t[r.exitFullscreen]();a instanceof Promise&&a.then(o).catch(n)}else e()}.bind(this))},toggle:function(e,t){return this.isFullscreen?this.exit():this.request(e,t)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=o[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=o[e];r&&t.removeEventListener(r,n,!1)},raw:r};r?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(t[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(t[r.fullscreenEnabled])}}}),n?e.exports=a:window.screenfull=a):n?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}()},function(e,t,n){"use strict";var r=n(108),o=n(24),a=n(14),i=function(){function e(e,t){if(0===t.length)throw new a.a;this.field=e;var n=t.length;if(n>1&&0===t[0]){for(var r=1;r<n&&0===t[r];)r++;r===n?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(n-r),o.a.arraycopy(t,r,this.coefficients,0,this.coefficients.length))}else this.coefficients=t}return e.prototype.getCoefficients=function(){return this.coefficients},e.prototype.getDegree=function(){return this.coefficients.length-1},e.prototype.isZero=function(){return 0===this.coefficients[0]},e.prototype.getCoefficient=function(e){return this.coefficients[this.coefficients.length-1-e]},e.prototype.evaluateAt=function(e){if(0===e)return this.getCoefficient(0);var t=this.coefficients,n;if(1===e){n=0;for(var o=0,a=t.length;o!==a;o++){var i=t[o];n=r.a.addOrSubtract(n,i)}return n}n=t[0];for(var c=t.length,l=this.field,o=1;o<c;o++)n=r.a.addOrSubtract(l.multiply(e,n),t[o]);return n},e.prototype.addOrSubtract=function(t){if(!this.field.equals(t.field))throw new a.a("GenericGFPolys do not have same GenericGF field");if(this.isZero())return t;if(t.isZero())return this;var n=this.coefficients,i=t.coefficients;if(n.length>i.length){var c=n;n=i,i=c}var l=new Int32Array(i.length),u=i.length-n.length;o.a.arraycopy(i,0,l,0,u);for(var s=u;s<i.length;s++)l[s]=r.a.addOrSubtract(n[s-u],i[s]);return new e(this.field,l)},e.prototype.multiply=function(t){if(!this.field.equals(t.field))throw new a.a("GenericGFPolys do not have same GenericGF field");if(this.isZero()||t.isZero())return this.field.getZero();for(var n=this.coefficients,o=n.length,i=t.coefficients,c=i.length,l=new Int32Array(o+c-1),u=this.field,s=0;s<o;s++)for(var d=n[s],f=0;f<c;f++)l[s+f]=r.a.addOrSubtract(l[s+f],u.multiply(d,i[f]));return new e(u,l)},e.prototype.multiplyScalar=function(t){if(0===t)return this.field.getZero();if(1===t)return this;for(var n=this.coefficients.length,r=this.field,o=new Int32Array(n),a=this.coefficients,i=0;i<n;i++)o[i]=r.multiply(a[i],t);return new e(r,o)},e.prototype.multiplyByMonomial=function(t,n){if(t<0)throw new a.a;if(0===n)return this.field.getZero();for(var r=this.coefficients,o=r.length,i=new Int32Array(o+t),c=this.field,l=0;l<o;l++)i[l]=c.multiply(r[l],n);return new e(c,i)},e.prototype.divide=function(e){if(!this.field.equals(e.field))throw new a.a("GenericGFPolys do not have same GenericGF field");if(e.isZero())throw new a.a("Divide by 0");for(var t=this.field,n=t.getZero(),r=this,o=e.getCoefficient(e.getDegree()),i=t.inverse(o);r.getDegree()>=e.getDegree()&&!r.isZero();){var c=r.getDegree()-e.getDegree(),l=t.multiply(r.getCoefficient(r.getDegree()),i),u=e.multiplyByMonomial(c,l),s=t.buildMonomial(c,l);n=n.addOrSubtract(s),r=r.addOrSubtract(u)}return[n,r]},e.prototype.toString=function(){for(var e="",t=this.getDegree();t>=0;t--){var n=this.getCoefficient(t);if(0!==n){if(n<0?(e+=" - ",n=-n):e.length>0&&(e+=" + "),0===t||1!==n){var r=this.field.log(n);0===r?e+="1":1===r?e+="a":(e+="a^",e+=r)}0!==t&&(1===t?e+="x":(e+="x^",e+=t))}}return e},e}();t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(106);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){"use strict";var r=n(41),o=n(121),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i,c=function(){function e(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.ecCodewordsPerBlock=e,this.ecBlocks=t}return e.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},e.prototype.getNumBlocks=function(){var e,t,n=0,r=this.ecBlocks;try{for(var o=a(r),i=o.next();!i.done;i=o.next()){var c;n+=i.value.getCount()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return n},e.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},e.prototype.getECBlocks=function(){return this.ecBlocks},e}(),l,u=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}(),s=n(12),d=n(14),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function e(e,t){for(var n,r,o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];this.versionNumber=e,this.alignmentPatternCenters=t,this.ecBlocks=o;var i=0,c=o[0].getECCodewordsPerBlock(),l=o[0].getECBlocks();try{for(var u=f(l),s=u.next();!s.done;s=u.next()){var d=s.value;i+=d.getCount()*(d.getDataCodewords()+c)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}this.totalCodewords=i}return e.prototype.getVersionNumber=function(){return this.versionNumber},e.prototype.getAlignmentPatternCenters=function(){return this.alignmentPatternCenters},e.prototype.getTotalCodewords=function(){return this.totalCodewords},e.prototype.getDimensionForVersion=function(){return 17+4*this.versionNumber},e.prototype.getECBlocksForLevel=function(e){return this.ecBlocks[e.getValue()]},e.getProvisionalVersionForDimension=function(e){if(e%4!=1)throw new s.a;try{return this.getVersionForNumber((e-17)/4)}catch(e){throw new s.a}},e.getVersionForNumber=function(t){if(t<1||t>40)throw new d.a;return e.VERSIONS[t-1]},e.decodeVersionInformation=function(t){for(var n=Number.MAX_SAFE_INTEGER,r=0,a=0;a<e.VERSION_DECODE_INFO.length;a++){var i=e.VERSION_DECODE_INFO[a];if(i===t)return e.getVersionForNumber(a+7);var c=o.a.numBitsDiffering(t,i);c<n&&(r=a+7,n=c)}return n<=3?e.getVersionForNumber(r):null},e.prototype.buildFunctionPattern=function(){var e=this.getDimensionForVersion(),t=new r.a(e);t.setRegion(0,0,9,9),t.setRegion(e-8,0,8,9),t.setRegion(0,e-8,9,8);for(var n=this.alignmentPatternCenters.length,o=0;o<n;o++)for(var a=this.alignmentPatternCenters[o]-2,i=0;i<n;i++)0===o&&(0===i||i===n-1)||o===n-1&&0===i||t.setRegion(this.alignmentPatternCenters[i]-2,a,5,5);return t.setRegion(6,9,1,e-17),t.setRegion(9,6,e-17,1),this.versionNumber>6&&(t.setRegion(e-11,0,3,6),t.setRegion(0,e-11,6,3)),t},e.prototype.toString=function(){return""+this.versionNumber},e.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),e.VERSIONS=[new e(1,new Int32Array(0),new c(7,new u(1,19)),new c(10,new u(1,16)),new c(13,new u(1,13)),new c(17,new u(1,9))),new e(2,Int32Array.from([6,18]),new c(10,new u(1,34)),new c(16,new u(1,28)),new c(22,new u(1,22)),new c(28,new u(1,16))),new e(3,Int32Array.from([6,22]),new c(15,new u(1,55)),new c(26,new u(1,44)),new c(18,new u(2,17)),new c(22,new u(2,13))),new e(4,Int32Array.from([6,26]),new c(20,new u(1,80)),new c(18,new u(2,32)),new c(26,new u(2,24)),new c(16,new u(4,9))),new e(5,Int32Array.from([6,30]),new c(26,new u(1,108)),new c(24,new u(2,43)),new c(18,new u(2,15),new u(2,16)),new c(22,new u(2,11),new u(2,12))),new e(6,Int32Array.from([6,34]),new c(18,new u(2,68)),new c(16,new u(4,27)),new c(24,new u(4,19)),new c(28,new u(4,15))),new e(7,Int32Array.from([6,22,38]),new c(20,new u(2,78)),new c(18,new u(4,31)),new c(18,new u(2,14),new u(4,15)),new c(26,new u(4,13),new u(1,14))),new e(8,Int32Array.from([6,24,42]),new c(24,new u(2,97)),new c(22,new u(2,38),new u(2,39)),new c(22,new u(4,18),new u(2,19)),new c(26,new u(4,14),new u(2,15))),new e(9,Int32Array.from([6,26,46]),new c(30,new u(2,116)),new c(22,new u(3,36),new u(2,37)),new c(20,new u(4,16),new u(4,17)),new c(24,new u(4,12),new u(4,13))),new e(10,Int32Array.from([6,28,50]),new c(18,new u(2,68),new u(2,69)),new c(26,new u(4,43),new u(1,44)),new c(24,new u(6,19),new u(2,20)),new c(28,new u(6,15),new u(2,16))),new e(11,Int32Array.from([6,30,54]),new c(20,new u(4,81)),new c(30,new u(1,50),new u(4,51)),new c(28,new u(4,22),new u(4,23)),new c(24,new u(3,12),new u(8,13))),new e(12,Int32Array.from([6,32,58]),new c(24,new u(2,92),new u(2,93)),new c(22,new u(6,36),new u(2,37)),new c(26,new u(4,20),new u(6,21)),new c(28,new u(7,14),new u(4,15))),new e(13,Int32Array.from([6,34,62]),new c(26,new u(4,107)),new c(22,new u(8,37),new u(1,38)),new c(24,new u(8,20),new u(4,21)),new c(22,new u(12,11),new u(4,12))),new e(14,Int32Array.from([6,26,46,66]),new c(30,new u(3,115),new u(1,116)),new c(24,new u(4,40),new u(5,41)),new c(20,new u(11,16),new u(5,17)),new c(24,new u(11,12),new u(5,13))),new e(15,Int32Array.from([6,26,48,70]),new c(22,new u(5,87),new u(1,88)),new c(24,new u(5,41),new u(5,42)),new c(30,new u(5,24),new u(7,25)),new c(24,new u(11,12),new u(7,13))),new e(16,Int32Array.from([6,26,50,74]),new c(24,new u(5,98),new u(1,99)),new c(28,new u(7,45),new u(3,46)),new c(24,new u(15,19),new u(2,20)),new c(30,new u(3,15),new u(13,16))),new e(17,Int32Array.from([6,30,54,78]),new c(28,new u(1,107),new u(5,108)),new c(28,new u(10,46),new u(1,47)),new c(28,new u(1,22),new u(15,23)),new c(28,new u(2,14),new u(17,15))),new e(18,Int32Array.from([6,30,56,82]),new c(30,new u(5,120),new u(1,121)),new c(26,new u(9,43),new u(4,44)),new c(28,new u(17,22),new u(1,23)),new c(28,new u(2,14),new u(19,15))),new e(19,Int32Array.from([6,30,58,86]),new c(28,new u(3,113),new u(4,114)),new c(26,new u(3,44),new u(11,45)),new c(26,new u(17,21),new u(4,22)),new c(26,new u(9,13),new u(16,14))),new e(20,Int32Array.from([6,34,62,90]),new c(28,new u(3,107),new u(5,108)),new c(26,new u(3,41),new u(13,42)),new c(30,new u(15,24),new u(5,25)),new c(28,new u(15,15),new u(10,16))),new e(21,Int32Array.from([6,28,50,72,94]),new c(28,new u(4,116),new u(4,117)),new c(26,new u(17,42)),new c(28,new u(17,22),new u(6,23)),new c(30,new u(19,16),new u(6,17))),new e(22,Int32Array.from([6,26,50,74,98]),new c(28,new u(2,111),new u(7,112)),new c(28,new u(17,46)),new c(30,new u(7,24),new u(16,25)),new c(24,new u(34,13))),new e(23,Int32Array.from([6,30,54,78,102]),new c(30,new u(4,121),new u(5,122)),new c(28,new u(4,47),new u(14,48)),new c(30,new u(11,24),new u(14,25)),new c(30,new u(16,15),new u(14,16))),new e(24,Int32Array.from([6,28,54,80,106]),new c(30,new u(6,117),new u(4,118)),new c(28,new u(6,45),new u(14,46)),new c(30,new u(11,24),new u(16,25)),new c(30,new u(30,16),new u(2,17))),new e(25,Int32Array.from([6,32,58,84,110]),new c(26,new u(8,106),new u(4,107)),new c(28,new u(8,47),new u(13,48)),new c(30,new u(7,24),new u(22,25)),new c(30,new u(22,15),new u(13,16))),new e(26,Int32Array.from([6,30,58,86,114]),new c(28,new u(10,114),new u(2,115)),new c(28,new u(19,46),new u(4,47)),new c(28,new u(28,22),new u(6,23)),new c(30,new u(33,16),new u(4,17))),new e(27,Int32Array.from([6,34,62,90,118]),new c(30,new u(8,122),new u(4,123)),new c(28,new u(22,45),new u(3,46)),new c(30,new u(8,23),new u(26,24)),new c(30,new u(12,15),new u(28,16))),new e(28,Int32Array.from([6,26,50,74,98,122]),new c(30,new u(3,117),new u(10,118)),new c(28,new u(3,45),new u(23,46)),new c(30,new u(4,24),new u(31,25)),new c(30,new u(11,15),new u(31,16))),new e(29,Int32Array.from([6,30,54,78,102,126]),new c(30,new u(7,116),new u(7,117)),new c(28,new u(21,45),new u(7,46)),new c(30,new u(1,23),new u(37,24)),new c(30,new u(19,15),new u(26,16))),new e(30,Int32Array.from([6,26,52,78,104,130]),new c(30,new u(5,115),new u(10,116)),new c(28,new u(19,47),new u(10,48)),new c(30,new u(15,24),new u(25,25)),new c(30,new u(23,15),new u(25,16))),new e(31,Int32Array.from([6,30,56,82,108,134]),new c(30,new u(13,115),new u(3,116)),new c(28,new u(2,46),new u(29,47)),new c(30,new u(42,24),new u(1,25)),new c(30,new u(23,15),new u(28,16))),new e(32,Int32Array.from([6,34,60,86,112,138]),new c(30,new u(17,115)),new c(28,new u(10,46),new u(23,47)),new c(30,new u(10,24),new u(35,25)),new c(30,new u(19,15),new u(35,16))),new e(33,Int32Array.from([6,30,58,86,114,142]),new c(30,new u(17,115),new u(1,116)),new c(28,new u(14,46),new u(21,47)),new c(30,new u(29,24),new u(19,25)),new c(30,new u(11,15),new u(46,16))),new e(34,Int32Array.from([6,34,62,90,118,146]),new c(30,new u(13,115),new u(6,116)),new c(28,new u(14,46),new u(23,47)),new c(30,new u(44,24),new u(7,25)),new c(30,new u(59,16),new u(1,17))),new e(35,Int32Array.from([6,30,54,78,102,126,150]),new c(30,new u(12,121),new u(7,122)),new c(28,new u(12,47),new u(26,48)),new c(30,new u(39,24),new u(14,25)),new c(30,new u(22,15),new u(41,16))),new e(36,Int32Array.from([6,24,50,76,102,128,154]),new c(30,new u(6,121),new u(14,122)),new c(28,new u(6,47),new u(34,48)),new c(30,new u(46,24),new u(10,25)),new c(30,new u(2,15),new u(64,16))),new e(37,Int32Array.from([6,28,54,80,106,132,158]),new c(30,new u(17,122),new u(4,123)),new c(28,new u(29,46),new u(14,47)),new c(30,new u(49,24),new u(10,25)),new c(30,new u(24,15),new u(46,16))),new e(38,Int32Array.from([6,32,58,84,110,136,162]),new c(30,new u(4,122),new u(18,123)),new c(28,new u(13,46),new u(32,47)),new c(30,new u(48,24),new u(14,25)),new c(30,new u(42,15),new u(32,16))),new e(39,Int32Array.from([6,26,54,82,110,138,166]),new c(30,new u(20,117),new u(4,118)),new c(28,new u(40,47),new u(7,48)),new c(30,new u(43,24),new u(22,25)),new c(30,new u(10,15),new u(67,16))),new e(40,Int32Array.from([6,30,58,86,114,142,170]),new c(30,new u(19,118),new u(6,119)),new c(28,new u(18,47),new u(31,48)),new c(30,new u(34,24),new u(34,25)),new c(30,new u(20,15),new u(61,16)))],e}(),p=t.a=h},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.withMomentProps=t.withSingleFunctionChild=t.withSingleChild=t.withWrap=void 0;var i=a(n(0)),c=n(226),l=a(n(54));function u(e,t,n){var r={};return t.forEach((function(t){(0,c.has)(e,t)&&(0,c.set)(r,t,n((0,c.get)(e,t),t))})),r}function s(e){return function(t){return i.default.createElement(e,o({},t))}}function d(e,t){return void 0===t&&(t=["children"]),function(n){var a=u(n,t,(function(e){var t=i.default.Children.toArray(e)[0];return null!==t&&"object"===r(t)||(t=i.default.createElement("div",null,t)),t}));return i.default.createElement(e,o({},n,a))}}function f(e){return function(t){var n=t.children,r;return"function"==typeof n&&(r=n),Array.isArray(n)&&1===n.length&&"function"==typeof n[0]&&(r=n[0]),r?i.default.createElement(e,o({},t),r):i.default.createElement("div",null,n)}}function h(e,t){return void 0===t&&(t=["value","defaultValue"]),function(n){var r=u(n,t,(function(e){if(e)return Array.isArray(e)?e.map((function(e){return l.default.isDayjs(e)?e:(0,l.default)(e)})):l.default.isDayjs(e)?e:(0,l.default)(e)}));return i.default.createElement(e,o({},n,r))}}t.withWrap=s,t.withSingleChild=d,t.withSingleFunctionChild=f,t.withMomentProps=h},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},a;Object.defineProperty(t,"__esModule",{value:!0}),t.formatColumn=t.Context=t.Provider=void 0;var i=o(n(506)),c={tableId:"",localPagination:!1,dataSource:[],originDataSource:[],defaultColumns:[],originColumns:[],originColumnsMap:new Map,currentCell:null,quickFilter:[],otherFilter:[],utils:{},setting:{field:{edit:0},data:{edit:0}},tableWidth:500,currentDataSource:[],originResultDataSource:[]};t.Provider=(a=(0,i.default)({namespace:"state",state:c,reducers:{setDataSource:function e(t,n){return r(r({},t),{dataSource:n})},setOriginDataSource:function e(t,n){return r(r({},t),{originDataSource:n})},setDefaultColumns:function e(n,o){return r(r({},n),{defaultColumns:o.map((function(e){return(0,t.formatColumn)(e)}))})},setOriginColumns:function e(n,o){var a=o.map((function(e){return(0,t.formatColumn)(e)})),i=new Map(a.map((function(e){return[e.key,e]})));return r(r({},n),{originColumns:a,originColumnsMap:i})},setCurrentCell:function e(t,n){return r(r({},t),{currentCell:n})},setQuickFilter:function e(t,n){return r(r({},t),{quickFilter:n})},setUtils:function e(t,n){return r(r({},t),{utils:n})},syncStorage:function e(t,n){return r({},t)},init:function e(t,n){return r({},t)},setOtherFilter:function e(t,n){return r(r({},t),{otherFilter:n})},setTableId:function e(t,n){return r(r({},t),{tableId:n})},setLocalPagination:function e(t,n){return r(r({},t),{localPagination:n})},setTableWidth:function e(t,n){return r(r({},t),{tableWidth:n})},setCurrentDataSource:function e(t,n){return r(r({},t),{currentDataSource:n})},setOriginResultDataSource:function e(t,n){return r(r({},t),{originResultDataSource:n})}}})).Provider,t.Context=a.Context;var l=function e(t){var n=r({editable:!0,field_type:"text",lock:!0},t.other||{});return r(r({},n),t)};t.formatColumn=l},,function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(259),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=(0,r.createContext)({}),a=function e(){var t;return(0,r.useContext)(window.__appContext||o)||{}};t.default=a},function(e,t,n){"use strict";var r=n(18),o=n(88),a=function(){function e(e,t){this.width=e,this.height=t}return e.prototype.getWidth=function(){return this.width},e.prototype.getHeight=function(){return this.height},e.prototype.isCropSupported=function(){return!1},e.prototype.crop=function(e,t,n,r){throw new o.a("This luminance source does not support cropping.")},e.prototype.isRotateSupported=function(){return!1},e.prototype.rotateCounterClockwise=function(){throw new o.a("This luminance source does not support rotation by 90 degrees.")},e.prototype.rotateCounterClockwise45=function(){throw new o.a("This luminance source does not support rotation by 45 degrees.")},e.prototype.toString=function(){for(var e=new Uint8ClampedArray(this.width),t=new r.a,n=0;n<this.height;n++){for(var o=this.getRow(n,e),a=0;a<this.width;a++){var i=255&o[a],c=void 0;c=i<64?"#":i<128?"+":i<192?".":" ",t.append(c)}t.append("\n")}return t.toString()},e}();t.a=a},function(e,t,n){"use strict";var r=function(){function e(e,t,n,r,o,a){void 0===o&&(o=-1),void 0===a&&(a=-1),this.rawBytes=e,this.text=t,this.byteSegments=n,this.ecLevel=r,this.structuredAppendSequenceNumber=o,this.structuredAppendParity=a,this.numBits=null==e?0:8*e.length}return e.prototype.getRawBytes=function(){return this.rawBytes},e.prototype.getNumBits=function(){return this.numBits},e.prototype.setNumBits=function(e){this.numBits=e},e.prototype.getText=function(){return this.text},e.prototype.getByteSegments=function(){return this.byteSegments},e.prototype.getECLevel=function(){return this.ecLevel},e.prototype.getErrorsCorrected=function(){return this.errorsCorrected},e.prototype.setErrorsCorrected=function(e){this.errorsCorrected=e},e.prototype.getErasures=function(){return this.erasures},e.prototype.setErasures=function(e){this.erasures=e},e.prototype.getOther=function(){return this.other},e.prototype.setOther=function(e){this.other=e},e.prototype.hasStructuredAppend=function(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0},e.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},e.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},e}();t.a=r},function(e,t,n){"use strict";var r=n(47),o=n(62),a=n(104),i=n(53),c=function(){function e(e){this.field=e}return e.prototype.decode=function(e,t){for(var n=this.field,i=new o.a(n,e),c=new Int32Array(t),l=!0,u=0;u<t;u++){var s=i.evaluateAt(n.exp(u+n.getGeneratorBase()));c[c.length-1-u]=s,0!==s&&(l=!1)}if(!l)for(var d=new o.a(n,c),f=this.runEuclideanAlgorithm(n.buildMonomial(t,1),d,t),h=f[0],p=f[1],v=this.findErrorLocations(h),m=this.findErrorMagnitudes(p,v),u=0;u<v.length;u++){var g=e.length-1-n.log(v[u]);if(g<0)throw new a.a("Bad error location");e[g]=r.a.addOrSubtract(e[g],m[u])}},e.prototype.runEuclideanAlgorithm=function(e,t,n){if(e.getDegree()<t.getDegree()){var r=e;e=t,t=r}for(var o=this.field,c=e,l=t,u=o.getZero(),s=o.getOne();l.getDegree()>=(n/2|0);){var d=c,f=u;if(u=s,(c=l).isZero())throw new a.a("r_{i-1} was zero");l=d;for(var h=o.getZero(),p=c.getCoefficient(c.getDegree()),v=o.inverse(p);l.getDegree()>=c.getDegree()&&!l.isZero();){var m=l.getDegree()-c.getDegree(),g=o.multiply(l.getCoefficient(l.getDegree()),v);h=h.addOrSubtract(o.buildMonomial(m,g)),l=l.addOrSubtract(c.multiplyByMonomial(m,g))}if(s=h.multiply(u).addOrSubtract(f),l.getDegree()>=c.getDegree())throw new i.a("Division algorithm failed to reduce polynomial?")}var b=s.getCoefficient(0);if(0===b)throw new a.a("sigmaTilde(0) was zero");var y=o.inverse(b),w,O;return[s.multiplyScalar(y),l.multiplyScalar(y)]},e.prototype.findErrorLocations=function(e){var t=e.getDegree();if(1===t)return Int32Array.from([e.getCoefficient(1)]);for(var n=new Int32Array(t),r=0,o=this.field,i=1;i<o.getSize()&&r<t;i++)0===e.evaluateAt(i)&&(n[r]=o.inverse(i),r++);if(r!==t)throw new a.a("Error locator degree does not match number of roots");return n},e.prototype.findErrorMagnitudes=function(e,t){for(var n=t.length,r=new Int32Array(n),o=this.field,a=0;a<n;a++){for(var i=o.inverse(t[a]),c=1,l=0;l<n;l++)if(a!==l){var u=o.multiply(t[l],i),s=0==(1&u)?1|u:-2&u;c=o.multiply(c,s)}r[a]=o.multiply(e.evaluateAt(i),o.inverse(c)),0!==o.getGeneratorBase()&&(r[a]=o.multiply(r[a],i))}return r},e}();t.a=c},function(e,t,n){"use strict";var r=n(58),o=n(14),a;!function(e){e[e.L=0]="L",e[e.M=1]="M",e[e.Q=2]="Q",e[e.H=3]="H"}(a||(a={}));var i=function(){function e(t,n,r){this.value=t,this.stringValue=n,this.bits=r,e.FOR_BITS.set(r,this),e.FOR_VALUE.set(t,this)}return e.prototype.getValue=function(){return this.value},e.prototype.getBits=function(){return this.bits},e.fromString=function(t){switch(t){case"L":return e.L;case"M":return e.M;case"Q":return e.Q;case"H":return e.H;default:throw new r.a(t+"not available")}},e.prototype.toString=function(){return this.stringValue},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.value===n.value},e.forBits=function(t){if(t<0||t>=e.FOR_BITS.size)throw new o.a;return e.FOR_BITS.get(t)},e.FOR_BITS=new Map,e.FOR_VALUE=new Map,e.L=new e(a.L,"L",1),e.M=new e(a.M,"M",0),e.Q=new e(a.Q,"Q",3),e.H=new e(a.H,"H",2),e}();t.a=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11),o=r.Input.Group,a=r.Input.TextArea,i=r.Input.Password,c=r.Input.Search,l=r.Input;l.Group=o,l.TextArea=a,l.Password=i,l.Search=c,t.default=l},function(e,t,n){"use strict";var r=n(71),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(t){var n=e.call(this,t.getWidth(),t.getHeight())||this;return n.delegate=t,n}return o(t,e),t.prototype.getRow=function(e,t){for(var n=this.delegate.getRow(e,t),r=this.getWidth(),o=0;o<r;o++)n[o]=255-(255&n[o]);return n},t.prototype.getMatrix=function(){for(var e=this.delegate.getMatrix(),t=this.getWidth()*this.getHeight(),n=new Uint8ClampedArray(t),r=0;r<t;r++)n[r]=255-(255&e[r]);return n},t.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},t.prototype.crop=function(e,n,r,o){return new t(this.delegate.crop(e,n,r,o))},t.prototype.isRotateSupported=function(){return this.delegate.isRotateSupported()},t.prototype.invert=function(){return this.delegate},t.prototype.rotateCounterClockwise=function(){return new t(this.delegate.rotateCounterClockwise())},t.prototype.rotateCounterClockwise45=function(){return new t(this.delegate.rotateCounterClockwise45())},t}(r.a);t.a=i},function(e,t,n){"use strict";var r=n(14),o=function(){function e(){}return e.applyMaskPenaltyRule1=function(t){return e.applyMaskPenaltyRule1Internal(t,!0)+e.applyMaskPenaltyRule1Internal(t,!1)},e.applyMaskPenaltyRule2=function(t){for(var n=0,r=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a-1;i++)for(var c=r[i],l=0;l<o-1;l++){var u=c[l];u===c[l+1]&&u===r[i+1][l]&&u===r[i+1][l+1]&&n++}return e.N2*n},e.applyMaskPenaltyRule3=function(t){for(var n=0,r=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a;i++)for(var c=0;c<o;c++){var l=r[i];c+6<o&&1===l[c]&&0===l[c+1]&&1===l[c+2]&&1===l[c+3]&&1===l[c+4]&&0===l[c+5]&&1===l[c+6]&&(e.isWhiteHorizontal(l,c-4,c)||e.isWhiteHorizontal(l,c+7,c+11))&&n++,i+6<a&&1===r[i][c]&&0===r[i+1][c]&&1===r[i+2][c]&&1===r[i+3][c]&&1===r[i+4][c]&&0===r[i+5][c]&&1===r[i+6][c]&&(e.isWhiteVertical(r,c,i-4,i)||e.isWhiteVertical(r,c,i+7,i+11))&&n++}return n*e.N3},e.isWhiteHorizontal=function(e,t,n){t=Math.max(t,0),n=Math.min(n,e.length);for(var r=t;r<n;r++)if(1===e[r])return!1;return!0},e.isWhiteVertical=function(e,t,n,r){n=Math.max(n,0),r=Math.min(r,e.length);for(var o=n;o<r;o++)if(1===e[o][t])return!1;return!0},e.applyMaskPenaltyRule4=function(t){for(var n=0,r=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a;i++)for(var c=r[i],l=0;l<o;l++)1===c[l]&&n++;var u=t.getHeight()*t.getWidth(),s;return Math.floor(10*Math.abs(2*n-u)/u)*e.N4},e.getDataMaskBit=function(e,t,n){var o,a;switch(e){case 0:o=n+t&1;break;case 1:o=1&n;break;case 2:o=t%3;break;case 3:o=(n+t)%3;break;case 4:o=Math.floor(n/2)+Math.floor(t/3)&1;break;case 5:o=(1&(a=n*t))+a%3;break;case 6:o=(1&(a=n*t))+a%3&1;break;case 7:o=(a=n*t)%3+(n+t&1)&1;break;default:throw new r.a("Invalid mask pattern: "+e)}return 0===o},e.applyMaskPenaltyRule1Internal=function(t,n){for(var r=0,o=n?t.getHeight():t.getWidth(),a=n?t.getWidth():t.getHeight(),i=t.getArray(),c=0;c<o;c++){for(var l=0,u=-1,s=0;s<a;s++){var d=n?i[c][s]:i[s][c];d===u?l++:(l>=5&&(r+=e.N1+(l-5)),l=1,u=d)}l>=5&&(r+=e.N1+(l-5))}return r},e.N1=3,e.N2=3,e.N3=40,e.N4=10,e}();t.a=o},function(e,t,n){"use strict";var r=n(15),o=n(27),a=n(8),i=n(142),c=n(143),l=n(144),u=n(145),s=n(32),d=n(36),f=n(97),h=n(48),p=(v=function(e,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v,m=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},g,b=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=Int32Array.from([0,0,0,0]),t}return p(t,e),t.prototype.decodeMiddle=function(e,t,n){var r,o,a,i,c=this.decodeMiddleCounters,l;c[0]=0,c[1]=0,c[2]=0,c[3]=0;for(var u=e.getSize(),s=t[1],d=0;d<4&&s<u;d++){var f=h.a.decodeDigit(e,c,s,h.a.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var p=(r=void 0,m(c)),v=p.next();!v.done;v=p.next()){var g;s+=g=v.value}}catch(e){r={error:e}}finally{try{v&&!v.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}s=h.a.findGuardPattern(e,s,!0,h.a.MIDDLE_PATTERN,new Int32Array(h.a.MIDDLE_PATTERN.length).fill(0))[1];for(var d=0;d<4&&s<u;d++){var f=h.a.decodeDigit(e,c,s,h.a.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var b=(a=void 0,m(c)),y=b.next();!y.done;y=b.next()){var g;s+=g=y.value}}catch(e){a={error:e}}finally{try{y&&!y.done&&(i=b.return)&&i.call(b)}finally{if(a)throw a.error}}}return{rowOffset:s,resultString:n}},t.prototype.getBarcodeFormat=function(){return r.a.EAN_8},t}(h.a),y=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w,O=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ean13Reader=new f.a,t}return y(t,e),t.prototype.getBarcodeFormat=function(){return r.a.UPC_A},t.prototype.decode=function(e,t){return this.maybeReturnResult(this.ean13Reader.decode(e))},t.prototype.decodeRow=function(e,t,n){return this.maybeReturnResult(this.ean13Reader.decodeRow(e,t,n))},t.prototype.decodeMiddle=function(e,t,n){return this.ean13Reader.decodeMiddle(e,t,n)},t.prototype.maybeReturnResult=function(e){var t=e.getText();if("0"===t.charAt(0)){var n=new s.a(t.substring(1),null,null,e.getResultPoints(),r.a.UPC_A);return null!=e.getResultMetadata()&&n.putAllMetadata(e.getResultMetadata()),n}throw new a.a},t.prototype.reset=function(){this.ean13Reader.reset()},t}(h.a),M=n(18),A=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),j=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},x,S=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=new Int32Array(4),t}return A(t,e),t.prototype.decodeMiddle=function(e,n,r){var o,a,i=this.decodeMiddleCounters.map((function(e){return e}));i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var c=e.getSize(),l=n[1],u=0,s=0;s<6&&l<c;s++){var d=t.decodeDigit(e,i,l,t.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+d%10);try{for(var f=(o=void 0,j(i)),h=f.next();!h.done;h=f.next()){var p;l+=h.value}}catch(e){o={error:e}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}d>=10&&(u|=1<<5-s)}return t.determineNumSysAndCheckDigit(new M.a(r),u),l},t.prototype.decodeEnd=function(e,n){return t.findGuardPatternWithoutCounters(e,n,!0,t.MIDDLE_END_PATTERN)},t.prototype.checkChecksum=function(e){return h.a.checkChecksum(t.convertUPCEtoUPCA(e))},t.determineNumSysAndCheckDigit=function(e,t){for(var n=0;n<=1;n++)for(var r=0;r<10;r++)if(t===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[n][r])return e.insert(0,"0"+n),void e.append("0"+r);throw a.a.getNotFoundInstance()},t.prototype.getBarcodeFormat=function(){return r.a.UPC_E},t.convertUPCEtoUPCA=function(e){var t=e.slice(1,7).split("").map((function(e){return e.charCodeAt(0)})),n=new M.a;n.append(e.charAt(0));var r=t[5];switch(r){case 0:case 1:case 2:n.appendChars(t,0,2),n.append(r),n.append("0000"),n.appendChars(t,2,3);break;case 3:n.appendChars(t,0,3),n.append("00000"),n.appendChars(t,3,2);break;case 4:n.appendChars(t,0,4),n.append("00000"),n.append(t[4]);break;default:n.appendChars(t,0,5),n.append("0000"),n.append(r)}return e.length>=8&&n.append(e.charAt(7)),n.toString()},t.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),t.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],t}(h.a),E=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},T,D=function(e){function t(t){var n=e.call(this)||this,a=null==t?null:t.get(o.a.POSSIBLE_FORMATS),i=[];return null!=a&&(a.indexOf(r.a.EAN_13)>-1&&i.push(new f.a),a.indexOf(r.a.UPC_A)>-1&&i.push(new O),a.indexOf(r.a.EAN_8)>-1&&i.push(new b),a.indexOf(r.a.UPC_E)>-1&&i.push(new S)),0===i.length&&(i.push(new f.a),i.push(new O),i.push(new b),i.push(new S)),n.readers=i,n}return E(t,e),t.prototype.decodeRow=function(e,t,n){var i,c;try{for(var l=C(this.readers),u=l.next();!u.done;u=l.next()){var d=u.value;try{var f=d.decodeRow(e,t,n),h=f.getBarcodeFormat()===r.a.EAN_13&&"0"===f.getText().charAt(0),p=null==n?null:n.get(o.a.POSSIBLE_FORMATS),v=null==p||p.includes(r.a.UPC_A);if(h&&v){var m=f.getRawBytes(),g=new s.a(f.getText().substring(1),m,m?m.length:null,f.getResultPoints(),r.a.UPC_A);return g.putAllMetadata(f.getResultMetadata()),g}return f}catch(e){}}}catch(e){i={error:e}}finally{try{u&&!u.done&&(c=l.return)&&c.call(l)}finally{if(i)throw i.error}}throw new a.a},t.prototype.reset=function(){var e,t;try{for(var n=C(this.readers),r=n.next();!r.done;r=n.next()){var o;r.value.reset()}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t}(d.a),_=n(175),z=n(192),I=n(149),P=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),N=function(e){function t(t){var n=e.call(this)||this;n.readers=[];var a=t?t.get(o.a.POSSIBLE_FORMATS):null,s=t&&void 0!==t.get(o.a.ASSUME_CODE_39_CHECK_DIGIT),d=t&&void 0!==t.get(o.a.ENABLE_CODE_39_EXTENDED_MODE);return a&&((a.includes(r.a.EAN_13)||a.includes(r.a.UPC_A)||a.includes(r.a.EAN_8)||a.includes(r.a.UPC_E))&&n.readers.push(new D(t)),a.includes(r.a.CODE_39)&&n.readers.push(new c.a(s,d)),a.includes(r.a.CODE_93)&&n.readers.push(new l.a),a.includes(r.a.CODE_128)&&n.readers.push(new i.a),a.includes(r.a.ITF)&&n.readers.push(new u.a),a.includes(r.a.CODABAR)&&n.readers.push(new _.a),a.includes(r.a.RSS_14)&&n.readers.push(new I.a),a.includes(r.a.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),n.readers.push(new z.a))),0===n.readers.length&&(n.readers.push(new D(t)),n.readers.push(new c.a),n.readers.push(new l.a),n.readers.push(new D(t)),n.readers.push(new i.a),n.readers.push(new u.a),n.readers.push(new I.a)),n}return P(t,e),t.prototype.decodeRow=function(e,t,n){for(var r=0;r<this.readers.length;r++)try{return this.readers[r].decodeRow(e,t,n)}catch(e){}throw new a.a},t.prototype.reset=function(){this.readers.forEach((function(e){return e.reset()}))},t}(d.a),k=t.a=N},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(t,n){return t.__proto__=n,t})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var r=n(25),o=n(8),a=n(36),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c,l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(e){function t(){var t=e.call(this)||this;return t.decodeFinderCounters=new Int32Array(4),t.dataCharacterCounters=new Int32Array(8),t.oddRoundingErrors=new Array(4),t.evenRoundingErrors=new Array(4),t.oddCounts=new Array(t.dataCharacterCounters.length/2),t.evenCounts=new Array(t.dataCharacterCounters.length/2),t}return i(t,e),t.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},t.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},t.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},t.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},t.prototype.getOddCounts=function(){return this.oddCounts},t.prototype.getEvenCounts=function(){return this.evenCounts},t.prototype.parseFinderValue=function(e,n){for(var r=0;r<n.length;r++)if(a.a.patternMatchVariance(e,n[r],t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return r;throw new o.a},t.count=function(e){return r.a.sum(new Int32Array(e))},t.increment=function(e,t){for(var n=0,r=t[0],o=1;o<e.length;o++)t[o]>r&&(r=t[o],n=o);e[n]++},t.decrement=function(e,t){for(var n=0,r=t[0],o=1;o<e.length;o++)t[o]<r&&(r=t[o],n=o);e[n]--},t.isFinderPattern=function(e){var n,r,o=e[0]+e[1],a,i=o/(o+e[2]+e[3]);if(i>=t.MIN_FINDER_PATTERN_RATIO&&i<=t.MAX_FINDER_PATTERN_RATIO){var c=Number.MAX_SAFE_INTEGER,u=Number.MIN_SAFE_INTEGER;try{for(var s=l(e),d=s.next();!d.done;d=s.next()){var f=d.value;f>u&&(u=f),f<c&&(c=f)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return u<10*c}return!1},t.MAX_AVG_VARIANCE=.2,t.MAX_INDIVIDUAL_VARIANCE=.45,t.MIN_FINDER_PATTERN_RATIO=9.5/12,t.MAX_FINDER_PATTERN_RATIO=12.5/14,t}(a.a);t.a=u},,function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(31),i=o(n(0)),c=(0,a.createFromIconfontCN)({scriptUrl:"https://at.alicdn.com/t/c/font_4075221_cy8sszjz7t7.js"}),l=function e(t){return i.default.createElement(c,r({},t,{className:t.className}))};t.default=l},function(e,t,n){"use strict";var r=function(){function e(e,t){this.bits=e,this.points=t}return e.prototype.getBits=function(){return this.bits},e.prototype.getPoints=function(){return this.points},e}();t.a=r},function(e,t,n){"use strict";var r=n(174),o=function(){function e(){}return e.setGridSampler=function(t){e.gridSampler=t},e.getInstance=function(){return e.gridSampler},e.gridSampler=new r.a,e}();t.a=o},function(e,t,n){"use strict";var r=n(43),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.forName=function(e){return this.getCharacterSetECIByName(e)},t}(r.a);t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(18),o=n(23),a=n(10),i=function(){function e(){}return e.prototype.getEncodingMode=function(){return a.d},e.prototype.encodeMaximal=function(e){for(var t=new r.a,n=0,o=e.pos,i=0;e.hasMoreCharacters();){var c=e.getCurrentChar();e.pos++,n=this.encodeChar(c,t),t.length()%3==0&&(o=e.pos,i=t.length())}if(i!==t.length()){var l=Math.floor(t.length()/3*2),u=Math.floor(e.getCodewordCount()+l+1);e.updateSymbolInfo(u);var s=e.getSymbolInfo().getDataCapacity()-u,d=Math.floor(t.length()%3);(2===d&&2!==s||1===d&&(n>3||1!==s))&&(e.pos=o)}t.length()>0&&e.writeCodeword(a.k),this.handleEOD(e,t)},e.prototype.encode=function(e){for(var t=new r.a;e.hasMoreCharacters();){var n=e.getCurrentChar();e.pos++;var i=this.encodeChar(n,t),c=2*Math.floor(t.length()/3),l=e.getCodewordCount()+c;e.updateSymbolInfo(l);var u=e.getSymbolInfo().getDataCapacity()-l,s,d;if(!e.hasMoreCharacters()){var f=new r.a;for(t.length()%3==2&&2!==u&&(i=this.backtrackOneCharacter(e,t,f,i));t.length()%3==1&&(i>3||1!==u);)i=this.backtrackOneCharacter(e,t,f,i);break}if(t.length()%3==0)if(o.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode())!==this.getEncodingMode()){e.signalEncoderChange(a.b);break}}this.handleEOD(e,t)},e.prototype.backtrackOneCharacter=function(e,t,n,r){var o=t.length(),a=t.toString().substring(0,o-r);t.setLengthToZero(),t.append(a),e.pos--;var i=e.getCurrentChar();return r=this.encodeChar(i,n),e.resetSymbolInfo(),r},e.prototype.writeNextTriplet=function(e,t){e.writeCodewords(this.encodeToCodewords(t.toString()));var n=t.toString().substring(3);t.setLengthToZero(),t.append(n)},e.prototype.handleEOD=function(e,t){var n=Math.floor(t.length()/3*2),r=t.length()%3,o=e.getCodewordCount()+n;e.updateSymbolInfo(o);var i=e.getSymbolInfo().getDataCapacity()-o;if(2===r){for(t.append("\0");t.length()>=3;)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(a.e)}else if(1===i&&1===r){for(;t.length()>=3;)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(a.e),e.pos--}else{if(0!==r)throw new Error("Unexpected case. Please report!");for(;t.length()>=3;)this.writeNextTriplet(e,t);(i>0||e.hasMoreCharacters())&&e.writeCodeword(a.e)}e.signalEncoderChange(a.b)},e.prototype.encodeChar=function(e,t){if(e===" ".charCodeAt(0))return t.append(3),1;if(e>="0".charCodeAt(0)&&e<="9".charCodeAt(0))return t.append(e-48+4),1;if(e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0))return t.append(e-65+14),1;if(e<" ".charCodeAt(0))return t.append(0),t.append(e),2;if(e<="/".charCodeAt(0))return t.append(1),t.append(e-33),2;if(e<="@".charCodeAt(0))return t.append(1),t.append(e-58+15),2;if(e<="_".charCodeAt(0))return t.append(1),t.append(e-91+22),2;if(e<=127)return t.append(2),t.append(e-96),2;t.append("1\x1e");var n=2;return n+=this.encodeChar(e-128,t)},e.prototype.encodeToCodewords=function(e){var t=1600*e.charCodeAt(0)+40*e.charCodeAt(1)+e.charCodeAt(2)+1,n=t/256,o=t%256,a=new r.a;return a.append(n),a.append(o),a.toString()},e}()},function(e,t,n){"use strict";var r=n(0),o=n.n(r),a=Object(r.createContext)({});t.a=a},function(e,t,n){"use strict";var r=n(37),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="UnsupportedOperationException",t}(r.a);t.a=i},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],t.indexOf(o)>=0||(n[o]=e[o]);return n}function o(e,t){if(null==e)return{};var n=r(e,t),o,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)o=i[a],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(){function e(){}return e.getRSSvalue=function(t,n,o){var a,i,c=0;try{for(var l=r(t),u=l.next();!u.done;u=l.next()){var s;c+=u.value}}catch(e){a={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}for(var d=0,f=0,h=t.length,p=0;p<h-1;p++){var v=void 0;for(v=1,f|=1<<p;v<t[p];v++,f&=~(1<<p)){var m=e.combins(c-v-1,h-p-2);if(o&&0===f&&c-v-(h-p-1)>=h-p-1&&(m-=e.combins(c-v-(h-p),h-p-2)),h-p-1>1){for(var g=0,b=c-v-(h-p-2);b>n;b--)g+=e.combins(c-v-b-1,h-p-3);m-=g*(h-1-p)}else c-v>n&&m--;d+=m}c-=v}return d},e.combins=function(e,t){var n,r;e-t>t?(r=t,n=e-t):(r=e-t,n=t);for(var o=1,a=1,i=e;i>n;i--)o*=i,a<=r&&(o/=a,a++);for(;a<=r;)o/=a,a++;return o},e}();t.a=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return ue})),n.d(t,"c",(function(){return ge})),n.d(t,"d",(function(){return ye})),n.d(t,"e",(function(){return be})),n.d(t,"f",(function(){return ve})),n.d(t,"g",(function(){return me}));var r="-ms-",o="-moz-",a="-webkit-",i="comm",c="rule",l="decl",u="@page",s="@media",d="@import",f="@charset",h="@viewport",p="@supports",v="@document",m="@namespace",g="@keyframes",b="@font-face",y="@counter-style",w="@font-feature-values",O="@layer",M=Math.abs,A=String.fromCharCode,j=Object.assign;function x(e,t){return 45^D(e,0)?(((t<<2^D(e,0))<<2^D(e,1))<<2^D(e,2))<<2^D(e,3):0}function S(e){return e.trim()}function E(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,n){return e.replace(t,n)}function T(e,t){return e.indexOf(t)}function D(e,t){return 0|e.charCodeAt(t)}function _(e,t,n){return e.slice(t,n)}function z(e){return e.length}function I(e){return e.length}function P(e,t){return t.push(e),e}function N(e,t){return e.map(t).join("")}function k(e,t){return e.filter((function(e){return!E(e,t)}))}var R=1,L=1,V=0,B=0,H=0,F="";function W(e,t,n,r,o,a,i,c){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:R,column:L,length:i,return:"",siblings:c}}function U(e,t){return j(W("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Y(e){for(;e.root;)e=U(e.root,{children:[e]});P(e,e.siblings)}function Q(){return H}function G(){return H=B>0?D(F,--B):0,L--,10===H&&(L=1,R--),H}function X(){return H=B<V?D(F,B++):0,L++,10===H&&(L=1,R++),H}function q(){return D(F,B)}function $(){return B}function Z(e,t){return _(F,e,t)}function K(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function J(e){return R=L=1,V=z(F=e),B=0,[]}function ee(e){return F="",e}function te(e){return S(Z(B-1,ie(91===e?e+2:40===e?e+1:e)))}function ne(e){return ee(oe(J(e)))}function re(e){for(;(H=q())&&H<33;)X();return K(e)>2||K(H)>3?"":" "}function oe(e){for(;X();)switch(K(H)){case 0:P(le(B-1),e);break;case 2:P(te(H),e);break;default:P(A(H),e)}return e}function ae(e,t){for(;--t&&X()&&!(H<48||H>102||H>57&&H<65||H>70&&H<97););return Z(e,$()+(t<6&&32==q()&&32==X()))}function ie(e){for(;X();)switch(H){case e:return B;case 34:case 39:34!==e&&39!==e&&ie(H);break;case 40:41===e&&ie(e);break;case 92:X()}return B}function ce(e,t){for(;X()&&e+H!==57&&(e+H!==84||47!==q()););return"/*"+Z(t,B-1)+"*"+A(47===e?e:X())}function le(e){for(;!K(q());)X();return Z(e,B)}function ue(e){return ee(se("",null,null,null,[""],e=J(e),0,[0],e))}function se(e,t,n,r,o,a,i,c,l){for(var u=0,s=0,d=i,f=0,h=0,p=0,v=1,m=1,g=1,b=0,y="",w=o,O=a,M=r,j=y;m;)switch(p=b,b=X()){case 40:if(108!=p&&58==D(j,d-1)){-1!=T(j+=C(te(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:j+=te(b);break;case 9:case 10:case 13:case 32:j+=re(p);break;case 92:j+=ae($()-1,7);continue;case 47:switch(q()){case 42:case 47:P(fe(ce(X(),$()),t,n,l),l);break;default:j+="/"}break;case 123*v:c[u++]=z(j)*g;case 125*v:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+s:-1==g&&(j=C(j,/\f/g,"")),h>0&&z(j)-d&&P(h>32?he(j+";",r,n,d-1,l):he(C(j," ","")+";",r,n,d-2,l),l);break;case 59:j+=";";default:if(P(M=de(j,t,n,u,s,o,c,y,w=[],O=[],d,a),a),123===b)if(0===s)se(j,t,M,M,w,a,d,c,O);else switch(99===f&&110===D(j,3)?100:f){case 100:case 108:case 109:case 115:se(e,M,M,r&&P(de(e,M,M,0,0,o,c,y,o,w=[],d,O),O),o,O,d,c,r?w:O);break;default:se(j,M,M,M,[""],O,0,c,O)}}u=s=h=0,v=g=1,y=j="",d=i;break;case 58:d=1+z(j),h=p;default:if(v<1)if(123==b)--v;else if(125==b&&0==v++&&125==G())continue;switch(j+=A(b),b*v){case 38:g=s>0?1:(j+="\f",-1);break;case 44:c[u++]=(z(j)-1)*g,g=1;break;case 64:45===q()&&(j+=te(X())),f=q(),s=d=z(y=j+=le($())),b++;break;case 45:45===p&&2==z(j)&&(v=0)}}return a}function de(e,t,n,r,o,a,i,l,u,s,d,f){for(var h=o-1,p=0===o?a:[""],v=I(p),m=0,g=0,b=0;m<r;++m)for(var y=0,w=_(e,h+1,h=M(g=i[m])),O=e;y<v;++y)(O=S(g>0?p[y]+" "+w:C(w,/&\f/g,p[y])))&&(u[b++]=O);return W(e,t,n,0===o?c:l,u,s,d,f)}function fe(e,t,n,r){return W(e,t,n,i,A(Q()),_(e,2,-2),0,r)}function he(e,t,n,r,o){return W(e,t,n,l,_(e,0,r),_(e,r+1,-1),r,o)}function pe(e,t,n){switch(x(e,t)){case 5103:return a+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+e+e;case 4789:return o+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a+e+o+e+r+e+e;case 5936:switch(D(e,t+11)){case 114:return a+e+r+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+r+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+r+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return a+e+r+e+e;case 6165:return a+e+r+"flex-"+e+e;case 5187:return a+e+C(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+r+"flex-$1$2")+e;case 5443:return a+e+r+"flex-item-"+C(e,/flex-|-self/g,"")+(E(e,/flex-|baseline/)?"":r+"grid-row-"+C(e,/flex-|-self/g,""))+e;case 4675:return a+e+r+"flex-line-pack"+C(e,/align-content|flex-|-self/g,"")+e;case 5548:return a+e+r+C(e,"shrink","negative")+e;case 5292:return a+e+r+C(e,"basis","preferred-size")+e;case 6060:return a+"box-"+C(e,"-grow","")+a+e+r+C(e,"grow","positive")+e;case 4554:return a+C(e,/([^-])(transform)/g,"$1"+a+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+r+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4200:if(!E(e,/flex-|baseline/))return r+"grid-column-align"+_(e,t)+e;break;case 2592:case 3360:return r+C(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,E(e.props,/grid-\w+-end/)}))?~T(e+(n=n[t].value),"span")?e:r+C(e,"-start","")+e+r+"grid-row-span:"+(~T(n,"span")?E(n,/\d+/):+E(n,/\d+/)-+E(e,/\d+/))+";":r+C(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return E(e.props,/grid-\w+-start/)}))?e:r+C(C(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,a+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(z(e)-1-t>6)switch(D(e,t+1)){case 109:if(45!==D(e,t+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==D(e,t+3)?"$3":"$2-$3"))+e;case 115:return~T(e,"stretch")?pe(C(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return C(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,o,a,i,c,l){return r+n+":"+o+l+(a?r+n+"-span:"+(i?c:+c-+o)+l:"")+e}));case 4949:if(121===D(e,t+6))return C(e,":",":"+a)+e;break;case 6444:switch(D(e,45===D(e,14)?18:11)){case 120:return C(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+a+(45===D(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+r+"$2box$3")+e;case 100:return C(e,":",":"+r)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return C(e,"scroll-","scroll-snap-")+e}return e}function ve(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function me(e,t,n,r){switch(e.type){case O:if(e.children.length)break;case d:case l:return e.return=e.return||e.value;case i:return"";case g:return e.return=e.value+"{"+ve(e.children,r)+"}";case c:if(!z(e.value=e.props.join(",")))return""}return z(n=ve(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){var t=I(e);return function(n,r,o,a){for(var i="",c=0;c<t;c++)i+=e[c](n,r,o,a)||"";return i}}function be(e){return function(t){t.root||(t=t.return)&&e(t)}}function ye(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case l:return void(e.return=pe(e.value,e.length,n));case g:return ve([U(e,{value:C(e.value,"@","@"+a)})],o);case c:if(e.length)return N(n=e.props,(function(t){switch(E(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Y(U(e,{props:[C(t,/:(read-\w+)/,":-moz-$1")]})),Y(U(e,{props:[t]})),j(e,{props:k(n,o)});break;case"::placeholder":Y(U(e,{props:[C(t,/:(plac\w+)/,":"+a+"input-$1")]})),Y(U(e,{props:[C(t,/:(plac\w+)/,":-moz-$1")]})),Y(U(e,{props:[C(t,/:(plac\w+)/,r+"input-$1")]})),Y(U(e,{props:[t]})),j(e,{props:k(n,o)})}return""}))}}function we(e){switch(e.type){case c:e.props=e.props.map((function(t){return N(ne(t),(function(t,n,r){switch(D(t,0)){case 12:return _(t,1,z(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===r[++n]&&(r[n]="",r[++n]="\f"+_(r[n],n=1,-1));case 32:return 1===n?"":t;default:switch(n){case 0:return e=t,I(r)>1?"":t;case n=I(r)-1:case 2:return 2===n?t+e+e:t+e;default:return t}}}))}))}}},,function(e,t,n){"use strict";n.r(t),n.d(t,"SortableContext",(function(){return A})),n.d(t,"arrayMove",(function(){return c})),n.d(t,"arraySwap",(function(){return l})),n.d(t,"defaultAnimateLayoutChanges",(function(){return x})),n.d(t,"defaultNewIndexGetter",(function(){return j})),n.d(t,"hasSortableData",(function(){return I})),n.d(t,"horizontalListSortingStrategy",(function(){return p})),n.d(t,"rectSortingStrategy",(function(){return m})),n.d(t,"rectSwappingStrategy",(function(){return g})),n.d(t,"sortableKeyboardCoordinates",(function(){return N})),n.d(t,"useSortable",(function(){return _})),n.d(t,"verticalListSortingStrategy",(function(){return y}));var r=n(0),o=n.n(r),a=n(50),i=n(13);function c(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function l(e,t,n){const r=e.slice();return r[t]=e[n],r[n]=e[t],r}function u(e,t){return e.reduce((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e},Array(e.length))}function s(e){return null!==e&&e>=0}function d(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function f(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}const h={scaleX:1,scaleY:1},p=e=>{var t;let{rects:n,activeNodeRect:r,activeIndex:o,overIndex:a,index:i}=e;const c=null!=(t=n[o])?t:r;if(!c)return null;const l=v(n,i,o);if(i===o){const e=n[a];return e?{x:o<a?e.left+e.width-(c.left+c.width):e.left-c.left,y:0,...h}:null}return i>o&&i<=a?{x:-c.width-l,y:0,...h}:i<o&&i>=a?{x:c.width+l,y:0,...h}:{x:0,y:0,...h}};function v(e,t,n){const r=e[t],o=e[t-1],a=e[t+1];return r&&(o||a)?n<t?o?r.left-(o.left+o.width):a.left-(r.left+r.width):a?a.left-(r.left+r.width):r.left-(o.left+o.width):0}const m=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const a=c(t,r,n),i=t[o],l=a[o];return l&&i?{x:l.left-i.left,y:l.top-i.top,scaleX:l.width/i.width,scaleY:l.height/i.height}:null},g=e=>{let{activeIndex:t,index:n,rects:r,overIndex:o}=e,a,i;return n===t&&(a=r[n],i=r[o]),n===o&&(a=r[n],i=r[t]),i&&a?{x:i.left-a.left,y:i.top-a.top,scaleX:i.width/a.width,scaleY:i.height/a.height}:null},b={scaleX:1,scaleY:1},y=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:a,overIndex:i}=e;const c=null!=(t=a[n])?t:r;if(!c)return null;if(o===n){const e=a[i];return e?{x:0,y:n<i?e.top+e.height-(c.top+c.height):e.top-c.top,...b}:null}const l=w(a,o,n);return o>n&&o<=i?{x:0,y:-c.height-l,...b}:o<n&&o>=i?{x:0,y:c.height+l,...b}:{x:0,y:0,...b}};function w(e,t,n){const r=e[t],o=e[t-1],a=e[t+1];return r?n<t?o?r.top-(o.top+o.height):a?a.top-(r.top+r.height):0:a?a.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}const O="Sortable",M=o.a.createContext({activeIndex:-1,containerId:O,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:m,disabled:{draggable:!1,droppable:!1}});function A(e){let{children:t,id:n,items:c,strategy:l=m,disabled:s=!1}=e;const{active:h,dragOverlay:p,droppableRects:v,over:g,measureDroppableContainers:b}=Object(a.useDndContext)(),y=Object(i.useUniqueId)(O,n),w=Boolean(null!==p.rect),A=Object(r.useMemo)(()=>c.map(e=>"object"==typeof e&&"id"in e?e.id:e),[c]),j=null!=h,x=h?A.indexOf(h.id):-1,S=g?A.indexOf(g.id):-1,E=Object(r.useRef)(A),C=!d(A,E.current),T=-1!==S&&-1===x||C,D=f(s);Object(i.useIsomorphicLayoutEffect)(()=>{C&&j&&b(A)},[C,A,j,b]),Object(r.useEffect)(()=>{E.current=A},[A]);const _=Object(r.useMemo)(()=>({activeIndex:x,containerId:y,disabled:D,disableTransforms:T,items:A,overIndex:S,useDragOverlay:w,sortedRects:u(A,v),strategy:l}),[x,y,D.draggable,D.droppable,T,A,S,v,w,l]);return o.a.createElement(M.Provider,{value:_},t)}const j=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return c(n,r,o).indexOf(t)},x=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:a,newIndex:i,previousItems:c,previousContainerId:l,transition:u}=e;return!(!u||!r)&&((c===a||o!==i)&&(!!n||i!==o&&t===l))},S={duration:200,easing:"ease"},E="transform",C=i.CSS.Transition.toString({property:"transform",duration:0,easing:"linear"}),T={roleDescription:"sortable"};function D(e){let{disabled:t,index:n,node:o,rect:c}=e;const[l,u]=Object(r.useState)(null),s=Object(r.useRef)(n);return Object(i.useIsomorphicLayoutEffect)(()=>{if(!t&&n!==s.current&&o.current){const e=c.current;if(e){const t=Object(a.getClientRect)(o.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&u(n)}}n!==s.current&&(s.current=n)},[t,n,o,c]),Object(r.useEffect)(()=>{l&&u(null)},[l]),l}function _(e){let{animateLayoutChanges:t=x,attributes:n,disabled:o,data:c,getNewIndex:l=j,id:u,strategy:d,resizeObserverConfig:f,transition:h=S}=e;const{items:p,containerId:v,activeIndex:m,disabled:g,disableTransforms:b,sortedRects:y,overIndex:w,useDragOverlay:O,strategy:A}=Object(r.useContext)(M),E=z(o,g),_=p.indexOf(u),I=Object(r.useMemo)(()=>({sortable:{containerId:v,index:_,items:p},...c}),[v,c,_,p]),P=Object(r.useMemo)(()=>p.slice(p.indexOf(u)),[p,u]),{rect:N,node:k,isOver:R,setNodeRef:L}=Object(a.useDroppable)({id:u,data:I,disabled:E.droppable,resizeObserverConfig:{updateMeasurementsFor:P,...f}}),{active:V,activatorEvent:B,activeNodeRect:H,attributes:F,setNodeRef:W,listeners:U,isDragging:Y,over:Q,setActivatorNodeRef:G,transform:X}=Object(a.useDraggable)({id:u,data:I,attributes:{...T,...n},disabled:E.draggable}),q=Object(i.useCombinedRefs)(L,W),$=Boolean(V),Z=$&&!b&&s(m)&&s(w),K=!O&&Y,J=K&&Z?X:null,ee=undefined,te=Z?null!=J?J:(null!=d?d:A)({rects:y,activeNodeRect:H,activeIndex:m,overIndex:w,index:_}):null,ne=s(m)&&s(w)?l({id:u,items:p,activeIndex:m,overIndex:w}):_,re=null==V?void 0:V.id,oe=Object(r.useRef)({activeId:re,items:p,newIndex:ne,containerId:v}),ae=p!==oe.current.items,ie=t({active:V,containerId:v,isDragging:Y,isSorting:$,id:u,index:_,items:p,newIndex:oe.current.newIndex,previousItems:oe.current.items,previousContainerId:oe.current.containerId,transition:h,wasDragging:null!=oe.current.activeId}),ce=D({disabled:!ie,index:_,node:k,rect:N});return Object(r.useEffect)(()=>{$&&oe.current.newIndex!==ne&&(oe.current.newIndex=ne),v!==oe.current.containerId&&(oe.current.containerId=v),p!==oe.current.items&&(oe.current.items=p)},[$,ne,v,p]),Object(r.useEffect)(()=>{if(re===oe.current.activeId)return;if(re&&!oe.current.activeId)return void(oe.current.activeId=re);const e=setTimeout(()=>{oe.current.activeId=re},50);return()=>clearTimeout(e)},[re]),{active:V,activeIndex:m,attributes:F,data:I,rect:N,index:_,newIndex:ne,items:p,isOver:R,isSorting:$,isDragging:Y,listeners:U,node:k,overIndex:w,over:Q,setNodeRef:q,setActivatorNodeRef:G,setDroppableNodeRef:L,setDraggableNodeRef:W,transform:null!=ce?ce:te,transition:le()};function le(){return ce||ae&&oe.current.newIndex===_?C:K&&!Object(i.isKeyboardEvent)(B)||!h?void 0:$||ie?i.CSS.Transition.toString({...h,property:"transform"}):void 0}}function z(e,t){var n,r;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}function I(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const P=[a.KeyboardCode.Down,a.KeyboardCode.Right,a.KeyboardCode.Up,a.KeyboardCode.Left],N=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:c,over:l,scrollableAncestors:u}}=t;if(P.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[];c.getEnabled().forEach(n=>{if(!n||null!=n&&n.disabled)return;const i=o.get(n.id);if(i)switch(e.code){case a.KeyboardCode.Down:r.top<i.top&&t.push(n);break;case a.KeyboardCode.Up:r.top>i.top&&t.push(n);break;case a.KeyboardCode.Left:r.left>i.left&&t.push(n);break;case a.KeyboardCode.Right:r.left<i.left&&t.push(n)}});const s=Object(a.closestCorners)({active:n,collisionRect:r,droppableRects:o,droppableContainers:t,pointerCoordinates:null});let d=Object(a.getFirstCollision)(s,"id");if(d===(null==l?void 0:l.id)&&s.length>1&&(d=s[1].id),null!=d){const e=c.get(n.id),t=c.get(d),l=t?o.get(t.id):null,s=null==t?void 0:t.node.current;if(s&&l&&e&&t){const n=undefined,o=Object(a.getScrollableAncestors)(s).some((e,t)=>u[t]!==e),c=k(e,t),d=R(e,t),f=o||!c?{x:0,y:0}:{x:d?r.width-l.width:0,y:d?r.height-l.height:0},h={x:l.left,y:l.top},p=undefined;return f.x&&f.y?h:Object(i.subtract)(h,f)}}}};function k(e,t){return!(!I(e)||!I(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}function R(e,t){return!(!I(e)||!I(t))&&(!!k(e,t)&&e.data.current.sortable.index<t.data.current.sortable.index)}},function(e,t,n){"use strict";var r=n(32),o=n(15),a=n(27),i=n(45),c=n(24),l=n(140),u=n(115),s=function(){function e(){}return e.prototype.decode=function(e,t){void 0===t&&(t=null);var n=null,a=new u.b(e.getBlackMatrix()),s=null,d=null;try{var f;s=(f=a.detectMirror(!1)).getPoints(),this.reportFoundResultPoints(t,s),d=(new l.a).decode(f)}catch(e){n=e}if(null==d)try{var f;s=(f=a.detectMirror(!0)).getPoints(),this.reportFoundResultPoints(t,s),d=(new l.a).decode(f)}catch(e){if(null!=n)throw n;throw e}var h=new r.a(d.getText(),d.getRawBytes(),d.getNumBits(),s,o.a.AZTEC,c.a.currentTimeMillis()),p=d.getByteSegments();null!=p&&h.putMetadata(i.a.BYTE_SEGMENTS,p);var v=d.getECLevel();return null!=v&&h.putMetadata(i.a.ERROR_CORRECTION_LEVEL,v),h},e.prototype.reportFoundResultPoints=function(e,t){if(null!=e){var n=e.get(a.a.NEED_RESULT_POINT_CALLBACK);null!=n&&t.forEach((function(e,t,r){n.foundPossibleResultPoint(e)}))}},e.prototype.reset=function(){},e}();t.a=s},function(e,t,n){"use strict";var r=n(16),o=n(25),a=n(8),i=function(){function e(t,n,r,o){this.image=t,this.height=t.getHeight(),this.width=t.getWidth(),null==n&&(n=e.INIT_SIZE),null==r&&(r=t.getWidth()/2|0),null==o&&(o=t.getHeight()/2|0);var i=n/2|0;if(this.leftInit=r-i,this.rightInit=r+i,this.upInit=o-i,this.downInit=o+i,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new a.a}return e.prototype.detect=function(){for(var e=this.leftInit,t=this.rightInit,n=this.upInit,r=this.downInit,o=!1,i=!0,c=!1,l=!1,u=!1,s=!1,d=!1,f=this.width,h=this.height;i;){i=!1;for(var p=!0;(p||!l)&&t<f;)(p=this.containsBlackPoint(n,r,t,!1))?(t++,i=!0,l=!0):l||t++;if(t>=f){o=!0;break}for(var v=!0;(v||!u)&&r<h;)(v=this.containsBlackPoint(e,t,r,!0))?(r++,i=!0,u=!0):u||r++;if(r>=h){o=!0;break}for(var m=!0;(m||!s)&&e>=0;)(m=this.containsBlackPoint(n,r,e,!1))?(e--,i=!0,s=!0):s||e--;if(e<0){o=!0;break}for(var g=!0;(g||!d)&&n>=0;)(g=this.containsBlackPoint(e,t,n,!0))?(n--,i=!0,d=!0):d||n--;if(n<0){o=!0;break}i&&(c=!0)}if(!o&&c){for(var b=t-e,y=null,w=1;null===y&&w<b;w++)y=this.getBlackPointOnSegment(e,r-w,e+w,r);if(null==y)throw new a.a;for(var O=null,w=1;null===O&&w<b;w++)O=this.getBlackPointOnSegment(e,n+w,e+w,n);if(null==O)throw new a.a;for(var M=null,w=1;null===M&&w<b;w++)M=this.getBlackPointOnSegment(t,n+w,t-w,n);if(null==M)throw new a.a;for(var A=null,w=1;null===A&&w<b;w++)A=this.getBlackPointOnSegment(t,r-w,t-w,r);if(null==A)throw new a.a;return this.centerEdges(A,y,M,O)}throw new a.a},e.prototype.getBlackPointOnSegment=function(e,t,n,a){for(var i=o.a.round(o.a.distance(e,t,n,a)),c=(n-e)/i,l=(a-t)/i,u=this.image,s=0;s<i;s++){var d=o.a.round(e+s*c),f=o.a.round(t+s*l);if(u.get(d,f))return new r.a(d,f)}return null},e.prototype.centerEdges=function(t,n,o,a){var i=t.getX(),c=t.getY(),l=n.getX(),u=n.getY(),s=o.getX(),d=o.getY(),f=a.getX(),h=a.getY(),p=e.CORR;return i<this.width/2?[new r.a(f-p,h+p),new r.a(l+p,u+p),new r.a(s-p,d-p),new r.a(i+p,c-p)]:[new r.a(f+p,h+p),new r.a(l+p,u-p),new r.a(s-p,d+p),new r.a(i-p,c-p)]},e.prototype.containsBlackPoint=function(e,t,n,r){var o=this.image;if(r){for(var a=e;a<=t;a++)if(o.get(a,n))return!0}else for(var i=e;i<=t;i++)if(o.get(n,i))return!0;return!1},e.INIT_SIZE=10,e.CORR=1,e}();t.a=i},function(e,t,n){"use strict";var r=n(15),o=n(48),a=n(8),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c,l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=Int32Array.from([0,0,0,0]),t}return i(t,e),t.prototype.decodeMiddle=function(e,n,r){var a,i,c,u,s=this.decodeMiddleCounters,d;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var f=e.getSize(),h=n[1],p=0,v=0;v<6&&h<f;v++){var m=o.a.decodeDigit(e,s,h,o.a.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+m%10);try{for(var g=(a=void 0,l(s)),b=g.next();!b.done;b=g.next()){var y;h+=y=b.value}}catch(e){a={error:e}}finally{try{b&&!b.done&&(i=g.return)&&i.call(g)}finally{if(a)throw a.error}}m>=10&&(p|=1<<5-v)}r=t.determineFirstDigit(r,p),h=o.a.findGuardPattern(e,h,!0,o.a.MIDDLE_PATTERN,new Int32Array(o.a.MIDDLE_PATTERN.length).fill(0))[1];for(var v=0;v<6&&h<f;v++){var m=o.a.decodeDigit(e,s,h,o.a.L_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+m);try{for(var w=(c=void 0,l(s)),O=w.next();!O.done;O=w.next()){var y;h+=y=O.value}}catch(e){c={error:e}}finally{try{O&&!O.done&&(u=w.return)&&u.call(w)}finally{if(c)throw c.error}}}return{rowOffset:h,resultString:r}},t.prototype.getBarcodeFormat=function(){return r.a.EAN_13},t.determineFirstDigit=function(e,t){for(var n=0;n<10;n++)if(t===this.FIRST_DIGIT_ENCODINGS[n])return e=String.fromCharCode("0".charCodeAt(0)+n)+e;throw new a.a},t.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],t}(o.a);t.a=u},function(e,t,n){"use strict";var r=n(18),o=function(){function e(){this.maskPattern=-1}return e.prototype.getMode=function(){return this.mode},e.prototype.getECLevel=function(){return this.ecLevel},e.prototype.getVersion=function(){return this.version},e.prototype.getMaskPattern=function(){return this.maskPattern},e.prototype.getMatrix=function(){return this.matrix},e.prototype.toString=function(){var e=new r.a;return e.append("<<\n"),e.append(" mode: "),e.append(this.mode?this.mode.toString():"null"),e.append("\n ecLevel: "),e.append(this.ecLevel?this.ecLevel.toString():"null"),e.append("\n version: "),e.append(this.version?this.version.toString():"null"),e.append("\n maskPattern: "),e.append(this.maskPattern.toString()),this.matrix?(e.append("\n matrix:\n"),e.append(this.matrix.toString())):e.append("\n matrix: null\n"),e.append(">>\n"),e.toString()},e.prototype.setMode=function(e){this.mode=e},e.prototype.setECLevel=function(e){this.ecLevel=e},e.prototype.setVersion=function(e){this.version=e},e.prototype.setMaskPattern=function(e){this.maskPattern=e},e.prototype.setMatrix=function(e){this.matrix=e},e.isValidMaskPattern=function(t){return t>=0&&t<e.NUM_MASK_PATTERNS},e.NUM_MASK_PATTERNS=8,e}();t.a=o},function(e,t,n){"use strict";var r=n(15),o=n(38),a=n(12),i=n(8),c=n(32),l=n(28),u=n(19),s=n(45),d=n(16),f=n(24),h=n(34),p,v=function(){function e(e,t){this.bits=e,this.points=t}return e.prototype.getBits=function(){return this.bits},e.prototype.getPoints=function(){return this.points},e}(),m=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},g,b=function(){function e(){}return e.detectMultiple=function(t,n,r){var o=t.getBlackMatrix(),a=e.detect(r,o);return a.length||((o=o.clone()).rotate180(),a=e.detect(r,o)),new v(o,a)},e.detect=function(t,n){for(var r,o,a=new Array,i=0,c=0,l=!1;i<n.getHeight();){var u=e.findVertices(n,i,c);if(null!=u[0]||null!=u[3]){if(l=!0,a.push(u),!t)break;null!=u[2]?(c=Math.trunc(u[2].getX()),i=Math.trunc(u[2].getY())):(c=Math.trunc(u[4].getX()),i=Math.trunc(u[4].getY()))}else{if(!l)break;l=!1,c=0;try{for(var s=(r=void 0,m(a)),d=s.next();!d.done;d=s.next()){var f=d.value;null!=f[1]&&(i=Math.trunc(Math.max(i,f[1].getY()))),null!=f[3]&&(i=Math.max(i,Math.trunc(f[3].getY())))}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}i+=e.ROW_STEP}}return a},e.findVertices=function(t,n,r){var o=t.getHeight(),a=t.getWidth(),i=new Array(8);return e.copyToResult(i,e.findRowsWithPattern(t,o,a,n,r,e.START_PATTERN),e.INDEXES_START_PATTERN),null!=i[4]&&(r=Math.trunc(i[4].getX()),n=Math.trunc(i[4].getY())),e.copyToResult(i,e.findRowsWithPattern(t,o,a,n,r,e.STOP_PATTERN),e.INDEXES_STOP_PATTERN),i},e.copyToResult=function(e,t,n){for(var r=0;r<n.length;r++)e[n[r]]=t[r]},e.findRowsWithPattern=function(t,n,r,o,a,i){for(var c=new Array(4),l=!1,u=new Int32Array(i.length);o<n;o+=e.ROW_STEP){var s;if(null!=(s=e.findGuardPattern(t,a,o,r,!1,i,u))){for(;o>0;){var f;if(null==(f=e.findGuardPattern(t,a,--o,r,!1,i,u))){o++;break}s=f}c[0]=new d.a(s[0],o),c[1]=new d.a(s[1],o),l=!0;break}}var p=o+1;if(l){for(var v=0,f=Int32Array.from([Math.trunc(c[0].getX()),Math.trunc(c[1].getX())]);p<n;p++){var s;if(null!=(s=e.findGuardPattern(t,f[0],p,r,!1,i,u))&&Math.abs(f[0]-s[0])<e.MAX_PATTERN_DRIFT&&Math.abs(f[1]-s[1])<e.MAX_PATTERN_DRIFT)f=s,v=0;else{if(v>e.SKIPPED_ROW_COUNT_MAX)break;v++}}p-=v+1,c[2]=new d.a(f[0],p),c[3]=new d.a(f[1],p)}return p-o<e.BARCODE_MIN_HEIGHT&&h.a.fill(c,null),c},e.findGuardPattern=function(t,n,r,o,a,i,c){h.a.fillWithin(c,0,c.length,0);for(var l=n,u=0;t.get(l,r)&&l>0&&u++<e.MAX_PIXEL_DRIFT;)l--;for(var s=l,d=0,p=i.length,v=a;s<o;s++){var m;if(t.get(s,r)!==v)c[d]++;else{if(d===p-1){if(e.patternMatchVariance(c,i,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return new Int32Array([l,s]);l+=c[0]+c[1],f.a.arraycopy(c,2,c,0,d-1),c[d-1]=0,c[d]=0,d--}else d++;c[d]=1,v=!v}}return d===p-1&&e.patternMatchVariance(c,i,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE?new Int32Array([l,s-1]):null},e.patternMatchVariance=function(e,t,n){for(var r=e.length,o=0,a=0,i=0;i<r;i++)o+=e[i],a+=t[i];if(o<a)return 1/0;var c=o/a;n*=c;for(var l=0,u=0;u<r;u++){var s=e[u],d=t[u]*c,f=s>d?s-d:d-s;if(f>n)return 1/0;l+=f}return l/o},e.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),e.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),e.MAX_AVG_VARIANCE=.42,e.MAX_INDIVIDUAL_VARIANCE=.8,e.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),e.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),e.MAX_PIXEL_DRIFT=3,e.MAX_PATTERN_DRIFT=5,e.SKIPPED_ROW_COUNT_MAX=25,e.ROW_STEP=5,e.BARCODE_MIN_HEIGHT=10,e}(),y=n(25),w=n(193),O,M=function(){function e(t,n,r,o,a){t instanceof e?this.constructor_2(t):this.constructor_1(t,n,r,o,a)}return e.prototype.constructor_1=function(e,t,n,r,o){var a=null==t||null==n,c=null==r||null==o;if(a&&c)throw new i.a;a?(t=new d.a(0,r.getY()),n=new d.a(0,o.getY())):c&&(r=new d.a(e.getWidth()-1,t.getY()),o=new d.a(e.getWidth()-1,n.getY())),this.image=e,this.topLeft=t,this.bottomLeft=n,this.topRight=r,this.bottomRight=o,this.minX=Math.trunc(Math.min(t.getX(),n.getX())),this.maxX=Math.trunc(Math.max(r.getX(),o.getX())),this.minY=Math.trunc(Math.min(t.getY(),r.getY())),this.maxY=Math.trunc(Math.max(n.getY(),o.getY()))},e.prototype.constructor_2=function(e){this.image=e.image,this.topLeft=e.getTopLeft(),this.bottomLeft=e.getBottomLeft(),this.topRight=e.getTopRight(),this.bottomRight=e.getBottomRight(),this.minX=e.getMinX(),this.maxX=e.getMaxX(),this.minY=e.getMinY(),this.maxY=e.getMaxY()},e.merge=function(t,n){return null==t?n:null==n?t:new e(t.image,t.topLeft,t.bottomLeft,n.topRight,n.bottomRight)},e.prototype.addMissingRows=function(t,n,r){var o=this.topLeft,a=this.bottomLeft,i=this.topRight,c=this.bottomRight;if(t>0){var l=r?this.topLeft:this.topRight,u=Math.trunc(l.getY()-t);u<0&&(u=0);var s=new d.a(l.getX(),u);r?o=s:i=s}if(n>0){var f=r?this.bottomLeft:this.bottomRight,h=Math.trunc(f.getY()+n);h>=this.image.getHeight()&&(h=this.image.getHeight()-1);var p=new d.a(f.getX(),h);r?a=p:c=p}return new e(this.image,o,a,i,c)},e.prototype.getMinX=function(){return this.minX},e.prototype.getMaxX=function(){return this.maxX},e.prototype.getMinY=function(){return this.minY},e.prototype.getMaxY=function(){return this.maxY},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getBottomRight=function(){return this.bottomRight},e}(),A,j=function(){function e(e,t,n,r){this.columnCount=e,this.errorCorrectionLevel=r,this.rowCountUpperPart=t,this.rowCountLowerPart=n,this.rowCount=t+n}return e.prototype.getColumnCount=function(){return this.columnCount},e.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},e.prototype.getRowCount=function(){return this.rowCount},e.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},e.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},e}(),x,S=function(){function e(){this.buffer=""}return e.form=function(e,t){var n=-1;function r(e,r,o,a,i,c){if("%%"===e)return"%";if(void 0!==t[++n]){e=a?parseInt(a.substr(1)):void 0;var l=i?parseInt(i.substr(1)):void 0,u;switch(c){case"s":u=t[n];break;case"c":u=t[n][0];break;case"f":u=parseFloat(t[n]).toFixed(e);break;case"p":u=parseFloat(t[n]).toPrecision(e);break;case"e":u=parseFloat(t[n]).toExponential(e);break;case"x":u=parseInt(t[n]).toString(l||16);break;case"d":u=parseFloat(parseInt(t[n],l||10).toPrecision(e)).toFixed(0)}u="object"==typeof u?JSON.stringify(u):(+u).toString(l);for(var s=parseInt(o),d=o&&o[0]+""=="0"?"0":" ";u.length<s;)u=void 0!==r?u+d:d+u;return u}}var o=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return e.replace(o,r)},e.prototype.format=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];this.buffer+=e.form(t,n)},e.prototype.toString=function(){return this.buffer},e}(),E=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},C,T=function(){function e(e){this.boundingBox=new M(e),this.codewords=new Array(e.getMaxY()-e.getMinY()+1)}return e.prototype.getCodewordNearby=function(t){var n=this.getCodeword(t);if(null!=n)return n;for(var r=1;r<e.MAX_NEARBY_DISTANCE;r++){var o=this.imageRowToCodewordIndex(t)-r;if(o>=0&&null!=(n=this.codewords[o]))return n;if((o=this.imageRowToCodewordIndex(t)+r)<this.codewords.length&&null!=(n=this.codewords[o]))return n}return null},e.prototype.imageRowToCodewordIndex=function(e){return e-this.boundingBox.getMinY()},e.prototype.setCodeword=function(e,t){this.codewords[this.imageRowToCodewordIndex(e)]=t},e.prototype.getCodeword=function(e){return this.codewords[this.imageRowToCodewordIndex(e)]},e.prototype.getBoundingBox=function(){return this.boundingBox},e.prototype.getCodewords=function(){return this.codewords},e.prototype.toString=function(){var e,t,n=new S,r=0;try{for(var o=E(this.codewords),a=o.next();!a.done;a=o.next()){var i=a.value;null!=i?n.format("%3d: %3d|%3d%n",r++,i.getRowNumber(),i.getValue()):n.format("%3d: | %n",r++)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return n.toString()},e.MAX_NEARBY_DISTANCE=5,e}(),D=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},_=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,a=[],i;try{for(;(void 0===t||t-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a},z,I=function(){function e(){this.values=new Map}return e.prototype.setValue=function(e){e=Math.trunc(e);var t=this.values.get(e);null==t&&(t=0),t++,this.values.set(e,t)},e.prototype.getValue=function(){var e,t,n=-1,r=new Array,o=function(e,t){var o=function(){return e},a=function(){return t};a()>n?(n=a(),(r=[]).push(o())):a()===n&&r.push(o())};try{for(var a=D(this.values.entries()),i=a.next();!i.done;i=a.next()){var c=_(i.value,2),u,s;o(c[0],c[1])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return l.a.toIntArray(r)},e.prototype.getConfidence=function(e){return this.values.get(e)},e}(),P=(N=function(e,t){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}N(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),N,k=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},R,L=function(e){function t(t,n){var r=e.call(this,t)||this;return r._isLeft=n,r}return P(t,e),t.prototype.setRowNumbers=function(){var e,t;try{for(var n=k(this.getCodewords()),r=n.next();!r.done;r=n.next()){var o=r.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.adjustCompleteIndicatorColumnRowNumbers=function(e){var t=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(t,e);for(var n=this.getBoundingBox(),r=this._isLeft?n.getTopLeft():n.getTopRight(),o=this._isLeft?n.getBottomLeft():n.getBottomRight(),a=this.imageRowToCodewordIndex(Math.trunc(r.getY())),i=this.imageRowToCodewordIndex(Math.trunc(o.getY())),c=-1,l=1,u=0,s=a;s<i;s++)if(null!=t[s]){var d=t[s],f=d.getRowNumber()-c;if(0===f)u++;else if(1===f)l=Math.max(l,u),u=1,c=d.getRowNumber();else if(f<0||d.getRowNumber()>=e.getRowCount()||f>s)t[s]=null;else{for(var h=void 0,p=(h=l>2?(l-2)*f:f)>=s,v=1;v<=h&&!p;v++)p=null!=t[s-v];p?t[s]=null:(c=d.getRowNumber(),u=1)}}},t.prototype.getRowHeights=function(){var e,t,n=this.getBarcodeMetadata();if(null==n)return null;this.adjustIncompleteIndicatorColumnRowNumbers(n);var r=new Int32Array(n.getRowCount());try{for(var o=k(this.getCodewords()),a=o.next();!a.done;a=o.next()){var i=a.value;if(null!=i){var c=i.getRowNumber();if(c>=r.length)continue;r[c]++}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return r},t.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(e){for(var t=this.getBoundingBox(),n=this._isLeft?t.getTopLeft():t.getTopRight(),r=this._isLeft?t.getBottomLeft():t.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.imageRowToCodewordIndex(Math.trunc(r.getY())),i=this.getCodewords(),c=-1,l=1,u=0,s=o;s<a;s++)if(null!=i[s]){var d=i[s];d.setRowNumberAsRowIndicatorColumn();var f=d.getRowNumber()-c;0===f?u++:1===f?(l=Math.max(l,u),u=1,c=d.getRowNumber()):d.getRowNumber()>=e.getRowCount()?i[s]=null:(c=d.getRowNumber(),u=1)}},t.prototype.getBarcodeMetadata=function(){var e,t,n=this.getCodewords(),r=new I,o=new I,a=new I,i=new I;try{for(var c=k(n),u=c.next();!u.done;u=c.next()){var s=u.value;if(null!=s){s.setRowNumberAsRowIndicatorColumn();var d=s.getValue()%30,f=s.getRowNumber();switch(this._isLeft||(f+=2),f%3){case 0:o.setValue(3*d+1);break;case 1:i.setValue(d/3),a.setValue(d%3);break;case 2:r.setValue(d+1)}}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}if(0===r.getValue().length||0===o.getValue().length||0===a.getValue().length||0===i.getValue().length||r.getValue()[0]<1||o.getValue()[0]+a.getValue()[0]<l.a.MIN_ROWS_IN_BARCODE||o.getValue()[0]+a.getValue()[0]>l.a.MAX_ROWS_IN_BARCODE)return null;var h=new j(r.getValue()[0],o.getValue()[0],a.getValue()[0],i.getValue()[0]);return this.removeIncorrectCodewords(n,h),h},t.prototype.removeIncorrectCodewords=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(null!=e[n]){var o=r.getValue()%30,a=r.getRowNumber();if(a>t.getRowCount())e[n]=null;else switch(this._isLeft||(a+=2),a%3){case 0:3*o+1!==t.getRowCountUpperPart()&&(e[n]=null);break;case 1:Math.trunc(o/3)===t.getErrorCorrectionLevel()&&o%3===t.getRowCountLowerPart()||(e[n]=null);break;case 2:o+1!==t.getColumnCount()&&(e[n]=null)}}}},t.prototype.isLeft=function(){return this._isLeft},t.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+e.prototype.toString.call(this)},t}(T),V=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},B,H=function(){function e(e,t){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=e,this.barcodeColumnCount=e.getColumnCount(),this.boundingBox=t,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return e.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var e=l.a.MAX_CODEWORDS_IN_BARCODE,t;do{t=e,e=this.adjustRowNumbersAndGetCount()}while(e>0&&e<t);return this.detectionResultColumns},e.prototype.adjustIndicatorColumnRowNumbers=function(e){null!=e&&e.adjustCompleteIndicatorColumnRowNumbers(this.barcodeMetadata)},e.prototype.adjustRowNumbersAndGetCount=function(){var e=this.adjustRowNumbersByRow();if(0===e)return 0;for(var t=1;t<this.barcodeColumnCount+1;t++)for(var n=this.detectionResultColumns[t].getCodewords(),r=0;r<n.length;r++)null!=n[r]&&(n[r].hasValidRowNumber()||this.adjustRowNumbers(t,r,n));return e},e.prototype.adjustRowNumbersByRow=function(){var e;return this.adjustRowNumbersFromBothRI(),this.adjustRowNumbersFromLRI()+this.adjustRowNumbersFromRRI()},e.prototype.adjustRowNumbersFromBothRI=function(){if(null!=this.detectionResultColumns[0]&&null!=this.detectionResultColumns[this.barcodeColumnCount+1])for(var e=this.detectionResultColumns[0].getCodewords(),t=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),n=0;n<e.length;n++)if(null!=e[n]&&null!=t[n]&&e[n].getRowNumber()===t[n].getRowNumber())for(var r=1;r<=this.barcodeColumnCount;r++){var o=this.detectionResultColumns[r].getCodewords()[n];null!=o&&(o.setRowNumber(e[n].getRowNumber()),o.hasValidRowNumber()||(this.detectionResultColumns[r].getCodewords()[n]=null))}},e.prototype.adjustRowNumbersFromRRI=function(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;for(var t=0,n=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),r=0;r<n.length;r++)if(null!=n[r])for(var o=n[r].getRowNumber(),a=0,i=this.barcodeColumnCount+1;i>0&&a<this.ADJUST_ROW_NUMBER_SKIP;i--){var c=this.detectionResultColumns[i].getCodewords()[r];null!=c&&(a=e.adjustRowNumberIfValid(o,a,c),c.hasValidRowNumber()||t++)}return t},e.prototype.adjustRowNumbersFromLRI=function(){if(null==this.detectionResultColumns[0])return 0;for(var t=0,n=this.detectionResultColumns[0].getCodewords(),r=0;r<n.length;r++)if(null!=n[r])for(var o=n[r].getRowNumber(),a=0,i=1;i<this.barcodeColumnCount+1&&a<this.ADJUST_ROW_NUMBER_SKIP;i++){var c=this.detectionResultColumns[i].getCodewords()[r];null!=c&&(a=e.adjustRowNumberIfValid(o,a,c),c.hasValidRowNumber()||t++)}return t},e.adjustRowNumberIfValid=function(e,t,n){return null==n||n.hasValidRowNumber()||(n.isValidRowNumber(e)?(n.setRowNumber(e),t=0):++t),t},e.prototype.adjustRowNumbers=function(t,n,r){var o,a;if(null!=this.detectionResultColumns[t-1]){var i=r[n],c=this.detectionResultColumns[t-1].getCodewords(),l=c;null!=this.detectionResultColumns[t+1]&&(l=this.detectionResultColumns[t+1].getCodewords());var u=new Array(14);u[2]=c[n],u[3]=l[n],n>0&&(u[0]=r[n-1],u[4]=c[n-1],u[5]=l[n-1]),n>1&&(u[8]=r[n-2],u[10]=c[n-2],u[11]=l[n-2]),n<r.length-1&&(u[1]=r[n+1],u[6]=c[n+1],u[7]=l[n+1]),n<r.length-2&&(u[9]=r[n+2],u[12]=c[n+2],u[13]=l[n+2]);try{for(var s=V(u),d=s.next();!d.done;d=s.next()){var f=d.value;if(e.adjustRowNumber(i,f))return}}catch(e){o={error:e}}finally{try{d&&!d.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}}},e.adjustRowNumber=function(e,t){return null!=t&&(!(!t.hasValidRowNumber()||t.getBucket()!==e.getBucket())&&(e.setRowNumber(t.getRowNumber()),!0))},e.prototype.getBarcodeColumnCount=function(){return this.barcodeColumnCount},e.prototype.getBarcodeRowCount=function(){return this.barcodeMetadata.getRowCount()},e.prototype.getBarcodeECLevel=function(){return this.barcodeMetadata.getErrorCorrectionLevel()},e.prototype.setBoundingBox=function(e){this.boundingBox=e},e.prototype.getBoundingBox=function(){return this.boundingBox},e.prototype.setDetectionResultColumn=function(e,t){this.detectionResultColumns[e]=t},e.prototype.getDetectionResultColumn=function(e){return this.detectionResultColumns[e]},e.prototype.toString=function(){var e=this.detectionResultColumns[0];null==e&&(e=this.detectionResultColumns[this.barcodeColumnCount+1]);for(var t=new S,n=0;n<e.getCodewords().length;n++){t.format("CW %3d:",n);for(var r=0;r<this.barcodeColumnCount+2;r++)if(null!=this.detectionResultColumns[r]){var o=this.detectionResultColumns[r].getCodewords()[n];null!=o?t.format(" %3d|%3d",o.getRowNumber(),o.getValue()):t.format(" | ")}else t.format(" | ");t.format("%n")}return t.toString()},e}(),F,W=function(){function e(t,n,r,o){this.rowNumber=e.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(t),this.endX=Math.trunc(n),this.bucket=Math.trunc(r),this.value=Math.trunc(o)}return e.prototype.hasValidRowNumber=function(){return this.isValidRowNumber(this.rowNumber)},e.prototype.isValidRowNumber=function(t){return t!==e.BARCODE_ROW_UNKNOWN&&this.bucket===t%3*3},e.prototype.setRowNumberAsRowIndicatorColumn=function(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))},e.prototype.getWidth=function(){return this.endX-this.startX},e.prototype.getStartX=function(){return this.startX},e.prototype.getEndX=function(){return this.endX},e.prototype.getBucket=function(){return this.bucket},e.prototype.getValue=function(){return this.value},e.prototype.getRowNumber=function(){return this.rowNumber},e.prototype.setRowNumber=function(e){this.rowNumber=e},e.prototype.toString=function(){return this.rowNumber+"|"+this.value},e.BARCODE_ROW_UNKNOWN=-1,e}(),U=n(150),Y,Q=function(){function e(){}return e.initialize=function(){for(var t=0;t<l.a.SYMBOL_TABLE.length;t++)for(var n=l.a.SYMBOL_TABLE[t],r=1&n,o=0;o<l.a.BARS_IN_MODULE;o++){for(var a=0;(1&n)===r;)a+=1,n>>=1;r=1&n,e.RATIOS_TABLE[t]||(e.RATIOS_TABLE[t]=new Array(l.a.BARS_IN_MODULE)),e.RATIOS_TABLE[t][l.a.BARS_IN_MODULE-o-1]=Math.fround(a/l.a.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},e.getDecodedValue=function(t){var n=e.getDecodedCodewordValue(e.sampleBitCounts(t));return-1!==n?n:e.getClosestDecodedValue(t)},e.sampleBitCounts=function(e){for(var t=y.a.sum(e),n=new Int32Array(l.a.BARS_IN_MODULE),r=0,o=0,a=0;a<l.a.MODULES_IN_CODEWORD;a++){var i=t/(2*l.a.MODULES_IN_CODEWORD)+a*t/l.a.MODULES_IN_CODEWORD;o+e[r]<=i&&(o+=e[r],r++),n[r]++}return n},e.getDecodedCodewordValue=function(t){var n=e.getBitValue(t);return-1===l.a.getCodeword(n)?-1:n},e.getBitValue=function(e){for(var t=0,n=0;n<e.length;n++)for(var r=0;r<e[n];r++)t=t<<1|(n%2==0?1:0);return Math.trunc(t)},e.getClosestDecodedValue=function(t){var n=y.a.sum(t),r=new Array(l.a.BARS_IN_MODULE);if(n>1)for(var o=0;o<r.length;o++)r[o]=Math.fround(t[o]/n);var a=U.a.MAX_VALUE,i=-1;this.bSymbolTableReady||e.initialize();for(var c=0;c<e.RATIOS_TABLE.length;c++){for(var u=0,s=e.RATIOS_TABLE[c],d=0;d<l.a.BARS_IN_MODULE;d++){var f=Math.fround(s[d]-r[d]);if((u+=Math.fround(f*f))>=a)break}u<a&&(a=u,i=l.a.SYMBOL_TABLE[c])}return i},e.bSymbolTableReady=!1,e.RATIOS_TABLE=new Array(l.a.SYMBOL_TABLE.length).map((function(e){return new Array(l.a.BARS_IN_MODULE)})),e}(),G=n(179),X=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},q,$=function(){function e(){}return e.decode=function(t,n,r,o,a,c,l){for(var u=new M(t,n,r,o,a),s=null,d=null,f,h=!0;;h=!1){if(null!=n&&(s=e.getRowIndicatorColumn(t,u,n,!0,c,l)),null!=o&&(d=e.getRowIndicatorColumn(t,u,o,!1,c,l)),null==(f=e.merge(s,d)))throw i.a.getNotFoundInstance();var p=f.getBoundingBox();if(!h||null==p||!(p.getMinY()<u.getMinY()||p.getMaxY()>u.getMaxY()))break;u=p}f.setBoundingBox(u);var v=f.getBarcodeColumnCount()+1;f.setDetectionResultColumn(0,s),f.setDetectionResultColumn(v,d);for(var m=null!=s,g=1;g<=v;g++){var b=m?g:v-g;if(void 0===f.getDetectionResultColumn(b)){var y=void 0;y=0===b||b===v?new L(u,0===b):new T(u),f.setDetectionResultColumn(b,y);for(var w=-1,O=w,A=u.getMinY();A<=u.getMaxY();A++){if((w=e.getStartColumn(f,b,A,m))<0||w>u.getMaxX()){if(-1===O)continue;w=O}var j=e.detectCodeword(t,u.getMinX(),u.getMaxX(),m,w,A,c,l);null!=j&&(y.setCodeword(A,j),O=w,c=Math.min(c,j.getWidth()),l=Math.max(l,j.getWidth()))}}}return e.createDecoderResult(f)},e.merge=function(t,n){if(null==t&&null==n)return null;var r=e.getBarcodeMetadata(t,n);if(null==r)return null;var o=M.merge(e.adjustBoundingBox(t),e.adjustBoundingBox(n));return new H(r,o)},e.adjustBoundingBox=function(t){var n,r;if(null==t)return null;var o=t.getRowHeights();if(null==o)return null;var a=e.getMax(o),i=0;try{for(var c=X(o),l=c.next();!l.done;l=c.next()){var u=l.value;if(i+=a-u,u>0)break}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}for(var s=t.getCodewords(),d=0;i>0&&null==s[d];d++)i--;for(var f=0,d=o.length-1;d>=0&&(f+=a-o[d],!(o[d]>0));d--);for(var d=s.length-1;f>0&&null==s[d];d--)f--;return t.getBoundingBox().addMissingRows(i,f,t.isLeft())},e.getMax=function(e){var t,n,r=-1;try{for(var o=X(e),a=o.next();!a.done;a=o.next()){var i=a.value;r=Math.max(r,i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},e.getBarcodeMetadata=function(e,t){var n,r;return null==e||null==(n=e.getBarcodeMetadata())?null==t?null:t.getBarcodeMetadata():null==t||null==(r=t.getBarcodeMetadata())?n:n.getColumnCount()!==r.getColumnCount()&&n.getErrorCorrectionLevel()!==r.getErrorCorrectionLevel()&&n.getRowCount()!==r.getRowCount()?null:n},e.getRowIndicatorColumn=function(t,n,r,o,a,i){for(var c=new L(n,o),l=0;l<2;l++)for(var u=0===l?1:-1,s=Math.trunc(Math.trunc(r.getX())),d=Math.trunc(Math.trunc(r.getY()));d<=n.getMaxY()&&d>=n.getMinY();d+=u){var f=e.detectCodeword(t,0,t.getWidth(),o,s,d,a,i);null!=f&&(c.setCodeword(d,f),s=o?f.getStartX():f.getEndX())}return c},e.adjustCodewordCount=function(t,n){var r=n[0][1],o=r.getValue(),a=t.getBarcodeColumnCount()*t.getBarcodeRowCount()-e.getNumberOfECCodeWords(t.getBarcodeECLevel());if(0===o.length){if(a<1||a>l.a.MAX_CODEWORDS_IN_BARCODE)throw i.a.getNotFoundInstance();r.setValue(a)}else o[0]!==a&&r.setValue(a)},e.createDecoderResult=function(t){var n=e.createBarcodeMatrix(t);e.adjustCodewordCount(t,n);for(var r=new Array,o=new Int32Array(t.getBarcodeRowCount()*t.getBarcodeColumnCount()),a=[],i=new Array,c=0;c<t.getBarcodeRowCount();c++)for(var u=0;u<t.getBarcodeColumnCount();u++){var s=n[c][u+1].getValue(),d=c*t.getBarcodeColumnCount()+u;0===s.length?r.push(d):1===s.length?o[d]=s[0]:(i.push(d),a.push(s))}for(var f=new Array(a.length),h=0;h<f.length;h++)f[h]=a[h];return e.createDecoderResultFromAmbiguousValues(t.getBarcodeECLevel(),o,l.a.toIntArray(r),l.a.toIntArray(i),f)},e.createDecoderResultFromAmbiguousValues=function(t,n,r,a,i){for(var c=new Int32Array(a.length),l=100;l-- >0;){for(var u=0;u<c.length;u++)n[a[u]]=i[u][c[u]];try{return e.decodeCodewords(n,t,r)}catch(e){var s;if(!(e instanceof o.a))throw e}if(0===c.length)throw o.a.getChecksumInstance();for(var u=0;u<c.length;u++){if(c[u]<i[u].length-1){c[u]++;break}if(c[u]=0,u===c.length-1)throw o.a.getChecksumInstance()}}throw o.a.getChecksumInstance()},e.createBarcodeMatrix=function(e){for(var t,n,r,o,a=Array.from({length:e.getBarcodeRowCount()},(function(){return new Array(e.getBarcodeColumnCount()+2)})),i=0;i<a.length;i++)for(var c=0;c<a[i].length;c++)a[i][c]=new I;var l=0;try{for(var u=X(e.getDetectionResultColumns()),s=u.next();!s.done;s=u.next()){var d=s.value;if(null!=d)try{for(var f=(r=void 0,X(d.getCodewords())),h=f.next();!h.done;h=f.next()){var p=h.value;if(null!=p){var v=p.getRowNumber();if(v>=0){if(v>=a.length)continue;a[v][l].setValue(p.getValue())}}}}catch(e){r={error:e}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}l++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return a},e.isValidBarcodeColumn=function(e,t){return t>=0&&t<=e.getBarcodeColumnCount()+1},e.getStartColumn=function(t,n,r,o){var a,i,c=o?1:-1,l=null;if(e.isValidBarcodeColumn(t,n-c)&&(l=t.getDetectionResultColumn(n-c).getCodeword(r)),null!=l)return o?l.getEndX():l.getStartX();if(null!=(l=t.getDetectionResultColumn(n).getCodewordNearby(r)))return o?l.getStartX():l.getEndX();if(e.isValidBarcodeColumn(t,n-c)&&(l=t.getDetectionResultColumn(n-c).getCodewordNearby(r)),null!=l)return o?l.getEndX():l.getStartX();for(var u=0;e.isValidBarcodeColumn(t,n-c);){n-=c;try{for(var s=(a=void 0,X(t.getDetectionResultColumn(n).getCodewords())),d=s.next();!d.done;d=s.next()){var f=d.value;if(null!=f)return(o?f.getEndX():f.getStartX())+c*u*(f.getEndX()-f.getStartX())}}catch(e){a={error:e}}finally{try{d&&!d.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}u++}return o?t.getBoundingBox().getMinX():t.getBoundingBox().getMaxX()},e.detectCodeword=function(t,n,r,o,a,i,c,u){a=e.adjustCodewordStartColumn(t,n,r,o,a,i);var s=e.getModuleBitCount(t,n,r,o,a,i),d;if(null==s)return null;var f=y.a.sum(s);if(o)d=a+f;else{for(var h=0;h<s.length/2;h++){var p=s[h];s[h]=s[s.length-1-h],s[s.length-1-h]=p}a=(d=a)-f}if(!e.checkCodewordSkew(f,c,u))return null;var v=Q.getDecodedValue(s),m=l.a.getCodeword(v);return-1===m?null:new W(a,d,e.getCodewordBucketNumber(v),m)},e.getModuleBitCount=function(e,t,n,r,o,a){for(var i=o,c=new Int32Array(8),l=0,u=r?1:-1,s=r;(r?i<n:i>=t)&&l<c.length;)e.get(i,a)===s?(c[l]++,i+=u):(l++,s=!s);return l===c.length||i===(r?n:t)&&l===c.length-1?c:null},e.getNumberOfECCodeWords=function(e){return 2<<e},e.adjustCodewordStartColumn=function(t,n,r,o,a,i){for(var c=a,l=o?-1:1,u=0;u<2;u++){for(;(o?c>=n:c<r)&&o===t.get(c,i);){if(Math.abs(a-c)>e.CODEWORD_SKEW_SIZE)return a;c+=l}l=-l,o=!o}return c},e.checkCodewordSkew=function(t,n,r){return n-e.CODEWORD_SKEW_SIZE<=t&&t<=r+e.CODEWORD_SKEW_SIZE},e.decodeCodewords=function(t,n,r){if(0===t.length)throw a.a.getFormatInstance();var o=1<<n+1,i=e.correctErrors(t,r,o);e.verifyCodewordCount(t,o);var c=G.a.decode(t,""+n);return c.setErrorsCorrected(i),c.setErasures(r.length),c},e.correctErrors=function(t,n,r){if(null!=n&&n.length>r/2+e.MAX_ERRORS||r<0||r>e.MAX_EC_CODEWORDS)throw o.a.getChecksumInstance();return e.errorCorrection.decode(t,r,n)},e.verifyCodewordCount=function(e,t){if(e.length<4)throw a.a.getFormatInstance();var n=e[0];if(n>e.length)throw a.a.getFormatInstance();if(0===n){if(!(t<e.length))throw a.a.getFormatInstance();e[0]=e.length-t}},e.getBitCountForCodeword=function(e){for(var t=new Int32Array(8),n=0,r=t.length-1;!((1&e)!==n&&(n=1&e,--r<0));)t[r]++,e>>=1;return t},e.getCodewordBucketNumber=function(e){return e instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(e):this.getCodewordBucketNumber_number(e)},e.getCodewordBucketNumber_number=function(t){return e.getCodewordBucketNumber(e.getBitCountForCodeword(t))},e.getCodewordBucketNumber_Int32Array=function(e){return(e[0]-e[2]+e[4]-e[6]+9)%9},e.toString=function(e){for(var t=new S,n=0;n<e.length;n++){t.format("Row %2d: ",n);for(var r=0;r<e[n].length;r++){var o=e[n][r];0===o.getValue().length?t.format(" ",null):t.format("%4d(%2d)",o.getValue()[0],o.getConfidence(o.getValue()[0]))}t.format("%n")}return t.toString()},e.CODEWORD_SKEW_SIZE=2,e.MAX_ERRORS=3,e.MAX_EC_CODEWORDS=512,e.errorCorrection=new w.a,e}(),Z=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},K=function(){function e(){}return e.prototype.decode=function(t,n){void 0===n&&(n=null);var r=e.decode(t,n,!1);if(null==r||0===r.length||null==r[0])throw i.a.getNotFoundInstance();return r[0]},e.prototype.decodeMultiple=function(t,n){void 0===n&&(n=null);try{return e.decode(t,n,!0)}catch(e){if(e instanceof a.a||e instanceof o.a)throw i.a.getNotFoundInstance();throw e}},e.decode=function(t,n,o){var a,i,l=new Array,u=b.detectMultiple(t,n,o);try{for(var d=Z(u.getPoints()),f=d.next();!f.done;f=d.next()){var h=f.value,p=$.decode(u.getBits(),h[4],h[5],h[6],h[7],e.getMinCodewordWidth(h),e.getMaxCodewordWidth(h)),v=new c.a(p.getText(),p.getRawBytes(),void 0,h,r.a.PDF_417);v.putMetadata(s.a.ERROR_CORRECTION_LEVEL,p.getECLevel());var m=p.getOther();null!=m&&v.putMetadata(s.a.PDF417_EXTRA_METADATA,m),l.push(v)}}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}return l.map((function(e){return e}))},e.getMaxWidth=function(e,t){return null==e||null==t?0:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMinWidth=function(e,t){return null==e||null==t?u.a.MAX_VALUE:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMaxCodewordWidth=function(t){return Math.floor(Math.max(Math.max(e.getMaxWidth(t[0],t[4]),e.getMaxWidth(t[6],t[2])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN),Math.max(e.getMaxWidth(t[1],t[5]),e.getMaxWidth(t[7],t[3])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN)))},e.getMinCodewordWidth=function(t){return Math.floor(Math.min(Math.min(e.getMinWidth(t[0],t[4]),e.getMinWidth(t[6],t[2])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN),Math.min(e.getMinWidth(t[1],t[5]),e.getMinWidth(t[7],t[3])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN)))},e.prototype.reset=function(){},e}(),J=t.a=K},function(e,t,n){"use strict";var r=n(15),o=n(41),a=n(27),i=n(8),c=n(32),l=n(45),u=n(38),s=n(47),d=n(73),f=n(64),h=n(121),p=n(146),v=n(12),m,g=function(){function e(e){var t=e.getHeight();if(t<21||1!=(3&t))throw new v.a;this.bitMatrix=e}return e.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;for(var e=0,t=0;t<6;t++)e=this.copyBit(t,8,e);e=this.copyBit(7,8,e),e=this.copyBit(8,8,e),e=this.copyBit(8,7,e);for(var n=5;n>=0;n--)e=this.copyBit(8,n,e);for(var r=this.bitMatrix.getHeight(),o=0,a=r-7,n=r-1;n>=a;n--)o=this.copyBit(8,n,o);for(var t=r-8;t<r;t++)o=this.copyBit(t,8,o);if(this.parsedFormatInfo=h.a.decodeFormatInformation(e,o),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new v.a},e.prototype.readVersion=function(){if(null!==this.parsedVersion&&void 0!==this.parsedVersion)return this.parsedVersion;var e=this.bitMatrix.getHeight(),t=Math.floor((e-17)/4);if(t<=6)return f.a.getVersionForNumber(t);for(var n=0,r=e-11,o=5;o>=0;o--)for(var a=e-9;a>=r;a--)n=this.copyBit(a,o,n);var i=f.a.decodeVersionInformation(n);if(null!==i&&i.getDimensionForVersion()===e)return this.parsedVersion=i,i;n=0;for(var a=5;a>=0;a--)for(var o=e-9;o>=r;o--)n=this.copyBit(a,o,n);if(null!==(i=f.a.decodeVersionInformation(n))&&i.getDimensionForVersion()===e)return this.parsedVersion=i,i;throw new v.a},e.prototype.copyBit=function(e,t,n){var r;return(this.isMirror?this.bitMatrix.get(t,e):this.bitMatrix.get(e,t))?n<<1|1:n<<1},e.prototype.readCodewords=function(){var e=this.readFormatInformation(),t=this.readVersion(),n=p.a.values.get(e.getDataMask()),r=this.bitMatrix.getHeight();n.unmaskBitMatrix(this.bitMatrix,r);for(var o=t.buildFunctionPattern(),a=!0,i=new Uint8Array(t.getTotalCodewords()),c=0,l=0,u=0,s=r-1;s>0;s-=2){6===s&&s--;for(var d=0;d<r;d++)for(var f=a?r-1-d:d,h=0;h<2;h++)o.get(s-h,f)||(u++,l<<=1,this.bitMatrix.get(s-h,f)&&(l|=1),8===u&&(i[c++]=l,u=0,l=0));a=!a}if(c!==t.getTotalCodewords())throw new v.a;return i},e.prototype.remask=function(){if(null!==this.parsedFormatInfo){var e=p.a.values.get(this.parsedFormatInfo.getDataMask()),t=this.bitMatrix.getHeight();e.unmaskBitMatrix(this.bitMatrix,t)}},e.prototype.setMirror=function(e){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=e},e.prototype.mirror=function(){for(var e=this.bitMatrix,t=0,n=e.getWidth();t<n;t++)for(var r=t+1,o=e.getHeight();r<o;r++)e.get(t,r)!==e.get(r,t)&&(e.flip(r,t),e.flip(t,r))},e}(),b=n(14),y=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w,O=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,n,r){var o,a,i,c;if(t.length!==n.getTotalCodewords())throw new b.a;var l=n.getECBlocksForLevel(r),u=0,s=l.getECBlocks();try{for(var d=y(s),f=d.next();!f.done;f=d.next()){var h;u+=(h=f.value).getCount()}}catch(e){o={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}var p=new Array(u),v=0;try{for(var m=y(s),g=m.next();!g.done;g=m.next())for(var h=g.value,w=0;w<h.getCount();w++){var O=h.getDataCodewords(),M=l.getECCodewordsPerBlock()+O;p[v++]=new e(O,new Uint8Array(M))}}catch(e){i={error:e}}finally{try{g&&!g.done&&(c=m.return)&&c.call(m)}finally{if(i)throw i.error}}for(var A=p[0].codewords.length,j=p.length-1;j>=0;){var x;if(p[j].codewords.length===A)break;j--}j++;for(var S=A-l.getECCodewordsPerBlock(),E=0,w=0;w<S;w++)for(var C=0;C<v;C++)p[C].codewords[w]=t[E++];for(var C=j;C<v;C++)p[C].codewords[S]=t[E++];for(var T=p[0].codewords.length,w=S;w<T;w++)for(var C=0;C<v;C++){var D=C<j?w:w+1;p[C].codewords[D]=t[E++]}return p},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}(),M=n(178),A,j=function(){function e(e){this.mirrored=e}return e.prototype.isMirrored=function(){return this.mirrored},e.prototype.applyMirroredCorrection=function(e){if(this.mirrored&&null!==e&&!(e.length<3)){var t=e[0];e[0]=e[2],e[2]=t}},e}(),x=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S,E=function(){function e(){this.rsDecoder=new d.a(s.a.QR_CODE_FIELD_256)}return e.prototype.decodeBooleanArray=function(e,t){return this.decodeBitMatrix(o.a.parseFromBooleanArray(e),t)},e.prototype.decodeBitMatrix=function(e,t){var n=new g(e),r=null;try{return this.decodeBitMatrixParser(n,t)}catch(e){r=e}try{n.remask(),n.setMirror(!0),n.readVersion(),n.readFormatInformation(),n.mirror();var o=this.decodeBitMatrixParser(n,t);return o.setOther(new j(!0)),o}catch(e){if(null!==r)throw r;throw e}},e.prototype.decodeBitMatrixParser=function(e,t){var n,r,o,a,i=e.readVersion(),c=e.readFormatInformation().getErrorCorrectionLevel(),l=e.readCodewords(),u=O.getDataBlocks(l,i,c),s=0;try{for(var d=x(u),f=d.next();!f.done;f=d.next()){var h;s+=(h=f.value).getNumDataCodewords()}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}var p=new Uint8Array(s),v=0;try{for(var m=x(u),g=m.next();!g.done;g=m.next()){var h,b=(h=g.value).getCodewords(),y=h.getNumDataCodewords();this.correctErrors(b,y);for(var w=0;w<y;w++)p[v++]=b[w]}}catch(e){o={error:e}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}return M.a.decode(p,i,c,t)},e.prototype.correctErrors=function(e,t){var n=new Int32Array(e);try{this.rsDecoder.decode(n,e.length-t)}catch(e){throw new u.a}for(var r=0;r<t;r++)e[r]=n[r]},e}(),C=n(25),T=n(83),D=n(84),_=n(118),z=n(16),I=(P=function(e,t){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),P,N,k=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.estimatedModuleSize=r,o}return I(t,e),t.prototype.aboutEquals=function(e,t,n){if(Math.abs(t-this.getY())<=e&&Math.abs(n-this.getX())<=e){var r=Math.abs(e-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,n,r){var o,a,i;return new t((this.getX()+n)/2,(this.getY()+e)/2,(this.estimatedModuleSize+r)/2)},t}(z.a),R=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},L,V=function(){function e(e,t,n,r,o,a,i){this.image=e,this.startX=t,this.startY=n,this.width=r,this.height=o,this.moduleSize=a,this.resultPointCallback=i,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return e.prototype.find=function(){for(var e=this.startX,t=this.height,n,r=e+this.width,o=this.startY+t/2,a=new Int32Array(3),c=this.image,l=0;l<t;l++){var u=o+(0==(1&l)?Math.floor((l+1)/2):-Math.floor((l+1)/2));a[0]=0,a[1]=0,a[2]=0;for(var s=e;s<r&&!c.get(s,u);)s++;for(var d=0,f;s<r;){if(c.get(s,u))if(1===d)a[1]++;else if(2===d){var f;if(this.foundPatternCross(a))if(null!==(f=this.handlePossibleCenter(a,u,s)))return f;a[0]=a[2],a[1]=1,a[2]=0,d=1}else a[++d]++;else 1===d&&d++,a[d]++;s++}if(this.foundPatternCross(a))if(null!==(f=this.handlePossibleCenter(a,u,r)))return f}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new i.a},e.centerFromEnd=function(e,t){return t-e[2]-e[1]/2},e.prototype.foundPatternCross=function(e){for(var t=this.moduleSize,n=t/2,r=0;r<3;r++)if(Math.abs(t-e[r])>=n)return!1;return!0},e.prototype.crossCheckVertical=function(t,n,r,o){var a=this.image,i=a.getHeight(),c=this.crossCheckStateCount;c[0]=0,c[1]=0,c[2]=0;for(var l=t;l>=0&&a.get(n,l)&&c[1]<=r;)c[1]++,l--;if(l<0||c[1]>r)return NaN;for(;l>=0&&!a.get(n,l)&&c[0]<=r;)c[0]++,l--;if(c[0]>r)return NaN;for(l=t+1;l<i&&a.get(n,l)&&c[1]<=r;)c[1]++,l++;if(l===i||c[1]>r)return NaN;for(;l<i&&!a.get(n,l)&&c[2]<=r;)c[2]++,l++;if(c[2]>r)return NaN;var u=c[0]+c[1]+c[2];return 5*Math.abs(u-o)>=2*o?NaN:this.foundPatternCross(c)?e.centerFromEnd(c,l):NaN},e.prototype.handlePossibleCenter=function(t,n,r){var o,a,i=t[0]+t[1]+t[2],c=e.centerFromEnd(t,r),l=this.crossCheckVertical(n,c,2*t[1],i);if(!isNaN(l)){var u=(t[0]+t[1]+t[2])/3;try{for(var s=R(this.possibleCenters),d=s.next();!d.done;d=s.next()){var f=d.value;if(f.aboutEquals(u,l,c))return f.combineEstimate(l,c,u)}}catch(e){o={error:e}}finally{try{d&&!d.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}var h=new k(c,l,u);this.possibleCenters.push(h),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(h)}return null},e}(),B=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),H,F=function(e){function t(t,n,r,o){var a=e.call(this,t,n)||this;return a.estimatedModuleSize=r,a.count=o,void 0===o&&(a.count=1),a}return B(t,e),t.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},t.prototype.getCount=function(){return this.count},t.prototype.aboutEquals=function(e,t,n){if(Math.abs(t-this.getY())<=e&&Math.abs(n-this.getX())<=e){var r=Math.abs(e-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,n,r){var o=this.count+1,a,i,c;return new t((this.count*this.getX()+n)/o,(this.count*this.getY()+e)/o,(this.count*this.estimatedModuleSize+r)/o,o)},t}(z.a),W,U=function(){function e(e){this.bottomLeft=e[0],this.topLeft=e[1],this.topRight=e[2]}return e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e}(),Y=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Q,G=function(){function e(e,t){this.image=e,this.resultPointCallback=t,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=t}return e.prototype.getImage=function(){return this.image},e.prototype.getPossibleCenters=function(){return this.possibleCenters},e.prototype.find=function(t){var n=null!=t&&void 0!==t.get(a.a.TRY_HARDER),r=null!=t&&void 0!==t.get(a.a.PURE_BARCODE),o=this.image,i=o.getHeight(),c=o.getWidth(),l=Math.floor(3*i/(4*e.MAX_MODULES));(l<e.MIN_SKIP||n)&&(l=e.MIN_SKIP);for(var u=!1,s=new Int32Array(5),d=l-1;d<i&&!u;d+=l){s[0]=0,s[1]=0,s[2]=0,s[3]=0,s[4]=0;for(var f=0,h=0,p;h<c;h++)if(o.get(h,d))1==(1&f)&&f++,s[f]++;else if(0==(1&f))if(4===f)if(e.foundPatternCross(s)){var p;if(!0!==(p=this.handlePossibleCenter(s,d,h,r))){s[0]=s[2],s[1]=s[3],s[2]=s[4],s[3]=1,s[4]=0,f=3;continue}if(l=2,!0===this.hasSkipped)u=this.haveMultiplyConfirmedCenters();else{var v=this.findRowSkip();v>s[2]&&(d+=v-s[2]-l,h=c-1)}f=0,s[0]=0,s[1]=0,s[2]=0,s[3]=0,s[4]=0}else s[0]=s[2],s[1]=s[3],s[2]=s[4],s[3]=1,s[4]=0,f=3;else s[++f]++;else s[f]++;if(e.foundPatternCross(s))!0===(p=this.handlePossibleCenter(s,d,c,r))&&(l=s[0],this.hasSkipped&&(u=this.haveMultiplyConfirmedCenters()))}var m=this.selectBestPatterns();return z.a.orderBestPatterns(m),new U(m)},e.centerFromEnd=function(e,t){return t-e[4]-e[3]-e[2]/2},e.foundPatternCross=function(e){for(var t=0,n=0;n<5;n++){var r=e[n];if(0===r)return!1;t+=r}if(t<7)return!1;var o=t/7,a=o/2;return Math.abs(o-e[0])<a&&Math.abs(o-e[1])<a&&Math.abs(3*o-e[2])<3*a&&Math.abs(o-e[3])<a&&Math.abs(o-e[4])<a},e.prototype.getCrossCheckStateCount=function(){var e=this.crossCheckStateCount;return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e},e.prototype.crossCheckDiagonal=function(t,n,r,o){for(var a=this.getCrossCheckStateCount(),i=0,c=this.image;t>=i&&n>=i&&c.get(n-i,t-i);)a[2]++,i++;if(t<i||n<i)return!1;for(;t>=i&&n>=i&&!c.get(n-i,t-i)&&a[1]<=r;)a[1]++,i++;if(t<i||n<i||a[1]>r)return!1;for(;t>=i&&n>=i&&c.get(n-i,t-i)&&a[0]<=r;)a[0]++,i++;if(a[0]>r)return!1;var l=c.getHeight(),u=c.getWidth();for(i=1;t+i<l&&n+i<u&&c.get(n+i,t+i);)a[2]++,i++;if(t+i>=l||n+i>=u)return!1;for(;t+i<l&&n+i<u&&!c.get(n+i,t+i)&&a[3]<r;)a[3]++,i++;if(t+i>=l||n+i>=u||a[3]>=r)return!1;for(;t+i<l&&n+i<u&&c.get(n+i,t+i)&&a[4]<r;)a[4]++,i++;if(a[4]>=r)return!1;var s=a[0]+a[1]+a[2]+a[3]+a[4];return Math.abs(s-o)<2*o&&e.foundPatternCross(a)},e.prototype.crossCheckVertical=function(t,n,r,o){for(var a=this.image,i=a.getHeight(),c=this.getCrossCheckStateCount(),l=t;l>=0&&a.get(n,l);)c[2]++,l--;if(l<0)return NaN;for(;l>=0&&!a.get(n,l)&&c[1]<=r;)c[1]++,l--;if(l<0||c[1]>r)return NaN;for(;l>=0&&a.get(n,l)&&c[0]<=r;)c[0]++,l--;if(c[0]>r)return NaN;for(l=t+1;l<i&&a.get(n,l);)c[2]++,l++;if(l===i)return NaN;for(;l<i&&!a.get(n,l)&&c[3]<r;)c[3]++,l++;if(l===i||c[3]>=r)return NaN;for(;l<i&&a.get(n,l)&&c[4]<r;)c[4]++,l++;if(c[4]>=r)return NaN;var u=c[0]+c[1]+c[2]+c[3]+c[4];return 5*Math.abs(u-o)>=2*o?NaN:e.foundPatternCross(c)?e.centerFromEnd(c,l):NaN},e.prototype.crossCheckHorizontal=function(t,n,r,o){for(var a=this.image,i=a.getWidth(),c=this.getCrossCheckStateCount(),l=t;l>=0&&a.get(l,n);)c[2]++,l--;if(l<0)return NaN;for(;l>=0&&!a.get(l,n)&&c[1]<=r;)c[1]++,l--;if(l<0||c[1]>r)return NaN;for(;l>=0&&a.get(l,n)&&c[0]<=r;)c[0]++,l--;if(c[0]>r)return NaN;for(l=t+1;l<i&&a.get(l,n);)c[2]++,l++;if(l===i)return NaN;for(;l<i&&!a.get(l,n)&&c[3]<r;)c[3]++,l++;if(l===i||c[3]>=r)return NaN;for(;l<i&&a.get(l,n)&&c[4]<r;)c[4]++,l++;if(c[4]>=r)return NaN;var u=c[0]+c[1]+c[2]+c[3]+c[4];return 5*Math.abs(u-o)>=o?NaN:e.foundPatternCross(c)?e.centerFromEnd(c,l):NaN},e.prototype.handlePossibleCenter=function(t,n,r,o){var a=t[0]+t[1]+t[2]+t[3]+t[4],i=e.centerFromEnd(t,r),c=this.crossCheckVertical(n,Math.floor(i),t[2],a);if(!isNaN(c)&&(i=this.crossCheckHorizontal(Math.floor(i),Math.floor(c),t[2],a),!isNaN(i)&&(!o||this.crossCheckDiagonal(Math.floor(c),Math.floor(i),t[2],a)))){for(var l=a/7,u=!1,s=this.possibleCenters,d=0,f=s.length;d<f;d++){var h=s[d];if(h.aboutEquals(l,c,i)){s[d]=h.combineEstimate(c,i,l),u=!0;break}}if(!u){var p=new F(i,c,l);s.push(p),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(p)}return!0}return!1},e.prototype.findRowSkip=function(){var t,n,r;if(this.possibleCenters.length<=1)return 0;var o=null;try{for(var a=Y(this.possibleCenters),i=a.next();!i.done;i=a.next()){var c=i.value;if(c.getCount()>=e.CENTER_QUORUM){if(null!=o)return this.hasSkipped=!0,Math.floor((Math.abs(o.getX()-c.getX())-Math.abs(o.getY()-c.getY()))/2);o=c}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return 0},e.prototype.haveMultiplyConfirmedCenters=function(){var t,n,r,o,a=0,i=0,c=this.possibleCenters.length;try{for(var l=Y(this.possibleCenters),u=l.next();!u.done;u=l.next()){var s;(s=u.value).getCount()>=e.CENTER_QUORUM&&(a++,i+=s.getEstimatedModuleSize())}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}if(a<3)return!1;var d=i/c,f=0;try{for(var h=Y(this.possibleCenters),p=h.next();!p.done;p=h.next()){var s=p.value;f+=Math.abs(s.getEstimatedModuleSize()-d)}}catch(e){r={error:e}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}return f<=.05*i},e.prototype.selectBestPatterns=function(){var e,t,n,r,o=this.possibleCenters.length;if(o<3)throw new i.a;var a=this.possibleCenters,c;if(o>3){var l=0,u=0;try{for(var s=Y(this.possibleCenters),d=s.next();!d.done;d=s.next()){var f,h=d.value.getEstimatedModuleSize();l+=h,u+=h*h}}catch(t){e={error:t}}finally{try{d&&!d.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}c=l/o;var p=Math.sqrt(u/o-c*c);a.sort((function(e,t){var n=Math.abs(t.getEstimatedModuleSize()-c),r=Math.abs(e.getEstimatedModuleSize()-c);return n<r?-1:n>r?1:0}));for(var v=Math.max(.2*c,p),m=0;m<a.length&&a.length>3;m++){var g=a[m];Math.abs(g.getEstimatedModuleSize()-c)>v&&(a.splice(m,1),m--)}}if(a.length>3){var l=0;try{for(var b=Y(a),y=b.next();!y.done;y=b.next()){var w;l+=y.value.getEstimatedModuleSize()}}catch(e){n={error:e}}finally{try{y&&!y.done&&(r=b.return)&&r.call(b)}finally{if(n)throw n.error}}c=l/a.length,a.sort((function(e,t){if(t.getCount()===e.getCount()){var n=Math.abs(t.getEstimatedModuleSize()-c),r=Math.abs(e.getEstimatedModuleSize()-c);return n<r?1:n>r?-1:0}return t.getCount()-e.getCount()})),a.splice(3)}return[a[0],a[1],a[2]]},e.CENTER_QUORUM=2,e.MIN_SKIP=3,e.MAX_MODULES=57,e}(),X,q=function(){function e(e){this.image=e}return e.prototype.getImage=function(){return this.image},e.prototype.getResultPointCallback=function(){return this.resultPointCallback},e.prototype.detect=function(e){this.resultPointCallback=null==e?null:e.get(a.a.NEED_RESULT_POINT_CALLBACK);var t,n=new G(this.image,this.resultPointCallback).find(e);return this.processFinderPatternInfo(n)},e.prototype.processFinderPatternInfo=function(t){var n=t.getTopLeft(),r=t.getTopRight(),o=t.getBottomLeft(),a=this.calculateModuleSize(n,r,o);if(a<1)throw new i.a("No pattern found in proccess finder.");var c=e.computeDimension(n,r,o,a),l=f.a.getProvisionalVersionForDimension(c),u=l.getDimensionForVersion()-7,s=null;if(l.getAlignmentPatternCenters().length>0)for(var d=r.getX()-n.getX()+o.getX(),h=r.getY()-n.getY()+o.getY(),p=1-3/u,v=Math.floor(n.getX()+p*(d-n.getX())),m=Math.floor(n.getY()+p*(h-n.getY())),g=4;g<=16;g<<=1)try{s=this.findAlignmentInRegion(a,v,m,g);break}catch(e){if(!(e instanceof i.a))throw e}var b=e.createTransform(n,r,o,s,c),y=e.sampleGrid(this.image,b,c),w;return w=null===s?[o,n,r]:[o,n,r,s],new T.a(y,w)},e.createTransform=function(e,t,n,r,o){var a=o-3.5,i,c,l,u;return null!==r?(i=r.getX(),c=r.getY(),u=l=a-3):(i=t.getX()-e.getX()+n.getX(),c=t.getY()-e.getY()+n.getY(),l=a,u=a),_.a.quadrilateralToQuadrilateral(3.5,3.5,a,3.5,l,u,3.5,a,e.getX(),e.getY(),t.getX(),t.getY(),i,c,n.getX(),n.getY())},e.sampleGrid=function(e,t,n){var r;return D.a.getInstance().sampleGridWithTransform(e,n,n,t)},e.computeDimension=function(e,t,n,r){var o=C.a.round(z.a.distance(e,t)/r),a=C.a.round(z.a.distance(e,n)/r),c=Math.floor((o+a)/2)+7;switch(3&c){case 0:c++;break;case 2:c--;break;case 3:throw new i.a("Dimensions could be not found.")}return c},e.prototype.calculateModuleSize=function(e,t,n){return(this.calculateModuleSizeOneWay(e,t)+this.calculateModuleSizeOneWay(e,n))/2},e.prototype.calculateModuleSizeOneWay=function(e,t){var n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY())),r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(n)?r/7:isNaN(r)?n/7:(n+r)/14},e.prototype.sizeOfBlackWhiteBlackRunBothWays=function(e,t,n,r){var o=this.sizeOfBlackWhiteBlackRun(e,t,n,r),a=1,i=e-(n-e);i<0?(a=e/(e-i),i=0):i>=this.image.getWidth()&&(a=(this.image.getWidth()-1-e)/(i-e),i=this.image.getWidth()-1);var c=Math.floor(t-(r-t)*a);return a=1,c<0?(a=t/(t-c),c=0):c>=this.image.getHeight()&&(a=(this.image.getHeight()-1-t)/(c-t),c=this.image.getHeight()-1),i=Math.floor(e+(i-e)*a),(o+=this.sizeOfBlackWhiteBlackRun(e,t,i,c))-1},e.prototype.sizeOfBlackWhiteBlackRun=function(e,t,n,r){var o=Math.abs(r-t)>Math.abs(n-e);if(o){var a=e;e=t,t=a,a=n,n=r,r=a}for(var i=Math.abs(n-e),c=Math.abs(r-t),l=-i/2,u=e<n?1:-1,s=t<r?1:-1,d=0,f=n+u,h=e,p=t;h!==f;h+=u){var v=o?p:h,m=o?h:p;if(1===d===this.image.get(v,m)){if(2===d)return C.a.distance(h,p,e,t);d++}if((l+=c)>0){if(p===r)break;p+=s,l-=i}}return 2===d?C.a.distance(n+u,r,e,t):NaN},e.prototype.findAlignmentInRegion=function(e,t,n,r){var o=Math.floor(r*e),a=Math.max(0,t-o),c=Math.min(this.image.getWidth()-1,t+o);if(c-a<3*e)throw new i.a("Alignment top exceeds estimated module size.");var l=Math.max(0,n-o),u=Math.min(this.image.getHeight()-1,n+o),s;if(u-l<3*e)throw new i.a("Alignment bottom exceeds estimated module size.");return new V(this.image,a,l,c-a,u-l,e,this.resultPointCallback).find()},e}(),$=function(){function e(){this.decoder=new E}return e.prototype.getDecoder=function(){return this.decoder},e.prototype.decode=function(t,n){var o,i;if(null!=n&&void 0!==n.get(a.a.PURE_BARCODE)){var u=e.extractPureBits(t.getBlackMatrix());o=this.decoder.decodeBitMatrix(u,n),i=e.NO_POINTS}else{var s=new q(t.getBlackMatrix()).detect(n);o=this.decoder.decodeBitMatrix(s.getBits(),n),i=s.getPoints()}o.getOther()instanceof j&&o.getOther().applyMirroredCorrection(i);var d=new c.a(o.getText(),o.getRawBytes(),void 0,i,r.a.QR_CODE,void 0),f=o.getByteSegments();null!==f&&d.putMetadata(l.a.BYTE_SEGMENTS,f);var h=o.getECLevel();return null!==h&&d.putMetadata(l.a.ERROR_CORRECTION_LEVEL,h),o.hasStructuredAppend()&&(d.putMetadata(l.a.STRUCTURED_APPEND_SEQUENCE,o.getStructuredAppendSequenceNumber()),d.putMetadata(l.a.STRUCTURED_APPEND_PARITY,o.getStructuredAppendParity())),d},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null===t||null===n)throw new i.a;var r=this.moduleSize(t,e),a=t[1],c=n[1],l=t[0],u=n[0];if(l>=u||a>=c)throw new i.a;if(c-a!=u-l&&(u=l+(c-a))>=e.getWidth())throw new i.a;var s=Math.round((u-l+1)/r),d=Math.round((c-a+1)/r);if(s<=0||d<=0)throw new i.a;if(d!==s)throw new i.a;var f=Math.floor(r/2);a+=f;var h=(l+=f)+Math.floor((s-1)*r)-u;if(h>0){if(h>f)throw new i.a;l-=h}var p=a+Math.floor((d-1)*r)-c;if(p>0){if(p>f)throw new i.a;a-=p}for(var v=new o.a(s,d),m=0;m<d;m++)for(var g=a+Math.floor(m*r),b=0;b<s;b++)e.get(l+Math.floor(b*r),g)&&v.set(b,m);return v},e.moduleSize=function(e,t){for(var n=t.getHeight(),r=t.getWidth(),o=e[0],a=e[1],c=!0,l=0;o<r&&a<n;){if(c!==t.get(o,a)){if(5==++l)break;c=!c}o++,a++}if(o===r||a===n)throw new i.a;return(o-e[0])/7},e.NO_POINTS=new Array,e}(),Z=t.a=$},function(e,t,n){"use strict";var r=n(15),o=n(41),a=n(27),i=n(8),c=n(32),l=n(45),u=n(24),s=n(38),d=n(47),f=n(73),h=n(12),p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(){function e(e,t,n){this.ecCodewords=e,this.ecBlocks=[t],n&&this.ecBlocks.push(n)}return e.prototype.getECCodewords=function(){return this.ecCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e}(),m=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}(),g,b=function(){function e(e,t,n,r,o,a){var i,c;this.versionNumber=e,this.symbolSizeRows=t,this.symbolSizeColumns=n,this.dataRegionSizeRows=r,this.dataRegionSizeColumns=o,this.ecBlocks=a;var l=0,u=a.getECCodewords(),s=a.getECBlocks();try{for(var d=p(s),f=d.next();!f.done;f=d.next()){var h=f.value;l+=h.getCount()*(h.getDataCodewords()+u)}}catch(e){i={error:e}}finally{try{f&&!f.done&&(c=d.return)&&c.call(d)}finally{if(i)throw i.error}}this.totalCodewords=l}return e.prototype.getVersionNumber=function(){return this.versionNumber},e.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},e.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},e.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},e.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},e.prototype.getTotalCodewords=function(){return this.totalCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e.getVersionForDimensions=function(t,n){var r,o;if(0!=(1&t)||0!=(1&n))throw new h.a;try{for(var a=p(e.VERSIONS),i=a.next();!i.done;i=a.next()){var c=i.value;if(c.symbolSizeRows===t&&c.symbolSizeColumns===n)return c}}catch(e){r={error:e}}finally{try{i&&!i.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}throw new h.a},e.prototype.toString=function(){return""+this.versionNumber},e.buildVersions=function(){return[new e(1,10,10,8,8,new v(5,new m(1,3))),new e(2,12,12,10,10,new v(7,new m(1,5))),new e(3,14,14,12,12,new v(10,new m(1,8))),new e(4,16,16,14,14,new v(12,new m(1,12))),new e(5,18,18,16,16,new v(14,new m(1,18))),new e(6,20,20,18,18,new v(18,new m(1,22))),new e(7,22,22,20,20,new v(20,new m(1,30))),new e(8,24,24,22,22,new v(24,new m(1,36))),new e(9,26,26,24,24,new v(28,new m(1,44))),new e(10,32,32,14,14,new v(36,new m(1,62))),new e(11,36,36,16,16,new v(42,new m(1,86))),new e(12,40,40,18,18,new v(48,new m(1,114))),new e(13,44,44,20,20,new v(56,new m(1,144))),new e(14,48,48,22,22,new v(68,new m(1,174))),new e(15,52,52,24,24,new v(42,new m(2,102))),new e(16,64,64,14,14,new v(56,new m(2,140))),new e(17,72,72,16,16,new v(36,new m(4,92))),new e(18,80,80,18,18,new v(48,new m(4,114))),new e(19,88,88,20,20,new v(56,new m(4,144))),new e(20,96,96,22,22,new v(68,new m(4,174))),new e(21,104,104,24,24,new v(56,new m(6,136))),new e(22,120,120,18,18,new v(68,new m(6,175))),new e(23,132,132,20,20,new v(62,new m(8,163))),new e(24,144,144,22,22,new v(62,new m(8,156),new m(2,155))),new e(25,8,18,6,16,new v(7,new m(1,5))),new e(26,8,32,6,14,new v(11,new m(1,10))),new e(27,12,26,10,24,new v(14,new m(1,16))),new e(28,12,36,10,16,new v(18,new m(1,22))),new e(29,16,36,14,16,new v(24,new m(1,32))),new e(30,16,48,14,22,new v(28,new m(1,49)))]},e.VERSIONS=e.buildVersions(),e}(),y=n(14),w,O=function(){function e(t){var n=t.getHeight();if(n<8||n>144||0!=(1&n))throw new h.a;this.version=e.readVersion(t),this.mappingBitMatrix=this.extractDataRegion(t),this.readMappingMatrix=new o.a(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return e.prototype.getVersion=function(){return this.version},e.readVersion=function(e){var t=e.getHeight(),n=e.getWidth();return b.getVersionForDimensions(t,n)},e.prototype.readCodewords=function(){var e=new Int8Array(this.version.getTotalCodewords()),t=0,n=4,r=0,o=this.mappingBitMatrix.getHeight(),a=this.mappingBitMatrix.getWidth(),i=!1,c=!1,l=!1,u=!1;do{if(n!==o||0!==r||i)if(n!==o-2||0!==r||0==(3&a)||c)if(n!==o+4||2!==r||0!=(7&a)||l)if(n!==o-2||0!==r||4!=(7&a)||u){do{n<o&&r>=0&&!this.readMappingMatrix.get(r,n)&&(e[t++]=255&this.readUtah(n,r,o,a)),n-=2,r+=2}while(n>=0&&r<a);n+=1,r+=3;do{n>=0&&r<a&&!this.readMappingMatrix.get(r,n)&&(e[t++]=255&this.readUtah(n,r,o,a)),n+=2,r-=2}while(n<o&&r>=0);n+=3,r+=1}else e[t++]=255&this.readCorner4(o,a),n-=2,r+=2,u=!0;else e[t++]=255&this.readCorner3(o,a),n-=2,r+=2,l=!0;else e[t++]=255&this.readCorner2(o,a),n-=2,r+=2,c=!0;else e[t++]=255&this.readCorner1(o,a),n-=2,r+=2,i=!0}while(n<o||r<a);if(t!==this.version.getTotalCodewords())throw new h.a;return e},e.prototype.readModule=function(e,t,n,r){return e<0&&(e+=n,t+=4-(n+4&7)),t<0&&(t+=r,e+=4-(r+4&7)),this.readMappingMatrix.set(t,e),this.mappingBitMatrix.get(t,e)},e.prototype.readUtah=function(e,t,n,r){var o=0;return this.readModule(e-2,t-2,n,r)&&(o|=1),o<<=1,this.readModule(e-2,t-1,n,r)&&(o|=1),o<<=1,this.readModule(e-1,t-2,n,r)&&(o|=1),o<<=1,this.readModule(e-1,t-1,n,r)&&(o|=1),o<<=1,this.readModule(e-1,t,n,r)&&(o|=1),o<<=1,this.readModule(e,t-2,n,r)&&(o|=1),o<<=1,this.readModule(e,t-1,n,r)&&(o|=1),o<<=1,this.readModule(e,t,n,r)&&(o|=1),o},e.prototype.readCorner1=function(e,t){var n=0;return this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,1,e,t)&&(n|=1),n<<=1,this.readModule(e-1,2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n<<=1,this.readModule(2,t-1,e,t)&&(n|=1),n<<=1,this.readModule(3,t-1,e,t)&&(n|=1),n},e.prototype.readCorner2=function(e,t){var n=0;return this.readModule(e-3,0,e,t)&&(n|=1),n<<=1,this.readModule(e-2,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(0,t-4,e,t)&&(n|=1),n<<=1,this.readModule(0,t-3,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n},e.prototype.readCorner3=function(e,t){var n=0;return this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,t-1,e,t)&&(n|=1),n<<=1,this.readModule(0,t-3,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-3,e,t)&&(n|=1),n<<=1,this.readModule(1,t-2,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n},e.prototype.readCorner4=function(e,t){var n=0;return this.readModule(e-3,0,e,t)&&(n|=1),n<<=1,this.readModule(e-2,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n<<=1,this.readModule(2,t-1,e,t)&&(n|=1),n<<=1,this.readModule(3,t-1,e,t)&&(n|=1),n},e.prototype.extractDataRegion=function(e){var t=this.version.getSymbolSizeRows(),n=this.version.getSymbolSizeColumns();if(e.getHeight()!==t)throw new y.a("Dimension of bitMatrix must match the version size");for(var r=this.version.getDataRegionSizeRows(),a=this.version.getDataRegionSizeColumns(),i=t/r|0,c=n/a|0,l=i*r,u=c*a,s=new o.a(u,l),d=0;d<i;++d)for(var f=d*r,h=0;h<c;++h)for(var p=h*a,v=0;v<r;++v)for(var m=d*(r+2)+1+v,g=f+v,b=0;b<a;++b){var w=h*(a+2)+1+b;if(e.get(w,m)){var O=p+b;s.set(O,g)}}return s},e}(),M=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},A,j=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,n){var r,o,a,i,c=n.getECBlocks(),l=0,u=c.getECBlocks();try{for(var s=M(u),d=s.next();!d.done;d=s.next()){var f;l+=(f=d.value).getCount()}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}var h=new Array(l),p=0;try{for(var v=M(u),m=v.next();!m.done;m=v.next())for(var f=m.value,g=0;g<f.getCount();g++){var b=f.getDataCodewords(),w=c.getECCodewords()+b;h[p++]=new e(b,new Uint8Array(w))}}catch(e){a={error:e}}finally{try{m&&!m.done&&(i=v.return)&&i.call(v)}finally{if(a)throw a.error}}for(var O,A=h[0].codewords.length-c.getECCodewords(),j=A-1,x=0,g=0;g<j;g++)for(var S=0;S<p;S++)h[S].codewords[g]=t[x++];for(var E=24===n.getVersionNumber(),C=E?8:p,S=0;S<C;S++)h[S].codewords[A-1]=t[x++];for(var T=h[0].codewords.length,g=A;g<T;g++)for(var S=0;S<p;S++){var D=E?(S+8)%p:S,_=E&&D>7?g-1:g;h[D].codewords[_]=t[x++]}if(x!==t.length)throw new y.a;return h},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}(),x=n(176),S=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},E,C=function(){function e(){this.rsDecoder=new f.a(d.a.DATA_MATRIX_FIELD_256)}return e.prototype.decode=function(e){var t,n,r=new O(e),o=r.getVersion(),a=r.readCodewords(),i=j.getDataBlocks(a,o),c=0;try{for(var l=S(i),u=l.next();!u.done;u=l.next()){var s;c+=u.value.getNumDataCodewords()}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}for(var d=new Uint8Array(c),f=i.length,h=0;h<f;h++){var p=i[h],v=p.getCodewords(),m=p.getNumDataCodewords();this.correctErrors(v,m);for(var g=0;g<m;g++)d[g*f+h]=v[g]}return x.a.decode(d)},e.prototype.correctErrors=function(e,t){var n=new Int32Array(e);try{this.rsDecoder.decode(n,e.length-t)}catch(e){throw new s.a}for(var r=0;r<t;r++)e[r]=n[r]},e}(),T=n(96),D=n(83),_=n(84),z=n(16),I,P=function(){function e(e){this.image=e,this.rectangleDetector=new T.a(this.image)}return e.prototype.detect=function(){var t=this.rectangleDetector.detect(),n=this.detectSolid1(t);if((n=this.detectSolid2(n))[3]=this.correctTopRight(n),!n[3])throw new i.a;var r=(n=this.shiftToModuleCenter(n))[0],o=n[1],a=n[2],c=n[3],l=this.transitionsBetween(r,c)+1,u=this.transitionsBetween(a,c)+1;1==(1&l)&&(l+=1),1==(1&u)&&(u+=1),4*l<7*u&&4*u<7*l&&(l=u=Math.max(l,u));var s=e.sampleGrid(this.image,r,o,a,c,l,u);return new D.a(s,[r,o,a,c])},e.shiftPoint=function(e,t,n){var r=(t.getX()-e.getX())/(n+1),o=(t.getY()-e.getY())/(n+1);return new z.a(e.getX()+r,e.getY()+o)},e.moveAway=function(e,t,n){var r=e.getX(),o=e.getY();return r<t?r-=1:r+=1,o<n?o-=1:o+=1,new z.a(r,o)},e.prototype.detectSolid1=function(e){var t=e[0],n=e[1],r=e[3],o=e[2],a=this.transitionsBetween(t,n),i=this.transitionsBetween(n,r),c=this.transitionsBetween(r,o),l=this.transitionsBetween(o,t),u=a,s=[o,t,n,r];return u>i&&(u=i,s[0]=t,s[1]=n,s[2]=r,s[3]=o),u>c&&(u=c,s[0]=n,s[1]=r,s[2]=o,s[3]=t),u>l&&(s[0]=r,s[1]=o,s[2]=t,s[3]=n),s},e.prototype.detectSolid2=function(t){var n=t[0],r=t[1],o=t[2],a=t[3],i=this.transitionsBetween(n,a),c=e.shiftPoint(r,o,4*(i+1)),l=e.shiftPoint(o,r,4*(i+1)),u,s;return this.transitionsBetween(c,n)<this.transitionsBetween(l,a)?(t[0]=n,t[1]=r,t[2]=o,t[3]=a):(t[0]=r,t[1]=o,t[2]=a,t[3]=n),t},e.prototype.correctTopRight=function(t){var n=t[0],r=t[1],o=t[2],a=t[3],i=this.transitionsBetween(n,a),c=this.transitionsBetween(r,a),l=e.shiftPoint(n,r,4*(c+1)),u=e.shiftPoint(o,r,4*(i+1));i=this.transitionsBetween(l,a),c=this.transitionsBetween(u,a);var s=new z.a(a.getX()+(o.getX()-r.getX())/(i+1),a.getY()+(o.getY()-r.getY())/(i+1)),d=new z.a(a.getX()+(n.getX()-r.getX())/(c+1),a.getY()+(n.getY()-r.getY())/(c+1)),f,h;return this.isValid(s)?this.isValid(d)?this.transitionsBetween(l,s)+this.transitionsBetween(u,s)>this.transitionsBetween(l,d)+this.transitionsBetween(u,d)?s:d:s:this.isValid(d)?d:null},e.prototype.shiftToModuleCenter=function(t){var n=t[0],r=t[1],o=t[2],a=t[3],i=this.transitionsBetween(n,a)+1,c=this.transitionsBetween(o,a)+1,l=e.shiftPoint(n,r,4*c),u=e.shiftPoint(o,r,4*i);1==(1&(i=this.transitionsBetween(l,a)+1))&&(i+=1),1==(1&(c=this.transitionsBetween(u,a)+1))&&(c+=1);var s=(n.getX()+r.getX()+o.getX()+a.getX())/4,d=(n.getY()+r.getY()+o.getY()+a.getY())/4,f,h;return n=e.moveAway(n,s,d),r=e.moveAway(r,s,d),o=e.moveAway(o,s,d),a=e.moveAway(a,s,d),l=e.shiftPoint(n,r,4*c),l=e.shiftPoint(l,a,4*i),f=e.shiftPoint(r,n,4*c),f=e.shiftPoint(f,o,4*i),u=e.shiftPoint(o,a,4*c),u=e.shiftPoint(u,r,4*i),h=e.shiftPoint(a,o,4*c),[l,f,u,h=e.shiftPoint(h,n,4*i)]},e.prototype.isValid=function(e){return e.getX()>=0&&e.getX()<this.image.getWidth()&&e.getY()>0&&e.getY()<this.image.getHeight()},e.sampleGrid=function(e,t,n,r,o,a,i){var c;return _.a.getInstance().sampleGrid(e,a,i,.5,.5,a-.5,.5,a-.5,i-.5,.5,i-.5,t.getX(),t.getY(),o.getX(),o.getY(),r.getX(),r.getY(),n.getX(),n.getY())},e.prototype.transitionsBetween=function(e,t){var n=Math.trunc(e.getX()),r=Math.trunc(e.getY()),o=Math.trunc(t.getX()),a=Math.trunc(t.getY()),i=Math.abs(a-r)>Math.abs(o-n);if(i){var c=n;n=r,r=c,c=o,o=a,a=c}for(var l=Math.abs(o-n),u=Math.abs(a-r),s=-l/2,d=r<a?1:-1,f=n<o?1:-1,h=0,p=this.image.get(i?r:n,i?n:r),v=n,m=r;v!==o;v+=f){var g=this.image.get(i?m:v,i?v:m);if(g!==p&&(h++,p=g),(s+=u)>0){if(m===a)break;m+=d,s-=l}}return h},e}(),N=function(){function e(){this.decoder=new C}return e.prototype.decode=function(t,n){var o,i;if(void 0===n&&(n=null),null!=n&&n.has(a.a.PURE_BARCODE)){var s=e.extractPureBits(t.getBlackMatrix());o=this.decoder.decode(s),i=e.NO_POINTS}else{var d=new P(t.getBlackMatrix()).detect();o=this.decoder.decode(d.getBits()),i=d.getPoints()}var f=o.getRawBytes(),h=new c.a(o.getText(),f,8*f.length,i,r.a.DATA_MATRIX,u.a.currentTimeMillis()),p=o.getByteSegments();null!=p&&h.putMetadata(l.a.BYTE_SEGMENTS,p);var v=o.getECLevel();return null!=v&&h.putMetadata(l.a.ERROR_CORRECTION_LEVEL,v),h},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null==t||null==n)throw new i.a;var r=this.moduleSize(t,e),a=t[1],c=n[1],l=t[0],u,s=(n[0]-l+1)/r,d=(c-a+1)/r;if(s<=0||d<=0)throw new i.a;var f=r/2;a+=f,l+=f;for(var h=new o.a(s,d),p=0;p<d;p++)for(var v=a+p*r,m=0;m<s;m++)e.get(l+m*r,v)&&h.set(m,p);return h},e.moduleSize=function(e,t){for(var n=t.getWidth(),r=e[0],o=e[1];r<n&&t.get(r,o);)r++;if(r===n)throw new i.a;var a=r-e[0];if(0===a)throw new i.a;return a},e.NO_POINTS=[],e}(),k=t.a=N},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"f",(function(){return p}));var r=function e(t){return"function"==typeof t},o=function e(t){return Array.isArray(t)},a=function e(t){return"string"==typeof t},i=function e(t){return"number"==typeof t},c=function e(t){return void 0===t},l=function e(t){return"boolean"==typeof t},u=function e(t){if("string"!=typeof t)return!1;try{return JSON.parse(t)}catch(e){return!1}},s=Object.getPrototypeOf,d={}.hasOwnProperty,f=d.toString,h=f.call(Object),p=function e(t){var n,r;return!(!t||"[object Object]"!==toString.call(t))&&(!(n=s(t))||"function"==typeof(r=d.call(n,"constructor")&&n.constructor)&&f.call(r)===h)}},function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"c",(function(){return s})),n.d(t,"i",(function(){return d})),n.d(t,"g",(function(){return f}));var r="undefined"!=typeof window&&window.document,o=function e(){var t=navigator.userAgent,n=-1!=t.indexOf("Safari")&&-1!=t.indexOf("Version"),r=-1!=t.indexOf("iPhone")&&-1!=t.indexOf("Version"),o=n&&!r&&"ontouchend"in document;return!(!/iphone|ios|ipad|android|mobile/i.test(navigator.userAgent.toLowerCase())&&!o)},a=function e(){var t=window.navigator.userAgent.toLowerCase(),n="ipad"==t.match(/ipad/i),r="iphone os"==t.match(/iphone os/i),a="midp"==t.match(/midp/i),i="rv:1.2.3.4"==t.match(/rv:1.2.3.4/i),c="ucweb"==t.match(/ucweb/i),l="android"==t.match(/android/i),u="windows ce"==t.match(/windows ce/i),s="windows mobile"==t.match(/windows mobile/i);return!!(n||r||a||i||c||l||u||s||o())},i=function e(){return-1!==navigator.userAgent.toLowerCase().indexOf("android")},c=function e(){return/iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())},l=function e(){var t=0,n=window.navigator.userAgent,r=n.indexOf("Opera")>-1||n.indexOf("OPR")>-1,o=n.indexOf("compatible")>-1&&n.indexOf("MSIE")>-1,a=-1===n.indexOf("compatible")&&n.indexOf("Trident")>-1,i=n.indexOf("Edge")>-1,c=n.indexOf("Firefox")>-1,l=n.indexOf("Safari")>-1&&-1===n.indexOf("Chrome"),u=n.indexOf("Chrome")>-1&&n.indexOf("; Win")>-1&&n.indexOf("Safari")>-1;return t=r||o||a||i||c||l||u?0:1},u=function e(){if(r){var t="";return r&&(t=window.navigator.userAgent.toLowerCase()),"micromessenger"==t.match(/MicroMessenger/i)}return!1},s=function e(){var t,n;return!!r&&!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},d=function e(){var t,n;return!!r&&-1!==navigator.userAgent.indexOf("miniProgram")},f=function e(){if(r){var t=window.navigator.userAgent;return t.indexOf("Safari")>-1&&-1===t.indexOf("Chrome")&&-1===t.indexOf("CriOS")&&-1===t.indexOf("ChannelName/Feishu")}return!1}},function(e,t,n){"use strict";var r=n(37),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ReedSolomonException",t}(r.a);t.a=i},function(e,t,n){"use strict";var r=function(){function e(e,t){this.value=e,this.checksumPortion=t}return e.prototype.getValue=function(){return this.value},e.prototype.getChecksumPortion=function(){return this.checksumPortion},e.prototype.toString=function(){return this.value+"("+this.checksumPortion+")"},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.value===n.value&&this.checksumPortion===n.checksumPortion},e.prototype.hashCode=function(){return this.value^this.checksumPortion},e}();t.a=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(90);function o(e,t){if("object"!==Object(r.a)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function a(e){var t=o(e,"string");return"symbol"===Object(r.a)(t)?t:String(t)}function i(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(14),o=function(){function e(){}return e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new r.a;return this.logTable[e]},e.addOrSubtract=function(e,t){return e^t},e}();t.a=o},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(413),o=n(416);function a(e,t){var n=o(e,t);return r(n)?n:void 0}e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exportImportOptions=t.suffixOptions=t.defaultOptions=void 0;var r=n(33);t.defaultOptions={exportType:"current-page",footerHintTypes:["export_file","import_log"],okShowButtonTypes:["export","import"],exportValue:"export",importValue:"import"},t.suffixOptions={1:"".concat((0,r.getText)("page.customer.list.table.num")),2:"".concat((0,r.getText)("page.customer.suffix")),product:"".concat((0,r.getText)("page.product.suffix")),4:"".concat((0,r.getText)("page.voucher.suffix")),5:"".concat((0,r.getText)("page.recharge.suffix")),6:"".concat((0,r.getText)("page.ticket.suffix")),7:"".concat((0,r.getText)("page.package.ticket.suffix"))},t.exportImportOptions={import:(0,r.getText)("table-action-export-import-button-import"),export:(0,r.getText)("table-action-export-import-button"),export_file:(0,r.getText)("table-action-export-import-export-title"),import_log:(0,r.getText)("table-action-export-import-import-title")}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r=0,o=t.length,a;r<o;r++)!a&&r in t||(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.omit=t.getSettingKeyArrByMode=t.filterDataSource=t.mergeFilterSetting=t.setFormValuesToLocalStorage=t.getTableSettingByCurrentViewMode=t.getCurrentViewModeFromLocalStorage=t.getTableSettingFromLocalStorage=t.clearTableSettingToLocalStorage=t.setTableSettingToLocalStorage=t.groupDataSource=t.getIdByRowKey=t.sortDataSource=t.mergeColumnSetting=t.calcFilterSort=t.getHash=void 0;var c=i(n(54)),l=n(22),u=i(n(165)),s=i(n(166)),d=n(160),f=n(49),h="table-setting",p=function e(t){var n=JSON.stringify(t),r;return(0,u.default)(n).toString(s.default.Hex)};t.getHash=p;var v=function e(t){return t.reduce((function(e,t){var n;return r(r({},e),((n={})[t.dataIndex]=t,n))}),{})},m={text:function e(t,n,r){var o;return null===(o=n[r])||void 0===o?void 0:o.toString().toLowerCase().includes(t.toLowerCase())},number:function e(t,n,r){return n[r]>=t.min&&n[r]<=t.max},filters:function e(t,n,r){var o;return t.map((function(e){return e.toLowerCase()})).includes(null===(o=n[r])||void 0===o?void 0:o.toString().toLowerCase())}},g=function e(t){return function(e,n){return"date"===t.field_type?(0,c.default)(e[t.dataIndex]).valueOf()-(0,c.default)(n[t.dataIndex]).valueOf():e[t.dataIndex]-n[t.dataIndex]}},b=function e(t){var n=t.dataSource,r=t.filter,o=t.sort,a=t.columns,i=v(a),c=n.filter((function(e){return Object.keys(r||{}).every((function(t){var n,o;if(!(null===(n=r[t])||void 0===n?void 0:n.length))return!0;var a=i[t];return(null===(o=a.filters)||void 0===o?void 0:o.length)>0?m.filters(r[t][0],e,a.dataIndex):"text"===a.field_type?m[a.field_type](r[t][0],e,a.dataIndex):"number"!==a.field_type||m[a.field_type](r[t][0],e,a.dataIndex)}))}));return(null==o?void 0:o.order)&&c.sort((function(e,t){var n=o.order;return"descend"===n?g(o.column)(t,e):"ascend"===n?g(o.column)(e,t):void 0})),c};t.calcFilterSort=b;var y=function e(n,r){if(!n)return{};var o=((0,t.getTableSettingByCurrentViewMode)(n,r)||{}).column_setting,a=o,i;return o?o.reduce((function(e,t){return e[t.key]=t,e}),{}):{}},w=function e(t){var n=t.columns,o=t.tableId,a=t.currentViewMode;if(!o)return n.map((function(e){return r(r({},e),{isShow:!0})}));var i=y(o,a),c=n.map((function(e,t){var n,o,a=i[e.key],c=t;return(0,l.isBoolean)(e.fixed)&&e.fixed||"left"===e.fixed?c=-99:"right"===e.fixed&&(c=9999),a?(c=[!0,!1,"left","right"].includes(e.fixed)?c:a.sortIndex,r(r({},e),{width:null!==(n=a.width)&&void 0!==n?n:e.width,isShow:null===(o=a.isShow)||void 0===o||o,sortIndex:c})):r(r({},e),{isShow:!0,sortIndex:c})}));return c.sort((function(e,t){return e.sortIndex-t.sortIndex})),c};t.mergeColumnSetting=w;var O=function e(t,n){var r=n.sortKey,o=n.sortValue,i=n.sortType,c=a([],t,!0),l=function e(t,n){return function(e,r){var a=(0,f.getValueByKeys)(e,t.split(",")),i=(0,f.getValueByKeys)(r,t.split(","));return"string"===n?"asc"===o?null==a?void 0:a.localeCompare(i):null==i?void 0:i.localeCompare(a):"date"===n?"asc"!==o?new Date(i).getTime()-new Date(a).getTime():new Date(a).getTime()-new Date(i).getTime():"number"===n?"asc"===o?(Number(a)||0)-(Number(i)||0):(Number(i)||0)-(Number(a)||0):void 0}};return c.sort(l(r,i)),c};t.sortDataSource=O;var M=function e(t,n){return(0,l.isString)(n)?t[n]:(0,l.isFunction)(n)?t[n(t)]:t[n||"id"]};t.getIdByRowKey=M;var A=function e(n,o,i){var c=o[0].field;if(!c)return n;var l=c.split(","),u=a([],n,!0);return u=Object.values(u.reduce((function(e,n,o){var a=(0,f.getValueByKeys)(n,l);return e[a]?e[a].children.push(n):e[a]={__table_group_field:c,__is_group:!0,children:[n]},e[a].__rowKey="group-".concat(e[a].children.map((function(e){return(0,t.getIdByRowKey)(e,i)})).join("-")),e[a].id=e[a].__rowKey,r({},e)}),{}))};t.groupDataSource=A;var j=function e(t){var n,a=t.tableId,i=t.tableSettingObj,c=t.currentViewMode,u=t.currentSettingHash;if(a){var s=localStorage.getItem(D(a)),d={};if(s&&(0,l.isJson)(s)){var f=JSON.parse(s)||{};d=r({},f)}var h=i.view_mode,p=o(i,["view_mode"]);d=r(r({},d),((n={view_mode:h||d.view_mode,currentSettingHash:u})[c]=r(r({},d[c]||{}),p),n)),localStorage.setItem(D(a),JSON.stringify(d))}};t.setTableSettingToLocalStorage=j;var x=function e(t){t&&localStorage.removeItem(D(t))};t.clearTableSettingToLocalStorage=x;var S=function e(t){if(!t)return{};var n=localStorage.getItem(D(t));return n&&(0,l.isJson)(n)?JSON.parse(n):{}};t.getTableSettingFromLocalStorage=S;var E=function e(n){var r;return(0,t.getTableSettingFromLocalStorage)(n).view_mode};t.getCurrentViewModeFromLocalStorage=E;var C=function e(n,r){var o;return(0,t.getTableSettingFromLocalStorage)(n)[r]};t.getTableSettingByCurrentViewMode=C;var T=function e(n){var r=n.tableId,o=n.allValues,a=n.keys,i=n.currentViewMode,c=n.currentSettingHash;if(r){var l={};null==a||a.forEach((function(e){l[e]=null==o?void 0:o[e]})),(0,t.setTableSettingToLocalStorage)({tableId:r,tableSettingObj:l,currentViewMode:i,currentSettingHash:c})}};t.setFormValuesToLocalStorage=T;var D=function e(t){return"".concat(h,"-").concat(t)},_=function e(n){var o,a,i=n.list,c=n.quickFilterMaxLength,u=n.tableId,s=n.sortButtonShow,d=n.currentViewMode;if(!s)return{quickFilter:[],otherFilter:[],notSortFilter:i};var f,h=((0,t.getTableSettingByCurrentViewMode)(u,d)||{}).filter_setting||{},p=h.quickFilter,v=h.otherFilter,m=[],g=[];if(i.forEach((function(e){e.sort?g.push(e):m.push(e)})),!u||!p||!v)return{quickFilter:(null===(o=null==g?void 0:g.slice)||void 0===o?void 0:o.call(g,0,c))||[],otherFilter:(null===(a=null==g?void 0:g.slice)||void 0===a?void 0:a.call(g,c))||[],notSortFilter:m};var b=new Map(p.map((function(e,t){return[e.key,r(r({},e),{sortIndex:t})]}))),y=new Map(v.map((function(e,t){return[e.key,r(r({},e),{sortIndex:t})]}))),w=Array.from({length:200}),O=Array.from({length:200}),M=[];return i.forEach((function(e){e.sort?b.has(e.key)?(0,l.isNumber)(b.get(e.key).sortIndex)?w[b.get(e.key).sortIndex]=e:w.push(e):y.has(e.key)&&(0,l.isNumber)(y.get(e.key).sortIndex)?O[y.get(e.key).sortIndex]=e:O.push(e):M.push(e)})),{quickFilter:w.filter(Boolean),otherFilter:O.filter(Boolean),notSortFilter:M}};t.mergeFilterSetting=_;var z=function e(t,n,r){var o=r.map((function(e){if(!n[e.name])return null;var t=d.fieldMaps[e.type].filterFn;return(0,l.isFunction)(t)?function(r){try{return t({value:n[e.name],item:r,key:e.name})}catch(e){return!1}}:null})).filter(Boolean);return t.filter((function(e){return!o.some((function(t){return!(null==t?void 0:t(e))}))}))};t.filterDataSource=z;var I=function e(t){var n=t.filter,r=t.columnSetting,o=t.dataSourceGroup,a=t.sort,i=t.mode,c=t.currentViewMode,l=[];return(null==n?void 0:n.show)&&((null==n?void 0:n.storageMode)||"")==i&&l.push("filter_setting"),((null==r?void 0:r.storageMode)||"")==i&&"gallery"===c&&l.push("gallery_setting","column_setting"),((null==r?void 0:r.storageMode)||"")==i&&"grid"===c&&l.push("column_setting"),(null==o?void 0:o.show)&&((null==o?void 0:o.storageMode)||"")==i&&l.push("group_by"),(null==a?void 0:a.show)&&a.storageMode==i&&l.push("order_by"),l.push("view_mode"),l};t.getSettingKeyArrByMode=I;var P=function e(t,n){for(var r=Object.assign({},t),o=0;o<n.length;o+=1){var a;delete r[n[o]]}return r};t.omit=P;var N=function e(t){return JSON.stringify(t,(function(e,t){return(0,l.isFunction)(t)?t.toString():t}))};t.stringify=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(135),a=function e(){var t;return(0,r.useContext)(o.PisellContext)};t.default=a},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DatePicker=t.ConfigProvider=t.Calendar=t.Dropdown=t.Form=t.Icon=t.Upload=t.Radio=t.Button=t.Checkbox=t.Skeleton=t.Typography=t.version=t.Tooltip=t.Timeline=t.Tag=t.Tree=t.Transfer=t.Switch=t.Steps=t.Spin=t.Space=t.Row=t.Result=t.Rate=t.Progress=t.Popover=t.Popconfirm=t.Pagination=t.notification=t.Statistic=t.Mentions=t.Menu=t.message=t.InputNumber=t.Image=t.Grid=t.Empty=t.Divider=t.Descriptions=t.Col=t.Carousel=t.Collapse=t.Card=t.Breadcrumb=t.Badge=t.Avatar=t.Alert=t.Anchor=t.Affix=void 0,t.PisellAlert=t.PisellScan=t.PisellWalletPassCard=t.PisellToast=t.PisellCardList=t.PisellLoading=t.PisellText=t.PisellContainer=t.Iconfont=t.PisellEmpty=t.PisellTooltip=t.PisellDatePicker=t.PisellCheckboxGroup=t.getBankCardTypeImg=t.PisellInput=t.PisellCountdown=t.PisellConfigProvider=t.PisellRow=t.PisellModal=t.DragSortTree=t.BatchEditor=t.AutoCompleteNumber=t.SelectTime=t.VirtualKeyboardTime=t.VirtualKeyboard=t.Segmented=t.LowCodePage=t.InputNumberRange=t.Sort=t.List=t.ClassicLayout=t.QRCode=t.RecordView=t.SortableList=t.Translation=t.Filter=t.Component=t.Page=t.Div=t.AutoComplete=t.Cascader=t.Select=t.Input=t.TreeSelect=t.Drawer=t.Modal=t.Table=t.Slider=t.TimePicker=t.Tabs=void 0,t.PisellContext=t.globalConfig=t.usePisellConfig=t.PisellInformationEntry=t.PisellCard=void 0;var o=n(11);Object.defineProperty(t,"Affix",{enumerable:!0,get:function e(){return o.Affix}});var a=n(11);Object.defineProperty(t,"Anchor",{enumerable:!0,get:function e(){return a.Anchor}});var i=n(11);Object.defineProperty(t,"Alert",{enumerable:!0,get:function e(){return i.Alert}});var c=n(11);Object.defineProperty(t,"Avatar",{enumerable:!0,get:function e(){return c.Avatar}});var l=n(11);Object.defineProperty(t,"Badge",{enumerable:!0,get:function e(){return l.Badge}});var u=n(11);Object.defineProperty(t,"Breadcrumb",{enumerable:!0,get:function e(){return u.Breadcrumb}});var s=n(11);Object.defineProperty(t,"Card",{enumerable:!0,get:function e(){return s.Card}});var d=n(11);Object.defineProperty(t,"Collapse",{enumerable:!0,get:function e(){return d.Collapse}});var f=n(11);Object.defineProperty(t,"Carousel",{enumerable:!0,get:function e(){return f.Carousel}});var h=n(11);Object.defineProperty(t,"Col",{enumerable:!0,get:function e(){return h.Col}});var p=n(11);Object.defineProperty(t,"Descriptions",{enumerable:!0,get:function e(){return p.Descriptions}});var v=n(11);Object.defineProperty(t,"Divider",{enumerable:!0,get:function e(){return v.Divider}});var m=n(11);Object.defineProperty(t,"Empty",{enumerable:!0,get:function e(){return m.Empty}});var g=n(11);Object.defineProperty(t,"Grid",{enumerable:!0,get:function e(){return g.Grid}});var b=n(11);Object.defineProperty(t,"Image",{enumerable:!0,get:function e(){return b.Image}});var y=n(11);Object.defineProperty(t,"InputNumber",{enumerable:!0,get:function e(){return y.InputNumber}});var w=n(11);Object.defineProperty(t,"message",{enumerable:!0,get:function e(){return w.message}});var O=n(11);Object.defineProperty(t,"Menu",{enumerable:!0,get:function e(){return O.Menu}});var M=n(11);Object.defineProperty(t,"Mentions",{enumerable:!0,get:function e(){return M.Mentions}});var A=n(11);Object.defineProperty(t,"Statistic",{enumerable:!0,get:function e(){return A.Statistic}});var j=n(11);Object.defineProperty(t,"notification",{enumerable:!0,get:function e(){return j.notification}});var x=n(11);Object.defineProperty(t,"Pagination",{enumerable:!0,get:function e(){return x.Pagination}});var S=n(11);Object.defineProperty(t,"Popconfirm",{enumerable:!0,get:function e(){return S.Popconfirm}});var E=n(11);Object.defineProperty(t,"Popover",{enumerable:!0,get:function e(){return E.Popover}});var C=n(11);Object.defineProperty(t,"Progress",{enumerable:!0,get:function e(){return C.Progress}});var T=n(11);Object.defineProperty(t,"Rate",{enumerable:!0,get:function e(){return T.Rate}});var D=n(11);Object.defineProperty(t,"Result",{enumerable:!0,get:function e(){return D.Result}});var _=n(11);Object.defineProperty(t,"Row",{enumerable:!0,get:function e(){return _.Row}});var z=n(11);Object.defineProperty(t,"Space",{enumerable:!0,get:function e(){return z.Space}});var I=n(11);Object.defineProperty(t,"Spin",{enumerable:!0,get:function e(){return I.Spin}});var P=n(11);Object.defineProperty(t,"Steps",{enumerable:!0,get:function e(){return P.Steps}});var N=n(11);Object.defineProperty(t,"Switch",{enumerable:!0,get:function e(){return N.Switch}});var k=n(11);Object.defineProperty(t,"Transfer",{enumerable:!0,get:function e(){return k.Transfer}});var R=n(11);Object.defineProperty(t,"Tree",{enumerable:!0,get:function e(){return R.Tree}});var L=n(11);Object.defineProperty(t,"Tag",{enumerable:!0,get:function e(){return L.Tag}});var V=n(11);Object.defineProperty(t,"Timeline",{enumerable:!0,get:function e(){return V.Timeline}});var B=n(11);Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function e(){return B.Tooltip}});var H=n(11);Object.defineProperty(t,"version",{enumerable:!0,get:function e(){return H.version}});var F=n(361);Object.defineProperty(t,"Typography",{enumerable:!0,get:function e(){return r(F).default}});var W=n(366);Object.defineProperty(t,"Skeleton",{enumerable:!0,get:function e(){return r(W).default}});var U=n(367);Object.defineProperty(t,"Checkbox",{enumerable:!0,get:function e(){return r(U).default}});var Y=n(208);Object.defineProperty(t,"Button",{enumerable:!0,get:function e(){return r(Y).default}});var Q=n(368);Object.defineProperty(t,"Radio",{enumerable:!0,get:function e(){return r(Q).default}});var G=n(369);Object.defineProperty(t,"Upload",{enumerable:!0,get:function e(){return r(G).default}});var X=n(247);Object.defineProperty(t,"Icon",{enumerable:!0,get:function e(){return r(X).default}});var q=n(371);Object.defineProperty(t,"Form",{enumerable:!0,get:function e(){return r(q).default}});var $=n(372);Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function e(){return r($).default}});var Z=n(373);Object.defineProperty(t,"Calendar",{enumerable:!0,get:function e(){return r(Z).default}});var K=n(248);Object.defineProperty(t,"ConfigProvider",{enumerable:!0,get:function e(){return r(K).default}});var J=n(154);Object.defineProperty(t,"DatePicker",{enumerable:!0,get:function e(){return r(J).default}});var ee=n(387);Object.defineProperty(t,"Tabs",{enumerable:!0,get:function e(){return r(ee).default}});var te=n(390);Object.defineProperty(t,"TimePicker",{enumerable:!0,get:function e(){return r(te).default}});var ne=n(391);Object.defineProperty(t,"Slider",{enumerable:!0,get:function e(){return r(ne).default}});var re=n(258);Object.defineProperty(t,"Table",{enumerable:!0,get:function e(){return r(re).default}});var oe=n(219);Object.defineProperty(t,"Modal",{enumerable:!0,get:function e(){return r(oe).default}});var ae=n(287);Object.defineProperty(t,"Drawer",{enumerable:!0,get:function e(){return r(ae).default}});var ie=n(629);Object.defineProperty(t,"TreeSelect",{enumerable:!0,get:function e(){return r(ie).default}});var ce=n(75);Object.defineProperty(t,"Input",{enumerable:!0,get:function e(){return r(ce).default}});var le=n(271);Object.defineProperty(t,"Select",{enumerable:!0,get:function e(){return r(le).default}});var ue=n(630);Object.defineProperty(t,"Cascader",{enumerable:!0,get:function e(){return r(ue).default}});var se=n(631);Object.defineProperty(t,"AutoComplete",{enumerable:!0,get:function e(){return r(se).default}});var de=n(632);Object.defineProperty(t,"Div",{enumerable:!0,get:function e(){return r(de).default}});var fe=n(633);Object.defineProperty(t,"Page",{enumerable:!0,get:function e(){return r(fe).default}});var he=n(644);Object.defineProperty(t,"Component",{enumerable:!0,get:function e(){return r(he).default}});var pe=n(268);Object.defineProperty(t,"Filter",{enumerable:!0,get:function e(){return r(pe).default}});var ve=n(645);Object.defineProperty(t,"Translation",{enumerable:!0,get:function e(){return r(ve).default}});var me=n(648);Object.defineProperty(t,"SortableList",{enumerable:!0,get:function e(){return r(me).default}});var ge=n(649);Object.defineProperty(t,"RecordView",{enumerable:!0,get:function e(){return r(ge).default}});var be=n(294);Object.defineProperty(t,"QRCode",{enumerable:!0,get:function e(){return r(be).default}});var ye=n(286);Object.defineProperty(t,"ClassicLayout",{enumerable:!0,get:function e(){return r(ye).default}});var we=n(651);Object.defineProperty(t,"List",{enumerable:!0,get:function e(){return r(we).default}});var Oe=n(272);Object.defineProperty(t,"Sort",{enumerable:!0,get:function e(){return r(Oe).default}});var Me=n(270);Object.defineProperty(t,"InputNumberRange",{enumerable:!0,get:function e(){return r(Me).default}});var Ae=n(653);Object.defineProperty(t,"LowCodePage",{enumerable:!0,get:function e(){return r(Ae).default}});var je=n(654);Object.defineProperty(t,"Segmented",{enumerable:!0,get:function e(){return r(je).default}});var xe=n(295);Object.defineProperty(t,"VirtualKeyboard",{enumerable:!0,get:function e(){return r(xe).default}});var Se=n(296);Object.defineProperty(t,"VirtualKeyboardTime",{enumerable:!0,get:function e(){return r(Se).default}});var Ee=n(662);Object.defineProperty(t,"SelectTime",{enumerable:!0,get:function e(){return r(Ee).default}});var Ce=n(667);Object.defineProperty(t,"AutoCompleteNumber",{enumerable:!0,get:function e(){return r(Ce).default}});var Te=n(668);Object.defineProperty(t,"BatchEditor",{enumerable:!0,get:function e(){return r(Te).default}});var De=n(674);Object.defineProperty(t,"DragSortTree",{enumerable:!0,get:function e(){return r(De).default}});var _e=n(223);Object.defineProperty(t,"PisellModal",{enumerable:!0,get:function e(){return r(_e).default}});var ze=n(298);Object.defineProperty(t,"PisellRow",{enumerable:!0,get:function e(){return r(ze).default}});var Ie=n(292);Object.defineProperty(t,"PisellConfigProvider",{enumerable:!0,get:function e(){return r(Ie).default}});var Pe=n(691);Object.defineProperty(t,"PisellCountdown",{enumerable:!0,get:function e(){return r(Pe).default}});var Ne=n(299);Object.defineProperty(t,"PisellInput",{enumerable:!0,get:function e(){return r(Ne).default}});var ke=n(300);Object.defineProperty(t,"getBankCardTypeImg",{enumerable:!0,get:function e(){return ke.getBankCardTypeImg}});var Re=n(301);Object.defineProperty(t,"PisellCheckboxGroup",{enumerable:!0,get:function e(){return r(Re).default}});var Le=n(707);Object.defineProperty(t,"PisellDatePicker",{enumerable:!0,get:function e(){return r(Le).default}});var Ve=n(710);Object.defineProperty(t,"PisellTooltip",{enumerable:!0,get:function e(){return r(Ve).default}});var Be=n(302);Object.defineProperty(t,"PisellEmpty",{enumerable:!0,get:function e(){return r(Be).default}});var He=n(82);Object.defineProperty(t,"Iconfont",{enumerable:!0,get:function e(){return r(He).default}});var Fe=n(713);Object.defineProperty(t,"PisellContainer",{enumerable:!0,get:function e(){return r(Fe).default}});var We=n(716);Object.defineProperty(t,"PisellText",{enumerable:!0,get:function e(){return r(We).default}});var Ue=n(730);Object.defineProperty(t,"PisellLoading",{enumerable:!0,get:function e(){return r(Ue).default}});var Ye=n(733);Object.defineProperty(t,"PisellCardList",{enumerable:!0,get:function e(){return r(Ye).default}});var Qe=n(735);Object.defineProperty(t,"PisellToast",{enumerable:!0,get:function e(){return r(Qe).default}});var Ge=n(305);Object.defineProperty(t,"PisellWalletPassCard",{enumerable:!0,get:function e(){return r(Ge).default}});var Xe=n(306);Object.defineProperty(t,"PisellScan",{enumerable:!0,get:function e(){return r(Xe).default}});var qe=n(739);Object.defineProperty(t,"PisellAlert",{enumerable:!0,get:function e(){return r(qe).default}});var $e=n(321);Object.defineProperty(t,"PisellCard",{enumerable:!0,get:function e(){return r($e).default}});var Ze=n(742);Object.defineProperty(t,"PisellInformationEntry",{enumerable:!0,get:function e(){return r(Ze).default}});var Ke=n(113);Object.defineProperty(t,"usePisellConfig",{enumerable:!0,get:function e(){return r(Ke).default}});var Je=n(135);Object.defineProperty(t,"globalConfig",{enumerable:!0,get:function e(){return Je.globalConfig}}),Object.defineProperty(t,"PisellContext",{enumerable:!0,get:function e(){return r(Je).default}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(16),o=n(173),a=n(25),i=n(96),c=n(47),l=n(73),u=n(8),s=n(84),d=n(19),f=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.toResultPoint=function(){return new r.a(this.getX(),this.getY())},e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e}(),h=function(){function e(e){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=e}return e.prototype.detect=function(){return this.detectMirror(!1)},e.prototype.detectMirror=function(e){var t=this.getMatrixCenter(),n=this.getBullsEyeCorners(t);if(e){var r=n[0];n[0]=n[2],n[2]=r}this.extractParameters(n);var a=this.sampleGrid(this.image,n[this.shift%4],n[(this.shift+1)%4],n[(this.shift+2)%4],n[(this.shift+3)%4]),i=this.getMatrixCornerPoints(n);return new o.a(a,i,this.compact,this.nbDataBlocks,this.nbLayers)},e.prototype.extractParameters=function(e){if(!(this.isValidPoint(e[0])&&this.isValidPoint(e[1])&&this.isValidPoint(e[2])&&this.isValidPoint(e[3])))throw new u.a;var t=2*this.nbCenterLayers,n=new Int32Array([this.sampleLine(e[0],e[1],t),this.sampleLine(e[1],e[2],t),this.sampleLine(e[2],e[3],t),this.sampleLine(e[3],e[0],t)]);this.shift=this.getRotation(n,t);for(var r=0,o=0;o<4;o++){var a=n[(this.shift+o)%4];this.compact?(r<<=7,r+=a>>1&127):(r<<=10,r+=(a>>2&992)+(a>>1&31))}var i=this.getCorrectedParameterData(r,this.compact);this.compact?(this.nbLayers=1+(i>>6),this.nbDataBlocks=1+(63&i)):(this.nbLayers=1+(i>>11),this.nbDataBlocks=1+(2047&i))},e.prototype.getRotation=function(e,t){var n=0;e.forEach((function(e,r,o){var a;n=(n<<3)+((e>>t-2<<1)+(1&e))})),n=((1&n)<<11)+(n>>1);for(var r=0;r<4;r++)if(d.a.bitCount(n^this.EXPECTED_CORNER_BITS[r])<=2)return r;throw new u.a},e.prototype.getCorrectedParameterData=function(e,t){var n,r;t?(n=7,r=2):(n=10,r=4);for(var o=n-r,a=new Int32Array(n),i=n-1;i>=0;--i)a[i]=15&e,e>>=4;try{var s;new l.a(c.a.AZTEC_PARAM).decode(a,o)}catch(e){throw new u.a}for(var d=0,i=0;i<r;i++)d=(d<<4)+a[i];return d},e.prototype.getBullsEyeCorners=function(e){var t=e,n=e,o=e,a=e,i=!0;for(this.nbCenterLayers=1;this.nbCenterLayers<9;this.nbCenterLayers++){var c=this.getFirstDifferent(t,i,1,-1),l=this.getFirstDifferent(n,i,1,1),s=this.getFirstDifferent(o,i,-1,1),d=this.getFirstDifferent(a,i,-1,-1);if(this.nbCenterLayers>2){var f=this.distancePoint(d,c)*this.nbCenterLayers/(this.distancePoint(a,t)*(this.nbCenterLayers+2));if(f<.75||f>1.25||!this.isWhiteOrBlackRectangle(c,l,s,d))break}t=c,n=l,o=s,a=d,i=!i}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new u.a;this.compact=5===this.nbCenterLayers;var h=new r.a(t.getX()+.5,t.getY()-.5),p=new r.a(n.getX()+.5,n.getY()+.5),v=new r.a(o.getX()-.5,o.getY()+.5),m=new r.a(a.getX()-.5,a.getY()-.5);return this.expandSquare([h,p,v,m],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},e.prototype.getMatrixCenter=function(){var e,t,n,r;try{var o;e=(o=new i.a(this.image).detect())[0],t=o[1],n=o[2],r=o[3]}catch(o){var c=this.image.getWidth()/2,l=this.image.getHeight()/2;e=this.getFirstDifferent(new f(c+7,l-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new f(c+7,l+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new f(c-7,l+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new f(c-7,l-7),!1,-1,-1).toResultPoint()}var u=a.a.round((e.getX()+r.getX()+t.getX()+n.getX())/4),s=a.a.round((e.getY()+r.getY()+t.getY()+n.getY())/4);try{var o;e=(o=new i.a(this.image,15,u,s).detect())[0],t=o[1],n=o[2],r=o[3]}catch(o){e=this.getFirstDifferent(new f(u+7,s-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new f(u+7,s+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new f(u-7,s+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new f(u-7,s-7),!1,-1,-1).toResultPoint()}return u=a.a.round((e.getX()+r.getX()+t.getX()+n.getX())/4),s=a.a.round((e.getY()+r.getY()+t.getY()+n.getY())/4),new f(u,s)},e.prototype.getMatrixCornerPoints=function(e){return this.expandSquare(e,2*this.nbCenterLayers,this.getDimension())},e.prototype.sampleGrid=function(e,t,n,r,o){var a=s.a.getInstance(),i=this.getDimension(),c=i/2-this.nbCenterLayers,l=i/2+this.nbCenterLayers;return a.sampleGrid(e,i,i,c,c,l,c,l,l,c,l,t.getX(),t.getY(),n.getX(),n.getY(),r.getX(),r.getY(),o.getX(),o.getY())},e.prototype.sampleLine=function(e,t,n){for(var r=0,o=this.distanceResultPoint(e,t),i=o/n,c=e.getX(),l=e.getY(),u=i*(t.getX()-e.getX())/o,s=i*(t.getY()-e.getY())/o,d=0;d<n;d++)this.image.get(a.a.round(c+d*u),a.a.round(l+d*s))&&(r|=1<<n-d-1);return r},e.prototype.isWhiteOrBlackRectangle=function(e,t,n,r){var o=3;e=new f(e.getX()-3,e.getY()+3),t=new f(t.getX()-3,t.getY()-3),n=new f(n.getX()+3,n.getY()-3),r=new f(r.getX()+3,r.getY()+3);var a=this.getColor(r,e);if(0===a)return!1;var i=this.getColor(e,t);return i===a&&((i=this.getColor(t,n))===a&&(i=this.getColor(n,r))===a)},e.prototype.getColor=function(e,t){for(var n=this.distancePoint(e,t),r=(t.getX()-e.getX())/n,o=(t.getY()-e.getY())/n,i=0,c=e.getX(),l=e.getY(),u=this.image.get(e.getX(),e.getY()),s=Math.ceil(n),d=0;d<s;d++)c+=r,l+=o,this.image.get(a.a.round(c),a.a.round(l))!==u&&i++;var f=i/n;return f>.1&&f<.9?0:f<=.1===u?1:-1},e.prototype.getFirstDifferent=function(e,t,n,r){for(var o=e.getX()+n,a=e.getY()+r;this.isValid(o,a)&&this.image.get(o,a)===t;)o+=n,a+=r;for(o-=n,a-=r;this.isValid(o,a)&&this.image.get(o,a)===t;)o+=n;for(o-=n;this.isValid(o,a)&&this.image.get(o,a)===t;)a+=r;return new f(o,a-=r)},e.prototype.expandSquare=function(e,t,n){var o=n/(2*t),a=e[0].getX()-e[2].getX(),i=e[0].getY()-e[2].getY(),c=(e[0].getX()+e[2].getX())/2,l=(e[0].getY()+e[2].getY())/2,u=new r.a(c+o*a,l+o*i),s=new r.a(c-o*a,l-o*i),d,f,h;return a=e[1].getX()-e[3].getX(),i=e[1].getY()-e[3].getY(),c=(e[1].getX()+e[3].getX())/2,l=(e[1].getY()+e[3].getY())/2,[u,new r.a(c+o*a,l+o*i),s,new r.a(c-o*a,l-o*i)]},e.prototype.isValid=function(e,t){return e>=0&&e<this.image.getWidth()&&t>0&&t<this.image.getHeight()},e.prototype.isValidPoint=function(e){var t=a.a.round(e.getX()),n=a.a.round(e.getY());return this.isValid(t,n)},e.prototype.distancePoint=function(e,t){return a.a.distance(e.getX(),e.getY(),t.getX(),t.getY())},e.prototype.distanceResultPoint=function(e,t){return a.a.distance(e.getX(),e.getY(),t.getX(),t.getY())},e.prototype.getDimension=function(){return this.compact?4*this.nbLayers+11:this.nbLayers<=4?4*this.nbLayers+15:4*this.nbLayers+2*(d.a.truncDivision(this.nbLayers-4,8)+1)+15},e}();t.b=h},function(e,t,n){"use strict";var r=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o,a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e,t,n,r,o,a,i,c){void 0===i&&(i=0),void 0===c&&(c=0),this.rectangular=e,this.dataCapacity=t,this.errorCodewords=n,this.matrixWidth=r,this.matrixHeight=o,this.dataRegions=a,this.rsBlockData=i,this.rsBlockError=c}return e.lookup=function(e,t,n,r,o){var i,c;void 0===t&&(t=0),void 0===n&&(n=null),void 0===r&&(r=null),void 0===o&&(o=!0);try{for(var u=a(l),s=u.next();!s.done;s=u.next()){var d=s.value;if((1!==t||!d.rectangular)&&((2!==t||d.rectangular)&&(null==n||!(d.getSymbolWidth()<n.getWidth()||d.getSymbolHeight()<n.getHeight()))&&(null==r||!(d.getSymbolWidth()>r.getWidth()||d.getSymbolHeight()>r.getHeight()))&&e<=d.dataCapacity))return d}}catch(e){i={error:e}}finally{try{s&&!s.done&&(c=u.return)&&c.call(u)}finally{if(i)throw i.error}}if(o)throw new Error("Can't find a symbol arrangement that matches the message. Data codewords: "+e);return null},e.prototype.getHorizontalDataRegions=function(){switch(this.dataRegions){case 1:return 1;case 2:case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},e.prototype.getVerticalDataRegions=function(){switch(this.dataRegions){case 1:case 2:return 1;case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},e.prototype.getSymbolDataWidth=function(){return this.getHorizontalDataRegions()*this.matrixWidth},e.prototype.getSymbolDataHeight=function(){return this.getVerticalDataRegions()*this.matrixHeight},e.prototype.getSymbolWidth=function(){return this.getSymbolDataWidth()+2*this.getHorizontalDataRegions()},e.prototype.getSymbolHeight=function(){return this.getSymbolDataHeight()+2*this.getVerticalDataRegions()},e.prototype.getCodewordCount=function(){return this.dataCapacity+this.errorCodewords},e.prototype.getInterleavedBlockCount=function(){return this.rsBlockData?this.dataCapacity/this.rsBlockData:1},e.prototype.getDataCapacity=function(){return this.dataCapacity},e.prototype.getErrorCodewords=function(){return this.errorCodewords},e.prototype.getDataLengthForInterleavedBlock=function(e){return this.rsBlockData},e.prototype.getErrorLengthForInterleavedBlock=function(e){return this.rsBlockError},e}();t.a=i;var c=function(e){function t(){return e.call(this,!1,1558,620,22,22,36,-1,62)||this}return r(t,e),t.prototype.getInterleavedBlockCount=function(){return 10},t.prototype.getDataLengthForInterleavedBlock=function(e){return e<=8?156:155},t}(i),l=[new i(!1,3,5,8,8,1),new i(!1,5,7,10,10,1),new i(!0,5,7,16,6,1),new i(!1,8,10,12,12,1),new i(!0,10,11,14,6,2),new i(!1,12,12,14,14,1),new i(!0,16,14,24,10,1),new i(!1,18,14,16,16,1),new i(!1,22,18,18,18,1),new i(!0,22,18,16,10,2),new i(!1,30,20,20,20,1),new i(!0,32,24,16,14,2),new i(!1,36,24,22,22,1),new i(!1,44,28,24,24,1),new i(!0,49,28,22,14,2),new i(!1,62,36,14,14,4),new i(!1,86,42,16,16,4),new i(!1,114,48,18,18,4),new i(!1,144,56,20,20,4),new i(!1,174,68,22,22,4),new i(!1,204,84,24,24,4,102,42),new i(!1,280,112,14,14,16,140,56),new i(!1,368,144,16,16,16,92,36),new i(!1,456,192,18,18,16,114,48),new i(!1,576,224,20,20,16,144,56),new i(!1,696,272,22,22,16,174,68),new i(!1,816,336,24,24,16,136,56),new i(!1,1050,408,18,18,36,175,68),new i(!1,1304,496,20,20,36,163,62),new c]},function(e,t,n){"use strict";var r=n(37),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ArithmeticException",t}(r.a);t.a=i},function(e,t,n){"use strict";var r=function(){function e(e,t,n,r,o,a,i,c,l){this.a11=e,this.a21=t,this.a31=n,this.a12=r,this.a22=o,this.a32=a,this.a13=i,this.a23=c,this.a33=l}return e.quadrilateralToQuadrilateral=function(t,n,r,o,a,i,c,l,u,s,d,f,h,p,v,m){var g=e.quadrilateralToSquare(t,n,r,o,a,i,c,l),b;return e.squareToQuadrilateral(u,s,d,f,h,p,v,m).times(g)},e.prototype.transformPoints=function(e){for(var t=e.length,n=this.a11,r=this.a12,o=this.a13,a=this.a21,i=this.a22,c=this.a23,l=this.a31,u=this.a32,s=this.a33,d=0;d<t;d+=2){var f=e[d],h=e[d+1],p=o*f+c*h+s;e[d]=(n*f+a*h+l)/p,e[d+1]=(r*f+i*h+u)/p}},e.prototype.transformPointsWithValues=function(e,t){for(var n=this.a11,r=this.a12,o=this.a13,a=this.a21,i=this.a22,c=this.a23,l=this.a31,u=this.a32,s=this.a33,d=e.length,f=0;f<d;f++){var h=e[f],p=t[f],v=o*h+c*p+s;e[f]=(n*h+a*p+l)/v,t[f]=(r*h+i*p+u)/v}},e.squareToQuadrilateral=function(t,n,r,o,a,i,c,l){var u=t-r+a-c,s=n-o+i-l;if(0===u&&0===s)return new e(r-t,a-r,t,o-n,i-o,n,0,0,1);var d=r-a,f=c-a,h=o-i,p=l-i,v=d*p-f*h,m=(u*p-f*s)/v,g=(d*s-u*h)/v;return new e(r-t+m*r,c-t+g*c,t,o-n+m*o,l-n+g*l,n,m,g,1)},e.quadrilateralToSquare=function(t,n,r,o,a,i,c,l){return e.squareToQuadrilateral(t,n,r,o,a,i,c,l).buildAdjoint()},e.prototype.buildAdjoint=function(){return new e(this.a22*this.a33-this.a23*this.a32,this.a23*this.a31-this.a21*this.a33,this.a21*this.a32-this.a22*this.a31,this.a13*this.a32-this.a12*this.a33,this.a11*this.a33-this.a13*this.a31,this.a12*this.a31-this.a11*this.a32,this.a12*this.a23-this.a13*this.a22,this.a13*this.a21-this.a11*this.a23,this.a11*this.a22-this.a12*this.a21)},e.prototype.times=function(t){return new e(this.a11*t.a11+this.a21*t.a12+this.a31*t.a13,this.a11*t.a21+this.a21*t.a22+this.a31*t.a23,this.a11*t.a31+this.a21*t.a32+this.a31*t.a33,this.a12*t.a11+this.a22*t.a12+this.a32*t.a13,this.a12*t.a21+this.a22*t.a22+this.a32*t.a23,this.a12*t.a31+this.a22*t.a32+this.a32*t.a33,this.a13*t.a11+this.a23*t.a12+this.a33*t.a13,this.a13*t.a21+this.a23*t.a22+this.a33*t.a23,this.a13*t.a31+this.a23*t.a32+this.a33*t.a33)},e}();t.a=r},function(e,t,n){"use strict";var r=n(129),o=function(){function e(e){this.information=e,this.generalDecoder=new r.a(e)}return e.prototype.getInformation=function(){return this.information},e.prototype.getGeneralDecoder=function(){return this.generalDecoder},e}();t.a=o},function(e,t,n){"use strict";var r=n(14),o=function(){function e(e){this.bytes=e,this.byteOffset=0,this.bitOffset=0}return e.prototype.getBitOffset=function(){return this.bitOffset},e.prototype.getByteOffset=function(){return this.byteOffset},e.prototype.readBits=function(e){if(e<1||e>32||e>this.available())throw new r.a(""+e);var t=0,n=this.bitOffset,o=this.byteOffset,a=this.bytes;if(n>0){var i=8-n,c=e<i?e:i,l,u=255>>8-c<<(l=i-c);t=(a[o]&u)>>l,e-=c,8===(n+=c)&&(n=0,o++)}if(e>0){for(;e>=8;)t=t<<8|255&a[o],o++,e-=8;if(e>0){var l,u=255>>(l=8-e)<<l;t=t<<e|(a[o]&u)>>l,n+=e}}return this.bitOffset=n,this.byteOffset=o,t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}();t.a=o},function(e,t,n){"use strict";var r=n(74),o=n(19),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e){this.errorCorrectionLevel=r.a.forBits(e>>3&3),this.dataMask=7&e}return e.numBitsDiffering=function(e,t){return o.a.bitCount(e^t)},e.decodeFormatInformation=function(t,n){var r=e.doDecodeFormatInformation(t,n);return null!==r?r:e.doDecodeFormatInformation(t^e.FORMAT_INFO_MASK_QR,n^e.FORMAT_INFO_MASK_QR)},e.doDecodeFormatInformation=function(t,n){var r,o,i=Number.MAX_SAFE_INTEGER,c=0;try{for(var l=a(e.FORMAT_INFO_DECODE_LOOKUP),u=l.next();!u.done;u=l.next()){var s=u.value,d=s[0];if(d===t||d===n)return new e(s[1]);var f=e.numBitsDiffering(t,d);f<i&&(c=s[1],i=f),t!==n&&(f=e.numBitsDiffering(n,d))<i&&(c=s[1],i=f)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}return i<=3?new e(c):null},e.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},e.prototype.getDataMask=function(){return this.dataMask},e.prototype.hashCode=function(){return this.errorCorrectionLevel.getBits()<<3|this.dataMask},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.errorCorrectionLevel===n.errorCorrectionLevel&&this.dataMask===n.dataMask},e.FORMAT_INFO_MASK_QR=21522,e.FORMAT_INFO_DECODE_LOOKUP=[Int32Array.from([21522,0]),Int32Array.from([20773,1]),Int32Array.from([24188,2]),Int32Array.from([23371,3]),Int32Array.from([17913,4]),Int32Array.from([16590,5]),Int32Array.from([20375,6]),Int32Array.from([19104,7]),Int32Array.from([30660,8]),Int32Array.from([29427,9]),Int32Array.from([32170,10]),Int32Array.from([30877,11]),Int32Array.from([26159,12]),Int32Array.from([25368,13]),Int32Array.from([27713,14]),Int32Array.from([26998,15]),Int32Array.from([5769,16]),Int32Array.from([5054,17]),Int32Array.from([7399,18]),Int32Array.from([6608,19]),Int32Array.from([1890,20]),Int32Array.from([597,21]),Int32Array.from([3340,22]),Int32Array.from([2107,23]),Int32Array.from([13663,24]),Int32Array.from([12392,25]),Int32Array.from([16177,26]),Int32Array.from([14854,27]),Int32Array.from([9396,28]),Int32Array.from([8579,29]),Int32Array.from([11994,30]),Int32Array.from([11245,31])],e}();t.a=i},function(e,t,n){"use strict";var r=n(62),o=n(24),a=n(14),i=function(){function e(e){this.field=e,this.cachedGenerators=[],this.cachedGenerators.push(new r.a(e,Int32Array.from([1])))}return e.prototype.buildGenerator=function(e){var t=this.cachedGenerators;if(e>=t.length)for(var n=t[t.length-1],o=this.field,a=t.length;a<=e;a++){var i=n.multiply(new r.a(o,Int32Array.from([1,o.exp(a-1+o.getGeneratorBase())])));t.push(i),n=i}return t[e]},e.prototype.encode=function(e,t){if(0===t)throw new a.a("No error correction bytes");var n=e.length-t;if(n<=0)throw new a.a("No data bytes provided");var i=this.buildGenerator(t),c=new Int32Array(n);o.a.arraycopy(e,0,c,0,n);for(var l=new r.a(this.field,c),u,s=(l=l.multiplyByMonomial(t,1)).divide(i)[1].getCoefficients(),d=t-s.length,f=0;f<d;f++)e[n+f]=0;o.a.arraycopy(s,0,e,n+d,s.length)},e}();t.a=i},function(e,t,n){"use strict";var r=n(34),o=n(18),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e,t){this.width=e,this.height=t;for(var n=new Array(t),r=0;r!==t;r++)n[r]=new Uint8Array(e);this.bytes=n}return e.prototype.getHeight=function(){return this.height},e.prototype.getWidth=function(){return this.width},e.prototype.get=function(e,t){return this.bytes[t][e]},e.prototype.getArray=function(){return this.bytes},e.prototype.setNumber=function(e,t,n){this.bytes[t][e]=n},e.prototype.setBoolean=function(e,t,n){this.bytes[t][e]=n?1:0},e.prototype.clear=function(e){var t,n;try{for(var o=a(this.bytes),i=o.next();!i.done;i=o.next()){var c=i.value;r.a.fill(c,e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;if(this.width!==n.width)return!1;if(this.height!==n.height)return!1;for(var r=0,o=this.height;r<o;++r)for(var a=this.bytes[r],i=n.bytes[r],c=0,l=this.width;c<l;++c)if(a[c]!==i[c])return!1;return!0},e.prototype.toString=function(){for(var e=new o.a,t=0,n=this.height;t<n;++t){for(var r=this.bytes[t],a=0,i=this.width;a<i;++a)switch(r[a]){case 0:e.append(" 0");break;case 1:e.append(" 1");break;default:e.append(" ")}e.append("\n")}return e.toString()},e}();t.a=i},function(e,t,n){"use strict";var r=n(43),o=function(){function e(){}return e.ISO_8859_1=r.a.ISO8859_1,e}();t.a=o},function(e,t,n){"use strict";var r=n(29),o=n(42),a=n(43),i=n(47),c=n(122),l=n(39),u=n(64),s=n(77),d=n(123),f=n(98),h=n(148),p=n(51),v,m=function(){function e(e,t){this.dataBytes=e,this.errorCorrectionBytes=t}return e.prototype.getDataBytes=function(){return this.dataBytes},e.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},e}(),g=n(40),b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},y=function(){function e(){}return e.calculateMaskPenalty=function(e){return s.a.applyMaskPenaltyRule1(e)+s.a.applyMaskPenaltyRule2(e)+s.a.applyMaskPenaltyRule3(e)+s.a.applyMaskPenaltyRule4(e)},e.encode=function(t,n,i){void 0===i&&(i=null);var c=e.DEFAULT_BYTE_MODE_ENCODING,s=null!==i&&void 0!==i.get(r.a.CHARACTER_SET);s&&(c=i.get(r.a.CHARACTER_SET).toString());var p=this.chooseMode(t,c),v=new o.a;if(p===l.a.BYTE&&(s||e.DEFAULT_BYTE_MODE_ENCODING!==c)){var m=a.a.getCharacterSetECIByName(c);void 0!==m&&this.appendECI(m,v)}this.appendModeInfo(p,v);var b=new o.a,y;if(this.appendBytes(t,p,b,c),null!==i&&void 0!==i.get(r.a.QR_VERSION)){var w=Number.parseInt(i.get(r.a.QR_VERSION).toString(),10);y=u.a.getVersionForNumber(w);var O=this.calculateBitsNeeded(p,v,b,y);if(!this.willFit(O,y,n))throw new g.a("Data too big for requested version")}else y=this.recommendVersion(n,p,v,b);var M=new o.a;M.appendBitArray(v);var A=p===l.a.BYTE?b.getSizeInBytes():t.length;this.appendLengthInfo(A,y,p,M),M.appendBitArray(b);var j=y.getECBlocksForLevel(n),x=y.getTotalCodewords()-j.getTotalECCodewords();this.terminateBits(x,M);var S=this.interleaveWithECBytes(M,y.getTotalCodewords(),x,j.getNumBlocks()),E=new f.a;E.setECLevel(n),E.setMode(p),E.setVersion(y);var C=y.getDimensionForVersion(),T=new d.a(C,C),D=this.chooseMaskPattern(S,n,y,T);return E.setMaskPattern(D),h.a.buildMatrix(S,n,y,D,T),E.setMatrix(T),E},e.recommendVersion=function(e,t,n,r){var o=this.calculateBitsNeeded(t,n,r,u.a.getVersionForNumber(1)),a=this.chooseVersion(o,e),i=this.calculateBitsNeeded(t,n,r,a);return this.chooseVersion(i,e)},e.calculateBitsNeeded=function(e,t,n,r){return t.getSize()+e.getCharacterCountBits(r)+n.getSize()},e.getAlphanumericCode=function(t){return t<e.ALPHANUMERIC_TABLE.length?e.ALPHANUMERIC_TABLE[t]:-1},e.chooseMode=function(t,n){if(void 0===n&&(n=null),a.a.SJIS.getName()===n&&this.isOnlyDoubleByteKanji(t))return l.a.KANJI;for(var r=!1,o=!1,i=0,c=t.length;i<c;++i){var u=t.charAt(i);if(e.isDigit(u))r=!0;else{if(-1===this.getAlphanumericCode(u.charCodeAt(0)))return l.a.BYTE;o=!0}}return o?l.a.ALPHANUMERIC:r?l.a.NUMERIC:l.a.BYTE},e.isOnlyDoubleByteKanji=function(e){var t;try{t=p.a.encode(e,a.a.SJIS)}catch(e){return!1}var n=t.length;if(n%2!=0)return!1;for(var r=0;r<n;r+=2){var o=255&t[r];if((o<129||o>159)&&(o<224||o>235))return!1}return!0},e.chooseMaskPattern=function(e,t,n,r){for(var o=Number.MAX_SAFE_INTEGER,a=-1,i=0;i<f.a.NUM_MASK_PATTERNS;i++){h.a.buildMatrix(e,t,n,i,r);var c=this.calculateMaskPenalty(r);c<o&&(o=c,a=i)}return a},e.chooseVersion=function(t,n){for(var r=1;r<=40;r++){var o=u.a.getVersionForNumber(r);if(e.willFit(t,o,n))return o}throw new g.a("Data too big")},e.willFit=function(e,t,n){var r,o,a,i,c;return t.getTotalCodewords()-t.getECBlocksForLevel(n).getTotalECCodewords()>=(e+7)/8},e.terminateBits=function(e,t){var n=8*e;if(t.getSize()>n)throw new g.a("data bits cannot fit in the QR Code"+t.getSize()+" > "+n);for(var r=0;r<4&&t.getSize()<n;++r)t.appendBit(!1);var o=7&t.getSize();if(o>0)for(var r=o;r<8;r++)t.appendBit(!1);for(var a=e-t.getSizeInBytes(),r=0;r<a;++r)t.appendBits(0==(1&r)?236:17,8);if(t.getSize()!==n)throw new g.a("Bits size does not equal capacity")},e.getNumDataBytesAndNumECBytesForBlockID=function(e,t,n,r,o,a){if(r>=n)throw new g.a("Block ID too large");var i=e%n,c=n-i,l=Math.floor(e/n),u=l+1,s=Math.floor(t/n),d=s+1,f=l-s,h=u-d;if(f!==h)throw new g.a("EC bytes mismatch");if(n!==c+i)throw new g.a("RS blocks mismatch");if(e!==(s+f)*c+(d+h)*i)throw new g.a("Total bytes mismatch");r<c?(o[0]=s,a[0]=f):(o[0]=d,a[0]=h)},e.interleaveWithECBytes=function(t,n,r,a){var i,c,l,u;if(t.getSizeInBytes()!==r)throw new g.a("Number of bits and data bytes does not match");for(var s=0,d=0,f=0,h=new Array,p=0;p<a;++p){var v=new Int32Array(1),y=new Int32Array(1);e.getNumDataBytesAndNumECBytesForBlockID(n,r,a,p,v,y);var w=v[0],O=new Uint8Array(w);t.toBytes(8*s,O,0,w);var M=e.generateECBytes(O,y[0]);h.push(new m(O,M)),d=Math.max(d,w),f=Math.max(f,M.length),s+=v[0]}if(r!==s)throw new g.a("Data bytes does not match offset");for(var A=new o.a,p=0;p<d;++p)try{for(var j=(i=void 0,b(h)),x=j.next();!x.done;x=j.next()){var S,O;p<(O=(S=x.value).getDataBytes()).length&&A.appendBits(O[p],8)}}catch(e){i={error:e}}finally{try{x&&!x.done&&(c=j.return)&&c.call(j)}finally{if(i)throw i.error}}for(var p=0;p<f;++p)try{for(var E=(l=void 0,b(h)),C=E.next();!C.done;C=E.next()){var S,M;p<(M=(S=C.value).getErrorCorrectionBytes()).length&&A.appendBits(M[p],8)}}catch(e){l={error:e}}finally{try{C&&!C.done&&(u=E.return)&&u.call(E)}finally{if(l)throw l.error}}if(n!==A.getSizeInBytes())throw new g.a("Interleaving error: "+n+" and "+A.getSizeInBytes()+" differ.");return A},e.generateECBytes=function(e,t){for(var n=e.length,r=new Int32Array(n+t),o=0;o<n;o++)r[o]=255&e[o];new c.a(i.a.QR_CODE_FIELD_256).encode(r,t);for(var a=new Uint8Array(t),o=0;o<t;o++)a[o]=r[n+o];return a},e.appendModeInfo=function(e,t){t.appendBits(e.getBits(),4)},e.appendLengthInfo=function(e,t,n,r){var o=n.getCharacterCountBits(t);if(e>=1<<o)throw new g.a(e+" is bigger than "+((1<<o)-1));r.appendBits(e,o)},e.appendBytes=function(t,n,r,o){switch(n){case l.a.NUMERIC:e.appendNumericBytes(t,r);break;case l.a.ALPHANUMERIC:e.appendAlphanumericBytes(t,r);break;case l.a.BYTE:e.append8BitBytes(t,r,o);break;case l.a.KANJI:e.appendKanjiBytes(t,r);break;default:throw new g.a("Invalid mode: "+n)}},e.getDigit=function(e){return e.charCodeAt(0)-48},e.isDigit=function(t){var n=e.getDigit(t);return n>=0&&n<=9},e.appendNumericBytes=function(t,n){for(var r=t.length,o=0;o<r;){var a=e.getDigit(t.charAt(o));if(o+2<r){var i=e.getDigit(t.charAt(o+1)),c=e.getDigit(t.charAt(o+2));n.appendBits(100*a+10*i+c,10),o+=3}else if(o+1<r){var i=e.getDigit(t.charAt(o+1));n.appendBits(10*a+i,7),o+=2}else n.appendBits(a,4),o++}},e.appendAlphanumericBytes=function(t,n){for(var r=t.length,o=0;o<r;){var a=e.getAlphanumericCode(t.charCodeAt(o));if(-1===a)throw new g.a;if(o+1<r){var i=e.getAlphanumericCode(t.charCodeAt(o+1));if(-1===i)throw new g.a;n.appendBits(45*a+i,11),o+=2}else n.appendBits(a,6),o++}},e.append8BitBytes=function(e,t,n){var r;try{r=p.a.encode(e,n)}catch(e){throw new g.a(e)}for(var o=0,a=r.length;o!==a;o++){var i=r[o];t.appendBits(i,8)}},e.appendKanjiBytes=function(e,t){var n;try{n=p.a.encode(e,a.a.SJIS)}catch(e){throw new g.a(e)}for(var r=n.length,o=0;o<r;o+=2){var i,c,l=(255&n[o])<<8&4294967295|255&n[o+1],u=-1;if(l>=33088&&l<=40956?u=l-33088:l>=57408&&l<=60351&&(u=l-49472),-1===u)throw new g.a("Invalid byte sequence");var s=192*(u>>8)+(255&u);t.appendBits(s,13)}},e.appendECI=function(e,t){t.appendBits(l.a.ECI.getBits(),4),t.appendBits(e.getValue(),8)},e.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),e.DEFAULT_BYTE_MODE_ENCODING=a.a.UTF8.getName(),e}(),w=t.a=y},function(e,t,n){"use strict";var r=n(37),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="IndexOutOfBoundsException",t}(r.a);t.a=i},function(e,t,n){"use strict";var r=n(42),o=n(14),a=n(20),i=n(41),c=n(188),l=n(122),u=n(47),s=n(190),d=n(19),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function e(){}return e.encodeBytes=function(t){return e.encode(t,e.DEFAULT_EC_PERCENT,e.DEFAULT_AZTEC_LAYERS)},e.encode=function(t,n,r){var l=new s.a(t).encode(),u=d.a.truncDivision(l.getSize()*n,100)+11,f=l.getSize()+u,h,p,v,m,g;if(r!==e.DEFAULT_AZTEC_LAYERS){if(h=r<0,(p=Math.abs(r))>(h?e.MAX_NB_BITS_COMPACT:e.MAX_NB_BITS))throw new o.a(a.a.format("Illegal value %s for layers",r));var b=(v=e.totalBitsInLayer(p,h))-v%(m=e.WORD_SIZE[p]);if((g=e.stuffBits(l,m)).getSize()+u>b)throw new o.a("Data to large for user specified layer");if(h&&g.getSize()>64*m)throw new o.a("Data to large for user specified layer")}else{m=0,g=null;for(var y=0;;y++){if(y>e.MAX_NB_BITS)throw new o.a("Data too large for an Aztec code");if(p=(h=y<=3)?y+1:y,!(f>(v=e.totalBitsInLayer(p,h)))){null!=g&&m===e.WORD_SIZE[p]||(m=e.WORD_SIZE[p],g=e.stuffBits(l,m));var b=v-v%m;if(!(h&&g.getSize()>64*m)&&g.getSize()+u<=b)break}}}var w=e.generateCheckWords(g,v,m),O=g.getSize()/m,M=e.generateModeMessage(h,p,O),A=(h?11:14)+4*p,j=new Int32Array(A),x;if(h){x=A;for(var y=0;y<j.length;y++)j[y]=y}else{x=A+1+2*d.a.truncDivision(d.a.truncDivision(A,2)-1,15);for(var S=d.a.truncDivision(A,2),E=d.a.truncDivision(x,2),y=0;y<S;y++){var C=y+d.a.truncDivision(y,15);j[S-y-1]=E-C-1,j[S+y]=E+C+1}}for(var T=new i.a(x),y=0,D=0;y<p;y++){for(var _=4*(p-y)+(h?9:12),z=0;z<_;z++)for(var I=2*z,P=0;P<2;P++)w.get(D+I+P)&&T.set(j[2*y+P],j[2*y+z]),w.get(D+2*_+I+P)&&T.set(j[2*y+z],j[A-1-2*y-P]),w.get(D+4*_+I+P)&&T.set(j[A-1-2*y-P],j[A-1-2*y-z]),w.get(D+6*_+I+P)&&T.set(j[A-1-2*y-z],j[2*y+P]);D+=8*_}if(e.drawModeMessage(T,h,x,M),h)e.drawBullsEye(T,d.a.truncDivision(x,2),5);else{e.drawBullsEye(T,d.a.truncDivision(x,2),7);for(var y=0,z=0;y<d.a.truncDivision(A,2)-1;y+=15,z+=16)for(var P=1&d.a.truncDivision(x,2);P<x;P+=2)T.set(d.a.truncDivision(x,2)-z,P),T.set(d.a.truncDivision(x,2)+z,P),T.set(P,d.a.truncDivision(x,2)-z),T.set(P,d.a.truncDivision(x,2)+z)}var N=new c.a;return N.setCompact(h),N.setSize(x),N.setLayers(p),N.setCodeWords(O),N.setMatrix(T),N},e.drawBullsEye=function(e,t,n){for(var r=0;r<n;r+=2)for(var o=t-r;o<=t+r;o++)e.set(o,t-r),e.set(o,t+r),e.set(t-r,o),e.set(t+r,o);e.set(t-n,t-n),e.set(t-n+1,t-n),e.set(t-n,t-n+1),e.set(t+n,t-n),e.set(t+n,t-n+1),e.set(t+n,t+n-1)},e.generateModeMessage=function(t,n,o){var a=new r.a;return t?(a.appendBits(n-1,2),a.appendBits(o-1,6),a=e.generateCheckWords(a,28,4)):(a.appendBits(n-1,5),a.appendBits(o-1,11),a=e.generateCheckWords(a,40,4)),a},e.drawModeMessage=function(e,t,n,r){var o=d.a.truncDivision(n,2);if(t)for(var a=0;a<7;a++){var i=o-3+a;r.get(a)&&e.set(i,o-5),r.get(a+7)&&e.set(o+5,i),r.get(20-a)&&e.set(i,o+5),r.get(27-a)&&e.set(o-5,i)}else for(var a=0;a<10;a++){var i=o-5+a+d.a.truncDivision(a,5);r.get(a)&&e.set(i,o-7),r.get(a+10)&&e.set(o+7,i),r.get(29-a)&&e.set(i,o+7),r.get(39-a)&&e.set(o-7,i)}},e.generateCheckWords=function(t,n,o){var a,i,c=t.getSize()/o,u=new l.a(e.getGF(o)),s=d.a.truncDivision(n,o),h=e.bitsToWords(t,o,s);u.encode(h,s-c);var p=n%o,v=new r.a;v.appendBits(0,p);try{for(var m=f(Array.from(h)),g=m.next();!g.done;g=m.next()){var b=g.value;v.appendBits(b,o)}}catch(e){a={error:e}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(a)throw a.error}}return v},e.bitsToWords=function(e,t,n){var r=new Int32Array(n),o,a;for(o=0,a=e.getSize()/t;o<a;o++){for(var i=0,c=0;c<t;c++)i|=e.get(o*t+c)?1<<t-c-1:0;r[o]=i}return r},e.getGF=function(e){switch(e){case 4:return u.a.AZTEC_PARAM;case 6:return u.a.AZTEC_DATA_6;case 8:return u.a.AZTEC_DATA_8;case 10:return u.a.AZTEC_DATA_10;case 12:return u.a.AZTEC_DATA_12;default:throw new o.a("Unsupported word size "+e)}},e.stuffBits=function(e,t){for(var n=new r.a,o=e.getSize(),a=(1<<t)-2,i=0;i<o;i+=t){for(var c=0,l=0;l<t;l++)(i+l>=o||e.get(i+l))&&(c|=1<<t-1-l);(c&a)===a?(n.appendBits(c&a,t),i--):0==(c&a)?(n.appendBits(1|c,t),i--):n.appendBits(c,t)}return n},e.totalBitsInLayer=function(e,t){return((t?88:112)+16*e)*e},e.DEFAULT_EC_PERCENT=33,e.DEFAULT_AZTEC_LAYERS=0,e.MAX_NB_BITS=32,e.MAX_NB_BITS_COMPACT=4,e.WORD_SIZE=Int32Array.from([4,6,6,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,12,12]),e}();t.a=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isWxApp=t.isIOS=t.isWx=t.checkEnv=t.isIos=t.isAndroid=t.isMobile=t.isIpad=void 0;var r="undefined"!=typeof window&&window.document,o=function e(){var t=navigator.userAgent,n=-1!=t.indexOf("Safari")&&-1!=t.indexOf("Version"),r=-1!=t.indexOf("iPhone")&&-1!=t.indexOf("Version"),o=n&&!r&&"ontouchend"in document;return!(!/iphone|ios|ipad|android|mobile/i.test(navigator.userAgent.toLowerCase())&&!o)};t.isIpad=o;var a=function e(){var n=window.navigator.userAgent.toLowerCase(),r="ipad"==n.match(/ipad/i),o="iphone os"==n.match(/iphone os/i),a="midp"==n.match(/midp/i),i="rv:1.2.3.4"==n.match(/rv:1.2.3.4/i),c="ucweb"==n.match(/ucweb/i),l="android"==n.match(/android/i),u="windows ce"==n.match(/windows ce/i),s="windows mobile"==n.match(/windows mobile/i);return!!(r||o||a||i||c||l||u||s||(0,t.isIpad)())};t.isMobile=a;var i=function e(){return-1!==navigator.userAgent.toLowerCase().indexOf("android")};t.isAndroid=i;var c=function e(){return/iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())};t.isIos=c;var l=function e(){var t=0,n=window.navigator.userAgent,r=n.indexOf("Opera")>-1||n.indexOf("OPR")>-1,o=n.indexOf("compatible")>-1&&n.indexOf("MSIE")>-1,a=-1===n.indexOf("compatible")&&n.indexOf("Trident")>-1,i=n.indexOf("Edge")>-1,c=n.indexOf("Firefox")>-1,l=n.indexOf("Safari")>-1&&-1===n.indexOf("Chrome"),u=n.indexOf("Chrome")>-1&&n.indexOf("; Win")>-1&&n.indexOf("Safari")>-1;return t=r||o||a||i||c||l||u?0:1};t.checkEnv=l;var u=function e(){if(r){var t="";return r&&(t=window.navigator.userAgent.toLowerCase()),"micromessenger"==t.match(/MicroMessenger/i)}return!1};t.isWx=u;var s=function e(){var t,n;return!!r&&!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)};t.isIOS=s;var d=function e(){var t,n;return!!r&&-1!==navigator.userAgent.indexOf("miniProgram")};t.isWxApp=d;var f=function e(){if(r){var t=window.navigator.userAgent;return t.indexOf("Safari")>-1&&-1===t.indexOf("Chrome")&&-1===t.indexOf("CriOS")&&-1===t.indexOf("ChannelName/Feishu")}return!1};t.isSafari=f},function(e,t,n){"use strict";var r=n(12),o=n(53),a=n(18),i,c=function(){function e(e,t){t?this.decodedInformation=null:(this.finished=e,this.decodedInformation=t)}return e.prototype.getDecodedInformation=function(){return this.decodedInformation},e.prototype.isFinished=function(){return this.finished},e}(),l,u=function(){function e(e){this.newPosition=e}return e.prototype.getNewPosition=function(){return this.newPosition},e}(),s=(d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d,f,h=function(e){function t(t,n){var r=e.call(this,t)||this;return r.value=n,r}return s(t,e),t.prototype.getValue=function(){return this.value},t.prototype.isFNC1=function(){return this.value===t.FNC1},t.FNC1="$",t}(u),p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),v,m=function(e){function t(t,n,r){var o=e.call(this,t)||this;return r?(o.remaining=!0,o.remainingValue=o.remainingValue):(o.remaining=!1,o.remainingValue=0),o.newString=n,o}return p(t,e),t.prototype.getNewString=function(){return this.newString},t.prototype.isRemaining=function(){return this.remaining},t.prototype.getRemainingValue=function(){return this.remainingValue},t}(u),g=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b,y=function(e){function t(t,n,o){var a=e.call(this,t)||this;if(n<0||n>10||o<0||o>10)throw new r.a;return a.firstDigit=n,a.secondDigit=o,a}return g(t,e),t.prototype.getFirstDigit=function(){return this.firstDigit},t.prototype.getSecondDigit=function(){return this.secondDigit},t.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},t.prototype.isFirstDigitFNC1=function(){return this.firstDigit===t.FNC1},t.prototype.isSecondDigitFNC1=function(){return this.secondDigit===t.FNC1},t.prototype.isAnyFNC1=function(){return this.firstDigit===t.FNC1||this.secondDigit===t.FNC1},t.FNC1=10,t}(u),w=n(8),O=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},M,A=function(){function e(){}return e.parseFieldsInGeneralPurpose=function(t){var n,r,o,a,i,c,l,u;if(!t)return null;if(t.length<2)throw new w.a;var s=t.substring(0,2);try{for(var d=O(e.TWO_DIGIT_DATA_LENGTH),f=d.next();!f.done;f=d.next()){var h;if((h=f.value)[0]===s)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(2,h[2],t):e.processFixedAI(2,h[1],t)}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}if(t.length<3)throw new w.a;var p=t.substring(0,3);try{for(var v=O(e.THREE_DIGIT_DATA_LENGTH),m=v.next();!m.done;m=v.next()){var h;if((h=m.value)[0]===p)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(3,h[2],t):e.processFixedAI(3,h[1],t)}}catch(e){o={error:e}}finally{try{m&&!m.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}try{for(var g=O(e.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),b=g.next();!b.done;b=g.next()){var h;if((h=b.value)[0]===p)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,h[2],t):e.processFixedAI(4,h[1],t)}}catch(e){i={error:e}}finally{try{b&&!b.done&&(c=g.return)&&c.call(g)}finally{if(i)throw i.error}}if(t.length<4)throw new w.a;var y=t.substring(0,4);try{for(var M=O(e.FOUR_DIGIT_DATA_LENGTH),A=M.next();!A.done;A=M.next()){var h;if((h=A.value)[0]===y)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,h[2],t):e.processFixedAI(4,h[1],t)}}catch(e){l={error:e}}finally{try{A&&!A.done&&(u=M.return)&&u.call(M)}finally{if(l)throw l.error}}throw new w.a},e.processFixedAI=function(t,n,r){if(r.length<t)throw new w.a;var o=r.substring(0,t);if(r.length<t+n)throw new w.a;var a=r.substring(t,t+n),i=r.substring(t+n),c="("+o+")"+a,l=e.parseFieldsInGeneralPurpose(i);return null==l?c:c+l},e.processVariableAI=function(t,n,r){var o=r.substring(0,t),a;a=r.length<t+n?r.length:t+n;var i=r.substring(t,a),c=r.substring(a),l="("+o+")"+i,u=e.parseFieldsInGeneralPurpose(c);return null==u?l:l+u},e.VARIABLE_LENGTH=[],e.TWO_DIGIT_DATA_LENGTH=[["00",18],["01",14],["02",14],["10",e.VARIABLE_LENGTH,20],["11",6],["12",6],["13",6],["15",6],["17",6],["20",2],["21",e.VARIABLE_LENGTH,20],["22",e.VARIABLE_LENGTH,29],["30",e.VARIABLE_LENGTH,8],["37",e.VARIABLE_LENGTH,8],["90",e.VARIABLE_LENGTH,30],["91",e.VARIABLE_LENGTH,30],["92",e.VARIABLE_LENGTH,30],["93",e.VARIABLE_LENGTH,30],["94",e.VARIABLE_LENGTH,30],["95",e.VARIABLE_LENGTH,30],["96",e.VARIABLE_LENGTH,30],["97",e.VARIABLE_LENGTH,3],["98",e.VARIABLE_LENGTH,30],["99",e.VARIABLE_LENGTH,30]],e.THREE_DIGIT_DATA_LENGTH=[["240",e.VARIABLE_LENGTH,30],["241",e.VARIABLE_LENGTH,30],["242",e.VARIABLE_LENGTH,6],["250",e.VARIABLE_LENGTH,30],["251",e.VARIABLE_LENGTH,30],["253",e.VARIABLE_LENGTH,17],["254",e.VARIABLE_LENGTH,20],["400",e.VARIABLE_LENGTH,30],["401",e.VARIABLE_LENGTH,30],["402",17],["403",e.VARIABLE_LENGTH,30],["410",13],["411",13],["412",13],["413",13],["414",13],["420",e.VARIABLE_LENGTH,20],["421",e.VARIABLE_LENGTH,15],["422",3],["423",e.VARIABLE_LENGTH,15],["424",3],["425",3],["426",3]],e.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH=[["310",6],["311",6],["312",6],["313",6],["314",6],["315",6],["316",6],["320",6],["321",6],["322",6],["323",6],["324",6],["325",6],["326",6],["327",6],["328",6],["329",6],["330",6],["331",6],["332",6],["333",6],["334",6],["335",6],["336",6],["340",6],["341",6],["342",6],["343",6],["344",6],["345",6],["346",6],["347",6],["348",6],["349",6],["350",6],["351",6],["352",6],["353",6],["354",6],["355",6],["356",6],["357",6],["360",6],["361",6],["362",6],["363",6],["364",6],["365",6],["366",6],["367",6],["368",6],["369",6],["390",e.VARIABLE_LENGTH,15],["391",e.VARIABLE_LENGTH,18],["392",e.VARIABLE_LENGTH,15],["393",e.VARIABLE_LENGTH,18],["703",e.VARIABLE_LENGTH,30]],e.FOUR_DIGIT_DATA_LENGTH=[["7001",13],["7002",e.VARIABLE_LENGTH,30],["7003",10],["8001",14],["8002",e.VARIABLE_LENGTH,20],["8003",e.VARIABLE_LENGTH,30],["8004",e.VARIABLE_LENGTH,30],["8005",6],["8006",18],["8007",e.VARIABLE_LENGTH,30],["8008",e.VARIABLE_LENGTH,12],["8018",18],["8020",e.VARIABLE_LENGTH,25],["8100",6],["8101",10],["8102",2],["8110",e.VARIABLE_LENGTH,70],["8200",e.VARIABLE_LENGTH,70]],e}(),j=function(){function e(e){this.buffer=new a.a,this.information=e}return e.prototype.decodeAllCodes=function(e,t){for(var n=t,r=null;;){var o=this.decodeGeneralPurposeField(n,r),a=A.parseFieldsInGeneralPurpose(o.getNewString());if(null!=a&&e.append(a),r=o.isRemaining()?""+o.getRemainingValue():null,n===o.getNewPosition())break;n=o.getNewPosition()}return e.toString()},e.prototype.isStillNumeric=function(e){if(e+7>this.information.getSize())return e+4<=this.information.getSize();for(var t=e;t<e+3;++t)if(this.information.get(t))return!0;return this.information.get(e+3)},e.prototype.decodeNumeric=function(e){if(e+7>this.information.getSize()){var t=this.extractNumericValueFromBitArray(e,4);return new y(this.information.getSize(),0===t?y.FNC1:t-1,y.FNC1)}var n=this.extractNumericValueFromBitArray(e,7),r,o;return new y(e+7,(n-8)/11,(n-8)%11)},e.prototype.extractNumericValueFromBitArray=function(t,n){return e.extractNumericValueFromBitArray(this.information,t,n)},e.extractNumericValueFromBitArray=function(e,t,n){for(var r=0,o=0;o<n;++o)e.get(t+o)&&(r|=1<<n-o-1);return r},e.prototype.decodeGeneralPurposeField=function(e,t){this.buffer.setLengthToZero(),null!=t&&this.buffer.append(t),this.current.setPosition(e);var n=this.parseBlocks();return null!=n&&n.isRemaining()?new m(this.current.getPosition(),this.buffer.toString(),n.getRemainingValue()):new m(this.current.getPosition(),this.buffer.toString())},e.prototype.parseBlocks=function(){var e,t;do{var n=this.current.getPosition(),r;if(e=this.current.isAlpha()?(t=this.parseAlphaBlock()).isFinished():this.current.isIsoIec646()?(t=this.parseIsoIec646Block()).isFinished():(t=this.parseNumericBlock()).isFinished(),!(n!==this.current.getPosition())&&!e)break}while(!e);return t.getDecodedInformation()},e.prototype.parseNumericBlock=function(){for(;this.isStillNumeric(this.current.getPosition());){var e=this.decodeNumeric(this.current.getPosition());if(this.current.setPosition(e.getNewPosition()),e.isFirstDigitFNC1()){var t=void 0;return t=e.isSecondDigitFNC1()?new m(this.current.getPosition(),this.buffer.toString()):new m(this.current.getPosition(),this.buffer.toString(),e.getSecondDigit()),new c(!0,t)}if(this.buffer.append(e.getFirstDigit()),e.isSecondDigitFNC1()){var t=new m(this.current.getPosition(),this.buffer.toString());return new c(!0,t)}this.buffer.append(e.getSecondDigit())}return this.isNumericToAlphaNumericLatch(this.current.getPosition())&&(this.current.setAlpha(),this.current.incrementPosition(4)),new c(!1)},e.prototype.parseIsoIec646Block=function(){for(;this.isStillIsoIec646(this.current.getPosition());){var e=this.decodeIsoIec646(this.current.getPosition());if(this.current.setPosition(e.getNewPosition()),e.isFNC1()){var t=new m(this.current.getPosition(),this.buffer.toString());return new c(!0,t)}this.buffer.append(e.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setAlpha()),new c(!1)},e.prototype.parseAlphaBlock=function(){for(;this.isStillAlpha(this.current.getPosition());){var e=this.decodeAlphanumeric(this.current.getPosition());if(this.current.setPosition(e.getNewPosition()),e.isFNC1()){var t=new m(this.current.getPosition(),this.buffer.toString());return new c(!0,t)}this.buffer.append(e.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setIsoIec646()),new c(!1)},e.prototype.isStillIsoIec646=function(e){if(e+5>this.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+7>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,7);if(n>=64&&n<116)return!0;if(e+8>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(e,8);return r>=232&&r<253},e.prototype.decodeIsoIec646=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new h(e+5,h.FNC1);if(t>=5&&t<15)return new h(e+5,"0"+(t-5));var n=this.extractNumericValueFromBitArray(e,7),o,a;if(n>=64&&n<90)return new h(e+7,""+(n+1));if(n>=90&&n<116)return new h(e+7,""+(n+7));switch(this.extractNumericValueFromBitArray(e,8)){case 232:a="!";break;case 233:a='"';break;case 234:a="%";break;case 235:a="&";break;case 236:a="'";break;case 237:a="(";break;case 238:a=")";break;case 239:a="*";break;case 240:a="+";break;case 241:a=",";break;case 242:a="-";break;case 243:a=".";break;case 244:a="/";break;case 245:a=":";break;case 246:a=";";break;case 247:a="<";break;case 248:a="=";break;case 249:a=">";break;case 250:a="?";break;case 251:a="_";break;case 252:a=" ";break;default:throw new r.a}return new h(e+8,a)},e.prototype.isStillAlpha=function(e){if(e+5>this.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+6>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,6);return n>=16&&n<63},e.prototype.decodeAlphanumeric=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new h(e+5,h.FNC1);if(t>=5&&t<15)return new h(e+5,"0"+(t-5));var n=this.extractNumericValueFromBitArray(e,6),r;if(n>=32&&n<58)return new h(e+6,""+(n+33));switch(n){case 58:r="*";break;case 59:r=",";break;case 60:r="-";break;case 61:r=".";break;case 62:r="/";break;default:throw new o.a("Decoding invalid alphanumeric value: "+n)}return new h(e+6,r)},e.prototype.isAlphaTo646ToAlphaLatch=function(e){if(e+1>this.information.getSize())return!1;for(var t=0;t<5&&t+e<this.information.getSize();++t)if(2===t){if(!this.information.get(e+2))return!1}else if(this.information.get(e+t))return!1;return!0},e.prototype.isAlphaOr646ToNumericLatch=function(e){if(e+3>this.information.getSize())return!1;for(var t=e;t<e+3;++t)if(this.information.get(t))return!1;return!0},e.prototype.isNumericToAlphaNumericLatch=function(e){if(e+1>this.information.getSize())return!1;for(var t=0;t<4&&t+e<this.information.getSize();++t)if(this.information.get(e+t))return!1;return!0},e}(),x=t.a=j},,,function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var r=n(209),o=n(397),a=n(398),i="[object Null]",c="[object Undefined]",l=r?r.toStringTag:void 0;function u(e){return null==e?void 0===e?c:i:l&&l in Object(e)?o(e):a(e)}e.exports=u},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.globalConfig=t.PisellContext=void 0;var r=n(0),o={platform:"pc"};t.PisellContext=(0,r.createContext)(o);var a=function(){function e(){this.config={}}return e.prototype.setConfig=function(e){this.config=e},e.prototype.getConfig=function(){return this.config},e}();t.globalConfig=new a,t.default=t.PisellContext},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function e(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return a(t,e),t},c=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=i(n(0)),s=l(n(21));n(555);var d="pisell-lowcode-",f=function e(t){var n,o=t.children,a=t.isActive,i=c(t,["children","isActive"]);return u.default.createElement("div",r({},i,{className:(0,s.default)("".concat(d,"action-btn-icon"),(n={},n["".concat(d,"action-btn-icon-active")]=a,n))}),u.Children.map(o,(function(e){var t;return(0,u.isValidElement)(e)?(0,u.cloneElement)(e,{style:r(r({},(null===(t=e.props)||void 0===t?void 0:t.style)||{}),{color:a?"#53389E":"inherit"})}):e})))};t.default=f},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function i(e){try{l(r.next(e))}catch(e){a(e)}}function c(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){e.done?n(e.value):o(e.value).then(i,c)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n={label:0,sent:function e(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},r,o,a,i;return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(e){return function(t){return l([e,t])}}function l(i){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(a=2&i[0]?o.return:i[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,i[1])).done)return a;switch(o=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return n.label++,{value:i[1],done:!1};case 5:n.label++,o=i[1],i=[0];continue;case 7:i=n.ops.pop(),n.trys.pop();continue;default:if(!(a=n.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){n=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){n.label=i[1];break}if(6===i[0]&&n.label<a[1]){n.label=a[1],a=i;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(i);break}a[2]&&n.ops.pop(),n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e],o=0}finally{r=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}};Object.defineProperty(t,"__esModule",{value:!0}),t.historyData=t.importTemplate=t.batchImport=t.exportData=void 0;var a=n(138),i=function e(t){return a.request.getRequest().post("/shop/form/data/export",t)};t.exportData=i;var c=function e(t){return a.request.getRequest().post("/shop/form/data/import",t)};t.batchImport=c;var l=function e(t){return a.request.getRequest().post("/shop/form/data/download-template",t)};t.importTemplate=l;var u=function e(t){return r(void 0,void 0,Promise,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,a.request.getRequest().get("/shop/form/data/task",t)];case 1:return[2,e.sent()]}}))}))};t.historyData=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0;var r=function(){function e(){this.request={}}return e.prototype.setRequest=function(e){this.request=e},e.prototype.getRequest=function(){return this.request},e}();t.request=new r},function(e,t,n){var r=n(132),o=n(392),a=n(393),i="Expected a function",c=Math.max,l=Math.min;function u(e,t,n){var u,s,d,f,h,p,v=0,m=!1,g=!1,b=!0;if("function"!=typeof e)throw new TypeError(i);function y(t){var n=u,r=s;return u=s=void 0,v=t,f=e.apply(r,n)}function w(e){return v=e,h=setTimeout(A,t),m?y(e):f}function O(e){var n,r,o=t-(e-p);return g?l(o,d-(e-v)):o}function M(e){var n=e-p,r;return void 0===p||n>=t||n<0||g&&e-v>=d}function A(){var e=o();if(M(e))return j(e);h=setTimeout(A,O(e))}function j(e){return h=void 0,b&&u?y(e):(u=s=void 0,f)}function x(){void 0!==h&&clearTimeout(h),v=0,u=p=s=h=void 0}function S(){return void 0===h?f:j(o())}function E(){var e=o(),n=M(e);if(u=arguments,s=this,p=e,n){if(void 0===h)return w(p);if(g)return clearTimeout(h),h=setTimeout(A,t),y(p)}return void 0===h&&(h=setTimeout(A,t)),f}return t=a(t)||0,r(n)&&(m=!!n.leading,d=(g="maxWait"in n)?c(a(n.maxWait)||0,t):d,b="trailing"in n?!!n.trailing:b),E.cancel=x,E.flush=S,E}e.exports=u},function(e,t,n){"use strict";var r=n(72),o=n(47),a=n(73),i=n(53),c=n(12),l=n(20),u=n(19),s;!function(e){e[e.UPPER=0]="UPPER",e[e.LOWER=1]="LOWER",e[e.MIXED=2]="MIXED",e[e.DIGIT=3]="DIGIT",e[e.PUNCT=4]="PUNCT",e[e.BINARY=5]="BINARY"}(s||(s={}));var d=function(){function e(){}return e.prototype.decode=function(t){this.ddata=t;var n=t.getBits(),o=this.extractBits(n),a=this.correctBits(o),i=e.convertBoolArrayToByteArray(a),c=e.getEncodedData(a),l=new r.a(i,c,null,null);return l.setNumBits(a.length),l},e.highLevelDecode=function(e){return this.getEncodedData(e)},e.getEncodedData=function(t){for(var n=t.length,r=s.UPPER,o=s.UPPER,a="",i=0;i<n;)if(o===s.BINARY){if(n-i<5)break;var c=e.readCode(t,i,5);if(i+=5,0===c){if(n-i<11)break;c=e.readCode(t,i,11)+31,i+=11}for(var u=0;u<c;u++){if(n-i<8){i=n;break}var d=e.readCode(t,i,8);a+=l.a.castAsNonUtf8Char(d),i+=8}o=r}else{var f=o===s.DIGIT?4:5;if(n-i<f)break;var d=e.readCode(t,i,f);i+=f;var h=e.getCharacter(o,d);h.startsWith("CTRL_")?(r=o,o=e.getTable(h.charAt(5)),"L"===h.charAt(6)&&(r=o)):(a+=h,o=r)}return a},e.getTable=function(e){switch(e){case"L":return s.LOWER;case"P":return s.PUNCT;case"M":return s.MIXED;case"D":return s.DIGIT;case"B":return s.BINARY;case"U":default:return s.UPPER}},e.getCharacter=function(t,n){switch(t){case s.UPPER:return e.UPPER_TABLE[n];case s.LOWER:return e.LOWER_TABLE[n];case s.MIXED:return e.MIXED_TABLE[n];case s.PUNCT:return e.PUNCT_TABLE[n];case s.DIGIT:return e.DIGIT_TABLE[n];default:throw new i.a("Bad table")}},e.prototype.correctBits=function(t){var n,r;this.ddata.getNbLayers()<=2?(r=6,n=o.a.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(r=8,n=o.a.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(r=10,n=o.a.AZTEC_DATA_10):(r=12,n=o.a.AZTEC_DATA_12);var i=this.ddata.getNbDatablocks(),l=t.length/r;if(l<i)throw new c.a;for(var u=t.length%r,s=new Int32Array(l),d=0;d<l;d++,u+=r)s[d]=e.readCode(t,u,r);try{var f;new a.a(n).decode(s,l-i)}catch(e){throw new c.a(e)}for(var h=(1<<r)-1,p=0,d=0;d<i;d++){var v;if(0===(v=s[d])||v===h)throw new c.a;1!==v&&v!==h-1||p++}for(var m=new Array(i*r-p),g=0,d=0;d<i;d++){var v;if(1===(v=s[d])||v===h-1)m.fill(v>1,g,g+r-1),g+=r-1;else for(var b=r-1;b>=0;--b)m[g++]=0!=(v&1<<b)}return m},e.prototype.extractBits=function(e){var t=this.ddata.isCompact(),n=this.ddata.getNbLayers(),r=(t?11:14)+4*n,o=new Int32Array(r),a=new Array(this.totalBitsInLayer(n,t));if(t)for(var i=0;i<o.length;i++)o[i]=i;else for(var c=r+1+2*u.a.truncDivision(u.a.truncDivision(r,2)-1,15),l=r/2,s=u.a.truncDivision(c,2),i=0;i<l;i++){var d=i+u.a.truncDivision(i,15);o[l-i-1]=s-d-1,o[l+i]=s+d+1}for(var i=0,f=0;i<n;i++){for(var h=4*(n-i)+(t?9:12),p=2*i,v=r-1-p,m=0;m<h;m++)for(var g=2*m,b=0;b<2;b++)a[f+g+b]=e.get(o[p+b],o[p+m]),a[f+2*h+g+b]=e.get(o[p+m],o[v-b]),a[f+4*h+g+b]=e.get(o[v-b],o[v-m]),a[f+6*h+g+b]=e.get(o[v-m],o[p+b]);f+=8*h}return a},e.readCode=function(e,t,n){for(var r=0,o=t;o<t+n;o++)r<<=1,e[o]&&(r|=1);return r},e.readByte=function(t,n){var r=t.length-n;return r>=8?e.readCode(t,n,8):e.readCode(t,n,r)<<8-r},e.convertBoolArrayToByteArray=function(t){for(var n=new Uint8Array((t.length+7)/8),r=0;r<n.length;r++)n[r]=e.readByte(t,8*r);return n},e.prototype.totalBitsInLayer=function(e,t){return((t?88:112)+16*e)*e},e.UPPER_TABLE=["CTRL_PS"," ","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","CTRL_LL","CTRL_ML","CTRL_DL","CTRL_BS"],e.LOWER_TABLE=["CTRL_PS"," ","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","CTRL_US","CTRL_ML","CTRL_DL","CTRL_BS"],e.MIXED_TABLE=["CTRL_PS"," ","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\b","\t","\n","\v","\f","\r","\x1b","\x1c","\x1d","\x1e","\x1f","@","\\","^","_","`","|","~","\x7f","CTRL_LL","CTRL_UL","CTRL_PL","CTRL_BS"],e.PUNCT_TABLE=["","\r","\r\n",". ",", ",": ","!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}","CTRL_UL"],e.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],e}();t.a=d},function(e,t,n){"use strict";var r=n(8),o=function(){function e(){}return e.checkAndNudgePoints=function(e,t){for(var n=e.getWidth(),o=e.getHeight(),a=!0,i=0;i<t.length&&a;i+=2){var c=Math.floor(t[i]),l=Math.floor(t[i+1]);if(c<-1||c>n||l<-1||l>o)throw new r.a;a=!1,-1===c?(t[i]=0,a=!0):c===n&&(t[i]=n-1,a=!0),-1===l?(t[i+1]=0,a=!0):l===o&&(t[i+1]=o-1,a=!0)}a=!0;for(var i=t.length-2;i>=0&&a;i-=2){var c=Math.floor(t[i]),l=Math.floor(t[i+1]);if(c<-1||c>n||l<-1||l>o)throw new r.a;a=!1,-1===c?(t[i]=0,a=!0):c===n&&(t[i]=n-1,a=!0),-1===l?(t[i+1]=0,a=!0):l===o&&(t[i+1]=o-1,a=!0)}},e}();t.a=o},function(e,t,n){"use strict";var r=n(15),o=n(38),a=n(27),i=n(12),c=n(8),l=n(32),u=n(16),s=n(36),d=(f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f,h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.findStartPattern=function(e){for(var n=e.getSize(),r=e.getNextSet(0),o=0,a=Int32Array.from([0,0,0,0,0,0]),i=r,l=!1,u=6,d=r;d<n;d++)if(e.get(d)!==l)a[o]++;else{if(5===o){for(var f=t.MAX_AVG_VARIANCE,h=-1,p=t.CODE_START_A;p<=t.CODE_START_C;p++){var v=s.a.patternMatchVariance(a,t.CODE_PATTERNS[p],t.MAX_INDIVIDUAL_VARIANCE);v<f&&(f=v,h=p)}if(h>=0&&e.isRange(Math.max(0,i-(d-i)/2),i,!1))return Int32Array.from([i,d,h]);i+=a[0]+a[1],(a=a.slice(2,a.length))[o-1]=0,a[o]=0,o--}else o++;a[o]=1,l=!l}throw new c.a},t.decodeCode=function(e,n,r){s.a.recordPattern(e,r,n);for(var o=t.MAX_AVG_VARIANCE,a=-1,i=0;i<t.CODE_PATTERNS.length;i++){var l=t.CODE_PATTERNS[i],u=this.patternMatchVariance(n,l,t.MAX_INDIVIDUAL_VARIANCE);u<o&&(o=u,a=i)}if(a>=0)return a;throw new c.a},t.prototype.decodeRow=function(e,n,s){var d=s&&!0===s.get(a.a.ASSUME_GS1),f=t.findStartPattern(n),h=f[2],p=0,v=new Uint8Array(20),m;switch(v[p++]=h,h){case t.CODE_START_A:m=t.CODE_CODE_A;break;case t.CODE_START_B:m=t.CODE_CODE_B;break;case t.CODE_START_C:m=t.CODE_CODE_C;break;default:throw new i.a}for(var g=!1,b=!1,y="",w=f[0],O=f[1],M=Int32Array.from([0,0,0,0,0,0]),A=0,j=0,x=h,S=0,E=!0,C=!1,T=!1;!g;){var D=b;switch(b=!1,A=j,j=t.decodeCode(n,M,O),v[p++]=j,j!==t.CODE_STOP&&(E=!0),j!==t.CODE_STOP&&(x+=++S*j),w=O,O+=M.reduce((function(e,t){return e+t}),0),j){case t.CODE_START_A:case t.CODE_START_B:case t.CODE_START_C:throw new i.a}switch(m){case t.CODE_CODE_A:if(j<64)y+=T===C?String.fromCharCode(" ".charCodeAt(0)+j):String.fromCharCode(" ".charCodeAt(0)+j+128),T=!1;else if(j<96)y+=T===C?String.fromCharCode(j-64):String.fromCharCode(j+64),T=!1;else switch(j!==t.CODE_STOP&&(E=!1),j){case t.CODE_FNC_1:d&&(0===y.length?y+="]C1":y+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_A:!C&&T?(C=!0,T=!1):C&&T?(C=!1,T=!1):T=!0;break;case t.CODE_SHIFT:b=!0,m=t.CODE_CODE_B;break;case t.CODE_CODE_B:m=t.CODE_CODE_B;break;case t.CODE_CODE_C:m=t.CODE_CODE_C;break;case t.CODE_STOP:g=!0}break;case t.CODE_CODE_B:if(j<96)y+=T===C?String.fromCharCode(" ".charCodeAt(0)+j):String.fromCharCode(" ".charCodeAt(0)+j+128),T=!1;else switch(j!==t.CODE_STOP&&(E=!1),j){case t.CODE_FNC_1:d&&(0===y.length?y+="]C1":y+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_B:!C&&T?(C=!0,T=!1):C&&T?(C=!1,T=!1):T=!0;break;case t.CODE_SHIFT:b=!0,m=t.CODE_CODE_A;break;case t.CODE_CODE_A:m=t.CODE_CODE_A;break;case t.CODE_CODE_C:m=t.CODE_CODE_C;break;case t.CODE_STOP:g=!0}break;case t.CODE_CODE_C:if(j<100)j<10&&(y+="0"),y+=j;else switch(j!==t.CODE_STOP&&(E=!1),j){case t.CODE_FNC_1:d&&(0===y.length?y+="]C1":y+=String.fromCharCode(29));break;case t.CODE_CODE_A:m=t.CODE_CODE_A;break;case t.CODE_CODE_B:m=t.CODE_CODE_B;break;case t.CODE_STOP:g=!0}}D&&(m=m===t.CODE_CODE_A?t.CODE_CODE_B:t.CODE_CODE_A)}var _=O-w;if(O=n.getNextUnset(O),!n.isRange(O,Math.min(n.getSize(),O+(O-w)/2),!1))throw new c.a;if((x-=S*A)%103!==A)throw new o.a;var z=y.length;if(0===z)throw new c.a;z>0&&E&&(y=m===t.CODE_CODE_C?y.substring(0,z-2):y.substring(0,z-1));for(var I=(f[1]+f[0])/2,P=w+_/2,N=v.length,k=new Uint8Array(N),R=0;R<N;R++)k[R]=v[R];var L=[new u.a(I,e),new u.a(P,e)];return new l.a(y,k,0,L,r.a.CODE_128,(new Date).getTime())},t.CODE_PATTERNS=[Int32Array.from([2,1,2,2,2,2]),Int32Array.from([2,2,2,1,2,2]),Int32Array.from([2,2,2,2,2,1]),Int32Array.from([1,2,1,2,2,3]),Int32Array.from([1,2,1,3,2,2]),Int32Array.from([1,3,1,2,2,2]),Int32Array.from([1,2,2,2,1,3]),Int32Array.from([1,2,2,3,1,2]),Int32Array.from([1,3,2,2,1,2]),Int32Array.from([2,2,1,2,1,3]),Int32Array.from([2,2,1,3,1,2]),Int32Array.from([2,3,1,2,1,2]),Int32Array.from([1,1,2,2,3,2]),Int32Array.from([1,2,2,1,3,2]),Int32Array.from([1,2,2,2,3,1]),Int32Array.from([1,1,3,2,2,2]),Int32Array.from([1,2,3,1,2,2]),Int32Array.from([1,2,3,2,2,1]),Int32Array.from([2,2,3,2,1,1]),Int32Array.from([2,2,1,1,3,2]),Int32Array.from([2,2,1,2,3,1]),Int32Array.from([2,1,3,2,1,2]),Int32Array.from([2,2,3,1,1,2]),Int32Array.from([3,1,2,1,3,1]),Int32Array.from([3,1,1,2,2,2]),Int32Array.from([3,2,1,1,2,2]),Int32Array.from([3,2,1,2,2,1]),Int32Array.from([3,1,2,2,1,2]),Int32Array.from([3,2,2,1,1,2]),Int32Array.from([3,2,2,2,1,1]),Int32Array.from([2,1,2,1,2,3]),Int32Array.from([2,1,2,3,2,1]),Int32Array.from([2,3,2,1,2,1]),Int32Array.from([1,1,1,3,2,3]),Int32Array.from([1,3,1,1,2,3]),Int32Array.from([1,3,1,3,2,1]),Int32Array.from([1,1,2,3,1,3]),Int32Array.from([1,3,2,1,1,3]),Int32Array.from([1,3,2,3,1,1]),Int32Array.from([2,1,1,3,1,3]),Int32Array.from([2,3,1,1,1,3]),Int32Array.from([2,3,1,3,1,1]),Int32Array.from([1,1,2,1,3,3]),Int32Array.from([1,1,2,3,3,1]),Int32Array.from([1,3,2,1,3,1]),Int32Array.from([1,1,3,1,2,3]),Int32Array.from([1,1,3,3,2,1]),Int32Array.from([1,3,3,1,2,1]),Int32Array.from([3,1,3,1,2,1]),Int32Array.from([2,1,1,3,3,1]),Int32Array.from([2,3,1,1,3,1]),Int32Array.from([2,1,3,1,1,3]),Int32Array.from([2,1,3,3,1,1]),Int32Array.from([2,1,3,1,3,1]),Int32Array.from([3,1,1,1,2,3]),Int32Array.from([3,1,1,3,2,1]),Int32Array.from([3,3,1,1,2,1]),Int32Array.from([3,1,2,1,1,3]),Int32Array.from([3,1,2,3,1,1]),Int32Array.from([3,3,2,1,1,1]),Int32Array.from([3,1,4,1,1,1]),Int32Array.from([2,2,1,4,1,1]),Int32Array.from([4,3,1,1,1,1]),Int32Array.from([1,1,1,2,2,4]),Int32Array.from([1,1,1,4,2,2]),Int32Array.from([1,2,1,1,2,4]),Int32Array.from([1,2,1,4,2,1]),Int32Array.from([1,4,1,1,2,2]),Int32Array.from([1,4,1,2,2,1]),Int32Array.from([1,1,2,2,1,4]),Int32Array.from([1,1,2,4,1,2]),Int32Array.from([1,2,2,1,1,4]),Int32Array.from([1,2,2,4,1,1]),Int32Array.from([1,4,2,1,1,2]),Int32Array.from([1,4,2,2,1,1]),Int32Array.from([2,4,1,2,1,1]),Int32Array.from([2,2,1,1,1,4]),Int32Array.from([4,1,3,1,1,1]),Int32Array.from([2,4,1,1,1,2]),Int32Array.from([1,3,4,1,1,1]),Int32Array.from([1,1,1,2,4,2]),Int32Array.from([1,2,1,1,4,2]),Int32Array.from([1,2,1,2,4,1]),Int32Array.from([1,1,4,2,1,2]),Int32Array.from([1,2,4,1,1,2]),Int32Array.from([1,2,4,2,1,1]),Int32Array.from([4,1,1,2,1,2]),Int32Array.from([4,2,1,1,1,2]),Int32Array.from([4,2,1,2,1,1]),Int32Array.from([2,1,2,1,4,1]),Int32Array.from([2,1,4,1,2,1]),Int32Array.from([4,1,2,1,2,1]),Int32Array.from([1,1,1,1,4,3]),Int32Array.from([1,1,1,3,4,1]),Int32Array.from([1,3,1,1,4,1]),Int32Array.from([1,1,4,1,1,3]),Int32Array.from([1,1,4,3,1,1]),Int32Array.from([4,1,1,1,1,3]),Int32Array.from([4,1,1,3,1,1]),Int32Array.from([1,1,3,1,4,1]),Int32Array.from([1,1,4,1,3,1]),Int32Array.from([3,1,1,1,4,1]),Int32Array.from([4,1,1,1,3,1]),Int32Array.from([2,1,1,4,1,2]),Int32Array.from([2,1,1,2,1,4]),Int32Array.from([2,1,1,2,3,2]),Int32Array.from([2,3,3,1,1,1,2])],t.MAX_AVG_VARIANCE=.25,t.MAX_INDIVIDUAL_VARIANCE=.7,t.CODE_SHIFT=98,t.CODE_CODE_C=99,t.CODE_CODE_B=100,t.CODE_CODE_A=101,t.CODE_FNC_1=102,t.CODE_FNC_2=97,t.CODE_FNC_3=96,t.CODE_FNC_4_A=101,t.CODE_FNC_4_B=100,t.CODE_START_A=103,t.CODE_START_B=104,t.CODE_START_C=105,t.CODE_STOP=106,t}(s.a);t.a=h},function(e,t,n){"use strict";var r=n(15),o=n(38),a=n(12),i=n(8),c=n(36),l=n(32),u=n(16),s=(d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d,f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(e){function t(t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.call(this)||this;return r.usingCheckDigit=t,r.extendedMode=n,r.decodeRowResult="",r.counters=new Int32Array(9),r}return s(t,e),t.prototype.decodeRow=function(e,n,a){var c,s,d,h,p=this.counters;p.fill(0),this.decodeRowResult="";var v=t.findAsteriskPattern(n,p),m=n.getNextSet(v[1]),g=n.getSize(),b,y;do{t.recordPattern(n,m,p);var w=t.toNarrowWidePattern(p);if(w<0)throw new i.a;b=t.patternToChar(w),this.decodeRowResult+=b,y=m;try{for(var O=(c=void 0,f(p)),M=O.next();!M.done;M=O.next()){var A;m+=A=M.value}}catch(e){c={error:e}}finally{try{M&&!M.done&&(s=O.return)&&s.call(O)}finally{if(c)throw c.error}}m=n.getNextSet(m)}while("*"!==b);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var j=0,x,S;try{for(var E=f(p),C=E.next();!C.done;C=E.next()){var A;j+=A=C.value}}catch(e){d={error:e}}finally{try{C&&!C.done&&(h=E.return)&&h.call(E)}finally{if(d)throw d.error}}if(m!==g&&2*(m-y-j)<j)throw new i.a;if(this.usingCheckDigit){for(var T=this.decodeRowResult.length-1,D=0,_=0;_<T;_++)D+=t.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(_));if(this.decodeRowResult.charAt(T)!==t.ALPHABET_STRING.charAt(D%43))throw new o.a;this.decodeRowResult=this.decodeRowResult.substring(0,T)}if(0===this.decodeRowResult.length)throw new i.a;S=this.extendedMode?t.decodeExtended(this.decodeRowResult):this.decodeRowResult;var z=(v[1]+v[0])/2,I=y+j/2;return new l.a(S,null,0,[new u.a(z,e),new u.a(I,e)],r.a.CODE_39,(new Date).getTime())},t.findAsteriskPattern=function(e,n){for(var r=e.getSize(),o=e.getNextSet(0),a=0,c=o,l=!1,u=n.length,s=o;s<r;s++)if(e.get(s)!==l)n[a]++;else{if(a===u-1){if(this.toNarrowWidePattern(n)===t.ASTERISK_ENCODING&&e.isRange(Math.max(0,c-Math.floor((s-c)/2)),c,!1))return[c,s];c+=n[0]+n[1],n.copyWithin(0,2,2+a-1),n[a-1]=0,n[a]=0,a--}else a++;n[a]=1,l=!l}throw new i.a},t.toNarrowWidePattern=function(e){var t,n,r=e.length,o=0,a;do{var i=2147483647;try{for(var c=(t=void 0,f(e)),l=c.next();!l.done;l=c.next()){var u;(u=l.value)<i&&u>o&&(i=u)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}o=i,a=0;for(var s=0,d=0,h=0;h<r;h++){var u;(u=e[h])>o&&(d|=1<<r-1-h,a++,s+=u)}if(3===a){for(var h=0;h<r&&a>0;h++){var u;if((u=e[h])>o&&(a--,2*u>=s))return-1}return d}}while(a>3);return-1},t.patternToChar=function(e){for(var n=0;n<t.CHARACTER_ENCODINGS.length;n++)if(t.CHARACTER_ENCODINGS[n]===e)return t.ALPHABET_STRING.charAt(n);if(e===t.ASTERISK_ENCODING)return"*";throw new i.a},t.decodeExtended=function(e){for(var t=e.length,n="",r=0;r<t;r++){var o=e.charAt(r);if("+"===o||"$"===o||"%"===o||"/"===o){var i=e.charAt(r+1),c="\0";switch(o){case"+":if(!(i>="A"&&i<="Z"))throw new a.a;c=String.fromCharCode(i.charCodeAt(0)+32);break;case"$":if(!(i>="A"&&i<="Z"))throw new a.a;c=String.fromCharCode(i.charCodeAt(0)-64);break;case"%":if(i>="A"&&i<="E")c=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")c=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")c=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")c=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)c="\0";else if("V"===i)c="@";else if("W"===i)c="`";else{if("X"!==i&&"Y"!==i&&"Z"!==i)throw new a.a;c="\x7f"}break;case"/":if(i>="A"&&i<="O")c=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new a.a;c=":"}}n+=c,r++}else n+=o}return n},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",t.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],t.ASTERISK_ENCODING=148,t}(c.a);t.a=h},function(e,t,n){"use strict";var r=n(15),o=n(38),a=n(12),i=n(8),c=n(36),l=n(32),u=n(16),s=(d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d,f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(e){function t(){var t=e.call(this)||this;return t.decodeRowResult="",t.counters=new Int32Array(6),t}return s(t,e),t.prototype.decodeRow=function(e,n,o){var a,c,s,d,h=this.findAsteriskPattern(n),p=n.getNextSet(h[1]),v=n.getSize(),m=this.counters,g,b;m.fill(0),this.decodeRowResult="";do{t.recordPattern(n,p,m);var y=this.toPattern(m);if(y<0)throw new i.a;g=this.patternToChar(y),this.decodeRowResult+=g,b=p;try{for(var w=(a=void 0,f(m)),O=w.next();!O.done;O=w.next()){var M;p+=M=O.value}}catch(e){a={error:e}}finally{try{O&&!O.done&&(c=w.return)&&c.call(w)}finally{if(a)throw a.error}}p=n.getNextSet(p)}while("*"!==g);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var A=0;try{for(var j=f(m),x=j.next();!x.done;x=j.next()){var M;A+=M=x.value}}catch(e){s={error:e}}finally{try{x&&!x.done&&(d=j.return)&&d.call(j)}finally{if(s)throw s.error}}if(p===v||!n.get(p))throw new i.a;if(this.decodeRowResult.length<2)throw new i.a;this.checkChecksums(this.decodeRowResult),this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-2);var S=this.decodeExtended(this.decodeRowResult),E=(h[1]+h[0])/2,C=b+A/2;return new l.a(S,null,0,[new u.a(E,e),new u.a(C,e)],r.a.CODE_93,(new Date).getTime())},t.prototype.findAsteriskPattern=function(e){var n=e.getSize(),r=e.getNextSet(0);this.counters.fill(0);for(var o=this.counters,a=r,c=!1,l=o.length,u=0,s=r;s<n;s++)if(e.get(s)!==c)o[u]++;else{if(u===l-1){if(this.toPattern(o)===t.ASTERISK_ENCODING)return new Int32Array([a,s]);a+=o[0]+o[1],o.copyWithin(0,2,2+u-1),o[u-1]=0,o[u]=0,u--}else u++;o[u]=1,c=!c}throw new i.a},t.prototype.toPattern=function(e){var t,n,r=0;try{for(var o=f(e),a=o.next();!a.done;a=o.next()){var i;r+=a.value}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}for(var c=0,l=e.length,u=0;u<l;u++){var s=Math.round(9*e[u]/r);if(s<1||s>4)return-1;if(0==(1&u))for(var d=0;d<s;d++)c=c<<1|1;else c<<=s}return c},t.prototype.patternToChar=function(e){for(var n=0;n<t.CHARACTER_ENCODINGS.length;n++)if(t.CHARACTER_ENCODINGS[n]===e)return t.ALPHABET_STRING.charAt(n);throw new i.a},t.prototype.decodeExtended=function(e){for(var t=e.length,n="",r=0;r<t;r++){var o=e.charAt(r);if(o>="a"&&o<="d"){if(r>=t-1)throw new a.a;var i=e.charAt(r+1),c="\0";switch(o){case"d":if(!(i>="A"&&i<="Z"))throw new a.a;c=String.fromCharCode(i.charCodeAt(0)+32);break;case"a":if(!(i>="A"&&i<="Z"))throw new a.a;c=String.fromCharCode(i.charCodeAt(0)-64);break;case"b":if(i>="A"&&i<="E")c=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")c=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")c=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")c=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)c="\0";else if("V"===i)c="@";else if("W"===i)c="`";else{if(!(i>="X"&&i<="Z"))throw new a.a;c=String.fromCharCode(127)}break;case"c":if(i>="A"&&i<="O")c=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new a.a;c=":"}}n+=c,r++}else n+=o}return n},t.prototype.checkChecksums=function(e){var t=e.length;this.checkOneChecksum(e,t-2,20),this.checkOneChecksum(e,t-1,15)},t.prototype.checkOneChecksum=function(e,n,r){for(var a=1,i=0,c=n-1;c>=0;c--)i+=a*t.ALPHABET_STRING.indexOf(e.charAt(c)),++a>r&&(a=1);if(e.charAt(n)!==t.ALPHABET_STRING[i%47])throw new o.a},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",t.CHARACTER_ENCODINGS=[276,328,324,322,296,292,290,336,274,266,424,420,418,404,402,394,360,356,354,308,282,344,332,326,300,278,436,434,428,422,406,410,364,358,310,314,302,468,466,458,366,374,430,294,474,470,306,350],t.ASTERISK_ENCODING=t.CHARACTER_ENCODINGS[47],t}(c.a);t.a=h},function(e,t,n){"use strict";var r=n(15),o=n(27),a=n(12),i=n(8),c=n(32),l=n(16),u=n(18),s=n(24),d=n(36),f=(h=function(e,t){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h,p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.narrowLineWidth=-1,t}return f(t,e),t.prototype.decodeRow=function(e,n,i){var s,d,f=this.decodeStart(n),h=this.decodeEnd(n),v=new u.a;t.decodeMiddle(n,f[1],h[0],v);var m=v.toString(),g=null;null!=i&&(g=i.get(o.a.ALLOWED_LENGTHS)),null==g&&(g=t.DEFAULT_ALLOWED_LENGTHS);var b=m.length,y=!1,w=0;try{for(var O=p(g),M=O.next();!M.done;M=O.next()){var A=M.value;if(b===A){y=!0;break}A>w&&(w=A)}}catch(e){s={error:e}}finally{try{M&&!M.done&&(d=O.return)&&d.call(O)}finally{if(s)throw s.error}}if(!y&&b>w&&(y=!0),!y)throw new a.a;var j=[new l.a(f[1],e),new l.a(h[0],e)],x;return new c.a(m,null,0,j,r.a.ITF,(new Date).getTime())},t.decodeMiddle=function(e,n,r,o){var a=new Int32Array(10),i=new Int32Array(5),c=new Int32Array(5);for(a.fill(0),i.fill(0),c.fill(0);n<r;){d.a.recordPattern(e,n,a);for(var l=0;l<5;l++){var u=2*l;i[l]=a[u],c[l]=a[u+1]}var s=t.decodeDigit(i);o.append(s.toString()),s=this.decodeDigit(c),o.append(s.toString()),a.forEach((function(e){n+=e}))}},t.prototype.decodeStart=function(e){var n=t.skipWhiteSpace(e),r=t.findGuardPattern(e,n,t.START_PATTERN);return this.narrowLineWidth=(r[1]-r[0])/4,this.validateQuietZone(e,r[0]),r},t.prototype.validateQuietZone=function(e,t){var n=10*this.narrowLineWidth;n=n<t?n:t;for(var r=t-1;n>0&&r>=0&&!e.get(r);r--)n--;if(0!==n)throw new i.a},t.skipWhiteSpace=function(e){var t=e.getSize(),n=e.getNextSet(0);if(n===t)throw new i.a;return n},t.prototype.decodeEnd=function(e){e.reverse();try{var n=t.skipWhiteSpace(e),r=void 0;try{r=t.findGuardPattern(e,n,t.END_PATTERN_REVERSED[0])}catch(o){o instanceof i.a&&(r=t.findGuardPattern(e,n,t.END_PATTERN_REVERSED[1]))}this.validateQuietZone(e,r[0]);var o=r[0];return r[0]=e.getSize()-r[1],r[1]=e.getSize()-o,r}finally{e.reverse()}},t.findGuardPattern=function(e,n,r){var o=r.length,a=new Int32Array(o),c=e.getSize(),l=!1,u=0,f=n;a.fill(0);for(var h=n;h<c;h++)if(e.get(h)!==l)a[u]++;else{if(u===o-1){if(d.a.patternMatchVariance(a,r,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return[f,h];f+=a[0]+a[1],s.a.arraycopy(a,2,a,0,u-1),a[u-1]=0,a[u]=0,u--}else u++;a[u]=1,l=!l}throw new i.a},t.decodeDigit=function(e){for(var n=t.MAX_AVG_VARIANCE,r=-1,o=t.PATTERNS.length,a=0;a<o;a++){var c=t.PATTERNS[a],l=d.a.patternMatchVariance(e,c,t.MAX_INDIVIDUAL_VARIANCE);l<n?(n=l,r=a):l===n&&(r=-1)}if(r>=0)return r%10;throw new i.a},t.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],t.MAX_AVG_VARIANCE=.38,t.MAX_INDIVIDUAL_VARIANCE=.5,t.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],t.START_PATTERN=Int32Array.from([1,1,1,1]),t.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],t}(d.a);t.a=v},function(e,t,n){"use strict";var r;!function(e){e[e.DATA_MASK_000=0]="DATA_MASK_000",e[e.DATA_MASK_001=1]="DATA_MASK_001",e[e.DATA_MASK_010=2]="DATA_MASK_010",e[e.DATA_MASK_011=3]="DATA_MASK_011",e[e.DATA_MASK_100=4]="DATA_MASK_100",e[e.DATA_MASK_101=5]="DATA_MASK_101",e[e.DATA_MASK_110=6]="DATA_MASK_110",e[e.DATA_MASK_111=7]="DATA_MASK_111"}(r||(r={}));var o=function(){function e(e,t){this.value=e,this.isMasked=t}return e.prototype.unmaskBitMatrix=function(e,t){for(var n=0;n<t;n++)for(var r=0;r<t;r++)this.isMasked(n,r)&&e.flip(r,n)},e.values=new Map([[r.DATA_MASK_000,new e(r.DATA_MASK_000,(function(e,t){return 0==(e+t&1)}))],[r.DATA_MASK_001,new e(r.DATA_MASK_001,(function(e,t){return 0==(1&e)}))],[r.DATA_MASK_010,new e(r.DATA_MASK_010,(function(e,t){return t%3==0}))],[r.DATA_MASK_011,new e(r.DATA_MASK_011,(function(e,t){return(e+t)%3==0}))],[r.DATA_MASK_100,new e(r.DATA_MASK_100,(function(e,t){return 0==(Math.floor(e/2)+Math.floor(t/3)&1)}))],[r.DATA_MASK_101,new e(r.DATA_MASK_101,(function(e,t){return e*t%6==0}))],[r.DATA_MASK_110,new e(r.DATA_MASK_110,(function(e,t){return e*t%6<3}))],[r.DATA_MASK_111,new e(r.DATA_MASK_111,(function(e,t){return 0==(e+t+e*t%3&1)}))]]),e}();t.a=o},function(e,t,n){"use strict";var r=n(37),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ReaderException",t}(r.a);t.a=i},function(e,t,n){"use strict";var r=n(42),o=n(19),a=n(98),i=n(77),c=n(40),l=n(14),u=function(){function e(){}return e.clearMatrix=function(e){e.clear(255)},e.buildMatrix=function(t,n,r,o,a){e.clearMatrix(a),e.embedBasicPatterns(r,a),e.embedTypeInfo(n,o,a),e.maybeEmbedVersionInfo(r,a),e.embedDataBits(t,o,a)},e.embedBasicPatterns=function(t,n){e.embedPositionDetectionPatternsAndSeparators(n),e.embedDarkDotAtLeftBottomCorner(n),e.maybeEmbedPositionAdjustmentPatterns(t,n),e.embedTimingPatterns(n)},e.embedTypeInfo=function(t,n,o){var a=new r.a;e.makeTypeInfoBits(t,n,a);for(var i=0,c=a.getSize();i<c;++i){var l=a.get(a.getSize()-1-i),u=e.TYPE_INFO_COORDINATES[i],s=u[0],d=u[1];if(o.setBoolean(s,d,l),i<8){var f=o.getWidth()-i-1,h=8;o.setBoolean(f,h,l)}else{var f=8,h=o.getHeight()-7+(i-8);o.setBoolean(f,h,l)}}},e.maybeEmbedVersionInfo=function(t,n){if(!(t.getVersionNumber()<7)){var o=new r.a;e.makeVersionInfoBits(t,o);for(var a=17,i=0;i<6;++i)for(var c=0;c<3;++c){var l=o.get(a);a--,n.setBoolean(i,n.getHeight()-11+c,l),n.setBoolean(n.getHeight()-11+c,i,l)}}},e.embedDataBits=function(t,n,r){for(var o=0,a=-1,l=r.getWidth()-1,u=r.getHeight()-1;l>0;){for(6===l&&(l-=1);u>=0&&u<r.getHeight();){for(var s=0;s<2;++s){var d=l-s;if(e.isEmpty(r.get(d,u))){var f=void 0;o<t.getSize()?(f=t.get(o),++o):f=!1,255!==n&&i.a.getDataMaskBit(n,d,u)&&(f=!f),r.setBoolean(d,u,f)}}u+=a}u+=a=-a,l-=2}if(o!==t.getSize())throw new c.a("Not all bits consumed: "+o+"/"+t.getSize())},e.findMSBSet=function(e){return 32-o.a.numberOfLeadingZeros(e)},e.calculateBCHCode=function(t,n){if(0===n)throw new l.a("0 polynomial");var r=e.findMSBSet(n);for(t<<=r-1;e.findMSBSet(t)>=r;)t^=n<<e.findMSBSet(t)-r;return t},e.makeTypeInfoBits=function(t,n,o){if(!a.a.isValidMaskPattern(n))throw new c.a("Invalid mask pattern");var i=t.getBits()<<3|n;o.appendBits(i,5);var l=e.calculateBCHCode(i,e.TYPE_INFO_POLY);o.appendBits(l,10);var u=new r.a;if(u.appendBits(e.TYPE_INFO_MASK_PATTERN,15),o.xor(u),15!==o.getSize())throw new c.a("should not happen but we got: "+o.getSize())},e.makeVersionInfoBits=function(t,n){n.appendBits(t.getVersionNumber(),6);var r=e.calculateBCHCode(t.getVersionNumber(),e.VERSION_INFO_POLY);if(n.appendBits(r,12),18!==n.getSize())throw new c.a("should not happen but we got: "+n.getSize())},e.isEmpty=function(e){return 255===e},e.embedTimingPatterns=function(t){for(var n=8;n<t.getWidth()-8;++n){var r=(n+1)%2;e.isEmpty(t.get(n,6))&&t.setNumber(n,6,r),e.isEmpty(t.get(6,n))&&t.setNumber(6,n,r)}},e.embedDarkDotAtLeftBottomCorner=function(e){if(0===e.get(8,e.getHeight()-8))throw new c.a;e.setNumber(8,e.getHeight()-8,1)},e.embedHorizontalSeparationPattern=function(t,n,r){for(var o=0;o<8;++o){if(!e.isEmpty(r.get(t+o,n)))throw new c.a;r.setNumber(t+o,n,0)}},e.embedVerticalSeparationPattern=function(t,n,r){for(var o=0;o<7;++o){if(!e.isEmpty(r.get(t,n+o)))throw new c.a;r.setNumber(t,n+o,0)}},e.embedPositionAdjustmentPattern=function(t,n,r){for(var o=0;o<5;++o)for(var a=e.POSITION_ADJUSTMENT_PATTERN[o],i=0;i<5;++i)r.setNumber(t+i,n+o,a[i])},e.embedPositionDetectionPattern=function(t,n,r){for(var o=0;o<7;++o)for(var a=e.POSITION_DETECTION_PATTERN[o],i=0;i<7;++i)r.setNumber(t+i,n+o,a[i])},e.embedPositionDetectionPatternsAndSeparators=function(t){var n=e.POSITION_DETECTION_PATTERN[0].length;e.embedPositionDetectionPattern(0,0,t),e.embedPositionDetectionPattern(t.getWidth()-n,0,t),e.embedPositionDetectionPattern(0,t.getWidth()-n,t);var r=8;e.embedHorizontalSeparationPattern(0,7,t),e.embedHorizontalSeparationPattern(t.getWidth()-8,7,t),e.embedHorizontalSeparationPattern(0,t.getWidth()-8,t);var o=7;e.embedVerticalSeparationPattern(7,0,t),e.embedVerticalSeparationPattern(t.getHeight()-7-1,0,t),e.embedVerticalSeparationPattern(7,t.getHeight()-7,t)},e.maybeEmbedPositionAdjustmentPatterns=function(t,n){if(!(t.getVersionNumber()<2))for(var r=t.getVersionNumber()-1,o=e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[r],a=0,i=o.length;a!==i;a++){var c=o[a];if(c>=0)for(var l=0;l!==i;l++){var u=o[l];u>=0&&e.isEmpty(n.get(u,c))&&e.embedPositionAdjustmentPattern(u-2,c-2,n)}}},e.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),e.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),e.VERSION_INFO_POLY=7973,e.TYPE_INFO_POLY=1335,e.TYPE_INFO_MASK_PATTERN=21522,e}();t.a=u},function(e,t,n){"use strict";var r=n(80),o=n(105),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i,c,l=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.count=0,o.finderPattern=r,o}return a(t,e),t.prototype.getFinderPattern=function(){return this.finderPattern},t.prototype.getCount=function(){return this.count},t.prototype.incrementCount=function(){this.count++},t}(o.a),u=n(32),s=n(27),d=n(8),f=n(18),h=n(15),p=n(16),v=n(198),m=n(25),g=n(91),b=n(24),y=n(36),w=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.possibleLeftPairs=[],t.possibleRightPairs=[],t}return w(t,e),t.prototype.decodeRow=function(e,n,r){var o,a,i,c,l=this.decodePair(n,!1,e,r);t.addOrTally(this.possibleLeftPairs,l),n.reverse();var u=this.decodePair(n,!0,e,r);t.addOrTally(this.possibleRightPairs,u),n.reverse();try{for(var s=O(this.possibleLeftPairs),f=s.next();!f.done;f=s.next()){var h=f.value;if(h.getCount()>1)try{for(var p=(i=void 0,O(this.possibleRightPairs)),v=p.next();!v.done;v=p.next()){var m=v.value;if(m.getCount()>1&&t.checkChecksum(h,m))return t.constructResult(h,m)}}catch(e){i={error:e}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(i)throw i.error}}}}catch(e){o={error:e}}finally{try{f&&!f.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}throw new d.a},t.addOrTally=function(e,t){var n,r;if(null!=t){var o=!1;try{for(var a=O(e),i=a.next();!i.done;i=a.next()){var c=i.value;if(c.getValue()===t.getValue()){c.incrementCount(),o=!0;break}}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}o||e.push(t)}},t.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},t.constructResult=function(e,t){for(var n=4537077*e.getValue()+t.getValue(),r=new String(n).toString(),o=new f.a,a=13-r.length;a>0;a--)o.append("0");o.append(r);for(var i=0,a=0;a<13;a++){var c=o.charAt(a).charCodeAt(0)-"0".charCodeAt(0);i+=0==(1&a)?3*c:c}10===(i=10-i%10)&&(i=0),o.append(i.toString());var l=e.getFinderPattern().getResultPoints(),s=t.getFinderPattern().getResultPoints();return new u.a(o.toString(),null,0,[l[0],l[1],s[0],s[1]],h.a.RSS_14,(new Date).getTime())},t.checkChecksum=function(e,t){var n=(e.getChecksumPortion()+16*t.getChecksumPortion())%79,r=9*e.getFinderPattern().getValue()+t.getFinderPattern().getValue();return r>72&&r--,r>8&&r--,n===r},t.prototype.decodePair=function(e,t,n,r){try{var o=this.findFinderPattern(e,t),a=this.parseFoundFinderPattern(e,n,t,o),i=null==r?null:r.get(s.a.NEED_RESULT_POINT_CALLBACK);if(null!=i){var c=(o[0]+o[1])/2;t&&(c=e.getSize()-1-c),i.foundPossibleResultPoint(new p.a(c,n))}var u=this.decodeDataCharacter(e,a,!0),d=this.decodeDataCharacter(e,a,!1);return new l(1597*u.getValue()+d.getValue(),u.getChecksumPortion()+4*d.getChecksumPortion(),a)}catch(e){return null}},t.prototype.decodeDataCharacter=function(e,n,r){for(var a=this.getDataCharacterCounters(),i=0;i<a.length;i++)a[i]=0;if(r)y.a.recordPatternInReverse(e,n.getStartEnd()[0],a);else{y.a.recordPattern(e,n.getStartEnd()[1]+1,a);for(var c=0,l=a.length-1;c<l;c++,l--){var u=a[c];a[c]=a[l],a[l]=u}}for(var s=r?16:15,f=m.a.sum(new Int32Array(a))/s,h=this.getOddCounts(),p=this.getEvenCounts(),v=this.getOddRoundingErrors(),b=this.getEvenRoundingErrors(),c=0;c<a.length;c++){var w=a[c]/f,O=Math.floor(w+.5);O<1?O=1:O>8&&(O=8);var M=Math.floor(c/2);0==(1&c)?(h[M]=O,v[M]=w-O):(p[M]=O,b[M]=w-O)}this.adjustOddEvenCounts(r,s);for(var A=0,j=0,c=h.length-1;c>=0;c--)j*=9,j+=h[c],A+=h[c];for(var x=0,S=0,c=p.length-1;c>=0;c--)x*=9,x+=p[c],S+=p[c];var E=j+3*x;if(r){if(0!=(1&A)||A>12||A<4)throw new d.a;var C=(12-A)/2,T,D=9-(T=t.OUTSIDE_ODD_WIDEST[C]),_=g.a.getRSSvalue(h,T,!1),z=g.a.getRSSvalue(p,D,!0),I=t.OUTSIDE_EVEN_TOTAL_SUBSET[C],P=t.OUTSIDE_GSUM[C];return new o.a(_*I+z+P,E)}if(0!=(1&S)||S>10||S<4)throw new d.a;var C=(10-S)/2,T,D=9-(T=t.INSIDE_ODD_WIDEST[C]),_=g.a.getRSSvalue(h,T,!0),z=g.a.getRSSvalue(p,D,!1),N=t.INSIDE_ODD_TOTAL_SUBSET[C],P=t.INSIDE_GSUM[C];return new o.a(z*N+_+P,E)},t.prototype.findFinderPattern=function(e,t){var n=this.getDecodeFinderCounters();n[0]=0,n[1]=0,n[2]=0,n[3]=0;for(var o=e.getSize(),a=!1,i=0;i<o&&t!==(a=!e.get(i));)i++;for(var c=0,l=i,u=i;u<o;u++)if(e.get(u)!==a)n[c]++;else{if(3===c){if(r.a.isFinderPattern(n))return[l,u];l+=n[0]+n[1],n[0]=n[2],n[1]=n[3],n[2]=0,n[3]=0,c--}else c++;n[c]=1,a=!a}throw new d.a},t.prototype.parseFoundFinderPattern=function(e,n,r,o){for(var a=e.get(o[0]),i=o[0]-1;i>=0&&a!==e.get(i);)i--;i++;var c=o[0]-i,l=this.getDecodeFinderCounters(),u=new Int32Array(l.length);b.a.arraycopy(l,0,u,1,l.length-1),u[0]=c;var s=this.parseFinderValue(u,t.FINDER_PATTERNS),d=i,f=o[1];return r&&(d=e.getSize()-1-d,f=e.getSize()-1-f),new v.a(s,[i,o[1]],d,f,n)},t.prototype.adjustOddEvenCounts=function(e,t){var n=m.a.sum(new Int32Array(this.getOddCounts())),o=m.a.sum(new Int32Array(this.getEvenCounts())),a=!1,i=!1,c=!1,l=!1;e?(n>12?i=!0:n<4&&(a=!0),o>12?l=!0:o<4&&(c=!0)):(n>11?i=!0:n<5&&(a=!0),o>10?l=!0:o<4&&(c=!0));var u=n+o-t,s=(1&n)==(e?1:0),f=1==(1&o);if(1===u)if(s){if(f)throw new d.a;i=!0}else{if(!f)throw new d.a;l=!0}else if(-1===u)if(s){if(f)throw new d.a;a=!0}else{if(!f)throw new d.a;c=!0}else{if(0!==u)throw new d.a;if(s){if(!f)throw new d.a;n<o?(a=!0,l=!0):(i=!0,c=!0)}else if(f)throw new d.a}if(a){if(i)throw new d.a;r.a.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(i&&r.a.decrement(this.getOddCounts(),this.getOddRoundingErrors()),c){if(l)throw new d.a;r.a.increment(this.getEvenCounts(),this.getOddRoundingErrors())}l&&r.a.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},t.OUTSIDE_EVEN_TOTAL_SUBSET=[1,10,34,70,126],t.INSIDE_ODD_TOTAL_SUBSET=[4,20,48,81],t.OUTSIDE_GSUM=[0,161,961,2015,2715],t.INSIDE_GSUM=[0,336,1036,1516],t.OUTSIDE_ODD_WIDEST=[8,6,4,3,1],t.INSIDE_ODD_WIDEST=[2,4,6,8],t.FINDER_PATTERNS=[Int32Array.from([3,8,2,1]),Int32Array.from([3,5,5,1]),Int32Array.from([3,3,7,1]),Int32Array.from([3,1,9,1]),Int32Array.from([2,7,4,1]),Int32Array.from([2,5,6,1]),Int32Array.from([2,3,8,1]),Int32Array.from([1,5,7,1]),Int32Array.from([1,3,9,1])],t}(r.a),A=t.a=M},function(e,t,n){"use strict";var r=function(){function e(){}return e.floatToIntBits=function(e){return e},e.MAX_VALUE=Number.MAX_SAFE_INTEGER,e}();t.a=r},,,,function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),a=n(65),i=r(n(54)),c=n(322),l=r(n(256)),u=r(n(257));i.default.extend(u.default),i.default.extend(l.default);var s=(0,a.withMomentProps)(o.DatePicker,["defaultPickerValue","defaultValue","showTime.defaultValue","value"]);s.RangePicker=c.RangePicker,s.OldRangePicker=c.OldPisellDateRangePicker,t.default=s},function(e,t,n){"use strict";e.exports=n(379)},function(e,t,n){var r=n(403),o=n(404),a=n(405),i=n(406),c=n(407);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=c,e.exports=l},function(e,t,n){var r=n(260);function o(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}e.exports=o},function(e,t,n){var r,o=n(110)(Object,"create");e.exports=o},function(e,t,n){var r=n(425);function o(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldByType=t.fieldList=t.fieldMaps=void 0;var o=r(n(469)),a=r(n(475)),i=r(n(480)),c=r(n(486)),l=r(n(492)),u=r(n(502)),s=r(n(510)),d=r(n(515)),f=r(n(521)),h=r(n(527)),p=r(n(532)),v=r(n(538));t.fieldMaps={text:u.default,link:a.default,number:i.default,date:o.default,select:l.default,image:s.default,rangePicker:d.default,search:f.default,pSwitch:h.default,numberRange:c.default,treeSelect:p.default,oldRangePicker:v.default},t.fieldList=Object.values(t.fieldMaps).map((function(e){return e.field}));var m=function e(n){return t.fieldMaps[n]};t.getFieldByType=m,t.default={text:u.default,link:a.default,number:i.default,date:o.default,select:l.default,image:s.default,rangePicker:d.default,search:f.default,pSwitch:h.default,numberRange:c.default,treeSelect:p.default,oldRangePicker:v.default}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function e(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return a(t,e),t},c=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FormPagination=t.paginationConfig=void 0;var u=i(n(0)),s=l(n(755)),d=l(n(756)),f=n(11),h=l(n(21));n(581);var p=n(33),v=l(n(278)),m=function e(t,n,r){return"prev"===n?u.default.createElement("div",{className:(0,h.default)("paginator-page-btn","left")},u.default.createElement(d.default,{className:"paginator-page-btn-left-icon"}),u.default.createElement("span",{className:"paginator-page-btn-text"},(0,p.getText)("table-pagination-previous"))):"next"===n?u.default.createElement("div",{className:(0,h.default)("paginator-page-btn","right")},u.default.createElement("span",{className:"paginator-page-btn-text"},(0,p.getText)("table-pagination-next")),u.default.createElement(s.default,{className:"paginator-page-btn-right-icon"})):r};t.paginationConfig={className:"materials-grid-paginator",defaultCurrent:1,showTotal:function e(t,n){return"Page ".concat(n[0]," of ").concat(n[1])},itemRender:m,responsive:!0,size:"small"};var g=function e(n){var o=(0,u.useMemo)((function(){return Object.keys(n).length}),[n]),a=(0,v.default)(),i;return(0,u.useMemo)((function(){if(!o)return null;var e=f.Pagination;return a&&(e=b),u.default.createElement(e,r({},t.paginationConfig,n))}),[o,t.paginationConfig,n,a])};t.default=g;var b=function e(t){var n=t.current,r=void 0===n?1:n,o=t.pageSize,a=void 0===o?10:o,i=t.total,c=void 0===i?0:i,l=(0,u.useMemo)((function(){return Math.ceil(c/a)}),[c,a]),f=(0,u.useMemo)((function(){return 1}),[]),v=function e(n){var o=r;"prev"===n&&(o=r-1),"next"===n&&(o=r+1),t.onChange&&t.onChange(o,a||10)};return u.default.createElement("div",{className:"materials-grid-paginator materials-grid-paginator-mini"},u.default.createElement("div",{className:"pisell-lowcode-pagination-prev",onClick:function e(){r<=f||v("prev")}},u.default.createElement("div",{className:(0,h.default)("paginator-page-btn","left")},u.default.createElement(d.default,{className:"paginator-page-btn-left-icon"}))),u.default.createElement("div",{className:"materials-grid-paginator-center"},u.default.createElement("span",{className:"materials-grid-paginator-center-text"},(0,p.getText)("table-pagination-total")(r,l))),u.default.createElement("div",{className:"pisell-lowcode-pagination-next",onClick:function e(){r>=l||v("next")}},u.default.createElement("div",{className:(0,h.default)("paginator-page-btn","right")},u.default.createElement(s.default,{className:"paginator-page-btn-right-icon"}))))},y=function e(t){var n=t.value,o=void 0===n?{}:n,a=t.onChange,i=t.page,l=t.pageSize,s=c(t,["value","onChange","page","pageSize"]),d=(0,u.useState)(i||1),f=d[0],h=d[1],p=(0,u.useState)(l||10),v=p[0],m=p[1],b=function e(t,n){a&&a({page:n===v?t:1,size:n})};return(0,u.useEffect)((function(){var e=(null==o?void 0:o.page)||i||1,t=(null==o?void 0:o.size)||l||10;h(e),m(t)}),[o,i,l]),u.default.createElement(u.default.Fragment,null,u.default.createElement(g,r({},s,{pageSize:v,current:f,onChange:b,onShowSizeChange:b})))};t.FormPagination=y},function(e,t,n){"use strict";function r(e,t){for(var n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]}function o(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)}function a(e){return"number"==typeof e&&!isNaN(e)}function i(e){return parseInt(e,10)}function c(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))}Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=c,t.findInArray=r,t.int=i,t.isFunction=o,t.isNum=a},function(e,t,n){"use strict";var r=n(34),o=function(){function e(e,t,n){this.codewords=e,this.numcols=t,this.numrows=n,this.bits=new Uint8Array(t*n),r.a.fill(this.bits,2)}return e.prototype.getNumrows=function(){return this.numrows},e.prototype.getNumcols=function(){return this.numcols},e.prototype.getBits=function(){return this.bits},e.prototype.getBit=function(e,t){return 1===this.bits[t*this.numcols+e]},e.prototype.setBit=function(e,t,n){this.bits[t*this.numcols+e]=n?1:0},e.prototype.noBit=function(e,t){return 2===this.bits[t*this.numcols+e]},e.prototype.place=function(){var e=0,t=4,n=0;do{t===this.numrows&&0===n&&this.corner1(e++),t===this.numrows-2&&0===n&&this.numcols%4!=0&&this.corner2(e++),t===this.numrows-2&&0===n&&this.numcols%8==4&&this.corner3(e++),t===this.numrows+4&&2===n&&this.numcols%8==0&&this.corner4(e++);do{t<this.numrows&&n>=0&&this.noBit(n,t)&&this.utah(t,n,e++),t-=2,n+=2}while(t>=0&&n<this.numcols);t++,n+=3;do{t>=0&&n<this.numcols&&this.noBit(n,t)&&this.utah(t,n,e++),t+=2,n-=2}while(t<this.numrows&&n>=0);t+=3,n++}while(t<this.numrows||n<this.numcols);this.noBit(this.numcols-1,this.numrows-1)&&(this.setBit(this.numcols-1,this.numrows-1,!0),this.setBit(this.numcols-2,this.numrows-2,!0))},e.prototype.module=function(e,t,n,r){e<0&&(e+=this.numrows,t+=4-(this.numrows+4)%8),t<0&&(t+=this.numcols,e+=4-(this.numcols+4)%8);var o=this.codewords.charCodeAt(n);o&=1<<8-r,this.setBit(t,e,0!==o)},e.prototype.utah=function(e,t,n){this.module(e-2,t-2,n,1),this.module(e-2,t-1,n,2),this.module(e-1,t-2,n,3),this.module(e-1,t-1,n,4),this.module(e-1,t,n,5),this.module(e,t-2,n,6),this.module(e,t-1,n,7),this.module(e,t,n,8)},e.prototype.corner1=function(e){this.module(this.numrows-1,0,e,1),this.module(this.numrows-1,1,e,2),this.module(this.numrows-1,2,e,3),this.module(0,this.numcols-2,e,4),this.module(0,this.numcols-1,e,5),this.module(1,this.numcols-1,e,6),this.module(2,this.numcols-1,e,7),this.module(3,this.numcols-1,e,8)},e.prototype.corner2=function(e){this.module(this.numrows-3,0,e,1),this.module(this.numrows-2,0,e,2),this.module(this.numrows-1,0,e,3),this.module(0,this.numcols-4,e,4),this.module(0,this.numcols-3,e,5),this.module(0,this.numcols-2,e,6),this.module(0,this.numcols-1,e,7),this.module(1,this.numcols-1,e,8)},e.prototype.corner3=function(e){this.module(this.numrows-3,0,e,1),this.module(this.numrows-2,0,e,2),this.module(this.numrows-1,0,e,3),this.module(0,this.numcols-2,e,4),this.module(0,this.numcols-1,e,5),this.module(1,this.numcols-1,e,6),this.module(2,this.numcols-1,e,7),this.module(3,this.numcols-1,e,8)},e.prototype.corner4=function(e){this.module(this.numrows-1,0,e,1),this.module(this.numrows-1,this.numcols-1,e,2),this.module(0,this.numcols-3,e,3),this.module(0,this.numcols-2,e,4),this.module(0,this.numcols-1,e,5),this.module(1,this.numcols-3,e,6),this.module(1,this.numcols-2,e,7),this.module(1,this.numcols-1,e,8)},e}();t.a=o},function(e,t,n){"use strict";var r=n(18),o=n(10),a=function(){function e(){}return e.encodeECC200=function(e,t){if(e.length!==t.getDataCapacity())throw new Error("The number of codewords does not match the selected symbol");var n=new r.a;n.append(e);var o=t.getInterleavedBlockCount();if(1===o){var a=this.createECCBlock(e,t.getErrorCodewords());n.append(a)}else{for(var i=[],c=[],l=0;l<o;l++)i[l]=t.getDataLengthForInterleavedBlock(l+1),c[l]=t.getErrorLengthForInterleavedBlock(l+1);for(var u=0;u<o;u++){for(var s=new r.a,d=u;d<t.getDataCapacity();d+=o)s.append(e.charAt(d));for(var a=this.createECCBlock(s.toString(),c[u]),f=0,h=u;h<c[u]*o;h+=o)n.setCharAt(t.getDataCapacity()+h,a.charAt(f++))}}return n.toString()},e.createECCBlock=function(e,t){for(var n=-1,r=0;r<o.h.length;r++)if(o.h[r]===t){n=r;break}if(n<0)throw new Error("Illegal number of error correction codewords specified: "+t);for(var a=o.g[n],i=[],r=0;r<t;r++)i[r]=0;for(var r=0;r<e.length;r++){for(var c=i[t-1]^e.charAt(r).charCodeAt(0),l=t-1;l>0;l--)0!==c&&0!==a[l]?i[l]=i[l-1]^o.a[(o.n[c]+o.n[a[l]])%255]:i[l]=i[l-1];0!==c&&0!==a[0]?i[0]=o.a[(o.n[c]+o.n[a[0]])%255]:i[0]=0}for(var u=[],r=0;r<t;r++)u[r]=i[t-r-1];return u.map((function(e){return String.fromCharCode(e)})).join("")},e}();t.a=a},function(e,t,n){var r,o;r=this,o=function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,a=r.Hasher,i=n.algo,c=[];!function(){for(var e=0;e<64;e++)c[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=i.MD5=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var a=this._hash.words,i=e[t+0],l=e[t+1],h=e[t+2],p=e[t+3],v=e[t+4],m=e[t+5],g=e[t+6],b=e[t+7],y=e[t+8],w=e[t+9],O=e[t+10],M=e[t+11],A=e[t+12],j=e[t+13],x=e[t+14],S=e[t+15],E=a[0],C=a[1],T=a[2],D=a[3];E=u(E,C,T,D,i,7,c[0]),D=u(D,E,C,T,l,12,c[1]),T=u(T,D,E,C,h,17,c[2]),C=u(C,T,D,E,p,22,c[3]),E=u(E,C,T,D,v,7,c[4]),D=u(D,E,C,T,m,12,c[5]),T=u(T,D,E,C,g,17,c[6]),C=u(C,T,D,E,b,22,c[7]),E=u(E,C,T,D,y,7,c[8]),D=u(D,E,C,T,w,12,c[9]),T=u(T,D,E,C,O,17,c[10]),C=u(C,T,D,E,M,22,c[11]),E=u(E,C,T,D,A,7,c[12]),D=u(D,E,C,T,j,12,c[13]),T=u(T,D,E,C,x,17,c[14]),E=s(E,C=u(C,T,D,E,S,22,c[15]),T,D,l,5,c[16]),D=s(D,E,C,T,g,9,c[17]),T=s(T,D,E,C,M,14,c[18]),C=s(C,T,D,E,i,20,c[19]),E=s(E,C,T,D,m,5,c[20]),D=s(D,E,C,T,O,9,c[21]),T=s(T,D,E,C,S,14,c[22]),C=s(C,T,D,E,v,20,c[23]),E=s(E,C,T,D,w,5,c[24]),D=s(D,E,C,T,x,9,c[25]),T=s(T,D,E,C,p,14,c[26]),C=s(C,T,D,E,y,20,c[27]),E=s(E,C,T,D,j,5,c[28]),D=s(D,E,C,T,h,9,c[29]),T=s(T,D,E,C,b,14,c[30]),E=d(E,C=s(C,T,D,E,A,20,c[31]),T,D,m,4,c[32]),D=d(D,E,C,T,y,11,c[33]),T=d(T,D,E,C,M,16,c[34]),C=d(C,T,D,E,x,23,c[35]),E=d(E,C,T,D,l,4,c[36]),D=d(D,E,C,T,v,11,c[37]),T=d(T,D,E,C,b,16,c[38]),C=d(C,T,D,E,O,23,c[39]),E=d(E,C,T,D,j,4,c[40]),D=d(D,E,C,T,i,11,c[41]),T=d(T,D,E,C,p,16,c[42]),C=d(C,T,D,E,g,23,c[43]),E=d(E,C,T,D,w,4,c[44]),D=d(D,E,C,T,A,11,c[45]),T=d(T,D,E,C,S,16,c[46]),E=f(E,C=d(C,T,D,E,h,23,c[47]),T,D,i,6,c[48]),D=f(D,E,C,T,b,10,c[49]),T=f(T,D,E,C,x,15,c[50]),C=f(C,T,D,E,m,21,c[51]),E=f(E,C,T,D,A,6,c[52]),D=f(D,E,C,T,p,10,c[53]),T=f(T,D,E,C,O,15,c[54]),C=f(C,T,D,E,l,21,c[55]),E=f(E,C,T,D,y,6,c[56]),D=f(D,E,C,T,S,10,c[57]),T=f(T,D,E,C,g,15,c[58]),C=f(C,T,D,E,j,21,c[59]),E=f(E,C,T,D,v,6,c[60]),D=f(D,E,C,T,M,10,c[61]),T=f(T,D,E,C,h,15,c[62]),C=f(C,T,D,E,w,21,c[63]),a[0]=a[0]+E|0,a[1]=a[1]+C|0,a[2]=a[2]+T|0,a[3]=a[3]+D|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;n[o>>>5]|=128<<24-o%32;var a=t.floor(r/4294967296),i=r;n[15+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),n[14+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),e.sigBytes=4*(n.length+1),this._process();for(var c=this._hash,l=c.words,u=0;u<4;u++){var s=l[u];l[u]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return c},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,r,o,a,i){var c=e+(t&n|~t&r)+o+i;return(c<<a|c>>>32-a)+t}function s(e,t,n,r,o,a,i){var c=e+(t&r|n&~r)+o+i;return(c<<a|c>>>32-a)+t}function d(e,t,n,r,o,a,i){var c=e+(t^n^r)+o+i;return(c<<a|c>>>32-a)+t}function f(e,t,n,r,o,a,i){var c=e+(n^(t|~r))+o+i;return(c<<a|c>>>32-a)+t}n.MD5=a._createHelper(l),n.HmacMD5=a._createHmacHelper(l)}(Math),e.MD5},e.exports=t=o(n(246))},function(e,t,n){var r,o;r=this,o=function(e){return e.enc.Hex},e.exports=t=o(n(246))},function(e,t,n){"use strict";var r=n(14),o=function(){function e(e){if(this.binarizer=e,null===e)throw new r.a("Binarizer must be non-null.")}return e.prototype.getWidth=function(){return this.binarizer.getWidth()},e.prototype.getHeight=function(){return this.binarizer.getHeight()},e.prototype.getBlackRow=function(e,t){return this.binarizer.getBlackRow(e,t)},e.prototype.getBlackMatrix=function(){return null!==this.matrix&&void 0!==this.matrix||(this.matrix=this.binarizer.getBlackMatrix()),this.matrix},e.prototype.isCropSupported=function(){return this.binarizer.getLuminanceSource().isCropSupported()},e.prototype.crop=function(t,n,r,o){var a=this.binarizer.getLuminanceSource().crop(t,n,r,o);return new e(this.binarizer.createBinarizer(a))},e.prototype.isRotateSupported=function(){return this.binarizer.getLuminanceSource().isRotateSupported()},e.prototype.rotateCounterClockwise=function(){var t=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new e(this.binarizer.createBinarizer(t))},e.prototype.rotateCounterClockwise45=function(){var t=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new e(this.binarizer.createBinarizer(t))},e.prototype.toString=function(){try{return this.getBlackMatrix().toString()}catch(e){return""}},e}();t.a=o},function(e,t,n){"use strict";var r=n(169),o=n(41),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i,c=function(e){function t(t){var n=e.call(this,t)||this;return n.matrix=null,n}return a(t,e),t.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var n=this.getLuminanceSource(),r=n.getWidth(),a=n.getHeight();if(r>=t.MINIMUM_DIMENSION&&a>=t.MINIMUM_DIMENSION){var i=n.getMatrix(),c=r>>t.BLOCK_SIZE_POWER;0!=(r&t.BLOCK_SIZE_MASK)&&c++;var l=a>>t.BLOCK_SIZE_POWER;0!=(a&t.BLOCK_SIZE_MASK)&&l++;var u=t.calculateBlackPoints(i,c,l,r,a),s=new o.a(r,a);t.calculateThresholdForBlock(i,c,l,r,a,u,s),this.matrix=s}else this.matrix=e.prototype.getBlackMatrix.call(this);return this.matrix},t.prototype.createBinarizer=function(e){return new t(e)},t.calculateThresholdForBlock=function(e,n,r,o,a,i,c){for(var l=a-t.BLOCK_SIZE,u=o-t.BLOCK_SIZE,s=0;s<r;s++){var d=s<<t.BLOCK_SIZE_POWER;d>l&&(d=l);for(var f=t.cap(s,2,r-3),h=0;h<n;h++){var p=h<<t.BLOCK_SIZE_POWER;p>u&&(p=u);for(var v=t.cap(h,2,n-3),m=0,g=-2;g<=2;g++){var b=i[f+g];m+=b[v-2]+b[v-1]+b[v]+b[v+1]+b[v+2]}var y=m/25;t.thresholdBlock(e,p,d,y,o,c)}}},t.cap=function(e,t,n){return e<t?t:e>n?n:e},t.thresholdBlock=function(e,n,r,o,a,i){for(var c=0,l=r*a+n;c<t.BLOCK_SIZE;c++,l+=a)for(var u=0;u<t.BLOCK_SIZE;u++)(255&e[l+u])<=o&&i.set(n+u,r+c)},t.calculateBlackPoints=function(e,n,r,o,a){for(var i=a-t.BLOCK_SIZE,c=o-t.BLOCK_SIZE,l=new Array(r),u=0;u<r;u++){l[u]=new Int32Array(n);var s=u<<t.BLOCK_SIZE_POWER;s>i&&(s=i);for(var d=0;d<n;d++){var f=d<<t.BLOCK_SIZE_POWER;f>c&&(f=c);for(var h=0,p=255,v=0,m=0,g=s*o+f;m<t.BLOCK_SIZE;m++,g+=o){for(var b=0;b<t.BLOCK_SIZE;b++){var y=255&e[g+b];h+=y,y<p&&(p=y),y>v&&(v=y)}if(v-p>t.MIN_DYNAMIC_RANGE)for(m++,g+=o;m<t.BLOCK_SIZE;m++,g+=o)for(var b=0;b<t.BLOCK_SIZE;b++)h+=255&e[g+b]}var w=h>>2*t.BLOCK_SIZE_POWER;if(v-p<=t.MIN_DYNAMIC_RANGE&&(w=p/2,u>0&&d>0)){var O=(l[u-1][d]+2*l[u][d-1]+l[u-1][d-1])/4;p<O&&(w=O)}l[u][d]=w}}return l},t.BLOCK_SIZE_POWER=3,t.BLOCK_SIZE=1<<t.BLOCK_SIZE_POWER,t.BLOCK_SIZE_MASK=t.BLOCK_SIZE-1,t.MINIMUM_DIMENSION=5*t.BLOCK_SIZE,t.MIN_DYNAMIC_RANGE=24,t}(r.a);t.a=c},function(e,t,n){"use strict";var r=n(170),o=n(42),a=n(41),i=n(8),c=(l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l,u=function(e){function t(n){var r=e.call(this,n)||this;return r.luminances=t.EMPTY,r.buckets=new Int32Array(t.LUMINANCE_BUCKETS),r}return c(t,e),t.prototype.getBlackRow=function(e,n){var r=this.getLuminanceSource(),a=r.getWidth();null==n||n.getSize()<a?n=new o.a(a):n.clear(),this.initArrays(a);for(var i=r.getRow(e,this.luminances),c=this.buckets,l=0;l<a;l++)c[(255&i[l])>>t.LUMINANCE_SHIFT]++;var u=t.estimateBlackPoint(c);if(a<3)for(var l=0;l<a;l++)(255&i[l])<u&&n.set(l);else for(var s=255&i[0],d=255&i[1],l=1;l<a-1;l++){var f=255&i[l+1];(4*d-s-f)/2<u&&n.set(l),s=d,d=f}return n},t.prototype.getBlackMatrix=function(){var e=this.getLuminanceSource(),n=e.getWidth(),r=e.getHeight(),o=new a.a(n,r);this.initArrays(n);for(var i=this.buckets,c=1;c<5;c++)for(var l=Math.floor(r*c/5),u=e.getRow(l,this.luminances),s=Math.floor(4*n/5),d=Math.floor(n/5);d<s;d++){var f;i[(f=255&u[d])>>t.LUMINANCE_SHIFT]++}for(var h=t.estimateBlackPoint(i),p=e.getMatrix(),c=0;c<r;c++)for(var v=c*n,d=0;d<n;d++){var f;(f=255&p[v+d])<h&&o.set(d,c)}return o},t.prototype.createBinarizer=function(e){return new t(e)},t.prototype.initArrays=function(e){this.luminances.length<e&&(this.luminances=new Uint8ClampedArray(e));for(var n=this.buckets,r=0;r<t.LUMINANCE_BUCKETS;r++)n[r]=0},t.estimateBlackPoint=function(e){for(var n=e.length,r=0,o=0,a=0,c=0;c<n;c++)e[c]>a&&(o=c,a=e[c]),e[c]>r&&(r=e[c]);for(var l=0,u=0,c=0;c<n;c++){var s=c-o,d;(d=e[c]*s*s)>u&&(l=c,u=d)}if(o>l){var f=o;o=l,l=f}if(l-o<=n/16)throw new i.a;for(var h=l-1,p=-1,c=l-1;c>o;c--){var v=c-o,d;(d=v*v*(l-c)*(r-e[c]))>p&&(h=c,p=d)}return h<<t.LUMINANCE_SHIFT},t.LUMINANCE_BITS=5,t.LUMINANCE_SHIFT=8-t.LUMINANCE_BITS,t.LUMINANCE_BUCKETS=1<<t.LUMINANCE_BITS,t.EMPTY=Uint8ClampedArray.from([0]),t}(r.a);t.a=u},function(e,t,n){"use strict";var r=function(){function e(e){this.source=e}return e.prototype.getLuminanceSource=function(){return this.source},e.prototype.getWidth=function(){return this.source.getWidth()},e.prototype.getHeight=function(){return this.source.getHeight()},e}();t.a=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(76),o=n(71),a=n(14),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c,l=function(e){function t(n){var r=e.call(this,n.width,n.height)||this;return r.canvas=n,r.tempCanvasElement=null,r.buffer=t.makeBufferFromCanvasImageData(n),r}return i(t,e),t.makeBufferFromCanvasImageData=function(e){var n=e.getContext("2d").getImageData(0,0,e.width,e.height);return t.toGrayscaleBuffer(n.data,e.width,e.height)},t.toGrayscaleBuffer=function(e,n,r){var o=new Uint8ClampedArray(n*r);if(t.FRAME_INDEX=!t.FRAME_INDEX,t.FRAME_INDEX)for(var a=0,i=0,c=e.length;a<c;a+=4,i++){var l=void 0,u,s,d,f;if(0===(u=e[a+3]))l=255;else l=306*(s=e[a])+601*(d=e[a+1])+117*(f=e[a+2])+512>>10;o[i]=l}else for(var a=0,i=0,h=e.length;a<h;a+=4,i++){var l=void 0,u,s,d,f;if(0===(u=e[a+3]))l=255;else l=306*(s=e[a])+601*(d=e[a+1])+117*(f=e[a+2])+512>>10;o[i]=255-l}return o},t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new a.a("Requested row is outside the image: "+e);var n=this.getWidth(),r=e*n;return null===t?t=this.buffer.slice(r,r+n):(t.length<n&&(t=new Uint8ClampedArray(n)),t.set(this.buffer.slice(r,r+n))),t},t.prototype.getMatrix=function(){return this.buffer},t.prototype.isCropSupported=function(){return!0},t.prototype.crop=function(t,n,r,o){return e.prototype.crop.call(this,t,n,r,o),this},t.prototype.isRotateSupported=function(){return!0},t.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},t.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},t.prototype.getTempCanvasElement=function(){if(null===this.tempCanvasElement){var e=this.canvas.ownerDocument.createElement("canvas");e.width=this.canvas.width,e.height=this.canvas.height,this.tempCanvasElement=e}return this.tempCanvasElement},t.prototype.rotate=function(e){var n=this.getTempCanvasElement(),r=n.getContext("2d"),o=e*t.DEGREE_TO_RADIANS,a=this.canvas.width,i=this.canvas.height,c=Math.ceil(Math.abs(Math.cos(o))*a+Math.abs(Math.sin(o))*i),l=Math.ceil(Math.abs(Math.sin(o))*a+Math.abs(Math.cos(o))*i);return n.width=c,n.height=l,r.translate(c/2,l/2),r.rotate(o),r.drawImage(this.canvas,a/-2,i/-2),this.buffer=t.makeBufferFromCanvasImageData(n),this},t.prototype.invert=function(){return new r.a(this)},t.DEGREE_TO_RADIANS=Math.PI/180,t.FRAME_INDEX=!0,t}(o.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e,t,n){this.deviceId=e,this.label=t,this.kind="videoinput",this.groupId=n||void 0}return e.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},e}()},function(e,t,n){"use strict";var r=n(83),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(t,n,r,o,a){var i=e.call(this,t,n)||this;return i.compact=r,i.nbDatablocks=o,i.nbLayers=a,i}return o(t,e),t.prototype.getNbLayers=function(){return this.nbLayers},t.prototype.getNbDatablocks=function(){return this.nbDatablocks},t.prototype.isCompact=function(){return this.compact},t}(r.a);t.a=i},function(e,t,n){"use strict";var r=n(141),o=n(41),a=n(118),i=n(8),c=(l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l,u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.sampleGrid=function(e,t,n,r,o,i,c,l,u,s,d,f,h,p,v,m,g,b,y){var w=a.a.quadrilateralToQuadrilateral(r,o,i,c,l,u,s,d,f,h,p,v,m,g,b,y);return this.sampleGridWithTransform(e,t,n,w)},t.prototype.sampleGridWithTransform=function(e,t,n,a){if(t<=0||n<=0)throw new i.a;for(var c=new o.a(t,n),l=new Float32Array(2*t),u=0;u<n;u++){for(var s=l.length,d=u+.5,f=0;f<s;f+=2)l[f]=f/2+.5,l[f+1]=d;a.transformPoints(l),r.a.checkAndNudgePoints(e,l);try{for(var f=0;f<s;f+=2)e.get(Math.floor(l[f]),Math.floor(l[f+1]))&&c.set(f/2,u)}catch(e){throw new i.a}}return c},t}(r.a);t.a=u},function(e,t,n){"use strict";var r=n(15),o=n(8),a=n(36),i=n(32),c=n(16),l=(u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u,s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.CODA_BAR_CHAR_SET={nnnnnww:"0",nnnnwwn:"1",nnnwnnw:"2",wwnnnnn:"3",nnwnnwn:"4",wnnnnwn:"5",nwnnnnw:"6",nwnnwnn:"7",nwwnnnn:"8",wnnwnnn:"9",nnnwwnn:"-",nnwwnnn:"$",wnnnwnw:":",wnwnnnw:"/",wnwnwnn:".",nnwwwww:"+",nnwwnwn:"A",nwnwnnw:"B",nnnwnww:"C",nnnwwwn:"D"},t}return l(t,e),t.prototype.decodeRow=function(e,t,n){var a=this.getValidRowData(t);if(!a)throw new o.a;var l=this.codaBarDecodeRow(a.row);if(!l)throw new o.a;return new i.a(l,null,0,[new c.a(a.left,e),new c.a(a.right,e)],r.a.CODABAR,(new Date).getTime())},t.prototype.getValidRowData=function(e){var t=e.toArray(),n=t.indexOf(!0);if(-1===n)return null;var r=t.lastIndexOf(!0);if(r<=n)return null;for(var o=[],a=(t=t.slice(n,r+1))[0],i=1,c=1;c<t.length;c++)t[c]===a?i++:(a=t[c],o.push(i),i=1);return o.push(i),o.length<23&&(o.length+1)%8!=0?null:{row:o,left:n,right:r}},t.prototype.codaBarDecodeRow=function(e){for(var t=[],n=Math.ceil(e.reduce((function(e,t){return(e+t)/2}),0));e.length>0;){var r,o=e.splice(0,8).splice(0,7).map((function(e){return e<n?"n":"w"})).join("");if(void 0===this.CODA_BAR_CHAR_SET[o])return null;t.push(this.CODA_BAR_CHAR_SET[o])}var a=t.join("");return this.validCodaBarString(a)?a:null},t.prototype.validCodaBarString=function(e){var t;return/^[A-D].{1,}[A-D]$/.test(e)},t}(a.a);t.a=s},function(e,t,n){"use strict";var r=n(72),o=n(120),a=n(18),i=n(51),c=n(20),l=n(12),u=n(53),s;!function(e){e[e.PAD_ENCODE=0]="PAD_ENCODE",e[e.ASCII_ENCODE=1]="ASCII_ENCODE",e[e.C40_ENCODE=2]="C40_ENCODE",e[e.TEXT_ENCODE=3]="TEXT_ENCODE",e[e.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",e[e.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",e[e.BASE256_ENCODE=6]="BASE256_ENCODE"}(s||(s={}));var d=function(){function e(){}return e.decode=function(e){var t=new o.a(e),n=new a.a,i=new a.a,c=new Array,u=s.ASCII_ENCODE;do{if(u===s.ASCII_ENCODE)u=this.decodeAsciiSegment(t,n,i);else{switch(u){case s.C40_ENCODE:this.decodeC40Segment(t,n);break;case s.TEXT_ENCODE:this.decodeTextSegment(t,n);break;case s.ANSIX12_ENCODE:this.decodeAnsiX12Segment(t,n);break;case s.EDIFACT_ENCODE:this.decodeEdifactSegment(t,n);break;case s.BASE256_ENCODE:this.decodeBase256Segment(t,n,c);break;default:throw new l.a}u=s.ASCII_ENCODE}}while(u!==s.PAD_ENCODE&&t.available()>0);return i.length()>0&&n.append(i.toString()),new r.a(e,n.toString(),0===c.length?null:c,null)},e.decodeAsciiSegment=function(e,t,n){var r=!1;do{var o=e.readBits(8);if(0===o)throw new l.a;if(o<=128)return r&&(o+=128),t.append(String.fromCharCode(o-1)),s.ASCII_ENCODE;if(129===o)return s.PAD_ENCODE;if(o<=229){var a=o-130;a<10&&t.append("0"),t.append(""+a)}else switch(o){case 230:return s.C40_ENCODE;case 231:return s.BASE256_ENCODE;case 232:t.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:r=!0;break;case 236:t.append("[)>\x1e05\x1d"),n.insert(0,"\x1e\x04");break;case 237:t.append("[)>\x1e06\x1d"),n.insert(0,"\x1e\x04");break;case 238:return s.ANSIX12_ENCODE;case 239:return s.TEXT_ENCODE;case 240:return s.EDIFACT_ENCODE;case 241:break;default:if(254!==o||0!==e.available())throw new l.a}}while(e.available()>0);return s.ASCII_ENCODE},e.decodeC40Segment=function(e,t){var n=!1,r=[],o=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),r);for(var i=0;i<3;i++){var c=r[i];switch(o){case 0:if(c<3)o=c+1;else{if(!(c<this.C40_BASIC_SET_CHARS.length))throw new l.a;var u=this.C40_BASIC_SET_CHARS[c];n?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):t.append(u)}break;case 1:n?(t.append(String.fromCharCode(c+128)),n=!1):t.append(String.fromCharCode(c)),o=0;break;case 2:if(c<this.C40_SHIFT2_SET_CHARS.length){var u=this.C40_SHIFT2_SET_CHARS[c];n?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):t.append(u)}else switch(c){case 27:t.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new l.a}o=0;break;case 3:n?(t.append(String.fromCharCode(c+224)),n=!1):t.append(String.fromCharCode(c+96)),o=0;break;default:throw new l.a}}}while(e.available()>0)},e.decodeTextSegment=function(e,t){var n=!1,r=[],o=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),r);for(var i=0;i<3;i++){var c=r[i];switch(o){case 0:if(c<3)o=c+1;else{if(!(c<this.TEXT_BASIC_SET_CHARS.length))throw new l.a;var u=this.TEXT_BASIC_SET_CHARS[c];n?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):t.append(u)}break;case 1:n?(t.append(String.fromCharCode(c+128)),n=!1):t.append(String.fromCharCode(c)),o=0;break;case 2:if(c<this.TEXT_SHIFT2_SET_CHARS.length){var u=this.TEXT_SHIFT2_SET_CHARS[c];n?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):t.append(u)}else switch(c){case 27:t.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new l.a}o=0;break;case 3:if(!(c<this.TEXT_SHIFT3_SET_CHARS.length))throw new l.a;var u=this.TEXT_SHIFT3_SET_CHARS[c];n?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):t.append(u),o=0;break;default:throw new l.a}}}while(e.available()>0)},e.decodeAnsiX12Segment=function(e,t){var n=[];do{if(8===e.available())return;var r=e.readBits(8);if(254===r)return;this.parseTwoBytes(r,e.readBits(8),n);for(var o=0;o<3;o++){var a=n[o];switch(a){case 0:t.append("\r");break;case 1:t.append("*");break;case 2:t.append(">");break;case 3:t.append(" ");break;default:if(a<14)t.append(String.fromCharCode(a+44));else{if(!(a<40))throw new l.a;t.append(String.fromCharCode(a+51))}}}}while(e.available()>0)},e.parseTwoBytes=function(e,t,n){var r=(e<<8)+t-1,o=Math.floor(r/1600);n[0]=o,r-=1600*o,o=Math.floor(r/40),n[1]=o,n[2]=r-40*o},e.decodeEdifactSegment=function(e,t){do{if(e.available()<=16)return;for(var n=0;n<4;n++){var r=e.readBits(6);if(31===r){var o=8-e.getBitOffset();return void(8!==o&&e.readBits(o))}0==(32&r)&&(r|=64),t.append(String.fromCharCode(r))}}while(e.available()>0)},e.decodeBase256Segment=function(e,t,n){var r=1+e.getByteOffset(),o=this.unrandomize255State(e.readBits(8),r++),a;if((a=0===o?e.available()/8|0:o<250?o:250*(o-249)+this.unrandomize255State(e.readBits(8),r++))<0)throw new l.a;for(var s=new Uint8Array(a),d=0;d<a;d++){if(e.available()<8)throw new l.a;s[d]=this.unrandomize255State(e.readBits(8),r++)}n.push(s);try{t.append(i.a.decode(s,c.a.ISO88591))}catch(e){throw new u.a("Platform does not support required encoding: "+e.message)}},e.unrandomize255State=function(e,t){var n,r=e-(149*t%255+1);return r>=0?r:r+256},e.C40_BASIC_SET_CHARS=["*","*","*"," ","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.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],e.TEXT_BASIC_SET_CHARS=["*","*","*"," ","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.TEXT_SHIFT2_SET_CHARS=e.C40_SHIFT2_SET_CHARS,e.TEXT_SHIFT3_SET_CHARS=["`","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","{","|","}","~",String.fromCharCode(127)],e}();t.a=d},function(e,t,n){"use strict";var r=n(27),o=n(15),a=n(100),i=n(95),c=n(78),l=n(101),u=n(8),s=n(99),d=n(147),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function e(){}return e.prototype.decode=function(e,t){return this.setHints(t),this.decodeInternal(e)},e.prototype.decodeWithState=function(e){return null!==this.readers&&void 0!==this.readers||this.setHints(null),this.decodeInternal(e)},e.prototype.setHints=function(e){this.hints=e;var t=null!=e&&void 0!==e.get(r.a.TRY_HARDER),n=null==e?null:e.get(r.a.POSSIBLE_FORMATS),u=new Array;if(null!=n){var d=n.some((function(e){return e===o.a.UPC_A||e===o.a.UPC_E||e===o.a.EAN_13||e===o.a.EAN_8||e===o.a.CODABAR||e===o.a.CODE_39||e===o.a.CODE_93||e===o.a.CODE_128||e===o.a.ITF||e===o.a.RSS_14||e===o.a.RSS_EXPANDED}));d&&!t&&u.push(new c.a(e)),n.includes(o.a.QR_CODE)&&u.push(new a.a),n.includes(o.a.DATA_MATRIX)&&u.push(new l.a),n.includes(o.a.AZTEC)&&u.push(new i.a),n.includes(o.a.PDF_417)&&u.push(new s.a),d&&t&&u.push(new c.a(e))}0===u.length&&(t||u.push(new c.a(e)),u.push(new a.a),u.push(new l.a),u.push(new i.a),u.push(new s.a),t&&u.push(new c.a(e))),this.readers=u},e.prototype.reset=function(){var e,t;if(null!==this.readers)try{for(var n=f(this.readers),r=n.next();!r.done;r=n.next()){var o;r.value.reset()}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.prototype.decodeInternal=function(e){var t,n;if(null===this.readers)throw new d.a("No readers where selected, nothing can be read.");try{for(var r=f(this.readers),o=r.next();!o.done;o=r.next()){var a=o.value;try{return a.decode(e,this.hints)}catch(e){if(e instanceof d.a)continue}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}throw new u.a("No MultiFormat Readers were able to detect the code.")},e}();t.a=h},function(e,t,n){"use strict";var r=n(120),o=n(43),a=n(72),i=n(20),c=n(12),l=n(18),u=n(51),s=n(39),d=function(){function e(){}return e.decode=function(t,n,i,u){var d=new r.a(t),f=new l.a,h=new Array,p=-1,v=-1;try{var m=null,g=!1,b=void 0;do{if(d.available()<4)b=s.a.TERMINATOR;else{var y=d.readBits(4);b=s.a.forBits(y)}switch(b){case s.a.TERMINATOR:break;case s.a.FNC1_FIRST_POSITION:case s.a.FNC1_SECOND_POSITION:g=!0;break;case s.a.STRUCTURED_APPEND:if(d.available()<16)throw new c.a;p=d.readBits(8),v=d.readBits(8);break;case s.a.ECI:var w=e.parseECIValue(d);if(null===(m=o.a.getCharacterSetECIByValue(w)))throw new c.a;break;case s.a.HANZI:var O=d.readBits(4),M=d.readBits(b.getCharacterCountBits(n));O===e.GB2312_SUBSET&&e.decodeHanziSegment(d,f,M);break;default:var A=d.readBits(b.getCharacterCountBits(n));switch(b){case s.a.NUMERIC:e.decodeNumericSegment(d,f,A);break;case s.a.ALPHANUMERIC:e.decodeAlphanumericSegment(d,f,A,g);break;case s.a.BYTE:e.decodeByteSegment(d,f,A,m,h,u);break;case s.a.KANJI:e.decodeKanjiSegment(d,f,A);break;default:throw new c.a}}}while(b!==s.a.TERMINATOR)}catch(e){throw new c.a}return new a.a(t,f.toString(),0===h.length?null:h,null===i?null:i.toString(),p,v)},e.decodeHanziSegment=function(e,t,n){if(13*n>e.available())throw new c.a;for(var r=new Uint8Array(2*n),o=0;n>0;){var a=e.readBits(13),l=a/96<<8&4294967295|a%96;l+=l<959?41377:42657,r[o]=l>>8&255,r[o+1]=255&l,o+=2,n--}try{t.append(u.a.decode(r,i.a.GB2312))}catch(e){throw new c.a(e)}},e.decodeKanjiSegment=function(e,t,n){if(13*n>e.available())throw new c.a;for(var r=new Uint8Array(2*n),o=0;n>0;){var a=e.readBits(13),l=a/192<<8&4294967295|a%192;l+=l<7936?33088:49472,r[o]=l>>8,r[o+1]=l,o+=2,n--}try{t.append(u.a.decode(r,i.a.SHIFT_JIS))}catch(e){throw new c.a(e)}},e.decodeByteSegment=function(e,t,n,r,o,a){if(8*n>e.available())throw new c.a;for(var l=new Uint8Array(n),s=0,d;s<n;s++)l[s]=e.readBits(8);d=null===r?i.a.guessEncoding(l,a):r.getName();try{t.append(u.a.decode(l,d))}catch(e){throw new c.a(e)}o.push(l)},e.toAlphaNumericChar=function(t){if(t>=e.ALPHANUMERIC_CHARS.length)throw new c.a;return e.ALPHANUMERIC_CHARS[t]},e.decodeAlphanumericSegment=function(t,n,r,o){for(var a=n.length();r>1;){if(t.available()<11)throw new c.a;var i=t.readBits(11);n.append(e.toAlphaNumericChar(Math.floor(i/45))),n.append(e.toAlphaNumericChar(i%45)),r-=2}if(1===r){if(t.available()<6)throw new c.a;n.append(e.toAlphaNumericChar(t.readBits(6)))}if(o)for(var l=a;l<n.length();l++)"%"===n.charAt(l)&&(l<n.length()-1&&"%"===n.charAt(l+1)?n.deleteCharAt(l+1):n.setCharAt(l,String.fromCharCode(29)))},e.decodeNumericSegment=function(t,n,r){for(;r>=3;){if(t.available()<10)throw new c.a;var o=t.readBits(10);if(o>=1e3)throw new c.a;n.append(e.toAlphaNumericChar(Math.floor(o/100))),n.append(e.toAlphaNumericChar(Math.floor(o/10)%10)),n.append(e.toAlphaNumericChar(o%10)),r-=3}if(2===r){if(t.available()<7)throw new c.a;var a=t.readBits(7);if(a>=100)throw new c.a;n.append(e.toAlphaNumericChar(Math.floor(a/10))),n.append(e.toAlphaNumericChar(a%10))}else if(1===r){if(t.available()<4)throw new c.a;var i=t.readBits(4);if(i>=10)throw new c.a;n.append(e.toAlphaNumericChar(i))}},e.parseECIValue=function(e){var t=e.readBits(8),n,r;if(0==(128&t))return 127&t;if(128==(192&t))return(63&t)<<8&4294967295|e.readBits(8);if(192==(224&t))return(31&t)<<16&4294967295|e.readBits(16);throw new c.a},e.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.GB2312_SUBSET=1,e}();t.a=d},function(e,t,n){"use strict";(function(e){var r=n(12),o=n(43),a=n(72),i=n(180),c=n(34),l=n(18),u=n(19),s=n(229),d=n(334),f=n(51),h,p;function v(){if("undefined"!=typeof window)return window.BigInt||null;if(void 0!==e)return e.BigInt||null;if("undefined"!=typeof self)return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}function m(e){if(void 0===p&&(p=v()),null===p)throw new Error("BigInt is not supported!");return p(e)}function g(){var e=[];e[0]=m(1);var t=m(900);e[1]=t;for(var n=2;n<16;n++)e[n]=e[n-1]*t;return e}!function(e){e[e.ALPHA=0]="ALPHA",e[e.LOWER=1]="LOWER",e[e.MIXED=2]="MIXED",e[e.PUNCT=3]="PUNCT",e[e.ALPHA_SHIFT=4]="ALPHA_SHIFT",e[e.PUNCT_SHIFT=5]="PUNCT_SHIFT"}(h||(h={}));var b=function(){function e(){}return e.decode=function(t,n){var c=new l.a(""),u=o.a.ISO8859_1;c.enableDecoding(u);for(var s=1,d=t[s++],f=new i.a;s<t[0];){switch(d){case e.TEXT_COMPACTION_MODE_LATCH:s=e.textCompaction(t,s,c);break;case e.BYTE_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH_6:s=e.byteCompaction(d,t,u,s,c);break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:c.append(t[s++]);break;case e.NUMERIC_COMPACTION_MODE_LATCH:s=e.numericCompaction(t,s,c);break;case e.ECI_CHARSET:var h=o.a.getCharacterSetECIByValue(t[s++]);break;case e.ECI_GENERAL_PURPOSE:s+=2;break;case e.ECI_USER_DEFINED:s++;break;case e.BEGIN_MACRO_PDF417_CONTROL_BLOCK:s=e.decodeMacroBlock(t,s,f);break;case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case e.MACRO_PDF417_TERMINATOR:throw new r.a;default:s--,s=e.textCompaction(t,s,c)}if(!(s<t.length))throw r.a.getFormatInstance();d=t[s++]}if(0===c.length())throw r.a.getFormatInstance();var p=new a.a(null,c.toString(),null,n);return p.setOther(f),p},e.decodeMacroBlock=function(t,n,o){if(n+e.NUMBER_OF_SEQUENCE_CODEWORDS>t[0])throw r.a.getFormatInstance();for(var a=new Int32Array(e.NUMBER_OF_SEQUENCE_CODEWORDS),i=0;i<e.NUMBER_OF_SEQUENCE_CODEWORDS;i++,n++)a[i]=t[n];o.setSegmentIndex(u.a.parseInt(e.decodeBase900toBase10(a,e.NUMBER_OF_SEQUENCE_CODEWORDS)));var d=new l.a;n=e.textCompaction(t,n,d),o.setFileId(d.toString());var f=-1;for(t[n]===e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(f=n+1);n<t[0];)switch(t[n]){case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(t[++n]){case e.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:var h=new l.a;n=e.textCompaction(t,n+1,h),o.setFileName(h.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_SENDER:var p=new l.a;n=e.textCompaction(t,n+1,p),o.setSender(p.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:var v=new l.a;n=e.textCompaction(t,n+1,v),o.setAddressee(v.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:var m=new l.a;n=e.numericCompaction(t,n+1,m),o.setSegmentCount(u.a.parseInt(m.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:var g=new l.a;n=e.numericCompaction(t,n+1,g),o.setTimestamp(s.a.parseLong(g.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:var b=new l.a;n=e.numericCompaction(t,n+1,b),o.setChecksum(u.a.parseInt(b.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:var y=new l.a;n=e.numericCompaction(t,n+1,y),o.setFileSize(s.a.parseLong(y.toString()));break;default:throw r.a.getFormatInstance()}break;case e.MACRO_PDF417_TERMINATOR:n++,o.setLastSegment(!0);break;default:throw r.a.getFormatInstance()}if(-1!==f){var w=n-f;o.isLastSegment()&&w--,o.setOptionalData(c.a.copyOfRange(t,f,f+w))}return n},e.textCompaction=function(t,n,r){for(var o=new Int32Array(2*(t[0]-n)),a=new Int32Array(2*(t[0]-n)),i=0,c=!1;n<t[0]&&!c;){var l=t[n++];if(l<e.TEXT_COMPACTION_MODE_LATCH)o[i]=l/30,o[i+1]=l%30,i+=2;else switch(l){case e.TEXT_COMPACTION_MODE_LATCH:o[i++]=e.TEXT_COMPACTION_MODE_LATCH;break;case e.BYTE_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH_6:case e.NUMERIC_COMPACTION_MODE_LATCH:case e.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case e.MACRO_PDF417_TERMINATOR:n--,c=!0;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o[i]=e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,l=t[n++],a[i]=l,i++}}return e.decodeTextCompaction(o,a,i,r),n},e.decodeTextCompaction=function(t,n,r,o){for(var a=h.ALPHA,i=h.ALPHA,c=0;c<r;){var l=t[c],u="";switch(a){case h.ALPHA:if(l<26)u=String.fromCharCode(65+l);else switch(l){case 26:u=" ";break;case e.LL:a=h.LOWER;break;case e.ML:a=h.MIXED;break;case e.PS:i=a,a=h.PUNCT_SHIFT;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(n[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}break;case h.LOWER:if(l<26)u=String.fromCharCode(97+l);else switch(l){case 26:u=" ";break;case e.AS:i=a,a=h.ALPHA_SHIFT;break;case e.ML:a=h.MIXED;break;case e.PS:i=a,a=h.PUNCT_SHIFT;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(n[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}break;case h.MIXED:if(l<e.PL)u=e.MIXED_CHARS[l];else switch(l){case e.PL:a=h.PUNCT;break;case 26:u=" ";break;case e.LL:a=h.LOWER;break;case e.AL:a=h.ALPHA;break;case e.PS:i=a,a=h.PUNCT_SHIFT;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(n[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}break;case h.PUNCT:if(l<e.PAL)u=e.PUNCT_CHARS[l];else switch(l){case e.PAL:a=h.ALPHA;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(n[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}break;case h.ALPHA_SHIFT:if(a=i,l<26)u=String.fromCharCode(65+l);else switch(l){case 26:u=" ";break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}break;case h.PUNCT_SHIFT:if(a=i,l<e.PAL)u=e.PUNCT_CHARS[l];else switch(l){case e.PAL:a=h.ALPHA;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(n[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}}""!==u&&o.append(u),c++}},e.byteCompaction=function(t,n,r,o,a){var i=new d.a,c=0,l=0,u=!1;switch(t){case e.BYTE_COMPACTION_MODE_LATCH:for(var s=new Int32Array(6),h=n[o++];o<n[0]&&!u;)switch(s[c++]=h,l=900*l+h,h=n[o++]){case e.TEXT_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH:case e.NUMERIC_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH_6:case e.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case e.MACRO_PDF417_TERMINATOR:o--,u=!0;break;default:if(c%5==0&&c>0){for(var p=0;p<6;++p)i.write(Number(m(l)>>m(8*(5-p))));l=0,c=0}}o===n[0]&&h<e.TEXT_COMPACTION_MODE_LATCH&&(s[c++]=h);for(var v=0;v<c;v++)i.write(s[v]);break;case e.BYTE_COMPACTION_MODE_LATCH_6:for(;o<n[0]&&!u;){var g=n[o++];if(g<e.TEXT_COMPACTION_MODE_LATCH)c++,l=900*l+g;else switch(g){case e.TEXT_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH:case e.NUMERIC_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH_6:case e.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case e.MACRO_PDF417_TERMINATOR:o--,u=!0}if(c%5==0&&c>0){for(var p=0;p<6;++p)i.write(Number(m(l)>>m(8*(5-p))));l=0,c=0}}}return a.append(f.a.decode(i.toByteArray(),r)),o},e.numericCompaction=function(t,n,r){for(var o=0,a=!1,i=new Int32Array(e.MAX_NUMERIC_CODEWORDS);n<t[0]&&!a;){var c=t[n++];if(n===t[0]&&(a=!0),c<e.TEXT_COMPACTION_MODE_LATCH)i[o]=c,o++;else switch(c){case e.TEXT_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH_6:case e.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case e.MACRO_PDF417_TERMINATOR:n--,a=!0}(o%e.MAX_NUMERIC_CODEWORDS==0||c===e.NUMERIC_COMPACTION_MODE_LATCH||a)&&o>0&&(r.append(e.decodeBase900toBase10(i,o)),o=0)}return n},e.decodeBase900toBase10=function(t,n){for(var o=m(0),a=0;a<n;a++)o+=e.EXP900[n-a-1]*m(t[a]);var i=o.toString();if("1"!==i.charAt(0))throw new r.a;return i.substring(1)},e.TEXT_COMPACTION_MODE_LATCH=900,e.BYTE_COMPACTION_MODE_LATCH=901,e.NUMERIC_COMPACTION_MODE_LATCH=902,e.BYTE_COMPACTION_MODE_LATCH_6=924,e.ECI_USER_DEFINED=925,e.ECI_GENERAL_PURPOSE=926,e.ECI_CHARSET=927,e.BEGIN_MACRO_PDF417_CONTROL_BLOCK=928,e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD=923,e.MACRO_PDF417_TERMINATOR=922,e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE=913,e.MAX_NUMERIC_CODEWORDS=15,e.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME=0,e.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT=1,e.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP=2,e.MACRO_PDF417_OPTIONAL_FIELD_SENDER=3,e.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE=4,e.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE=5,e.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM=6,e.PL=25,e.LL=27,e.AS=27,e.ML=28,e.AL=28,e.PS=29,e.PAL=29,e.PUNCT_CHARS=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",e.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",e.EXP900=v()?g():[],e.NUMBER_OF_SEQUENCE_CODEWORDS=2,e}();t.a=b}).call(this,n(109))},function(e,t,n){"use strict";var r=function(){function e(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}return e.prototype.getSegmentIndex=function(){return this.segmentIndex},e.prototype.setSegmentIndex=function(e){this.segmentIndex=e},e.prototype.getFileId=function(){return this.fileId},e.prototype.setFileId=function(e){this.fileId=e},e.prototype.getOptionalData=function(){return this.optionalData},e.prototype.setOptionalData=function(e){this.optionalData=e},e.prototype.isLastSegment=function(){return this.lastSegment},e.prototype.setLastSegment=function(e){this.lastSegment=e},e.prototype.getSegmentCount=function(){return this.segmentCount},e.prototype.setSegmentCount=function(e){this.segmentCount=e},e.prototype.getSender=function(){return this.sender||null},e.prototype.setSender=function(e){this.sender=e},e.prototype.getAddressee=function(){return this.addressee||null},e.prototype.setAddressee=function(e){this.addressee=e},e.prototype.getFileName=function(){return this.fileName},e.prototype.setFileName=function(e){this.fileName=e},e.prototype.getFileSize=function(){return this.fileSize},e.prototype.setFileSize=function(e){this.fileSize=e},e.prototype.getChecksum=function(){return this.checksum},e.prototype.setChecksum=function(e){this.checksum=e},e.prototype.getTimestamp=function(){return this.timestamp},e.prototype.setTimestamp=function(e){this.timestamp=e},e}();t.a=r},function(e,t,n){"use strict";var r=n(15),o=n(29),a=n(41),i=n(74),c=n(125),l=n(14),u=n(53),s=function(){function e(){}return e.prototype.encode=function(t,n,a,u,s){if(0===t.length)throw new l.a("Found empty contents");if(n!==r.a.QR_CODE)throw new l.a("Can only encode QR_CODE, but got "+n);if(a<0||u<0)throw new l.a("Requested dimensions are too small: "+a+"x"+u);var d=i.a.L,f=e.QUIET_ZONE_SIZE;null!==s&&(void 0!==s.get(o.a.ERROR_CORRECTION)&&(d=i.a.fromString(s.get(o.a.ERROR_CORRECTION).toString())),void 0!==s.get(o.a.MARGIN)&&(f=Number.parseInt(s.get(o.a.MARGIN).toString(),10)));var h=c.a.encode(t,d,s);return e.renderResult(h,a,u,f)},e.renderResult=function(e,t,n,r){var o=e.getMatrix();if(null===o)throw new u.a;for(var i=o.getWidth(),c=o.getHeight(),l=i+2*r,s=c+2*r,d=Math.max(t,l),f=Math.max(n,s),h=Math.min(Math.floor(d/l),Math.floor(f/s)),p=Math.floor((d-i*h)/2),v=Math.floor((f-c*h)/2),m=new a.a(d,f),g=0,b=v;g<c;g++,b+=h)for(var y=0,w=p;y<i;y++,w+=h)1===o.get(y,g)&&m.setRegion(w,b,h,h);return m},e.QUIET_ZONE_SIZE=4,e}();t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(10),o=n(23),a=function(){function e(){}return e.prototype.getEncodingMode=function(){return r.b},e.prototype.encode=function(e){var t;if(o.a.determineConsecutiveDigitCount(e.getMessage(),e.pos)>=2)e.writeCodeword(this.encodeASCIIDigits(e.getMessage().charCodeAt(e.pos),e.getMessage().charCodeAt(e.pos+1))),e.pos+=2;else{var n=e.getCurrentChar(),a=o.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(a!==this.getEncodingMode())switch(a){case r.c:return e.writeCodeword(r.j),void e.signalEncoderChange(r.c);case r.d:return e.writeCodeword(r.k),void e.signalEncoderChange(r.d);case r.x:e.writeCodeword(r.i),e.signalEncoderChange(r.x);break;case r.v:e.writeCodeword(r.m),e.signalEncoderChange(r.v);break;case r.f:e.writeCodeword(r.l),e.signalEncoderChange(r.f);break;default:throw new Error("Illegal mode: "+a)}else o.a.isExtendedASCII(n)?(e.writeCodeword(r.w),e.writeCodeword(n-128+1),e.pos++):(e.writeCodeword(n+1),e.pos++)}},e.prototype.encodeASCIIDigits=function(e,t){var n;if(o.a.isDigit(e)&&o.a.isDigit(t))return 10*(e-48)+(t-48)+130;throw new Error("not digits: "+e+t)},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(20),o=n(18),a=n(23),i=n(10),c=function(){function e(){}return e.prototype.getEncodingMode=function(){return i.c},e.prototype.encode=function(e){var t=new o.a;for(t.append(0);e.hasMoreCharacters();){var n=e.getCurrentChar(),c;if(t.append(n),e.pos++,a.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode())!==this.getEncodingMode()){e.signalEncoderChange(i.b);break}}var l=t.length()-1,u=1,s=e.getCodewordCount()+l+1;e.updateSymbolInfo(s);var d=e.getSymbolInfo().getDataCapacity()-s>0;if(e.hasMoreCharacters()||d)if(l<=249)t.setCharAt(0,r.a.getCharAt(l));else{if(!(l<=1555))throw new Error("Message length not in valid ranges: "+l);t.setCharAt(0,r.a.getCharAt(Math.floor(l/250)+249)),t.insert(1,r.a.getCharAt(l%250))}for(var f=0,n=t.length();f<n;f++)e.writeCodeword(this.randomize255State(t.charAt(f).charCodeAt(0),e.getCodewordCount()+1))},e.prototype.randomize255State=function(e,t){var n,r=e+(149*t%255+1);return r<=255?r:r-256},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(20),o=n(18),a=n(10),i=n(23),c=function(){function e(){}return e.prototype.getEncodingMode=function(){return a.f},e.prototype.encode=function(e){for(var t=new o.a;e.hasMoreCharacters();){var n=e.getCurrentChar(),c;if(this.encodeChar(n,t),e.pos++,t.length()>=4){e.writeCodewords(this.encodeToCodewords(t.toString()));var l=t.toString().substring(4),u;if(t.setLengthToZero(),t.append(l),i.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode())!==this.getEncodingMode()){e.signalEncoderChange(a.b);break}}}t.append(r.a.getCharAt(31)),this.handleEOD(e,t)},e.prototype.handleEOD=function(e,t){try{var n=t.length();if(0===n)return;if(1===n){e.updateSymbolInfo();var r=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),o=e.getRemainingCharacters();if(o>r&&(e.updateSymbolInfo(e.getCodewordCount()+1),r=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount()),o<=r&&r<=2)return}if(n>4)throw new Error("Count must not exceed 4");var i=n-1,c=this.encodeToCodewords(t.toString()),l,u=!e.hasMoreCharacters()&&i<=2,r;if(i<=2)e.updateSymbolInfo(e.getCodewordCount()+i),(r=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount())>=3&&(u=!1,e.updateSymbolInfo(e.getCodewordCount()+c.length));u?(e.resetSymbolInfo(),e.pos-=i):e.writeCodewords(c)}finally{e.signalEncoderChange(a.b)}},e.prototype.encodeChar=function(e,t){e>=" ".charCodeAt(0)&&e<="?".charCodeAt(0)?t.append(e):e>="@".charCodeAt(0)&&e<="^".charCodeAt(0)?t.append(r.a.getCharAt(e-64)):i.a.illegalCharacter(r.a.getCharAt(e))},e.prototype.encodeToCodewords=function(e){var t=e.length;if(0===t)throw new Error("StringBuilder must not be empty");var n,r,a,i,c=(e.charAt(0).charCodeAt(0)<<18)+((t>=2?e.charAt(1).charCodeAt(0):0)<<12)+((t>=3?e.charAt(2).charCodeAt(0):0)<<6)+(t>=4?e.charAt(3).charCodeAt(0):0),l=c>>16&255,u=c>>8&255,s=255&c,d=new o.a;return d.append(l),t>=2&&d.append(u),t>=3&&d.append(s),d.toString()},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(18),o=n(116),a=function(){function e(e){this.msg=e,this.pos=0,this.skipAtEnd=0;for(var t=e.split("").map((function(e){return e.charCodeAt(0)})),n=new r.a,o=0,a=t.length;o<a;o++){var i=String.fromCharCode(255&t[o]);if("?"===i&&"?"!==e.charAt(o))throw new Error("Message contains characters outside ISO-8859-1 encoding.");n.append(i)}this.msg=n.toString(),this.shape=0,this.codewords=new r.a,this.newEncoding=-1}return e.prototype.setSymbolShape=function(e){this.shape=e},e.prototype.setSizeConstraints=function(e,t){this.minSize=e,this.maxSize=t},e.prototype.getMessage=function(){return this.msg},e.prototype.setSkipAtEnd=function(e){this.skipAtEnd=e},e.prototype.getCurrentChar=function(){return this.msg.charCodeAt(this.pos)},e.prototype.getCurrent=function(){return this.msg.charCodeAt(this.pos)},e.prototype.getCodewords=function(){return this.codewords},e.prototype.writeCodewords=function(e){this.codewords.append(e)},e.prototype.writeCodeword=function(e){this.codewords.append(e)},e.prototype.getCodewordCount=function(){return this.codewords.length()},e.prototype.getNewEncoding=function(){return this.newEncoding},e.prototype.signalEncoderChange=function(e){this.newEncoding=e},e.prototype.resetEncoderSignal=function(){this.newEncoding=-1},e.prototype.hasMoreCharacters=function(){return this.pos<this.getTotalMessageCharCount()},e.prototype.getTotalMessageCharCount=function(){return this.msg.length-this.skipAtEnd},e.prototype.getRemainingCharacters=function(){return this.getTotalMessageCharCount()-this.pos},e.prototype.getSymbolInfo=function(){return this.symbolInfo},e.prototype.updateSymbolInfo=function(e){void 0===e&&(e=this.getCodewordCount()),(null==this.symbolInfo||e>this.symbolInfo.getDataCapacity())&&(this.symbolInfo=o.a.lookup(e,this.shape,this.minSize,this.maxSize,!0))},e.prototype.resetSymbolInfo=function(){this.symbolInfo=null},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(20),o=n(18),a=n(86),i=n(23),c=n(10),l=(u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u,s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.getEncodingMode=function(){return c.x},t.prototype.encode=function(e){for(var t=new o.a;e.hasMoreCharacters();){var n=e.getCurrentChar(),r,a;if(e.pos++,this.encodeChar(n,t),t.length()%3==0)if(this.writeNextTriplet(e,t),i.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode())!==this.getEncodingMode()){e.signalEncoderChange(c.b);break}}this.handleEOD(e,t)},t.prototype.encodeChar=function(e,t){switch(e){case 13:t.append(0);break;case"*".charCodeAt(0):t.append(1);break;case">".charCodeAt(0):t.append(2);break;case" ".charCodeAt(0):t.append(3);break;default:e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)?t.append(e-48+4):e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)?t.append(e-65+14):i.a.illegalCharacter(r.a.getCharAt(e))}return 1},t.prototype.handleEOD=function(e,t){e.updateSymbolInfo();var n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),r=t.length();e.pos-=r,(e.getRemainingCharacters()>1||n>1||e.getRemainingCharacters()!==n)&&e.writeCodeword(c.y),e.getNewEncoding()<0&&e.signalEncoderChange(c.b)},t}(a.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(86),o=n(10),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i,c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getEncodingMode=function(){return o.v},t.prototype.encodeChar=function(e,t){if(e===" ".charCodeAt(0))return t.append(3),1;if(e>="0".charCodeAt(0)&&e<="9".charCodeAt(0))return t.append(e-48+4),1;if(e>="a".charCodeAt(0)&&e<="z".charCodeAt(0))return t.append(e-97+14),1;if(e<" ".charCodeAt(0))return t.append(0),t.append(e),2;if(e<="/".charCodeAt(0))return t.append(1),t.append(e-33),2;if(e<="@".charCodeAt(0))return t.append(1),t.append(e-58+15),2;if(e>="[".charCodeAt(0)&&e<="_".charCodeAt(0))return t.append(1),t.append(e-91+22),2;if(e==="`".charCodeAt(0))return t.append(2),t.append(0),2;if(e<="Z".charCodeAt(0))return t.append(2),t.append(e-65+1),2;if(e<=127)return t.append(2),t.append(e-123+27),2;t.append("1\x1e");var n=2;return n+=this.encodeChar(e-128,t)},t}(r.a)},function(e,t,n){"use strict";var r=function(){function e(){}return e.prototype.isCompact=function(){return this.compact},e.prototype.setCompact=function(e){this.compact=e},e.prototype.getSize=function(){return this.size},e.prototype.setSize=function(e){this.size=e},e.prototype.getLayers=function(){return this.layers},e.prototype.setLayers=function(e){this.layers=e},e.prototype.getCodeWords=function(){return this.codeWords},e.prototype.setCodeWords=function(e){this.codeWords=e},e.prototype.getMatrix=function(){return this.matrix},e.prototype.setMatrix=function(e){this.matrix=e},e}();t.a=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return V}));var r=n(53),o=n(129),a=n(119),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c,l,u=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t.prototype.encodeCompressedGtin=function(e,t){e.append("(01)");var n=e.length();e.append("9"),this.encodeCompressedGtinWithoutAI(e,t,n)},t.prototype.encodeCompressedGtinWithoutAI=function(e,n,r){for(var o=0;o<4;++o){var a=this.getGeneralDecoder().extractNumericValueFromBitArray(n+10*o,10);a/100==0&&e.append("0"),a/10==0&&e.append("0"),e.append(a)}t.appendCheckDigit(e,r)},t.appendCheckDigit=function(e,t){for(var n=0,r=0;r<13;r++){var o=e.charAt(r+t).charCodeAt(0)-"0".charCodeAt(0);n+=0==(1&r)?3*o:o}10===(n=10-n%10)&&(n=0),e.append(n)},t.GTIN_SIZE=40,t}(a.a),s=n(18),d=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f,h=function(e){function t(t){return e.call(this,t)||this}return d(t,e),t.prototype.parseInformation=function(){var e=new s.a;e.append("(01)");var n=e.length(),r=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE,4);return e.append(r),this.encodeCompressedGtinWithoutAI(e,t.HEADER_SIZE+4,n),this.getGeneralDecoder().decodeAllCodes(e,t.HEADER_SIZE+44)},t.HEADER_SIZE=4,t}(u),p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),v,m=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.parseInformation=function(){var e=new s.a;return this.getGeneralDecoder().decodeAllCodes(e,t.HEADER_SIZE)},t.HEADER_SIZE=5,t}(a.a),g=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b,y=function(e){function t(t){return e.call(this,t)||this}return g(t,e),t.prototype.encodeCompressedWeight=function(e,t,n){var r=this.getGeneralDecoder().extractNumericValueFromBitArray(t,n);this.addWeightCode(e,r);for(var o=this.checkWeight(r),a=1e5,i=0;i<5;++i)o/a==0&&e.append("0"),a/=10;e.append(o)},t}(u),w=n(8),O=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M,A=function(e){function t(t){return e.call(this,t)||this}return O(t,e),t.prototype.parseInformation=function(){if(this.getInformation().getSize()!==t.HEADER_SIZE+y.GTIN_SIZE+t.WEIGHT_SIZE)throw new w.a;var e=new s.a;return this.encodeCompressedGtin(e,t.HEADER_SIZE),this.encodeCompressedWeight(e,t.HEADER_SIZE+y.GTIN_SIZE,t.WEIGHT_SIZE),e.toString()},t.HEADER_SIZE=5,t.WEIGHT_SIZE=15,t}(y),j=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),x,S=function(e){function t(t){return e.call(this,t)||this}return j(t,e),t.prototype.addWeightCode=function(e,t){e.append("(3103)")},t.prototype.checkWeight=function(e){return e},t}(A),E=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C,T=function(e){function t(t){return e.call(this,t)||this}return E(t,e),t.prototype.addWeightCode=function(e,t){t<1e4?e.append("(3202)"):e.append("(3203)")},t.prototype.checkWeight=function(e){return e<1e4?e:e-1e4},t}(A),D=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_,z=function(e){function t(t){return e.call(this,t)||this}return D(t,e),t.prototype.parseInformation=function(){if(this.getInformation().getSize()<t.HEADER_SIZE+u.GTIN_SIZE)throw new w.a;var e=new s.a;this.encodeCompressedGtin(e,t.HEADER_SIZE);var n=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE,t.LAST_DIGIT_SIZE);e.append("(392"),e.append(n),e.append(")");var r=this.getGeneralDecoder().decodeGeneralPurposeField(t.HEADER_SIZE+u.GTIN_SIZE+t.LAST_DIGIT_SIZE,null);return e.append(r.getNewString()),e.toString()},t.HEADER_SIZE=8,t.LAST_DIGIT_SIZE=2,t}(u),I=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),P,N=function(e){function t(t){return e.call(this,t)||this}return I(t,e),t.prototype.parseInformation=function(){if(this.getInformation().getSize()<t.HEADER_SIZE+u.GTIN_SIZE)throw new w.a;var e=new s.a;this.encodeCompressedGtin(e,t.HEADER_SIZE);var n=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE,t.LAST_DIGIT_SIZE);e.append("(393"),e.append(n),e.append(")");var r=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE+t.LAST_DIGIT_SIZE,t.FIRST_THREE_DIGITS_SIZE);r/100==0&&e.append("0"),r/10==0&&e.append("0"),e.append(r);var o=this.getGeneralDecoder().decodeGeneralPurposeField(t.HEADER_SIZE+u.GTIN_SIZE+t.LAST_DIGIT_SIZE+t.FIRST_THREE_DIGITS_SIZE,null);return e.append(o.getNewString()),e.toString()},t.HEADER_SIZE=8,t.LAST_DIGIT_SIZE=2,t.FIRST_THREE_DIGITS_SIZE=10,t}(u),k=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R,L=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.dateCode=r,o.firstAIdigits=n,o}return k(t,e),t.prototype.parseInformation=function(){if(this.getInformation().getSize()!==t.HEADER_SIZE+t.GTIN_SIZE+t.WEIGHT_SIZE+t.DATE_SIZE)throw new w.a;var e=new s.a;return this.encodeCompressedGtin(e,t.HEADER_SIZE),this.encodeCompressedWeight(e,t.HEADER_SIZE+t.GTIN_SIZE,t.WEIGHT_SIZE),this.encodeCompressedDate(e,t.HEADER_SIZE+t.GTIN_SIZE+t.WEIGHT_SIZE),e.toString()},t.prototype.encodeCompressedDate=function(e,n){var r=this.getGeneralDecoder().extractNumericValueFromBitArray(n,t.DATE_SIZE);if(38400!==r){e.append("("),e.append(this.dateCode),e.append(")");var o=r%32,a=(r/=32)%12+1,i=r/=12;i/10==0&&e.append("0"),e.append(i),a/10==0&&e.append("0"),e.append(a),o/10==0&&e.append("0"),e.append(o)}},t.prototype.addWeightCode=function(e,t){e.append("("),e.append(this.firstAIdigits),e.append(t/1e5),e.append(")")},t.prototype.checkWeight=function(e){return e%1e5},t.HEADER_SIZE=8,t.WEIGHT_SIZE=20,t.DATE_SIZE=16,t}(y);function V(e){try{if(e.get(1))return new h(e);if(!e.get(2))return new m(e);var t,n,a;switch(o.a.extractNumericValueFromBitArray(e,1,4)){case 4:return new S(e);case 5:return new T(e)}switch(o.a.extractNumericValueFromBitArray(e,1,5)){case 12:return new z(e);case 13:return new N(e)}switch(o.a.extractNumericValueFromBitArray(e,1,7)){case 56:return new L(e,"310","11");case 57:return new L(e,"320","11");case 58:return new L(e,"310","13");case 59:return new L(e,"320","13");case 60:return new L(e,"310","15");case 61:return new L(e,"320","15");case 62:return new L(e,"310","17");case 63:return new L(e,"320","17")}}catch(t){throw console.log(t),new r.a("unknown decoder: "+e)}}},function(e,t,n){"use strict";var r,o=function(){function e(){}return e.singletonList=function(e){return[e]},e.min=function(e,t){return e.sort(t)[0]},e}(),a=n(42),i,c=function(){function e(e){this.previous=e}return e.prototype.getPrevious=function(){return this.previous},e}(),l=n(19),u=(s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s,d,f=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.value=n,o.bitCount=r,o}return u(t,e),t.prototype.appendTo=function(e,t){e.appendBits(this.value,this.bitCount)},t.prototype.add=function(e,n){return new t(this,e,n)},t.prototype.addBinaryShift=function(e,n){return console.warn("addBinaryShift on SimpleToken, this simply returns a copy of this token"),new t(this,e,n)},t.prototype.toString=function(){var e=this.value&(1<<this.bitCount)-1;return e|=1<<this.bitCount,"<"+l.a.toBinaryString(e|1<<this.bitCount).substring(1)+">"},t}(c),h=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p,v=function(e){function t(t,n,r){var o=e.call(this,t,0,0)||this;return o.binaryShiftStart=n,o.binaryShiftByteCount=r,o}return h(t,e),t.prototype.appendTo=function(e,t){for(var n=0;n<this.binaryShiftByteCount;n++)(0===n||31===n&&this.binaryShiftByteCount<=62)&&(e.appendBits(31,5),this.binaryShiftByteCount>62?e.appendBits(this.binaryShiftByteCount-31,16):0===n?e.appendBits(Math.min(this.binaryShiftByteCount,31),5):e.appendBits(this.binaryShiftByteCount-31,5)),e.appendBits(t[this.binaryShiftStart+n],8)},t.prototype.addBinaryShift=function(e,n){return new t(this,e,n)},t.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},t}(f);function m(e,t,n){return new v(e,t,n)}function g(e,t,n){return new f(e,t,n)}var b=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],y=0,w=1,O=2,M=3,A=4,j=new f(null,0,0),x=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])],S=n(34),E=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function C(e){var t,n;try{for(var r=E(e),o=r.next();!o.done;o=r.next()){var a=o.value;S.a.fill(a,-1)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return e[0][4]=0,e[1][4]=0,e[1][0]=28,e[3][4]=0,e[2][4]=0,e[2][0]=15,e}var T=C(S.a.createInt32Array(6,6)),D=n(20),_=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},z,I=function(){function e(e,t,n,r){this.token=e,this.mode=t,this.binaryShiftByteCount=n,this.bitCount=r}return e.prototype.getMode=function(){return this.mode},e.prototype.getToken=function(){return this.token},e.prototype.getBinaryShiftByteCount=function(){return this.binaryShiftByteCount},e.prototype.getBitCount=function(){return this.bitCount},e.prototype.latchAndAppend=function(t,n){var r=this.bitCount,o=this.token;if(t!==this.mode){var a=x[this.mode][t];o=g(o,65535&a,a>>16),r+=a>>16}var i=2===t?4:5;return new e(o=g(o,n,i),t,0,r+i)},e.prototype.shiftAndAppend=function(t,n){var r=this.token,o=2===this.mode?4:5;return r=g(r,T[this.mode][t],o),new e(r=g(r,n,5),this.mode,0,this.bitCount+o+5)},e.prototype.addBinaryShiftChar=function(t){var n=this.token,r=this.mode,o=this.bitCount;if(4===this.mode||2===this.mode){var a=x[r][0];n=g(n,65535&a,a>>16),o+=a>>16,r=0}var i=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,c=new e(n,r,this.binaryShiftByteCount+1,o+i);return 2078===c.binaryShiftByteCount&&(c=c.endBinaryShift(t+1)),c},e.prototype.endBinaryShift=function(t){if(0===this.binaryShiftByteCount)return this;var n=this.token;return new e(n=m(n,t-this.binaryShiftByteCount,this.binaryShiftByteCount),this.mode,0,this.bitCount)},e.prototype.isBetterThanOrEqualTo=function(t){var n=this.bitCount+(x[this.mode][t.mode]>>16);return this.binaryShiftByteCount<t.binaryShiftByteCount?n+=e.calculateBinaryShiftCost(t)-e.calculateBinaryShiftCost(this):this.binaryShiftByteCount>t.binaryShiftByteCount&&t.binaryShiftByteCount>0&&(n+=10),n<=t.bitCount},e.prototype.toBitArray=function(e){for(var t,n,r=[],o=this.endBinaryShift(e.length).token;null!==o;o=o.getPrevious())r.unshift(o);var i=new a.a;try{for(var c=_(r),l=c.next();!l.done;l=c.next()){var u;l.value.appendTo(i,e)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}return i},e.prototype.toString=function(){return D.a.format("%s bits=%d bytes=%d",b[this.mode],this.bitCount,this.binaryShiftByteCount)},e.calculateBinaryShiftCost=function(e){return e.binaryShiftByteCount>62?21:e.binaryShiftByteCount>31?20:e.binaryShiftByteCount>0?10:0},e.INITIAL_STATE=new e(j,0,0,0),e}();function P(e){var t=D.a.getCharCode(" "),n=D.a.getCharCode("."),r=D.a.getCharCode(",");e[0][t]=1;for(var o=D.a.getCharCode("Z"),a=D.a.getCharCode("A"),i=a;i<=o;i++)e[0][i]=i-a+2;e[1][t]=1;for(var c=D.a.getCharCode("z"),l=D.a.getCharCode("a"),i=l;i<=c;i++)e[1][i]=i-l+2;e[2][t]=1;for(var u=D.a.getCharCode("9"),s=D.a.getCharCode("0"),i=s;i<=u;i++)e[2][i]=i-s+2;e[2][r]=12,e[2][n]=13;for(var d=["\0"," ","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\b","\t","\n","\v","\f","\r","\x1b","\x1c","\x1d","\x1e","\x1f","@","\\","^","_","`","|","~","\x7f"],f=0;f<d.length;f++)e[3][D.a.getCharCode(d[f])]=f;for(var h=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"],f=0;f<h.length;f++)D.a.getCharCode(h[f])>0&&(e[4][D.a.getCharCode(h[f])]=f);return e}var N=P(S.a.createInt32Array(5,256)),k=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},R=function(){function e(e){this.text=e}return e.prototype.encode=function(){for(var t=D.a.getCharCode(" "),n=D.a.getCharCode("\n"),r=o.singletonList(I.INITIAL_STATE),a=0;a<this.text.length;a++){var i=void 0,c=a+1<this.text.length?this.text[a+1]:0;switch(this.text[a]){case D.a.getCharCode("\r"):i=c===n?2:0;break;case D.a.getCharCode("."):i=c===t?3:0;break;case D.a.getCharCode(","):i=c===t?4:0;break;case D.a.getCharCode(":"):i=c===t?5:0;break;default:i=0}i>0?(r=e.updateStateListForPair(r,a,i),a++):r=this.updateStateListForChar(r,a)}var l;return o.min(r,(function(e,t){return e.getBitCount()-t.getBitCount()})).toBitArray(this.text)},e.prototype.updateStateListForChar=function(t,n){var r,o,a=[];try{for(var i=k(t),c=i.next();!c.done;c=i.next()){var l=c.value;this.updateStateForChar(l,n,a)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return e.simplifyStates(a)},e.prototype.updateStateForChar=function(e,t,n){for(var r=255&this.text[t],o=N[e.getMode()][r]>0,a=null,i=0;i<=4;i++){var c=N[i][r];if(c>0){if(null==a&&(a=e.endBinaryShift(t)),!o||i===e.getMode()||2===i){var l=a.latchAndAppend(i,c);n.push(l)}if(!o&&T[e.getMode()][i]>=0){var u=a.shiftAndAppend(i,c);n.push(u)}}}if(e.getBinaryShiftByteCount()>0||0===N[e.getMode()][r]){var s=e.addBinaryShiftChar(t);n.push(s)}},e.updateStateListForPair=function(e,t,n){var r,o,a=[];try{for(var i=k(e),c=i.next();!c.done;c=i.next()){var l=c.value;this.updateStateForPair(l,t,n,a)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return this.simplifyStates(a)},e.updateStateForPair=function(e,t,n,r){var o=e.endBinaryShift(t);if(r.push(o.latchAndAppend(4,n)),4!==e.getMode()&&r.push(o.shiftAndAppend(4,n)),3===n||4===n){var a=o.latchAndAppend(2,16-n).latchAndAppend(2,1);r.push(a)}if(e.getBinaryShiftByteCount()>0){var i=e.addBinaryShiftChar(t).addBinaryShiftChar(t+1);r.push(i)}},e.simplifyStates=function(e){var t,n,r,o,a=[];try{for(var i=k(e),c=i.next();!c.done;c=i.next()){var l=c.value,u=!0,s=function(e){if(e.isBetterThanOrEqualTo(l))return u=!1,"break";l.isBetterThanOrEqualTo(e)&&(a=a.filter((function(t){return t!==e})))};try{for(var d=(r=void 0,k(a)),f=d.next();!f.done;f=d.next()){var h,p;if("break"===s(f.value))break}}catch(e){r={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}u&&a.push(l)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return a},e}(),L=t.a=R},function(e,t,n){"use strict";var r=n(1),o=n(63),a=n(106),i=n(89),c=n(0),l=n(21),u=n.n(l);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=n(227);function f(e,t,n){var r=c.useRef({});return"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t),r.current.value}function h(e,t){"function"==typeof e?e(t):"object"===s(e)&&e&&"current"in e&&(e.current=t)}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter((function(e){return e}));return r.length<=1?r[0]:function(e){t.forEach((function(t){h(t,e)}))}}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return f((function(){return p.apply(void 0,t)}),t,(function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}))}))}function m(e){var t,n,r=Object(d.isMemo)(e)?e.type.type:e.type;return!!("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render)&&!!("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render)}var g=n(87),b=n(55),y=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],w=c.forwardRef((function(e,t){var n=e.className,l=e.component,s=e.viewBox,d=e.spin,f=e.rotate,h=e.tabIndex,p=e.onClick,m=e.children,w=Object(i.a)(e,y),O=c.useRef(),M=v(O,t);Object(b.g)(Boolean(l||m),"Should have `component` prop or `children`."),Object(b.f)(O);var A=c.useContext(g.a),j=A.prefixCls,x=void 0===j?"anticon":j,S=A.rootClassName,E=u()(S,x,n),C=u()(Object(a.a)({},"".concat(x,"-spin"),!!d)),T=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,D=Object(o.a)(Object(o.a)({},b.e),{},{className:C,style:T,viewBox:s});s||delete D.viewBox;var _=function e(){return l?c.createElement(l,D,m):m?(Object(b.g)(Boolean(s)||1===c.Children.count(m)&&c.isValidElement(m)&&"use"===c.Children.only(m).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),c.createElement("svg",Object(r.a)({},D,{viewBox:s}),m)):null},z=h;return void 0===z&&p&&(z=-1),c.createElement("span",Object(r.a)({role:"img"},w,{ref:M,tabIndex:z,onClick:p,className:E}),_())}));w.displayName="AntdIcon";var O=t.a=w},function(e,t,n){"use strict";var r=n(15),o=n(25),a=n(8),i=n(32),c=n(24),l=n(80),u=n(105),s=n(198),d=n(91),f=n(42),h,p=function(){function e(){}return e.buildBitArray=function(e){var t=2*e.length-1;null==e[e.length-1].getRightChar()&&(t-=1);for(var n=12*t,r=new f.a(n),o=0,a,i=e[0].getRightChar().getValue(),c=11;c>=0;--c)0!=(i&1<<c)&&r.set(o),o++;for(var c=1;c<e.length;++c){for(var l=e[c],u=l.getLeftChar().getValue(),s=11;s>=0;--s)0!=(u&1<<s)&&r.set(o),o++;if(null!==l.getRightChar())for(var d=l.getRightChar().getValue(),s=11;s>=0;--s)0!=(d&1<<s)&&r.set(o),o++}return r},e}(),v=n(189),m,g=function(){function e(e,t,n,r){this.leftchar=e,this.rightchar=t,this.finderpattern=n,this.maybeLast=r}return e.prototype.mayBeLast=function(){return this.maybeLast},e.prototype.getLeftChar=function(){return this.leftchar},e.prototype.getRightChar=function(){return this.rightchar},e.prototype.getFinderPattern=function(){return this.finderpattern},e.prototype.mustBeLast=function(){return null==this.rightchar},e.prototype.toString=function(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"},e.equals=function(t,n){return t instanceof e&&(e.equalsOrNull(t.leftchar,n.leftchar)&&e.equalsOrNull(t.rightchar,n.rightchar)&&e.equalsOrNull(t.finderpattern,n.finderpattern))},e.equalsOrNull=function(t,n){return null===t?null===n:e.equals(t,n)},e.prototype.hashCode=function(){var e;return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()},e}(),b,y=function(){function e(e,t,n){this.pairs=e,this.rowNumber=t,this.wasReversed=n}return e.prototype.getPairs=function(){return this.pairs},e.prototype.getRowNumber=function(){return this.rowNumber},e.prototype.isReversed=function(){return this.wasReversed},e.prototype.isEquivalent=function(e){return this.checkEqualitity(this,e)},e.prototype.toString=function(){return"{ "+this.pairs+" }"},e.prototype.equals=function(t,n){return t instanceof e&&(this.checkEqualitity(t,n)&&t.wasReversed===n.wasReversed)},e.prototype.checkEqualitity=function(e,t){var n;if(e&&t)return e.forEach((function(e,r){t.forEach((function(t){e.getLeftChar().getValue()===t.getLeftChar().getValue()&&e.getRightChar().getValue()===t.getRightChar().getValue()&&e.getFinderPatter().getValue()===t.getFinderPatter().getValue()&&(n=!0)}))})),n},e}(),w=(O=function(e,t){return(O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O,M=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.pairs=new Array(t.MAX_PAIRS),n.rows=new Array,n.startEnd=[2],n}return w(t,e),t.prototype.decodeRow=function(e,n,r){this.pairs.length=0,this.startFromEven=!1;try{return t.constructResult(this.decodeRow2pairs(e,n))}catch(e){}return this.pairs.length=0,this.startFromEven=!0,t.constructResult(this.decodeRow2pairs(e,n))},t.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},t.prototype.decodeRow2pairs=function(e,t){for(var n=!1,r;!n;)try{this.pairs.push(this.retrieveNextPair(t,this.pairs,e))}catch(e){if(e instanceof a.a){if(!this.pairs.length)throw new a.a;n=!0}}if(this.checkChecksum())return this.pairs;if(r=!!this.rows.length,this.storeRow(e,!1),r){var o=this.checkRowsBoolean(!1);if(null!=o)return o;if(null!=(o=this.checkRowsBoolean(!0)))return o}throw new a.a},t.prototype.checkRowsBoolean=function(e){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,e&&(this.rows=this.rows.reverse());var t=null;try{t=this.checkRows(new Array,0)}catch(e){console.log(e)}return e&&(this.rows=this.rows.reverse()),t},t.prototype.checkRows=function(e,n){for(var r,o,i=n;i<this.rows.length;i++){var c=this.rows[i];this.pairs.length=0;try{for(var l=(r=void 0,M(e)),u=l.next();!u.done;u=l.next()){var s=u.value;this.pairs.push(s.getPairs())}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}if(this.pairs.push(c.getPairs()),t.isValidSequence(this.pairs)){if(this.checkChecksum())return this.pairs;var d=new Array(e);d.push(c);try{return this.checkRows(d,i+1)}catch(e){console.log(e)}}}throw new a.a},t.isValidSequence=function(e){var n,r;try{for(var o=M(t.FINDER_PATTERN_SEQUENCES),a=o.next();!a.done;a=o.next()){var i=a.value;if(!(e.length>i.length)){for(var c=!0,l=0;l<e.length;l++)if(e[l].getFinderPattern().getValue()!==i[l]){c=!1;break}if(c)return!0}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!1},t.prototype.storeRow=function(e,n){for(var r=0,o=!1,a=!1;r<this.rows.length;){var i=this.rows[r];if(i.getRowNumber()>e){a=i.isEquivalent(this.pairs);break}o=i.isEquivalent(this.pairs),r++}a||o||t.isPartialRow(this.pairs,this.rows)||(this.rows.push(r,new y(this.pairs,e,n)),this.removePartialRows(this.pairs,this.rows))},t.prototype.removePartialRows=function(e,t){var n,r,o,a,i,c;try{for(var l=M(t),u=l.next();!u.done;u=l.next()){var s=u.value;if(s.getPairs().length!==e.length){var d=!0;try{for(var f=(o=void 0,M(s.getPairs())),h=f.next();!h.done;h=f.next()){var p=h.value,v=!1;try{for(var m=(i=void 0,M(e)),b=m.next();!b.done;b=m.next()){var y=b.value;if(g.equals(p,y)){v=!0;break}}}catch(e){i={error:e}}finally{try{b&&!b.done&&(c=m.return)&&c.call(m)}finally{if(i)throw i.error}}v||(d=!1)}}catch(e){o={error:e}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}},t.isPartialRow=function(e,t){var n,r,o,a,i,c;try{for(var l=M(t),u=l.next();!u.done;u=l.next()){var s=u.value,d=!0;try{for(var f=(o=void 0,M(e)),h=f.next();!h.done;h=f.next()){var p=h.value,v=!1;try{for(var m=(i=void 0,M(s.getPairs())),g=m.next();!g.done;g=m.next()){var b=g.value;if(p.equals(b)){v=!0;break}}}catch(e){i={error:e}}finally{try{g&&!g.done&&(c=m.return)&&c.call(m)}finally{if(i)throw i.error}}if(!v){d=!1;break}}}catch(e){o={error:e}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}if(d)return!0}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return!1},t.prototype.getRows=function(){return this.rows},t.constructResult=function(e){var t=p.buildBitArray(e),n,o=Object(v.a)(t).parseInformation(),a=e[0].getFinderPattern().getResultPoints(),c=e[e.length-1].getFinderPattern().getResultPoints(),l=[a[0],a[1],c[0],c[1]];return new i.a(o,null,null,l,r.a.RSS_EXPANDED,null)},t.prototype.checkChecksum=function(){var e=this.pairs.get(0),t=e.getLeftChar(),n=e.getRightChar(),r;if(null===n)return!1;for(var o=n.getChecksumPortion(),a=2,i=1;i<this.pairs.size();++i){var c=this.pairs.get(i);o+=c.getLeftChar().getChecksumPortion(),a++;var l=c.getRightChar();null!=l&&(o+=l.getChecksumPortion(),a++)}return 211*(a-4)+(o%=211)===t.getValue()},t.getNextSecondBar=function(e,t){var n;return e.get(t)?(n=e.getNextUnset(t),n=e.getNextSet(n)):(n=e.getNextSet(t),n=e.getNextUnset(n)),n},t.prototype.retrieveNextPair=function(e,n,r){var o=n.length%2==0,i;this.startFromEven&&(o=!o);var c=!0,l=-1;do{this.findNextPair(e,n,l),null===(i=this.parseFoundFinderPattern(e,r,o))?l=t.getNextSecondBar(e,this.startEnd[0]):c=!1}while(c);var u=this.decodeDataCharacter(e,i,o,!0),s;if(!this.isEmptyPair(n)&&n[n.length-1].mustBeLast())throw new a.a;try{s=this.decodeDataCharacter(e,i,o,!1)}catch(e){s=null,console.log(e)}return new g(u,s,i,!0)},t.prototype.isEmptyPair=function(e){return 0===e.length},t.prototype.findNextPair=function(e,n,r){var o=this.getDecodeFinderCounters();o[0]=0,o[1]=0,o[2]=0,o[3]=0;var i=e.getSize(),c;if(r>=0)c=r;else if(this.isEmptyPair(n))c=0;else{var l;c=n[n.length-1].getFinderPattern().getStartEnd()[1]}var u=n.length%2!=0;this.startFromEven&&(u=!u);for(var s=!1;c<i&&(s=!e.get(c));)c++;for(var d=0,f=c,h=c;h<i;h++)if(e.get(h)!==s)o[d]++;else{if(3===d){if(u&&t.reverseCounters(o),t.isFinderPattern(o))return this.startEnd[0]=f,void(this.startEnd[1]=h);u&&t.reverseCounters(o),f+=o[0]+o[1],o[0]=o[2],o[1]=o[3],o[2]=0,o[3]=0,d--}else d++;o[d]=1,s=!s}throw new a.a},t.reverseCounters=function(e){for(var t=e.length,n=0;n<t/2;++n){var r=e[n];e[n]=e[t-n-1],e[t-n-1]=r}},t.prototype.parseFoundFinderPattern=function(e,n,r){var o,a,i;if(r){for(var l=this.startEnd[0]-1;l>=0&&!e.get(l);)l--;l++,o=this.startEnd[0]-l,a=l,i=this.startEnd[1]}else a=this.startEnd[0],o=(i=e.getNextUnset(this.startEnd[1]+1))-this.startEnd[1];var u=this.getDecodeFinderCounters(),d;c.a.arraycopy(u,0,u,1,u.length-1),u[0]=o;try{d=this.parseFinderValue(u,t.FINDER_PATTERNS)}catch(e){return null}return new s.a(d,[a,i],a,i,n)},t.prototype.decodeDataCharacter=function(e,n,r,i){for(var c=this.getDataCharacterCounters(),l=0;l<c.length;l++)c[l]=0;if(i)t.recordPatternInReverse(e,n.getStartEnd()[0],c);else{t.recordPattern(e,n.getStartEnd()[1],c);for(var s=0,f=c.length-1;s<f;s++,f--){var h=c[s];c[s]=c[f],c[f]=h}}var p=17,v=o.a.sum(new Int32Array(c))/17,m=(n.getStartEnd()[1]-n.getStartEnd()[0])/15;if(Math.abs(v-m)/m>.3)throw new a.a;for(var g=this.getOddCounts(),b=this.getEvenCounts(),y=this.getOddRoundingErrors(),w=this.getEvenRoundingErrors(),s=0;s<c.length;s++){var O=1*c[s]/v,M=O+.5;if(M<1){if(O<.3)throw new a.a;M=1}else if(M>8){if(O>8.7)throw new a.a;M=8}var A=s/2;0==(1&s)?(g[A]=M,y[A]=O-M):(b[A]=M,w[A]=O-M)}this.adjustOddEvenCounts(17);for(var j=4*n.getValue()+(r?0:2)+(i?0:1)-1,x=0,S=0,s=g.length-1;s>=0;s--){if(t.isNotA1left(n,r,i)){var E=t.WEIGHTS[j][2*s];S+=g[s]*E}x+=g[s]}for(var C=0,s=b.length-1;s>=0;s--)if(t.isNotA1left(n,r,i)){var E=t.WEIGHTS[j][2*s+1];C+=b[s]*E}var T=S+C;if(0!=(1&x)||x>13||x<4)throw new a.a;var D=(13-x)/2,_=t.SYMBOL_WIDEST[D],z=9-_,I=d.a.getRSSvalue(g,_,!0),P=d.a.getRSSvalue(b,z,!1),N,k,R=I*t.EVEN_TOTAL_SUBSET[D]+P+t.GSUM[D];return new u.a(R,T)},t.isNotA1left=function(e,t,n){return!(0===e.getValue()&&t&&n)},t.prototype.adjustOddEvenCounts=function(e){var n=o.a.sum(new Int32Array(this.getOddCounts())),r=o.a.sum(new Int32Array(this.getEvenCounts())),i=!1,c=!1;n>13?c=!0:n<4&&(i=!0);var l=!1,u=!1;r>13?u=!0:r<4&&(l=!0);var s=n+r-e,d=1==(1&n),f=0==(1&r);if(1===s)if(d){if(f)throw new a.a;c=!0}else{if(!f)throw new a.a;u=!0}else if(-1===s)if(d){if(f)throw new a.a;i=!0}else{if(!f)throw new a.a;l=!0}else{if(0!==s)throw new a.a;if(d){if(!f)throw new a.a;n<r?(i=!0,u=!0):(c=!0,l=!0)}else if(f)throw new a.a}if(i){if(c)throw new a.a;t.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(c&&t.decrement(this.getOddCounts(),this.getOddRoundingErrors()),l){if(u)throw new a.a;t.increment(this.getEvenCounts(),this.getOddRoundingErrors())}u&&t.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},t.SYMBOL_WIDEST=[7,5,4,3,1],t.EVEN_TOTAL_SUBSET=[4,20,52,104,204],t.GSUM=[0,348,1388,2948,3988],t.FINDER_PATTERNS=[Int32Array.from([1,8,4,1]),Int32Array.from([3,6,4,1]),Int32Array.from([3,4,6,1]),Int32Array.from([3,2,8,1]),Int32Array.from([2,6,5,1]),Int32Array.from([2,2,9,1])],t.WEIGHTS=[[1,3,9,27,81,32,96,77],[20,60,180,118,143,7,21,63],[189,145,13,39,117,140,209,205],[193,157,49,147,19,57,171,91],[62,186,136,197,169,85,44,132],[185,133,188,142,4,12,36,108],[113,128,173,97,80,29,87,50],[150,28,84,41,123,158,52,156],[46,138,203,187,139,206,196,166],[76,17,51,153,37,111,122,155],[43,129,176,106,107,110,119,146],[16,48,144,10,30,90,59,177],[109,116,137,200,178,112,125,164],[70,210,208,202,184,130,179,115],[134,191,151,31,93,68,204,190],[148,22,66,198,172,94,71,2],[6,18,54,162,64,192,154,40],[120,149,25,75,14,42,126,167],[79,26,78,23,69,207,199,175],[103,98,83,38,114,131,182,124],[161,61,183,127,170,88,53,159],[55,165,73,8,24,72,5,15],[45,135,194,160,58,174,100,89]],t.FINDER_PAT_A=0,t.FINDER_PAT_B=1,t.FINDER_PAT_C=2,t.FINDER_PAT_D=3,t.FINDER_PAT_E=4,t.FINDER_PAT_F=5,t.FINDER_PATTERN_SEQUENCES=[[t.FINDER_PAT_A,t.FINDER_PAT_A],[t.FINDER_PAT_A,t.FINDER_PAT_B,t.FINDER_PAT_B],[t.FINDER_PAT_A,t.FINDER_PAT_C,t.FINDER_PAT_B,t.FINDER_PAT_D],[t.FINDER_PAT_A,t.FINDER_PAT_E,t.FINDER_PAT_B,t.FINDER_PAT_D,t.FINDER_PAT_C],[t.FINDER_PAT_A,t.FINDER_PAT_E,t.FINDER_PAT_B,t.FINDER_PAT_D,t.FINDER_PAT_D,t.FINDER_PAT_F],[t.FINDER_PAT_A,t.FINDER_PAT_E,t.FINDER_PAT_B,t.FINDER_PAT_D,t.FINDER_PAT_E,t.FINDER_PAT_F,t.FINDER_PAT_F],[t.FINDER_PAT_A,t.FINDER_PAT_A,t.FINDER_PAT_B,t.FINDER_PAT_B,t.FINDER_PAT_C,t.FINDER_PAT_C,t.FINDER_PAT_D,t.FINDER_PAT_D],[t.FINDER_PAT_A,t.FINDER_PAT_A,t.FINDER_PAT_B,t.FINDER_PAT_B,t.FINDER_PAT_C,t.FINDER_PAT_C,t.FINDER_PAT_D,t.FINDER_PAT_E,t.FINDER_PAT_E],[t.FINDER_PAT_A,t.FINDER_PAT_A,t.FINDER_PAT_B,t.FINDER_PAT_B,t.FINDER_PAT_C,t.FINDER_PAT_C,t.FINDER_PAT_D,t.FINDER_PAT_E,t.FINDER_PAT_F,t.FINDER_PAT_F],[t.FINDER_PAT_A,t.FINDER_PAT_A,t.FINDER_PAT_B,t.FINDER_PAT_B,t.FINDER_PAT_C,t.FINDER_PAT_D,t.FINDER_PAT_D,t.FINDER_PAT_E,t.FINDER_PAT_E,t.FINDER_PAT_F,t.FINDER_PAT_F]],t.MAX_PAIRS=11,t}(l.a),j=t.a=A},function(e,t,n){"use strict";var r=n(38),o=n(14),a=n(24),i=n(18),c=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},l,u=function(){function e(e,t){if(0===t.length)throw new o.a;this.field=e;var n=t.length;if(n>1&&0===t[0]){for(var r=1;r<n&&0===t[r];)r++;r===n?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(n-r),a.a.arraycopy(t,r,this.coefficients,0,this.coefficients.length))}else this.coefficients=t}return e.prototype.getCoefficients=function(){return this.coefficients},e.prototype.getDegree=function(){return this.coefficients.length-1},e.prototype.isZero=function(){return 0===this.coefficients[0]},e.prototype.getCoefficient=function(e){return this.coefficients[this.coefficients.length-1-e]},e.prototype.evaluateAt=function(e){var t,n;if(0===e)return this.getCoefficient(0);if(1===e){var r=0;try{for(var o=c(this.coefficients),a=o.next();!a.done;a=o.next()){var i=a.value;r=this.field.add(r,i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}for(var l=this.coefficients[0],u=this.coefficients.length,s=1;s<u;s++)l=this.field.add(this.field.multiply(e,l),this.coefficients[s]);return l},e.prototype.add=function(t){if(!this.field.equals(t.field))throw new o.a("ModulusPolys do not have same ModulusGF field");if(this.isZero())return t;if(t.isZero())return this;var n=this.coefficients,r=t.coefficients;if(n.length>r.length){var i=n;n=r,r=i}var c=new Int32Array(r.length),l=r.length-n.length;a.a.arraycopy(r,0,c,0,l);for(var u=l;u<r.length;u++)c[u]=this.field.add(n[u-l],r[u]);return new e(this.field,c)},e.prototype.subtract=function(e){if(!this.field.equals(e.field))throw new o.a("ModulusPolys do not have same ModulusGF field");return e.isZero()?this:this.add(e.negative())},e.prototype.multiply=function(t){return t instanceof e?this.multiplyOther(t):this.multiplyScalar(t)},e.prototype.multiplyOther=function(t){if(!this.field.equals(t.field))throw new o.a("ModulusPolys do not have same ModulusGF field");if(this.isZero()||t.isZero())return new e(this.field,new Int32Array([0]));for(var n=this.coefficients,r=n.length,a=t.coefficients,i=a.length,c=new Int32Array(r+i-1),l=0;l<r;l++)for(var u=n[l],s=0;s<i;s++)c[l+s]=this.field.add(c[l+s],this.field.multiply(u,a[s]));return new e(this.field,c)},e.prototype.negative=function(){for(var t=this.coefficients.length,n=new Int32Array(t),r=0;r<t;r++)n[r]=this.field.subtract(0,this.coefficients[r]);return new e(this.field,n)},e.prototype.multiplyScalar=function(t){if(0===t)return new e(this.field,new Int32Array([0]));if(1===t)return this;for(var n=this.coefficients.length,r=new Int32Array(n),o=0;o<n;o++)r[o]=this.field.multiply(this.coefficients[o],t);return new e(this.field,r)},e.prototype.multiplyByMonomial=function(t,n){if(t<0)throw new o.a;if(0===n)return new e(this.field,new Int32Array([0]));for(var r=this.coefficients.length,a=new Int32Array(r+t),i=0;i<r;i++)a[i]=this.field.multiply(this.coefficients[i],n);return new e(this.field,a)},e.prototype.toString=function(){for(var e=new i.a,t=this.getDegree();t>=0;t--){var n=this.getCoefficient(t);0!==n&&(n<0?(e.append(" - "),n=-n):e.length()>0&&e.append(" + "),0!==t&&1===n||e.append(n),0!==t&&(1===t?e.append("x"):(e.append("x^"),e.append(t))))}return e.toString()},e}(),s=n(28),d=n(117),f=function(){function e(){}return e.prototype.add=function(e,t){return(e+t)%this.modulus},e.prototype.subtract=function(e,t){return(this.modulus+e-t)%this.modulus},e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new o.a;return this.logTable[e]},e.prototype.inverse=function(e){if(0===e)throw new d.a;return this.expTable[this.modulus-this.logTable[e]-1]},e.prototype.multiply=function(e,t){return 0===e||0===t?0:this.expTable[(this.logTable[e]+this.logTable[t])%(this.modulus-1)]},e.prototype.getSize=function(){return this.modulus},e.prototype.equals=function(e){return e===this},e}(),h,p=(v=function(e,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v,m,g=function(e){function t(t,n){var r=e.call(this)||this;r.modulus=t,r.expTable=new Int32Array(t),r.logTable=new Int32Array(t);for(var o=1,a=0;a<t;a++)r.expTable[a]=o,o=o*n%t;for(var a=0;a<t-1;a++)r.logTable[r.expTable[a]]=a;return r.zero=new u(r,new Int32Array([0])),r.one=new u(r,new Int32Array([1])),r}return p(t,e),t.prototype.getZero=function(){return this.zero},t.prototype.getOne=function(){return this.one},t.prototype.buildMonomial=function(e,t){if(e<0)throw new o.a;if(0===t)return this.zero;var n=new Int32Array(e+1);return n[0]=t,new u(this,n)},t.PDF417_GF=new t(s.a.NUMBER_OF_CODEWORDS,3),t}(f),b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},y=function(){function e(){this.field=g.PDF417_GF}return e.prototype.decode=function(e,t,n){for(var o,a,i=new u(this.field,e),c=new Int32Array(t),l=!1,s=t;s>0;s--){var d=i.evaluateAt(this.field.exp(s));c[t-s]=d,0!==d&&(l=!0)}if(!l)return 0;var f=this.field.getOne();if(null!=n)try{for(var h=b(n),p=h.next();!p.done;p=h.next()){var v=p.value,m=this.field.exp(e.length-1-v),g=new u(this.field,new Int32Array([this.field.subtract(0,m),1]));f=f.multiply(g)}}catch(e){o={error:e}}finally{try{p&&!p.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}for(var y=new u(this.field,c),w=this.runEuclideanAlgorithm(this.field.buildMonomial(t,1),y,t),O=w[0],M=w[1],A=this.findErrorLocations(O),j=this.findErrorMagnitudes(M,O,A),s=0;s<A.length;s++){var x=e.length-1-this.field.log(A[s]);if(x<0)throw r.a.getChecksumInstance();e[x]=this.field.subtract(e[x],j[s])}return A.length},e.prototype.runEuclideanAlgorithm=function(e,t,n){if(e.getDegree()<t.getDegree()){var o=e;e=t,t=o}for(var a=e,i=t,c=this.field.getZero(),l=this.field.getOne();i.getDegree()>=Math.round(n/2);){var u=a,s=c;if(c=l,(a=i).isZero())throw r.a.getChecksumInstance();i=u;for(var d=this.field.getZero(),f=a.getCoefficient(a.getDegree()),h=this.field.inverse(f);i.getDegree()>=a.getDegree()&&!i.isZero();){var p=i.getDegree()-a.getDegree(),v=this.field.multiply(i.getCoefficient(i.getDegree()),h);d=d.add(this.field.buildMonomial(p,v)),i=i.subtract(a.multiplyByMonomial(p,v))}l=d.multiply(c).subtract(s).negative()}var m=l.getCoefficient(0);if(0===m)throw r.a.getChecksumInstance();var g=this.field.inverse(m),b,y;return[l.multiply(g),i.multiply(g)]},e.prototype.findErrorLocations=function(e){for(var t=e.getDegree(),n=new Int32Array(t),o=0,a=1;a<this.field.getSize()&&o<t;a++)0===e.evaluateAt(a)&&(n[o]=this.field.inverse(a),o++);if(o!==t)throw r.a.getChecksumInstance();return n},e.prototype.findErrorMagnitudes=function(e,t,n){for(var r=t.getDegree(),o=new Int32Array(r),a=1;a<=r;a++)o[r-a]=this.field.multiply(a,t.getCoefficient(a));for(var i=new u(this.field,o),c=n.length,l=new Int32Array(c),a=0;a<c;a++){var s=this.field.inverse(n[a]),d=this.field.subtract(0,e.evaluateAt(s)),f=this.field.inverse(i.evaluateAt(s));l[a]=this.field.multiply(d,f)}return l},e}(),w=t.a=y},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const r=e=>{let t=!1;return()=>{}},o=(e,t="warning")=>{let n=!1;const r=Array.isArray(e)?e.join("\n"):e;return()=>{n||(n=!0,"error"===t?console.error(r):console.warn(r))}}},function(e,t,n){var r=n(139),o=n(132),a="Expected a function";function i(e,t,n){var i=!0,c=!0;if("function"!=typeof e)throw new TypeError(a);return o(n)&&(i="leading"in n?!!n.leading:i,c="trailing"in n?!!n.trailing:c),r(e,t,{leading:i,maxWait:t,trailing:c})}e.exports=i},function(e,t,n){var r=n(400);function o(e,t){return r(e,t)}e.exports=o},function(e,t,n){"use strict";var r=n(16),o=function(){function e(e,t,n,o,a){this.value=e,this.startEnd=t,this.value=e,this.startEnd=t,this.resultPoints=new Array,this.resultPoints.push(new r.a(n,a)),this.resultPoints.push(new r.a(o,a))}return e.prototype.getValue=function(){return this.value},e.prototype.getStartEnd=function(){return this.startEnd},e.prototype.getResultPoints=function(){return this.resultPoints},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.value===n.value},e.prototype.hashCode=function(){return this.value},e}();t.a=o},function(e,t,n){"use strict";function r(e,t){a(e)&&(e="100%");var n=i(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function a(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function i(e){return"string"==typeof e&&-1!==e.indexOf("%")}function c(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function l(e){return e<=1?"".concat(100*Number(e),"%"):e}function u(e){return 1===e.length?"0"+e:String(e)}function s(e,t,n){return{r:255*r(e,255),g:255*r(t,255),b:255*r(n,255)}}function d(e,t,n){e=r(e,255),t=r(t,255),n=r(n,255);var o=Math.max(e,t,n),a=Math.min(e,t,n),i=0,c=0,l=(o+a)/2;if(o===a)c=0,i=0;else{var u=o-a;switch(c=l>.5?u/(2-o-a):u/(o+a),o){case e:i=(t-n)/u+(t<n?6:0);break;case t:i=(n-e)/u+2;break;case n:i=(e-t)/u+4}i/=6}return{h:i,s:c,l:l}}function f(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function h(e,t,n){var o,a,i;if(e=r(e,360),t=r(t,100),n=r(n,100),0===t)a=n,i=n,o=n;else{var c=n<.5?n*(1+t):n+t-n*t,l=2*n-c;o=f(l,c,e+1/3),a=f(l,c,e),i=f(l,c,e-1/3)}return{r:255*o,g:255*a,b:255*i}}function p(e,t,n){e=r(e,255),t=r(t,255),n=r(n,255);var o=Math.max(e,t,n),a=Math.min(e,t,n),i=0,c=o,l=o-a,u=0===o?0:l/o;if(o===a)i=0;else{switch(o){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4}i/=6}return{h:i,s:u,v:c}}function v(e,t,n){e=6*r(e,360),t=r(t,100),n=r(n,100);var o=Math.floor(e),a=e-o,i=n*(1-t),c=n*(1-a*t),l=n*(1-(1-a)*t),u=o%6,s,d,f;return{r:255*[n,c,i,i,l,n][u],g:255*[l,n,n,c,i,i][u],b:255*[i,i,l,n,n,c][u]}}function m(e,t,n,r){var o=[u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function g(e,t,n,r,o){var a=[u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(n).toString(16)),u(y(r))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function b(e,t,n,r){var o;return[u(y(r)),u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(n).toString(16))].join("")}function y(e){return Math.round(255*parseFloat(e)).toString(16)}function w(e){return O(e)/255}function O(e){return parseInt(e,16)}function M(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}n.d(t,"b",(function(){return G})),n.d(t,"a",(function(){return ae}));var A={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function j(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,a=null,i=!1,u=!1;return"string"==typeof e&&(e=_(e)),"object"==typeof e&&(z(e.r)&&z(e.g)&&z(e.b)?(t=s(e.r,e.g,e.b),i=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):z(e.h)&&z(e.s)&&z(e.v)?(r=l(e.s),o=l(e.v),t=v(e.h,r,o),i=!0,u="hsv"):z(e.h)&&z(e.s)&&z(e.l)&&(r=l(e.s),a=l(e.l),t=h(e.h,r,a),i=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=c(n),{ok:i,format:e.format||u,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var x="[-\\+]?\\d+%?",S,E="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat(x,")"),C="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),T="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),D={CSS_UNIT:new RegExp(E),rgb:new RegExp("rgb"+C),rgba:new RegExp("rgba"+T),hsl:new RegExp("hsl"+C),hsla:new RegExp("hsla"+T),hsv:new RegExp("hsv"+C),hsva:new RegExp("hsva"+T),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function _(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(A[e])e=A[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=D.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=D.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=D.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=D.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=D.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=D.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=D.hex8.exec(e))?{r:O(n[1]),g:O(n[2]),b:O(n[3]),a:w(n[4]),format:t?"name":"hex8"}:(n=D.hex6.exec(e))?{r:O(n[1]),g:O(n[2]),b:O(n[3]),format:t?"name":"hex"}:(n=D.hex4.exec(e))?{r:O(n[1]+n[1]),g:O(n[2]+n[2]),b:O(n[3]+n[3]),a:w(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=D.hex3.exec(e))&&{r:O(n[1]+n[1]),g:O(n[2]+n[2]),b:O(n[3]+n[3]),format:t?"name":"hex"}}function z(e){return Boolean(D.CSS_UNIT.exec(String(e)))}var I=2,P=.16,N=.05,k=.05,R=.15,L=5,V=4,B=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function H(e){var t,n,r,o=p(e.r,e.g,e.b);return{h:360*o.h,s:o.s,v:o.v}}function F(e){var t=e.r,n=e.g,r=e.b;return"#".concat(m(t,n,r,!1))}function W(e,t,n){var r=n/100,o;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}function U(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function Y(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function Q(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function G(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=j(e),o=5;o>0;o-=1){var a=H(r),i=F(j({h:U(a,o,!0),s:Y(a,o,!0),v:Q(a,o,!0)}));n.push(i)}n.push(F(r));for(var c=1;c<=4;c+=1){var l=H(r),u=F(j({h:U(l,c),s:Y(l,c),v:Q(l,c)}));n.push(u)}return"dark"===t.theme?B.map((function(e){var r=e.index,o=e.opacity,a;return F(W(j(t.backgroundColor||"#141414"),j(n[r]),100*o))})):n}var X={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},q={},$={};Object.keys(X).forEach((function(e){q[e]=G(X[e]),q[e].primary=q[e][5],$[e]=G(X[e],{theme:"dark",backgroundColor:"#141414"}),$[e].primary=$[e][5]}));var Z=q.red,K=q.volcano,J=q.gold,ee=q.orange,te=q.yellow,ne=q.lime,re=q.green,oe=q.cyan,ae=q.blue,ie=q.geekblue,ce=q.purple,le=q.magenta,ue=q.grey,se=q.grey},function(e,t,n){var r,o;
|
|
18
|
+
!function(){"use strict";var t="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=e.exports,r=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,o=n.length,a={};r<o;r++)if((e=n[r])&&e[1]in t){for(r=0;r<e.length;r++)a[n[0][r]]=e[r];return a}return!1}(),o={change:r.fullscreenchange,error:r.fullscreenerror},a={request:function(e,n){return new Promise(function(o,a){var i=function(){this.off("change",i),o()}.bind(this);this.on("change",i);var c=(e=e||t.documentElement)[r.requestFullscreen](n);c instanceof Promise&&c.then(i).catch(a)}.bind(this))},exit:function(){return new Promise(function(e,n){if(this.isFullscreen){var o=function(){this.off("change",o),e()}.bind(this);this.on("change",o);var a=t[r.exitFullscreen]();a instanceof Promise&&a.then(o).catch(n)}else e()}.bind(this))},toggle:function(e,t){return this.isFullscreen?this.exit():this.request(e,t)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=o[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=o[e];r&&t.removeEventListener(r,n,!1)},raw:r};r?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(t[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(t[r.fullscreenEnabled])}}}),n?e.exports=a:window.screenfull=a):n?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}()},function(e,t,n){"use strict";var r=n(108),o=n(24),a=n(14),i=function(){function e(e,t){if(0===t.length)throw new a.a;this.field=e;var n=t.length;if(n>1&&0===t[0]){for(var r=1;r<n&&0===t[r];)r++;r===n?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(n-r),o.a.arraycopy(t,r,this.coefficients,0,this.coefficients.length))}else this.coefficients=t}return e.prototype.getCoefficients=function(){return this.coefficients},e.prototype.getDegree=function(){return this.coefficients.length-1},e.prototype.isZero=function(){return 0===this.coefficients[0]},e.prototype.getCoefficient=function(e){return this.coefficients[this.coefficients.length-1-e]},e.prototype.evaluateAt=function(e){if(0===e)return this.getCoefficient(0);var t=this.coefficients,n;if(1===e){n=0;for(var o=0,a=t.length;o!==a;o++){var i=t[o];n=r.a.addOrSubtract(n,i)}return n}n=t[0];for(var c=t.length,l=this.field,o=1;o<c;o++)n=r.a.addOrSubtract(l.multiply(e,n),t[o]);return n},e.prototype.addOrSubtract=function(t){if(!this.field.equals(t.field))throw new a.a("GenericGFPolys do not have same GenericGF field");if(this.isZero())return t;if(t.isZero())return this;var n=this.coefficients,i=t.coefficients;if(n.length>i.length){var c=n;n=i,i=c}var l=new Int32Array(i.length),u=i.length-n.length;o.a.arraycopy(i,0,l,0,u);for(var s=u;s<i.length;s++)l[s]=r.a.addOrSubtract(n[s-u],i[s]);return new e(this.field,l)},e.prototype.multiply=function(t){if(!this.field.equals(t.field))throw new a.a("GenericGFPolys do not have same GenericGF field");if(this.isZero()||t.isZero())return this.field.getZero();for(var n=this.coefficients,o=n.length,i=t.coefficients,c=i.length,l=new Int32Array(o+c-1),u=this.field,s=0;s<o;s++)for(var d=n[s],f=0;f<c;f++)l[s+f]=r.a.addOrSubtract(l[s+f],u.multiply(d,i[f]));return new e(u,l)},e.prototype.multiplyScalar=function(t){if(0===t)return this.field.getZero();if(1===t)return this;for(var n=this.coefficients.length,r=this.field,o=new Int32Array(n),a=this.coefficients,i=0;i<n;i++)o[i]=r.multiply(a[i],t);return new e(r,o)},e.prototype.multiplyByMonomial=function(t,n){if(t<0)throw new a.a;if(0===n)return this.field.getZero();for(var r=this.coefficients,o=r.length,i=new Int32Array(o+t),c=this.field,l=0;l<o;l++)i[l]=c.multiply(r[l],n);return new e(c,i)},e.prototype.divide=function(e){if(!this.field.equals(e.field))throw new a.a("GenericGFPolys do not have same GenericGF field");if(e.isZero())throw new a.a("Divide by 0");for(var t=this.field,n=t.getZero(),r=this,o=e.getCoefficient(e.getDegree()),i=t.inverse(o);r.getDegree()>=e.getDegree()&&!r.isZero();){var c=r.getDegree()-e.getDegree(),l=t.multiply(r.getCoefficient(r.getDegree()),i),u=e.multiplyByMonomial(c,l),s=t.buildMonomial(c,l);n=n.addOrSubtract(s),r=r.addOrSubtract(u)}return[n,r]},e.prototype.toString=function(){for(var e="",t=this.getDegree();t>=0;t--){var n=this.getCoefficient(t);if(0!==n){if(n<0?(e+=" - ",n=-n):e.length>0&&(e+=" + "),0===t||1!==n){var r=this.field.log(n);0===r?e+="1":1===r?e+="a":(e+="a^",e+=r)}0!==t&&(1===t?e+="x":(e+="x^",e+=t))}}return e},e}();t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(106);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){"use strict";var r=n(41),o=n(121),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i,c=function(){function e(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.ecCodewordsPerBlock=e,this.ecBlocks=t}return e.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},e.prototype.getNumBlocks=function(){var e,t,n=0,r=this.ecBlocks;try{for(var o=a(r),i=o.next();!i.done;i=o.next()){var c;n+=i.value.getCount()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return n},e.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},e.prototype.getECBlocks=function(){return this.ecBlocks},e}(),l,u=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}(),s=n(12),d=n(14),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function e(e,t){for(var n,r,o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];this.versionNumber=e,this.alignmentPatternCenters=t,this.ecBlocks=o;var i=0,c=o[0].getECCodewordsPerBlock(),l=o[0].getECBlocks();try{for(var u=f(l),s=u.next();!s.done;s=u.next()){var d=s.value;i+=d.getCount()*(d.getDataCodewords()+c)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}this.totalCodewords=i}return e.prototype.getVersionNumber=function(){return this.versionNumber},e.prototype.getAlignmentPatternCenters=function(){return this.alignmentPatternCenters},e.prototype.getTotalCodewords=function(){return this.totalCodewords},e.prototype.getDimensionForVersion=function(){return 17+4*this.versionNumber},e.prototype.getECBlocksForLevel=function(e){return this.ecBlocks[e.getValue()]},e.getProvisionalVersionForDimension=function(e){if(e%4!=1)throw new s.a;try{return this.getVersionForNumber((e-17)/4)}catch(e){throw new s.a}},e.getVersionForNumber=function(t){if(t<1||t>40)throw new d.a;return e.VERSIONS[t-1]},e.decodeVersionInformation=function(t){for(var n=Number.MAX_SAFE_INTEGER,r=0,a=0;a<e.VERSION_DECODE_INFO.length;a++){var i=e.VERSION_DECODE_INFO[a];if(i===t)return e.getVersionForNumber(a+7);var c=o.a.numBitsDiffering(t,i);c<n&&(r=a+7,n=c)}return n<=3?e.getVersionForNumber(r):null},e.prototype.buildFunctionPattern=function(){var e=this.getDimensionForVersion(),t=new r.a(e);t.setRegion(0,0,9,9),t.setRegion(e-8,0,8,9),t.setRegion(0,e-8,9,8);for(var n=this.alignmentPatternCenters.length,o=0;o<n;o++)for(var a=this.alignmentPatternCenters[o]-2,i=0;i<n;i++)0===o&&(0===i||i===n-1)||o===n-1&&0===i||t.setRegion(this.alignmentPatternCenters[i]-2,a,5,5);return t.setRegion(6,9,1,e-17),t.setRegion(9,6,e-17,1),this.versionNumber>6&&(t.setRegion(e-11,0,3,6),t.setRegion(0,e-11,6,3)),t},e.prototype.toString=function(){return""+this.versionNumber},e.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),e.VERSIONS=[new e(1,new Int32Array(0),new c(7,new u(1,19)),new c(10,new u(1,16)),new c(13,new u(1,13)),new c(17,new u(1,9))),new e(2,Int32Array.from([6,18]),new c(10,new u(1,34)),new c(16,new u(1,28)),new c(22,new u(1,22)),new c(28,new u(1,16))),new e(3,Int32Array.from([6,22]),new c(15,new u(1,55)),new c(26,new u(1,44)),new c(18,new u(2,17)),new c(22,new u(2,13))),new e(4,Int32Array.from([6,26]),new c(20,new u(1,80)),new c(18,new u(2,32)),new c(26,new u(2,24)),new c(16,new u(4,9))),new e(5,Int32Array.from([6,30]),new c(26,new u(1,108)),new c(24,new u(2,43)),new c(18,new u(2,15),new u(2,16)),new c(22,new u(2,11),new u(2,12))),new e(6,Int32Array.from([6,34]),new c(18,new u(2,68)),new c(16,new u(4,27)),new c(24,new u(4,19)),new c(28,new u(4,15))),new e(7,Int32Array.from([6,22,38]),new c(20,new u(2,78)),new c(18,new u(4,31)),new c(18,new u(2,14),new u(4,15)),new c(26,new u(4,13),new u(1,14))),new e(8,Int32Array.from([6,24,42]),new c(24,new u(2,97)),new c(22,new u(2,38),new u(2,39)),new c(22,new u(4,18),new u(2,19)),new c(26,new u(4,14),new u(2,15))),new e(9,Int32Array.from([6,26,46]),new c(30,new u(2,116)),new c(22,new u(3,36),new u(2,37)),new c(20,new u(4,16),new u(4,17)),new c(24,new u(4,12),new u(4,13))),new e(10,Int32Array.from([6,28,50]),new c(18,new u(2,68),new u(2,69)),new c(26,new u(4,43),new u(1,44)),new c(24,new u(6,19),new u(2,20)),new c(28,new u(6,15),new u(2,16))),new e(11,Int32Array.from([6,30,54]),new c(20,new u(4,81)),new c(30,new u(1,50),new u(4,51)),new c(28,new u(4,22),new u(4,23)),new c(24,new u(3,12),new u(8,13))),new e(12,Int32Array.from([6,32,58]),new c(24,new u(2,92),new u(2,93)),new c(22,new u(6,36),new u(2,37)),new c(26,new u(4,20),new u(6,21)),new c(28,new u(7,14),new u(4,15))),new e(13,Int32Array.from([6,34,62]),new c(26,new u(4,107)),new c(22,new u(8,37),new u(1,38)),new c(24,new u(8,20),new u(4,21)),new c(22,new u(12,11),new u(4,12))),new e(14,Int32Array.from([6,26,46,66]),new c(30,new u(3,115),new u(1,116)),new c(24,new u(4,40),new u(5,41)),new c(20,new u(11,16),new u(5,17)),new c(24,new u(11,12),new u(5,13))),new e(15,Int32Array.from([6,26,48,70]),new c(22,new u(5,87),new u(1,88)),new c(24,new u(5,41),new u(5,42)),new c(30,new u(5,24),new u(7,25)),new c(24,new u(11,12),new u(7,13))),new e(16,Int32Array.from([6,26,50,74]),new c(24,new u(5,98),new u(1,99)),new c(28,new u(7,45),new u(3,46)),new c(24,new u(15,19),new u(2,20)),new c(30,new u(3,15),new u(13,16))),new e(17,Int32Array.from([6,30,54,78]),new c(28,new u(1,107),new u(5,108)),new c(28,new u(10,46),new u(1,47)),new c(28,new u(1,22),new u(15,23)),new c(28,new u(2,14),new u(17,15))),new e(18,Int32Array.from([6,30,56,82]),new c(30,new u(5,120),new u(1,121)),new c(26,new u(9,43),new u(4,44)),new c(28,new u(17,22),new u(1,23)),new c(28,new u(2,14),new u(19,15))),new e(19,Int32Array.from([6,30,58,86]),new c(28,new u(3,113),new u(4,114)),new c(26,new u(3,44),new u(11,45)),new c(26,new u(17,21),new u(4,22)),new c(26,new u(9,13),new u(16,14))),new e(20,Int32Array.from([6,34,62,90]),new c(28,new u(3,107),new u(5,108)),new c(26,new u(3,41),new u(13,42)),new c(30,new u(15,24),new u(5,25)),new c(28,new u(15,15),new u(10,16))),new e(21,Int32Array.from([6,28,50,72,94]),new c(28,new u(4,116),new u(4,117)),new c(26,new u(17,42)),new c(28,new u(17,22),new u(6,23)),new c(30,new u(19,16),new u(6,17))),new e(22,Int32Array.from([6,26,50,74,98]),new c(28,new u(2,111),new u(7,112)),new c(28,new u(17,46)),new c(30,new u(7,24),new u(16,25)),new c(24,new u(34,13))),new e(23,Int32Array.from([6,30,54,78,102]),new c(30,new u(4,121),new u(5,122)),new c(28,new u(4,47),new u(14,48)),new c(30,new u(11,24),new u(14,25)),new c(30,new u(16,15),new u(14,16))),new e(24,Int32Array.from([6,28,54,80,106]),new c(30,new u(6,117),new u(4,118)),new c(28,new u(6,45),new u(14,46)),new c(30,new u(11,24),new u(16,25)),new c(30,new u(30,16),new u(2,17))),new e(25,Int32Array.from([6,32,58,84,110]),new c(26,new u(8,106),new u(4,107)),new c(28,new u(8,47),new u(13,48)),new c(30,new u(7,24),new u(22,25)),new c(30,new u(22,15),new u(13,16))),new e(26,Int32Array.from([6,30,58,86,114]),new c(28,new u(10,114),new u(2,115)),new c(28,new u(19,46),new u(4,47)),new c(28,new u(28,22),new u(6,23)),new c(30,new u(33,16),new u(4,17))),new e(27,Int32Array.from([6,34,62,90,118]),new c(30,new u(8,122),new u(4,123)),new c(28,new u(22,45),new u(3,46)),new c(30,new u(8,23),new u(26,24)),new c(30,new u(12,15),new u(28,16))),new e(28,Int32Array.from([6,26,50,74,98,122]),new c(30,new u(3,117),new u(10,118)),new c(28,new u(3,45),new u(23,46)),new c(30,new u(4,24),new u(31,25)),new c(30,new u(11,15),new u(31,16))),new e(29,Int32Array.from([6,30,54,78,102,126]),new c(30,new u(7,116),new u(7,117)),new c(28,new u(21,45),new u(7,46)),new c(30,new u(1,23),new u(37,24)),new c(30,new u(19,15),new u(26,16))),new e(30,Int32Array.from([6,26,52,78,104,130]),new c(30,new u(5,115),new u(10,116)),new c(28,new u(19,47),new u(10,48)),new c(30,new u(15,24),new u(25,25)),new c(30,new u(23,15),new u(25,16))),new e(31,Int32Array.from([6,30,56,82,108,134]),new c(30,new u(13,115),new u(3,116)),new c(28,new u(2,46),new u(29,47)),new c(30,new u(42,24),new u(1,25)),new c(30,new u(23,15),new u(28,16))),new e(32,Int32Array.from([6,34,60,86,112,138]),new c(30,new u(17,115)),new c(28,new u(10,46),new u(23,47)),new c(30,new u(10,24),new u(35,25)),new c(30,new u(19,15),new u(35,16))),new e(33,Int32Array.from([6,30,58,86,114,142]),new c(30,new u(17,115),new u(1,116)),new c(28,new u(14,46),new u(21,47)),new c(30,new u(29,24),new u(19,25)),new c(30,new u(11,15),new u(46,16))),new e(34,Int32Array.from([6,34,62,90,118,146]),new c(30,new u(13,115),new u(6,116)),new c(28,new u(14,46),new u(23,47)),new c(30,new u(44,24),new u(7,25)),new c(30,new u(59,16),new u(1,17))),new e(35,Int32Array.from([6,30,54,78,102,126,150]),new c(30,new u(12,121),new u(7,122)),new c(28,new u(12,47),new u(26,48)),new c(30,new u(39,24),new u(14,25)),new c(30,new u(22,15),new u(41,16))),new e(36,Int32Array.from([6,24,50,76,102,128,154]),new c(30,new u(6,121),new u(14,122)),new c(28,new u(6,47),new u(34,48)),new c(30,new u(46,24),new u(10,25)),new c(30,new u(2,15),new u(64,16))),new e(37,Int32Array.from([6,28,54,80,106,132,158]),new c(30,new u(17,122),new u(4,123)),new c(28,new u(29,46),new u(14,47)),new c(30,new u(49,24),new u(10,25)),new c(30,new u(24,15),new u(46,16))),new e(38,Int32Array.from([6,32,58,84,110,136,162]),new c(30,new u(4,122),new u(18,123)),new c(28,new u(13,46),new u(32,47)),new c(30,new u(48,24),new u(14,25)),new c(30,new u(42,15),new u(32,16))),new e(39,Int32Array.from([6,26,54,82,110,138,166]),new c(30,new u(20,117),new u(4,118)),new c(28,new u(40,47),new u(7,48)),new c(30,new u(43,24),new u(22,25)),new c(30,new u(10,15),new u(67,16))),new e(40,Int32Array.from([6,30,58,86,114,142,170]),new c(30,new u(19,118),new u(6,119)),new c(28,new u(18,47),new u(31,48)),new c(30,new u(34,24),new u(34,25)),new c(30,new u(20,15),new u(61,16)))],e}(),p=t.a=h},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.withMomentProps=t.withSingleFunctionChild=t.withSingleChild=t.withWrap=void 0;var i=a(n(0)),c=n(226),l=a(n(54));function u(e,t,n){var r={};return t.forEach((function(t){(0,c.has)(e,t)&&(0,c.set)(r,t,n((0,c.get)(e,t),t))})),r}function s(e){return function(t){return i.default.createElement(e,o({},t))}}function d(e,t){return void 0===t&&(t=["children"]),function(n){var a=u(n,t,(function(e){var t=i.default.Children.toArray(e)[0];return null!==t&&"object"===r(t)||(t=i.default.createElement("div",null,t)),t}));return i.default.createElement(e,o({},n,a))}}function f(e){return function(t){var n=t.children,r;return"function"==typeof n&&(r=n),Array.isArray(n)&&1===n.length&&"function"==typeof n[0]&&(r=n[0]),r?i.default.createElement(e,o({},t),r):i.default.createElement("div",null,n)}}function h(e,t){return void 0===t&&(t=["value","defaultValue"]),function(n){var r=u(n,t,(function(e){if(e)return Array.isArray(e)?e.map((function(e){return l.default.isDayjs(e)?e:(0,l.default)(e)})):l.default.isDayjs(e)?e:(0,l.default)(e)}));return i.default.createElement(e,o({},n,r))}}t.withWrap=s,t.withSingleChild=d,t.withSingleFunctionChild=f,t.withMomentProps=h},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},a;Object.defineProperty(t,"__esModule",{value:!0}),t.formatColumn=t.Context=t.Provider=void 0;var i=o(n(506)),c={tableId:"",localPagination:!1,dataSource:[],originDataSource:[],defaultColumns:[],originColumns:[],originColumnsMap:new Map,currentCell:null,quickFilter:[],otherFilter:[],utils:{},setting:{field:{edit:0},data:{edit:0}},tableWidth:500,currentDataSource:[],originResultDataSource:[]};t.Provider=(a=(0,i.default)({namespace:"state",state:c,reducers:{setDataSource:function e(t,n){return r(r({},t),{dataSource:n})},setOriginDataSource:function e(t,n){return r(r({},t),{originDataSource:n})},setDefaultColumns:function e(n,o){return r(r({},n),{defaultColumns:o.map((function(e){return(0,t.formatColumn)(e)}))})},setOriginColumns:function e(n,o){var a=o.map((function(e){return(0,t.formatColumn)(e)})),i=new Map(a.map((function(e){return[e.key,e]})));return r(r({},n),{originColumns:a,originColumnsMap:i})},setCurrentCell:function e(t,n){return r(r({},t),{currentCell:n})},setQuickFilter:function e(t,n){return r(r({},t),{quickFilter:n})},setUtils:function e(t,n){return r(r({},t),{utils:n})},syncStorage:function e(t,n){return r({},t)},init:function e(t,n){return r({},t)},setOtherFilter:function e(t,n){return r(r({},t),{otherFilter:n})},setTableId:function e(t,n){return r(r({},t),{tableId:n})},setLocalPagination:function e(t,n){return r(r({},t),{localPagination:n})},setTableWidth:function e(t,n){return r(r({},t),{tableWidth:n})},setCurrentDataSource:function e(t,n){return r(r({},t),{currentDataSource:n})},setOriginResultDataSource:function e(t,n){return r(r({},t),{originResultDataSource:n})}}})).Provider,t.Context=a.Context;var l=function e(t){var n=r({editable:!0,field_type:"text",lock:!0},t.other||{});return r(r({},n),t)};t.formatColumn=l},,function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(259),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=(0,r.createContext)({}),a=function e(){var t;return(0,r.useContext)(window.__appContext||o)||{}};t.default=a},function(e,t,n){"use strict";var r=n(18),o=n(88),a=function(){function e(e,t){this.width=e,this.height=t}return e.prototype.getWidth=function(){return this.width},e.prototype.getHeight=function(){return this.height},e.prototype.isCropSupported=function(){return!1},e.prototype.crop=function(e,t,n,r){throw new o.a("This luminance source does not support cropping.")},e.prototype.isRotateSupported=function(){return!1},e.prototype.rotateCounterClockwise=function(){throw new o.a("This luminance source does not support rotation by 90 degrees.")},e.prototype.rotateCounterClockwise45=function(){throw new o.a("This luminance source does not support rotation by 45 degrees.")},e.prototype.toString=function(){for(var e=new Uint8ClampedArray(this.width),t=new r.a,n=0;n<this.height;n++){for(var o=this.getRow(n,e),a=0;a<this.width;a++){var i=255&o[a],c=void 0;c=i<64?"#":i<128?"+":i<192?".":" ",t.append(c)}t.append("\n")}return t.toString()},e}();t.a=a},function(e,t,n){"use strict";var r=function(){function e(e,t,n,r,o,a){void 0===o&&(o=-1),void 0===a&&(a=-1),this.rawBytes=e,this.text=t,this.byteSegments=n,this.ecLevel=r,this.structuredAppendSequenceNumber=o,this.structuredAppendParity=a,this.numBits=null==e?0:8*e.length}return e.prototype.getRawBytes=function(){return this.rawBytes},e.prototype.getNumBits=function(){return this.numBits},e.prototype.setNumBits=function(e){this.numBits=e},e.prototype.getText=function(){return this.text},e.prototype.getByteSegments=function(){return this.byteSegments},e.prototype.getECLevel=function(){return this.ecLevel},e.prototype.getErrorsCorrected=function(){return this.errorsCorrected},e.prototype.setErrorsCorrected=function(e){this.errorsCorrected=e},e.prototype.getErasures=function(){return this.erasures},e.prototype.setErasures=function(e){this.erasures=e},e.prototype.getOther=function(){return this.other},e.prototype.setOther=function(e){this.other=e},e.prototype.hasStructuredAppend=function(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0},e.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},e.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},e}();t.a=r},function(e,t,n){"use strict";var r=n(47),o=n(62),a=n(104),i=n(53),c=function(){function e(e){this.field=e}return e.prototype.decode=function(e,t){for(var n=this.field,i=new o.a(n,e),c=new Int32Array(t),l=!0,u=0;u<t;u++){var s=i.evaluateAt(n.exp(u+n.getGeneratorBase()));c[c.length-1-u]=s,0!==s&&(l=!1)}if(!l)for(var d=new o.a(n,c),f=this.runEuclideanAlgorithm(n.buildMonomial(t,1),d,t),h=f[0],p=f[1],v=this.findErrorLocations(h),m=this.findErrorMagnitudes(p,v),u=0;u<v.length;u++){var g=e.length-1-n.log(v[u]);if(g<0)throw new a.a("Bad error location");e[g]=r.a.addOrSubtract(e[g],m[u])}},e.prototype.runEuclideanAlgorithm=function(e,t,n){if(e.getDegree()<t.getDegree()){var r=e;e=t,t=r}for(var o=this.field,c=e,l=t,u=o.getZero(),s=o.getOne();l.getDegree()>=(n/2|0);){var d=c,f=u;if(u=s,(c=l).isZero())throw new a.a("r_{i-1} was zero");l=d;for(var h=o.getZero(),p=c.getCoefficient(c.getDegree()),v=o.inverse(p);l.getDegree()>=c.getDegree()&&!l.isZero();){var m=l.getDegree()-c.getDegree(),g=o.multiply(l.getCoefficient(l.getDegree()),v);h=h.addOrSubtract(o.buildMonomial(m,g)),l=l.addOrSubtract(c.multiplyByMonomial(m,g))}if(s=h.multiply(u).addOrSubtract(f),l.getDegree()>=c.getDegree())throw new i.a("Division algorithm failed to reduce polynomial?")}var b=s.getCoefficient(0);if(0===b)throw new a.a("sigmaTilde(0) was zero");var y=o.inverse(b),w,O;return[s.multiplyScalar(y),l.multiplyScalar(y)]},e.prototype.findErrorLocations=function(e){var t=e.getDegree();if(1===t)return Int32Array.from([e.getCoefficient(1)]);for(var n=new Int32Array(t),r=0,o=this.field,i=1;i<o.getSize()&&r<t;i++)0===e.evaluateAt(i)&&(n[r]=o.inverse(i),r++);if(r!==t)throw new a.a("Error locator degree does not match number of roots");return n},e.prototype.findErrorMagnitudes=function(e,t){for(var n=t.length,r=new Int32Array(n),o=this.field,a=0;a<n;a++){for(var i=o.inverse(t[a]),c=1,l=0;l<n;l++)if(a!==l){var u=o.multiply(t[l],i),s=0==(1&u)?1|u:-2&u;c=o.multiply(c,s)}r[a]=o.multiply(e.evaluateAt(i),o.inverse(c)),0!==o.getGeneratorBase()&&(r[a]=o.multiply(r[a],i))}return r},e}();t.a=c},function(e,t,n){"use strict";var r=n(58),o=n(14),a;!function(e){e[e.L=0]="L",e[e.M=1]="M",e[e.Q=2]="Q",e[e.H=3]="H"}(a||(a={}));var i=function(){function e(t,n,r){this.value=t,this.stringValue=n,this.bits=r,e.FOR_BITS.set(r,this),e.FOR_VALUE.set(t,this)}return e.prototype.getValue=function(){return this.value},e.prototype.getBits=function(){return this.bits},e.fromString=function(t){switch(t){case"L":return e.L;case"M":return e.M;case"Q":return e.Q;case"H":return e.H;default:throw new r.a(t+"not available")}},e.prototype.toString=function(){return this.stringValue},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.value===n.value},e.forBits=function(t){if(t<0||t>=e.FOR_BITS.size)throw new o.a;return e.FOR_BITS.get(t)},e.FOR_BITS=new Map,e.FOR_VALUE=new Map,e.L=new e(a.L,"L",1),e.M=new e(a.M,"M",0),e.Q=new e(a.Q,"Q",3),e.H=new e(a.H,"H",2),e}();t.a=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11),o=r.Input.Group,a=r.Input.TextArea,i=r.Input.Password,c=r.Input.Search,l=r.Input;l.Group=o,l.TextArea=a,l.Password=i,l.Search=c,t.default=l},function(e,t,n){"use strict";var r=n(71),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(t){var n=e.call(this,t.getWidth(),t.getHeight())||this;return n.delegate=t,n}return o(t,e),t.prototype.getRow=function(e,t){for(var n=this.delegate.getRow(e,t),r=this.getWidth(),o=0;o<r;o++)n[o]=255-(255&n[o]);return n},t.prototype.getMatrix=function(){for(var e=this.delegate.getMatrix(),t=this.getWidth()*this.getHeight(),n=new Uint8ClampedArray(t),r=0;r<t;r++)n[r]=255-(255&e[r]);return n},t.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},t.prototype.crop=function(e,n,r,o){return new t(this.delegate.crop(e,n,r,o))},t.prototype.isRotateSupported=function(){return this.delegate.isRotateSupported()},t.prototype.invert=function(){return this.delegate},t.prototype.rotateCounterClockwise=function(){return new t(this.delegate.rotateCounterClockwise())},t.prototype.rotateCounterClockwise45=function(){return new t(this.delegate.rotateCounterClockwise45())},t}(r.a);t.a=i},function(e,t,n){"use strict";var r=n(14),o=function(){function e(){}return e.applyMaskPenaltyRule1=function(t){return e.applyMaskPenaltyRule1Internal(t,!0)+e.applyMaskPenaltyRule1Internal(t,!1)},e.applyMaskPenaltyRule2=function(t){for(var n=0,r=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a-1;i++)for(var c=r[i],l=0;l<o-1;l++){var u=c[l];u===c[l+1]&&u===r[i+1][l]&&u===r[i+1][l+1]&&n++}return e.N2*n},e.applyMaskPenaltyRule3=function(t){for(var n=0,r=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a;i++)for(var c=0;c<o;c++){var l=r[i];c+6<o&&1===l[c]&&0===l[c+1]&&1===l[c+2]&&1===l[c+3]&&1===l[c+4]&&0===l[c+5]&&1===l[c+6]&&(e.isWhiteHorizontal(l,c-4,c)||e.isWhiteHorizontal(l,c+7,c+11))&&n++,i+6<a&&1===r[i][c]&&0===r[i+1][c]&&1===r[i+2][c]&&1===r[i+3][c]&&1===r[i+4][c]&&0===r[i+5][c]&&1===r[i+6][c]&&(e.isWhiteVertical(r,c,i-4,i)||e.isWhiteVertical(r,c,i+7,i+11))&&n++}return n*e.N3},e.isWhiteHorizontal=function(e,t,n){t=Math.max(t,0),n=Math.min(n,e.length);for(var r=t;r<n;r++)if(1===e[r])return!1;return!0},e.isWhiteVertical=function(e,t,n,r){n=Math.max(n,0),r=Math.min(r,e.length);for(var o=n;o<r;o++)if(1===e[o][t])return!1;return!0},e.applyMaskPenaltyRule4=function(t){for(var n=0,r=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a;i++)for(var c=r[i],l=0;l<o;l++)1===c[l]&&n++;var u=t.getHeight()*t.getWidth(),s;return Math.floor(10*Math.abs(2*n-u)/u)*e.N4},e.getDataMaskBit=function(e,t,n){var o,a;switch(e){case 0:o=n+t&1;break;case 1:o=1&n;break;case 2:o=t%3;break;case 3:o=(n+t)%3;break;case 4:o=Math.floor(n/2)+Math.floor(t/3)&1;break;case 5:o=(1&(a=n*t))+a%3;break;case 6:o=(1&(a=n*t))+a%3&1;break;case 7:o=(a=n*t)%3+(n+t&1)&1;break;default:throw new r.a("Invalid mask pattern: "+e)}return 0===o},e.applyMaskPenaltyRule1Internal=function(t,n){for(var r=0,o=n?t.getHeight():t.getWidth(),a=n?t.getWidth():t.getHeight(),i=t.getArray(),c=0;c<o;c++){for(var l=0,u=-1,s=0;s<a;s++){var d=n?i[c][s]:i[s][c];d===u?l++:(l>=5&&(r+=e.N1+(l-5)),l=1,u=d)}l>=5&&(r+=e.N1+(l-5))}return r},e.N1=3,e.N2=3,e.N3=40,e.N4=10,e}();t.a=o},function(e,t,n){"use strict";var r=n(15),o=n(27),a=n(8),i=n(142),c=n(143),l=n(144),u=n(145),s=n(32),d=n(36),f=n(97),h=n(48),p=(v=function(e,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v,m=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},g,b=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=Int32Array.from([0,0,0,0]),t}return p(t,e),t.prototype.decodeMiddle=function(e,t,n){var r,o,a,i,c=this.decodeMiddleCounters,l;c[0]=0,c[1]=0,c[2]=0,c[3]=0;for(var u=e.getSize(),s=t[1],d=0;d<4&&s<u;d++){var f=h.a.decodeDigit(e,c,s,h.a.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var p=(r=void 0,m(c)),v=p.next();!v.done;v=p.next()){var g;s+=g=v.value}}catch(e){r={error:e}}finally{try{v&&!v.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}s=h.a.findGuardPattern(e,s,!0,h.a.MIDDLE_PATTERN,new Int32Array(h.a.MIDDLE_PATTERN.length).fill(0))[1];for(var d=0;d<4&&s<u;d++){var f=h.a.decodeDigit(e,c,s,h.a.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var b=(a=void 0,m(c)),y=b.next();!y.done;y=b.next()){var g;s+=g=y.value}}catch(e){a={error:e}}finally{try{y&&!y.done&&(i=b.return)&&i.call(b)}finally{if(a)throw a.error}}}return{rowOffset:s,resultString:n}},t.prototype.getBarcodeFormat=function(){return r.a.EAN_8},t}(h.a),y=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w,O=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ean13Reader=new f.a,t}return y(t,e),t.prototype.getBarcodeFormat=function(){return r.a.UPC_A},t.prototype.decode=function(e,t){return this.maybeReturnResult(this.ean13Reader.decode(e))},t.prototype.decodeRow=function(e,t,n){return this.maybeReturnResult(this.ean13Reader.decodeRow(e,t,n))},t.prototype.decodeMiddle=function(e,t,n){return this.ean13Reader.decodeMiddle(e,t,n)},t.prototype.maybeReturnResult=function(e){var t=e.getText();if("0"===t.charAt(0)){var n=new s.a(t.substring(1),null,null,e.getResultPoints(),r.a.UPC_A);return null!=e.getResultMetadata()&&n.putAllMetadata(e.getResultMetadata()),n}throw new a.a},t.prototype.reset=function(){this.ean13Reader.reset()},t}(h.a),M=n(18),A=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),j=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},x,S=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=new Int32Array(4),t}return A(t,e),t.prototype.decodeMiddle=function(e,n,r){var o,a,i=this.decodeMiddleCounters.map((function(e){return e}));i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var c=e.getSize(),l=n[1],u=0,s=0;s<6&&l<c;s++){var d=t.decodeDigit(e,i,l,t.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+d%10);try{for(var f=(o=void 0,j(i)),h=f.next();!h.done;h=f.next()){var p;l+=h.value}}catch(e){o={error:e}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}d>=10&&(u|=1<<5-s)}return t.determineNumSysAndCheckDigit(new M.a(r),u),l},t.prototype.decodeEnd=function(e,n){return t.findGuardPatternWithoutCounters(e,n,!0,t.MIDDLE_END_PATTERN)},t.prototype.checkChecksum=function(e){return h.a.checkChecksum(t.convertUPCEtoUPCA(e))},t.determineNumSysAndCheckDigit=function(e,t){for(var n=0;n<=1;n++)for(var r=0;r<10;r++)if(t===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[n][r])return e.insert(0,"0"+n),void e.append("0"+r);throw a.a.getNotFoundInstance()},t.prototype.getBarcodeFormat=function(){return r.a.UPC_E},t.convertUPCEtoUPCA=function(e){var t=e.slice(1,7).split("").map((function(e){return e.charCodeAt(0)})),n=new M.a;n.append(e.charAt(0));var r=t[5];switch(r){case 0:case 1:case 2:n.appendChars(t,0,2),n.append(r),n.append("0000"),n.appendChars(t,2,3);break;case 3:n.appendChars(t,0,3),n.append("00000"),n.appendChars(t,3,2);break;case 4:n.appendChars(t,0,4),n.append("00000"),n.append(t[4]);break;default:n.appendChars(t,0,5),n.append("0000"),n.append(r)}return e.length>=8&&n.append(e.charAt(7)),n.toString()},t.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),t.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],t}(h.a),E=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},T,D=function(e){function t(t){var n=e.call(this)||this,a=null==t?null:t.get(o.a.POSSIBLE_FORMATS),i=[];return null!=a&&(a.indexOf(r.a.EAN_13)>-1&&i.push(new f.a),a.indexOf(r.a.UPC_A)>-1&&i.push(new O),a.indexOf(r.a.EAN_8)>-1&&i.push(new b),a.indexOf(r.a.UPC_E)>-1&&i.push(new S)),0===i.length&&(i.push(new f.a),i.push(new O),i.push(new b),i.push(new S)),n.readers=i,n}return E(t,e),t.prototype.decodeRow=function(e,t,n){var i,c;try{for(var l=C(this.readers),u=l.next();!u.done;u=l.next()){var d=u.value;try{var f=d.decodeRow(e,t,n),h=f.getBarcodeFormat()===r.a.EAN_13&&"0"===f.getText().charAt(0),p=null==n?null:n.get(o.a.POSSIBLE_FORMATS),v=null==p||p.includes(r.a.UPC_A);if(h&&v){var m=f.getRawBytes(),g=new s.a(f.getText().substring(1),m,m?m.length:null,f.getResultPoints(),r.a.UPC_A);return g.putAllMetadata(f.getResultMetadata()),g}return f}catch(e){}}}catch(e){i={error:e}}finally{try{u&&!u.done&&(c=l.return)&&c.call(l)}finally{if(i)throw i.error}}throw new a.a},t.prototype.reset=function(){var e,t;try{for(var n=C(this.readers),r=n.next();!r.done;r=n.next()){var o;r.value.reset()}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t}(d.a),_=n(175),z=n(192),I=n(149),P=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),N=function(e){function t(t){var n=e.call(this)||this;n.readers=[];var a=t?t.get(o.a.POSSIBLE_FORMATS):null,s=t&&void 0!==t.get(o.a.ASSUME_CODE_39_CHECK_DIGIT),d=t&&void 0!==t.get(o.a.ENABLE_CODE_39_EXTENDED_MODE);return a&&((a.includes(r.a.EAN_13)||a.includes(r.a.UPC_A)||a.includes(r.a.EAN_8)||a.includes(r.a.UPC_E))&&n.readers.push(new D(t)),a.includes(r.a.CODE_39)&&n.readers.push(new c.a(s,d)),a.includes(r.a.CODE_93)&&n.readers.push(new l.a),a.includes(r.a.CODE_128)&&n.readers.push(new i.a),a.includes(r.a.ITF)&&n.readers.push(new u.a),a.includes(r.a.CODABAR)&&n.readers.push(new _.a),a.includes(r.a.RSS_14)&&n.readers.push(new I.a),a.includes(r.a.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),n.readers.push(new z.a))),0===n.readers.length&&(n.readers.push(new D(t)),n.readers.push(new c.a),n.readers.push(new l.a),n.readers.push(new D(t)),n.readers.push(new i.a),n.readers.push(new u.a),n.readers.push(new I.a)),n}return P(t,e),t.prototype.decodeRow=function(e,t,n){for(var r=0;r<this.readers.length;r++)try{return this.readers[r].decodeRow(e,t,n)}catch(e){}throw new a.a},t.prototype.reset=function(){this.readers.forEach((function(e){return e.reset()}))},t}(d.a),k=t.a=N},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(t,n){return t.__proto__=n,t})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var r=n(25),o=n(8),a=n(36),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c,l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(e){function t(){var t=e.call(this)||this;return t.decodeFinderCounters=new Int32Array(4),t.dataCharacterCounters=new Int32Array(8),t.oddRoundingErrors=new Array(4),t.evenRoundingErrors=new Array(4),t.oddCounts=new Array(t.dataCharacterCounters.length/2),t.evenCounts=new Array(t.dataCharacterCounters.length/2),t}return i(t,e),t.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},t.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},t.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},t.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},t.prototype.getOddCounts=function(){return this.oddCounts},t.prototype.getEvenCounts=function(){return this.evenCounts},t.prototype.parseFinderValue=function(e,n){for(var r=0;r<n.length;r++)if(a.a.patternMatchVariance(e,n[r],t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return r;throw new o.a},t.count=function(e){return r.a.sum(new Int32Array(e))},t.increment=function(e,t){for(var n=0,r=t[0],o=1;o<e.length;o++)t[o]>r&&(r=t[o],n=o);e[n]++},t.decrement=function(e,t){for(var n=0,r=t[0],o=1;o<e.length;o++)t[o]<r&&(r=t[o],n=o);e[n]--},t.isFinderPattern=function(e){var n,r,o=e[0]+e[1],a,i=o/(o+e[2]+e[3]);if(i>=t.MIN_FINDER_PATTERN_RATIO&&i<=t.MAX_FINDER_PATTERN_RATIO){var c=Number.MAX_SAFE_INTEGER,u=Number.MIN_SAFE_INTEGER;try{for(var s=l(e),d=s.next();!d.done;d=s.next()){var f=d.value;f>u&&(u=f),f<c&&(c=f)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return u<10*c}return!1},t.MAX_AVG_VARIANCE=.2,t.MAX_INDIVIDUAL_VARIANCE=.45,t.MIN_FINDER_PATTERN_RATIO=9.5/12,t.MAX_FINDER_PATTERN_RATIO=12.5/14,t}(a.a);t.a=u},,function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(31),i=o(n(0)),c=(0,a.createFromIconfontCN)({scriptUrl:"https://unpkg.com/@pisell/materials@3.0.37/iconfont/iconfont.js"}),l=function e(t){return i.default.createElement(c,r({},t,{className:t.className}))};t.default=l},function(e,t,n){"use strict";var r=function(){function e(e,t){this.bits=e,this.points=t}return e.prototype.getBits=function(){return this.bits},e.prototype.getPoints=function(){return this.points},e}();t.a=r},function(e,t,n){"use strict";var r=n(174),o=function(){function e(){}return e.setGridSampler=function(t){e.gridSampler=t},e.getInstance=function(){return e.gridSampler},e.gridSampler=new r.a,e}();t.a=o},function(e,t,n){"use strict";var r=n(43),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.forName=function(e){return this.getCharacterSetECIByName(e)},t}(r.a);t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(18),o=n(23),a=n(10),i=function(){function e(){}return e.prototype.getEncodingMode=function(){return a.d},e.prototype.encodeMaximal=function(e){for(var t=new r.a,n=0,o=e.pos,i=0;e.hasMoreCharacters();){var c=e.getCurrentChar();e.pos++,n=this.encodeChar(c,t),t.length()%3==0&&(o=e.pos,i=t.length())}if(i!==t.length()){var l=Math.floor(t.length()/3*2),u=Math.floor(e.getCodewordCount()+l+1);e.updateSymbolInfo(u);var s=e.getSymbolInfo().getDataCapacity()-u,d=Math.floor(t.length()%3);(2===d&&2!==s||1===d&&(n>3||1!==s))&&(e.pos=o)}t.length()>0&&e.writeCodeword(a.k),this.handleEOD(e,t)},e.prototype.encode=function(e){for(var t=new r.a;e.hasMoreCharacters();){var n=e.getCurrentChar();e.pos++;var i=this.encodeChar(n,t),c=2*Math.floor(t.length()/3),l=e.getCodewordCount()+c;e.updateSymbolInfo(l);var u=e.getSymbolInfo().getDataCapacity()-l,s,d;if(!e.hasMoreCharacters()){var f=new r.a;for(t.length()%3==2&&2!==u&&(i=this.backtrackOneCharacter(e,t,f,i));t.length()%3==1&&(i>3||1!==u);)i=this.backtrackOneCharacter(e,t,f,i);break}if(t.length()%3==0)if(o.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode())!==this.getEncodingMode()){e.signalEncoderChange(a.b);break}}this.handleEOD(e,t)},e.prototype.backtrackOneCharacter=function(e,t,n,r){var o=t.length(),a=t.toString().substring(0,o-r);t.setLengthToZero(),t.append(a),e.pos--;var i=e.getCurrentChar();return r=this.encodeChar(i,n),e.resetSymbolInfo(),r},e.prototype.writeNextTriplet=function(e,t){e.writeCodewords(this.encodeToCodewords(t.toString()));var n=t.toString().substring(3);t.setLengthToZero(),t.append(n)},e.prototype.handleEOD=function(e,t){var n=Math.floor(t.length()/3*2),r=t.length()%3,o=e.getCodewordCount()+n;e.updateSymbolInfo(o);var i=e.getSymbolInfo().getDataCapacity()-o;if(2===r){for(t.append("\0");t.length()>=3;)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(a.e)}else if(1===i&&1===r){for(;t.length()>=3;)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(a.e),e.pos--}else{if(0!==r)throw new Error("Unexpected case. Please report!");for(;t.length()>=3;)this.writeNextTriplet(e,t);(i>0||e.hasMoreCharacters())&&e.writeCodeword(a.e)}e.signalEncoderChange(a.b)},e.prototype.encodeChar=function(e,t){if(e===" ".charCodeAt(0))return t.append(3),1;if(e>="0".charCodeAt(0)&&e<="9".charCodeAt(0))return t.append(e-48+4),1;if(e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0))return t.append(e-65+14),1;if(e<" ".charCodeAt(0))return t.append(0),t.append(e),2;if(e<="/".charCodeAt(0))return t.append(1),t.append(e-33),2;if(e<="@".charCodeAt(0))return t.append(1),t.append(e-58+15),2;if(e<="_".charCodeAt(0))return t.append(1),t.append(e-91+22),2;if(e<=127)return t.append(2),t.append(e-96),2;t.append("1\x1e");var n=2;return n+=this.encodeChar(e-128,t)},e.prototype.encodeToCodewords=function(e){var t=1600*e.charCodeAt(0)+40*e.charCodeAt(1)+e.charCodeAt(2)+1,n=t/256,o=t%256,a=new r.a;return a.append(n),a.append(o),a.toString()},e}()},function(e,t,n){"use strict";var r=n(0),o=n.n(r),a=Object(r.createContext)({});t.a=a},function(e,t,n){"use strict";var r=n(37),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="UnsupportedOperationException",t}(r.a);t.a=i},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],t.indexOf(o)>=0||(n[o]=e[o]);return n}function o(e,t){if(null==e)return{};var n=r(e,t),o,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)o=i[a],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(){function e(){}return e.getRSSvalue=function(t,n,o){var a,i,c=0;try{for(var l=r(t),u=l.next();!u.done;u=l.next()){var s;c+=u.value}}catch(e){a={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}for(var d=0,f=0,h=t.length,p=0;p<h-1;p++){var v=void 0;for(v=1,f|=1<<p;v<t[p];v++,f&=~(1<<p)){var m=e.combins(c-v-1,h-p-2);if(o&&0===f&&c-v-(h-p-1)>=h-p-1&&(m-=e.combins(c-v-(h-p),h-p-2)),h-p-1>1){for(var g=0,b=c-v-(h-p-2);b>n;b--)g+=e.combins(c-v-b-1,h-p-3);m-=g*(h-1-p)}else c-v>n&&m--;d+=m}c-=v}return d},e.combins=function(e,t){var n,r;e-t>t?(r=t,n=e-t):(r=e-t,n=t);for(var o=1,a=1,i=e;i>n;i--)o*=i,a<=r&&(o/=a,a++);for(;a<=r;)o/=a,a++;return o},e}();t.a=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return ue})),n.d(t,"c",(function(){return ge})),n.d(t,"d",(function(){return ye})),n.d(t,"e",(function(){return be})),n.d(t,"f",(function(){return ve})),n.d(t,"g",(function(){return me}));var r="-ms-",o="-moz-",a="-webkit-",i="comm",c="rule",l="decl",u="@page",s="@media",d="@import",f="@charset",h="@viewport",p="@supports",v="@document",m="@namespace",g="@keyframes",b="@font-face",y="@counter-style",w="@font-feature-values",O="@layer",M=Math.abs,A=String.fromCharCode,j=Object.assign;function x(e,t){return 45^D(e,0)?(((t<<2^D(e,0))<<2^D(e,1))<<2^D(e,2))<<2^D(e,3):0}function S(e){return e.trim()}function E(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,n){return e.replace(t,n)}function T(e,t){return e.indexOf(t)}function D(e,t){return 0|e.charCodeAt(t)}function _(e,t,n){return e.slice(t,n)}function z(e){return e.length}function I(e){return e.length}function P(e,t){return t.push(e),e}function N(e,t){return e.map(t).join("")}function k(e,t){return e.filter((function(e){return!E(e,t)}))}var R=1,L=1,V=0,B=0,H=0,F="";function W(e,t,n,r,o,a,i,c){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:R,column:L,length:i,return:"",siblings:c}}function U(e,t){return j(W("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Y(e){for(;e.root;)e=U(e.root,{children:[e]});P(e,e.siblings)}function Q(){return H}function G(){return H=B>0?D(F,--B):0,L--,10===H&&(L=1,R--),H}function X(){return H=B<V?D(F,B++):0,L++,10===H&&(L=1,R++),H}function q(){return D(F,B)}function $(){return B}function Z(e,t){return _(F,e,t)}function K(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function J(e){return R=L=1,V=z(F=e),B=0,[]}function ee(e){return F="",e}function te(e){return S(Z(B-1,ie(91===e?e+2:40===e?e+1:e)))}function ne(e){return ee(oe(J(e)))}function re(e){for(;(H=q())&&H<33;)X();return K(e)>2||K(H)>3?"":" "}function oe(e){for(;X();)switch(K(H)){case 0:P(le(B-1),e);break;case 2:P(te(H),e);break;default:P(A(H),e)}return e}function ae(e,t){for(;--t&&X()&&!(H<48||H>102||H>57&&H<65||H>70&&H<97););return Z(e,$()+(t<6&&32==q()&&32==X()))}function ie(e){for(;X();)switch(H){case e:return B;case 34:case 39:34!==e&&39!==e&&ie(H);break;case 40:41===e&&ie(e);break;case 92:X()}return B}function ce(e,t){for(;X()&&e+H!==57&&(e+H!==84||47!==q()););return"/*"+Z(t,B-1)+"*"+A(47===e?e:X())}function le(e){for(;!K(q());)X();return Z(e,B)}function ue(e){return ee(se("",null,null,null,[""],e=J(e),0,[0],e))}function se(e,t,n,r,o,a,i,c,l){for(var u=0,s=0,d=i,f=0,h=0,p=0,v=1,m=1,g=1,b=0,y="",w=o,O=a,M=r,j=y;m;)switch(p=b,b=X()){case 40:if(108!=p&&58==D(j,d-1)){-1!=T(j+=C(te(b),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:j+=te(b);break;case 9:case 10:case 13:case 32:j+=re(p);break;case 92:j+=ae($()-1,7);continue;case 47:switch(q()){case 42:case 47:P(fe(ce(X(),$()),t,n,l),l);break;default:j+="/"}break;case 123*v:c[u++]=z(j)*g;case 125*v:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+s:-1==g&&(j=C(j,/\f/g,"")),h>0&&z(j)-d&&P(h>32?he(j+";",r,n,d-1,l):he(C(j," ","")+";",r,n,d-2,l),l);break;case 59:j+=";";default:if(P(M=de(j,t,n,u,s,o,c,y,w=[],O=[],d,a),a),123===b)if(0===s)se(j,t,M,M,w,a,d,c,O);else switch(99===f&&110===D(j,3)?100:f){case 100:case 108:case 109:case 115:se(e,M,M,r&&P(de(e,M,M,0,0,o,c,y,o,w=[],d,O),O),o,O,d,c,r?w:O);break;default:se(j,M,M,M,[""],O,0,c,O)}}u=s=h=0,v=g=1,y=j="",d=i;break;case 58:d=1+z(j),h=p;default:if(v<1)if(123==b)--v;else if(125==b&&0==v++&&125==G())continue;switch(j+=A(b),b*v){case 38:g=s>0?1:(j+="\f",-1);break;case 44:c[u++]=(z(j)-1)*g,g=1;break;case 64:45===q()&&(j+=te(X())),f=q(),s=d=z(y=j+=le($())),b++;break;case 45:45===p&&2==z(j)&&(v=0)}}return a}function de(e,t,n,r,o,a,i,l,u,s,d,f){for(var h=o-1,p=0===o?a:[""],v=I(p),m=0,g=0,b=0;m<r;++m)for(var y=0,w=_(e,h+1,h=M(g=i[m])),O=e;y<v;++y)(O=S(g>0?p[y]+" "+w:C(w,/&\f/g,p[y])))&&(u[b++]=O);return W(e,t,n,0===o?c:l,u,s,d,f)}function fe(e,t,n,r){return W(e,t,n,i,A(Q()),_(e,2,-2),0,r)}function he(e,t,n,r,o){return W(e,t,n,l,_(e,0,r),_(e,r+1,-1),r,o)}function pe(e,t,n){switch(x(e,t)){case 5103:return a+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+e+e;case 4789:return o+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a+e+o+e+r+e+e;case 5936:switch(D(e,t+11)){case 114:return a+e+r+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+r+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+r+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return a+e+r+e+e;case 6165:return a+e+r+"flex-"+e+e;case 5187:return a+e+C(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+r+"flex-$1$2")+e;case 5443:return a+e+r+"flex-item-"+C(e,/flex-|-self/g,"")+(E(e,/flex-|baseline/)?"":r+"grid-row-"+C(e,/flex-|-self/g,""))+e;case 4675:return a+e+r+"flex-line-pack"+C(e,/align-content|flex-|-self/g,"")+e;case 5548:return a+e+r+C(e,"shrink","negative")+e;case 5292:return a+e+r+C(e,"basis","preferred-size")+e;case 6060:return a+"box-"+C(e,"-grow","")+a+e+r+C(e,"grow","positive")+e;case 4554:return a+C(e,/([^-])(transform)/g,"$1"+a+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+r+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4200:if(!E(e,/flex-|baseline/))return r+"grid-column-align"+_(e,t)+e;break;case 2592:case 3360:return r+C(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,E(e.props,/grid-\w+-end/)}))?~T(e+(n=n[t].value),"span")?e:r+C(e,"-start","")+e+r+"grid-row-span:"+(~T(n,"span")?E(n,/\d+/):+E(n,/\d+/)-+E(e,/\d+/))+";":r+C(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return E(e.props,/grid-\w+-start/)}))?e:r+C(C(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,a+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(z(e)-1-t>6)switch(D(e,t+1)){case 109:if(45!==D(e,t+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==D(e,t+3)?"$3":"$2-$3"))+e;case 115:return~T(e,"stretch")?pe(C(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return C(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,o,a,i,c,l){return r+n+":"+o+l+(a?r+n+"-span:"+(i?c:+c-+o)+l:"")+e}));case 4949:if(121===D(e,t+6))return C(e,":",":"+a)+e;break;case 6444:switch(D(e,45===D(e,14)?18:11)){case 120:return C(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+a+(45===D(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+r+"$2box$3")+e;case 100:return C(e,":",":"+r)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return C(e,"scroll-","scroll-snap-")+e}return e}function ve(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function me(e,t,n,r){switch(e.type){case O:if(e.children.length)break;case d:case l:return e.return=e.return||e.value;case i:return"";case g:return e.return=e.value+"{"+ve(e.children,r)+"}";case c:if(!z(e.value=e.props.join(",")))return""}return z(n=ve(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){var t=I(e);return function(n,r,o,a){for(var i="",c=0;c<t;c++)i+=e[c](n,r,o,a)||"";return i}}function be(e){return function(t){t.root||(t=t.return)&&e(t)}}function ye(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case l:return void(e.return=pe(e.value,e.length,n));case g:return ve([U(e,{value:C(e.value,"@","@"+a)})],o);case c:if(e.length)return N(n=e.props,(function(t){switch(E(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Y(U(e,{props:[C(t,/:(read-\w+)/,":-moz-$1")]})),Y(U(e,{props:[t]})),j(e,{props:k(n,o)});break;case"::placeholder":Y(U(e,{props:[C(t,/:(plac\w+)/,":"+a+"input-$1")]})),Y(U(e,{props:[C(t,/:(plac\w+)/,":-moz-$1")]})),Y(U(e,{props:[C(t,/:(plac\w+)/,r+"input-$1")]})),Y(U(e,{props:[t]})),j(e,{props:k(n,o)})}return""}))}}function we(e){switch(e.type){case c:e.props=e.props.map((function(t){return N(ne(t),(function(t,n,r){switch(D(t,0)){case 12:return _(t,1,z(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===r[++n]&&(r[n]="",r[++n]="\f"+_(r[n],n=1,-1));case 32:return 1===n?"":t;default:switch(n){case 0:return e=t,I(r)>1?"":t;case n=I(r)-1:case 2:return 2===n?t+e+e:t+e;default:return t}}}))}))}}},,function(e,t,n){"use strict";n.r(t),n.d(t,"SortableContext",(function(){return A})),n.d(t,"arrayMove",(function(){return c})),n.d(t,"arraySwap",(function(){return l})),n.d(t,"defaultAnimateLayoutChanges",(function(){return x})),n.d(t,"defaultNewIndexGetter",(function(){return j})),n.d(t,"hasSortableData",(function(){return I})),n.d(t,"horizontalListSortingStrategy",(function(){return p})),n.d(t,"rectSortingStrategy",(function(){return m})),n.d(t,"rectSwappingStrategy",(function(){return g})),n.d(t,"sortableKeyboardCoordinates",(function(){return N})),n.d(t,"useSortable",(function(){return _})),n.d(t,"verticalListSortingStrategy",(function(){return y}));var r=n(0),o=n.n(r),a=n(50),i=n(13);function c(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function l(e,t,n){const r=e.slice();return r[t]=e[n],r[n]=e[t],r}function u(e,t){return e.reduce((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e},Array(e.length))}function s(e){return null!==e&&e>=0}function d(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function f(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}const h={scaleX:1,scaleY:1},p=e=>{var t;let{rects:n,activeNodeRect:r,activeIndex:o,overIndex:a,index:i}=e;const c=null!=(t=n[o])?t:r;if(!c)return null;const l=v(n,i,o);if(i===o){const e=n[a];return e?{x:o<a?e.left+e.width-(c.left+c.width):e.left-c.left,y:0,...h}:null}return i>o&&i<=a?{x:-c.width-l,y:0,...h}:i<o&&i>=a?{x:c.width+l,y:0,...h}:{x:0,y:0,...h}};function v(e,t,n){const r=e[t],o=e[t-1],a=e[t+1];return r&&(o||a)?n<t?o?r.left-(o.left+o.width):a.left-(r.left+r.width):a?a.left-(r.left+r.width):r.left-(o.left+o.width):0}const m=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const a=c(t,r,n),i=t[o],l=a[o];return l&&i?{x:l.left-i.left,y:l.top-i.top,scaleX:l.width/i.width,scaleY:l.height/i.height}:null},g=e=>{let{activeIndex:t,index:n,rects:r,overIndex:o}=e,a,i;return n===t&&(a=r[n],i=r[o]),n===o&&(a=r[n],i=r[t]),i&&a?{x:i.left-a.left,y:i.top-a.top,scaleX:i.width/a.width,scaleY:i.height/a.height}:null},b={scaleX:1,scaleY:1},y=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:a,overIndex:i}=e;const c=null!=(t=a[n])?t:r;if(!c)return null;if(o===n){const e=a[i];return e?{x:0,y:n<i?e.top+e.height-(c.top+c.height):e.top-c.top,...b}:null}const l=w(a,o,n);return o>n&&o<=i?{x:0,y:-c.height-l,...b}:o<n&&o>=i?{x:0,y:c.height+l,...b}:{x:0,y:0,...b}};function w(e,t,n){const r=e[t],o=e[t-1],a=e[t+1];return r?n<t?o?r.top-(o.top+o.height):a?a.top-(r.top+r.height):0:a?a.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}const O="Sortable",M=o.a.createContext({activeIndex:-1,containerId:O,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:m,disabled:{draggable:!1,droppable:!1}});function A(e){let{children:t,id:n,items:c,strategy:l=m,disabled:s=!1}=e;const{active:h,dragOverlay:p,droppableRects:v,over:g,measureDroppableContainers:b}=Object(a.useDndContext)(),y=Object(i.useUniqueId)(O,n),w=Boolean(null!==p.rect),A=Object(r.useMemo)(()=>c.map(e=>"object"==typeof e&&"id"in e?e.id:e),[c]),j=null!=h,x=h?A.indexOf(h.id):-1,S=g?A.indexOf(g.id):-1,E=Object(r.useRef)(A),C=!d(A,E.current),T=-1!==S&&-1===x||C,D=f(s);Object(i.useIsomorphicLayoutEffect)(()=>{C&&j&&b(A)},[C,A,j,b]),Object(r.useEffect)(()=>{E.current=A},[A]);const _=Object(r.useMemo)(()=>({activeIndex:x,containerId:y,disabled:D,disableTransforms:T,items:A,overIndex:S,useDragOverlay:w,sortedRects:u(A,v),strategy:l}),[x,y,D.draggable,D.droppable,T,A,S,v,w,l]);return o.a.createElement(M.Provider,{value:_},t)}const j=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return c(n,r,o).indexOf(t)},x=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:a,newIndex:i,previousItems:c,previousContainerId:l,transition:u}=e;return!(!u||!r)&&((c===a||o!==i)&&(!!n||i!==o&&t===l))},S={duration:200,easing:"ease"},E="transform",C=i.CSS.Transition.toString({property:"transform",duration:0,easing:"linear"}),T={roleDescription:"sortable"};function D(e){let{disabled:t,index:n,node:o,rect:c}=e;const[l,u]=Object(r.useState)(null),s=Object(r.useRef)(n);return Object(i.useIsomorphicLayoutEffect)(()=>{if(!t&&n!==s.current&&o.current){const e=c.current;if(e){const t=Object(a.getClientRect)(o.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&u(n)}}n!==s.current&&(s.current=n)},[t,n,o,c]),Object(r.useEffect)(()=>{l&&u(null)},[l]),l}function _(e){let{animateLayoutChanges:t=x,attributes:n,disabled:o,data:c,getNewIndex:l=j,id:u,strategy:d,resizeObserverConfig:f,transition:h=S}=e;const{items:p,containerId:v,activeIndex:m,disabled:g,disableTransforms:b,sortedRects:y,overIndex:w,useDragOverlay:O,strategy:A}=Object(r.useContext)(M),E=z(o,g),_=p.indexOf(u),I=Object(r.useMemo)(()=>({sortable:{containerId:v,index:_,items:p},...c}),[v,c,_,p]),P=Object(r.useMemo)(()=>p.slice(p.indexOf(u)),[p,u]),{rect:N,node:k,isOver:R,setNodeRef:L}=Object(a.useDroppable)({id:u,data:I,disabled:E.droppable,resizeObserverConfig:{updateMeasurementsFor:P,...f}}),{active:V,activatorEvent:B,activeNodeRect:H,attributes:F,setNodeRef:W,listeners:U,isDragging:Y,over:Q,setActivatorNodeRef:G,transform:X}=Object(a.useDraggable)({id:u,data:I,attributes:{...T,...n},disabled:E.draggable}),q=Object(i.useCombinedRefs)(L,W),$=Boolean(V),Z=$&&!b&&s(m)&&s(w),K=!O&&Y,J=K&&Z?X:null,ee=undefined,te=Z?null!=J?J:(null!=d?d:A)({rects:y,activeNodeRect:H,activeIndex:m,overIndex:w,index:_}):null,ne=s(m)&&s(w)?l({id:u,items:p,activeIndex:m,overIndex:w}):_,re=null==V?void 0:V.id,oe=Object(r.useRef)({activeId:re,items:p,newIndex:ne,containerId:v}),ae=p!==oe.current.items,ie=t({active:V,containerId:v,isDragging:Y,isSorting:$,id:u,index:_,items:p,newIndex:oe.current.newIndex,previousItems:oe.current.items,previousContainerId:oe.current.containerId,transition:h,wasDragging:null!=oe.current.activeId}),ce=D({disabled:!ie,index:_,node:k,rect:N});return Object(r.useEffect)(()=>{$&&oe.current.newIndex!==ne&&(oe.current.newIndex=ne),v!==oe.current.containerId&&(oe.current.containerId=v),p!==oe.current.items&&(oe.current.items=p)},[$,ne,v,p]),Object(r.useEffect)(()=>{if(re===oe.current.activeId)return;if(re&&!oe.current.activeId)return void(oe.current.activeId=re);const e=setTimeout(()=>{oe.current.activeId=re},50);return()=>clearTimeout(e)},[re]),{active:V,activeIndex:m,attributes:F,data:I,rect:N,index:_,newIndex:ne,items:p,isOver:R,isSorting:$,isDragging:Y,listeners:U,node:k,overIndex:w,over:Q,setNodeRef:q,setActivatorNodeRef:G,setDroppableNodeRef:L,setDraggableNodeRef:W,transform:null!=ce?ce:te,transition:le()};function le(){return ce||ae&&oe.current.newIndex===_?C:K&&!Object(i.isKeyboardEvent)(B)||!h?void 0:$||ie?i.CSS.Transition.toString({...h,property:"transform"}):void 0}}function z(e,t){var n,r;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}function I(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const P=[a.KeyboardCode.Down,a.KeyboardCode.Right,a.KeyboardCode.Up,a.KeyboardCode.Left],N=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:c,over:l,scrollableAncestors:u}}=t;if(P.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[];c.getEnabled().forEach(n=>{if(!n||null!=n&&n.disabled)return;const i=o.get(n.id);if(i)switch(e.code){case a.KeyboardCode.Down:r.top<i.top&&t.push(n);break;case a.KeyboardCode.Up:r.top>i.top&&t.push(n);break;case a.KeyboardCode.Left:r.left>i.left&&t.push(n);break;case a.KeyboardCode.Right:r.left<i.left&&t.push(n)}});const s=Object(a.closestCorners)({active:n,collisionRect:r,droppableRects:o,droppableContainers:t,pointerCoordinates:null});let d=Object(a.getFirstCollision)(s,"id");if(d===(null==l?void 0:l.id)&&s.length>1&&(d=s[1].id),null!=d){const e=c.get(n.id),t=c.get(d),l=t?o.get(t.id):null,s=null==t?void 0:t.node.current;if(s&&l&&e&&t){const n=undefined,o=Object(a.getScrollableAncestors)(s).some((e,t)=>u[t]!==e),c=k(e,t),d=R(e,t),f=o||!c?{x:0,y:0}:{x:d?r.width-l.width:0,y:d?r.height-l.height:0},h={x:l.left,y:l.top},p=undefined;return f.x&&f.y?h:Object(i.subtract)(h,f)}}}};function k(e,t){return!(!I(e)||!I(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}function R(e,t){return!(!I(e)||!I(t))&&(!!k(e,t)&&e.data.current.sortable.index<t.data.current.sortable.index)}},function(e,t,n){"use strict";var r=n(32),o=n(15),a=n(27),i=n(45),c=n(24),l=n(140),u=n(115),s=function(){function e(){}return e.prototype.decode=function(e,t){void 0===t&&(t=null);var n=null,a=new u.b(e.getBlackMatrix()),s=null,d=null;try{var f;s=(f=a.detectMirror(!1)).getPoints(),this.reportFoundResultPoints(t,s),d=(new l.a).decode(f)}catch(e){n=e}if(null==d)try{var f;s=(f=a.detectMirror(!0)).getPoints(),this.reportFoundResultPoints(t,s),d=(new l.a).decode(f)}catch(e){if(null!=n)throw n;throw e}var h=new r.a(d.getText(),d.getRawBytes(),d.getNumBits(),s,o.a.AZTEC,c.a.currentTimeMillis()),p=d.getByteSegments();null!=p&&h.putMetadata(i.a.BYTE_SEGMENTS,p);var v=d.getECLevel();return null!=v&&h.putMetadata(i.a.ERROR_CORRECTION_LEVEL,v),h},e.prototype.reportFoundResultPoints=function(e,t){if(null!=e){var n=e.get(a.a.NEED_RESULT_POINT_CALLBACK);null!=n&&t.forEach((function(e,t,r){n.foundPossibleResultPoint(e)}))}},e.prototype.reset=function(){},e}();t.a=s},function(e,t,n){"use strict";var r=n(16),o=n(25),a=n(8),i=function(){function e(t,n,r,o){this.image=t,this.height=t.getHeight(),this.width=t.getWidth(),null==n&&(n=e.INIT_SIZE),null==r&&(r=t.getWidth()/2|0),null==o&&(o=t.getHeight()/2|0);var i=n/2|0;if(this.leftInit=r-i,this.rightInit=r+i,this.upInit=o-i,this.downInit=o+i,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new a.a}return e.prototype.detect=function(){for(var e=this.leftInit,t=this.rightInit,n=this.upInit,r=this.downInit,o=!1,i=!0,c=!1,l=!1,u=!1,s=!1,d=!1,f=this.width,h=this.height;i;){i=!1;for(var p=!0;(p||!l)&&t<f;)(p=this.containsBlackPoint(n,r,t,!1))?(t++,i=!0,l=!0):l||t++;if(t>=f){o=!0;break}for(var v=!0;(v||!u)&&r<h;)(v=this.containsBlackPoint(e,t,r,!0))?(r++,i=!0,u=!0):u||r++;if(r>=h){o=!0;break}for(var m=!0;(m||!s)&&e>=0;)(m=this.containsBlackPoint(n,r,e,!1))?(e--,i=!0,s=!0):s||e--;if(e<0){o=!0;break}for(var g=!0;(g||!d)&&n>=0;)(g=this.containsBlackPoint(e,t,n,!0))?(n--,i=!0,d=!0):d||n--;if(n<0){o=!0;break}i&&(c=!0)}if(!o&&c){for(var b=t-e,y=null,w=1;null===y&&w<b;w++)y=this.getBlackPointOnSegment(e,r-w,e+w,r);if(null==y)throw new a.a;for(var O=null,w=1;null===O&&w<b;w++)O=this.getBlackPointOnSegment(e,n+w,e+w,n);if(null==O)throw new a.a;for(var M=null,w=1;null===M&&w<b;w++)M=this.getBlackPointOnSegment(t,n+w,t-w,n);if(null==M)throw new a.a;for(var A=null,w=1;null===A&&w<b;w++)A=this.getBlackPointOnSegment(t,r-w,t-w,r);if(null==A)throw new a.a;return this.centerEdges(A,y,M,O)}throw new a.a},e.prototype.getBlackPointOnSegment=function(e,t,n,a){for(var i=o.a.round(o.a.distance(e,t,n,a)),c=(n-e)/i,l=(a-t)/i,u=this.image,s=0;s<i;s++){var d=o.a.round(e+s*c),f=o.a.round(t+s*l);if(u.get(d,f))return new r.a(d,f)}return null},e.prototype.centerEdges=function(t,n,o,a){var i=t.getX(),c=t.getY(),l=n.getX(),u=n.getY(),s=o.getX(),d=o.getY(),f=a.getX(),h=a.getY(),p=e.CORR;return i<this.width/2?[new r.a(f-p,h+p),new r.a(l+p,u+p),new r.a(s-p,d-p),new r.a(i+p,c-p)]:[new r.a(f+p,h+p),new r.a(l+p,u-p),new r.a(s-p,d+p),new r.a(i-p,c-p)]},e.prototype.containsBlackPoint=function(e,t,n,r){var o=this.image;if(r){for(var a=e;a<=t;a++)if(o.get(a,n))return!0}else for(var i=e;i<=t;i++)if(o.get(n,i))return!0;return!1},e.INIT_SIZE=10,e.CORR=1,e}();t.a=i},function(e,t,n){"use strict";var r=n(15),o=n(48),a=n(8),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c,l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=Int32Array.from([0,0,0,0]),t}return i(t,e),t.prototype.decodeMiddle=function(e,n,r){var a,i,c,u,s=this.decodeMiddleCounters,d;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var f=e.getSize(),h=n[1],p=0,v=0;v<6&&h<f;v++){var m=o.a.decodeDigit(e,s,h,o.a.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+m%10);try{for(var g=(a=void 0,l(s)),b=g.next();!b.done;b=g.next()){var y;h+=y=b.value}}catch(e){a={error:e}}finally{try{b&&!b.done&&(i=g.return)&&i.call(g)}finally{if(a)throw a.error}}m>=10&&(p|=1<<5-v)}r=t.determineFirstDigit(r,p),h=o.a.findGuardPattern(e,h,!0,o.a.MIDDLE_PATTERN,new Int32Array(o.a.MIDDLE_PATTERN.length).fill(0))[1];for(var v=0;v<6&&h<f;v++){var m=o.a.decodeDigit(e,s,h,o.a.L_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+m);try{for(var w=(c=void 0,l(s)),O=w.next();!O.done;O=w.next()){var y;h+=y=O.value}}catch(e){c={error:e}}finally{try{O&&!O.done&&(u=w.return)&&u.call(w)}finally{if(c)throw c.error}}}return{rowOffset:h,resultString:r}},t.prototype.getBarcodeFormat=function(){return r.a.EAN_13},t.determineFirstDigit=function(e,t){for(var n=0;n<10;n++)if(t===this.FIRST_DIGIT_ENCODINGS[n])return e=String.fromCharCode("0".charCodeAt(0)+n)+e;throw new a.a},t.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],t}(o.a);t.a=u},function(e,t,n){"use strict";var r=n(18),o=function(){function e(){this.maskPattern=-1}return e.prototype.getMode=function(){return this.mode},e.prototype.getECLevel=function(){return this.ecLevel},e.prototype.getVersion=function(){return this.version},e.prototype.getMaskPattern=function(){return this.maskPattern},e.prototype.getMatrix=function(){return this.matrix},e.prototype.toString=function(){var e=new r.a;return e.append("<<\n"),e.append(" mode: "),e.append(this.mode?this.mode.toString():"null"),e.append("\n ecLevel: "),e.append(this.ecLevel?this.ecLevel.toString():"null"),e.append("\n version: "),e.append(this.version?this.version.toString():"null"),e.append("\n maskPattern: "),e.append(this.maskPattern.toString()),this.matrix?(e.append("\n matrix:\n"),e.append(this.matrix.toString())):e.append("\n matrix: null\n"),e.append(">>\n"),e.toString()},e.prototype.setMode=function(e){this.mode=e},e.prototype.setECLevel=function(e){this.ecLevel=e},e.prototype.setVersion=function(e){this.version=e},e.prototype.setMaskPattern=function(e){this.maskPattern=e},e.prototype.setMatrix=function(e){this.matrix=e},e.isValidMaskPattern=function(t){return t>=0&&t<e.NUM_MASK_PATTERNS},e.NUM_MASK_PATTERNS=8,e}();t.a=o},function(e,t,n){"use strict";var r=n(15),o=n(38),a=n(12),i=n(8),c=n(32),l=n(28),u=n(19),s=n(45),d=n(16),f=n(24),h=n(34),p,v=function(){function e(e,t){this.bits=e,this.points=t}return e.prototype.getBits=function(){return this.bits},e.prototype.getPoints=function(){return this.points},e}(),m=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},g,b=function(){function e(){}return e.detectMultiple=function(t,n,r){var o=t.getBlackMatrix(),a=e.detect(r,o);return a.length||((o=o.clone()).rotate180(),a=e.detect(r,o)),new v(o,a)},e.detect=function(t,n){for(var r,o,a=new Array,i=0,c=0,l=!1;i<n.getHeight();){var u=e.findVertices(n,i,c);if(null!=u[0]||null!=u[3]){if(l=!0,a.push(u),!t)break;null!=u[2]?(c=Math.trunc(u[2].getX()),i=Math.trunc(u[2].getY())):(c=Math.trunc(u[4].getX()),i=Math.trunc(u[4].getY()))}else{if(!l)break;l=!1,c=0;try{for(var s=(r=void 0,m(a)),d=s.next();!d.done;d=s.next()){var f=d.value;null!=f[1]&&(i=Math.trunc(Math.max(i,f[1].getY()))),null!=f[3]&&(i=Math.max(i,Math.trunc(f[3].getY())))}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}i+=e.ROW_STEP}}return a},e.findVertices=function(t,n,r){var o=t.getHeight(),a=t.getWidth(),i=new Array(8);return e.copyToResult(i,e.findRowsWithPattern(t,o,a,n,r,e.START_PATTERN),e.INDEXES_START_PATTERN),null!=i[4]&&(r=Math.trunc(i[4].getX()),n=Math.trunc(i[4].getY())),e.copyToResult(i,e.findRowsWithPattern(t,o,a,n,r,e.STOP_PATTERN),e.INDEXES_STOP_PATTERN),i},e.copyToResult=function(e,t,n){for(var r=0;r<n.length;r++)e[n[r]]=t[r]},e.findRowsWithPattern=function(t,n,r,o,a,i){for(var c=new Array(4),l=!1,u=new Int32Array(i.length);o<n;o+=e.ROW_STEP){var s;if(null!=(s=e.findGuardPattern(t,a,o,r,!1,i,u))){for(;o>0;){var f;if(null==(f=e.findGuardPattern(t,a,--o,r,!1,i,u))){o++;break}s=f}c[0]=new d.a(s[0],o),c[1]=new d.a(s[1],o),l=!0;break}}var p=o+1;if(l){for(var v=0,f=Int32Array.from([Math.trunc(c[0].getX()),Math.trunc(c[1].getX())]);p<n;p++){var s;if(null!=(s=e.findGuardPattern(t,f[0],p,r,!1,i,u))&&Math.abs(f[0]-s[0])<e.MAX_PATTERN_DRIFT&&Math.abs(f[1]-s[1])<e.MAX_PATTERN_DRIFT)f=s,v=0;else{if(v>e.SKIPPED_ROW_COUNT_MAX)break;v++}}p-=v+1,c[2]=new d.a(f[0],p),c[3]=new d.a(f[1],p)}return p-o<e.BARCODE_MIN_HEIGHT&&h.a.fill(c,null),c},e.findGuardPattern=function(t,n,r,o,a,i,c){h.a.fillWithin(c,0,c.length,0);for(var l=n,u=0;t.get(l,r)&&l>0&&u++<e.MAX_PIXEL_DRIFT;)l--;for(var s=l,d=0,p=i.length,v=a;s<o;s++){var m;if(t.get(s,r)!==v)c[d]++;else{if(d===p-1){if(e.patternMatchVariance(c,i,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return new Int32Array([l,s]);l+=c[0]+c[1],f.a.arraycopy(c,2,c,0,d-1),c[d-1]=0,c[d]=0,d--}else d++;c[d]=1,v=!v}}return d===p-1&&e.patternMatchVariance(c,i,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE?new Int32Array([l,s-1]):null},e.patternMatchVariance=function(e,t,n){for(var r=e.length,o=0,a=0,i=0;i<r;i++)o+=e[i],a+=t[i];if(o<a)return 1/0;var c=o/a;n*=c;for(var l=0,u=0;u<r;u++){var s=e[u],d=t[u]*c,f=s>d?s-d:d-s;if(f>n)return 1/0;l+=f}return l/o},e.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),e.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),e.MAX_AVG_VARIANCE=.42,e.MAX_INDIVIDUAL_VARIANCE=.8,e.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),e.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),e.MAX_PIXEL_DRIFT=3,e.MAX_PATTERN_DRIFT=5,e.SKIPPED_ROW_COUNT_MAX=25,e.ROW_STEP=5,e.BARCODE_MIN_HEIGHT=10,e}(),y=n(25),w=n(193),O,M=function(){function e(t,n,r,o,a){t instanceof e?this.constructor_2(t):this.constructor_1(t,n,r,o,a)}return e.prototype.constructor_1=function(e,t,n,r,o){var a=null==t||null==n,c=null==r||null==o;if(a&&c)throw new i.a;a?(t=new d.a(0,r.getY()),n=new d.a(0,o.getY())):c&&(r=new d.a(e.getWidth()-1,t.getY()),o=new d.a(e.getWidth()-1,n.getY())),this.image=e,this.topLeft=t,this.bottomLeft=n,this.topRight=r,this.bottomRight=o,this.minX=Math.trunc(Math.min(t.getX(),n.getX())),this.maxX=Math.trunc(Math.max(r.getX(),o.getX())),this.minY=Math.trunc(Math.min(t.getY(),r.getY())),this.maxY=Math.trunc(Math.max(n.getY(),o.getY()))},e.prototype.constructor_2=function(e){this.image=e.image,this.topLeft=e.getTopLeft(),this.bottomLeft=e.getBottomLeft(),this.topRight=e.getTopRight(),this.bottomRight=e.getBottomRight(),this.minX=e.getMinX(),this.maxX=e.getMaxX(),this.minY=e.getMinY(),this.maxY=e.getMaxY()},e.merge=function(t,n){return null==t?n:null==n?t:new e(t.image,t.topLeft,t.bottomLeft,n.topRight,n.bottomRight)},e.prototype.addMissingRows=function(t,n,r){var o=this.topLeft,a=this.bottomLeft,i=this.topRight,c=this.bottomRight;if(t>0){var l=r?this.topLeft:this.topRight,u=Math.trunc(l.getY()-t);u<0&&(u=0);var s=new d.a(l.getX(),u);r?o=s:i=s}if(n>0){var f=r?this.bottomLeft:this.bottomRight,h=Math.trunc(f.getY()+n);h>=this.image.getHeight()&&(h=this.image.getHeight()-1);var p=new d.a(f.getX(),h);r?a=p:c=p}return new e(this.image,o,a,i,c)},e.prototype.getMinX=function(){return this.minX},e.prototype.getMaxX=function(){return this.maxX},e.prototype.getMinY=function(){return this.minY},e.prototype.getMaxY=function(){return this.maxY},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getBottomRight=function(){return this.bottomRight},e}(),A,j=function(){function e(e,t,n,r){this.columnCount=e,this.errorCorrectionLevel=r,this.rowCountUpperPart=t,this.rowCountLowerPart=n,this.rowCount=t+n}return e.prototype.getColumnCount=function(){return this.columnCount},e.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},e.prototype.getRowCount=function(){return this.rowCount},e.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},e.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},e}(),x,S=function(){function e(){this.buffer=""}return e.form=function(e,t){var n=-1;function r(e,r,o,a,i,c){if("%%"===e)return"%";if(void 0!==t[++n]){e=a?parseInt(a.substr(1)):void 0;var l=i?parseInt(i.substr(1)):void 0,u;switch(c){case"s":u=t[n];break;case"c":u=t[n][0];break;case"f":u=parseFloat(t[n]).toFixed(e);break;case"p":u=parseFloat(t[n]).toPrecision(e);break;case"e":u=parseFloat(t[n]).toExponential(e);break;case"x":u=parseInt(t[n]).toString(l||16);break;case"d":u=parseFloat(parseInt(t[n],l||10).toPrecision(e)).toFixed(0)}u="object"==typeof u?JSON.stringify(u):(+u).toString(l);for(var s=parseInt(o),d=o&&o[0]+""=="0"?"0":" ";u.length<s;)u=void 0!==r?u+d:d+u;return u}}var o=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return e.replace(o,r)},e.prototype.format=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];this.buffer+=e.form(t,n)},e.prototype.toString=function(){return this.buffer},e}(),E=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},C,T=function(){function e(e){this.boundingBox=new M(e),this.codewords=new Array(e.getMaxY()-e.getMinY()+1)}return e.prototype.getCodewordNearby=function(t){var n=this.getCodeword(t);if(null!=n)return n;for(var r=1;r<e.MAX_NEARBY_DISTANCE;r++){var o=this.imageRowToCodewordIndex(t)-r;if(o>=0&&null!=(n=this.codewords[o]))return n;if((o=this.imageRowToCodewordIndex(t)+r)<this.codewords.length&&null!=(n=this.codewords[o]))return n}return null},e.prototype.imageRowToCodewordIndex=function(e){return e-this.boundingBox.getMinY()},e.prototype.setCodeword=function(e,t){this.codewords[this.imageRowToCodewordIndex(e)]=t},e.prototype.getCodeword=function(e){return this.codewords[this.imageRowToCodewordIndex(e)]},e.prototype.getBoundingBox=function(){return this.boundingBox},e.prototype.getCodewords=function(){return this.codewords},e.prototype.toString=function(){var e,t,n=new S,r=0;try{for(var o=E(this.codewords),a=o.next();!a.done;a=o.next()){var i=a.value;null!=i?n.format("%3d: %3d|%3d%n",r++,i.getRowNumber(),i.getValue()):n.format("%3d: | %n",r++)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return n.toString()},e.MAX_NEARBY_DISTANCE=5,e}(),D=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},_=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,a=[],i;try{for(;(void 0===t||t-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a},z,I=function(){function e(){this.values=new Map}return e.prototype.setValue=function(e){e=Math.trunc(e);var t=this.values.get(e);null==t&&(t=0),t++,this.values.set(e,t)},e.prototype.getValue=function(){var e,t,n=-1,r=new Array,o=function(e,t){var o=function(){return e},a=function(){return t};a()>n?(n=a(),(r=[]).push(o())):a()===n&&r.push(o())};try{for(var a=D(this.values.entries()),i=a.next();!i.done;i=a.next()){var c=_(i.value,2),u,s;o(c[0],c[1])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return l.a.toIntArray(r)},e.prototype.getConfidence=function(e){return this.values.get(e)},e}(),P=(N=function(e,t){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}N(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),N,k=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},R,L=function(e){function t(t,n){var r=e.call(this,t)||this;return r._isLeft=n,r}return P(t,e),t.prototype.setRowNumbers=function(){var e,t;try{for(var n=k(this.getCodewords()),r=n.next();!r.done;r=n.next()){var o=r.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.adjustCompleteIndicatorColumnRowNumbers=function(e){var t=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(t,e);for(var n=this.getBoundingBox(),r=this._isLeft?n.getTopLeft():n.getTopRight(),o=this._isLeft?n.getBottomLeft():n.getBottomRight(),a=this.imageRowToCodewordIndex(Math.trunc(r.getY())),i=this.imageRowToCodewordIndex(Math.trunc(o.getY())),c=-1,l=1,u=0,s=a;s<i;s++)if(null!=t[s]){var d=t[s],f=d.getRowNumber()-c;if(0===f)u++;else if(1===f)l=Math.max(l,u),u=1,c=d.getRowNumber();else if(f<0||d.getRowNumber()>=e.getRowCount()||f>s)t[s]=null;else{for(var h=void 0,p=(h=l>2?(l-2)*f:f)>=s,v=1;v<=h&&!p;v++)p=null!=t[s-v];p?t[s]=null:(c=d.getRowNumber(),u=1)}}},t.prototype.getRowHeights=function(){var e,t,n=this.getBarcodeMetadata();if(null==n)return null;this.adjustIncompleteIndicatorColumnRowNumbers(n);var r=new Int32Array(n.getRowCount());try{for(var o=k(this.getCodewords()),a=o.next();!a.done;a=o.next()){var i=a.value;if(null!=i){var c=i.getRowNumber();if(c>=r.length)continue;r[c]++}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return r},t.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(e){for(var t=this.getBoundingBox(),n=this._isLeft?t.getTopLeft():t.getTopRight(),r=this._isLeft?t.getBottomLeft():t.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.imageRowToCodewordIndex(Math.trunc(r.getY())),i=this.getCodewords(),c=-1,l=1,u=0,s=o;s<a;s++)if(null!=i[s]){var d=i[s];d.setRowNumberAsRowIndicatorColumn();var f=d.getRowNumber()-c;0===f?u++:1===f?(l=Math.max(l,u),u=1,c=d.getRowNumber()):d.getRowNumber()>=e.getRowCount()?i[s]=null:(c=d.getRowNumber(),u=1)}},t.prototype.getBarcodeMetadata=function(){var e,t,n=this.getCodewords(),r=new I,o=new I,a=new I,i=new I;try{for(var c=k(n),u=c.next();!u.done;u=c.next()){var s=u.value;if(null!=s){s.setRowNumberAsRowIndicatorColumn();var d=s.getValue()%30,f=s.getRowNumber();switch(this._isLeft||(f+=2),f%3){case 0:o.setValue(3*d+1);break;case 1:i.setValue(d/3),a.setValue(d%3);break;case 2:r.setValue(d+1)}}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}if(0===r.getValue().length||0===o.getValue().length||0===a.getValue().length||0===i.getValue().length||r.getValue()[0]<1||o.getValue()[0]+a.getValue()[0]<l.a.MIN_ROWS_IN_BARCODE||o.getValue()[0]+a.getValue()[0]>l.a.MAX_ROWS_IN_BARCODE)return null;var h=new j(r.getValue()[0],o.getValue()[0],a.getValue()[0],i.getValue()[0]);return this.removeIncorrectCodewords(n,h),h},t.prototype.removeIncorrectCodewords=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(null!=e[n]){var o=r.getValue()%30,a=r.getRowNumber();if(a>t.getRowCount())e[n]=null;else switch(this._isLeft||(a+=2),a%3){case 0:3*o+1!==t.getRowCountUpperPart()&&(e[n]=null);break;case 1:Math.trunc(o/3)===t.getErrorCorrectionLevel()&&o%3===t.getRowCountLowerPart()||(e[n]=null);break;case 2:o+1!==t.getColumnCount()&&(e[n]=null)}}}},t.prototype.isLeft=function(){return this._isLeft},t.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+e.prototype.toString.call(this)},t}(T),V=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},B,H=function(){function e(e,t){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=e,this.barcodeColumnCount=e.getColumnCount(),this.boundingBox=t,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return e.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var e=l.a.MAX_CODEWORDS_IN_BARCODE,t;do{t=e,e=this.adjustRowNumbersAndGetCount()}while(e>0&&e<t);return this.detectionResultColumns},e.prototype.adjustIndicatorColumnRowNumbers=function(e){null!=e&&e.adjustCompleteIndicatorColumnRowNumbers(this.barcodeMetadata)},e.prototype.adjustRowNumbersAndGetCount=function(){var e=this.adjustRowNumbersByRow();if(0===e)return 0;for(var t=1;t<this.barcodeColumnCount+1;t++)for(var n=this.detectionResultColumns[t].getCodewords(),r=0;r<n.length;r++)null!=n[r]&&(n[r].hasValidRowNumber()||this.adjustRowNumbers(t,r,n));return e},e.prototype.adjustRowNumbersByRow=function(){var e;return this.adjustRowNumbersFromBothRI(),this.adjustRowNumbersFromLRI()+this.adjustRowNumbersFromRRI()},e.prototype.adjustRowNumbersFromBothRI=function(){if(null!=this.detectionResultColumns[0]&&null!=this.detectionResultColumns[this.barcodeColumnCount+1])for(var e=this.detectionResultColumns[0].getCodewords(),t=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),n=0;n<e.length;n++)if(null!=e[n]&&null!=t[n]&&e[n].getRowNumber()===t[n].getRowNumber())for(var r=1;r<=this.barcodeColumnCount;r++){var o=this.detectionResultColumns[r].getCodewords()[n];null!=o&&(o.setRowNumber(e[n].getRowNumber()),o.hasValidRowNumber()||(this.detectionResultColumns[r].getCodewords()[n]=null))}},e.prototype.adjustRowNumbersFromRRI=function(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;for(var t=0,n=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),r=0;r<n.length;r++)if(null!=n[r])for(var o=n[r].getRowNumber(),a=0,i=this.barcodeColumnCount+1;i>0&&a<this.ADJUST_ROW_NUMBER_SKIP;i--){var c=this.detectionResultColumns[i].getCodewords()[r];null!=c&&(a=e.adjustRowNumberIfValid(o,a,c),c.hasValidRowNumber()||t++)}return t},e.prototype.adjustRowNumbersFromLRI=function(){if(null==this.detectionResultColumns[0])return 0;for(var t=0,n=this.detectionResultColumns[0].getCodewords(),r=0;r<n.length;r++)if(null!=n[r])for(var o=n[r].getRowNumber(),a=0,i=1;i<this.barcodeColumnCount+1&&a<this.ADJUST_ROW_NUMBER_SKIP;i++){var c=this.detectionResultColumns[i].getCodewords()[r];null!=c&&(a=e.adjustRowNumberIfValid(o,a,c),c.hasValidRowNumber()||t++)}return t},e.adjustRowNumberIfValid=function(e,t,n){return null==n||n.hasValidRowNumber()||(n.isValidRowNumber(e)?(n.setRowNumber(e),t=0):++t),t},e.prototype.adjustRowNumbers=function(t,n,r){var o,a;if(null!=this.detectionResultColumns[t-1]){var i=r[n],c=this.detectionResultColumns[t-1].getCodewords(),l=c;null!=this.detectionResultColumns[t+1]&&(l=this.detectionResultColumns[t+1].getCodewords());var u=new Array(14);u[2]=c[n],u[3]=l[n],n>0&&(u[0]=r[n-1],u[4]=c[n-1],u[5]=l[n-1]),n>1&&(u[8]=r[n-2],u[10]=c[n-2],u[11]=l[n-2]),n<r.length-1&&(u[1]=r[n+1],u[6]=c[n+1],u[7]=l[n+1]),n<r.length-2&&(u[9]=r[n+2],u[12]=c[n+2],u[13]=l[n+2]);try{for(var s=V(u),d=s.next();!d.done;d=s.next()){var f=d.value;if(e.adjustRowNumber(i,f))return}}catch(e){o={error:e}}finally{try{d&&!d.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}}},e.adjustRowNumber=function(e,t){return null!=t&&(!(!t.hasValidRowNumber()||t.getBucket()!==e.getBucket())&&(e.setRowNumber(t.getRowNumber()),!0))},e.prototype.getBarcodeColumnCount=function(){return this.barcodeColumnCount},e.prototype.getBarcodeRowCount=function(){return this.barcodeMetadata.getRowCount()},e.prototype.getBarcodeECLevel=function(){return this.barcodeMetadata.getErrorCorrectionLevel()},e.prototype.setBoundingBox=function(e){this.boundingBox=e},e.prototype.getBoundingBox=function(){return this.boundingBox},e.prototype.setDetectionResultColumn=function(e,t){this.detectionResultColumns[e]=t},e.prototype.getDetectionResultColumn=function(e){return this.detectionResultColumns[e]},e.prototype.toString=function(){var e=this.detectionResultColumns[0];null==e&&(e=this.detectionResultColumns[this.barcodeColumnCount+1]);for(var t=new S,n=0;n<e.getCodewords().length;n++){t.format("CW %3d:",n);for(var r=0;r<this.barcodeColumnCount+2;r++)if(null!=this.detectionResultColumns[r]){var o=this.detectionResultColumns[r].getCodewords()[n];null!=o?t.format(" %3d|%3d",o.getRowNumber(),o.getValue()):t.format(" | ")}else t.format(" | ");t.format("%n")}return t.toString()},e}(),F,W=function(){function e(t,n,r,o){this.rowNumber=e.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(t),this.endX=Math.trunc(n),this.bucket=Math.trunc(r),this.value=Math.trunc(o)}return e.prototype.hasValidRowNumber=function(){return this.isValidRowNumber(this.rowNumber)},e.prototype.isValidRowNumber=function(t){return t!==e.BARCODE_ROW_UNKNOWN&&this.bucket===t%3*3},e.prototype.setRowNumberAsRowIndicatorColumn=function(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))},e.prototype.getWidth=function(){return this.endX-this.startX},e.prototype.getStartX=function(){return this.startX},e.prototype.getEndX=function(){return this.endX},e.prototype.getBucket=function(){return this.bucket},e.prototype.getValue=function(){return this.value},e.prototype.getRowNumber=function(){return this.rowNumber},e.prototype.setRowNumber=function(e){this.rowNumber=e},e.prototype.toString=function(){return this.rowNumber+"|"+this.value},e.BARCODE_ROW_UNKNOWN=-1,e}(),U=n(150),Y,Q=function(){function e(){}return e.initialize=function(){for(var t=0;t<l.a.SYMBOL_TABLE.length;t++)for(var n=l.a.SYMBOL_TABLE[t],r=1&n,o=0;o<l.a.BARS_IN_MODULE;o++){for(var a=0;(1&n)===r;)a+=1,n>>=1;r=1&n,e.RATIOS_TABLE[t]||(e.RATIOS_TABLE[t]=new Array(l.a.BARS_IN_MODULE)),e.RATIOS_TABLE[t][l.a.BARS_IN_MODULE-o-1]=Math.fround(a/l.a.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},e.getDecodedValue=function(t){var n=e.getDecodedCodewordValue(e.sampleBitCounts(t));return-1!==n?n:e.getClosestDecodedValue(t)},e.sampleBitCounts=function(e){for(var t=y.a.sum(e),n=new Int32Array(l.a.BARS_IN_MODULE),r=0,o=0,a=0;a<l.a.MODULES_IN_CODEWORD;a++){var i=t/(2*l.a.MODULES_IN_CODEWORD)+a*t/l.a.MODULES_IN_CODEWORD;o+e[r]<=i&&(o+=e[r],r++),n[r]++}return n},e.getDecodedCodewordValue=function(t){var n=e.getBitValue(t);return-1===l.a.getCodeword(n)?-1:n},e.getBitValue=function(e){for(var t=0,n=0;n<e.length;n++)for(var r=0;r<e[n];r++)t=t<<1|(n%2==0?1:0);return Math.trunc(t)},e.getClosestDecodedValue=function(t){var n=y.a.sum(t),r=new Array(l.a.BARS_IN_MODULE);if(n>1)for(var o=0;o<r.length;o++)r[o]=Math.fround(t[o]/n);var a=U.a.MAX_VALUE,i=-1;this.bSymbolTableReady||e.initialize();for(var c=0;c<e.RATIOS_TABLE.length;c++){for(var u=0,s=e.RATIOS_TABLE[c],d=0;d<l.a.BARS_IN_MODULE;d++){var f=Math.fround(s[d]-r[d]);if((u+=Math.fround(f*f))>=a)break}u<a&&(a=u,i=l.a.SYMBOL_TABLE[c])}return i},e.bSymbolTableReady=!1,e.RATIOS_TABLE=new Array(l.a.SYMBOL_TABLE.length).map((function(e){return new Array(l.a.BARS_IN_MODULE)})),e}(),G=n(179),X=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},q,$=function(){function e(){}return e.decode=function(t,n,r,o,a,c,l){for(var u=new M(t,n,r,o,a),s=null,d=null,f,h=!0;;h=!1){if(null!=n&&(s=e.getRowIndicatorColumn(t,u,n,!0,c,l)),null!=o&&(d=e.getRowIndicatorColumn(t,u,o,!1,c,l)),null==(f=e.merge(s,d)))throw i.a.getNotFoundInstance();var p=f.getBoundingBox();if(!h||null==p||!(p.getMinY()<u.getMinY()||p.getMaxY()>u.getMaxY()))break;u=p}f.setBoundingBox(u);var v=f.getBarcodeColumnCount()+1;f.setDetectionResultColumn(0,s),f.setDetectionResultColumn(v,d);for(var m=null!=s,g=1;g<=v;g++){var b=m?g:v-g;if(void 0===f.getDetectionResultColumn(b)){var y=void 0;y=0===b||b===v?new L(u,0===b):new T(u),f.setDetectionResultColumn(b,y);for(var w=-1,O=w,A=u.getMinY();A<=u.getMaxY();A++){if((w=e.getStartColumn(f,b,A,m))<0||w>u.getMaxX()){if(-1===O)continue;w=O}var j=e.detectCodeword(t,u.getMinX(),u.getMaxX(),m,w,A,c,l);null!=j&&(y.setCodeword(A,j),O=w,c=Math.min(c,j.getWidth()),l=Math.max(l,j.getWidth()))}}}return e.createDecoderResult(f)},e.merge=function(t,n){if(null==t&&null==n)return null;var r=e.getBarcodeMetadata(t,n);if(null==r)return null;var o=M.merge(e.adjustBoundingBox(t),e.adjustBoundingBox(n));return new H(r,o)},e.adjustBoundingBox=function(t){var n,r;if(null==t)return null;var o=t.getRowHeights();if(null==o)return null;var a=e.getMax(o),i=0;try{for(var c=X(o),l=c.next();!l.done;l=c.next()){var u=l.value;if(i+=a-u,u>0)break}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}for(var s=t.getCodewords(),d=0;i>0&&null==s[d];d++)i--;for(var f=0,d=o.length-1;d>=0&&(f+=a-o[d],!(o[d]>0));d--);for(var d=s.length-1;f>0&&null==s[d];d--)f--;return t.getBoundingBox().addMissingRows(i,f,t.isLeft())},e.getMax=function(e){var t,n,r=-1;try{for(var o=X(e),a=o.next();!a.done;a=o.next()){var i=a.value;r=Math.max(r,i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},e.getBarcodeMetadata=function(e,t){var n,r;return null==e||null==(n=e.getBarcodeMetadata())?null==t?null:t.getBarcodeMetadata():null==t||null==(r=t.getBarcodeMetadata())?n:n.getColumnCount()!==r.getColumnCount()&&n.getErrorCorrectionLevel()!==r.getErrorCorrectionLevel()&&n.getRowCount()!==r.getRowCount()?null:n},e.getRowIndicatorColumn=function(t,n,r,o,a,i){for(var c=new L(n,o),l=0;l<2;l++)for(var u=0===l?1:-1,s=Math.trunc(Math.trunc(r.getX())),d=Math.trunc(Math.trunc(r.getY()));d<=n.getMaxY()&&d>=n.getMinY();d+=u){var f=e.detectCodeword(t,0,t.getWidth(),o,s,d,a,i);null!=f&&(c.setCodeword(d,f),s=o?f.getStartX():f.getEndX())}return c},e.adjustCodewordCount=function(t,n){var r=n[0][1],o=r.getValue(),a=t.getBarcodeColumnCount()*t.getBarcodeRowCount()-e.getNumberOfECCodeWords(t.getBarcodeECLevel());if(0===o.length){if(a<1||a>l.a.MAX_CODEWORDS_IN_BARCODE)throw i.a.getNotFoundInstance();r.setValue(a)}else o[0]!==a&&r.setValue(a)},e.createDecoderResult=function(t){var n=e.createBarcodeMatrix(t);e.adjustCodewordCount(t,n);for(var r=new Array,o=new Int32Array(t.getBarcodeRowCount()*t.getBarcodeColumnCount()),a=[],i=new Array,c=0;c<t.getBarcodeRowCount();c++)for(var u=0;u<t.getBarcodeColumnCount();u++){var s=n[c][u+1].getValue(),d=c*t.getBarcodeColumnCount()+u;0===s.length?r.push(d):1===s.length?o[d]=s[0]:(i.push(d),a.push(s))}for(var f=new Array(a.length),h=0;h<f.length;h++)f[h]=a[h];return e.createDecoderResultFromAmbiguousValues(t.getBarcodeECLevel(),o,l.a.toIntArray(r),l.a.toIntArray(i),f)},e.createDecoderResultFromAmbiguousValues=function(t,n,r,a,i){for(var c=new Int32Array(a.length),l=100;l-- >0;){for(var u=0;u<c.length;u++)n[a[u]]=i[u][c[u]];try{return e.decodeCodewords(n,t,r)}catch(e){var s;if(!(e instanceof o.a))throw e}if(0===c.length)throw o.a.getChecksumInstance();for(var u=0;u<c.length;u++){if(c[u]<i[u].length-1){c[u]++;break}if(c[u]=0,u===c.length-1)throw o.a.getChecksumInstance()}}throw o.a.getChecksumInstance()},e.createBarcodeMatrix=function(e){for(var t,n,r,o,a=Array.from({length:e.getBarcodeRowCount()},(function(){return new Array(e.getBarcodeColumnCount()+2)})),i=0;i<a.length;i++)for(var c=0;c<a[i].length;c++)a[i][c]=new I;var l=0;try{for(var u=X(e.getDetectionResultColumns()),s=u.next();!s.done;s=u.next()){var d=s.value;if(null!=d)try{for(var f=(r=void 0,X(d.getCodewords())),h=f.next();!h.done;h=f.next()){var p=h.value;if(null!=p){var v=p.getRowNumber();if(v>=0){if(v>=a.length)continue;a[v][l].setValue(p.getValue())}}}}catch(e){r={error:e}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}l++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return a},e.isValidBarcodeColumn=function(e,t){return t>=0&&t<=e.getBarcodeColumnCount()+1},e.getStartColumn=function(t,n,r,o){var a,i,c=o?1:-1,l=null;if(e.isValidBarcodeColumn(t,n-c)&&(l=t.getDetectionResultColumn(n-c).getCodeword(r)),null!=l)return o?l.getEndX():l.getStartX();if(null!=(l=t.getDetectionResultColumn(n).getCodewordNearby(r)))return o?l.getStartX():l.getEndX();if(e.isValidBarcodeColumn(t,n-c)&&(l=t.getDetectionResultColumn(n-c).getCodewordNearby(r)),null!=l)return o?l.getEndX():l.getStartX();for(var u=0;e.isValidBarcodeColumn(t,n-c);){n-=c;try{for(var s=(a=void 0,X(t.getDetectionResultColumn(n).getCodewords())),d=s.next();!d.done;d=s.next()){var f=d.value;if(null!=f)return(o?f.getEndX():f.getStartX())+c*u*(f.getEndX()-f.getStartX())}}catch(e){a={error:e}}finally{try{d&&!d.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}u++}return o?t.getBoundingBox().getMinX():t.getBoundingBox().getMaxX()},e.detectCodeword=function(t,n,r,o,a,i,c,u){a=e.adjustCodewordStartColumn(t,n,r,o,a,i);var s=e.getModuleBitCount(t,n,r,o,a,i),d;if(null==s)return null;var f=y.a.sum(s);if(o)d=a+f;else{for(var h=0;h<s.length/2;h++){var p=s[h];s[h]=s[s.length-1-h],s[s.length-1-h]=p}a=(d=a)-f}if(!e.checkCodewordSkew(f,c,u))return null;var v=Q.getDecodedValue(s),m=l.a.getCodeword(v);return-1===m?null:new W(a,d,e.getCodewordBucketNumber(v),m)},e.getModuleBitCount=function(e,t,n,r,o,a){for(var i=o,c=new Int32Array(8),l=0,u=r?1:-1,s=r;(r?i<n:i>=t)&&l<c.length;)e.get(i,a)===s?(c[l]++,i+=u):(l++,s=!s);return l===c.length||i===(r?n:t)&&l===c.length-1?c:null},e.getNumberOfECCodeWords=function(e){return 2<<e},e.adjustCodewordStartColumn=function(t,n,r,o,a,i){for(var c=a,l=o?-1:1,u=0;u<2;u++){for(;(o?c>=n:c<r)&&o===t.get(c,i);){if(Math.abs(a-c)>e.CODEWORD_SKEW_SIZE)return a;c+=l}l=-l,o=!o}return c},e.checkCodewordSkew=function(t,n,r){return n-e.CODEWORD_SKEW_SIZE<=t&&t<=r+e.CODEWORD_SKEW_SIZE},e.decodeCodewords=function(t,n,r){if(0===t.length)throw a.a.getFormatInstance();var o=1<<n+1,i=e.correctErrors(t,r,o);e.verifyCodewordCount(t,o);var c=G.a.decode(t,""+n);return c.setErrorsCorrected(i),c.setErasures(r.length),c},e.correctErrors=function(t,n,r){if(null!=n&&n.length>r/2+e.MAX_ERRORS||r<0||r>e.MAX_EC_CODEWORDS)throw o.a.getChecksumInstance();return e.errorCorrection.decode(t,r,n)},e.verifyCodewordCount=function(e,t){if(e.length<4)throw a.a.getFormatInstance();var n=e[0];if(n>e.length)throw a.a.getFormatInstance();if(0===n){if(!(t<e.length))throw a.a.getFormatInstance();e[0]=e.length-t}},e.getBitCountForCodeword=function(e){for(var t=new Int32Array(8),n=0,r=t.length-1;!((1&e)!==n&&(n=1&e,--r<0));)t[r]++,e>>=1;return t},e.getCodewordBucketNumber=function(e){return e instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(e):this.getCodewordBucketNumber_number(e)},e.getCodewordBucketNumber_number=function(t){return e.getCodewordBucketNumber(e.getBitCountForCodeword(t))},e.getCodewordBucketNumber_Int32Array=function(e){return(e[0]-e[2]+e[4]-e[6]+9)%9},e.toString=function(e){for(var t=new S,n=0;n<e.length;n++){t.format("Row %2d: ",n);for(var r=0;r<e[n].length;r++){var o=e[n][r];0===o.getValue().length?t.format(" ",null):t.format("%4d(%2d)",o.getValue()[0],o.getConfidence(o.getValue()[0]))}t.format("%n")}return t.toString()},e.CODEWORD_SKEW_SIZE=2,e.MAX_ERRORS=3,e.MAX_EC_CODEWORDS=512,e.errorCorrection=new w.a,e}(),Z=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},K=function(){function e(){}return e.prototype.decode=function(t,n){void 0===n&&(n=null);var r=e.decode(t,n,!1);if(null==r||0===r.length||null==r[0])throw i.a.getNotFoundInstance();return r[0]},e.prototype.decodeMultiple=function(t,n){void 0===n&&(n=null);try{return e.decode(t,n,!0)}catch(e){if(e instanceof a.a||e instanceof o.a)throw i.a.getNotFoundInstance();throw e}},e.decode=function(t,n,o){var a,i,l=new Array,u=b.detectMultiple(t,n,o);try{for(var d=Z(u.getPoints()),f=d.next();!f.done;f=d.next()){var h=f.value,p=$.decode(u.getBits(),h[4],h[5],h[6],h[7],e.getMinCodewordWidth(h),e.getMaxCodewordWidth(h)),v=new c.a(p.getText(),p.getRawBytes(),void 0,h,r.a.PDF_417);v.putMetadata(s.a.ERROR_CORRECTION_LEVEL,p.getECLevel());var m=p.getOther();null!=m&&v.putMetadata(s.a.PDF417_EXTRA_METADATA,m),l.push(v)}}catch(e){a={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}return l.map((function(e){return e}))},e.getMaxWidth=function(e,t){return null==e||null==t?0:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMinWidth=function(e,t){return null==e||null==t?u.a.MAX_VALUE:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMaxCodewordWidth=function(t){return Math.floor(Math.max(Math.max(e.getMaxWidth(t[0],t[4]),e.getMaxWidth(t[6],t[2])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN),Math.max(e.getMaxWidth(t[1],t[5]),e.getMaxWidth(t[7],t[3])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN)))},e.getMinCodewordWidth=function(t){return Math.floor(Math.min(Math.min(e.getMinWidth(t[0],t[4]),e.getMinWidth(t[6],t[2])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN),Math.min(e.getMinWidth(t[1],t[5]),e.getMinWidth(t[7],t[3])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN)))},e.prototype.reset=function(){},e}(),J=t.a=K},function(e,t,n){"use strict";var r=n(15),o=n(41),a=n(27),i=n(8),c=n(32),l=n(45),u=n(38),s=n(47),d=n(73),f=n(64),h=n(121),p=n(146),v=n(12),m,g=function(){function e(e){var t=e.getHeight();if(t<21||1!=(3&t))throw new v.a;this.bitMatrix=e}return e.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;for(var e=0,t=0;t<6;t++)e=this.copyBit(t,8,e);e=this.copyBit(7,8,e),e=this.copyBit(8,8,e),e=this.copyBit(8,7,e);for(var n=5;n>=0;n--)e=this.copyBit(8,n,e);for(var r=this.bitMatrix.getHeight(),o=0,a=r-7,n=r-1;n>=a;n--)o=this.copyBit(8,n,o);for(var t=r-8;t<r;t++)o=this.copyBit(t,8,o);if(this.parsedFormatInfo=h.a.decodeFormatInformation(e,o),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new v.a},e.prototype.readVersion=function(){if(null!==this.parsedVersion&&void 0!==this.parsedVersion)return this.parsedVersion;var e=this.bitMatrix.getHeight(),t=Math.floor((e-17)/4);if(t<=6)return f.a.getVersionForNumber(t);for(var n=0,r=e-11,o=5;o>=0;o--)for(var a=e-9;a>=r;a--)n=this.copyBit(a,o,n);var i=f.a.decodeVersionInformation(n);if(null!==i&&i.getDimensionForVersion()===e)return this.parsedVersion=i,i;n=0;for(var a=5;a>=0;a--)for(var o=e-9;o>=r;o--)n=this.copyBit(a,o,n);if(null!==(i=f.a.decodeVersionInformation(n))&&i.getDimensionForVersion()===e)return this.parsedVersion=i,i;throw new v.a},e.prototype.copyBit=function(e,t,n){var r;return(this.isMirror?this.bitMatrix.get(t,e):this.bitMatrix.get(e,t))?n<<1|1:n<<1},e.prototype.readCodewords=function(){var e=this.readFormatInformation(),t=this.readVersion(),n=p.a.values.get(e.getDataMask()),r=this.bitMatrix.getHeight();n.unmaskBitMatrix(this.bitMatrix,r);for(var o=t.buildFunctionPattern(),a=!0,i=new Uint8Array(t.getTotalCodewords()),c=0,l=0,u=0,s=r-1;s>0;s-=2){6===s&&s--;for(var d=0;d<r;d++)for(var f=a?r-1-d:d,h=0;h<2;h++)o.get(s-h,f)||(u++,l<<=1,this.bitMatrix.get(s-h,f)&&(l|=1),8===u&&(i[c++]=l,u=0,l=0));a=!a}if(c!==t.getTotalCodewords())throw new v.a;return i},e.prototype.remask=function(){if(null!==this.parsedFormatInfo){var e=p.a.values.get(this.parsedFormatInfo.getDataMask()),t=this.bitMatrix.getHeight();e.unmaskBitMatrix(this.bitMatrix,t)}},e.prototype.setMirror=function(e){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=e},e.prototype.mirror=function(){for(var e=this.bitMatrix,t=0,n=e.getWidth();t<n;t++)for(var r=t+1,o=e.getHeight();r<o;r++)e.get(t,r)!==e.get(r,t)&&(e.flip(r,t),e.flip(t,r))},e}(),b=n(14),y=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w,O=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,n,r){var o,a,i,c;if(t.length!==n.getTotalCodewords())throw new b.a;var l=n.getECBlocksForLevel(r),u=0,s=l.getECBlocks();try{for(var d=y(s),f=d.next();!f.done;f=d.next()){var h;u+=(h=f.value).getCount()}}catch(e){o={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}var p=new Array(u),v=0;try{for(var m=y(s),g=m.next();!g.done;g=m.next())for(var h=g.value,w=0;w<h.getCount();w++){var O=h.getDataCodewords(),M=l.getECCodewordsPerBlock()+O;p[v++]=new e(O,new Uint8Array(M))}}catch(e){i={error:e}}finally{try{g&&!g.done&&(c=m.return)&&c.call(m)}finally{if(i)throw i.error}}for(var A=p[0].codewords.length,j=p.length-1;j>=0;){var x;if(p[j].codewords.length===A)break;j--}j++;for(var S=A-l.getECCodewordsPerBlock(),E=0,w=0;w<S;w++)for(var C=0;C<v;C++)p[C].codewords[w]=t[E++];for(var C=j;C<v;C++)p[C].codewords[S]=t[E++];for(var T=p[0].codewords.length,w=S;w<T;w++)for(var C=0;C<v;C++){var D=C<j?w:w+1;p[C].codewords[D]=t[E++]}return p},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}(),M=n(178),A,j=function(){function e(e){this.mirrored=e}return e.prototype.isMirrored=function(){return this.mirrored},e.prototype.applyMirroredCorrection=function(e){if(this.mirrored&&null!==e&&!(e.length<3)){var t=e[0];e[0]=e[2],e[2]=t}},e}(),x=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S,E=function(){function e(){this.rsDecoder=new d.a(s.a.QR_CODE_FIELD_256)}return e.prototype.decodeBooleanArray=function(e,t){return this.decodeBitMatrix(o.a.parseFromBooleanArray(e),t)},e.prototype.decodeBitMatrix=function(e,t){var n=new g(e),r=null;try{return this.decodeBitMatrixParser(n,t)}catch(e){r=e}try{n.remask(),n.setMirror(!0),n.readVersion(),n.readFormatInformation(),n.mirror();var o=this.decodeBitMatrixParser(n,t);return o.setOther(new j(!0)),o}catch(e){if(null!==r)throw r;throw e}},e.prototype.decodeBitMatrixParser=function(e,t){var n,r,o,a,i=e.readVersion(),c=e.readFormatInformation().getErrorCorrectionLevel(),l=e.readCodewords(),u=O.getDataBlocks(l,i,c),s=0;try{for(var d=x(u),f=d.next();!f.done;f=d.next()){var h;s+=(h=f.value).getNumDataCodewords()}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}var p=new Uint8Array(s),v=0;try{for(var m=x(u),g=m.next();!g.done;g=m.next()){var h,b=(h=g.value).getCodewords(),y=h.getNumDataCodewords();this.correctErrors(b,y);for(var w=0;w<y;w++)p[v++]=b[w]}}catch(e){o={error:e}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}return M.a.decode(p,i,c,t)},e.prototype.correctErrors=function(e,t){var n=new Int32Array(e);try{this.rsDecoder.decode(n,e.length-t)}catch(e){throw new u.a}for(var r=0;r<t;r++)e[r]=n[r]},e}(),C=n(25),T=n(83),D=n(84),_=n(118),z=n(16),I=(P=function(e,t){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),P,N,k=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.estimatedModuleSize=r,o}return I(t,e),t.prototype.aboutEquals=function(e,t,n){if(Math.abs(t-this.getY())<=e&&Math.abs(n-this.getX())<=e){var r=Math.abs(e-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,n,r){var o,a,i;return new t((this.getX()+n)/2,(this.getY()+e)/2,(this.estimatedModuleSize+r)/2)},t}(z.a),R=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},L,V=function(){function e(e,t,n,r,o,a,i){this.image=e,this.startX=t,this.startY=n,this.width=r,this.height=o,this.moduleSize=a,this.resultPointCallback=i,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return e.prototype.find=function(){for(var e=this.startX,t=this.height,n,r=e+this.width,o=this.startY+t/2,a=new Int32Array(3),c=this.image,l=0;l<t;l++){var u=o+(0==(1&l)?Math.floor((l+1)/2):-Math.floor((l+1)/2));a[0]=0,a[1]=0,a[2]=0;for(var s=e;s<r&&!c.get(s,u);)s++;for(var d=0,f;s<r;){if(c.get(s,u))if(1===d)a[1]++;else if(2===d){var f;if(this.foundPatternCross(a))if(null!==(f=this.handlePossibleCenter(a,u,s)))return f;a[0]=a[2],a[1]=1,a[2]=0,d=1}else a[++d]++;else 1===d&&d++,a[d]++;s++}if(this.foundPatternCross(a))if(null!==(f=this.handlePossibleCenter(a,u,r)))return f}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new i.a},e.centerFromEnd=function(e,t){return t-e[2]-e[1]/2},e.prototype.foundPatternCross=function(e){for(var t=this.moduleSize,n=t/2,r=0;r<3;r++)if(Math.abs(t-e[r])>=n)return!1;return!0},e.prototype.crossCheckVertical=function(t,n,r,o){var a=this.image,i=a.getHeight(),c=this.crossCheckStateCount;c[0]=0,c[1]=0,c[2]=0;for(var l=t;l>=0&&a.get(n,l)&&c[1]<=r;)c[1]++,l--;if(l<0||c[1]>r)return NaN;for(;l>=0&&!a.get(n,l)&&c[0]<=r;)c[0]++,l--;if(c[0]>r)return NaN;for(l=t+1;l<i&&a.get(n,l)&&c[1]<=r;)c[1]++,l++;if(l===i||c[1]>r)return NaN;for(;l<i&&!a.get(n,l)&&c[2]<=r;)c[2]++,l++;if(c[2]>r)return NaN;var u=c[0]+c[1]+c[2];return 5*Math.abs(u-o)>=2*o?NaN:this.foundPatternCross(c)?e.centerFromEnd(c,l):NaN},e.prototype.handlePossibleCenter=function(t,n,r){var o,a,i=t[0]+t[1]+t[2],c=e.centerFromEnd(t,r),l=this.crossCheckVertical(n,c,2*t[1],i);if(!isNaN(l)){var u=(t[0]+t[1]+t[2])/3;try{for(var s=R(this.possibleCenters),d=s.next();!d.done;d=s.next()){var f=d.value;if(f.aboutEquals(u,l,c))return f.combineEstimate(l,c,u)}}catch(e){o={error:e}}finally{try{d&&!d.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}var h=new k(c,l,u);this.possibleCenters.push(h),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(h)}return null},e}(),B=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),H,F=function(e){function t(t,n,r,o){var a=e.call(this,t,n)||this;return a.estimatedModuleSize=r,a.count=o,void 0===o&&(a.count=1),a}return B(t,e),t.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},t.prototype.getCount=function(){return this.count},t.prototype.aboutEquals=function(e,t,n){if(Math.abs(t-this.getY())<=e&&Math.abs(n-this.getX())<=e){var r=Math.abs(e-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,n,r){var o=this.count+1,a,i,c;return new t((this.count*this.getX()+n)/o,(this.count*this.getY()+e)/o,(this.count*this.estimatedModuleSize+r)/o,o)},t}(z.a),W,U=function(){function e(e){this.bottomLeft=e[0],this.topLeft=e[1],this.topRight=e[2]}return e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e}(),Y=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Q,G=function(){function e(e,t){this.image=e,this.resultPointCallback=t,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=t}return e.prototype.getImage=function(){return this.image},e.prototype.getPossibleCenters=function(){return this.possibleCenters},e.prototype.find=function(t){var n=null!=t&&void 0!==t.get(a.a.TRY_HARDER),r=null!=t&&void 0!==t.get(a.a.PURE_BARCODE),o=this.image,i=o.getHeight(),c=o.getWidth(),l=Math.floor(3*i/(4*e.MAX_MODULES));(l<e.MIN_SKIP||n)&&(l=e.MIN_SKIP);for(var u=!1,s=new Int32Array(5),d=l-1;d<i&&!u;d+=l){s[0]=0,s[1]=0,s[2]=0,s[3]=0,s[4]=0;for(var f=0,h=0,p;h<c;h++)if(o.get(h,d))1==(1&f)&&f++,s[f]++;else if(0==(1&f))if(4===f)if(e.foundPatternCross(s)){var p;if(!0!==(p=this.handlePossibleCenter(s,d,h,r))){s[0]=s[2],s[1]=s[3],s[2]=s[4],s[3]=1,s[4]=0,f=3;continue}if(l=2,!0===this.hasSkipped)u=this.haveMultiplyConfirmedCenters();else{var v=this.findRowSkip();v>s[2]&&(d+=v-s[2]-l,h=c-1)}f=0,s[0]=0,s[1]=0,s[2]=0,s[3]=0,s[4]=0}else s[0]=s[2],s[1]=s[3],s[2]=s[4],s[3]=1,s[4]=0,f=3;else s[++f]++;else s[f]++;if(e.foundPatternCross(s))!0===(p=this.handlePossibleCenter(s,d,c,r))&&(l=s[0],this.hasSkipped&&(u=this.haveMultiplyConfirmedCenters()))}var m=this.selectBestPatterns();return z.a.orderBestPatterns(m),new U(m)},e.centerFromEnd=function(e,t){return t-e[4]-e[3]-e[2]/2},e.foundPatternCross=function(e){for(var t=0,n=0;n<5;n++){var r=e[n];if(0===r)return!1;t+=r}if(t<7)return!1;var o=t/7,a=o/2;return Math.abs(o-e[0])<a&&Math.abs(o-e[1])<a&&Math.abs(3*o-e[2])<3*a&&Math.abs(o-e[3])<a&&Math.abs(o-e[4])<a},e.prototype.getCrossCheckStateCount=function(){var e=this.crossCheckStateCount;return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e},e.prototype.crossCheckDiagonal=function(t,n,r,o){for(var a=this.getCrossCheckStateCount(),i=0,c=this.image;t>=i&&n>=i&&c.get(n-i,t-i);)a[2]++,i++;if(t<i||n<i)return!1;for(;t>=i&&n>=i&&!c.get(n-i,t-i)&&a[1]<=r;)a[1]++,i++;if(t<i||n<i||a[1]>r)return!1;for(;t>=i&&n>=i&&c.get(n-i,t-i)&&a[0]<=r;)a[0]++,i++;if(a[0]>r)return!1;var l=c.getHeight(),u=c.getWidth();for(i=1;t+i<l&&n+i<u&&c.get(n+i,t+i);)a[2]++,i++;if(t+i>=l||n+i>=u)return!1;for(;t+i<l&&n+i<u&&!c.get(n+i,t+i)&&a[3]<r;)a[3]++,i++;if(t+i>=l||n+i>=u||a[3]>=r)return!1;for(;t+i<l&&n+i<u&&c.get(n+i,t+i)&&a[4]<r;)a[4]++,i++;if(a[4]>=r)return!1;var s=a[0]+a[1]+a[2]+a[3]+a[4];return Math.abs(s-o)<2*o&&e.foundPatternCross(a)},e.prototype.crossCheckVertical=function(t,n,r,o){for(var a=this.image,i=a.getHeight(),c=this.getCrossCheckStateCount(),l=t;l>=0&&a.get(n,l);)c[2]++,l--;if(l<0)return NaN;for(;l>=0&&!a.get(n,l)&&c[1]<=r;)c[1]++,l--;if(l<0||c[1]>r)return NaN;for(;l>=0&&a.get(n,l)&&c[0]<=r;)c[0]++,l--;if(c[0]>r)return NaN;for(l=t+1;l<i&&a.get(n,l);)c[2]++,l++;if(l===i)return NaN;for(;l<i&&!a.get(n,l)&&c[3]<r;)c[3]++,l++;if(l===i||c[3]>=r)return NaN;for(;l<i&&a.get(n,l)&&c[4]<r;)c[4]++,l++;if(c[4]>=r)return NaN;var u=c[0]+c[1]+c[2]+c[3]+c[4];return 5*Math.abs(u-o)>=2*o?NaN:e.foundPatternCross(c)?e.centerFromEnd(c,l):NaN},e.prototype.crossCheckHorizontal=function(t,n,r,o){for(var a=this.image,i=a.getWidth(),c=this.getCrossCheckStateCount(),l=t;l>=0&&a.get(l,n);)c[2]++,l--;if(l<0)return NaN;for(;l>=0&&!a.get(l,n)&&c[1]<=r;)c[1]++,l--;if(l<0||c[1]>r)return NaN;for(;l>=0&&a.get(l,n)&&c[0]<=r;)c[0]++,l--;if(c[0]>r)return NaN;for(l=t+1;l<i&&a.get(l,n);)c[2]++,l++;if(l===i)return NaN;for(;l<i&&!a.get(l,n)&&c[3]<r;)c[3]++,l++;if(l===i||c[3]>=r)return NaN;for(;l<i&&a.get(l,n)&&c[4]<r;)c[4]++,l++;if(c[4]>=r)return NaN;var u=c[0]+c[1]+c[2]+c[3]+c[4];return 5*Math.abs(u-o)>=o?NaN:e.foundPatternCross(c)?e.centerFromEnd(c,l):NaN},e.prototype.handlePossibleCenter=function(t,n,r,o){var a=t[0]+t[1]+t[2]+t[3]+t[4],i=e.centerFromEnd(t,r),c=this.crossCheckVertical(n,Math.floor(i),t[2],a);if(!isNaN(c)&&(i=this.crossCheckHorizontal(Math.floor(i),Math.floor(c),t[2],a),!isNaN(i)&&(!o||this.crossCheckDiagonal(Math.floor(c),Math.floor(i),t[2],a)))){for(var l=a/7,u=!1,s=this.possibleCenters,d=0,f=s.length;d<f;d++){var h=s[d];if(h.aboutEquals(l,c,i)){s[d]=h.combineEstimate(c,i,l),u=!0;break}}if(!u){var p=new F(i,c,l);s.push(p),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(p)}return!0}return!1},e.prototype.findRowSkip=function(){var t,n,r;if(this.possibleCenters.length<=1)return 0;var o=null;try{for(var a=Y(this.possibleCenters),i=a.next();!i.done;i=a.next()){var c=i.value;if(c.getCount()>=e.CENTER_QUORUM){if(null!=o)return this.hasSkipped=!0,Math.floor((Math.abs(o.getX()-c.getX())-Math.abs(o.getY()-c.getY()))/2);o=c}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return 0},e.prototype.haveMultiplyConfirmedCenters=function(){var t,n,r,o,a=0,i=0,c=this.possibleCenters.length;try{for(var l=Y(this.possibleCenters),u=l.next();!u.done;u=l.next()){var s;(s=u.value).getCount()>=e.CENTER_QUORUM&&(a++,i+=s.getEstimatedModuleSize())}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}if(a<3)return!1;var d=i/c,f=0;try{for(var h=Y(this.possibleCenters),p=h.next();!p.done;p=h.next()){var s=p.value;f+=Math.abs(s.getEstimatedModuleSize()-d)}}catch(e){r={error:e}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}return f<=.05*i},e.prototype.selectBestPatterns=function(){var e,t,n,r,o=this.possibleCenters.length;if(o<3)throw new i.a;var a=this.possibleCenters,c;if(o>3){var l=0,u=0;try{for(var s=Y(this.possibleCenters),d=s.next();!d.done;d=s.next()){var f,h=d.value.getEstimatedModuleSize();l+=h,u+=h*h}}catch(t){e={error:t}}finally{try{d&&!d.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}c=l/o;var p=Math.sqrt(u/o-c*c);a.sort((function(e,t){var n=Math.abs(t.getEstimatedModuleSize()-c),r=Math.abs(e.getEstimatedModuleSize()-c);return n<r?-1:n>r?1:0}));for(var v=Math.max(.2*c,p),m=0;m<a.length&&a.length>3;m++){var g=a[m];Math.abs(g.getEstimatedModuleSize()-c)>v&&(a.splice(m,1),m--)}}if(a.length>3){var l=0;try{for(var b=Y(a),y=b.next();!y.done;y=b.next()){var w;l+=y.value.getEstimatedModuleSize()}}catch(e){n={error:e}}finally{try{y&&!y.done&&(r=b.return)&&r.call(b)}finally{if(n)throw n.error}}c=l/a.length,a.sort((function(e,t){if(t.getCount()===e.getCount()){var n=Math.abs(t.getEstimatedModuleSize()-c),r=Math.abs(e.getEstimatedModuleSize()-c);return n<r?1:n>r?-1:0}return t.getCount()-e.getCount()})),a.splice(3)}return[a[0],a[1],a[2]]},e.CENTER_QUORUM=2,e.MIN_SKIP=3,e.MAX_MODULES=57,e}(),X,q=function(){function e(e){this.image=e}return e.prototype.getImage=function(){return this.image},e.prototype.getResultPointCallback=function(){return this.resultPointCallback},e.prototype.detect=function(e){this.resultPointCallback=null==e?null:e.get(a.a.NEED_RESULT_POINT_CALLBACK);var t,n=new G(this.image,this.resultPointCallback).find(e);return this.processFinderPatternInfo(n)},e.prototype.processFinderPatternInfo=function(t){var n=t.getTopLeft(),r=t.getTopRight(),o=t.getBottomLeft(),a=this.calculateModuleSize(n,r,o);if(a<1)throw new i.a("No pattern found in proccess finder.");var c=e.computeDimension(n,r,o,a),l=f.a.getProvisionalVersionForDimension(c),u=l.getDimensionForVersion()-7,s=null;if(l.getAlignmentPatternCenters().length>0)for(var d=r.getX()-n.getX()+o.getX(),h=r.getY()-n.getY()+o.getY(),p=1-3/u,v=Math.floor(n.getX()+p*(d-n.getX())),m=Math.floor(n.getY()+p*(h-n.getY())),g=4;g<=16;g<<=1)try{s=this.findAlignmentInRegion(a,v,m,g);break}catch(e){if(!(e instanceof i.a))throw e}var b=e.createTransform(n,r,o,s,c),y=e.sampleGrid(this.image,b,c),w;return w=null===s?[o,n,r]:[o,n,r,s],new T.a(y,w)},e.createTransform=function(e,t,n,r,o){var a=o-3.5,i,c,l,u;return null!==r?(i=r.getX(),c=r.getY(),u=l=a-3):(i=t.getX()-e.getX()+n.getX(),c=t.getY()-e.getY()+n.getY(),l=a,u=a),_.a.quadrilateralToQuadrilateral(3.5,3.5,a,3.5,l,u,3.5,a,e.getX(),e.getY(),t.getX(),t.getY(),i,c,n.getX(),n.getY())},e.sampleGrid=function(e,t,n){var r;return D.a.getInstance().sampleGridWithTransform(e,n,n,t)},e.computeDimension=function(e,t,n,r){var o=C.a.round(z.a.distance(e,t)/r),a=C.a.round(z.a.distance(e,n)/r),c=Math.floor((o+a)/2)+7;switch(3&c){case 0:c++;break;case 2:c--;break;case 3:throw new i.a("Dimensions could be not found.")}return c},e.prototype.calculateModuleSize=function(e,t,n){return(this.calculateModuleSizeOneWay(e,t)+this.calculateModuleSizeOneWay(e,n))/2},e.prototype.calculateModuleSizeOneWay=function(e,t){var n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY())),r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(n)?r/7:isNaN(r)?n/7:(n+r)/14},e.prototype.sizeOfBlackWhiteBlackRunBothWays=function(e,t,n,r){var o=this.sizeOfBlackWhiteBlackRun(e,t,n,r),a=1,i=e-(n-e);i<0?(a=e/(e-i),i=0):i>=this.image.getWidth()&&(a=(this.image.getWidth()-1-e)/(i-e),i=this.image.getWidth()-1);var c=Math.floor(t-(r-t)*a);return a=1,c<0?(a=t/(t-c),c=0):c>=this.image.getHeight()&&(a=(this.image.getHeight()-1-t)/(c-t),c=this.image.getHeight()-1),i=Math.floor(e+(i-e)*a),(o+=this.sizeOfBlackWhiteBlackRun(e,t,i,c))-1},e.prototype.sizeOfBlackWhiteBlackRun=function(e,t,n,r){var o=Math.abs(r-t)>Math.abs(n-e);if(o){var a=e;e=t,t=a,a=n,n=r,r=a}for(var i=Math.abs(n-e),c=Math.abs(r-t),l=-i/2,u=e<n?1:-1,s=t<r?1:-1,d=0,f=n+u,h=e,p=t;h!==f;h+=u){var v=o?p:h,m=o?h:p;if(1===d===this.image.get(v,m)){if(2===d)return C.a.distance(h,p,e,t);d++}if((l+=c)>0){if(p===r)break;p+=s,l-=i}}return 2===d?C.a.distance(n+u,r,e,t):NaN},e.prototype.findAlignmentInRegion=function(e,t,n,r){var o=Math.floor(r*e),a=Math.max(0,t-o),c=Math.min(this.image.getWidth()-1,t+o);if(c-a<3*e)throw new i.a("Alignment top exceeds estimated module size.");var l=Math.max(0,n-o),u=Math.min(this.image.getHeight()-1,n+o),s;if(u-l<3*e)throw new i.a("Alignment bottom exceeds estimated module size.");return new V(this.image,a,l,c-a,u-l,e,this.resultPointCallback).find()},e}(),$=function(){function e(){this.decoder=new E}return e.prototype.getDecoder=function(){return this.decoder},e.prototype.decode=function(t,n){var o,i;if(null!=n&&void 0!==n.get(a.a.PURE_BARCODE)){var u=e.extractPureBits(t.getBlackMatrix());o=this.decoder.decodeBitMatrix(u,n),i=e.NO_POINTS}else{var s=new q(t.getBlackMatrix()).detect(n);o=this.decoder.decodeBitMatrix(s.getBits(),n),i=s.getPoints()}o.getOther()instanceof j&&o.getOther().applyMirroredCorrection(i);var d=new c.a(o.getText(),o.getRawBytes(),void 0,i,r.a.QR_CODE,void 0),f=o.getByteSegments();null!==f&&d.putMetadata(l.a.BYTE_SEGMENTS,f);var h=o.getECLevel();return null!==h&&d.putMetadata(l.a.ERROR_CORRECTION_LEVEL,h),o.hasStructuredAppend()&&(d.putMetadata(l.a.STRUCTURED_APPEND_SEQUENCE,o.getStructuredAppendSequenceNumber()),d.putMetadata(l.a.STRUCTURED_APPEND_PARITY,o.getStructuredAppendParity())),d},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null===t||null===n)throw new i.a;var r=this.moduleSize(t,e),a=t[1],c=n[1],l=t[0],u=n[0];if(l>=u||a>=c)throw new i.a;if(c-a!=u-l&&(u=l+(c-a))>=e.getWidth())throw new i.a;var s=Math.round((u-l+1)/r),d=Math.round((c-a+1)/r);if(s<=0||d<=0)throw new i.a;if(d!==s)throw new i.a;var f=Math.floor(r/2);a+=f;var h=(l+=f)+Math.floor((s-1)*r)-u;if(h>0){if(h>f)throw new i.a;l-=h}var p=a+Math.floor((d-1)*r)-c;if(p>0){if(p>f)throw new i.a;a-=p}for(var v=new o.a(s,d),m=0;m<d;m++)for(var g=a+Math.floor(m*r),b=0;b<s;b++)e.get(l+Math.floor(b*r),g)&&v.set(b,m);return v},e.moduleSize=function(e,t){for(var n=t.getHeight(),r=t.getWidth(),o=e[0],a=e[1],c=!0,l=0;o<r&&a<n;){if(c!==t.get(o,a)){if(5==++l)break;c=!c}o++,a++}if(o===r||a===n)throw new i.a;return(o-e[0])/7},e.NO_POINTS=new Array,e}(),Z=t.a=$},function(e,t,n){"use strict";var r=n(15),o=n(41),a=n(27),i=n(8),c=n(32),l=n(45),u=n(24),s=n(38),d=n(47),f=n(73),h=n(12),p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(){function e(e,t,n){this.ecCodewords=e,this.ecBlocks=[t],n&&this.ecBlocks.push(n)}return e.prototype.getECCodewords=function(){return this.ecCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e}(),m=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}(),g,b=function(){function e(e,t,n,r,o,a){var i,c;this.versionNumber=e,this.symbolSizeRows=t,this.symbolSizeColumns=n,this.dataRegionSizeRows=r,this.dataRegionSizeColumns=o,this.ecBlocks=a;var l=0,u=a.getECCodewords(),s=a.getECBlocks();try{for(var d=p(s),f=d.next();!f.done;f=d.next()){var h=f.value;l+=h.getCount()*(h.getDataCodewords()+u)}}catch(e){i={error:e}}finally{try{f&&!f.done&&(c=d.return)&&c.call(d)}finally{if(i)throw i.error}}this.totalCodewords=l}return e.prototype.getVersionNumber=function(){return this.versionNumber},e.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},e.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},e.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},e.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},e.prototype.getTotalCodewords=function(){return this.totalCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e.getVersionForDimensions=function(t,n){var r,o;if(0!=(1&t)||0!=(1&n))throw new h.a;try{for(var a=p(e.VERSIONS),i=a.next();!i.done;i=a.next()){var c=i.value;if(c.symbolSizeRows===t&&c.symbolSizeColumns===n)return c}}catch(e){r={error:e}}finally{try{i&&!i.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}throw new h.a},e.prototype.toString=function(){return""+this.versionNumber},e.buildVersions=function(){return[new e(1,10,10,8,8,new v(5,new m(1,3))),new e(2,12,12,10,10,new v(7,new m(1,5))),new e(3,14,14,12,12,new v(10,new m(1,8))),new e(4,16,16,14,14,new v(12,new m(1,12))),new e(5,18,18,16,16,new v(14,new m(1,18))),new e(6,20,20,18,18,new v(18,new m(1,22))),new e(7,22,22,20,20,new v(20,new m(1,30))),new e(8,24,24,22,22,new v(24,new m(1,36))),new e(9,26,26,24,24,new v(28,new m(1,44))),new e(10,32,32,14,14,new v(36,new m(1,62))),new e(11,36,36,16,16,new v(42,new m(1,86))),new e(12,40,40,18,18,new v(48,new m(1,114))),new e(13,44,44,20,20,new v(56,new m(1,144))),new e(14,48,48,22,22,new v(68,new m(1,174))),new e(15,52,52,24,24,new v(42,new m(2,102))),new e(16,64,64,14,14,new v(56,new m(2,140))),new e(17,72,72,16,16,new v(36,new m(4,92))),new e(18,80,80,18,18,new v(48,new m(4,114))),new e(19,88,88,20,20,new v(56,new m(4,144))),new e(20,96,96,22,22,new v(68,new m(4,174))),new e(21,104,104,24,24,new v(56,new m(6,136))),new e(22,120,120,18,18,new v(68,new m(6,175))),new e(23,132,132,20,20,new v(62,new m(8,163))),new e(24,144,144,22,22,new v(62,new m(8,156),new m(2,155))),new e(25,8,18,6,16,new v(7,new m(1,5))),new e(26,8,32,6,14,new v(11,new m(1,10))),new e(27,12,26,10,24,new v(14,new m(1,16))),new e(28,12,36,10,16,new v(18,new m(1,22))),new e(29,16,36,14,16,new v(24,new m(1,32))),new e(30,16,48,14,22,new v(28,new m(1,49)))]},e.VERSIONS=e.buildVersions(),e}(),y=n(14),w,O=function(){function e(t){var n=t.getHeight();if(n<8||n>144||0!=(1&n))throw new h.a;this.version=e.readVersion(t),this.mappingBitMatrix=this.extractDataRegion(t),this.readMappingMatrix=new o.a(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return e.prototype.getVersion=function(){return this.version},e.readVersion=function(e){var t=e.getHeight(),n=e.getWidth();return b.getVersionForDimensions(t,n)},e.prototype.readCodewords=function(){var e=new Int8Array(this.version.getTotalCodewords()),t=0,n=4,r=0,o=this.mappingBitMatrix.getHeight(),a=this.mappingBitMatrix.getWidth(),i=!1,c=!1,l=!1,u=!1;do{if(n!==o||0!==r||i)if(n!==o-2||0!==r||0==(3&a)||c)if(n!==o+4||2!==r||0!=(7&a)||l)if(n!==o-2||0!==r||4!=(7&a)||u){do{n<o&&r>=0&&!this.readMappingMatrix.get(r,n)&&(e[t++]=255&this.readUtah(n,r,o,a)),n-=2,r+=2}while(n>=0&&r<a);n+=1,r+=3;do{n>=0&&r<a&&!this.readMappingMatrix.get(r,n)&&(e[t++]=255&this.readUtah(n,r,o,a)),n+=2,r-=2}while(n<o&&r>=0);n+=3,r+=1}else e[t++]=255&this.readCorner4(o,a),n-=2,r+=2,u=!0;else e[t++]=255&this.readCorner3(o,a),n-=2,r+=2,l=!0;else e[t++]=255&this.readCorner2(o,a),n-=2,r+=2,c=!0;else e[t++]=255&this.readCorner1(o,a),n-=2,r+=2,i=!0}while(n<o||r<a);if(t!==this.version.getTotalCodewords())throw new h.a;return e},e.prototype.readModule=function(e,t,n,r){return e<0&&(e+=n,t+=4-(n+4&7)),t<0&&(t+=r,e+=4-(r+4&7)),this.readMappingMatrix.set(t,e),this.mappingBitMatrix.get(t,e)},e.prototype.readUtah=function(e,t,n,r){var o=0;return this.readModule(e-2,t-2,n,r)&&(o|=1),o<<=1,this.readModule(e-2,t-1,n,r)&&(o|=1),o<<=1,this.readModule(e-1,t-2,n,r)&&(o|=1),o<<=1,this.readModule(e-1,t-1,n,r)&&(o|=1),o<<=1,this.readModule(e-1,t,n,r)&&(o|=1),o<<=1,this.readModule(e,t-2,n,r)&&(o|=1),o<<=1,this.readModule(e,t-1,n,r)&&(o|=1),o<<=1,this.readModule(e,t,n,r)&&(o|=1),o},e.prototype.readCorner1=function(e,t){var n=0;return this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,1,e,t)&&(n|=1),n<<=1,this.readModule(e-1,2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n<<=1,this.readModule(2,t-1,e,t)&&(n|=1),n<<=1,this.readModule(3,t-1,e,t)&&(n|=1),n},e.prototype.readCorner2=function(e,t){var n=0;return this.readModule(e-3,0,e,t)&&(n|=1),n<<=1,this.readModule(e-2,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(0,t-4,e,t)&&(n|=1),n<<=1,this.readModule(0,t-3,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n},e.prototype.readCorner3=function(e,t){var n=0;return this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,t-1,e,t)&&(n|=1),n<<=1,this.readModule(0,t-3,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-3,e,t)&&(n|=1),n<<=1,this.readModule(1,t-2,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n},e.prototype.readCorner4=function(e,t){var n=0;return this.readModule(e-3,0,e,t)&&(n|=1),n<<=1,this.readModule(e-2,0,e,t)&&(n|=1),n<<=1,this.readModule(e-1,0,e,t)&&(n|=1),n<<=1,this.readModule(0,t-2,e,t)&&(n|=1),n<<=1,this.readModule(0,t-1,e,t)&&(n|=1),n<<=1,this.readModule(1,t-1,e,t)&&(n|=1),n<<=1,this.readModule(2,t-1,e,t)&&(n|=1),n<<=1,this.readModule(3,t-1,e,t)&&(n|=1),n},e.prototype.extractDataRegion=function(e){var t=this.version.getSymbolSizeRows(),n=this.version.getSymbolSizeColumns();if(e.getHeight()!==t)throw new y.a("Dimension of bitMatrix must match the version size");for(var r=this.version.getDataRegionSizeRows(),a=this.version.getDataRegionSizeColumns(),i=t/r|0,c=n/a|0,l=i*r,u=c*a,s=new o.a(u,l),d=0;d<i;++d)for(var f=d*r,h=0;h<c;++h)for(var p=h*a,v=0;v<r;++v)for(var m=d*(r+2)+1+v,g=f+v,b=0;b<a;++b){var w=h*(a+2)+1+b;if(e.get(w,m)){var O=p+b;s.set(O,g)}}return s},e}(),M=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},A,j=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,n){var r,o,a,i,c=n.getECBlocks(),l=0,u=c.getECBlocks();try{for(var s=M(u),d=s.next();!d.done;d=s.next()){var f;l+=(f=d.value).getCount()}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}var h=new Array(l),p=0;try{for(var v=M(u),m=v.next();!m.done;m=v.next())for(var f=m.value,g=0;g<f.getCount();g++){var b=f.getDataCodewords(),w=c.getECCodewords()+b;h[p++]=new e(b,new Uint8Array(w))}}catch(e){a={error:e}}finally{try{m&&!m.done&&(i=v.return)&&i.call(v)}finally{if(a)throw a.error}}for(var O,A=h[0].codewords.length-c.getECCodewords(),j=A-1,x=0,g=0;g<j;g++)for(var S=0;S<p;S++)h[S].codewords[g]=t[x++];for(var E=24===n.getVersionNumber(),C=E?8:p,S=0;S<C;S++)h[S].codewords[A-1]=t[x++];for(var T=h[0].codewords.length,g=A;g<T;g++)for(var S=0;S<p;S++){var D=E?(S+8)%p:S,_=E&&D>7?g-1:g;h[D].codewords[_]=t[x++]}if(x!==t.length)throw new y.a;return h},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}(),x=n(176),S=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},E,C=function(){function e(){this.rsDecoder=new f.a(d.a.DATA_MATRIX_FIELD_256)}return e.prototype.decode=function(e){var t,n,r=new O(e),o=r.getVersion(),a=r.readCodewords(),i=j.getDataBlocks(a,o),c=0;try{for(var l=S(i),u=l.next();!u.done;u=l.next()){var s;c+=u.value.getNumDataCodewords()}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}for(var d=new Uint8Array(c),f=i.length,h=0;h<f;h++){var p=i[h],v=p.getCodewords(),m=p.getNumDataCodewords();this.correctErrors(v,m);for(var g=0;g<m;g++)d[g*f+h]=v[g]}return x.a.decode(d)},e.prototype.correctErrors=function(e,t){var n=new Int32Array(e);try{this.rsDecoder.decode(n,e.length-t)}catch(e){throw new s.a}for(var r=0;r<t;r++)e[r]=n[r]},e}(),T=n(96),D=n(83),_=n(84),z=n(16),I,P=function(){function e(e){this.image=e,this.rectangleDetector=new T.a(this.image)}return e.prototype.detect=function(){var t=this.rectangleDetector.detect(),n=this.detectSolid1(t);if((n=this.detectSolid2(n))[3]=this.correctTopRight(n),!n[3])throw new i.a;var r=(n=this.shiftToModuleCenter(n))[0],o=n[1],a=n[2],c=n[3],l=this.transitionsBetween(r,c)+1,u=this.transitionsBetween(a,c)+1;1==(1&l)&&(l+=1),1==(1&u)&&(u+=1),4*l<7*u&&4*u<7*l&&(l=u=Math.max(l,u));var s=e.sampleGrid(this.image,r,o,a,c,l,u);return new D.a(s,[r,o,a,c])},e.shiftPoint=function(e,t,n){var r=(t.getX()-e.getX())/(n+1),o=(t.getY()-e.getY())/(n+1);return new z.a(e.getX()+r,e.getY()+o)},e.moveAway=function(e,t,n){var r=e.getX(),o=e.getY();return r<t?r-=1:r+=1,o<n?o-=1:o+=1,new z.a(r,o)},e.prototype.detectSolid1=function(e){var t=e[0],n=e[1],r=e[3],o=e[2],a=this.transitionsBetween(t,n),i=this.transitionsBetween(n,r),c=this.transitionsBetween(r,o),l=this.transitionsBetween(o,t),u=a,s=[o,t,n,r];return u>i&&(u=i,s[0]=t,s[1]=n,s[2]=r,s[3]=o),u>c&&(u=c,s[0]=n,s[1]=r,s[2]=o,s[3]=t),u>l&&(s[0]=r,s[1]=o,s[2]=t,s[3]=n),s},e.prototype.detectSolid2=function(t){var n=t[0],r=t[1],o=t[2],a=t[3],i=this.transitionsBetween(n,a),c=e.shiftPoint(r,o,4*(i+1)),l=e.shiftPoint(o,r,4*(i+1)),u,s;return this.transitionsBetween(c,n)<this.transitionsBetween(l,a)?(t[0]=n,t[1]=r,t[2]=o,t[3]=a):(t[0]=r,t[1]=o,t[2]=a,t[3]=n),t},e.prototype.correctTopRight=function(t){var n=t[0],r=t[1],o=t[2],a=t[3],i=this.transitionsBetween(n,a),c=this.transitionsBetween(r,a),l=e.shiftPoint(n,r,4*(c+1)),u=e.shiftPoint(o,r,4*(i+1));i=this.transitionsBetween(l,a),c=this.transitionsBetween(u,a);var s=new z.a(a.getX()+(o.getX()-r.getX())/(i+1),a.getY()+(o.getY()-r.getY())/(i+1)),d=new z.a(a.getX()+(n.getX()-r.getX())/(c+1),a.getY()+(n.getY()-r.getY())/(c+1)),f,h;return this.isValid(s)?this.isValid(d)?this.transitionsBetween(l,s)+this.transitionsBetween(u,s)>this.transitionsBetween(l,d)+this.transitionsBetween(u,d)?s:d:s:this.isValid(d)?d:null},e.prototype.shiftToModuleCenter=function(t){var n=t[0],r=t[1],o=t[2],a=t[3],i=this.transitionsBetween(n,a)+1,c=this.transitionsBetween(o,a)+1,l=e.shiftPoint(n,r,4*c),u=e.shiftPoint(o,r,4*i);1==(1&(i=this.transitionsBetween(l,a)+1))&&(i+=1),1==(1&(c=this.transitionsBetween(u,a)+1))&&(c+=1);var s=(n.getX()+r.getX()+o.getX()+a.getX())/4,d=(n.getY()+r.getY()+o.getY()+a.getY())/4,f,h;return n=e.moveAway(n,s,d),r=e.moveAway(r,s,d),o=e.moveAway(o,s,d),a=e.moveAway(a,s,d),l=e.shiftPoint(n,r,4*c),l=e.shiftPoint(l,a,4*i),f=e.shiftPoint(r,n,4*c),f=e.shiftPoint(f,o,4*i),u=e.shiftPoint(o,a,4*c),u=e.shiftPoint(u,r,4*i),h=e.shiftPoint(a,o,4*c),[l,f,u,h=e.shiftPoint(h,n,4*i)]},e.prototype.isValid=function(e){return e.getX()>=0&&e.getX()<this.image.getWidth()&&e.getY()>0&&e.getY()<this.image.getHeight()},e.sampleGrid=function(e,t,n,r,o,a,i){var c;return _.a.getInstance().sampleGrid(e,a,i,.5,.5,a-.5,.5,a-.5,i-.5,.5,i-.5,t.getX(),t.getY(),o.getX(),o.getY(),r.getX(),r.getY(),n.getX(),n.getY())},e.prototype.transitionsBetween=function(e,t){var n=Math.trunc(e.getX()),r=Math.trunc(e.getY()),o=Math.trunc(t.getX()),a=Math.trunc(t.getY()),i=Math.abs(a-r)>Math.abs(o-n);if(i){var c=n;n=r,r=c,c=o,o=a,a=c}for(var l=Math.abs(o-n),u=Math.abs(a-r),s=-l/2,d=r<a?1:-1,f=n<o?1:-1,h=0,p=this.image.get(i?r:n,i?n:r),v=n,m=r;v!==o;v+=f){var g=this.image.get(i?m:v,i?v:m);if(g!==p&&(h++,p=g),(s+=u)>0){if(m===a)break;m+=d,s-=l}}return h},e}(),N=function(){function e(){this.decoder=new C}return e.prototype.decode=function(t,n){var o,i;if(void 0===n&&(n=null),null!=n&&n.has(a.a.PURE_BARCODE)){var s=e.extractPureBits(t.getBlackMatrix());o=this.decoder.decode(s),i=e.NO_POINTS}else{var d=new P(t.getBlackMatrix()).detect();o=this.decoder.decode(d.getBits()),i=d.getPoints()}var f=o.getRawBytes(),h=new c.a(o.getText(),f,8*f.length,i,r.a.DATA_MATRIX,u.a.currentTimeMillis()),p=o.getByteSegments();null!=p&&h.putMetadata(l.a.BYTE_SEGMENTS,p);var v=o.getECLevel();return null!=v&&h.putMetadata(l.a.ERROR_CORRECTION_LEVEL,v),h},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null==t||null==n)throw new i.a;var r=this.moduleSize(t,e),a=t[1],c=n[1],l=t[0],u,s=(n[0]-l+1)/r,d=(c-a+1)/r;if(s<=0||d<=0)throw new i.a;var f=r/2;a+=f,l+=f;for(var h=new o.a(s,d),p=0;p<d;p++)for(var v=a+p*r,m=0;m<s;m++)e.get(l+m*r,v)&&h.set(m,p);return h},e.moduleSize=function(e,t){for(var n=t.getWidth(),r=e[0],o=e[1];r<n&&t.get(r,o);)r++;if(r===n)throw new i.a;var a=r-e[0];if(0===a)throw new i.a;return a},e.NO_POINTS=[],e}(),k=t.a=N},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"f",(function(){return p}));var r=function e(t){return"function"==typeof t},o=function e(t){return Array.isArray(t)},a=function e(t){return"string"==typeof t},i=function e(t){return"number"==typeof t},c=function e(t){return void 0===t},l=function e(t){return"boolean"==typeof t},u=function e(t){if("string"!=typeof t)return!1;try{return JSON.parse(t)}catch(e){return!1}},s=Object.getPrototypeOf,d={}.hasOwnProperty,f=d.toString,h=f.call(Object),p=function e(t){var n,r;return!(!t||"[object Object]"!==toString.call(t))&&(!(n=s(t))||"function"==typeof(r=d.call(n,"constructor")&&n.constructor)&&f.call(r)===h)}},function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"c",(function(){return s})),n.d(t,"i",(function(){return d})),n.d(t,"g",(function(){return f}));var r="undefined"!=typeof window&&window.document,o=function e(){var t=navigator.userAgent,n=-1!=t.indexOf("Safari")&&-1!=t.indexOf("Version"),r=-1!=t.indexOf("iPhone")&&-1!=t.indexOf("Version"),o=n&&!r&&"ontouchend"in document;return!(!/iphone|ios|ipad|android|mobile/i.test(navigator.userAgent.toLowerCase())&&!o)},a=function e(){var t=window.navigator.userAgent.toLowerCase(),n="ipad"==t.match(/ipad/i),r="iphone os"==t.match(/iphone os/i),a="midp"==t.match(/midp/i),i="rv:1.2.3.4"==t.match(/rv:1.2.3.4/i),c="ucweb"==t.match(/ucweb/i),l="android"==t.match(/android/i),u="windows ce"==t.match(/windows ce/i),s="windows mobile"==t.match(/windows mobile/i);return!!(n||r||a||i||c||l||u||s||o())},i=function e(){return-1!==navigator.userAgent.toLowerCase().indexOf("android")},c=function e(){return/iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())},l=function e(){var t=0,n=window.navigator.userAgent,r=n.indexOf("Opera")>-1||n.indexOf("OPR")>-1,o=n.indexOf("compatible")>-1&&n.indexOf("MSIE")>-1,a=-1===n.indexOf("compatible")&&n.indexOf("Trident")>-1,i=n.indexOf("Edge")>-1,c=n.indexOf("Firefox")>-1,l=n.indexOf("Safari")>-1&&-1===n.indexOf("Chrome"),u=n.indexOf("Chrome")>-1&&n.indexOf("; Win")>-1&&n.indexOf("Safari")>-1;return t=r||o||a||i||c||l||u?0:1},u=function e(){if(r){var t="";return r&&(t=window.navigator.userAgent.toLowerCase()),"micromessenger"==t.match(/MicroMessenger/i)}return!1},s=function e(){var t,n;return!!r&&!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},d=function e(){var t,n;return!!r&&-1!==navigator.userAgent.indexOf("miniProgram")},f=function e(){if(r){var t=window.navigator.userAgent;return t.indexOf("Safari")>-1&&-1===t.indexOf("Chrome")&&-1===t.indexOf("CriOS")&&-1===t.indexOf("ChannelName/Feishu")}return!1}},function(e,t,n){"use strict";var r=n(37),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ReedSolomonException",t}(r.a);t.a=i},function(e,t,n){"use strict";var r=function(){function e(e,t){this.value=e,this.checksumPortion=t}return e.prototype.getValue=function(){return this.value},e.prototype.getChecksumPortion=function(){return this.checksumPortion},e.prototype.toString=function(){return this.value+"("+this.checksumPortion+")"},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.value===n.value&&this.checksumPortion===n.checksumPortion},e.prototype.hashCode=function(){return this.value^this.checksumPortion},e}();t.a=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(90);function o(e,t){if("object"!==Object(r.a)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function a(e){var t=o(e,"string");return"symbol"===Object(r.a)(t)?t:String(t)}function i(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(14),o=function(){function e(){}return e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new r.a;return this.logTable[e]},e.addOrSubtract=function(e,t){return e^t},e}();t.a=o},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(413),o=n(416);function a(e,t){var n=o(e,t);return r(n)?n:void 0}e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exportImportOptions=t.suffixOptions=t.defaultOptions=void 0;var r=n(33);t.defaultOptions={exportType:"current-page",footerHintTypes:["export_file","import_log"],okShowButtonTypes:["export","import"],exportValue:"export",importValue:"import"},t.suffixOptions={1:"".concat((0,r.getText)("page.customer.list.table.num")),2:"".concat((0,r.getText)("page.customer.suffix")),product:"".concat((0,r.getText)("page.product.suffix")),4:"".concat((0,r.getText)("page.voucher.suffix")),5:"".concat((0,r.getText)("page.recharge.suffix")),6:"".concat((0,r.getText)("page.ticket.suffix")),7:"".concat((0,r.getText)("page.package.ticket.suffix"))},t.exportImportOptions={import:(0,r.getText)("table-action-export-import-button-import"),export:(0,r.getText)("table-action-export-import-button"),export_file:(0,r.getText)("table-action-export-import-export-title"),import_log:(0,r.getText)("table-action-export-import-import-title")}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r=0,o=t.length,a;r<o;r++)!a&&r in t||(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.omit=t.getSettingKeyArrByMode=t.filterDataSource=t.mergeFilterSetting=t.setFormValuesToLocalStorage=t.getTableSettingByCurrentViewMode=t.getCurrentViewModeFromLocalStorage=t.getTableSettingFromLocalStorage=t.clearTableSettingToLocalStorage=t.setTableSettingToLocalStorage=t.groupDataSource=t.getIdByRowKey=t.sortDataSource=t.mergeColumnSetting=t.calcFilterSort=t.getHash=void 0;var c=i(n(54)),l=n(22),u=i(n(165)),s=i(n(166)),d=n(160),f=n(49),h="table-setting",p=function e(t){var n=JSON.stringify(t),r;return(0,u.default)(n).toString(s.default.Hex)};t.getHash=p;var v=function e(t){return t.reduce((function(e,t){var n;return r(r({},e),((n={})[t.dataIndex]=t,n))}),{})},m={text:function e(t,n,r){var o;return null===(o=n[r])||void 0===o?void 0:o.toString().toLowerCase().includes(t.toLowerCase())},number:function e(t,n,r){return n[r]>=t.min&&n[r]<=t.max},filters:function e(t,n,r){var o;return t.map((function(e){return e.toLowerCase()})).includes(null===(o=n[r])||void 0===o?void 0:o.toString().toLowerCase())}},g=function e(t){return function(e,n){return"date"===t.field_type?(0,c.default)(e[t.dataIndex]).valueOf()-(0,c.default)(n[t.dataIndex]).valueOf():e[t.dataIndex]-n[t.dataIndex]}},b=function e(t){var n=t.dataSource,r=t.filter,o=t.sort,a=t.columns,i=v(a),c=n.filter((function(e){return Object.keys(r||{}).every((function(t){var n,o;if(!(null===(n=r[t])||void 0===n?void 0:n.length))return!0;var a=i[t];return(null===(o=a.filters)||void 0===o?void 0:o.length)>0?m.filters(r[t][0],e,a.dataIndex):"text"===a.field_type?m[a.field_type](r[t][0],e,a.dataIndex):"number"!==a.field_type||m[a.field_type](r[t][0],e,a.dataIndex)}))}));return(null==o?void 0:o.order)&&c.sort((function(e,t){var n=o.order;return"descend"===n?g(o.column)(t,e):"ascend"===n?g(o.column)(e,t):void 0})),c};t.calcFilterSort=b;var y=function e(n,r){if(!n)return{};var o=((0,t.getTableSettingByCurrentViewMode)(n,r)||{}).column_setting,a=o,i;return o?o.reduce((function(e,t){return e[t.key]=t,e}),{}):{}},w=function e(t){var n=t.columns,o=t.tableId,a=t.currentViewMode;if(!o)return n.map((function(e){return r(r({},e),{isShow:!0})}));var i=y(o,a),c=n.map((function(e,t){var n,o,a=i[e.key],c=t;return(0,l.isBoolean)(e.fixed)&&e.fixed||"left"===e.fixed?c=-99:"right"===e.fixed&&(c=9999),a?(c=[!0,!1,"left","right"].includes(e.fixed)?c:a.sortIndex,r(r({},e),{width:null!==(n=a.width)&&void 0!==n?n:e.width,isShow:null===(o=a.isShow)||void 0===o||o,sortIndex:c})):r(r({},e),{isShow:!0,sortIndex:c})}));return c.sort((function(e,t){return e.sortIndex-t.sortIndex})),c};t.mergeColumnSetting=w;var O=function e(t,n){var r=n.sortKey,o=n.sortValue,i=n.sortType,c=a([],t,!0),l=function e(t,n){return function(e,r){var a=(0,f.getValueByKeys)(e,t.split(",")),i=(0,f.getValueByKeys)(r,t.split(","));return"string"===n?"asc"===o?null==a?void 0:a.localeCompare(i):null==i?void 0:i.localeCompare(a):"date"===n?"asc"!==o?new Date(i).getTime()-new Date(a).getTime():new Date(a).getTime()-new Date(i).getTime():"number"===n?"asc"===o?(Number(a)||0)-(Number(i)||0):(Number(i)||0)-(Number(a)||0):void 0}};return c.sort(l(r,i)),c};t.sortDataSource=O;var M=function e(t,n){return(0,l.isString)(n)?t[n]:(0,l.isFunction)(n)?t[n(t)]:t[n||"id"]};t.getIdByRowKey=M;var A=function e(n,o,i){var c=o[0].field;if(!c)return n;var l=c.split(","),u=a([],n,!0);return u=Object.values(u.reduce((function(e,n,o){var a=(0,f.getValueByKeys)(n,l);return e[a]?e[a].children.push(n):e[a]={__table_group_field:c,__is_group:!0,children:[n]},e[a].__rowKey="group-".concat(e[a].children.map((function(e){return(0,t.getIdByRowKey)(e,i)})).join("-")),e[a].id=e[a].__rowKey,r({},e)}),{}))};t.groupDataSource=A;var j=function e(t){var n,a=t.tableId,i=t.tableSettingObj,c=t.currentViewMode,u=t.currentSettingHash;if(a){var s=localStorage.getItem(D(a)),d={};if(s&&(0,l.isJson)(s)){var f=JSON.parse(s)||{};d=r({},f)}var h=i.view_mode,p=o(i,["view_mode"]);d=r(r({},d),((n={view_mode:h||d.view_mode,currentSettingHash:u})[c]=r(r({},d[c]||{}),p),n)),localStorage.setItem(D(a),JSON.stringify(d))}};t.setTableSettingToLocalStorage=j;var x=function e(t){t&&localStorage.removeItem(D(t))};t.clearTableSettingToLocalStorage=x;var S=function e(t){if(!t)return{};var n=localStorage.getItem(D(t));return n&&(0,l.isJson)(n)?JSON.parse(n):{}};t.getTableSettingFromLocalStorage=S;var E=function e(n){var r;return(0,t.getTableSettingFromLocalStorage)(n).view_mode};t.getCurrentViewModeFromLocalStorage=E;var C=function e(n,r){var o;return(0,t.getTableSettingFromLocalStorage)(n)[r]};t.getTableSettingByCurrentViewMode=C;var T=function e(n){var r=n.tableId,o=n.allValues,a=n.keys,i=n.currentViewMode,c=n.currentSettingHash;if(r){var l={};null==a||a.forEach((function(e){l[e]=null==o?void 0:o[e]})),(0,t.setTableSettingToLocalStorage)({tableId:r,tableSettingObj:l,currentViewMode:i,currentSettingHash:c})}};t.setFormValuesToLocalStorage=T;var D=function e(t){return"".concat(h,"-").concat(t)},_=function e(n){var o,a,i=n.list,c=n.quickFilterMaxLength,u=n.tableId,s=n.sortButtonShow,d=n.currentViewMode;if(!s)return{quickFilter:[],otherFilter:[],notSortFilter:i};var f,h=((0,t.getTableSettingByCurrentViewMode)(u,d)||{}).filter_setting||{},p=h.quickFilter,v=h.otherFilter,m=[],g=[];if(i.forEach((function(e){e.sort?g.push(e):m.push(e)})),!u||!p||!v)return{quickFilter:(null===(o=null==g?void 0:g.slice)||void 0===o?void 0:o.call(g,0,c))||[],otherFilter:(null===(a=null==g?void 0:g.slice)||void 0===a?void 0:a.call(g,c))||[],notSortFilter:m};var b=new Map(p.map((function(e,t){return[e.key,r(r({},e),{sortIndex:t})]}))),y=new Map(v.map((function(e,t){return[e.key,r(r({},e),{sortIndex:t})]}))),w=Array.from({length:200}),O=Array.from({length:200}),M=[];return i.forEach((function(e){e.sort?b.has(e.key)?(0,l.isNumber)(b.get(e.key).sortIndex)?w[b.get(e.key).sortIndex]=e:w.push(e):y.has(e.key)&&(0,l.isNumber)(y.get(e.key).sortIndex)?O[y.get(e.key).sortIndex]=e:O.push(e):M.push(e)})),{quickFilter:w.filter(Boolean),otherFilter:O.filter(Boolean),notSortFilter:M}};t.mergeFilterSetting=_;var z=function e(t,n,r){var o=r.map((function(e){if(!n[e.name])return null;var t=d.fieldMaps[e.type].filterFn;return(0,l.isFunction)(t)?function(r){try{return t({value:n[e.name],item:r,key:e.name})}catch(e){return!1}}:null})).filter(Boolean);return t.filter((function(e){return!o.some((function(t){return!(null==t?void 0:t(e))}))}))};t.filterDataSource=z;var I=function e(t){var n=t.filter,r=t.columnSetting,o=t.dataSourceGroup,a=t.sort,i=t.mode,c=t.currentViewMode,l=[];return(null==n?void 0:n.show)&&((null==n?void 0:n.storageMode)||"")==i&&l.push("filter_setting"),((null==r?void 0:r.storageMode)||"")==i&&"gallery"===c&&l.push("gallery_setting","column_setting"),((null==r?void 0:r.storageMode)||"")==i&&"grid"===c&&l.push("column_setting"),(null==o?void 0:o.show)&&((null==o?void 0:o.storageMode)||"")==i&&l.push("group_by"),(null==a?void 0:a.show)&&a.storageMode==i&&l.push("order_by"),l.push("view_mode"),l};t.getSettingKeyArrByMode=I;var P=function e(t,n){for(var r=Object.assign({},t),o=0;o<n.length;o+=1){var a;delete r[n[o]]}return r};t.omit=P;var N=function e(t){return JSON.stringify(t,(function(e,t){return(0,l.isFunction)(t)?t.toString():t}))};t.stringify=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(135),a=function e(){var t;return(0,r.useContext)(o.PisellContext)};t.default=a},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DatePicker=t.ConfigProvider=t.Calendar=t.Dropdown=t.Form=t.Icon=t.Upload=t.Radio=t.Button=t.Checkbox=t.Skeleton=t.Typography=t.version=t.Tooltip=t.Timeline=t.Tag=t.Tree=t.Transfer=t.Switch=t.Steps=t.Spin=t.Space=t.Row=t.Result=t.Rate=t.Progress=t.Popover=t.Popconfirm=t.Pagination=t.notification=t.Statistic=t.Mentions=t.Menu=t.message=t.InputNumber=t.Image=t.Grid=t.Empty=t.Divider=t.Descriptions=t.Col=t.Carousel=t.Collapse=t.Card=t.Breadcrumb=t.Badge=t.Avatar=t.Alert=t.Anchor=t.Affix=void 0,t.PisellAlert=t.PisellScan=t.PisellWalletPassCard=t.PisellToast=t.PisellCardList=t.PisellLoading=t.PisellText=t.PisellContainer=t.Iconfont=t.PisellEmpty=t.PisellTooltip=t.PisellDatePicker=t.PisellCheckboxGroup=t.getBankCardTypeImg=t.PisellInput=t.PisellCountdown=t.PisellConfigProvider=t.PisellRow=t.PisellModal=t.DragSortTree=t.BatchEditor=t.AutoCompleteNumber=t.SelectTime=t.VirtualKeyboardTime=t.VirtualKeyboard=t.Segmented=t.LowCodePage=t.InputNumberRange=t.Sort=t.List=t.ClassicLayout=t.QRCode=t.RecordView=t.SortableList=t.Translation=t.Filter=t.Component=t.Page=t.Div=t.AutoComplete=t.Cascader=t.Select=t.Input=t.TreeSelect=t.Drawer=t.Modal=t.Table=t.Slider=t.TimePicker=t.Tabs=void 0,t.PisellContext=t.globalConfig=t.usePisellConfig=t.PisellInformationEntry=t.PisellCard=void 0;var o=n(11);Object.defineProperty(t,"Affix",{enumerable:!0,get:function e(){return o.Affix}});var a=n(11);Object.defineProperty(t,"Anchor",{enumerable:!0,get:function e(){return a.Anchor}});var i=n(11);Object.defineProperty(t,"Alert",{enumerable:!0,get:function e(){return i.Alert}});var c=n(11);Object.defineProperty(t,"Avatar",{enumerable:!0,get:function e(){return c.Avatar}});var l=n(11);Object.defineProperty(t,"Badge",{enumerable:!0,get:function e(){return l.Badge}});var u=n(11);Object.defineProperty(t,"Breadcrumb",{enumerable:!0,get:function e(){return u.Breadcrumb}});var s=n(11);Object.defineProperty(t,"Card",{enumerable:!0,get:function e(){return s.Card}});var d=n(11);Object.defineProperty(t,"Collapse",{enumerable:!0,get:function e(){return d.Collapse}});var f=n(11);Object.defineProperty(t,"Carousel",{enumerable:!0,get:function e(){return f.Carousel}});var h=n(11);Object.defineProperty(t,"Col",{enumerable:!0,get:function e(){return h.Col}});var p=n(11);Object.defineProperty(t,"Descriptions",{enumerable:!0,get:function e(){return p.Descriptions}});var v=n(11);Object.defineProperty(t,"Divider",{enumerable:!0,get:function e(){return v.Divider}});var m=n(11);Object.defineProperty(t,"Empty",{enumerable:!0,get:function e(){return m.Empty}});var g=n(11);Object.defineProperty(t,"Grid",{enumerable:!0,get:function e(){return g.Grid}});var b=n(11);Object.defineProperty(t,"Image",{enumerable:!0,get:function e(){return b.Image}});var y=n(11);Object.defineProperty(t,"InputNumber",{enumerable:!0,get:function e(){return y.InputNumber}});var w=n(11);Object.defineProperty(t,"message",{enumerable:!0,get:function e(){return w.message}});var O=n(11);Object.defineProperty(t,"Menu",{enumerable:!0,get:function e(){return O.Menu}});var M=n(11);Object.defineProperty(t,"Mentions",{enumerable:!0,get:function e(){return M.Mentions}});var A=n(11);Object.defineProperty(t,"Statistic",{enumerable:!0,get:function e(){return A.Statistic}});var j=n(11);Object.defineProperty(t,"notification",{enumerable:!0,get:function e(){return j.notification}});var x=n(11);Object.defineProperty(t,"Pagination",{enumerable:!0,get:function e(){return x.Pagination}});var S=n(11);Object.defineProperty(t,"Popconfirm",{enumerable:!0,get:function e(){return S.Popconfirm}});var E=n(11);Object.defineProperty(t,"Popover",{enumerable:!0,get:function e(){return E.Popover}});var C=n(11);Object.defineProperty(t,"Progress",{enumerable:!0,get:function e(){return C.Progress}});var T=n(11);Object.defineProperty(t,"Rate",{enumerable:!0,get:function e(){return T.Rate}});var D=n(11);Object.defineProperty(t,"Result",{enumerable:!0,get:function e(){return D.Result}});var _=n(11);Object.defineProperty(t,"Row",{enumerable:!0,get:function e(){return _.Row}});var z=n(11);Object.defineProperty(t,"Space",{enumerable:!0,get:function e(){return z.Space}});var I=n(11);Object.defineProperty(t,"Spin",{enumerable:!0,get:function e(){return I.Spin}});var P=n(11);Object.defineProperty(t,"Steps",{enumerable:!0,get:function e(){return P.Steps}});var N=n(11);Object.defineProperty(t,"Switch",{enumerable:!0,get:function e(){return N.Switch}});var k=n(11);Object.defineProperty(t,"Transfer",{enumerable:!0,get:function e(){return k.Transfer}});var R=n(11);Object.defineProperty(t,"Tree",{enumerable:!0,get:function e(){return R.Tree}});var L=n(11);Object.defineProperty(t,"Tag",{enumerable:!0,get:function e(){return L.Tag}});var V=n(11);Object.defineProperty(t,"Timeline",{enumerable:!0,get:function e(){return V.Timeline}});var B=n(11);Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function e(){return B.Tooltip}});var H=n(11);Object.defineProperty(t,"version",{enumerable:!0,get:function e(){return H.version}});var F=n(361);Object.defineProperty(t,"Typography",{enumerable:!0,get:function e(){return r(F).default}});var W=n(366);Object.defineProperty(t,"Skeleton",{enumerable:!0,get:function e(){return r(W).default}});var U=n(367);Object.defineProperty(t,"Checkbox",{enumerable:!0,get:function e(){return r(U).default}});var Y=n(208);Object.defineProperty(t,"Button",{enumerable:!0,get:function e(){return r(Y).default}});var Q=n(368);Object.defineProperty(t,"Radio",{enumerable:!0,get:function e(){return r(Q).default}});var G=n(369);Object.defineProperty(t,"Upload",{enumerable:!0,get:function e(){return r(G).default}});var X=n(247);Object.defineProperty(t,"Icon",{enumerable:!0,get:function e(){return r(X).default}});var q=n(371);Object.defineProperty(t,"Form",{enumerable:!0,get:function e(){return r(q).default}});var $=n(372);Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function e(){return r($).default}});var Z=n(373);Object.defineProperty(t,"Calendar",{enumerable:!0,get:function e(){return r(Z).default}});var K=n(248);Object.defineProperty(t,"ConfigProvider",{enumerable:!0,get:function e(){return r(K).default}});var J=n(154);Object.defineProperty(t,"DatePicker",{enumerable:!0,get:function e(){return r(J).default}});var ee=n(387);Object.defineProperty(t,"Tabs",{enumerable:!0,get:function e(){return r(ee).default}});var te=n(390);Object.defineProperty(t,"TimePicker",{enumerable:!0,get:function e(){return r(te).default}});var ne=n(391);Object.defineProperty(t,"Slider",{enumerable:!0,get:function e(){return r(ne).default}});var re=n(258);Object.defineProperty(t,"Table",{enumerable:!0,get:function e(){return r(re).default}});var oe=n(219);Object.defineProperty(t,"Modal",{enumerable:!0,get:function e(){return r(oe).default}});var ae=n(287);Object.defineProperty(t,"Drawer",{enumerable:!0,get:function e(){return r(ae).default}});var ie=n(629);Object.defineProperty(t,"TreeSelect",{enumerable:!0,get:function e(){return r(ie).default}});var ce=n(75);Object.defineProperty(t,"Input",{enumerable:!0,get:function e(){return r(ce).default}});var le=n(271);Object.defineProperty(t,"Select",{enumerable:!0,get:function e(){return r(le).default}});var ue=n(630);Object.defineProperty(t,"Cascader",{enumerable:!0,get:function e(){return r(ue).default}});var se=n(631);Object.defineProperty(t,"AutoComplete",{enumerable:!0,get:function e(){return r(se).default}});var de=n(632);Object.defineProperty(t,"Div",{enumerable:!0,get:function e(){return r(de).default}});var fe=n(633);Object.defineProperty(t,"Page",{enumerable:!0,get:function e(){return r(fe).default}});var he=n(644);Object.defineProperty(t,"Component",{enumerable:!0,get:function e(){return r(he).default}});var pe=n(268);Object.defineProperty(t,"Filter",{enumerable:!0,get:function e(){return r(pe).default}});var ve=n(645);Object.defineProperty(t,"Translation",{enumerable:!0,get:function e(){return r(ve).default}});var me=n(648);Object.defineProperty(t,"SortableList",{enumerable:!0,get:function e(){return r(me).default}});var ge=n(649);Object.defineProperty(t,"RecordView",{enumerable:!0,get:function e(){return r(ge).default}});var be=n(294);Object.defineProperty(t,"QRCode",{enumerable:!0,get:function e(){return r(be).default}});var ye=n(286);Object.defineProperty(t,"ClassicLayout",{enumerable:!0,get:function e(){return r(ye).default}});var we=n(651);Object.defineProperty(t,"List",{enumerable:!0,get:function e(){return r(we).default}});var Oe=n(272);Object.defineProperty(t,"Sort",{enumerable:!0,get:function e(){return r(Oe).default}});var Me=n(270);Object.defineProperty(t,"InputNumberRange",{enumerable:!0,get:function e(){return r(Me).default}});var Ae=n(653);Object.defineProperty(t,"LowCodePage",{enumerable:!0,get:function e(){return r(Ae).default}});var je=n(654);Object.defineProperty(t,"Segmented",{enumerable:!0,get:function e(){return r(je).default}});var xe=n(295);Object.defineProperty(t,"VirtualKeyboard",{enumerable:!0,get:function e(){return r(xe).default}});var Se=n(296);Object.defineProperty(t,"VirtualKeyboardTime",{enumerable:!0,get:function e(){return r(Se).default}});var Ee=n(662);Object.defineProperty(t,"SelectTime",{enumerable:!0,get:function e(){return r(Ee).default}});var Ce=n(667);Object.defineProperty(t,"AutoCompleteNumber",{enumerable:!0,get:function e(){return r(Ce).default}});var Te=n(668);Object.defineProperty(t,"BatchEditor",{enumerable:!0,get:function e(){return r(Te).default}});var De=n(674);Object.defineProperty(t,"DragSortTree",{enumerable:!0,get:function e(){return r(De).default}});var _e=n(223);Object.defineProperty(t,"PisellModal",{enumerable:!0,get:function e(){return r(_e).default}});var ze=n(298);Object.defineProperty(t,"PisellRow",{enumerable:!0,get:function e(){return r(ze).default}});var Ie=n(292);Object.defineProperty(t,"PisellConfigProvider",{enumerable:!0,get:function e(){return r(Ie).default}});var Pe=n(691);Object.defineProperty(t,"PisellCountdown",{enumerable:!0,get:function e(){return r(Pe).default}});var Ne=n(299);Object.defineProperty(t,"PisellInput",{enumerable:!0,get:function e(){return r(Ne).default}});var ke=n(300);Object.defineProperty(t,"getBankCardTypeImg",{enumerable:!0,get:function e(){return ke.getBankCardTypeImg}});var Re=n(301);Object.defineProperty(t,"PisellCheckboxGroup",{enumerable:!0,get:function e(){return r(Re).default}});var Le=n(707);Object.defineProperty(t,"PisellDatePicker",{enumerable:!0,get:function e(){return r(Le).default}});var Ve=n(710);Object.defineProperty(t,"PisellTooltip",{enumerable:!0,get:function e(){return r(Ve).default}});var Be=n(302);Object.defineProperty(t,"PisellEmpty",{enumerable:!0,get:function e(){return r(Be).default}});var He=n(82);Object.defineProperty(t,"Iconfont",{enumerable:!0,get:function e(){return r(He).default}});var Fe=n(713);Object.defineProperty(t,"PisellContainer",{enumerable:!0,get:function e(){return r(Fe).default}});var We=n(716);Object.defineProperty(t,"PisellText",{enumerable:!0,get:function e(){return r(We).default}});var Ue=n(730);Object.defineProperty(t,"PisellLoading",{enumerable:!0,get:function e(){return r(Ue).default}});var Ye=n(733);Object.defineProperty(t,"PisellCardList",{enumerable:!0,get:function e(){return r(Ye).default}});var Qe=n(735);Object.defineProperty(t,"PisellToast",{enumerable:!0,get:function e(){return r(Qe).default}});var Ge=n(305);Object.defineProperty(t,"PisellWalletPassCard",{enumerable:!0,get:function e(){return r(Ge).default}});var Xe=n(306);Object.defineProperty(t,"PisellScan",{enumerable:!0,get:function e(){return r(Xe).default}});var qe=n(739);Object.defineProperty(t,"PisellAlert",{enumerable:!0,get:function e(){return r(qe).default}});var $e=n(321);Object.defineProperty(t,"PisellCard",{enumerable:!0,get:function e(){return r($e).default}});var Ze=n(742);Object.defineProperty(t,"PisellInformationEntry",{enumerable:!0,get:function e(){return r(Ze).default}});var Ke=n(113);Object.defineProperty(t,"usePisellConfig",{enumerable:!0,get:function e(){return r(Ke).default}});var Je=n(135);Object.defineProperty(t,"globalConfig",{enumerable:!0,get:function e(){return Je.globalConfig}}),Object.defineProperty(t,"PisellContext",{enumerable:!0,get:function e(){return r(Je).default}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(16),o=n(173),a=n(25),i=n(96),c=n(47),l=n(73),u=n(8),s=n(84),d=n(19),f=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.toResultPoint=function(){return new r.a(this.getX(),this.getY())},e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e}(),h=function(){function e(e){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=e}return e.prototype.detect=function(){return this.detectMirror(!1)},e.prototype.detectMirror=function(e){var t=this.getMatrixCenter(),n=this.getBullsEyeCorners(t);if(e){var r=n[0];n[0]=n[2],n[2]=r}this.extractParameters(n);var a=this.sampleGrid(this.image,n[this.shift%4],n[(this.shift+1)%4],n[(this.shift+2)%4],n[(this.shift+3)%4]),i=this.getMatrixCornerPoints(n);return new o.a(a,i,this.compact,this.nbDataBlocks,this.nbLayers)},e.prototype.extractParameters=function(e){if(!(this.isValidPoint(e[0])&&this.isValidPoint(e[1])&&this.isValidPoint(e[2])&&this.isValidPoint(e[3])))throw new u.a;var t=2*this.nbCenterLayers,n=new Int32Array([this.sampleLine(e[0],e[1],t),this.sampleLine(e[1],e[2],t),this.sampleLine(e[2],e[3],t),this.sampleLine(e[3],e[0],t)]);this.shift=this.getRotation(n,t);for(var r=0,o=0;o<4;o++){var a=n[(this.shift+o)%4];this.compact?(r<<=7,r+=a>>1&127):(r<<=10,r+=(a>>2&992)+(a>>1&31))}var i=this.getCorrectedParameterData(r,this.compact);this.compact?(this.nbLayers=1+(i>>6),this.nbDataBlocks=1+(63&i)):(this.nbLayers=1+(i>>11),this.nbDataBlocks=1+(2047&i))},e.prototype.getRotation=function(e,t){var n=0;e.forEach((function(e,r,o){var a;n=(n<<3)+((e>>t-2<<1)+(1&e))})),n=((1&n)<<11)+(n>>1);for(var r=0;r<4;r++)if(d.a.bitCount(n^this.EXPECTED_CORNER_BITS[r])<=2)return r;throw new u.a},e.prototype.getCorrectedParameterData=function(e,t){var n,r;t?(n=7,r=2):(n=10,r=4);for(var o=n-r,a=new Int32Array(n),i=n-1;i>=0;--i)a[i]=15&e,e>>=4;try{var s;new l.a(c.a.AZTEC_PARAM).decode(a,o)}catch(e){throw new u.a}for(var d=0,i=0;i<r;i++)d=(d<<4)+a[i];return d},e.prototype.getBullsEyeCorners=function(e){var t=e,n=e,o=e,a=e,i=!0;for(this.nbCenterLayers=1;this.nbCenterLayers<9;this.nbCenterLayers++){var c=this.getFirstDifferent(t,i,1,-1),l=this.getFirstDifferent(n,i,1,1),s=this.getFirstDifferent(o,i,-1,1),d=this.getFirstDifferent(a,i,-1,-1);if(this.nbCenterLayers>2){var f=this.distancePoint(d,c)*this.nbCenterLayers/(this.distancePoint(a,t)*(this.nbCenterLayers+2));if(f<.75||f>1.25||!this.isWhiteOrBlackRectangle(c,l,s,d))break}t=c,n=l,o=s,a=d,i=!i}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new u.a;this.compact=5===this.nbCenterLayers;var h=new r.a(t.getX()+.5,t.getY()-.5),p=new r.a(n.getX()+.5,n.getY()+.5),v=new r.a(o.getX()-.5,o.getY()+.5),m=new r.a(a.getX()-.5,a.getY()-.5);return this.expandSquare([h,p,v,m],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},e.prototype.getMatrixCenter=function(){var e,t,n,r;try{var o;e=(o=new i.a(this.image).detect())[0],t=o[1],n=o[2],r=o[3]}catch(o){var c=this.image.getWidth()/2,l=this.image.getHeight()/2;e=this.getFirstDifferent(new f(c+7,l-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new f(c+7,l+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new f(c-7,l+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new f(c-7,l-7),!1,-1,-1).toResultPoint()}var u=a.a.round((e.getX()+r.getX()+t.getX()+n.getX())/4),s=a.a.round((e.getY()+r.getY()+t.getY()+n.getY())/4);try{var o;e=(o=new i.a(this.image,15,u,s).detect())[0],t=o[1],n=o[2],r=o[3]}catch(o){e=this.getFirstDifferent(new f(u+7,s-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new f(u+7,s+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new f(u-7,s+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new f(u-7,s-7),!1,-1,-1).toResultPoint()}return u=a.a.round((e.getX()+r.getX()+t.getX()+n.getX())/4),s=a.a.round((e.getY()+r.getY()+t.getY()+n.getY())/4),new f(u,s)},e.prototype.getMatrixCornerPoints=function(e){return this.expandSquare(e,2*this.nbCenterLayers,this.getDimension())},e.prototype.sampleGrid=function(e,t,n,r,o){var a=s.a.getInstance(),i=this.getDimension(),c=i/2-this.nbCenterLayers,l=i/2+this.nbCenterLayers;return a.sampleGrid(e,i,i,c,c,l,c,l,l,c,l,t.getX(),t.getY(),n.getX(),n.getY(),r.getX(),r.getY(),o.getX(),o.getY())},e.prototype.sampleLine=function(e,t,n){for(var r=0,o=this.distanceResultPoint(e,t),i=o/n,c=e.getX(),l=e.getY(),u=i*(t.getX()-e.getX())/o,s=i*(t.getY()-e.getY())/o,d=0;d<n;d++)this.image.get(a.a.round(c+d*u),a.a.round(l+d*s))&&(r|=1<<n-d-1);return r},e.prototype.isWhiteOrBlackRectangle=function(e,t,n,r){var o=3;e=new f(e.getX()-3,e.getY()+3),t=new f(t.getX()-3,t.getY()-3),n=new f(n.getX()+3,n.getY()-3),r=new f(r.getX()+3,r.getY()+3);var a=this.getColor(r,e);if(0===a)return!1;var i=this.getColor(e,t);return i===a&&((i=this.getColor(t,n))===a&&(i=this.getColor(n,r))===a)},e.prototype.getColor=function(e,t){for(var n=this.distancePoint(e,t),r=(t.getX()-e.getX())/n,o=(t.getY()-e.getY())/n,i=0,c=e.getX(),l=e.getY(),u=this.image.get(e.getX(),e.getY()),s=Math.ceil(n),d=0;d<s;d++)c+=r,l+=o,this.image.get(a.a.round(c),a.a.round(l))!==u&&i++;var f=i/n;return f>.1&&f<.9?0:f<=.1===u?1:-1},e.prototype.getFirstDifferent=function(e,t,n,r){for(var o=e.getX()+n,a=e.getY()+r;this.isValid(o,a)&&this.image.get(o,a)===t;)o+=n,a+=r;for(o-=n,a-=r;this.isValid(o,a)&&this.image.get(o,a)===t;)o+=n;for(o-=n;this.isValid(o,a)&&this.image.get(o,a)===t;)a+=r;return new f(o,a-=r)},e.prototype.expandSquare=function(e,t,n){var o=n/(2*t),a=e[0].getX()-e[2].getX(),i=e[0].getY()-e[2].getY(),c=(e[0].getX()+e[2].getX())/2,l=(e[0].getY()+e[2].getY())/2,u=new r.a(c+o*a,l+o*i),s=new r.a(c-o*a,l-o*i),d,f,h;return a=e[1].getX()-e[3].getX(),i=e[1].getY()-e[3].getY(),c=(e[1].getX()+e[3].getX())/2,l=(e[1].getY()+e[3].getY())/2,[u,new r.a(c+o*a,l+o*i),s,new r.a(c-o*a,l-o*i)]},e.prototype.isValid=function(e,t){return e>=0&&e<this.image.getWidth()&&t>0&&t<this.image.getHeight()},e.prototype.isValidPoint=function(e){var t=a.a.round(e.getX()),n=a.a.round(e.getY());return this.isValid(t,n)},e.prototype.distancePoint=function(e,t){return a.a.distance(e.getX(),e.getY(),t.getX(),t.getY())},e.prototype.distanceResultPoint=function(e,t){return a.a.distance(e.getX(),e.getY(),t.getX(),t.getY())},e.prototype.getDimension=function(){return this.compact?4*this.nbLayers+11:this.nbLayers<=4?4*this.nbLayers+15:4*this.nbLayers+2*(d.a.truncDivision(this.nbLayers-4,8)+1)+15},e}();t.b=h},function(e,t,n){"use strict";var r=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o,a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e,t,n,r,o,a,i,c){void 0===i&&(i=0),void 0===c&&(c=0),this.rectangular=e,this.dataCapacity=t,this.errorCodewords=n,this.matrixWidth=r,this.matrixHeight=o,this.dataRegions=a,this.rsBlockData=i,this.rsBlockError=c}return e.lookup=function(e,t,n,r,o){var i,c;void 0===t&&(t=0),void 0===n&&(n=null),void 0===r&&(r=null),void 0===o&&(o=!0);try{for(var u=a(l),s=u.next();!s.done;s=u.next()){var d=s.value;if((1!==t||!d.rectangular)&&((2!==t||d.rectangular)&&(null==n||!(d.getSymbolWidth()<n.getWidth()||d.getSymbolHeight()<n.getHeight()))&&(null==r||!(d.getSymbolWidth()>r.getWidth()||d.getSymbolHeight()>r.getHeight()))&&e<=d.dataCapacity))return d}}catch(e){i={error:e}}finally{try{s&&!s.done&&(c=u.return)&&c.call(u)}finally{if(i)throw i.error}}if(o)throw new Error("Can't find a symbol arrangement that matches the message. Data codewords: "+e);return null},e.prototype.getHorizontalDataRegions=function(){switch(this.dataRegions){case 1:return 1;case 2:case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},e.prototype.getVerticalDataRegions=function(){switch(this.dataRegions){case 1:case 2:return 1;case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},e.prototype.getSymbolDataWidth=function(){return this.getHorizontalDataRegions()*this.matrixWidth},e.prototype.getSymbolDataHeight=function(){return this.getVerticalDataRegions()*this.matrixHeight},e.prototype.getSymbolWidth=function(){return this.getSymbolDataWidth()+2*this.getHorizontalDataRegions()},e.prototype.getSymbolHeight=function(){return this.getSymbolDataHeight()+2*this.getVerticalDataRegions()},e.prototype.getCodewordCount=function(){return this.dataCapacity+this.errorCodewords},e.prototype.getInterleavedBlockCount=function(){return this.rsBlockData?this.dataCapacity/this.rsBlockData:1},e.prototype.getDataCapacity=function(){return this.dataCapacity},e.prototype.getErrorCodewords=function(){return this.errorCodewords},e.prototype.getDataLengthForInterleavedBlock=function(e){return this.rsBlockData},e.prototype.getErrorLengthForInterleavedBlock=function(e){return this.rsBlockError},e}();t.a=i;var c=function(e){function t(){return e.call(this,!1,1558,620,22,22,36,-1,62)||this}return r(t,e),t.prototype.getInterleavedBlockCount=function(){return 10},t.prototype.getDataLengthForInterleavedBlock=function(e){return e<=8?156:155},t}(i),l=[new i(!1,3,5,8,8,1),new i(!1,5,7,10,10,1),new i(!0,5,7,16,6,1),new i(!1,8,10,12,12,1),new i(!0,10,11,14,6,2),new i(!1,12,12,14,14,1),new i(!0,16,14,24,10,1),new i(!1,18,14,16,16,1),new i(!1,22,18,18,18,1),new i(!0,22,18,16,10,2),new i(!1,30,20,20,20,1),new i(!0,32,24,16,14,2),new i(!1,36,24,22,22,1),new i(!1,44,28,24,24,1),new i(!0,49,28,22,14,2),new i(!1,62,36,14,14,4),new i(!1,86,42,16,16,4),new i(!1,114,48,18,18,4),new i(!1,144,56,20,20,4),new i(!1,174,68,22,22,4),new i(!1,204,84,24,24,4,102,42),new i(!1,280,112,14,14,16,140,56),new i(!1,368,144,16,16,16,92,36),new i(!1,456,192,18,18,16,114,48),new i(!1,576,224,20,20,16,144,56),new i(!1,696,272,22,22,16,174,68),new i(!1,816,336,24,24,16,136,56),new i(!1,1050,408,18,18,36,175,68),new i(!1,1304,496,20,20,36,163,62),new c]},function(e,t,n){"use strict";var r=n(37),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ArithmeticException",t}(r.a);t.a=i},function(e,t,n){"use strict";var r=function(){function e(e,t,n,r,o,a,i,c,l){this.a11=e,this.a21=t,this.a31=n,this.a12=r,this.a22=o,this.a32=a,this.a13=i,this.a23=c,this.a33=l}return e.quadrilateralToQuadrilateral=function(t,n,r,o,a,i,c,l,u,s,d,f,h,p,v,m){var g=e.quadrilateralToSquare(t,n,r,o,a,i,c,l),b;return e.squareToQuadrilateral(u,s,d,f,h,p,v,m).times(g)},e.prototype.transformPoints=function(e){for(var t=e.length,n=this.a11,r=this.a12,o=this.a13,a=this.a21,i=this.a22,c=this.a23,l=this.a31,u=this.a32,s=this.a33,d=0;d<t;d+=2){var f=e[d],h=e[d+1],p=o*f+c*h+s;e[d]=(n*f+a*h+l)/p,e[d+1]=(r*f+i*h+u)/p}},e.prototype.transformPointsWithValues=function(e,t){for(var n=this.a11,r=this.a12,o=this.a13,a=this.a21,i=this.a22,c=this.a23,l=this.a31,u=this.a32,s=this.a33,d=e.length,f=0;f<d;f++){var h=e[f],p=t[f],v=o*h+c*p+s;e[f]=(n*h+a*p+l)/v,t[f]=(r*h+i*p+u)/v}},e.squareToQuadrilateral=function(t,n,r,o,a,i,c,l){var u=t-r+a-c,s=n-o+i-l;if(0===u&&0===s)return new e(r-t,a-r,t,o-n,i-o,n,0,0,1);var d=r-a,f=c-a,h=o-i,p=l-i,v=d*p-f*h,m=(u*p-f*s)/v,g=(d*s-u*h)/v;return new e(r-t+m*r,c-t+g*c,t,o-n+m*o,l-n+g*l,n,m,g,1)},e.quadrilateralToSquare=function(t,n,r,o,a,i,c,l){return e.squareToQuadrilateral(t,n,r,o,a,i,c,l).buildAdjoint()},e.prototype.buildAdjoint=function(){return new e(this.a22*this.a33-this.a23*this.a32,this.a23*this.a31-this.a21*this.a33,this.a21*this.a32-this.a22*this.a31,this.a13*this.a32-this.a12*this.a33,this.a11*this.a33-this.a13*this.a31,this.a12*this.a31-this.a11*this.a32,this.a12*this.a23-this.a13*this.a22,this.a13*this.a21-this.a11*this.a23,this.a11*this.a22-this.a12*this.a21)},e.prototype.times=function(t){return new e(this.a11*t.a11+this.a21*t.a12+this.a31*t.a13,this.a11*t.a21+this.a21*t.a22+this.a31*t.a23,this.a11*t.a31+this.a21*t.a32+this.a31*t.a33,this.a12*t.a11+this.a22*t.a12+this.a32*t.a13,this.a12*t.a21+this.a22*t.a22+this.a32*t.a23,this.a12*t.a31+this.a22*t.a32+this.a32*t.a33,this.a13*t.a11+this.a23*t.a12+this.a33*t.a13,this.a13*t.a21+this.a23*t.a22+this.a33*t.a23,this.a13*t.a31+this.a23*t.a32+this.a33*t.a33)},e}();t.a=r},function(e,t,n){"use strict";var r=n(129),o=function(){function e(e){this.information=e,this.generalDecoder=new r.a(e)}return e.prototype.getInformation=function(){return this.information},e.prototype.getGeneralDecoder=function(){return this.generalDecoder},e}();t.a=o},function(e,t,n){"use strict";var r=n(14),o=function(){function e(e){this.bytes=e,this.byteOffset=0,this.bitOffset=0}return e.prototype.getBitOffset=function(){return this.bitOffset},e.prototype.getByteOffset=function(){return this.byteOffset},e.prototype.readBits=function(e){if(e<1||e>32||e>this.available())throw new r.a(""+e);var t=0,n=this.bitOffset,o=this.byteOffset,a=this.bytes;if(n>0){var i=8-n,c=e<i?e:i,l,u=255>>8-c<<(l=i-c);t=(a[o]&u)>>l,e-=c,8===(n+=c)&&(n=0,o++)}if(e>0){for(;e>=8;)t=t<<8|255&a[o],o++,e-=8;if(e>0){var l,u=255>>(l=8-e)<<l;t=t<<e|(a[o]&u)>>l,n+=e}}return this.bitOffset=n,this.byteOffset=o,t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}();t.a=o},function(e,t,n){"use strict";var r=n(74),o=n(19),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e){this.errorCorrectionLevel=r.a.forBits(e>>3&3),this.dataMask=7&e}return e.numBitsDiffering=function(e,t){return o.a.bitCount(e^t)},e.decodeFormatInformation=function(t,n){var r=e.doDecodeFormatInformation(t,n);return null!==r?r:e.doDecodeFormatInformation(t^e.FORMAT_INFO_MASK_QR,n^e.FORMAT_INFO_MASK_QR)},e.doDecodeFormatInformation=function(t,n){var r,o,i=Number.MAX_SAFE_INTEGER,c=0;try{for(var l=a(e.FORMAT_INFO_DECODE_LOOKUP),u=l.next();!u.done;u=l.next()){var s=u.value,d=s[0];if(d===t||d===n)return new e(s[1]);var f=e.numBitsDiffering(t,d);f<i&&(c=s[1],i=f),t!==n&&(f=e.numBitsDiffering(n,d))<i&&(c=s[1],i=f)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}return i<=3?new e(c):null},e.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},e.prototype.getDataMask=function(){return this.dataMask},e.prototype.hashCode=function(){return this.errorCorrectionLevel.getBits()<<3|this.dataMask},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.errorCorrectionLevel===n.errorCorrectionLevel&&this.dataMask===n.dataMask},e.FORMAT_INFO_MASK_QR=21522,e.FORMAT_INFO_DECODE_LOOKUP=[Int32Array.from([21522,0]),Int32Array.from([20773,1]),Int32Array.from([24188,2]),Int32Array.from([23371,3]),Int32Array.from([17913,4]),Int32Array.from([16590,5]),Int32Array.from([20375,6]),Int32Array.from([19104,7]),Int32Array.from([30660,8]),Int32Array.from([29427,9]),Int32Array.from([32170,10]),Int32Array.from([30877,11]),Int32Array.from([26159,12]),Int32Array.from([25368,13]),Int32Array.from([27713,14]),Int32Array.from([26998,15]),Int32Array.from([5769,16]),Int32Array.from([5054,17]),Int32Array.from([7399,18]),Int32Array.from([6608,19]),Int32Array.from([1890,20]),Int32Array.from([597,21]),Int32Array.from([3340,22]),Int32Array.from([2107,23]),Int32Array.from([13663,24]),Int32Array.from([12392,25]),Int32Array.from([16177,26]),Int32Array.from([14854,27]),Int32Array.from([9396,28]),Int32Array.from([8579,29]),Int32Array.from([11994,30]),Int32Array.from([11245,31])],e}();t.a=i},function(e,t,n){"use strict";var r=n(62),o=n(24),a=n(14),i=function(){function e(e){this.field=e,this.cachedGenerators=[],this.cachedGenerators.push(new r.a(e,Int32Array.from([1])))}return e.prototype.buildGenerator=function(e){var t=this.cachedGenerators;if(e>=t.length)for(var n=t[t.length-1],o=this.field,a=t.length;a<=e;a++){var i=n.multiply(new r.a(o,Int32Array.from([1,o.exp(a-1+o.getGeneratorBase())])));t.push(i),n=i}return t[e]},e.prototype.encode=function(e,t){if(0===t)throw new a.a("No error correction bytes");var n=e.length-t;if(n<=0)throw new a.a("No data bytes provided");var i=this.buildGenerator(t),c=new Int32Array(n);o.a.arraycopy(e,0,c,0,n);for(var l=new r.a(this.field,c),u,s=(l=l.multiplyByMonomial(t,1)).divide(i)[1].getCoefficients(),d=t-s.length,f=0;f<d;f++)e[n+f]=0;o.a.arraycopy(s,0,e,n+d,s.length)},e}();t.a=i},function(e,t,n){"use strict";var r=n(34),o=n(18),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e,t){this.width=e,this.height=t;for(var n=new Array(t),r=0;r!==t;r++)n[r]=new Uint8Array(e);this.bytes=n}return e.prototype.getHeight=function(){return this.height},e.prototype.getWidth=function(){return this.width},e.prototype.get=function(e,t){return this.bytes[t][e]},e.prototype.getArray=function(){return this.bytes},e.prototype.setNumber=function(e,t,n){this.bytes[t][e]=n},e.prototype.setBoolean=function(e,t,n){this.bytes[t][e]=n?1:0},e.prototype.clear=function(e){var t,n;try{for(var o=a(this.bytes),i=o.next();!i.done;i=o.next()){var c=i.value;r.a.fill(c,e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;if(this.width!==n.width)return!1;if(this.height!==n.height)return!1;for(var r=0,o=this.height;r<o;++r)for(var a=this.bytes[r],i=n.bytes[r],c=0,l=this.width;c<l;++c)if(a[c]!==i[c])return!1;return!0},e.prototype.toString=function(){for(var e=new o.a,t=0,n=this.height;t<n;++t){for(var r=this.bytes[t],a=0,i=this.width;a<i;++a)switch(r[a]){case 0:e.append(" 0");break;case 1:e.append(" 1");break;default:e.append(" ")}e.append("\n")}return e.toString()},e}();t.a=i},function(e,t,n){"use strict";var r=n(43),o=function(){function e(){}return e.ISO_8859_1=r.a.ISO8859_1,e}();t.a=o},function(e,t,n){"use strict";var r=n(29),o=n(42),a=n(43),i=n(47),c=n(122),l=n(39),u=n(64),s=n(77),d=n(123),f=n(98),h=n(148),p=n(51),v,m=function(){function e(e,t){this.dataBytes=e,this.errorCorrectionBytes=t}return e.prototype.getDataBytes=function(){return this.dataBytes},e.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},e}(),g=n(40),b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},y=function(){function e(){}return e.calculateMaskPenalty=function(e){return s.a.applyMaskPenaltyRule1(e)+s.a.applyMaskPenaltyRule2(e)+s.a.applyMaskPenaltyRule3(e)+s.a.applyMaskPenaltyRule4(e)},e.encode=function(t,n,i){void 0===i&&(i=null);var c=e.DEFAULT_BYTE_MODE_ENCODING,s=null!==i&&void 0!==i.get(r.a.CHARACTER_SET);s&&(c=i.get(r.a.CHARACTER_SET).toString());var p=this.chooseMode(t,c),v=new o.a;if(p===l.a.BYTE&&(s||e.DEFAULT_BYTE_MODE_ENCODING!==c)){var m=a.a.getCharacterSetECIByName(c);void 0!==m&&this.appendECI(m,v)}this.appendModeInfo(p,v);var b=new o.a,y;if(this.appendBytes(t,p,b,c),null!==i&&void 0!==i.get(r.a.QR_VERSION)){var w=Number.parseInt(i.get(r.a.QR_VERSION).toString(),10);y=u.a.getVersionForNumber(w);var O=this.calculateBitsNeeded(p,v,b,y);if(!this.willFit(O,y,n))throw new g.a("Data too big for requested version")}else y=this.recommendVersion(n,p,v,b);var M=new o.a;M.appendBitArray(v);var A=p===l.a.BYTE?b.getSizeInBytes():t.length;this.appendLengthInfo(A,y,p,M),M.appendBitArray(b);var j=y.getECBlocksForLevel(n),x=y.getTotalCodewords()-j.getTotalECCodewords();this.terminateBits(x,M);var S=this.interleaveWithECBytes(M,y.getTotalCodewords(),x,j.getNumBlocks()),E=new f.a;E.setECLevel(n),E.setMode(p),E.setVersion(y);var C=y.getDimensionForVersion(),T=new d.a(C,C),D=this.chooseMaskPattern(S,n,y,T);return E.setMaskPattern(D),h.a.buildMatrix(S,n,y,D,T),E.setMatrix(T),E},e.recommendVersion=function(e,t,n,r){var o=this.calculateBitsNeeded(t,n,r,u.a.getVersionForNumber(1)),a=this.chooseVersion(o,e),i=this.calculateBitsNeeded(t,n,r,a);return this.chooseVersion(i,e)},e.calculateBitsNeeded=function(e,t,n,r){return t.getSize()+e.getCharacterCountBits(r)+n.getSize()},e.getAlphanumericCode=function(t){return t<e.ALPHANUMERIC_TABLE.length?e.ALPHANUMERIC_TABLE[t]:-1},e.chooseMode=function(t,n){if(void 0===n&&(n=null),a.a.SJIS.getName()===n&&this.isOnlyDoubleByteKanji(t))return l.a.KANJI;for(var r=!1,o=!1,i=0,c=t.length;i<c;++i){var u=t.charAt(i);if(e.isDigit(u))r=!0;else{if(-1===this.getAlphanumericCode(u.charCodeAt(0)))return l.a.BYTE;o=!0}}return o?l.a.ALPHANUMERIC:r?l.a.NUMERIC:l.a.BYTE},e.isOnlyDoubleByteKanji=function(e){var t;try{t=p.a.encode(e,a.a.SJIS)}catch(e){return!1}var n=t.length;if(n%2!=0)return!1;for(var r=0;r<n;r+=2){var o=255&t[r];if((o<129||o>159)&&(o<224||o>235))return!1}return!0},e.chooseMaskPattern=function(e,t,n,r){for(var o=Number.MAX_SAFE_INTEGER,a=-1,i=0;i<f.a.NUM_MASK_PATTERNS;i++){h.a.buildMatrix(e,t,n,i,r);var c=this.calculateMaskPenalty(r);c<o&&(o=c,a=i)}return a},e.chooseVersion=function(t,n){for(var r=1;r<=40;r++){var o=u.a.getVersionForNumber(r);if(e.willFit(t,o,n))return o}throw new g.a("Data too big")},e.willFit=function(e,t,n){var r,o,a,i,c;return t.getTotalCodewords()-t.getECBlocksForLevel(n).getTotalECCodewords()>=(e+7)/8},e.terminateBits=function(e,t){var n=8*e;if(t.getSize()>n)throw new g.a("data bits cannot fit in the QR Code"+t.getSize()+" > "+n);for(var r=0;r<4&&t.getSize()<n;++r)t.appendBit(!1);var o=7&t.getSize();if(o>0)for(var r=o;r<8;r++)t.appendBit(!1);for(var a=e-t.getSizeInBytes(),r=0;r<a;++r)t.appendBits(0==(1&r)?236:17,8);if(t.getSize()!==n)throw new g.a("Bits size does not equal capacity")},e.getNumDataBytesAndNumECBytesForBlockID=function(e,t,n,r,o,a){if(r>=n)throw new g.a("Block ID too large");var i=e%n,c=n-i,l=Math.floor(e/n),u=l+1,s=Math.floor(t/n),d=s+1,f=l-s,h=u-d;if(f!==h)throw new g.a("EC bytes mismatch");if(n!==c+i)throw new g.a("RS blocks mismatch");if(e!==(s+f)*c+(d+h)*i)throw new g.a("Total bytes mismatch");r<c?(o[0]=s,a[0]=f):(o[0]=d,a[0]=h)},e.interleaveWithECBytes=function(t,n,r,a){var i,c,l,u;if(t.getSizeInBytes()!==r)throw new g.a("Number of bits and data bytes does not match");for(var s=0,d=0,f=0,h=new Array,p=0;p<a;++p){var v=new Int32Array(1),y=new Int32Array(1);e.getNumDataBytesAndNumECBytesForBlockID(n,r,a,p,v,y);var w=v[0],O=new Uint8Array(w);t.toBytes(8*s,O,0,w);var M=e.generateECBytes(O,y[0]);h.push(new m(O,M)),d=Math.max(d,w),f=Math.max(f,M.length),s+=v[0]}if(r!==s)throw new g.a("Data bytes does not match offset");for(var A=new o.a,p=0;p<d;++p)try{for(var j=(i=void 0,b(h)),x=j.next();!x.done;x=j.next()){var S,O;p<(O=(S=x.value).getDataBytes()).length&&A.appendBits(O[p],8)}}catch(e){i={error:e}}finally{try{x&&!x.done&&(c=j.return)&&c.call(j)}finally{if(i)throw i.error}}for(var p=0;p<f;++p)try{for(var E=(l=void 0,b(h)),C=E.next();!C.done;C=E.next()){var S,M;p<(M=(S=C.value).getErrorCorrectionBytes()).length&&A.appendBits(M[p],8)}}catch(e){l={error:e}}finally{try{C&&!C.done&&(u=E.return)&&u.call(E)}finally{if(l)throw l.error}}if(n!==A.getSizeInBytes())throw new g.a("Interleaving error: "+n+" and "+A.getSizeInBytes()+" differ.");return A},e.generateECBytes=function(e,t){for(var n=e.length,r=new Int32Array(n+t),o=0;o<n;o++)r[o]=255&e[o];new c.a(i.a.QR_CODE_FIELD_256).encode(r,t);for(var a=new Uint8Array(t),o=0;o<t;o++)a[o]=r[n+o];return a},e.appendModeInfo=function(e,t){t.appendBits(e.getBits(),4)},e.appendLengthInfo=function(e,t,n,r){var o=n.getCharacterCountBits(t);if(e>=1<<o)throw new g.a(e+" is bigger than "+((1<<o)-1));r.appendBits(e,o)},e.appendBytes=function(t,n,r,o){switch(n){case l.a.NUMERIC:e.appendNumericBytes(t,r);break;case l.a.ALPHANUMERIC:e.appendAlphanumericBytes(t,r);break;case l.a.BYTE:e.append8BitBytes(t,r,o);break;case l.a.KANJI:e.appendKanjiBytes(t,r);break;default:throw new g.a("Invalid mode: "+n)}},e.getDigit=function(e){return e.charCodeAt(0)-48},e.isDigit=function(t){var n=e.getDigit(t);return n>=0&&n<=9},e.appendNumericBytes=function(t,n){for(var r=t.length,o=0;o<r;){var a=e.getDigit(t.charAt(o));if(o+2<r){var i=e.getDigit(t.charAt(o+1)),c=e.getDigit(t.charAt(o+2));n.appendBits(100*a+10*i+c,10),o+=3}else if(o+1<r){var i=e.getDigit(t.charAt(o+1));n.appendBits(10*a+i,7),o+=2}else n.appendBits(a,4),o++}},e.appendAlphanumericBytes=function(t,n){for(var r=t.length,o=0;o<r;){var a=e.getAlphanumericCode(t.charCodeAt(o));if(-1===a)throw new g.a;if(o+1<r){var i=e.getAlphanumericCode(t.charCodeAt(o+1));if(-1===i)throw new g.a;n.appendBits(45*a+i,11),o+=2}else n.appendBits(a,6),o++}},e.append8BitBytes=function(e,t,n){var r;try{r=p.a.encode(e,n)}catch(e){throw new g.a(e)}for(var o=0,a=r.length;o!==a;o++){var i=r[o];t.appendBits(i,8)}},e.appendKanjiBytes=function(e,t){var n;try{n=p.a.encode(e,a.a.SJIS)}catch(e){throw new g.a(e)}for(var r=n.length,o=0;o<r;o+=2){var i,c,l=(255&n[o])<<8&4294967295|255&n[o+1],u=-1;if(l>=33088&&l<=40956?u=l-33088:l>=57408&&l<=60351&&(u=l-49472),-1===u)throw new g.a("Invalid byte sequence");var s=192*(u>>8)+(255&u);t.appendBits(s,13)}},e.appendECI=function(e,t){t.appendBits(l.a.ECI.getBits(),4),t.appendBits(e.getValue(),8)},e.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),e.DEFAULT_BYTE_MODE_ENCODING=a.a.UTF8.getName(),e}(),w=t.a=y},function(e,t,n){"use strict";var r=n(37),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="IndexOutOfBoundsException",t}(r.a);t.a=i},function(e,t,n){"use strict";var r=n(42),o=n(14),a=n(20),i=n(41),c=n(188),l=n(122),u=n(47),s=n(190),d=n(19),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function e(){}return e.encodeBytes=function(t){return e.encode(t,e.DEFAULT_EC_PERCENT,e.DEFAULT_AZTEC_LAYERS)},e.encode=function(t,n,r){var l=new s.a(t).encode(),u=d.a.truncDivision(l.getSize()*n,100)+11,f=l.getSize()+u,h,p,v,m,g;if(r!==e.DEFAULT_AZTEC_LAYERS){if(h=r<0,(p=Math.abs(r))>(h?e.MAX_NB_BITS_COMPACT:e.MAX_NB_BITS))throw new o.a(a.a.format("Illegal value %s for layers",r));var b=(v=e.totalBitsInLayer(p,h))-v%(m=e.WORD_SIZE[p]);if((g=e.stuffBits(l,m)).getSize()+u>b)throw new o.a("Data to large for user specified layer");if(h&&g.getSize()>64*m)throw new o.a("Data to large for user specified layer")}else{m=0,g=null;for(var y=0;;y++){if(y>e.MAX_NB_BITS)throw new o.a("Data too large for an Aztec code");if(p=(h=y<=3)?y+1:y,!(f>(v=e.totalBitsInLayer(p,h)))){null!=g&&m===e.WORD_SIZE[p]||(m=e.WORD_SIZE[p],g=e.stuffBits(l,m));var b=v-v%m;if(!(h&&g.getSize()>64*m)&&g.getSize()+u<=b)break}}}var w=e.generateCheckWords(g,v,m),O=g.getSize()/m,M=e.generateModeMessage(h,p,O),A=(h?11:14)+4*p,j=new Int32Array(A),x;if(h){x=A;for(var y=0;y<j.length;y++)j[y]=y}else{x=A+1+2*d.a.truncDivision(d.a.truncDivision(A,2)-1,15);for(var S=d.a.truncDivision(A,2),E=d.a.truncDivision(x,2),y=0;y<S;y++){var C=y+d.a.truncDivision(y,15);j[S-y-1]=E-C-1,j[S+y]=E+C+1}}for(var T=new i.a(x),y=0,D=0;y<p;y++){for(var _=4*(p-y)+(h?9:12),z=0;z<_;z++)for(var I=2*z,P=0;P<2;P++)w.get(D+I+P)&&T.set(j[2*y+P],j[2*y+z]),w.get(D+2*_+I+P)&&T.set(j[2*y+z],j[A-1-2*y-P]),w.get(D+4*_+I+P)&&T.set(j[A-1-2*y-P],j[A-1-2*y-z]),w.get(D+6*_+I+P)&&T.set(j[A-1-2*y-z],j[2*y+P]);D+=8*_}if(e.drawModeMessage(T,h,x,M),h)e.drawBullsEye(T,d.a.truncDivision(x,2),5);else{e.drawBullsEye(T,d.a.truncDivision(x,2),7);for(var y=0,z=0;y<d.a.truncDivision(A,2)-1;y+=15,z+=16)for(var P=1&d.a.truncDivision(x,2);P<x;P+=2)T.set(d.a.truncDivision(x,2)-z,P),T.set(d.a.truncDivision(x,2)+z,P),T.set(P,d.a.truncDivision(x,2)-z),T.set(P,d.a.truncDivision(x,2)+z)}var N=new c.a;return N.setCompact(h),N.setSize(x),N.setLayers(p),N.setCodeWords(O),N.setMatrix(T),N},e.drawBullsEye=function(e,t,n){for(var r=0;r<n;r+=2)for(var o=t-r;o<=t+r;o++)e.set(o,t-r),e.set(o,t+r),e.set(t-r,o),e.set(t+r,o);e.set(t-n,t-n),e.set(t-n+1,t-n),e.set(t-n,t-n+1),e.set(t+n,t-n),e.set(t+n,t-n+1),e.set(t+n,t+n-1)},e.generateModeMessage=function(t,n,o){var a=new r.a;return t?(a.appendBits(n-1,2),a.appendBits(o-1,6),a=e.generateCheckWords(a,28,4)):(a.appendBits(n-1,5),a.appendBits(o-1,11),a=e.generateCheckWords(a,40,4)),a},e.drawModeMessage=function(e,t,n,r){var o=d.a.truncDivision(n,2);if(t)for(var a=0;a<7;a++){var i=o-3+a;r.get(a)&&e.set(i,o-5),r.get(a+7)&&e.set(o+5,i),r.get(20-a)&&e.set(i,o+5),r.get(27-a)&&e.set(o-5,i)}else for(var a=0;a<10;a++){var i=o-5+a+d.a.truncDivision(a,5);r.get(a)&&e.set(i,o-7),r.get(a+10)&&e.set(o+7,i),r.get(29-a)&&e.set(i,o+7),r.get(39-a)&&e.set(o-7,i)}},e.generateCheckWords=function(t,n,o){var a,i,c=t.getSize()/o,u=new l.a(e.getGF(o)),s=d.a.truncDivision(n,o),h=e.bitsToWords(t,o,s);u.encode(h,s-c);var p=n%o,v=new r.a;v.appendBits(0,p);try{for(var m=f(Array.from(h)),g=m.next();!g.done;g=m.next()){var b=g.value;v.appendBits(b,o)}}catch(e){a={error:e}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(a)throw a.error}}return v},e.bitsToWords=function(e,t,n){var r=new Int32Array(n),o,a;for(o=0,a=e.getSize()/t;o<a;o++){for(var i=0,c=0;c<t;c++)i|=e.get(o*t+c)?1<<t-c-1:0;r[o]=i}return r},e.getGF=function(e){switch(e){case 4:return u.a.AZTEC_PARAM;case 6:return u.a.AZTEC_DATA_6;case 8:return u.a.AZTEC_DATA_8;case 10:return u.a.AZTEC_DATA_10;case 12:return u.a.AZTEC_DATA_12;default:throw new o.a("Unsupported word size "+e)}},e.stuffBits=function(e,t){for(var n=new r.a,o=e.getSize(),a=(1<<t)-2,i=0;i<o;i+=t){for(var c=0,l=0;l<t;l++)(i+l>=o||e.get(i+l))&&(c|=1<<t-1-l);(c&a)===a?(n.appendBits(c&a,t),i--):0==(c&a)?(n.appendBits(1|c,t),i--):n.appendBits(c,t)}return n},e.totalBitsInLayer=function(e,t){return((t?88:112)+16*e)*e},e.DEFAULT_EC_PERCENT=33,e.DEFAULT_AZTEC_LAYERS=0,e.MAX_NB_BITS=32,e.MAX_NB_BITS_COMPACT=4,e.WORD_SIZE=Int32Array.from([4,6,6,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,12,12]),e}();t.a=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isWxApp=t.isIOS=t.isWx=t.checkEnv=t.isIos=t.isAndroid=t.isMobile=t.isIpad=void 0;var r="undefined"!=typeof window&&window.document,o=function e(){var t=navigator.userAgent,n=-1!=t.indexOf("Safari")&&-1!=t.indexOf("Version"),r=-1!=t.indexOf("iPhone")&&-1!=t.indexOf("Version"),o=n&&!r&&"ontouchend"in document;return!(!/iphone|ios|ipad|android|mobile/i.test(navigator.userAgent.toLowerCase())&&!o)};t.isIpad=o;var a=function e(){var n=window.navigator.userAgent.toLowerCase(),r="ipad"==n.match(/ipad/i),o="iphone os"==n.match(/iphone os/i),a="midp"==n.match(/midp/i),i="rv:1.2.3.4"==n.match(/rv:1.2.3.4/i),c="ucweb"==n.match(/ucweb/i),l="android"==n.match(/android/i),u="windows ce"==n.match(/windows ce/i),s="windows mobile"==n.match(/windows mobile/i);return!!(r||o||a||i||c||l||u||s||(0,t.isIpad)())};t.isMobile=a;var i=function e(){return-1!==navigator.userAgent.toLowerCase().indexOf("android")};t.isAndroid=i;var c=function e(){return/iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())};t.isIos=c;var l=function e(){var t=0,n=window.navigator.userAgent,r=n.indexOf("Opera")>-1||n.indexOf("OPR")>-1,o=n.indexOf("compatible")>-1&&n.indexOf("MSIE")>-1,a=-1===n.indexOf("compatible")&&n.indexOf("Trident")>-1,i=n.indexOf("Edge")>-1,c=n.indexOf("Firefox")>-1,l=n.indexOf("Safari")>-1&&-1===n.indexOf("Chrome"),u=n.indexOf("Chrome")>-1&&n.indexOf("; Win")>-1&&n.indexOf("Safari")>-1;return t=r||o||a||i||c||l||u?0:1};t.checkEnv=l;var u=function e(){if(r){var t="";return r&&(t=window.navigator.userAgent.toLowerCase()),"micromessenger"==t.match(/MicroMessenger/i)}return!1};t.isWx=u;var s=function e(){var t,n;return!!r&&!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)};t.isIOS=s;var d=function e(){var t,n;return!!r&&-1!==navigator.userAgent.indexOf("miniProgram")};t.isWxApp=d;var f=function e(){if(r){var t=window.navigator.userAgent;return t.indexOf("Safari")>-1&&-1===t.indexOf("Chrome")&&-1===t.indexOf("CriOS")&&-1===t.indexOf("ChannelName/Feishu")}return!1};t.isSafari=f},function(e,t,n){"use strict";var r=n(12),o=n(53),a=n(18),i,c=function(){function e(e,t){t?this.decodedInformation=null:(this.finished=e,this.decodedInformation=t)}return e.prototype.getDecodedInformation=function(){return this.decodedInformation},e.prototype.isFinished=function(){return this.finished},e}(),l,u=function(){function e(e){this.newPosition=e}return e.prototype.getNewPosition=function(){return this.newPosition},e}(),s=(d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d,f,h=function(e){function t(t,n){var r=e.call(this,t)||this;return r.value=n,r}return s(t,e),t.prototype.getValue=function(){return this.value},t.prototype.isFNC1=function(){return this.value===t.FNC1},t.FNC1="$",t}(u),p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),v,m=function(e){function t(t,n,r){var o=e.call(this,t)||this;return r?(o.remaining=!0,o.remainingValue=o.remainingValue):(o.remaining=!1,o.remainingValue=0),o.newString=n,o}return p(t,e),t.prototype.getNewString=function(){return this.newString},t.prototype.isRemaining=function(){return this.remaining},t.prototype.getRemainingValue=function(){return this.remainingValue},t}(u),g=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b,y=function(e){function t(t,n,o){var a=e.call(this,t)||this;if(n<0||n>10||o<0||o>10)throw new r.a;return a.firstDigit=n,a.secondDigit=o,a}return g(t,e),t.prototype.getFirstDigit=function(){return this.firstDigit},t.prototype.getSecondDigit=function(){return this.secondDigit},t.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},t.prototype.isFirstDigitFNC1=function(){return this.firstDigit===t.FNC1},t.prototype.isSecondDigitFNC1=function(){return this.secondDigit===t.FNC1},t.prototype.isAnyFNC1=function(){return this.firstDigit===t.FNC1||this.secondDigit===t.FNC1},t.FNC1=10,t}(u),w=n(8),O=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},M,A=function(){function e(){}return e.parseFieldsInGeneralPurpose=function(t){var n,r,o,a,i,c,l,u;if(!t)return null;if(t.length<2)throw new w.a;var s=t.substring(0,2);try{for(var d=O(e.TWO_DIGIT_DATA_LENGTH),f=d.next();!f.done;f=d.next()){var h;if((h=f.value)[0]===s)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(2,h[2],t):e.processFixedAI(2,h[1],t)}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}if(t.length<3)throw new w.a;var p=t.substring(0,3);try{for(var v=O(e.THREE_DIGIT_DATA_LENGTH),m=v.next();!m.done;m=v.next()){var h;if((h=m.value)[0]===p)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(3,h[2],t):e.processFixedAI(3,h[1],t)}}catch(e){o={error:e}}finally{try{m&&!m.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}try{for(var g=O(e.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),b=g.next();!b.done;b=g.next()){var h;if((h=b.value)[0]===p)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,h[2],t):e.processFixedAI(4,h[1],t)}}catch(e){i={error:e}}finally{try{b&&!b.done&&(c=g.return)&&c.call(g)}finally{if(i)throw i.error}}if(t.length<4)throw new w.a;var y=t.substring(0,4);try{for(var M=O(e.FOUR_DIGIT_DATA_LENGTH),A=M.next();!A.done;A=M.next()){var h;if((h=A.value)[0]===y)return h[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,h[2],t):e.processFixedAI(4,h[1],t)}}catch(e){l={error:e}}finally{try{A&&!A.done&&(u=M.return)&&u.call(M)}finally{if(l)throw l.error}}throw new w.a},e.processFixedAI=function(t,n,r){if(r.length<t)throw new w.a;var o=r.substring(0,t);if(r.length<t+n)throw new w.a;var a=r.substring(t,t+n),i=r.substring(t+n),c="("+o+")"+a,l=e.parseFieldsInGeneralPurpose(i);return null==l?c:c+l},e.processVariableAI=function(t,n,r){var o=r.substring(0,t),a;a=r.length<t+n?r.length:t+n;var i=r.substring(t,a),c=r.substring(a),l="("+o+")"+i,u=e.parseFieldsInGeneralPurpose(c);return null==u?l:l+u},e.VARIABLE_LENGTH=[],e.TWO_DIGIT_DATA_LENGTH=[["00",18],["01",14],["02",14],["10",e.VARIABLE_LENGTH,20],["11",6],["12",6],["13",6],["15",6],["17",6],["20",2],["21",e.VARIABLE_LENGTH,20],["22",e.VARIABLE_LENGTH,29],["30",e.VARIABLE_LENGTH,8],["37",e.VARIABLE_LENGTH,8],["90",e.VARIABLE_LENGTH,30],["91",e.VARIABLE_LENGTH,30],["92",e.VARIABLE_LENGTH,30],["93",e.VARIABLE_LENGTH,30],["94",e.VARIABLE_LENGTH,30],["95",e.VARIABLE_LENGTH,30],["96",e.VARIABLE_LENGTH,30],["97",e.VARIABLE_LENGTH,3],["98",e.VARIABLE_LENGTH,30],["99",e.VARIABLE_LENGTH,30]],e.THREE_DIGIT_DATA_LENGTH=[["240",e.VARIABLE_LENGTH,30],["241",e.VARIABLE_LENGTH,30],["242",e.VARIABLE_LENGTH,6],["250",e.VARIABLE_LENGTH,30],["251",e.VARIABLE_LENGTH,30],["253",e.VARIABLE_LENGTH,17],["254",e.VARIABLE_LENGTH,20],["400",e.VARIABLE_LENGTH,30],["401",e.VARIABLE_LENGTH,30],["402",17],["403",e.VARIABLE_LENGTH,30],["410",13],["411",13],["412",13],["413",13],["414",13],["420",e.VARIABLE_LENGTH,20],["421",e.VARIABLE_LENGTH,15],["422",3],["423",e.VARIABLE_LENGTH,15],["424",3],["425",3],["426",3]],e.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH=[["310",6],["311",6],["312",6],["313",6],["314",6],["315",6],["316",6],["320",6],["321",6],["322",6],["323",6],["324",6],["325",6],["326",6],["327",6],["328",6],["329",6],["330",6],["331",6],["332",6],["333",6],["334",6],["335",6],["336",6],["340",6],["341",6],["342",6],["343",6],["344",6],["345",6],["346",6],["347",6],["348",6],["349",6],["350",6],["351",6],["352",6],["353",6],["354",6],["355",6],["356",6],["357",6],["360",6],["361",6],["362",6],["363",6],["364",6],["365",6],["366",6],["367",6],["368",6],["369",6],["390",e.VARIABLE_LENGTH,15],["391",e.VARIABLE_LENGTH,18],["392",e.VARIABLE_LENGTH,15],["393",e.VARIABLE_LENGTH,18],["703",e.VARIABLE_LENGTH,30]],e.FOUR_DIGIT_DATA_LENGTH=[["7001",13],["7002",e.VARIABLE_LENGTH,30],["7003",10],["8001",14],["8002",e.VARIABLE_LENGTH,20],["8003",e.VARIABLE_LENGTH,30],["8004",e.VARIABLE_LENGTH,30],["8005",6],["8006",18],["8007",e.VARIABLE_LENGTH,30],["8008",e.VARIABLE_LENGTH,12],["8018",18],["8020",e.VARIABLE_LENGTH,25],["8100",6],["8101",10],["8102",2],["8110",e.VARIABLE_LENGTH,70],["8200",e.VARIABLE_LENGTH,70]],e}(),j=function(){function e(e){this.buffer=new a.a,this.information=e}return e.prototype.decodeAllCodes=function(e,t){for(var n=t,r=null;;){var o=this.decodeGeneralPurposeField(n,r),a=A.parseFieldsInGeneralPurpose(o.getNewString());if(null!=a&&e.append(a),r=o.isRemaining()?""+o.getRemainingValue():null,n===o.getNewPosition())break;n=o.getNewPosition()}return e.toString()},e.prototype.isStillNumeric=function(e){if(e+7>this.information.getSize())return e+4<=this.information.getSize();for(var t=e;t<e+3;++t)if(this.information.get(t))return!0;return this.information.get(e+3)},e.prototype.decodeNumeric=function(e){if(e+7>this.information.getSize()){var t=this.extractNumericValueFromBitArray(e,4);return new y(this.information.getSize(),0===t?y.FNC1:t-1,y.FNC1)}var n=this.extractNumericValueFromBitArray(e,7),r,o;return new y(e+7,(n-8)/11,(n-8)%11)},e.prototype.extractNumericValueFromBitArray=function(t,n){return e.extractNumericValueFromBitArray(this.information,t,n)},e.extractNumericValueFromBitArray=function(e,t,n){for(var r=0,o=0;o<n;++o)e.get(t+o)&&(r|=1<<n-o-1);return r},e.prototype.decodeGeneralPurposeField=function(e,t){this.buffer.setLengthToZero(),null!=t&&this.buffer.append(t),this.current.setPosition(e);var n=this.parseBlocks();return null!=n&&n.isRemaining()?new m(this.current.getPosition(),this.buffer.toString(),n.getRemainingValue()):new m(this.current.getPosition(),this.buffer.toString())},e.prototype.parseBlocks=function(){var e,t;do{var n=this.current.getPosition(),r;if(e=this.current.isAlpha()?(t=this.parseAlphaBlock()).isFinished():this.current.isIsoIec646()?(t=this.parseIsoIec646Block()).isFinished():(t=this.parseNumericBlock()).isFinished(),!(n!==this.current.getPosition())&&!e)break}while(!e);return t.getDecodedInformation()},e.prototype.parseNumericBlock=function(){for(;this.isStillNumeric(this.current.getPosition());){var e=this.decodeNumeric(this.current.getPosition());if(this.current.setPosition(e.getNewPosition()),e.isFirstDigitFNC1()){var t=void 0;return t=e.isSecondDigitFNC1()?new m(this.current.getPosition(),this.buffer.toString()):new m(this.current.getPosition(),this.buffer.toString(),e.getSecondDigit()),new c(!0,t)}if(this.buffer.append(e.getFirstDigit()),e.isSecondDigitFNC1()){var t=new m(this.current.getPosition(),this.buffer.toString());return new c(!0,t)}this.buffer.append(e.getSecondDigit())}return this.isNumericToAlphaNumericLatch(this.current.getPosition())&&(this.current.setAlpha(),this.current.incrementPosition(4)),new c(!1)},e.prototype.parseIsoIec646Block=function(){for(;this.isStillIsoIec646(this.current.getPosition());){var e=this.decodeIsoIec646(this.current.getPosition());if(this.current.setPosition(e.getNewPosition()),e.isFNC1()){var t=new m(this.current.getPosition(),this.buffer.toString());return new c(!0,t)}this.buffer.append(e.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setAlpha()),new c(!1)},e.prototype.parseAlphaBlock=function(){for(;this.isStillAlpha(this.current.getPosition());){var e=this.decodeAlphanumeric(this.current.getPosition());if(this.current.setPosition(e.getNewPosition()),e.isFNC1()){var t=new m(this.current.getPosition(),this.buffer.toString());return new c(!0,t)}this.buffer.append(e.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setIsoIec646()),new c(!1)},e.prototype.isStillIsoIec646=function(e){if(e+5>this.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+7>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,7);if(n>=64&&n<116)return!0;if(e+8>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(e,8);return r>=232&&r<253},e.prototype.decodeIsoIec646=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new h(e+5,h.FNC1);if(t>=5&&t<15)return new h(e+5,"0"+(t-5));var n=this.extractNumericValueFromBitArray(e,7),o,a;if(n>=64&&n<90)return new h(e+7,""+(n+1));if(n>=90&&n<116)return new h(e+7,""+(n+7));switch(this.extractNumericValueFromBitArray(e,8)){case 232:a="!";break;case 233:a='"';break;case 234:a="%";break;case 235:a="&";break;case 236:a="'";break;case 237:a="(";break;case 238:a=")";break;case 239:a="*";break;case 240:a="+";break;case 241:a=",";break;case 242:a="-";break;case 243:a=".";break;case 244:a="/";break;case 245:a=":";break;case 246:a=";";break;case 247:a="<";break;case 248:a="=";break;case 249:a=">";break;case 250:a="?";break;case 251:a="_";break;case 252:a=" ";break;default:throw new r.a}return new h(e+8,a)},e.prototype.isStillAlpha=function(e){if(e+5>this.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+6>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,6);return n>=16&&n<63},e.prototype.decodeAlphanumeric=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15===t)return new h(e+5,h.FNC1);if(t>=5&&t<15)return new h(e+5,"0"+(t-5));var n=this.extractNumericValueFromBitArray(e,6),r;if(n>=32&&n<58)return new h(e+6,""+(n+33));switch(n){case 58:r="*";break;case 59:r=",";break;case 60:r="-";break;case 61:r=".";break;case 62:r="/";break;default:throw new o.a("Decoding invalid alphanumeric value: "+n)}return new h(e+6,r)},e.prototype.isAlphaTo646ToAlphaLatch=function(e){if(e+1>this.information.getSize())return!1;for(var t=0;t<5&&t+e<this.information.getSize();++t)if(2===t){if(!this.information.get(e+2))return!1}else if(this.information.get(e+t))return!1;return!0},e.prototype.isAlphaOr646ToNumericLatch=function(e){if(e+3>this.information.getSize())return!1;for(var t=e;t<e+3;++t)if(this.information.get(t))return!1;return!0},e.prototype.isNumericToAlphaNumericLatch=function(e){if(e+1>this.information.getSize())return!1;for(var t=0;t<4&&t+e<this.information.getSize();++t)if(this.information.get(e+t))return!1;return!0},e}(),x=t.a=j},,,function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var r=n(209),o=n(397),a=n(398),i="[object Null]",c="[object Undefined]",l=r?r.toStringTag:void 0;function u(e){return null==e?void 0===e?c:i:l&&l in Object(e)?o(e):a(e)}e.exports=u},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.globalConfig=t.PisellContext=void 0;var r=n(0),o={platform:"pc"};t.PisellContext=(0,r.createContext)(o);var a=function(){function e(){this.config={}}return e.prototype.setConfig=function(e){this.config=e},e.prototype.getConfig=function(){return this.config},e}();t.globalConfig=new a,t.default=t.PisellContext},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function e(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return a(t,e),t},c=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=i(n(0)),s=l(n(21));n(555);var d="pisell-lowcode-",f=function e(t){var n,o=t.children,a=t.isActive,i=c(t,["children","isActive"]);return u.default.createElement("div",r({},i,{className:(0,s.default)("".concat(d,"action-btn-icon"),(n={},n["".concat(d,"action-btn-icon-active")]=a,n))}),u.Children.map(o,(function(e){var t;return(0,u.isValidElement)(e)?(0,u.cloneElement)(e,{style:r(r({},(null===(t=e.props)||void 0===t?void 0:t.style)||{}),{color:a?"#53389E":"inherit"})}):e})))};t.default=f},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function i(e){try{l(r.next(e))}catch(e){a(e)}}function c(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){e.done?n(e.value):o(e.value).then(i,c)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n={label:0,sent:function e(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},r,o,a,i;return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(e){return function(t){return l([e,t])}}function l(i){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(a=2&i[0]?o.return:i[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,i[1])).done)return a;switch(o=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return n.label++,{value:i[1],done:!1};case 5:n.label++,o=i[1],i=[0];continue;case 7:i=n.ops.pop(),n.trys.pop();continue;default:if(!(a=n.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){n=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){n.label=i[1];break}if(6===i[0]&&n.label<a[1]){n.label=a[1],a=i;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(i);break}a[2]&&n.ops.pop(),n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e],o=0}finally{r=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}};Object.defineProperty(t,"__esModule",{value:!0}),t.historyData=t.importTemplate=t.batchImport=t.exportData=void 0;var a=n(138),i=function e(t){return a.request.getRequest().post("/shop/form/data/export",t)};t.exportData=i;var c=function e(t){return a.request.getRequest().post("/shop/form/data/import",t)};t.batchImport=c;var l=function e(t){return a.request.getRequest().post("/shop/form/data/download-template",t)};t.importTemplate=l;var u=function e(t){return r(void 0,void 0,Promise,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,a.request.getRequest().get("/shop/form/data/task",t)];case 1:return[2,e.sent()]}}))}))};t.historyData=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0;var r=function(){function e(){this.request={}}return e.prototype.setRequest=function(e){this.request=e},e.prototype.getRequest=function(){return this.request},e}();t.request=new r},function(e,t,n){var r=n(132),o=n(392),a=n(393),i="Expected a function",c=Math.max,l=Math.min;function u(e,t,n){var u,s,d,f,h,p,v=0,m=!1,g=!1,b=!0;if("function"!=typeof e)throw new TypeError(i);function y(t){var n=u,r=s;return u=s=void 0,v=t,f=e.apply(r,n)}function w(e){return v=e,h=setTimeout(A,t),m?y(e):f}function O(e){var n,r,o=t-(e-p);return g?l(o,d-(e-v)):o}function M(e){var n=e-p,r;return void 0===p||n>=t||n<0||g&&e-v>=d}function A(){var e=o();if(M(e))return j(e);h=setTimeout(A,O(e))}function j(e){return h=void 0,b&&u?y(e):(u=s=void 0,f)}function x(){void 0!==h&&clearTimeout(h),v=0,u=p=s=h=void 0}function S(){return void 0===h?f:j(o())}function E(){var e=o(),n=M(e);if(u=arguments,s=this,p=e,n){if(void 0===h)return w(p);if(g)return clearTimeout(h),h=setTimeout(A,t),y(p)}return void 0===h&&(h=setTimeout(A,t)),f}return t=a(t)||0,r(n)&&(m=!!n.leading,d=(g="maxWait"in n)?c(a(n.maxWait)||0,t):d,b="trailing"in n?!!n.trailing:b),E.cancel=x,E.flush=S,E}e.exports=u},function(e,t,n){"use strict";var r=n(72),o=n(47),a=n(73),i=n(53),c=n(12),l=n(20),u=n(19),s;!function(e){e[e.UPPER=0]="UPPER",e[e.LOWER=1]="LOWER",e[e.MIXED=2]="MIXED",e[e.DIGIT=3]="DIGIT",e[e.PUNCT=4]="PUNCT",e[e.BINARY=5]="BINARY"}(s||(s={}));var d=function(){function e(){}return e.prototype.decode=function(t){this.ddata=t;var n=t.getBits(),o=this.extractBits(n),a=this.correctBits(o),i=e.convertBoolArrayToByteArray(a),c=e.getEncodedData(a),l=new r.a(i,c,null,null);return l.setNumBits(a.length),l},e.highLevelDecode=function(e){return this.getEncodedData(e)},e.getEncodedData=function(t){for(var n=t.length,r=s.UPPER,o=s.UPPER,a="",i=0;i<n;)if(o===s.BINARY){if(n-i<5)break;var c=e.readCode(t,i,5);if(i+=5,0===c){if(n-i<11)break;c=e.readCode(t,i,11)+31,i+=11}for(var u=0;u<c;u++){if(n-i<8){i=n;break}var d=e.readCode(t,i,8);a+=l.a.castAsNonUtf8Char(d),i+=8}o=r}else{var f=o===s.DIGIT?4:5;if(n-i<f)break;var d=e.readCode(t,i,f);i+=f;var h=e.getCharacter(o,d);h.startsWith("CTRL_")?(r=o,o=e.getTable(h.charAt(5)),"L"===h.charAt(6)&&(r=o)):(a+=h,o=r)}return a},e.getTable=function(e){switch(e){case"L":return s.LOWER;case"P":return s.PUNCT;case"M":return s.MIXED;case"D":return s.DIGIT;case"B":return s.BINARY;case"U":default:return s.UPPER}},e.getCharacter=function(t,n){switch(t){case s.UPPER:return e.UPPER_TABLE[n];case s.LOWER:return e.LOWER_TABLE[n];case s.MIXED:return e.MIXED_TABLE[n];case s.PUNCT:return e.PUNCT_TABLE[n];case s.DIGIT:return e.DIGIT_TABLE[n];default:throw new i.a("Bad table")}},e.prototype.correctBits=function(t){var n,r;this.ddata.getNbLayers()<=2?(r=6,n=o.a.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(r=8,n=o.a.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(r=10,n=o.a.AZTEC_DATA_10):(r=12,n=o.a.AZTEC_DATA_12);var i=this.ddata.getNbDatablocks(),l=t.length/r;if(l<i)throw new c.a;for(var u=t.length%r,s=new Int32Array(l),d=0;d<l;d++,u+=r)s[d]=e.readCode(t,u,r);try{var f;new a.a(n).decode(s,l-i)}catch(e){throw new c.a(e)}for(var h=(1<<r)-1,p=0,d=0;d<i;d++){var v;if(0===(v=s[d])||v===h)throw new c.a;1!==v&&v!==h-1||p++}for(var m=new Array(i*r-p),g=0,d=0;d<i;d++){var v;if(1===(v=s[d])||v===h-1)m.fill(v>1,g,g+r-1),g+=r-1;else for(var b=r-1;b>=0;--b)m[g++]=0!=(v&1<<b)}return m},e.prototype.extractBits=function(e){var t=this.ddata.isCompact(),n=this.ddata.getNbLayers(),r=(t?11:14)+4*n,o=new Int32Array(r),a=new Array(this.totalBitsInLayer(n,t));if(t)for(var i=0;i<o.length;i++)o[i]=i;else for(var c=r+1+2*u.a.truncDivision(u.a.truncDivision(r,2)-1,15),l=r/2,s=u.a.truncDivision(c,2),i=0;i<l;i++){var d=i+u.a.truncDivision(i,15);o[l-i-1]=s-d-1,o[l+i]=s+d+1}for(var i=0,f=0;i<n;i++){for(var h=4*(n-i)+(t?9:12),p=2*i,v=r-1-p,m=0;m<h;m++)for(var g=2*m,b=0;b<2;b++)a[f+g+b]=e.get(o[p+b],o[p+m]),a[f+2*h+g+b]=e.get(o[p+m],o[v-b]),a[f+4*h+g+b]=e.get(o[v-b],o[v-m]),a[f+6*h+g+b]=e.get(o[v-m],o[p+b]);f+=8*h}return a},e.readCode=function(e,t,n){for(var r=0,o=t;o<t+n;o++)r<<=1,e[o]&&(r|=1);return r},e.readByte=function(t,n){var r=t.length-n;return r>=8?e.readCode(t,n,8):e.readCode(t,n,r)<<8-r},e.convertBoolArrayToByteArray=function(t){for(var n=new Uint8Array((t.length+7)/8),r=0;r<n.length;r++)n[r]=e.readByte(t,8*r);return n},e.prototype.totalBitsInLayer=function(e,t){return((t?88:112)+16*e)*e},e.UPPER_TABLE=["CTRL_PS"," ","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","CTRL_LL","CTRL_ML","CTRL_DL","CTRL_BS"],e.LOWER_TABLE=["CTRL_PS"," ","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","CTRL_US","CTRL_ML","CTRL_DL","CTRL_BS"],e.MIXED_TABLE=["CTRL_PS"," ","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\b","\t","\n","\v","\f","\r","\x1b","\x1c","\x1d","\x1e","\x1f","@","\\","^","_","`","|","~","\x7f","CTRL_LL","CTRL_UL","CTRL_PL","CTRL_BS"],e.PUNCT_TABLE=["","\r","\r\n",". ",", ",": ","!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}","CTRL_UL"],e.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],e}();t.a=d},function(e,t,n){"use strict";var r=n(8),o=function(){function e(){}return e.checkAndNudgePoints=function(e,t){for(var n=e.getWidth(),o=e.getHeight(),a=!0,i=0;i<t.length&&a;i+=2){var c=Math.floor(t[i]),l=Math.floor(t[i+1]);if(c<-1||c>n||l<-1||l>o)throw new r.a;a=!1,-1===c?(t[i]=0,a=!0):c===n&&(t[i]=n-1,a=!0),-1===l?(t[i+1]=0,a=!0):l===o&&(t[i+1]=o-1,a=!0)}a=!0;for(var i=t.length-2;i>=0&&a;i-=2){var c=Math.floor(t[i]),l=Math.floor(t[i+1]);if(c<-1||c>n||l<-1||l>o)throw new r.a;a=!1,-1===c?(t[i]=0,a=!0):c===n&&(t[i]=n-1,a=!0),-1===l?(t[i+1]=0,a=!0):l===o&&(t[i+1]=o-1,a=!0)}},e}();t.a=o},function(e,t,n){"use strict";var r=n(15),o=n(38),a=n(27),i=n(12),c=n(8),l=n(32),u=n(16),s=n(36),d=(f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f,h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.findStartPattern=function(e){for(var n=e.getSize(),r=e.getNextSet(0),o=0,a=Int32Array.from([0,0,0,0,0,0]),i=r,l=!1,u=6,d=r;d<n;d++)if(e.get(d)!==l)a[o]++;else{if(5===o){for(var f=t.MAX_AVG_VARIANCE,h=-1,p=t.CODE_START_A;p<=t.CODE_START_C;p++){var v=s.a.patternMatchVariance(a,t.CODE_PATTERNS[p],t.MAX_INDIVIDUAL_VARIANCE);v<f&&(f=v,h=p)}if(h>=0&&e.isRange(Math.max(0,i-(d-i)/2),i,!1))return Int32Array.from([i,d,h]);i+=a[0]+a[1],(a=a.slice(2,a.length))[o-1]=0,a[o]=0,o--}else o++;a[o]=1,l=!l}throw new c.a},t.decodeCode=function(e,n,r){s.a.recordPattern(e,r,n);for(var o=t.MAX_AVG_VARIANCE,a=-1,i=0;i<t.CODE_PATTERNS.length;i++){var l=t.CODE_PATTERNS[i],u=this.patternMatchVariance(n,l,t.MAX_INDIVIDUAL_VARIANCE);u<o&&(o=u,a=i)}if(a>=0)return a;throw new c.a},t.prototype.decodeRow=function(e,n,s){var d=s&&!0===s.get(a.a.ASSUME_GS1),f=t.findStartPattern(n),h=f[2],p=0,v=new Uint8Array(20),m;switch(v[p++]=h,h){case t.CODE_START_A:m=t.CODE_CODE_A;break;case t.CODE_START_B:m=t.CODE_CODE_B;break;case t.CODE_START_C:m=t.CODE_CODE_C;break;default:throw new i.a}for(var g=!1,b=!1,y="",w=f[0],O=f[1],M=Int32Array.from([0,0,0,0,0,0]),A=0,j=0,x=h,S=0,E=!0,C=!1,T=!1;!g;){var D=b;switch(b=!1,A=j,j=t.decodeCode(n,M,O),v[p++]=j,j!==t.CODE_STOP&&(E=!0),j!==t.CODE_STOP&&(x+=++S*j),w=O,O+=M.reduce((function(e,t){return e+t}),0),j){case t.CODE_START_A:case t.CODE_START_B:case t.CODE_START_C:throw new i.a}switch(m){case t.CODE_CODE_A:if(j<64)y+=T===C?String.fromCharCode(" ".charCodeAt(0)+j):String.fromCharCode(" ".charCodeAt(0)+j+128),T=!1;else if(j<96)y+=T===C?String.fromCharCode(j-64):String.fromCharCode(j+64),T=!1;else switch(j!==t.CODE_STOP&&(E=!1),j){case t.CODE_FNC_1:d&&(0===y.length?y+="]C1":y+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_A:!C&&T?(C=!0,T=!1):C&&T?(C=!1,T=!1):T=!0;break;case t.CODE_SHIFT:b=!0,m=t.CODE_CODE_B;break;case t.CODE_CODE_B:m=t.CODE_CODE_B;break;case t.CODE_CODE_C:m=t.CODE_CODE_C;break;case t.CODE_STOP:g=!0}break;case t.CODE_CODE_B:if(j<96)y+=T===C?String.fromCharCode(" ".charCodeAt(0)+j):String.fromCharCode(" ".charCodeAt(0)+j+128),T=!1;else switch(j!==t.CODE_STOP&&(E=!1),j){case t.CODE_FNC_1:d&&(0===y.length?y+="]C1":y+=String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_B:!C&&T?(C=!0,T=!1):C&&T?(C=!1,T=!1):T=!0;break;case t.CODE_SHIFT:b=!0,m=t.CODE_CODE_A;break;case t.CODE_CODE_A:m=t.CODE_CODE_A;break;case t.CODE_CODE_C:m=t.CODE_CODE_C;break;case t.CODE_STOP:g=!0}break;case t.CODE_CODE_C:if(j<100)j<10&&(y+="0"),y+=j;else switch(j!==t.CODE_STOP&&(E=!1),j){case t.CODE_FNC_1:d&&(0===y.length?y+="]C1":y+=String.fromCharCode(29));break;case t.CODE_CODE_A:m=t.CODE_CODE_A;break;case t.CODE_CODE_B:m=t.CODE_CODE_B;break;case t.CODE_STOP:g=!0}}D&&(m=m===t.CODE_CODE_A?t.CODE_CODE_B:t.CODE_CODE_A)}var _=O-w;if(O=n.getNextUnset(O),!n.isRange(O,Math.min(n.getSize(),O+(O-w)/2),!1))throw new c.a;if((x-=S*A)%103!==A)throw new o.a;var z=y.length;if(0===z)throw new c.a;z>0&&E&&(y=m===t.CODE_CODE_C?y.substring(0,z-2):y.substring(0,z-1));for(var I=(f[1]+f[0])/2,P=w+_/2,N=v.length,k=new Uint8Array(N),R=0;R<N;R++)k[R]=v[R];var L=[new u.a(I,e),new u.a(P,e)];return new l.a(y,k,0,L,r.a.CODE_128,(new Date).getTime())},t.CODE_PATTERNS=[Int32Array.from([2,1,2,2,2,2]),Int32Array.from([2,2,2,1,2,2]),Int32Array.from([2,2,2,2,2,1]),Int32Array.from([1,2,1,2,2,3]),Int32Array.from([1,2,1,3,2,2]),Int32Array.from([1,3,1,2,2,2]),Int32Array.from([1,2,2,2,1,3]),Int32Array.from([1,2,2,3,1,2]),Int32Array.from([1,3,2,2,1,2]),Int32Array.from([2,2,1,2,1,3]),Int32Array.from([2,2,1,3,1,2]),Int32Array.from([2,3,1,2,1,2]),Int32Array.from([1,1,2,2,3,2]),Int32Array.from([1,2,2,1,3,2]),Int32Array.from([1,2,2,2,3,1]),Int32Array.from([1,1,3,2,2,2]),Int32Array.from([1,2,3,1,2,2]),Int32Array.from([1,2,3,2,2,1]),Int32Array.from([2,2,3,2,1,1]),Int32Array.from([2,2,1,1,3,2]),Int32Array.from([2,2,1,2,3,1]),Int32Array.from([2,1,3,2,1,2]),Int32Array.from([2,2,3,1,1,2]),Int32Array.from([3,1,2,1,3,1]),Int32Array.from([3,1,1,2,2,2]),Int32Array.from([3,2,1,1,2,2]),Int32Array.from([3,2,1,2,2,1]),Int32Array.from([3,1,2,2,1,2]),Int32Array.from([3,2,2,1,1,2]),Int32Array.from([3,2,2,2,1,1]),Int32Array.from([2,1,2,1,2,3]),Int32Array.from([2,1,2,3,2,1]),Int32Array.from([2,3,2,1,2,1]),Int32Array.from([1,1,1,3,2,3]),Int32Array.from([1,3,1,1,2,3]),Int32Array.from([1,3,1,3,2,1]),Int32Array.from([1,1,2,3,1,3]),Int32Array.from([1,3,2,1,1,3]),Int32Array.from([1,3,2,3,1,1]),Int32Array.from([2,1,1,3,1,3]),Int32Array.from([2,3,1,1,1,3]),Int32Array.from([2,3,1,3,1,1]),Int32Array.from([1,1,2,1,3,3]),Int32Array.from([1,1,2,3,3,1]),Int32Array.from([1,3,2,1,3,1]),Int32Array.from([1,1,3,1,2,3]),Int32Array.from([1,1,3,3,2,1]),Int32Array.from([1,3,3,1,2,1]),Int32Array.from([3,1,3,1,2,1]),Int32Array.from([2,1,1,3,3,1]),Int32Array.from([2,3,1,1,3,1]),Int32Array.from([2,1,3,1,1,3]),Int32Array.from([2,1,3,3,1,1]),Int32Array.from([2,1,3,1,3,1]),Int32Array.from([3,1,1,1,2,3]),Int32Array.from([3,1,1,3,2,1]),Int32Array.from([3,3,1,1,2,1]),Int32Array.from([3,1,2,1,1,3]),Int32Array.from([3,1,2,3,1,1]),Int32Array.from([3,3,2,1,1,1]),Int32Array.from([3,1,4,1,1,1]),Int32Array.from([2,2,1,4,1,1]),Int32Array.from([4,3,1,1,1,1]),Int32Array.from([1,1,1,2,2,4]),Int32Array.from([1,1,1,4,2,2]),Int32Array.from([1,2,1,1,2,4]),Int32Array.from([1,2,1,4,2,1]),Int32Array.from([1,4,1,1,2,2]),Int32Array.from([1,4,1,2,2,1]),Int32Array.from([1,1,2,2,1,4]),Int32Array.from([1,1,2,4,1,2]),Int32Array.from([1,2,2,1,1,4]),Int32Array.from([1,2,2,4,1,1]),Int32Array.from([1,4,2,1,1,2]),Int32Array.from([1,4,2,2,1,1]),Int32Array.from([2,4,1,2,1,1]),Int32Array.from([2,2,1,1,1,4]),Int32Array.from([4,1,3,1,1,1]),Int32Array.from([2,4,1,1,1,2]),Int32Array.from([1,3,4,1,1,1]),Int32Array.from([1,1,1,2,4,2]),Int32Array.from([1,2,1,1,4,2]),Int32Array.from([1,2,1,2,4,1]),Int32Array.from([1,1,4,2,1,2]),Int32Array.from([1,2,4,1,1,2]),Int32Array.from([1,2,4,2,1,1]),Int32Array.from([4,1,1,2,1,2]),Int32Array.from([4,2,1,1,1,2]),Int32Array.from([4,2,1,2,1,1]),Int32Array.from([2,1,2,1,4,1]),Int32Array.from([2,1,4,1,2,1]),Int32Array.from([4,1,2,1,2,1]),Int32Array.from([1,1,1,1,4,3]),Int32Array.from([1,1,1,3,4,1]),Int32Array.from([1,3,1,1,4,1]),Int32Array.from([1,1,4,1,1,3]),Int32Array.from([1,1,4,3,1,1]),Int32Array.from([4,1,1,1,1,3]),Int32Array.from([4,1,1,3,1,1]),Int32Array.from([1,1,3,1,4,1]),Int32Array.from([1,1,4,1,3,1]),Int32Array.from([3,1,1,1,4,1]),Int32Array.from([4,1,1,1,3,1]),Int32Array.from([2,1,1,4,1,2]),Int32Array.from([2,1,1,2,1,4]),Int32Array.from([2,1,1,2,3,2]),Int32Array.from([2,3,3,1,1,1,2])],t.MAX_AVG_VARIANCE=.25,t.MAX_INDIVIDUAL_VARIANCE=.7,t.CODE_SHIFT=98,t.CODE_CODE_C=99,t.CODE_CODE_B=100,t.CODE_CODE_A=101,t.CODE_FNC_1=102,t.CODE_FNC_2=97,t.CODE_FNC_3=96,t.CODE_FNC_4_A=101,t.CODE_FNC_4_B=100,t.CODE_START_A=103,t.CODE_START_B=104,t.CODE_START_C=105,t.CODE_STOP=106,t}(s.a);t.a=h},function(e,t,n){"use strict";var r=n(15),o=n(38),a=n(12),i=n(8),c=n(36),l=n(32),u=n(16),s=(d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d,f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(e){function t(t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.call(this)||this;return r.usingCheckDigit=t,r.extendedMode=n,r.decodeRowResult="",r.counters=new Int32Array(9),r}return s(t,e),t.prototype.decodeRow=function(e,n,a){var c,s,d,h,p=this.counters;p.fill(0),this.decodeRowResult="";var v=t.findAsteriskPattern(n,p),m=n.getNextSet(v[1]),g=n.getSize(),b,y;do{t.recordPattern(n,m,p);var w=t.toNarrowWidePattern(p);if(w<0)throw new i.a;b=t.patternToChar(w),this.decodeRowResult+=b,y=m;try{for(var O=(c=void 0,f(p)),M=O.next();!M.done;M=O.next()){var A;m+=A=M.value}}catch(e){c={error:e}}finally{try{M&&!M.done&&(s=O.return)&&s.call(O)}finally{if(c)throw c.error}}m=n.getNextSet(m)}while("*"!==b);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var j=0,x,S;try{for(var E=f(p),C=E.next();!C.done;C=E.next()){var A;j+=A=C.value}}catch(e){d={error:e}}finally{try{C&&!C.done&&(h=E.return)&&h.call(E)}finally{if(d)throw d.error}}if(m!==g&&2*(m-y-j)<j)throw new i.a;if(this.usingCheckDigit){for(var T=this.decodeRowResult.length-1,D=0,_=0;_<T;_++)D+=t.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(_));if(this.decodeRowResult.charAt(T)!==t.ALPHABET_STRING.charAt(D%43))throw new o.a;this.decodeRowResult=this.decodeRowResult.substring(0,T)}if(0===this.decodeRowResult.length)throw new i.a;S=this.extendedMode?t.decodeExtended(this.decodeRowResult):this.decodeRowResult;var z=(v[1]+v[0])/2,I=y+j/2;return new l.a(S,null,0,[new u.a(z,e),new u.a(I,e)],r.a.CODE_39,(new Date).getTime())},t.findAsteriskPattern=function(e,n){for(var r=e.getSize(),o=e.getNextSet(0),a=0,c=o,l=!1,u=n.length,s=o;s<r;s++)if(e.get(s)!==l)n[a]++;else{if(a===u-1){if(this.toNarrowWidePattern(n)===t.ASTERISK_ENCODING&&e.isRange(Math.max(0,c-Math.floor((s-c)/2)),c,!1))return[c,s];c+=n[0]+n[1],n.copyWithin(0,2,2+a-1),n[a-1]=0,n[a]=0,a--}else a++;n[a]=1,l=!l}throw new i.a},t.toNarrowWidePattern=function(e){var t,n,r=e.length,o=0,a;do{var i=2147483647;try{for(var c=(t=void 0,f(e)),l=c.next();!l.done;l=c.next()){var u;(u=l.value)<i&&u>o&&(i=u)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}o=i,a=0;for(var s=0,d=0,h=0;h<r;h++){var u;(u=e[h])>o&&(d|=1<<r-1-h,a++,s+=u)}if(3===a){for(var h=0;h<r&&a>0;h++){var u;if((u=e[h])>o&&(a--,2*u>=s))return-1}return d}}while(a>3);return-1},t.patternToChar=function(e){for(var n=0;n<t.CHARACTER_ENCODINGS.length;n++)if(t.CHARACTER_ENCODINGS[n]===e)return t.ALPHABET_STRING.charAt(n);if(e===t.ASTERISK_ENCODING)return"*";throw new i.a},t.decodeExtended=function(e){for(var t=e.length,n="",r=0;r<t;r++){var o=e.charAt(r);if("+"===o||"$"===o||"%"===o||"/"===o){var i=e.charAt(r+1),c="\0";switch(o){case"+":if(!(i>="A"&&i<="Z"))throw new a.a;c=String.fromCharCode(i.charCodeAt(0)+32);break;case"$":if(!(i>="A"&&i<="Z"))throw new a.a;c=String.fromCharCode(i.charCodeAt(0)-64);break;case"%":if(i>="A"&&i<="E")c=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")c=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")c=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")c=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)c="\0";else if("V"===i)c="@";else if("W"===i)c="`";else{if("X"!==i&&"Y"!==i&&"Z"!==i)throw new a.a;c="\x7f"}break;case"/":if(i>="A"&&i<="O")c=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new a.a;c=":"}}n+=c,r++}else n+=o}return n},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",t.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],t.ASTERISK_ENCODING=148,t}(c.a);t.a=h},function(e,t,n){"use strict";var r=n(15),o=n(38),a=n(12),i=n(8),c=n(36),l=n(32),u=n(16),s=(d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d,f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(e){function t(){var t=e.call(this)||this;return t.decodeRowResult="",t.counters=new Int32Array(6),t}return s(t,e),t.prototype.decodeRow=function(e,n,o){var a,c,s,d,h=this.findAsteriskPattern(n),p=n.getNextSet(h[1]),v=n.getSize(),m=this.counters,g,b;m.fill(0),this.decodeRowResult="";do{t.recordPattern(n,p,m);var y=this.toPattern(m);if(y<0)throw new i.a;g=this.patternToChar(y),this.decodeRowResult+=g,b=p;try{for(var w=(a=void 0,f(m)),O=w.next();!O.done;O=w.next()){var M;p+=M=O.value}}catch(e){a={error:e}}finally{try{O&&!O.done&&(c=w.return)&&c.call(w)}finally{if(a)throw a.error}}p=n.getNextSet(p)}while("*"!==g);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var A=0;try{for(var j=f(m),x=j.next();!x.done;x=j.next()){var M;A+=M=x.value}}catch(e){s={error:e}}finally{try{x&&!x.done&&(d=j.return)&&d.call(j)}finally{if(s)throw s.error}}if(p===v||!n.get(p))throw new i.a;if(this.decodeRowResult.length<2)throw new i.a;this.checkChecksums(this.decodeRowResult),this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-2);var S=this.decodeExtended(this.decodeRowResult),E=(h[1]+h[0])/2,C=b+A/2;return new l.a(S,null,0,[new u.a(E,e),new u.a(C,e)],r.a.CODE_93,(new Date).getTime())},t.prototype.findAsteriskPattern=function(e){var n=e.getSize(),r=e.getNextSet(0);this.counters.fill(0);for(var o=this.counters,a=r,c=!1,l=o.length,u=0,s=r;s<n;s++)if(e.get(s)!==c)o[u]++;else{if(u===l-1){if(this.toPattern(o)===t.ASTERISK_ENCODING)return new Int32Array([a,s]);a+=o[0]+o[1],o.copyWithin(0,2,2+u-1),o[u-1]=0,o[u]=0,u--}else u++;o[u]=1,c=!c}throw new i.a},t.prototype.toPattern=function(e){var t,n,r=0;try{for(var o=f(e),a=o.next();!a.done;a=o.next()){var i;r+=a.value}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}for(var c=0,l=e.length,u=0;u<l;u++){var s=Math.round(9*e[u]/r);if(s<1||s>4)return-1;if(0==(1&u))for(var d=0;d<s;d++)c=c<<1|1;else c<<=s}return c},t.prototype.patternToChar=function(e){for(var n=0;n<t.CHARACTER_ENCODINGS.length;n++)if(t.CHARACTER_ENCODINGS[n]===e)return t.ALPHABET_STRING.charAt(n);throw new i.a},t.prototype.decodeExtended=function(e){for(var t=e.length,n="",r=0;r<t;r++){var o=e.charAt(r);if(o>="a"&&o<="d"){if(r>=t-1)throw new a.a;var i=e.charAt(r+1),c="\0";switch(o){case"d":if(!(i>="A"&&i<="Z"))throw new a.a;c=String.fromCharCode(i.charCodeAt(0)+32);break;case"a":if(!(i>="A"&&i<="Z"))throw new a.a;c=String.fromCharCode(i.charCodeAt(0)-64);break;case"b":if(i>="A"&&i<="E")c=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")c=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")c=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")c=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)c="\0";else if("V"===i)c="@";else if("W"===i)c="`";else{if(!(i>="X"&&i<="Z"))throw new a.a;c=String.fromCharCode(127)}break;case"c":if(i>="A"&&i<="O")c=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new a.a;c=":"}}n+=c,r++}else n+=o}return n},t.prototype.checkChecksums=function(e){var t=e.length;this.checkOneChecksum(e,t-2,20),this.checkOneChecksum(e,t-1,15)},t.prototype.checkOneChecksum=function(e,n,r){for(var a=1,i=0,c=n-1;c>=0;c--)i+=a*t.ALPHABET_STRING.indexOf(e.charAt(c)),++a>r&&(a=1);if(e.charAt(n)!==t.ALPHABET_STRING[i%47])throw new o.a},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",t.CHARACTER_ENCODINGS=[276,328,324,322,296,292,290,336,274,266,424,420,418,404,402,394,360,356,354,308,282,344,332,326,300,278,436,434,428,422,406,410,364,358,310,314,302,468,466,458,366,374,430,294,474,470,306,350],t.ASTERISK_ENCODING=t.CHARACTER_ENCODINGS[47],t}(c.a);t.a=h},function(e,t,n){"use strict";var r=n(15),o=n(27),a=n(12),i=n(8),c=n(32),l=n(16),u=n(18),s=n(24),d=n(36),f=(h=function(e,t){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h,p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.narrowLineWidth=-1,t}return f(t,e),t.prototype.decodeRow=function(e,n,i){var s,d,f=this.decodeStart(n),h=this.decodeEnd(n),v=new u.a;t.decodeMiddle(n,f[1],h[0],v);var m=v.toString(),g=null;null!=i&&(g=i.get(o.a.ALLOWED_LENGTHS)),null==g&&(g=t.DEFAULT_ALLOWED_LENGTHS);var b=m.length,y=!1,w=0;try{for(var O=p(g),M=O.next();!M.done;M=O.next()){var A=M.value;if(b===A){y=!0;break}A>w&&(w=A)}}catch(e){s={error:e}}finally{try{M&&!M.done&&(d=O.return)&&d.call(O)}finally{if(s)throw s.error}}if(!y&&b>w&&(y=!0),!y)throw new a.a;var j=[new l.a(f[1],e),new l.a(h[0],e)],x;return new c.a(m,null,0,j,r.a.ITF,(new Date).getTime())},t.decodeMiddle=function(e,n,r,o){var a=new Int32Array(10),i=new Int32Array(5),c=new Int32Array(5);for(a.fill(0),i.fill(0),c.fill(0);n<r;){d.a.recordPattern(e,n,a);for(var l=0;l<5;l++){var u=2*l;i[l]=a[u],c[l]=a[u+1]}var s=t.decodeDigit(i);o.append(s.toString()),s=this.decodeDigit(c),o.append(s.toString()),a.forEach((function(e){n+=e}))}},t.prototype.decodeStart=function(e){var n=t.skipWhiteSpace(e),r=t.findGuardPattern(e,n,t.START_PATTERN);return this.narrowLineWidth=(r[1]-r[0])/4,this.validateQuietZone(e,r[0]),r},t.prototype.validateQuietZone=function(e,t){var n=10*this.narrowLineWidth;n=n<t?n:t;for(var r=t-1;n>0&&r>=0&&!e.get(r);r--)n--;if(0!==n)throw new i.a},t.skipWhiteSpace=function(e){var t=e.getSize(),n=e.getNextSet(0);if(n===t)throw new i.a;return n},t.prototype.decodeEnd=function(e){e.reverse();try{var n=t.skipWhiteSpace(e),r=void 0;try{r=t.findGuardPattern(e,n,t.END_PATTERN_REVERSED[0])}catch(o){o instanceof i.a&&(r=t.findGuardPattern(e,n,t.END_PATTERN_REVERSED[1]))}this.validateQuietZone(e,r[0]);var o=r[0];return r[0]=e.getSize()-r[1],r[1]=e.getSize()-o,r}finally{e.reverse()}},t.findGuardPattern=function(e,n,r){var o=r.length,a=new Int32Array(o),c=e.getSize(),l=!1,u=0,f=n;a.fill(0);for(var h=n;h<c;h++)if(e.get(h)!==l)a[u]++;else{if(u===o-1){if(d.a.patternMatchVariance(a,r,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return[f,h];f+=a[0]+a[1],s.a.arraycopy(a,2,a,0,u-1),a[u-1]=0,a[u]=0,u--}else u++;a[u]=1,l=!l}throw new i.a},t.decodeDigit=function(e){for(var n=t.MAX_AVG_VARIANCE,r=-1,o=t.PATTERNS.length,a=0;a<o;a++){var c=t.PATTERNS[a],l=d.a.patternMatchVariance(e,c,t.MAX_INDIVIDUAL_VARIANCE);l<n?(n=l,r=a):l===n&&(r=-1)}if(r>=0)return r%10;throw new i.a},t.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],t.MAX_AVG_VARIANCE=.38,t.MAX_INDIVIDUAL_VARIANCE=.5,t.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],t.START_PATTERN=Int32Array.from([1,1,1,1]),t.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],t}(d.a);t.a=v},function(e,t,n){"use strict";var r;!function(e){e[e.DATA_MASK_000=0]="DATA_MASK_000",e[e.DATA_MASK_001=1]="DATA_MASK_001",e[e.DATA_MASK_010=2]="DATA_MASK_010",e[e.DATA_MASK_011=3]="DATA_MASK_011",e[e.DATA_MASK_100=4]="DATA_MASK_100",e[e.DATA_MASK_101=5]="DATA_MASK_101",e[e.DATA_MASK_110=6]="DATA_MASK_110",e[e.DATA_MASK_111=7]="DATA_MASK_111"}(r||(r={}));var o=function(){function e(e,t){this.value=e,this.isMasked=t}return e.prototype.unmaskBitMatrix=function(e,t){for(var n=0;n<t;n++)for(var r=0;r<t;r++)this.isMasked(n,r)&&e.flip(r,n)},e.values=new Map([[r.DATA_MASK_000,new e(r.DATA_MASK_000,(function(e,t){return 0==(e+t&1)}))],[r.DATA_MASK_001,new e(r.DATA_MASK_001,(function(e,t){return 0==(1&e)}))],[r.DATA_MASK_010,new e(r.DATA_MASK_010,(function(e,t){return t%3==0}))],[r.DATA_MASK_011,new e(r.DATA_MASK_011,(function(e,t){return(e+t)%3==0}))],[r.DATA_MASK_100,new e(r.DATA_MASK_100,(function(e,t){return 0==(Math.floor(e/2)+Math.floor(t/3)&1)}))],[r.DATA_MASK_101,new e(r.DATA_MASK_101,(function(e,t){return e*t%6==0}))],[r.DATA_MASK_110,new e(r.DATA_MASK_110,(function(e,t){return e*t%6<3}))],[r.DATA_MASK_111,new e(r.DATA_MASK_111,(function(e,t){return 0==(e+t+e*t%3&1)}))]]),e}();t.a=o},function(e,t,n){"use strict";var r=n(37),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ReaderException",t}(r.a);t.a=i},function(e,t,n){"use strict";var r=n(42),o=n(19),a=n(98),i=n(77),c=n(40),l=n(14),u=function(){function e(){}return e.clearMatrix=function(e){e.clear(255)},e.buildMatrix=function(t,n,r,o,a){e.clearMatrix(a),e.embedBasicPatterns(r,a),e.embedTypeInfo(n,o,a),e.maybeEmbedVersionInfo(r,a),e.embedDataBits(t,o,a)},e.embedBasicPatterns=function(t,n){e.embedPositionDetectionPatternsAndSeparators(n),e.embedDarkDotAtLeftBottomCorner(n),e.maybeEmbedPositionAdjustmentPatterns(t,n),e.embedTimingPatterns(n)},e.embedTypeInfo=function(t,n,o){var a=new r.a;e.makeTypeInfoBits(t,n,a);for(var i=0,c=a.getSize();i<c;++i){var l=a.get(a.getSize()-1-i),u=e.TYPE_INFO_COORDINATES[i],s=u[0],d=u[1];if(o.setBoolean(s,d,l),i<8){var f=o.getWidth()-i-1,h=8;o.setBoolean(f,h,l)}else{var f=8,h=o.getHeight()-7+(i-8);o.setBoolean(f,h,l)}}},e.maybeEmbedVersionInfo=function(t,n){if(!(t.getVersionNumber()<7)){var o=new r.a;e.makeVersionInfoBits(t,o);for(var a=17,i=0;i<6;++i)for(var c=0;c<3;++c){var l=o.get(a);a--,n.setBoolean(i,n.getHeight()-11+c,l),n.setBoolean(n.getHeight()-11+c,i,l)}}},e.embedDataBits=function(t,n,r){for(var o=0,a=-1,l=r.getWidth()-1,u=r.getHeight()-1;l>0;){for(6===l&&(l-=1);u>=0&&u<r.getHeight();){for(var s=0;s<2;++s){var d=l-s;if(e.isEmpty(r.get(d,u))){var f=void 0;o<t.getSize()?(f=t.get(o),++o):f=!1,255!==n&&i.a.getDataMaskBit(n,d,u)&&(f=!f),r.setBoolean(d,u,f)}}u+=a}u+=a=-a,l-=2}if(o!==t.getSize())throw new c.a("Not all bits consumed: "+o+"/"+t.getSize())},e.findMSBSet=function(e){return 32-o.a.numberOfLeadingZeros(e)},e.calculateBCHCode=function(t,n){if(0===n)throw new l.a("0 polynomial");var r=e.findMSBSet(n);for(t<<=r-1;e.findMSBSet(t)>=r;)t^=n<<e.findMSBSet(t)-r;return t},e.makeTypeInfoBits=function(t,n,o){if(!a.a.isValidMaskPattern(n))throw new c.a("Invalid mask pattern");var i=t.getBits()<<3|n;o.appendBits(i,5);var l=e.calculateBCHCode(i,e.TYPE_INFO_POLY);o.appendBits(l,10);var u=new r.a;if(u.appendBits(e.TYPE_INFO_MASK_PATTERN,15),o.xor(u),15!==o.getSize())throw new c.a("should not happen but we got: "+o.getSize())},e.makeVersionInfoBits=function(t,n){n.appendBits(t.getVersionNumber(),6);var r=e.calculateBCHCode(t.getVersionNumber(),e.VERSION_INFO_POLY);if(n.appendBits(r,12),18!==n.getSize())throw new c.a("should not happen but we got: "+n.getSize())},e.isEmpty=function(e){return 255===e},e.embedTimingPatterns=function(t){for(var n=8;n<t.getWidth()-8;++n){var r=(n+1)%2;e.isEmpty(t.get(n,6))&&t.setNumber(n,6,r),e.isEmpty(t.get(6,n))&&t.setNumber(6,n,r)}},e.embedDarkDotAtLeftBottomCorner=function(e){if(0===e.get(8,e.getHeight()-8))throw new c.a;e.setNumber(8,e.getHeight()-8,1)},e.embedHorizontalSeparationPattern=function(t,n,r){for(var o=0;o<8;++o){if(!e.isEmpty(r.get(t+o,n)))throw new c.a;r.setNumber(t+o,n,0)}},e.embedVerticalSeparationPattern=function(t,n,r){for(var o=0;o<7;++o){if(!e.isEmpty(r.get(t,n+o)))throw new c.a;r.setNumber(t,n+o,0)}},e.embedPositionAdjustmentPattern=function(t,n,r){for(var o=0;o<5;++o)for(var a=e.POSITION_ADJUSTMENT_PATTERN[o],i=0;i<5;++i)r.setNumber(t+i,n+o,a[i])},e.embedPositionDetectionPattern=function(t,n,r){for(var o=0;o<7;++o)for(var a=e.POSITION_DETECTION_PATTERN[o],i=0;i<7;++i)r.setNumber(t+i,n+o,a[i])},e.embedPositionDetectionPatternsAndSeparators=function(t){var n=e.POSITION_DETECTION_PATTERN[0].length;e.embedPositionDetectionPattern(0,0,t),e.embedPositionDetectionPattern(t.getWidth()-n,0,t),e.embedPositionDetectionPattern(0,t.getWidth()-n,t);var r=8;e.embedHorizontalSeparationPattern(0,7,t),e.embedHorizontalSeparationPattern(t.getWidth()-8,7,t),e.embedHorizontalSeparationPattern(0,t.getWidth()-8,t);var o=7;e.embedVerticalSeparationPattern(7,0,t),e.embedVerticalSeparationPattern(t.getHeight()-7-1,0,t),e.embedVerticalSeparationPattern(7,t.getHeight()-7,t)},e.maybeEmbedPositionAdjustmentPatterns=function(t,n){if(!(t.getVersionNumber()<2))for(var r=t.getVersionNumber()-1,o=e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[r],a=0,i=o.length;a!==i;a++){var c=o[a];if(c>=0)for(var l=0;l!==i;l++){var u=o[l];u>=0&&e.isEmpty(n.get(u,c))&&e.embedPositionAdjustmentPattern(u-2,c-2,n)}}},e.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),e.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),e.VERSION_INFO_POLY=7973,e.TYPE_INFO_POLY=1335,e.TYPE_INFO_MASK_PATTERN=21522,e}();t.a=u},function(e,t,n){"use strict";var r=n(80),o=n(105),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i,c,l=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.count=0,o.finderPattern=r,o}return a(t,e),t.prototype.getFinderPattern=function(){return this.finderPattern},t.prototype.getCount=function(){return this.count},t.prototype.incrementCount=function(){this.count++},t}(o.a),u=n(32),s=n(27),d=n(8),f=n(18),h=n(15),p=n(16),v=n(198),m=n(25),g=n(91),b=n(24),y=n(36),w=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.possibleLeftPairs=[],t.possibleRightPairs=[],t}return w(t,e),t.prototype.decodeRow=function(e,n,r){var o,a,i,c,l=this.decodePair(n,!1,e,r);t.addOrTally(this.possibleLeftPairs,l),n.reverse();var u=this.decodePair(n,!0,e,r);t.addOrTally(this.possibleRightPairs,u),n.reverse();try{for(var s=O(this.possibleLeftPairs),f=s.next();!f.done;f=s.next()){var h=f.value;if(h.getCount()>1)try{for(var p=(i=void 0,O(this.possibleRightPairs)),v=p.next();!v.done;v=p.next()){var m=v.value;if(m.getCount()>1&&t.checkChecksum(h,m))return t.constructResult(h,m)}}catch(e){i={error:e}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(i)throw i.error}}}}catch(e){o={error:e}}finally{try{f&&!f.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}throw new d.a},t.addOrTally=function(e,t){var n,r;if(null!=t){var o=!1;try{for(var a=O(e),i=a.next();!i.done;i=a.next()){var c=i.value;if(c.getValue()===t.getValue()){c.incrementCount(),o=!0;break}}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}o||e.push(t)}},t.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},t.constructResult=function(e,t){for(var n=4537077*e.getValue()+t.getValue(),r=new String(n).toString(),o=new f.a,a=13-r.length;a>0;a--)o.append("0");o.append(r);for(var i=0,a=0;a<13;a++){var c=o.charAt(a).charCodeAt(0)-"0".charCodeAt(0);i+=0==(1&a)?3*c:c}10===(i=10-i%10)&&(i=0),o.append(i.toString());var l=e.getFinderPattern().getResultPoints(),s=t.getFinderPattern().getResultPoints();return new u.a(o.toString(),null,0,[l[0],l[1],s[0],s[1]],h.a.RSS_14,(new Date).getTime())},t.checkChecksum=function(e,t){var n=(e.getChecksumPortion()+16*t.getChecksumPortion())%79,r=9*e.getFinderPattern().getValue()+t.getFinderPattern().getValue();return r>72&&r--,r>8&&r--,n===r},t.prototype.decodePair=function(e,t,n,r){try{var o=this.findFinderPattern(e,t),a=this.parseFoundFinderPattern(e,n,t,o),i=null==r?null:r.get(s.a.NEED_RESULT_POINT_CALLBACK);if(null!=i){var c=(o[0]+o[1])/2;t&&(c=e.getSize()-1-c),i.foundPossibleResultPoint(new p.a(c,n))}var u=this.decodeDataCharacter(e,a,!0),d=this.decodeDataCharacter(e,a,!1);return new l(1597*u.getValue()+d.getValue(),u.getChecksumPortion()+4*d.getChecksumPortion(),a)}catch(e){return null}},t.prototype.decodeDataCharacter=function(e,n,r){for(var a=this.getDataCharacterCounters(),i=0;i<a.length;i++)a[i]=0;if(r)y.a.recordPatternInReverse(e,n.getStartEnd()[0],a);else{y.a.recordPattern(e,n.getStartEnd()[1]+1,a);for(var c=0,l=a.length-1;c<l;c++,l--){var u=a[c];a[c]=a[l],a[l]=u}}for(var s=r?16:15,f=m.a.sum(new Int32Array(a))/s,h=this.getOddCounts(),p=this.getEvenCounts(),v=this.getOddRoundingErrors(),b=this.getEvenRoundingErrors(),c=0;c<a.length;c++){var w=a[c]/f,O=Math.floor(w+.5);O<1?O=1:O>8&&(O=8);var M=Math.floor(c/2);0==(1&c)?(h[M]=O,v[M]=w-O):(p[M]=O,b[M]=w-O)}this.adjustOddEvenCounts(r,s);for(var A=0,j=0,c=h.length-1;c>=0;c--)j*=9,j+=h[c],A+=h[c];for(var x=0,S=0,c=p.length-1;c>=0;c--)x*=9,x+=p[c],S+=p[c];var E=j+3*x;if(r){if(0!=(1&A)||A>12||A<4)throw new d.a;var C=(12-A)/2,T,D=9-(T=t.OUTSIDE_ODD_WIDEST[C]),_=g.a.getRSSvalue(h,T,!1),z=g.a.getRSSvalue(p,D,!0),I=t.OUTSIDE_EVEN_TOTAL_SUBSET[C],P=t.OUTSIDE_GSUM[C];return new o.a(_*I+z+P,E)}if(0!=(1&S)||S>10||S<4)throw new d.a;var C=(10-S)/2,T,D=9-(T=t.INSIDE_ODD_WIDEST[C]),_=g.a.getRSSvalue(h,T,!0),z=g.a.getRSSvalue(p,D,!1),N=t.INSIDE_ODD_TOTAL_SUBSET[C],P=t.INSIDE_GSUM[C];return new o.a(z*N+_+P,E)},t.prototype.findFinderPattern=function(e,t){var n=this.getDecodeFinderCounters();n[0]=0,n[1]=0,n[2]=0,n[3]=0;for(var o=e.getSize(),a=!1,i=0;i<o&&t!==(a=!e.get(i));)i++;for(var c=0,l=i,u=i;u<o;u++)if(e.get(u)!==a)n[c]++;else{if(3===c){if(r.a.isFinderPattern(n))return[l,u];l+=n[0]+n[1],n[0]=n[2],n[1]=n[3],n[2]=0,n[3]=0,c--}else c++;n[c]=1,a=!a}throw new d.a},t.prototype.parseFoundFinderPattern=function(e,n,r,o){for(var a=e.get(o[0]),i=o[0]-1;i>=0&&a!==e.get(i);)i--;i++;var c=o[0]-i,l=this.getDecodeFinderCounters(),u=new Int32Array(l.length);b.a.arraycopy(l,0,u,1,l.length-1),u[0]=c;var s=this.parseFinderValue(u,t.FINDER_PATTERNS),d=i,f=o[1];return r&&(d=e.getSize()-1-d,f=e.getSize()-1-f),new v.a(s,[i,o[1]],d,f,n)},t.prototype.adjustOddEvenCounts=function(e,t){var n=m.a.sum(new Int32Array(this.getOddCounts())),o=m.a.sum(new Int32Array(this.getEvenCounts())),a=!1,i=!1,c=!1,l=!1;e?(n>12?i=!0:n<4&&(a=!0),o>12?l=!0:o<4&&(c=!0)):(n>11?i=!0:n<5&&(a=!0),o>10?l=!0:o<4&&(c=!0));var u=n+o-t,s=(1&n)==(e?1:0),f=1==(1&o);if(1===u)if(s){if(f)throw new d.a;i=!0}else{if(!f)throw new d.a;l=!0}else if(-1===u)if(s){if(f)throw new d.a;a=!0}else{if(!f)throw new d.a;c=!0}else{if(0!==u)throw new d.a;if(s){if(!f)throw new d.a;n<o?(a=!0,l=!0):(i=!0,c=!0)}else if(f)throw new d.a}if(a){if(i)throw new d.a;r.a.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(i&&r.a.decrement(this.getOddCounts(),this.getOddRoundingErrors()),c){if(l)throw new d.a;r.a.increment(this.getEvenCounts(),this.getOddRoundingErrors())}l&&r.a.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},t.OUTSIDE_EVEN_TOTAL_SUBSET=[1,10,34,70,126],t.INSIDE_ODD_TOTAL_SUBSET=[4,20,48,81],t.OUTSIDE_GSUM=[0,161,961,2015,2715],t.INSIDE_GSUM=[0,336,1036,1516],t.OUTSIDE_ODD_WIDEST=[8,6,4,3,1],t.INSIDE_ODD_WIDEST=[2,4,6,8],t.FINDER_PATTERNS=[Int32Array.from([3,8,2,1]),Int32Array.from([3,5,5,1]),Int32Array.from([3,3,7,1]),Int32Array.from([3,1,9,1]),Int32Array.from([2,7,4,1]),Int32Array.from([2,5,6,1]),Int32Array.from([2,3,8,1]),Int32Array.from([1,5,7,1]),Int32Array.from([1,3,9,1])],t}(r.a),A=t.a=M},function(e,t,n){"use strict";var r=function(){function e(){}return e.floatToIntBits=function(e){return e},e.MAX_VALUE=Number.MAX_SAFE_INTEGER,e}();t.a=r},,,,function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),a=n(65),i=r(n(54)),c=n(322),l=r(n(256)),u=r(n(257));i.default.extend(u.default),i.default.extend(l.default);var s=(0,a.withMomentProps)(o.DatePicker,["defaultPickerValue","defaultValue","showTime.defaultValue","value"]);s.RangePicker=c.RangePicker,s.OldRangePicker=c.OldPisellDateRangePicker,t.default=s},function(e,t,n){"use strict";e.exports=n(379)},function(e,t,n){var r=n(403),o=n(404),a=n(405),i=n(406),c=n(407);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=c,e.exports=l},function(e,t,n){var r=n(260);function o(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}e.exports=o},function(e,t,n){var r,o=n(110)(Object,"create");e.exports=o},function(e,t,n){var r=n(425);function o(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldByType=t.fieldList=t.fieldMaps=void 0;var o=r(n(469)),a=r(n(475)),i=r(n(480)),c=r(n(486)),l=r(n(492)),u=r(n(502)),s=r(n(510)),d=r(n(515)),f=r(n(521)),h=r(n(527)),p=r(n(532)),v=r(n(538));t.fieldMaps={text:u.default,link:a.default,number:i.default,date:o.default,select:l.default,image:s.default,rangePicker:d.default,search:f.default,pSwitch:h.default,numberRange:c.default,treeSelect:p.default,oldRangePicker:v.default},t.fieldList=Object.values(t.fieldMaps).map((function(e){return e.field}));var m=function e(n){return t.fieldMaps[n]};t.getFieldByType=m,t.default={text:u.default,link:a.default,number:i.default,date:o.default,select:l.default,image:s.default,rangePicker:d.default,search:f.default,pSwitch:h.default,numberRange:c.default,treeSelect:p.default,oldRangePicker:v.default}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function e(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return a(t,e),t},c=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FormPagination=t.paginationConfig=void 0;var u=i(n(0)),s=l(n(755)),d=l(n(756)),f=n(11),h=l(n(21));n(581);var p=n(33),v=l(n(278)),m=function e(t,n,r){return"prev"===n?u.default.createElement("div",{className:(0,h.default)("paginator-page-btn","left")},u.default.createElement(d.default,{className:"paginator-page-btn-left-icon"}),u.default.createElement("span",{className:"paginator-page-btn-text"},(0,p.getText)("table-pagination-previous"))):"next"===n?u.default.createElement("div",{className:(0,h.default)("paginator-page-btn","right")},u.default.createElement("span",{className:"paginator-page-btn-text"},(0,p.getText)("table-pagination-next")),u.default.createElement(s.default,{className:"paginator-page-btn-right-icon"})):r};t.paginationConfig={className:"materials-grid-paginator",defaultCurrent:1,showTotal:function e(t,n){return"Page ".concat(n[0]," of ").concat(n[1])},itemRender:m,responsive:!0,size:"small"};var g=function e(n){var o=(0,u.useMemo)((function(){return Object.keys(n).length}),[n]),a=(0,v.default)(),i;return(0,u.useMemo)((function(){if(!o)return null;var e=f.Pagination;return a&&(e=b),u.default.createElement(e,r({},t.paginationConfig,n))}),[o,t.paginationConfig,n,a])};t.default=g;var b=function e(t){var n=t.current,r=void 0===n?1:n,o=t.pageSize,a=void 0===o?10:o,i=t.total,c=void 0===i?0:i,l=(0,u.useMemo)((function(){return Math.ceil(c/a)}),[c,a]),f=(0,u.useMemo)((function(){return 1}),[]),v=function e(n){var o=r;"prev"===n&&(o=r-1),"next"===n&&(o=r+1),t.onChange&&t.onChange(o,a||10)};return u.default.createElement("div",{className:"materials-grid-paginator materials-grid-paginator-mini"},u.default.createElement("div",{className:"pisell-lowcode-pagination-prev",onClick:function e(){r<=f||v("prev")}},u.default.createElement("div",{className:(0,h.default)("paginator-page-btn","left")},u.default.createElement(d.default,{className:"paginator-page-btn-left-icon"}))),u.default.createElement("div",{className:"materials-grid-paginator-center"},u.default.createElement("span",{className:"materials-grid-paginator-center-text"},(0,p.getText)("table-pagination-total")(r,l))),u.default.createElement("div",{className:"pisell-lowcode-pagination-next",onClick:function e(){r>=l||v("next")}},u.default.createElement("div",{className:(0,h.default)("paginator-page-btn","right")},u.default.createElement(s.default,{className:"paginator-page-btn-right-icon"}))))},y=function e(t){var n=t.value,o=void 0===n?{}:n,a=t.onChange,i=t.page,l=t.pageSize,s=c(t,["value","onChange","page","pageSize"]),d=(0,u.useState)(i||1),f=d[0],h=d[1],p=(0,u.useState)(l||10),v=p[0],m=p[1],b=function e(t,n){a&&a({page:n===v?t:1,size:n})};return(0,u.useEffect)((function(){var e=(null==o?void 0:o.page)||i||1,t=(null==o?void 0:o.size)||l||10;h(e),m(t)}),[o,i,l]),u.default.createElement(u.default.Fragment,null,u.default.createElement(g,r({},s,{pageSize:v,current:f,onChange:b,onShowSizeChange:b})))};t.FormPagination=y},function(e,t,n){"use strict";function r(e,t){for(var n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]}function o(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)}function a(e){return"number"==typeof e&&!isNaN(e)}function i(e){return parseInt(e,10)}function c(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))}Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=c,t.findInArray=r,t.int=i,t.isFunction=o,t.isNum=a},function(e,t,n){"use strict";var r=n(34),o=function(){function e(e,t,n){this.codewords=e,this.numcols=t,this.numrows=n,this.bits=new Uint8Array(t*n),r.a.fill(this.bits,2)}return e.prototype.getNumrows=function(){return this.numrows},e.prototype.getNumcols=function(){return this.numcols},e.prototype.getBits=function(){return this.bits},e.prototype.getBit=function(e,t){return 1===this.bits[t*this.numcols+e]},e.prototype.setBit=function(e,t,n){this.bits[t*this.numcols+e]=n?1:0},e.prototype.noBit=function(e,t){return 2===this.bits[t*this.numcols+e]},e.prototype.place=function(){var e=0,t=4,n=0;do{t===this.numrows&&0===n&&this.corner1(e++),t===this.numrows-2&&0===n&&this.numcols%4!=0&&this.corner2(e++),t===this.numrows-2&&0===n&&this.numcols%8==4&&this.corner3(e++),t===this.numrows+4&&2===n&&this.numcols%8==0&&this.corner4(e++);do{t<this.numrows&&n>=0&&this.noBit(n,t)&&this.utah(t,n,e++),t-=2,n+=2}while(t>=0&&n<this.numcols);t++,n+=3;do{t>=0&&n<this.numcols&&this.noBit(n,t)&&this.utah(t,n,e++),t+=2,n-=2}while(t<this.numrows&&n>=0);t+=3,n++}while(t<this.numrows||n<this.numcols);this.noBit(this.numcols-1,this.numrows-1)&&(this.setBit(this.numcols-1,this.numrows-1,!0),this.setBit(this.numcols-2,this.numrows-2,!0))},e.prototype.module=function(e,t,n,r){e<0&&(e+=this.numrows,t+=4-(this.numrows+4)%8),t<0&&(t+=this.numcols,e+=4-(this.numcols+4)%8);var o=this.codewords.charCodeAt(n);o&=1<<8-r,this.setBit(t,e,0!==o)},e.prototype.utah=function(e,t,n){this.module(e-2,t-2,n,1),this.module(e-2,t-1,n,2),this.module(e-1,t-2,n,3),this.module(e-1,t-1,n,4),this.module(e-1,t,n,5),this.module(e,t-2,n,6),this.module(e,t-1,n,7),this.module(e,t,n,8)},e.prototype.corner1=function(e){this.module(this.numrows-1,0,e,1),this.module(this.numrows-1,1,e,2),this.module(this.numrows-1,2,e,3),this.module(0,this.numcols-2,e,4),this.module(0,this.numcols-1,e,5),this.module(1,this.numcols-1,e,6),this.module(2,this.numcols-1,e,7),this.module(3,this.numcols-1,e,8)},e.prototype.corner2=function(e){this.module(this.numrows-3,0,e,1),this.module(this.numrows-2,0,e,2),this.module(this.numrows-1,0,e,3),this.module(0,this.numcols-4,e,4),this.module(0,this.numcols-3,e,5),this.module(0,this.numcols-2,e,6),this.module(0,this.numcols-1,e,7),this.module(1,this.numcols-1,e,8)},e.prototype.corner3=function(e){this.module(this.numrows-3,0,e,1),this.module(this.numrows-2,0,e,2),this.module(this.numrows-1,0,e,3),this.module(0,this.numcols-2,e,4),this.module(0,this.numcols-1,e,5),this.module(1,this.numcols-1,e,6),this.module(2,this.numcols-1,e,7),this.module(3,this.numcols-1,e,8)},e.prototype.corner4=function(e){this.module(this.numrows-1,0,e,1),this.module(this.numrows-1,this.numcols-1,e,2),this.module(0,this.numcols-3,e,3),this.module(0,this.numcols-2,e,4),this.module(0,this.numcols-1,e,5),this.module(1,this.numcols-3,e,6),this.module(1,this.numcols-2,e,7),this.module(1,this.numcols-1,e,8)},e}();t.a=o},function(e,t,n){"use strict";var r=n(18),o=n(10),a=function(){function e(){}return e.encodeECC200=function(e,t){if(e.length!==t.getDataCapacity())throw new Error("The number of codewords does not match the selected symbol");var n=new r.a;n.append(e);var o=t.getInterleavedBlockCount();if(1===o){var a=this.createECCBlock(e,t.getErrorCodewords());n.append(a)}else{for(var i=[],c=[],l=0;l<o;l++)i[l]=t.getDataLengthForInterleavedBlock(l+1),c[l]=t.getErrorLengthForInterleavedBlock(l+1);for(var u=0;u<o;u++){for(var s=new r.a,d=u;d<t.getDataCapacity();d+=o)s.append(e.charAt(d));for(var a=this.createECCBlock(s.toString(),c[u]),f=0,h=u;h<c[u]*o;h+=o)n.setCharAt(t.getDataCapacity()+h,a.charAt(f++))}}return n.toString()},e.createECCBlock=function(e,t){for(var n=-1,r=0;r<o.h.length;r++)if(o.h[r]===t){n=r;break}if(n<0)throw new Error("Illegal number of error correction codewords specified: "+t);for(var a=o.g[n],i=[],r=0;r<t;r++)i[r]=0;for(var r=0;r<e.length;r++){for(var c=i[t-1]^e.charAt(r).charCodeAt(0),l=t-1;l>0;l--)0!==c&&0!==a[l]?i[l]=i[l-1]^o.a[(o.n[c]+o.n[a[l]])%255]:i[l]=i[l-1];0!==c&&0!==a[0]?i[0]=o.a[(o.n[c]+o.n[a[0]])%255]:i[0]=0}for(var u=[],r=0;r<t;r++)u[r]=i[t-r-1];return u.map((function(e){return String.fromCharCode(e)})).join("")},e}();t.a=a},function(e,t,n){var r,o;r=this,o=function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,a=r.Hasher,i=n.algo,c=[];!function(){for(var e=0;e<64;e++)c[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=i.MD5=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var a=this._hash.words,i=e[t+0],l=e[t+1],h=e[t+2],p=e[t+3],v=e[t+4],m=e[t+5],g=e[t+6],b=e[t+7],y=e[t+8],w=e[t+9],O=e[t+10],M=e[t+11],A=e[t+12],j=e[t+13],x=e[t+14],S=e[t+15],E=a[0],C=a[1],T=a[2],D=a[3];E=u(E,C,T,D,i,7,c[0]),D=u(D,E,C,T,l,12,c[1]),T=u(T,D,E,C,h,17,c[2]),C=u(C,T,D,E,p,22,c[3]),E=u(E,C,T,D,v,7,c[4]),D=u(D,E,C,T,m,12,c[5]),T=u(T,D,E,C,g,17,c[6]),C=u(C,T,D,E,b,22,c[7]),E=u(E,C,T,D,y,7,c[8]),D=u(D,E,C,T,w,12,c[9]),T=u(T,D,E,C,O,17,c[10]),C=u(C,T,D,E,M,22,c[11]),E=u(E,C,T,D,A,7,c[12]),D=u(D,E,C,T,j,12,c[13]),T=u(T,D,E,C,x,17,c[14]),E=s(E,C=u(C,T,D,E,S,22,c[15]),T,D,l,5,c[16]),D=s(D,E,C,T,g,9,c[17]),T=s(T,D,E,C,M,14,c[18]),C=s(C,T,D,E,i,20,c[19]),E=s(E,C,T,D,m,5,c[20]),D=s(D,E,C,T,O,9,c[21]),T=s(T,D,E,C,S,14,c[22]),C=s(C,T,D,E,v,20,c[23]),E=s(E,C,T,D,w,5,c[24]),D=s(D,E,C,T,x,9,c[25]),T=s(T,D,E,C,p,14,c[26]),C=s(C,T,D,E,y,20,c[27]),E=s(E,C,T,D,j,5,c[28]),D=s(D,E,C,T,h,9,c[29]),T=s(T,D,E,C,b,14,c[30]),E=d(E,C=s(C,T,D,E,A,20,c[31]),T,D,m,4,c[32]),D=d(D,E,C,T,y,11,c[33]),T=d(T,D,E,C,M,16,c[34]),C=d(C,T,D,E,x,23,c[35]),E=d(E,C,T,D,l,4,c[36]),D=d(D,E,C,T,v,11,c[37]),T=d(T,D,E,C,b,16,c[38]),C=d(C,T,D,E,O,23,c[39]),E=d(E,C,T,D,j,4,c[40]),D=d(D,E,C,T,i,11,c[41]),T=d(T,D,E,C,p,16,c[42]),C=d(C,T,D,E,g,23,c[43]),E=d(E,C,T,D,w,4,c[44]),D=d(D,E,C,T,A,11,c[45]),T=d(T,D,E,C,S,16,c[46]),E=f(E,C=d(C,T,D,E,h,23,c[47]),T,D,i,6,c[48]),D=f(D,E,C,T,b,10,c[49]),T=f(T,D,E,C,x,15,c[50]),C=f(C,T,D,E,m,21,c[51]),E=f(E,C,T,D,A,6,c[52]),D=f(D,E,C,T,p,10,c[53]),T=f(T,D,E,C,O,15,c[54]),C=f(C,T,D,E,l,21,c[55]),E=f(E,C,T,D,y,6,c[56]),D=f(D,E,C,T,S,10,c[57]),T=f(T,D,E,C,g,15,c[58]),C=f(C,T,D,E,j,21,c[59]),E=f(E,C,T,D,v,6,c[60]),D=f(D,E,C,T,M,10,c[61]),T=f(T,D,E,C,h,15,c[62]),C=f(C,T,D,E,w,21,c[63]),a[0]=a[0]+E|0,a[1]=a[1]+C|0,a[2]=a[2]+T|0,a[3]=a[3]+D|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;n[o>>>5]|=128<<24-o%32;var a=t.floor(r/4294967296),i=r;n[15+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),n[14+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),e.sigBytes=4*(n.length+1),this._process();for(var c=this._hash,l=c.words,u=0;u<4;u++){var s=l[u];l[u]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return c},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,r,o,a,i){var c=e+(t&n|~t&r)+o+i;return(c<<a|c>>>32-a)+t}function s(e,t,n,r,o,a,i){var c=e+(t&r|n&~r)+o+i;return(c<<a|c>>>32-a)+t}function d(e,t,n,r,o,a,i){var c=e+(t^n^r)+o+i;return(c<<a|c>>>32-a)+t}function f(e,t,n,r,o,a,i){var c=e+(n^(t|~r))+o+i;return(c<<a|c>>>32-a)+t}n.MD5=a._createHelper(l),n.HmacMD5=a._createHmacHelper(l)}(Math),e.MD5},e.exports=t=o(n(246))},function(e,t,n){var r,o;r=this,o=function(e){return e.enc.Hex},e.exports=t=o(n(246))},function(e,t,n){"use strict";var r=n(14),o=function(){function e(e){if(this.binarizer=e,null===e)throw new r.a("Binarizer must be non-null.")}return e.prototype.getWidth=function(){return this.binarizer.getWidth()},e.prototype.getHeight=function(){return this.binarizer.getHeight()},e.prototype.getBlackRow=function(e,t){return this.binarizer.getBlackRow(e,t)},e.prototype.getBlackMatrix=function(){return null!==this.matrix&&void 0!==this.matrix||(this.matrix=this.binarizer.getBlackMatrix()),this.matrix},e.prototype.isCropSupported=function(){return this.binarizer.getLuminanceSource().isCropSupported()},e.prototype.crop=function(t,n,r,o){var a=this.binarizer.getLuminanceSource().crop(t,n,r,o);return new e(this.binarizer.createBinarizer(a))},e.prototype.isRotateSupported=function(){return this.binarizer.getLuminanceSource().isRotateSupported()},e.prototype.rotateCounterClockwise=function(){var t=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new e(this.binarizer.createBinarizer(t))},e.prototype.rotateCounterClockwise45=function(){var t=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new e(this.binarizer.createBinarizer(t))},e.prototype.toString=function(){try{return this.getBlackMatrix().toString()}catch(e){return""}},e}();t.a=o},function(e,t,n){"use strict";var r=n(169),o=n(41),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i,c=function(e){function t(t){var n=e.call(this,t)||this;return n.matrix=null,n}return a(t,e),t.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var n=this.getLuminanceSource(),r=n.getWidth(),a=n.getHeight();if(r>=t.MINIMUM_DIMENSION&&a>=t.MINIMUM_DIMENSION){var i=n.getMatrix(),c=r>>t.BLOCK_SIZE_POWER;0!=(r&t.BLOCK_SIZE_MASK)&&c++;var l=a>>t.BLOCK_SIZE_POWER;0!=(a&t.BLOCK_SIZE_MASK)&&l++;var u=t.calculateBlackPoints(i,c,l,r,a),s=new o.a(r,a);t.calculateThresholdForBlock(i,c,l,r,a,u,s),this.matrix=s}else this.matrix=e.prototype.getBlackMatrix.call(this);return this.matrix},t.prototype.createBinarizer=function(e){return new t(e)},t.calculateThresholdForBlock=function(e,n,r,o,a,i,c){for(var l=a-t.BLOCK_SIZE,u=o-t.BLOCK_SIZE,s=0;s<r;s++){var d=s<<t.BLOCK_SIZE_POWER;d>l&&(d=l);for(var f=t.cap(s,2,r-3),h=0;h<n;h++){var p=h<<t.BLOCK_SIZE_POWER;p>u&&(p=u);for(var v=t.cap(h,2,n-3),m=0,g=-2;g<=2;g++){var b=i[f+g];m+=b[v-2]+b[v-1]+b[v]+b[v+1]+b[v+2]}var y=m/25;t.thresholdBlock(e,p,d,y,o,c)}}},t.cap=function(e,t,n){return e<t?t:e>n?n:e},t.thresholdBlock=function(e,n,r,o,a,i){for(var c=0,l=r*a+n;c<t.BLOCK_SIZE;c++,l+=a)for(var u=0;u<t.BLOCK_SIZE;u++)(255&e[l+u])<=o&&i.set(n+u,r+c)},t.calculateBlackPoints=function(e,n,r,o,a){for(var i=a-t.BLOCK_SIZE,c=o-t.BLOCK_SIZE,l=new Array(r),u=0;u<r;u++){l[u]=new Int32Array(n);var s=u<<t.BLOCK_SIZE_POWER;s>i&&(s=i);for(var d=0;d<n;d++){var f=d<<t.BLOCK_SIZE_POWER;f>c&&(f=c);for(var h=0,p=255,v=0,m=0,g=s*o+f;m<t.BLOCK_SIZE;m++,g+=o){for(var b=0;b<t.BLOCK_SIZE;b++){var y=255&e[g+b];h+=y,y<p&&(p=y),y>v&&(v=y)}if(v-p>t.MIN_DYNAMIC_RANGE)for(m++,g+=o;m<t.BLOCK_SIZE;m++,g+=o)for(var b=0;b<t.BLOCK_SIZE;b++)h+=255&e[g+b]}var w=h>>2*t.BLOCK_SIZE_POWER;if(v-p<=t.MIN_DYNAMIC_RANGE&&(w=p/2,u>0&&d>0)){var O=(l[u-1][d]+2*l[u][d-1]+l[u-1][d-1])/4;p<O&&(w=O)}l[u][d]=w}}return l},t.BLOCK_SIZE_POWER=3,t.BLOCK_SIZE=1<<t.BLOCK_SIZE_POWER,t.BLOCK_SIZE_MASK=t.BLOCK_SIZE-1,t.MINIMUM_DIMENSION=5*t.BLOCK_SIZE,t.MIN_DYNAMIC_RANGE=24,t}(r.a);t.a=c},function(e,t,n){"use strict";var r=n(170),o=n(42),a=n(41),i=n(8),c=(l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l,u=function(e){function t(n){var r=e.call(this,n)||this;return r.luminances=t.EMPTY,r.buckets=new Int32Array(t.LUMINANCE_BUCKETS),r}return c(t,e),t.prototype.getBlackRow=function(e,n){var r=this.getLuminanceSource(),a=r.getWidth();null==n||n.getSize()<a?n=new o.a(a):n.clear(),this.initArrays(a);for(var i=r.getRow(e,this.luminances),c=this.buckets,l=0;l<a;l++)c[(255&i[l])>>t.LUMINANCE_SHIFT]++;var u=t.estimateBlackPoint(c);if(a<3)for(var l=0;l<a;l++)(255&i[l])<u&&n.set(l);else for(var s=255&i[0],d=255&i[1],l=1;l<a-1;l++){var f=255&i[l+1];(4*d-s-f)/2<u&&n.set(l),s=d,d=f}return n},t.prototype.getBlackMatrix=function(){var e=this.getLuminanceSource(),n=e.getWidth(),r=e.getHeight(),o=new a.a(n,r);this.initArrays(n);for(var i=this.buckets,c=1;c<5;c++)for(var l=Math.floor(r*c/5),u=e.getRow(l,this.luminances),s=Math.floor(4*n/5),d=Math.floor(n/5);d<s;d++){var f;i[(f=255&u[d])>>t.LUMINANCE_SHIFT]++}for(var h=t.estimateBlackPoint(i),p=e.getMatrix(),c=0;c<r;c++)for(var v=c*n,d=0;d<n;d++){var f;(f=255&p[v+d])<h&&o.set(d,c)}return o},t.prototype.createBinarizer=function(e){return new t(e)},t.prototype.initArrays=function(e){this.luminances.length<e&&(this.luminances=new Uint8ClampedArray(e));for(var n=this.buckets,r=0;r<t.LUMINANCE_BUCKETS;r++)n[r]=0},t.estimateBlackPoint=function(e){for(var n=e.length,r=0,o=0,a=0,c=0;c<n;c++)e[c]>a&&(o=c,a=e[c]),e[c]>r&&(r=e[c]);for(var l=0,u=0,c=0;c<n;c++){var s=c-o,d;(d=e[c]*s*s)>u&&(l=c,u=d)}if(o>l){var f=o;o=l,l=f}if(l-o<=n/16)throw new i.a;for(var h=l-1,p=-1,c=l-1;c>o;c--){var v=c-o,d;(d=v*v*(l-c)*(r-e[c]))>p&&(h=c,p=d)}return h<<t.LUMINANCE_SHIFT},t.LUMINANCE_BITS=5,t.LUMINANCE_SHIFT=8-t.LUMINANCE_BITS,t.LUMINANCE_BUCKETS=1<<t.LUMINANCE_BITS,t.EMPTY=Uint8ClampedArray.from([0]),t}(r.a);t.a=u},function(e,t,n){"use strict";var r=function(){function e(e){this.source=e}return e.prototype.getLuminanceSource=function(){return this.source},e.prototype.getWidth=function(){return this.source.getWidth()},e.prototype.getHeight=function(){return this.source.getHeight()},e}();t.a=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(76),o=n(71),a=n(14),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c,l=function(e){function t(n){var r=e.call(this,n.width,n.height)||this;return r.canvas=n,r.tempCanvasElement=null,r.buffer=t.makeBufferFromCanvasImageData(n),r}return i(t,e),t.makeBufferFromCanvasImageData=function(e){var n=e.getContext("2d").getImageData(0,0,e.width,e.height);return t.toGrayscaleBuffer(n.data,e.width,e.height)},t.toGrayscaleBuffer=function(e,n,r){var o=new Uint8ClampedArray(n*r);if(t.FRAME_INDEX=!t.FRAME_INDEX,t.FRAME_INDEX)for(var a=0,i=0,c=e.length;a<c;a+=4,i++){var l=void 0,u,s,d,f;if(0===(u=e[a+3]))l=255;else l=306*(s=e[a])+601*(d=e[a+1])+117*(f=e[a+2])+512>>10;o[i]=l}else for(var a=0,i=0,h=e.length;a<h;a+=4,i++){var l=void 0,u,s,d,f;if(0===(u=e[a+3]))l=255;else l=306*(s=e[a])+601*(d=e[a+1])+117*(f=e[a+2])+512>>10;o[i]=255-l}return o},t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new a.a("Requested row is outside the image: "+e);var n=this.getWidth(),r=e*n;return null===t?t=this.buffer.slice(r,r+n):(t.length<n&&(t=new Uint8ClampedArray(n)),t.set(this.buffer.slice(r,r+n))),t},t.prototype.getMatrix=function(){return this.buffer},t.prototype.isCropSupported=function(){return!0},t.prototype.crop=function(t,n,r,o){return e.prototype.crop.call(this,t,n,r,o),this},t.prototype.isRotateSupported=function(){return!0},t.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},t.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},t.prototype.getTempCanvasElement=function(){if(null===this.tempCanvasElement){var e=this.canvas.ownerDocument.createElement("canvas");e.width=this.canvas.width,e.height=this.canvas.height,this.tempCanvasElement=e}return this.tempCanvasElement},t.prototype.rotate=function(e){var n=this.getTempCanvasElement(),r=n.getContext("2d"),o=e*t.DEGREE_TO_RADIANS,a=this.canvas.width,i=this.canvas.height,c=Math.ceil(Math.abs(Math.cos(o))*a+Math.abs(Math.sin(o))*i),l=Math.ceil(Math.abs(Math.sin(o))*a+Math.abs(Math.cos(o))*i);return n.width=c,n.height=l,r.translate(c/2,l/2),r.rotate(o),r.drawImage(this.canvas,a/-2,i/-2),this.buffer=t.makeBufferFromCanvasImageData(n),this},t.prototype.invert=function(){return new r.a(this)},t.DEGREE_TO_RADIANS=Math.PI/180,t.FRAME_INDEX=!0,t}(o.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e,t,n){this.deviceId=e,this.label=t,this.kind="videoinput",this.groupId=n||void 0}return e.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},e}()},function(e,t,n){"use strict";var r=n(83),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a,i=function(e){function t(t,n,r,o,a){var i=e.call(this,t,n)||this;return i.compact=r,i.nbDatablocks=o,i.nbLayers=a,i}return o(t,e),t.prototype.getNbLayers=function(){return this.nbLayers},t.prototype.getNbDatablocks=function(){return this.nbDatablocks},t.prototype.isCompact=function(){return this.compact},t}(r.a);t.a=i},function(e,t,n){"use strict";var r=n(141),o=n(41),a=n(118),i=n(8),c=(l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l,u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.sampleGrid=function(e,t,n,r,o,i,c,l,u,s,d,f,h,p,v,m,g,b,y){var w=a.a.quadrilateralToQuadrilateral(r,o,i,c,l,u,s,d,f,h,p,v,m,g,b,y);return this.sampleGridWithTransform(e,t,n,w)},t.prototype.sampleGridWithTransform=function(e,t,n,a){if(t<=0||n<=0)throw new i.a;for(var c=new o.a(t,n),l=new Float32Array(2*t),u=0;u<n;u++){for(var s=l.length,d=u+.5,f=0;f<s;f+=2)l[f]=f/2+.5,l[f+1]=d;a.transformPoints(l),r.a.checkAndNudgePoints(e,l);try{for(var f=0;f<s;f+=2)e.get(Math.floor(l[f]),Math.floor(l[f+1]))&&c.set(f/2,u)}catch(e){throw new i.a}}return c},t}(r.a);t.a=u},function(e,t,n){"use strict";var r=n(15),o=n(8),a=n(36),i=n(32),c=n(16),l=(u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u,s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.CODA_BAR_CHAR_SET={nnnnnww:"0",nnnnwwn:"1",nnnwnnw:"2",wwnnnnn:"3",nnwnnwn:"4",wnnnnwn:"5",nwnnnnw:"6",nwnnwnn:"7",nwwnnnn:"8",wnnwnnn:"9",nnnwwnn:"-",nnwwnnn:"$",wnnnwnw:":",wnwnnnw:"/",wnwnwnn:".",nnwwwww:"+",nnwwnwn:"A",nwnwnnw:"B",nnnwnww:"C",nnnwwwn:"D"},t}return l(t,e),t.prototype.decodeRow=function(e,t,n){var a=this.getValidRowData(t);if(!a)throw new o.a;var l=this.codaBarDecodeRow(a.row);if(!l)throw new o.a;return new i.a(l,null,0,[new c.a(a.left,e),new c.a(a.right,e)],r.a.CODABAR,(new Date).getTime())},t.prototype.getValidRowData=function(e){var t=e.toArray(),n=t.indexOf(!0);if(-1===n)return null;var r=t.lastIndexOf(!0);if(r<=n)return null;for(var o=[],a=(t=t.slice(n,r+1))[0],i=1,c=1;c<t.length;c++)t[c]===a?i++:(a=t[c],o.push(i),i=1);return o.push(i),o.length<23&&(o.length+1)%8!=0?null:{row:o,left:n,right:r}},t.prototype.codaBarDecodeRow=function(e){for(var t=[],n=Math.ceil(e.reduce((function(e,t){return(e+t)/2}),0));e.length>0;){var r,o=e.splice(0,8).splice(0,7).map((function(e){return e<n?"n":"w"})).join("");if(void 0===this.CODA_BAR_CHAR_SET[o])return null;t.push(this.CODA_BAR_CHAR_SET[o])}var a=t.join("");return this.validCodaBarString(a)?a:null},t.prototype.validCodaBarString=function(e){var t;return/^[A-D].{1,}[A-D]$/.test(e)},t}(a.a);t.a=s},function(e,t,n){"use strict";var r=n(72),o=n(120),a=n(18),i=n(51),c=n(20),l=n(12),u=n(53),s;!function(e){e[e.PAD_ENCODE=0]="PAD_ENCODE",e[e.ASCII_ENCODE=1]="ASCII_ENCODE",e[e.C40_ENCODE=2]="C40_ENCODE",e[e.TEXT_ENCODE=3]="TEXT_ENCODE",e[e.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",e[e.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",e[e.BASE256_ENCODE=6]="BASE256_ENCODE"}(s||(s={}));var d=function(){function e(){}return e.decode=function(e){var t=new o.a(e),n=new a.a,i=new a.a,c=new Array,u=s.ASCII_ENCODE;do{if(u===s.ASCII_ENCODE)u=this.decodeAsciiSegment(t,n,i);else{switch(u){case s.C40_ENCODE:this.decodeC40Segment(t,n);break;case s.TEXT_ENCODE:this.decodeTextSegment(t,n);break;case s.ANSIX12_ENCODE:this.decodeAnsiX12Segment(t,n);break;case s.EDIFACT_ENCODE:this.decodeEdifactSegment(t,n);break;case s.BASE256_ENCODE:this.decodeBase256Segment(t,n,c);break;default:throw new l.a}u=s.ASCII_ENCODE}}while(u!==s.PAD_ENCODE&&t.available()>0);return i.length()>0&&n.append(i.toString()),new r.a(e,n.toString(),0===c.length?null:c,null)},e.decodeAsciiSegment=function(e,t,n){var r=!1;do{var o=e.readBits(8);if(0===o)throw new l.a;if(o<=128)return r&&(o+=128),t.append(String.fromCharCode(o-1)),s.ASCII_ENCODE;if(129===o)return s.PAD_ENCODE;if(o<=229){var a=o-130;a<10&&t.append("0"),t.append(""+a)}else switch(o){case 230:return s.C40_ENCODE;case 231:return s.BASE256_ENCODE;case 232:t.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:r=!0;break;case 236:t.append("[)>\x1e05\x1d"),n.insert(0,"\x1e\x04");break;case 237:t.append("[)>\x1e06\x1d"),n.insert(0,"\x1e\x04");break;case 238:return s.ANSIX12_ENCODE;case 239:return s.TEXT_ENCODE;case 240:return s.EDIFACT_ENCODE;case 241:break;default:if(254!==o||0!==e.available())throw new l.a}}while(e.available()>0);return s.ASCII_ENCODE},e.decodeC40Segment=function(e,t){var n=!1,r=[],o=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),r);for(var i=0;i<3;i++){var c=r[i];switch(o){case 0:if(c<3)o=c+1;else{if(!(c<this.C40_BASIC_SET_CHARS.length))throw new l.a;var u=this.C40_BASIC_SET_CHARS[c];n?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):t.append(u)}break;case 1:n?(t.append(String.fromCharCode(c+128)),n=!1):t.append(String.fromCharCode(c)),o=0;break;case 2:if(c<this.C40_SHIFT2_SET_CHARS.length){var u=this.C40_SHIFT2_SET_CHARS[c];n?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):t.append(u)}else switch(c){case 27:t.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new l.a}o=0;break;case 3:n?(t.append(String.fromCharCode(c+224)),n=!1):t.append(String.fromCharCode(c+96)),o=0;break;default:throw new l.a}}}while(e.available()>0)},e.decodeTextSegment=function(e,t){var n=!1,r=[],o=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),r);for(var i=0;i<3;i++){var c=r[i];switch(o){case 0:if(c<3)o=c+1;else{if(!(c<this.TEXT_BASIC_SET_CHARS.length))throw new l.a;var u=this.TEXT_BASIC_SET_CHARS[c];n?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):t.append(u)}break;case 1:n?(t.append(String.fromCharCode(c+128)),n=!1):t.append(String.fromCharCode(c)),o=0;break;case 2:if(c<this.TEXT_SHIFT2_SET_CHARS.length){var u=this.TEXT_SHIFT2_SET_CHARS[c];n?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):t.append(u)}else switch(c){case 27:t.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new l.a}o=0;break;case 3:if(!(c<this.TEXT_SHIFT3_SET_CHARS.length))throw new l.a;var u=this.TEXT_SHIFT3_SET_CHARS[c];n?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):t.append(u),o=0;break;default:throw new l.a}}}while(e.available()>0)},e.decodeAnsiX12Segment=function(e,t){var n=[];do{if(8===e.available())return;var r=e.readBits(8);if(254===r)return;this.parseTwoBytes(r,e.readBits(8),n);for(var o=0;o<3;o++){var a=n[o];switch(a){case 0:t.append("\r");break;case 1:t.append("*");break;case 2:t.append(">");break;case 3:t.append(" ");break;default:if(a<14)t.append(String.fromCharCode(a+44));else{if(!(a<40))throw new l.a;t.append(String.fromCharCode(a+51))}}}}while(e.available()>0)},e.parseTwoBytes=function(e,t,n){var r=(e<<8)+t-1,o=Math.floor(r/1600);n[0]=o,r-=1600*o,o=Math.floor(r/40),n[1]=o,n[2]=r-40*o},e.decodeEdifactSegment=function(e,t){do{if(e.available()<=16)return;for(var n=0;n<4;n++){var r=e.readBits(6);if(31===r){var o=8-e.getBitOffset();return void(8!==o&&e.readBits(o))}0==(32&r)&&(r|=64),t.append(String.fromCharCode(r))}}while(e.available()>0)},e.decodeBase256Segment=function(e,t,n){var r=1+e.getByteOffset(),o=this.unrandomize255State(e.readBits(8),r++),a;if((a=0===o?e.available()/8|0:o<250?o:250*(o-249)+this.unrandomize255State(e.readBits(8),r++))<0)throw new l.a;for(var s=new Uint8Array(a),d=0;d<a;d++){if(e.available()<8)throw new l.a;s[d]=this.unrandomize255State(e.readBits(8),r++)}n.push(s);try{t.append(i.a.decode(s,c.a.ISO88591))}catch(e){throw new u.a("Platform does not support required encoding: "+e.message)}},e.unrandomize255State=function(e,t){var n,r=e-(149*t%255+1);return r>=0?r:r+256},e.C40_BASIC_SET_CHARS=["*","*","*"," ","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.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],e.TEXT_BASIC_SET_CHARS=["*","*","*"," ","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.TEXT_SHIFT2_SET_CHARS=e.C40_SHIFT2_SET_CHARS,e.TEXT_SHIFT3_SET_CHARS=["`","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","{","|","}","~",String.fromCharCode(127)],e}();t.a=d},function(e,t,n){"use strict";var r=n(27),o=n(15),a=n(100),i=n(95),c=n(78),l=n(101),u=n(8),s=n(99),d=n(147),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function e(){}return e.prototype.decode=function(e,t){return this.setHints(t),this.decodeInternal(e)},e.prototype.decodeWithState=function(e){return null!==this.readers&&void 0!==this.readers||this.setHints(null),this.decodeInternal(e)},e.prototype.setHints=function(e){this.hints=e;var t=null!=e&&void 0!==e.get(r.a.TRY_HARDER),n=null==e?null:e.get(r.a.POSSIBLE_FORMATS),u=new Array;if(null!=n){var d=n.some((function(e){return e===o.a.UPC_A||e===o.a.UPC_E||e===o.a.EAN_13||e===o.a.EAN_8||e===o.a.CODABAR||e===o.a.CODE_39||e===o.a.CODE_93||e===o.a.CODE_128||e===o.a.ITF||e===o.a.RSS_14||e===o.a.RSS_EXPANDED}));d&&!t&&u.push(new c.a(e)),n.includes(o.a.QR_CODE)&&u.push(new a.a),n.includes(o.a.DATA_MATRIX)&&u.push(new l.a),n.includes(o.a.AZTEC)&&u.push(new i.a),n.includes(o.a.PDF_417)&&u.push(new s.a),d&&t&&u.push(new c.a(e))}0===u.length&&(t||u.push(new c.a(e)),u.push(new a.a),u.push(new l.a),u.push(new i.a),u.push(new s.a),t&&u.push(new c.a(e))),this.readers=u},e.prototype.reset=function(){var e,t;if(null!==this.readers)try{for(var n=f(this.readers),r=n.next();!r.done;r=n.next()){var o;r.value.reset()}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.prototype.decodeInternal=function(e){var t,n;if(null===this.readers)throw new d.a("No readers where selected, nothing can be read.");try{for(var r=f(this.readers),o=r.next();!o.done;o=r.next()){var a=o.value;try{return a.decode(e,this.hints)}catch(e){if(e instanceof d.a)continue}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}throw new u.a("No MultiFormat Readers were able to detect the code.")},e}();t.a=h},function(e,t,n){"use strict";var r=n(120),o=n(43),a=n(72),i=n(20),c=n(12),l=n(18),u=n(51),s=n(39),d=function(){function e(){}return e.decode=function(t,n,i,u){var d=new r.a(t),f=new l.a,h=new Array,p=-1,v=-1;try{var m=null,g=!1,b=void 0;do{if(d.available()<4)b=s.a.TERMINATOR;else{var y=d.readBits(4);b=s.a.forBits(y)}switch(b){case s.a.TERMINATOR:break;case s.a.FNC1_FIRST_POSITION:case s.a.FNC1_SECOND_POSITION:g=!0;break;case s.a.STRUCTURED_APPEND:if(d.available()<16)throw new c.a;p=d.readBits(8),v=d.readBits(8);break;case s.a.ECI:var w=e.parseECIValue(d);if(null===(m=o.a.getCharacterSetECIByValue(w)))throw new c.a;break;case s.a.HANZI:var O=d.readBits(4),M=d.readBits(b.getCharacterCountBits(n));O===e.GB2312_SUBSET&&e.decodeHanziSegment(d,f,M);break;default:var A=d.readBits(b.getCharacterCountBits(n));switch(b){case s.a.NUMERIC:e.decodeNumericSegment(d,f,A);break;case s.a.ALPHANUMERIC:e.decodeAlphanumericSegment(d,f,A,g);break;case s.a.BYTE:e.decodeByteSegment(d,f,A,m,h,u);break;case s.a.KANJI:e.decodeKanjiSegment(d,f,A);break;default:throw new c.a}}}while(b!==s.a.TERMINATOR)}catch(e){throw new c.a}return new a.a(t,f.toString(),0===h.length?null:h,null===i?null:i.toString(),p,v)},e.decodeHanziSegment=function(e,t,n){if(13*n>e.available())throw new c.a;for(var r=new Uint8Array(2*n),o=0;n>0;){var a=e.readBits(13),l=a/96<<8&4294967295|a%96;l+=l<959?41377:42657,r[o]=l>>8&255,r[o+1]=255&l,o+=2,n--}try{t.append(u.a.decode(r,i.a.GB2312))}catch(e){throw new c.a(e)}},e.decodeKanjiSegment=function(e,t,n){if(13*n>e.available())throw new c.a;for(var r=new Uint8Array(2*n),o=0;n>0;){var a=e.readBits(13),l=a/192<<8&4294967295|a%192;l+=l<7936?33088:49472,r[o]=l>>8,r[o+1]=l,o+=2,n--}try{t.append(u.a.decode(r,i.a.SHIFT_JIS))}catch(e){throw new c.a(e)}},e.decodeByteSegment=function(e,t,n,r,o,a){if(8*n>e.available())throw new c.a;for(var l=new Uint8Array(n),s=0,d;s<n;s++)l[s]=e.readBits(8);d=null===r?i.a.guessEncoding(l,a):r.getName();try{t.append(u.a.decode(l,d))}catch(e){throw new c.a(e)}o.push(l)},e.toAlphaNumericChar=function(t){if(t>=e.ALPHANUMERIC_CHARS.length)throw new c.a;return e.ALPHANUMERIC_CHARS[t]},e.decodeAlphanumericSegment=function(t,n,r,o){for(var a=n.length();r>1;){if(t.available()<11)throw new c.a;var i=t.readBits(11);n.append(e.toAlphaNumericChar(Math.floor(i/45))),n.append(e.toAlphaNumericChar(i%45)),r-=2}if(1===r){if(t.available()<6)throw new c.a;n.append(e.toAlphaNumericChar(t.readBits(6)))}if(o)for(var l=a;l<n.length();l++)"%"===n.charAt(l)&&(l<n.length()-1&&"%"===n.charAt(l+1)?n.deleteCharAt(l+1):n.setCharAt(l,String.fromCharCode(29)))},e.decodeNumericSegment=function(t,n,r){for(;r>=3;){if(t.available()<10)throw new c.a;var o=t.readBits(10);if(o>=1e3)throw new c.a;n.append(e.toAlphaNumericChar(Math.floor(o/100))),n.append(e.toAlphaNumericChar(Math.floor(o/10)%10)),n.append(e.toAlphaNumericChar(o%10)),r-=3}if(2===r){if(t.available()<7)throw new c.a;var a=t.readBits(7);if(a>=100)throw new c.a;n.append(e.toAlphaNumericChar(Math.floor(a/10))),n.append(e.toAlphaNumericChar(a%10))}else if(1===r){if(t.available()<4)throw new c.a;var i=t.readBits(4);if(i>=10)throw new c.a;n.append(e.toAlphaNumericChar(i))}},e.parseECIValue=function(e){var t=e.readBits(8),n,r;if(0==(128&t))return 127&t;if(128==(192&t))return(63&t)<<8&4294967295|e.readBits(8);if(192==(224&t))return(31&t)<<16&4294967295|e.readBits(16);throw new c.a},e.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.GB2312_SUBSET=1,e}();t.a=d},function(e,t,n){"use strict";(function(e){var r=n(12),o=n(43),a=n(72),i=n(180),c=n(34),l=n(18),u=n(19),s=n(229),d=n(334),f=n(51),h,p;function v(){if("undefined"!=typeof window)return window.BigInt||null;if(void 0!==e)return e.BigInt||null;if("undefined"!=typeof self)return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}function m(e){if(void 0===p&&(p=v()),null===p)throw new Error("BigInt is not supported!");return p(e)}function g(){var e=[];e[0]=m(1);var t=m(900);e[1]=t;for(var n=2;n<16;n++)e[n]=e[n-1]*t;return e}!function(e){e[e.ALPHA=0]="ALPHA",e[e.LOWER=1]="LOWER",e[e.MIXED=2]="MIXED",e[e.PUNCT=3]="PUNCT",e[e.ALPHA_SHIFT=4]="ALPHA_SHIFT",e[e.PUNCT_SHIFT=5]="PUNCT_SHIFT"}(h||(h={}));var b=function(){function e(){}return e.decode=function(t,n){var c=new l.a(""),u=o.a.ISO8859_1;c.enableDecoding(u);for(var s=1,d=t[s++],f=new i.a;s<t[0];){switch(d){case e.TEXT_COMPACTION_MODE_LATCH:s=e.textCompaction(t,s,c);break;case e.BYTE_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH_6:s=e.byteCompaction(d,t,u,s,c);break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:c.append(t[s++]);break;case e.NUMERIC_COMPACTION_MODE_LATCH:s=e.numericCompaction(t,s,c);break;case e.ECI_CHARSET:var h=o.a.getCharacterSetECIByValue(t[s++]);break;case e.ECI_GENERAL_PURPOSE:s+=2;break;case e.ECI_USER_DEFINED:s++;break;case e.BEGIN_MACRO_PDF417_CONTROL_BLOCK:s=e.decodeMacroBlock(t,s,f);break;case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case e.MACRO_PDF417_TERMINATOR:throw new r.a;default:s--,s=e.textCompaction(t,s,c)}if(!(s<t.length))throw r.a.getFormatInstance();d=t[s++]}if(0===c.length())throw r.a.getFormatInstance();var p=new a.a(null,c.toString(),null,n);return p.setOther(f),p},e.decodeMacroBlock=function(t,n,o){if(n+e.NUMBER_OF_SEQUENCE_CODEWORDS>t[0])throw r.a.getFormatInstance();for(var a=new Int32Array(e.NUMBER_OF_SEQUENCE_CODEWORDS),i=0;i<e.NUMBER_OF_SEQUENCE_CODEWORDS;i++,n++)a[i]=t[n];o.setSegmentIndex(u.a.parseInt(e.decodeBase900toBase10(a,e.NUMBER_OF_SEQUENCE_CODEWORDS)));var d=new l.a;n=e.textCompaction(t,n,d),o.setFileId(d.toString());var f=-1;for(t[n]===e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(f=n+1);n<t[0];)switch(t[n]){case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(t[++n]){case e.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:var h=new l.a;n=e.textCompaction(t,n+1,h),o.setFileName(h.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_SENDER:var p=new l.a;n=e.textCompaction(t,n+1,p),o.setSender(p.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:var v=new l.a;n=e.textCompaction(t,n+1,v),o.setAddressee(v.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:var m=new l.a;n=e.numericCompaction(t,n+1,m),o.setSegmentCount(u.a.parseInt(m.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:var g=new l.a;n=e.numericCompaction(t,n+1,g),o.setTimestamp(s.a.parseLong(g.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:var b=new l.a;n=e.numericCompaction(t,n+1,b),o.setChecksum(u.a.parseInt(b.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:var y=new l.a;n=e.numericCompaction(t,n+1,y),o.setFileSize(s.a.parseLong(y.toString()));break;default:throw r.a.getFormatInstance()}break;case e.MACRO_PDF417_TERMINATOR:n++,o.setLastSegment(!0);break;default:throw r.a.getFormatInstance()}if(-1!==f){var w=n-f;o.isLastSegment()&&w--,o.setOptionalData(c.a.copyOfRange(t,f,f+w))}return n},e.textCompaction=function(t,n,r){for(var o=new Int32Array(2*(t[0]-n)),a=new Int32Array(2*(t[0]-n)),i=0,c=!1;n<t[0]&&!c;){var l=t[n++];if(l<e.TEXT_COMPACTION_MODE_LATCH)o[i]=l/30,o[i+1]=l%30,i+=2;else switch(l){case e.TEXT_COMPACTION_MODE_LATCH:o[i++]=e.TEXT_COMPACTION_MODE_LATCH;break;case e.BYTE_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH_6:case e.NUMERIC_COMPACTION_MODE_LATCH:case e.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case e.MACRO_PDF417_TERMINATOR:n--,c=!0;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o[i]=e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,l=t[n++],a[i]=l,i++}}return e.decodeTextCompaction(o,a,i,r),n},e.decodeTextCompaction=function(t,n,r,o){for(var a=h.ALPHA,i=h.ALPHA,c=0;c<r;){var l=t[c],u="";switch(a){case h.ALPHA:if(l<26)u=String.fromCharCode(65+l);else switch(l){case 26:u=" ";break;case e.LL:a=h.LOWER;break;case e.ML:a=h.MIXED;break;case e.PS:i=a,a=h.PUNCT_SHIFT;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(n[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}break;case h.LOWER:if(l<26)u=String.fromCharCode(97+l);else switch(l){case 26:u=" ";break;case e.AS:i=a,a=h.ALPHA_SHIFT;break;case e.ML:a=h.MIXED;break;case e.PS:i=a,a=h.PUNCT_SHIFT;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(n[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}break;case h.MIXED:if(l<e.PL)u=e.MIXED_CHARS[l];else switch(l){case e.PL:a=h.PUNCT;break;case 26:u=" ";break;case e.LL:a=h.LOWER;break;case e.AL:a=h.ALPHA;break;case e.PS:i=a,a=h.PUNCT_SHIFT;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(n[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}break;case h.PUNCT:if(l<e.PAL)u=e.PUNCT_CHARS[l];else switch(l){case e.PAL:a=h.ALPHA;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(n[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}break;case h.ALPHA_SHIFT:if(a=i,l<26)u=String.fromCharCode(65+l);else switch(l){case 26:u=" ";break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}break;case h.PUNCT_SHIFT:if(a=i,l<e.PAL)u=e.PUNCT_CHARS[l];else switch(l){case e.PAL:a=h.ALPHA;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o.append(n[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}}""!==u&&o.append(u),c++}},e.byteCompaction=function(t,n,r,o,a){var i=new d.a,c=0,l=0,u=!1;switch(t){case e.BYTE_COMPACTION_MODE_LATCH:for(var s=new Int32Array(6),h=n[o++];o<n[0]&&!u;)switch(s[c++]=h,l=900*l+h,h=n[o++]){case e.TEXT_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH:case e.NUMERIC_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH_6:case e.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case e.MACRO_PDF417_TERMINATOR:o--,u=!0;break;default:if(c%5==0&&c>0){for(var p=0;p<6;++p)i.write(Number(m(l)>>m(8*(5-p))));l=0,c=0}}o===n[0]&&h<e.TEXT_COMPACTION_MODE_LATCH&&(s[c++]=h);for(var v=0;v<c;v++)i.write(s[v]);break;case e.BYTE_COMPACTION_MODE_LATCH_6:for(;o<n[0]&&!u;){var g=n[o++];if(g<e.TEXT_COMPACTION_MODE_LATCH)c++,l=900*l+g;else switch(g){case e.TEXT_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH:case e.NUMERIC_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH_6:case e.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case e.MACRO_PDF417_TERMINATOR:o--,u=!0}if(c%5==0&&c>0){for(var p=0;p<6;++p)i.write(Number(m(l)>>m(8*(5-p))));l=0,c=0}}}return a.append(f.a.decode(i.toByteArray(),r)),o},e.numericCompaction=function(t,n,r){for(var o=0,a=!1,i=new Int32Array(e.MAX_NUMERIC_CODEWORDS);n<t[0]&&!a;){var c=t[n++];if(n===t[0]&&(a=!0),c<e.TEXT_COMPACTION_MODE_LATCH)i[o]=c,o++;else switch(c){case e.TEXT_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH:case e.BYTE_COMPACTION_MODE_LATCH_6:case e.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case e.MACRO_PDF417_TERMINATOR:n--,a=!0}(o%e.MAX_NUMERIC_CODEWORDS==0||c===e.NUMERIC_COMPACTION_MODE_LATCH||a)&&o>0&&(r.append(e.decodeBase900toBase10(i,o)),o=0)}return n},e.decodeBase900toBase10=function(t,n){for(var o=m(0),a=0;a<n;a++)o+=e.EXP900[n-a-1]*m(t[a]);var i=o.toString();if("1"!==i.charAt(0))throw new r.a;return i.substring(1)},e.TEXT_COMPACTION_MODE_LATCH=900,e.BYTE_COMPACTION_MODE_LATCH=901,e.NUMERIC_COMPACTION_MODE_LATCH=902,e.BYTE_COMPACTION_MODE_LATCH_6=924,e.ECI_USER_DEFINED=925,e.ECI_GENERAL_PURPOSE=926,e.ECI_CHARSET=927,e.BEGIN_MACRO_PDF417_CONTROL_BLOCK=928,e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD=923,e.MACRO_PDF417_TERMINATOR=922,e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE=913,e.MAX_NUMERIC_CODEWORDS=15,e.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME=0,e.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT=1,e.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP=2,e.MACRO_PDF417_OPTIONAL_FIELD_SENDER=3,e.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE=4,e.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE=5,e.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM=6,e.PL=25,e.LL=27,e.AS=27,e.ML=28,e.AL=28,e.PS=29,e.PAL=29,e.PUNCT_CHARS=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",e.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",e.EXP900=v()?g():[],e.NUMBER_OF_SEQUENCE_CODEWORDS=2,e}();t.a=b}).call(this,n(109))},function(e,t,n){"use strict";var r=function(){function e(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}return e.prototype.getSegmentIndex=function(){return this.segmentIndex},e.prototype.setSegmentIndex=function(e){this.segmentIndex=e},e.prototype.getFileId=function(){return this.fileId},e.prototype.setFileId=function(e){this.fileId=e},e.prototype.getOptionalData=function(){return this.optionalData},e.prototype.setOptionalData=function(e){this.optionalData=e},e.prototype.isLastSegment=function(){return this.lastSegment},e.prototype.setLastSegment=function(e){this.lastSegment=e},e.prototype.getSegmentCount=function(){return this.segmentCount},e.prototype.setSegmentCount=function(e){this.segmentCount=e},e.prototype.getSender=function(){return this.sender||null},e.prototype.setSender=function(e){this.sender=e},e.prototype.getAddressee=function(){return this.addressee||null},e.prototype.setAddressee=function(e){this.addressee=e},e.prototype.getFileName=function(){return this.fileName},e.prototype.setFileName=function(e){this.fileName=e},e.prototype.getFileSize=function(){return this.fileSize},e.prototype.setFileSize=function(e){this.fileSize=e},e.prototype.getChecksum=function(){return this.checksum},e.prototype.setChecksum=function(e){this.checksum=e},e.prototype.getTimestamp=function(){return this.timestamp},e.prototype.setTimestamp=function(e){this.timestamp=e},e}();t.a=r},function(e,t,n){"use strict";var r=n(15),o=n(29),a=n(41),i=n(74),c=n(125),l=n(14),u=n(53),s=function(){function e(){}return e.prototype.encode=function(t,n,a,u,s){if(0===t.length)throw new l.a("Found empty contents");if(n!==r.a.QR_CODE)throw new l.a("Can only encode QR_CODE, but got "+n);if(a<0||u<0)throw new l.a("Requested dimensions are too small: "+a+"x"+u);var d=i.a.L,f=e.QUIET_ZONE_SIZE;null!==s&&(void 0!==s.get(o.a.ERROR_CORRECTION)&&(d=i.a.fromString(s.get(o.a.ERROR_CORRECTION).toString())),void 0!==s.get(o.a.MARGIN)&&(f=Number.parseInt(s.get(o.a.MARGIN).toString(),10)));var h=c.a.encode(t,d,s);return e.renderResult(h,a,u,f)},e.renderResult=function(e,t,n,r){var o=e.getMatrix();if(null===o)throw new u.a;for(var i=o.getWidth(),c=o.getHeight(),l=i+2*r,s=c+2*r,d=Math.max(t,l),f=Math.max(n,s),h=Math.min(Math.floor(d/l),Math.floor(f/s)),p=Math.floor((d-i*h)/2),v=Math.floor((f-c*h)/2),m=new a.a(d,f),g=0,b=v;g<c;g++,b+=h)for(var y=0,w=p;y<i;y++,w+=h)1===o.get(y,g)&&m.setRegion(w,b,h,h);return m},e.QUIET_ZONE_SIZE=4,e}();t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(10),o=n(23),a=function(){function e(){}return e.prototype.getEncodingMode=function(){return r.b},e.prototype.encode=function(e){var t;if(o.a.determineConsecutiveDigitCount(e.getMessage(),e.pos)>=2)e.writeCodeword(this.encodeASCIIDigits(e.getMessage().charCodeAt(e.pos),e.getMessage().charCodeAt(e.pos+1))),e.pos+=2;else{var n=e.getCurrentChar(),a=o.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(a!==this.getEncodingMode())switch(a){case r.c:return e.writeCodeword(r.j),void e.signalEncoderChange(r.c);case r.d:return e.writeCodeword(r.k),void e.signalEncoderChange(r.d);case r.x:e.writeCodeword(r.i),e.signalEncoderChange(r.x);break;case r.v:e.writeCodeword(r.m),e.signalEncoderChange(r.v);break;case r.f:e.writeCodeword(r.l),e.signalEncoderChange(r.f);break;default:throw new Error("Illegal mode: "+a)}else o.a.isExtendedASCII(n)?(e.writeCodeword(r.w),e.writeCodeword(n-128+1),e.pos++):(e.writeCodeword(n+1),e.pos++)}},e.prototype.encodeASCIIDigits=function(e,t){var n;if(o.a.isDigit(e)&&o.a.isDigit(t))return 10*(e-48)+(t-48)+130;throw new Error("not digits: "+e+t)},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(20),o=n(18),a=n(23),i=n(10),c=function(){function e(){}return e.prototype.getEncodingMode=function(){return i.c},e.prototype.encode=function(e){var t=new o.a;for(t.append(0);e.hasMoreCharacters();){var n=e.getCurrentChar(),c;if(t.append(n),e.pos++,a.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode())!==this.getEncodingMode()){e.signalEncoderChange(i.b);break}}var l=t.length()-1,u=1,s=e.getCodewordCount()+l+1;e.updateSymbolInfo(s);var d=e.getSymbolInfo().getDataCapacity()-s>0;if(e.hasMoreCharacters()||d)if(l<=249)t.setCharAt(0,r.a.getCharAt(l));else{if(!(l<=1555))throw new Error("Message length not in valid ranges: "+l);t.setCharAt(0,r.a.getCharAt(Math.floor(l/250)+249)),t.insert(1,r.a.getCharAt(l%250))}for(var f=0,n=t.length();f<n;f++)e.writeCodeword(this.randomize255State(t.charAt(f).charCodeAt(0),e.getCodewordCount()+1))},e.prototype.randomize255State=function(e,t){var n,r=e+(149*t%255+1);return r<=255?r:r-256},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(20),o=n(18),a=n(10),i=n(23),c=function(){function e(){}return e.prototype.getEncodingMode=function(){return a.f},e.prototype.encode=function(e){for(var t=new o.a;e.hasMoreCharacters();){var n=e.getCurrentChar(),c;if(this.encodeChar(n,t),e.pos++,t.length()>=4){e.writeCodewords(this.encodeToCodewords(t.toString()));var l=t.toString().substring(4),u;if(t.setLengthToZero(),t.append(l),i.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode())!==this.getEncodingMode()){e.signalEncoderChange(a.b);break}}}t.append(r.a.getCharAt(31)),this.handleEOD(e,t)},e.prototype.handleEOD=function(e,t){try{var n=t.length();if(0===n)return;if(1===n){e.updateSymbolInfo();var r=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),o=e.getRemainingCharacters();if(o>r&&(e.updateSymbolInfo(e.getCodewordCount()+1),r=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount()),o<=r&&r<=2)return}if(n>4)throw new Error("Count must not exceed 4");var i=n-1,c=this.encodeToCodewords(t.toString()),l,u=!e.hasMoreCharacters()&&i<=2,r;if(i<=2)e.updateSymbolInfo(e.getCodewordCount()+i),(r=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount())>=3&&(u=!1,e.updateSymbolInfo(e.getCodewordCount()+c.length));u?(e.resetSymbolInfo(),e.pos-=i):e.writeCodewords(c)}finally{e.signalEncoderChange(a.b)}},e.prototype.encodeChar=function(e,t){e>=" ".charCodeAt(0)&&e<="?".charCodeAt(0)?t.append(e):e>="@".charCodeAt(0)&&e<="^".charCodeAt(0)?t.append(r.a.getCharAt(e-64)):i.a.illegalCharacter(r.a.getCharAt(e))},e.prototype.encodeToCodewords=function(e){var t=e.length;if(0===t)throw new Error("StringBuilder must not be empty");var n,r,a,i,c=(e.charAt(0).charCodeAt(0)<<18)+((t>=2?e.charAt(1).charCodeAt(0):0)<<12)+((t>=3?e.charAt(2).charCodeAt(0):0)<<6)+(t>=4?e.charAt(3).charCodeAt(0):0),l=c>>16&255,u=c>>8&255,s=255&c,d=new o.a;return d.append(l),t>=2&&d.append(u),t>=3&&d.append(s),d.toString()},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(18),o=n(116),a=function(){function e(e){this.msg=e,this.pos=0,this.skipAtEnd=0;for(var t=e.split("").map((function(e){return e.charCodeAt(0)})),n=new r.a,o=0,a=t.length;o<a;o++){var i=String.fromCharCode(255&t[o]);if("?"===i&&"?"!==e.charAt(o))throw new Error("Message contains characters outside ISO-8859-1 encoding.");n.append(i)}this.msg=n.toString(),this.shape=0,this.codewords=new r.a,this.newEncoding=-1}return e.prototype.setSymbolShape=function(e){this.shape=e},e.prototype.setSizeConstraints=function(e,t){this.minSize=e,this.maxSize=t},e.prototype.getMessage=function(){return this.msg},e.prototype.setSkipAtEnd=function(e){this.skipAtEnd=e},e.prototype.getCurrentChar=function(){return this.msg.charCodeAt(this.pos)},e.prototype.getCurrent=function(){return this.msg.charCodeAt(this.pos)},e.prototype.getCodewords=function(){return this.codewords},e.prototype.writeCodewords=function(e){this.codewords.append(e)},e.prototype.writeCodeword=function(e){this.codewords.append(e)},e.prototype.getCodewordCount=function(){return this.codewords.length()},e.prototype.getNewEncoding=function(){return this.newEncoding},e.prototype.signalEncoderChange=function(e){this.newEncoding=e},e.prototype.resetEncoderSignal=function(){this.newEncoding=-1},e.prototype.hasMoreCharacters=function(){return this.pos<this.getTotalMessageCharCount()},e.prototype.getTotalMessageCharCount=function(){return this.msg.length-this.skipAtEnd},e.prototype.getRemainingCharacters=function(){return this.getTotalMessageCharCount()-this.pos},e.prototype.getSymbolInfo=function(){return this.symbolInfo},e.prototype.updateSymbolInfo=function(e){void 0===e&&(e=this.getCodewordCount()),(null==this.symbolInfo||e>this.symbolInfo.getDataCapacity())&&(this.symbolInfo=o.a.lookup(e,this.shape,this.minSize,this.maxSize,!0))},e.prototype.resetSymbolInfo=function(){this.symbolInfo=null},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(20),o=n(18),a=n(86),i=n(23),c=n(10),l=(u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u,s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.getEncodingMode=function(){return c.x},t.prototype.encode=function(e){for(var t=new o.a;e.hasMoreCharacters();){var n=e.getCurrentChar(),r,a;if(e.pos++,this.encodeChar(n,t),t.length()%3==0)if(this.writeNextTriplet(e,t),i.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode())!==this.getEncodingMode()){e.signalEncoderChange(c.b);break}}this.handleEOD(e,t)},t.prototype.encodeChar=function(e,t){switch(e){case 13:t.append(0);break;case"*".charCodeAt(0):t.append(1);break;case">".charCodeAt(0):t.append(2);break;case" ".charCodeAt(0):t.append(3);break;default:e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)?t.append(e-48+4):e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)?t.append(e-65+14):i.a.illegalCharacter(r.a.getCharAt(e))}return 1},t.prototype.handleEOD=function(e,t){e.updateSymbolInfo();var n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),r=t.length();e.pos-=r,(e.getRemainingCharacters()>1||n>1||e.getRemainingCharacters()!==n)&&e.writeCodeword(c.y),e.getNewEncoding()<0&&e.signalEncoderChange(c.b)},t}(a.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(86),o=n(10),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i,c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getEncodingMode=function(){return o.v},t.prototype.encodeChar=function(e,t){if(e===" ".charCodeAt(0))return t.append(3),1;if(e>="0".charCodeAt(0)&&e<="9".charCodeAt(0))return t.append(e-48+4),1;if(e>="a".charCodeAt(0)&&e<="z".charCodeAt(0))return t.append(e-97+14),1;if(e<" ".charCodeAt(0))return t.append(0),t.append(e),2;if(e<="/".charCodeAt(0))return t.append(1),t.append(e-33),2;if(e<="@".charCodeAt(0))return t.append(1),t.append(e-58+15),2;if(e>="[".charCodeAt(0)&&e<="_".charCodeAt(0))return t.append(1),t.append(e-91+22),2;if(e==="`".charCodeAt(0))return t.append(2),t.append(0),2;if(e<="Z".charCodeAt(0))return t.append(2),t.append(e-65+1),2;if(e<=127)return t.append(2),t.append(e-123+27),2;t.append("1\x1e");var n=2;return n+=this.encodeChar(e-128,t)},t}(r.a)},function(e,t,n){"use strict";var r=function(){function e(){}return e.prototype.isCompact=function(){return this.compact},e.prototype.setCompact=function(e){this.compact=e},e.prototype.getSize=function(){return this.size},e.prototype.setSize=function(e){this.size=e},e.prototype.getLayers=function(){return this.layers},e.prototype.setLayers=function(e){this.layers=e},e.prototype.getCodeWords=function(){return this.codeWords},e.prototype.setCodeWords=function(e){this.codeWords=e},e.prototype.getMatrix=function(){return this.matrix},e.prototype.setMatrix=function(e){this.matrix=e},e}();t.a=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return V}));var r=n(53),o=n(129),a=n(119),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c,l,u=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t.prototype.encodeCompressedGtin=function(e,t){e.append("(01)");var n=e.length();e.append("9"),this.encodeCompressedGtinWithoutAI(e,t,n)},t.prototype.encodeCompressedGtinWithoutAI=function(e,n,r){for(var o=0;o<4;++o){var a=this.getGeneralDecoder().extractNumericValueFromBitArray(n+10*o,10);a/100==0&&e.append("0"),a/10==0&&e.append("0"),e.append(a)}t.appendCheckDigit(e,r)},t.appendCheckDigit=function(e,t){for(var n=0,r=0;r<13;r++){var o=e.charAt(r+t).charCodeAt(0)-"0".charCodeAt(0);n+=0==(1&r)?3*o:o}10===(n=10-n%10)&&(n=0),e.append(n)},t.GTIN_SIZE=40,t}(a.a),s=n(18),d=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f,h=function(e){function t(t){return e.call(this,t)||this}return d(t,e),t.prototype.parseInformation=function(){var e=new s.a;e.append("(01)");var n=e.length(),r=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE,4);return e.append(r),this.encodeCompressedGtinWithoutAI(e,t.HEADER_SIZE+4,n),this.getGeneralDecoder().decodeAllCodes(e,t.HEADER_SIZE+44)},t.HEADER_SIZE=4,t}(u),p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),v,m=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.parseInformation=function(){var e=new s.a;return this.getGeneralDecoder().decodeAllCodes(e,t.HEADER_SIZE)},t.HEADER_SIZE=5,t}(a.a),g=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b,y=function(e){function t(t){return e.call(this,t)||this}return g(t,e),t.prototype.encodeCompressedWeight=function(e,t,n){var r=this.getGeneralDecoder().extractNumericValueFromBitArray(t,n);this.addWeightCode(e,r);for(var o=this.checkWeight(r),a=1e5,i=0;i<5;++i)o/a==0&&e.append("0"),a/=10;e.append(o)},t}(u),w=n(8),O=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M,A=function(e){function t(t){return e.call(this,t)||this}return O(t,e),t.prototype.parseInformation=function(){if(this.getInformation().getSize()!==t.HEADER_SIZE+y.GTIN_SIZE+t.WEIGHT_SIZE)throw new w.a;var e=new s.a;return this.encodeCompressedGtin(e,t.HEADER_SIZE),this.encodeCompressedWeight(e,t.HEADER_SIZE+y.GTIN_SIZE,t.WEIGHT_SIZE),e.toString()},t.HEADER_SIZE=5,t.WEIGHT_SIZE=15,t}(y),j=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),x,S=function(e){function t(t){return e.call(this,t)||this}return j(t,e),t.prototype.addWeightCode=function(e,t){e.append("(3103)")},t.prototype.checkWeight=function(e){return e},t}(A),E=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C,T=function(e){function t(t){return e.call(this,t)||this}return E(t,e),t.prototype.addWeightCode=function(e,t){t<1e4?e.append("(3202)"):e.append("(3203)")},t.prototype.checkWeight=function(e){return e<1e4?e:e-1e4},t}(A),D=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_,z=function(e){function t(t){return e.call(this,t)||this}return D(t,e),t.prototype.parseInformation=function(){if(this.getInformation().getSize()<t.HEADER_SIZE+u.GTIN_SIZE)throw new w.a;var e=new s.a;this.encodeCompressedGtin(e,t.HEADER_SIZE);var n=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE,t.LAST_DIGIT_SIZE);e.append("(392"),e.append(n),e.append(")");var r=this.getGeneralDecoder().decodeGeneralPurposeField(t.HEADER_SIZE+u.GTIN_SIZE+t.LAST_DIGIT_SIZE,null);return e.append(r.getNewString()),e.toString()},t.HEADER_SIZE=8,t.LAST_DIGIT_SIZE=2,t}(u),I=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),P,N=function(e){function t(t){return e.call(this,t)||this}return I(t,e),t.prototype.parseInformation=function(){if(this.getInformation().getSize()<t.HEADER_SIZE+u.GTIN_SIZE)throw new w.a;var e=new s.a;this.encodeCompressedGtin(e,t.HEADER_SIZE);var n=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE,t.LAST_DIGIT_SIZE);e.append("(393"),e.append(n),e.append(")");var r=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE+t.LAST_DIGIT_SIZE,t.FIRST_THREE_DIGITS_SIZE);r/100==0&&e.append("0"),r/10==0&&e.append("0"),e.append(r);var o=this.getGeneralDecoder().decodeGeneralPurposeField(t.HEADER_SIZE+u.GTIN_SIZE+t.LAST_DIGIT_SIZE+t.FIRST_THREE_DIGITS_SIZE,null);return e.append(o.getNewString()),e.toString()},t.HEADER_SIZE=8,t.LAST_DIGIT_SIZE=2,t.FIRST_THREE_DIGITS_SIZE=10,t}(u),k=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R,L=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.dateCode=r,o.firstAIdigits=n,o}return k(t,e),t.prototype.parseInformation=function(){if(this.getInformation().getSize()!==t.HEADER_SIZE+t.GTIN_SIZE+t.WEIGHT_SIZE+t.DATE_SIZE)throw new w.a;var e=new s.a;return this.encodeCompressedGtin(e,t.HEADER_SIZE),this.encodeCompressedWeight(e,t.HEADER_SIZE+t.GTIN_SIZE,t.WEIGHT_SIZE),this.encodeCompressedDate(e,t.HEADER_SIZE+t.GTIN_SIZE+t.WEIGHT_SIZE),e.toString()},t.prototype.encodeCompressedDate=function(e,n){var r=this.getGeneralDecoder().extractNumericValueFromBitArray(n,t.DATE_SIZE);if(38400!==r){e.append("("),e.append(this.dateCode),e.append(")");var o=r%32,a=(r/=32)%12+1,i=r/=12;i/10==0&&e.append("0"),e.append(i),a/10==0&&e.append("0"),e.append(a),o/10==0&&e.append("0"),e.append(o)}},t.prototype.addWeightCode=function(e,t){e.append("("),e.append(this.firstAIdigits),e.append(t/1e5),e.append(")")},t.prototype.checkWeight=function(e){return e%1e5},t.HEADER_SIZE=8,t.WEIGHT_SIZE=20,t.DATE_SIZE=16,t}(y);function V(e){try{if(e.get(1))return new h(e);if(!e.get(2))return new m(e);var t,n,a;switch(o.a.extractNumericValueFromBitArray(e,1,4)){case 4:return new S(e);case 5:return new T(e)}switch(o.a.extractNumericValueFromBitArray(e,1,5)){case 12:return new z(e);case 13:return new N(e)}switch(o.a.extractNumericValueFromBitArray(e,1,7)){case 56:return new L(e,"310","11");case 57:return new L(e,"320","11");case 58:return new L(e,"310","13");case 59:return new L(e,"320","13");case 60:return new L(e,"310","15");case 61:return new L(e,"320","15");case 62:return new L(e,"310","17");case 63:return new L(e,"320","17")}}catch(t){throw console.log(t),new r.a("unknown decoder: "+e)}}},function(e,t,n){"use strict";var r,o=function(){function e(){}return e.singletonList=function(e){return[e]},e.min=function(e,t){return e.sort(t)[0]},e}(),a=n(42),i,c=function(){function e(e){this.previous=e}return e.prototype.getPrevious=function(){return this.previous},e}(),l=n(19),u=(s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s,d,f=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.value=n,o.bitCount=r,o}return u(t,e),t.prototype.appendTo=function(e,t){e.appendBits(this.value,this.bitCount)},t.prototype.add=function(e,n){return new t(this,e,n)},t.prototype.addBinaryShift=function(e,n){return console.warn("addBinaryShift on SimpleToken, this simply returns a copy of this token"),new t(this,e,n)},t.prototype.toString=function(){var e=this.value&(1<<this.bitCount)-1;return e|=1<<this.bitCount,"<"+l.a.toBinaryString(e|1<<this.bitCount).substring(1)+">"},t}(c),h=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p,v=function(e){function t(t,n,r){var o=e.call(this,t,0,0)||this;return o.binaryShiftStart=n,o.binaryShiftByteCount=r,o}return h(t,e),t.prototype.appendTo=function(e,t){for(var n=0;n<this.binaryShiftByteCount;n++)(0===n||31===n&&this.binaryShiftByteCount<=62)&&(e.appendBits(31,5),this.binaryShiftByteCount>62?e.appendBits(this.binaryShiftByteCount-31,16):0===n?e.appendBits(Math.min(this.binaryShiftByteCount,31),5):e.appendBits(this.binaryShiftByteCount-31,5)),e.appendBits(t[this.binaryShiftStart+n],8)},t.prototype.addBinaryShift=function(e,n){return new t(this,e,n)},t.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},t}(f);function m(e,t,n){return new v(e,t,n)}function g(e,t,n){return new f(e,t,n)}var b=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],y=0,w=1,O=2,M=3,A=4,j=new f(null,0,0),x=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])],S=n(34),E=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function C(e){var t,n;try{for(var r=E(e),o=r.next();!o.done;o=r.next()){var a=o.value;S.a.fill(a,-1)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return e[0][4]=0,e[1][4]=0,e[1][0]=28,e[3][4]=0,e[2][4]=0,e[2][0]=15,e}var T=C(S.a.createInt32Array(6,6)),D=n(20),_=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},z,I=function(){function e(e,t,n,r){this.token=e,this.mode=t,this.binaryShiftByteCount=n,this.bitCount=r}return e.prototype.getMode=function(){return this.mode},e.prototype.getToken=function(){return this.token},e.prototype.getBinaryShiftByteCount=function(){return this.binaryShiftByteCount},e.prototype.getBitCount=function(){return this.bitCount},e.prototype.latchAndAppend=function(t,n){var r=this.bitCount,o=this.token;if(t!==this.mode){var a=x[this.mode][t];o=g(o,65535&a,a>>16),r+=a>>16}var i=2===t?4:5;return new e(o=g(o,n,i),t,0,r+i)},e.prototype.shiftAndAppend=function(t,n){var r=this.token,o=2===this.mode?4:5;return r=g(r,T[this.mode][t],o),new e(r=g(r,n,5),this.mode,0,this.bitCount+o+5)},e.prototype.addBinaryShiftChar=function(t){var n=this.token,r=this.mode,o=this.bitCount;if(4===this.mode||2===this.mode){var a=x[r][0];n=g(n,65535&a,a>>16),o+=a>>16,r=0}var i=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,c=new e(n,r,this.binaryShiftByteCount+1,o+i);return 2078===c.binaryShiftByteCount&&(c=c.endBinaryShift(t+1)),c},e.prototype.endBinaryShift=function(t){if(0===this.binaryShiftByteCount)return this;var n=this.token;return new e(n=m(n,t-this.binaryShiftByteCount,this.binaryShiftByteCount),this.mode,0,this.bitCount)},e.prototype.isBetterThanOrEqualTo=function(t){var n=this.bitCount+(x[this.mode][t.mode]>>16);return this.binaryShiftByteCount<t.binaryShiftByteCount?n+=e.calculateBinaryShiftCost(t)-e.calculateBinaryShiftCost(this):this.binaryShiftByteCount>t.binaryShiftByteCount&&t.binaryShiftByteCount>0&&(n+=10),n<=t.bitCount},e.prototype.toBitArray=function(e){for(var t,n,r=[],o=this.endBinaryShift(e.length).token;null!==o;o=o.getPrevious())r.unshift(o);var i=new a.a;try{for(var c=_(r),l=c.next();!l.done;l=c.next()){var u;l.value.appendTo(i,e)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}return i},e.prototype.toString=function(){return D.a.format("%s bits=%d bytes=%d",b[this.mode],this.bitCount,this.binaryShiftByteCount)},e.calculateBinaryShiftCost=function(e){return e.binaryShiftByteCount>62?21:e.binaryShiftByteCount>31?20:e.binaryShiftByteCount>0?10:0},e.INITIAL_STATE=new e(j,0,0,0),e}();function P(e){var t=D.a.getCharCode(" "),n=D.a.getCharCode("."),r=D.a.getCharCode(",");e[0][t]=1;for(var o=D.a.getCharCode("Z"),a=D.a.getCharCode("A"),i=a;i<=o;i++)e[0][i]=i-a+2;e[1][t]=1;for(var c=D.a.getCharCode("z"),l=D.a.getCharCode("a"),i=l;i<=c;i++)e[1][i]=i-l+2;e[2][t]=1;for(var u=D.a.getCharCode("9"),s=D.a.getCharCode("0"),i=s;i<=u;i++)e[2][i]=i-s+2;e[2][r]=12,e[2][n]=13;for(var d=["\0"," ","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\b","\t","\n","\v","\f","\r","\x1b","\x1c","\x1d","\x1e","\x1f","@","\\","^","_","`","|","~","\x7f"],f=0;f<d.length;f++)e[3][D.a.getCharCode(d[f])]=f;for(var h=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"],f=0;f<h.length;f++)D.a.getCharCode(h[f])>0&&(e[4][D.a.getCharCode(h[f])]=f);return e}var N=P(S.a.createInt32Array(5,256)),k=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},R=function(){function e(e){this.text=e}return e.prototype.encode=function(){for(var t=D.a.getCharCode(" "),n=D.a.getCharCode("\n"),r=o.singletonList(I.INITIAL_STATE),a=0;a<this.text.length;a++){var i=void 0,c=a+1<this.text.length?this.text[a+1]:0;switch(this.text[a]){case D.a.getCharCode("\r"):i=c===n?2:0;break;case D.a.getCharCode("."):i=c===t?3:0;break;case D.a.getCharCode(","):i=c===t?4:0;break;case D.a.getCharCode(":"):i=c===t?5:0;break;default:i=0}i>0?(r=e.updateStateListForPair(r,a,i),a++):r=this.updateStateListForChar(r,a)}var l;return o.min(r,(function(e,t){return e.getBitCount()-t.getBitCount()})).toBitArray(this.text)},e.prototype.updateStateListForChar=function(t,n){var r,o,a=[];try{for(var i=k(t),c=i.next();!c.done;c=i.next()){var l=c.value;this.updateStateForChar(l,n,a)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return e.simplifyStates(a)},e.prototype.updateStateForChar=function(e,t,n){for(var r=255&this.text[t],o=N[e.getMode()][r]>0,a=null,i=0;i<=4;i++){var c=N[i][r];if(c>0){if(null==a&&(a=e.endBinaryShift(t)),!o||i===e.getMode()||2===i){var l=a.latchAndAppend(i,c);n.push(l)}if(!o&&T[e.getMode()][i]>=0){var u=a.shiftAndAppend(i,c);n.push(u)}}}if(e.getBinaryShiftByteCount()>0||0===N[e.getMode()][r]){var s=e.addBinaryShiftChar(t);n.push(s)}},e.updateStateListForPair=function(e,t,n){var r,o,a=[];try{for(var i=k(e),c=i.next();!c.done;c=i.next()){var l=c.value;this.updateStateForPair(l,t,n,a)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return this.simplifyStates(a)},e.updateStateForPair=function(e,t,n,r){var o=e.endBinaryShift(t);if(r.push(o.latchAndAppend(4,n)),4!==e.getMode()&&r.push(o.shiftAndAppend(4,n)),3===n||4===n){var a=o.latchAndAppend(2,16-n).latchAndAppend(2,1);r.push(a)}if(e.getBinaryShiftByteCount()>0){var i=e.addBinaryShiftChar(t).addBinaryShiftChar(t+1);r.push(i)}},e.simplifyStates=function(e){var t,n,r,o,a=[];try{for(var i=k(e),c=i.next();!c.done;c=i.next()){var l=c.value,u=!0,s=function(e){if(e.isBetterThanOrEqualTo(l))return u=!1,"break";l.isBetterThanOrEqualTo(e)&&(a=a.filter((function(t){return t!==e})))};try{for(var d=(r=void 0,k(a)),f=d.next();!f.done;f=d.next()){var h,p;if("break"===s(f.value))break}}catch(e){r={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}u&&a.push(l)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return a},e}(),L=t.a=R},function(e,t,n){"use strict";var r=n(1),o=n(63),a=n(106),i=n(89),c=n(0),l=n(21),u=n.n(l);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=n(227);function f(e,t,n){var r=c.useRef({});return"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t),r.current.value}function h(e,t){"function"==typeof e?e(t):"object"===s(e)&&e&&"current"in e&&(e.current=t)}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter((function(e){return e}));return r.length<=1?r[0]:function(e){t.forEach((function(t){h(t,e)}))}}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return f((function(){return p.apply(void 0,t)}),t,(function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}))}))}function m(e){var t,n,r=Object(d.isMemo)(e)?e.type.type:e.type;return!!("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render)&&!!("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render)}var g=n(87),b=n(55),y=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],w=c.forwardRef((function(e,t){var n=e.className,l=e.component,s=e.viewBox,d=e.spin,f=e.rotate,h=e.tabIndex,p=e.onClick,m=e.children,w=Object(i.a)(e,y),O=c.useRef(),M=v(O,t);Object(b.g)(Boolean(l||m),"Should have `component` prop or `children`."),Object(b.f)(O);var A=c.useContext(g.a),j=A.prefixCls,x=void 0===j?"anticon":j,S=A.rootClassName,E=u()(S,x,n),C=u()(Object(a.a)({},"".concat(x,"-spin"),!!d)),T=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,D=Object(o.a)(Object(o.a)({},b.e),{},{className:C,style:T,viewBox:s});s||delete D.viewBox;var _=function e(){return l?c.createElement(l,D,m):m?(Object(b.g)(Boolean(s)||1===c.Children.count(m)&&c.isValidElement(m)&&"use"===c.Children.only(m).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),c.createElement("svg",Object(r.a)({},D,{viewBox:s}),m)):null},z=h;return void 0===z&&p&&(z=-1),c.createElement("span",Object(r.a)({role:"img"},w,{ref:M,tabIndex:z,onClick:p,className:E}),_())}));w.displayName="AntdIcon";var O=t.a=w},function(e,t,n){"use strict";var r=n(15),o=n(25),a=n(8),i=n(32),c=n(24),l=n(80),u=n(105),s=n(198),d=n(91),f=n(42),h,p=function(){function e(){}return e.buildBitArray=function(e){var t=2*e.length-1;null==e[e.length-1].getRightChar()&&(t-=1);for(var n=12*t,r=new f.a(n),o=0,a,i=e[0].getRightChar().getValue(),c=11;c>=0;--c)0!=(i&1<<c)&&r.set(o),o++;for(var c=1;c<e.length;++c){for(var l=e[c],u=l.getLeftChar().getValue(),s=11;s>=0;--s)0!=(u&1<<s)&&r.set(o),o++;if(null!==l.getRightChar())for(var d=l.getRightChar().getValue(),s=11;s>=0;--s)0!=(d&1<<s)&&r.set(o),o++}return r},e}(),v=n(189),m,g=function(){function e(e,t,n,r){this.leftchar=e,this.rightchar=t,this.finderpattern=n,this.maybeLast=r}return e.prototype.mayBeLast=function(){return this.maybeLast},e.prototype.getLeftChar=function(){return this.leftchar},e.prototype.getRightChar=function(){return this.rightchar},e.prototype.getFinderPattern=function(){return this.finderpattern},e.prototype.mustBeLast=function(){return null==this.rightchar},e.prototype.toString=function(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"},e.equals=function(t,n){return t instanceof e&&(e.equalsOrNull(t.leftchar,n.leftchar)&&e.equalsOrNull(t.rightchar,n.rightchar)&&e.equalsOrNull(t.finderpattern,n.finderpattern))},e.equalsOrNull=function(t,n){return null===t?null===n:e.equals(t,n)},e.prototype.hashCode=function(){var e;return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()},e}(),b,y=function(){function e(e,t,n){this.pairs=e,this.rowNumber=t,this.wasReversed=n}return e.prototype.getPairs=function(){return this.pairs},e.prototype.getRowNumber=function(){return this.rowNumber},e.prototype.isReversed=function(){return this.wasReversed},e.prototype.isEquivalent=function(e){return this.checkEqualitity(this,e)},e.prototype.toString=function(){return"{ "+this.pairs+" }"},e.prototype.equals=function(t,n){return t instanceof e&&(this.checkEqualitity(t,n)&&t.wasReversed===n.wasReversed)},e.prototype.checkEqualitity=function(e,t){var n;if(e&&t)return e.forEach((function(e,r){t.forEach((function(t){e.getLeftChar().getValue()===t.getLeftChar().getValue()&&e.getRightChar().getValue()===t.getRightChar().getValue()&&e.getFinderPatter().getValue()===t.getFinderPatter().getValue()&&(n=!0)}))})),n},e}(),w=(O=function(e,t){return(O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O,M=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.pairs=new Array(t.MAX_PAIRS),n.rows=new Array,n.startEnd=[2],n}return w(t,e),t.prototype.decodeRow=function(e,n,r){this.pairs.length=0,this.startFromEven=!1;try{return t.constructResult(this.decodeRow2pairs(e,n))}catch(e){}return this.pairs.length=0,this.startFromEven=!0,t.constructResult(this.decodeRow2pairs(e,n))},t.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},t.prototype.decodeRow2pairs=function(e,t){for(var n=!1,r;!n;)try{this.pairs.push(this.retrieveNextPair(t,this.pairs,e))}catch(e){if(e instanceof a.a){if(!this.pairs.length)throw new a.a;n=!0}}if(this.checkChecksum())return this.pairs;if(r=!!this.rows.length,this.storeRow(e,!1),r){var o=this.checkRowsBoolean(!1);if(null!=o)return o;if(null!=(o=this.checkRowsBoolean(!0)))return o}throw new a.a},t.prototype.checkRowsBoolean=function(e){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,e&&(this.rows=this.rows.reverse());var t=null;try{t=this.checkRows(new Array,0)}catch(e){console.log(e)}return e&&(this.rows=this.rows.reverse()),t},t.prototype.checkRows=function(e,n){for(var r,o,i=n;i<this.rows.length;i++){var c=this.rows[i];this.pairs.length=0;try{for(var l=(r=void 0,M(e)),u=l.next();!u.done;u=l.next()){var s=u.value;this.pairs.push(s.getPairs())}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}if(this.pairs.push(c.getPairs()),t.isValidSequence(this.pairs)){if(this.checkChecksum())return this.pairs;var d=new Array(e);d.push(c);try{return this.checkRows(d,i+1)}catch(e){console.log(e)}}}throw new a.a},t.isValidSequence=function(e){var n,r;try{for(var o=M(t.FINDER_PATTERN_SEQUENCES),a=o.next();!a.done;a=o.next()){var i=a.value;if(!(e.length>i.length)){for(var c=!0,l=0;l<e.length;l++)if(e[l].getFinderPattern().getValue()!==i[l]){c=!1;break}if(c)return!0}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!1},t.prototype.storeRow=function(e,n){for(var r=0,o=!1,a=!1;r<this.rows.length;){var i=this.rows[r];if(i.getRowNumber()>e){a=i.isEquivalent(this.pairs);break}o=i.isEquivalent(this.pairs),r++}a||o||t.isPartialRow(this.pairs,this.rows)||(this.rows.push(r,new y(this.pairs,e,n)),this.removePartialRows(this.pairs,this.rows))},t.prototype.removePartialRows=function(e,t){var n,r,o,a,i,c;try{for(var l=M(t),u=l.next();!u.done;u=l.next()){var s=u.value;if(s.getPairs().length!==e.length){var d=!0;try{for(var f=(o=void 0,M(s.getPairs())),h=f.next();!h.done;h=f.next()){var p=h.value,v=!1;try{for(var m=(i=void 0,M(e)),b=m.next();!b.done;b=m.next()){var y=b.value;if(g.equals(p,y)){v=!0;break}}}catch(e){i={error:e}}finally{try{b&&!b.done&&(c=m.return)&&c.call(m)}finally{if(i)throw i.error}}v||(d=!1)}}catch(e){o={error:e}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}},t.isPartialRow=function(e,t){var n,r,o,a,i,c;try{for(var l=M(t),u=l.next();!u.done;u=l.next()){var s=u.value,d=!0;try{for(var f=(o=void 0,M(e)),h=f.next();!h.done;h=f.next()){var p=h.value,v=!1;try{for(var m=(i=void 0,M(s.getPairs())),g=m.next();!g.done;g=m.next()){var b=g.value;if(p.equals(b)){v=!0;break}}}catch(e){i={error:e}}finally{try{g&&!g.done&&(c=m.return)&&c.call(m)}finally{if(i)throw i.error}}if(!v){d=!1;break}}}catch(e){o={error:e}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}if(d)return!0}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return!1},t.prototype.getRows=function(){return this.rows},t.constructResult=function(e){var t=p.buildBitArray(e),n,o=Object(v.a)(t).parseInformation(),a=e[0].getFinderPattern().getResultPoints(),c=e[e.length-1].getFinderPattern().getResultPoints(),l=[a[0],a[1],c[0],c[1]];return new i.a(o,null,null,l,r.a.RSS_EXPANDED,null)},t.prototype.checkChecksum=function(){var e=this.pairs.get(0),t=e.getLeftChar(),n=e.getRightChar(),r;if(null===n)return!1;for(var o=n.getChecksumPortion(),a=2,i=1;i<this.pairs.size();++i){var c=this.pairs.get(i);o+=c.getLeftChar().getChecksumPortion(),a++;var l=c.getRightChar();null!=l&&(o+=l.getChecksumPortion(),a++)}return 211*(a-4)+(o%=211)===t.getValue()},t.getNextSecondBar=function(e,t){var n;return e.get(t)?(n=e.getNextUnset(t),n=e.getNextSet(n)):(n=e.getNextSet(t),n=e.getNextUnset(n)),n},t.prototype.retrieveNextPair=function(e,n,r){var o=n.length%2==0,i;this.startFromEven&&(o=!o);var c=!0,l=-1;do{this.findNextPair(e,n,l),null===(i=this.parseFoundFinderPattern(e,r,o))?l=t.getNextSecondBar(e,this.startEnd[0]):c=!1}while(c);var u=this.decodeDataCharacter(e,i,o,!0),s;if(!this.isEmptyPair(n)&&n[n.length-1].mustBeLast())throw new a.a;try{s=this.decodeDataCharacter(e,i,o,!1)}catch(e){s=null,console.log(e)}return new g(u,s,i,!0)},t.prototype.isEmptyPair=function(e){return 0===e.length},t.prototype.findNextPair=function(e,n,r){var o=this.getDecodeFinderCounters();o[0]=0,o[1]=0,o[2]=0,o[3]=0;var i=e.getSize(),c;if(r>=0)c=r;else if(this.isEmptyPair(n))c=0;else{var l;c=n[n.length-1].getFinderPattern().getStartEnd()[1]}var u=n.length%2!=0;this.startFromEven&&(u=!u);for(var s=!1;c<i&&(s=!e.get(c));)c++;for(var d=0,f=c,h=c;h<i;h++)if(e.get(h)!==s)o[d]++;else{if(3===d){if(u&&t.reverseCounters(o),t.isFinderPattern(o))return this.startEnd[0]=f,void(this.startEnd[1]=h);u&&t.reverseCounters(o),f+=o[0]+o[1],o[0]=o[2],o[1]=o[3],o[2]=0,o[3]=0,d--}else d++;o[d]=1,s=!s}throw new a.a},t.reverseCounters=function(e){for(var t=e.length,n=0;n<t/2;++n){var r=e[n];e[n]=e[t-n-1],e[t-n-1]=r}},t.prototype.parseFoundFinderPattern=function(e,n,r){var o,a,i;if(r){for(var l=this.startEnd[0]-1;l>=0&&!e.get(l);)l--;l++,o=this.startEnd[0]-l,a=l,i=this.startEnd[1]}else a=this.startEnd[0],o=(i=e.getNextUnset(this.startEnd[1]+1))-this.startEnd[1];var u=this.getDecodeFinderCounters(),d;c.a.arraycopy(u,0,u,1,u.length-1),u[0]=o;try{d=this.parseFinderValue(u,t.FINDER_PATTERNS)}catch(e){return null}return new s.a(d,[a,i],a,i,n)},t.prototype.decodeDataCharacter=function(e,n,r,i){for(var c=this.getDataCharacterCounters(),l=0;l<c.length;l++)c[l]=0;if(i)t.recordPatternInReverse(e,n.getStartEnd()[0],c);else{t.recordPattern(e,n.getStartEnd()[1],c);for(var s=0,f=c.length-1;s<f;s++,f--){var h=c[s];c[s]=c[f],c[f]=h}}var p=17,v=o.a.sum(new Int32Array(c))/17,m=(n.getStartEnd()[1]-n.getStartEnd()[0])/15;if(Math.abs(v-m)/m>.3)throw new a.a;for(var g=this.getOddCounts(),b=this.getEvenCounts(),y=this.getOddRoundingErrors(),w=this.getEvenRoundingErrors(),s=0;s<c.length;s++){var O=1*c[s]/v,M=O+.5;if(M<1){if(O<.3)throw new a.a;M=1}else if(M>8){if(O>8.7)throw new a.a;M=8}var A=s/2;0==(1&s)?(g[A]=M,y[A]=O-M):(b[A]=M,w[A]=O-M)}this.adjustOddEvenCounts(17);for(var j=4*n.getValue()+(r?0:2)+(i?0:1)-1,x=0,S=0,s=g.length-1;s>=0;s--){if(t.isNotA1left(n,r,i)){var E=t.WEIGHTS[j][2*s];S+=g[s]*E}x+=g[s]}for(var C=0,s=b.length-1;s>=0;s--)if(t.isNotA1left(n,r,i)){var E=t.WEIGHTS[j][2*s+1];C+=b[s]*E}var T=S+C;if(0!=(1&x)||x>13||x<4)throw new a.a;var D=(13-x)/2,_=t.SYMBOL_WIDEST[D],z=9-_,I=d.a.getRSSvalue(g,_,!0),P=d.a.getRSSvalue(b,z,!1),N,k,R=I*t.EVEN_TOTAL_SUBSET[D]+P+t.GSUM[D];return new u.a(R,T)},t.isNotA1left=function(e,t,n){return!(0===e.getValue()&&t&&n)},t.prototype.adjustOddEvenCounts=function(e){var n=o.a.sum(new Int32Array(this.getOddCounts())),r=o.a.sum(new Int32Array(this.getEvenCounts())),i=!1,c=!1;n>13?c=!0:n<4&&(i=!0);var l=!1,u=!1;r>13?u=!0:r<4&&(l=!0);var s=n+r-e,d=1==(1&n),f=0==(1&r);if(1===s)if(d){if(f)throw new a.a;c=!0}else{if(!f)throw new a.a;u=!0}else if(-1===s)if(d){if(f)throw new a.a;i=!0}else{if(!f)throw new a.a;l=!0}else{if(0!==s)throw new a.a;if(d){if(!f)throw new a.a;n<r?(i=!0,u=!0):(c=!0,l=!0)}else if(f)throw new a.a}if(i){if(c)throw new a.a;t.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(c&&t.decrement(this.getOddCounts(),this.getOddRoundingErrors()),l){if(u)throw new a.a;t.increment(this.getEvenCounts(),this.getOddRoundingErrors())}u&&t.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},t.SYMBOL_WIDEST=[7,5,4,3,1],t.EVEN_TOTAL_SUBSET=[4,20,52,104,204],t.GSUM=[0,348,1388,2948,3988],t.FINDER_PATTERNS=[Int32Array.from([1,8,4,1]),Int32Array.from([3,6,4,1]),Int32Array.from([3,4,6,1]),Int32Array.from([3,2,8,1]),Int32Array.from([2,6,5,1]),Int32Array.from([2,2,9,1])],t.WEIGHTS=[[1,3,9,27,81,32,96,77],[20,60,180,118,143,7,21,63],[189,145,13,39,117,140,209,205],[193,157,49,147,19,57,171,91],[62,186,136,197,169,85,44,132],[185,133,188,142,4,12,36,108],[113,128,173,97,80,29,87,50],[150,28,84,41,123,158,52,156],[46,138,203,187,139,206,196,166],[76,17,51,153,37,111,122,155],[43,129,176,106,107,110,119,146],[16,48,144,10,30,90,59,177],[109,116,137,200,178,112,125,164],[70,210,208,202,184,130,179,115],[134,191,151,31,93,68,204,190],[148,22,66,198,172,94,71,2],[6,18,54,162,64,192,154,40],[120,149,25,75,14,42,126,167],[79,26,78,23,69,207,199,175],[103,98,83,38,114,131,182,124],[161,61,183,127,170,88,53,159],[55,165,73,8,24,72,5,15],[45,135,194,160,58,174,100,89]],t.FINDER_PAT_A=0,t.FINDER_PAT_B=1,t.FINDER_PAT_C=2,t.FINDER_PAT_D=3,t.FINDER_PAT_E=4,t.FINDER_PAT_F=5,t.FINDER_PATTERN_SEQUENCES=[[t.FINDER_PAT_A,t.FINDER_PAT_A],[t.FINDER_PAT_A,t.FINDER_PAT_B,t.FINDER_PAT_B],[t.FINDER_PAT_A,t.FINDER_PAT_C,t.FINDER_PAT_B,t.FINDER_PAT_D],[t.FINDER_PAT_A,t.FINDER_PAT_E,t.FINDER_PAT_B,t.FINDER_PAT_D,t.FINDER_PAT_C],[t.FINDER_PAT_A,t.FINDER_PAT_E,t.FINDER_PAT_B,t.FINDER_PAT_D,t.FINDER_PAT_D,t.FINDER_PAT_F],[t.FINDER_PAT_A,t.FINDER_PAT_E,t.FINDER_PAT_B,t.FINDER_PAT_D,t.FINDER_PAT_E,t.FINDER_PAT_F,t.FINDER_PAT_F],[t.FINDER_PAT_A,t.FINDER_PAT_A,t.FINDER_PAT_B,t.FINDER_PAT_B,t.FINDER_PAT_C,t.FINDER_PAT_C,t.FINDER_PAT_D,t.FINDER_PAT_D],[t.FINDER_PAT_A,t.FINDER_PAT_A,t.FINDER_PAT_B,t.FINDER_PAT_B,t.FINDER_PAT_C,t.FINDER_PAT_C,t.FINDER_PAT_D,t.FINDER_PAT_E,t.FINDER_PAT_E],[t.FINDER_PAT_A,t.FINDER_PAT_A,t.FINDER_PAT_B,t.FINDER_PAT_B,t.FINDER_PAT_C,t.FINDER_PAT_C,t.FINDER_PAT_D,t.FINDER_PAT_E,t.FINDER_PAT_F,t.FINDER_PAT_F],[t.FINDER_PAT_A,t.FINDER_PAT_A,t.FINDER_PAT_B,t.FINDER_PAT_B,t.FINDER_PAT_C,t.FINDER_PAT_D,t.FINDER_PAT_D,t.FINDER_PAT_E,t.FINDER_PAT_E,t.FINDER_PAT_F,t.FINDER_PAT_F]],t.MAX_PAIRS=11,t}(l.a),j=t.a=A},function(e,t,n){"use strict";var r=n(38),o=n(14),a=n(24),i=n(18),c=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},l,u=function(){function e(e,t){if(0===t.length)throw new o.a;this.field=e;var n=t.length;if(n>1&&0===t[0]){for(var r=1;r<n&&0===t[r];)r++;r===n?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(n-r),a.a.arraycopy(t,r,this.coefficients,0,this.coefficients.length))}else this.coefficients=t}return e.prototype.getCoefficients=function(){return this.coefficients},e.prototype.getDegree=function(){return this.coefficients.length-1},e.prototype.isZero=function(){return 0===this.coefficients[0]},e.prototype.getCoefficient=function(e){return this.coefficients[this.coefficients.length-1-e]},e.prototype.evaluateAt=function(e){var t,n;if(0===e)return this.getCoefficient(0);if(1===e){var r=0;try{for(var o=c(this.coefficients),a=o.next();!a.done;a=o.next()){var i=a.value;r=this.field.add(r,i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}for(var l=this.coefficients[0],u=this.coefficients.length,s=1;s<u;s++)l=this.field.add(this.field.multiply(e,l),this.coefficients[s]);return l},e.prototype.add=function(t){if(!this.field.equals(t.field))throw new o.a("ModulusPolys do not have same ModulusGF field");if(this.isZero())return t;if(t.isZero())return this;var n=this.coefficients,r=t.coefficients;if(n.length>r.length){var i=n;n=r,r=i}var c=new Int32Array(r.length),l=r.length-n.length;a.a.arraycopy(r,0,c,0,l);for(var u=l;u<r.length;u++)c[u]=this.field.add(n[u-l],r[u]);return new e(this.field,c)},e.prototype.subtract=function(e){if(!this.field.equals(e.field))throw new o.a("ModulusPolys do not have same ModulusGF field");return e.isZero()?this:this.add(e.negative())},e.prototype.multiply=function(t){return t instanceof e?this.multiplyOther(t):this.multiplyScalar(t)},e.prototype.multiplyOther=function(t){if(!this.field.equals(t.field))throw new o.a("ModulusPolys do not have same ModulusGF field");if(this.isZero()||t.isZero())return new e(this.field,new Int32Array([0]));for(var n=this.coefficients,r=n.length,a=t.coefficients,i=a.length,c=new Int32Array(r+i-1),l=0;l<r;l++)for(var u=n[l],s=0;s<i;s++)c[l+s]=this.field.add(c[l+s],this.field.multiply(u,a[s]));return new e(this.field,c)},e.prototype.negative=function(){for(var t=this.coefficients.length,n=new Int32Array(t),r=0;r<t;r++)n[r]=this.field.subtract(0,this.coefficients[r]);return new e(this.field,n)},e.prototype.multiplyScalar=function(t){if(0===t)return new e(this.field,new Int32Array([0]));if(1===t)return this;for(var n=this.coefficients.length,r=new Int32Array(n),o=0;o<n;o++)r[o]=this.field.multiply(this.coefficients[o],t);return new e(this.field,r)},e.prototype.multiplyByMonomial=function(t,n){if(t<0)throw new o.a;if(0===n)return new e(this.field,new Int32Array([0]));for(var r=this.coefficients.length,a=new Int32Array(r+t),i=0;i<r;i++)a[i]=this.field.multiply(this.coefficients[i],n);return new e(this.field,a)},e.prototype.toString=function(){for(var e=new i.a,t=this.getDegree();t>=0;t--){var n=this.getCoefficient(t);0!==n&&(n<0?(e.append(" - "),n=-n):e.length()>0&&e.append(" + "),0!==t&&1===n||e.append(n),0!==t&&(1===t?e.append("x"):(e.append("x^"),e.append(t))))}return e.toString()},e}(),s=n(28),d=n(117),f=function(){function e(){}return e.prototype.add=function(e,t){return(e+t)%this.modulus},e.prototype.subtract=function(e,t){return(this.modulus+e-t)%this.modulus},e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new o.a;return this.logTable[e]},e.prototype.inverse=function(e){if(0===e)throw new d.a;return this.expTable[this.modulus-this.logTable[e]-1]},e.prototype.multiply=function(e,t){return 0===e||0===t?0:this.expTable[(this.logTable[e]+this.logTable[t])%(this.modulus-1)]},e.prototype.getSize=function(){return this.modulus},e.prototype.equals=function(e){return e===this},e}(),h,p=(v=function(e,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v,m,g=function(e){function t(t,n){var r=e.call(this)||this;r.modulus=t,r.expTable=new Int32Array(t),r.logTable=new Int32Array(t);for(var o=1,a=0;a<t;a++)r.expTable[a]=o,o=o*n%t;for(var a=0;a<t-1;a++)r.logTable[r.expTable[a]]=a;return r.zero=new u(r,new Int32Array([0])),r.one=new u(r,new Int32Array([1])),r}return p(t,e),t.prototype.getZero=function(){return this.zero},t.prototype.getOne=function(){return this.one},t.prototype.buildMonomial=function(e,t){if(e<0)throw new o.a;if(0===t)return this.zero;var n=new Int32Array(e+1);return n[0]=t,new u(this,n)},t.PDF417_GF=new t(s.a.NUMBER_OF_CODEWORDS,3),t}(f),b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},y=function(){function e(){this.field=g.PDF417_GF}return e.prototype.decode=function(e,t,n){for(var o,a,i=new u(this.field,e),c=new Int32Array(t),l=!1,s=t;s>0;s--){var d=i.evaluateAt(this.field.exp(s));c[t-s]=d,0!==d&&(l=!0)}if(!l)return 0;var f=this.field.getOne();if(null!=n)try{for(var h=b(n),p=h.next();!p.done;p=h.next()){var v=p.value,m=this.field.exp(e.length-1-v),g=new u(this.field,new Int32Array([this.field.subtract(0,m),1]));f=f.multiply(g)}}catch(e){o={error:e}}finally{try{p&&!p.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}for(var y=new u(this.field,c),w=this.runEuclideanAlgorithm(this.field.buildMonomial(t,1),y,t),O=w[0],M=w[1],A=this.findErrorLocations(O),j=this.findErrorMagnitudes(M,O,A),s=0;s<A.length;s++){var x=e.length-1-this.field.log(A[s]);if(x<0)throw r.a.getChecksumInstance();e[x]=this.field.subtract(e[x],j[s])}return A.length},e.prototype.runEuclideanAlgorithm=function(e,t,n){if(e.getDegree()<t.getDegree()){var o=e;e=t,t=o}for(var a=e,i=t,c=this.field.getZero(),l=this.field.getOne();i.getDegree()>=Math.round(n/2);){var u=a,s=c;if(c=l,(a=i).isZero())throw r.a.getChecksumInstance();i=u;for(var d=this.field.getZero(),f=a.getCoefficient(a.getDegree()),h=this.field.inverse(f);i.getDegree()>=a.getDegree()&&!i.isZero();){var p=i.getDegree()-a.getDegree(),v=this.field.multiply(i.getCoefficient(i.getDegree()),h);d=d.add(this.field.buildMonomial(p,v)),i=i.subtract(a.multiplyByMonomial(p,v))}l=d.multiply(c).subtract(s).negative()}var m=l.getCoefficient(0);if(0===m)throw r.a.getChecksumInstance();var g=this.field.inverse(m),b,y;return[l.multiply(g),i.multiply(g)]},e.prototype.findErrorLocations=function(e){for(var t=e.getDegree(),n=new Int32Array(t),o=0,a=1;a<this.field.getSize()&&o<t;a++)0===e.evaluateAt(a)&&(n[o]=this.field.inverse(a),o++);if(o!==t)throw r.a.getChecksumInstance();return n},e.prototype.findErrorMagnitudes=function(e,t,n){for(var r=t.getDegree(),o=new Int32Array(r),a=1;a<=r;a++)o[r-a]=this.field.multiply(a,t.getCoefficient(a));for(var i=new u(this.field,o),c=n.length,l=new Int32Array(c),a=0;a<c;a++){var s=this.field.inverse(n[a]),d=this.field.subtract(0,e.evaluateAt(s)),f=this.field.inverse(i.evaluateAt(s));l[a]=this.field.multiply(d,f)}return l},e}(),w=t.a=y},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const r=e=>{let t=!1;return()=>{}},o=(e,t="warning")=>{let n=!1;const r=Array.isArray(e)?e.join("\n"):e;return()=>{n||(n=!0,"error"===t?console.error(r):console.warn(r))}}},function(e,t,n){var r=n(139),o=n(132),a="Expected a function";function i(e,t,n){var i=!0,c=!0;if("function"!=typeof e)throw new TypeError(a);return o(n)&&(i="leading"in n?!!n.leading:i,c="trailing"in n?!!n.trailing:c),r(e,t,{leading:i,maxWait:t,trailing:c})}e.exports=i},function(e,t,n){var r=n(400);function o(e,t){return r(e,t)}e.exports=o},function(e,t,n){"use strict";var r=n(16),o=function(){function e(e,t,n,o,a){this.value=e,this.startEnd=t,this.value=e,this.startEnd=t,this.resultPoints=new Array,this.resultPoints.push(new r.a(n,a)),this.resultPoints.push(new r.a(o,a))}return e.prototype.getValue=function(){return this.value},e.prototype.getStartEnd=function(){return this.startEnd},e.prototype.getResultPoints=function(){return this.resultPoints},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.value===n.value},e.prototype.hashCode=function(){return this.value},e}();t.a=o},function(e,t,n){"use strict";function r(e,t){a(e)&&(e="100%");var n=i(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function a(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function i(e){return"string"==typeof e&&-1!==e.indexOf("%")}function c(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function l(e){return e<=1?"".concat(100*Number(e),"%"):e}function u(e){return 1===e.length?"0"+e:String(e)}function s(e,t,n){return{r:255*r(e,255),g:255*r(t,255),b:255*r(n,255)}}function d(e,t,n){e=r(e,255),t=r(t,255),n=r(n,255);var o=Math.max(e,t,n),a=Math.min(e,t,n),i=0,c=0,l=(o+a)/2;if(o===a)c=0,i=0;else{var u=o-a;switch(c=l>.5?u/(2-o-a):u/(o+a),o){case e:i=(t-n)/u+(t<n?6:0);break;case t:i=(n-e)/u+2;break;case n:i=(e-t)/u+4}i/=6}return{h:i,s:c,l:l}}function f(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function h(e,t,n){var o,a,i;if(e=r(e,360),t=r(t,100),n=r(n,100),0===t)a=n,i=n,o=n;else{var c=n<.5?n*(1+t):n+t-n*t,l=2*n-c;o=f(l,c,e+1/3),a=f(l,c,e),i=f(l,c,e-1/3)}return{r:255*o,g:255*a,b:255*i}}function p(e,t,n){e=r(e,255),t=r(t,255),n=r(n,255);var o=Math.max(e,t,n),a=Math.min(e,t,n),i=0,c=o,l=o-a,u=0===o?0:l/o;if(o===a)i=0;else{switch(o){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4}i/=6}return{h:i,s:u,v:c}}function v(e,t,n){e=6*r(e,360),t=r(t,100),n=r(n,100);var o=Math.floor(e),a=e-o,i=n*(1-t),c=n*(1-a*t),l=n*(1-(1-a)*t),u=o%6,s,d,f;return{r:255*[n,c,i,i,l,n][u],g:255*[l,n,n,c,i,i][u],b:255*[i,i,l,n,n,c][u]}}function m(e,t,n,r){var o=[u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function g(e,t,n,r,o){var a=[u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(n).toString(16)),u(y(r))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function b(e,t,n,r){var o;return[u(y(r)),u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(n).toString(16))].join("")}function y(e){return Math.round(255*parseFloat(e)).toString(16)}function w(e){return O(e)/255}function O(e){return parseInt(e,16)}function M(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}n.d(t,"b",(function(){return G})),n.d(t,"a",(function(){return ae}));var A={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function j(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,a=null,i=!1,u=!1;return"string"==typeof e&&(e=_(e)),"object"==typeof e&&(z(e.r)&&z(e.g)&&z(e.b)?(t=s(e.r,e.g,e.b),i=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):z(e.h)&&z(e.s)&&z(e.v)?(r=l(e.s),o=l(e.v),t=v(e.h,r,o),i=!0,u="hsv"):z(e.h)&&z(e.s)&&z(e.l)&&(r=l(e.s),a=l(e.l),t=h(e.h,r,a),i=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=c(n),{ok:i,format:e.format||u,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var x="[-\\+]?\\d+%?",S,E="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat(x,")"),C="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),T="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),D={CSS_UNIT:new RegExp(E),rgb:new RegExp("rgb"+C),rgba:new RegExp("rgba"+T),hsl:new RegExp("hsl"+C),hsla:new RegExp("hsla"+T),hsv:new RegExp("hsv"+C),hsva:new RegExp("hsva"+T),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function _(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(A[e])e=A[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=D.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=D.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=D.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=D.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=D.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=D.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=D.hex8.exec(e))?{r:O(n[1]),g:O(n[2]),b:O(n[3]),a:w(n[4]),format:t?"name":"hex8"}:(n=D.hex6.exec(e))?{r:O(n[1]),g:O(n[2]),b:O(n[3]),format:t?"name":"hex"}:(n=D.hex4.exec(e))?{r:O(n[1]+n[1]),g:O(n[2]+n[2]),b:O(n[3]+n[3]),a:w(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=D.hex3.exec(e))&&{r:O(n[1]+n[1]),g:O(n[2]+n[2]),b:O(n[3]+n[3]),format:t?"name":"hex"}}function z(e){return Boolean(D.CSS_UNIT.exec(String(e)))}var I=2,P=.16,N=.05,k=.05,R=.15,L=5,V=4,B=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function H(e){var t,n,r,o=p(e.r,e.g,e.b);return{h:360*o.h,s:o.s,v:o.v}}function F(e){var t=e.r,n=e.g,r=e.b;return"#".concat(m(t,n,r,!1))}function W(e,t,n){var r=n/100,o;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}function U(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function Y(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function Q(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function G(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=j(e),o=5;o>0;o-=1){var a=H(r),i=F(j({h:U(a,o,!0),s:Y(a,o,!0),v:Q(a,o,!0)}));n.push(i)}n.push(F(r));for(var c=1;c<=4;c+=1){var l=H(r),u=F(j({h:U(l,c),s:Y(l,c),v:Q(l,c)}));n.push(u)}return"dark"===t.theme?B.map((function(e){var r=e.index,o=e.opacity,a;return F(W(j(t.backgroundColor||"#141414"),j(n[r]),100*o))})):n}var X={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},q={},$={};Object.keys(X).forEach((function(e){q[e]=G(X[e]),q[e].primary=q[e][5],$[e]=G(X[e],{theme:"dark",backgroundColor:"#141414"}),$[e].primary=$[e][5]}));var Z=q.red,K=q.volcano,J=q.gold,ee=q.orange,te=q.yellow,ne=q.lime,re=q.green,oe=q.cyan,ae=q.blue,ie=q.geekblue,ce=q.purple,le=q.magenta,ue=q.grey,se=q.grey},function(e,t,n){var r,o;
|
|
19
19
|
/*!
|
|
20
20
|
* JavaScript Cookie v2.2.1
|
|
21
21
|
* https://github.com/js-cookie/js-cookie
|