1(self.webpackChunkhealthy_food=self.webpackChunkhealthy_food||[]).push([[9466],{89466:(ct,at,h)=>{"use strict";h.r(at),h.d(at,{ScanModule:()=>Q});var v=h(36895),a=h(33717),e=h(24006),s=h(77656),u=h(15803),i=h(4705),r=h(44564),n=h(89383),t=h(97530),o=h(21929),c=h(65938),f=h(4859),l=h(284),p=h(90455),d=h(94650);let g=(()=>{class T{}return T.\u0275fac=function(F){return new(F||T)},T.\u0275mod=d.\u0275\u0275defineNgModule({type:T}),T.\u0275inj=d.\u0275\u0275defineInjector({imports:[v.ez,e.FormsModule,u.o,s.Y,i.f,r.C,t.o,n.aw,c.Is,f.ot,l.c,p.rP,o.q]}),T})(),_=(()=>{class T{}return T.\u0275fac=function(F){return new(F||T)},T.\u0275mod=d.\u0275\u0275defineNgModule({type:T}),T.\u0275inj=d.\u0275\u0275defineInjector({}),T})();var b=h(51692),y=h(71610),x=h(36359),C=h(14188),E=h(80329),z=h(11543),O=h(19108),m=h(56697),M=h.n(m),P=h(92198),S=h(40537),I=h(35293),G=h(67435),V=h(7681);let A=(()=>{class T{constructor(F,H,W,J,et,q){this.cd=F,this.nService=H,this.customerFacade=W,this.locationService=J,this.unService=et,this.dialog=q,this.mediaSupported=!1,this.onDetected=w=>{this.checkUserIsLoggedIn()&&this.barcodeScanned(w.codeResult.code)}}init(){this.order=y.K.getOrder(),this.mediaSupported=!!navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.getUserMedia}afterInit(F){this.mediaSupported&&M().init({inputStream:{target:F.nativeElement,constraints:{facingMode:"environment"},area:{top:"10%",right:"0%",left:"0%",bottom:"40%"}},decoder:{readers:["code_128_reader","upc_reader","ean_reader"]}},H=>{H?this.mediaSupported=!1:(M().start(),M().onDetected(this.onDetected))})}addCodeManually(){C.x.addCodeManually(this.dialog,{}).afterClosed().subscribe(F=>{F&&(this.addItem(F),this.cd.markForCheck())})}addItem(F){this.pauseScanner();const H=y.K.getOrder();H.OrderType=x.b.flowWithOrder("ScanAndPay");const W=F.getOrder();this.unService.handle=z.a.currentLocation$.pipe((0,P.h)(J=>!!J)).subscribe(J=>{H.add(W,this.nService.params.brandId,J.Id,J.IanaTimezoneId),this.cd.markForCheck(),E.P.emit(E.P.onItemAddedToCart,W)}),this.pauseScanner()}startScanner(){this.mediaSupported&&M().start()}pauseScanner(){this.mediaSupported&&M().pause()}stopScanner(){this.mediaSupported&&(M().offDetected(this.onDetected),M().stop())}reviewOrder(){0!==this.order.getQuantity()&&this.nService.toOrders()}checkUserIsLoggedIn(){return!!O.f.getCurrentCustomer()||(this.nService.toAuth(),!1)}barcodeScanned(F){const H=(new Date).getTime();F===this.lastScannedCode&&H<this.lastScannedCodeDate+1500||(E.P.onLocationPageLoad.emit(!0),this.fetchItem(F),this.lastScannedCode=F,this.lastScannedCodeDate=H)}fetchItem(F){this.pauseScanner(),this.unService.handle=this.locationService.itemSearch(this.nService.params.locationId,F).pipe((0,S.x)(()=>E.P.onLocationPageLoad.emit(!1))).subscribe(H=>{this.addItem(H)},H=>{E.P.onShowMsg.emit({msg:H.error.Message}),setTimeout(()=>{this.startScanner()},1e3)})}}return T.\u0275fac=function(F){return new(F||T)(d.\u0275\u0275inject(d.ChangeDetectorRef),d.\u0275\u0275inject(I.o),d.\u0275\u0275inject(G.x),d.\u0275\u0275inject(z.a),d.\u0275\u0275inject(V.Y),d.\u0275\u0275inject(c.uw))},T.\u0275prov=d.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac}),T})();var R=h(77127),N=h(18023);let X=(()=>{class T{constructor(F){this.navigateService=F}transform(F,{singleLocation:H}){const W=[{name:"home",link:this.navigateService.makePathToCompany()}];return H||W.push({name:"home",link:this.navigateService.makePathToCompany()}),[...W,{name:"scan_items"}]}}return T.\u0275fac=function(F){return new(F||T)(d.\u0275\u0275directiveInject(I.o,16))},T.\u0275pipe=d.\u0275\u0275definePipe({name:"scanAndPayBreadcrumbs",type:T,pure:!0}),T})();const $=["viewport"];function D(T,K){1&T&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275element(1,"div",11),d.\u0275\u0275elementStart(2,"p",12),d.\u0275\u0275text(3),d.\u0275\u0275pipe(4,"translate"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd()),2&T&&(d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(d.\u0275\u0275pipeBind1(4,1,"allow_camera")))}const L=function(T){return{singleLocation:T}},j=[{path:"",component:(()=>{class T{constructor(F,H,W){this.scanService=F,this.nService=H,this.unService=W,this.location$=z.a.currentLocation$.pipe((0,P.h)(J=>!!J)),this.bs=(0,d.inject)(R.j),this.bs.init({isScanAndPay:!0})}ngOnInit(){this.scanService.init()}ngAfterViewInit(){this.scanService.afterInit(this.viewport)}ngOnDestroy(){this.scanService.stopScanner()}}return T.\u0275fac=function(F){return new(F||T)(d.\u0275\u0275directiveInject(A),d.\u0275\u0275directiveInject(I.o),d.\u0275\u0275directiveInject(V.Y))},T.\u0275cmp=d.\u0275\u0275defineComponent({type:T,selectors:[["wo-scan"]],viewQuery:function(F,H){if(1&F&&d.\u0275\u0275viewQuery($,5),2&F){let W;d.\u0275\u0275queryRefresh(W=d.\u0275\u0275loadQuery())&&(H.viewport=W.first)}},features:[d.\u0275\u0275ProvidersFeature([V.Y,A,R.j])],decls:26,vars:25,consts:[["breadcrumbs","","aria-label","breadcrumb",1,"wo-menu-breadcrumbs-component",3,"list"],[1,"wo-scan-component"],["id","interactive",1,"viewport","wo-media"],["viewport",""],[1,"scan-line"],[4,"ngIf"],[1,"wo-scan-actions"],[1,"wo-left-actions"],["mat-button","",1,"wo-add-code
1-manually",3,"click"],[1,"wo-right-actions"],["mat-button","",1,"wo-review-order",3,"disabled","click"],[1,"wo-no-media"],[1,"wo-info"]],template:function(F,H){if(1&F&&(d.\u0275\u0275element(0,"nav",0),d.\u0275\u0275pipe(1,"scanAndPayBreadcrumbs"),d.\u0275\u0275pipe(2,"async"),d.\u0275\u0275elementStart(3,"article",1)(4,"header")(5,"h2"),d.\u0275\u0275text(6),d.\u0275\u0275pipe(7,"translate"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(8,"p"),d.\u0275\u0275text(9),d.\u0275\u0275pipe(10,"translate"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(11,"div",2,3),d.\u0275\u0275element(13,"div",4),d.\u0275\u0275template(14,D,5,3,"ng-container",5),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(15,"footer",6)(16,"div",7)(17,"button",8),d.\u0275\u0275listener("click",function(){return H.scanService.addCodeManually()}),d.\u0275\u0275text(18),d.\u0275\u0275pipe(19,"translate"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(20,"div",9)(21,"button",10),d.\u0275\u0275listener("click",function(){return H.scanService.reviewOrder()}),d.\u0275\u0275text(22),d.\u0275\u0275pipe(23,"translate"),d.\u0275\u0275elementStart(24,"span"),d.\u0275\u0275text(25),d.\u0275\u0275elementEnd()()()()()),2&F){let W;d.\u0275\u0275property("list",d.\u0275\u0275pipeBind2(1,10,H.nService.params,d.\u0275\u0275pureFunction1(23,L,null!==(W=1===(null==(W=d.\u0275\u0275pipeBind1(2,13,H.bs.companyBrand$))||null==W.CurrentCompanyBrand||null==W.CurrentCompanyBrand.Locations?null:W.CurrentCompanyBrand.Locations.length))&&void 0!==W&&W))),d.\u0275\u0275advance(6),d.\u0275\u0275textInterpolate(d.\u0275\u0275pipeBind1(7,15,"scan_items")),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(d.\u0275\u0275pipeBind1(10,17,"scan_items_desc")),d.\u0275\u0275advance(4),d.\u0275\u0275classProp("invisible",!H.scanService.mediaSupported),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",!H.scanService.mediaSupported),d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate1(" ",d.\u0275\u0275pipeBind1(19,19,"add_code_manually")," "),d.\u0275\u0275advance(3),d.\u0275\u0275property("disabled",H.scanService.order.getQuantity()<1),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate1(" ",d.\u0275\u0275pipeBind1(23,21,"review_order")," "),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate1("(",H.scanService.order.getQuantity(),")")}},dependencies:[v.O5,N.n,v.Ov,n.X$,X],styles:['input[_ngcontent-%COMP%]::-webkit-outer-spin-button, input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.mat-mdc-autocomplete-panel[_ngcontent-%COMP%]{--mdc-theme-surface: var(--wo_container4, #FFFFFF)}.mat-mdc-autocomplete-panel[_ngcontent-%COMP%] .mat-mdc-option[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%]{background-color:var(--wo_card, #FFFFFF);display:flex;flex-direction:column;gap:unset;width:100%;height:unset;padding:32px 40px 50px;margin:60px auto 0;box-shadow:0 1px 4px 0 var(--wo_box_shadow, rgba(0, 0, 0, .25));max-width:716px}@media (max-width: 992px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%]{padding:20px 20px 30px;margin:30px auto 0}}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%]{padding:20px 20px 30px;margin:0}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{background-color:unset;display:flex;flex-direction:column;gap:unset;width:100%;height:unset;padding:0;margin:0 0 34px}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{margin:0 0 12px}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{display:inline-flex;padding:0;margin:0;font-family:var(--typography-font-family_txt-h2, "Roboto-Bold");line-height:var(--typography-line-height_txt-h2, normal);letter-spacing:var(--typography-letter-spacing_txt-h2, normal);font-size:var(--typography-font-size_txt-h2, 36px);text-transform:var(--typography-text-transform_txt-h2, none);color:var(--wo_text_high_emphasis, rgba(0, 0, 0, .87))}@media (max-width: 992px){[_nghost-%COMP%] .wo-scan-component[_ng
1content-%COMP%] header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{line-height:var(--typography-line-height_txt-h2_tablet, normal);letter-spacing:var(--typography-letter-spacing_txt-h2_tablet, normal);font-size:var(--typography-font-size_txt-h2_tablet, 36px);text-transform:var(--typography-text-transform_txt-h2_tablet, none)}}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{line-height:var(--typography-line-height_txt-h2_mobile, normal);letter-spacing:var(--typography-letter-spacing_txt-h2_mobile, normal);font-size:var(--typography-font-size_txt-h2_mobile, 28px);text-transform:var(--typography-text-transform_txt-h2_mobile, none)}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:inline-flex;padding:0;margin:5px 0 0;font-family:var(--typography-font-family_txt-body1, "Roboto-Regular");line-height:var(--typography-line-height_txt-body1, normal);letter-spacing:var(--typography-letter-spacing_txt-body1, normal);font-size:var(--typography-font-size_txt-body1, 18px);text-transform:var(--typography-text-transform_txt-body1, none);color:var(--wo_text_mid_emphasis, rgba(0, 0, 0, .6))}@media (max-width: 992px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:var(--typography-line-height_txt-body1_tablet, normal);letter-spacing:var(--typography-letter-spacing_txt-body1_tablet, normal);font-size:var(--typography-font-size_txt-body1_tablet, 18px);text-transform:var(--typography-text-transform_txt-body1_tablet, none)}}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:var(--typography-line-height_txt-body1_mobile, normal);letter-spacing:var(--typography-letter-spacing_txt-body1_mobile, normal);font-size:var(--typography-font-size_txt-body1_mobile, 16px);text-transform:var(--typography-text-transform_txt-body1_mobile, none)}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] .wo-media[_ngcontent-%COMP%]{height:477px}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] .wo-media[_ngcontent-%COMP%]{height:auto}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] .wo-media[_ngcontent-%COMP%] .wo-no-media[_ngcontent-%COMP%]{height:477px;background:url(/assets/img/freshii/no-media.png) center center}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] .wo-media[_ngcontent-%COMP%] .wo-no-media[_ngcontent-%COMP%]{height:auto}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] .wo-media[_ngcontent-%COMP%] .wo-info[_ngcontent-%COMP%]{display:inline-flex;padding:10px;margin:0;font-family:var(--typography-font-family_txt-body2, "Roboto-Regular");line-height:var(--typography-line-height_txt-body2, normal);letter-spacing:var(--typography-letter-spacing_txt-body2, normal);font-size:var(--typography-font-size_txt-body2, 16px);text-transform:var(--typography-text-transform_txt-body2, none);color:var(--wo_text_mid_emphasis, rgba(0, 0, 0, .6));text-align:center}@media (max-width: 992px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] .wo-media[_ngcontent-%COMP%] .wo-info[_ngcontent-%COMP%]{line-height:var(--typography-line-height_txt-body2_tablet, normal);letter-spacing:var(--typography-letter-spacing_txt-body2_tablet, normal);font-size:var(--typography-font-size_txt-body2_tablet, 16px);text-transform:var(--typography-text-transform_txt-body2_tablet, none)}}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] .wo-media[_ngcontent-%COMP%] .wo-info[_ngcontent-%COMP%]{line-height:var(--typography-line-height_txt-body2_mobile, normal);letter-spacing:var(--typography-letter-spacing_txt-body2_mobile, normal);font-size:var(--typography-font-size_txt-body2_mobile, 14px);text-transform:var(--typography-text-transform_txt-body2_mobile, none)}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] .viewport{position:relative}
1[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] .viewport .scan-line{background-color:#fff;position:absolute;height:2px;top:50%;z-index:5;left:10%;right:10%}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] .viewport video{width:100%;object-fit:cover;z-index:1}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] .drawingBuffer{display:none}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%]{background-color:unset;display:flex;flex-direction:row;gap:24px;width:100%;height:unset;padding:45px 0 0;margin:0;z-index:5}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%]{flex-direction:column;gap:15px;padding:15px 0 0}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-left-actions[_ngcontent-%COMP%]{background-color:unset;display:flex;flex-direction:column;gap:unset;width:50%;height:unset;padding:0;margin:0}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-left-actions[_ngcontent-%COMP%]{width:100%}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-left-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:inline-flex;padding:15px;margin:0;font-family:var(--typography-font-family_txt-button, "Roboto-Medium");line-height:var(--typography-line-height_txt-button, normal);letter-spacing:var(--typography-letter-spacing_txt-button, normal);font-size:var(--typography-font-size_txt-button, 14px);text-transform:var(--typography-text-transform_txt-button, uppercase);color:var(--color_core-button-outline, var(--wo_text_high_emphasis));background-color:var(--background-color_core-button-outline, transparent);border:var(--border_core-button-outline, 2px solid var(--wo_primary));border-radius:var(--border-radius_core-button-outline, 3px);width:100%;justify-content:center;cursor:pointer}@media (max-width: 992px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-left-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{line-height:var(--typography-line-height_txt-button_tablet, normal);letter-spacing:var(--typography-letter-spacing_txt-button_tablet, normal);font-size:var(--typography-font-size_txt-button_tablet, 14px);text-transform:var(--typography-text-transform_txt-button_tablet, uppercase)}}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-left-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{line-height:var(--typography-line-height_txt-button_mobile, normal);letter-spacing:var(--typography-letter-spacing_txt-button_mobile, normal);font-size:var(--typography-font-size_txt-button_mobile, 14px);text-transform:var(--typography-text-transform_txt-button_mobile, uppercase)}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-left-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:var(--wo_secondary_hover, rgba(35, 128, 1, .0784313725))}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-left-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{opacity:.38}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-left-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:var(--wo_primary_hover, rgba(5, 52, 218, .0784313725))}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-right-actions[_ngcontent-%COMP%]{background-color:unset;display:flex;flex-direction:column;gap:unset;width:50%;height:unset;padding:0;margin:0}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-right-actions[_ngcontent-%COMP%]{width:100%}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-right-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:inline-flex;padding:15px;margin:0;font-family:var(--typography-font-family_txt-button, "Roboto-Medium");line-height:var(--typography-line-height_txt-button, normal);letter-spacing:var(--typography-letter-spacing_txt-button, normal);font-size:var(--typography-font-size_txt-button, 14px);text-transform:var(--typography-text-transform_txt-button, uppercase);color:var(--color_core-button, var(--wo_on_button_container));background-color:var(--background-color_core-button, var(--wo_primary_button));border:var(--border_core-button, 2px solid var(--wo_primary_button));
1box-shadow:var(--box-shadow_core-button, 0 .5px 2px 0 var(--wo_box_shadow, rgba(0, 0, 0, .25)));border-radius:var(--border-radius_core-button, 3px);justify-content:center;cursor:pointer;width:100%}@media (max-width: 992px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-right-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{line-height:var(--typography-line-height_txt-button_tablet, normal);letter-spacing:var(--typography-letter-spacing_txt-button_tablet, normal);font-size:var(--typography-font-size_txt-button_tablet, 14px);text-transform:var(--typography-text-transform_txt-button_tablet, uppercase)}}@media (max-width: 576px){[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-right-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{line-height:var(--typography-line-height_txt-button_mobile, normal);letter-spacing:var(--typography-letter-spacing_txt-button_mobile, normal);font-size:var(--typography-font-size_txt-button_mobile, 14px);text-transform:var(--typography-text-transform_txt-button_mobile, uppercase)}}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-right-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:var(--wo_secondary_hover, rgba(35, 128, 1, .0784313725))}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-right-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{opacity:.38}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-right-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:var(--wo_button_container_hover, #8D9FDE);border-color:var(--wo_button_container_hover, #8D9FDE)}[_nghost-%COMP%] .wo-scan-component[_ngcontent-%COMP%] footer[_ngcontent-%COMP%] .wo-right-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--wo_primary_button, #9BAEF0);border:2px solid var(--wo_primary_button, #9BAEF0);opacity:1}[_nghost-%COMP%] .wo-breadcrumbs-component[_ngcontent-%COMP%]{text-align:left;padding:15px 60px;z-index:2;background-color:var(--wo_background, #F4F4F5);box-shadow:0 .5px 2px 0 var(--wo_box_shadow, rgba(0, 0, 0, .25));width:100%}@media (max-width: 1510px){[_nghost-%COMP%] .wo-breadcrumbs-component[_ngcontent-%COMP%]{padding:15px 40px}}@media (max-width: 992px){[_nghost-%COMP%] .wo-breadcrumbs-component[_ngcontent-%COMP%]{padding:15px 25px}}@media (max-width: 576px){[_nghost-%COMP%] .wo-breadcrumbs-component[_ngcontent-%COMP%]{padding:10px 15px}}[_nghost-%COMP%] .wo-breadcrumbs-component[_ngcontent-%COMP%] span{display:inline-flex;padding:0;margin:0;font-family:var(--typography-font-family_txt-overline, "Roboto-Regular");line-height:var(--typography-line-height_txt-overline, normal);letter-spacing:var(--typography-letter-spacing_txt-overline, normal);font-size:var(--typography-font-size_txt-overline, 12px);text-transform:var(--typography-text-transform_txt-overline, uppercase);color:var(--wo_text_mid_emphasis, rgba(0, 0, 0, .6))}@media (max-width: 992px){[_nghost-%COMP%] .wo-breadcrumbs-component[_ngcontent-%COMP%] span{line-height:var(--typography-line-height_txt-overline_tablet, normal);letter-spacing:var(--typography-letter-spacing_txt-overline_tablet, normal);font-size:var(--typography-font-size_txt-overline_tablet, 12px);text-transform:var(--typography-text-transform_txt-overline_tablet, uppercase)}}@media (max-width: 576px){[_nghost-%COMP%] .wo-breadcrumbs-component[_ngcontent-%COMP%] span{line-height:var(--typography-line-height_txt-overline_mobile, normal);letter-spacing:var(--typography-letter-spacing_txt-overline_mobile, normal);font-size:var(--typography-font-size_txt-overline_mobile, 12px);text-transform:var(--typography-text-transform_txt-overline_mobile, uppercase)}}']}),T})()}];let B=(()=>{class T{}return T.\u0275fac=function(F){return new(F||T)},T.\u0275mod=d.\u0275\u0275defineNgModule({type:T}),T.\u0275inj=d.\u0275\u0275defineInjector({imports:[b.Bz.forChild(j),b.Bz]}),T})(),Q=(()=>{class T{}return T.\u0275fac=function(F){return new(F||T)},T.\u0275mod=d.\u0275\u0275defineNgModule({type:T}),T.\u0275inj=d.\u0275\u0275defineInjector({imports:[v.ez,B,n.aw,g,a.J,_]}),T})()},56697:function(ct){var h;h=function(at){return function(h){function v(e){if(a[e])return a[e].exports;var s=a[e]={i:e,l:!1,exports:{}};return h[e].call(s.exports,s,s.exports,v),s.l=!0,s.exports}var a={};return v.m=h,v.c=a,v.i=function(e){return e},v.d=function(e,s,u){v.o(e,s)||Object.defineProperty(e,s,{configurable:!1,enumerable:!0,get:u})}
1,v.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return v.d(s,"a",s),s},v.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},v.p="/",v(v.s=166)}([function(h,v){h.exports=function a(e){var s=typeof e;return null!=e&&("object"==s||"function"==s)}},function(h,v,a){"use strict";function e(u,i){return this._row=[],this.config=u||{},this.supplements=i,this}var s=a(3);e.prototype._nextUnset=function(u,i){var r;for(void 0===i&&(i=0),r=i;r<u.length;r++)if(!u[r])return r;return u.length},e.prototype._matchPattern=function(u,i,r){var n,t,c,f=0,l=0,p=0,d=0;for(r=r||this.SINGLE_CODE_ERROR||1,n=0;n<u.length;n++)p+=u[n],d+=i[n];if(p<d)return Number.MAX_VALUE;for(r*=t=p/d,n=0;n<u.length;n++){if(c=i[n]*t,(l=Math.abs(u[n]-c)/c)>r)return Number.MAX_VALUE;f+=l}return f/d},e.prototype._nextSet=function(u,i){var r;for(r=i=i||0;r<u.length;r++)if(u[r])return r;return u.length},e.prototype._correctBars=function(u,i,r){for(var n=r.length,t=0;n--;)(t=u[r[n]]*(1-(1-i)/2))>1&&(u[r[n]]=t)},e.prototype._matchTrace=function(u,i){var r,t=[],o=this,c=o._nextSet(o._row),f=!o._row[c],l=0,p={error:Number.MAX_VALUE,code:-1,start:0};if(u){for(r=0;r<u.length;r++)t.push(0);for(r=c;r<o._row.length;r++)if(o._row[r]^f)t[l]++;else{if(l===t.length-1)return o._matchPattern(t,u)<i?(p.start=r-c,p.end=r,p.counter=t,p):null;t[++l]=1,f=!f}}else for(t.push(0),r=c;r<o._row.length;r++)o._row[r]^f?t[l]++:(l++,t.push(0),t[l]=1,f=!f);return p.start=c,p.end=o._row.length-1,p.counter=t,p},e.prototype.decodePattern=function(u){var i,r=this;return r._row=u,null===(i=r._decode())?(r._row.reverse(),(i=r._decode())&&(i.direction=e.DIRECTION.REVERSE,i.start=r._row.length-i.start,i.end=r._row.length-i.end)):i.direction=e.DIRECTION.FORWARD,i&&(i.format=r.FORMAT),i},e.prototype._matchRange=function(u,i,r){var n;for(n=u=u<0?0:u;n<i;n++)if(this._row[n]!==r)return!1;return!0},e.prototype._fillCounters=function(u,i,r){var n,t=this,o=0,c=[];for(r=void 0===r||r,u=void 0!==u?u:t._nextUnset(t._row),i=i||t._row.length,c[o]=0,n=u;n<i;n++)t._row[n]^r?c[o]++:(c[++o]=1,r=!r);return c},e.prototype._toCounters=function(u,i){var r,n=this,t=i.length,o=n._row.length,c=!n._row[u],f=0;for(s.a.init(i,0),r=u;r<o;r++)if(n._row[r]^c)i[f]++;else{if(++f===t)break;i[f]=1,c=!c}return i},Object.defineProperty(e.prototype,"FORMAT",{value:"unknown",writeable:!1}),e.DIRECTION={FORWARD:1,REVERSE:-1},e.Exception={StartNotFoundException:"Start-Info was not found!",CodeNotFoundException:"Code could not be found!",PatternNotFoundException:"Pattern could not be found!"},e.CONFIG_KEYS={},v.a=e},function(h,v){h.exports=Array.isArray},function(h,v,a){"use strict";v.a={init:function(e,s){for(var u=e.length;u--;)e[u]=s},shuffle:function(e){for(var s,u,i=e.length-1;i>=0;i--)s=Math.floor(Math.random()*i),u=e[i],e[i]=e[s],e[s]=u;return e},toPointList:function(e){var s,u,i=[],r=[];for(s=0;s<e.length;s++){for(i=[],u=0;u<e[s].length;u++)i[u]=e[s][u];r[s]="["+i.join(",")+"]"}return"["+r.join(",\r\n")+"]"},threshold:function(e,s,u){var i,r=[];for(i=0;i<e.length;i++)u.apply(e,[e[i]])>=s&&r.push(e[i]);return r},maxIndex:function(e){var s,u=0;for(s=0;s<e.length;s++)e[s]>e[u]&&(u=s);return u},max:function(s){var u,i=0;for(u=0;u<s.length;u++)s[u]>i&&(i=s[u]);return i},sum:function(s){for(var u=s.length,i=0;u--;)i+=s[u];return i}}},function(h,v,a){"use strict";function e(o,c){o=i()(function s(){var o={};return Object.keys(e.CONFIG_KEYS).forEach(function(c){o[c]=e.CONFIG_KEYS[c].default}),o}(),o),r.a.call(this,o,c)}var u=a(28),i=a.n(u),r=a(1),n=Object.assign||function(o){for(var c=1;c<arguments.length;c++){var f=arguments[c];for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(o[l]=f[l])}return o};(e.prototype=Object.create(r.a.prototype,{CODE_L_START:{value:0},CODE_G_START:{value:10},START_PATTERN:{value:[1,1,1]},STOP_PATTERN:{value:[1,1,1]},MIDDLE_PATTERN:{value:[1,1,1,1,1]},EXTENSION_START_PATTERN:{value:[1,1,2]},CODE_PATTERN:{value:[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2],[1,1,2,3],[1,2,2,2],[2,2,1,2],[1,1,4,1],[2,3,1,1],[1,3,2,1],[4,1,1,1],[2,1,3,1],[3,1,2,1],[2,1,1,3]]},CODE_FREQUENCY:{value:[0,11,13,14,19,25,28,21,22,26]},SINGLE_CODE_ERROR:{value:.7},AVG_CODE_ERROR:{value:.48},FORMAT:{value:"ean_13",writeable:!1}})).constructor=e,e.prototype._decodeCode=function(o,c){var f,l,p,d=[0,0,0,0],g=this,b=!g._row[o],y=0,x={error:Number.MAX_VALUE,code:-1,start:o,end:o};for(c||(c=g.CODE_PATTERN.length),f=o;f<g._row.length;f++)if(g._row[f]^b)d[y]++;else{if(y===d.length-1){for(l=0;l<c;l++)(p=g._matchPattern(d,g.CODE_PATTERN[l]))<x.error&&(x.code=l,x.error=p);return x.end=f,x.error>
1g.AVG_CODE_ERROR?null:x}d[++y]=1,b=!b}return null},e.prototype._findPattern=function(o,c,f,l,p){var d,g,_,b,y=[],x=this,C=0,E={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(c||(c=x._nextSet(x._row)),void 0===f&&(f=!1),void 0===l&&(l=!0),void 0===p&&(p=x.AVG_CODE_ERROR),d=0;d<o.length;d++)y[d]=0;for(d=c;d<x._row.length;d++)if(x._row[d]^f)y[C]++;else{if(C===y.length-1){for(b=0,_=0;_<y.length;_++)b+=y[_];if((g=x._matchPattern(y,o))<p)return E.error=g,E.start=d-b,E.end=d,E;if(!l)return null;for(_=0;_<y.length-2;_++)y[_]=y[_+2];y[y.length-2]=0,y[y.length-1]=0,C--}else C++;y[C]=1,f=!f}return null},e.prototype._findStart=function(){for(var o,c,f=this,l=f._nextSet(f._row);!c;){if(!(c=f._findPattern(f.START_PATTERN,l)))return null;if((o=c.start-(c.end-c.start))>=0&&f._matchRange(o,c.start,0))return c;l=c.end,c=null}},e.prototype._verifyTrailingWhitespace=function(o){var c;return(c=o.end+(o.end-o.start))<this._row.length&&this._matchRange(o.end,c,0)?o:null},e.prototype._findEnd=function(o,c){var f=this,l=f._findPattern(f.STOP_PATTERN,o,c,!1);return null!==l?f._verifyTrailingWhitespace(l):null},e.prototype._calculateFirstDigit=function(o){var c;for(c=0;c<this.CODE_FREQUENCY.length;c++)if(o===this.CODE_FREQUENCY[c])return c;return null},e.prototype._decodePayload=function(o,c,f){var l,p,d=this,g=0;for(l=0;l<6;l++){if(!(o=d._decodeCode(o.end)))return null;o.code>=d.CODE_G_START?(o.code=o.code-d.CODE_G_START,g|=1<<5-l):g|=0<<5-l,c.push(o.code),f.push(o)}if(null===(p=d._calculateFirstDigit(g))||(c.unshift(p),null===(o=d._findPattern(d.MIDDLE_PATTERN,o.end,!0,!1))))return null;for(f.push(o),l=0;l<6;l++){if(!(o=d._decodeCode(o.end,d.CODE_G_START)))return null;f.push(o),c.push(o.code)}return o},e.prototype._decode=function(){var o,c,f=this,l=[],p=[],d={};if(!((o=f._findStart())&&(c={code:o.code,start:o.start,end:o.end},p.push(c),c=f._decodePayload(c,l,p))&&(c=f._findEnd(c.end,!1))&&(p.push(c),f._checksum(l))))return null;if(this.supplements.length>0){var g=this._decodeExtensions(c.end);if(!g)return null;var _=g.decodedCodes[g.decodedCodes.length-1];if(!f._verifyTrailingWhitespace({start:_.start+((_.end-_.start)/2|0),end:_.end}))return null;d={supplement:g,code:l.join("")+g.code}}return n({code:l.join(""),start:o.start,end:c.end,codeset:"",startInfo:o,decodedCodes:p},d)},e.prototype._decodeExtensions=function(o){var c,f,l=this._nextSet(this._row,o),p=this._findPattern(this.EXTENSION_START_PATTERN,l,!1,!1);if(null===p)return null;for(c=0;c<this.supplements.length;c++)if(null!==(f=this.supplements[c].decode(this._row,p.end)))return{code:f.code,start:l,startInfo:p,end:f.end,codeset:"",decodedCodes:f.decodedCodes};return null},e.prototype._checksum=function(o){var c,f=0;for(c=o.length-2;c>=0;c-=2)f+=o[c];for(f*=3,c=o.length-1;c>=0;c-=2)f+=o[c];return f%10==0},e.CONFIG_KEYS={supplements:{type:"arrayOf(string)",default:[],description:"Allowed extensions to be decoded (2 and/or 5)"}},v.a=e},function(h,v,a){var e=a(38),s="object"==typeof self&&self&&self.Object===Object&&self,u=e||s||Function("return this")();h.exports=u},function(h,v){h.exports=function a(e){return null!=e&&"object"==typeof e}},function(h,v){h.exports=function a(e){var s=new Float32Array(2);return s[0]=e[0],s[1]=e[1],s}},function(h,v,a){var s=a(11),u=a(119),i=a(146),t=s?s.toStringTag:void 0;h.exports=function e(o){return null==o?void 0===o?"[object Undefined]":"[object Null]":t&&t in Object(o)?u(o):i(o)}},function(h,v,a){"use strict";v.a={drawRect:function(e,s,u,i){u.strokeStyle=i.color,u.fillStyle=i.color,u.lineWidth=1,u.beginPath(),u.strokeRect(e.x,e.y,s.x,s.y)},drawPath:function(e,s,u,i){u.strokeStyle=i.color,u.fillStyle=i.color,u.lineWidth=i.lineWidth,u.beginPath(),u.moveTo(e[0][s.x],e[0][s.y]);for(var r=1;r<e.length;r++)u.lineTo(e[r][s.x],e[r][s.y]);u.closePath(),u.stroke()},drawImage:function(e,s,u){var i,r=u.getImageData(0,0,s.x,s.y),n=r.data,t=e.length,o=n.length;if(o/t!=4)return!1;for(;t--;)i=e[t],n[--o]=255,n[--o]=i,n[--o]=i,n[--o]=i;return u.putImageData(r,0,0),!0}}},function(h,v,a){function e(t){var o=-1,c=null==t?0:t.length;for(this.clear();++o<c;){var f=t[o];this.set(f[0],f[1])}}var s=a(133),u=a(134),i=a(135),r=a(136),n=a(137);e.prototype.clear=s,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=r,e.prototype.set=n,h.exports=e},function(h,v,a){var e=a(5);h.exports=e.Symbol},function(h,v,a){var s=a(17);h.exports=function e(u,i){for(var r=u.length;r--;)if(s(u[r][0],i))return r;return-1}},function(h,v,a){var s=a(2),u=a(130),i=a(154),r=a(165);h.exports=function e(n,t){return s(n)?n:u(n,t)?[n]:i(r(n))}},function(h,v,a){var s=a(131);h.exports=function e(u,i){var r=u.__data__;return s(i)?r["string"==typeof i?"string":"hash"]:r.map}},function(h,v){var s=/^(?:0|[1-9]\d*)$/;h.exports=function a(u,i){return!!(i=i??9007199254740991)&&("number"==typeof u||s.test(u))&&u>-1&&u%1==0&&u<i}},function(h,v,a){var s=a(22)(Object,"create");h.exports=s},function(h,v){h.exports=function a(e,s){return e===s||e!=e&&s!=s}},function(h,v,a){var e=a(96),s=a(6),u=Object.prototype,i=u.hasOwnProperty,r=u.propertyIsEnumerable,n=e(function(){return arguments}())?e:function(t){return s(t)&&i.call(t,"callee")&&!r.call(t,"callee")};h.exports=n},function(h,v,a){"use strict";function p(O){var m,M=[],P=[];for(m=1;m<Math.sqrt(O)+1;m++)O%m==0&&(P.push(m),m!==O/m&&M.unshift(Math.floor(O/m)));return P.concat(M)}var y=a(50),x=a(3);v.b=function e(O,m){return{x:O,y:m,toVec2:function(){return C.clone([this.x,this.y])},toVec3:function(){return E.clone([this.x,this.y,1])},round:function(){return this.x=this.x>0?Math.floor(this.x+.5):Math.floor(this.x-.5),this.y=this.y>0?Math.floor(this.y+.5):Math.floor(this.y-.5),this}}},v.f=function r(O,m){var M=function i(O,m){function M(V,A){var R,N=0;for(R=V;R<=A;R++)N+=I[R];return N}function P(V,A){var R,N=0;for(R=V;R<=A;R++)N+=R*I[R];return N}m||(m=8);var I,G=8-m;return function S(){var V,A,R,N,X,$,D,L=[0],k=(1<<m)-1;for(I=function u(O,m){m||(m=8);for(var M=O.data,P=M.length,S=8-m,G=new Int32Array(1<<m);P--;)G[M[P]>>S]++;return G}(O,m),N=1;N<k;N++)0==(R=(V=M(0,N))*(A=M(N+1,k)))&&(R=1),X=P(0,N)*A,$=P(N+1,k)*V,L[N]=(D=X-$)*D/R;return x.a.maxIndex(L)}()<<G}(O);return function s(O,m,M){M||(M=O);for(var P=O.data,S=P.length,I=M.data;S--;)I[S]=P[S]<m?1:0}(O,M,m),M},v.g=function n(O,m,M){function P(R){var N=!1;for(I=0;I<A.length;I++)(G=A[I]).fits(R)&&(G.add(R),N=!0);return N}var S,I,G,V,A=[];for(M||(M="rad"),S=0;S<O.length;
1S++)P(V=y.a.createPoint(O[S],S,M))||A.push(y.a.create(V,m));return A},v.h=function t(O,m,M){var P,S,I,G,V=0,A=0,R=[];for(P=0;P<m;P++)R[P]={score:0,item:null};for(P=0;P<O.length;P++)if((S=M.apply(this,[O[P]]))>A)for((I=R[V]).score=S,I.item=O[P],A=Number.MAX_VALUE,G=0;G<m;G++)R[G].score<A&&(A=R[G].score,V=G);return R},v.c=function o(O,m,M){for(var P,S=0,I=m.x,G=Math.floor(O.length/4),V=m.x/2,A=0,R=m.x;I<G;){for(P=0;P<V;P++)M[A]=(.299*O[4*S+0]+.587*O[4*S+1]+.114*O[4*S+2]+(.299*O[4*(S+1)+0]+.587*O[4*(S+1)+1]+.114*O[4*(S+1)+2])+(.299*O[4*I+0]+.587*O[4*I+1]+.114*O[4*I+2])+(.299*O[4*(I+1)+0]+.587*O[4*(I+1)+1]+.114*O[4*(I+1)+2]))/4,A++,S+=2,I+=2;S+=R,I+=R}},v.d=function c(O,m,M){var P,S=O.length/4|0;if(M&&!0===M.singleChannel)for(P=0;P<S;P++)m[P]=O[4*P+0];else for(P=0;P<S;P++)m[P]=.299*O[4*P+0]+.587*O[4*P+1]+.114*O[4*P+2]},v.i=function f(O,m){for(var M=O.data,P=O.size.x,S=m.data,I=0,G=P,V=M.length,A=P/2,R=0;G<V;){for(var N=0;N<A;N++)S[R]=Math.floor((M[I]+M[I+1]+M[G]+M[G+1])/4),R++,I+=2,G+=2;I+=P,G+=P}},v.a=function l(O,m){var M=O[0],S=O[2],I=S*O[1],G=I*(1-Math.abs(M/60%2-1)),V=S-I,A=0,R=0,N=0;return M<60?(A=I,R=G):M<120?(A=G,R=I):M<180?(R=I,N=G):M<240?(R=G,N=I):M<300?(A=G,N=I):M<360&&(A=I,N=G),(m=m||[0,0,0])[0]=255*(A+V)|0,m[1]=255*(R+V)|0,m[2]=255*(N+V)|0,m},v.e=function g(O,m){function M(D){for(var L=0,k=D[Math.floor(D.length/2)];L<D.length-1&&D[L]<$;)L++;return L>0&&(k=Math.abs(D[L]-$)>Math.abs(D[L-1]-$)?D[L-1]:D[L]),$/k<A[N+1]/A[N]&&$/k>A[N-1]/A[N]?{x:k,y:k}:null}var P,S=p(m.x),I=p(m.y),G=Math.max(m.x,m.y),V=function d(O,m){for(var M=0,P=0,S=[];M<O.length&&P<m.length;)O[M]===m[P]?(S.push(O[M]),M++,P++):O[M]>m[P]?P++:M++;return S}(S,I),A=[8,10,15,20,32,60,80],R={"x-small":5,small:4,medium:3,large:2,"x-large":1},N=R[O]||R.medium,X=A[N],$=Math.floor(G/X);return(P=M(V))||(P=M(p(G)))||(P=M(p($*X))),P},v.j=function b(O,m,M){var P={width:O,height:m},S=Object.keys(M).reduce(function(I,G){var A=function _(O){return{value:parseFloat(O),unit:(O.indexOf("%"),"%")}}(M[G]),R=z[G](A,P);return I[G]=R,I},{});return{sx:S.left,sy:S.top,sw:S.right-S.left,sh:S.bottom-S.top}};var C={clone:a(7)},E={clone:a(83)},z={top:function(O,m){if("%"===O.unit)return Math.floor(m.height*(O.value/100))},right:function(O,m){if("%"===O.unit)return Math.floor(m.width-m.width*(O.value/100))},bottom:function(O,m){if("%"===O.unit)return Math.floor(m.height-m.height*(O.value/100))},left:function(O,m){if("%"===O.unit)return Math.floor(m.width*(O.value/100))}}},function(h,v,a){"use strict";function e(n,t,o,c){t?this.data=t:o?(this.data=new o(n.x*n.y),o===Array&&c&&i.a.init(this.data,0)):(this.data=new Uint8Array(n.x*n.y),Uint8Array===Array&&c&&i.a.init(this.data,0)),this.size=n}var s=a(53),u=a(19),i=a(3),r={clone:a(7)};e.prototype.inImageWithBorder=function(n,t){return n.x>=t&&n.y>=t&&n.x<this.size.x-t&&n.y<this.size.y-t},e.sample=function(n,t,o){var c=Math.floor(t),f=Math.floor(o),l=n.size.x,p=f*n.size.x+c,d=n.data[p+0],_=n.data[p+l],y=d-n.data[p+1];return t-=c,o-=f,Math.floor(t*(o*(y-_+n.data[p+l+1])-y)+o*(_-d)+d)},e.clearArray=function(n){for(var t=n.length;t--;)n[t]=0},e.prototype.subImage=function(n,t){return new s.a(n,t,this)},e.prototype.subImageAsCopy=function(n,t){var o,c,f=n.size.y,l=n.size.x;for(o=0;o<l;o++)for(c=0;c<f;c++)n.data[c*l+o]=this.data[(t.y+c)*this.size.x+t.x+o]},e.prototype.copyTo=function(n){for(var t=this.data.length,o=this.data,c=n.data;t--;)c[t]=o[t]},e.prototype.get=function(n,t){return this.data[t*this.size.x+n]},e.prototype.getSafe=function(n,t){var o;if(!this.indexMapping){for(this.indexMapping={x:[],y:[]},o=0;o<this.size.x;o++)this.indexMapping.x[o]=o,this.indexMapping.x[o+this.size.x]=o;for(o=0;o<this.size.y;o++)this.indexMapping.y[o]=o,this.indexMapping.y[o+this.size.y]=o}return this.data[this.indexMapping.y[t+this.size.y]*this.size.x+this.indexMapping.x[n+this.size.x]]},e.prototype.set=function(n,t,o){return this.data[t*this.size.x+n]=o,this},e.prototype.zeroBorder=function(){var n,t=this.size.x,o=this.size.y,c=this.data;for(n=0;n<t;n++)c[n]=c[(o-1)*t+n]=0;for(n=1;n<o-1;n++)c[n*t]=c[n*t+(t-1)]=0},e.prototype.invert=function(){for(var n=this.data,t=n.length;t--;)n[t]=n[t]?0:1},e.prototype.convolve=function(n){var t,o,c,f,l=n.length/2|0,p=0;for(o=0;o<this.size.y;o++)for(t=0;t<this.size.x;t++){for(p=0,f=-l;f<=l;f++)for(c=-l;c<=l;c++)p+=n[f+l][c+l]*this.getSafe(t+c,o+f);this.data[o*this.size.x+t]=p}},e.prototype.moments=function(n){var t,o,c,f,l,p,d,b,y,x,C=this.data,E=this.size.y,z=this.size.x,O=[],m=[],M=Math.PI,P=M/4;if(n<=0)return m;for(l=0;l<n;l++)O[l]={m00:0,m01:0,m10:0,m11:0,m02:0,m20:0,theta:0,rad:0};for(o=0;o<E;o++)for(f=o*o,t=0;t<z;t++)(c=C[o*z+t])>0&&((p=O[c-1]).m00+=1,p.m01+=o,p.m10+=t,p.m11+=t*o,p.m02+=f,p.m20+=t*t);for(l=0;l<n;l++)p=O[l],isNaN(p.m00)||0===p.m00||(x=(p.m02/p.m00-(y=p.m01/p.m00)*y-(p.m20/p.m00-(b=p.m10/p.m00)*b))/(2*(d=p.m11/p.m00-b*y)),x=.5*Math.atan(x)+(d>=0?P:-P)+M,p.theta=(180*x/M+90)%180-90,p.theta<0&&(p.theta+=180),p.rad=x>M?x-M:x,p.vec=r.clone([Math.cos(x),Math.sin(x)]),m.push(p));return m},e.prototype.show=function(n,t){var o,c,f,l,p,d,g;for(t||(t=1),o=n.getContext("2d"),n.width=this.size.x,n.height=this.size.y,f=(c=o.getImageData(0,0,n.width,n.height)).data,l=0,g=0;g<this.size.y;g++)for(d=0;d<this.size.x;d++)p=g*this.size.x+d,l=this.get(d,g)*t,f[4*p+0]=l,f[4*p+1]=l,f[4*p+2]=l,f[4*p+3]=255;o.putImageData(c,0,0)},e.prototype.overlay=function(n,t,o){(!t||t<0||t>360)&&(t=360);for(var c=[0,1,1],f=[0,0,0],l=[255,255,255],p=[0,0,0],d=[],g=n.getContext("2d"),_=g.getImageData(o.x,o.y,this.size.x,this.size.y),b=_.data,y=this.data.length;y--;)c[0]=this.data[y]*t,d=c[0]<=0?l:c[0]>=360?p:a.i(u.a)(c,f),b[4*y+0]=d[0],b[4*y+1]=d[1],b[4*y+2]=d[2],b[4*y+3]=255;g.putImageData(_,o.x,o.y)},v.a=e},function(h,v,a){var s=a(37);
1h.exports=function e(u,i,r){"__proto__"==i&&s?s(u,i,{configurable:!0,enumerable:!0,value:r,writable:!0}):u[i]=r}},function(h,v,a){var s=a(97),u=a(120);h.exports=function e(i,r){var n=u(i,r);return s(n)?n:void 0}},function(h,v,a){var s=a(27);h.exports=function e(i){if("string"==typeof i||s(i))return i;var r=i+"";return"0"==r&&1/i==-Infinity?"-0":r}},function(h,v,a){var s=a(25),u=a(26);h.exports=function e(i){return null!=i&&u(i.length)&&!s(i)}},function(h,v,a){var s=a(8),u=a(0);h.exports=function e(o){if(!u(o))return!1;var c=s(o);return"[object Function]"==c||"[object GeneratorFunction]"==c||"[object AsyncFunction]"==c||"[object Proxy]"==c}},function(h,v){h.exports=function a(s){return"number"==typeof s&&s>-1&&s%1==0&&s<=9007199254740991}},function(h,v,a){var s=a(8),u=a(6);h.exports=function e(r){return"symbol"==typeof r||u(r)&&"[object Symbol]"==s(r)}},function(h,v,a){var e=a(100),u=a(116)(function(i,r,n){e(i,r,n)});h.exports=u},function(h,v){h.exports=function(a){return a.webpackPolyfill||(a.deprecate=function(){},a.paths=[],a.children||(a.children=[]),Object.defineProperty(a,"loaded",{enumerable:!0,get:function(){return a.l}}),Object.defineProperty(a,"id",{enumerable:!0,get:function(){return a.i}}),a.webpackPolyfill=1),a}},function(h,v,a){"use strict";v.a={searchDirections:[[0,1],[1,1],[1,0],[1,-1],[0,-1],[-1,-1],[-1,0],[-1,1]],create:function(s,u){function i(p,d,g,_){var b,y,x;for(b=0;b<7;b++){if(o[t=(y=p.cy+f[p.dir][0])*l+(x=p.cx+f[p.dir][1])]===d&&(0===c[t]||c[t]===g))return c[t]=g,p.cy=y,p.cx=x,!0;0===c[t]&&(c[t]=_),p.dir=(p.dir+1)%8}return!1}function r(p,d,g){return{dir:g,x:p,y:d,next:null,prev:null}}var t,o=s.data,c=u.data,f=this.searchDirections,l=s.size.x;return{trace:function(p,d,g,_){return i(p,d,g,_)},contourTracing:function(p,d,g,_,b){return function n(p,d,g,_,b){var y,x,C,E=null,z={cx:d,cy:p,dir:0};if(i(z,_,g,b)){y=E=r(d,p,z.dir),C=z.dir,(x=r(z.cx,z.cy,0)).prev=y,y.next=x,x.next=null,y=x;do{z.dir=(z.dir+6)%8,i(z,_,g,b),C!==z.dir?(y.dir=z.dir,(x=r(z.cx,z.cy,0)).prev=y,y.next=x,x.next=null,y=x):(y.dir=C,y.x=z.cx,y.y=z.cy),C=z.dir}while(z.cx!==d||z.cy!==p);E.prev=y.prev,y.prev.next=E}return E}(p,d,g,_,b)}}}}},function(h,v,a){"use strict";function e(){s.a.call(this)}var s=a(1),u=a(3);(e.prototype=Object.create(s.a.prototype,{ALPHABETH_STRING:{value:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *$/+%"},ALPHABET:{value:[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,45,46,32,42,36,47,43,37]},CHARACTER_ENCODINGS:{value:[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,148,168,162,138,42]},ASTERISK:{value:148},FORMAT:{value:"code_39",writeable:!1}})).constructor=e,e.prototype._decode=function(){var r,n,t,o,c=this,f=[0,0,0,0,0,0,0,0,0],l=[],p=c._findStart();if(!p)return null;o=c._nextSet(c._row,p.end);do{if(f=c._toCounters(o,f),(t=c._toPattern(f))<0||(r=c._patternToChar(t))<0)return null;l.push(r),n=o,o+=u.a.sum(f),o=c._nextSet(c._row,o)}while("*"!==r);return l.pop(),l.length&&c._verifyTrailingWhitespace(n,o,f)?{code:l.join(""),start:p.start,end:o,startInfo:p,decodedCodes:l}:null},e.prototype._verifyTrailingWhitespace=function(r,n,t){var o=u.a.sum(t);return 3*(n-r-o)>=o},e.prototype._patternToChar=function(r){var n,t=this;for(n=0;n<t.CHARACTER_ENCODINGS.length;n++)if(t.CHARACTER_ENCODINGS[n]===r)return String.fromCharCode(t.ALPHABET[n]);return-1},e.prototype._findNextWidth=function(r,n){var t,o=Number.MAX_VALUE;for(t=0;t<r.length;t++)r[t]<o&&r[t]>n&&(o=r[t]);return o},e.prototype._toPattern=function(r){for(var n,t,o=r.length,c=0,f=o,l=0;f>3;){for(c=this._findNextWidth(r,c),f=0,n=0,t=0;t<o;t++)r[t]>c&&(n|=1<<o-1-t,f++,l+=r[t]);if(3===f){for(t=0;t<o&&f>0;t++)if(r[t]>c&&(f--,2*r[t]>=l))return-1;return n}}return-1},e.prototype._findStart=function(){var r,n,t,o=this,c=o._nextSet(o._row),f=c,l=[0,0,0,0,0,0,0,0,0],p=0,d=!1;for(r=c;r<o._row.length;r++)if(o._row[r]^d)l[p]++;else{if(p===l.length-1){if(o._toPattern(l)===o.ASTERISK&&(t=Math.floor(Math.max(0,f-(r-f)/4)),o._matchRange(t,f,0)))return{start:f,end:r};for(f+=l[0]+l[1],n=0;n<7;n++)l[n]=l[n+2];l[7]=0,l[8]=0,p--}else p++;l[p]=1,d=!d}return null},v.a=e},function(h,v){h.exports=function a(e,s){return e[0]*s[0]+e[1]*s[1]}},function(h,v,a){var u=a(22)(a(5),"Map");h.exports=u},function(h,v,a){function e(t){var o=-1,c=null==t?0:t.length;for(this.clear();++o<c;){var f=t[o];this.set(f[0],f[1])}}var s=a(138),u=a(139),i=a(140),r=a(141),n=a(142);e.prototype.clear=s,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=r,e.prototype.set=n,h.exports=e},function(h,v,a){var s=a(21),u=a(17);h.exports=function e(i,r,n){(void 0===n||u(i[r],n))&&(void 0!==n||r in i)||s(i,r,n)}},function(h,v,a){var s=a(21),u=a(17),r=Object.prototype.hasOwnProperty;h.exports=function e(n,t,o){var c=n[t];r.call(n,t)&&u(c,o)&&(void 0!==o||t in n)||s(n,t,o)}},function(h,v,a){var e=a(22),s=function(){try{var u=e(Object,"defineProperty");return u({},"",{}),u}catch{}}();h.exports=s},function(h,v,a){(function(e){h.exports="object"==typeof e&&e&&e.Object===Object&&e}).call(v,a(47))},function(h,v,a){var s=a(147)(Object.getPrototypeOf,Object);h.exports=s},function(h,v){var e=Object.prototype;
1h.exports=function a(s){var u=s&&s.constructor;return s===("function"==typeof u&&u.prototype||e)}},function(h,v,a){var s=a(87),u=Math.max;h.exports=function e(i,r,n){return r=u(void 0===r?i.length-1:r,0),function(){for(var t=arguments,o=-1,c=u(t.length-r,0),f=Array(c);++o<c;)f[o]=t[r+o];o=-1;for(var l=Array(r+1);++o<r;)l[o]=t[o];return l[r]=n(f),s(i,this,l)}}},function(h,v,a){var e=a(106),u=a(148)(e);h.exports=u},function(h,v){h.exports=function a(e){return e}},function(h,v,a){(function(e){var s=a(5),u=a(163),i="object"==typeof v&&v&&!v.nodeType&&v,r=i&&"object"==typeof e&&e&&!e.nodeType&&e,t=r&&r.exports===i?s.Buffer:void 0;e.exports=(t?t.isBuffer:void 0)||u}).call(v,a(29)(h))},function(h,v,a){var e=a(98),s=a(109),u=a(145),i=u&&u.isTypedArray,r=i?s(i):e;h.exports=r},function(h,v,a){var s=a(88),u=a(99),i=a(24);h.exports=function e(r){return i(r)?s(r,!0):u(r)}},function(h,v){var a;a=function(){return this}();try{a=a||Function("return this")()||(0,eval)("this")}catch{"object"==typeof window&&(a=window)}h.exports=a},function(h,v,a){"use strict";function e(w){(function t(w){S=w||new X.a({x:m.getWidth(),y:m.getHeight()}),I=[H.clone([0,0]),H.clone([0,S.size.y]),H.clone([S.size.x,S.size.y]),H.clone([S.size.x,0])],$.a.init(S,q.locator)})(w),G=D.a.create(q.decoder,S)}function s(w){var U;if("VideoStream"===q.inputStream.type)U=document.createElement("video"),m=T.a.createVideoStream(U);else if("ImageStream"===q.inputStream.type)m=T.a.createImageStream();else if("LiveStream"===q.inputStream.type){var Y=u();Y&&((U=Y.querySelector("video"))||(U=document.createElement("video"),Y.appendChild(U))),m=T.a.createLiveStream(U),k.a.request(U,q.inputStream.constraints).then(function(){m.trigger("canrecord")}).catch(function(Z){return w(Z)})}m.setAttribute("preload","auto"),m.setInputStream(q.inputStream),m.addEventListener("canrecord",i.bind(void 0,w))}function u(){var w=q.inputStream.target;return w&&w.nodeName&&1===w.nodeType?w:document.querySelector("string"==typeof w?w:"#interactive.viewport")}function i(w){$.a.checkImageConstraints(m,q.locator),function n(){if(typeof document<"u"){var w=u();if(W.dom.image=document.querySelector("canvas.imgBuffer"),W.dom.image||(W.dom.image=document.createElement("canvas"),W.dom.image.className="imgBuffer",w&&"ImageStream"===q.inputStream.type&&w.appendChild(W.dom.image)),W.ctx.image=W.dom.image.getContext("2d"),W.dom.image.width=m.getCanvasSize().x,W.dom.image.height=m.getCanvasSize().y,W.dom.overlay=document.querySelector("canvas.drawingBuffer"),!W.dom.overlay){W.dom.overlay=document.createElement("canvas"),W.dom.overlay.className="drawingBuffer",w&&w.appendChild(W.dom.overlay);var U=document.createElement("br");U.setAttribute("clear","all"),w&&w.appendChild(U)}W.ctx.overlay=W.dom.overlay.getContext("2d"),W.dom.overlay.width=m.getCanvasSize().x,W.dom.overlay.height=m.getCanvasSize().y}}(),M=K.a.create(m,W.dom.image),O(q.numOfWorkers,function(){0===q.numOfWorkers&&e(),function r(w){m.play(),w()}(w)})}function c(w){function U(rt){for(var it=rt.length;it--;)rt[it][0]+=tt,rt[it][1]+=ot}var Z,nt=m.getTopRight(),tt=nt.x,ot=nt.y;if(0!==tt||0!==ot){if(w.barcodes)for(Z=0;Z<w.barcodes.length;Z++)c(w.barcodes[Z]);if(w.line&&2===w.line.length&&function Y(rt){rt[0].x+=tt,rt[0].y+=ot,rt[1].x+=tt,rt[1].y+=ot}(w.line),w.box&&U(w.box),w.boxes&&w.boxes.length>0)for(Z=0;Z<w.boxes.length;Z++)U(w.boxes[Z])}}function f(w,U){U&&V&&(w.barcodes?w.barcodes.filter(function(Y){return Y.codeResult}).forEach(function(Y){return f(Y,U)}):w.codeResult&&V.addResult(U,m.getCanvasSize(),w.codeResult))}function p(w,U){var Y=w;w&&et&&(c(w),f(w,U),Y=w.barcodes||w),L.a.publish("processed",Y),function l(w){return w&&(w.barcodes?w.barcodes.some(function(U){return U.codeResult}):w.codeResult)}(w)&&L.a.publish("detected",Y)}function d(){var w,U;(U=function o(){return q.locate?$.a.locate():[[H.clone(I[0]),H.clone(I[1]),H.clone(I[2]),H.clone(I[3])]]}())?((w=(w=G.decodeFromBoundingBoxes(U))||{}).boxes=U,p(w,S.data)):p()}function g(){var w;if(et){if(J.length>0){if(!(w=J.filter(function(U){return!U.busy})[0]))return;M.attachData(w.imageData)}else M.attachData(S.data);M.grab()&&(w?(w.busy=!0,w.worker.postMessage({cmd:"process",imageData:w.imageData},[w.imageData.buffer])):d())}else d()}function b(){et&&"LiveStream"===q.inputStream.type?function _(){var w=null,U=1e3/(q.frequency||60);P=!1,function Y(Z){w=w||Z,P||(Z>
1=w&&(w+=U,g()),window.requestAnimFrame(Y))}(performance.now())}():g()}function y(w){var U,Y={worker:void 0,imageData:new Uint8Array(m.getWidth()*m.getHeight()),busy:!0};U=function E(){var w,U;return void 0!==at&&(U=at),w=new Blob(["("+C.toString()+")("+U+");"],{type:"text/javascript"}),window.URL.createObjectURL(w)}(),Y.worker=new Worker(U),Y.worker.onmessage=function(Z){if("initialized"===Z.data.event)return URL.revokeObjectURL(U),Y.busy=!1,Y.imageData=new Uint8Array(Z.data.imageData),w(Y);"processed"===Z.data.event&&(Y.imageData=new Uint8Array(Z.data.imageData),Y.busy=!1,p(Z.data.result,Y.imageData))},Y.worker.postMessage({cmd:"init",size:{x:m.getWidth(),y:m.getHeight()},imageData:Y.imageData,config:x(q)},[Y.imageData.buffer])}function x(w){return F({},w,{inputStream:F({},w.inputStream,{target:null})})}function C(w){function U(tt){self.postMessage({event:"processed",imageData:nt.data,result:tt},[nt.data.buffer])}function Y(){self.postMessage({event:"initialized",imageData:nt.data},[nt.data.buffer])}if(w){var Z=w().default;if(!Z)return void self.postMessage({event:"error",message:"Quagga could not be created"})}var nt;self.onmessage=function(tt){if("init"===tt.data.cmd){var ot=tt.data.config;ot.numOfWorkers=0,nt=new Z.ImageWrapper({x:tt.data.size.x,y:tt.data.size.y},new Uint8Array(tt.data.imageData)),Z.init(ot,Y,nt),Z.onProcessed(U)}else"process"===tt.data.cmd?(nt.data=new Uint8Array(tt.data.imageData),Z.start()):"setReaders"===tt.data.cmd&&Z.setReaders(tt.data.readers)}}function O(w,U){var Y=w-J.length;if(0===Y)return U&&U();if(Y<0)return J.slice(Y).forEach(function(tt){tt.worker.terminate()}),J=J.slice(0,Y),U&&U();for(var Z=function(tt){J.push(tt),J.length>=w&&U&&U()},nt=0;nt<Y;nt++)y(Z)}Object.defineProperty(v,"__esModule",{value:!0});var m,M,P,S,I,G,V,A=a(28),R=a.n(A),N=a(54),X=(a.n(N),a(20)),$=a(64),D=a(57),L=a(51),k=a(59),j=a(9),B=a(49),Q=a(55),T=a(63),K=a(61),F=Object.assign||function(w){for(var U=1;U<arguments.length;U++){var Y=arguments[U];for(var Z in Y)Object.prototype.hasOwnProperty.call(Y,Z)&&(w[Z]=Y[Z])}return w},H={clone:a(7)},W={ctx:{image:null,overlay:null},dom:{image:null,overlay:null}},J=[],et=!0,q={};v.default={init:function(w,U,Y){if(q=R()({},Q.a,w),Y)return et=!1,e(Y),U();s(U)},start:function(){b()},stop:function(){P=!0,O(0),"LiveStream"===q.inputStream.type&&(k.a.release(),m.clearEventHandlers())},pause:function(){P=!0},onDetected:function(w){L.a.subscribe("detected",w)},offDetected:function(w){L.a.unsubscribe("detected",w)},onProcessed:function(w){L.a.subscribe("processed",w)},offProcessed:function(w){L.a.unsubscribe("processed",w)},setReaders:function(w){!function z(w){G?G.setReaders(w):et&&J.length>0&&J.forEach(function(U){U.worker.postMessage({cmd:"setReaders",readers:w})})}(w)},registerResultCollector:function(w){w&&"function"==typeof w.addResult&&(V=w)},canvas:W,decodeSingle:function(w,U){var Y=this;w=R()({inputStream:{type:"ImageStream",sequence:!1,size:800,src:w.src},numOfWorkers:1,locator:{halfSample:!1}},w),this.init(w,function(){L.a.once("processed",function(Z){Y.stop(),U.call(null,Z)},!0),b()})},ImageWrapper:X.a,ImageDebug:j.a,ResultCollector:B.a,CameraAccess:k.a}},function(h,v,a){"use strict";var u=a(9);v.a={create:function(i){var n=document.createElement("canvas"),t=n.getContext("2d"),o=[],c=i.capacity||20,f=!0===i.capture;return{addResult:function(l,p,d){var g={};
1(function r(l){return c&&l&&!function e(i,r){return!!r&&r.some(function(n){return Object.keys(n).every(function(t){return n[t]===i[t]})})}(l,i.blacklist)&&function s(i,r){return"function"!=typeof r||r(i)}(l,i.filter)})(d)&&(c--,g.codeResult=d,f&&(n.width=p.x,n.height=p.y,u.a.drawImage(l,p,t),g.frame=n.toDataURL()),o.push(g))},getResults:function(){return o}}}}},function(h,v,a){"use strict";var e={clone:a(7),dot:a(32)};v.a={create:function(s,u){function r(f){c[f.id]=f,t.push(f)}function n(){var f,l=0;for(f=0;f<t.length;f++)l+=t[f].rad;o.rad=l/t.length,o.vec=e.clone([Math.cos(o.rad),Math.sin(o.rad)])}var t=[],o={rad:0,vec:e.clone([0,0])},c={};return function i(){r(s),n()}(),{add:function(f){c[f.id]||(r(f),n())},fits:function(f){return Math.abs(e.dot(f.point.vec,o.vec))>u},getPoints:function(){return t},getCenter:function(){return o}}},createPoint:function(s,u,i){return{rad:s[i],point:s,id:u}}}},function(h,v,a){"use strict";v.a=function(){function e(n){return r[n]||(r[n]={subscribers:[]}),r[n]}function u(n,t){n.async?setTimeout(function(){n.callback(t)},4):n.callback(t)}function i(n,t,o){var c;if("function"==typeof t)c={callback:t,async:o};else if(!(c=t).callback)throw"Callback was not specified on options";e(n).subscribers.push(c)}var r={};return{subscribe:function(n,t,o){return i(n,t,o)},publish:function(n,t){var o=e(n),c=o.subscribers;c.filter(function(f){return!!f.once}).forEach(function(f){u(f,t)}),o.subscribers=c.filter(function(f){return!f.once}),o.subscribers.forEach(function(f){u(f,t)})},once:function(n,t,o){i(n,{callback:t,async:o,once:!0})},unsubscribe:function(n,t){var o;n?(o=e(n)).subscribers=o&&t?o.subscribers.filter(function(c){return c.callback!==t}):[]:function s(){r={}}()}}}()},function(h,v,a){"use strict";v.b=function e(){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.enumerateDevices?navigator.mediaDevices.enumerateDevices():Promise.reject(new Error("enumerateDevices is not defined"))},v.a=function s(u){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.getUserMedia?navigator.mediaDevices.getUserMedia(u):Promise.reject(new Error("getUserMedia is not defined"))}},function(h,v,a){"use strict";function e(s,u,i){i||(i={data:null,size:u}),this.data=i.data,this.originalSize=i.size,this.I=i,this.from=s,this.size=u}e.prototype.show=function(s,u){var i,r,n,t,o,c,f;for(u||(u=1),i=s.getContext("2d"),s.width=this.size.x,s.height=this.size.y,n=(r=i.getImageData(0,0,s.width,s.height)).data,t=0,o=0;o<this.size.y;o++)for(c=0;c<this.size.x;c++)f=o*this.size.x+c,t=this.get(c,o)*u,n[4*f+0]=t,n[4*f+1]=t,n[4*f+2]=t,n[4*f+3]=255;r.data=n,i.putImageData(r,0,0)},e.prototype.get=function(s,u){return this.data[(this.from.y+u)*this.originalSize.x+this.from.x+s]},e.prototype.updateData=function(s){this.originalSize=s.size,this.data=s.data},e.prototype.updateFrom=function(s){return this.from=s,this},v.a=e},function(h,v){typeof window<"u"&&(window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){window.setTimeout(a,1e3/60)}),Math.imul=Math.imul||function(a,e){var u=65535&a,r=65535&e;return u*r+((a>>>16&65535)*r+u*(e>>>16&65535)<<16>>>0)|0},"function"!=typeof Object.assign&&(Object.assign=function(a){"use strict";if(null===a)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(a),s=1;s<arguments.length;s++){var u=arguments[s];if(null!==u)for(var i in u)Object.prototype.hasOwnProperty.call(u,i)&&(e[i]=u[i])}return e})},function(h,v,a){"use strict";var e;e=a(56),v.a=e},function(h,v){h.exports={inputStream:{name:"Live",type:"LiveStream",constraints:{width:640,height:480,facingMode:"environment"},area:{top:"0%",right:"0%",left:"0%",bottom:"0%"},singleChannel:!1},locate:!0,numOfWorkers:4,decoder:{readers:["code_128_reader"]},locator:{halfSample:!0,patchSize:"medium"}}},function(h,v,a){"use strict";var e=a(58),s=(a(9),a(69)),u=a(4),i=a(31),r=a(70),n=a(68),t=a(77),o=a(74),c=a(72),f=a(73),l=a(76),p=a(75),d=a(67),g=a(71),_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(y){return typeof y}:function(y){return y&&"function"==typeof Symbol&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y}
1,b={code_128_reader:s.a,ean_reader:u.a,ean_5_reader:f.a,ean_2_reader:c.a,ean_8_reader:o.a,code_39_reader:i.a,code_39_vin_reader:r.a,codabar_reader:n.a,upc_reader:t.a,upc_e_reader:l.a,i2of5_reader:p.a,"2of5_reader":d.a,code_93_reader:g.a};v.a={create:function(y,x){function E(){y.readers.forEach(function(A){var R,N={},X=[];"object"===(void 0===A?"undefined":_(A))?(R=A.format,N=A.config):"string"==typeof A&&(R=A),N.supplements&&(X=N.supplements.map(function($){return new b[$]})),V.push(new b[R](N,X))})}function M(A){var R,N=null,X=e.a.getBarcodeLine(x,A[0],A[1]);for(e.a.toBinaryLine(X),R=0;R<V.length&&null===N;R++)N=V[R].decodePattern(X.line);return null===N?null:{codeResult:N,barcodeLine:X}}function I(A){var R,N,X,$;return R=function m(A){return[{x:(A[1][0]-A[0][0])/2+A[0][0],y:(A[1][1]-A[0][1])/2+A[0][1]},{x:(A[3][0]-A[2][0])/2+A[2][0],y:(A[3][1]-A[2][1])/2+A[2][1]}]}(A),$=function S(A){return Math.sqrt(Math.pow(Math.abs(A[1].y-A[0].y),2)+Math.pow(Math.abs(A[1].x-A[0].x),2))}(R),null===(R=function O(A,R,N){function X($){var D_y=$*Math.sin(R),D_x=$*Math.cos(R);A[0].y-=D_y,A[0].x-=D_x,A[1].y+=D_y,A[1].x+=D_x}for(X(N);N>1&&(!x.inImageWithBorder(A[0],0)||!x.inImageWithBorder(A[1],0));)X(-(N-=Math.ceil(N/2)));return A}(R,N=Math.atan2(R[1].y-R[0].y,R[1].x-R[0].x),Math.floor(.1*$)))?null:(null===(X=M(R))&&(X=function P(A,R,N){var X,$,D,L=Math.sqrt(Math.pow(A[1][0]-A[0][0],2)+Math.pow(A[1][1]-A[0][1],2)),j=null,B=Math.sin(N),Q=Math.cos(N);for(X=1;X<16&&null===j;X++)R[0].y+=(D={y:($=L/16*X*(X%2==0?-1:1))*B,x:$*Q}).x,R[0].x-=D.y,R[1].y+=D.x,R[1].x-=D.y,j=M(R);return j}(A,R,N)),null===X?null:{codeResult:X.codeResult,line:R,angle:N,pattern:X.barcodeLine.line,threshold:X.barcodeLine.threshold})}var V=[];return E(),{decodeFromBoundingBox:function(A){return I(A)},decodeFromBoundingBoxes:function(A){var R,N,X=[],$=y.multiple;for(R=0;R<A.length;R++){var D=A[R];if((N=I(D)||{}).box=D,$)X.push(N);else if(N.codeResult)return N}if($)return{barcodes:X}},setReaders:function(A){y.readers=A,V.length=0,E()}}}}},function(h,v,a){"use strict";var e=(a(20),{}),s_DIR_UP=1,s_DIR_DOWN=-1;e.getBarcodeLine=function(u,i,r){function n(S,I){M=(g=z[I*O+S])<M?g:M,P=g>P?g:P,E.push(g)}var t,o,c,f,l,p,d,g,_=0|i.x,b=0|i.y,y=0|r.x,x=0|r.y,C=Math.abs(x-b)>Math.abs(y-_),E=[],z=u.data,O=u.size.x,M=255,P=0;for(C&&(p=_,_=b,b=p,p=y,y=x,x=p),_>y&&(p=_,_=y,y=p,p=b,b=x,x=p),t=y-_,o=Math.abs(x-b),c=t/2|0,l=b,f=b<x?1:-1,d=_;d<y;d++)C?n(l,d):n(d,l),(c-=o)<0&&(l+=f,c+=t);return{line:E,min:M,max:P}},e.toBinaryLine=function(u){var i,r,n,t,o,c,f=u.min,l=u.max,p=u.line,d=f+(l-f)/2,g=[],_=(l-f)/12,b=-_;for(n=p[0]>d?s_DIR_UP:s_DIR_DOWN,g.push({pos:0,val:p[0]}),o=0;o<p.length-2;o++)n!==(t=(i=p[o+1]-p[o])+(r=p[o+2]-p[o+1])<b&&p[o+1]<1.5*d?s_DIR_DOWN:i+r>_&&p[o+1]>.5*d?s_DIR_UP:n)&&(g.push({pos:o,val:p[o]}),n=t);for(g.push({pos:p.length,val:p[p.length-1]}),c=g[0].pos;c<g[1].pos;c++)p[c]=p[c]>d?0:1;for(o=1;o<g.length-1;o++)for(_=g[o+1].val>g[o].val?g[o].val+(g[o+1].val-g[o].val)/3*2|0:g[o+1].val+(g[o].val-g[o+1].val)/3|0,c=g[o].pos;c<g[o+1].pos;c++)p[c]=p[c]>_?0:1;return{line:p,threshold:_}},e.debug={printFrequency:function(u,i){var r,n=i.getContext("2d");for(i.width=u.length,i.height=256,n.beginPath(),n.strokeStyle="blue",r=0;r<u.length;r++)n.moveTo(r,255),n.lineTo(r,255-u[r]);n.stroke(),n.closePath()},printPattern:function(u,i){var r,n=i.getContext("2d");for(i.width=u.length,n.fillColor="black",r=0;r<u.length;r++)1===u[r]&&n.fillRect(r,0,1,100)}},v.a=e},function(h,v,a){"use strict";function e(l){return new Promise(function(p,d){var _=10;!function g(){_>0?l.videoWidth>10&&l.videoHeight>10?p():window.setTimeout(g,500):d("Unable to play video stream. Is webcam working?"),_--}()})}function s(l,p){return a.i(f.a)(p).then(function(d){return new Promise(function(g){t=d,l.setAttribute("autoplay",!0),l.setAttribute("muted",!0),l.setAttribute("playsinline",!0),l.srcObject=d,l.addEventListener("loadedmetadata",function(){l.play(),g()})})}).then(e.bind(null,l))}function u(l){var p=c()(l,["width","height","facingMode","aspectRatio","deviceId"]);return void 0!==l.minAspectRatio&&l.minAspectRatio>0&&(p.aspectRatio=l.minAspectRatio,console.log("WARNING: Constraint 'minAspectRatio' is deprecated; Use 'aspectRatio' instead")),void 0!==l.facing&&(p.facingMode=l.facing,console.log("WARNING: Constraint 'facing' is deprecated. Use 'facingMode' instead'")),p}function n(){if(t){var l=t.getVideoTracks();if(l&&l.length)return l[0]}}var t,o=a(162),c=a.n(o),f=a(52);v.a={request:function(l,p){return function i(l){var p={audio:!1,video:u(l)};return p.video.deviceId&&p.video.facingMode&&delete p.video.facingMode,Promise.resolve(p)}(p).then(s.bind(null,l))},release:function(){var l=t&&t.getVideoTracks();l&&l.length&&l[0].stop(),t=null},enumerateVideoDevices:function r(){return a.i(f.b)().then(function(l){return l.filter(function(p){return"videoinput"===p.kind})})},getActiveStreamLabel:function(){var l=n();return l?l.label:""},getActiveTrack:n}},function(h,v,a){"use strict";function s(l){return new Promise(function(p){var d=new FileReader;d.onload=function(g){return p(g.target.result)},d.readAsArrayBuffer(l)})}function r(l,p,d){if("Exif"!==function o(l,p,d){for(var g="",_=p;_<p+d;_++)g+=String.fromCharCode(l.getUint8(_));return g}(l,p,4))return!1;var g=p+6,_=void 0;if(18761===l.getUint16(g))_=!1;else{if(19789!==l.getUint16(g))return!1;_=!0}if(42!==l.getUint16(g+2,!_))return!1;var b=l.getUint32(g+4,!_);return!(b<8)&&function n(l,p,d,g,_){for(var b=l.getUint16(d,!_),y={},x=0;x<b;x++){var C=d+12*x+2,E=g[l.getUint16(C,!_)];E&&(y[E]=t(l,C,0,0,_))}return y}(l,0,g+b,d,_)}function t(l,p,d,g,_){var b=l.getUint16(p+2,!_),y=l.getUint32(p+4,!_);if(3===b&&1===y)return l.getUint16(p+8,!_)}v.a=function e(l){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;return/^blob\:/i.test(l)?function u(l){return new Promise(function(p,d){var g=new XMLHttpRequest;g.open("GET",l,!0),g.responseType="blob",g.onreadystatechange=function(){g.readyState!==XMLHttpRequest.DONE||200!==g.status&&0!==g.status||p(this.response)},g.onerror=d,g.send()})}(l).then(s).then(function(d){return function i(l){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f,d=new DataView(l),g=l.byteLength,_=p.reduce(function(y,x){var C=Object.keys(c).filter(function(E){return c[E]===x})[0];return C&&(y[C]=x),y},{}),b=2;if(255!==d.getUint8(0)||216!==d.getUint8(1))return!1;for(;b<g;){if(255!==d.getUint8(b))return!1;if(225===d.getUint8(b+1))return r(d,b+4,_);b+=2+d.getUint16(b+2)}}(d,p)}):Promise.resolve(null)};var c={274:"orientation"},f=Object.keys(c).map(function(l){return c[l]})},function(h,v,a){"use strict";var s=a(19),u=Math.PI/180;v.a={create:function(r,n){var t,o={}
1,c=r.getConfig(),f=(a.i(s.b)(r.getRealWidth(),r.getRealHeight()),r.getCanvasSize()),l=a.i(s.b)(r.getWidth(),r.getHeight()),p=r.getTopRight(),d=p.x,g=p.y,_=null,b=null;return(t=n||document.createElement("canvas")).width=f.x,t.height=f.y,_=t.getContext("2d"),b=new Uint8Array(l.x*l.y),o.attachData=function(y){b=y},o.getData=function(){return b},o.grab=function(){var y,x=c.halfSample,C=r.getFrame(),E=C,z=0;if(E){if(function e(r,n){r.width!==n.x&&(r.width=n.x),r.height!==n.y&&(r.height=n.y)}(t,f),"ImageStream"===c.type&&(E=C.img,C.tags&&C.tags.orientation))switch(C.tags.orientation){case 6:z=90*u;break;case 8:z=-90*u}return 0!==z?(_.translate(f.x/2,f.y/2),_.rotate(z),_.drawImage(E,-f.y/2,-f.x/2,f.y,f.x),_.rotate(-z),_.translate(-f.x/2,-f.y/2)):_.drawImage(E,0,0,f.x,f.y),y=_.getImageData(d,g,l.x,l.y).data,x?a.i(s.c)(y,l,b):a.i(s.d)(y,b,c),!0}return!1},o.getSize=function(){return l},o}}},function(h,v,a){"use strict";function e(i,r){i.onload=function(){r.loaded(this)}}var s=a(60);v.a={load:function(i,r,n,t,o){var c,f,p=new Array(t),d=new Array(p.length);if(!1===o)p[0]=i;else for(c=0;c<p.length;c++)p[c]=i+"image-"+("00"+(n+c)).slice(-3)+".jpg";for(d.notLoaded=[],d.addImage=function(g){d.notLoaded.push(g)},d.loaded=function(g){for(var _=d.notLoaded,b=0;b<_.length;b++)if(_[b]===g){_.splice(b,1);for(var y=0;y<p.length;y++){var x=p[y].substr(p[y].lastIndexOf("/"));if(-1!==g.src.lastIndexOf(x)){d[y]={img:g};break}}break}0===_.length&&(!1===o?a.i(s.a)(i,["orientation"]).then(function(C){d[0].tags=C,r(d)}).catch(function(C){console.log(C),r(d)}):r(d))},c=0;c<p.length;c++)f=new Image,d.addImage(f),e(f,d),f.src=p[c]}}},function(h,v,a){"use strict";var e=a(62),s={createVideoStream:function(u){var r,n,t={},o=null,c=["canrecord","ended"],f={},l={x:0,y:0},p={x:0,y:0};return t.getRealWidth=function(){return u.videoWidth},t.getRealHeight=function(){return u.videoHeight},t.getWidth=function(){return r},t.getHeight=function(){return n},t.setWidth=function(d){r=d},t.setHeight=function(d){n=d},t.setInputStream=function(d){o=d,u.src=void 0!==d.src?d.src:""},t.ended=function(){return u.ended},t.getConfig=function(){return o},t.setAttribute=function(d,g){u.setAttribute(d,g)},t.pause=function(){u.pause()},t.play=function(){u.play()},t.setCurrentTime=function(d){"LiveStream"!==o.type&&(u.currentTime=d)},t.addEventListener=function(d,g,_){-1!==c.indexOf(d)?(f[d]||(f[d]=[]),f[d].push(g)):u.addEventListener(d,g,_)},t.clearEventHandlers=function(){c.forEach(function(d){var g=f[d];g&&g.length>0&&g.forEach(function(_){u.removeEventListener(d,_)})})},t.trigger=function(d,g){var _,b=f[d];if("canrecord"===d&&function i(){var d=u.videoWidth,g=u.videoHeight;r=o.size?d/g>1?o.size:Math.floor(d/g*o.size):d,n=o.size?d/g>1?Math.floor(g/d*o.size):o.size:g,p.x=r,p.y=n}(),b&&b.length>0)for(_=0;_<b.length;_++)b[_].apply(t,g)},t.setTopRight=function(d){l.x=d.x,l.y=d.y},t.getTopRight=function(){return l},t.setCanvasSize=function(d){p.x=d.x,p.y=d.y},t.getCanvasSize=function(){return p},t.getFrame=function(){return u},t},createLiveStream:function(u){u.setAttribute("autoplay",!0);var i=s.createVideoStream(u);return i.ended=function(){return!1},i},createImageStream:function(){function i(m,M){var P,S=E[m];if(S&&S.length>0)for(P=0;P<S.length;P++)S[P].apply(t,M)}var r,n,t={},o=null,c=0,f=0,l=0,p=!0,d=!1,g=null,_=0,y=null,x=!1,C=["canrecord","ended"],E={},z={x:0,y:0},O={x:0,y:0};return t.trigger=i,t.getWidth=function(){return r},t.getHeight=function(){return n},t.setWidth=function(m){r=m},t.setHeight=function(m){n=m},t.getRealWidth=function(){return c},t.getRealHeight=function(){return f},t.setInputStream=function(m){o=m,!1===m.sequence?(y=m.src,_=1):(y=m.src,_=m.length),function u(){d=!1,e.a.load(y,function(m){if(g=m,m[0].tags&&m[0].tags.orientation)switch(m[0].tags.orientation){case 6:case 8:c=m[0].img.height,f=m[0].img.width;break;default:c=m[0].img.width,f=m[0].img.height}else c=m[0].img.width,f=m[0].img.height;r=o.size?c/f>1?o.size:Math.floor(c/f*o.size):c,n=o.size?c/f>1?Math.floor(f/c*o.size):o.size:f,O.x=r,O.y=n,d=!0,l=0,setTimeout(function(){i("canrecord",[])},0)},1,_,o.sequence)}()},t.ended=function(){return x},t.setAttribute=function(){},t.getConfig=function(){return o},t.pause=function(){p=!0},t.play=function(){p=!1},t.setCurrentTime=function(m){l=m},t.addEventListener=function(m,M){-1!==C.indexOf(m)&&(E[m]||(E[m]=[]),E[m].push(M))},t.setTopRight=function(m){z.x=m.x,z.y=m.y},t.getTopRight=function(){return z},t.setCanvasSize=function(m){O.x=m.x,O.y=m.y},t.getCanvasSize=function(){return O},t.getFrame=function(){var m;return d?(p||(m=g[l],l<_-1?l++:setTimeout(function(){x=!0,i("ended",[])},0)),m):null},t}};v.a=s},function(h,v,a){"use strict";
1(function(e){function i(D){var L,k,j,B,Q,T,K,F=z.size.x,H=z.size.y,W=-z.size.x,J=-z.size.y;for(L=0,k=0;k<D.length;k++)L+=(B=D[k]).rad;for((L=(180*(L/=D.length)/Math.PI+90)%180-90)<0&&(L+=180),L=(180-L)*Math.PI/180,Q=N.copy(N.create(),[Math.cos(L),Math.sin(L),-Math.sin(L),Math.cos(L)]),k=0;k<D.length;k++)for(B=D[k],j=0;j<4;j++)R.transformMat2(B.box[j],B.box[j],Q);for(k=0;k<D.length;k++)for(B=D[k],j=0;j<4;j++)B.box[j][0]<F&&(F=B.box[j][0]),B.box[j][0]>W&&(W=B.box[j][0]),B.box[j][1]<H&&(H=B.box[j][1]),B.box[j][1]>J&&(J=B.box[j][1]);for(T=[[F,H],[W,H],[W,J],[F,J]],K=d.halfSample?2:1,Q=N.invert(Q,Q),j=0;j<4;j++)R.transformMat2(T[j],T[j],Q);for(j=0;j<4;j++)R.scale(T[j],T[j],K);return T}function f(D,L){z.subImageAsCopy(b,a.i(S.b)(D,L)),M.skeletonize()}function l(D,L,k,j){var B,Q,T,K,F=[],H=[],W=Math.ceil(O.x/3);if(D.length>=2){for(B=0;B<D.length;B++)D[B].m00>W&&F.push(D[B]);if(F.length>=2){for(T=function c(D){var L=a.i(S.g)(D,.9),k=a.i(S.h)(L,1,function(T){return T.getPoints().length}),j=[],B=[];if(1===k.length){j=k[0].item.getPoints();for(var Q=0;Q<j.length;Q++)B.push(j[Q].point)}return B}(F),Q=0,B=0;B<T.length;B++)Q+=T[B].rad;T.length>1&&T.length>=F.length/4*3&&T.length>D.length/4&&(Q/=T.length,K={index:L[1]*$.x+L[0],pos:{x:k,y:j},box:[R.clone([k,j]),R.clone([k+b.size.x,j]),R.clone([k+b.size.x,j+b.size.y]),R.clone([k,j+b.size.y])],moments:T,rad:Q,vec:R.clone([Math.cos(Q),Math.sin(Q)])},H.push(K))}}return H}var d,g,_,b,y,x,C,E,z,O,m,M,P=a(20),S=a(19),I=a(3),G=(a(9),a(65)),V=a(30),A=a(66),R={clone:a(7),dot:a(32),scale:a(81),transformMat2:a(82)},N={copy:a(78),create:a(79),invert:a(80)},X={ctx:{binary:null},dom:{binary:null}},$={x:0,y:0};v.a={init:function(D,L){d=L,m=D,function s(){var D;g=d.halfSample?new P.a({x:m.size.x/2|0,y:m.size.y/2|0}):m,O=a.i(S.e)(d.patchSize,g.size),$.x=g.size.x/O.x|0,$.y=g.size.y/O.y|0,z=new P.a(g.size,void 0,Uint8Array,!1),y=new P.a(O,void 0,Array,!0),D=new ArrayBuffer(65536),b=new P.a(O,new Uint8Array(D,0,O.x*O.y)),_=new P.a(O,new Uint8Array(D,O.x*O.y*3,O.x*O.y),void 0,!0),M=a.i(A.a)(typeof window<"u"?window:typeof self<"u"?self:e,{size:O.x},D),E=new P.a({x:g.size.x/b.size.x|0,y:g.size.y/b.size.y|0},void 0,Array,!0),x=new P.a(E.size,void 0,void 0,!0),C=new P.a(E.size,void 0,Int32Array,!0)}(),function u(){d.useWorker||typeof document>"u"||(X.dom.binary=document.createElement("canvas"),X.dom.binary.className="binaryBuffer",X.ctx.binary=X.dom.binary.getContext("2d"),X.dom.binary.width=z.size.x,X.dom.binary.height=z.size.y)}()},locate:function(){var D,L;if(d.halfSample&&a.i(S.i)(m,g),function r(){a.i(S.f)(g,z),z.zeroBorder()}(),D=function n(){var D,L,k,j,B,T,K=[];for(D=0;D<$.x;D++)for(L=0;L<$.y;L++)f(k=b.size.x*D,j=b.size.y*L),_.zeroBorder(),I.a.init(y.data,0),T=G.a.create(_,y).rasterize(0),B=y.moments(T.count),K=K.concat(l(B,[D,L],k,j));return K}(),D.length<$.x*$.y*.05)return null;var k=function p(D){function L(){var F;for(F=0;F<C.data.length;F++)if(0===C.data[F]&&1===x.data[F])return F;return C.length}function k(F){var J,et,q,w_x=F%C.size.x,w_y=F/C.size.x|0;if(F<C.data.length)for(J=E.data[F],C.data[F]=Q,q=0;q<V.a.searchDirections.length;q++)0!==x.data[et=(w_y+V.a.searchDirections[q][0])*C.size.x+(w_x+V.a.searchDirections[q][1])]?0===C.data[et]&&Math.abs(R.dot(E.data[et].vec,J.vec))>T&&k(et):C.data[et]=Number.MAX_VALUE}var j,B,Q=0,T=.95,K=0;for(I.a.init(x.data,0),I.a.init(C.data,0),I.a.init(E.data,null),j=0;j<D.length;j++)E.data[(B=D[j]).index]=B,x.data[B.index]=1;for(x.zeroBorder();(K=L())<C.data.length;)Q++,k(K);return Q}(D);return k<1?null:(L=function t(D){var L,k,j=[];for(L=0;L<D;L++)j.push(0);for(k=C.data.length;k--;)C.data[k]>0&&j[C.data[k]-1]++;return(j=j.map(function(B,Q){return{val:B,label:Q+1}})).sort(function(B,Q){return Q.val-B.val}),j.filter(function(B){return B.val>=5})}(k),0===L.length?null:function o(D,L){var k,j,Q,T=[],K=[];for(k=0;k<D.length;k++){for(j=C.data.length,T.length=0;j--;)C.data[j]===D[k].label&&T.push(E.data[j]);(Q=i(T))&&K.push(Q)}return K}(L))},checkImageConstraints:function(D,L){var k,j,B,Q=D.getWidth(),T=D.getHeight(),K=L.halfSample?.5:1;if(D.getConfig().area&&(B=a.i(S.j)(Q,T,D.getConfig().area),D.setTopRight({x:B.sx,y:B.sy}),D.setCanvasSize({x:Q,y:T}),Q=B.sw,T=B.sh),j={x:Math.floor(Q*K),y:Math.floor(T*K)},k=a.i(S.e)(L.patchSize,j),D.setWidth(Math.floor(Math.floor(j.x/k.x)*(1/K)*k.x)),D.setHeight(Math.floor(Math.floor(j.y/k.y)*(1/K)*k.y)),D.getWidth()%k.x==0&&D.getHeight()%k.y==0)return!0;throw new Error("Image dimensions do not comply with the current settings: Width ("+Q+" )and height ("+T+") must a multiple of "+k.x)}}}).call(v,a(47))},function(h,v,a){"use strict";var e=a(30),s={createContour2D:function(){return{dir:null,index:null,firstVertex:null,insideContours:null,nextpeer:null,prevpeer:null}},CONTOUR_DIR:{CW_DIR:0,CCW_DIR:1,UNKNOWN_DIR:2},DIR:{OUTSIDE_EDGE:-32767,INSIDE_EDGE:-32766},create:function(u,i){var r=u.data,n=i.data,t=u.size.x,o=u.size.y,c=e.a.create(u,i
1);return{rasterize:function(f){var l,p,d,g,_,b,y,x,C,E,z,O,m=[],M=0;for(O=0;O<400;O++)m[O]=0;for(m[0]=r[0],C=null,b=1;b<o-1;b++)for(g=0,p=m[0],_=1;_<t-1;_++)if(0===n[z=b*t+_])if((l=r[z])!==p){if(0===g)m[d=M+1]=l,p=l,null!==(y=c.contourTracing(b,_,d,l,s.DIR.OUTSIDE_EDGE))&&(M++,g=d,(x=s.createContour2D()).dir=s.CONTOUR_DIR.CW_DIR,x.index=g,x.firstVertex=y,x.nextpeer=C,x.insideContours=null,null!==C&&(C.prevpeer=x),C=x);else if(null!==(y=c.contourTracing(b,_,s.DIR.INSIDE_EDGE,l,g))){for((x=s.createContour2D()).firstVertex=y,x.insideContours=null,x.dir=0===f?s.CONTOUR_DIR.CCW_DIR:s.CONTOUR_DIR.CW_DIR,x.index=f,E=C;null!==E&&E.index!==g;)E=E.nextpeer;null!==E&&(x.nextpeer=E.insideContours,null!==E.insideContours&&(E.insideContours.prevpeer=x),E.insideContours=x)}}else n[z]=g;else n[z]===s.DIR.OUTSIDE_EDGE||n[z]===s.DIR.INSIDE_EDGE?(g=0,p=n[z]===s.DIR.INSIDE_EDGE?r[z]:m[0]):p=m[g=n[z]];for(E=C;null!==E;)E.index=f,E=E.nextpeer;return{cc:C,count:M}},debug:{drawContour:function(f,l){var p,d,g,_=f.getContext("2d"),b=l;for(_.strokeStyle="red",_.fillStyle="red",_.lineWidth=1,p=null!==b?b.insideContours:null;null!==b;){switch(null!==p?(d=p,p=p.nextpeer):(d=b,p=null!==(b=b.nextpeer)?b.insideContours:null),d.dir){case s.CONTOUR_DIR.CW_DIR:_.strokeStyle="red";break;case s.CONTOUR_DIR.CCW_DIR:_.strokeStyle="blue";break;case s.CONTOUR_DIR.UNKNOWN_DIR:_.strokeStyle="green"}g=d.firstVertex,_.beginPath(),_.moveTo(g.x,g.y);do{_.lineTo((g=g.next).x,g.y)}while(g!==d.firstVertex);_.stroke()}}}}}};v.a=s},function(h,v,a){"use strict";v.a=function e(s,u,i){var r=new s.Uint8Array(i),n=0|u.size,t=s.Math.imul;function o(y,x){y|=0,x|=0;var C=0,E=0,O=0,m=0,M=0,P=0,S=0;for(C=1;(0|C)<(n-1|0);C=C+1|0)for(S=S+n|0,E=1;(0|E)<(n-1|0);E=E+1|0)r[x+S+E|0]=5==(0|(0|r[y+(O=S-n|0)+(M=E-1|0)|0])+(0|r[y+O+(P=E+1|0)|0])+(0|r[y+S+E|0])+(0|r[y+(m=S+n|0)+M|0])+(0|r[y+m+P|0]))?1:0}function c(y,x,C){y|=0,x|=0,C|=0;var E=0;for(E=0|t(n,n);(0|E)>0;)r[C+(E=E-1|0)|0]=(0|r[y+E|0])-(0|r[x+E|0])|0}function f(y,x,C){y|=0,x|=0,C|=0;var E=0;for(E=0|t(n,n);(0|E)>0;)r[C+(E=E-1|0)|0]=0|r[y+E|0]|r[x+E|0]|0}function l(y){y|=0;var x=0,C=0;for(C=0|t(n,n);(0|C)>0;)x=(0|x)+(0|r[y+(C=C-1|0)|0])|0;return 0|x}function d(y,x){y|=0,x|=0;var C=0,E=0,O=0,m=0,M=0,P=0,S=0;for(C=1;(0|C)<(n-1|0);C=C+1|0)for(S=S+n|0,E=1;(0|E)<(n-1|0);E=E+1|0)r[x+S+E|0]=(0|(0|r[y+(O=S-n|0)+(M=E-1|0)|0])+(0|r[y+O+(P=E+1|0)|0])+(0|r[y+S+E|0])+(0|r[y+(m=S+n|0)+M|0])+(0|r[y+m+P|0]))>0?1:0}function g(y,x){y|=0,x|=0;var C=0;for(C=0|t(n,n);(0|C)>0;)r[x+(C=C-1|0)|0]=0|r[y+C|0]}return{skeletonize:function b(){var x,C,E,O=0;(function p(y,x){y|=0,x|=0;var C=0;for(C=0|t(n,n);(0|C)>0;)r[y+(C=C-1|0)|0]=x})(E=(C=(x=0|t(n,n))+x|0)+x|0,0),function _(y){y|=0;var x=0,C=0;for(x=0;(0|x)<(n-1|0);x=x+1|0)r[y+x|0]=0,r[y+C|0]=0,r[y+(C=C+n-1|0)|0]=0,C=C+1|0;for(x=0;(0|x)<(0|n);x=x+1|0)r[y+C|0]=0,C=C+1|0}(0);do{o(0,x),d(x,C),c(0,C,C),f(E,C,E),g(x,0),O=0==(0|l(0))|0}while(!O)}}}},function(h,v,a){"use strict";function e(t){s.a.call(this,t),this.barSpaceRatio=[1,1]}var s=a(1),r={START_PATTERN:{value:[3,1,3,1,1,1]},STOP_PATTERN:{value:[3,1,1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.3,writable:!0},FORMAT:{value:"2of5"}},n=r.START_PATTERN.value.reduce(function(t,o){return t+o},0);(e.prototype=Object.create(s.a.prototype,r)).constructor=e,e.prototype._findPattern=function(t,o,c,f){var l,p,d,g,_=[],b=this,y=0,x={error:Number.MAX_VALUE,code:-1,start:0,end:0},C=b.AVG_CODE_ERROR;for(c=c||!1,f=f||!1,o||(o=b._nextSet(b._row)),l=0;l<t.length;l++)_[l]=0;for(l=o;l<b._row.length;l++)if(b._row[l]^c)_[y]++;else{if(y===_.length-1){for(g=0,d=0;d<_.length;d++)g+=_[d];if((p=b._matchPattern(_,t))<C)return x.error=p,x.start=l-g,x.end=l,x;if(!f)return null;for(d=0;d<_.length-2;d++)_[d]=_[d+2];_[_.length-2]=0,_[_.length-1]=0,y--}else y++;_[y]=1,c=!c}return null},e.prototype._findStart=function(){for(var t,o,c=this,f=c._nextSet(c._row),l=1;!o;){if(!(o=c._findPattern(c.START_PATTERN,f,!1,!0)))return null;if(l=Math.floor((o.end-o.start)/n),(t=o.start-5*l)>=0&&c._matchRange(t,o.start,0))return o;f=o.end,o=null}},e.prototype._verifyTrailingWhitespace=function(t){var o;return(o=t.end+(t.end-t.start)/2)<this._row.length&&this._matchRange(t.end,o,0)?t:null},e.prototype._findEnd=function(){var t,o,c,f=this;return f._row.reverse(),c=f._nextSet(f._row),t=f._findPattern(f.STOP_PATTERN,c,!1,!0),f._row.reverse(),null===t?null:(o=t.start,t.start=f._row.length-t.end,t.end=f._row.length-o,null!==t?f._verifyTrailingWhitespace(t):null)}
1,e.prototype._decodeCode=function(t){var o,c,f,l=this,d=l.AVG_CODE_ERROR,g={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(o=0;o<t.length;o++);for(f=0;f<l.CODE_PATTERN.length;f++)(c=l._matchPattern(t,l.CODE_PATTERN[f]))<g.error&&(g.code=f,g.error=c);if(g.error<d)return g},e.prototype._decodePayload=function(t,o,c){for(var f,l,d=0,g=t.length,_=[0,0,0,0,0];d<g;){for(f=0;f<5;f++)_[f]=t[d]*this.barSpaceRatio[0],d+=2;if(!(l=this._decodeCode(_)))return null;o.push(l.code+""),c.push(l)}return l},e.prototype._verifyCounterLength=function(t){return t.length%10==0},e.prototype._decode=function(){var t,o,c,f=this,l=[],p=[];return(t=f._findStart())?(p.push(t),(o=f._findEnd())?(c=f._fillCounters(t.end,o.start,!1),f._verifyCounterLength(c)&&f._decodePayload(c,l,p)?l.length<5?null:(p.push(o),{code:l.join(""),start:t.start,end:o.end,startInfo:t,decodedCodes:p}):null):null):null},v.a=e},function(h,v,a){"use strict";function e(){s.a.call(this),this._counters=[]}var s=a(1);(e.prototype=Object.create(s.a.prototype,{ALPHABETH_STRING:{value:"0123456789-$:/.+ABCD"},ALPHABET:{value:[48,49,50,51,52,53,54,55,56,57,45,36,58,47,46,43,65,66,67,68]},CHARACTER_ENCODINGS:{value:[3,6,9,96,18,66,33,36,48,72,12,24,69,81,84,21,26,41,11,14]},START_END:{value:[26,41,11,14]},MIN_ENCODED_CHARS:{value:4},MAX_ACCEPTABLE:{value:2},PADDING:{value:1.5},FORMAT:{value:"codabar",writeable:!1}})).constructor=e,e.prototype._decode=function(){var i,r,n,t,o,c=this,f=[];if(this._counters=c._fillCounters(),!(i=c._findStart()))return null;t=i.startCounter;do{if((n=c._toPattern(t))<0||(r=c._patternToChar(n))<0)return null;if(f.push(r),t+=8,f.length>1&&c._isStartEnd(n))break}while(t<c._counters.length);return f.length-2<c.MIN_ENCODED_CHARS||!c._isStartEnd(n)?null:c._verifyWhitespace(i.startCounter,t-8)&&c._validateResult(f,i.startCounter)?(o=i.start+c._sumCounters(i.startCounter,(t=t>c._counters.length?c._counters.length:t)-8),{code:f.join(""),start:i.start,end:o,startInfo:i,decodedCodes:f}):null},e.prototype._verifyWhitespace=function(i,r){return(i-1<=0||this._counters[i-1]>=this._calculatePatternLength(i)/2)&&(r+8>=this._counters.length||this._counters[r+7]>=this._calculatePatternLength(r)/2)},e.prototype._calculatePatternLength=function(i){var r,n=0;for(r=i;r<i+7;r++)n+=this._counters[r];return n},e.prototype._thresholdResultPattern=function(i,r){var n,t,o,c,f,l=this,p={space:{narrow:{size:0,counts:0,min:0,max:Number.MAX_VALUE},wide:{size:0,counts:0,min:0,max:Number.MAX_VALUE}},bar:{narrow:{size:0,counts:0,min:0,max:Number.MAX_VALUE},wide:{size:0,counts:0,min:0,max:Number.MAX_VALUE}}},d=r;for(o=0;o<i.length;o++){for(f=l._charToPattern(i[o]),c=6;c>=0;c--)n=2==(1&c)?p.bar:p.space,(t=1==(1&f)?n.wide:n.narrow).size+=l._counters[d+c],t.counts++,f>>=1;d+=8}return["space","bar"].forEach(function(g){var _=p[g];_.wide.min=Math.floor((_.narrow.size/_.narrow.counts+_.wide.size/_.wide.counts)/2),_.narrow.max=Math.ceil(_.wide.min),_.wide.max=Math.ceil((_.wide.size*l.MAX_ACCEPTABLE+l.PADDING)/_.wide.counts)}),p},e.prototype._charToPattern=function(i){var r,n=this,t=i.charCodeAt(0);for(r=0;r<n.ALPHABET.length;r++)if(n.ALPHABET[r]===t)return n.CHARACTER_ENCODINGS[r];return 0},e.prototype._validateResult=function(i,r){var n,t,o,c,f,l,p=this,d=p._thresholdResultPattern(i,r),g=r;for(n=0;n<i.length;n++){for(l=p._charToPattern(i[n]),t=6;t>=0;t--){if(o=1&t?d.space:d.bar,(f=p._counters[g+t])<(c=1==(1&l)?o.wide:o.narrow).min||f>c.max)return!1;l>>=1}g+=8}return!0},e.prototype._patternToChar=function(i){var r,n=this;for(r=0;r<n.CHARACTER_ENCODINGS.length;r++)if(n.CHARACTER_ENCODINGS[r]===i)return String.fromCharCode(n.ALPHABET[r]);return-1},e.prototype._computeAlternatingThreshold=function(i,r){var n,t,o=Number.MAX_VALUE,c=0;for(n=i;n<r;n+=2)(t=this._counters[n])>c&&(c=t),t<o&&(o=t);return(o+c)/2|0},e.prototype._toPattern=function(i){var r,n,t,f=i+7,l=64,p=0;if(f>this._counters.length)return-1;for(r=this._computeAlternatingThreshold(i,f),n=this._computeAlternatingThreshold(i+1,f),t=0;t<7;t++)this._counters[i+t]>(1&t?n:r)&&(p|=l),l>>=1;return p},e.prototype._isStartEnd=function(i){var r;for(r=0;r<this.START_END.length;r++)if(this.START_END[r]===i)return!0;return!1},e.prototype._sumCounters=function(i,r){var n,t=0;for(n=i;n<r;n++)t+=this._counters[n];return t},e.prototype._findStart=function(){var i,r,t=this,o=t._nextUnset(t._row);for(i=1;i<this._counters.length;i++)if(-1!==(r=t._toPattern(i))&&t._isStartEnd(r))return{start:o+=t._sumCounters(0,i),end:o+t._sumCounters(i,i+8),startCounter:i,endCounter:i+8}},v.a=e},function(h,v,a){"use strict";function e(){u.a.call(this)}function s(r,n,t){for(var o=t.length,c=0,f=0;o--;)f+=r[t[o]],c+=n[t[o]];return f/c}var u=a(1);(e.prototype=Object.create(u.a.prototype,{CODE_SHIFT:{value:98},CODE_C:{value:99},CODE_B:{value:100},CODE_A:{value:101}
vendor: 4,338 bytes, line 1
1,START_CODE_A:{value:103},START_CODE_B:{value:104},START_CODE_C:{value:105},STOP_CODE:{value:106},CODE_PATTERN:{value:[[2,1,2,2,2,2],[2,2,2,1,2,2],[2,2,2,2,2,1],[1,2,1,2,2,3],[1,2,1,3,2,2],[1,3,1,2,2,2],[1,2,2,2,1,3],[1,2,2,3,1,2],[1,3,2,2,1,2],[2,2,1,2,1,3],[2,2,1,3,1,2],[2,3,1,2,1,2],[1,1,2,2,3,2],[1,2,2,1,3,2],[1,2,2,2,3,1],[1,1,3,2,2,2],[1,2,3,1,2,2],[1,2,3,2,2,1],[2,2,3,2,1,1],[2,2,1,1,3,2],[2,2,1,2,3,1],[2,1,3,2,1,2],[2,2,3,1,1,2],[3,1,2,1,3,1],[3,1,1,2,2,2],[3,2,1,1,2,2],[3,2,1,2,2,1],[3,1,2,2,1,2],[3,2,2,1,1,2],[3,2,2,2,1,1],[2,1,2,1,2,3],[2,1,2,3,2,1],[2,3,2,1,2,1],[1,1,1,3,2,3],[1,3,1,1,2,3],[1,3,1,3,2,1],[1,1,2,3,1,3],[1,3,2,1,1,3],[1,3,2,3,1,1],[2,1,1,3,1,3],[2,3,1,1,1,3],[2,3,1,3,1,1],[1,1,2,1,3,3],[1,1,2,3,3,1],[1,3,2,1,3,1],[1,1,3,1,2,3],[1,1,3,3,2,1],[1,3,3,1,2,1],[3,1,3,1,2,1],[2,1,1,3,3,1],[2,3,1,1,3,1],[2,1,3,1,1,3],[2,1,3,3,1,1],[2,1,3,1,3,1],[3,1,1,1,2,3],[3,1,1,3,2,1],[3,3,1,1,2,1],[3,1,2,1,1,3],[3,1,2,3,1,1],[3,3,2,1,1,1],[3,1,4,1,1,1],[2,2,1,4,1,1],[4,3,1,1,1,1],[1,1,1,2,2,4],[1,1,1,4,2,2],[1,2,1,1,2,4],[1,2,1,4,2,1],[1,4,1,1,2,2],[1,4,1,2,2,1],[1,1,2,2,1,4],[1,1,2,4,1,2],[1,2,2,1,1,4],[1,2,2,4,1,1],[1,4,2,1,1,2],[1,4,2,2,1,1],[2,4,1,2,1,1],[2,2,1,1,1,4],[4,1,3,1,1,1],[2,4,1,1,1,2],[1,3,4,1,1,1],[1,1,1,2,4,2],[1,2,1,1,4,2],[1,2,1,2,4,1],[1,1,4,2,1,2],[1,2,4,1,1,2],[1,2,4,2,1,1],[4,1,1,2,1,2],[4,2,1,1,1,2],[4,2,1,2,1,1],[2,1,2,1,4,1],[2,1,4,1,2,1],[4,1,2,1,2,1],[1,1,1,1,4,3],[1,1,1,3,4,1],[1,3,1,1,4,1],[1,1,4,1,1,3],[1,1,4,3,1,1],[4,1,1,1,1,3],[4,1,1,3,1,1],[1,1,3,1,4,1],[1,1,4,1,3,1],[3,1,1,1,4,1],[4,1,1,1,3,1],[2,1,1,4,1,2],[2,1,1,2,1,4],[2,1,1,2,3,2],[2,3,3,1,1,1,2]]},SINGLE_CODE_ERROR:{value:.64},AVG_CODE_ERROR:{value:.3},FORMAT:{value:"code_128",writeable:!1},MODULE_INDICES:{value:{bar:[0,2,4],space:[1,3,5]}}})).constructor=e,e.prototype._decodeCode=function(r,n){var t,o,c,f=[0,0,0,0,0,0],l=this,d=!l._row[r],g=0,_={error:Number.MAX_VALUE,code:-1,start:r,end:r,correction:{bar:1,space:1}};for(t=r;t<l._row.length;t++)if(l._row[t]^d)f[g]++;else{if(g===f.length-1){for(n&&l._correct(f,n),o=0;o<l.CODE_PATTERN.length;o++)(c=l._matchPattern(f,l.CODE_PATTERN[o]))<_.error&&(_.code=o,_.error=c);return _.end=t,-1===_.code||_.error>l.AVG_CODE_ERROR?null:(l.CODE_PATTERN[_.code]&&(_.correction.bar=s(l.CODE_PATTERN[_.code],f,this.MODULE_INDICES.bar),_.correction.space=s(l.CODE_PATTERN[_.code],f,this.MODULE_INDICES.space)),_)}f[++g]=1,d=!d}return null},e.prototype._correct=function(r,n){this._correctBars(r,n.bar,this.MODULE_INDICES.bar),this._correctBars(r,n.space,this.MODULE_INDICES.space)},e.prototype._findStart=function(){var r,n,t,o,c,f=[0,0,0,0,0,0],l=this,p=l._nextSet(l._row),d=!1,g=0,_={error:Number.MAX_VALUE,code:-1,start:0,end:0,correction:{bar:1,space:1}};for(r=p;r<l._row.length;r++)if(l._row[r]^d)f[g]++;else{if(g===f.length-1){for(c=0,o=0;o<f.length;o++)c+=f[o];for(n=l.START_CODE_A;n<=l.START_CODE_C;n++)(t=l._matchPattern(f,l.CODE_PATTERN[n]))<_.error&&(_.code=n,_.error=t);if(_.error<l.AVG_CODE_ERROR)return _.start=r-c,_.end=r,_.correction.bar=s(l.CODE_PATTERN[_.code],f,this.MODULE_INDICES.bar),_.correction.space=s(l.CODE_PATTERN[_.code],f,this.MODULE_INDICES.space),_;for(o=0;o<4;o++)f[o]=f[o+2];f[4]=0,f[5]=0,g--}else g++;f[g]=1,d=!d}return null},e.prototype._decode=function(){var r,n,t=this,o=t._findStart(),c=null,f=!1,l=[],p=0,d=0,g=[],_=[],b=!1,y=!0;if(null===o)return null;switch(_.push(c={code:o.code,start:o.start,end:o.end,correction:{bar:o.correction.bar,space:o.correction.space}}),d=c.code,c.code){case t.START_CODE_A:r=t.CODE_A;break;case t.START_CODE_B:r=t.CODE_B;break;case t.START_CODE_C:r=t.CODE_C;break;default:return null}for(;!f;){if(n=b,b=!1,null!==(c=t._decodeCode(c.end,c.correction)))switch(c.code!==t.STOP_CODE&&(y=!0),c.code!==t.STOP_CODE&&(g.push(c.code),p++,d+=p*c.code),_.push(c),r){case t.CODE_A:if(c.code<64)l.push(String.fromCharCode(32+c.code));else if(c.code<96)l.push(String.fromCharCode(c.code-64));else switch(c.code!==t.STOP_CODE&&(y=!1),c.code){case t.CODE_SHIFT:b=!0,r=t.CODE_B;break;case t.CODE_B:r=t.CODE_B;break;case t.CODE_C:r=t.CODE_C;break;case t.STOP_CODE:f=!0}break;case t.CODE_B:if(c.code<96)l.push(String.fromCharCode(32+c.code));else switch(c.code!==t.STOP_CODE&&(y=!1),c.code){case t.CODE_SHIFT:b=!0,r=t.CODE_A;break;case t.CODE_A:r=t.CODE_A;break;case t.CODE_C:r=t.CODE_C;break;case t.STOP_CODE:f=!0}break;
1case t.CODE_C:if(c.code<100)l.push(c.code<10?"0"+c.code:c.code);else switch(c.code!==t.STOP_CODE&&(y=!1),c.code){case t.CODE_A:r=t.CODE_A;break;case t.CODE_B:r=t.CODE_B;break;case t.STOP_CODE:f=!0}}else f=!0;n&&(r=r===t.CODE_A?t.CODE_B:t.CODE_A)}return null===c?null:(c.end=t._nextUnset(t._row,c.end),t._verifyTrailingWhitespace(c)?(d-=p*g[g.length-1])%103!==g[g.length-1]?null:l.length?(y&&l.splice(l.length-1,1),{code:l.join(""),start:o.start,end:c.end,codeset:r,startInfo:o,decodedCodes:_,endInfo:c}):null:null)},u.a.prototype._verifyTrailingWhitespace=function(r){var n;return(n=r.end+(r.end-r.start)/2)<this._row.length&&this._matchRange(r.end,n,0)?r:null},v.a=e},function(h,v,a){"use strict";function e(){s.a.call(this)}var s=a(31),u_IOQ=/[IOQ]/g,u_AZ09=/[A-Z0-9]{17}/;(e.prototype=Object.create(s.a.prototype)).constructor=e,e.prototype._decode=function(){var i=s.a.prototype._decode.apply(this);if(!i)return null;var r=i.code;return r&&(r=r.replace(u_IOQ,"")).match(u_AZ09)&&this._checkChecksum(r)?(i.code=r,i):null},e.prototype._checkChecksum=function(i){return!!i},v.a=e},function(h,v,a){"use strict";function e(){s.a.call(this)}var s=a(1),u=a(3),i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",r={ALPHABETH_STRING:{value:i},ALPHABET:{value:i.split("").map(function(n){return n.charCodeAt(0)})},CHARACTER_ENCODINGS:{value:[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]},ASTERISK:{value:350},FORMAT:{value:"code_93",writeable:!1}};(e.prototype=Object.create(s.a.prototype,r)).constructor=e,e.prototype._decode=function(){var n,t,o,c,f=this,l=[0,0,0,0,0,0],p=[],d=f._findStart();if(!d)return null;c=f._nextSet(f._row,d.end);do{if(l=f._toCounters(c,l),(o=f._toPattern(l))<0||(n=f._patternToChar(o))<0)return null;p.push(n),t=c,c+=u.a.sum(l),c=f._nextSet(f._row,c)}while("*"!==n);return p.pop(),p.length&&f._verifyEnd(t,c,l)&&f._verifyChecksums(p)?(p=p.slice(0,p.length-2),null===(p=f._decodeExtended(p))?null:{code:p.join(""),start:d.start,end:c,startInfo:d,decodedCodes:p}):null},e.prototype._verifyEnd=function(n,t){return!(n===t||!this._row[t])},e.prototype._patternToChar=function(n){var t,o=this;for(t=0;t<o.CHARACTER_ENCODINGS.length;t++)if(o.CHARACTER_ENCODINGS[t]===n)return String.fromCharCode(o.ALPHABET[t]);return-1},e.prototype._toPattern=function(n){for(var t=n.length,o=0,c=0,f=0;f<t;f++)c+=n[f];for(var l=0;l<t;l++){var p=Math.round(9*n[l]/c);if(p<1||p>4)return-1;if(1&l)o<<=p;else for(var d=0;d<p;d++)o=o<<1|1}return o},e.prototype._findStart=function(){var n,t,o,c=this,f=c._nextSet(c._row),l=f,p=[0,0,0,0,0,0],d=0,g=!1;for(n=f;n<c._row.length;n++)if(c._row[n]^g)p[d]++;else{if(d===p.length-1){if(c._toPattern(p)===c.ASTERISK&&(o=Math.floor(Math.max(0,l-(n-l)/4)),c._matchRange(o,l,0)))return{start:l,end:n};for(l+=p[0]+p[1],t=0;t<4;t++)p[t]=p[t+2];p[4]=0,p[5]=0,d--}else d++;p[d]=1,g=!g}return null},e.prototype._decodeExtended=function(n){for(var t=n.length,o=[],c=0;c<t;c++){var f=n[c];if(f>="a"&&f<="d"){if(c>t-2)return null;var l=n[++c],p=l.charCodeAt(0),d=void 0;switch(f){case"a":if(!(l>="A"&&l<="Z"))return null;d=String.fromCharCode(p-64);break;case"b":if(l>="A"&&l<="E")d=String.fromCharCode(p-38);else if(l>="F"&&l<="J")d=String.fromCharCode(p-11);else if(l>="K"&&l<="O")d=String.fromCharCode(p+16);else if(l>="P"&&l<="S")d=String.fromCharCode(p+43);else{if(!(l>="T"&&l<="Z"))return null;d=String.fromCharCode(127)}break;case"c":if(l>="A"&&l<="O")d=String.fromCharCode(p-32);else{if("Z"!==l)return null;d=":"}break;case"d":if(!(l>="A"&&l<="Z"))return null;d=String.fromCharCode(p+32)}o.push(d)}else o.push(f)}return o},e.prototype._verifyChecksums=function(n){return this._matchCheckChar(n,n.length-2,20)&&this._matchCheckChar(n,n.length-1,15)},e.prototype._matchCheckChar=function(n,t,o){var c=this,f=n.slice(0,t),l=f.length,p=f.reduce(function(d,g,_){return d+((-1*_+(l-1))%o+1)*c.ALPHABET.indexOf(g.charCodeAt(0))},0);return this.ALPHABET[p%47]===n[t].charCodeAt(0)},v.a=e},function(h,v,a){"use strict";function e(){s.a.call(this)}var s=a(4);(e.prototype=Object.create(s.a.prototype,{FORMAT:{value:"ean_2",writeable:!1}})).constructor=e,e.prototype.decode=function(i,r){this._row=i;var n,t=0,o=0,c=r,f=this._row.length,l=[],p=[];for(o=0;o<2&&c<f;o++){if(!(n=this._decodeCode(c)))return null;p.push(n),l.push(n.code%10),n.code>=this.CODE_G_START&&(t|=1<<1-o),1!=o&&(c=this._nextSet(this._row,n.end),c=this._nextUnset(this._row,c))}return 2!=l.length||parseInt(l.join(""))%4!==t?null:{code:l.join(""),decodedCodes:p,end:n.end}},v.a=e},function(h,v,a){"use strict";function e(){i.a.call(this)}var i=a(4),n=[24,20,18,17,12,6,3,10,9,5];(e.prototype=Object.create(i.a.prototype,{FORMAT:{value:"ean_5",writeable:!1}})).constructor=e,e.prototype.decode=function(t,o){this._row=t;var c,f=0,l=0,p=o,d=this._row.length,g=[],_=[];for(l=0;l<5&&p<d;l++){if(!(c=this._decodeCode(p)))return null;_.push(c),g.push(c.code%10),c.code>=this.CODE_G_START&&(f|=1<<4-l),4!=l&&(p=this._nextSet(this._row,c.end),p=this._nextUnset(this._row,p))}return 5!=g.length||function u(t){var o,c=t.length,f=0;for(o=c-2;o>=0;o-=2)f+=t[o];for(f*=3,o=c-1;o>=0;o-=2)f+=t[o];return(f*=3)%10}(g)!==function s(t){var o;for(o=0;o<10;o++)if(t===n[o])return o;return null}(f)?null:{code:g.join(""),decodedCodes:_,end:c.end}},v.a=e},function(h,v,a){"use strict";function e(i,r){s.a.call(this,i,r)}var s=a(4);(e.prototype=Object.create(s.a.prototype,{FORMAT:{value:"ean_8",writeable:!1}})).constructor=e,e.prototype._decodePayload=function(i,r,n){var t,o=this;for(t=0;t<4;t++){if(!(i=o._decodeCode(i.end,o.CODE_G_START)))return null;r.push(i.code),n.push(i)}if(null===(i=o._findPattern(o.MIDDLE_PATTERN,i.end,!0,!1)))return null;for(n.push(i),t=0;t<4;t++){if(!(i=o._decodeCode(i.end,o.CODE_G_START)))return null;n.push(i),r.push(i.code)}return i},v.a=e},function(h,v,a){"use strict";function e(c){c=i()(function s(){var c={};
vendor: 4,269 bytes, line 1
1return Object.keys(e.CONFIG_KEYS).forEach(function(f){c[f]=e.CONFIG_KEYS[f].default}),c}(),c),r.a.call(this,c),this.barSpaceRatio=[1,1],c.normalizeBarSpaceWidth&&(this.SINGLE_CODE_ERROR=.38,this.AVG_CODE_ERROR=.09)}var u=a(28),i=a.n(u),r=a(1);(e.prototype=Object.create(r.a.prototype,{START_PATTERN:{value:[1,1,1,1]},STOP_PATTERN:{value:[1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.38,writable:!0},MAX_CORRECTION_FACTOR:{value:5},FORMAT:{value:"i2of5"}})).constructor=e,e.prototype._matchPattern=function(c,f){if(this.config.normalizeBarSpaceWidth){var l,p=[0,0],d=[0,0],g=[0,0],_=this.MAX_CORRECTION_FACTOR,b=1/_;for(l=0;l<c.length;l++)p[l%2]+=c[l],d[l%2]+=f[l];for(g[0]=d[0]/p[0],g[1]=d[1]/p[1],g[0]=Math.max(Math.min(g[0],_),b),g[1]=Math.max(Math.min(g[1],_),b),this.barSpaceRatio=g,l=0;l<c.length;l++)c[l]*=this.barSpaceRatio[l%2]}return r.a.prototype._matchPattern.call(this,c,f)},e.prototype._findPattern=function(c,f,l,p){var d,g,_,b,y=[],x=this,C=0,E={error:Number.MAX_VALUE,code:-1,start:0,end:0},z=x.AVG_CODE_ERROR;for(l=l||!1,p=p||!1,f||(f=x._nextSet(x._row)),d=0;d<c.length;d++)y[d]=0;for(d=f;d<x._row.length;d++)if(x._row[d]^l)y[C]++;else{if(C===y.length-1){for(b=0,_=0;_<y.length;_++)b+=y[_];if((g=x._matchPattern(y,c))<z)return E.error=g,E.start=d-b,E.end=d,E;if(!p)return null;for(_=0;_<y.length-2;_++)y[_]=y[_+2];y[y.length-2]=0,y[y.length-1]=0,C--}else C++;y[C]=1,l=!l}return null},e.prototype._findStart=function(){for(var c,f,l=this,p=l._nextSet(l._row),d=1;!f;){if(!(f=l._findPattern(l.START_PATTERN,p,!1,!0)))return null;if(d=Math.floor((f.end-f.start)/4),(c=f.start-10*d)>=0&&l._matchRange(c,f.start,0))return f;p=f.end,f=null}},e.prototype._verifyTrailingWhitespace=function(c){var f;return(f=c.end+(c.end-c.start)/2)<this._row.length&&this._matchRange(c.end,f,0)?c:null},e.prototype._findEnd=function(){var c,f,l=this;return l._row.reverse(),c=l._findPattern(l.STOP_PATTERN),l._row.reverse(),null===c?null:(f=c.start,c.start=l._row.length-c.end,c.end=l._row.length-f,null!==c?l._verifyTrailingWhitespace(c):null)},e.prototype._decodePair=function(c){var f,l,p=[];for(f=0;f<c.length;f++){if(!(l=this._decodeCode(c[f])))return null;p.push(l)}return p},e.prototype._decodeCode=function(c){var f,l,p,d=this,_=d.AVG_CODE_ERROR,b={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(f=0;f<c.length;f++);for(p=0;p<d.CODE_PATTERN.length;p++)(l=d._matchPattern(c,d.CODE_PATTERN[p]))<b.error&&(b.code=p,b.error=l);if(b.error<_)return b},e.prototype._decodePayload=function(c,f,l){for(var p,d,_=0,b=c.length,y=[[0,0,0,0,0],[0,0,0,0,0]];_<b;){for(p=0;p<5;p++)y[0][p]=c[_]*this.barSpaceRatio[0],y[1][p]=c[_+1]*this.barSpaceRatio[1],_+=2;if(!(d=this._decodePair(y)))return null;for(p=0;p<d.length;p++)f.push(d[p].code+""),l.push(d[p])}return d},e.prototype._verifyCounterLength=function(c){return c.length%10==0},e.prototype._decode=function(){var c,f,l,p=this,d=[],g=[];return(c=p._findStart())?(g.push(c),(f=p._findEnd())?(l=p._fillCounters(c.end,f.start,!1),p._verifyCounterLength(l)&&p._decodePayload(l,d,g)?d.length%2!=0||d.length<6?null:(g.push(f),{code:d.join(""),start:c.start,end:f.end,startInfo:c,decodedCodes:g}):null):null):null},e.CONFIG_KEYS={normalizeBarSpaceWidth:{type:"boolean",default:!1,description:"If true, the reader tries to normalize thewidth-difference between bars and spaces"}},v.a=e},function(h,v,a){"use strict";function e(i,r){s.a.call(this,i,r)}var s=a(4);(e.prototype=Object.create(s.a.prototype,{CODE_FREQUENCY:{value:[[56,52,50,49,44,38,35,42,41,37],[7,11,13,14,19,25,28,21,22,26]]},STOP_PATTERN:{value:[1/6*7,1/6*7,1/6*7,1/6*7,1/6*7,1/6*7]},FORMAT:{value:"upc_e",writeable:!1}})).constructor=e,e.prototype._decodePayload=function(i,r,n){var t,o=this,c=0;for(t=0;t<6;t++){if(!(i=o._decodeCode(i.end)))return null;i.code>=o.CODE_G_START&&(i.code=i.code-o.CODE_G_START,c|=1<<5-t),r.push(i.code),n.push(i)}return o._determineParity(c,r)?i:null},e.prototype._determineParity=function(i,r){var n,t;for(t=0;t<this.CODE_FREQUENCY.length;t++)for(n=0;n<this.CODE_FREQUENCY[t].length;n++)if(i===this.CODE_FREQUENCY[t][n])return r.unshift(t),r.push(n),!0;return!1}
1,e.prototype._convertToUPCA=function(i){var r=[i[0]],n=i[i.length-2];return(r=n<=2?r.concat(i.slice(1,3)).concat([n,0,0,0,0]).concat(i.slice(3,6)):3===n?r.concat(i.slice(1,4)).concat([0,0,0,0,0]).concat(i.slice(4,6)):4===n?r.concat(i.slice(1,5)).concat([0,0,0,0,0,i[5]]):r.concat(i.slice(1,6)).concat([0,0,0,0,n])).push(i[i.length-1]),r},e.prototype._checksum=function(i){return s.a.prototype._checksum.call(this,this._convertToUPCA(i))},e.prototype._findEnd=function(i,r){return s.a.prototype._findEnd.call(this,i,!0)},e.prototype._verifyTrailingWhitespace=function(i){var r;if((r=i.end+(i.end-i.start)/2)<this._row.length&&this._matchRange(i.end,r,0))return i},v.a=e},function(h,v,a){"use strict";function e(i,r){s.a.call(this,i,r)}var s=a(4);(e.prototype=Object.create(s.a.prototype,{FORMAT:{value:"upc_a",writeable:!1}})).constructor=e,e.prototype._decode=function(){var i=s.a.prototype._decode.call(this);return i&&i.code&&13===i.code.length&&"0"===i.code.charAt(0)?(i.code=i.code.substring(1),i):null},v.a=e},function(h,v){h.exports=function a(e,s){return e[0]=s[0],e[1]=s[1],e[2]=s[2],e[3]=s[3],e}},function(h,v){h.exports=function a(){var e=new Float32Array(4);return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e}},function(h,v){h.exports=function a(e,s){var u=s[0],i=s[1],r=s[2],n=s[3],t=u*n-r*i;return t?(e[0]=n*(t=1/t),e[1]=-i*t,e[2]=-r*t,e[3]=u*t,e):null}},function(h,v){h.exports=function a(e,s,u){return e[0]=s[0]*u,e[1]=s[1]*u,e}},function(h,v){h.exports=function a(e,s,u){var i=s[0],r=s[1];return e[0]=u[0]*i+u[2]*r,e[1]=u[1]*i+u[3]*r,e}},function(h,v){h.exports=function a(e){var s=new Float32Array(3);return s[0]=e[0],s[1]=e[1],s[2]=e[2],s}},function(h,v,a){function e(t){var o=-1,c=null==t?0:t.length;for(this.clear();++o<c;){var f=t[o];this.set(f[0],f[1])}}var s=a(122),u=a(123),i=a(124),r=a(125),n=a(126);e.prototype.clear=s,e.prototype.delete=u,e.prototype.get=i,e.prototype.has=r,e.prototype.set=n,h.exports=e},function(h,v,a){function e(o){var c=this.__data__=new s(o);this.size=c.size}var s=a(10),u=a(149),i=a(150),r=a(151),n=a(152),t=a(153);e.prototype.clear=u,e.prototype.delete=i,e.prototype.get=r,e.prototype.has=n,e.prototype.set=t,h.exports=e},function(h,v,a){var e=a(5);h.exports=e.Uint8Array},function(h,v){h.exports=function a(e,s,u){switch(u.length){case 0:return e.call(s);case 1:return e.call(s,u[0]);case 2:return e.call(s,u[0],u[1]);case 3:return e.call(s,u[0],u[1],u[2])}return e.apply(s,u)}},function(h,v,a){var s=a(107),u=a(18),i=a(2),r=a(44),n=a(15),t=a(45),c=Object.prototype.hasOwnProperty;h.exports=function e(f,l){var p=i(f),d=!p&&u(f),g=!p&&!d&&r(f),_=!p&&!d&&!g&&t(f),b=p||d||g||_,y=b?s(f.length,String):[],x=y.length;for(var C in f)!l&&!c.call(f,C)||b&&("length"==C||g&&("offset"==C||"parent"==C)||_&&("buffer"==C||"byteLength"==C||"byteOffset"==C)||n(C,x))||y.push(C);return y}},function(h,v){h.exports=function a(e,s){for(var u=-1,i=null==e?0:e.length,r=Array(i);++u<i;)r[u]=s(e[u],u,e);return r}},function(h,v){h.exports=function a(e,s){for(var u=-1,i=s.length,r=e.length;++u<i;)e[r+u]=s[u];return e}},function(h,v,a){var e=a(0),s=Object.create,u=function(){function i(){}return function(r){if(!e(r))return{};if(s)return s(r);i.prototype=r;var n=new i;return i.prototype=void 0,n}}();h.exports=u},function(h,v,a){var s=a(90),u=a(128);h.exports=function e(i,r,n,t,o){var c=-1,f=i.length;for(n||(n=u),o||(o=[]);++c<f;){var l=i[c];r>0&&n(l)?r>1?e(l,r-1,n,t,o):s(o,l):t||(o[o.length]=l)}return o}},function(h,v,a){var s=a(117)();h.exports=s},function(h,v,a){var s=a(13),u=a(23);h.exports=function e(i,r){for(var n=0,t=(r=s(r,i)).length;null!=i&&n<t;)i=i[u(r[n++])];return n&&n==t?i:void 0}},function(h,v){h.exports=function a(e,s){return null!=e&&s in Object(e)}},function(h,v,a){var s=a(8),u=a(6);h.exports=function e(r){return u(r)&&"[object Arguments]"==s(r)}},function(h,v,a){var s=a(25),u=a(132),i=a(0),r=a(155),t=/^\[object .+?Constructor\]$/,p=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");h.exports=function e(d){return!(!i(d)||u(d))&&(s(d)?p:t).test(r(d))}},function(h,v,a){var s=a(8),u=a(26),i=a(6),r={};
1r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,h.exports=function e(n){return i(n)&&u(n.length)&&!!r[s(n)]}},function(h,v,a){var s=a(0),u=a(40),i=a(144),n=Object.prototype.hasOwnProperty;h.exports=function e(t){if(!s(t))return i(t);var o=u(t),c=[];for(var f in t)("constructor"!=f||!o&&n.call(t,f))&&c.push(f);return c}},function(h,v,a){var s=a(85),u=a(35),i=a(93),r=a(101),n=a(0),t=a(46);h.exports=function e(o,c,f,l,p){o!==c&&i(c,function(d,g){if(n(d))p||(p=new s),r(o,c,g,f,e,l,p);else{var _=l?l(o[g],d,g+"",o,c,p):void 0;void 0===_&&(_=d),u(o,g,_)}},t)}},function(h,v,a){var s=a(35),u=a(111),i=a(112),r=a(113),n=a(127),t=a(18),o=a(2),c=a(159),f=a(44),l=a(25),p=a(0),d=a(160),g=a(45),_=a(164);h.exports=function e(b,y,x,C,E,z,O){var m=b[x],M=y[x],P=O.get(M);if(P)s(b,x,P);else{var S=z?z(m,M,x+"",b,y,O):void 0,I=void 0===S;if(I){var G=o(M),V=!G&&f(M),A=!G&&!V&&g(M);S=M,G||V||A?o(m)?S=m:c(m)?S=r(m):V?(I=!1,S=u(M,!0)):A?(I=!1,S=i(M,!0)):S=[]:d(M)||t(M)?(S=m,t(m)?S=_(m):(!p(m)||C&&l(m))&&(S=n(M))):I=!1}I&&(O.set(M,S),E(S,M,C,z,O),O.delete(M)),s(b,x,S)}}},function(h,v,a){var s=a(103),u=a(158);h.exports=function e(i,r){return s(i,r,function(n,t){return u(i,t)})}},function(h,v,a){var s=a(94),u=a(105),i=a(13);h.exports=function e(r,n,t){for(var o=-1,c=n.length,f={};++o<c;){var l=n[o],p=s(r,l);t(p,l)&&u(f,i(l,r),p)}return f}},function(h,v,a){var s=a(43),u=a(41),i=a(42);h.exports=function e(r,n){return i(u(r,n,s),r+"")}},function(h,v,a){var s=a(36),u=a(13),i=a(15),r=a(0),n=a(23);h.exports=function e(t,o,c,f){if(!r(t))return t;for(var l=-1,p=(o=u(o,t)).length,d=p-1,g=t;null!=g&&++l<p;){var _=n(o[l]),b=c;if(l!=d){var y=g[_];void 0===(b=f?f(y,_,g):void 0)&&(b=r(y)?y:i(o[l+1])?[]:{})}s(g,_,b),g=g[_]}return t}},function(h,v,a){var e=a(156),s=a(37),u=a(43);h.exports=s?function(r,n){return s(r,"toString",{configurable:!0,enumerable:!1,value:e(n),writable:!0})}:u},function(h,v){h.exports=function a(e,s){for(var u=-1,i=Array(e);++u<e;)i[u]=s(u);return i}},function(h,v,a){var s=a(11),u=a(89),i=a(2),r=a(27),t=s?s.prototype:void 0,o=t?t.toString:void 0;h.exports=function e(c){if("string"==typeof c)return c;if(i(c))return u(c,e)+"";if(r(c))return o?o.call(c):"";var f=c+"";return"0"==f&&1/c==-Infinity?"-0":f}},function(h,v){h.exports=function a(e){return function(s){return e(s)}}},function(h,v,a){var s=a(86);h.exports=function e(u){var i=new u.constructor(u.byteLength);return new s(i).set(new s(u)),i}},function(h,v,a){(function(e){var u=a(5),i="object"==typeof v&&v&&!v.nodeType&&v,r=i&&"object"==typeof e&&e&&!e.nodeType&&e,t=r&&r.exports===i?u.Buffer:void 0,o=t?t.allocUnsafe:void 0;e.exports=function s(c,f){if(f)return c.slice();var l=c.length,p=o?o(l):new c.constructor(l);return c.copy(p),p}}).call(v,a(29)(h))},function(h,v,a){var s=a(110);h.exports=function e(u,i){var r=i?s(u.buffer):u.buffer;return new u.constructor(r,u.byteOffset,u.length)}},function(h,v){h.exports=function a(e,s){var u=-1,i=e.length;for(s||(s=Array(i));++u<i;)s[u]=e[u];return s}},function(h,v,a){var s=a(36),u=a(21);h.exports=function e(i,r,n,t){var o=!n;n||(n={});for(var c=-1,f=r.length;++c<f;){var l=r[c],p=t?t(n[l],i[l],l,n,i):void 0;void 0===p&&(p=i[l]),o?u(n,l,p):s(n,l,p)}return n}},function(h,v,a){var e=a(5);h.exports=e["__core-js_shared__"]},function(h,v,a){var s=a(104),u=a(129);h.exports=function e(i){return s(function(r,n){var t=-1,o=n.length,c=o>1?n[o-1]:void 0,f=o>2?n[2]:void 0;for(c=i.length>3&&"function"==typeof c?(o--,c):void 0,f&&u(n[0],n[1],f)&&(c=o<3?void 0:c,o=1),r=Object(r);++t<o;){var l=n[t];l&&i(r,l,t,c)}return r})}},function(h,v){h.exports=function a(e){return function(s,u,i){for(var r=-1,n=Object(s),t=i(s),o=t.length;o--;){var c=t[e?o:++r];if(!1===u(n[c],c,n))break}return s}}},function(h,v,a){var s=a(157),u=a(41),i=a(42);h.exports=function e(r){return i(u(r,void 0,s),r+"")}},function(h,v,a){var s=a(11),u=Object.prototype,i=u.hasOwnProperty,r=u.toString,n=s?s.toStringTag:void 0;h.exports=function e(t){var o=i.call(t,n),c=t[n];try{t[n]=void 0;var f=!0}catch{}var l=r.call(t);return f&&(o?t[n]=c:delete t[n]),l}},function(h,v){h.exports=function a(e,s){return e?.[s]}},function(h,v,a){var s=a(13),u=a(18),i=a(2),r=a(15),n=a(26),t=a(23);h.exports=function e(o,c,f){for(var l=-1,p=(c=s(c,o)).length,d=!1;++l<p;){var g=t(c[l]);if(!(d=null!=o&&f(o,g)))break;o=o[g]}return d||++l!=p?d:!!(p=null==o?0:o.length)&&n(p)&&r(g,p)&&(i(o)||u(o))}},function(h,v,a){var s=a(16);h.exports=function e(){this.__data__=s?s(null):{},this.size=0}},function(h,v){h.exports=function a(e){var s=this.has(e)&&delete this.__data__[e];return this.size-=s?1:0,s}},function(h,v,a){var s=a(16),r=Object.prototype.hasOwnProperty;h.exports=function e(n){var t=this.__data__;if(s){var o=t[n];return"__lodash_hash_undefined__"===o?void 0:o}return r.call(t,n)?t[n]:void 0}},function(h,v,a){var s=a(16),i=Object.prototype.hasOwnProperty;h.exports=function e(r){var n=this.__data__;return s?void 0!==n[r]:i.call(n,r)}},function(h,v,a){var s=a(16);h.exports=function e(i,r){var n=this.__data__;return this.size+=this.has(i)?0:1,n[i]=s&&void 0===r?"__lodash_hash_undefined__":r,this}},function(h,v,a){var s=a(91),u=a(39),i=a(40);h.exports=function e(r){return"function"!=typeof r.constructor||i(r)?{}:s(u(r))}},function(h,v,a){var s=a(11),u=a(18),i=a(2),r=s?s.isConcatSpreadable:void 0;h.exports=function e(n){return i(n)||u(n)||!!(r&&n&&n[r])}}
1,function(h,v,a){var s=a(17),u=a(24),i=a(15),r=a(0);h.exports=function e(n,t,o){if(!r(o))return!1;var c=typeof t;return!!("number"==c?u(o)&&i(t,o.length):"string"==c&&t in o)&&s(o[t],n)}},function(h,v,a){var s=a(2),u=a(27),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;h.exports=function e(n,t){if(s(n))return!1;var o=typeof n;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&null!=n&&!u(n))||r.test(n)||!i.test(n)||null!=t&&n in Object(t)}},function(h,v){h.exports=function a(e){var s=typeof e;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==e:null===e}},function(h,v,a){var i,s=a(115),u=(i=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";h.exports=function e(i){return!!u&&u in i}},function(h,v){h.exports=function a(){this.__data__=[],this.size=0}},function(h,v,a){var s=a(12),i=Array.prototype.splice;h.exports=function e(r){var n=this.__data__,t=s(n,r);return!(t<0||(t==n.length-1?n.pop():i.call(n,t,1),--this.size,0))}},function(h,v,a){var s=a(12);h.exports=function e(u){var i=this.__data__,r=s(i,u);return r<0?void 0:i[r][1]}},function(h,v,a){var s=a(12);h.exports=function e(u){return s(this.__data__,u)>-1}},function(h,v,a){var s=a(12);h.exports=function e(u,i){var r=this.__data__,n=s(r,u);return n<0?(++this.size,r.push([u,i])):r[n][1]=i,this}},function(h,v,a){var s=a(84),u=a(10),i=a(33);h.exports=function e(){this.size=0,this.__data__={hash:new s,map:new(i||u),string:new s}}},function(h,v,a){var s=a(14);h.exports=function e(u){var i=s(this,u).delete(u);return this.size-=i?1:0,i}},function(h,v,a){var s=a(14);h.exports=function e(u){return s(this,u).get(u)}},function(h,v,a){var s=a(14);h.exports=function e(u){return s(this,u).has(u)}},function(h,v,a){var s=a(14);h.exports=function e(u,i){var r=s(this,u),n=r.size;return r.set(u,i),this.size+=r.size==n?0:1,this}},function(h,v,a){var s=a(161);h.exports=function e(i){var r=s(i,function(t){return 500===n.size&&n.clear(),t}),n=r.cache;return r}},function(h,v){h.exports=function a(e){var s=[];if(null!=e)for(var u in Object(e))s.push(u);return s}},function(h,v,a){(function(e){var s=a(38),u="object"==typeof v&&v&&!v.nodeType&&v,i=u&&"object"==typeof e&&e&&!e.nodeType&&e,n=i&&i.exports===u&&s.process,t=function(){try{return n&&n.binding&&n.binding("util")}catch{}}();e.exports=t}).call(v,a(29)(h))},function(h,v){var s=Object.prototype.toString;h.exports=function a(u){return s.call(u)}},function(h,v){h.exports=function a(e,s){return function(u){return e(s(u))}}},function(h,v){var e=800,s=16,u=Date.now;h.exports=function a(i){var r=0,n=0;return function(){var t=u(),o=s-(t-n);if(n=t,o>0){if(++r>=e)return arguments[0]}else r=0;return i.apply(void 0,arguments)}}},function(h,v,a){var s=a(10);h.exports=function e(){this.__data__=new s,this.size=0}},function(h,v){h.exports=function a(e){var s=this.__data__,u=s.delete(e);return this.size=s.size,u}},function(h,v){h.exports=function a(e){return this.__data__.get(e)}},function(h,v){h.exports=function a(e){return this.__data__.has(e)}},function(h,v,a){var s=a(10),u=a(33),i=a(34);h.exports=function e(n,t){var o=this.__data__;if(o instanceof s){var c=o.__data__;if(!u||c.length<199)return c.push([n,t]),this.size=++o.size,this;o=this.__data__=new i(c)}return o.set(n,t),this.size=o.size,this}},function(h,v,a){var e=a(143),s=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,r=e(function(n){var t=[];return s.test(n)&&t.push(""),n.replace(u,function(o,c,f,l){t.push(f?l.replace(i,"$1"):c||o)}),t});h.exports=r},function(h,v){var s=Function.prototype.toString;h.exports=function a(u){if(null!=u){try{return s.call(u)}catch{}try{return u+""}catch{}}return""}},function(h,v){h.exports=function a(e){return function(){return e}}},function(h,v,a){var s=a(92);h.exports=function e(u){return null!=u&&u.length?s(u,1):[]}},function(h,v,a){var s=a(95),u=a(121);h.exports=function e(i,r){return null!=i&&u(i,r,s)}},function(h,v,a){var s=a(24),u=a(6);h.exports=function e(i){return u(i)&&s(i)}},function(h,v,a){var s=a(8),u=a(39),i=a(6),o=Function.prototype.toString,c=Object.prototype.hasOwnProperty,f=o.call(Object);h.exports=function e(l){if(!i(l)||"[object Object]"!=s(l))return!1;var p=u(l);if(null===p)return!0;var d=c.call(p,"constructor")&&p.constructor;
1return"function"==typeof d&&d instanceof d&&o.call(d)==f}},function(h,v,a){function e(i,r){if("function"!=typeof i||null!=r&&"function"!=typeof r)throw new TypeError(u);var n=function(){var t=arguments,o=r?r.apply(this,t):t[0],c=n.cache;if(c.has(o))return c.get(o);var f=i.apply(this,t);return n.cache=c.set(o,f)||c,f};return n.cache=new(e.Cache||s),n}var s=a(34),u="Expected a function";e.Cache=s,h.exports=e},function(h,v,a){var e=a(102),u=a(118)(function(i,r){return null==i?{}:e(i,r)});h.exports=u},function(h,v){h.exports=function a(){return!1}},function(h,v,a){var s=a(114),u=a(46);h.exports=function e(i){return s(i,u(i))}},function(h,v,a){var s=a(108);h.exports=function e(u){return null==u?"":s(u)}},function(h,v,a){h.exports=a(48)}])},ct.exports=h(h.toString()).default}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.