@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
package/build/lowcode/view.js
CHANGED
|
@@ -23,7 +23,7 @@ ee=function t(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Objec
|
|
|
23
23
|
* v5.2.0 - 2021-11-03
|
|
24
24
|
* (c) Sindre Sorhus; MIT License
|
|
25
25
|
*/
|
|
26
|
-
!function(){"use strict";var t="undefined"!=typeof window&&void 0!==window.document?window.document:{},r=e.exports,n=function(){for(var e,r=[["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"]],n=0,o=r.length,a={};n<o;n++)if((e=r[n])&&e[1]in t){for(n=0;n<e.length;n++)a[r[0][n]]=e[n];return a}return!1}(),o={change:n.fullscreenchange,error:n.fullscreenerror},a={request:function(e,r){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)[n.requestFullscreen](r);c instanceof Promise&&c.then(i).catch(a)}.bind(this))},exit:function(){return new Promise(function(e,r){if(this.isFullscreen){var o=function(){this.off("change",o),e()}.bind(this);this.on("change",o);var a=t[n.exitFullscreen]();a instanceof Promise&&a.then(o).catch(r)}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,r){var n=o[e];n&&t.addEventListener(n,r,!1)},off:function(e,r){var n=o[e];n&&t.removeEventListener(n,r,!1)},raw:n};n?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(t[n.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(t[n.fullscreenEnabled])}}}),r?e.exports=a:window.screenfull=a):r?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}()},,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";var n=r(153),o=r(27),a=r(15),i=function(){function e(e,t){if(0===t.length)throw new a.a;this.field=e;var r=t.length;if(r>1&&0===t[0]){for(var n=1;n<r&&0===t[n];)n++;n===r?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(r-n),o.a.arraycopy(t,n,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,r;if(1===e){r=0;for(var o=0,a=t.length;o!==a;o++){var i=t[o];r=n.a.addOrSubtract(r,i)}return r}r=t[0];for(var c=t.length,l=this.field,o=1;o<c;o++)r=n.a.addOrSubtract(l.multiply(e,r),t[o]);return r},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 r=this.coefficients,i=t.coefficients;if(r.length>i.length){var c=r;r=i,i=c}var l=new Int32Array(i.length),u=i.length-r.length;o.a.arraycopy(i,0,l,0,u);for(var s=u;s<i.length;s++)l[s]=n.a.addOrSubtract(r[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 r=this.coefficients,o=r.length,i=t.coefficients,c=i.length,l=new Int32Array(o+c-1),u=this.field,s=0;s<o;s++)for(var d=r[s],f=0;f<c;f++)l[s+f]=n.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 r=this.coefficients.length,n=this.field,o=new Int32Array(r),a=this.coefficients,i=0;i<r;i++)o[i]=n.multiply(a[i],t);return new e(n,o)},e.prototype.multiplyByMonomial=function(t,r){if(t<0)throw new a.a;if(0===r)return this.field.getZero();for(var n=this.coefficients,o=n.length,i=new Int32Array(o+t),c=this.field,l=0;l<o;l++)i[l]=c.multiply(n[l],r);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,r=t.getZero(),n=this,o=e.getCoefficient(e.getDegree()),i=t.inverse(o);n.getDegree()>=e.getDegree()&&!n.isZero();){var c=n.getDegree()-e.getDegree(),l=t.multiply(n.getCoefficient(n.getDegree()),i),u=e.multiplyByMonomial(c,l),s=t.buildMonomial(c,l);r=r.addOrSubtract(s),n=n.addOrSubtract(u)}return[r,n]},e.prototype.toString=function(){for(var e="",t=this.getDegree();t>=0;t--){var r=this.getCoefficient(t);if(0!==r){if(r<0?(e+=" - ",r=-r):e.length>0&&(e+=" + "),0===t||1!==r){var n=this.field.log(r);0===n?e+="1":1===n?e+="a":(e+="a^",e+=n)}0!==t&&(1===t?e+="x":(e+="x^",e+=t))}}return e},e}();t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(151);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t){function r(e,t){return e===t||e!=e&&t!=t}e.exports=r},function(e,t,r){"use strict";var n=r(46),o=r(174),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i,c=function(){function e(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];this.ecCodewordsPerBlock=e,this.ecBlocks=t}return e.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},e.prototype.getNumBlocks=function(){var e,t,r=0,n=this.ecBlocks;try{for(var o=a(n),i=o.next();!i.done;i=o.next()){var c;r+=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 r},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=r(13),d=r(15),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function e(e,t){for(var r,n,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){r={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.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 r=Number.MAX_SAFE_INTEGER,n=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<r&&(n=a+7,r=c)}return r<=3?e.getVersionForNumber(n):null},e.prototype.buildFunctionPattern=function(){var e=this.getDimensionForVersion(),t=new n.a(e);t.setRegion(0,0,9,9),t.setRegion(e-8,0,8,9),t.setRegion(0,e-8,9,8);for(var r=this.alignmentPatternCenters.length,o=0;o<r;o++)for(var a=this.alignmentPatternCenters[o]-2,i=0;i<r;i++)0===o&&(0===i||i===r-1)||o===r-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,r){"use strict";function n(e){return(n="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,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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(r(0)),c=r(52),l=a(r(64));function u(e,t,r){var n={};return t.forEach((function(t){(0,c.has)(e,t)&&(0,c.set)(n,t,r((0,c.get)(e,t),t))})),n}function s(e){return function(t){return i.default.createElement(e,o({},t))}}function d(e,t){return void 0===t&&(t=["children"]),function(r){var a=u(r,t,(function(e){var t=i.default.Children.toArray(e)[0];return null!==t&&"object"===n(t)||(t=i.default.createElement("div",null,t)),t}));return i.default.createElement(e,o({},r,a))}}function f(e){return function(t){var r=t.children,n;return"function"==typeof r&&(n=r),Array.isArray(r)&&1===r.length&&"function"==typeof r[0]&&(n=r[0]),n?i.default.createElement(e,o({},t),n):i.default.createElement("div",null,r)}}function h(e,t){return void 0===t&&(t=["value","defaultValue"]),function(r){var n=u(r,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({},r,n))}}t.withWrap=s,t.withSingleChild=d,t.withSingleFunctionChild=f,t.withMomentProps=h},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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(r(774)),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,r){return n(n({},t),{dataSource:r})},setOriginDataSource:function e(t,r){return n(n({},t),{originDataSource:r})},setDefaultColumns:function e(r,o){return n(n({},r),{defaultColumns:o.map((function(e){return(0,t.formatColumn)(e)}))})},setOriginColumns:function e(r,o){var a=o.map((function(e){return(0,t.formatColumn)(e)})),i=new Map(a.map((function(e){return[e.key,e]})));return n(n({},r),{originColumns:a,originColumnsMap:i})},setCurrentCell:function e(t,r){return n(n({},t),{currentCell:r})},setQuickFilter:function e(t,r){return n(n({},t),{quickFilter:r})},setUtils:function e(t,r){return n(n({},t),{utils:r})},syncStorage:function e(t,r){return n({},t)},init:function e(t,r){return n({},t)},setOtherFilter:function e(t,r){return n(n({},t),{otherFilter:r})},setTableId:function e(t,r){return n(n({},t),{tableId:r})},setLocalPagination:function e(t,r){return n(n({},t),{localPagination:r})},setTableWidth:function e(t,r){return n(n({},t),{tableWidth:r})},setCurrentDataSource:function e(t,r){return n(n({},t),{currentDataSource:r})},setOriginResultDataSource:function e(t,r){return n(n({},t),{originResultDataSource:r})}}})).Provider,t.Context=a.Context;var l=function e(t){var r=n({editable:!0,field_type:"text",lock:!0},t.other||{});return n(n({},r),t)};t.formatColumn=l},,function(e,t){function r(e){return e&&e.__esModule?e:{default:e}}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(70),o=r(59),a="[object AsyncFunction]",i="[object Function]",c="[object GeneratorFunction]",l="[object Proxy]";function u(e){if(!o(e))return!1;var t=n(e);return t==i||t==c||t==a||t==l}e.exports=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=(0,n.createContext)({}),a=function e(){var t;return(0,n.useContext)(window.__appContext||o)||{}};t.default=a},,function(e,t,r){"use strict";var n=r(20),o=r(124),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,r,n){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 n.a,r=0;r<this.height;r++){for(var o=this.getRow(r,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,r){"use strict";var n=function(){function e(e,t,r,n,o,a){void 0===o&&(o=-1),void 0===a&&(a=-1),this.rawBytes=e,this.text=t,this.byteSegments=r,this.ecLevel=n,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=n},function(e,t,r){"use strict";var n=r(56),o=r(82),a=r(149),i=r(62),c=function(){function e(e){this.field=e}return e.prototype.decode=function(e,t){for(var r=this.field,i=new o.a(r,e),c=new Int32Array(t),l=!0,u=0;u<t;u++){var s=i.evaluateAt(r.exp(u+r.getGeneratorBase()));c[c.length-1-u]=s,0!==s&&(l=!1)}if(!l)for(var d=new o.a(r,c),f=this.runEuclideanAlgorithm(r.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-r.log(v[u]);if(g<0)throw new a.a("Bad error location");e[g]=n.a.addOrSubtract(e[g],m[u])}},e.prototype.runEuclideanAlgorithm=function(e,t,r){if(e.getDegree()<t.getDegree()){var n=e;e=t,t=n}for(var o=this.field,c=e,l=t,u=o.getZero(),s=o.getOne();l.getDegree()>=(r/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 r=new Int32Array(t),n=0,o=this.field,i=1;i<o.getSize()&&n<t;i++)0===e.evaluateAt(i)&&(r[n]=o.inverse(i),n++);if(n!==t)throw new a.a("Error locator degree does not match number of roots");return r},e.prototype.findErrorMagnitudes=function(e,t){for(var r=t.length,n=new Int32Array(r),o=this.field,a=0;a<r;a++){for(var i=o.inverse(t[a]),c=1,l=0;l<r;l++)if(a!==l){var u=o.multiply(t[l],i),s=0==(1&u)?1|u:-2&u;c=o.multiply(c,s)}n[a]=o.multiply(e.evaluateAt(i),o.inverse(c)),0!==o.getGeneratorBase()&&(n[a]=o.multiply(n[a],i))}return n},e}();t.a=c},function(e,t,r){"use strict";var n=r(71),o=r(15),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,r,n){this.value=t,this.stringValue=r,this.bits=n,e.FOR_BITS.set(n,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 n.a(t+"not available")}},e.prototype.toString=function(){return this.stringValue},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.value===r.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,r){var n,o=r(55).Symbol;e.exports=o},function(e,t,r){var n,o,a=r(75)(r(55),"Map");e.exports=a},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){var n=r(91),o=r(114);function a(e){return null!=e&&o(e.length)&&!n(e)}e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(11),o=n.Input.Group,a=n.Input.TextArea,i=n.Input.Password,c=n.Input.Search,l=n.Input;l.Group=o,l.TextArea=a,l.Password=i,l.Search=c,t.default=l},,function(e,t,r){"use strict";var n=r(94),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(t){var r=e.call(this,t.getWidth(),t.getHeight())||this;return r.delegate=t,r}return o(t,e),t.prototype.getRow=function(e,t){for(var r=this.delegate.getRow(e,t),n=this.getWidth(),o=0;o<n;o++)r[o]=255-(255&r[o]);return r},t.prototype.getMatrix=function(){for(var e=this.delegate.getMatrix(),t=this.getWidth()*this.getHeight(),r=new Uint8ClampedArray(t),n=0;n<t;n++)r[n]=255-(255&e[n]);return r},t.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},t.prototype.crop=function(e,r,n,o){return new t(this.delegate.crop(e,r,n,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}(n.a);t.a=i},function(e,t,r){"use strict";var n=r(15),o=function(){function e(){}return e.applyMaskPenaltyRule1=function(t){return e.applyMaskPenaltyRule1Internal(t,!0)+e.applyMaskPenaltyRule1Internal(t,!1)},e.applyMaskPenaltyRule2=function(t){for(var r=0,n=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a-1;i++)for(var c=n[i],l=0;l<o-1;l++){var u=c[l];u===c[l+1]&&u===n[i+1][l]&&u===n[i+1][l+1]&&r++}return e.N2*r},e.applyMaskPenaltyRule3=function(t){for(var r=0,n=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a;i++)for(var c=0;c<o;c++){var l=n[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))&&r++,i+6<a&&1===n[i][c]&&0===n[i+1][c]&&1===n[i+2][c]&&1===n[i+3][c]&&1===n[i+4][c]&&0===n[i+5][c]&&1===n[i+6][c]&&(e.isWhiteVertical(n,c,i-4,i)||e.isWhiteVertical(n,c,i+7,i+11))&&r++}return r*e.N3},e.isWhiteHorizontal=function(e,t,r){t=Math.max(t,0),r=Math.min(r,e.length);for(var n=t;n<r;n++)if(1===e[n])return!1;return!0},e.isWhiteVertical=function(e,t,r,n){r=Math.max(r,0),n=Math.min(n,e.length);for(var o=r;o<n;o++)if(1===e[o][t])return!1;return!0},e.applyMaskPenaltyRule4=function(t){for(var r=0,n=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a;i++)for(var c=n[i],l=0;l<o;l++)1===c[l]&&r++;var u=t.getHeight()*t.getWidth(),s;return Math.floor(10*Math.abs(2*r-u)/u)*e.N4},e.getDataMaskBit=function(e,t,r){var o,a;switch(e){case 0:o=r+t&1;break;case 1:o=1&r;break;case 2:o=t%3;break;case 3:o=(r+t)%3;break;case 4:o=Math.floor(r/2)+Math.floor(t/3)&1;break;case 5:o=(1&(a=r*t))+a%3;break;case 6:o=(1&(a=r*t))+a%3&1;break;case 7:o=(a=r*t)%3+(r+t&1)&1;break;default:throw new n.a("Invalid mask pattern: "+e)}return 0===o},e.applyMaskPenaltyRule1Internal=function(t,r){for(var n=0,o=r?t.getHeight():t.getWidth(),a=r?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=r?i[c][s]:i[s][c];d===u?l++:(l>=5&&(n+=e.N1+(l-5)),l=1,u=d)}l>=5&&(n+=e.N1+(l-5))}return n},e.N1=3,e.N2=3,e.N3=40,e.N4=10,e}();t.a=o},function(e,t,r){"use strict";var n=r(16),o=r(31),a=r(8),i=r(244),c=r(245),l=r(246),u=r(247),s=r(36),d=r(41),f=r(142),h=r(57),p=(v=function(e,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),v,m=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r){var n,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);r+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var p=(n=void 0,m(c)),v=p.next();!v.done;v=p.next()){var g;s+=g=v.value}}catch(e){n={error:e}}finally{try{v&&!v.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.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);r+=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:r}},t.prototype.getBarcodeFormat=function(){return n.a.EAN_8},t}(h.a),y=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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 n.a.UPC_A},t.prototype.decode=function(e,t){return this.maybeReturnResult(this.ean13Reader.decode(e))},t.prototype.decodeRow=function(e,t,r){return this.maybeReturnResult(this.ean13Reader.decodeRow(e,t,r))},t.prototype.decodeMiddle=function(e,t,r){return this.ean13Reader.decodeMiddle(e,t,r)},t.prototype.maybeReturnResult=function(e){var t=e.getText();if("0"===t.charAt(0)){var r=new s.a(t.substring(1),null,null,e.getResultPoints(),n.a.UPC_A);return null!=e.getResultMetadata()&&r.putAllMetadata(e.getResultMetadata()),r}throw new a.a},t.prototype.reset=function(){this.ean13Reader.reset()},t}(h.a),M=r(20),A=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),j=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){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=r[1],u=0,s=0;s<6&&l<c;s++){var d=t.decodeDigit(e,i,l,t.L_AND_G_PATTERNS);n+=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(n),u),l},t.prototype.decodeEnd=function(e,r){return t.findGuardPatternWithoutCounters(e,r,!0,t.MIDDLE_END_PATTERN)},t.prototype.checkChecksum=function(e){return h.a.checkChecksum(t.convertUPCEtoUPCA(e))},t.determineNumSysAndCheckDigit=function(e,t){for(var r=0;r<=1;r++)for(var n=0;n<10;n++)if(t===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[r][n])return e.insert(0,"0"+r),void e.append("0"+n);throw a.a.getNotFoundInstance()},t.prototype.getBarcodeFormat=function(){return n.a.UPC_E},t.convertUPCEtoUPCA=function(e){var t=e.slice(1,7).split("").map((function(e){return e.charCodeAt(0)})),r=new M.a;r.append(e.charAt(0));var n=t[5];switch(n){case 0:case 1:case 2:r.appendChars(t,0,2),r.append(n),r.append("0000"),r.appendChars(t,2,3);break;case 3:r.appendChars(t,0,3),r.append("00000"),r.appendChars(t,3,2);break;case 4:r.appendChars(t,0,4),r.append("00000"),r.append(t[4]);break;default:r.appendChars(t,0,5),r.append("0000"),r.append(n)}return e.length>=8&&r.append(e.charAt(7)),r.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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),C=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},_,T=function(e){function t(t){var r=e.call(this)||this,a=null==t?null:t.get(o.a.POSSIBLE_FORMATS),i=[];return null!=a&&(a.indexOf(n.a.EAN_13)>-1&&i.push(new f.a),a.indexOf(n.a.UPC_A)>-1&&i.push(new O),a.indexOf(n.a.EAN_8)>-1&&i.push(new b),a.indexOf(n.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)),r.readers=i,r}return E(t,e),t.prototype.decodeRow=function(e,t,r){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,r),h=f.getBarcodeFormat()===n.a.EAN_13&&"0"===f.getText().charAt(0),p=null==r?null:r.get(o.a.POSSIBLE_FORMATS),v=null==p||p.includes(n.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(),n.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 r=C(this.readers),n=r.next();!n.done;n=r.next()){var o;n.value.reset()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t}(d.a),D=r(279),z=r(296),I=r(251),P=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),N=function(e){function t(t){var r=e.call(this)||this;r.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(n.a.EAN_13)||a.includes(n.a.UPC_A)||a.includes(n.a.EAN_8)||a.includes(n.a.UPC_E))&&r.readers.push(new T(t)),a.includes(n.a.CODE_39)&&r.readers.push(new c.a(s,d)),a.includes(n.a.CODE_93)&&r.readers.push(new l.a),a.includes(n.a.CODE_128)&&r.readers.push(new i.a),a.includes(n.a.ITF)&&r.readers.push(new u.a),a.includes(n.a.CODABAR)&&r.readers.push(new D.a),a.includes(n.a.RSS_14)&&r.readers.push(new I.a),a.includes(n.a.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),r.readers.push(new z.a))),0===r.readers.length&&(r.readers.push(new T(t)),r.readers.push(new c.a),r.readers.push(new l.a),r.readers.push(new T(t)),r.readers.push(new i.a),r.readers.push(new u.a),r.readers.push(new I.a)),r}return P(t,e),t.prototype.decodeRow=function(e,t,r){for(var n=0;n<this.readers.length;n++)try{return this.readers[n].decodeRow(e,t,r)}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,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(t,r){return t.__proto__=r,t})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,"a",(function(){return o}))},function(e,t,r){"use strict";var n=r(28),o=r(8),a=r(41),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c,l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r){for(var n=0;n<r.length;n++)if(a.a.patternMatchVariance(e,r[n],t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return n;throw new o.a},t.count=function(e){return n.a.sum(new Int32Array(e))},t.increment=function(e,t){for(var r=0,n=t[0],o=1;o<e.length;o++)t[o]>n&&(n=t[o],r=o);e[r]++},t.decrement=function(e,t){for(var r=0,n=t[0],o=1;o<e.length;o++)t[o]<n&&(n=t[o],r=o);e[r]--},t.isFinderPattern=function(e){var r,n,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){r={error:e}}finally{try{d&&!d.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.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,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r(84))},function(e,t,r){(function(e){var n=r(55),o=r(221),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,c,l=i&&i.exports===a?n.Buffer:void 0,u,s=(l?l.isBuffer:void 0)||o;e.exports=s}).call(this,r(81)(e))},function(e,t,r){var n=r(222),o=r(223),a=r(224),i=a&&a.isTypedArray,c=i?o(i):n;e.exports=c},function(e,t){var r=9007199254740991;function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}e.exports=n},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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=r(35),i=o(r(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,n({},t,{className:t.className}))};t.default=l},,,function(e,t,r){"use strict";e.exports=r(313)},function(e,t,r){"use strict";var n=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=n},function(e,t,r){"use strict";var n=r(278),o=function(){function e(){}return e.setGridSampler=function(t){e.gridSampler=t},e.getInstance=function(){return e.gridSampler},e.gridSampler=new n.a,e}();t.a=o},function(e,t,r){"use strict";var n=r(48),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),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}(n.a);t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(20),o=r(26),a=r(10),i=function(){function e(){}return e.prototype.getEncodingMode=function(){return a.d},e.prototype.encodeMaximal=function(e){for(var t=new n.a,r=0,o=e.pos,i=0;e.hasMoreCharacters();){var c=e.getCurrentChar();e.pos++,r=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&&(r>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 n.a;e.hasMoreCharacters();){var r=e.getCurrentChar();e.pos++;var i=this.encodeChar(r,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 n.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,r,n){var o=t.length(),a=t.toString().substring(0,o-n);t.setLengthToZero(),t.append(a),e.pos--;var i=e.getCurrentChar();return n=this.encodeChar(i,r),e.resetSymbolInfo(),n},e.prototype.writeNextTriplet=function(e,t){e.writeCodewords(this.encodeToCodewords(t.toString()));var r=t.toString().substring(3);t.setLengthToZero(),t.append(r)},e.prototype.handleEOD=function(e,t){var r=Math.floor(t.length()/3*2),n=t.length()%3,o=e.getCodewordCount()+r;e.updateSymbolInfo(o);var i=e.getSymbolInfo().getDataCapacity()-o;if(2===n){for(t.append("\0");t.length()>=3;)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(a.e)}else if(1===i&&1===n){for(;t.length()>=3;)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(a.e),e.pos--}else{if(0!==n)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 r=2;return r+=this.encodeChar(e-128,t)},e.prototype.encodeToCodewords=function(e){var t=1600*e.charCodeAt(0)+40*e.charCodeAt(1)+e.charCodeAt(2)+1,r=t/256,o=t%256,a=new n.a;return a.append(r),a.append(o),a.toString()},e}()},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=Object(n.createContext)({});t.a=a},function(e,t,r){"use strict";var n=r(42),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="UnsupportedOperationException",t}(n.a);t.a=i},function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],t.indexOf(o)>=0||(r[o]=e[o]);return r}function o(e,t){if(null==e)return{};var r=n(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)&&(r[o]=e[o])}return r}r.d(t,"a",(function(){return o}))},function(e,t,r){"use strict";function n(e){return(n="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)}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";var n=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(){function e(){}return e.getRSSvalue=function(t,r,o){var a,i,c=0;try{for(var l=n(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>r;b--)g+=e.combins(c-v-b-1,h-p-3);m-=g*(h-1-p)}else c-v>r&&m--;d+=m}c-=v}return d},e.combins=function(e,t){var r,n;e-t>t?(n=t,r=e-t):(n=e-t,r=t);for(var o=1,a=1,i=e;i>r;i--)o*=i,a<=n&&(o/=a,a++);for(;a<=n;)o/=a,a++;return o},e}();t.a=o},function(e,t,r){"use strict";r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return ue})),r.d(t,"c",(function(){return ge})),r.d(t,"d",(function(){return ye})),r.d(t,"e",(function(){return be})),r.d(t,"f",(function(){return ve})),r.d(t,"g",(function(){return me}));var n="-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^T(e,0)?(((t<<2^T(e,0))<<2^T(e,1))<<2^T(e,2))<<2^T(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,r){return e.replace(t,r)}function _(e,t){return e.indexOf(t)}function T(e,t){return 0|e.charCodeAt(t)}function D(e,t,r){return e.slice(t,r)}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,r,n,o,a,i,c){return{value:e,root:t,parent:r,type:n,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?T(F,--B):0,L--,10===H&&(L=1,R--),H}function X(){return H=B<V?T(F,B++):0,L++,10===H&&(L=1,R++),H}function q(){return T(F,B)}function $(){return B}function Z(e,t){return D(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 re(e){return ee(oe(J(e)))}function ne(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,r,n,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=n,j=y;m;)switch(p=b,b=X()){case 40:if(108!=p&&58==T(j,d-1)){-1!=_(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+=ne(p);break;case 92:j+=ae($()-1,7);continue;case 47:switch(q()){case 42:case 47:P(fe(ce(X(),$()),t,r,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+";",n,r,d-1,l):he(C(j," ","")+";",n,r,d-2,l),l);break;case 59:j+=";";default:if(P(M=de(j,t,r,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===T(j,3)?100:f){case 100:case 108:case 109:case 115:se(e,M,M,n&&P(de(e,M,M,0,0,o,c,y,o,w=[],d,O),O),o,O,d,c,n?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,r,n,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<n;++m)for(var y=0,w=D(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,r,0===o?c:l,u,s,d,f)}function fe(e,t,r,n){return W(e,t,r,i,A(Q()),D(e,2,-2),0,n)}function he(e,t,r,n,o){return W(e,t,r,l,D(e,0,n),D(e,n+1,-1),n,o)}function pe(e,t,r){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+n+e+e;case 5936:switch(T(e,t+11)){case 114:return a+e+n+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+n+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+n+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return a+e+n+e+e;case 6165:return a+e+n+"flex-"+e+e;case 5187:return a+e+C(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+n+"flex-$1$2")+e;case 5443:return a+e+n+"flex-item-"+C(e,/flex-|-self/g,"")+(E(e,/flex-|baseline/)?"":n+"grid-row-"+C(e,/flex-|-self/g,""))+e;case 4675:return a+e+n+"flex-line-pack"+C(e,/align-content|flex-|-self/g,"")+e;case 5548:return a+e+n+C(e,"shrink","negative")+e;case 5292:return a+e+n+C(e,"basis","preferred-size")+e;case 6060:return a+"box-"+C(e,"-grow","")+a+e+n+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"+n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4200:if(!E(e,/flex-|baseline/))return n+"grid-column-align"+D(e,t)+e;break;case 2592:case 3360:return n+C(e,"template-","")+e;case 4384:case 3616:return r&&r.some((function(e,r){return t=r,E(e.props,/grid-\w+-end/)}))?~_(e+(r=r[t].value),"span")?e:n+C(e,"-start","")+e+n+"grid-row-span:"+(~_(r,"span")?E(r,/\d+/):+E(r,/\d+/)-+E(e,/\d+/))+";":n+C(e,"-start","")+e;case 4896:case 4128:return r&&r.some((function(e){return E(e.props,/grid-\w+-start/)}))?e:n+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(T(e,t+1)){case 109:if(45!==T(e,t+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==T(e,t+3)?"$3":"$2-$3"))+e;case 115:return~_(e,"stretch")?pe(C(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return C(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,o,a,i,c,l){return n+r+":"+o+l+(a?n+r+"-span:"+(i?c:+c-+o)+l:"")+e}));case 4949:if(121===T(e,t+6))return C(e,":",":"+a)+e;break;case 6444:switch(T(e,45===T(e,14)?18:11)){case 120:return C(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+a+(45===T(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+n+"$2box$3")+e;case 100:return C(e,":",":"+n)+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 r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function me(e,t,r,n){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,n)+"}";case c:if(!z(e.value=e.props.join(",")))return""}return z(r=ve(e.children,n))?e.return=e.value+"{"+r+"}":""}function ge(e){var t=I(e);return function(r,n,o,a){for(var i="",c=0;c<t;c++)i+=e[c](r,n,o,a)||"";return i}}function be(e){return function(t){t.root||(t=t.return)&&e(t)}}function ye(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case l:return void(e.return=pe(e.value,e.length,r));case g:return ve([U(e,{value:C(e.value,"@","@"+a)})],o);case c:if(e.length)return N(r=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(r,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+)/,n+"input-$1")]})),Y(U(e,{props:[t]})),j(e,{props:k(r,o)})}return""}))}}function we(e){switch(e.type){case c:e.props=e.props.map((function(t){return N(re(t),(function(t,r,n){switch(T(t,0)){case 12:return D(t,1,z(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===n[++r]&&(n[r]="",n[++r]="\f"+D(n[r],r=1,-1));case 32:return 1===r?"":t;default:switch(r){case 0:return e=t,I(n)>1?"":t;case r=I(n)-1:case 2:return 2===r?t+e+e:t+e;default:return t}}}))}))}}},,function(e,t,r){var n=r(220),o=r(65),a=Object.prototype,i=a.hasOwnProperty,c=a.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!c.call(e,"callee")};e.exports=l},function(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}e.exports=o},function(e,t){var r=Object.prototype;function n(e){var t=e&&e.constructor,n;return e===("function"==typeof t&&t.prototype||r)}e.exports=n},function(e,t,r){"use strict";r.r(t),r.d(t,"SortableContext",(function(){return A})),r.d(t,"arrayMove",(function(){return c})),r.d(t,"arraySwap",(function(){return l})),r.d(t,"defaultAnimateLayoutChanges",(function(){return x})),r.d(t,"defaultNewIndexGetter",(function(){return j})),r.d(t,"hasSortableData",(function(){return I})),r.d(t,"horizontalListSortingStrategy",(function(){return p})),r.d(t,"rectSortingStrategy",(function(){return m})),r.d(t,"rectSwappingStrategy",(function(){return g})),r.d(t,"sortableKeyboardCoordinates",(function(){return N})),r.d(t,"useSortable",(function(){return D})),r.d(t,"verticalListSortingStrategy",(function(){return y}));var n=r(0),o=r.n(n),a=r(60),i=r(14);function c(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function l(e,t,r){const n=e.slice();return n[t]=e[r],n[r]=e[t],n}function u(e,t){return e.reduce((e,r,n)=>{const o=t.get(r);return o&&(e[n]=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 r=0;r<e.length;r++)if(e[r]!==t[r])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:r,activeNodeRect:n,activeIndex:o,overIndex:a,index:i}=e;const c=null!=(t=r[o])?t:n;if(!c)return null;const l=v(r,i,o);if(i===o){const e=r[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,r){const n=e[t],o=e[t-1],a=e[t+1];return n&&(o||a)?r<t?o?n.left-(o.left+o.width):a.left-(n.left+n.width):a?a.left-(n.left+n.width):n.left-(o.left+o.width):0}const m=e=>{let{rects:t,activeIndex:r,overIndex:n,index:o}=e;const a=c(t,n,r),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:r,rects:n,overIndex:o}=e,a,i;return r===t&&(a=n[r],i=n[o]),r===o&&(a=n[r],i=n[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:r,activeNodeRect:n,index:o,rects:a,overIndex:i}=e;const c=null!=(t=a[r])?t:n;if(!c)return null;if(o===r){const e=a[i];return e?{x:0,y:r<i?e.top+e.height-(c.top+c.height):e.top-c.top,...b}:null}const l=w(a,o,r);return o>r&&o<=i?{x:0,y:-c.height-l,...b}:o<r&&o>=i?{x:0,y:c.height+l,...b}:{x:0,y:0,...b}};function w(e,t,r){const n=e[t],o=e[t-1],a=e[t+1];return n?r<t?o?n.top-(o.top+o.height):a?a.top-(n.top+n.height):0:a?a.top-(n.top+n.height):o?n.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:r,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,r),w=Boolean(null!==p.rect),A=Object(n.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(n.useRef)(A),C=!d(A,E.current),_=-1!==S&&-1===x||C,T=f(s);Object(i.useIsomorphicLayoutEffect)(()=>{C&&j&&b(A)},[C,A,j,b]),Object(n.useEffect)(()=>{E.current=A},[A]);const D=Object(n.useMemo)(()=>({activeIndex:x,containerId:y,disabled:T,disableTransforms:_,items:A,overIndex:S,useDragOverlay:w,sortedRects:u(A,v),strategy:l}),[x,y,T.draggable,T.droppable,_,A,S,v,w,l]);return o.a.createElement(M.Provider,{value:D},t)}const j=e=>{let{id:t,items:r,activeIndex:n,overIndex:o}=e;return c(r,n,o).indexOf(t)},x=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:o,items:a,newIndex:i,previousItems:c,previousContainerId:l,transition:u}=e;return!(!u||!n)&&((c===a||o!==i)&&(!!r||i!==o&&t===l))},S={duration:200,easing:"ease"},E="transform",C=i.CSS.Transition.toString({property:"transform",duration:0,easing:"linear"}),_={roleDescription:"sortable"};function T(e){let{disabled:t,index:r,node:o,rect:c}=e;const[l,u]=Object(n.useState)(null),s=Object(n.useRef)(r);return Object(i.useIsomorphicLayoutEffect)(()=>{if(!t&&r!==s.current&&o.current){const e=c.current;if(e){const t=Object(a.getClientRect)(o.current,{ignoreTransform:!0}),r={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(r.x||r.y)&&u(r)}}r!==s.current&&(s.current=r)},[t,r,o,c]),Object(n.useEffect)(()=>{l&&u(null)},[l]),l}function D(e){let{animateLayoutChanges:t=x,attributes:r,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(n.useContext)(M),E=z(o,g),D=p.indexOf(u),I=Object(n.useMemo)(()=>({sortable:{containerId:v,index:D,items:p},...c}),[v,c,D,p]),P=Object(n.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:{..._,...r},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:D}):null,re=s(m)&&s(w)?l({id:u,items:p,activeIndex:m,overIndex:w}):D,ne=null==V?void 0:V.id,oe=Object(n.useRef)({activeId:ne,items:p,newIndex:re,containerId:v}),ae=p!==oe.current.items,ie=t({active:V,containerId:v,isDragging:Y,isSorting:$,id:u,index:D,items:p,newIndex:oe.current.newIndex,previousItems:oe.current.items,previousContainerId:oe.current.containerId,transition:h,wasDragging:null!=oe.current.activeId}),ce=T({disabled:!ie,index:D,node:k,rect:N});return Object(n.useEffect)(()=>{$&&oe.current.newIndex!==re&&(oe.current.newIndex=re),v!==oe.current.containerId&&(oe.current.containerId=v),p!==oe.current.items&&(oe.current.items=p)},[$,re,v,p]),Object(n.useEffect)(()=>{if(ne===oe.current.activeId)return;if(ne&&!oe.current.activeId)return void(oe.current.activeId=ne);const e=setTimeout(()=>{oe.current.activeId=ne},50);return()=>clearTimeout(e)},[ne]),{active:V,activeIndex:m,attributes:F,data:I,rect:N,index:D,newIndex:re,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===D?C:K&&!Object(i.isKeyboardEvent)(B)||!h?void 0:$||ie?i.CSS.Transition.toString({...h,property:"transform"}):void 0}}function z(e,t){var r,n;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(r=null==e?void 0:e.draggable)?r:t.draggable,droppable:null!=(n=null==e?void 0:e.droppable)?n: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:r,collisionRect:n,droppableRects:o,droppableContainers:c,over:l,scrollableAncestors:u}}=t;if(P.includes(e.code)){if(e.preventDefault(),!r||!n)return;const t=[];c.getEnabled().forEach(r=>{if(!r||null!=r&&r.disabled)return;const i=o.get(r.id);if(i)switch(e.code){case a.KeyboardCode.Down:n.top<i.top&&t.push(r);break;case a.KeyboardCode.Up:n.top>i.top&&t.push(r);break;case a.KeyboardCode.Left:n.left>i.left&&t.push(r);break;case a.KeyboardCode.Right:n.left<i.left&&t.push(r)}});const s=Object(a.closestCorners)({active:r,collisionRect:n,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(r.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 r=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?n.width-l.width:0,y:d?n.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,r){"use strict";var n=r(36),o=r(16),a=r(31),i=r(50),c=r(27),l=r(242),u=r(168),s=function(){function e(){}return e.prototype.decode=function(e,t){void 0===t&&(t=null);var r=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){r=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!=r)throw r;throw e}var h=new n.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 r=e.get(a.a.NEED_RESULT_POINT_CALLBACK);null!=r&&t.forEach((function(e,t,n){r.foundPossibleResultPoint(e)}))}},e.prototype.reset=function(){},e}();t.a=s},function(e,t,r){"use strict";var n=r(17),o=r(28),a=r(8),i=function(){function e(t,r,n,o){this.image=t,this.height=t.getHeight(),this.width=t.getWidth(),null==r&&(r=e.INIT_SIZE),null==n&&(n=t.getWidth()/2|0),null==o&&(o=t.getHeight()/2|0);var i=r/2|0;if(this.leftInit=n-i,this.rightInit=n+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,r=this.upInit,n=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(r,n,t,!1))?(t++,i=!0,l=!0):l||t++;if(t>=f){o=!0;break}for(var v=!0;(v||!u)&&n<h;)(v=this.containsBlackPoint(e,t,n,!0))?(n++,i=!0,u=!0):u||n++;if(n>=h){o=!0;break}for(var m=!0;(m||!s)&&e>=0;)(m=this.containsBlackPoint(r,n,e,!1))?(e--,i=!0,s=!0):s||e--;if(e<0){o=!0;break}for(var g=!0;(g||!d)&&r>=0;)(g=this.containsBlackPoint(e,t,r,!0))?(r--,i=!0,d=!0):d||r--;if(r<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,n-w,e+w,n);if(null==y)throw new a.a;for(var O=null,w=1;null===O&&w<b;w++)O=this.getBlackPointOnSegment(e,r+w,e+w,r);if(null==O)throw new a.a;for(var M=null,w=1;null===M&&w<b;w++)M=this.getBlackPointOnSegment(t,r+w,t-w,r);if(null==M)throw new a.a;for(var A=null,w=1;null===A&&w<b;w++)A=this.getBlackPointOnSegment(t,n-w,t-w,n);if(null==A)throw new a.a;return this.centerEdges(A,y,M,O)}throw new a.a},e.prototype.getBlackPointOnSegment=function(e,t,r,a){for(var i=o.a.round(o.a.distance(e,t,r,a)),c=(r-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 n.a(d,f)}return null},e.prototype.centerEdges=function(t,r,o,a){var i=t.getX(),c=t.getY(),l=r.getX(),u=r.getY(),s=o.getX(),d=o.getY(),f=a.getX(),h=a.getY(),p=e.CORR;return i<this.width/2?[new n.a(f-p,h+p),new n.a(l+p,u+p),new n.a(s-p,d-p),new n.a(i+p,c-p)]:[new n.a(f+p,h+p),new n.a(l+p,u-p),new n.a(s-p,d+p),new n.a(i-p,c-p)]},e.prototype.containsBlackPoint=function(e,t,r,n){var o=this.image;if(n){for(var a=e;a<=t;a++)if(o.get(a,r))return!0}else for(var i=e;i<=t;i++)if(o.get(r,i))return!0;return!1},e.INIT_SIZE=10,e.CORR=1,e}();t.a=i},function(e,t,r){"use strict";var n=r(16),o=r(57),a=r(8),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c,l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){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=r[1],p=0,v=0;v<6&&h<f;v++){var m=o.a.decodeDigit(e,s,h,o.a.L_AND_G_PATTERNS);n+=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)}n=t.determineFirstDigit(n,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);n+=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:n}},t.prototype.getBarcodeFormat=function(){return n.a.EAN_13},t.determineFirstDigit=function(e,t){for(var r=0;r<10;r++)if(t===this.FIRST_DIGIT_ENCODINGS[r])return e=String.fromCharCode("0".charCodeAt(0)+r)+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,r){"use strict";var n=r(20),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 n.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,r){"use strict";var n=r(16),o=r(43),a=r(13),i=r(8),c=r(36),l=r(32),u=r(21),s=r(50),d=r(17),f=r(27),h=r(39),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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){var o=t.getBlackMatrix(),a=e.detect(n,o);return a.length||((o=o.clone()).rotate180(),a=e.detect(n,o)),new v(o,a)},e.detect=function(t,r){for(var n,o,a=new Array,i=0,c=0,l=!1;i<r.getHeight();){var u=e.findVertices(r,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=(n=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){n={error:e}}finally{try{d&&!d.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}i+=e.ROW_STEP}}return a},e.findVertices=function(t,r,n){var o=t.getHeight(),a=t.getWidth(),i=new Array(8);return e.copyToResult(i,e.findRowsWithPattern(t,o,a,r,n,e.START_PATTERN),e.INDEXES_START_PATTERN),null!=i[4]&&(n=Math.trunc(i[4].getX()),r=Math.trunc(i[4].getY())),e.copyToResult(i,e.findRowsWithPattern(t,o,a,r,n,e.STOP_PATTERN),e.INDEXES_STOP_PATTERN),i},e.copyToResult=function(e,t,r){for(var n=0;n<r.length;n++)e[r[n]]=t[n]},e.findRowsWithPattern=function(t,r,n,o,a,i){for(var c=new Array(4),l=!1,u=new Int32Array(i.length);o<r;o+=e.ROW_STEP){var s;if(null!=(s=e.findGuardPattern(t,a,o,n,!1,i,u))){for(;o>0;){var f;if(null==(f=e.findGuardPattern(t,a,--o,n,!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<r;p++){var s;if(null!=(s=e.findGuardPattern(t,f[0],p,n,!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,r,n,o,a,i,c){h.a.fillWithin(c,0,c.length,0);for(var l=r,u=0;t.get(l,n)&&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,n)!==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,r){for(var n=e.length,o=0,a=0,i=0;i<n;i++)o+=e[i],a+=t[i];if(o<a)return 1/0;var c=o/a;r*=c;for(var l=0,u=0;u<n;u++){var s=e[u],d=t[u]*c,f=s>d?s-d:d-s;if(f>r)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=r(28),w=r(297),O,M=function(){function e(t,r,n,o,a){t instanceof e?this.constructor_2(t):this.constructor_1(t,r,n,o,a)}return e.prototype.constructor_1=function(e,t,r,n,o){var a=null==t||null==r,c=null==n||null==o;if(a&&c)throw new i.a;a?(t=new d.a(0,n.getY()),r=new d.a(0,o.getY())):c&&(n=new d.a(e.getWidth()-1,t.getY()),o=new d.a(e.getWidth()-1,r.getY())),this.image=e,this.topLeft=t,this.bottomLeft=r,this.topRight=n,this.bottomRight=o,this.minX=Math.trunc(Math.min(t.getX(),r.getX())),this.maxX=Math.trunc(Math.max(n.getX(),o.getX())),this.minY=Math.trunc(Math.min(t.getY(),n.getY())),this.maxY=Math.trunc(Math.max(r.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,r){return null==t?r:null==r?t:new e(t.image,t.topLeft,t.bottomLeft,r.topRight,r.bottomRight)},e.prototype.addMissingRows=function(t,r,n){var o=this.topLeft,a=this.bottomLeft,i=this.topRight,c=this.bottomRight;if(t>0){var l=n?this.topLeft:this.topRight,u=Math.trunc(l.getY()-t);u<0&&(u=0);var s=new d.a(l.getX(),u);n?o=s:i=s}if(r>0){var f=n?this.bottomLeft:this.bottomRight,h=Math.trunc(f.getY()+r);h>=this.image.getHeight()&&(h=this.image.getHeight()-1);var p=new d.a(f.getX(),h);n?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,r,n){this.columnCount=e,this.errorCorrectionLevel=n,this.rowCountUpperPart=t,this.rowCountLowerPart=r,this.rowCount=t+r}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 r=-1;function n(e,n,o,a,i,c){if("%%"===e)return"%";if(void 0!==t[++r]){e=a?parseInt(a.substr(1)):void 0;var l=i?parseInt(i.substr(1)):void 0,u;switch(c){case"s":u=t[r];break;case"c":u=t[r][0];break;case"f":u=parseFloat(t[r]).toFixed(e);break;case"p":u=parseFloat(t[r]).toPrecision(e);break;case"e":u=parseFloat(t[r]).toExponential(e);break;case"x":u=parseInt(t[r]).toString(l||16);break;case"d":u=parseFloat(parseInt(t[r],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!==n?u+d:d+u;return u}}var o=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return e.replace(o,n)},e.prototype.format=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];this.buffer+=e.form(t,r)},e.prototype.toString=function(){return this.buffer},e}(),E=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},C,_=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 r=this.getCodeword(t);if(null!=r)return r;for(var n=1;n<e.MAX_NEARBY_DISTANCE;n++){var o=this.imageRowToCodewordIndex(t)-n;if(o>=0&&null!=(r=this.codewords[o]))return r;if((o=this.imageRowToCodewordIndex(t)+n)<this.codewords.length&&null!=(r=this.codewords[o]))return r}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,r=new S,n=0;try{for(var o=E(this.codewords),a=o.next();!a.done;a=o.next()){var i=a.value;null!=i?r.format("%3d: %3d|%3d%n",n++,i.getRowNumber(),i.getValue()):r.format("%3d: | %n",n++)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return r.toString()},e.MAX_NEARBY_DISTANCE=5,e}(),T=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},D=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,a=[],i;try{for(;(void 0===t||t-- >0)&&!(o=n.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}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,r=-1,n=new Array,o=function(e,t){var o=function(){return e},a=function(){return t};a()>r?(r=a(),(n=[]).push(o())):a()===r&&n.push(o())};try{for(var a=T(this.values.entries()),i=a.next();!i.done;i=a.next()){var c=D(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(n)},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 r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}N(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),N,k=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},R,L=function(e){function t(t,r){var n=e.call(this,t)||this;return n._isLeft=r,n}return P(t,e),t.prototype.setRowNumbers=function(){var e,t;try{for(var r=k(this.getCodewords()),n=r.next();!n.done;n=r.next()){var o=n.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t.prototype.adjustCompleteIndicatorColumnRowNumbers=function(e){var t=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(t,e);for(var r=this.getBoundingBox(),n=this._isLeft?r.getTopLeft():r.getTopRight(),o=this._isLeft?r.getBottomLeft():r.getBottomRight(),a=this.imageRowToCodewordIndex(Math.trunc(n.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,r=this.getBarcodeMetadata();if(null==r)return null;this.adjustIncompleteIndicatorColumnRowNumbers(r);var n=new Int32Array(r.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>=n.length)continue;n[c]++}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return n},t.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(e){for(var t=this.getBoundingBox(),r=this._isLeft?t.getTopLeft():t.getTopRight(),n=this._isLeft?t.getBottomLeft():t.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.imageRowToCodewordIndex(Math.trunc(n.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,r=this.getCodewords(),n=new I,o=new I,a=new I,i=new I;try{for(var c=k(r),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:n.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===n.getValue().length||0===o.getValue().length||0===a.getValue().length||0===i.getValue().length||n.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(n.getValue()[0],o.getValue()[0],a.getValue()[0],i.getValue()[0]);return this.removeIncorrectCodewords(r,h),h},t.prototype.removeIncorrectCodewords=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(null!=e[r]){var o=n.getValue()%30,a=n.getRowNumber();if(a>t.getRowCount())e[r]=null;else switch(this._isLeft||(a+=2),a%3){case 0:3*o+1!==t.getRowCountUpperPart()&&(e[r]=null);break;case 1:Math.trunc(o/3)===t.getErrorCorrectionLevel()&&o%3===t.getRowCountLowerPart()||(e[r]=null);break;case 2:o+1!==t.getColumnCount()&&(e[r]=null)}}}},t.prototype.isLeft=function(){return this._isLeft},t.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+e.prototype.toString.call(this)},t}(_),V=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r=this.detectionResultColumns[t].getCodewords(),n=0;n<r.length;n++)null!=r[n]&&(r[n].hasValidRowNumber()||this.adjustRowNumbers(t,n,r));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(),r=0;r<e.length;r++)if(null!=e[r]&&null!=t[r]&&e[r].getRowNumber()===t[r].getRowNumber())for(var n=1;n<=this.barcodeColumnCount;n++){var o=this.detectionResultColumns[n].getCodewords()[r];null!=o&&(o.setRowNumber(e[r].getRowNumber()),o.hasValidRowNumber()||(this.detectionResultColumns[n].getCodewords()[r]=null))}},e.prototype.adjustRowNumbersFromRRI=function(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;for(var t=0,r=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),n=0;n<r.length;n++)if(null!=r[n])for(var o=r[n].getRowNumber(),a=0,i=this.barcodeColumnCount+1;i>0&&a<this.ADJUST_ROW_NUMBER_SKIP;i--){var c=this.detectionResultColumns[i].getCodewords()[n];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,r=this.detectionResultColumns[0].getCodewords(),n=0;n<r.length;n++)if(null!=r[n])for(var o=r[n].getRowNumber(),a=0,i=1;i<this.barcodeColumnCount+1&&a<this.ADJUST_ROW_NUMBER_SKIP;i++){var c=this.detectionResultColumns[i].getCodewords()[n];null!=c&&(a=e.adjustRowNumberIfValid(o,a,c),c.hasValidRowNumber()||t++)}return t},e.adjustRowNumberIfValid=function(e,t,r){return null==r||r.hasValidRowNumber()||(r.isValidRowNumber(e)?(r.setRowNumber(e),t=0):++t),t},e.prototype.adjustRowNumbers=function(t,r,n){var o,a;if(null!=this.detectionResultColumns[t-1]){var i=n[r],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[r],u[3]=l[r],r>0&&(u[0]=n[r-1],u[4]=c[r-1],u[5]=l[r-1]),r>1&&(u[8]=n[r-2],u[10]=c[r-2],u[11]=l[r-2]),r<n.length-1&&(u[1]=n[r+1],u[6]=c[r+1],u[7]=l[r+1]),r<n.length-2&&(u[9]=n[r+2],u[12]=c[r+2],u[13]=l[r+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,r=0;r<e.getCodewords().length;r++){t.format("CW %3d:",r);for(var n=0;n<this.barcodeColumnCount+2;n++)if(null!=this.detectionResultColumns[n]){var o=this.detectionResultColumns[n].getCodewords()[r];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,r,n,o){this.rowNumber=e.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(t),this.endX=Math.trunc(r),this.bucket=Math.trunc(n),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=r(252),Y,Q=function(){function e(){}return e.initialize=function(){for(var t=0;t<l.a.SYMBOL_TABLE.length;t++)for(var r=l.a.SYMBOL_TABLE[t],n=1&r,o=0;o<l.a.BARS_IN_MODULE;o++){for(var a=0;(1&r)===n;)a+=1,r>>=1;n=1&r,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 r=e.getDecodedCodewordValue(e.sampleBitCounts(t));return-1!==r?r:e.getClosestDecodedValue(t)},e.sampleBitCounts=function(e){for(var t=y.a.sum(e),r=new Int32Array(l.a.BARS_IN_MODULE),n=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[n]<=i&&(o+=e[n],n++),r[n]++}return r},e.getDecodedCodewordValue=function(t){var r=e.getBitValue(t);return-1===l.a.getCodeword(r)?-1:r},e.getBitValue=function(e){for(var t=0,r=0;r<e.length;r++)for(var n=0;n<e[r];n++)t=t<<1|(r%2==0?1:0);return Math.trunc(t)},e.getClosestDecodedValue=function(t){var r=y.a.sum(t),n=new Array(l.a.BARS_IN_MODULE);if(r>1)for(var o=0;o<n.length;o++)n[o]=Math.fround(t[o]/r);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]-n[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=r(283),X=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},q,$=function(){function e(){}return e.decode=function(t,r,n,o,a,c,l){for(var u=new M(t,r,n,o,a),s=null,d=null,f,h=!0;;h=!1){if(null!=r&&(s=e.getRowIndicatorColumn(t,u,r,!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 _(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,r){if(null==t&&null==r)return null;var n=e.getBarcodeMetadata(t,r);if(null==n)return null;var o=M.merge(e.adjustBoundingBox(t),e.adjustBoundingBox(r));return new H(n,o)},e.adjustBoundingBox=function(t){var r,n;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){r={error:e}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.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,r,n=-1;try{for(var o=X(e),a=o.next();!a.done;a=o.next()){var i=a.value;n=Math.max(n,i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n},e.getBarcodeMetadata=function(e,t){var r,n;return null==e||null==(r=e.getBarcodeMetadata())?null==t?null:t.getBarcodeMetadata():null==t||null==(n=t.getBarcodeMetadata())?r:r.getColumnCount()!==n.getColumnCount()&&r.getErrorCorrectionLevel()!==n.getErrorCorrectionLevel()&&r.getRowCount()!==n.getRowCount()?null:r},e.getRowIndicatorColumn=function(t,r,n,o,a,i){for(var c=new L(r,o),l=0;l<2;l++)for(var u=0===l?1:-1,s=Math.trunc(Math.trunc(n.getX())),d=Math.trunc(Math.trunc(n.getY()));d<=r.getMaxY()&&d>=r.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,r){var n=r[0][1],o=n.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();n.setValue(a)}else o[0]!==a&&n.setValue(a)},e.createDecoderResult=function(t){var r=e.createBarcodeMatrix(t);e.adjustCodewordCount(t,r);for(var n=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=r[c][u+1].getValue(),d=c*t.getBarcodeColumnCount()+u;0===s.length?n.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(n),l.a.toIntArray(i),f)},e.createDecoderResultFromAmbiguousValues=function(t,r,n,a,i){for(var c=new Int32Array(a.length),l=100;l-- >0;){for(var u=0;u<c.length;u++)r[a[u]]=i[u][c[u]];try{return e.decodeCodewords(r,t,n)}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,r,n,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=(n=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){n={error:e}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}l++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=u.return)&&r.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,r,n,o){var a,i,c=o?1:-1,l=null;if(e.isValidBarcodeColumn(t,r-c)&&(l=t.getDetectionResultColumn(r-c).getCodeword(n)),null!=l)return o?l.getEndX():l.getStartX();if(null!=(l=t.getDetectionResultColumn(r).getCodewordNearby(n)))return o?l.getStartX():l.getEndX();if(e.isValidBarcodeColumn(t,r-c)&&(l=t.getDetectionResultColumn(r-c).getCodewordNearby(n)),null!=l)return o?l.getEndX():l.getStartX();for(var u=0;e.isValidBarcodeColumn(t,r-c);){r-=c;try{for(var s=(a=void 0,X(t.getDetectionResultColumn(r).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,r,n,o,a,i,c,u){a=e.adjustCodewordStartColumn(t,r,n,o,a,i);var s=e.getModuleBitCount(t,r,n,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,r,n,o,a){for(var i=o,c=new Int32Array(8),l=0,u=n?1:-1,s=n;(n?i<r:i>=t)&&l<c.length;)e.get(i,a)===s?(c[l]++,i+=u):(l++,s=!s);return l===c.length||i===(n?r:t)&&l===c.length-1?c:null},e.getNumberOfECCodeWords=function(e){return 2<<e},e.adjustCodewordStartColumn=function(t,r,n,o,a,i){for(var c=a,l=o?-1:1,u=0;u<2;u++){for(;(o?c>=r:c<n)&&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,r,n){return r-e.CODEWORD_SKEW_SIZE<=t&&t<=n+e.CODEWORD_SKEW_SIZE},e.decodeCodewords=function(t,r,n){if(0===t.length)throw a.a.getFormatInstance();var o=1<<r+1,i=e.correctErrors(t,n,o);e.verifyCodewordCount(t,o);var c=G.a.decode(t,""+r);return c.setErrorsCorrected(i),c.setErasures(n.length),c},e.correctErrors=function(t,r,n){if(null!=r&&r.length>n/2+e.MAX_ERRORS||n<0||n>e.MAX_EC_CODEWORDS)throw o.a.getChecksumInstance();return e.errorCorrection.decode(t,n,r)},e.verifyCodewordCount=function(e,t){if(e.length<4)throw a.a.getFormatInstance();var r=e[0];if(r>e.length)throw a.a.getFormatInstance();if(0===r){if(!(t<e.length))throw a.a.getFormatInstance();e[0]=e.length-t}},e.getBitCountForCodeword=function(e){for(var t=new Int32Array(8),r=0,n=t.length-1;!((1&e)!==r&&(r=1&e,--n<0));)t[n]++,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,r=0;r<e.length;r++){t.format("Row %2d: ",r);for(var n=0;n<e[r].length;n++){var o=e[r][n];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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r){void 0===r&&(r=null);var n=e.decode(t,r,!1);if(null==n||0===n.length||null==n[0])throw i.a.getNotFoundInstance();return n[0]},e.prototype.decodeMultiple=function(t,r){void 0===r&&(r=null);try{return e.decode(t,r,!0)}catch(e){if(e instanceof a.a||e instanceof o.a)throw i.a.getNotFoundInstance();throw e}},e.decode=function(t,r,o){var a,i,l=new Array,u=b.detectMultiple(t,r,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,n.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,r){"use strict";var n=r(16),o=r(46),a=r(31),i=r(8),c=r(36),l=r(50),u=r(43),s=r(56),d=r(96),f=r(86),h=r(174),p=r(248),v=r(13),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 r=5;r>=0;r--)e=this.copyBit(8,r,e);for(var n=this.bitMatrix.getHeight(),o=0,a=n-7,r=n-1;r>=a;r--)o=this.copyBit(8,r,o);for(var t=n-8;t<n;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 r=0,n=e-11,o=5;o>=0;o--)for(var a=e-9;a>=n;a--)r=this.copyBit(a,o,r);var i=f.a.decodeVersionInformation(r);if(null!==i&&i.getDimensionForVersion()===e)return this.parsedVersion=i,i;r=0;for(var a=5;a>=0;a--)for(var o=e-9;o>=n;o--)r=this.copyBit(a,o,r);if(null!==(i=f.a.decodeVersionInformation(r))&&i.getDimensionForVersion()===e)return this.parsedVersion=i,i;throw new v.a},e.prototype.copyBit=function(e,t,r){var n;return(this.isMirror?this.bitMatrix.get(t,e):this.bitMatrix.get(e,t))?r<<1|1:r<<1},e.prototype.readCodewords=function(){var e=this.readFormatInformation(),t=this.readVersion(),r=p.a.values.get(e.getDataMask()),n=this.bitMatrix.getHeight();r.unmaskBitMatrix(this.bitMatrix,n);for(var o=t.buildFunctionPattern(),a=!0,i=new Uint8Array(t.getTotalCodewords()),c=0,l=0,u=0,s=n-1;s>0;s-=2){6===s&&s--;for(var d=0;d<n;d++)for(var f=a?n-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,r=e.getWidth();t<r;t++)for(var n=t+1,o=e.getHeight();n<o;n++)e.get(t,n)!==e.get(n,t)&&(e.flip(n,t),e.flip(t,n))},e}(),b=r(15),y=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){var o,a,i,c;if(t.length!==r.getTotalCodewords())throw new b.a;var l=r.getECBlocksForLevel(n),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 _=p[0].codewords.length,w=S;w<_;w++)for(var C=0;C<v;C++){var T=C<j?w:w+1;p[C].codewords[T]=t[E++]}return p},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}(),M=r(282),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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r=new g(e),n=null;try{return this.decodeBitMatrixParser(r,t)}catch(e){n=e}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var o=this.decodeBitMatrixParser(r,t);return o.setOther(new j(!0)),o}catch(e){if(null!==n)throw n;throw e}},e.prototype.decodeBitMatrixParser=function(e,t){var r,n,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){r={error:e}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.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 r=new Int32Array(e);try{this.rsDecoder.decode(r,e.length-t)}catch(e){throw new u.a}for(var n=0;n<t;n++)e[n]=r[n]},e}(),C=r(28),_=r(119),T=r(120),D=r(171),z=r(17),I=(P=function(e,t){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),P,N,k=function(e){function t(t,r,n){var o=e.call(this,t,r)||this;return o.estimatedModuleSize=n,o}return I(t,e),t.prototype.aboutEquals=function(e,t,r){if(Math.abs(t-this.getY())<=e&&Math.abs(r-this.getX())<=e){var n=Math.abs(e-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,r,n){var o,a,i;return new t((this.getX()+r)/2,(this.getY()+e)/2,(this.estimatedModuleSize+n)/2)},t}(z.a),R=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},L,V=function(){function e(e,t,r,n,o,a,i){this.image=e,this.startX=t,this.startY=r,this.width=n,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,r,n=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<n&&!c.get(s,u);)s++;for(var d=0,f;s<n;){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,n)))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,r=t/2,n=0;n<3;n++)if(Math.abs(t-e[n])>=r)return!1;return!0},e.prototype.crossCheckVertical=function(t,r,n,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(r,l)&&c[1]<=n;)c[1]++,l--;if(l<0||c[1]>n)return NaN;for(;l>=0&&!a.get(r,l)&&c[0]<=n;)c[0]++,l--;if(c[0]>n)return NaN;for(l=t+1;l<i&&a.get(r,l)&&c[1]<=n;)c[1]++,l++;if(l===i||c[1]>n)return NaN;for(;l<i&&!a.get(r,l)&&c[2]<=n;)c[2]++,l++;if(c[2]>n)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,r,n){var o,a,i=t[0]+t[1]+t[2],c=e.centerFromEnd(t,n),l=this.crossCheckVertical(r,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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),H,F=function(e){function t(t,r,n,o){var a=e.call(this,t,r)||this;return a.estimatedModuleSize=n,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,r){if(Math.abs(t-this.getY())<=e&&Math.abs(r-this.getX())<=e){var n=Math.abs(e-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,r,n){var o=this.count+1,a,i,c;return new t((this.count*this.getX()+r)/o,(this.count*this.getY()+e)/o,(this.count*this.estimatedModuleSize+n)/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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r=null!=t&&void 0!==t.get(a.a.TRY_HARDER),n=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||r)&&(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,n))){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,n))&&(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,r=0;r<5;r++){var n=e[r];if(0===n)return!1;t+=n}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,r,n,o){for(var a=this.getCrossCheckStateCount(),i=0,c=this.image;t>=i&&r>=i&&c.get(r-i,t-i);)a[2]++,i++;if(t<i||r<i)return!1;for(;t>=i&&r>=i&&!c.get(r-i,t-i)&&a[1]<=n;)a[1]++,i++;if(t<i||r<i||a[1]>n)return!1;for(;t>=i&&r>=i&&c.get(r-i,t-i)&&a[0]<=n;)a[0]++,i++;if(a[0]>n)return!1;var l=c.getHeight(),u=c.getWidth();for(i=1;t+i<l&&r+i<u&&c.get(r+i,t+i);)a[2]++,i++;if(t+i>=l||r+i>=u)return!1;for(;t+i<l&&r+i<u&&!c.get(r+i,t+i)&&a[3]<n;)a[3]++,i++;if(t+i>=l||r+i>=u||a[3]>=n)return!1;for(;t+i<l&&r+i<u&&c.get(r+i,t+i)&&a[4]<n;)a[4]++,i++;if(a[4]>=n)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,r,n,o){for(var a=this.image,i=a.getHeight(),c=this.getCrossCheckStateCount(),l=t;l>=0&&a.get(r,l);)c[2]++,l--;if(l<0)return NaN;for(;l>=0&&!a.get(r,l)&&c[1]<=n;)c[1]++,l--;if(l<0||c[1]>n)return NaN;for(;l>=0&&a.get(r,l)&&c[0]<=n;)c[0]++,l--;if(c[0]>n)return NaN;for(l=t+1;l<i&&a.get(r,l);)c[2]++,l++;if(l===i)return NaN;for(;l<i&&!a.get(r,l)&&c[3]<n;)c[3]++,l++;if(l===i||c[3]>=n)return NaN;for(;l<i&&a.get(r,l)&&c[4]<n;)c[4]++,l++;if(c[4]>=n)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,r,n,o){for(var a=this.image,i=a.getWidth(),c=this.getCrossCheckStateCount(),l=t;l>=0&&a.get(l,r);)c[2]++,l--;if(l<0)return NaN;for(;l>=0&&!a.get(l,r)&&c[1]<=n;)c[1]++,l--;if(l<0||c[1]>n)return NaN;for(;l>=0&&a.get(l,r)&&c[0]<=n;)c[0]++,l--;if(c[0]>n)return NaN;for(l=t+1;l<i&&a.get(l,r);)c[2]++,l++;if(l===i)return NaN;for(;l<i&&!a.get(l,r)&&c[3]<n;)c[3]++,l++;if(l===i||c[3]>=n)return NaN;for(;l<i&&a.get(l,r)&&c[4]<n;)c[4]++,l++;if(c[4]>=n)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,r,n,o){var a=t[0]+t[1]+t[2]+t[3]+t[4],i=e.centerFromEnd(t,n),c=this.crossCheckVertical(r,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,r,n;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&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return 0},e.prototype.haveMultiplyConfirmedCenters=function(){var t,r,n,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&&(r=l.return)&&r.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){n={error:e}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}return f<=.05*i},e.prototype.selectBestPatterns=function(){var e,t,r,n,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 r=Math.abs(t.getEstimatedModuleSize()-c),n=Math.abs(e.getEstimatedModuleSize()-c);return r<n?-1:r>n?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){r={error:e}}finally{try{y&&!y.done&&(n=b.return)&&n.call(b)}finally{if(r)throw r.error}}c=l/a.length,a.sort((function(e,t){if(t.getCount()===e.getCount()){var r=Math.abs(t.getEstimatedModuleSize()-c),n=Math.abs(e.getEstimatedModuleSize()-c);return r<n?1:r>n?-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,r=new G(this.image,this.resultPointCallback).find(e);return this.processFinderPatternInfo(r)},e.prototype.processFinderPatternInfo=function(t){var r=t.getTopLeft(),n=t.getTopRight(),o=t.getBottomLeft(),a=this.calculateModuleSize(r,n,o);if(a<1)throw new i.a("No pattern found in proccess finder.");var c=e.computeDimension(r,n,o,a),l=f.a.getProvisionalVersionForDimension(c),u=l.getDimensionForVersion()-7,s=null;if(l.getAlignmentPatternCenters().length>0)for(var d=n.getX()-r.getX()+o.getX(),h=n.getY()-r.getY()+o.getY(),p=1-3/u,v=Math.floor(r.getX()+p*(d-r.getX())),m=Math.floor(r.getY()+p*(h-r.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(r,n,o,s,c),y=e.sampleGrid(this.image,b,c),w;return w=null===s?[o,r,n]:[o,r,n,s],new _.a(y,w)},e.createTransform=function(e,t,r,n,o){var a=o-3.5,i,c,l,u;return null!==n?(i=n.getX(),c=n.getY(),u=l=a-3):(i=t.getX()-e.getX()+r.getX(),c=t.getY()-e.getY()+r.getY(),l=a,u=a),D.a.quadrilateralToQuadrilateral(3.5,3.5,a,3.5,l,u,3.5,a,e.getX(),e.getY(),t.getX(),t.getY(),i,c,r.getX(),r.getY())},e.sampleGrid=function(e,t,r){var n;return T.a.getInstance().sampleGridWithTransform(e,r,r,t)},e.computeDimension=function(e,t,r,n){var o=C.a.round(z.a.distance(e,t)/n),a=C.a.round(z.a.distance(e,r)/n),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,r){return(this.calculateModuleSizeOneWay(e,t)+this.calculateModuleSizeOneWay(e,r))/2},e.prototype.calculateModuleSizeOneWay=function(e,t){var r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY())),n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(r)?n/7:isNaN(n)?r/7:(r+n)/14},e.prototype.sizeOfBlackWhiteBlackRunBothWays=function(e,t,r,n){var o=this.sizeOfBlackWhiteBlackRun(e,t,r,n),a=1,i=e-(r-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-(n-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,r,n){var o=Math.abs(n-t)>Math.abs(r-e);if(o){var a=e;e=t,t=a,a=r,r=n,n=a}for(var i=Math.abs(r-e),c=Math.abs(n-t),l=-i/2,u=e<r?1:-1,s=t<n?1:-1,d=0,f=r+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===n)break;p+=s,l-=i}}return 2===d?C.a.distance(r+u,n,e,t):NaN},e.prototype.findAlignmentInRegion=function(e,t,r,n){var o=Math.floor(n*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,r-o),u=Math.min(this.image.getHeight()-1,r+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,r){var o,i;if(null!=r&&void 0!==r.get(a.a.PURE_BARCODE)){var u=e.extractPureBits(t.getBlackMatrix());o=this.decoder.decodeBitMatrix(u,r),i=e.NO_POINTS}else{var s=new q(t.getBlackMatrix()).detect(r);o=this.decoder.decodeBitMatrix(s.getBits(),r),i=s.getPoints()}o.getOther()instanceof j&&o.getOther().applyMirroredCorrection(i);var d=new c.a(o.getText(),o.getRawBytes(),void 0,i,n.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(),r=e.getBottomRightOnBit();if(null===t||null===r)throw new i.a;var n=this.moduleSize(t,e),a=t[1],c=r[1],l=t[0],u=r[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)/n),d=Math.round((c-a+1)/n);if(s<=0||d<=0)throw new i.a;if(d!==s)throw new i.a;var f=Math.floor(n/2);a+=f;var h=(l+=f)+Math.floor((s-1)*n)-u;if(h>0){if(h>f)throw new i.a;l-=h}var p=a+Math.floor((d-1)*n)-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*n),b=0;b<s;b++)e.get(l+Math.floor(b*n),g)&&v.set(b,m);return v},e.moduleSize=function(e,t){for(var r=t.getHeight(),n=t.getWidth(),o=e[0],a=e[1],c=!0,l=0;o<n&&a<r;){if(c!==t.get(o,a)){if(5==++l)break;c=!c}o++,a++}if(o===n||a===r)throw new i.a;return(o-e[0])/7},e.NO_POINTS=new Array,e}(),Z=t.a=$},function(e,t,r){"use strict";var n=r(16),o=r(46),a=r(31),i=r(8),c=r(36),l=r(50),u=r(27),s=r(43),d=r(56),f=r(96),h=r(13),p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(){function e(e,t,r){this.ecCodewords=e,this.ecBlocks=[t],r&&this.ecBlocks.push(r)}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,r,n,o,a){var i,c;this.versionNumber=e,this.symbolSizeRows=t,this.symbolSizeColumns=r,this.dataRegionSizeRows=n,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,r){var n,o;if(0!=(1&t)||0!=(1&r))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===r)return c}}catch(e){n={error:e}}finally{try{i&&!i.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.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=r(15),w,O=function(){function e(t){var r=t.getHeight();if(r<8||r>144||0!=(1&r))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(),r=e.getWidth();return b.getVersionForDimensions(t,r)},e.prototype.readCodewords=function(){var e=new Int8Array(this.version.getTotalCodewords()),t=0,r=4,n=0,o=this.mappingBitMatrix.getHeight(),a=this.mappingBitMatrix.getWidth(),i=!1,c=!1,l=!1,u=!1;do{if(r!==o||0!==n||i)if(r!==o-2||0!==n||0==(3&a)||c)if(r!==o+4||2!==n||0!=(7&a)||l)if(r!==o-2||0!==n||4!=(7&a)||u){do{r<o&&n>=0&&!this.readMappingMatrix.get(n,r)&&(e[t++]=255&this.readUtah(r,n,o,a)),r-=2,n+=2}while(r>=0&&n<a);r+=1,n+=3;do{r>=0&&n<a&&!this.readMappingMatrix.get(n,r)&&(e[t++]=255&this.readUtah(r,n,o,a)),r+=2,n-=2}while(r<o&&n>=0);r+=3,n+=1}else e[t++]=255&this.readCorner4(o,a),r-=2,n+=2,u=!0;else e[t++]=255&this.readCorner3(o,a),r-=2,n+=2,l=!0;else e[t++]=255&this.readCorner2(o,a),r-=2,n+=2,c=!0;else e[t++]=255&this.readCorner1(o,a),r-=2,n+=2,i=!0}while(r<o||n<a);if(t!==this.version.getTotalCodewords())throw new h.a;return e},e.prototype.readModule=function(e,t,r,n){return e<0&&(e+=r,t+=4-(r+4&7)),t<0&&(t+=n,e+=4-(n+4&7)),this.readMappingMatrix.set(t,e),this.mappingBitMatrix.get(t,e)},e.prototype.readUtah=function(e,t,r,n){var o=0;return this.readModule(e-2,t-2,r,n)&&(o|=1),o<<=1,this.readModule(e-2,t-1,r,n)&&(o|=1),o<<=1,this.readModule(e-1,t-2,r,n)&&(o|=1),o<<=1,this.readModule(e-1,t-1,r,n)&&(o|=1),o<<=1,this.readModule(e-1,t,r,n)&&(o|=1),o<<=1,this.readModule(e,t-2,r,n)&&(o|=1),o<<=1,this.readModule(e,t-1,r,n)&&(o|=1),o<<=1,this.readModule(e,t,r,n)&&(o|=1),o},e.prototype.readCorner1=function(e,t){var r=0;return this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,1,e,t)&&(r|=1),r<<=1,this.readModule(e-1,2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r<<=1,this.readModule(2,t-1,e,t)&&(r|=1),r<<=1,this.readModule(3,t-1,e,t)&&(r|=1),r},e.prototype.readCorner2=function(e,t){var r=0;return this.readModule(e-3,0,e,t)&&(r|=1),r<<=1,this.readModule(e-2,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(0,t-4,e,t)&&(r|=1),r<<=1,this.readModule(0,t-3,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r},e.prototype.readCorner3=function(e,t){var r=0;return this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,t-1,e,t)&&(r|=1),r<<=1,this.readModule(0,t-3,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-3,e,t)&&(r|=1),r<<=1,this.readModule(1,t-2,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r},e.prototype.readCorner4=function(e,t){var r=0;return this.readModule(e-3,0,e,t)&&(r|=1),r<<=1,this.readModule(e-2,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r<<=1,this.readModule(2,t-1,e,t)&&(r|=1),r<<=1,this.readModule(3,t-1,e,t)&&(r|=1),r},e.prototype.extractDataRegion=function(e){var t=this.version.getSymbolSizeRows(),r=this.version.getSymbolSizeColumns();if(e.getHeight()!==t)throw new y.a("Dimension of bitMatrix must match the version size");for(var n=this.version.getDataRegionSizeRows(),a=this.version.getDataRegionSizeColumns(),i=t/n|0,c=r/a|0,l=i*n,u=c*a,s=new o.a(u,l),d=0;d<i;++d)for(var f=d*n,h=0;h<c;++h)for(var p=h*a,v=0;v<n;++v)for(var m=d*(n+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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r){var n,o,a,i,c=r.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){n={error:e}}finally{try{d&&!d.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.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===r.getVersionNumber(),C=E?8:p,S=0;S<C;S++)h[S].codewords[A-1]=t[x++];for(var _=h[0].codewords.length,g=A;g<_;g++)for(var S=0;S<p;S++){var T=E?(S+8)%p:S,D=E&&T>7?g-1:g;h[T].codewords[D]=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=r(280),S=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n=new O(e),o=n.getVersion(),a=n.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&&(r=l.return)&&r.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 r=new Int32Array(e);try{this.rsDecoder.decode(r,e.length-t)}catch(e){throw new s.a}for(var n=0;n<t;n++)e[n]=r[n]},e}(),_=r(141),T=r(119),D=r(120),z=r(17),I,P=function(){function e(e){this.image=e,this.rectangleDetector=new _.a(this.image)}return e.prototype.detect=function(){var t=this.rectangleDetector.detect(),r=this.detectSolid1(t);if((r=this.detectSolid2(r))[3]=this.correctTopRight(r),!r[3])throw new i.a;var n=(r=this.shiftToModuleCenter(r))[0],o=r[1],a=r[2],c=r[3],l=this.transitionsBetween(n,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,n,o,a,c,l,u);return new T.a(s,[n,o,a,c])},e.shiftPoint=function(e,t,r){var n=(t.getX()-e.getX())/(r+1),o=(t.getY()-e.getY())/(r+1);return new z.a(e.getX()+n,e.getY()+o)},e.moveAway=function(e,t,r){var n=e.getX(),o=e.getY();return n<t?n-=1:n+=1,o<r?o-=1:o+=1,new z.a(n,o)},e.prototype.detectSolid1=function(e){var t=e[0],r=e[1],n=e[3],o=e[2],a=this.transitionsBetween(t,r),i=this.transitionsBetween(r,n),c=this.transitionsBetween(n,o),l=this.transitionsBetween(o,t),u=a,s=[o,t,r,n];return u>i&&(u=i,s[0]=t,s[1]=r,s[2]=n,s[3]=o),u>c&&(u=c,s[0]=r,s[1]=n,s[2]=o,s[3]=t),u>l&&(s[0]=n,s[1]=o,s[2]=t,s[3]=r),s},e.prototype.detectSolid2=function(t){var r=t[0],n=t[1],o=t[2],a=t[3],i=this.transitionsBetween(r,a),c=e.shiftPoint(n,o,4*(i+1)),l=e.shiftPoint(o,n,4*(i+1)),u,s;return this.transitionsBetween(c,r)<this.transitionsBetween(l,a)?(t[0]=r,t[1]=n,t[2]=o,t[3]=a):(t[0]=n,t[1]=o,t[2]=a,t[3]=r),t},e.prototype.correctTopRight=function(t){var r=t[0],n=t[1],o=t[2],a=t[3],i=this.transitionsBetween(r,a),c=this.transitionsBetween(n,a),l=e.shiftPoint(r,n,4*(c+1)),u=e.shiftPoint(o,n,4*(i+1));i=this.transitionsBetween(l,a),c=this.transitionsBetween(u,a);var s=new z.a(a.getX()+(o.getX()-n.getX())/(i+1),a.getY()+(o.getY()-n.getY())/(i+1)),d=new z.a(a.getX()+(r.getX()-n.getX())/(c+1),a.getY()+(r.getY()-n.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 r=t[0],n=t[1],o=t[2],a=t[3],i=this.transitionsBetween(r,a)+1,c=this.transitionsBetween(o,a)+1,l=e.shiftPoint(r,n,4*c),u=e.shiftPoint(o,n,4*i);1==(1&(i=this.transitionsBetween(l,a)+1))&&(i+=1),1==(1&(c=this.transitionsBetween(u,a)+1))&&(c+=1);var s=(r.getX()+n.getX()+o.getX()+a.getX())/4,d=(r.getY()+n.getY()+o.getY()+a.getY())/4,f,h;return r=e.moveAway(r,s,d),n=e.moveAway(n,s,d),o=e.moveAway(o,s,d),a=e.moveAway(a,s,d),l=e.shiftPoint(r,n,4*c),l=e.shiftPoint(l,a,4*i),f=e.shiftPoint(n,r,4*c),f=e.shiftPoint(f,o,4*i),u=e.shiftPoint(o,a,4*c),u=e.shiftPoint(u,n,4*i),h=e.shiftPoint(a,o,4*c),[l,f,u,h=e.shiftPoint(h,r,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,r,n,o,a,i){var c;return D.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(),n.getX(),n.getY(),r.getX(),r.getY())},e.prototype.transitionsBetween=function(e,t){var r=Math.trunc(e.getX()),n=Math.trunc(e.getY()),o=Math.trunc(t.getX()),a=Math.trunc(t.getY()),i=Math.abs(a-n)>Math.abs(o-r);if(i){var c=r;r=n,n=c,c=o,o=a,a=c}for(var l=Math.abs(o-r),u=Math.abs(a-n),s=-l/2,d=n<a?1:-1,f=r<o?1:-1,h=0,p=this.image.get(i?n:r,i?r:n),v=r,m=n;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,r){var o,i;if(void 0===r&&(r=null),null!=r&&r.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,n.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(),r=e.getBottomRightOnBit();if(null==t||null==r)throw new i.a;var n=this.moduleSize(t,e),a=t[1],c=r[1],l=t[0],u,s=(r[0]-l+1)/n,d=(c-a+1)/n;if(s<=0||d<=0)throw new i.a;var f=n/2;a+=f,l+=f;for(var h=new o.a(s,d),p=0;p<d;p++)for(var v=a+p*n,m=0;m<s;m++)e.get(l+m*n,v)&&h.set(m,p);return h},e.moduleSize=function(e,t){for(var r=t.getWidth(),n=e[0],o=e[1];n<r&&t.get(n,o);)n++;if(n===r)throw new i.a;var a=n-e[0];if(0===a)throw new i.a;return a},e.NO_POINTS=[],e}(),k=t.a=N},function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"g",(function(){return a})),r.d(t,"e",(function(){return i})),r.d(t,"h",(function(){return c})),r.d(t,"b",(function(){return l})),r.d(t,"d",(function(){return u})),r.d(t,"f",(function(){return p}));var n=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 r,n;return!(!t||"[object Object]"!==toString.call(t))&&(!(r=s(t))||"function"==typeof(n=d.call(r,"constructor")&&r.constructor)&&f.call(n)===h)}},function(e,t,r){"use strict";r.d(t,"e",(function(){return o})),r.d(t,"f",(function(){return a})),r.d(t,"b",(function(){return i})),r.d(t,"d",(function(){return c})),r.d(t,"a",(function(){return l})),r.d(t,"h",(function(){return u})),r.d(t,"c",(function(){return s})),r.d(t,"i",(function(){return d})),r.d(t,"g",(function(){return f}));var n="undefined"!=typeof window&&window.document,o=function e(){var t=navigator.userAgent,r=-1!=t.indexOf("Safari")&&-1!=t.indexOf("Version"),n=-1!=t.indexOf("iPhone")&&-1!=t.indexOf("Version"),o=r&&!n&&"ontouchend"in document;return!(!/iphone|ios|ipad|android|mobile/i.test(navigator.userAgent.toLowerCase())&&!o)},a=function e(){var t=window.navigator.userAgent.toLowerCase(),r="ipad"==t.match(/ipad/i),n="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!!(r||n||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,r=window.navigator.userAgent,n=r.indexOf("Opera")>-1||r.indexOf("OPR")>-1,o=r.indexOf("compatible")>-1&&r.indexOf("MSIE")>-1,a=-1===r.indexOf("compatible")&&r.indexOf("Trident")>-1,i=r.indexOf("Edge")>-1,c=r.indexOf("Firefox")>-1,l=r.indexOf("Safari")>-1&&-1===r.indexOf("Chrome"),u=r.indexOf("Chrome")>-1&&r.indexOf("; Win")>-1&&r.indexOf("Safari")>-1;return t=n||o||a||i||c||l||u?0:1},u=function e(){if(n){var t="";return n&&(t=window.navigator.userAgent.toLowerCase()),"micromessenger"==t.match(/MicroMessenger/i)}return!1},s=function e(){var t,r;return!!n&&!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},d=function e(){var t,r;return!!n&&-1!==navigator.userAgent.indexOf("miniProgram")},f=function e(){if(n){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,r){"use strict";var n=r(42),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ReedSolomonException",t}(n.a);t.a=i},function(e,t,r){"use strict";var n=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 r=t;return this.value===r.value&&this.checksumPortion===r.checksumPortion},e.prototype.hashCode=function(){return this.value^this.checksumPortion},e}();t.a=n},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(126);function o(e,t){if("object"!==Object(n.a)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==Object(n.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(n.a)(t)?t:String(t)}function i(e,t,r){return(t=a(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";var n=r(15),o=function(){function e(){}return e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new n.a;return this.logTable[e]},e.addOrSubtract=function(e,t){return e^t},e}();t.a=o},function(e,t){var r,n=Function.prototype.toString;function o(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}e.exports=o},function(e,t,r){var n=r(205),o=r(212),a=r(214),i=r(215),c=r(216);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=c,e.exports=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exportImportOptions=t.suffixOptions=t.defaultOptions=void 0;var n=r(38);t.defaultOptions={exportType:"current-page",footerHintTypes:["export_file","import_log"],okShowButtonTypes:["export","import"],exportValue:"export",importValue:"import"},t.suffixOptions={1:"".concat((0,n.getText)("page.customer.list.table.num")),2:"".concat((0,n.getText)("page.customer.suffix")),product:"".concat((0,n.getText)("page.product.suffix")),4:"".concat((0,n.getText)("page.voucher.suffix")),5:"".concat((0,n.getText)("page.recharge.suffix")),6:"".concat((0,n.getText)("page.ticket.suffix")),7:"".concat((0,n.getText)("page.package.ticket.suffix"))},t.exportImportOptions={import:(0,n.getText)("table-action-export-import-button-import"),export:(0,n.getText)("table-action-export-import-button"),export_file:(0,n.getText)("table-action-export-import-export-title"),import_log:(0,n.getText)("table-action-export-import-import-title")}},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},a=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n=0,o=t.length,a;n<o;n++)!a&&n in t||(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);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(r(64)),l=r(25),u=i(r(269)),s=i(r(270)),d=r(258),f=r(58),h="table-setting",p=function e(t){var r=JSON.stringify(t),n;return(0,u.default)(r).toString(s.default.Hex)};t.getHash=p;var v=function e(t){return t.reduce((function(e,t){var r;return n(n({},e),((r={})[t.dataIndex]=t,r))}),{})},m={text:function e(t,r,n){var o;return null===(o=r[n])||void 0===o?void 0:o.toString().toLowerCase().includes(t.toLowerCase())},number:function e(t,r,n){return r[n]>=t.min&&r[n]<=t.max},filters:function e(t,r,n){var o;return t.map((function(e){return e.toLowerCase()})).includes(null===(o=r[n])||void 0===o?void 0:o.toString().toLowerCase())}},g=function e(t){return function(e,r){return"date"===t.field_type?(0,c.default)(e[t.dataIndex]).valueOf()-(0,c.default)(r[t.dataIndex]).valueOf():e[t.dataIndex]-r[t.dataIndex]}},b=function e(t){var r=t.dataSource,n=t.filter,o=t.sort,a=t.columns,i=v(a),c=r.filter((function(e){return Object.keys(n||{}).every((function(t){var r,o;if(!(null===(r=n[t])||void 0===r?void 0:r.length))return!0;var a=i[t];return(null===(o=a.filters)||void 0===o?void 0:o.length)>0?m.filters(n[t][0],e,a.dataIndex):"text"===a.field_type?m[a.field_type](n[t][0],e,a.dataIndex):"number"!==a.field_type||m[a.field_type](n[t][0],e,a.dataIndex)}))}));return(null==o?void 0:o.order)&&c.sort((function(e,t){var r=o.order;return"descend"===r?g(o.column)(t,e):"ascend"===r?g(o.column)(e,t):void 0})),c};t.calcFilterSort=b;var y=function e(r,n){if(!r)return{};var o=((0,t.getTableSettingByCurrentViewMode)(r,n)||{}).column_setting,a=o,i;return o?o.reduce((function(e,t){return e[t.key]=t,e}),{}):{}},w=function e(t){var r=t.columns,o=t.tableId,a=t.currentViewMode;if(!o)return r.map((function(e){return n(n({},e),{isShow:!0})}));var i=y(o,a),c=r.map((function(e,t){var r,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,n(n({},e),{width:null!==(r=a.width)&&void 0!==r?r:e.width,isShow:null===(o=a.isShow)||void 0===o||o,sortIndex:c})):n(n({},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,r){var n=r.sortKey,o=r.sortValue,i=r.sortType,c=a([],t,!0),l=function e(t,r){return function(e,n){var a=(0,f.getValueByKeys)(e,t.split(",")),i=(0,f.getValueByKeys)(n,t.split(","));return"string"===r?"asc"===o?null==a?void 0:a.localeCompare(i):null==i?void 0:i.localeCompare(a):"date"===r?"asc"!==o?new Date(i).getTime()-new Date(a).getTime():new Date(a).getTime()-new Date(i).getTime():"number"===r?"asc"===o?(Number(a)||0)-(Number(i)||0):(Number(i)||0)-(Number(a)||0):void 0}};return c.sort(l(n,i)),c};t.sortDataSource=O;var M=function e(t,r){return(0,l.isString)(r)?t[r]:(0,l.isFunction)(r)?t[r(t)]:t[r||"id"]};t.getIdByRowKey=M;var A=function e(r,o,i){var c=o[0].field;if(!c)return r;var l=c.split(","),u=a([],r,!0);return u=Object.values(u.reduce((function(e,r,o){var a=(0,f.getValueByKeys)(r,l);return e[a]?e[a].children.push(r):e[a]={__table_group_field:c,__is_group:!0,children:[r]},e[a].__rowKey="group-".concat(e[a].children.map((function(e){return(0,t.getIdByRowKey)(e,i)})).join("-")),e[a].id=e[a].__rowKey,n({},e)}),{}))};t.groupDataSource=A;var j=function e(t){var r,a=t.tableId,i=t.tableSettingObj,c=t.currentViewMode,u=t.currentSettingHash;if(a){var s=localStorage.getItem(T(a)),d={};if(s&&(0,l.isJson)(s)){var f=JSON.parse(s)||{};d=n({},f)}var h=i.view_mode,p=o(i,["view_mode"]);d=n(n({},d),((r={view_mode:h||d.view_mode,currentSettingHash:u})[c]=n(n({},d[c]||{}),p),r)),localStorage.setItem(T(a),JSON.stringify(d))}};t.setTableSettingToLocalStorage=j;var x=function e(t){t&&localStorage.removeItem(T(t))};t.clearTableSettingToLocalStorage=x;var S=function e(t){if(!t)return{};var r=localStorage.getItem(T(t));return r&&(0,l.isJson)(r)?JSON.parse(r):{}};t.getTableSettingFromLocalStorage=S;var E=function e(r){var n;return(0,t.getTableSettingFromLocalStorage)(r).view_mode};t.getCurrentViewModeFromLocalStorage=E;var C=function e(r,n){var o;return(0,t.getTableSettingFromLocalStorage)(r)[n]};t.getTableSettingByCurrentViewMode=C;var _=function e(r){var n=r.tableId,o=r.allValues,a=r.keys,i=r.currentViewMode,c=r.currentSettingHash;if(n){var l={};null==a||a.forEach((function(e){l[e]=null==o?void 0:o[e]})),(0,t.setTableSettingToLocalStorage)({tableId:n,tableSettingObj:l,currentViewMode:i,currentSettingHash:c})}};t.setFormValuesToLocalStorage=_;var T=function e(t){return"".concat(h,"-").concat(t)},D=function e(r){var o,a,i=r.list,c=r.quickFilterMaxLength,u=r.tableId,s=r.sortButtonShow,d=r.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,n(n({},e),{sortIndex:t})]}))),y=new Map(v.map((function(e,t){return[e.key,n(n({},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=D;var z=function e(t,r,n){var o=n.map((function(e){if(!r[e.name])return null;var t=d.fieldMaps[e.type].filterFn;return(0,l.isFunction)(t)?function(n){try{return t({value:r[e.name],item:n,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 r=t.filter,n=t.columnSetting,o=t.dataSourceGroup,a=t.sort,i=t.mode,c=t.currentViewMode,l=[];return(null==r?void 0:r.show)&&((null==r?void 0:r.storageMode)||"")==i&&l.push("filter_setting"),((null==n?void 0:n.storageMode)||"")==i&&"gallery"===c&&l.push("gallery_setting","column_setting"),((null==n?void 0:n.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,r){for(var n=Object.assign({},t),o=0;o<r.length;o+=1){var a;delete n[r[o]]}return n};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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=r(226),a=function e(){var t;return(0,n.useContext)(o.PisellContext)};t.default=a},,,,,,,,function(e,t,r){"use strict";var n=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=r(11);Object.defineProperty(t,"Affix",{enumerable:!0,get:function e(){return o.Affix}});var a=r(11);Object.defineProperty(t,"Anchor",{enumerable:!0,get:function e(){return a.Anchor}});var i=r(11);Object.defineProperty(t,"Alert",{enumerable:!0,get:function e(){return i.Alert}});var c=r(11);Object.defineProperty(t,"Avatar",{enumerable:!0,get:function e(){return c.Avatar}});var l=r(11);Object.defineProperty(t,"Badge",{enumerable:!0,get:function e(){return l.Badge}});var u=r(11);Object.defineProperty(t,"Breadcrumb",{enumerable:!0,get:function e(){return u.Breadcrumb}});var s=r(11);Object.defineProperty(t,"Card",{enumerable:!0,get:function e(){return s.Card}});var d=r(11);Object.defineProperty(t,"Collapse",{enumerable:!0,get:function e(){return d.Collapse}});var f=r(11);Object.defineProperty(t,"Carousel",{enumerable:!0,get:function e(){return f.Carousel}});var h=r(11);Object.defineProperty(t,"Col",{enumerable:!0,get:function e(){return h.Col}});var p=r(11);Object.defineProperty(t,"Descriptions",{enumerable:!0,get:function e(){return p.Descriptions}});var v=r(11);Object.defineProperty(t,"Divider",{enumerable:!0,get:function e(){return v.Divider}});var m=r(11);Object.defineProperty(t,"Empty",{enumerable:!0,get:function e(){return m.Empty}});var g=r(11);Object.defineProperty(t,"Grid",{enumerable:!0,get:function e(){return g.Grid}});var b=r(11);Object.defineProperty(t,"Image",{enumerable:!0,get:function e(){return b.Image}});var y=r(11);Object.defineProperty(t,"InputNumber",{enumerable:!0,get:function e(){return y.InputNumber}});var w=r(11);Object.defineProperty(t,"message",{enumerable:!0,get:function e(){return w.message}});var O=r(11);Object.defineProperty(t,"Menu",{enumerable:!0,get:function e(){return O.Menu}});var M=r(11);Object.defineProperty(t,"Mentions",{enumerable:!0,get:function e(){return M.Mentions}});var A=r(11);Object.defineProperty(t,"Statistic",{enumerable:!0,get:function e(){return A.Statistic}});var j=r(11);Object.defineProperty(t,"notification",{enumerable:!0,get:function e(){return j.notification}});var x=r(11);Object.defineProperty(t,"Pagination",{enumerable:!0,get:function e(){return x.Pagination}});var S=r(11);Object.defineProperty(t,"Popconfirm",{enumerable:!0,get:function e(){return S.Popconfirm}});var E=r(11);Object.defineProperty(t,"Popover",{enumerable:!0,get:function e(){return E.Popover}});var C=r(11);Object.defineProperty(t,"Progress",{enumerable:!0,get:function e(){return C.Progress}});var _=r(11);Object.defineProperty(t,"Rate",{enumerable:!0,get:function e(){return _.Rate}});var T=r(11);Object.defineProperty(t,"Result",{enumerable:!0,get:function e(){return T.Result}});var D=r(11);Object.defineProperty(t,"Row",{enumerable:!0,get:function e(){return D.Row}});var z=r(11);Object.defineProperty(t,"Space",{enumerable:!0,get:function e(){return z.Space}});var I=r(11);Object.defineProperty(t,"Spin",{enumerable:!0,get:function e(){return I.Spin}});var P=r(11);Object.defineProperty(t,"Steps",{enumerable:!0,get:function e(){return P.Steps}});var N=r(11);Object.defineProperty(t,"Switch",{enumerable:!0,get:function e(){return N.Switch}});var k=r(11);Object.defineProperty(t,"Transfer",{enumerable:!0,get:function e(){return k.Transfer}});var R=r(11);Object.defineProperty(t,"Tree",{enumerable:!0,get:function e(){return R.Tree}});var L=r(11);Object.defineProperty(t,"Tag",{enumerable:!0,get:function e(){return L.Tag}});var V=r(11);Object.defineProperty(t,"Timeline",{enumerable:!0,get:function e(){return V.Timeline}});var B=r(11);Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function e(){return B.Tooltip}});var H=r(11);Object.defineProperty(t,"version",{enumerable:!0,get:function e(){return H.version}});var F=r(672);Object.defineProperty(t,"Typography",{enumerable:!0,get:function e(){return n(F).default}});var W=r(677);Object.defineProperty(t,"Skeleton",{enumerable:!0,get:function e(){return n(W).default}});var U=r(678);Object.defineProperty(t,"Checkbox",{enumerable:!0,get:function e(){return n(U).default}});var Y=r(312);Object.defineProperty(t,"Button",{enumerable:!0,get:function e(){return n(Y).default}});var Q=r(679);Object.defineProperty(t,"Radio",{enumerable:!0,get:function e(){return n(Q).default}});var G=r(680);Object.defineProperty(t,"Upload",{enumerable:!0,get:function e(){return n(G).default}});var X=r(394);Object.defineProperty(t,"Icon",{enumerable:!0,get:function e(){return n(X).default}});var q=r(681);Object.defineProperty(t,"Form",{enumerable:!0,get:function e(){return n(q).default}});var $=r(682);Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function e(){return n($).default}});var Z=r(683);Object.defineProperty(t,"Calendar",{enumerable:!0,get:function e(){return n(Z).default}});var K=r(395);Object.defineProperty(t,"ConfigProvider",{enumerable:!0,get:function e(){return n(K).default}});var J=r(256);Object.defineProperty(t,"DatePicker",{enumerable:!0,get:function e(){return n(J).default}});var ee=r(697);Object.defineProperty(t,"Tabs",{enumerable:!0,get:function e(){return n(ee).default}});var te=r(700);Object.defineProperty(t,"TimePicker",{enumerable:!0,get:function e(){return n(te).default}});var re=r(701);Object.defineProperty(t,"Slider",{enumerable:!0,get:function e(){return n(re).default}});var ne=r(404);Object.defineProperty(t,"Table",{enumerable:!0,get:function e(){return n(ne).default}});var oe=r(322);Object.defineProperty(t,"Modal",{enumerable:!0,get:function e(){return n(oe).default}});var ae=r(425);Object.defineProperty(t,"Drawer",{enumerable:!0,get:function e(){return n(ae).default}});var ie=r(896);Object.defineProperty(t,"TreeSelect",{enumerable:!0,get:function e(){return n(ie).default}});var ce=r(103);Object.defineProperty(t,"Input",{enumerable:!0,get:function e(){return n(ce).default}});var le=r(409);Object.defineProperty(t,"Select",{enumerable:!0,get:function e(){return n(le).default}});var ue=r(897);Object.defineProperty(t,"Cascader",{enumerable:!0,get:function e(){return n(ue).default}});var se=r(898);Object.defineProperty(t,"AutoComplete",{enumerable:!0,get:function e(){return n(se).default}});var de=r(899);Object.defineProperty(t,"Div",{enumerable:!0,get:function e(){return n(de).default}});var fe=r(900);Object.defineProperty(t,"Page",{enumerable:!0,get:function e(){return n(fe).default}});var he=r(911);Object.defineProperty(t,"Component",{enumerable:!0,get:function e(){return n(he).default}});var pe=r(406);Object.defineProperty(t,"Filter",{enumerable:!0,get:function e(){return n(pe).default}});var ve=r(912);Object.defineProperty(t,"Translation",{enumerable:!0,get:function e(){return n(ve).default}});var me=r(915);Object.defineProperty(t,"SortableList",{enumerable:!0,get:function e(){return n(me).default}});var ge=r(916);Object.defineProperty(t,"RecordView",{enumerable:!0,get:function e(){return n(ge).default}});var be=r(432);Object.defineProperty(t,"QRCode",{enumerable:!0,get:function e(){return n(be).default}});var ye=r(424);Object.defineProperty(t,"ClassicLayout",{enumerable:!0,get:function e(){return n(ye).default}});var we=r(918);Object.defineProperty(t,"List",{enumerable:!0,get:function e(){return n(we).default}});var Oe=r(410);Object.defineProperty(t,"Sort",{enumerable:!0,get:function e(){return n(Oe).default}});var Me=r(408);Object.defineProperty(t,"InputNumberRange",{enumerable:!0,get:function e(){return n(Me).default}});var Ae=r(920);Object.defineProperty(t,"LowCodePage",{enumerable:!0,get:function e(){return n(Ae).default}});var je=r(921);Object.defineProperty(t,"Segmented",{enumerable:!0,get:function e(){return n(je).default}});var xe=r(433);Object.defineProperty(t,"VirtualKeyboard",{enumerable:!0,get:function e(){return n(xe).default}});var Se=r(434);Object.defineProperty(t,"VirtualKeyboardTime",{enumerable:!0,get:function e(){return n(Se).default}});var Ee=r(929);Object.defineProperty(t,"SelectTime",{enumerable:!0,get:function e(){return n(Ee).default}});var Ce=r(934);Object.defineProperty(t,"AutoCompleteNumber",{enumerable:!0,get:function e(){return n(Ce).default}});var _e=r(935);Object.defineProperty(t,"BatchEditor",{enumerable:!0,get:function e(){return n(_e).default}});var Te=r(941);Object.defineProperty(t,"DragSortTree",{enumerable:!0,get:function e(){return n(Te).default}});var De=r(326);Object.defineProperty(t,"PisellModal",{enumerable:!0,get:function e(){return n(De).default}});var ze=r(436);Object.defineProperty(t,"PisellRow",{enumerable:!0,get:function e(){return n(ze).default}});var Ie=r(430);Object.defineProperty(t,"PisellConfigProvider",{enumerable:!0,get:function e(){return n(Ie).default}});var Pe=r(958);Object.defineProperty(t,"PisellCountdown",{enumerable:!0,get:function e(){return n(Pe).default}});var Ne=r(437);Object.defineProperty(t,"PisellInput",{enumerable:!0,get:function e(){return n(Ne).default}});var ke=r(438);Object.defineProperty(t,"getBankCardTypeImg",{enumerable:!0,get:function e(){return ke.getBankCardTypeImg}});var Re=r(439);Object.defineProperty(t,"PisellCheckboxGroup",{enumerable:!0,get:function e(){return n(Re).default}});var Le=r(974);Object.defineProperty(t,"PisellDatePicker",{enumerable:!0,get:function e(){return n(Le).default}});var Ve=r(977);Object.defineProperty(t,"PisellTooltip",{enumerable:!0,get:function e(){return n(Ve).default}});var Be=r(440);Object.defineProperty(t,"PisellEmpty",{enumerable:!0,get:function e(){return n(Be).default}});var He=r(115);Object.defineProperty(t,"Iconfont",{enumerable:!0,get:function e(){return n(He).default}});var Fe=r(980);Object.defineProperty(t,"PisellContainer",{enumerable:!0,get:function e(){return n(Fe).default}});var We=r(983);Object.defineProperty(t,"PisellText",{enumerable:!0,get:function e(){return n(We).default}});var Ue=r(997);Object.defineProperty(t,"PisellLoading",{enumerable:!0,get:function e(){return n(Ue).default}});var Ye=r(1e3);Object.defineProperty(t,"PisellCardList",{enumerable:!0,get:function e(){return n(Ye).default}});var Qe=r(1002);Object.defineProperty(t,"PisellToast",{enumerable:!0,get:function e(){return n(Qe).default}});var Ge=r(443);Object.defineProperty(t,"PisellWalletPassCard",{enumerable:!0,get:function e(){return n(Ge).default}});var Xe=r(444);Object.defineProperty(t,"PisellScan",{enumerable:!0,get:function e(){return n(Xe).default}});var qe=r(1006);Object.defineProperty(t,"PisellAlert",{enumerable:!0,get:function e(){return n(qe).default}});var $e=r(459);Object.defineProperty(t,"PisellCard",{enumerable:!0,get:function e(){return n($e).default}});var Ze=r(1009);Object.defineProperty(t,"PisellInformationEntry",{enumerable:!0,get:function e(){return n(Ze).default}});var Ke=r(158);Object.defineProperty(t,"usePisellConfig",{enumerable:!0,get:function e(){return n(Ke).default}});var Je=r(226);Object.defineProperty(t,"globalConfig",{enumerable:!0,get:function e(){return Je.globalConfig}}),Object.defineProperty(t,"PisellContext",{enumerable:!0,get:function e(){return n(Je).default}})},function(e,t,r){"use strict";var n=r(118),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return n.isMemo(e)?c:l[e.$$typeof]||o}l[n.ForwardRef]=i,l[n.Memo]=c;var s=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,v=Object.prototype;function m(e,t,r){if("string"!=typeof t){if(v){var n=p(t);n&&n!==v&&m(e,n,r)}var o=d(t);f&&(o=o.concat(f(t)));for(var i=u(e),c=u(t),l=0;l<o.length;++l){var g=o[l];if(!(a[g]||r&&r[g]||c&&c[g]||i&&i[g])){var b=h(t,g);try{s(e,g,b)}catch(e){}}}}return e}e.exports=m},function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var n=r(17),o=r(277),a=r(28),i=r(141),c=r(56),l=r(96),u=r(8),s=r(120),d=r(21),f=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.toResultPoint=function(){return new n.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(),r=this.getBullsEyeCorners(t);if(e){var n=r[0];r[0]=r[2],r[2]=n}this.extractParameters(r);var a=this.sampleGrid(this.image,r[this.shift%4],r[(this.shift+1)%4],r[(this.shift+2)%4],r[(this.shift+3)%4]),i=this.getMatrixCornerPoints(r);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,r=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(r,t);for(var n=0,o=0;o<4;o++){var a=r[(this.shift+o)%4];this.compact?(n<<=7,n+=a>>1&127):(n<<=10,n+=(a>>2&992)+(a>>1&31))}var i=this.getCorrectedParameterData(n,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 r=0;e.forEach((function(e,n,o){var a;r=(r<<3)+((e>>t-2<<1)+(1&e))})),r=((1&r)<<11)+(r>>1);for(var n=0;n<4;n++)if(d.a.bitCount(r^this.EXPECTED_CORNER_BITS[n])<=2)return n;throw new u.a},e.prototype.getCorrectedParameterData=function(e,t){var r,n;t?(r=7,n=2):(r=10,n=4);for(var o=r-n,a=new Int32Array(r),i=r-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<n;i++)d=(d<<4)+a[i];return d},e.prototype.getBullsEyeCorners=function(e){var t=e,r=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(r,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,r=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 n.a(t.getX()+.5,t.getY()-.5),p=new n.a(r.getX()+.5,r.getY()+.5),v=new n.a(o.getX()-.5,o.getY()+.5),m=new n.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,r,n;try{var o;e=(o=new i.a(this.image).detect())[0],t=o[1],r=o[2],n=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(),r=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()}var u=a.a.round((e.getX()+n.getX()+t.getX()+r.getX())/4),s=a.a.round((e.getY()+n.getY()+t.getY()+r.getY())/4);try{var o;e=(o=new i.a(this.image,15,u,s).detect())[0],t=o[1],r=o[2],n=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(),r=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()}return u=a.a.round((e.getX()+n.getX()+t.getX()+r.getX())/4),s=a.a.round((e.getY()+n.getY()+t.getY()+r.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,r,n,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(),r.getX(),r.getY(),n.getX(),n.getY(),o.getX(),o.getY())},e.prototype.sampleLine=function(e,t,r){for(var n=0,o=this.distanceResultPoint(e,t),i=o/r,c=e.getX(),l=e.getY(),u=i*(t.getX()-e.getX())/o,s=i*(t.getY()-e.getY())/o,d=0;d<r;d++)this.image.get(a.a.round(c+d*u),a.a.round(l+d*s))&&(n|=1<<r-d-1);return n},e.prototype.isWhiteOrBlackRectangle=function(e,t,r,n){var o=3;e=new f(e.getX()-3,e.getY()+3),t=new f(t.getX()-3,t.getY()-3),r=new f(r.getX()+3,r.getY()-3),n=new f(n.getX()+3,n.getY()+3);var a=this.getColor(n,e);if(0===a)return!1;var i=this.getColor(e,t);return i===a&&((i=this.getColor(t,r))===a&&(i=this.getColor(r,n))===a)},e.prototype.getColor=function(e,t){for(var r=this.distancePoint(e,t),n=(t.getX()-e.getX())/r,o=(t.getY()-e.getY())/r,i=0,c=e.getX(),l=e.getY(),u=this.image.get(e.getX(),e.getY()),s=Math.ceil(r),d=0;d<s;d++)c+=n,l+=o,this.image.get(a.a.round(c),a.a.round(l))!==u&&i++;var f=i/r;return f>.1&&f<.9?0:f<=.1===u?1:-1},e.prototype.getFirstDifferent=function(e,t,r,n){for(var o=e.getX()+r,a=e.getY()+n;this.isValid(o,a)&&this.image.get(o,a)===t;)o+=r,a+=n;for(o-=r,a-=n;this.isValid(o,a)&&this.image.get(o,a)===t;)o+=r;for(o-=r;this.isValid(o,a)&&this.image.get(o,a)===t;)a+=n;return new f(o,a-=n)},e.prototype.expandSquare=function(e,t,r){var o=r/(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 n.a(c+o*a,l+o*i),s=new n.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 n.a(c+o*a,l+o*i),s,new n.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()),r=a.a.round(e.getY());return this.isValid(t,r)},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,r){"use strict";var n=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o,a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e,t,r,n,o,a,i,c){void 0===i&&(i=0),void 0===c&&(c=0),this.rectangular=e,this.dataCapacity=t,this.errorCodewords=r,this.matrixWidth=n,this.matrixHeight=o,this.dataRegions=a,this.rsBlockData=i,this.rsBlockError=c}return e.lookup=function(e,t,r,n,o){var i,c;void 0===t&&(t=0),void 0===r&&(r=null),void 0===n&&(n=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==r||!(d.getSymbolWidth()<r.getWidth()||d.getSymbolHeight()<r.getHeight()))&&(null==n||!(d.getSymbolWidth()>n.getWidth()||d.getSymbolHeight()>n.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 n(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,r){"use strict";var n=r(42),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ArithmeticException",t}(n.a);t.a=i},function(e,t,r){"use strict";var n=function(){function e(e,t,r,n,o,a,i,c,l){this.a11=e,this.a21=t,this.a31=r,this.a12=n,this.a22=o,this.a32=a,this.a13=i,this.a23=c,this.a33=l}return e.quadrilateralToQuadrilateral=function(t,r,n,o,a,i,c,l,u,s,d,f,h,p,v,m){var g=e.quadrilateralToSquare(t,r,n,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,r=this.a11,n=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]=(r*f+a*h+l)/p,e[d+1]=(n*f+i*h+u)/p}},e.prototype.transformPointsWithValues=function(e,t){for(var r=this.a11,n=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]=(r*h+a*p+l)/v,t[f]=(n*h+i*p+u)/v}},e.squareToQuadrilateral=function(t,r,n,o,a,i,c,l){var u=t-n+a-c,s=r-o+i-l;if(0===u&&0===s)return new e(n-t,a-n,t,o-r,i-o,r,0,0,1);var d=n-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(n-t+m*n,c-t+g*c,t,o-r+m*o,l-r+g*l,r,m,g,1)},e.quadrilateralToSquare=function(t,r,n,o,a,i,c,l){return e.squareToQuadrilateral(t,r,n,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=n},function(e,t,r){"use strict";var n=r(184),o=function(){function e(e){this.information=e,this.generalDecoder=new n.a(e)}return e.prototype.getInformation=function(){return this.information},e.prototype.getGeneralDecoder=function(){return this.generalDecoder},e}();t.a=o},function(e,t,r){"use strict";var n=r(15),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 n.a(""+e);var t=0,r=this.bitOffset,o=this.byteOffset,a=this.bytes;if(r>0){var i=8-r,c=e<i?e:i,l,u=255>>8-c<<(l=i-c);t=(a[o]&u)>>l,e-=c,8===(r+=c)&&(r=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,r+=e}}return this.bitOffset=r,this.byteOffset=o,t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}();t.a=o},function(e,t,r){"use strict";var n=r(97),o=r(21),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e){this.errorCorrectionLevel=n.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,r){var n=e.doDecodeFormatInformation(t,r);return null!==n?n:e.doDecodeFormatInformation(t^e.FORMAT_INFO_MASK_QR,r^e.FORMAT_INFO_MASK_QR)},e.doDecodeFormatInformation=function(t,r){var n,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===r)return new e(s[1]);var f=e.numBitsDiffering(t,d);f<i&&(c=s[1],i=f),t!==r&&(f=e.numBitsDiffering(r,d))<i&&(c=s[1],i=f)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.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 r=t;return this.errorCorrectionLevel===r.errorCorrectionLevel&&this.dataMask===r.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,r){"use strict";var n=r(82),o=r(27),a=r(15),i=function(){function e(e){this.field=e,this.cachedGenerators=[],this.cachedGenerators.push(new n.a(e,Int32Array.from([1])))}return e.prototype.buildGenerator=function(e){var t=this.cachedGenerators;if(e>=t.length)for(var r=t[t.length-1],o=this.field,a=t.length;a<=e;a++){var i=r.multiply(new n.a(o,Int32Array.from([1,o.exp(a-1+o.getGeneratorBase())])));t.push(i),r=i}return t[e]},e.prototype.encode=function(e,t){if(0===t)throw new a.a("No error correction bytes");var r=e.length-t;if(r<=0)throw new a.a("No data bytes provided");var i=this.buildGenerator(t),c=new Int32Array(r);o.a.arraycopy(e,0,c,0,r);for(var l=new n.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[r+f]=0;o.a.arraycopy(s,0,e,r+d,s.length)},e}();t.a=i},function(e,t,r){"use strict";var n=r(39),o=r(20),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r=new Array(t),n=0;n!==t;n++)r[n]=new Uint8Array(e);this.bytes=r}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,r){this.bytes[t][e]=r},e.prototype.setBoolean=function(e,t,r){this.bytes[t][e]=r?1:0},e.prototype.clear=function(e){var t,r;try{for(var o=a(this.bytes),i=o.next();!i.done;i=o.next()){var c=i.value;n.a.fill(c,e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;if(this.width!==r.width)return!1;if(this.height!==r.height)return!1;for(var n=0,o=this.height;n<o;++n)for(var a=this.bytes[n],i=r.bytes[n],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,r=this.height;t<r;++t){for(var n=this.bytes[t],a=0,i=this.width;a<i;++a)switch(n[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,r){"use strict";var n=r(48),o=function(){function e(){}return e.ISO_8859_1=n.a.ISO8859_1,e}();t.a=o},function(e,t,r){"use strict";var n=r(33),o=r(47),a=r(48),i=r(56),c=r(175),l=r(44),u=r(86),s=r(106),d=r(176),f=r(143),h=r(250),p=r(61),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=r(45),b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,i){void 0===i&&(i=null);var c=e.DEFAULT_BYTE_MODE_ENCODING,s=null!==i&&void 0!==i.get(n.a.CHARACTER_SET);s&&(c=i.get(n.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(n.a.QR_VERSION)){var w=Number.parseInt(i.get(n.a.QR_VERSION).toString(),10);y=u.a.getVersionForNumber(w);var O=this.calculateBitsNeeded(p,v,b,y);if(!this.willFit(O,y,r))throw new g.a("Data too big for requested version")}else y=this.recommendVersion(r,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(r),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(r),E.setMode(p),E.setVersion(y);var C=y.getDimensionForVersion(),_=new d.a(C,C),T=this.chooseMaskPattern(S,r,y,_);return E.setMaskPattern(T),h.a.buildMatrix(S,r,y,T,_),E.setMatrix(_),E},e.recommendVersion=function(e,t,r,n){var o=this.calculateBitsNeeded(t,r,n,u.a.getVersionForNumber(1)),a=this.chooseVersion(o,e),i=this.calculateBitsNeeded(t,r,n,a);return this.chooseVersion(i,e)},e.calculateBitsNeeded=function(e,t,r,n){return t.getSize()+e.getCharacterCountBits(n)+r.getSize()},e.getAlphanumericCode=function(t){return t<e.ALPHANUMERIC_TABLE.length?e.ALPHANUMERIC_TABLE[t]:-1},e.chooseMode=function(t,r){if(void 0===r&&(r=null),a.a.SJIS.getName()===r&&this.isOnlyDoubleByteKanji(t))return l.a.KANJI;for(var n=!1,o=!1,i=0,c=t.length;i<c;++i){var u=t.charAt(i);if(e.isDigit(u))n=!0;else{if(-1===this.getAlphanumericCode(u.charCodeAt(0)))return l.a.BYTE;o=!0}}return o?l.a.ALPHANUMERIC:n?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 r=t.length;if(r%2!=0)return!1;for(var n=0;n<r;n+=2){var o=255&t[n];if((o<129||o>159)&&(o<224||o>235))return!1}return!0},e.chooseMaskPattern=function(e,t,r,n){for(var o=Number.MAX_SAFE_INTEGER,a=-1,i=0;i<f.a.NUM_MASK_PATTERNS;i++){h.a.buildMatrix(e,t,r,i,n);var c=this.calculateMaskPenalty(n);c<o&&(o=c,a=i)}return a},e.chooseVersion=function(t,r){for(var n=1;n<=40;n++){var o=u.a.getVersionForNumber(n);if(e.willFit(t,o,r))return o}throw new g.a("Data too big")},e.willFit=function(e,t,r){var n,o,a,i,c;return t.getTotalCodewords()-t.getECBlocksForLevel(r).getTotalECCodewords()>=(e+7)/8},e.terminateBits=function(e,t){var r=8*e;if(t.getSize()>r)throw new g.a("data bits cannot fit in the QR Code"+t.getSize()+" > "+r);for(var n=0;n<4&&t.getSize()<r;++n)t.appendBit(!1);var o=7&t.getSize();if(o>0)for(var n=o;n<8;n++)t.appendBit(!1);for(var a=e-t.getSizeInBytes(),n=0;n<a;++n)t.appendBits(0==(1&n)?236:17,8);if(t.getSize()!==r)throw new g.a("Bits size does not equal capacity")},e.getNumDataBytesAndNumECBytesForBlockID=function(e,t,r,n,o,a){if(n>=r)throw new g.a("Block ID too large");var i=e%r,c=r-i,l=Math.floor(e/r),u=l+1,s=Math.floor(t/r),d=s+1,f=l-s,h=u-d;if(f!==h)throw new g.a("EC bytes mismatch");if(r!==c+i)throw new g.a("RS blocks mismatch");if(e!==(s+f)*c+(d+h)*i)throw new g.a("Total bytes mismatch");n<c?(o[0]=s,a[0]=f):(o[0]=d,a[0]=h)},e.interleaveWithECBytes=function(t,r,n,a){var i,c,l,u;if(t.getSizeInBytes()!==n)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(r,n,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(n!==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(r!==A.getSizeInBytes())throw new g.a("Interleaving error: "+r+" and "+A.getSizeInBytes()+" differ.");return A},e.generateECBytes=function(e,t){for(var r=e.length,n=new Int32Array(r+t),o=0;o<r;o++)n[o]=255&e[o];new c.a(i.a.QR_CODE_FIELD_256).encode(n,t);for(var a=new Uint8Array(t),o=0;o<t;o++)a[o]=n[r+o];return a},e.appendModeInfo=function(e,t){t.appendBits(e.getBits(),4)},e.appendLengthInfo=function(e,t,r,n){var o=r.getCharacterCountBits(t);if(e>=1<<o)throw new g.a(e+" is bigger than "+((1<<o)-1));n.appendBits(e,o)},e.appendBytes=function(t,r,n,o){switch(r){case l.a.NUMERIC:e.appendNumericBytes(t,n);break;case l.a.ALPHANUMERIC:e.appendAlphanumericBytes(t,n);break;case l.a.BYTE:e.append8BitBytes(t,n,o);break;case l.a.KANJI:e.appendKanjiBytes(t,n);break;default:throw new g.a("Invalid mode: "+r)}},e.getDigit=function(e){return e.charCodeAt(0)-48},e.isDigit=function(t){var r=e.getDigit(t);return r>=0&&r<=9},e.appendNumericBytes=function(t,r){for(var n=t.length,o=0;o<n;){var a=e.getDigit(t.charAt(o));if(o+2<n){var i=e.getDigit(t.charAt(o+1)),c=e.getDigit(t.charAt(o+2));r.appendBits(100*a+10*i+c,10),o+=3}else if(o+1<n){var i=e.getDigit(t.charAt(o+1));r.appendBits(10*a+i,7),o+=2}else r.appendBits(a,4),o++}},e.appendAlphanumericBytes=function(t,r){for(var n=t.length,o=0;o<n;){var a=e.getAlphanumericCode(t.charCodeAt(o));if(-1===a)throw new g.a;if(o+1<n){var i=e.getAlphanumericCode(t.charCodeAt(o+1));if(-1===i)throw new g.a;r.appendBits(45*a+i,11),o+=2}else r.appendBits(a,6),o++}},e.append8BitBytes=function(e,t,r){var n;try{n=p.a.encode(e,r)}catch(e){throw new g.a(e)}for(var o=0,a=n.length;o!==a;o++){var i=n[o];t.appendBits(i,8)}},e.appendKanjiBytes=function(e,t){var r;try{r=p.a.encode(e,a.a.SJIS)}catch(e){throw new g.a(e)}for(var n=r.length,o=0;o<n;o+=2){var i,c,l=(255&r[o])<<8&4294967295|255&r[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,r){"use strict";var n=r(42),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="IndexOutOfBoundsException",t}(n.a);t.a=i},function(e,t,r){"use strict";var n=r(47),o=r(15),a=r(24),i=r(46),c=r(292),l=r(175),u=r(56),s=r(294),d=r(21),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){var l=new s.a(t).encode(),u=d.a.truncDivision(l.getSize()*r,100)+11,f=l.getSize()+u,h,p,v,m,g;if(n!==e.DEFAULT_AZTEC_LAYERS){if(h=n<0,(p=Math.abs(n))>(h?e.MAX_NB_BITS_COMPACT:e.MAX_NB_BITS))throw new o.a(a.a.format("Illegal value %s for layers",n));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 _=new i.a(x),y=0,T=0;y<p;y++){for(var D=4*(p-y)+(h?9:12),z=0;z<D;z++)for(var I=2*z,P=0;P<2;P++)w.get(T+I+P)&&_.set(j[2*y+P],j[2*y+z]),w.get(T+2*D+I+P)&&_.set(j[2*y+z],j[A-1-2*y-P]),w.get(T+4*D+I+P)&&_.set(j[A-1-2*y-P],j[A-1-2*y-z]),w.get(T+6*D+I+P)&&_.set(j[A-1-2*y-z],j[2*y+P]);T+=8*D}if(e.drawModeMessage(_,h,x,M),h)e.drawBullsEye(_,d.a.truncDivision(x,2),5);else{e.drawBullsEye(_,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)_.set(d.a.truncDivision(x,2)-z,P),_.set(d.a.truncDivision(x,2)+z,P),_.set(P,d.a.truncDivision(x,2)-z),_.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(_),N},e.drawBullsEye=function(e,t,r){for(var n=0;n<r;n+=2)for(var o=t-n;o<=t+n;o++)e.set(o,t-n),e.set(o,t+n),e.set(t-n,o),e.set(t+n,o);e.set(t-r,t-r),e.set(t-r+1,t-r),e.set(t-r,t-r+1),e.set(t+r,t-r),e.set(t+r,t-r+1),e.set(t+r,t+r-1)},e.generateModeMessage=function(t,r,o){var a=new n.a;return t?(a.appendBits(r-1,2),a.appendBits(o-1,6),a=e.generateCheckWords(a,28,4)):(a.appendBits(r-1,5),a.appendBits(o-1,11),a=e.generateCheckWords(a,40,4)),a},e.drawModeMessage=function(e,t,r,n){var o=d.a.truncDivision(r,2);if(t)for(var a=0;a<7;a++){var i=o-3+a;n.get(a)&&e.set(i,o-5),n.get(a+7)&&e.set(o+5,i),n.get(20-a)&&e.set(i,o+5),n.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);n.get(a)&&e.set(i,o-7),n.get(a+10)&&e.set(o+7,i),n.get(29-a)&&e.set(i,o+7),n.get(39-a)&&e.set(o-7,i)}},e.generateCheckWords=function(t,r,o){var a,i,c=t.getSize()/o,u=new l.a(e.getGF(o)),s=d.a.truncDivision(r,o),h=e.bitsToWords(t,o,s);u.encode(h,s-c);var p=r%o,v=new n.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,r){var n=new Int32Array(r),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;n[o]=i}return n},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 r=new n.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?(r.appendBits(c&a,t),i--):0==(c&a)?(r.appendBits(1|c,t),i--):r.appendBits(c,t)}return r},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,r){"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 n="undefined"!=typeof window&&window.document,o=function e(){var t=navigator.userAgent,r=-1!=t.indexOf("Safari")&&-1!=t.indexOf("Version"),n=-1!=t.indexOf("iPhone")&&-1!=t.indexOf("Version"),o=r&&!n&&"ontouchend"in document;return!(!/iphone|ios|ipad|android|mobile/i.test(navigator.userAgent.toLowerCase())&&!o)};t.isIpad=o;var a=function e(){var r=window.navigator.userAgent.toLowerCase(),n="ipad"==r.match(/ipad/i),o="iphone os"==r.match(/iphone os/i),a="midp"==r.match(/midp/i),i="rv:1.2.3.4"==r.match(/rv:1.2.3.4/i),c="ucweb"==r.match(/ucweb/i),l="android"==r.match(/android/i),u="windows ce"==r.match(/windows ce/i),s="windows mobile"==r.match(/windows mobile/i);return!!(n||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,r=window.navigator.userAgent,n=r.indexOf("Opera")>-1||r.indexOf("OPR")>-1,o=r.indexOf("compatible")>-1&&r.indexOf("MSIE")>-1,a=-1===r.indexOf("compatible")&&r.indexOf("Trident")>-1,i=r.indexOf("Edge")>-1,c=r.indexOf("Firefox")>-1,l=r.indexOf("Safari")>-1&&-1===r.indexOf("Chrome"),u=r.indexOf("Chrome")>-1&&r.indexOf("; Win")>-1&&r.indexOf("Safari")>-1;return t=n||o||a||i||c||l||u?0:1};t.checkEnv=l;var u=function e(){if(n){var t="";return n&&(t=window.navigator.userAgent.toLowerCase()),"micromessenger"==t.match(/MicroMessenger/i)}return!1};t.isWx=u;var s=function e(){var t,r;return!!n&&!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)};t.isIOS=s;var d=function e(){var t,r;return!!n&&-1!==navigator.userAgent.indexOf("miniProgram")};t.isWxApp=d;var f=function e(){if(n){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,r){"use strict";var n=r(13),o=r(62),a=r(20),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 r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d,f,h=function(e){function t(t,r){var n=e.call(this,t)||this;return n.value=r,n}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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),v,m=function(e){function t(t,r,n){var o=e.call(this,t)||this;return n?(o.remaining=!0,o.remainingValue=o.remainingValue):(o.remaining=!1,o.remainingValue=0),o.newString=r,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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),b,y=function(e){function t(t,r,o){var a=e.call(this,t)||this;if(r<0||r>10||o<0||o>10)throw new n.a;return a.firstDigit=r,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=r(8),O=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r,n,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){r={error:e}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.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,r,n){if(n.length<t)throw new w.a;var o=n.substring(0,t);if(n.length<t+r)throw new w.a;var a=n.substring(t,t+r),i=n.substring(t+r),c="("+o+")"+a,l=e.parseFieldsInGeneralPurpose(i);return null==l?c:c+l},e.processVariableAI=function(t,r,n){var o=n.substring(0,t),a;a=n.length<t+r?n.length:t+r;var i=n.substring(t,a),c=n.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 r=t,n=null;;){var o=this.decodeGeneralPurposeField(r,n),a=A.parseFieldsInGeneralPurpose(o.getNewString());if(null!=a&&e.append(a),n=o.isRemaining()?""+o.getRemainingValue():null,r===o.getNewPosition())break;r=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 r=this.extractNumericValueFromBitArray(e,7),n,o;return new y(e+7,(r-8)/11,(r-8)%11)},e.prototype.extractNumericValueFromBitArray=function(t,r){return e.extractNumericValueFromBitArray(this.information,t,r)},e.extractNumericValueFromBitArray=function(e,t,r){for(var n=0,o=0;o<r;++o)e.get(t+o)&&(n|=1<<r-o-1);return n},e.prototype.decodeGeneralPurposeField=function(e,t){this.buffer.setLengthToZero(),null!=t&&this.buffer.append(t),this.current.setPosition(e);var r=this.parseBlocks();return null!=r&&r.isRemaining()?new m(this.current.getPosition(),this.buffer.toString(),r.getRemainingValue()):new m(this.current.getPosition(),this.buffer.toString())},e.prototype.parseBlocks=function(){var e,t;do{var r=this.current.getPosition(),n;if(e=this.current.isAlpha()?(t=this.parseAlphaBlock()).isFinished():this.current.isIsoIec646()?(t=this.parseIsoIec646Block()).isFinished():(t=this.parseNumericBlock()).isFinished(),!(r!==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 r=this.extractNumericValueFromBitArray(e,7);if(r>=64&&r<116)return!0;if(e+8>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,8);return n>=232&&n<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 r=this.extractNumericValueFromBitArray(e,7),o,a;if(r>=64&&r<90)return new h(e+7,""+(r+1));if(r>=90&&r<116)return new h(e+7,""+(r+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 n.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 r=this.extractNumericValueFromBitArray(e,6);return r>=16&&r<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 r=this.extractNumericValueFromBitArray(e,6),n;if(r>=32&&r<58)return new h(e+6,""+(r+33));switch(r){case 58:n="*";break;case 59:n=",";break;case 60:n="-";break;case 61:n=".";break;case 62:n="/";break;default:throw new o.a("Decoding invalid alphanumeric value: "+r)}return new h(e+6,n)},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,r){!function(t,n){e.exports=n(r(18))}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e),n={name:"zh-cn",weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e,t){return"W"===t?e+"\u5468":e+"\u65e5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},meridiem:function(e,t){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1100?"\u4e0a\u5348":r<1300?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"}};return r.default.locale(n,null,!0),n}))},function(e,t,r){var n=r(99),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,c=n?n.toStringTag:void 0;function l(e){var t=a.call(e,c),r=e[c];try{e[c]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[c]=r:delete e[c]),o}e.exports=l},function(e,t){var r,n=Object.prototype.toString;function o(e){return n.call(e)}e.exports=o},function(e,t,r){var n=r(73),o=r(196),a=r(197),i=r(198),c=r(199),l=r(200);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=c,u.prototype.set=l,e.exports=u},function(e,t){function r(){this.__data__=[],this.size=0}e.exports=r},function(e,t,r){var n=r(74),o,a=Array.prototype.splice;function i(e){var t=this.__data__,r=n(t,e),o;return!(r<0)&&(r==t.length-1?t.pop():a.call(t,r,1),--this.size,!0)}e.exports=i},function(e,t,r){var n=r(74);function o(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}e.exports=o},function(e,t,r){var n=r(74);function o(e){return n(this.__data__,e)>-1}e.exports=o},function(e,t,r){var n=r(74);function o(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}e.exports=o},function(e,t,r){var n=r(73);function o(){this.__data__=new n,this.size=0}e.exports=o},function(e,t){function r(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}e.exports=r},function(e,t){function r(e){return this.__data__.get(e)}e.exports=r},function(e,t){function r(e){return this.__data__.has(e)}e.exports=r},function(e,t,r){var n=r(73),o=r(100),a=r(155),i=200;function c(e,t){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(e,t),this.size=r.size,this}e.exports=c},function(e,t,r){var n=r(91),o=r(202),a=r(59),i=r(154),c=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,d=u.toString,f=s.hasOwnProperty,h=RegExp("^"+d.call(f).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(e){return!(!a(e)||o(e))&&(n(e)?h:l).test(i(e));var t}e.exports=p},function(e,t,r){var n=r(203),o=(a=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",a;function i(e){return!!o&&o in e}e.exports=i},function(e,t,r){var n,o=r(55)["__core-js_shared__"];e.exports=o},function(e,t){function r(e,t){return null==e?void 0:e[t]}e.exports=r},function(e,t,r){var n=r(206),o=r(73),a=r(100);function i(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}e.exports=i},function(e,t,r){var n=r(207),o=r(208),a=r(209),i=r(210),c=r(211);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=c,e.exports=l},function(e,t,r){var n=r(76);function o(){this.__data__=n?n(null):{},this.size=0}e.exports=o},function(e,t){function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=r},function(e,t,r){var n=r(76),o="__lodash_hash_undefined__",a,i=Object.prototype.hasOwnProperty;function c(e){var t=this.__data__;if(n){var r=t[e];return r===o?void 0:r}return i.call(t,e)?t[e]:void 0}e.exports=c},function(e,t,r){var n=r(76),o,a=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return n?void 0!==t[e]:a.call(t,e)}e.exports=i},function(e,t,r){var n=r(76),o="__lodash_hash_undefined__";function a(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?o:t,this}e.exports=a},function(e,t,r){var n=r(77);function o(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}e.exports=o},function(e,t){function r(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=r},function(e,t,r){var n=r(77);function o(e){return n(this,e).get(e)}e.exports=o},function(e,t,r){var n=r(77);function o(e){return n(this,e).has(e)}e.exports=o},function(e,t,r){var n=r(77);function o(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}e.exports=o},function(e,t,r){var n,o=r(55).Uint8Array;e.exports=o},function(e,t,r){var n=r(219),o=r(130),a=r(101),i=r(112),c=r(131),l=r(113),u,s=Object.prototype.hasOwnProperty;function d(e,t){var r=a(e),u=!r&&o(e),d=!r&&!u&&i(e),f=!r&&!u&&!d&&l(e),h=r||u||d||f,p=h?n(e.length,String):[],v=p.length;for(var m in e)!t&&!s.call(e,m)||h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||c(m,v))||p.push(m);return p}e.exports=d},function(e,t){function r(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}e.exports=r},function(e,t,r){var n=r(70),o=r(65),a="[object Arguments]";function i(e){return o(e)&&n(e)==a}e.exports=i},function(e,t){function r(){return!1}e.exports=r},function(e,t,r){var n=r(70),o=r(114),a=r(65),i="[object Arguments]",c="[object Array]",l="[object Boolean]",u="[object Date]",s="[object Error]",d="[object Function]",f="[object Map]",h="[object Number]",p="[object Object]",v="[object RegExp]",m="[object Set]",g="[object String]",b="[object WeakMap]",y="[object ArrayBuffer]",w="[object DataView]",O,M="[object Float64Array]",A="[object Int8Array]",j="[object Int16Array]",x="[object Int32Array]",S="[object Uint8Array]",E="[object Uint8ClampedArray]",C="[object Uint16Array]",_="[object Uint32Array]",T={};function D(e){return a(e)&&o(e.length)&&!!T[n(e)]}T["[object Float32Array]"]=T[M]=T[A]=T[j]=T[x]=T[S]=T[E]=T[C]=T[_]=!0,T[i]=T[c]=T[y]=T[l]=T[w]=T[u]=T[s]=T[d]=T[f]=T[h]=T[p]=T[v]=T[m]=T[g]=T[b]=!1,e.exports=D},function(e,t){function r(e){return function(t){return e(t)}}e.exports=r},function(e,t,r){(function(e){var n=r(111),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i,c=a&&a.exports===o&&n.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||c&&c.binding&&c.binding("util")}catch(e){}}();e.exports=l}).call(this,r(81)(e))},function(e,t){function r(e,t){return function(r){return e(t(r))}}e.exports=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.globalConfig=t.PisellContext=void 0;var n=r(0),o={platform:"pc"};t.PisellContext=(0,n.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,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function e(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},c=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=i(r(0)),s=l(r(22));r(823);var d="pisell-lowcode-",f=function e(t){var r,o=t.children,a=t.isActive,i=c(t,["children","isActive"]);return u.default.createElement("div",n({},i,{className:(0,s.default)("".concat(d,"action-btn-icon"),(r={},r["".concat(d,"action-btn-icon-active")]=a,r))}),u.Children.map(o,(function(e){var t;return(0,u.isValidElement)(e)?(0,u.cloneElement)(e,{style:n(n({},(null===(t=e.props)||void 0===t?void 0:t.style)||{}),{color:a?"#53389E":"inherit"})}):e})))};t.default=f},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function c(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){e.done?r(e.value):o(e.value).then(i,c)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r={label:0,sent:function e(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},n,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(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=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 r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!(a=r.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){r.label=i[1];break}if(6===i[0]&&r.label<a[1]){r.label=a[1],a=i;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(i);break}a[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{n=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=r(229),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 n(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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0;var n=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 n},,,,,,,,,,function(e,t,r){!function(t,r){e.exports=r()}(this,(function(){"use strict";var e="week",t="year";return function(r,n,o){var a=n.prototype;a.week=function(r){if(void 0===r&&(r=null),null!==r)return this.add(7*(r-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var a=o(this).startOf(t).add(1,t).date(n),i=o(this).endOf(e);if(a.isBefore(i))return 1}var c=o(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),l=this.diff(c,e,!0);return l<0?o(this).startOf("week").week():Math.ceil(l)},a.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}))},function(e,t,r){!function(t,r){e.exports=r()}(this,(function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d\d/,n=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,a={},i=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),r=60*t[1]+(+t[2]||0);return 0===r?0:"+"===t[0]?-r:r}(e)}],u=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},s=function(e,t){var r,n=a.meridiem;if(n){for(var o=1;o<=24;o+=1)if(e.indexOf(n(o,0,t))>-1){r=o>12;break}}else r=e===(t?"pm":"PM");return r},d={A:[o,function(e){this.afternoon=s(e,!1)}],a:[o,function(e){this.afternoon=s(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[n,c("seconds")],ss:[n,c("seconds")],m:[n,c("minutes")],mm:[n,c("minutes")],H:[n,c("hours")],h:[n,c("hours")],HH:[n,c("hours")],hh:[n,c("hours")],D:[n,c("day")],DD:[r,c("day")],Do:[o,function(e){var t=a.ordinal,r=e.match(/\d+/);if(this.day=r[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],M:[n,c("month")],MM:[r,c("month")],MMM:[o,function(e){var t=u("months"),r=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[o,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(e){this.year=i(e)}],YYYY:[/\d{4}/,c("year")],Z:l,ZZ:l};function f(r){var n,o;n=r,o=a&&a.formats;for(var i=(r=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,n){var a=n&&n.toUpperCase();return r||o[n]||e[n]||o[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}))).match(t),c=i.length,l=0;l<c;l+=1){var u=i[l],s=d[u],f=s&&s[0],h=s&&s[1];i[l]=h?{regex:f,parser:h}:u.replace(/^\[|\]$/g,"")}return function(e){for(var t={},r=0,n=0;r<c;r+=1){var o=i[r];if("string"==typeof o)n+=o.length;else{var a=o.regex,l=o.parser,u=e.slice(n),s=a.exec(u)[0];l.call(t,s),e=e.replace(s,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var r=e.hours;t?r<12&&(e.hours+=12):12===r&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,r){r.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(i=e.parseTwoDigitYear);var n=t.prototype,o=n.parse;n.parse=function(e){var t=e.date,n=e.utc,i=e.args;this.$u=n;var c=i[1];if("string"==typeof c){var l=!0===i[2],u=!0===i[3],s=l||u,d=i[2];u&&(d=i[2]),a=this.$locale(),!l&&d&&(a=r.Ls[d]),this.$d=function(e,t,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var n=f(t)(e),o=n.year,a=n.month,i=n.day,c=n.hours,l=n.minutes,u=n.seconds,s=n.milliseconds,d=n.zone,h=new Date,p=i||(o||a?1:h.getDate()),v=o||h.getFullYear(),m=0;o&&!a||(m=a>0?a-1:h.getMonth());var g=c||0,b=l||0,y=u||0,w=s||0;return d?new Date(Date.UTC(v,m,p,g,b,y,w+60*d.offset*1e3)):r?new Date(Date.UTC(v,m,p,g,b,y,w)):new Date(v,m,p,g,b,y,w)}catch(e){return new Date("")}}(t,c,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),s&&t!=this.format(c)&&(this.$d=new Date("")),a={}}else if(c instanceof Array)for(var h=c.length,p=1;p<=h;p+=1){i[1]=c[p-1];var v=r.apply(this,i);if(v.isValid()){this.$d=v.$d,this.$L=v.$L,this.init();break}p===h&&(this.$d=new Date(""))}else o.call(this,e)}}}))},function(e,t,r){var n=r(59),o=r(702),a=r(703),i="Expected a function",c=Math.max,l=Math.min;function u(e,t,r){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 r=u,n=s;return u=s=void 0,v=t,f=e.apply(n,r)}function w(e){return v=e,h=setTimeout(A,t),m?y(e):f}function O(e){var r,n,o=t-(e-p);return g?l(o,d-(e-v)):o}function M(e){var r=e-p,n;return void 0===p||r>=t||r<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(),r=M(e);if(u=arguments,s=this,p=e,r){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,n(r)&&(m=!!r.leading,d=(g="maxWait"in r)?c(a(r.maxWait)||0,t):d,b="trailing"in r?!!r.trailing:b),E.cancel=x,E.flush=S,E}e.exports=u},function(e,t,r){"use strict";var n=r(95),o=r(56),a=r(96),i=r(62),c=r(13),l=r(24),u=r(21),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 r=t.getBits(),o=this.extractBits(r),a=this.correctBits(o),i=e.convertBoolArrayToByteArray(a),c=e.getEncodedData(a),l=new n.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 r=t.length,n=s.UPPER,o=s.UPPER,a="",i=0;i<r;)if(o===s.BINARY){if(r-i<5)break;var c=e.readCode(t,i,5);if(i+=5,0===c){if(r-i<11)break;c=e.readCode(t,i,11)+31,i+=11}for(var u=0;u<c;u++){if(r-i<8){i=r;break}var d=e.readCode(t,i,8);a+=l.a.castAsNonUtf8Char(d),i+=8}o=n}else{var f=o===s.DIGIT?4:5;if(r-i<f)break;var d=e.readCode(t,i,f);i+=f;var h=e.getCharacter(o,d);h.startsWith("CTRL_")?(n=o,o=e.getTable(h.charAt(5)),"L"===h.charAt(6)&&(n=o)):(a+=h,o=n)}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,r){switch(t){case s.UPPER:return e.UPPER_TABLE[r];case s.LOWER:return e.LOWER_TABLE[r];case s.MIXED:return e.MIXED_TABLE[r];case s.PUNCT:return e.PUNCT_TABLE[r];case s.DIGIT:return e.DIGIT_TABLE[r];default:throw new i.a("Bad table")}},e.prototype.correctBits=function(t){var r,n;this.ddata.getNbLayers()<=2?(n=6,r=o.a.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(n=8,r=o.a.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(n=10,r=o.a.AZTEC_DATA_10):(n=12,r=o.a.AZTEC_DATA_12);var i=this.ddata.getNbDatablocks(),l=t.length/n;if(l<i)throw new c.a;for(var u=t.length%n,s=new Int32Array(l),d=0;d<l;d++,u+=n)s[d]=e.readCode(t,u,n);try{var f;new a.a(r).decode(s,l-i)}catch(e){throw new c.a(e)}for(var h=(1<<n)-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*n-p),g=0,d=0;d<i;d++){var v;if(1===(v=s[d])||v===h-1)m.fill(v>1,g,g+n-1),g+=n-1;else for(var b=n-1;b>=0;--b)m[g++]=0!=(v&1<<b)}return m},e.prototype.extractBits=function(e){var t=this.ddata.isCompact(),r=this.ddata.getNbLayers(),n=(t?11:14)+4*r,o=new Int32Array(n),a=new Array(this.totalBitsInLayer(r,t));if(t)for(var i=0;i<o.length;i++)o[i]=i;else for(var c=n+1+2*u.a.truncDivision(u.a.truncDivision(n,2)-1,15),l=n/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<r;i++){for(var h=4*(r-i)+(t?9:12),p=2*i,v=n-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,r){for(var n=0,o=t;o<t+r;o++)n<<=1,e[o]&&(n|=1);return n},e.readByte=function(t,r){var n=t.length-r;return n>=8?e.readCode(t,r,8):e.readCode(t,r,n)<<8-n},e.convertBoolArrayToByteArray=function(t){for(var r=new Uint8Array((t.length+7)/8),n=0;n<r.length;n++)r[n]=e.readByte(t,8*n);return r},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,r){"use strict";var n=r(8),o=function(){function e(){}return e.checkAndNudgePoints=function(e,t){for(var r=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>r||l<-1||l>o)throw new n.a;a=!1,-1===c?(t[i]=0,a=!0):c===r&&(t[i]=r-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>r||l<-1||l>o)throw new n.a;a=!1,-1===c?(t[i]=0,a=!0):c===r&&(t[i]=r-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,r){"use strict";var n=r(16),o=r(43),a=r(31),i=r(13),c=r(8),l=r(36),u=r(17),s=r(41),d=(f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),f,h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.findStartPattern=function(e){for(var r=e.getSize(),n=e.getNextSet(0),o=0,a=Int32Array.from([0,0,0,0,0,0]),i=n,l=!1,u=6,d=n;d<r;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,r,n){s.a.recordPattern(e,n,r);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(r,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,r,s){var d=s&&!0===s.get(a.a.ASSUME_GS1),f=t.findStartPattern(r),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,_=!1;!g;){var T=b;switch(b=!1,A=j,j=t.decodeCode(r,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+=_===C?String.fromCharCode(" ".charCodeAt(0)+j):String.fromCharCode(" ".charCodeAt(0)+j+128),_=!1;else if(j<96)y+=_===C?String.fromCharCode(j-64):String.fromCharCode(j+64),_=!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&&_?(C=!0,_=!1):C&&_?(C=!1,_=!1):_=!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+=_===C?String.fromCharCode(" ".charCodeAt(0)+j):String.fromCharCode(" ".charCodeAt(0)+j+128),_=!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&&_?(C=!0,_=!1):C&&_?(C=!1,_=!1):_=!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}}T&&(m=m===t.CODE_CODE_A?t.CODE_CODE_B:t.CODE_CODE_A)}var D=O-w;if(O=r.getNextUnset(O),!r.isRange(O,Math.min(r.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+D/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,n.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,r){"use strict";var n=r(16),o=r(43),a=r(13),i=r(8),c=r(41),l=r(36),u=r(17),s=(d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d,f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(e){function t(t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.call(this)||this;return n.usingCheckDigit=t,n.extendedMode=r,n.decodeRowResult="",n.counters=new Int32Array(9),n}return s(t,e),t.prototype.decodeRow=function(e,r,a){var c,s,d,h,p=this.counters;p.fill(0),this.decodeRowResult="";var v=t.findAsteriskPattern(r,p),m=r.getNextSet(v[1]),g=r.getSize(),b,y;do{t.recordPattern(r,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=r.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 _=this.decodeRowResult.length-1,T=0,D=0;D<_;D++)T+=t.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(D));if(this.decodeRowResult.charAt(_)!==t.ALPHABET_STRING.charAt(T%43))throw new o.a;this.decodeRowResult=this.decodeRowResult.substring(0,_)}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)],n.a.CODE_39,(new Date).getTime())},t.findAsteriskPattern=function(e,r){for(var n=e.getSize(),o=e.getNextSet(0),a=0,c=o,l=!1,u=r.length,s=o;s<n;s++)if(e.get(s)!==l)r[a]++;else{if(a===u-1){if(this.toNarrowWidePattern(r)===t.ASTERISK_ENCODING&&e.isRange(Math.max(0,c-Math.floor((s-c)/2)),c,!1))return[c,s];c+=r[0]+r[1],r.copyWithin(0,2,2+a-1),r[a-1]=0,r[a]=0,a--}else a++;r[a]=1,l=!l}throw new i.a},t.toNarrowWidePattern=function(e){var t,r,n=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&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}o=i,a=0;for(var s=0,d=0,h=0;h<n;h++){var u;(u=e[h])>o&&(d|=1<<n-1-h,a++,s+=u)}if(3===a){for(var h=0;h<n&&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 r=0;r<t.CHARACTER_ENCODINGS.length;r++)if(t.CHARACTER_ENCODINGS[r]===e)return t.ALPHABET_STRING.charAt(r);if(e===t.ASTERISK_ENCODING)return"*";throw new i.a},t.decodeExtended=function(e){for(var t=e.length,r="",n=0;n<t;n++){var o=e.charAt(n);if("+"===o||"$"===o||"%"===o||"/"===o){var i=e.charAt(n+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=":"}}r+=c,n++}else r+=o}return r},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,r){"use strict";var n=r(16),o=r(43),a=r(13),i=r(8),c=r(41),l=r(36),u=r(17),s=(d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d,f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,o){var a,c,s,d,h=this.findAsteriskPattern(r),p=r.getNextSet(h[1]),v=r.getSize(),m=this.counters,g,b;m.fill(0),this.decodeRowResult="";do{t.recordPattern(r,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=r.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||!r.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)],n.a.CODE_93,(new Date).getTime())},t.prototype.findAsteriskPattern=function(e){var r=e.getSize(),n=e.getNextSet(0);this.counters.fill(0);for(var o=this.counters,a=n,c=!1,l=o.length,u=0,s=n;s<r;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,r,n=0;try{for(var o=f(e),a=o.next();!a.done;a=o.next()){var i;n+=a.value}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.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]/n);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 r=0;r<t.CHARACTER_ENCODINGS.length;r++)if(t.CHARACTER_ENCODINGS[r]===e)return t.ALPHABET_STRING.charAt(r);throw new i.a},t.prototype.decodeExtended=function(e){for(var t=e.length,r="",n=0;n<t;n++){var o=e.charAt(n);if(o>="a"&&o<="d"){if(n>=t-1)throw new a.a;var i=e.charAt(n+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=":"}}r+=c,n++}else r+=o}return r},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,r,n){for(var a=1,i=0,c=r-1;c>=0;c--)i+=a*t.ALPHABET_STRING.indexOf(e.charAt(c)),++a>n&&(a=1);if(e.charAt(r)!==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,r){"use strict";var n=r(16),o=r(31),a=r(13),i=r(8),c=r(36),l=r(17),u=r(20),s=r(27),d=r(41),f=(h=function(e,t){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h,p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,i){var s,d,f=this.decodeStart(r),h=this.decodeEnd(r),v=new u.a;t.decodeMiddle(r,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,n.a.ITF,(new Date).getTime())},t.decodeMiddle=function(e,r,n,o){var a=new Int32Array(10),i=new Int32Array(5),c=new Int32Array(5);for(a.fill(0),i.fill(0),c.fill(0);r<n;){d.a.recordPattern(e,r,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){r+=e}))}},t.prototype.decodeStart=function(e){var r=t.skipWhiteSpace(e),n=t.findGuardPattern(e,r,t.START_PATTERN);return this.narrowLineWidth=(n[1]-n[0])/4,this.validateQuietZone(e,n[0]),n},t.prototype.validateQuietZone=function(e,t){var r=10*this.narrowLineWidth;r=r<t?r:t;for(var n=t-1;r>0&&n>=0&&!e.get(n);n--)r--;if(0!==r)throw new i.a},t.skipWhiteSpace=function(e){var t=e.getSize(),r=e.getNextSet(0);if(r===t)throw new i.a;return r},t.prototype.decodeEnd=function(e){e.reverse();try{var r=t.skipWhiteSpace(e),n=void 0;try{n=t.findGuardPattern(e,r,t.END_PATTERN_REVERSED[0])}catch(o){o instanceof i.a&&(n=t.findGuardPattern(e,r,t.END_PATTERN_REVERSED[1]))}this.validateQuietZone(e,n[0]);var o=n[0];return n[0]=e.getSize()-n[1],n[1]=e.getSize()-o,n}finally{e.reverse()}},t.findGuardPattern=function(e,r,n){var o=n.length,a=new Int32Array(o),c=e.getSize(),l=!1,u=0,f=r;a.fill(0);for(var h=r;h<c;h++)if(e.get(h)!==l)a[u]++;else{if(u===o-1){if(d.a.patternMatchVariance(a,n,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 r=t.MAX_AVG_VARIANCE,n=-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<r?(r=l,n=a):l===r&&(n=-1)}if(n>=0)return n%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,r){"use strict";var n;!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"}(n||(n={}));var o=function(){function e(e,t){this.value=e,this.isMasked=t}return e.prototype.unmaskBitMatrix=function(e,t){for(var r=0;r<t;r++)for(var n=0;n<t;n++)this.isMasked(r,n)&&e.flip(n,r)},e.values=new Map([[n.DATA_MASK_000,new e(n.DATA_MASK_000,(function(e,t){return 0==(e+t&1)}))],[n.DATA_MASK_001,new e(n.DATA_MASK_001,(function(e,t){return 0==(1&e)}))],[n.DATA_MASK_010,new e(n.DATA_MASK_010,(function(e,t){return t%3==0}))],[n.DATA_MASK_011,new e(n.DATA_MASK_011,(function(e,t){return(e+t)%3==0}))],[n.DATA_MASK_100,new e(n.DATA_MASK_100,(function(e,t){return 0==(Math.floor(e/2)+Math.floor(t/3)&1)}))],[n.DATA_MASK_101,new e(n.DATA_MASK_101,(function(e,t){return e*t%6==0}))],[n.DATA_MASK_110,new e(n.DATA_MASK_110,(function(e,t){return e*t%6<3}))],[n.DATA_MASK_111,new e(n.DATA_MASK_111,(function(e,t){return 0==(e+t+e*t%3&1)}))]]),e}();t.a=o},function(e,t,r){"use strict";var n=r(42),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ReaderException",t}(n.a);t.a=i},function(e,t,r){"use strict";var n=r(47),o=r(21),a=r(143),i=r(106),c=r(45),l=r(15),u=function(){function e(){}return e.clearMatrix=function(e){e.clear(255)},e.buildMatrix=function(t,r,n,o,a){e.clearMatrix(a),e.embedBasicPatterns(n,a),e.embedTypeInfo(r,o,a),e.maybeEmbedVersionInfo(n,a),e.embedDataBits(t,o,a)},e.embedBasicPatterns=function(t,r){e.embedPositionDetectionPatternsAndSeparators(r),e.embedDarkDotAtLeftBottomCorner(r),e.maybeEmbedPositionAdjustmentPatterns(t,r),e.embedTimingPatterns(r)},e.embedTypeInfo=function(t,r,o){var a=new n.a;e.makeTypeInfoBits(t,r,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,r){if(!(t.getVersionNumber()<7)){var o=new n.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--,r.setBoolean(i,r.getHeight()-11+c,l),r.setBoolean(r.getHeight()-11+c,i,l)}}},e.embedDataBits=function(t,r,n){for(var o=0,a=-1,l=n.getWidth()-1,u=n.getHeight()-1;l>0;){for(6===l&&(l-=1);u>=0&&u<n.getHeight();){for(var s=0;s<2;++s){var d=l-s;if(e.isEmpty(n.get(d,u))){var f=void 0;o<t.getSize()?(f=t.get(o),++o):f=!1,255!==r&&i.a.getDataMaskBit(r,d,u)&&(f=!f),n.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,r){if(0===r)throw new l.a("0 polynomial");var n=e.findMSBSet(r);for(t<<=n-1;e.findMSBSet(t)>=n;)t^=r<<e.findMSBSet(t)-n;return t},e.makeTypeInfoBits=function(t,r,o){if(!a.a.isValidMaskPattern(r))throw new c.a("Invalid mask pattern");var i=t.getBits()<<3|r;o.appendBits(i,5);var l=e.calculateBCHCode(i,e.TYPE_INFO_POLY);o.appendBits(l,10);var u=new n.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,r){r.appendBits(t.getVersionNumber(),6);var n=e.calculateBCHCode(t.getVersionNumber(),e.VERSION_INFO_POLY);if(r.appendBits(n,12),18!==r.getSize())throw new c.a("should not happen but we got: "+r.getSize())},e.isEmpty=function(e){return 255===e},e.embedTimingPatterns=function(t){for(var r=8;r<t.getWidth()-8;++r){var n=(r+1)%2;e.isEmpty(t.get(r,6))&&t.setNumber(r,6,n),e.isEmpty(t.get(6,r))&&t.setNumber(6,r,n)}},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,r,n){for(var o=0;o<8;++o){if(!e.isEmpty(n.get(t+o,r)))throw new c.a;n.setNumber(t+o,r,0)}},e.embedVerticalSeparationPattern=function(t,r,n){for(var o=0;o<7;++o){if(!e.isEmpty(n.get(t,r+o)))throw new c.a;n.setNumber(t,r+o,0)}},e.embedPositionAdjustmentPattern=function(t,r,n){for(var o=0;o<5;++o)for(var a=e.POSITION_ADJUSTMENT_PATTERN[o],i=0;i<5;++i)n.setNumber(t+i,r+o,a[i])},e.embedPositionDetectionPattern=function(t,r,n){for(var o=0;o<7;++o)for(var a=e.POSITION_DETECTION_PATTERN[o],i=0;i<7;++i)n.setNumber(t+i,r+o,a[i])},e.embedPositionDetectionPatternsAndSeparators=function(t){var r=e.POSITION_DETECTION_PATTERN[0].length;e.embedPositionDetectionPattern(0,0,t),e.embedPositionDetectionPattern(t.getWidth()-r,0,t),e.embedPositionDetectionPattern(0,t.getWidth()-r,t);var n=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,r){if(!(t.getVersionNumber()<2))for(var n=t.getVersionNumber()-1,o=e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[n],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(r.get(u,c))&&e.embedPositionAdjustmentPattern(u-2,c-2,r)}}},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,r){"use strict";var n=r(109),o=r(150),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i,c,l=function(e){function t(t,r,n){var o=e.call(this,t,r)||this;return o.count=0,o.finderPattern=n,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=r(36),s=r(31),d=r(8),f=r(20),h=r(16),p=r(17),v=r(302),m=r(28),g=r(127),b=r(27),y=r(41),w=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),O=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){var o,a,i,c,l=this.decodePair(r,!1,e,n);t.addOrTally(this.possibleLeftPairs,l),r.reverse();var u=this.decodePair(r,!0,e,n);t.addOrTally(this.possibleRightPairs,u),r.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 r,n;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){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}o||e.push(t)}},t.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},t.constructResult=function(e,t){for(var r=4537077*e.getValue()+t.getValue(),n=new String(r).toString(),o=new f.a,a=13-n.length;a>0;a--)o.append("0");o.append(n);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 r=(e.getChecksumPortion()+16*t.getChecksumPortion())%79,n=9*e.getFinderPattern().getValue()+t.getFinderPattern().getValue();return n>72&&n--,n>8&&n--,r===n},t.prototype.decodePair=function(e,t,r,n){try{var o=this.findFinderPattern(e,t),a=this.parseFoundFinderPattern(e,r,t,o),i=null==n?null:n.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,r))}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,r,n){for(var a=this.getDataCharacterCounters(),i=0;i<a.length;i++)a[i]=0;if(n)y.a.recordPatternInReverse(e,r.getStartEnd()[0],a);else{y.a.recordPattern(e,r.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=n?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(n,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(n){if(0!=(1&A)||A>12||A<4)throw new d.a;var C=(12-A)/2,_,T=9-(_=t.OUTSIDE_ODD_WIDEST[C]),D=g.a.getRSSvalue(h,_,!1),z=g.a.getRSSvalue(p,T,!0),I=t.OUTSIDE_EVEN_TOTAL_SUBSET[C],P=t.OUTSIDE_GSUM[C];return new o.a(D*I+z+P,E)}if(0!=(1&S)||S>10||S<4)throw new d.a;var C=(10-S)/2,_,T=9-(_=t.INSIDE_ODD_WIDEST[C]),D=g.a.getRSSvalue(h,_,!0),z=g.a.getRSSvalue(p,T,!1),N=t.INSIDE_ODD_TOTAL_SUBSET[C],P=t.INSIDE_GSUM[C];return new o.a(z*N+D+P,E)},t.prototype.findFinderPattern=function(e,t){var r=this.getDecodeFinderCounters();r[0]=0,r[1]=0,r[2]=0,r[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)r[c]++;else{if(3===c){if(n.a.isFinderPattern(r))return[l,u];l+=r[0]+r[1],r[0]=r[2],r[1]=r[3],r[2]=0,r[3]=0,c--}else c++;r[c]=1,a=!a}throw new d.a},t.prototype.parseFoundFinderPattern=function(e,r,n,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 n&&(d=e.getSize()-1-d,f=e.getSize()-1-f),new v.a(s,[i,o[1]],d,f,r)},t.prototype.adjustOddEvenCounts=function(e,t){var r=m.a.sum(new Int32Array(this.getOddCounts())),o=m.a.sum(new Int32Array(this.getEvenCounts())),a=!1,i=!1,c=!1,l=!1;e?(r>12?i=!0:r<4&&(a=!0),o>12?l=!0:o<4&&(c=!0)):(r>11?i=!0:r<5&&(a=!0),o>10?l=!0:o<4&&(c=!0));var u=r+o-t,s=(1&r)==(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;r<o?(a=!0,l=!0):(i=!0,c=!0)}else if(f)throw new d.a}if(a){if(i)throw new d.a;n.a.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(i&&n.a.decrement(this.getOddCounts(),this.getOddRoundingErrors()),c){if(l)throw new d.a;n.a.increment(this.getEvenCounts(),this.getOddRoundingErrors())}l&&n.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}(n.a),A=t.a=M},function(e,t,r){"use strict";var n=function(){function e(){}return e.floatToIntBits=function(e){return e},e.MAX_VALUE=Number.MAX_SAFE_INTEGER,e}();t.a=n},,,,function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(11),a=r(87),i=n(r(64)),c=r(626),l=n(r(402)),u=n(r(403));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,r){"use strict";e.exports=r(689)},function(e,t,r){"use strict";var n=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=n(r(737)),a=n(r(743)),i=n(r(748)),c=n(r(754)),l=n(r(760)),u=n(r(770)),s=n(r(778)),d=n(r(783)),f=n(r(789)),h=n(r(795)),p=n(r(800)),v=n(r(806));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(r){return t.fieldMaps[r]};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,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function e(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},c=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},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(r(0)),s=l(r(1106)),d=l(r(1107)),f=r(11),h=l(r(22));r(849);var p=r(38),v=l(r(416)),m=function e(t,r,n){return"prev"===r?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"===r?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"})):n};t.paginationConfig={className:"materials-grid-paginator",defaultCurrent:1,showTotal:function e(t,r){return"Page ".concat(r[0]," of ").concat(r[1])},itemRender:m,responsive:!0,size:"small"};var g=function e(r){var o=(0,u.useMemo)((function(){return Object.keys(r).length}),[r]),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,n({},t.paginationConfig,r))}),[o,t.paginationConfig,r,a])};t.default=g;var b=function e(t){var r=t.current,n=void 0===r?1:r,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(r){var o=n;"prev"===r&&(o=n-1),"next"===r&&(o=n+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(){n<=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")(n,l))),u.default.createElement("div",{className:"pisell-lowcode-pagination-next",onClick:function e(){n>=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 r=t.value,o=void 0===r?{}:r,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,r){a&&a({page:r===v?t:1,size:r})};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,n({},s,{pageSize:v,current:f,onChange:b,onShowSizeChange:b})))};t.FormPagination=y},function(e,t,r){"use strict";function n(e,t){for(var r=0,n=e.length;r<n;r++)if(t.apply(t,[e[r],r,e]))return e[r]}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,r){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(r," - do not set this, set it on the child."))}Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=c,t.findInArray=n,t.int=i,t.isFunction=o,t.isNum=a},function(e,t,r){"use strict";var n=r(39),o=function(){function e(e,t,r){this.codewords=e,this.numcols=t,this.numrows=r,this.bits=new Uint8Array(t*r),n.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,r){this.bits[t*this.numcols+e]=r?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,r=0;do{t===this.numrows&&0===r&&this.corner1(e++),t===this.numrows-2&&0===r&&this.numcols%4!=0&&this.corner2(e++),t===this.numrows-2&&0===r&&this.numcols%8==4&&this.corner3(e++),t===this.numrows+4&&2===r&&this.numcols%8==0&&this.corner4(e++);do{t<this.numrows&&r>=0&&this.noBit(r,t)&&this.utah(t,r,e++),t-=2,r+=2}while(t>=0&&r<this.numcols);t++,r+=3;do{t>=0&&r<this.numcols&&this.noBit(r,t)&&this.utah(t,r,e++),t+=2,r-=2}while(t<this.numrows&&r>=0);t+=3,r++}while(t<this.numrows||r<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,r,n){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(r);o&=1<<8-n,this.setBit(t,e,0!==o)},e.prototype.utah=function(e,t,r){this.module(e-2,t-2,r,1),this.module(e-2,t-1,r,2),this.module(e-1,t-2,r,3),this.module(e-1,t-1,r,4),this.module(e-1,t,r,5),this.module(e,t-2,r,6),this.module(e,t-1,r,7),this.module(e,t,r,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,r){"use strict";var n=r(20),o=r(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 r=new n.a;r.append(e);var o=t.getInterleavedBlockCount();if(1===o){var a=this.createECCBlock(e,t.getErrorCodewords());r.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 n.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)r.setCharAt(t.getDataCapacity()+h,a.charAt(f++))}}return r.toString()},e.createECCBlock=function(e,t){for(var r=-1,n=0;n<o.h.length;n++)if(o.h[n]===t){r=n;break}if(r<0)throw new Error("Illegal number of error correction codewords specified: "+t);for(var a=o.g[r],i=[],n=0;n<t;n++)i[n]=0;for(var n=0;n<e.length;n++){for(var c=i[t-1]^e.charAt(n).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=[],n=0;n<t;n++)u[n]=i[t-n-1];return u.map((function(e){return String.fromCharCode(e)})).join("")},e}();t.a=a},,,,,,,function(e,t,r){var n,o;n=this,o=function(e){return function(t){var r=e,n=r.lib,o=n.WordArray,a=n.Hasher,i=r.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 r=0;r<16;r++){var n=t+r,o=e[n];e[n]=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],_=a[2],T=a[3];E=u(E,C,_,T,i,7,c[0]),T=u(T,E,C,_,l,12,c[1]),_=u(_,T,E,C,h,17,c[2]),C=u(C,_,T,E,p,22,c[3]),E=u(E,C,_,T,v,7,c[4]),T=u(T,E,C,_,m,12,c[5]),_=u(_,T,E,C,g,17,c[6]),C=u(C,_,T,E,b,22,c[7]),E=u(E,C,_,T,y,7,c[8]),T=u(T,E,C,_,w,12,c[9]),_=u(_,T,E,C,O,17,c[10]),C=u(C,_,T,E,M,22,c[11]),E=u(E,C,_,T,A,7,c[12]),T=u(T,E,C,_,j,12,c[13]),_=u(_,T,E,C,x,17,c[14]),E=s(E,C=u(C,_,T,E,S,22,c[15]),_,T,l,5,c[16]),T=s(T,E,C,_,g,9,c[17]),_=s(_,T,E,C,M,14,c[18]),C=s(C,_,T,E,i,20,c[19]),E=s(E,C,_,T,m,5,c[20]),T=s(T,E,C,_,O,9,c[21]),_=s(_,T,E,C,S,14,c[22]),C=s(C,_,T,E,v,20,c[23]),E=s(E,C,_,T,w,5,c[24]),T=s(T,E,C,_,x,9,c[25]),_=s(_,T,E,C,p,14,c[26]),C=s(C,_,T,E,y,20,c[27]),E=s(E,C,_,T,j,5,c[28]),T=s(T,E,C,_,h,9,c[29]),_=s(_,T,E,C,b,14,c[30]),E=d(E,C=s(C,_,T,E,A,20,c[31]),_,T,m,4,c[32]),T=d(T,E,C,_,y,11,c[33]),_=d(_,T,E,C,M,16,c[34]),C=d(C,_,T,E,x,23,c[35]),E=d(E,C,_,T,l,4,c[36]),T=d(T,E,C,_,v,11,c[37]),_=d(_,T,E,C,b,16,c[38]),C=d(C,_,T,E,O,23,c[39]),E=d(E,C,_,T,j,4,c[40]),T=d(T,E,C,_,i,11,c[41]),_=d(_,T,E,C,p,16,c[42]),C=d(C,_,T,E,g,23,c[43]),E=d(E,C,_,T,w,4,c[44]),T=d(T,E,C,_,A,11,c[45]),_=d(_,T,E,C,S,16,c[46]),E=f(E,C=d(C,_,T,E,h,23,c[47]),_,T,i,6,c[48]),T=f(T,E,C,_,b,10,c[49]),_=f(_,T,E,C,x,15,c[50]),C=f(C,_,T,E,m,21,c[51]),E=f(E,C,_,T,A,6,c[52]),T=f(T,E,C,_,p,10,c[53]),_=f(_,T,E,C,O,15,c[54]),C=f(C,_,T,E,l,21,c[55]),E=f(E,C,_,T,y,6,c[56]),T=f(T,E,C,_,S,10,c[57]),_=f(_,T,E,C,g,15,c[58]),C=f(C,_,T,E,j,21,c[59]),E=f(E,C,_,T,v,6,c[60]),T=f(T,E,C,_,M,10,c[61]),_=f(_,T,E,C,h,15,c[62]),C=f(C,_,T,E,w,21,c[63]),a[0]=a[0]+E|0,a[1]=a[1]+C|0,a[2]=a[2]+_|0,a[3]=a[3]+T|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;r[o>>>5]|=128<<24-o%32;var a=t.floor(n/4294967296),i=n;r[15+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r[14+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),e.sigBytes=4*(r.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,r,n,o,a,i){var c=e+(t&r|~t&n)+o+i;return(c<<a|c>>>32-a)+t}function s(e,t,r,n,o,a,i){var c=e+(t&n|r&~n)+o+i;return(c<<a|c>>>32-a)+t}function d(e,t,r,n,o,a,i){var c=e+(t^r^n)+o+i;return(c<<a|c>>>32-a)+t}function f(e,t,r,n,o,a,i){var c=e+(r^(t|~n))+o+i;return(c<<a|c>>>32-a)+t}r.MD5=a._createHelper(l),r.HmacMD5=a._createHmacHelper(l)}(Math),e.MD5},e.exports=t=o(r(393))},function(e,t,r){var n,o;n=this,o=function(e){return e.enc.Hex},e.exports=t=o(r(393))},function(e,t,r){"use strict";var n=r(15),o=function(){function e(e){if(this.binarizer=e,null===e)throw new n.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,r,n,o){var a=this.binarizer.getLuminanceSource().crop(t,r,n,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,r){"use strict";var n=r(273),o=r(46),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i,c=function(e){function t(t){var r=e.call(this,t)||this;return r.matrix=null,r}return a(t,e),t.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var r=this.getLuminanceSource(),n=r.getWidth(),a=r.getHeight();if(n>=t.MINIMUM_DIMENSION&&a>=t.MINIMUM_DIMENSION){var i=r.getMatrix(),c=n>>t.BLOCK_SIZE_POWER;0!=(n&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,n,a),s=new o.a(n,a);t.calculateThresholdForBlock(i,c,l,n,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,r,n,o,a,i,c){for(var l=a-t.BLOCK_SIZE,u=o-t.BLOCK_SIZE,s=0;s<n;s++){var d=s<<t.BLOCK_SIZE_POWER;d>l&&(d=l);for(var f=t.cap(s,2,n-3),h=0;h<r;h++){var p=h<<t.BLOCK_SIZE_POWER;p>u&&(p=u);for(var v=t.cap(h,2,r-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,r){return e<t?t:e>r?r:e},t.thresholdBlock=function(e,r,n,o,a,i){for(var c=0,l=n*a+r;c<t.BLOCK_SIZE;c++,l+=a)for(var u=0;u<t.BLOCK_SIZE;u++)(255&e[l+u])<=o&&i.set(r+u,n+c)},t.calculateBlackPoints=function(e,r,n,o,a){for(var i=a-t.BLOCK_SIZE,c=o-t.BLOCK_SIZE,l=new Array(n),u=0;u<n;u++){l[u]=new Int32Array(r);var s=u<<t.BLOCK_SIZE_POWER;s>i&&(s=i);for(var d=0;d<r;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}(n.a);t.a=c},function(e,t,r){"use strict";var n=r(274),o=r(47),a=r(46),i=r(8),c=(l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l,u=function(e){function t(r){var n=e.call(this,r)||this;return n.luminances=t.EMPTY,n.buckets=new Int32Array(t.LUMINANCE_BUCKETS),n}return c(t,e),t.prototype.getBlackRow=function(e,r){var n=this.getLuminanceSource(),a=n.getWidth();null==r||r.getSize()<a?r=new o.a(a):r.clear(),this.initArrays(a);for(var i=n.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&&r.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&&r.set(l),s=d,d=f}return r},t.prototype.getBlackMatrix=function(){var e=this.getLuminanceSource(),r=e.getWidth(),n=e.getHeight(),o=new a.a(r,n);this.initArrays(r);for(var i=this.buckets,c=1;c<5;c++)for(var l=Math.floor(n*c/5),u=e.getRow(l,this.luminances),s=Math.floor(4*r/5),d=Math.floor(r/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<n;c++)for(var v=c*r,d=0;d<r;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 r=this.buckets,n=0;n<t.LUMINANCE_BUCKETS;n++)r[n]=0},t.estimateBlackPoint=function(e){for(var r=e.length,n=0,o=0,a=0,c=0;c<r;c++)e[c]>a&&(o=c,a=e[c]),e[c]>n&&(n=e[c]);for(var l=0,u=0,c=0;c<r;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<=r/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)*(n-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}(n.a);t.a=u},function(e,t,r){"use strict";var n=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=n},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(105),o=r(94),a=r(15),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c,l=function(e){function t(r){var n=e.call(this,r.width,r.height)||this;return n.canvas=r,n.tempCanvasElement=null,n.buffer=t.makeBufferFromCanvasImageData(r),n}return i(t,e),t.makeBufferFromCanvasImageData=function(e){var r=e.getContext("2d").getImageData(0,0,e.width,e.height);return t.toGrayscaleBuffer(r.data,e.width,e.height)},t.toGrayscaleBuffer=function(e,r,n){var o=new Uint8ClampedArray(r*n);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 r=this.getWidth(),n=e*r;return null===t?t=this.buffer.slice(n,n+r):(t.length<r&&(t=new Uint8ClampedArray(r)),t.set(this.buffer.slice(n,n+r))),t},t.prototype.getMatrix=function(){return this.buffer},t.prototype.isCropSupported=function(){return!0},t.prototype.crop=function(t,r,n,o){return e.prototype.crop.call(this,t,r,n,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 r=this.getTempCanvasElement(),n=r.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 r.width=c,r.height=l,n.translate(c/2,l/2),n.rotate(o),n.drawImage(this.canvas,a/-2,i/-2),this.buffer=t.makeBufferFromCanvasImageData(r),this},t.prototype.invert=function(){return new n.a(this)},t.DEGREE_TO_RADIANS=Math.PI/180,t.FRAME_INDEX=!0,t}(o.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(){function e(e,t,r){this.deviceId=e,this.label=t,this.kind="videoinput",this.groupId=r||void 0}return e.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},e}()},function(e,t,r){"use strict";var n=r(119),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(t,r,n,o,a){var i=e.call(this,t,r)||this;return i.compact=n,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}(n.a);t.a=i},function(e,t,r){"use strict";var n=r(243),o=r(46),a=r(171),i=r(8),c=(l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l,u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.sampleGrid=function(e,t,r,n,o,i,c,l,u,s,d,f,h,p,v,m,g,b,y){var w=a.a.quadrilateralToQuadrilateral(n,o,i,c,l,u,s,d,f,h,p,v,m,g,b,y);return this.sampleGridWithTransform(e,t,r,w)},t.prototype.sampleGridWithTransform=function(e,t,r,a){if(t<=0||r<=0)throw new i.a;for(var c=new o.a(t,r),l=new Float32Array(2*t),u=0;u<r;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),n.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}(n.a);t.a=u},function(e,t,r){"use strict";var n=r(16),o=r(8),a=r(41),i=r(36),c=r(17),l=(u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),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,r){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)],n.a.CODABAR,(new Date).getTime())},t.prototype.getValidRowData=function(e){var t=e.toArray(),r=t.indexOf(!0);if(-1===r)return null;var n=t.lastIndexOf(!0);if(n<=r)return null;for(var o=[],a=(t=t.slice(r,n+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:r,right:n}},t.prototype.codaBarDecodeRow=function(e){for(var t=[],r=Math.ceil(e.reduce((function(e,t){return(e+t)/2}),0));e.length>0;){var n,o=e.splice(0,8).splice(0,7).map((function(e){return e<r?"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,r){"use strict";var n=r(95),o=r(173),a=r(20),i=r(61),c=r(24),l=r(13),u=r(62),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),r=new a.a,i=new a.a,c=new Array,u=s.ASCII_ENCODE;do{if(u===s.ASCII_ENCODE)u=this.decodeAsciiSegment(t,r,i);else{switch(u){case s.C40_ENCODE:this.decodeC40Segment(t,r);break;case s.TEXT_ENCODE:this.decodeTextSegment(t,r);break;case s.ANSIX12_ENCODE:this.decodeAnsiX12Segment(t,r);break;case s.EDIFACT_ENCODE:this.decodeEdifactSegment(t,r);break;case s.BASE256_ENCODE:this.decodeBase256Segment(t,r,c);break;default:throw new l.a}u=s.ASCII_ENCODE}}while(u!==s.PAD_ENCODE&&t.available()>0);return i.length()>0&&r.append(i.toString()),new n.a(e,r.toString(),0===c.length?null:c,null)},e.decodeAsciiSegment=function(e,t,r){var n=!1;do{var o=e.readBits(8);if(0===o)throw new l.a;if(o<=128)return n&&(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:n=!0;break;case 236:t.append("[)>\x1e05\x1d"),r.insert(0,"\x1e\x04");break;case 237:t.append("[)>\x1e06\x1d"),r.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 r=!1,n=[],o=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),n);for(var i=0;i<3;i++){var c=n[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];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u)}break;case 1:r?(t.append(String.fromCharCode(c+128)),r=!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];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u)}else switch(c){case 27:t.append(String.fromCharCode(29));break;case 30:r=!0;break;default:throw new l.a}o=0;break;case 3:r?(t.append(String.fromCharCode(c+224)),r=!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 r=!1,n=[],o=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),n);for(var i=0;i<3;i++){var c=n[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];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u)}break;case 1:r?(t.append(String.fromCharCode(c+128)),r=!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];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u)}else switch(c){case 27:t.append(String.fromCharCode(29));break;case 30:r=!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];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u),o=0;break;default:throw new l.a}}}while(e.available()>0)},e.decodeAnsiX12Segment=function(e,t){var r=[];do{if(8===e.available())return;var n=e.readBits(8);if(254===n)return;this.parseTwoBytes(n,e.readBits(8),r);for(var o=0;o<3;o++){var a=r[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,r){var n=(e<<8)+t-1,o=Math.floor(n/1600);r[0]=o,n-=1600*o,o=Math.floor(n/40),r[1]=o,r[2]=n-40*o},e.decodeEdifactSegment=function(e,t){do{if(e.available()<=16)return;for(var r=0;r<4;r++){var n=e.readBits(6);if(31===n){var o=8-e.getBitOffset();return void(8!==o&&e.readBits(o))}0==(32&n)&&(n|=64),t.append(String.fromCharCode(n))}}while(e.available()>0)},e.decodeBase256Segment=function(e,t,r){var n=1+e.getByteOffset(),o=this.unrandomize255State(e.readBits(8),n++),a;if((a=0===o?e.available()/8|0:o<250?o:250*(o-249)+this.unrandomize255State(e.readBits(8),n++))<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),n++)}r.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 r,n=e-(149*t%255+1);return n>=0?n:n+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,r){"use strict";var n=r(31),o=r(16),a=r(145),i=r(140),c=r(107),l=r(146),u=r(8),s=r(144),d=r(249),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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(n.a.TRY_HARDER),r=null==e?null:e.get(n.a.POSSIBLE_FORMATS),u=new Array;if(null!=r){var d=r.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)),r.includes(o.a.QR_CODE)&&u.push(new a.a),r.includes(o.a.DATA_MATRIX)&&u.push(new l.a),r.includes(o.a.AZTEC)&&u.push(new i.a),r.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 r=f(this.readers),n=r.next();!n.done;n=r.next()){var o;n.value.reset()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.decodeInternal=function(e){var t,r;if(null===this.readers)throw new d.a("No readers where selected, nothing can be read.");try{for(var n=f(this.readers),o=n.next();!o.done;o=n.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&&(r=n.return)&&r.call(n)}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,r){"use strict";var n=r(173),o=r(48),a=r(95),i=r(24),c=r(13),l=r(20),u=r(61),s=r(44),d=function(){function e(){}return e.decode=function(t,r,i,u){var d=new n.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(r));O===e.GB2312_SUBSET&&e.decodeHanziSegment(d,f,M);break;default:var A=d.readBits(b.getCharacterCountBits(r));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,r){if(13*r>e.available())throw new c.a;for(var n=new Uint8Array(2*r),o=0;r>0;){var a=e.readBits(13),l=a/96<<8&4294967295|a%96;l+=l<959?41377:42657,n[o]=l>>8&255,n[o+1]=255&l,o+=2,r--}try{t.append(u.a.decode(n,i.a.GB2312))}catch(e){throw new c.a(e)}},e.decodeKanjiSegment=function(e,t,r){if(13*r>e.available())throw new c.a;for(var n=new Uint8Array(2*r),o=0;r>0;){var a=e.readBits(13),l=a/192<<8&4294967295|a%192;l+=l<7936?33088:49472,n[o]=l>>8,n[o+1]=l,o+=2,r--}try{t.append(u.a.decode(n,i.a.SHIFT_JIS))}catch(e){throw new c.a(e)}},e.decodeByteSegment=function(e,t,r,n,o,a){if(8*r>e.available())throw new c.a;for(var l=new Uint8Array(r),s=0,d;s<r;s++)l[s]=e.readBits(8);d=null===n?i.a.guessEncoding(l,a):n.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,r,n,o){for(var a=r.length();n>1;){if(t.available()<11)throw new c.a;var i=t.readBits(11);r.append(e.toAlphaNumericChar(Math.floor(i/45))),r.append(e.toAlphaNumericChar(i%45)),n-=2}if(1===n){if(t.available()<6)throw new c.a;r.append(e.toAlphaNumericChar(t.readBits(6)))}if(o)for(var l=a;l<r.length();l++)"%"===r.charAt(l)&&(l<r.length()-1&&"%"===r.charAt(l+1)?r.deleteCharAt(l+1):r.setCharAt(l,String.fromCharCode(29)))},e.decodeNumericSegment=function(t,r,n){for(;n>=3;){if(t.available()<10)throw new c.a;var o=t.readBits(10);if(o>=1e3)throw new c.a;r.append(e.toAlphaNumericChar(Math.floor(o/100))),r.append(e.toAlphaNumericChar(Math.floor(o/10)%10)),r.append(e.toAlphaNumericChar(o%10)),n-=3}if(2===n){if(t.available()<7)throw new c.a;var a=t.readBits(7);if(a>=100)throw new c.a;r.append(e.toAlphaNumericChar(Math.floor(a/10))),r.append(e.toAlphaNumericChar(a%10))}else if(1===n){if(t.available()<4)throw new c.a;var i=t.readBits(4);if(i>=10)throw new c.a;r.append(e.toAlphaNumericChar(i))}},e.parseECIValue=function(e){var t=e.readBits(8),r,n;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,r){"use strict";(function(e){var n=r(13),o=r(48),a=r(95),i=r(284),c=r(39),l=r(20),u=r(21),s=r(376),d=r(645),f=r(61),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 r=2;r<16;r++)e[r]=e[r-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,r){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 n.a;default:s--,s=e.textCompaction(t,s,c)}if(!(s<t.length))throw n.a.getFormatInstance();d=t[s++]}if(0===c.length())throw n.a.getFormatInstance();var p=new a.a(null,c.toString(),null,r);return p.setOther(f),p},e.decodeMacroBlock=function(t,r,o){if(r+e.NUMBER_OF_SEQUENCE_CODEWORDS>t[0])throw n.a.getFormatInstance();for(var a=new Int32Array(e.NUMBER_OF_SEQUENCE_CODEWORDS),i=0;i<e.NUMBER_OF_SEQUENCE_CODEWORDS;i++,r++)a[i]=t[r];o.setSegmentIndex(u.a.parseInt(e.decodeBase900toBase10(a,e.NUMBER_OF_SEQUENCE_CODEWORDS)));var d=new l.a;r=e.textCompaction(t,r,d),o.setFileId(d.toString());var f=-1;for(t[r]===e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(f=r+1);r<t[0];)switch(t[r]){case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(t[++r]){case e.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:var h=new l.a;r=e.textCompaction(t,r+1,h),o.setFileName(h.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_SENDER:var p=new l.a;r=e.textCompaction(t,r+1,p),o.setSender(p.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:var v=new l.a;r=e.textCompaction(t,r+1,v),o.setAddressee(v.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:var m=new l.a;r=e.numericCompaction(t,r+1,m),o.setSegmentCount(u.a.parseInt(m.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:var g=new l.a;r=e.numericCompaction(t,r+1,g),o.setTimestamp(s.a.parseLong(g.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:var b=new l.a;r=e.numericCompaction(t,r+1,b),o.setChecksum(u.a.parseInt(b.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:var y=new l.a;r=e.numericCompaction(t,r+1,y),o.setFileSize(s.a.parseLong(y.toString()));break;default:throw n.a.getFormatInstance()}break;case e.MACRO_PDF417_TERMINATOR:r++,o.setLastSegment(!0);break;default:throw n.a.getFormatInstance()}if(-1!==f){var w=r-f;o.isLastSegment()&&w--,o.setOptionalData(c.a.copyOfRange(t,f,f+w))}return r},e.textCompaction=function(t,r,n){for(var o=new Int32Array(2*(t[0]-r)),a=new Int32Array(2*(t[0]-r)),i=0,c=!1;r<t[0]&&!c;){var l=t[r++];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:r--,c=!0;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o[i]=e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,l=t[r++],a[i]=l,i++}}return e.decodeTextCompaction(o,a,i,n),r},e.decodeTextCompaction=function(t,r,n,o){for(var a=h.ALPHA,i=h.ALPHA,c=0;c<n;){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(r[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(r[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(r[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(r[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(r[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}}""!==u&&o.append(u),c++}},e.byteCompaction=function(t,r,n,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=r[o++];o<r[0]&&!u;)switch(s[c++]=h,l=900*l+h,h=r[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===r[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<r[0]&&!u;){var g=r[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(),n)),o},e.numericCompaction=function(t,r,n){for(var o=0,a=!1,i=new Int32Array(e.MAX_NUMERIC_CODEWORDS);r<t[0]&&!a;){var c=t[r++];if(r===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:r--,a=!0}(o%e.MAX_NUMERIC_CODEWORDS==0||c===e.NUMERIC_COMPACTION_MODE_LATCH||a)&&o>0&&(n.append(e.decodeBase900toBase10(i,o)),o=0)}return r},e.decodeBase900toBase10=function(t,r){for(var o=m(0),a=0;a<r;a++)o+=e.EXP900[r-a-1]*m(t[a]);var i=o.toString();if("1"!==i.charAt(0))throw new n.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,r(84))},function(e,t,r){"use strict";var n=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=n},function(e,t,r){"use strict";var n=r(16),o=r(33),a=r(46),i=r(97),c=r(178),l=r(15),u=r(62),s=function(){function e(){}return e.prototype.encode=function(t,r,a,u,s){if(0===t.length)throw new l.a("Found empty contents");if(r!==n.a.QR_CODE)throw new l.a("Can only encode QR_CODE, but got "+r);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,r,n){var o=e.getMatrix();if(null===o)throw new u.a;for(var i=o.getWidth(),c=o.getHeight(),l=i+2*n,s=c+2*n,d=Math.max(t,l),f=Math.max(r,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,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(10),o=r(26),a=function(){function e(){}return e.prototype.getEncodingMode=function(){return n.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 r=e.getCurrentChar(),a=o.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(a!==this.getEncodingMode())switch(a){case n.c:return e.writeCodeword(n.j),void e.signalEncoderChange(n.c);case n.d:return e.writeCodeword(n.k),void e.signalEncoderChange(n.d);case n.x:e.writeCodeword(n.i),e.signalEncoderChange(n.x);break;case n.v:e.writeCodeword(n.m),e.signalEncoderChange(n.v);break;case n.f:e.writeCodeword(n.l),e.signalEncoderChange(n.f);break;default:throw new Error("Illegal mode: "+a)}else o.a.isExtendedASCII(r)?(e.writeCodeword(n.w),e.writeCodeword(r-128+1),e.pos++):(e.writeCodeword(r+1),e.pos++)}},e.prototype.encodeASCIIDigits=function(e,t){var r;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,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(24),o=r(20),a=r(26),i=r(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 r=e.getCurrentChar(),c;if(t.append(r),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,n.a.getCharAt(l));else{if(!(l<=1555))throw new Error("Message length not in valid ranges: "+l);t.setCharAt(0,n.a.getCharAt(Math.floor(l/250)+249)),t.insert(1,n.a.getCharAt(l%250))}for(var f=0,r=t.length();f<r;f++)e.writeCodeword(this.randomize255State(t.charAt(f).charCodeAt(0),e.getCodewordCount()+1))},e.prototype.randomize255State=function(e,t){var r,n=e+(149*t%255+1);return n<=255?n:n-256},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(24),o=r(20),a=r(10),i=r(26),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 r=e.getCurrentChar(),c;if(this.encodeChar(r,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(n.a.getCharAt(31)),this.handleEOD(e,t)},e.prototype.handleEOD=function(e,t){try{var r=t.length();if(0===r)return;if(1===r){e.updateSymbolInfo();var n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),o=e.getRemainingCharacters();if(o>n&&(e.updateSymbolInfo(e.getCodewordCount()+1),n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount()),o<=n&&n<=2)return}if(r>4)throw new Error("Count must not exceed 4");var i=r-1,c=this.encodeToCodewords(t.toString()),l,u=!e.hasMoreCharacters()&&i<=2,n;if(i<=2)e.updateSymbolInfo(e.getCodewordCount()+i),(n=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(n.a.getCharAt(e-64)):i.a.illegalCharacter(n.a.getCharAt(e))},e.prototype.encodeToCodewords=function(e){var t=e.length;if(0===t)throw new Error("StringBuilder must not be empty");var r,n,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,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(20),o=r(169),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)})),r=new n.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.");r.append(i)}this.msg=r.toString(),this.shape=0,this.codewords=new n.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,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(24),o=r(20),a=r(122),i=r(26),c=r(10),l=(u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),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 r=e.getCurrentChar(),n,a;if(e.pos++,this.encodeChar(r,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(n.a.getCharAt(e))}return 1},t.prototype.handleEOD=function(e,t){e.updateSymbolInfo();var r=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),n=t.length();e.pos-=n,(e.getRemainingCharacters()>1||r>1||e.getRemainingCharacters()!==r)&&e.writeCodeword(c.y),e.getNewEncoding()<0&&e.signalEncoderChange(c.b)},t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(122),o=r(10),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),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 r=2;return r+=this.encodeChar(e-128,t)},t}(n.a)},function(e,t,r){"use strict";var n=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=n},function(e,t,r){"use strict";r.d(t,"a",(function(){return V}));var n=r(62),o=r(184),a=r(172),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),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 r=e.length();e.append("9"),this.encodeCompressedGtinWithoutAI(e,t,r)},t.prototype.encodeCompressedGtinWithoutAI=function(e,r,n){for(var o=0;o<4;++o){var a=this.getGeneralDecoder().extractNumericValueFromBitArray(r+10*o,10);a/100==0&&e.append("0"),a/10==0&&e.append("0"),e.append(a)}t.appendCheckDigit(e,n)},t.appendCheckDigit=function(e,t){for(var r=0,n=0;n<13;n++){var o=e.charAt(n+t).charCodeAt(0)-"0".charCodeAt(0);r+=0==(1&n)?3*o:o}10===(r=10-r%10)&&(r=0),e.append(r)},t.GTIN_SIZE=40,t}(a.a),s=r(20),d=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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 r=e.length(),n=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE,4);return e.append(n),this.encodeCompressedGtinWithoutAI(e,t.HEADER_SIZE+4,r),this.getGeneralDecoder().decodeAllCodes(e,t.HEADER_SIZE+44)},t.HEADER_SIZE=4,t}(u),p=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),b,y=function(e){function t(t){return e.call(this,t)||this}return g(t,e),t.prototype.encodeCompressedWeight=function(e,t,r){var n=this.getGeneralDecoder().extractNumericValueFromBitArray(t,r);this.addWeightCode(e,n);for(var o=this.checkWeight(n),a=1e5,i=0;i<5;++i)o/a==0&&e.append("0"),a/=10;e.append(o)},t}(u),w=r(8),O=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),C,_=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),T=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),D,z=function(e){function t(t){return e.call(this,t)||this}return T(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 r=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE,t.LAST_DIGIT_SIZE);e.append("(392"),e.append(r),e.append(")");var n=this.getGeneralDecoder().decodeGeneralPurposeField(t.HEADER_SIZE+u.GTIN_SIZE+t.LAST_DIGIT_SIZE,null);return e.append(n.getNewString()),e.toString()},t.HEADER_SIZE=8,t.LAST_DIGIT_SIZE=2,t}(u),I=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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 r=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE,t.LAST_DIGIT_SIZE);e.append("(393"),e.append(r),e.append(")");var n=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE+t.LAST_DIGIT_SIZE,t.FIRST_THREE_DIGITS_SIZE);n/100==0&&e.append("0"),n/10==0&&e.append("0"),e.append(n);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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),R,L=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.dateCode=n,o.firstAIdigits=r,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,r){var n=this.getGeneralDecoder().extractNumericValueFromBitArray(r,t.DATE_SIZE);if(38400!==n){e.append("("),e.append(this.dateCode),e.append(")");var o=n%32,a=(n/=32)%12+1,i=n/=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,r,a;switch(o.a.extractNumericValueFromBitArray(e,1,4)){case 4:return new S(e);case 5:return new _(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 n.a("unknown decoder: "+e)}}},function(e,t,r){"use strict";var n,o=function(){function e(){}return e.singletonList=function(e){return[e]},e.min=function(e,t){return e.sort(t)[0]},e}(),a=r(47),i,c=function(){function e(e){this.previous=e}return e.prototype.getPrevious=function(){return this.previous},e}(),l=r(21),u=(s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s,d,f=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.value=r,o.bitCount=n,o}return u(t,e),t.prototype.appendTo=function(e,t){e.appendBits(this.value,this.bitCount)},t.prototype.add=function(e,r){return new t(this,e,r)},t.prototype.addBinaryShift=function(e,r){return console.warn("addBinaryShift on SimpleToken, this simply returns a copy of this token"),new t(this,e,r)},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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),p,v=function(e){function t(t,r,n){var o=e.call(this,t,0,0)||this;return o.binaryShiftStart=r,o.binaryShiftByteCount=n,o}return h(t,e),t.prototype.appendTo=function(e,t){for(var r=0;r<this.binaryShiftByteCount;r++)(0===r||31===r&&this.binaryShiftByteCount<=62)&&(e.appendBits(31,5),this.binaryShiftByteCount>62?e.appendBits(this.binaryShiftByteCount-31,16):0===r?e.appendBits(Math.min(this.binaryShiftByteCount,31),5):e.appendBits(this.binaryShiftByteCount-31,5)),e.appendBits(t[this.binaryShiftStart+r],8)},t.prototype.addBinaryShift=function(e,r){return new t(this,e,r)},t.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},t}(f);function m(e,t,r){return new v(e,t,r)}function g(e,t,r){return new f(e,t,r)}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=r(39),E=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function C(e){var t,r;try{for(var n=E(e),o=n.next();!o.done;o=n.next()){var a=o.value;S.a.fill(a,-1)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}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 _=C(S.a.createInt32Array(6,6)),T=r(24),D=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},z,I=function(){function e(e,t,r,n){this.token=e,this.mode=t,this.binaryShiftByteCount=r,this.bitCount=n}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,r){var n=this.bitCount,o=this.token;if(t!==this.mode){var a=x[this.mode][t];o=g(o,65535&a,a>>16),n+=a>>16}var i=2===t?4:5;return new e(o=g(o,r,i),t,0,n+i)},e.prototype.shiftAndAppend=function(t,r){var n=this.token,o=2===this.mode?4:5;return n=g(n,_[this.mode][t],o),new e(n=g(n,r,5),this.mode,0,this.bitCount+o+5)},e.prototype.addBinaryShiftChar=function(t){var r=this.token,n=this.mode,o=this.bitCount;if(4===this.mode||2===this.mode){var a=x[n][0];r=g(r,65535&a,a>>16),o+=a>>16,n=0}var i=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,c=new e(r,n,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 r=this.token;return new e(r=m(r,t-this.binaryShiftByteCount,this.binaryShiftByteCount),this.mode,0,this.bitCount)},e.prototype.isBetterThanOrEqualTo=function(t){var r=this.bitCount+(x[this.mode][t.mode]>>16);return this.binaryShiftByteCount<t.binaryShiftByteCount?r+=e.calculateBinaryShiftCost(t)-e.calculateBinaryShiftCost(this):this.binaryShiftByteCount>t.binaryShiftByteCount&&t.binaryShiftByteCount>0&&(r+=10),r<=t.bitCount},e.prototype.toBitArray=function(e){for(var t,r,n=[],o=this.endBinaryShift(e.length).token;null!==o;o=o.getPrevious())n.unshift(o);var i=new a.a;try{for(var c=D(n),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&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}return i},e.prototype.toString=function(){return T.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=T.a.getCharCode(" "),r=T.a.getCharCode("."),n=T.a.getCharCode(",");e[0][t]=1;for(var o=T.a.getCharCode("Z"),a=T.a.getCharCode("A"),i=a;i<=o;i++)e[0][i]=i-a+2;e[1][t]=1;for(var c=T.a.getCharCode("z"),l=T.a.getCharCode("a"),i=l;i<=c;i++)e[1][i]=i-l+2;e[2][t]=1;for(var u=T.a.getCharCode("9"),s=T.a.getCharCode("0"),i=s;i<=u;i++)e[2][i]=i-s+2;e[2][n]=12,e[2][r]=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][T.a.getCharCode(d[f])]=f;for(var h=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"],f=0;f<h.length;f++)T.a.getCharCode(h[f])>0&&(e[4][T.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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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=T.a.getCharCode(" "),r=T.a.getCharCode("\n"),n=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 T.a.getCharCode("\r"):i=c===r?2:0;break;case T.a.getCharCode("."):i=c===t?3:0;break;case T.a.getCharCode(","):i=c===t?4:0;break;case T.a.getCharCode(":"):i=c===t?5:0;break;default:i=0}i>0?(n=e.updateStateListForPair(n,a,i),a++):n=this.updateStateListForChar(n,a)}var l;return o.min(n,(function(e,t){return e.getBitCount()-t.getBitCount()})).toBitArray(this.text)},e.prototype.updateStateListForChar=function(t,r){var n,o,a=[];try{for(var i=k(t),c=i.next();!c.done;c=i.next()){var l=c.value;this.updateStateForChar(l,r,a)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return e.simplifyStates(a)},e.prototype.updateStateForChar=function(e,t,r){for(var n=255&this.text[t],o=N[e.getMode()][n]>0,a=null,i=0;i<=4;i++){var c=N[i][n];if(c>0){if(null==a&&(a=e.endBinaryShift(t)),!o||i===e.getMode()||2===i){var l=a.latchAndAppend(i,c);r.push(l)}if(!o&&_[e.getMode()][i]>=0){var u=a.shiftAndAppend(i,c);r.push(u)}}}if(e.getBinaryShiftByteCount()>0||0===N[e.getMode()][n]){var s=e.addBinaryShiftChar(t);r.push(s)}},e.updateStateListForPair=function(e,t,r){var n,o,a=[];try{for(var i=k(e),c=i.next();!c.done;c=i.next()){var l=c.value;this.updateStateForPair(l,t,r,a)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return this.simplifyStates(a)},e.updateStateForPair=function(e,t,r,n){var o=e.endBinaryShift(t);if(n.push(o.latchAndAppend(4,r)),4!==e.getMode()&&n.push(o.shiftAndAppend(4,r)),3===r||4===r){var a=o.latchAndAppend(2,16-r).latchAndAppend(2,1);n.push(a)}if(e.getBinaryShiftByteCount()>0){var i=e.addBinaryShiftChar(t).addBinaryShiftChar(t+1);n.push(i)}},e.simplifyStates=function(e){var t,r,n,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=(n=void 0,k(a)),f=d.next();!f.done;f=d.next()){var h,p;if("break"===s(f.value))break}}catch(e){n={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}u&&a.push(l)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return a},e}(),L=t.a=R},function(e,t,r){"use strict";var n=r(1),o=r(83),a=r(151),i=r(125),c=r(0),l=r(22),u=r.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=r(118);function f(e,t,r){var n=c.useRef({});return"value"in n.current&&!r(n.current.condition,t)||(n.current.value=e(),n.current.condition=t),n.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),r=0;r<e;r++)t[r]=arguments[r];var n=t.filter((function(e){return e}));return n.length<=1?n[0]:function(e){t.forEach((function(t){h(t,e)}))}}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return f((function(){return p.apply(void 0,t)}),t,(function(e,t){return e.length===t.length&&e.every((function(e,r){return e===t[r]}))}))}function m(e){var t,r,n=Object(d.isMemo)(e)?e.type.type:e.type;return!!("function"!=typeof n||null!==(t=n.prototype)&&void 0!==t&&t.render)&&!!("function"!=typeof e||null!==(r=e.prototype)&&void 0!==r&&r.render)}var g=r(123),b=r(66),y=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],w=c.forwardRef((function(e,t){var r=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,r),C=u()(Object(a.a)({},"".concat(x,"-spin"),!!d)),_=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,T=Object(o.a)(Object(o.a)({},b.e),{},{className:C,style:_,viewBox:s});s||delete T.viewBox;var D=function e(){return l?c.createElement(l,T,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(n.a)({},T,{viewBox:s}),m)):null},z=h;return void 0===z&&p&&(z=-1),c.createElement("span",Object(n.a)({role:"img"},w,{ref:M,tabIndex:z,onClick:p,className:E}),D())}));w.displayName="AntdIcon";var O=t.a=w},function(e,t,r){"use strict";var n=r(16),o=r(28),a=r(8),i=r(36),c=r(27),l=r(109),u=r(150),s=r(302),d=r(127),f=r(47),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 r=12*t,n=new f.a(r),o=0,a,i=e[0].getRightChar().getValue(),c=11;c>=0;--c)0!=(i&1<<c)&&n.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)&&n.set(o),o++;if(null!==l.getRightChar())for(var d=l.getRightChar().getValue(),s=11;s>=0;--s)0!=(d&1<<s)&&n.set(o),o++}return n},e}(),v=r(293),m,g=function(){function e(e,t,r,n){this.leftchar=e,this.rightchar=t,this.finderpattern=r,this.maybeLast=n}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,r){return t instanceof e&&(e.equalsOrNull(t.leftchar,r.leftchar)&&e.equalsOrNull(t.rightchar,r.rightchar)&&e.equalsOrNull(t.finderpattern,r.finderpattern))},e.equalsOrNull=function(t,r){return null===t?null===r:e.equals(t,r)},e.prototype.hashCode=function(){var e;return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()},e}(),b,y=function(){function e(e,t,r){this.pairs=e,this.rowNumber=t,this.wasReversed=r}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,r){return t instanceof e&&(this.checkEqualitity(t,r)&&t.wasReversed===r.wasReversed)},e.prototype.checkEqualitity=function(e,t){var r;if(e&&t)return e.forEach((function(e,n){t.forEach((function(t){e.getLeftChar().getValue()===t.getLeftChar().getValue()&&e.getRightChar().getValue()===t.getRightChar().getValue()&&e.getFinderPatter().getValue()===t.getFinderPatter().getValue()&&(r=!0)}))})),r},e}(),w=(O=function(e,t){return(O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),O,M=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.pairs=new Array(t.MAX_PAIRS),r.rows=new Array,r.startEnd=[2],r}return w(t,e),t.prototype.decodeRow=function(e,r,n){this.pairs.length=0,this.startFromEven=!1;try{return t.constructResult(this.decodeRow2pairs(e,r))}catch(e){}return this.pairs.length=0,this.startFromEven=!0,t.constructResult(this.decodeRow2pairs(e,r))},t.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},t.prototype.decodeRow2pairs=function(e,t){for(var r=!1,n;!r;)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;r=!0}}if(this.checkChecksum())return this.pairs;if(n=!!this.rows.length,this.storeRow(e,!1),n){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,r){for(var n,o,i=r;i<this.rows.length;i++){var c=this.rows[i];this.pairs.length=0;try{for(var l=(n=void 0,M(e)),u=l.next();!u.done;u=l.next()){var s=u.value;this.pairs.push(s.getPairs())}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.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 r,n;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){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!1},t.prototype.storeRow=function(e,r){for(var n=0,o=!1,a=!1;n<this.rows.length;){var i=this.rows[n];if(i.getRowNumber()>e){a=i.isEquivalent(this.pairs);break}o=i.isEquivalent(this.pairs),n++}a||o||t.isPartialRow(this.pairs,this.rows)||(this.rows.push(n,new y(this.pairs,e,r)),this.removePartialRows(this.pairs,this.rows))},t.prototype.removePartialRows=function(e,t){var r,n,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){r={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}},t.isPartialRow=function(e,t){var r,n,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){r={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return!1},t.prototype.getRows=function(){return this.rows},t.constructResult=function(e){var t=p.buildBitArray(e),r,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,n.a.RSS_EXPANDED,null)},t.prototype.checkChecksum=function(){var e=this.pairs.get(0),t=e.getLeftChar(),r=e.getRightChar(),n;if(null===r)return!1;for(var o=r.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 r;return e.get(t)?(r=e.getNextUnset(t),r=e.getNextSet(r)):(r=e.getNextSet(t),r=e.getNextUnset(r)),r},t.prototype.retrieveNextPair=function(e,r,n){var o=r.length%2==0,i;this.startFromEven&&(o=!o);var c=!0,l=-1;do{this.findNextPair(e,r,l),null===(i=this.parseFoundFinderPattern(e,n,o))?l=t.getNextSecondBar(e,this.startEnd[0]):c=!1}while(c);var u=this.decodeDataCharacter(e,i,o,!0),s;if(!this.isEmptyPair(r)&&r[r.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,r,n){var o=this.getDecodeFinderCounters();o[0]=0,o[1]=0,o[2]=0,o[3]=0;var i=e.getSize(),c;if(n>=0)c=n;else if(this.isEmptyPair(r))c=0;else{var l;c=r[r.length-1].getFinderPattern().getStartEnd()[1]}var u=r.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,r=0;r<t/2;++r){var n=e[r];e[r]=e[t-r-1],e[t-r-1]=n}},t.prototype.parseFoundFinderPattern=function(e,r,n){var o,a,i;if(n){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,r)},t.prototype.decodeDataCharacter=function(e,r,n,i){for(var c=this.getDataCharacterCounters(),l=0;l<c.length;l++)c[l]=0;if(i)t.recordPatternInReverse(e,r.getStartEnd()[0],c);else{t.recordPattern(e,r.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=(r.getStartEnd()[1]-r.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*r.getValue()+(n?0:2)+(i?0:1)-1,x=0,S=0,s=g.length-1;s>=0;s--){if(t.isNotA1left(r,n,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(r,n,i)){var E=t.WEIGHTS[j][2*s+1];C+=b[s]*E}var _=S+C;if(0!=(1&x)||x>13||x<4)throw new a.a;var T=(13-x)/2,D=t.SYMBOL_WIDEST[T],z=9-D,I=d.a.getRSSvalue(g,D,!0),P=d.a.getRSSvalue(b,z,!1),N,k,R=I*t.EVEN_TOTAL_SUBSET[T]+P+t.GSUM[T];return new u.a(R,_)},t.isNotA1left=function(e,t,r){return!(0===e.getValue()&&t&&r)},t.prototype.adjustOddEvenCounts=function(e){var r=o.a.sum(new Int32Array(this.getOddCounts())),n=o.a.sum(new Int32Array(this.getEvenCounts())),i=!1,c=!1;r>13?c=!0:r<4&&(i=!0);var l=!1,u=!1;n>13?u=!0:n<4&&(l=!0);var s=r+n-e,d=1==(1&r),f=0==(1&n);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;r<n?(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,r){"use strict";var n=r(43),o=r(15),a=r(27),i=r(20),c=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r=t.length;if(r>1&&0===t[0]){for(var n=1;n<r&&0===t[n];)n++;n===r?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(r-n),a.a.arraycopy(t,n,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,r;if(0===e)return this.getCoefficient(0);if(1===e){var n=0;try{for(var o=c(this.coefficients),a=o.next();!a.done;a=o.next()){var i=a.value;n=this.field.add(n,i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n}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 r=this.coefficients,n=t.coefficients;if(r.length>n.length){var i=r;r=n,n=i}var c=new Int32Array(n.length),l=n.length-r.length;a.a.arraycopy(n,0,c,0,l);for(var u=l;u<n.length;u++)c[u]=this.field.add(r[u-l],n[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 r=this.coefficients,n=r.length,a=t.coefficients,i=a.length,c=new Int32Array(n+i-1),l=0;l<n;l++)for(var u=r[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,r=new Int32Array(t),n=0;n<t;n++)r[n]=this.field.subtract(0,this.coefficients[n]);return new e(this.field,r)},e.prototype.multiplyScalar=function(t){if(0===t)return new e(this.field,new Int32Array([0]));if(1===t)return this;for(var r=this.coefficients.length,n=new Int32Array(r),o=0;o<r;o++)n[o]=this.field.multiply(this.coefficients[o],t);return new e(this.field,n)},e.prototype.multiplyByMonomial=function(t,r){if(t<0)throw new o.a;if(0===r)return new e(this.field,new Int32Array([0]));for(var n=this.coefficients.length,a=new Int32Array(n+t),i=0;i<n;i++)a[i]=this.field.multiply(this.coefficients[i],r);return new e(this.field,a)},e.prototype.toString=function(){for(var e=new i.a,t=this.getDegree();t>=0;t--){var r=this.getCoefficient(t);0!==r&&(r<0?(e.append(" - "),r=-r):e.length()>0&&e.append(" + "),0!==t&&1===r||e.append(r),0!==t&&(1===t?e.append("x"):(e.append("x^"),e.append(t))))}return e.toString()},e}(),s=r(32),d=r(170),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 r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),v,m,g=function(e){function t(t,r){var n=e.call(this)||this;n.modulus=t,n.expTable=new Int32Array(t),n.logTable=new Int32Array(t);for(var o=1,a=0;a<t;a++)n.expTable[a]=o,o=o*r%t;for(var a=0;a<t-1;a++)n.logTable[n.expTable[a]]=a;return n.zero=new u(n,new Int32Array([0])),n.one=new u(n,new Int32Array([1])),n}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 r=new Int32Array(e+1);return r[0]=t,new u(this,r)},t.PDF417_GF=new t(s.a.NUMBER_OF_CODEWORDS,3),t}(f),b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r){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!=r)try{for(var h=b(r),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 n.a.getChecksumInstance();e[x]=this.field.subtract(e[x],j[s])}return A.length},e.prototype.runEuclideanAlgorithm=function(e,t,r){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(r/2);){var u=a,s=c;if(c=l,(a=i).isZero())throw n.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 n.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(),r=new Int32Array(t),o=0,a=1;a<this.field.getSize()&&o<t;a++)0===e.evaluateAt(a)&&(r[o]=this.field.inverse(a),o++);if(o!==t)throw n.a.getChecksumInstance();return r},e.prototype.findErrorMagnitudes=function(e,t,r){for(var n=t.getDegree(),o=new Int32Array(n),a=1;a<=n;a++)o[n-a]=this.field.multiply(a,t.getCoefficient(a));for(var i=new u(this.field,o),c=r.length,l=new Int32Array(c),a=0;a<c;a++){var s=this.field.inverse(r[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,r){"use strict";r.d(t,"a",(function(){return n}));var n={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,r){"use strict";r.d(t,"a",(function(){return o}));const n=e=>{let t=!1;return()=>{}},o=(e,t="warning")=>{let r=!1;const n=Array.isArray(e)?e.join("\n"):e;return()=>{r||(r=!0,"error"===t?console.error(n):console.warn(n))}}},function(e,t,r){var n=r(241),o=r(59),a="Expected a function";function i(e,t,r){var i=!0,c=!0;if("function"!=typeof e)throw new TypeError(a);return o(r)&&(i="leading"in r?!!r.leading:i,c="trailing"in r?!!r.trailing:c),n(e,t,{leading:i,maxWait:t,trailing:c})}e.exports=i},function(e,t,r){var n=r(708);function o(e,t){return n(e,t)}e.exports=o},function(e,t,r){"use strict";var n=r(17),o=function(){function e(e,t,r,o,a){this.value=e,this.startEnd=t,this.value=e,this.startEnd=t,this.resultPoints=new Array,this.resultPoints.push(new n.a(r,a)),this.resultPoints.push(new n.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 r=t;return this.value===r.value},e.prototype.hashCode=function(){return this.value},e}();t.a=o},,function(e,t,r){"use strict";function n(e,t){a(e)&&(e="100%");var r=i(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(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,r){return{r:255*n(e,255),g:255*n(t,255),b:255*n(r,255)}}function d(e,t,r){e=n(e,255),t=n(t,255),r=n(r,255);var o=Math.max(e,t,r),a=Math.min(e,t,r),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-r)/u+(t<r?6:0);break;case t:i=(r-e)/u+2;break;case r:i=(e-t)/u+4}i/=6}return{h:i,s:c,l:l}}function f(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function h(e,t,r){var o,a,i;if(e=n(e,360),t=n(t,100),r=n(r,100),0===t)a=r,i=r,o=r;else{var c=r<.5?r*(1+t):r+t-r*t,l=2*r-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,r){e=n(e,255),t=n(t,255),r=n(r,255);var o=Math.max(e,t,r),a=Math.min(e,t,r),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-r)/l+(t<r?6:0);break;case t:i=(r-e)/l+2;break;case r:i=(e-t)/l+4}i/=6}return{h:i,s:u,v:c}}function v(e,t,r){e=6*n(e,360),t=n(t,100),r=n(r,100);var o=Math.floor(e),a=e-o,i=r*(1-t),c=r*(1-a*t),l=r*(1-(1-a)*t),u=o%6,s,d,f;return{r:255*[r,c,i,i,l,r][u],g:255*[l,r,r,c,i,i][u],b:255*[i,i,l,r,r,c][u]}}function m(e,t,r,n){var o=[u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(r).toString(16))];return n&&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,r,n,o){var a=[u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(r).toString(16)),u(y(n))];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,r,n){var o;return[u(y(n)),u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(r).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}}r.d(t,"b",(function(){return G})),r.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},r=1,n=null,o=null,a=null,i=!1,u=!1;return"string"==typeof e&&(e=D(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)?(n=l(e.s),o=l(e.v),t=v(e.h,n,o),i=!0,u="hsv"):z(e.h)&&z(e.s)&&z(e.l)&&(n=l(e.s),a=l(e.l),t=h(e.h,n,a),i=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=c(r),{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:r}}var x="[-\\+]?\\d+%?",S,E="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat(x,")"),C="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),_="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),T={CSS_UNIT:new RegExp(E),rgb:new RegExp("rgb"+C),rgba:new RegExp("rgba"+_),hsl:new RegExp("hsl"+C),hsla:new RegExp("hsla"+_),hsv:new RegExp("hsv"+C),hsva:new RegExp("hsva"+_),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 D(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 r=T.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=T.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=T.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=T.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=T.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=T.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=T.hex8.exec(e))?{r:O(r[1]),g:O(r[2]),b:O(r[3]),a:w(r[4]),format:t?"name":"hex8"}:(r=T.hex6.exec(e))?{r:O(r[1]),g:O(r[2]),b:O(r[3]),format:t?"name":"hex"}:(r=T.hex4.exec(e))?{r:O(r[1]+r[1]),g:O(r[2]+r[2]),b:O(r[3]+r[3]),a:w(r[4]+r[4]),format:t?"name":"hex8"}:!!(r=T.hex3.exec(e))&&{r:O(r[1]+r[1]),g:O(r[2]+r[2]),b:O(r[3]+r[3]),format:t?"name":"hex"}}function z(e){return Boolean(T.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,r,n,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,r=e.g,n=e.b;return"#".concat(m(t,r,n,!1))}function W(e,t,r){var n=r/100,o;return{r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b}}function U(e,t,r){var n;return(n=Math.round(e.h)>=60&&Math.round(e.h)<=240?r?Math.round(e.h)-2*t:Math.round(e.h)+2*t:r?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?n+=360:n>=360&&(n-=360),n}function Y(e,t,r){return 0===e.h&&0===e.s?e.s:((n=r?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(n=1),r&&5===t&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2)));var n}function Q(e,t,r){var n;return(n=r?e.v+.05*t:e.v-.15*t)>1&&(n=1),Number(n.toFixed(2))}function G(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],n=j(e),o=5;o>0;o-=1){var a=H(n),i=F(j({h:U(a,o,!0),s:Y(a,o,!0),v:Q(a,o,!0)}));r.push(i)}r.push(F(n));for(var c=1;c<=4;c+=1){var l=H(n),u=F(j({h:U(l,c),s:Y(l,c),v:Q(l,c)}));r.push(u)}return"dark"===t.theme?B.map((function(e){var n=e.index,o=e.opacity,a;return F(W(j(t.backgroundColor||"#141414"),j(r[n]),100*o))})):r}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,re=q.lime,ne=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,r){var n,o;
|
|
26
|
+
!function(){"use strict";var t="undefined"!=typeof window&&void 0!==window.document?window.document:{},r=e.exports,n=function(){for(var e,r=[["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"]],n=0,o=r.length,a={};n<o;n++)if((e=r[n])&&e[1]in t){for(n=0;n<e.length;n++)a[r[0][n]]=e[n];return a}return!1}(),o={change:n.fullscreenchange,error:n.fullscreenerror},a={request:function(e,r){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)[n.requestFullscreen](r);c instanceof Promise&&c.then(i).catch(a)}.bind(this))},exit:function(){return new Promise(function(e,r){if(this.isFullscreen){var o=function(){this.off("change",o),e()}.bind(this);this.on("change",o);var a=t[n.exitFullscreen]();a instanceof Promise&&a.then(o).catch(r)}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,r){var n=o[e];n&&t.addEventListener(n,r,!1)},off:function(e,r){var n=o[e];n&&t.removeEventListener(n,r,!1)},raw:n};n?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(t[n.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(t[n.fullscreenEnabled])}}}),r?e.exports=a:window.screenfull=a):r?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}()},,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";var n=r(153),o=r(27),a=r(15),i=function(){function e(e,t){if(0===t.length)throw new a.a;this.field=e;var r=t.length;if(r>1&&0===t[0]){for(var n=1;n<r&&0===t[n];)n++;n===r?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(r-n),o.a.arraycopy(t,n,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,r;if(1===e){r=0;for(var o=0,a=t.length;o!==a;o++){var i=t[o];r=n.a.addOrSubtract(r,i)}return r}r=t[0];for(var c=t.length,l=this.field,o=1;o<c;o++)r=n.a.addOrSubtract(l.multiply(e,r),t[o]);return r},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 r=this.coefficients,i=t.coefficients;if(r.length>i.length){var c=r;r=i,i=c}var l=new Int32Array(i.length),u=i.length-r.length;o.a.arraycopy(i,0,l,0,u);for(var s=u;s<i.length;s++)l[s]=n.a.addOrSubtract(r[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 r=this.coefficients,o=r.length,i=t.coefficients,c=i.length,l=new Int32Array(o+c-1),u=this.field,s=0;s<o;s++)for(var d=r[s],f=0;f<c;f++)l[s+f]=n.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 r=this.coefficients.length,n=this.field,o=new Int32Array(r),a=this.coefficients,i=0;i<r;i++)o[i]=n.multiply(a[i],t);return new e(n,o)},e.prototype.multiplyByMonomial=function(t,r){if(t<0)throw new a.a;if(0===r)return this.field.getZero();for(var n=this.coefficients,o=n.length,i=new Int32Array(o+t),c=this.field,l=0;l<o;l++)i[l]=c.multiply(n[l],r);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,r=t.getZero(),n=this,o=e.getCoefficient(e.getDegree()),i=t.inverse(o);n.getDegree()>=e.getDegree()&&!n.isZero();){var c=n.getDegree()-e.getDegree(),l=t.multiply(n.getCoefficient(n.getDegree()),i),u=e.multiplyByMonomial(c,l),s=t.buildMonomial(c,l);r=r.addOrSubtract(s),n=n.addOrSubtract(u)}return[r,n]},e.prototype.toString=function(){for(var e="",t=this.getDegree();t>=0;t--){var r=this.getCoefficient(t);if(0!==r){if(r<0?(e+=" - ",r=-r):e.length>0&&(e+=" + "),0===t||1!==r){var n=this.field.log(r);0===n?e+="1":1===n?e+="a":(e+="a^",e+=n)}0!==t&&(1===t?e+="x":(e+="x^",e+=t))}}return e},e}();t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(151);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t){function r(e,t){return e===t||e!=e&&t!=t}e.exports=r},function(e,t,r){"use strict";var n=r(46),o=r(174),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i,c=function(){function e(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];this.ecCodewordsPerBlock=e,this.ecBlocks=t}return e.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},e.prototype.getNumBlocks=function(){var e,t,r=0,n=this.ecBlocks;try{for(var o=a(n),i=o.next();!i.done;i=o.next()){var c;r+=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 r},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=r(13),d=r(15),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function e(e,t){for(var r,n,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){r={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.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 r=Number.MAX_SAFE_INTEGER,n=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<r&&(n=a+7,r=c)}return r<=3?e.getVersionForNumber(n):null},e.prototype.buildFunctionPattern=function(){var e=this.getDimensionForVersion(),t=new n.a(e);t.setRegion(0,0,9,9),t.setRegion(e-8,0,8,9),t.setRegion(0,e-8,9,8);for(var r=this.alignmentPatternCenters.length,o=0;o<r;o++)for(var a=this.alignmentPatternCenters[o]-2,i=0;i<r;i++)0===o&&(0===i||i===r-1)||o===r-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,r){"use strict";function n(e){return(n="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,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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(r(0)),c=r(52),l=a(r(64));function u(e,t,r){var n={};return t.forEach((function(t){(0,c.has)(e,t)&&(0,c.set)(n,t,r((0,c.get)(e,t),t))})),n}function s(e){return function(t){return i.default.createElement(e,o({},t))}}function d(e,t){return void 0===t&&(t=["children"]),function(r){var a=u(r,t,(function(e){var t=i.default.Children.toArray(e)[0];return null!==t&&"object"===n(t)||(t=i.default.createElement("div",null,t)),t}));return i.default.createElement(e,o({},r,a))}}function f(e){return function(t){var r=t.children,n;return"function"==typeof r&&(n=r),Array.isArray(r)&&1===r.length&&"function"==typeof r[0]&&(n=r[0]),n?i.default.createElement(e,o({},t),n):i.default.createElement("div",null,r)}}function h(e,t){return void 0===t&&(t=["value","defaultValue"]),function(r){var n=u(r,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({},r,n))}}t.withWrap=s,t.withSingleChild=d,t.withSingleFunctionChild=f,t.withMomentProps=h},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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(r(774)),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,r){return n(n({},t),{dataSource:r})},setOriginDataSource:function e(t,r){return n(n({},t),{originDataSource:r})},setDefaultColumns:function e(r,o){return n(n({},r),{defaultColumns:o.map((function(e){return(0,t.formatColumn)(e)}))})},setOriginColumns:function e(r,o){var a=o.map((function(e){return(0,t.formatColumn)(e)})),i=new Map(a.map((function(e){return[e.key,e]})));return n(n({},r),{originColumns:a,originColumnsMap:i})},setCurrentCell:function e(t,r){return n(n({},t),{currentCell:r})},setQuickFilter:function e(t,r){return n(n({},t),{quickFilter:r})},setUtils:function e(t,r){return n(n({},t),{utils:r})},syncStorage:function e(t,r){return n({},t)},init:function e(t,r){return n({},t)},setOtherFilter:function e(t,r){return n(n({},t),{otherFilter:r})},setTableId:function e(t,r){return n(n({},t),{tableId:r})},setLocalPagination:function e(t,r){return n(n({},t),{localPagination:r})},setTableWidth:function e(t,r){return n(n({},t),{tableWidth:r})},setCurrentDataSource:function e(t,r){return n(n({},t),{currentDataSource:r})},setOriginResultDataSource:function e(t,r){return n(n({},t),{originResultDataSource:r})}}})).Provider,t.Context=a.Context;var l=function e(t){var r=n({editable:!0,field_type:"text",lock:!0},t.other||{});return n(n({},r),t)};t.formatColumn=l},,function(e,t){function r(e){return e&&e.__esModule?e:{default:e}}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(70),o=r(59),a="[object AsyncFunction]",i="[object Function]",c="[object GeneratorFunction]",l="[object Proxy]";function u(e){if(!o(e))return!1;var t=n(e);return t==i||t==c||t==a||t==l}e.exports=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=(0,n.createContext)({}),a=function e(){var t;return(0,n.useContext)(window.__appContext||o)||{}};t.default=a},,function(e,t,r){"use strict";var n=r(20),o=r(124),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,r,n){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 n.a,r=0;r<this.height;r++){for(var o=this.getRow(r,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,r){"use strict";var n=function(){function e(e,t,r,n,o,a){void 0===o&&(o=-1),void 0===a&&(a=-1),this.rawBytes=e,this.text=t,this.byteSegments=r,this.ecLevel=n,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=n},function(e,t,r){"use strict";var n=r(56),o=r(82),a=r(149),i=r(62),c=function(){function e(e){this.field=e}return e.prototype.decode=function(e,t){for(var r=this.field,i=new o.a(r,e),c=new Int32Array(t),l=!0,u=0;u<t;u++){var s=i.evaluateAt(r.exp(u+r.getGeneratorBase()));c[c.length-1-u]=s,0!==s&&(l=!1)}if(!l)for(var d=new o.a(r,c),f=this.runEuclideanAlgorithm(r.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-r.log(v[u]);if(g<0)throw new a.a("Bad error location");e[g]=n.a.addOrSubtract(e[g],m[u])}},e.prototype.runEuclideanAlgorithm=function(e,t,r){if(e.getDegree()<t.getDegree()){var n=e;e=t,t=n}for(var o=this.field,c=e,l=t,u=o.getZero(),s=o.getOne();l.getDegree()>=(r/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 r=new Int32Array(t),n=0,o=this.field,i=1;i<o.getSize()&&n<t;i++)0===e.evaluateAt(i)&&(r[n]=o.inverse(i),n++);if(n!==t)throw new a.a("Error locator degree does not match number of roots");return r},e.prototype.findErrorMagnitudes=function(e,t){for(var r=t.length,n=new Int32Array(r),o=this.field,a=0;a<r;a++){for(var i=o.inverse(t[a]),c=1,l=0;l<r;l++)if(a!==l){var u=o.multiply(t[l],i),s=0==(1&u)?1|u:-2&u;c=o.multiply(c,s)}n[a]=o.multiply(e.evaluateAt(i),o.inverse(c)),0!==o.getGeneratorBase()&&(n[a]=o.multiply(n[a],i))}return n},e}();t.a=c},function(e,t,r){"use strict";var n=r(71),o=r(15),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,r,n){this.value=t,this.stringValue=r,this.bits=n,e.FOR_BITS.set(n,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 n.a(t+"not available")}},e.prototype.toString=function(){return this.stringValue},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;return this.value===r.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,r){var n,o=r(55).Symbol;e.exports=o},function(e,t,r){var n,o,a=r(75)(r(55),"Map");e.exports=a},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){var n=r(91),o=r(114);function a(e){return null!=e&&o(e.length)&&!n(e)}e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(11),o=n.Input.Group,a=n.Input.TextArea,i=n.Input.Password,c=n.Input.Search,l=n.Input;l.Group=o,l.TextArea=a,l.Password=i,l.Search=c,t.default=l},,function(e,t,r){"use strict";var n=r(94),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(t){var r=e.call(this,t.getWidth(),t.getHeight())||this;return r.delegate=t,r}return o(t,e),t.prototype.getRow=function(e,t){for(var r=this.delegate.getRow(e,t),n=this.getWidth(),o=0;o<n;o++)r[o]=255-(255&r[o]);return r},t.prototype.getMatrix=function(){for(var e=this.delegate.getMatrix(),t=this.getWidth()*this.getHeight(),r=new Uint8ClampedArray(t),n=0;n<t;n++)r[n]=255-(255&e[n]);return r},t.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},t.prototype.crop=function(e,r,n,o){return new t(this.delegate.crop(e,r,n,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}(n.a);t.a=i},function(e,t,r){"use strict";var n=r(15),o=function(){function e(){}return e.applyMaskPenaltyRule1=function(t){return e.applyMaskPenaltyRule1Internal(t,!0)+e.applyMaskPenaltyRule1Internal(t,!1)},e.applyMaskPenaltyRule2=function(t){for(var r=0,n=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a-1;i++)for(var c=n[i],l=0;l<o-1;l++){var u=c[l];u===c[l+1]&&u===n[i+1][l]&&u===n[i+1][l+1]&&r++}return e.N2*r},e.applyMaskPenaltyRule3=function(t){for(var r=0,n=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a;i++)for(var c=0;c<o;c++){var l=n[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))&&r++,i+6<a&&1===n[i][c]&&0===n[i+1][c]&&1===n[i+2][c]&&1===n[i+3][c]&&1===n[i+4][c]&&0===n[i+5][c]&&1===n[i+6][c]&&(e.isWhiteVertical(n,c,i-4,i)||e.isWhiteVertical(n,c,i+7,i+11))&&r++}return r*e.N3},e.isWhiteHorizontal=function(e,t,r){t=Math.max(t,0),r=Math.min(r,e.length);for(var n=t;n<r;n++)if(1===e[n])return!1;return!0},e.isWhiteVertical=function(e,t,r,n){r=Math.max(r,0),n=Math.min(n,e.length);for(var o=r;o<n;o++)if(1===e[o][t])return!1;return!0},e.applyMaskPenaltyRule4=function(t){for(var r=0,n=t.getArray(),o=t.getWidth(),a=t.getHeight(),i=0;i<a;i++)for(var c=n[i],l=0;l<o;l++)1===c[l]&&r++;var u=t.getHeight()*t.getWidth(),s;return Math.floor(10*Math.abs(2*r-u)/u)*e.N4},e.getDataMaskBit=function(e,t,r){var o,a;switch(e){case 0:o=r+t&1;break;case 1:o=1&r;break;case 2:o=t%3;break;case 3:o=(r+t)%3;break;case 4:o=Math.floor(r/2)+Math.floor(t/3)&1;break;case 5:o=(1&(a=r*t))+a%3;break;case 6:o=(1&(a=r*t))+a%3&1;break;case 7:o=(a=r*t)%3+(r+t&1)&1;break;default:throw new n.a("Invalid mask pattern: "+e)}return 0===o},e.applyMaskPenaltyRule1Internal=function(t,r){for(var n=0,o=r?t.getHeight():t.getWidth(),a=r?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=r?i[c][s]:i[s][c];d===u?l++:(l>=5&&(n+=e.N1+(l-5)),l=1,u=d)}l>=5&&(n+=e.N1+(l-5))}return n},e.N1=3,e.N2=3,e.N3=40,e.N4=10,e}();t.a=o},function(e,t,r){"use strict";var n=r(16),o=r(31),a=r(8),i=r(244),c=r(245),l=r(246),u=r(247),s=r(36),d=r(41),f=r(142),h=r(57),p=(v=function(e,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),v,m=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r){var n,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);r+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var p=(n=void 0,m(c)),v=p.next();!v.done;v=p.next()){var g;s+=g=v.value}}catch(e){n={error:e}}finally{try{v&&!v.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.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);r+=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:r}},t.prototype.getBarcodeFormat=function(){return n.a.EAN_8},t}(h.a),y=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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 n.a.UPC_A},t.prototype.decode=function(e,t){return this.maybeReturnResult(this.ean13Reader.decode(e))},t.prototype.decodeRow=function(e,t,r){return this.maybeReturnResult(this.ean13Reader.decodeRow(e,t,r))},t.prototype.decodeMiddle=function(e,t,r){return this.ean13Reader.decodeMiddle(e,t,r)},t.prototype.maybeReturnResult=function(e){var t=e.getText();if("0"===t.charAt(0)){var r=new s.a(t.substring(1),null,null,e.getResultPoints(),n.a.UPC_A);return null!=e.getResultMetadata()&&r.putAllMetadata(e.getResultMetadata()),r}throw new a.a},t.prototype.reset=function(){this.ean13Reader.reset()},t}(h.a),M=r(20),A=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),j=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){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=r[1],u=0,s=0;s<6&&l<c;s++){var d=t.decodeDigit(e,i,l,t.L_AND_G_PATTERNS);n+=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(n),u),l},t.prototype.decodeEnd=function(e,r){return t.findGuardPatternWithoutCounters(e,r,!0,t.MIDDLE_END_PATTERN)},t.prototype.checkChecksum=function(e){return h.a.checkChecksum(t.convertUPCEtoUPCA(e))},t.determineNumSysAndCheckDigit=function(e,t){for(var r=0;r<=1;r++)for(var n=0;n<10;n++)if(t===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[r][n])return e.insert(0,"0"+r),void e.append("0"+n);throw a.a.getNotFoundInstance()},t.prototype.getBarcodeFormat=function(){return n.a.UPC_E},t.convertUPCEtoUPCA=function(e){var t=e.slice(1,7).split("").map((function(e){return e.charCodeAt(0)})),r=new M.a;r.append(e.charAt(0));var n=t[5];switch(n){case 0:case 1:case 2:r.appendChars(t,0,2),r.append(n),r.append("0000"),r.appendChars(t,2,3);break;case 3:r.appendChars(t,0,3),r.append("00000"),r.appendChars(t,3,2);break;case 4:r.appendChars(t,0,4),r.append("00000"),r.append(t[4]);break;default:r.appendChars(t,0,5),r.append("0000"),r.append(n)}return e.length>=8&&r.append(e.charAt(7)),r.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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),C=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},_,T=function(e){function t(t){var r=e.call(this)||this,a=null==t?null:t.get(o.a.POSSIBLE_FORMATS),i=[];return null!=a&&(a.indexOf(n.a.EAN_13)>-1&&i.push(new f.a),a.indexOf(n.a.UPC_A)>-1&&i.push(new O),a.indexOf(n.a.EAN_8)>-1&&i.push(new b),a.indexOf(n.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)),r.readers=i,r}return E(t,e),t.prototype.decodeRow=function(e,t,r){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,r),h=f.getBarcodeFormat()===n.a.EAN_13&&"0"===f.getText().charAt(0),p=null==r?null:r.get(o.a.POSSIBLE_FORMATS),v=null==p||p.includes(n.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(),n.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 r=C(this.readers),n=r.next();!n.done;n=r.next()){var o;n.value.reset()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t}(d.a),D=r(279),z=r(296),I=r(251),P=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),N=function(e){function t(t){var r=e.call(this)||this;r.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(n.a.EAN_13)||a.includes(n.a.UPC_A)||a.includes(n.a.EAN_8)||a.includes(n.a.UPC_E))&&r.readers.push(new T(t)),a.includes(n.a.CODE_39)&&r.readers.push(new c.a(s,d)),a.includes(n.a.CODE_93)&&r.readers.push(new l.a),a.includes(n.a.CODE_128)&&r.readers.push(new i.a),a.includes(n.a.ITF)&&r.readers.push(new u.a),a.includes(n.a.CODABAR)&&r.readers.push(new D.a),a.includes(n.a.RSS_14)&&r.readers.push(new I.a),a.includes(n.a.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),r.readers.push(new z.a))),0===r.readers.length&&(r.readers.push(new T(t)),r.readers.push(new c.a),r.readers.push(new l.a),r.readers.push(new T(t)),r.readers.push(new i.a),r.readers.push(new u.a),r.readers.push(new I.a)),r}return P(t,e),t.prototype.decodeRow=function(e,t,r){for(var n=0;n<this.readers.length;n++)try{return this.readers[n].decodeRow(e,t,r)}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,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(t,r){return t.__proto__=r,t})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,"a",(function(){return o}))},function(e,t,r){"use strict";var n=r(28),o=r(8),a=r(41),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c,l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r){for(var n=0;n<r.length;n++)if(a.a.patternMatchVariance(e,r[n],t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return n;throw new o.a},t.count=function(e){return n.a.sum(new Int32Array(e))},t.increment=function(e,t){for(var r=0,n=t[0],o=1;o<e.length;o++)t[o]>n&&(n=t[o],r=o);e[r]++},t.decrement=function(e,t){for(var r=0,n=t[0],o=1;o<e.length;o++)t[o]<n&&(n=t[o],r=o);e[r]--},t.isFinderPattern=function(e){var r,n,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){r={error:e}}finally{try{d&&!d.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.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,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r(84))},function(e,t,r){(function(e){var n=r(55),o=r(221),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,c,l=i&&i.exports===a?n.Buffer:void 0,u,s=(l?l.isBuffer:void 0)||o;e.exports=s}).call(this,r(81)(e))},function(e,t,r){var n=r(222),o=r(223),a=r(224),i=a&&a.isTypedArray,c=i?o(i):n;e.exports=c},function(e,t){var r=9007199254740991;function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}e.exports=n},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])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=r(35),i=o(r(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,n({},t,{className:t.className}))};t.default=l},,,function(e,t,r){"use strict";e.exports=r(313)},function(e,t,r){"use strict";var n=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=n},function(e,t,r){"use strict";var n=r(278),o=function(){function e(){}return e.setGridSampler=function(t){e.gridSampler=t},e.getInstance=function(){return e.gridSampler},e.gridSampler=new n.a,e}();t.a=o},function(e,t,r){"use strict";var n=r(48),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),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}(n.a);t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(20),o=r(26),a=r(10),i=function(){function e(){}return e.prototype.getEncodingMode=function(){return a.d},e.prototype.encodeMaximal=function(e){for(var t=new n.a,r=0,o=e.pos,i=0;e.hasMoreCharacters();){var c=e.getCurrentChar();e.pos++,r=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&&(r>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 n.a;e.hasMoreCharacters();){var r=e.getCurrentChar();e.pos++;var i=this.encodeChar(r,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 n.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,r,n){var o=t.length(),a=t.toString().substring(0,o-n);t.setLengthToZero(),t.append(a),e.pos--;var i=e.getCurrentChar();return n=this.encodeChar(i,r),e.resetSymbolInfo(),n},e.prototype.writeNextTriplet=function(e,t){e.writeCodewords(this.encodeToCodewords(t.toString()));var r=t.toString().substring(3);t.setLengthToZero(),t.append(r)},e.prototype.handleEOD=function(e,t){var r=Math.floor(t.length()/3*2),n=t.length()%3,o=e.getCodewordCount()+r;e.updateSymbolInfo(o);var i=e.getSymbolInfo().getDataCapacity()-o;if(2===n){for(t.append("\0");t.length()>=3;)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(a.e)}else if(1===i&&1===n){for(;t.length()>=3;)this.writeNextTriplet(e,t);e.hasMoreCharacters()&&e.writeCodeword(a.e),e.pos--}else{if(0!==n)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 r=2;return r+=this.encodeChar(e-128,t)},e.prototype.encodeToCodewords=function(e){var t=1600*e.charCodeAt(0)+40*e.charCodeAt(1)+e.charCodeAt(2)+1,r=t/256,o=t%256,a=new n.a;return a.append(r),a.append(o),a.toString()},e}()},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=Object(n.createContext)({});t.a=a},function(e,t,r){"use strict";var n=r(42),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="UnsupportedOperationException",t}(n.a);t.a=i},function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],t.indexOf(o)>=0||(r[o]=e[o]);return r}function o(e,t){if(null==e)return{};var r=n(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)&&(r[o]=e[o])}return r}r.d(t,"a",(function(){return o}))},function(e,t,r){"use strict";function n(e){return(n="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)}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";var n=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(){function e(){}return e.getRSSvalue=function(t,r,o){var a,i,c=0;try{for(var l=n(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>r;b--)g+=e.combins(c-v-b-1,h-p-3);m-=g*(h-1-p)}else c-v>r&&m--;d+=m}c-=v}return d},e.combins=function(e,t){var r,n;e-t>t?(n=t,r=e-t):(n=e-t,r=t);for(var o=1,a=1,i=e;i>r;i--)o*=i,a<=n&&(o/=a,a++);for(;a<=n;)o/=a,a++;return o},e}();t.a=o},function(e,t,r){"use strict";r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return ue})),r.d(t,"c",(function(){return ge})),r.d(t,"d",(function(){return ye})),r.d(t,"e",(function(){return be})),r.d(t,"f",(function(){return ve})),r.d(t,"g",(function(){return me}));var n="-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^T(e,0)?(((t<<2^T(e,0))<<2^T(e,1))<<2^T(e,2))<<2^T(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,r){return e.replace(t,r)}function _(e,t){return e.indexOf(t)}function T(e,t){return 0|e.charCodeAt(t)}function D(e,t,r){return e.slice(t,r)}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,r,n,o,a,i,c){return{value:e,root:t,parent:r,type:n,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?T(F,--B):0,L--,10===H&&(L=1,R--),H}function X(){return H=B<V?T(F,B++):0,L++,10===H&&(L=1,R++),H}function q(){return T(F,B)}function $(){return B}function Z(e,t){return D(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 re(e){return ee(oe(J(e)))}function ne(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,r,n,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=n,j=y;m;)switch(p=b,b=X()){case 40:if(108!=p&&58==T(j,d-1)){-1!=_(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+=ne(p);break;case 92:j+=ae($()-1,7);continue;case 47:switch(q()){case 42:case 47:P(fe(ce(X(),$()),t,r,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+";",n,r,d-1,l):he(C(j," ","")+";",n,r,d-2,l),l);break;case 59:j+=";";default:if(P(M=de(j,t,r,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===T(j,3)?100:f){case 100:case 108:case 109:case 115:se(e,M,M,n&&P(de(e,M,M,0,0,o,c,y,o,w=[],d,O),O),o,O,d,c,n?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,r,n,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<n;++m)for(var y=0,w=D(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,r,0===o?c:l,u,s,d,f)}function fe(e,t,r,n){return W(e,t,r,i,A(Q()),D(e,2,-2),0,n)}function he(e,t,r,n,o){return W(e,t,r,l,D(e,0,n),D(e,n+1,-1),n,o)}function pe(e,t,r){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+n+e+e;case 5936:switch(T(e,t+11)){case 114:return a+e+n+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+n+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+n+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return a+e+n+e+e;case 6165:return a+e+n+"flex-"+e+e;case 5187:return a+e+C(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+n+"flex-$1$2")+e;case 5443:return a+e+n+"flex-item-"+C(e,/flex-|-self/g,"")+(E(e,/flex-|baseline/)?"":n+"grid-row-"+C(e,/flex-|-self/g,""))+e;case 4675:return a+e+n+"flex-line-pack"+C(e,/align-content|flex-|-self/g,"")+e;case 5548:return a+e+n+C(e,"shrink","negative")+e;case 5292:return a+e+n+C(e,"basis","preferred-size")+e;case 6060:return a+"box-"+C(e,"-grow","")+a+e+n+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"+n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4200:if(!E(e,/flex-|baseline/))return n+"grid-column-align"+D(e,t)+e;break;case 2592:case 3360:return n+C(e,"template-","")+e;case 4384:case 3616:return r&&r.some((function(e,r){return t=r,E(e.props,/grid-\w+-end/)}))?~_(e+(r=r[t].value),"span")?e:n+C(e,"-start","")+e+n+"grid-row-span:"+(~_(r,"span")?E(r,/\d+/):+E(r,/\d+/)-+E(e,/\d+/))+";":n+C(e,"-start","")+e;case 4896:case 4128:return r&&r.some((function(e){return E(e.props,/grid-\w+-start/)}))?e:n+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(T(e,t+1)){case 109:if(45!==T(e,t+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==T(e,t+3)?"$3":"$2-$3"))+e;case 115:return~_(e,"stretch")?pe(C(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return C(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,o,a,i,c,l){return n+r+":"+o+l+(a?n+r+"-span:"+(i?c:+c-+o)+l:"")+e}));case 4949:if(121===T(e,t+6))return C(e,":",":"+a)+e;break;case 6444:switch(T(e,45===T(e,14)?18:11)){case 120:return C(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+a+(45===T(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+n+"$2box$3")+e;case 100:return C(e,":",":"+n)+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 r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function me(e,t,r,n){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,n)+"}";case c:if(!z(e.value=e.props.join(",")))return""}return z(r=ve(e.children,n))?e.return=e.value+"{"+r+"}":""}function ge(e){var t=I(e);return function(r,n,o,a){for(var i="",c=0;c<t;c++)i+=e[c](r,n,o,a)||"";return i}}function be(e){return function(t){t.root||(t=t.return)&&e(t)}}function ye(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case l:return void(e.return=pe(e.value,e.length,r));case g:return ve([U(e,{value:C(e.value,"@","@"+a)})],o);case c:if(e.length)return N(r=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(r,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+)/,n+"input-$1")]})),Y(U(e,{props:[t]})),j(e,{props:k(r,o)})}return""}))}}function we(e){switch(e.type){case c:e.props=e.props.map((function(t){return N(re(t),(function(t,r,n){switch(T(t,0)){case 12:return D(t,1,z(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===n[++r]&&(n[r]="",n[++r]="\f"+D(n[r],r=1,-1));case 32:return 1===r?"":t;default:switch(r){case 0:return e=t,I(n)>1?"":t;case r=I(n)-1:case 2:return 2===r?t+e+e:t+e;default:return t}}}))}))}}},,function(e,t,r){var n=r(220),o=r(65),a=Object.prototype,i=a.hasOwnProperty,c=a.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!c.call(e,"callee")};e.exports=l},function(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}e.exports=o},function(e,t){var r=Object.prototype;function n(e){var t=e&&e.constructor,n;return e===("function"==typeof t&&t.prototype||r)}e.exports=n},function(e,t,r){"use strict";r.r(t),r.d(t,"SortableContext",(function(){return A})),r.d(t,"arrayMove",(function(){return c})),r.d(t,"arraySwap",(function(){return l})),r.d(t,"defaultAnimateLayoutChanges",(function(){return x})),r.d(t,"defaultNewIndexGetter",(function(){return j})),r.d(t,"hasSortableData",(function(){return I})),r.d(t,"horizontalListSortingStrategy",(function(){return p})),r.d(t,"rectSortingStrategy",(function(){return m})),r.d(t,"rectSwappingStrategy",(function(){return g})),r.d(t,"sortableKeyboardCoordinates",(function(){return N})),r.d(t,"useSortable",(function(){return D})),r.d(t,"verticalListSortingStrategy",(function(){return y}));var n=r(0),o=r.n(n),a=r(60),i=r(14);function c(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function l(e,t,r){const n=e.slice();return n[t]=e[r],n[r]=e[t],n}function u(e,t){return e.reduce((e,r,n)=>{const o=t.get(r);return o&&(e[n]=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 r=0;r<e.length;r++)if(e[r]!==t[r])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:r,activeNodeRect:n,activeIndex:o,overIndex:a,index:i}=e;const c=null!=(t=r[o])?t:n;if(!c)return null;const l=v(r,i,o);if(i===o){const e=r[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,r){const n=e[t],o=e[t-1],a=e[t+1];return n&&(o||a)?r<t?o?n.left-(o.left+o.width):a.left-(n.left+n.width):a?a.left-(n.left+n.width):n.left-(o.left+o.width):0}const m=e=>{let{rects:t,activeIndex:r,overIndex:n,index:o}=e;const a=c(t,n,r),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:r,rects:n,overIndex:o}=e,a,i;return r===t&&(a=n[r],i=n[o]),r===o&&(a=n[r],i=n[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:r,activeNodeRect:n,index:o,rects:a,overIndex:i}=e;const c=null!=(t=a[r])?t:n;if(!c)return null;if(o===r){const e=a[i];return e?{x:0,y:r<i?e.top+e.height-(c.top+c.height):e.top-c.top,...b}:null}const l=w(a,o,r);return o>r&&o<=i?{x:0,y:-c.height-l,...b}:o<r&&o>=i?{x:0,y:c.height+l,...b}:{x:0,y:0,...b}};function w(e,t,r){const n=e[t],o=e[t-1],a=e[t+1];return n?r<t?o?n.top-(o.top+o.height):a?a.top-(n.top+n.height):0:a?a.top-(n.top+n.height):o?n.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:r,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,r),w=Boolean(null!==p.rect),A=Object(n.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(n.useRef)(A),C=!d(A,E.current),_=-1!==S&&-1===x||C,T=f(s);Object(i.useIsomorphicLayoutEffect)(()=>{C&&j&&b(A)},[C,A,j,b]),Object(n.useEffect)(()=>{E.current=A},[A]);const D=Object(n.useMemo)(()=>({activeIndex:x,containerId:y,disabled:T,disableTransforms:_,items:A,overIndex:S,useDragOverlay:w,sortedRects:u(A,v),strategy:l}),[x,y,T.draggable,T.droppable,_,A,S,v,w,l]);return o.a.createElement(M.Provider,{value:D},t)}const j=e=>{let{id:t,items:r,activeIndex:n,overIndex:o}=e;return c(r,n,o).indexOf(t)},x=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:o,items:a,newIndex:i,previousItems:c,previousContainerId:l,transition:u}=e;return!(!u||!n)&&((c===a||o!==i)&&(!!r||i!==o&&t===l))},S={duration:200,easing:"ease"},E="transform",C=i.CSS.Transition.toString({property:"transform",duration:0,easing:"linear"}),_={roleDescription:"sortable"};function T(e){let{disabled:t,index:r,node:o,rect:c}=e;const[l,u]=Object(n.useState)(null),s=Object(n.useRef)(r);return Object(i.useIsomorphicLayoutEffect)(()=>{if(!t&&r!==s.current&&o.current){const e=c.current;if(e){const t=Object(a.getClientRect)(o.current,{ignoreTransform:!0}),r={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(r.x||r.y)&&u(r)}}r!==s.current&&(s.current=r)},[t,r,o,c]),Object(n.useEffect)(()=>{l&&u(null)},[l]),l}function D(e){let{animateLayoutChanges:t=x,attributes:r,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(n.useContext)(M),E=z(o,g),D=p.indexOf(u),I=Object(n.useMemo)(()=>({sortable:{containerId:v,index:D,items:p},...c}),[v,c,D,p]),P=Object(n.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:{..._,...r},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:D}):null,re=s(m)&&s(w)?l({id:u,items:p,activeIndex:m,overIndex:w}):D,ne=null==V?void 0:V.id,oe=Object(n.useRef)({activeId:ne,items:p,newIndex:re,containerId:v}),ae=p!==oe.current.items,ie=t({active:V,containerId:v,isDragging:Y,isSorting:$,id:u,index:D,items:p,newIndex:oe.current.newIndex,previousItems:oe.current.items,previousContainerId:oe.current.containerId,transition:h,wasDragging:null!=oe.current.activeId}),ce=T({disabled:!ie,index:D,node:k,rect:N});return Object(n.useEffect)(()=>{$&&oe.current.newIndex!==re&&(oe.current.newIndex=re),v!==oe.current.containerId&&(oe.current.containerId=v),p!==oe.current.items&&(oe.current.items=p)},[$,re,v,p]),Object(n.useEffect)(()=>{if(ne===oe.current.activeId)return;if(ne&&!oe.current.activeId)return void(oe.current.activeId=ne);const e=setTimeout(()=>{oe.current.activeId=ne},50);return()=>clearTimeout(e)},[ne]),{active:V,activeIndex:m,attributes:F,data:I,rect:N,index:D,newIndex:re,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===D?C:K&&!Object(i.isKeyboardEvent)(B)||!h?void 0:$||ie?i.CSS.Transition.toString({...h,property:"transform"}):void 0}}function z(e,t){var r,n;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(r=null==e?void 0:e.draggable)?r:t.draggable,droppable:null!=(n=null==e?void 0:e.droppable)?n: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:r,collisionRect:n,droppableRects:o,droppableContainers:c,over:l,scrollableAncestors:u}}=t;if(P.includes(e.code)){if(e.preventDefault(),!r||!n)return;const t=[];c.getEnabled().forEach(r=>{if(!r||null!=r&&r.disabled)return;const i=o.get(r.id);if(i)switch(e.code){case a.KeyboardCode.Down:n.top<i.top&&t.push(r);break;case a.KeyboardCode.Up:n.top>i.top&&t.push(r);break;case a.KeyboardCode.Left:n.left>i.left&&t.push(r);break;case a.KeyboardCode.Right:n.left<i.left&&t.push(r)}});const s=Object(a.closestCorners)({active:r,collisionRect:n,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(r.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 r=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?n.width-l.width:0,y:d?n.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,r){"use strict";var n=r(36),o=r(16),a=r(31),i=r(50),c=r(27),l=r(242),u=r(168),s=function(){function e(){}return e.prototype.decode=function(e,t){void 0===t&&(t=null);var r=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){r=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!=r)throw r;throw e}var h=new n.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 r=e.get(a.a.NEED_RESULT_POINT_CALLBACK);null!=r&&t.forEach((function(e,t,n){r.foundPossibleResultPoint(e)}))}},e.prototype.reset=function(){},e}();t.a=s},function(e,t,r){"use strict";var n=r(17),o=r(28),a=r(8),i=function(){function e(t,r,n,o){this.image=t,this.height=t.getHeight(),this.width=t.getWidth(),null==r&&(r=e.INIT_SIZE),null==n&&(n=t.getWidth()/2|0),null==o&&(o=t.getHeight()/2|0);var i=r/2|0;if(this.leftInit=n-i,this.rightInit=n+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,r=this.upInit,n=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(r,n,t,!1))?(t++,i=!0,l=!0):l||t++;if(t>=f){o=!0;break}for(var v=!0;(v||!u)&&n<h;)(v=this.containsBlackPoint(e,t,n,!0))?(n++,i=!0,u=!0):u||n++;if(n>=h){o=!0;break}for(var m=!0;(m||!s)&&e>=0;)(m=this.containsBlackPoint(r,n,e,!1))?(e--,i=!0,s=!0):s||e--;if(e<0){o=!0;break}for(var g=!0;(g||!d)&&r>=0;)(g=this.containsBlackPoint(e,t,r,!0))?(r--,i=!0,d=!0):d||r--;if(r<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,n-w,e+w,n);if(null==y)throw new a.a;for(var O=null,w=1;null===O&&w<b;w++)O=this.getBlackPointOnSegment(e,r+w,e+w,r);if(null==O)throw new a.a;for(var M=null,w=1;null===M&&w<b;w++)M=this.getBlackPointOnSegment(t,r+w,t-w,r);if(null==M)throw new a.a;for(var A=null,w=1;null===A&&w<b;w++)A=this.getBlackPointOnSegment(t,n-w,t-w,n);if(null==A)throw new a.a;return this.centerEdges(A,y,M,O)}throw new a.a},e.prototype.getBlackPointOnSegment=function(e,t,r,a){for(var i=o.a.round(o.a.distance(e,t,r,a)),c=(r-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 n.a(d,f)}return null},e.prototype.centerEdges=function(t,r,o,a){var i=t.getX(),c=t.getY(),l=r.getX(),u=r.getY(),s=o.getX(),d=o.getY(),f=a.getX(),h=a.getY(),p=e.CORR;return i<this.width/2?[new n.a(f-p,h+p),new n.a(l+p,u+p),new n.a(s-p,d-p),new n.a(i+p,c-p)]:[new n.a(f+p,h+p),new n.a(l+p,u-p),new n.a(s-p,d+p),new n.a(i-p,c-p)]},e.prototype.containsBlackPoint=function(e,t,r,n){var o=this.image;if(n){for(var a=e;a<=t;a++)if(o.get(a,r))return!0}else for(var i=e;i<=t;i++)if(o.get(r,i))return!0;return!1},e.INIT_SIZE=10,e.CORR=1,e}();t.a=i},function(e,t,r){"use strict";var n=r(16),o=r(57),a=r(8),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c,l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){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=r[1],p=0,v=0;v<6&&h<f;v++){var m=o.a.decodeDigit(e,s,h,o.a.L_AND_G_PATTERNS);n+=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)}n=t.determineFirstDigit(n,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);n+=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:n}},t.prototype.getBarcodeFormat=function(){return n.a.EAN_13},t.determineFirstDigit=function(e,t){for(var r=0;r<10;r++)if(t===this.FIRST_DIGIT_ENCODINGS[r])return e=String.fromCharCode("0".charCodeAt(0)+r)+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,r){"use strict";var n=r(20),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 n.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,r){"use strict";var n=r(16),o=r(43),a=r(13),i=r(8),c=r(36),l=r(32),u=r(21),s=r(50),d=r(17),f=r(27),h=r(39),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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){var o=t.getBlackMatrix(),a=e.detect(n,o);return a.length||((o=o.clone()).rotate180(),a=e.detect(n,o)),new v(o,a)},e.detect=function(t,r){for(var n,o,a=new Array,i=0,c=0,l=!1;i<r.getHeight();){var u=e.findVertices(r,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=(n=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){n={error:e}}finally{try{d&&!d.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}i+=e.ROW_STEP}}return a},e.findVertices=function(t,r,n){var o=t.getHeight(),a=t.getWidth(),i=new Array(8);return e.copyToResult(i,e.findRowsWithPattern(t,o,a,r,n,e.START_PATTERN),e.INDEXES_START_PATTERN),null!=i[4]&&(n=Math.trunc(i[4].getX()),r=Math.trunc(i[4].getY())),e.copyToResult(i,e.findRowsWithPattern(t,o,a,r,n,e.STOP_PATTERN),e.INDEXES_STOP_PATTERN),i},e.copyToResult=function(e,t,r){for(var n=0;n<r.length;n++)e[r[n]]=t[n]},e.findRowsWithPattern=function(t,r,n,o,a,i){for(var c=new Array(4),l=!1,u=new Int32Array(i.length);o<r;o+=e.ROW_STEP){var s;if(null!=(s=e.findGuardPattern(t,a,o,n,!1,i,u))){for(;o>0;){var f;if(null==(f=e.findGuardPattern(t,a,--o,n,!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<r;p++){var s;if(null!=(s=e.findGuardPattern(t,f[0],p,n,!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,r,n,o,a,i,c){h.a.fillWithin(c,0,c.length,0);for(var l=r,u=0;t.get(l,n)&&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,n)!==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,r){for(var n=e.length,o=0,a=0,i=0;i<n;i++)o+=e[i],a+=t[i];if(o<a)return 1/0;var c=o/a;r*=c;for(var l=0,u=0;u<n;u++){var s=e[u],d=t[u]*c,f=s>d?s-d:d-s;if(f>r)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=r(28),w=r(297),O,M=function(){function e(t,r,n,o,a){t instanceof e?this.constructor_2(t):this.constructor_1(t,r,n,o,a)}return e.prototype.constructor_1=function(e,t,r,n,o){var a=null==t||null==r,c=null==n||null==o;if(a&&c)throw new i.a;a?(t=new d.a(0,n.getY()),r=new d.a(0,o.getY())):c&&(n=new d.a(e.getWidth()-1,t.getY()),o=new d.a(e.getWidth()-1,r.getY())),this.image=e,this.topLeft=t,this.bottomLeft=r,this.topRight=n,this.bottomRight=o,this.minX=Math.trunc(Math.min(t.getX(),r.getX())),this.maxX=Math.trunc(Math.max(n.getX(),o.getX())),this.minY=Math.trunc(Math.min(t.getY(),n.getY())),this.maxY=Math.trunc(Math.max(r.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,r){return null==t?r:null==r?t:new e(t.image,t.topLeft,t.bottomLeft,r.topRight,r.bottomRight)},e.prototype.addMissingRows=function(t,r,n){var o=this.topLeft,a=this.bottomLeft,i=this.topRight,c=this.bottomRight;if(t>0){var l=n?this.topLeft:this.topRight,u=Math.trunc(l.getY()-t);u<0&&(u=0);var s=new d.a(l.getX(),u);n?o=s:i=s}if(r>0){var f=n?this.bottomLeft:this.bottomRight,h=Math.trunc(f.getY()+r);h>=this.image.getHeight()&&(h=this.image.getHeight()-1);var p=new d.a(f.getX(),h);n?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,r,n){this.columnCount=e,this.errorCorrectionLevel=n,this.rowCountUpperPart=t,this.rowCountLowerPart=r,this.rowCount=t+r}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 r=-1;function n(e,n,o,a,i,c){if("%%"===e)return"%";if(void 0!==t[++r]){e=a?parseInt(a.substr(1)):void 0;var l=i?parseInt(i.substr(1)):void 0,u;switch(c){case"s":u=t[r];break;case"c":u=t[r][0];break;case"f":u=parseFloat(t[r]).toFixed(e);break;case"p":u=parseFloat(t[r]).toPrecision(e);break;case"e":u=parseFloat(t[r]).toExponential(e);break;case"x":u=parseInt(t[r]).toString(l||16);break;case"d":u=parseFloat(parseInt(t[r],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!==n?u+d:d+u;return u}}var o=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return e.replace(o,n)},e.prototype.format=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];this.buffer+=e.form(t,r)},e.prototype.toString=function(){return this.buffer},e}(),E=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},C,_=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 r=this.getCodeword(t);if(null!=r)return r;for(var n=1;n<e.MAX_NEARBY_DISTANCE;n++){var o=this.imageRowToCodewordIndex(t)-n;if(o>=0&&null!=(r=this.codewords[o]))return r;if((o=this.imageRowToCodewordIndex(t)+n)<this.codewords.length&&null!=(r=this.codewords[o]))return r}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,r=new S,n=0;try{for(var o=E(this.codewords),a=o.next();!a.done;a=o.next()){var i=a.value;null!=i?r.format("%3d: %3d|%3d%n",n++,i.getRowNumber(),i.getValue()):r.format("%3d: | %n",n++)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return r.toString()},e.MAX_NEARBY_DISTANCE=5,e}(),T=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},D=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,a=[],i;try{for(;(void 0===t||t-- >0)&&!(o=n.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}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,r=-1,n=new Array,o=function(e,t){var o=function(){return e},a=function(){return t};a()>r?(r=a(),(n=[]).push(o())):a()===r&&n.push(o())};try{for(var a=T(this.values.entries()),i=a.next();!i.done;i=a.next()){var c=D(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(n)},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 r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}N(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),N,k=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},R,L=function(e){function t(t,r){var n=e.call(this,t)||this;return n._isLeft=r,n}return P(t,e),t.prototype.setRowNumbers=function(){var e,t;try{for(var r=k(this.getCodewords()),n=r.next();!n.done;n=r.next()){var o=n.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t.prototype.adjustCompleteIndicatorColumnRowNumbers=function(e){var t=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(t,e);for(var r=this.getBoundingBox(),n=this._isLeft?r.getTopLeft():r.getTopRight(),o=this._isLeft?r.getBottomLeft():r.getBottomRight(),a=this.imageRowToCodewordIndex(Math.trunc(n.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,r=this.getBarcodeMetadata();if(null==r)return null;this.adjustIncompleteIndicatorColumnRowNumbers(r);var n=new Int32Array(r.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>=n.length)continue;n[c]++}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return n},t.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(e){for(var t=this.getBoundingBox(),r=this._isLeft?t.getTopLeft():t.getTopRight(),n=this._isLeft?t.getBottomLeft():t.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.imageRowToCodewordIndex(Math.trunc(n.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,r=this.getCodewords(),n=new I,o=new I,a=new I,i=new I;try{for(var c=k(r),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:n.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===n.getValue().length||0===o.getValue().length||0===a.getValue().length||0===i.getValue().length||n.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(n.getValue()[0],o.getValue()[0],a.getValue()[0],i.getValue()[0]);return this.removeIncorrectCodewords(r,h),h},t.prototype.removeIncorrectCodewords=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(null!=e[r]){var o=n.getValue()%30,a=n.getRowNumber();if(a>t.getRowCount())e[r]=null;else switch(this._isLeft||(a+=2),a%3){case 0:3*o+1!==t.getRowCountUpperPart()&&(e[r]=null);break;case 1:Math.trunc(o/3)===t.getErrorCorrectionLevel()&&o%3===t.getRowCountLowerPart()||(e[r]=null);break;case 2:o+1!==t.getColumnCount()&&(e[r]=null)}}}},t.prototype.isLeft=function(){return this._isLeft},t.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+e.prototype.toString.call(this)},t}(_),V=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r=this.detectionResultColumns[t].getCodewords(),n=0;n<r.length;n++)null!=r[n]&&(r[n].hasValidRowNumber()||this.adjustRowNumbers(t,n,r));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(),r=0;r<e.length;r++)if(null!=e[r]&&null!=t[r]&&e[r].getRowNumber()===t[r].getRowNumber())for(var n=1;n<=this.barcodeColumnCount;n++){var o=this.detectionResultColumns[n].getCodewords()[r];null!=o&&(o.setRowNumber(e[r].getRowNumber()),o.hasValidRowNumber()||(this.detectionResultColumns[n].getCodewords()[r]=null))}},e.prototype.adjustRowNumbersFromRRI=function(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;for(var t=0,r=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),n=0;n<r.length;n++)if(null!=r[n])for(var o=r[n].getRowNumber(),a=0,i=this.barcodeColumnCount+1;i>0&&a<this.ADJUST_ROW_NUMBER_SKIP;i--){var c=this.detectionResultColumns[i].getCodewords()[n];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,r=this.detectionResultColumns[0].getCodewords(),n=0;n<r.length;n++)if(null!=r[n])for(var o=r[n].getRowNumber(),a=0,i=1;i<this.barcodeColumnCount+1&&a<this.ADJUST_ROW_NUMBER_SKIP;i++){var c=this.detectionResultColumns[i].getCodewords()[n];null!=c&&(a=e.adjustRowNumberIfValid(o,a,c),c.hasValidRowNumber()||t++)}return t},e.adjustRowNumberIfValid=function(e,t,r){return null==r||r.hasValidRowNumber()||(r.isValidRowNumber(e)?(r.setRowNumber(e),t=0):++t),t},e.prototype.adjustRowNumbers=function(t,r,n){var o,a;if(null!=this.detectionResultColumns[t-1]){var i=n[r],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[r],u[3]=l[r],r>0&&(u[0]=n[r-1],u[4]=c[r-1],u[5]=l[r-1]),r>1&&(u[8]=n[r-2],u[10]=c[r-2],u[11]=l[r-2]),r<n.length-1&&(u[1]=n[r+1],u[6]=c[r+1],u[7]=l[r+1]),r<n.length-2&&(u[9]=n[r+2],u[12]=c[r+2],u[13]=l[r+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,r=0;r<e.getCodewords().length;r++){t.format("CW %3d:",r);for(var n=0;n<this.barcodeColumnCount+2;n++)if(null!=this.detectionResultColumns[n]){var o=this.detectionResultColumns[n].getCodewords()[r];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,r,n,o){this.rowNumber=e.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(t),this.endX=Math.trunc(r),this.bucket=Math.trunc(n),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=r(252),Y,Q=function(){function e(){}return e.initialize=function(){for(var t=0;t<l.a.SYMBOL_TABLE.length;t++)for(var r=l.a.SYMBOL_TABLE[t],n=1&r,o=0;o<l.a.BARS_IN_MODULE;o++){for(var a=0;(1&r)===n;)a+=1,r>>=1;n=1&r,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 r=e.getDecodedCodewordValue(e.sampleBitCounts(t));return-1!==r?r:e.getClosestDecodedValue(t)},e.sampleBitCounts=function(e){for(var t=y.a.sum(e),r=new Int32Array(l.a.BARS_IN_MODULE),n=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[n]<=i&&(o+=e[n],n++),r[n]++}return r},e.getDecodedCodewordValue=function(t){var r=e.getBitValue(t);return-1===l.a.getCodeword(r)?-1:r},e.getBitValue=function(e){for(var t=0,r=0;r<e.length;r++)for(var n=0;n<e[r];n++)t=t<<1|(r%2==0?1:0);return Math.trunc(t)},e.getClosestDecodedValue=function(t){var r=y.a.sum(t),n=new Array(l.a.BARS_IN_MODULE);if(r>1)for(var o=0;o<n.length;o++)n[o]=Math.fround(t[o]/r);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]-n[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=r(283),X=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},q,$=function(){function e(){}return e.decode=function(t,r,n,o,a,c,l){for(var u=new M(t,r,n,o,a),s=null,d=null,f,h=!0;;h=!1){if(null!=r&&(s=e.getRowIndicatorColumn(t,u,r,!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 _(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,r){if(null==t&&null==r)return null;var n=e.getBarcodeMetadata(t,r);if(null==n)return null;var o=M.merge(e.adjustBoundingBox(t),e.adjustBoundingBox(r));return new H(n,o)},e.adjustBoundingBox=function(t){var r,n;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){r={error:e}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.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,r,n=-1;try{for(var o=X(e),a=o.next();!a.done;a=o.next()){var i=a.value;n=Math.max(n,i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n},e.getBarcodeMetadata=function(e,t){var r,n;return null==e||null==(r=e.getBarcodeMetadata())?null==t?null:t.getBarcodeMetadata():null==t||null==(n=t.getBarcodeMetadata())?r:r.getColumnCount()!==n.getColumnCount()&&r.getErrorCorrectionLevel()!==n.getErrorCorrectionLevel()&&r.getRowCount()!==n.getRowCount()?null:r},e.getRowIndicatorColumn=function(t,r,n,o,a,i){for(var c=new L(r,o),l=0;l<2;l++)for(var u=0===l?1:-1,s=Math.trunc(Math.trunc(n.getX())),d=Math.trunc(Math.trunc(n.getY()));d<=r.getMaxY()&&d>=r.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,r){var n=r[0][1],o=n.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();n.setValue(a)}else o[0]!==a&&n.setValue(a)},e.createDecoderResult=function(t){var r=e.createBarcodeMatrix(t);e.adjustCodewordCount(t,r);for(var n=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=r[c][u+1].getValue(),d=c*t.getBarcodeColumnCount()+u;0===s.length?n.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(n),l.a.toIntArray(i),f)},e.createDecoderResultFromAmbiguousValues=function(t,r,n,a,i){for(var c=new Int32Array(a.length),l=100;l-- >0;){for(var u=0;u<c.length;u++)r[a[u]]=i[u][c[u]];try{return e.decodeCodewords(r,t,n)}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,r,n,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=(n=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){n={error:e}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}l++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=u.return)&&r.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,r,n,o){var a,i,c=o?1:-1,l=null;if(e.isValidBarcodeColumn(t,r-c)&&(l=t.getDetectionResultColumn(r-c).getCodeword(n)),null!=l)return o?l.getEndX():l.getStartX();if(null!=(l=t.getDetectionResultColumn(r).getCodewordNearby(n)))return o?l.getStartX():l.getEndX();if(e.isValidBarcodeColumn(t,r-c)&&(l=t.getDetectionResultColumn(r-c).getCodewordNearby(n)),null!=l)return o?l.getEndX():l.getStartX();for(var u=0;e.isValidBarcodeColumn(t,r-c);){r-=c;try{for(var s=(a=void 0,X(t.getDetectionResultColumn(r).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,r,n,o,a,i,c,u){a=e.adjustCodewordStartColumn(t,r,n,o,a,i);var s=e.getModuleBitCount(t,r,n,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,r,n,o,a){for(var i=o,c=new Int32Array(8),l=0,u=n?1:-1,s=n;(n?i<r:i>=t)&&l<c.length;)e.get(i,a)===s?(c[l]++,i+=u):(l++,s=!s);return l===c.length||i===(n?r:t)&&l===c.length-1?c:null},e.getNumberOfECCodeWords=function(e){return 2<<e},e.adjustCodewordStartColumn=function(t,r,n,o,a,i){for(var c=a,l=o?-1:1,u=0;u<2;u++){for(;(o?c>=r:c<n)&&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,r,n){return r-e.CODEWORD_SKEW_SIZE<=t&&t<=n+e.CODEWORD_SKEW_SIZE},e.decodeCodewords=function(t,r,n){if(0===t.length)throw a.a.getFormatInstance();var o=1<<r+1,i=e.correctErrors(t,n,o);e.verifyCodewordCount(t,o);var c=G.a.decode(t,""+r);return c.setErrorsCorrected(i),c.setErasures(n.length),c},e.correctErrors=function(t,r,n){if(null!=r&&r.length>n/2+e.MAX_ERRORS||n<0||n>e.MAX_EC_CODEWORDS)throw o.a.getChecksumInstance();return e.errorCorrection.decode(t,n,r)},e.verifyCodewordCount=function(e,t){if(e.length<4)throw a.a.getFormatInstance();var r=e[0];if(r>e.length)throw a.a.getFormatInstance();if(0===r){if(!(t<e.length))throw a.a.getFormatInstance();e[0]=e.length-t}},e.getBitCountForCodeword=function(e){for(var t=new Int32Array(8),r=0,n=t.length-1;!((1&e)!==r&&(r=1&e,--n<0));)t[n]++,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,r=0;r<e.length;r++){t.format("Row %2d: ",r);for(var n=0;n<e[r].length;n++){var o=e[r][n];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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r){void 0===r&&(r=null);var n=e.decode(t,r,!1);if(null==n||0===n.length||null==n[0])throw i.a.getNotFoundInstance();return n[0]},e.prototype.decodeMultiple=function(t,r){void 0===r&&(r=null);try{return e.decode(t,r,!0)}catch(e){if(e instanceof a.a||e instanceof o.a)throw i.a.getNotFoundInstance();throw e}},e.decode=function(t,r,o){var a,i,l=new Array,u=b.detectMultiple(t,r,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,n.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,r){"use strict";var n=r(16),o=r(46),a=r(31),i=r(8),c=r(36),l=r(50),u=r(43),s=r(56),d=r(96),f=r(86),h=r(174),p=r(248),v=r(13),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 r=5;r>=0;r--)e=this.copyBit(8,r,e);for(var n=this.bitMatrix.getHeight(),o=0,a=n-7,r=n-1;r>=a;r--)o=this.copyBit(8,r,o);for(var t=n-8;t<n;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 r=0,n=e-11,o=5;o>=0;o--)for(var a=e-9;a>=n;a--)r=this.copyBit(a,o,r);var i=f.a.decodeVersionInformation(r);if(null!==i&&i.getDimensionForVersion()===e)return this.parsedVersion=i,i;r=0;for(var a=5;a>=0;a--)for(var o=e-9;o>=n;o--)r=this.copyBit(a,o,r);if(null!==(i=f.a.decodeVersionInformation(r))&&i.getDimensionForVersion()===e)return this.parsedVersion=i,i;throw new v.a},e.prototype.copyBit=function(e,t,r){var n;return(this.isMirror?this.bitMatrix.get(t,e):this.bitMatrix.get(e,t))?r<<1|1:r<<1},e.prototype.readCodewords=function(){var e=this.readFormatInformation(),t=this.readVersion(),r=p.a.values.get(e.getDataMask()),n=this.bitMatrix.getHeight();r.unmaskBitMatrix(this.bitMatrix,n);for(var o=t.buildFunctionPattern(),a=!0,i=new Uint8Array(t.getTotalCodewords()),c=0,l=0,u=0,s=n-1;s>0;s-=2){6===s&&s--;for(var d=0;d<n;d++)for(var f=a?n-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,r=e.getWidth();t<r;t++)for(var n=t+1,o=e.getHeight();n<o;n++)e.get(t,n)!==e.get(n,t)&&(e.flip(n,t),e.flip(t,n))},e}(),b=r(15),y=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){var o,a,i,c;if(t.length!==r.getTotalCodewords())throw new b.a;var l=r.getECBlocksForLevel(n),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 _=p[0].codewords.length,w=S;w<_;w++)for(var C=0;C<v;C++){var T=C<j?w:w+1;p[C].codewords[T]=t[E++]}return p},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}(),M=r(282),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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r=new g(e),n=null;try{return this.decodeBitMatrixParser(r,t)}catch(e){n=e}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var o=this.decodeBitMatrixParser(r,t);return o.setOther(new j(!0)),o}catch(e){if(null!==n)throw n;throw e}},e.prototype.decodeBitMatrixParser=function(e,t){var r,n,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){r={error:e}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.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 r=new Int32Array(e);try{this.rsDecoder.decode(r,e.length-t)}catch(e){throw new u.a}for(var n=0;n<t;n++)e[n]=r[n]},e}(),C=r(28),_=r(119),T=r(120),D=r(171),z=r(17),I=(P=function(e,t){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),P,N,k=function(e){function t(t,r,n){var o=e.call(this,t,r)||this;return o.estimatedModuleSize=n,o}return I(t,e),t.prototype.aboutEquals=function(e,t,r){if(Math.abs(t-this.getY())<=e&&Math.abs(r-this.getX())<=e){var n=Math.abs(e-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,r,n){var o,a,i;return new t((this.getX()+r)/2,(this.getY()+e)/2,(this.estimatedModuleSize+n)/2)},t}(z.a),R=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},L,V=function(){function e(e,t,r,n,o,a,i){this.image=e,this.startX=t,this.startY=r,this.width=n,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,r,n=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<n&&!c.get(s,u);)s++;for(var d=0,f;s<n;){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,n)))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,r=t/2,n=0;n<3;n++)if(Math.abs(t-e[n])>=r)return!1;return!0},e.prototype.crossCheckVertical=function(t,r,n,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(r,l)&&c[1]<=n;)c[1]++,l--;if(l<0||c[1]>n)return NaN;for(;l>=0&&!a.get(r,l)&&c[0]<=n;)c[0]++,l--;if(c[0]>n)return NaN;for(l=t+1;l<i&&a.get(r,l)&&c[1]<=n;)c[1]++,l++;if(l===i||c[1]>n)return NaN;for(;l<i&&!a.get(r,l)&&c[2]<=n;)c[2]++,l++;if(c[2]>n)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,r,n){var o,a,i=t[0]+t[1]+t[2],c=e.centerFromEnd(t,n),l=this.crossCheckVertical(r,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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),H,F=function(e){function t(t,r,n,o){var a=e.call(this,t,r)||this;return a.estimatedModuleSize=n,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,r){if(Math.abs(t-this.getY())<=e&&Math.abs(r-this.getX())<=e){var n=Math.abs(e-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,r,n){var o=this.count+1,a,i,c;return new t((this.count*this.getX()+r)/o,(this.count*this.getY()+e)/o,(this.count*this.estimatedModuleSize+n)/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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r=null!=t&&void 0!==t.get(a.a.TRY_HARDER),n=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||r)&&(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,n))){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,n))&&(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,r=0;r<5;r++){var n=e[r];if(0===n)return!1;t+=n}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,r,n,o){for(var a=this.getCrossCheckStateCount(),i=0,c=this.image;t>=i&&r>=i&&c.get(r-i,t-i);)a[2]++,i++;if(t<i||r<i)return!1;for(;t>=i&&r>=i&&!c.get(r-i,t-i)&&a[1]<=n;)a[1]++,i++;if(t<i||r<i||a[1]>n)return!1;for(;t>=i&&r>=i&&c.get(r-i,t-i)&&a[0]<=n;)a[0]++,i++;if(a[0]>n)return!1;var l=c.getHeight(),u=c.getWidth();for(i=1;t+i<l&&r+i<u&&c.get(r+i,t+i);)a[2]++,i++;if(t+i>=l||r+i>=u)return!1;for(;t+i<l&&r+i<u&&!c.get(r+i,t+i)&&a[3]<n;)a[3]++,i++;if(t+i>=l||r+i>=u||a[3]>=n)return!1;for(;t+i<l&&r+i<u&&c.get(r+i,t+i)&&a[4]<n;)a[4]++,i++;if(a[4]>=n)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,r,n,o){for(var a=this.image,i=a.getHeight(),c=this.getCrossCheckStateCount(),l=t;l>=0&&a.get(r,l);)c[2]++,l--;if(l<0)return NaN;for(;l>=0&&!a.get(r,l)&&c[1]<=n;)c[1]++,l--;if(l<0||c[1]>n)return NaN;for(;l>=0&&a.get(r,l)&&c[0]<=n;)c[0]++,l--;if(c[0]>n)return NaN;for(l=t+1;l<i&&a.get(r,l);)c[2]++,l++;if(l===i)return NaN;for(;l<i&&!a.get(r,l)&&c[3]<n;)c[3]++,l++;if(l===i||c[3]>=n)return NaN;for(;l<i&&a.get(r,l)&&c[4]<n;)c[4]++,l++;if(c[4]>=n)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,r,n,o){for(var a=this.image,i=a.getWidth(),c=this.getCrossCheckStateCount(),l=t;l>=0&&a.get(l,r);)c[2]++,l--;if(l<0)return NaN;for(;l>=0&&!a.get(l,r)&&c[1]<=n;)c[1]++,l--;if(l<0||c[1]>n)return NaN;for(;l>=0&&a.get(l,r)&&c[0]<=n;)c[0]++,l--;if(c[0]>n)return NaN;for(l=t+1;l<i&&a.get(l,r);)c[2]++,l++;if(l===i)return NaN;for(;l<i&&!a.get(l,r)&&c[3]<n;)c[3]++,l++;if(l===i||c[3]>=n)return NaN;for(;l<i&&a.get(l,r)&&c[4]<n;)c[4]++,l++;if(c[4]>=n)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,r,n,o){var a=t[0]+t[1]+t[2]+t[3]+t[4],i=e.centerFromEnd(t,n),c=this.crossCheckVertical(r,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,r,n;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&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return 0},e.prototype.haveMultiplyConfirmedCenters=function(){var t,r,n,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&&(r=l.return)&&r.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){n={error:e}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}return f<=.05*i},e.prototype.selectBestPatterns=function(){var e,t,r,n,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 r=Math.abs(t.getEstimatedModuleSize()-c),n=Math.abs(e.getEstimatedModuleSize()-c);return r<n?-1:r>n?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){r={error:e}}finally{try{y&&!y.done&&(n=b.return)&&n.call(b)}finally{if(r)throw r.error}}c=l/a.length,a.sort((function(e,t){if(t.getCount()===e.getCount()){var r=Math.abs(t.getEstimatedModuleSize()-c),n=Math.abs(e.getEstimatedModuleSize()-c);return r<n?1:r>n?-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,r=new G(this.image,this.resultPointCallback).find(e);return this.processFinderPatternInfo(r)},e.prototype.processFinderPatternInfo=function(t){var r=t.getTopLeft(),n=t.getTopRight(),o=t.getBottomLeft(),a=this.calculateModuleSize(r,n,o);if(a<1)throw new i.a("No pattern found in proccess finder.");var c=e.computeDimension(r,n,o,a),l=f.a.getProvisionalVersionForDimension(c),u=l.getDimensionForVersion()-7,s=null;if(l.getAlignmentPatternCenters().length>0)for(var d=n.getX()-r.getX()+o.getX(),h=n.getY()-r.getY()+o.getY(),p=1-3/u,v=Math.floor(r.getX()+p*(d-r.getX())),m=Math.floor(r.getY()+p*(h-r.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(r,n,o,s,c),y=e.sampleGrid(this.image,b,c),w;return w=null===s?[o,r,n]:[o,r,n,s],new _.a(y,w)},e.createTransform=function(e,t,r,n,o){var a=o-3.5,i,c,l,u;return null!==n?(i=n.getX(),c=n.getY(),u=l=a-3):(i=t.getX()-e.getX()+r.getX(),c=t.getY()-e.getY()+r.getY(),l=a,u=a),D.a.quadrilateralToQuadrilateral(3.5,3.5,a,3.5,l,u,3.5,a,e.getX(),e.getY(),t.getX(),t.getY(),i,c,r.getX(),r.getY())},e.sampleGrid=function(e,t,r){var n;return T.a.getInstance().sampleGridWithTransform(e,r,r,t)},e.computeDimension=function(e,t,r,n){var o=C.a.round(z.a.distance(e,t)/n),a=C.a.round(z.a.distance(e,r)/n),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,r){return(this.calculateModuleSizeOneWay(e,t)+this.calculateModuleSizeOneWay(e,r))/2},e.prototype.calculateModuleSizeOneWay=function(e,t){var r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY())),n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(r)?n/7:isNaN(n)?r/7:(r+n)/14},e.prototype.sizeOfBlackWhiteBlackRunBothWays=function(e,t,r,n){var o=this.sizeOfBlackWhiteBlackRun(e,t,r,n),a=1,i=e-(r-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-(n-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,r,n){var o=Math.abs(n-t)>Math.abs(r-e);if(o){var a=e;e=t,t=a,a=r,r=n,n=a}for(var i=Math.abs(r-e),c=Math.abs(n-t),l=-i/2,u=e<r?1:-1,s=t<n?1:-1,d=0,f=r+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===n)break;p+=s,l-=i}}return 2===d?C.a.distance(r+u,n,e,t):NaN},e.prototype.findAlignmentInRegion=function(e,t,r,n){var o=Math.floor(n*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,r-o),u=Math.min(this.image.getHeight()-1,r+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,r){var o,i;if(null!=r&&void 0!==r.get(a.a.PURE_BARCODE)){var u=e.extractPureBits(t.getBlackMatrix());o=this.decoder.decodeBitMatrix(u,r),i=e.NO_POINTS}else{var s=new q(t.getBlackMatrix()).detect(r);o=this.decoder.decodeBitMatrix(s.getBits(),r),i=s.getPoints()}o.getOther()instanceof j&&o.getOther().applyMirroredCorrection(i);var d=new c.a(o.getText(),o.getRawBytes(),void 0,i,n.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(),r=e.getBottomRightOnBit();if(null===t||null===r)throw new i.a;var n=this.moduleSize(t,e),a=t[1],c=r[1],l=t[0],u=r[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)/n),d=Math.round((c-a+1)/n);if(s<=0||d<=0)throw new i.a;if(d!==s)throw new i.a;var f=Math.floor(n/2);a+=f;var h=(l+=f)+Math.floor((s-1)*n)-u;if(h>0){if(h>f)throw new i.a;l-=h}var p=a+Math.floor((d-1)*n)-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*n),b=0;b<s;b++)e.get(l+Math.floor(b*n),g)&&v.set(b,m);return v},e.moduleSize=function(e,t){for(var r=t.getHeight(),n=t.getWidth(),o=e[0],a=e[1],c=!0,l=0;o<n&&a<r;){if(c!==t.get(o,a)){if(5==++l)break;c=!c}o++,a++}if(o===n||a===r)throw new i.a;return(o-e[0])/7},e.NO_POINTS=new Array,e}(),Z=t.a=$},function(e,t,r){"use strict";var n=r(16),o=r(46),a=r(31),i=r(8),c=r(36),l=r(50),u=r(27),s=r(43),d=r(56),f=r(96),h=r(13),p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(){function e(e,t,r){this.ecCodewords=e,this.ecBlocks=[t],r&&this.ecBlocks.push(r)}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,r,n,o,a){var i,c;this.versionNumber=e,this.symbolSizeRows=t,this.symbolSizeColumns=r,this.dataRegionSizeRows=n,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,r){var n,o;if(0!=(1&t)||0!=(1&r))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===r)return c}}catch(e){n={error:e}}finally{try{i&&!i.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.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=r(15),w,O=function(){function e(t){var r=t.getHeight();if(r<8||r>144||0!=(1&r))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(),r=e.getWidth();return b.getVersionForDimensions(t,r)},e.prototype.readCodewords=function(){var e=new Int8Array(this.version.getTotalCodewords()),t=0,r=4,n=0,o=this.mappingBitMatrix.getHeight(),a=this.mappingBitMatrix.getWidth(),i=!1,c=!1,l=!1,u=!1;do{if(r!==o||0!==n||i)if(r!==o-2||0!==n||0==(3&a)||c)if(r!==o+4||2!==n||0!=(7&a)||l)if(r!==o-2||0!==n||4!=(7&a)||u){do{r<o&&n>=0&&!this.readMappingMatrix.get(n,r)&&(e[t++]=255&this.readUtah(r,n,o,a)),r-=2,n+=2}while(r>=0&&n<a);r+=1,n+=3;do{r>=0&&n<a&&!this.readMappingMatrix.get(n,r)&&(e[t++]=255&this.readUtah(r,n,o,a)),r+=2,n-=2}while(r<o&&n>=0);r+=3,n+=1}else e[t++]=255&this.readCorner4(o,a),r-=2,n+=2,u=!0;else e[t++]=255&this.readCorner3(o,a),r-=2,n+=2,l=!0;else e[t++]=255&this.readCorner2(o,a),r-=2,n+=2,c=!0;else e[t++]=255&this.readCorner1(o,a),r-=2,n+=2,i=!0}while(r<o||n<a);if(t!==this.version.getTotalCodewords())throw new h.a;return e},e.prototype.readModule=function(e,t,r,n){return e<0&&(e+=r,t+=4-(r+4&7)),t<0&&(t+=n,e+=4-(n+4&7)),this.readMappingMatrix.set(t,e),this.mappingBitMatrix.get(t,e)},e.prototype.readUtah=function(e,t,r,n){var o=0;return this.readModule(e-2,t-2,r,n)&&(o|=1),o<<=1,this.readModule(e-2,t-1,r,n)&&(o|=1),o<<=1,this.readModule(e-1,t-2,r,n)&&(o|=1),o<<=1,this.readModule(e-1,t-1,r,n)&&(o|=1),o<<=1,this.readModule(e-1,t,r,n)&&(o|=1),o<<=1,this.readModule(e,t-2,r,n)&&(o|=1),o<<=1,this.readModule(e,t-1,r,n)&&(o|=1),o<<=1,this.readModule(e,t,r,n)&&(o|=1),o},e.prototype.readCorner1=function(e,t){var r=0;return this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,1,e,t)&&(r|=1),r<<=1,this.readModule(e-1,2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r<<=1,this.readModule(2,t-1,e,t)&&(r|=1),r<<=1,this.readModule(3,t-1,e,t)&&(r|=1),r},e.prototype.readCorner2=function(e,t){var r=0;return this.readModule(e-3,0,e,t)&&(r|=1),r<<=1,this.readModule(e-2,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(0,t-4,e,t)&&(r|=1),r<<=1,this.readModule(0,t-3,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r},e.prototype.readCorner3=function(e,t){var r=0;return this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,t-1,e,t)&&(r|=1),r<<=1,this.readModule(0,t-3,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-3,e,t)&&(r|=1),r<<=1,this.readModule(1,t-2,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r},e.prototype.readCorner4=function(e,t){var r=0;return this.readModule(e-3,0,e,t)&&(r|=1),r<<=1,this.readModule(e-2,0,e,t)&&(r|=1),r<<=1,this.readModule(e-1,0,e,t)&&(r|=1),r<<=1,this.readModule(0,t-2,e,t)&&(r|=1),r<<=1,this.readModule(0,t-1,e,t)&&(r|=1),r<<=1,this.readModule(1,t-1,e,t)&&(r|=1),r<<=1,this.readModule(2,t-1,e,t)&&(r|=1),r<<=1,this.readModule(3,t-1,e,t)&&(r|=1),r},e.prototype.extractDataRegion=function(e){var t=this.version.getSymbolSizeRows(),r=this.version.getSymbolSizeColumns();if(e.getHeight()!==t)throw new y.a("Dimension of bitMatrix must match the version size");for(var n=this.version.getDataRegionSizeRows(),a=this.version.getDataRegionSizeColumns(),i=t/n|0,c=r/a|0,l=i*n,u=c*a,s=new o.a(u,l),d=0;d<i;++d)for(var f=d*n,h=0;h<c;++h)for(var p=h*a,v=0;v<n;++v)for(var m=d*(n+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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r){var n,o,a,i,c=r.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){n={error:e}}finally{try{d&&!d.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.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===r.getVersionNumber(),C=E?8:p,S=0;S<C;S++)h[S].codewords[A-1]=t[x++];for(var _=h[0].codewords.length,g=A;g<_;g++)for(var S=0;S<p;S++){var T=E?(S+8)%p:S,D=E&&T>7?g-1:g;h[T].codewords[D]=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=r(280),S=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n=new O(e),o=n.getVersion(),a=n.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&&(r=l.return)&&r.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 r=new Int32Array(e);try{this.rsDecoder.decode(r,e.length-t)}catch(e){throw new s.a}for(var n=0;n<t;n++)e[n]=r[n]},e}(),_=r(141),T=r(119),D=r(120),z=r(17),I,P=function(){function e(e){this.image=e,this.rectangleDetector=new _.a(this.image)}return e.prototype.detect=function(){var t=this.rectangleDetector.detect(),r=this.detectSolid1(t);if((r=this.detectSolid2(r))[3]=this.correctTopRight(r),!r[3])throw new i.a;var n=(r=this.shiftToModuleCenter(r))[0],o=r[1],a=r[2],c=r[3],l=this.transitionsBetween(n,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,n,o,a,c,l,u);return new T.a(s,[n,o,a,c])},e.shiftPoint=function(e,t,r){var n=(t.getX()-e.getX())/(r+1),o=(t.getY()-e.getY())/(r+1);return new z.a(e.getX()+n,e.getY()+o)},e.moveAway=function(e,t,r){var n=e.getX(),o=e.getY();return n<t?n-=1:n+=1,o<r?o-=1:o+=1,new z.a(n,o)},e.prototype.detectSolid1=function(e){var t=e[0],r=e[1],n=e[3],o=e[2],a=this.transitionsBetween(t,r),i=this.transitionsBetween(r,n),c=this.transitionsBetween(n,o),l=this.transitionsBetween(o,t),u=a,s=[o,t,r,n];return u>i&&(u=i,s[0]=t,s[1]=r,s[2]=n,s[3]=o),u>c&&(u=c,s[0]=r,s[1]=n,s[2]=o,s[3]=t),u>l&&(s[0]=n,s[1]=o,s[2]=t,s[3]=r),s},e.prototype.detectSolid2=function(t){var r=t[0],n=t[1],o=t[2],a=t[3],i=this.transitionsBetween(r,a),c=e.shiftPoint(n,o,4*(i+1)),l=e.shiftPoint(o,n,4*(i+1)),u,s;return this.transitionsBetween(c,r)<this.transitionsBetween(l,a)?(t[0]=r,t[1]=n,t[2]=o,t[3]=a):(t[0]=n,t[1]=o,t[2]=a,t[3]=r),t},e.prototype.correctTopRight=function(t){var r=t[0],n=t[1],o=t[2],a=t[3],i=this.transitionsBetween(r,a),c=this.transitionsBetween(n,a),l=e.shiftPoint(r,n,4*(c+1)),u=e.shiftPoint(o,n,4*(i+1));i=this.transitionsBetween(l,a),c=this.transitionsBetween(u,a);var s=new z.a(a.getX()+(o.getX()-n.getX())/(i+1),a.getY()+(o.getY()-n.getY())/(i+1)),d=new z.a(a.getX()+(r.getX()-n.getX())/(c+1),a.getY()+(r.getY()-n.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 r=t[0],n=t[1],o=t[2],a=t[3],i=this.transitionsBetween(r,a)+1,c=this.transitionsBetween(o,a)+1,l=e.shiftPoint(r,n,4*c),u=e.shiftPoint(o,n,4*i);1==(1&(i=this.transitionsBetween(l,a)+1))&&(i+=1),1==(1&(c=this.transitionsBetween(u,a)+1))&&(c+=1);var s=(r.getX()+n.getX()+o.getX()+a.getX())/4,d=(r.getY()+n.getY()+o.getY()+a.getY())/4,f,h;return r=e.moveAway(r,s,d),n=e.moveAway(n,s,d),o=e.moveAway(o,s,d),a=e.moveAway(a,s,d),l=e.shiftPoint(r,n,4*c),l=e.shiftPoint(l,a,4*i),f=e.shiftPoint(n,r,4*c),f=e.shiftPoint(f,o,4*i),u=e.shiftPoint(o,a,4*c),u=e.shiftPoint(u,n,4*i),h=e.shiftPoint(a,o,4*c),[l,f,u,h=e.shiftPoint(h,r,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,r,n,o,a,i){var c;return D.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(),n.getX(),n.getY(),r.getX(),r.getY())},e.prototype.transitionsBetween=function(e,t){var r=Math.trunc(e.getX()),n=Math.trunc(e.getY()),o=Math.trunc(t.getX()),a=Math.trunc(t.getY()),i=Math.abs(a-n)>Math.abs(o-r);if(i){var c=r;r=n,n=c,c=o,o=a,a=c}for(var l=Math.abs(o-r),u=Math.abs(a-n),s=-l/2,d=n<a?1:-1,f=r<o?1:-1,h=0,p=this.image.get(i?n:r,i?r:n),v=r,m=n;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,r){var o,i;if(void 0===r&&(r=null),null!=r&&r.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,n.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(),r=e.getBottomRightOnBit();if(null==t||null==r)throw new i.a;var n=this.moduleSize(t,e),a=t[1],c=r[1],l=t[0],u,s=(r[0]-l+1)/n,d=(c-a+1)/n;if(s<=0||d<=0)throw new i.a;var f=n/2;a+=f,l+=f;for(var h=new o.a(s,d),p=0;p<d;p++)for(var v=a+p*n,m=0;m<s;m++)e.get(l+m*n,v)&&h.set(m,p);return h},e.moduleSize=function(e,t){for(var r=t.getWidth(),n=e[0],o=e[1];n<r&&t.get(n,o);)n++;if(n===r)throw new i.a;var a=n-e[0];if(0===a)throw new i.a;return a},e.NO_POINTS=[],e}(),k=t.a=N},function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"g",(function(){return a})),r.d(t,"e",(function(){return i})),r.d(t,"h",(function(){return c})),r.d(t,"b",(function(){return l})),r.d(t,"d",(function(){return u})),r.d(t,"f",(function(){return p}));var n=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 r,n;return!(!t||"[object Object]"!==toString.call(t))&&(!(r=s(t))||"function"==typeof(n=d.call(r,"constructor")&&r.constructor)&&f.call(n)===h)}},function(e,t,r){"use strict";r.d(t,"e",(function(){return o})),r.d(t,"f",(function(){return a})),r.d(t,"b",(function(){return i})),r.d(t,"d",(function(){return c})),r.d(t,"a",(function(){return l})),r.d(t,"h",(function(){return u})),r.d(t,"c",(function(){return s})),r.d(t,"i",(function(){return d})),r.d(t,"g",(function(){return f}));var n="undefined"!=typeof window&&window.document,o=function e(){var t=navigator.userAgent,r=-1!=t.indexOf("Safari")&&-1!=t.indexOf("Version"),n=-1!=t.indexOf("iPhone")&&-1!=t.indexOf("Version"),o=r&&!n&&"ontouchend"in document;return!(!/iphone|ios|ipad|android|mobile/i.test(navigator.userAgent.toLowerCase())&&!o)},a=function e(){var t=window.navigator.userAgent.toLowerCase(),r="ipad"==t.match(/ipad/i),n="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!!(r||n||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,r=window.navigator.userAgent,n=r.indexOf("Opera")>-1||r.indexOf("OPR")>-1,o=r.indexOf("compatible")>-1&&r.indexOf("MSIE")>-1,a=-1===r.indexOf("compatible")&&r.indexOf("Trident")>-1,i=r.indexOf("Edge")>-1,c=r.indexOf("Firefox")>-1,l=r.indexOf("Safari")>-1&&-1===r.indexOf("Chrome"),u=r.indexOf("Chrome")>-1&&r.indexOf("; Win")>-1&&r.indexOf("Safari")>-1;return t=n||o||a||i||c||l||u?0:1},u=function e(){if(n){var t="";return n&&(t=window.navigator.userAgent.toLowerCase()),"micromessenger"==t.match(/MicroMessenger/i)}return!1},s=function e(){var t,r;return!!n&&!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},d=function e(){var t,r;return!!n&&-1!==navigator.userAgent.indexOf("miniProgram")},f=function e(){if(n){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,r){"use strict";var n=r(42),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ReedSolomonException",t}(n.a);t.a=i},function(e,t,r){"use strict";var n=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 r=t;return this.value===r.value&&this.checksumPortion===r.checksumPortion},e.prototype.hashCode=function(){return this.value^this.checksumPortion},e}();t.a=n},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(126);function o(e,t){if("object"!==Object(n.a)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==Object(n.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(n.a)(t)?t:String(t)}function i(e,t,r){return(t=a(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";var n=r(15),o=function(){function e(){}return e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new n.a;return this.logTable[e]},e.addOrSubtract=function(e,t){return e^t},e}();t.a=o},function(e,t){var r,n=Function.prototype.toString;function o(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}e.exports=o},function(e,t,r){var n=r(205),o=r(212),a=r(214),i=r(215),c=r(216);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=c,e.exports=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exportImportOptions=t.suffixOptions=t.defaultOptions=void 0;var n=r(38);t.defaultOptions={exportType:"current-page",footerHintTypes:["export_file","import_log"],okShowButtonTypes:["export","import"],exportValue:"export",importValue:"import"},t.suffixOptions={1:"".concat((0,n.getText)("page.customer.list.table.num")),2:"".concat((0,n.getText)("page.customer.suffix")),product:"".concat((0,n.getText)("page.product.suffix")),4:"".concat((0,n.getText)("page.voucher.suffix")),5:"".concat((0,n.getText)("page.recharge.suffix")),6:"".concat((0,n.getText)("page.ticket.suffix")),7:"".concat((0,n.getText)("page.package.ticket.suffix"))},t.exportImportOptions={import:(0,n.getText)("table-action-export-import-button-import"),export:(0,n.getText)("table-action-export-import-button"),export_file:(0,n.getText)("table-action-export-import-export-title"),import_log:(0,n.getText)("table-action-export-import-import-title")}},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},a=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n=0,o=t.length,a;n<o;n++)!a&&n in t||(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);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(r(64)),l=r(25),u=i(r(269)),s=i(r(270)),d=r(258),f=r(58),h="table-setting",p=function e(t){var r=JSON.stringify(t),n;return(0,u.default)(r).toString(s.default.Hex)};t.getHash=p;var v=function e(t){return t.reduce((function(e,t){var r;return n(n({},e),((r={})[t.dataIndex]=t,r))}),{})},m={text:function e(t,r,n){var o;return null===(o=r[n])||void 0===o?void 0:o.toString().toLowerCase().includes(t.toLowerCase())},number:function e(t,r,n){return r[n]>=t.min&&r[n]<=t.max},filters:function e(t,r,n){var o;return t.map((function(e){return e.toLowerCase()})).includes(null===(o=r[n])||void 0===o?void 0:o.toString().toLowerCase())}},g=function e(t){return function(e,r){return"date"===t.field_type?(0,c.default)(e[t.dataIndex]).valueOf()-(0,c.default)(r[t.dataIndex]).valueOf():e[t.dataIndex]-r[t.dataIndex]}},b=function e(t){var r=t.dataSource,n=t.filter,o=t.sort,a=t.columns,i=v(a),c=r.filter((function(e){return Object.keys(n||{}).every((function(t){var r,o;if(!(null===(r=n[t])||void 0===r?void 0:r.length))return!0;var a=i[t];return(null===(o=a.filters)||void 0===o?void 0:o.length)>0?m.filters(n[t][0],e,a.dataIndex):"text"===a.field_type?m[a.field_type](n[t][0],e,a.dataIndex):"number"!==a.field_type||m[a.field_type](n[t][0],e,a.dataIndex)}))}));return(null==o?void 0:o.order)&&c.sort((function(e,t){var r=o.order;return"descend"===r?g(o.column)(t,e):"ascend"===r?g(o.column)(e,t):void 0})),c};t.calcFilterSort=b;var y=function e(r,n){if(!r)return{};var o=((0,t.getTableSettingByCurrentViewMode)(r,n)||{}).column_setting,a=o,i;return o?o.reduce((function(e,t){return e[t.key]=t,e}),{}):{}},w=function e(t){var r=t.columns,o=t.tableId,a=t.currentViewMode;if(!o)return r.map((function(e){return n(n({},e),{isShow:!0})}));var i=y(o,a),c=r.map((function(e,t){var r,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,n(n({},e),{width:null!==(r=a.width)&&void 0!==r?r:e.width,isShow:null===(o=a.isShow)||void 0===o||o,sortIndex:c})):n(n({},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,r){var n=r.sortKey,o=r.sortValue,i=r.sortType,c=a([],t,!0),l=function e(t,r){return function(e,n){var a=(0,f.getValueByKeys)(e,t.split(",")),i=(0,f.getValueByKeys)(n,t.split(","));return"string"===r?"asc"===o?null==a?void 0:a.localeCompare(i):null==i?void 0:i.localeCompare(a):"date"===r?"asc"!==o?new Date(i).getTime()-new Date(a).getTime():new Date(a).getTime()-new Date(i).getTime():"number"===r?"asc"===o?(Number(a)||0)-(Number(i)||0):(Number(i)||0)-(Number(a)||0):void 0}};return c.sort(l(n,i)),c};t.sortDataSource=O;var M=function e(t,r){return(0,l.isString)(r)?t[r]:(0,l.isFunction)(r)?t[r(t)]:t[r||"id"]};t.getIdByRowKey=M;var A=function e(r,o,i){var c=o[0].field;if(!c)return r;var l=c.split(","),u=a([],r,!0);return u=Object.values(u.reduce((function(e,r,o){var a=(0,f.getValueByKeys)(r,l);return e[a]?e[a].children.push(r):e[a]={__table_group_field:c,__is_group:!0,children:[r]},e[a].__rowKey="group-".concat(e[a].children.map((function(e){return(0,t.getIdByRowKey)(e,i)})).join("-")),e[a].id=e[a].__rowKey,n({},e)}),{}))};t.groupDataSource=A;var j=function e(t){var r,a=t.tableId,i=t.tableSettingObj,c=t.currentViewMode,u=t.currentSettingHash;if(a){var s=localStorage.getItem(T(a)),d={};if(s&&(0,l.isJson)(s)){var f=JSON.parse(s)||{};d=n({},f)}var h=i.view_mode,p=o(i,["view_mode"]);d=n(n({},d),((r={view_mode:h||d.view_mode,currentSettingHash:u})[c]=n(n({},d[c]||{}),p),r)),localStorage.setItem(T(a),JSON.stringify(d))}};t.setTableSettingToLocalStorage=j;var x=function e(t){t&&localStorage.removeItem(T(t))};t.clearTableSettingToLocalStorage=x;var S=function e(t){if(!t)return{};var r=localStorage.getItem(T(t));return r&&(0,l.isJson)(r)?JSON.parse(r):{}};t.getTableSettingFromLocalStorage=S;var E=function e(r){var n;return(0,t.getTableSettingFromLocalStorage)(r).view_mode};t.getCurrentViewModeFromLocalStorage=E;var C=function e(r,n){var o;return(0,t.getTableSettingFromLocalStorage)(r)[n]};t.getTableSettingByCurrentViewMode=C;var _=function e(r){var n=r.tableId,o=r.allValues,a=r.keys,i=r.currentViewMode,c=r.currentSettingHash;if(n){var l={};null==a||a.forEach((function(e){l[e]=null==o?void 0:o[e]})),(0,t.setTableSettingToLocalStorage)({tableId:n,tableSettingObj:l,currentViewMode:i,currentSettingHash:c})}};t.setFormValuesToLocalStorage=_;var T=function e(t){return"".concat(h,"-").concat(t)},D=function e(r){var o,a,i=r.list,c=r.quickFilterMaxLength,u=r.tableId,s=r.sortButtonShow,d=r.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,n(n({},e),{sortIndex:t})]}))),y=new Map(v.map((function(e,t){return[e.key,n(n({},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=D;var z=function e(t,r,n){var o=n.map((function(e){if(!r[e.name])return null;var t=d.fieldMaps[e.type].filterFn;return(0,l.isFunction)(t)?function(n){try{return t({value:r[e.name],item:n,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 r=t.filter,n=t.columnSetting,o=t.dataSourceGroup,a=t.sort,i=t.mode,c=t.currentViewMode,l=[];return(null==r?void 0:r.show)&&((null==r?void 0:r.storageMode)||"")==i&&l.push("filter_setting"),((null==n?void 0:n.storageMode)||"")==i&&"gallery"===c&&l.push("gallery_setting","column_setting"),((null==n?void 0:n.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,r){for(var n=Object.assign({},t),o=0;o<r.length;o+=1){var a;delete n[r[o]]}return n};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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=r(226),a=function e(){var t;return(0,n.useContext)(o.PisellContext)};t.default=a},,,,,,,,function(e,t,r){"use strict";var n=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=r(11);Object.defineProperty(t,"Affix",{enumerable:!0,get:function e(){return o.Affix}});var a=r(11);Object.defineProperty(t,"Anchor",{enumerable:!0,get:function e(){return a.Anchor}});var i=r(11);Object.defineProperty(t,"Alert",{enumerable:!0,get:function e(){return i.Alert}});var c=r(11);Object.defineProperty(t,"Avatar",{enumerable:!0,get:function e(){return c.Avatar}});var l=r(11);Object.defineProperty(t,"Badge",{enumerable:!0,get:function e(){return l.Badge}});var u=r(11);Object.defineProperty(t,"Breadcrumb",{enumerable:!0,get:function e(){return u.Breadcrumb}});var s=r(11);Object.defineProperty(t,"Card",{enumerable:!0,get:function e(){return s.Card}});var d=r(11);Object.defineProperty(t,"Collapse",{enumerable:!0,get:function e(){return d.Collapse}});var f=r(11);Object.defineProperty(t,"Carousel",{enumerable:!0,get:function e(){return f.Carousel}});var h=r(11);Object.defineProperty(t,"Col",{enumerable:!0,get:function e(){return h.Col}});var p=r(11);Object.defineProperty(t,"Descriptions",{enumerable:!0,get:function e(){return p.Descriptions}});var v=r(11);Object.defineProperty(t,"Divider",{enumerable:!0,get:function e(){return v.Divider}});var m=r(11);Object.defineProperty(t,"Empty",{enumerable:!0,get:function e(){return m.Empty}});var g=r(11);Object.defineProperty(t,"Grid",{enumerable:!0,get:function e(){return g.Grid}});var b=r(11);Object.defineProperty(t,"Image",{enumerable:!0,get:function e(){return b.Image}});var y=r(11);Object.defineProperty(t,"InputNumber",{enumerable:!0,get:function e(){return y.InputNumber}});var w=r(11);Object.defineProperty(t,"message",{enumerable:!0,get:function e(){return w.message}});var O=r(11);Object.defineProperty(t,"Menu",{enumerable:!0,get:function e(){return O.Menu}});var M=r(11);Object.defineProperty(t,"Mentions",{enumerable:!0,get:function e(){return M.Mentions}});var A=r(11);Object.defineProperty(t,"Statistic",{enumerable:!0,get:function e(){return A.Statistic}});var j=r(11);Object.defineProperty(t,"notification",{enumerable:!0,get:function e(){return j.notification}});var x=r(11);Object.defineProperty(t,"Pagination",{enumerable:!0,get:function e(){return x.Pagination}});var S=r(11);Object.defineProperty(t,"Popconfirm",{enumerable:!0,get:function e(){return S.Popconfirm}});var E=r(11);Object.defineProperty(t,"Popover",{enumerable:!0,get:function e(){return E.Popover}});var C=r(11);Object.defineProperty(t,"Progress",{enumerable:!0,get:function e(){return C.Progress}});var _=r(11);Object.defineProperty(t,"Rate",{enumerable:!0,get:function e(){return _.Rate}});var T=r(11);Object.defineProperty(t,"Result",{enumerable:!0,get:function e(){return T.Result}});var D=r(11);Object.defineProperty(t,"Row",{enumerable:!0,get:function e(){return D.Row}});var z=r(11);Object.defineProperty(t,"Space",{enumerable:!0,get:function e(){return z.Space}});var I=r(11);Object.defineProperty(t,"Spin",{enumerable:!0,get:function e(){return I.Spin}});var P=r(11);Object.defineProperty(t,"Steps",{enumerable:!0,get:function e(){return P.Steps}});var N=r(11);Object.defineProperty(t,"Switch",{enumerable:!0,get:function e(){return N.Switch}});var k=r(11);Object.defineProperty(t,"Transfer",{enumerable:!0,get:function e(){return k.Transfer}});var R=r(11);Object.defineProperty(t,"Tree",{enumerable:!0,get:function e(){return R.Tree}});var L=r(11);Object.defineProperty(t,"Tag",{enumerable:!0,get:function e(){return L.Tag}});var V=r(11);Object.defineProperty(t,"Timeline",{enumerable:!0,get:function e(){return V.Timeline}});var B=r(11);Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function e(){return B.Tooltip}});var H=r(11);Object.defineProperty(t,"version",{enumerable:!0,get:function e(){return H.version}});var F=r(672);Object.defineProperty(t,"Typography",{enumerable:!0,get:function e(){return n(F).default}});var W=r(677);Object.defineProperty(t,"Skeleton",{enumerable:!0,get:function e(){return n(W).default}});var U=r(678);Object.defineProperty(t,"Checkbox",{enumerable:!0,get:function e(){return n(U).default}});var Y=r(312);Object.defineProperty(t,"Button",{enumerable:!0,get:function e(){return n(Y).default}});var Q=r(679);Object.defineProperty(t,"Radio",{enumerable:!0,get:function e(){return n(Q).default}});var G=r(680);Object.defineProperty(t,"Upload",{enumerable:!0,get:function e(){return n(G).default}});var X=r(394);Object.defineProperty(t,"Icon",{enumerable:!0,get:function e(){return n(X).default}});var q=r(681);Object.defineProperty(t,"Form",{enumerable:!0,get:function e(){return n(q).default}});var $=r(682);Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function e(){return n($).default}});var Z=r(683);Object.defineProperty(t,"Calendar",{enumerable:!0,get:function e(){return n(Z).default}});var K=r(395);Object.defineProperty(t,"ConfigProvider",{enumerable:!0,get:function e(){return n(K).default}});var J=r(256);Object.defineProperty(t,"DatePicker",{enumerable:!0,get:function e(){return n(J).default}});var ee=r(697);Object.defineProperty(t,"Tabs",{enumerable:!0,get:function e(){return n(ee).default}});var te=r(700);Object.defineProperty(t,"TimePicker",{enumerable:!0,get:function e(){return n(te).default}});var re=r(701);Object.defineProperty(t,"Slider",{enumerable:!0,get:function e(){return n(re).default}});var ne=r(404);Object.defineProperty(t,"Table",{enumerable:!0,get:function e(){return n(ne).default}});var oe=r(322);Object.defineProperty(t,"Modal",{enumerable:!0,get:function e(){return n(oe).default}});var ae=r(425);Object.defineProperty(t,"Drawer",{enumerable:!0,get:function e(){return n(ae).default}});var ie=r(896);Object.defineProperty(t,"TreeSelect",{enumerable:!0,get:function e(){return n(ie).default}});var ce=r(103);Object.defineProperty(t,"Input",{enumerable:!0,get:function e(){return n(ce).default}});var le=r(409);Object.defineProperty(t,"Select",{enumerable:!0,get:function e(){return n(le).default}});var ue=r(897);Object.defineProperty(t,"Cascader",{enumerable:!0,get:function e(){return n(ue).default}});var se=r(898);Object.defineProperty(t,"AutoComplete",{enumerable:!0,get:function e(){return n(se).default}});var de=r(899);Object.defineProperty(t,"Div",{enumerable:!0,get:function e(){return n(de).default}});var fe=r(900);Object.defineProperty(t,"Page",{enumerable:!0,get:function e(){return n(fe).default}});var he=r(911);Object.defineProperty(t,"Component",{enumerable:!0,get:function e(){return n(he).default}});var pe=r(406);Object.defineProperty(t,"Filter",{enumerable:!0,get:function e(){return n(pe).default}});var ve=r(912);Object.defineProperty(t,"Translation",{enumerable:!0,get:function e(){return n(ve).default}});var me=r(915);Object.defineProperty(t,"SortableList",{enumerable:!0,get:function e(){return n(me).default}});var ge=r(916);Object.defineProperty(t,"RecordView",{enumerable:!0,get:function e(){return n(ge).default}});var be=r(432);Object.defineProperty(t,"QRCode",{enumerable:!0,get:function e(){return n(be).default}});var ye=r(424);Object.defineProperty(t,"ClassicLayout",{enumerable:!0,get:function e(){return n(ye).default}});var we=r(918);Object.defineProperty(t,"List",{enumerable:!0,get:function e(){return n(we).default}});var Oe=r(410);Object.defineProperty(t,"Sort",{enumerable:!0,get:function e(){return n(Oe).default}});var Me=r(408);Object.defineProperty(t,"InputNumberRange",{enumerable:!0,get:function e(){return n(Me).default}});var Ae=r(920);Object.defineProperty(t,"LowCodePage",{enumerable:!0,get:function e(){return n(Ae).default}});var je=r(921);Object.defineProperty(t,"Segmented",{enumerable:!0,get:function e(){return n(je).default}});var xe=r(433);Object.defineProperty(t,"VirtualKeyboard",{enumerable:!0,get:function e(){return n(xe).default}});var Se=r(434);Object.defineProperty(t,"VirtualKeyboardTime",{enumerable:!0,get:function e(){return n(Se).default}});var Ee=r(929);Object.defineProperty(t,"SelectTime",{enumerable:!0,get:function e(){return n(Ee).default}});var Ce=r(934);Object.defineProperty(t,"AutoCompleteNumber",{enumerable:!0,get:function e(){return n(Ce).default}});var _e=r(935);Object.defineProperty(t,"BatchEditor",{enumerable:!0,get:function e(){return n(_e).default}});var Te=r(941);Object.defineProperty(t,"DragSortTree",{enumerable:!0,get:function e(){return n(Te).default}});var De=r(326);Object.defineProperty(t,"PisellModal",{enumerable:!0,get:function e(){return n(De).default}});var ze=r(436);Object.defineProperty(t,"PisellRow",{enumerable:!0,get:function e(){return n(ze).default}});var Ie=r(430);Object.defineProperty(t,"PisellConfigProvider",{enumerable:!0,get:function e(){return n(Ie).default}});var Pe=r(958);Object.defineProperty(t,"PisellCountdown",{enumerable:!0,get:function e(){return n(Pe).default}});var Ne=r(437);Object.defineProperty(t,"PisellInput",{enumerable:!0,get:function e(){return n(Ne).default}});var ke=r(438);Object.defineProperty(t,"getBankCardTypeImg",{enumerable:!0,get:function e(){return ke.getBankCardTypeImg}});var Re=r(439);Object.defineProperty(t,"PisellCheckboxGroup",{enumerable:!0,get:function e(){return n(Re).default}});var Le=r(974);Object.defineProperty(t,"PisellDatePicker",{enumerable:!0,get:function e(){return n(Le).default}});var Ve=r(977);Object.defineProperty(t,"PisellTooltip",{enumerable:!0,get:function e(){return n(Ve).default}});var Be=r(440);Object.defineProperty(t,"PisellEmpty",{enumerable:!0,get:function e(){return n(Be).default}});var He=r(115);Object.defineProperty(t,"Iconfont",{enumerable:!0,get:function e(){return n(He).default}});var Fe=r(980);Object.defineProperty(t,"PisellContainer",{enumerable:!0,get:function e(){return n(Fe).default}});var We=r(983);Object.defineProperty(t,"PisellText",{enumerable:!0,get:function e(){return n(We).default}});var Ue=r(997);Object.defineProperty(t,"PisellLoading",{enumerable:!0,get:function e(){return n(Ue).default}});var Ye=r(1e3);Object.defineProperty(t,"PisellCardList",{enumerable:!0,get:function e(){return n(Ye).default}});var Qe=r(1002);Object.defineProperty(t,"PisellToast",{enumerable:!0,get:function e(){return n(Qe).default}});var Ge=r(443);Object.defineProperty(t,"PisellWalletPassCard",{enumerable:!0,get:function e(){return n(Ge).default}});var Xe=r(444);Object.defineProperty(t,"PisellScan",{enumerable:!0,get:function e(){return n(Xe).default}});var qe=r(1006);Object.defineProperty(t,"PisellAlert",{enumerable:!0,get:function e(){return n(qe).default}});var $e=r(459);Object.defineProperty(t,"PisellCard",{enumerable:!0,get:function e(){return n($e).default}});var Ze=r(1009);Object.defineProperty(t,"PisellInformationEntry",{enumerable:!0,get:function e(){return n(Ze).default}});var Ke=r(158);Object.defineProperty(t,"usePisellConfig",{enumerable:!0,get:function e(){return n(Ke).default}});var Je=r(226);Object.defineProperty(t,"globalConfig",{enumerable:!0,get:function e(){return Je.globalConfig}}),Object.defineProperty(t,"PisellContext",{enumerable:!0,get:function e(){return n(Je).default}})},function(e,t,r){"use strict";var n=r(118),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return n.isMemo(e)?c:l[e.$$typeof]||o}l[n.ForwardRef]=i,l[n.Memo]=c;var s=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,v=Object.prototype;function m(e,t,r){if("string"!=typeof t){if(v){var n=p(t);n&&n!==v&&m(e,n,r)}var o=d(t);f&&(o=o.concat(f(t)));for(var i=u(e),c=u(t),l=0;l<o.length;++l){var g=o[l];if(!(a[g]||r&&r[g]||c&&c[g]||i&&i[g])){var b=h(t,g);try{s(e,g,b)}catch(e){}}}}return e}e.exports=m},function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var n=r(17),o=r(277),a=r(28),i=r(141),c=r(56),l=r(96),u=r(8),s=r(120),d=r(21),f=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.toResultPoint=function(){return new n.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(),r=this.getBullsEyeCorners(t);if(e){var n=r[0];r[0]=r[2],r[2]=n}this.extractParameters(r);var a=this.sampleGrid(this.image,r[this.shift%4],r[(this.shift+1)%4],r[(this.shift+2)%4],r[(this.shift+3)%4]),i=this.getMatrixCornerPoints(r);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,r=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(r,t);for(var n=0,o=0;o<4;o++){var a=r[(this.shift+o)%4];this.compact?(n<<=7,n+=a>>1&127):(n<<=10,n+=(a>>2&992)+(a>>1&31))}var i=this.getCorrectedParameterData(n,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 r=0;e.forEach((function(e,n,o){var a;r=(r<<3)+((e>>t-2<<1)+(1&e))})),r=((1&r)<<11)+(r>>1);for(var n=0;n<4;n++)if(d.a.bitCount(r^this.EXPECTED_CORNER_BITS[n])<=2)return n;throw new u.a},e.prototype.getCorrectedParameterData=function(e,t){var r,n;t?(r=7,n=2):(r=10,n=4);for(var o=r-n,a=new Int32Array(r),i=r-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<n;i++)d=(d<<4)+a[i];return d},e.prototype.getBullsEyeCorners=function(e){var t=e,r=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(r,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,r=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 n.a(t.getX()+.5,t.getY()-.5),p=new n.a(r.getX()+.5,r.getY()+.5),v=new n.a(o.getX()-.5,o.getY()+.5),m=new n.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,r,n;try{var o;e=(o=new i.a(this.image).detect())[0],t=o[1],r=o[2],n=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(),r=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()}var u=a.a.round((e.getX()+n.getX()+t.getX()+r.getX())/4),s=a.a.round((e.getY()+n.getY()+t.getY()+r.getY())/4);try{var o;e=(o=new i.a(this.image,15,u,s).detect())[0],t=o[1],r=o[2],n=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(),r=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()}return u=a.a.round((e.getX()+n.getX()+t.getX()+r.getX())/4),s=a.a.round((e.getY()+n.getY()+t.getY()+r.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,r,n,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(),r.getX(),r.getY(),n.getX(),n.getY(),o.getX(),o.getY())},e.prototype.sampleLine=function(e,t,r){for(var n=0,o=this.distanceResultPoint(e,t),i=o/r,c=e.getX(),l=e.getY(),u=i*(t.getX()-e.getX())/o,s=i*(t.getY()-e.getY())/o,d=0;d<r;d++)this.image.get(a.a.round(c+d*u),a.a.round(l+d*s))&&(n|=1<<r-d-1);return n},e.prototype.isWhiteOrBlackRectangle=function(e,t,r,n){var o=3;e=new f(e.getX()-3,e.getY()+3),t=new f(t.getX()-3,t.getY()-3),r=new f(r.getX()+3,r.getY()-3),n=new f(n.getX()+3,n.getY()+3);var a=this.getColor(n,e);if(0===a)return!1;var i=this.getColor(e,t);return i===a&&((i=this.getColor(t,r))===a&&(i=this.getColor(r,n))===a)},e.prototype.getColor=function(e,t){for(var r=this.distancePoint(e,t),n=(t.getX()-e.getX())/r,o=(t.getY()-e.getY())/r,i=0,c=e.getX(),l=e.getY(),u=this.image.get(e.getX(),e.getY()),s=Math.ceil(r),d=0;d<s;d++)c+=n,l+=o,this.image.get(a.a.round(c),a.a.round(l))!==u&&i++;var f=i/r;return f>.1&&f<.9?0:f<=.1===u?1:-1},e.prototype.getFirstDifferent=function(e,t,r,n){for(var o=e.getX()+r,a=e.getY()+n;this.isValid(o,a)&&this.image.get(o,a)===t;)o+=r,a+=n;for(o-=r,a-=n;this.isValid(o,a)&&this.image.get(o,a)===t;)o+=r;for(o-=r;this.isValid(o,a)&&this.image.get(o,a)===t;)a+=n;return new f(o,a-=n)},e.prototype.expandSquare=function(e,t,r){var o=r/(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 n.a(c+o*a,l+o*i),s=new n.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 n.a(c+o*a,l+o*i),s,new n.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()),r=a.a.round(e.getY());return this.isValid(t,r)},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,r){"use strict";var n=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o,a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e,t,r,n,o,a,i,c){void 0===i&&(i=0),void 0===c&&(c=0),this.rectangular=e,this.dataCapacity=t,this.errorCodewords=r,this.matrixWidth=n,this.matrixHeight=o,this.dataRegions=a,this.rsBlockData=i,this.rsBlockError=c}return e.lookup=function(e,t,r,n,o){var i,c;void 0===t&&(t=0),void 0===r&&(r=null),void 0===n&&(n=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==r||!(d.getSymbolWidth()<r.getWidth()||d.getSymbolHeight()<r.getHeight()))&&(null==n||!(d.getSymbolWidth()>n.getWidth()||d.getSymbolHeight()>n.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 n(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,r){"use strict";var n=r(42),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ArithmeticException",t}(n.a);t.a=i},function(e,t,r){"use strict";var n=function(){function e(e,t,r,n,o,a,i,c,l){this.a11=e,this.a21=t,this.a31=r,this.a12=n,this.a22=o,this.a32=a,this.a13=i,this.a23=c,this.a33=l}return e.quadrilateralToQuadrilateral=function(t,r,n,o,a,i,c,l,u,s,d,f,h,p,v,m){var g=e.quadrilateralToSquare(t,r,n,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,r=this.a11,n=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]=(r*f+a*h+l)/p,e[d+1]=(n*f+i*h+u)/p}},e.prototype.transformPointsWithValues=function(e,t){for(var r=this.a11,n=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]=(r*h+a*p+l)/v,t[f]=(n*h+i*p+u)/v}},e.squareToQuadrilateral=function(t,r,n,o,a,i,c,l){var u=t-n+a-c,s=r-o+i-l;if(0===u&&0===s)return new e(n-t,a-n,t,o-r,i-o,r,0,0,1);var d=n-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(n-t+m*n,c-t+g*c,t,o-r+m*o,l-r+g*l,r,m,g,1)},e.quadrilateralToSquare=function(t,r,n,o,a,i,c,l){return e.squareToQuadrilateral(t,r,n,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=n},function(e,t,r){"use strict";var n=r(184),o=function(){function e(e){this.information=e,this.generalDecoder=new n.a(e)}return e.prototype.getInformation=function(){return this.information},e.prototype.getGeneralDecoder=function(){return this.generalDecoder},e}();t.a=o},function(e,t,r){"use strict";var n=r(15),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 n.a(""+e);var t=0,r=this.bitOffset,o=this.byteOffset,a=this.bytes;if(r>0){var i=8-r,c=e<i?e:i,l,u=255>>8-c<<(l=i-c);t=(a[o]&u)>>l,e-=c,8===(r+=c)&&(r=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,r+=e}}return this.bitOffset=r,this.byteOffset=o,t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}();t.a=o},function(e,t,r){"use strict";var n=r(97),o=r(21),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e){this.errorCorrectionLevel=n.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,r){var n=e.doDecodeFormatInformation(t,r);return null!==n?n:e.doDecodeFormatInformation(t^e.FORMAT_INFO_MASK_QR,r^e.FORMAT_INFO_MASK_QR)},e.doDecodeFormatInformation=function(t,r){var n,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===r)return new e(s[1]);var f=e.numBitsDiffering(t,d);f<i&&(c=s[1],i=f),t!==r&&(f=e.numBitsDiffering(r,d))<i&&(c=s[1],i=f)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.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 r=t;return this.errorCorrectionLevel===r.errorCorrectionLevel&&this.dataMask===r.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,r){"use strict";var n=r(82),o=r(27),a=r(15),i=function(){function e(e){this.field=e,this.cachedGenerators=[],this.cachedGenerators.push(new n.a(e,Int32Array.from([1])))}return e.prototype.buildGenerator=function(e){var t=this.cachedGenerators;if(e>=t.length)for(var r=t[t.length-1],o=this.field,a=t.length;a<=e;a++){var i=r.multiply(new n.a(o,Int32Array.from([1,o.exp(a-1+o.getGeneratorBase())])));t.push(i),r=i}return t[e]},e.prototype.encode=function(e,t){if(0===t)throw new a.a("No error correction bytes");var r=e.length-t;if(r<=0)throw new a.a("No data bytes provided");var i=this.buildGenerator(t),c=new Int32Array(r);o.a.arraycopy(e,0,c,0,r);for(var l=new n.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[r+f]=0;o.a.arraycopy(s,0,e,r+d,s.length)},e}();t.a=i},function(e,t,r){"use strict";var n=r(39),o=r(20),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r=new Array(t),n=0;n!==t;n++)r[n]=new Uint8Array(e);this.bytes=r}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,r){this.bytes[t][e]=r},e.prototype.setBoolean=function(e,t,r){this.bytes[t][e]=r?1:0},e.prototype.clear=function(e){var t,r;try{for(var o=a(this.bytes),i=o.next();!i.done;i=o.next()){var c=i.value;n.a.fill(c,e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;if(this.width!==r.width)return!1;if(this.height!==r.height)return!1;for(var n=0,o=this.height;n<o;++n)for(var a=this.bytes[n],i=r.bytes[n],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,r=this.height;t<r;++t){for(var n=this.bytes[t],a=0,i=this.width;a<i;++a)switch(n[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,r){"use strict";var n=r(48),o=function(){function e(){}return e.ISO_8859_1=n.a.ISO8859_1,e}();t.a=o},function(e,t,r){"use strict";var n=r(33),o=r(47),a=r(48),i=r(56),c=r(175),l=r(44),u=r(86),s=r(106),d=r(176),f=r(143),h=r(250),p=r(61),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=r(45),b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,i){void 0===i&&(i=null);var c=e.DEFAULT_BYTE_MODE_ENCODING,s=null!==i&&void 0!==i.get(n.a.CHARACTER_SET);s&&(c=i.get(n.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(n.a.QR_VERSION)){var w=Number.parseInt(i.get(n.a.QR_VERSION).toString(),10);y=u.a.getVersionForNumber(w);var O=this.calculateBitsNeeded(p,v,b,y);if(!this.willFit(O,y,r))throw new g.a("Data too big for requested version")}else y=this.recommendVersion(r,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(r),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(r),E.setMode(p),E.setVersion(y);var C=y.getDimensionForVersion(),_=new d.a(C,C),T=this.chooseMaskPattern(S,r,y,_);return E.setMaskPattern(T),h.a.buildMatrix(S,r,y,T,_),E.setMatrix(_),E},e.recommendVersion=function(e,t,r,n){var o=this.calculateBitsNeeded(t,r,n,u.a.getVersionForNumber(1)),a=this.chooseVersion(o,e),i=this.calculateBitsNeeded(t,r,n,a);return this.chooseVersion(i,e)},e.calculateBitsNeeded=function(e,t,r,n){return t.getSize()+e.getCharacterCountBits(n)+r.getSize()},e.getAlphanumericCode=function(t){return t<e.ALPHANUMERIC_TABLE.length?e.ALPHANUMERIC_TABLE[t]:-1},e.chooseMode=function(t,r){if(void 0===r&&(r=null),a.a.SJIS.getName()===r&&this.isOnlyDoubleByteKanji(t))return l.a.KANJI;for(var n=!1,o=!1,i=0,c=t.length;i<c;++i){var u=t.charAt(i);if(e.isDigit(u))n=!0;else{if(-1===this.getAlphanumericCode(u.charCodeAt(0)))return l.a.BYTE;o=!0}}return o?l.a.ALPHANUMERIC:n?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 r=t.length;if(r%2!=0)return!1;for(var n=0;n<r;n+=2){var o=255&t[n];if((o<129||o>159)&&(o<224||o>235))return!1}return!0},e.chooseMaskPattern=function(e,t,r,n){for(var o=Number.MAX_SAFE_INTEGER,a=-1,i=0;i<f.a.NUM_MASK_PATTERNS;i++){h.a.buildMatrix(e,t,r,i,n);var c=this.calculateMaskPenalty(n);c<o&&(o=c,a=i)}return a},e.chooseVersion=function(t,r){for(var n=1;n<=40;n++){var o=u.a.getVersionForNumber(n);if(e.willFit(t,o,r))return o}throw new g.a("Data too big")},e.willFit=function(e,t,r){var n,o,a,i,c;return t.getTotalCodewords()-t.getECBlocksForLevel(r).getTotalECCodewords()>=(e+7)/8},e.terminateBits=function(e,t){var r=8*e;if(t.getSize()>r)throw new g.a("data bits cannot fit in the QR Code"+t.getSize()+" > "+r);for(var n=0;n<4&&t.getSize()<r;++n)t.appendBit(!1);var o=7&t.getSize();if(o>0)for(var n=o;n<8;n++)t.appendBit(!1);for(var a=e-t.getSizeInBytes(),n=0;n<a;++n)t.appendBits(0==(1&n)?236:17,8);if(t.getSize()!==r)throw new g.a("Bits size does not equal capacity")},e.getNumDataBytesAndNumECBytesForBlockID=function(e,t,r,n,o,a){if(n>=r)throw new g.a("Block ID too large");var i=e%r,c=r-i,l=Math.floor(e/r),u=l+1,s=Math.floor(t/r),d=s+1,f=l-s,h=u-d;if(f!==h)throw new g.a("EC bytes mismatch");if(r!==c+i)throw new g.a("RS blocks mismatch");if(e!==(s+f)*c+(d+h)*i)throw new g.a("Total bytes mismatch");n<c?(o[0]=s,a[0]=f):(o[0]=d,a[0]=h)},e.interleaveWithECBytes=function(t,r,n,a){var i,c,l,u;if(t.getSizeInBytes()!==n)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(r,n,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(n!==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(r!==A.getSizeInBytes())throw new g.a("Interleaving error: "+r+" and "+A.getSizeInBytes()+" differ.");return A},e.generateECBytes=function(e,t){for(var r=e.length,n=new Int32Array(r+t),o=0;o<r;o++)n[o]=255&e[o];new c.a(i.a.QR_CODE_FIELD_256).encode(n,t);for(var a=new Uint8Array(t),o=0;o<t;o++)a[o]=n[r+o];return a},e.appendModeInfo=function(e,t){t.appendBits(e.getBits(),4)},e.appendLengthInfo=function(e,t,r,n){var o=r.getCharacterCountBits(t);if(e>=1<<o)throw new g.a(e+" is bigger than "+((1<<o)-1));n.appendBits(e,o)},e.appendBytes=function(t,r,n,o){switch(r){case l.a.NUMERIC:e.appendNumericBytes(t,n);break;case l.a.ALPHANUMERIC:e.appendAlphanumericBytes(t,n);break;case l.a.BYTE:e.append8BitBytes(t,n,o);break;case l.a.KANJI:e.appendKanjiBytes(t,n);break;default:throw new g.a("Invalid mode: "+r)}},e.getDigit=function(e){return e.charCodeAt(0)-48},e.isDigit=function(t){var r=e.getDigit(t);return r>=0&&r<=9},e.appendNumericBytes=function(t,r){for(var n=t.length,o=0;o<n;){var a=e.getDigit(t.charAt(o));if(o+2<n){var i=e.getDigit(t.charAt(o+1)),c=e.getDigit(t.charAt(o+2));r.appendBits(100*a+10*i+c,10),o+=3}else if(o+1<n){var i=e.getDigit(t.charAt(o+1));r.appendBits(10*a+i,7),o+=2}else r.appendBits(a,4),o++}},e.appendAlphanumericBytes=function(t,r){for(var n=t.length,o=0;o<n;){var a=e.getAlphanumericCode(t.charCodeAt(o));if(-1===a)throw new g.a;if(o+1<n){var i=e.getAlphanumericCode(t.charCodeAt(o+1));if(-1===i)throw new g.a;r.appendBits(45*a+i,11),o+=2}else r.appendBits(a,6),o++}},e.append8BitBytes=function(e,t,r){var n;try{n=p.a.encode(e,r)}catch(e){throw new g.a(e)}for(var o=0,a=n.length;o!==a;o++){var i=n[o];t.appendBits(i,8)}},e.appendKanjiBytes=function(e,t){var r;try{r=p.a.encode(e,a.a.SJIS)}catch(e){throw new g.a(e)}for(var n=r.length,o=0;o<n;o+=2){var i,c,l=(255&r[o])<<8&4294967295|255&r[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,r){"use strict";var n=r(42),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="IndexOutOfBoundsException",t}(n.a);t.a=i},function(e,t,r){"use strict";var n=r(47),o=r(15),a=r(24),i=r(46),c=r(292),l=r(175),u=r(56),s=r(294),d=r(21),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){var l=new s.a(t).encode(),u=d.a.truncDivision(l.getSize()*r,100)+11,f=l.getSize()+u,h,p,v,m,g;if(n!==e.DEFAULT_AZTEC_LAYERS){if(h=n<0,(p=Math.abs(n))>(h?e.MAX_NB_BITS_COMPACT:e.MAX_NB_BITS))throw new o.a(a.a.format("Illegal value %s for layers",n));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 _=new i.a(x),y=0,T=0;y<p;y++){for(var D=4*(p-y)+(h?9:12),z=0;z<D;z++)for(var I=2*z,P=0;P<2;P++)w.get(T+I+P)&&_.set(j[2*y+P],j[2*y+z]),w.get(T+2*D+I+P)&&_.set(j[2*y+z],j[A-1-2*y-P]),w.get(T+4*D+I+P)&&_.set(j[A-1-2*y-P],j[A-1-2*y-z]),w.get(T+6*D+I+P)&&_.set(j[A-1-2*y-z],j[2*y+P]);T+=8*D}if(e.drawModeMessage(_,h,x,M),h)e.drawBullsEye(_,d.a.truncDivision(x,2),5);else{e.drawBullsEye(_,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)_.set(d.a.truncDivision(x,2)-z,P),_.set(d.a.truncDivision(x,2)+z,P),_.set(P,d.a.truncDivision(x,2)-z),_.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(_),N},e.drawBullsEye=function(e,t,r){for(var n=0;n<r;n+=2)for(var o=t-n;o<=t+n;o++)e.set(o,t-n),e.set(o,t+n),e.set(t-n,o),e.set(t+n,o);e.set(t-r,t-r),e.set(t-r+1,t-r),e.set(t-r,t-r+1),e.set(t+r,t-r),e.set(t+r,t-r+1),e.set(t+r,t+r-1)},e.generateModeMessage=function(t,r,o){var a=new n.a;return t?(a.appendBits(r-1,2),a.appendBits(o-1,6),a=e.generateCheckWords(a,28,4)):(a.appendBits(r-1,5),a.appendBits(o-1,11),a=e.generateCheckWords(a,40,4)),a},e.drawModeMessage=function(e,t,r,n){var o=d.a.truncDivision(r,2);if(t)for(var a=0;a<7;a++){var i=o-3+a;n.get(a)&&e.set(i,o-5),n.get(a+7)&&e.set(o+5,i),n.get(20-a)&&e.set(i,o+5),n.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);n.get(a)&&e.set(i,o-7),n.get(a+10)&&e.set(o+7,i),n.get(29-a)&&e.set(i,o+7),n.get(39-a)&&e.set(o-7,i)}},e.generateCheckWords=function(t,r,o){var a,i,c=t.getSize()/o,u=new l.a(e.getGF(o)),s=d.a.truncDivision(r,o),h=e.bitsToWords(t,o,s);u.encode(h,s-c);var p=r%o,v=new n.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,r){var n=new Int32Array(r),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;n[o]=i}return n},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 r=new n.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?(r.appendBits(c&a,t),i--):0==(c&a)?(r.appendBits(1|c,t),i--):r.appendBits(c,t)}return r},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,r){"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 n="undefined"!=typeof window&&window.document,o=function e(){var t=navigator.userAgent,r=-1!=t.indexOf("Safari")&&-1!=t.indexOf("Version"),n=-1!=t.indexOf("iPhone")&&-1!=t.indexOf("Version"),o=r&&!n&&"ontouchend"in document;return!(!/iphone|ios|ipad|android|mobile/i.test(navigator.userAgent.toLowerCase())&&!o)};t.isIpad=o;var a=function e(){var r=window.navigator.userAgent.toLowerCase(),n="ipad"==r.match(/ipad/i),o="iphone os"==r.match(/iphone os/i),a="midp"==r.match(/midp/i),i="rv:1.2.3.4"==r.match(/rv:1.2.3.4/i),c="ucweb"==r.match(/ucweb/i),l="android"==r.match(/android/i),u="windows ce"==r.match(/windows ce/i),s="windows mobile"==r.match(/windows mobile/i);return!!(n||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,r=window.navigator.userAgent,n=r.indexOf("Opera")>-1||r.indexOf("OPR")>-1,o=r.indexOf("compatible")>-1&&r.indexOf("MSIE")>-1,a=-1===r.indexOf("compatible")&&r.indexOf("Trident")>-1,i=r.indexOf("Edge")>-1,c=r.indexOf("Firefox")>-1,l=r.indexOf("Safari")>-1&&-1===r.indexOf("Chrome"),u=r.indexOf("Chrome")>-1&&r.indexOf("; Win")>-1&&r.indexOf("Safari")>-1;return t=n||o||a||i||c||l||u?0:1};t.checkEnv=l;var u=function e(){if(n){var t="";return n&&(t=window.navigator.userAgent.toLowerCase()),"micromessenger"==t.match(/MicroMessenger/i)}return!1};t.isWx=u;var s=function e(){var t,r;return!!n&&!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)};t.isIOS=s;var d=function e(){var t,r;return!!n&&-1!==navigator.userAgent.indexOf("miniProgram")};t.isWxApp=d;var f=function e(){if(n){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,r){"use strict";var n=r(13),o=r(62),a=r(20),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 r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d,f,h=function(e){function t(t,r){var n=e.call(this,t)||this;return n.value=r,n}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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),v,m=function(e){function t(t,r,n){var o=e.call(this,t)||this;return n?(o.remaining=!0,o.remainingValue=o.remainingValue):(o.remaining=!1,o.remainingValue=0),o.newString=r,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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),b,y=function(e){function t(t,r,o){var a=e.call(this,t)||this;if(r<0||r>10||o<0||o>10)throw new n.a;return a.firstDigit=r,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=r(8),O=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r,n,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){r={error:e}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.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,r,n){if(n.length<t)throw new w.a;var o=n.substring(0,t);if(n.length<t+r)throw new w.a;var a=n.substring(t,t+r),i=n.substring(t+r),c="("+o+")"+a,l=e.parseFieldsInGeneralPurpose(i);return null==l?c:c+l},e.processVariableAI=function(t,r,n){var o=n.substring(0,t),a;a=n.length<t+r?n.length:t+r;var i=n.substring(t,a),c=n.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 r=t,n=null;;){var o=this.decodeGeneralPurposeField(r,n),a=A.parseFieldsInGeneralPurpose(o.getNewString());if(null!=a&&e.append(a),n=o.isRemaining()?""+o.getRemainingValue():null,r===o.getNewPosition())break;r=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 r=this.extractNumericValueFromBitArray(e,7),n,o;return new y(e+7,(r-8)/11,(r-8)%11)},e.prototype.extractNumericValueFromBitArray=function(t,r){return e.extractNumericValueFromBitArray(this.information,t,r)},e.extractNumericValueFromBitArray=function(e,t,r){for(var n=0,o=0;o<r;++o)e.get(t+o)&&(n|=1<<r-o-1);return n},e.prototype.decodeGeneralPurposeField=function(e,t){this.buffer.setLengthToZero(),null!=t&&this.buffer.append(t),this.current.setPosition(e);var r=this.parseBlocks();return null!=r&&r.isRemaining()?new m(this.current.getPosition(),this.buffer.toString(),r.getRemainingValue()):new m(this.current.getPosition(),this.buffer.toString())},e.prototype.parseBlocks=function(){var e,t;do{var r=this.current.getPosition(),n;if(e=this.current.isAlpha()?(t=this.parseAlphaBlock()).isFinished():this.current.isIsoIec646()?(t=this.parseIsoIec646Block()).isFinished():(t=this.parseNumericBlock()).isFinished(),!(r!==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 r=this.extractNumericValueFromBitArray(e,7);if(r>=64&&r<116)return!0;if(e+8>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,8);return n>=232&&n<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 r=this.extractNumericValueFromBitArray(e,7),o,a;if(r>=64&&r<90)return new h(e+7,""+(r+1));if(r>=90&&r<116)return new h(e+7,""+(r+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 n.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 r=this.extractNumericValueFromBitArray(e,6);return r>=16&&r<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 r=this.extractNumericValueFromBitArray(e,6),n;if(r>=32&&r<58)return new h(e+6,""+(r+33));switch(r){case 58:n="*";break;case 59:n=",";break;case 60:n="-";break;case 61:n=".";break;case 62:n="/";break;default:throw new o.a("Decoding invalid alphanumeric value: "+r)}return new h(e+6,n)},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,r){!function(t,n){e.exports=n(r(18))}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e),n={name:"zh-cn",weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e,t){return"W"===t?e+"\u5468":e+"\u65e5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},meridiem:function(e,t){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1100?"\u4e0a\u5348":r<1300?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"}};return r.default.locale(n,null,!0),n}))},function(e,t,r){var n=r(99),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,c=n?n.toStringTag:void 0;function l(e){var t=a.call(e,c),r=e[c];try{e[c]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[c]=r:delete e[c]),o}e.exports=l},function(e,t){var r,n=Object.prototype.toString;function o(e){return n.call(e)}e.exports=o},function(e,t,r){var n=r(73),o=r(196),a=r(197),i=r(198),c=r(199),l=r(200);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=c,u.prototype.set=l,e.exports=u},function(e,t){function r(){this.__data__=[],this.size=0}e.exports=r},function(e,t,r){var n=r(74),o,a=Array.prototype.splice;function i(e){var t=this.__data__,r=n(t,e),o;return!(r<0)&&(r==t.length-1?t.pop():a.call(t,r,1),--this.size,!0)}e.exports=i},function(e,t,r){var n=r(74);function o(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}e.exports=o},function(e,t,r){var n=r(74);function o(e){return n(this.__data__,e)>-1}e.exports=o},function(e,t,r){var n=r(74);function o(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}e.exports=o},function(e,t,r){var n=r(73);function o(){this.__data__=new n,this.size=0}e.exports=o},function(e,t){function r(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}e.exports=r},function(e,t){function r(e){return this.__data__.get(e)}e.exports=r},function(e,t){function r(e){return this.__data__.has(e)}e.exports=r},function(e,t,r){var n=r(73),o=r(100),a=r(155),i=200;function c(e,t){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(e,t),this.size=r.size,this}e.exports=c},function(e,t,r){var n=r(91),o=r(202),a=r(59),i=r(154),c=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,d=u.toString,f=s.hasOwnProperty,h=RegExp("^"+d.call(f).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(e){return!(!a(e)||o(e))&&(n(e)?h:l).test(i(e));var t}e.exports=p},function(e,t,r){var n=r(203),o=(a=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",a;function i(e){return!!o&&o in e}e.exports=i},function(e,t,r){var n,o=r(55)["__core-js_shared__"];e.exports=o},function(e,t){function r(e,t){return null==e?void 0:e[t]}e.exports=r},function(e,t,r){var n=r(206),o=r(73),a=r(100);function i(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}e.exports=i},function(e,t,r){var n=r(207),o=r(208),a=r(209),i=r(210),c=r(211);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=c,e.exports=l},function(e,t,r){var n=r(76);function o(){this.__data__=n?n(null):{},this.size=0}e.exports=o},function(e,t){function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=r},function(e,t,r){var n=r(76),o="__lodash_hash_undefined__",a,i=Object.prototype.hasOwnProperty;function c(e){var t=this.__data__;if(n){var r=t[e];return r===o?void 0:r}return i.call(t,e)?t[e]:void 0}e.exports=c},function(e,t,r){var n=r(76),o,a=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return n?void 0!==t[e]:a.call(t,e)}e.exports=i},function(e,t,r){var n=r(76),o="__lodash_hash_undefined__";function a(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?o:t,this}e.exports=a},function(e,t,r){var n=r(77);function o(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}e.exports=o},function(e,t){function r(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=r},function(e,t,r){var n=r(77);function o(e){return n(this,e).get(e)}e.exports=o},function(e,t,r){var n=r(77);function o(e){return n(this,e).has(e)}e.exports=o},function(e,t,r){var n=r(77);function o(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}e.exports=o},function(e,t,r){var n,o=r(55).Uint8Array;e.exports=o},function(e,t,r){var n=r(219),o=r(130),a=r(101),i=r(112),c=r(131),l=r(113),u,s=Object.prototype.hasOwnProperty;function d(e,t){var r=a(e),u=!r&&o(e),d=!r&&!u&&i(e),f=!r&&!u&&!d&&l(e),h=r||u||d||f,p=h?n(e.length,String):[],v=p.length;for(var m in e)!t&&!s.call(e,m)||h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||c(m,v))||p.push(m);return p}e.exports=d},function(e,t){function r(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}e.exports=r},function(e,t,r){var n=r(70),o=r(65),a="[object Arguments]";function i(e){return o(e)&&n(e)==a}e.exports=i},function(e,t){function r(){return!1}e.exports=r},function(e,t,r){var n=r(70),o=r(114),a=r(65),i="[object Arguments]",c="[object Array]",l="[object Boolean]",u="[object Date]",s="[object Error]",d="[object Function]",f="[object Map]",h="[object Number]",p="[object Object]",v="[object RegExp]",m="[object Set]",g="[object String]",b="[object WeakMap]",y="[object ArrayBuffer]",w="[object DataView]",O,M="[object Float64Array]",A="[object Int8Array]",j="[object Int16Array]",x="[object Int32Array]",S="[object Uint8Array]",E="[object Uint8ClampedArray]",C="[object Uint16Array]",_="[object Uint32Array]",T={};function D(e){return a(e)&&o(e.length)&&!!T[n(e)]}T["[object Float32Array]"]=T[M]=T[A]=T[j]=T[x]=T[S]=T[E]=T[C]=T[_]=!0,T[i]=T[c]=T[y]=T[l]=T[w]=T[u]=T[s]=T[d]=T[f]=T[h]=T[p]=T[v]=T[m]=T[g]=T[b]=!1,e.exports=D},function(e,t){function r(e){return function(t){return e(t)}}e.exports=r},function(e,t,r){(function(e){var n=r(111),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i,c=a&&a.exports===o&&n.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||c&&c.binding&&c.binding("util")}catch(e){}}();e.exports=l}).call(this,r(81)(e))},function(e,t){function r(e,t){return function(r){return e(t(r))}}e.exports=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.globalConfig=t.PisellContext=void 0;var n=r(0),o={platform:"pc"};t.PisellContext=(0,n.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,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function e(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},c=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=i(r(0)),s=l(r(22));r(823);var d="pisell-lowcode-",f=function e(t){var r,o=t.children,a=t.isActive,i=c(t,["children","isActive"]);return u.default.createElement("div",n({},i,{className:(0,s.default)("".concat(d,"action-btn-icon"),(r={},r["".concat(d,"action-btn-icon-active")]=a,r))}),u.Children.map(o,(function(e){var t;return(0,u.isValidElement)(e)?(0,u.cloneElement)(e,{style:n(n({},(null===(t=e.props)||void 0===t?void 0:t.style)||{}),{color:a?"#53389E":"inherit"})}):e})))};t.default=f},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function c(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){e.done?r(e.value):o(e.value).then(i,c)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r={label:0,sent:function e(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},n,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(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=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 r.label++,{value:i[1],done:!1};case 5:r.label++,o=i[1],i=[0];continue;case 7:i=r.ops.pop(),r.trys.pop();continue;default:if(!(a=r.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){r=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){r.label=i[1];break}if(6===i[0]&&r.label<a[1]){r.label=a[1],a=i;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(i);break}a[2]&&r.ops.pop(),r.trys.pop();continue}i=t.call(e,r)}catch(e){i=[6,e],o=0}finally{n=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=r(229),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 n(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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0;var n=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 n},,,,,,,,,,function(e,t,r){!function(t,r){e.exports=r()}(this,(function(){"use strict";var e="week",t="year";return function(r,n,o){var a=n.prototype;a.week=function(r){if(void 0===r&&(r=null),null!==r)return this.add(7*(r-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var a=o(this).startOf(t).add(1,t).date(n),i=o(this).endOf(e);if(a.isBefore(i))return 1}var c=o(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),l=this.diff(c,e,!0);return l<0?o(this).startOf("week").week():Math.ceil(l)},a.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}))},function(e,t,r){!function(t,r){e.exports=r()}(this,(function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d\d/,n=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,a={},i=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),r=60*t[1]+(+t[2]||0);return 0===r?0:"+"===t[0]?-r:r}(e)}],u=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},s=function(e,t){var r,n=a.meridiem;if(n){for(var o=1;o<=24;o+=1)if(e.indexOf(n(o,0,t))>-1){r=o>12;break}}else r=e===(t?"pm":"PM");return r},d={A:[o,function(e){this.afternoon=s(e,!1)}],a:[o,function(e){this.afternoon=s(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[n,c("seconds")],ss:[n,c("seconds")],m:[n,c("minutes")],mm:[n,c("minutes")],H:[n,c("hours")],h:[n,c("hours")],HH:[n,c("hours")],hh:[n,c("hours")],D:[n,c("day")],DD:[r,c("day")],Do:[o,function(e){var t=a.ordinal,r=e.match(/\d+/);if(this.day=r[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],M:[n,c("month")],MM:[r,c("month")],MMM:[o,function(e){var t=u("months"),r=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[o,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(e){this.year=i(e)}],YYYY:[/\d{4}/,c("year")],Z:l,ZZ:l};function f(r){var n,o;n=r,o=a&&a.formats;for(var i=(r=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,n){var a=n&&n.toUpperCase();return r||o[n]||e[n]||o[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}))).match(t),c=i.length,l=0;l<c;l+=1){var u=i[l],s=d[u],f=s&&s[0],h=s&&s[1];i[l]=h?{regex:f,parser:h}:u.replace(/^\[|\]$/g,"")}return function(e){for(var t={},r=0,n=0;r<c;r+=1){var o=i[r];if("string"==typeof o)n+=o.length;else{var a=o.regex,l=o.parser,u=e.slice(n),s=a.exec(u)[0];l.call(t,s),e=e.replace(s,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var r=e.hours;t?r<12&&(e.hours+=12):12===r&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,r){r.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(i=e.parseTwoDigitYear);var n=t.prototype,o=n.parse;n.parse=function(e){var t=e.date,n=e.utc,i=e.args;this.$u=n;var c=i[1];if("string"==typeof c){var l=!0===i[2],u=!0===i[3],s=l||u,d=i[2];u&&(d=i[2]),a=this.$locale(),!l&&d&&(a=r.Ls[d]),this.$d=function(e,t,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var n=f(t)(e),o=n.year,a=n.month,i=n.day,c=n.hours,l=n.minutes,u=n.seconds,s=n.milliseconds,d=n.zone,h=new Date,p=i||(o||a?1:h.getDate()),v=o||h.getFullYear(),m=0;o&&!a||(m=a>0?a-1:h.getMonth());var g=c||0,b=l||0,y=u||0,w=s||0;return d?new Date(Date.UTC(v,m,p,g,b,y,w+60*d.offset*1e3)):r?new Date(Date.UTC(v,m,p,g,b,y,w)):new Date(v,m,p,g,b,y,w)}catch(e){return new Date("")}}(t,c,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),s&&t!=this.format(c)&&(this.$d=new Date("")),a={}}else if(c instanceof Array)for(var h=c.length,p=1;p<=h;p+=1){i[1]=c[p-1];var v=r.apply(this,i);if(v.isValid()){this.$d=v.$d,this.$L=v.$L,this.init();break}p===h&&(this.$d=new Date(""))}else o.call(this,e)}}}))},function(e,t,r){var n=r(59),o=r(702),a=r(703),i="Expected a function",c=Math.max,l=Math.min;function u(e,t,r){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 r=u,n=s;return u=s=void 0,v=t,f=e.apply(n,r)}function w(e){return v=e,h=setTimeout(A,t),m?y(e):f}function O(e){var r,n,o=t-(e-p);return g?l(o,d-(e-v)):o}function M(e){var r=e-p,n;return void 0===p||r>=t||r<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(),r=M(e);if(u=arguments,s=this,p=e,r){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,n(r)&&(m=!!r.leading,d=(g="maxWait"in r)?c(a(r.maxWait)||0,t):d,b="trailing"in r?!!r.trailing:b),E.cancel=x,E.flush=S,E}e.exports=u},function(e,t,r){"use strict";var n=r(95),o=r(56),a=r(96),i=r(62),c=r(13),l=r(24),u=r(21),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 r=t.getBits(),o=this.extractBits(r),a=this.correctBits(o),i=e.convertBoolArrayToByteArray(a),c=e.getEncodedData(a),l=new n.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 r=t.length,n=s.UPPER,o=s.UPPER,a="",i=0;i<r;)if(o===s.BINARY){if(r-i<5)break;var c=e.readCode(t,i,5);if(i+=5,0===c){if(r-i<11)break;c=e.readCode(t,i,11)+31,i+=11}for(var u=0;u<c;u++){if(r-i<8){i=r;break}var d=e.readCode(t,i,8);a+=l.a.castAsNonUtf8Char(d),i+=8}o=n}else{var f=o===s.DIGIT?4:5;if(r-i<f)break;var d=e.readCode(t,i,f);i+=f;var h=e.getCharacter(o,d);h.startsWith("CTRL_")?(n=o,o=e.getTable(h.charAt(5)),"L"===h.charAt(6)&&(n=o)):(a+=h,o=n)}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,r){switch(t){case s.UPPER:return e.UPPER_TABLE[r];case s.LOWER:return e.LOWER_TABLE[r];case s.MIXED:return e.MIXED_TABLE[r];case s.PUNCT:return e.PUNCT_TABLE[r];case s.DIGIT:return e.DIGIT_TABLE[r];default:throw new i.a("Bad table")}},e.prototype.correctBits=function(t){var r,n;this.ddata.getNbLayers()<=2?(n=6,r=o.a.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(n=8,r=o.a.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(n=10,r=o.a.AZTEC_DATA_10):(n=12,r=o.a.AZTEC_DATA_12);var i=this.ddata.getNbDatablocks(),l=t.length/n;if(l<i)throw new c.a;for(var u=t.length%n,s=new Int32Array(l),d=0;d<l;d++,u+=n)s[d]=e.readCode(t,u,n);try{var f;new a.a(r).decode(s,l-i)}catch(e){throw new c.a(e)}for(var h=(1<<n)-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*n-p),g=0,d=0;d<i;d++){var v;if(1===(v=s[d])||v===h-1)m.fill(v>1,g,g+n-1),g+=n-1;else for(var b=n-1;b>=0;--b)m[g++]=0!=(v&1<<b)}return m},e.prototype.extractBits=function(e){var t=this.ddata.isCompact(),r=this.ddata.getNbLayers(),n=(t?11:14)+4*r,o=new Int32Array(n),a=new Array(this.totalBitsInLayer(r,t));if(t)for(var i=0;i<o.length;i++)o[i]=i;else for(var c=n+1+2*u.a.truncDivision(u.a.truncDivision(n,2)-1,15),l=n/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<r;i++){for(var h=4*(r-i)+(t?9:12),p=2*i,v=n-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,r){for(var n=0,o=t;o<t+r;o++)n<<=1,e[o]&&(n|=1);return n},e.readByte=function(t,r){var n=t.length-r;return n>=8?e.readCode(t,r,8):e.readCode(t,r,n)<<8-n},e.convertBoolArrayToByteArray=function(t){for(var r=new Uint8Array((t.length+7)/8),n=0;n<r.length;n++)r[n]=e.readByte(t,8*n);return r},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,r){"use strict";var n=r(8),o=function(){function e(){}return e.checkAndNudgePoints=function(e,t){for(var r=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>r||l<-1||l>o)throw new n.a;a=!1,-1===c?(t[i]=0,a=!0):c===r&&(t[i]=r-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>r||l<-1||l>o)throw new n.a;a=!1,-1===c?(t[i]=0,a=!0):c===r&&(t[i]=r-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,r){"use strict";var n=r(16),o=r(43),a=r(31),i=r(13),c=r(8),l=r(36),u=r(17),s=r(41),d=(f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),f,h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.findStartPattern=function(e){for(var r=e.getSize(),n=e.getNextSet(0),o=0,a=Int32Array.from([0,0,0,0,0,0]),i=n,l=!1,u=6,d=n;d<r;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,r,n){s.a.recordPattern(e,n,r);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(r,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,r,s){var d=s&&!0===s.get(a.a.ASSUME_GS1),f=t.findStartPattern(r),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,_=!1;!g;){var T=b;switch(b=!1,A=j,j=t.decodeCode(r,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+=_===C?String.fromCharCode(" ".charCodeAt(0)+j):String.fromCharCode(" ".charCodeAt(0)+j+128),_=!1;else if(j<96)y+=_===C?String.fromCharCode(j-64):String.fromCharCode(j+64),_=!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&&_?(C=!0,_=!1):C&&_?(C=!1,_=!1):_=!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+=_===C?String.fromCharCode(" ".charCodeAt(0)+j):String.fromCharCode(" ".charCodeAt(0)+j+128),_=!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&&_?(C=!0,_=!1):C&&_?(C=!1,_=!1):_=!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}}T&&(m=m===t.CODE_CODE_A?t.CODE_CODE_B:t.CODE_CODE_A)}var D=O-w;if(O=r.getNextUnset(O),!r.isRange(O,Math.min(r.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+D/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,n.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,r){"use strict";var n=r(16),o=r(43),a=r(13),i=r(8),c=r(41),l=r(36),u=r(17),s=(d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d,f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(e){function t(t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.call(this)||this;return n.usingCheckDigit=t,n.extendedMode=r,n.decodeRowResult="",n.counters=new Int32Array(9),n}return s(t,e),t.prototype.decodeRow=function(e,r,a){var c,s,d,h,p=this.counters;p.fill(0),this.decodeRowResult="";var v=t.findAsteriskPattern(r,p),m=r.getNextSet(v[1]),g=r.getSize(),b,y;do{t.recordPattern(r,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=r.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 _=this.decodeRowResult.length-1,T=0,D=0;D<_;D++)T+=t.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(D));if(this.decodeRowResult.charAt(_)!==t.ALPHABET_STRING.charAt(T%43))throw new o.a;this.decodeRowResult=this.decodeRowResult.substring(0,_)}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)],n.a.CODE_39,(new Date).getTime())},t.findAsteriskPattern=function(e,r){for(var n=e.getSize(),o=e.getNextSet(0),a=0,c=o,l=!1,u=r.length,s=o;s<n;s++)if(e.get(s)!==l)r[a]++;else{if(a===u-1){if(this.toNarrowWidePattern(r)===t.ASTERISK_ENCODING&&e.isRange(Math.max(0,c-Math.floor((s-c)/2)),c,!1))return[c,s];c+=r[0]+r[1],r.copyWithin(0,2,2+a-1),r[a-1]=0,r[a]=0,a--}else a++;r[a]=1,l=!l}throw new i.a},t.toNarrowWidePattern=function(e){var t,r,n=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&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}o=i,a=0;for(var s=0,d=0,h=0;h<n;h++){var u;(u=e[h])>o&&(d|=1<<n-1-h,a++,s+=u)}if(3===a){for(var h=0;h<n&&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 r=0;r<t.CHARACTER_ENCODINGS.length;r++)if(t.CHARACTER_ENCODINGS[r]===e)return t.ALPHABET_STRING.charAt(r);if(e===t.ASTERISK_ENCODING)return"*";throw new i.a},t.decodeExtended=function(e){for(var t=e.length,r="",n=0;n<t;n++){var o=e.charAt(n);if("+"===o||"$"===o||"%"===o||"/"===o){var i=e.charAt(n+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=":"}}r+=c,n++}else r+=o}return r},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,r){"use strict";var n=r(16),o=r(43),a=r(13),i=r(8),c=r(41),l=r(36),u=r(17),s=(d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d,f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,o){var a,c,s,d,h=this.findAsteriskPattern(r),p=r.getNextSet(h[1]),v=r.getSize(),m=this.counters,g,b;m.fill(0),this.decodeRowResult="";do{t.recordPattern(r,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=r.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||!r.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)],n.a.CODE_93,(new Date).getTime())},t.prototype.findAsteriskPattern=function(e){var r=e.getSize(),n=e.getNextSet(0);this.counters.fill(0);for(var o=this.counters,a=n,c=!1,l=o.length,u=0,s=n;s<r;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,r,n=0;try{for(var o=f(e),a=o.next();!a.done;a=o.next()){var i;n+=a.value}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.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]/n);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 r=0;r<t.CHARACTER_ENCODINGS.length;r++)if(t.CHARACTER_ENCODINGS[r]===e)return t.ALPHABET_STRING.charAt(r);throw new i.a},t.prototype.decodeExtended=function(e){for(var t=e.length,r="",n=0;n<t;n++){var o=e.charAt(n);if(o>="a"&&o<="d"){if(n>=t-1)throw new a.a;var i=e.charAt(n+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=":"}}r+=c,n++}else r+=o}return r},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,r,n){for(var a=1,i=0,c=r-1;c>=0;c--)i+=a*t.ALPHABET_STRING.indexOf(e.charAt(c)),++a>n&&(a=1);if(e.charAt(r)!==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,r){"use strict";var n=r(16),o=r(31),a=r(13),i=r(8),c=r(36),l=r(17),u=r(20),s=r(27),d=r(41),f=(h=function(e,t){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h,p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,i){var s,d,f=this.decodeStart(r),h=this.decodeEnd(r),v=new u.a;t.decodeMiddle(r,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,n.a.ITF,(new Date).getTime())},t.decodeMiddle=function(e,r,n,o){var a=new Int32Array(10),i=new Int32Array(5),c=new Int32Array(5);for(a.fill(0),i.fill(0),c.fill(0);r<n;){d.a.recordPattern(e,r,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){r+=e}))}},t.prototype.decodeStart=function(e){var r=t.skipWhiteSpace(e),n=t.findGuardPattern(e,r,t.START_PATTERN);return this.narrowLineWidth=(n[1]-n[0])/4,this.validateQuietZone(e,n[0]),n},t.prototype.validateQuietZone=function(e,t){var r=10*this.narrowLineWidth;r=r<t?r:t;for(var n=t-1;r>0&&n>=0&&!e.get(n);n--)r--;if(0!==r)throw new i.a},t.skipWhiteSpace=function(e){var t=e.getSize(),r=e.getNextSet(0);if(r===t)throw new i.a;return r},t.prototype.decodeEnd=function(e){e.reverse();try{var r=t.skipWhiteSpace(e),n=void 0;try{n=t.findGuardPattern(e,r,t.END_PATTERN_REVERSED[0])}catch(o){o instanceof i.a&&(n=t.findGuardPattern(e,r,t.END_PATTERN_REVERSED[1]))}this.validateQuietZone(e,n[0]);var o=n[0];return n[0]=e.getSize()-n[1],n[1]=e.getSize()-o,n}finally{e.reverse()}},t.findGuardPattern=function(e,r,n){var o=n.length,a=new Int32Array(o),c=e.getSize(),l=!1,u=0,f=r;a.fill(0);for(var h=r;h<c;h++)if(e.get(h)!==l)a[u]++;else{if(u===o-1){if(d.a.patternMatchVariance(a,n,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 r=t.MAX_AVG_VARIANCE,n=-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<r?(r=l,n=a):l===r&&(n=-1)}if(n>=0)return n%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,r){"use strict";var n;!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"}(n||(n={}));var o=function(){function e(e,t){this.value=e,this.isMasked=t}return e.prototype.unmaskBitMatrix=function(e,t){for(var r=0;r<t;r++)for(var n=0;n<t;n++)this.isMasked(r,n)&&e.flip(n,r)},e.values=new Map([[n.DATA_MASK_000,new e(n.DATA_MASK_000,(function(e,t){return 0==(e+t&1)}))],[n.DATA_MASK_001,new e(n.DATA_MASK_001,(function(e,t){return 0==(1&e)}))],[n.DATA_MASK_010,new e(n.DATA_MASK_010,(function(e,t){return t%3==0}))],[n.DATA_MASK_011,new e(n.DATA_MASK_011,(function(e,t){return(e+t)%3==0}))],[n.DATA_MASK_100,new e(n.DATA_MASK_100,(function(e,t){return 0==(Math.floor(e/2)+Math.floor(t/3)&1)}))],[n.DATA_MASK_101,new e(n.DATA_MASK_101,(function(e,t){return e*t%6==0}))],[n.DATA_MASK_110,new e(n.DATA_MASK_110,(function(e,t){return e*t%6<3}))],[n.DATA_MASK_111,new e(n.DATA_MASK_111,(function(e,t){return 0==(e+t+e*t%3&1)}))]]),e}();t.a=o},function(e,t,r){"use strict";var n=r(42),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.kind="ReaderException",t}(n.a);t.a=i},function(e,t,r){"use strict";var n=r(47),o=r(21),a=r(143),i=r(106),c=r(45),l=r(15),u=function(){function e(){}return e.clearMatrix=function(e){e.clear(255)},e.buildMatrix=function(t,r,n,o,a){e.clearMatrix(a),e.embedBasicPatterns(n,a),e.embedTypeInfo(r,o,a),e.maybeEmbedVersionInfo(n,a),e.embedDataBits(t,o,a)},e.embedBasicPatterns=function(t,r){e.embedPositionDetectionPatternsAndSeparators(r),e.embedDarkDotAtLeftBottomCorner(r),e.maybeEmbedPositionAdjustmentPatterns(t,r),e.embedTimingPatterns(r)},e.embedTypeInfo=function(t,r,o){var a=new n.a;e.makeTypeInfoBits(t,r,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,r){if(!(t.getVersionNumber()<7)){var o=new n.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--,r.setBoolean(i,r.getHeight()-11+c,l),r.setBoolean(r.getHeight()-11+c,i,l)}}},e.embedDataBits=function(t,r,n){for(var o=0,a=-1,l=n.getWidth()-1,u=n.getHeight()-1;l>0;){for(6===l&&(l-=1);u>=0&&u<n.getHeight();){for(var s=0;s<2;++s){var d=l-s;if(e.isEmpty(n.get(d,u))){var f=void 0;o<t.getSize()?(f=t.get(o),++o):f=!1,255!==r&&i.a.getDataMaskBit(r,d,u)&&(f=!f),n.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,r){if(0===r)throw new l.a("0 polynomial");var n=e.findMSBSet(r);for(t<<=n-1;e.findMSBSet(t)>=n;)t^=r<<e.findMSBSet(t)-n;return t},e.makeTypeInfoBits=function(t,r,o){if(!a.a.isValidMaskPattern(r))throw new c.a("Invalid mask pattern");var i=t.getBits()<<3|r;o.appendBits(i,5);var l=e.calculateBCHCode(i,e.TYPE_INFO_POLY);o.appendBits(l,10);var u=new n.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,r){r.appendBits(t.getVersionNumber(),6);var n=e.calculateBCHCode(t.getVersionNumber(),e.VERSION_INFO_POLY);if(r.appendBits(n,12),18!==r.getSize())throw new c.a("should not happen but we got: "+r.getSize())},e.isEmpty=function(e){return 255===e},e.embedTimingPatterns=function(t){for(var r=8;r<t.getWidth()-8;++r){var n=(r+1)%2;e.isEmpty(t.get(r,6))&&t.setNumber(r,6,n),e.isEmpty(t.get(6,r))&&t.setNumber(6,r,n)}},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,r,n){for(var o=0;o<8;++o){if(!e.isEmpty(n.get(t+o,r)))throw new c.a;n.setNumber(t+o,r,0)}},e.embedVerticalSeparationPattern=function(t,r,n){for(var o=0;o<7;++o){if(!e.isEmpty(n.get(t,r+o)))throw new c.a;n.setNumber(t,r+o,0)}},e.embedPositionAdjustmentPattern=function(t,r,n){for(var o=0;o<5;++o)for(var a=e.POSITION_ADJUSTMENT_PATTERN[o],i=0;i<5;++i)n.setNumber(t+i,r+o,a[i])},e.embedPositionDetectionPattern=function(t,r,n){for(var o=0;o<7;++o)for(var a=e.POSITION_DETECTION_PATTERN[o],i=0;i<7;++i)n.setNumber(t+i,r+o,a[i])},e.embedPositionDetectionPatternsAndSeparators=function(t){var r=e.POSITION_DETECTION_PATTERN[0].length;e.embedPositionDetectionPattern(0,0,t),e.embedPositionDetectionPattern(t.getWidth()-r,0,t),e.embedPositionDetectionPattern(0,t.getWidth()-r,t);var n=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,r){if(!(t.getVersionNumber()<2))for(var n=t.getVersionNumber()-1,o=e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[n],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(r.get(u,c))&&e.embedPositionAdjustmentPattern(u-2,c-2,r)}}},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,r){"use strict";var n=r(109),o=r(150),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i,c,l=function(e){function t(t,r,n){var o=e.call(this,t,r)||this;return o.count=0,o.finderPattern=n,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=r(36),s=r(31),d=r(8),f=r(20),h=r(16),p=r(17),v=r(302),m=r(28),g=r(127),b=r(27),y=r(41),w=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),O=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r,n){var o,a,i,c,l=this.decodePair(r,!1,e,n);t.addOrTally(this.possibleLeftPairs,l),r.reverse();var u=this.decodePair(r,!0,e,n);t.addOrTally(this.possibleRightPairs,u),r.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 r,n;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){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}o||e.push(t)}},t.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},t.constructResult=function(e,t){for(var r=4537077*e.getValue()+t.getValue(),n=new String(r).toString(),o=new f.a,a=13-n.length;a>0;a--)o.append("0");o.append(n);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 r=(e.getChecksumPortion()+16*t.getChecksumPortion())%79,n=9*e.getFinderPattern().getValue()+t.getFinderPattern().getValue();return n>72&&n--,n>8&&n--,r===n},t.prototype.decodePair=function(e,t,r,n){try{var o=this.findFinderPattern(e,t),a=this.parseFoundFinderPattern(e,r,t,o),i=null==n?null:n.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,r))}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,r,n){for(var a=this.getDataCharacterCounters(),i=0;i<a.length;i++)a[i]=0;if(n)y.a.recordPatternInReverse(e,r.getStartEnd()[0],a);else{y.a.recordPattern(e,r.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=n?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(n,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(n){if(0!=(1&A)||A>12||A<4)throw new d.a;var C=(12-A)/2,_,T=9-(_=t.OUTSIDE_ODD_WIDEST[C]),D=g.a.getRSSvalue(h,_,!1),z=g.a.getRSSvalue(p,T,!0),I=t.OUTSIDE_EVEN_TOTAL_SUBSET[C],P=t.OUTSIDE_GSUM[C];return new o.a(D*I+z+P,E)}if(0!=(1&S)||S>10||S<4)throw new d.a;var C=(10-S)/2,_,T=9-(_=t.INSIDE_ODD_WIDEST[C]),D=g.a.getRSSvalue(h,_,!0),z=g.a.getRSSvalue(p,T,!1),N=t.INSIDE_ODD_TOTAL_SUBSET[C],P=t.INSIDE_GSUM[C];return new o.a(z*N+D+P,E)},t.prototype.findFinderPattern=function(e,t){var r=this.getDecodeFinderCounters();r[0]=0,r[1]=0,r[2]=0,r[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)r[c]++;else{if(3===c){if(n.a.isFinderPattern(r))return[l,u];l+=r[0]+r[1],r[0]=r[2],r[1]=r[3],r[2]=0,r[3]=0,c--}else c++;r[c]=1,a=!a}throw new d.a},t.prototype.parseFoundFinderPattern=function(e,r,n,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 n&&(d=e.getSize()-1-d,f=e.getSize()-1-f),new v.a(s,[i,o[1]],d,f,r)},t.prototype.adjustOddEvenCounts=function(e,t){var r=m.a.sum(new Int32Array(this.getOddCounts())),o=m.a.sum(new Int32Array(this.getEvenCounts())),a=!1,i=!1,c=!1,l=!1;e?(r>12?i=!0:r<4&&(a=!0),o>12?l=!0:o<4&&(c=!0)):(r>11?i=!0:r<5&&(a=!0),o>10?l=!0:o<4&&(c=!0));var u=r+o-t,s=(1&r)==(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;r<o?(a=!0,l=!0):(i=!0,c=!0)}else if(f)throw new d.a}if(a){if(i)throw new d.a;n.a.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(i&&n.a.decrement(this.getOddCounts(),this.getOddRoundingErrors()),c){if(l)throw new d.a;n.a.increment(this.getEvenCounts(),this.getOddRoundingErrors())}l&&n.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}(n.a),A=t.a=M},function(e,t,r){"use strict";var n=function(){function e(){}return e.floatToIntBits=function(e){return e},e.MAX_VALUE=Number.MAX_SAFE_INTEGER,e}();t.a=n},,,,function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(11),a=r(87),i=n(r(64)),c=r(626),l=n(r(402)),u=n(r(403));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,r){"use strict";e.exports=r(689)},function(e,t,r){"use strict";var n=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=n(r(737)),a=n(r(743)),i=n(r(748)),c=n(r(754)),l=n(r(760)),u=n(r(770)),s=n(r(778)),d=n(r(783)),f=n(r(789)),h=n(r(795)),p=n(r(800)),v=n(r(806));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(r){return t.fieldMaps[r]};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,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function e(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),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 r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},c=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},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(r(0)),s=l(r(1106)),d=l(r(1107)),f=r(11),h=l(r(22));r(849);var p=r(38),v=l(r(416)),m=function e(t,r,n){return"prev"===r?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"===r?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"})):n};t.paginationConfig={className:"materials-grid-paginator",defaultCurrent:1,showTotal:function e(t,r){return"Page ".concat(r[0]," of ").concat(r[1])},itemRender:m,responsive:!0,size:"small"};var g=function e(r){var o=(0,u.useMemo)((function(){return Object.keys(r).length}),[r]),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,n({},t.paginationConfig,r))}),[o,t.paginationConfig,r,a])};t.default=g;var b=function e(t){var r=t.current,n=void 0===r?1:r,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(r){var o=n;"prev"===r&&(o=n-1),"next"===r&&(o=n+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(){n<=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")(n,l))),u.default.createElement("div",{className:"pisell-lowcode-pagination-next",onClick:function e(){n>=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 r=t.value,o=void 0===r?{}:r,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,r){a&&a({page:r===v?t:1,size:r})};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,n({},s,{pageSize:v,current:f,onChange:b,onShowSizeChange:b})))};t.FormPagination=y},function(e,t,r){"use strict";function n(e,t){for(var r=0,n=e.length;r<n;r++)if(t.apply(t,[e[r],r,e]))return e[r]}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,r){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(r," - do not set this, set it on the child."))}Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=c,t.findInArray=n,t.int=i,t.isFunction=o,t.isNum=a},function(e,t,r){"use strict";var n=r(39),o=function(){function e(e,t,r){this.codewords=e,this.numcols=t,this.numrows=r,this.bits=new Uint8Array(t*r),n.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,r){this.bits[t*this.numcols+e]=r?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,r=0;do{t===this.numrows&&0===r&&this.corner1(e++),t===this.numrows-2&&0===r&&this.numcols%4!=0&&this.corner2(e++),t===this.numrows-2&&0===r&&this.numcols%8==4&&this.corner3(e++),t===this.numrows+4&&2===r&&this.numcols%8==0&&this.corner4(e++);do{t<this.numrows&&r>=0&&this.noBit(r,t)&&this.utah(t,r,e++),t-=2,r+=2}while(t>=0&&r<this.numcols);t++,r+=3;do{t>=0&&r<this.numcols&&this.noBit(r,t)&&this.utah(t,r,e++),t+=2,r-=2}while(t<this.numrows&&r>=0);t+=3,r++}while(t<this.numrows||r<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,r,n){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(r);o&=1<<8-n,this.setBit(t,e,0!==o)},e.prototype.utah=function(e,t,r){this.module(e-2,t-2,r,1),this.module(e-2,t-1,r,2),this.module(e-1,t-2,r,3),this.module(e-1,t-1,r,4),this.module(e-1,t,r,5),this.module(e,t-2,r,6),this.module(e,t-1,r,7),this.module(e,t,r,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,r){"use strict";var n=r(20),o=r(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 r=new n.a;r.append(e);var o=t.getInterleavedBlockCount();if(1===o){var a=this.createECCBlock(e,t.getErrorCodewords());r.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 n.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)r.setCharAt(t.getDataCapacity()+h,a.charAt(f++))}}return r.toString()},e.createECCBlock=function(e,t){for(var r=-1,n=0;n<o.h.length;n++)if(o.h[n]===t){r=n;break}if(r<0)throw new Error("Illegal number of error correction codewords specified: "+t);for(var a=o.g[r],i=[],n=0;n<t;n++)i[n]=0;for(var n=0;n<e.length;n++){for(var c=i[t-1]^e.charAt(n).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=[],n=0;n<t;n++)u[n]=i[t-n-1];return u.map((function(e){return String.fromCharCode(e)})).join("")},e}();t.a=a},,,,,,,function(e,t,r){var n,o;n=this,o=function(e){return function(t){var r=e,n=r.lib,o=n.WordArray,a=n.Hasher,i=r.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 r=0;r<16;r++){var n=t+r,o=e[n];e[n]=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],_=a[2],T=a[3];E=u(E,C,_,T,i,7,c[0]),T=u(T,E,C,_,l,12,c[1]),_=u(_,T,E,C,h,17,c[2]),C=u(C,_,T,E,p,22,c[3]),E=u(E,C,_,T,v,7,c[4]),T=u(T,E,C,_,m,12,c[5]),_=u(_,T,E,C,g,17,c[6]),C=u(C,_,T,E,b,22,c[7]),E=u(E,C,_,T,y,7,c[8]),T=u(T,E,C,_,w,12,c[9]),_=u(_,T,E,C,O,17,c[10]),C=u(C,_,T,E,M,22,c[11]),E=u(E,C,_,T,A,7,c[12]),T=u(T,E,C,_,j,12,c[13]),_=u(_,T,E,C,x,17,c[14]),E=s(E,C=u(C,_,T,E,S,22,c[15]),_,T,l,5,c[16]),T=s(T,E,C,_,g,9,c[17]),_=s(_,T,E,C,M,14,c[18]),C=s(C,_,T,E,i,20,c[19]),E=s(E,C,_,T,m,5,c[20]),T=s(T,E,C,_,O,9,c[21]),_=s(_,T,E,C,S,14,c[22]),C=s(C,_,T,E,v,20,c[23]),E=s(E,C,_,T,w,5,c[24]),T=s(T,E,C,_,x,9,c[25]),_=s(_,T,E,C,p,14,c[26]),C=s(C,_,T,E,y,20,c[27]),E=s(E,C,_,T,j,5,c[28]),T=s(T,E,C,_,h,9,c[29]),_=s(_,T,E,C,b,14,c[30]),E=d(E,C=s(C,_,T,E,A,20,c[31]),_,T,m,4,c[32]),T=d(T,E,C,_,y,11,c[33]),_=d(_,T,E,C,M,16,c[34]),C=d(C,_,T,E,x,23,c[35]),E=d(E,C,_,T,l,4,c[36]),T=d(T,E,C,_,v,11,c[37]),_=d(_,T,E,C,b,16,c[38]),C=d(C,_,T,E,O,23,c[39]),E=d(E,C,_,T,j,4,c[40]),T=d(T,E,C,_,i,11,c[41]),_=d(_,T,E,C,p,16,c[42]),C=d(C,_,T,E,g,23,c[43]),E=d(E,C,_,T,w,4,c[44]),T=d(T,E,C,_,A,11,c[45]),_=d(_,T,E,C,S,16,c[46]),E=f(E,C=d(C,_,T,E,h,23,c[47]),_,T,i,6,c[48]),T=f(T,E,C,_,b,10,c[49]),_=f(_,T,E,C,x,15,c[50]),C=f(C,_,T,E,m,21,c[51]),E=f(E,C,_,T,A,6,c[52]),T=f(T,E,C,_,p,10,c[53]),_=f(_,T,E,C,O,15,c[54]),C=f(C,_,T,E,l,21,c[55]),E=f(E,C,_,T,y,6,c[56]),T=f(T,E,C,_,S,10,c[57]),_=f(_,T,E,C,g,15,c[58]),C=f(C,_,T,E,j,21,c[59]),E=f(E,C,_,T,v,6,c[60]),T=f(T,E,C,_,M,10,c[61]),_=f(_,T,E,C,h,15,c[62]),C=f(C,_,T,E,w,21,c[63]),a[0]=a[0]+E|0,a[1]=a[1]+C|0,a[2]=a[2]+_|0,a[3]=a[3]+T|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;r[o>>>5]|=128<<24-o%32;var a=t.floor(n/4294967296),i=n;r[15+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r[14+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),e.sigBytes=4*(r.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,r,n,o,a,i){var c=e+(t&r|~t&n)+o+i;return(c<<a|c>>>32-a)+t}function s(e,t,r,n,o,a,i){var c=e+(t&n|r&~n)+o+i;return(c<<a|c>>>32-a)+t}function d(e,t,r,n,o,a,i){var c=e+(t^r^n)+o+i;return(c<<a|c>>>32-a)+t}function f(e,t,r,n,o,a,i){var c=e+(r^(t|~n))+o+i;return(c<<a|c>>>32-a)+t}r.MD5=a._createHelper(l),r.HmacMD5=a._createHmacHelper(l)}(Math),e.MD5},e.exports=t=o(r(393))},function(e,t,r){var n,o;n=this,o=function(e){return e.enc.Hex},e.exports=t=o(r(393))},function(e,t,r){"use strict";var n=r(15),o=function(){function e(e){if(this.binarizer=e,null===e)throw new n.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,r,n,o){var a=this.binarizer.getLuminanceSource().crop(t,r,n,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,r){"use strict";var n=r(273),o=r(46),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i,c=function(e){function t(t){var r=e.call(this,t)||this;return r.matrix=null,r}return a(t,e),t.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var r=this.getLuminanceSource(),n=r.getWidth(),a=r.getHeight();if(n>=t.MINIMUM_DIMENSION&&a>=t.MINIMUM_DIMENSION){var i=r.getMatrix(),c=n>>t.BLOCK_SIZE_POWER;0!=(n&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,n,a),s=new o.a(n,a);t.calculateThresholdForBlock(i,c,l,n,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,r,n,o,a,i,c){for(var l=a-t.BLOCK_SIZE,u=o-t.BLOCK_SIZE,s=0;s<n;s++){var d=s<<t.BLOCK_SIZE_POWER;d>l&&(d=l);for(var f=t.cap(s,2,n-3),h=0;h<r;h++){var p=h<<t.BLOCK_SIZE_POWER;p>u&&(p=u);for(var v=t.cap(h,2,r-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,r){return e<t?t:e>r?r:e},t.thresholdBlock=function(e,r,n,o,a,i){for(var c=0,l=n*a+r;c<t.BLOCK_SIZE;c++,l+=a)for(var u=0;u<t.BLOCK_SIZE;u++)(255&e[l+u])<=o&&i.set(r+u,n+c)},t.calculateBlackPoints=function(e,r,n,o,a){for(var i=a-t.BLOCK_SIZE,c=o-t.BLOCK_SIZE,l=new Array(n),u=0;u<n;u++){l[u]=new Int32Array(r);var s=u<<t.BLOCK_SIZE_POWER;s>i&&(s=i);for(var d=0;d<r;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}(n.a);t.a=c},function(e,t,r){"use strict";var n=r(274),o=r(47),a=r(46),i=r(8),c=(l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l,u=function(e){function t(r){var n=e.call(this,r)||this;return n.luminances=t.EMPTY,n.buckets=new Int32Array(t.LUMINANCE_BUCKETS),n}return c(t,e),t.prototype.getBlackRow=function(e,r){var n=this.getLuminanceSource(),a=n.getWidth();null==r||r.getSize()<a?r=new o.a(a):r.clear(),this.initArrays(a);for(var i=n.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&&r.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&&r.set(l),s=d,d=f}return r},t.prototype.getBlackMatrix=function(){var e=this.getLuminanceSource(),r=e.getWidth(),n=e.getHeight(),o=new a.a(r,n);this.initArrays(r);for(var i=this.buckets,c=1;c<5;c++)for(var l=Math.floor(n*c/5),u=e.getRow(l,this.luminances),s=Math.floor(4*r/5),d=Math.floor(r/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<n;c++)for(var v=c*r,d=0;d<r;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 r=this.buckets,n=0;n<t.LUMINANCE_BUCKETS;n++)r[n]=0},t.estimateBlackPoint=function(e){for(var r=e.length,n=0,o=0,a=0,c=0;c<r;c++)e[c]>a&&(o=c,a=e[c]),e[c]>n&&(n=e[c]);for(var l=0,u=0,c=0;c<r;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<=r/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)*(n-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}(n.a);t.a=u},function(e,t,r){"use strict";var n=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=n},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(105),o=r(94),a=r(15),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c,l=function(e){function t(r){var n=e.call(this,r.width,r.height)||this;return n.canvas=r,n.tempCanvasElement=null,n.buffer=t.makeBufferFromCanvasImageData(r),n}return i(t,e),t.makeBufferFromCanvasImageData=function(e){var r=e.getContext("2d").getImageData(0,0,e.width,e.height);return t.toGrayscaleBuffer(r.data,e.width,e.height)},t.toGrayscaleBuffer=function(e,r,n){var o=new Uint8ClampedArray(r*n);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 r=this.getWidth(),n=e*r;return null===t?t=this.buffer.slice(n,n+r):(t.length<r&&(t=new Uint8ClampedArray(r)),t.set(this.buffer.slice(n,n+r))),t},t.prototype.getMatrix=function(){return this.buffer},t.prototype.isCropSupported=function(){return!0},t.prototype.crop=function(t,r,n,o){return e.prototype.crop.call(this,t,r,n,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 r=this.getTempCanvasElement(),n=r.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 r.width=c,r.height=l,n.translate(c/2,l/2),n.rotate(o),n.drawImage(this.canvas,a/-2,i/-2),this.buffer=t.makeBufferFromCanvasImageData(r),this},t.prototype.invert=function(){return new n.a(this)},t.DEGREE_TO_RADIANS=Math.PI/180,t.FRAME_INDEX=!0,t}(o.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(){function e(e,t,r){this.deviceId=e,this.label=t,this.kind="videoinput",this.groupId=r||void 0}return e.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},e}()},function(e,t,r){"use strict";var n=r(119),o=(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a,i=function(e){function t(t,r,n,o,a){var i=e.call(this,t,r)||this;return i.compact=n,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}(n.a);t.a=i},function(e,t,r){"use strict";var n=r(243),o=r(46),a=r(171),i=r(8),c=(l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l,u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.sampleGrid=function(e,t,r,n,o,i,c,l,u,s,d,f,h,p,v,m,g,b,y){var w=a.a.quadrilateralToQuadrilateral(n,o,i,c,l,u,s,d,f,h,p,v,m,g,b,y);return this.sampleGridWithTransform(e,t,r,w)},t.prototype.sampleGridWithTransform=function(e,t,r,a){if(t<=0||r<=0)throw new i.a;for(var c=new o.a(t,r),l=new Float32Array(2*t),u=0;u<r;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),n.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}(n.a);t.a=u},function(e,t,r){"use strict";var n=r(16),o=r(8),a=r(41),i=r(36),c=r(17),l=(u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),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,r){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)],n.a.CODABAR,(new Date).getTime())},t.prototype.getValidRowData=function(e){var t=e.toArray(),r=t.indexOf(!0);if(-1===r)return null;var n=t.lastIndexOf(!0);if(n<=r)return null;for(var o=[],a=(t=t.slice(r,n+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:r,right:n}},t.prototype.codaBarDecodeRow=function(e){for(var t=[],r=Math.ceil(e.reduce((function(e,t){return(e+t)/2}),0));e.length>0;){var n,o=e.splice(0,8).splice(0,7).map((function(e){return e<r?"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,r){"use strict";var n=r(95),o=r(173),a=r(20),i=r(61),c=r(24),l=r(13),u=r(62),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),r=new a.a,i=new a.a,c=new Array,u=s.ASCII_ENCODE;do{if(u===s.ASCII_ENCODE)u=this.decodeAsciiSegment(t,r,i);else{switch(u){case s.C40_ENCODE:this.decodeC40Segment(t,r);break;case s.TEXT_ENCODE:this.decodeTextSegment(t,r);break;case s.ANSIX12_ENCODE:this.decodeAnsiX12Segment(t,r);break;case s.EDIFACT_ENCODE:this.decodeEdifactSegment(t,r);break;case s.BASE256_ENCODE:this.decodeBase256Segment(t,r,c);break;default:throw new l.a}u=s.ASCII_ENCODE}}while(u!==s.PAD_ENCODE&&t.available()>0);return i.length()>0&&r.append(i.toString()),new n.a(e,r.toString(),0===c.length?null:c,null)},e.decodeAsciiSegment=function(e,t,r){var n=!1;do{var o=e.readBits(8);if(0===o)throw new l.a;if(o<=128)return n&&(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:n=!0;break;case 236:t.append("[)>\x1e05\x1d"),r.insert(0,"\x1e\x04");break;case 237:t.append("[)>\x1e06\x1d"),r.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 r=!1,n=[],o=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),n);for(var i=0;i<3;i++){var c=n[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];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u)}break;case 1:r?(t.append(String.fromCharCode(c+128)),r=!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];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u)}else switch(c){case 27:t.append(String.fromCharCode(29));break;case 30:r=!0;break;default:throw new l.a}o=0;break;case 3:r?(t.append(String.fromCharCode(c+224)),r=!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 r=!1,n=[],o=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),n);for(var i=0;i<3;i++){var c=n[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];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u)}break;case 1:r?(t.append(String.fromCharCode(c+128)),r=!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];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u)}else switch(c){case 27:t.append(String.fromCharCode(29));break;case 30:r=!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];r?(t.append(String.fromCharCode(u.charCodeAt(0)+128)),r=!1):t.append(u),o=0;break;default:throw new l.a}}}while(e.available()>0)},e.decodeAnsiX12Segment=function(e,t){var r=[];do{if(8===e.available())return;var n=e.readBits(8);if(254===n)return;this.parseTwoBytes(n,e.readBits(8),r);for(var o=0;o<3;o++){var a=r[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,r){var n=(e<<8)+t-1,o=Math.floor(n/1600);r[0]=o,n-=1600*o,o=Math.floor(n/40),r[1]=o,r[2]=n-40*o},e.decodeEdifactSegment=function(e,t){do{if(e.available()<=16)return;for(var r=0;r<4;r++){var n=e.readBits(6);if(31===n){var o=8-e.getBitOffset();return void(8!==o&&e.readBits(o))}0==(32&n)&&(n|=64),t.append(String.fromCharCode(n))}}while(e.available()>0)},e.decodeBase256Segment=function(e,t,r){var n=1+e.getByteOffset(),o=this.unrandomize255State(e.readBits(8),n++),a;if((a=0===o?e.available()/8|0:o<250?o:250*(o-249)+this.unrandomize255State(e.readBits(8),n++))<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),n++)}r.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 r,n=e-(149*t%255+1);return n>=0?n:n+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,r){"use strict";var n=r(31),o=r(16),a=r(145),i=r(140),c=r(107),l=r(146),u=r(8),s=r(144),d=r(249),f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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(n.a.TRY_HARDER),r=null==e?null:e.get(n.a.POSSIBLE_FORMATS),u=new Array;if(null!=r){var d=r.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)),r.includes(o.a.QR_CODE)&&u.push(new a.a),r.includes(o.a.DATA_MATRIX)&&u.push(new l.a),r.includes(o.a.AZTEC)&&u.push(new i.a),r.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 r=f(this.readers),n=r.next();!n.done;n=r.next()){var o;n.value.reset()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.decodeInternal=function(e){var t,r;if(null===this.readers)throw new d.a("No readers where selected, nothing can be read.");try{for(var n=f(this.readers),o=n.next();!o.done;o=n.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&&(r=n.return)&&r.call(n)}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,r){"use strict";var n=r(173),o=r(48),a=r(95),i=r(24),c=r(13),l=r(20),u=r(61),s=r(44),d=function(){function e(){}return e.decode=function(t,r,i,u){var d=new n.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(r));O===e.GB2312_SUBSET&&e.decodeHanziSegment(d,f,M);break;default:var A=d.readBits(b.getCharacterCountBits(r));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,r){if(13*r>e.available())throw new c.a;for(var n=new Uint8Array(2*r),o=0;r>0;){var a=e.readBits(13),l=a/96<<8&4294967295|a%96;l+=l<959?41377:42657,n[o]=l>>8&255,n[o+1]=255&l,o+=2,r--}try{t.append(u.a.decode(n,i.a.GB2312))}catch(e){throw new c.a(e)}},e.decodeKanjiSegment=function(e,t,r){if(13*r>e.available())throw new c.a;for(var n=new Uint8Array(2*r),o=0;r>0;){var a=e.readBits(13),l=a/192<<8&4294967295|a%192;l+=l<7936?33088:49472,n[o]=l>>8,n[o+1]=l,o+=2,r--}try{t.append(u.a.decode(n,i.a.SHIFT_JIS))}catch(e){throw new c.a(e)}},e.decodeByteSegment=function(e,t,r,n,o,a){if(8*r>e.available())throw new c.a;for(var l=new Uint8Array(r),s=0,d;s<r;s++)l[s]=e.readBits(8);d=null===n?i.a.guessEncoding(l,a):n.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,r,n,o){for(var a=r.length();n>1;){if(t.available()<11)throw new c.a;var i=t.readBits(11);r.append(e.toAlphaNumericChar(Math.floor(i/45))),r.append(e.toAlphaNumericChar(i%45)),n-=2}if(1===n){if(t.available()<6)throw new c.a;r.append(e.toAlphaNumericChar(t.readBits(6)))}if(o)for(var l=a;l<r.length();l++)"%"===r.charAt(l)&&(l<r.length()-1&&"%"===r.charAt(l+1)?r.deleteCharAt(l+1):r.setCharAt(l,String.fromCharCode(29)))},e.decodeNumericSegment=function(t,r,n){for(;n>=3;){if(t.available()<10)throw new c.a;var o=t.readBits(10);if(o>=1e3)throw new c.a;r.append(e.toAlphaNumericChar(Math.floor(o/100))),r.append(e.toAlphaNumericChar(Math.floor(o/10)%10)),r.append(e.toAlphaNumericChar(o%10)),n-=3}if(2===n){if(t.available()<7)throw new c.a;var a=t.readBits(7);if(a>=100)throw new c.a;r.append(e.toAlphaNumericChar(Math.floor(a/10))),r.append(e.toAlphaNumericChar(a%10))}else if(1===n){if(t.available()<4)throw new c.a;var i=t.readBits(4);if(i>=10)throw new c.a;r.append(e.toAlphaNumericChar(i))}},e.parseECIValue=function(e){var t=e.readBits(8),r,n;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,r){"use strict";(function(e){var n=r(13),o=r(48),a=r(95),i=r(284),c=r(39),l=r(20),u=r(21),s=r(376),d=r(645),f=r(61),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 r=2;r<16;r++)e[r]=e[r-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,r){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 n.a;default:s--,s=e.textCompaction(t,s,c)}if(!(s<t.length))throw n.a.getFormatInstance();d=t[s++]}if(0===c.length())throw n.a.getFormatInstance();var p=new a.a(null,c.toString(),null,r);return p.setOther(f),p},e.decodeMacroBlock=function(t,r,o){if(r+e.NUMBER_OF_SEQUENCE_CODEWORDS>t[0])throw n.a.getFormatInstance();for(var a=new Int32Array(e.NUMBER_OF_SEQUENCE_CODEWORDS),i=0;i<e.NUMBER_OF_SEQUENCE_CODEWORDS;i++,r++)a[i]=t[r];o.setSegmentIndex(u.a.parseInt(e.decodeBase900toBase10(a,e.NUMBER_OF_SEQUENCE_CODEWORDS)));var d=new l.a;r=e.textCompaction(t,r,d),o.setFileId(d.toString());var f=-1;for(t[r]===e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(f=r+1);r<t[0];)switch(t[r]){case e.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(t[++r]){case e.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:var h=new l.a;r=e.textCompaction(t,r+1,h),o.setFileName(h.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_SENDER:var p=new l.a;r=e.textCompaction(t,r+1,p),o.setSender(p.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:var v=new l.a;r=e.textCompaction(t,r+1,v),o.setAddressee(v.toString());break;case e.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:var m=new l.a;r=e.numericCompaction(t,r+1,m),o.setSegmentCount(u.a.parseInt(m.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:var g=new l.a;r=e.numericCompaction(t,r+1,g),o.setTimestamp(s.a.parseLong(g.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:var b=new l.a;r=e.numericCompaction(t,r+1,b),o.setChecksum(u.a.parseInt(b.toString()));break;case e.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:var y=new l.a;r=e.numericCompaction(t,r+1,y),o.setFileSize(s.a.parseLong(y.toString()));break;default:throw n.a.getFormatInstance()}break;case e.MACRO_PDF417_TERMINATOR:r++,o.setLastSegment(!0);break;default:throw n.a.getFormatInstance()}if(-1!==f){var w=r-f;o.isLastSegment()&&w--,o.setOptionalData(c.a.copyOfRange(t,f,f+w))}return r},e.textCompaction=function(t,r,n){for(var o=new Int32Array(2*(t[0]-r)),a=new Int32Array(2*(t[0]-r)),i=0,c=!1;r<t[0]&&!c;){var l=t[r++];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:r--,c=!0;break;case e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o[i]=e.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,l=t[r++],a[i]=l,i++}}return e.decodeTextCompaction(o,a,i,n),r},e.decodeTextCompaction=function(t,r,n,o){for(var a=h.ALPHA,i=h.ALPHA,c=0;c<n;){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(r[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(r[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(r[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(r[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(r[c]);break;case e.TEXT_COMPACTION_MODE_LATCH:a=h.ALPHA}}""!==u&&o.append(u),c++}},e.byteCompaction=function(t,r,n,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=r[o++];o<r[0]&&!u;)switch(s[c++]=h,l=900*l+h,h=r[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===r[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<r[0]&&!u;){var g=r[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(),n)),o},e.numericCompaction=function(t,r,n){for(var o=0,a=!1,i=new Int32Array(e.MAX_NUMERIC_CODEWORDS);r<t[0]&&!a;){var c=t[r++];if(r===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:r--,a=!0}(o%e.MAX_NUMERIC_CODEWORDS==0||c===e.NUMERIC_COMPACTION_MODE_LATCH||a)&&o>0&&(n.append(e.decodeBase900toBase10(i,o)),o=0)}return r},e.decodeBase900toBase10=function(t,r){for(var o=m(0),a=0;a<r;a++)o+=e.EXP900[r-a-1]*m(t[a]);var i=o.toString();if("1"!==i.charAt(0))throw new n.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,r(84))},function(e,t,r){"use strict";var n=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=n},function(e,t,r){"use strict";var n=r(16),o=r(33),a=r(46),i=r(97),c=r(178),l=r(15),u=r(62),s=function(){function e(){}return e.prototype.encode=function(t,r,a,u,s){if(0===t.length)throw new l.a("Found empty contents");if(r!==n.a.QR_CODE)throw new l.a("Can only encode QR_CODE, but got "+r);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,r,n){var o=e.getMatrix();if(null===o)throw new u.a;for(var i=o.getWidth(),c=o.getHeight(),l=i+2*n,s=c+2*n,d=Math.max(t,l),f=Math.max(r,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,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(10),o=r(26),a=function(){function e(){}return e.prototype.getEncodingMode=function(){return n.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 r=e.getCurrentChar(),a=o.a.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(a!==this.getEncodingMode())switch(a){case n.c:return e.writeCodeword(n.j),void e.signalEncoderChange(n.c);case n.d:return e.writeCodeword(n.k),void e.signalEncoderChange(n.d);case n.x:e.writeCodeword(n.i),e.signalEncoderChange(n.x);break;case n.v:e.writeCodeword(n.m),e.signalEncoderChange(n.v);break;case n.f:e.writeCodeword(n.l),e.signalEncoderChange(n.f);break;default:throw new Error("Illegal mode: "+a)}else o.a.isExtendedASCII(r)?(e.writeCodeword(n.w),e.writeCodeword(r-128+1),e.pos++):(e.writeCodeword(r+1),e.pos++)}},e.prototype.encodeASCIIDigits=function(e,t){var r;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,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(24),o=r(20),a=r(26),i=r(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 r=e.getCurrentChar(),c;if(t.append(r),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,n.a.getCharAt(l));else{if(!(l<=1555))throw new Error("Message length not in valid ranges: "+l);t.setCharAt(0,n.a.getCharAt(Math.floor(l/250)+249)),t.insert(1,n.a.getCharAt(l%250))}for(var f=0,r=t.length();f<r;f++)e.writeCodeword(this.randomize255State(t.charAt(f).charCodeAt(0),e.getCodewordCount()+1))},e.prototype.randomize255State=function(e,t){var r,n=e+(149*t%255+1);return n<=255?n:n-256},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(24),o=r(20),a=r(10),i=r(26),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 r=e.getCurrentChar(),c;if(this.encodeChar(r,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(n.a.getCharAt(31)),this.handleEOD(e,t)},e.prototype.handleEOD=function(e,t){try{var r=t.length();if(0===r)return;if(1===r){e.updateSymbolInfo();var n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),o=e.getRemainingCharacters();if(o>n&&(e.updateSymbolInfo(e.getCodewordCount()+1),n=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount()),o<=n&&n<=2)return}if(r>4)throw new Error("Count must not exceed 4");var i=r-1,c=this.encodeToCodewords(t.toString()),l,u=!e.hasMoreCharacters()&&i<=2,n;if(i<=2)e.updateSymbolInfo(e.getCodewordCount()+i),(n=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(n.a.getCharAt(e-64)):i.a.illegalCharacter(n.a.getCharAt(e))},e.prototype.encodeToCodewords=function(e){var t=e.length;if(0===t)throw new Error("StringBuilder must not be empty");var r,n,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,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(20),o=r(169),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)})),r=new n.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.");r.append(i)}this.msg=r.toString(),this.shape=0,this.codewords=new n.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,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(24),o=r(20),a=r(122),i=r(26),c=r(10),l=(u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),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 r=e.getCurrentChar(),n,a;if(e.pos++,this.encodeChar(r,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(n.a.getCharAt(e))}return 1},t.prototype.handleEOD=function(e,t){e.updateSymbolInfo();var r=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),n=t.length();e.pos-=n,(e.getRemainingCharacters()>1||r>1||e.getRemainingCharacters()!==r)&&e.writeCodeword(c.y),e.getNewEncoding()<0&&e.signalEncoderChange(c.b)},t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(122),o=r(10),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),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 r=2;return r+=this.encodeChar(e-128,t)},t}(n.a)},function(e,t,r){"use strict";var n=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=n},function(e,t,r){"use strict";r.d(t,"a",(function(){return V}));var n=r(62),o=r(184),a=r(172),i=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),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 r=e.length();e.append("9"),this.encodeCompressedGtinWithoutAI(e,t,r)},t.prototype.encodeCompressedGtinWithoutAI=function(e,r,n){for(var o=0;o<4;++o){var a=this.getGeneralDecoder().extractNumericValueFromBitArray(r+10*o,10);a/100==0&&e.append("0"),a/10==0&&e.append("0"),e.append(a)}t.appendCheckDigit(e,n)},t.appendCheckDigit=function(e,t){for(var r=0,n=0;n<13;n++){var o=e.charAt(n+t).charCodeAt(0)-"0".charCodeAt(0);r+=0==(1&n)?3*o:o}10===(r=10-r%10)&&(r=0),e.append(r)},t.GTIN_SIZE=40,t}(a.a),s=r(20),d=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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 r=e.length(),n=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE,4);return e.append(n),this.encodeCompressedGtinWithoutAI(e,t.HEADER_SIZE+4,r),this.getGeneralDecoder().decodeAllCodes(e,t.HEADER_SIZE+44)},t.HEADER_SIZE=4,t}(u),p=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),b,y=function(e){function t(t){return e.call(this,t)||this}return g(t,e),t.prototype.encodeCompressedWeight=function(e,t,r){var n=this.getGeneralDecoder().extractNumericValueFromBitArray(t,r);this.addWeightCode(e,n);for(var o=this.checkWeight(n),a=1e5,i=0;i<5;++i)o/a==0&&e.append("0"),a/=10;e.append(o)},t}(u),w=r(8),O=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),C,_=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),T=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),D,z=function(e){function t(t){return e.call(this,t)||this}return T(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 r=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE,t.LAST_DIGIT_SIZE);e.append("(392"),e.append(r),e.append(")");var n=this.getGeneralDecoder().decodeGeneralPurposeField(t.HEADER_SIZE+u.GTIN_SIZE+t.LAST_DIGIT_SIZE,null);return e.append(n.getNewString()),e.toString()},t.HEADER_SIZE=8,t.LAST_DIGIT_SIZE=2,t}(u),I=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),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 r=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE,t.LAST_DIGIT_SIZE);e.append("(393"),e.append(r),e.append(")");var n=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE+u.GTIN_SIZE+t.LAST_DIGIT_SIZE,t.FIRST_THREE_DIGITS_SIZE);n/100==0&&e.append("0"),n/10==0&&e.append("0"),e.append(n);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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),R,L=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.dateCode=n,o.firstAIdigits=r,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,r){var n=this.getGeneralDecoder().extractNumericValueFromBitArray(r,t.DATE_SIZE);if(38400!==n){e.append("("),e.append(this.dateCode),e.append(")");var o=n%32,a=(n/=32)%12+1,i=n/=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,r,a;switch(o.a.extractNumericValueFromBitArray(e,1,4)){case 4:return new S(e);case 5:return new _(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 n.a("unknown decoder: "+e)}}},function(e,t,r){"use strict";var n,o=function(){function e(){}return e.singletonList=function(e){return[e]},e.min=function(e,t){return e.sort(t)[0]},e}(),a=r(47),i,c=function(){function e(e){this.previous=e}return e.prototype.getPrevious=function(){return this.previous},e}(),l=r(21),u=(s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s,d,f=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.value=r,o.bitCount=n,o}return u(t,e),t.prototype.appendTo=function(e,t){e.appendBits(this.value,this.bitCount)},t.prototype.add=function(e,r){return new t(this,e,r)},t.prototype.addBinaryShift=function(e,r){return console.warn("addBinaryShift on SimpleToken, this simply returns a copy of this token"),new t(this,e,r)},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,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),p,v=function(e){function t(t,r,n){var o=e.call(this,t,0,0)||this;return o.binaryShiftStart=r,o.binaryShiftByteCount=n,o}return h(t,e),t.prototype.appendTo=function(e,t){for(var r=0;r<this.binaryShiftByteCount;r++)(0===r||31===r&&this.binaryShiftByteCount<=62)&&(e.appendBits(31,5),this.binaryShiftByteCount>62?e.appendBits(this.binaryShiftByteCount-31,16):0===r?e.appendBits(Math.min(this.binaryShiftByteCount,31),5):e.appendBits(this.binaryShiftByteCount-31,5)),e.appendBits(t[this.binaryShiftStart+r],8)},t.prototype.addBinaryShift=function(e,r){return new t(this,e,r)},t.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},t}(f);function m(e,t,r){return new v(e,t,r)}function g(e,t,r){return new f(e,t,r)}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=r(39),E=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function C(e){var t,r;try{for(var n=E(e),o=n.next();!o.done;o=n.next()){var a=o.value;S.a.fill(a,-1)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}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 _=C(S.a.createInt32Array(6,6)),T=r(24),D=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},z,I=function(){function e(e,t,r,n){this.token=e,this.mode=t,this.binaryShiftByteCount=r,this.bitCount=n}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,r){var n=this.bitCount,o=this.token;if(t!==this.mode){var a=x[this.mode][t];o=g(o,65535&a,a>>16),n+=a>>16}var i=2===t?4:5;return new e(o=g(o,r,i),t,0,n+i)},e.prototype.shiftAndAppend=function(t,r){var n=this.token,o=2===this.mode?4:5;return n=g(n,_[this.mode][t],o),new e(n=g(n,r,5),this.mode,0,this.bitCount+o+5)},e.prototype.addBinaryShiftChar=function(t){var r=this.token,n=this.mode,o=this.bitCount;if(4===this.mode||2===this.mode){var a=x[n][0];r=g(r,65535&a,a>>16),o+=a>>16,n=0}var i=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,c=new e(r,n,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 r=this.token;return new e(r=m(r,t-this.binaryShiftByteCount,this.binaryShiftByteCount),this.mode,0,this.bitCount)},e.prototype.isBetterThanOrEqualTo=function(t){var r=this.bitCount+(x[this.mode][t.mode]>>16);return this.binaryShiftByteCount<t.binaryShiftByteCount?r+=e.calculateBinaryShiftCost(t)-e.calculateBinaryShiftCost(this):this.binaryShiftByteCount>t.binaryShiftByteCount&&t.binaryShiftByteCount>0&&(r+=10),r<=t.bitCount},e.prototype.toBitArray=function(e){for(var t,r,n=[],o=this.endBinaryShift(e.length).token;null!==o;o=o.getPrevious())n.unshift(o);var i=new a.a;try{for(var c=D(n),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&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}return i},e.prototype.toString=function(){return T.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=T.a.getCharCode(" "),r=T.a.getCharCode("."),n=T.a.getCharCode(",");e[0][t]=1;for(var o=T.a.getCharCode("Z"),a=T.a.getCharCode("A"),i=a;i<=o;i++)e[0][i]=i-a+2;e[1][t]=1;for(var c=T.a.getCharCode("z"),l=T.a.getCharCode("a"),i=l;i<=c;i++)e[1][i]=i-l+2;e[2][t]=1;for(var u=T.a.getCharCode("9"),s=T.a.getCharCode("0"),i=s;i<=u;i++)e[2][i]=i-s+2;e[2][n]=12,e[2][r]=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][T.a.getCharCode(d[f])]=f;for(var h=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"],f=0;f<h.length;f++)T.a.getCharCode(h[f])>0&&(e[4][T.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,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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=T.a.getCharCode(" "),r=T.a.getCharCode("\n"),n=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 T.a.getCharCode("\r"):i=c===r?2:0;break;case T.a.getCharCode("."):i=c===t?3:0;break;case T.a.getCharCode(","):i=c===t?4:0;break;case T.a.getCharCode(":"):i=c===t?5:0;break;default:i=0}i>0?(n=e.updateStateListForPair(n,a,i),a++):n=this.updateStateListForChar(n,a)}var l;return o.min(n,(function(e,t){return e.getBitCount()-t.getBitCount()})).toBitArray(this.text)},e.prototype.updateStateListForChar=function(t,r){var n,o,a=[];try{for(var i=k(t),c=i.next();!c.done;c=i.next()){var l=c.value;this.updateStateForChar(l,r,a)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return e.simplifyStates(a)},e.prototype.updateStateForChar=function(e,t,r){for(var n=255&this.text[t],o=N[e.getMode()][n]>0,a=null,i=0;i<=4;i++){var c=N[i][n];if(c>0){if(null==a&&(a=e.endBinaryShift(t)),!o||i===e.getMode()||2===i){var l=a.latchAndAppend(i,c);r.push(l)}if(!o&&_[e.getMode()][i]>=0){var u=a.shiftAndAppend(i,c);r.push(u)}}}if(e.getBinaryShiftByteCount()>0||0===N[e.getMode()][n]){var s=e.addBinaryShiftChar(t);r.push(s)}},e.updateStateListForPair=function(e,t,r){var n,o,a=[];try{for(var i=k(e),c=i.next();!c.done;c=i.next()){var l=c.value;this.updateStateForPair(l,t,r,a)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return this.simplifyStates(a)},e.updateStateForPair=function(e,t,r,n){var o=e.endBinaryShift(t);if(n.push(o.latchAndAppend(4,r)),4!==e.getMode()&&n.push(o.shiftAndAppend(4,r)),3===r||4===r){var a=o.latchAndAppend(2,16-r).latchAndAppend(2,1);n.push(a)}if(e.getBinaryShiftByteCount()>0){var i=e.addBinaryShiftChar(t).addBinaryShiftChar(t+1);n.push(i)}},e.simplifyStates=function(e){var t,r,n,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=(n=void 0,k(a)),f=d.next();!f.done;f=d.next()){var h,p;if("break"===s(f.value))break}}catch(e){n={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}u&&a.push(l)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return a},e}(),L=t.a=R},function(e,t,r){"use strict";var n=r(1),o=r(83),a=r(151),i=r(125),c=r(0),l=r(22),u=r.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=r(118);function f(e,t,r){var n=c.useRef({});return"value"in n.current&&!r(n.current.condition,t)||(n.current.value=e(),n.current.condition=t),n.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),r=0;r<e;r++)t[r]=arguments[r];var n=t.filter((function(e){return e}));return n.length<=1?n[0]:function(e){t.forEach((function(t){h(t,e)}))}}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return f((function(){return p.apply(void 0,t)}),t,(function(e,t){return e.length===t.length&&e.every((function(e,r){return e===t[r]}))}))}function m(e){var t,r,n=Object(d.isMemo)(e)?e.type.type:e.type;return!!("function"!=typeof n||null!==(t=n.prototype)&&void 0!==t&&t.render)&&!!("function"!=typeof e||null!==(r=e.prototype)&&void 0!==r&&r.render)}var g=r(123),b=r(66),y=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],w=c.forwardRef((function(e,t){var r=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,r),C=u()(Object(a.a)({},"".concat(x,"-spin"),!!d)),_=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,T=Object(o.a)(Object(o.a)({},b.e),{},{className:C,style:_,viewBox:s});s||delete T.viewBox;var D=function e(){return l?c.createElement(l,T,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(n.a)({},T,{viewBox:s}),m)):null},z=h;return void 0===z&&p&&(z=-1),c.createElement("span",Object(n.a)({role:"img"},w,{ref:M,tabIndex:z,onClick:p,className:E}),D())}));w.displayName="AntdIcon";var O=t.a=w},function(e,t,r){"use strict";var n=r(16),o=r(28),a=r(8),i=r(36),c=r(27),l=r(109),u=r(150),s=r(302),d=r(127),f=r(47),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 r=12*t,n=new f.a(r),o=0,a,i=e[0].getRightChar().getValue(),c=11;c>=0;--c)0!=(i&1<<c)&&n.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)&&n.set(o),o++;if(null!==l.getRightChar())for(var d=l.getRightChar().getValue(),s=11;s>=0;--s)0!=(d&1<<s)&&n.set(o),o++}return n},e}(),v=r(293),m,g=function(){function e(e,t,r,n){this.leftchar=e,this.rightchar=t,this.finderpattern=r,this.maybeLast=n}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,r){return t instanceof e&&(e.equalsOrNull(t.leftchar,r.leftchar)&&e.equalsOrNull(t.rightchar,r.rightchar)&&e.equalsOrNull(t.finderpattern,r.finderpattern))},e.equalsOrNull=function(t,r){return null===t?null===r:e.equals(t,r)},e.prototype.hashCode=function(){var e;return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()},e}(),b,y=function(){function e(e,t,r){this.pairs=e,this.rowNumber=t,this.wasReversed=r}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,r){return t instanceof e&&(this.checkEqualitity(t,r)&&t.wasReversed===r.wasReversed)},e.prototype.checkEqualitity=function(e,t){var r;if(e&&t)return e.forEach((function(e,n){t.forEach((function(t){e.getLeftChar().getValue()===t.getLeftChar().getValue()&&e.getRightChar().getValue()===t.getRightChar().getValue()&&e.getFinderPatter().getValue()===t.getFinderPatter().getValue()&&(r=!0)}))})),r},e}(),w=(O=function(e,t){return(O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),O,M=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.pairs=new Array(t.MAX_PAIRS),r.rows=new Array,r.startEnd=[2],r}return w(t,e),t.prototype.decodeRow=function(e,r,n){this.pairs.length=0,this.startFromEven=!1;try{return t.constructResult(this.decodeRow2pairs(e,r))}catch(e){}return this.pairs.length=0,this.startFromEven=!0,t.constructResult(this.decodeRow2pairs(e,r))},t.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},t.prototype.decodeRow2pairs=function(e,t){for(var r=!1,n;!r;)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;r=!0}}if(this.checkChecksum())return this.pairs;if(n=!!this.rows.length,this.storeRow(e,!1),n){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,r){for(var n,o,i=r;i<this.rows.length;i++){var c=this.rows[i];this.pairs.length=0;try{for(var l=(n=void 0,M(e)),u=l.next();!u.done;u=l.next()){var s=u.value;this.pairs.push(s.getPairs())}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.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 r,n;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){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!1},t.prototype.storeRow=function(e,r){for(var n=0,o=!1,a=!1;n<this.rows.length;){var i=this.rows[n];if(i.getRowNumber()>e){a=i.isEquivalent(this.pairs);break}o=i.isEquivalent(this.pairs),n++}a||o||t.isPartialRow(this.pairs,this.rows)||(this.rows.push(n,new y(this.pairs,e,r)),this.removePartialRows(this.pairs,this.rows))},t.prototype.removePartialRows=function(e,t){var r,n,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){r={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}},t.isPartialRow=function(e,t){var r,n,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){r={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return!1},t.prototype.getRows=function(){return this.rows},t.constructResult=function(e){var t=p.buildBitArray(e),r,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,n.a.RSS_EXPANDED,null)},t.prototype.checkChecksum=function(){var e=this.pairs.get(0),t=e.getLeftChar(),r=e.getRightChar(),n;if(null===r)return!1;for(var o=r.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 r;return e.get(t)?(r=e.getNextUnset(t),r=e.getNextSet(r)):(r=e.getNextSet(t),r=e.getNextUnset(r)),r},t.prototype.retrieveNextPair=function(e,r,n){var o=r.length%2==0,i;this.startFromEven&&(o=!o);var c=!0,l=-1;do{this.findNextPair(e,r,l),null===(i=this.parseFoundFinderPattern(e,n,o))?l=t.getNextSecondBar(e,this.startEnd[0]):c=!1}while(c);var u=this.decodeDataCharacter(e,i,o,!0),s;if(!this.isEmptyPair(r)&&r[r.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,r,n){var o=this.getDecodeFinderCounters();o[0]=0,o[1]=0,o[2]=0,o[3]=0;var i=e.getSize(),c;if(n>=0)c=n;else if(this.isEmptyPair(r))c=0;else{var l;c=r[r.length-1].getFinderPattern().getStartEnd()[1]}var u=r.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,r=0;r<t/2;++r){var n=e[r];e[r]=e[t-r-1],e[t-r-1]=n}},t.prototype.parseFoundFinderPattern=function(e,r,n){var o,a,i;if(n){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,r)},t.prototype.decodeDataCharacter=function(e,r,n,i){for(var c=this.getDataCharacterCounters(),l=0;l<c.length;l++)c[l]=0;if(i)t.recordPatternInReverse(e,r.getStartEnd()[0],c);else{t.recordPattern(e,r.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=(r.getStartEnd()[1]-r.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*r.getValue()+(n?0:2)+(i?0:1)-1,x=0,S=0,s=g.length-1;s>=0;s--){if(t.isNotA1left(r,n,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(r,n,i)){var E=t.WEIGHTS[j][2*s+1];C+=b[s]*E}var _=S+C;if(0!=(1&x)||x>13||x<4)throw new a.a;var T=(13-x)/2,D=t.SYMBOL_WIDEST[T],z=9-D,I=d.a.getRSSvalue(g,D,!0),P=d.a.getRSSvalue(b,z,!1),N,k,R=I*t.EVEN_TOTAL_SUBSET[T]+P+t.GSUM[T];return new u.a(R,_)},t.isNotA1left=function(e,t,r){return!(0===e.getValue()&&t&&r)},t.prototype.adjustOddEvenCounts=function(e){var r=o.a.sum(new Int32Array(this.getOddCounts())),n=o.a.sum(new Int32Array(this.getEvenCounts())),i=!1,c=!1;r>13?c=!0:r<4&&(i=!0);var l=!1,u=!1;n>13?u=!0:n<4&&(l=!0);var s=r+n-e,d=1==(1&r),f=0==(1&n);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;r<n?(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,r){"use strict";var n=r(43),o=r(15),a=r(27),i=r(20),c=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 r=t.length;if(r>1&&0===t[0]){for(var n=1;n<r&&0===t[n];)n++;n===r?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(r-n),a.a.arraycopy(t,n,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,r;if(0===e)return this.getCoefficient(0);if(1===e){var n=0;try{for(var o=c(this.coefficients),a=o.next();!a.done;a=o.next()){var i=a.value;n=this.field.add(n,i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n}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 r=this.coefficients,n=t.coefficients;if(r.length>n.length){var i=r;r=n,n=i}var c=new Int32Array(n.length),l=n.length-r.length;a.a.arraycopy(n,0,c,0,l);for(var u=l;u<n.length;u++)c[u]=this.field.add(r[u-l],n[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 r=this.coefficients,n=r.length,a=t.coefficients,i=a.length,c=new Int32Array(n+i-1),l=0;l<n;l++)for(var u=r[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,r=new Int32Array(t),n=0;n<t;n++)r[n]=this.field.subtract(0,this.coefficients[n]);return new e(this.field,r)},e.prototype.multiplyScalar=function(t){if(0===t)return new e(this.field,new Int32Array([0]));if(1===t)return this;for(var r=this.coefficients.length,n=new Int32Array(r),o=0;o<r;o++)n[o]=this.field.multiply(this.coefficients[o],t);return new e(this.field,n)},e.prototype.multiplyByMonomial=function(t,r){if(t<0)throw new o.a;if(0===r)return new e(this.field,new Int32Array([0]));for(var n=this.coefficients.length,a=new Int32Array(n+t),i=0;i<n;i++)a[i]=this.field.multiply(this.coefficients[i],r);return new e(this.field,a)},e.prototype.toString=function(){for(var e=new i.a,t=this.getDegree();t>=0;t--){var r=this.getCoefficient(t);0!==r&&(r<0?(e.append(" - "),r=-r):e.length()>0&&e.append(" + "),0!==t&&1===r||e.append(r),0!==t&&(1===t?e.append("x"):(e.append("x^"),e.append(t))))}return e.toString()},e}(),s=r(32),d=r(170),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 r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),v,m,g=function(e){function t(t,r){var n=e.call(this)||this;n.modulus=t,n.expTable=new Int32Array(t),n.logTable=new Int32Array(t);for(var o=1,a=0;a<t;a++)n.expTable[a]=o,o=o*r%t;for(var a=0;a<t-1;a++)n.logTable[n.expTable[a]]=a;return n.zero=new u(n,new Int32Array([0])),n.one=new u(n,new Int32Array([1])),n}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 r=new Int32Array(e+1);return r[0]=t,new u(this,r)},t.PDF417_GF=new t(s.a.NUMBER_OF_CODEWORDS,3),t}(f),b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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,r){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!=r)try{for(var h=b(r),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 n.a.getChecksumInstance();e[x]=this.field.subtract(e[x],j[s])}return A.length},e.prototype.runEuclideanAlgorithm=function(e,t,r){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(r/2);){var u=a,s=c;if(c=l,(a=i).isZero())throw n.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 n.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(),r=new Int32Array(t),o=0,a=1;a<this.field.getSize()&&o<t;a++)0===e.evaluateAt(a)&&(r[o]=this.field.inverse(a),o++);if(o!==t)throw n.a.getChecksumInstance();return r},e.prototype.findErrorMagnitudes=function(e,t,r){for(var n=t.getDegree(),o=new Int32Array(n),a=1;a<=n;a++)o[n-a]=this.field.multiply(a,t.getCoefficient(a));for(var i=new u(this.field,o),c=r.length,l=new Int32Array(c),a=0;a<c;a++){var s=this.field.inverse(r[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,r){"use strict";r.d(t,"a",(function(){return n}));var n={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,r){"use strict";r.d(t,"a",(function(){return o}));const n=e=>{let t=!1;return()=>{}},o=(e,t="warning")=>{let r=!1;const n=Array.isArray(e)?e.join("\n"):e;return()=>{r||(r=!0,"error"===t?console.error(n):console.warn(n))}}},function(e,t,r){var n=r(241),o=r(59),a="Expected a function";function i(e,t,r){var i=!0,c=!0;if("function"!=typeof e)throw new TypeError(a);return o(r)&&(i="leading"in r?!!r.leading:i,c="trailing"in r?!!r.trailing:c),n(e,t,{leading:i,maxWait:t,trailing:c})}e.exports=i},function(e,t,r){var n=r(708);function o(e,t){return n(e,t)}e.exports=o},function(e,t,r){"use strict";var n=r(17),o=function(){function e(e,t,r,o,a){this.value=e,this.startEnd=t,this.value=e,this.startEnd=t,this.resultPoints=new Array,this.resultPoints.push(new n.a(r,a)),this.resultPoints.push(new n.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 r=t;return this.value===r.value},e.prototype.hashCode=function(){return this.value},e}();t.a=o},,function(e,t,r){"use strict";function n(e,t){a(e)&&(e="100%");var r=i(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(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,r){return{r:255*n(e,255),g:255*n(t,255),b:255*n(r,255)}}function d(e,t,r){e=n(e,255),t=n(t,255),r=n(r,255);var o=Math.max(e,t,r),a=Math.min(e,t,r),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-r)/u+(t<r?6:0);break;case t:i=(r-e)/u+2;break;case r:i=(e-t)/u+4}i/=6}return{h:i,s:c,l:l}}function f(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function h(e,t,r){var o,a,i;if(e=n(e,360),t=n(t,100),r=n(r,100),0===t)a=r,i=r,o=r;else{var c=r<.5?r*(1+t):r+t-r*t,l=2*r-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,r){e=n(e,255),t=n(t,255),r=n(r,255);var o=Math.max(e,t,r),a=Math.min(e,t,r),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-r)/l+(t<r?6:0);break;case t:i=(r-e)/l+2;break;case r:i=(e-t)/l+4}i/=6}return{h:i,s:u,v:c}}function v(e,t,r){e=6*n(e,360),t=n(t,100),r=n(r,100);var o=Math.floor(e),a=e-o,i=r*(1-t),c=r*(1-a*t),l=r*(1-(1-a)*t),u=o%6,s,d,f;return{r:255*[r,c,i,i,l,r][u],g:255*[l,r,r,c,i,i][u],b:255*[i,i,l,r,r,c][u]}}function m(e,t,r,n){var o=[u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(r).toString(16))];return n&&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,r,n,o){var a=[u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(r).toString(16)),u(y(n))];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,r,n){var o;return[u(y(n)),u(Math.round(e).toString(16)),u(Math.round(t).toString(16)),u(Math.round(r).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}}r.d(t,"b",(function(){return G})),r.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},r=1,n=null,o=null,a=null,i=!1,u=!1;return"string"==typeof e&&(e=D(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)?(n=l(e.s),o=l(e.v),t=v(e.h,n,o),i=!0,u="hsv"):z(e.h)&&z(e.s)&&z(e.l)&&(n=l(e.s),a=l(e.l),t=h(e.h,n,a),i=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=c(r),{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:r}}var x="[-\\+]?\\d+%?",S,E="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat(x,")"),C="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),_="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),T={CSS_UNIT:new RegExp(E),rgb:new RegExp("rgb"+C),rgba:new RegExp("rgba"+_),hsl:new RegExp("hsl"+C),hsla:new RegExp("hsla"+_),hsv:new RegExp("hsv"+C),hsva:new RegExp("hsva"+_),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 D(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 r=T.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=T.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=T.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=T.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=T.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=T.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=T.hex8.exec(e))?{r:O(r[1]),g:O(r[2]),b:O(r[3]),a:w(r[4]),format:t?"name":"hex8"}:(r=T.hex6.exec(e))?{r:O(r[1]),g:O(r[2]),b:O(r[3]),format:t?"name":"hex"}:(r=T.hex4.exec(e))?{r:O(r[1]+r[1]),g:O(r[2]+r[2]),b:O(r[3]+r[3]),a:w(r[4]+r[4]),format:t?"name":"hex8"}:!!(r=T.hex3.exec(e))&&{r:O(r[1]+r[1]),g:O(r[2]+r[2]),b:O(r[3]+r[3]),format:t?"name":"hex"}}function z(e){return Boolean(T.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,r,n,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,r=e.g,n=e.b;return"#".concat(m(t,r,n,!1))}function W(e,t,r){var n=r/100,o;return{r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b}}function U(e,t,r){var n;return(n=Math.round(e.h)>=60&&Math.round(e.h)<=240?r?Math.round(e.h)-2*t:Math.round(e.h)+2*t:r?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?n+=360:n>=360&&(n-=360),n}function Y(e,t,r){return 0===e.h&&0===e.s?e.s:((n=r?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(n=1),r&&5===t&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2)));var n}function Q(e,t,r){var n;return(n=r?e.v+.05*t:e.v-.15*t)>1&&(n=1),Number(n.toFixed(2))}function G(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],n=j(e),o=5;o>0;o-=1){var a=H(n),i=F(j({h:U(a,o,!0),s:Y(a,o,!0),v:Q(a,o,!0)}));r.push(i)}r.push(F(n));for(var c=1;c<=4;c+=1){var l=H(n),u=F(j({h:U(l,c),s:Y(l,c),v:Q(l,c)}));r.push(u)}return"dark"===t.theme?B.map((function(e){var n=e.index,o=e.opacity,a;return F(W(j(t.backgroundColor||"#141414"),j(r[n]),100*o))})):r}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,re=q.lime,ne=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,r){var n,o;
|
|
27
27
|
/*!
|
|
28
28
|
* JavaScript Cookie v2.2.1
|
|
29
29
|
* https://github.com/js-cookie/js-cookie
|