1(self.webpackChunkprestadoresApp=self.webpackChunkprestadoresApp||[]).push([[180],{2075:(on,bt,L)=>{L.d(bt,{G:()=>ht});var e=L(2331),N=L(8701),K=L(8018),et=L(9969),Ae=L(4875),tt=L(7726),Ue=L(4412),Ve=L(2226);let Ke=(()=>{class ne{constructor(){this.API_URL=`${Ve.T.API_URL_CLIENT}/api/v1/`,this._http=(0,e.inject)(Ae.k),this.contractsSubject=new Ue.t([]),this.contracts$=this.contractsSubject.asObservable()}validateTravelAssistance(){return this._http.get(`${this.API_URL}certificate/validar_beneficio_asistecia`)}validateCertificateWithholdingTax(){return this._http.get(`${this.API_URL}certificate/validar_certificado_retefuente`)}validateCertificateAffiliate(){return this._http.get(`${this.API_URL}certificate/validar_certificado_afiliado`)}pdfAffiliation(Ce,ye){return this._http.post(`${this.API_URL}client/pdf_beneficiaries/${Ce}`,ye,null,!0)}pdfAffiliationBeneficiaries(Ce,ye,Qe,le){return this._http.post(`${this.API_URL}client/pdf_beneficiaries/${Ce}/${ye}/${Qe}`,le,null,!0)}sendAssistantCertificate(Ce){return this._http.post(`${this.API_URL}certificate/generar_certificado_asistencia`,Ce)}downloadCertificateWithholdingTax(Ce){const ye=tt.K.encryptData(Ce.document);return Ce={...Ce,document:ye},this._http.post(`${this.API_URL}report/withholding_tax`,Ce,null,!0)}pdfWithholdingTax(Ce,ye){const Qe=tt.K.encryptData(ye);return this._http.post(`${this.API_URL}certificate/withholding_tax`,{documentType:Ce,document:Qe},null,!0)}getCertificates(Ce,ye){const Qe=tt.K.encryptData(ye);return this._http.post(`${this.API_URL}certificate/get_travel_certificates`,{documentType:Ce,document:Qe})}downloadCertificate(Ce,ye,Qe){return this._http.getBlob(`${this.API_URL}certificate/download_travel_certificate?certificateNumber=${Ce}&documentNumber=${ye}&office=${Qe}`)}cancelCertificate(Ce){return this._http.deleteWithBody(`${this.API_URL}certificate/cancel_travel_certificate`,Ce)}static{this.\u0275fac=function(ye){return new(ye||ne)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac,providedIn:"root"})}}return ne})();var ft=L(319);function Oe(ne,Xe){if(1&ne){const Ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"h5",9),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",10)(4,"button",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Ce);const Qe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Qe.onSelectBeneficiary.emit(Qe.contrato.contractNumber))}),e.\u0275\u0275text(5),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"button",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Ce);const Qe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Qe.handleContracNumberClick())}),e.\u0275\u0275text(8),e.\u0275\u0275pipe(9,"translate"),e.\u0275\u0275elementEnd()()}2&ne&&(e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(2,3,"cardsContrato.CertificateFrom")),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(6,5,"cardsContrato.buttonBeneficiary")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(9,7,"cardsContrato.buttonContract")))}function be(ne,Xe){if(1&ne){const Ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",12)(1,"button",13),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Ce);const Qe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Qe.downloadCertificate())}),e.\u0275\u0275element(2,"i",14),e.\u0275\u0275elementStart(3,"span"),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275elementEnd()()()}2&ne&&(e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(5,1,"General.Buttons.DownloadCertificate")))}let ht=(()=>{class ne{constructor(){this.onSelectContracNumber=new e.EventEmitter,this.onSelectBeneficiary=new e.EventEmitter,this._certificateService=(0,e.inject)(Ke),this._authService=(0,e.inject)(ft.u)}ngOnInit(){this.currentUser=this._authService.getDataUser()}handleContracNumberClick(){this.onSelectContracNumber.emit(this.contrato.contractNumber)}togglePlan(Ce){Ce.isExpanded=!Ce.isExpanded}downloadCertificate(){this.currentUser=this._authService.getDataUser(),this._certificateService.pdfAffiliation(this.contrato.contractNumber,[this.currentUser.document]).subscribe()}static{this.\u0275fac=function(ye){return new(ye||ne)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:ne,selectors:[["lib-cards-contratos"]],inputs:{contrato:"contrato"},outputs:{onSelectContracNumber:"onSelectContracNumber",onSelectBeneficiary:"onSelectBeneficiary"},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],decls:17,vars:11,consts:[[1,"card","mb-4"],[1,"card-body"],[3,"click"],[1,"row"],[1,"col-md-10","col-9"],[1,"card-title","mb-2"],[1,"text-muted"],[1,"col-md-2","d-flex","align-items-center","justify-content-end"],[1,"bi"],[1,"border_top","mb-3"],[1,"d-grid","gap-4"],[1,"btn","btn-primary",3,"click"],[1,"border_top","w-100"],[1,"btn","btn-primary","d-block","w-100","mt-2",3,"click"],[1,"bi","bi-download","me-2"]],template:function(ye,Qe){1&ye&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2),e.\u0275\u0275listener("click",function(){return Qe.togglePlan(Qe.contrato)}),e.\u0275\u0275elementStart(3,"div",3)(4,"div",4)(5,"h5",5),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"small",6),e.\u0275\u0275text(8),e.\u0275\u0275pipe(9,"translate"),e.\u0275\u0275elementStart(10,"span"),e.\u0275\u0275text(11),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(12,"div",7),e.\u0275\u0275element(13,"i",8),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(14,"div"),e.\u0275\u0275template(15,Oe,10,9)(16,be,6,3),e.\u0275\u0275elementEnd()()()),2&ye&&(e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate(Qe.contrato.name),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(9,9,"cardsContrato.NumberContract")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(Qe.contrato.contractNumber),e.\u0275\u0275advance(2),e.\u0275\u0275classProp("btn-up",Qe.contrato.isExpanded)("btn-down",!Qe.contrato.isExpanded),e.\u0275\u0275advance(),e.\u0275\u0275property("@accordionToggle",Qe.contrato.isExpanded?"expanded":"collapsed"),e.\u0275\u0275advance(),e.\u0275\u0275conditional(15,Qe.contrato.isOwner?15:16))},dependencies:[N.CommonModule,K.h,K.D9],styles:['@charset "UTF-8";.card[_ngcontent-%COMP%]{border-radius:12px!important;box-shadow:0 0 6px #0003}.card-body[_ngcontent-%COMP%]{transition:transform .3s}.text-muted[_ngcontent-%COMP%]{font-size:var(--font-size-base);font-weight:600;color:#222!important}.text-muted[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400}.border_top[_ngcontent-%COMP%]{border-top:1px solid #CBCBCB;margin-top:10px;padding-top:10px}.btn-up[_ngcontent-%COMP%], .btn-down[_ngcontent-%COMP%]{width:44px;height:44px;background-color:#d90b0b;border:1px solid #D90B0B;border-radius:50%;display:flex;justify-content:center;align-items:center;box-shadow:0 1px 4px #00000040;cursor:pointer}.btn-up[_ngcontent-%COMP%]:before{content:"";width:16px;height:16px;border-left:3px solid white;border-top:3px solid white;transform:rotate(45deg);margin-top:4px}.btn-down[_ngcontent-%COMP%]:before{content:"";width:16px;height:16px;border-left:3px solid white;border-top:3px solid white;transform:rotate(225deg);margin-top:-4px}.btn-up[_ngcontent-%COMP%]:hover, .btn-down[_ngcontent-%COMP%]:hover{background:var(--Grises-Gris-borde, rgb(238, 237, 237));border:1px solid var(--Secundarios-Rojo, rgb(217, 11, 11))}.btn-down[_ngcontent-%COMP%]:hover:before, .btn-up[_ngcontent-%COMP%]:hover:before{border-left:3px solid var(--Secundarios-Rojo, rgb(217, 11, 11));border-top:3px solid var(--Secundarios-Rojo, rgb(217, 11, 11))}'],data:{animation:[(0,et.hZ)("accordionToggle",[(0,et.wk)("collapsed",(0,et.iF)({height:"0px",overflow:"hidden",opacity:0}
1)),(0,et.wk)("expanded",(0,et.iF)({height:"*",opacity:1})),(0,et.kY)("collapsed <=> expanded",[(0,et.i0)("400ms ease-in-out")])])]}})}}return ne})()},6941:(on,bt,L)=>{L.d(bt,{D:()=>Ce});var e=L(2331),N=L(3268);let K=(()=>{class ye{transform(le){if(!le)return le;const De=le.lastIndexOf("."),We=Math.max(0,De-9);return le.substring(We)}static{this.\u0275fac=function(De){return new(De||ye)}}static{this.\u0275pipe=e.\u0275\u0275definePipe({name:"extractFileName",type:ye,pure:!0,standalone:!0})}}return ye})();var et=L(7562),Ae=L(8018);const tt=["fileInput"],Ue=(ye,Qe)=>Qe.fileName;function Ve(ye,Qe){if(1&ye){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",5),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(le);const We=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(We.triggerFileInput())}),e.\u0275\u0275element(1,"i",6)(2,"br"),e.\u0275\u0275elementStart(3,"label",7),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"input",8,0),e.\u0275\u0275listener("change",function(We){e.\u0275\u0275restoreView(le);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.onFileSelected(We))}),e.\u0275\u0275elementEnd()()}if(2&ye){const le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(le.labelAttach),e.\u0275\u0275advance(),e.\u0275\u0275attribute("accept",le.acceptTypes)}}function Ke(ye,Qe){if(1&ye&&e.\u0275\u0275element(0,"img",9),2&ye){const le=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275propertyInterpolate("alt",le.fileName),e.\u0275\u0275property("src","data:image/png;base64,"+le.fileBase64Content,e.\u0275\u0275sanitizeUrl)}}function ft(ye,Qe){if(1&ye&&e.\u0275\u0275element(0,"img",12),2&ye){const le=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275propertyInterpolate("alt",le.fileName)}}function Oe(ye,Qe){if(1&ye){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",4),e.\u0275\u0275template(1,Ke,1,2,"img",9)(2,ft,1,1),e.\u0275\u0275elementStart(3,"button",10),e.\u0275\u0275listener("click",function(){const We=e.\u0275\u0275restoreView(le).$implicit,it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.removeFile(We.fileName))}),e.\u0275\u0275text(4,"X"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"span",11),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"extractFileName"),e.\u0275\u0275elementEnd()()}if(2&ye){const le=Qe.$implicit,De=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275conditional(1,De.isImage(le.fileName)?1:2),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(7,2,le.fileName))}}function be(ye,Qe){if(1&ye&&(e.\u0275\u0275elementStart(0,"div",1),e.\u0275\u0275template(1,Ve,7,2,"button",3),e.\u0275\u0275repeaterCreate(2,Oe,8,4,"div",4,Ue),e.\u0275\u0275elementEnd()),2&ye){const le=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275conditional(1,le.isDisabled?-1:1),e.\u0275\u0275advance(),e.\u0275\u0275repeater(le.fileList)}}function ht(ye,Qe){if(1&ye){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",15),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(le);const We=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(We.triggerFileInput())}),e.\u0275\u0275elementStart(1,"div",16),e.\u0275\u0275element(2,"i",17),e.\u0275\u0275elementStart(3,"label",18),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"input",19,0),e.\u0275\u0275listener("change",function(We){e.\u0275\u0275restoreView(le);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.onFileSelected(We))}),e.\u0275\u0275elementEnd()()}if(2&ye){const le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(le.labelAttach),e.\u0275\u0275advance(),e.\u0275\u0275attribute("accept",le.acceptTypes)}}function ne(ye,Qe){if(1&ye){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",14),e.\u0275\u0275element(1,"img",20),e.\u0275\u0275elementStart(2,"span",11),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"extractFileName"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"button",21),e.\u0275\u0275listener("click",function(){const We=e.\u0275\u0275restoreView(le).$implicit,it=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(it.removeFile(We.fileName))}),e.\u0275\u0275text(6,"X"),e.\u0275\u0275elementEnd()()}if(2&ye){const le=Qe.$implicit;e.\u0275\u0275advance(),e.\u0275\u0275propertyInterpolate("alt",le.fileName),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,2,le.fileName))}}function Xe(ye,Qe){if(1&ye&&(e.\u0275\u0275template(0,ht,7,2,"button",13),e.\u0275\u0275repeaterCreate(1,ne,7,4,"div",14,Ue)),2&ye){const le=e.\u0275\u0275nextContext();e.\u0275\u0275conditional(0,le.isDisabled?-1:0),e.\u0275\u0275advance(),e.\u0275\u0275repeater(le.fileList)}}let Ce=(()=>{class ye{constructor(){this.filesAttach=new e.EventEmitter,this.allowedExtensions=[".pdf",".jpg",".png"],this.rowMode=(0,e.input)(!1),this.fileList=[],this.isVisible=!1,this.isDisabled=!1,this._translate=(0,e.inject)(Ae.c$),this._translate.get("AttachFile.AttachDocument").subscribe(le=>this.labelAttach=le)}ngOnInit(){this.labelAttach=this.labelFileAttach??this.labelAttach}onFileSelected(le){const De=le.target;if(this.isVisible=!1,De.files){if(De.files.length>this.maxFile||this.fileList.length>this.maxFile||De.files.length+this.fileList.length>this.maxFile)return this._translate.get("AttachFile.Title3").subscribe(We=>this.title=We),this._translate.get("AttachFile.Description3").subscribe(We=>this.toast=We+this.maxFile+" "+this.getMaxFile(this.maxFile)+"."),this.isVisible=!1,void setTimeout(()=>{this.isVisible=!0},0);this.isDisabled=De.files.length==this.maxFile||this.fileList.length==this.maxFile||De.files.length+this.fileList.length==this.maxFile,Array.from(De.files).forEach(We=>{const it=1024*this.fileSizeLimit*1024,en=We.name.split(".").pop()?.toLowerCase();if(We.size>it)return this._translate.get("AttachFile.Title2").subscribe(Cn=>this.title=Cn),this._translate.get("AttachFile.Description2").subscribe(Cn=>this.toast=Cn.replace("*****",We.name)+this.fileSizeLimit+"MB"),this.isVisible=!1,setTimeout(()=>{this.isVisible=!0},0),void(this.isDisabled=!1);if(!en||!this.allowedExtensions.some(Cn=>`.${en}`===Cn))return this._translate.get("AttachFile.Title").subscribe(Cn=>this.title=Cn),this._translate.get("AttachFile.Description").subscribe(Cn=>this.toast=Cn.replace("*****",We.name)+this.allowedExtensionsString+"."),this.isVisible=!1,setTimeout(()=>{this.isVisible=!0},0),void(this.isDisabled=!1);const zt=new FileReader;zt.readAsDataURL(We),zt.onload=()=>{this.fileList.push({fileName:We.name,fileBase64Content:zt.result.split(",")[1],file:We}),this.filesAttach.emit(this.fileList)}})}}isImage(le){return le.toLowerCase().endsWith(".png")||le.toLowerCase().endsWith(".jpg")||le.toLowerCase().endsWith(".jpeg")}removeFile(le){this.fileList=this.fileList.filter(De=>De.fileName!==le),this.filesAttach.emit(this.fileList),this.isDisabled=!1}triggerFileInput(){this.fileInput?.nativeElement&&(this.fileInput.nativeElement.value=""),this.fileInput.nativeElement.click()}get acceptTypes(){return this.allowedExtensions.join(", ")}get allowedExtensionsString(){return this.allowedExtensions.map(le=>le.slice(1)).join(", ")}getMaxFile(le){let De="";return le>1?this._translate.get("AttachFile.Files").subscribe(We=>De=We):this._translate.get("AttachFile.File").subscribe(We=>De=We),De}onToastClose(){this.isVisible=!1}reset(){this.fileList=[],this.filesAttach.emit(this.fileList),this.isDisabled=!1}static{this.\u0275fac=function(De){return new(De||ye)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:ye,selectors:[["lib-attach-file"]],viewQuery:function(De,We){if(1&De&&e.\u0275\u0275viewQuery(tt,5),2&De){let it;e.\u0275\u0275queryRefresh(it=e.\u0275\u0275loadQuery())&&(We.fileInput=it.first)}},inputs:{maxFile:"maxFile",fileSizeLimit:"fileSizeLimit",allowedExtensions:"allowedExtensions",labelFileAttach:"labelFileAttach",rowMode:[e.\u0275\u0275InputFlags.SignalBased,"rowMode"]},outputs:{filesAttach:"filesAttach"},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],decls:3,vars:5,consts:[["fileInput",""],[1,"file-upload-container","justify-content-center"],["type","alert-error",1,"mt-3",3,"close","title","description","isVisible","isVisibleClose"],[1,"file-upload-box","add-file-box","m-0"],[1,"file-upload-box"],[1,"file-upload-box","add-file-box","m-0",3,"click"],[1,"bi","bi-folder-plus"],["for","file-upload2",1,"add-file-label"],["type","file","id","file-upload","multiple","",1,"file-input","border",3,"change"],[1,"thumbnail",3,"src","alt"],[1,"btn","btn-danger","btn-sm","remove-btn",3,"click"],[1,"file-name"],["src","/assets/icons/pdf.png",1,"thumbnail-pdf",3,"alt"],[1,"btn","px-4","py-1","border-1","border-dashed","border-gray-light"],[1,"d-flex","align-items-center","justify-content-center","gap-2","p-2","w-100"],[1,"btn","px-4","py-1","border-1","border-dashed","border-gray-light",3,"click"],[1,"d-flex","gap-2"],[1,"bi","bi-folder-plus","m-0"],["for","file-upload2",1,"d-flex","align-items-center","add-file-label","m-0"],["type","file","id","file-upload","multiple","",1,"file-input",3,"change"],["src","/assets/icons/pdf.png","height","25",3,"alt"],[1,"btn","btn-danger","btn-sm","remove-btn","m-0",3,"click"]],template:function(De,We){1&De&&(e.\u0275\u0275template(0,be,4,1,"div",1)(1,Xe,3,1),e.\u0275\u0275elementStart(2,"lib-toast",2),e.\u0275\u0275listener("close",function(){return We.onToastClose()}),e.\u0275\u0275elementEnd()),2&De&&(e.\u0275\u0275conditional(0,We.rowMode()?1:0),e.\u0275\u0275advance(2),e.\u0275\u0275property("title",We.title)("description",We.toast)("isVisible",We.isVisible)("isVisibleClose",!0))},dependencies:[N.E,K,et.d],styles:['@charset "UTF-8";.file-upload-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:10px}.file-upload-box[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border:1px solid #ddd;border-radius:8px;background-color:#f9f9f9;width:100px;flex-direction:column;text-align:center;cursor:pointer;height:130px;gap:8px;box-shadow:0 4px 20px #0000001a;margin-bottom:50px}
1.file-name[_ngcontent-%COMP%]{font-size:14px;color:#333}.remove-btn[_ngcontent-%COMP%]{background-color:#fff;border:none;color:#df3f44;border-radius:20px;cursor:pointer;box-shadow:0 1px 4px #00000040;z-index:auto;margin-top:-25px;font-size:15px;width:30px}.add-file-box[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#e9ecef;border:1px dashed #ccc;width:122px;height:130px;border-radius:8px;border-width:1px;padding:8px 24px}.add-file-label[_ngcontent-%COMP%]{color:#8e8e8e;cursor:pointer;font-weight:400;font-size:14px;line-height:20px;letter-spacing:1%;text-align:center;margin-top:-40px}.file-input[_ngcontent-%COMP%]{display:none}.bi-folder-plus[_ngcontent-%COMP%]{margin-top:5px;color:#8e8e8e;font-size:24px;margin-bottom:8px}.thumbnail[_ngcontent-%COMP%]{width:100px;min-height:130px}.thumbnail-pdf[_ngcontent-%COMP%]{width:74px;height:80px;margin-top:20px;margin-bottom:30px}']})}}return ye})()},7579:(on,bt,L)=>{L.d(bt,{D:()=>Oe});var e=L(8701),N=L(2331),K=L(2057);let et=(()=>{class be{constructor(){this.activeMenu=(0,N.signal)(null),this.activeItem=(0,N.signal)(null)}setActive(ne){this.activeMenu.set(ne)}setActiveItem(ne){this.activeItem.set(ne)}static{this.\u0275fac=function(Xe){return new(Xe||be)}}static{this.\u0275prov=N.\u0275\u0275defineInjectable({token:be,factory:be.\u0275fac,providedIn:"root"})}}return be})();var Ae=L(9568);const tt=(be,ht)=>ht.url,Ue=be=>[be];function Ve(be,ht){if(1&be){const ne=N.\u0275\u0275getCurrentView();N.\u0275\u0275elementStart(0,"a",4),N.\u0275\u0275listener("click",function(){N.\u0275\u0275restoreView(ne);const Ce=N.\u0275\u0275nextContext().$implicit,ye=N.\u0275\u0275nextContext();return N.\u0275\u0275resetView(ye.selectItem(Ce))}),N.\u0275\u0275text(1),N.\u0275\u0275elementEnd()}if(2&be){const ne=N.\u0275\u0275nextContext().$implicit;N.\u0275\u0275property("routerLink",N.\u0275\u0275pureFunction1(2,Ue,ne.url)),N.\u0275\u0275advance(),N.\u0275\u0275textInterpolate1(" ",ne.label," ")}}function Ke(be,ht){if(1&be&&(N.\u0275\u0275elementStart(0,"span",5),N.\u0275\u0275text(1),N.\u0275\u0275elementEnd()),2&be){const ne=N.\u0275\u0275nextContext().$implicit;N.\u0275\u0275advance(),N.\u0275\u0275textInterpolate1(" ",ne.label," ")}}function ft(be,ht){if(1&be&&(N.\u0275\u0275elementStart(0,"li",2),N.\u0275\u0275template(1,Ve,2,4,"a",3)(2,Ke,2,1),N.\u0275\u0275elementEnd()),2&be){const ne=ht.$index,Xe=ht.$count;N.\u0275\u0275advance(),N.\u0275\u0275conditional(1,ne!==Xe-1?1:2)}}let Oe=(()=>{class be{constructor(){this.rootItem={label:"Inicio",url:"./"},this._route=(0,N.inject)(K.ActivatedRoute),this.router=(0,N.inject)(K.Router),this._menuService=(0,N.inject)(et),this._hide="block"}static{this.One=1}static{this.Zero=0}get displayStyle(){return this._hide}set displayStyle(ne){this._hide=ne}ngOnInit(){this.router.events.pipe((0,Ae.t)(1)).subscribe(ne=>{ne instanceof K.Scroll&&(this.displayStyle="block",this.menuItems=[...this.createBreadcrumbs(this._route.firstChild)])})}createBreadcrumbs(ne,Xe="",Ce=[this.rootItem]){const ye=ne.firstChild;if(null===ye)return Ce;const Qe=ye.snapshot.url;if(Qe.length===be.One){Xe+=`${Qe[0]}/`;const le=ye.snapshot.title;if(le===this.rootItem.label)return this.displayStyle="none",[];Ce[Ce.length-1].label!==le&&Ce.push({label:le,url:Xe})}return this.createBreadcrumbs(ye,Xe,Ce)}selectItem(ne){this.router.url.startsWith(ne.url)||(this._menuService.setActive(null),this._menuService.setActiveItem(null))}static{this.\u0275fac=function(Xe){return new(Xe||be)}}static{this.\u0275cmp=N.\u0275\u0275defineComponent({type:be,selectors:[["lib-breadcrumb"]],hostVars:2,hostBindings:function(Xe,Ce){2&Xe&&N.\u0275\u0275styleProp("display",Ce.displayStyle)},standalone:!0,features:[N.\u0275\u0275StandaloneFeature],decls:4,vars:0,consts:[["aria-label","breadcrumb",1,"m-0"],[1,"breadcrumb","m-0"],[1,"breadcrumb-item"],[1,"btn","btn-link","p-0",3,"routerLink"],[1,"btn","btn-link","p-0",3,"click","routerLink"],[1,"x-small-text","'text-color-gray'"]],template:function(Xe,Ce){1&Xe&&(N.\u0275\u0275elementStart(0,"nav",0)(1,"ol",1),N.\u0275\u0275repeaterCreate(2,ft,3,1,"li",2,tt),N.\u0275\u0275elementEnd()()),2&Xe&&(N.\u
10275\u0275advance(2),N.\u0275\u0275repeater(Ce.menuItems))},dependencies:[e.CommonModule,K.RouterLink],styles:[".breadcrumb-container[_ngcontent-%COMP%]{margin-bottom:1.5rem}"]})}}return be})()},6905:(on,bt,L)=>{L.d(bt,{P:()=>et});var e=L(2283),N=L(2331);let et=(()=>{class Ae extends e.dn{constructor(){super(...arguments),this.DELIMITER="/"}fromModel(Ue){if(Ue){if(/^\d{4}-\d{2}-\d{2}$/.test(Ue)){const ft=Ue.split("-");return{year:parseInt(ft[0],10),month:parseInt(ft[1],10),day:parseInt(ft[2],10)}}if(/^\d{2}\/\d{2}\/\d{4}$/.test(Ue)){const[ft,Oe,be]=Ue.split("/");return{year:parseInt(be),month:parseInt(Oe),day:parseInt(ft)}}}return null}toModel(Ue){return Ue?`${this.pad(Ue.day)}${this.DELIMITER}${this.pad(Ue.month)}${this.DELIMITER}${Ue.year}`:null}pad(Ue){return Ue<10?`0${Ue}`:`${Ue}`}static{this.\u0275fac=(()=>{let Ue;return function(Ke){return(Ue||(Ue=N.\u0275\u0275getInheritedFactory(Ae)))(Ke||Ae)}})()}static{this.\u0275prov=N.\u0275\u0275defineInjectable({token:Ae,factory:Ae.\u0275fac})}}return Ae})()},105:(on,bt,L)=>{L.d(bt,{l:()=>et});var e=L(2283),N=L(2331);let et=(()=>{class Ae extends e.tN{constructor(){super(...arguments),this.DELIMITER="/"}parse(Ue){if(Ue){const Ve=Ue.split(this.DELIMITER);return{day:parseInt(Ve[0],10),month:parseInt(Ve[1],10),year:parseInt(Ve[2],10)}}return null}format(Ue){return Ue?`${this.pad(Ue.day)}${this.DELIMITER}${this.pad(Ue.month)}${this.DELIMITER}${Ue.year}`:""}pad(Ue){return Ue<10?`0${Ue}`:`${Ue}`}static{this.\u0275fac=(()=>{let Ue;return function(Ke){return(Ue||(Ue=N.\u0275\u0275getInheritedFactory(Ae)))(Ke||Ae)}})()}static{this.\u0275prov=N.\u0275\u0275defineInjectable({token:Ae,factory:Ae.\u0275fac})}}return Ae})()},9434:(on,bt,L)=>{L.d(bt,{Y:()=>Ae});var e=L(2283),N=L(2331);const et={es:{weekdays:["Lu","Ma","Mi","Ju","Vi","Sa","Do"],months:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],monthsFullName:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],weekLabel:"sem"}};let Ae=(()=>{class tt extends e.G7{getWeekdayLabel(Ve){return et.es.weekdays[Ve-1]}getWeekLabel(){return et.es.weekLabel}getMonthShortName(Ve){return et.es.months[Ve-1]}getMonthFullName(Ve){return et.es.monthsFullName[Ve-1]}getDayAriaLabel(Ve){return`${Ve.day}-${Ve.month}-${Ve.year}`}static{this.\u0275fac=(()=>{let Ve;return function(ft){return(Ve||(Ve=N.\u0275\u0275getInheritedFactory(tt)))(ft||tt)}})()}static{this.\u0275prov=N.\u0275\u0275defineInjectable({token:tt,factory:tt.\u0275fac})}}return tt})()},6782:(on,bt,L)=>{L.d(bt,{$:()=>Ce});var e=L(2331),K=L(2283),Ae=(L(4073),L(9417)),tt=L(9434),Ue=L(105),Ve=L(6905);const Ke=["datepicker"];function ft(ye,Qe){1&ye&&(e.\u0275\u0275elementStart(0,"span",16),e.\u0275\u0275text(1," *"),e.\u0275\u0275elementEnd())}function Oe(ye,Qe){if(1&ye&&(e.\u0275\u0275elementStart(0,"label",6),e.\u0275\u0275text(1),e.\u0275\u0275template(2,ft,2,0,"span",16),e.\u0275\u0275elementEnd()),2&ye){const le=e.\u0275\u0275nextContext();e.\u0275\u0275propertyInterpolate("for",le.controlDirective.name),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("",le.label," "),e.\u0275\u0275advance(),e.\u0275\u0275conditional(2,le.required?2:-1)}}function be(ye,Qe){if(1&ye){const le=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",17),e.\u0275\u0275listener("mouseenter",function(){const We=e.\u0275\u0275restoreView(le).$implicit,it=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(it.hoveredDate=We)})("mouseleave",function(){e.\u0275\u0275restoreView(le);const We=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(We.hoveredDate=null)}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}
1if(2&ye){const le=Qe.$implicit,De=Qe.focused,We=e.\u0275\u0275nextContext();e.\u0275\u0275classProp("focused",De)("range",We.isRange(le))("faded",We.isHovered(le)||We.isInside(le))("disabled-day",We.isDisabled(le))("range-start",We.isStart(le))("range-end",We.isEnd(le)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",le.day," ")}}function ht(ye,Qe){1&ye&&(e.\u0275\u0275elementStart(0,"span",16),e.\u0275\u0275text(1," *"),e.\u0275\u0275elementEnd())}function ne(ye,Qe){if(1&ye&&(e.\u0275\u0275elementStart(0,"label",6),e.\u0275\u0275text(1),e.\u0275\u0275template(2,ht,2,0,"span",16),e.\u0275\u0275elementEnd()),2&ye){const le=e.\u0275\u0275nextContext();e.\u0275\u0275propertyInterpolate("for",le.controlDirective.name),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("",le.label2," "),e.\u0275\u0275advance(),e.\u0275\u0275conditional(2,le.required?2:-1)}}function Xe(ye,Qe){1&ye&&(e.\u0275\u0275elementStart(0,"div",15),e.\u0275\u0275text(1," El campo es requerido "),e.\u0275\u0275elementEnd())}let Ce=(()=>{class ye{constructor(le){this.controlDirective=le,this.readOnly=!0,this.readOnly2=!0,this.today=new Date,this.showValid=!0,this.isTouched=!1,this.calendar=(0,e.inject)(K.iF),this.formatter=(0,e.inject)(K.tN),this.hoveredDate=null,this.fromDate=null,this.toDate=null,this.onChange=()=>{},this.onTouched=()=>{},le.valueAccessor=this}writeValue(le){le&&"object"==typeof le?(this.value=le,this.fromDate=le.fromDate||null,this.toDate=le.toDate||null):(this.value={fromDate:null,toDate:null},this.fromDate=null,this.toDate=null)}registerOnChange(le){this.onChange=le}registerOnTouched(le){this.onTouched=le}setDisabledState(le){}onDateSelection(le){return this.fromDate||this.toDate?this.fromDate&&!this.toDate&&(le.after(this.fromDate)||le.equals(this.fromDate))?(this.toDate=le,void this.onChange({fromDate:this.fromDate,toDate:this.toDate})):(this.toDate=null,this.fromDate=le,void this.onChange({fromDate:this.fromDate,toDate:this.toDate})):(this.fromDate=le,void this.onChange({fromDate:this.fromDate,toDate:null}))}isHovered(le){return this.fromDate&&!this.toDate&&this.hoveredDate&&le.after(this.fromDate)&&le.before(this.hoveredDate)}isInside(le){return this.toDate&&le.after(this.fromDate)&&le.before(this.toDate)}isRange(le){return le.equals(this.fromDate)||this.toDate&&le.equals(this.toDate)||this.isInside(le)||this.isHovered(le)}validateInput(le,De){const We=this.formatter.parse(De);return We&&this.calendar.isValid(K.gj.from(We))?K.gj.from(We):le}isDisabled(le){return this.minDate&&le.before(this.minDate)||this.maxDate&&le.after(this.maxDate)}isStart(le){return!(!le||!this.fromDate)&&null!==this.fromDate&&le.year===this.fromDate.year&&le.month===this.fromDate.month&&le.day===this.fromDate.day}isEnd(le){return!(!le||!this.fromDate)&&null!==this.toDate&&le.year===this.toDate.year&&le.month===this.toDate.month&&le.day===this.toDate.day}get required(){return this.controlDirective.control?.hasValidator(Ae.k0.required)}get mustMatch(){return!!this.controlDirective.control?.parent?.errors?.mustMatch&&this.controlDirective.control?.parent?.errors?.mustMatch===this.controlDirective.name}get isFromDateInvalid(){return void 0!==this.fromDate&&!this.calendar.isValid(K.gj.from(this.fromDate))}get isToDateInvalid(){return void 0!==this.toDate&&!this.calendar.isValid(K.gj.from(this.toDate))}get defaultStartDate(){if(this.maxDate){const le=K.gj.from(this.maxDate);if(le)return le}return this.calendar.getToday()}resetDateSelection(){this.fromDate=null,this.toDate=null,this.hoveredDate=null,this.value={fromDate:null,toDate:null},this.onChange(this.value),this.onTouched(),this.datepicker&&(this.datepicker.close(),setTimeout(()=>{this.datepicker.navigateTo(this.defaultStartDate)},0))}static{this.\u0275fac=function(De){return new(De||ye)(e.\u0275\u0275directiveInject(Ae.vO,2))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:ye,selectors:[["lib-datepicker-range"]],viewQuery:function(De,We){if(1&De&&e.\u0275\u0275viewQuery(Ke,5),2&De){let it;e.\u0275\u0275queryRefresh(it=e.\u0275\u0275loadQuery())&&(We.datepicker=it.first)}},inputs:{label:"label",placeholder:"placeholder",label2:"label2",placeholder2:"placeholder2",readOnly:"readOnly",readOnly2:"readOnly2",minDate:"minDate",maxDate:"maxDate",showValid:"showValid"},standalone:!0,features:[e.\u0275\u0275ProvidersFeature([{provide:K.tN,useClass:Ue.l},{provide:K.G7,useClass:tt.Y},{provide:K.dn,useClass:Ve.P}]),e.\u0275\u0275StandaloneFeature],decls:20,vars:19,consts:[["datepicker","ngbDatepicker"],["t",""],["dpFromDate",""],["dpToDate",""],[1,"row","position-relative"],[1,"col-sm-12","col-md-6","date-start"],[1,"form-label",3,"for"],[1,"dp-hidden","position-absolute"],[1,"input-group"],["name","datepicker","ngbDatepicker","","outsideDays","hidden","tabindex","-1",1,"form-control",3,"dateSelect","autoClose","displayMonths","dayTemplate","minDate","maxDate","startDate"],["id","dpFromDate","name","dpFromDate",1,"form-control",3,"input","placeholder","readOnly","value"],["type","button",1,"btn","btn-outline-secondary","bi","bi-calendar3","color-primary",3,"click"],[1,"col-sm-12","col-md-6"],["id","dpToDate","name","dpToDate",1,"form-control",3,"input","placeholder","readOnly","value"],["disabled","","type","button",1,"btn","btn-outline-secondary","bi","bi-calendar3","color-primary",3,"click"],[1,"invalid-feedback",2,"display","block"],[1,"req"],[1,"custom-day",3,"mouseenter","mouseleave"]],template:function(De,We){if(1&De){const it=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",4)(1,"div",5),e.\u0275\u0275template(2,Oe,3,3,"label",6),e.\u0275\u0275elementStart(3,"div",7)(4,"div",8)(5,"input",9,0),e.\u0275\u0275listener("dateSelect",function(zt){return e.\u0275\u0275restoreView(it),e.\u0275\u0275resetVie
1w(We.onDateSelection(zt))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(7,be,2,13,"ng-template",null,1,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"div",8)(10,"input",10,2),e.\u0275\u0275listener("input",function(){e.\u0275\u0275restoreView(it);const zt=e.\u0275\u0275reference(11);return e.\u0275\u0275resetView(We.fromDate=We.validateInput(We.fromDate,zt.value))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"button",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(it);const zt=e.\u0275\u0275reference(6);return e.\u0275\u0275resetView(zt.toggle())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(13,"div",12),e.\u0275\u0275template(14,ne,3,3,"label",6),e.\u0275\u0275elementStart(15,"div",8)(16,"input",13,3),e.\u0275\u0275listener("input",function(){e.\u0275\u0275restoreView(it);const zt=e.\u0275\u0275reference(17);return e.\u0275\u0275resetView(We.toDate=We.validateInput(We.toDate,zt.value))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(18,"button",14),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(it);
1const zt=e.\u0275\u0275reference(6);return e.\u0275\u0275resetView(zt.toggle())}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(19,Xe,2,0,"div",15),e.\u0275\u0275elementEnd()()}if(2&De){const it=e.\u0275\u0275reference(8);e.\u0275\u0275advance(2),e.\u0275\u0275conditional(2,We.label?2:-1),e.\u0275\u0275advance(3),e.\u0275\u0275property("autoClose","outside")("displayMonths",2)("dayTemplate",it)("minDate",We.minDate)("maxDate",We.maxDate)("startDate",We.defaultStartDate),e.\u0275\u0275advance(5),e.\u0275\u0275classProp("is-invalid",We.isFromDateInvalid&&We.showValid),e.\u0275\u0275property("placeholder",We.placeholder?We.placeholder:"Selecciona la"+We.label)("readOnly",We.readOnly)("value",We.formatter.format(We.fromDate)),e.\u0275\u0275advance(4),e.\u0275\u0275conditional(14,We.label2?14:-1),e.\u0275\u0275advance(2),e.\u0275\u0275classProp("is-invalid",We.isToDateInvalid&&We.showValid),e.\u0275\u0275property("placeholder",We.placeholder2?We.placeholder2:"Selecciona la"+We.label)("readOnly",We.readOnly2)("value",We.formatter.format(We.toDate)),e.\u0275\u0275advance(3),e.\u0275\u0275conditional(19,We.fromDate&&!We.toDate?19:-1)}},dependencies:[K.IQ,K.cw],styles:[".dp-hidden[_ngcontent-%COMP%]{width:0;margin:0;border:none;padding:0}.custom-day[_ngcontent-%COMP%]{text-align:center;padding:.185rem .25rem;display:inline-block;height:2rem;width:2rem}.custom-day.focused[_ngcontent-%COMP%]{background-color:#e6e6e6}.custom-day.range[_ngcontent-%COMP%], .custom-day[_ngcontent-%COMP%]:hover{background-color:#0275d8;color:#fff}.custom-day.faded[_ngcontent-%COMP%]{background-color:#0275d880}.btn[_ngcontent-%COMP%]:hover{background-color:var(--Color-primary);border-color:var(--Color-primary)}.btn[_ngcontent-%COMP%]{border-color:#cbcbcb}@media (max-width: 768px){.date-start[_ngcontent-%COMP%]{margin-bottom:10px}}@media (min-width: 769px) and (max-width: 991px){.date-start[_ngcontent-%COMP%]{margin-bottom:10px}}.disabled-day[_ngcontent-%COMP%]{color:#ccc!important;pointer-events:none;opacity:.5}"]})}}return ye})()},7714:(on,bt,L)=>{L.d(bt,{O:()=>ne});var e=L(2331),K=L(2283),et=L(9417),Ae=L(9434),tt=L(105),Ve=(L(4073),L(6905)),Ke=L(8415),ft=L(8018);function Oe(Xe,Ce){1&Xe&&(e.\u0275\u0275elementStart(0,"span",6),e.\u0275\u0275text(1," *"),e.\u0275\u0275elementEnd())}function be(Xe,Ce){if(1&Xe&&(e.\u0275\u0275elementStart(0,"label",1),e.\u0275\u0275text(1),e.\u0275\u0275template(2,Oe,2,0,"span",6),e.\u0275\u0275elementEnd()),2&Xe){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275propertyInterpolate("for",ye.controlDirective.name),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",ye.label()," "),e.\u0275\u0275advance(),e.\u0275\u0275conditional(2,ye.required?2:-1)}}function ht(Xe,Ce){if(1&Xe&&e.\u0275\u0275element(0,"lib-validation-message",5),2&Xe){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275property("control",ye.controlDirective.control)}}let ne=(()=>{class Xe{constructor(ye){this.controlDirective=ye,this.label=(0,e.input)(),this.placeholder=(0,e.input)(),this.readOnly=(0,e.input)(!1),this.maxDate=(0,e.input)(),this.minDate=(0,e.input)(),this.showCalendar=!1,this.isTouched=!1,this.placeholderText=(0,e.computed)(()=>{const Qe=this._translateService.instant("General.Placeholders.SelectThe");return this.placeholder()?this.placeholder():`${Qe} ${this.label()?.toString().toLocaleLowerCase()}`}),this.dateAdapter=(0,e.inject)(K.dn),this._translateService=(0,e.inject)(ft.c$),this.formatter=(0,e.inject)(K.tN),this.onChange=()=>{},this.onTouched=()=>{},ye.valueAccessor=this}writeValue(ye){this.value=this.dateAdapter.toModel(this.dateAdapter.fromModel(ye))}registerOnChange(ye){this.onChange=ye}registerOnTouched(ye){this.onTouched=ye}setDisabledState(ye){}onInputChange(ye){const Qe=new K.gj(ye.year,ye.month,ye.day);this.value=this.dateAdapter.toModel(Qe),this.onChange(this.value)}onBlur(){this.isTouched=!0,this.onTouched()}get required(){return this.controlDirective.control?.hasValidator(et.k0.required)}get mustMatch(){return!!this.controlDirective.control?.parent?.errors?.mustMatch&&this.controlDirective.control?.parent?.errors?.mustMatch===this.controlDirective.name}get isInvalid(){return!!this.mustMatch||!(!this.controlDirective?.control?.invali
1d||!this.controlDirective?.control?.touched)}static{this.\u0275fac=function(Qe){return new(Qe||Xe)(e.\u0275\u0275directiveInject(et.vO,2))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:Xe,selectors:[["lib-datepicker"]],inputs:{label:[e.\u0275\u0275InputFlags.SignalBased,"label"],placeholder:[e.\u0275\u0275InputFlags.SignalBased,"placeholder"],readOnly:[e.\u0275\u0275InputFlags.SignalBased,"readOnly"],maxDate:[e.\u0275\u0275InputFlags.SignalBased,"maxDate"],minDate:[e.\u0275\u0275InputFlags.SignalBased,"minDate"]},standalone:!0,features:[e.\u0275\u0275ProvidersFeature([{provide:K.tN,useClass:tt.l},{provide:K.G7,useClass:Ae.Y},{provide:K.dn,useClass:Ve.P}]),e.\u0275\u0275StandaloneFeature],decls:6,vars:14,consts:[["d","ngbDatepicker"],[1,"form-label","mb-1",3,"for"],[1,"input-group"],["ngbDatepicker","",1,"form-control",3,"ngModelChange","focus","blur","dateSelect","placeholder","id","readOnly","name","ngModel","disabled","maxDate","minDate","container"],["type","button",1,"btn","btn-outline-secondary","bi","bi-calendar3","color-primary",3,"click","disabled"],["fieldName","",3,"control"],[1,"req"]],template:function(Qe,le){if(1&Qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275template(0,be,3,3,"label",1),e.\u0275\u0275elementStart(1,"div",2)(2,"input",3,0),e.\u0275\u0275twoWayListener("ngModelChange",function(it){return e.\u0275\u0275restoreView(De),e.\u0275\u0275twoWayBindingSet(le.value,it)||(le.value=it),e.\u0275\u0275resetView(it)}),e.\u0275\u0275listener("focus",function(){return e.\u0275\u0275restoreView(De),e.\u0275\u0275resetView(le.showCalendar=!0)})("blur",function(){return e.\u0275\u0275restoreView(De),e.\u0275\u0275resetView(le.onBlur())})("dateSelect",function(it){return e.\u0275\u0275restoreView(De),e.\u0275\u0275resetView(le.onInputChange(it))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"button",4),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(De);const it=e.\u0275\u0275reference(3);return e.\u0275\u0275resetView(it.toggle())}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(5,ht,1,1,"lib-validation-message",5)}2&Qe&&(e.\u0275\u0275conditional(0,le.label()?0:-1),e.\u0275\u0275advance(2),e.\u0275\u0275classProp("is-invalid",le.isInvalid),e.\u0275\u0275propertyInterpolate("id",le.controlDirective.name),e.\u0275\u0275propertyInterpolate("name",le.controlDirective.name),e.\u0275\u0275property("placeholder",le.placeholderText())("readOnly",le.readOnly()),e.\u0275\u0275twoWayProperty("ngModel",le.value),e.\u0275\u0275property("disabled",le.controlDirective.control.disabled)("maxDate",le.maxDate())("minDate",le.minDate())("container","body"),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",le.controlDirective.control.disabled),e.\u0275\u0275advance(),e.\u0275\u0275conditional(5,le.mustMatch?-1:5))},dependencies:[K.IQ,K.cw,et.YN,et.me,et.BC,et.vS,Ke.A],styles:[".btn[_ngcontent-%COMP%]:hover{background-color:var(--Color-primary);border-color:var(--Color-primary);color:#fff!important}.btn[_ngcontent-%COMP%]{border-color:#cbcbcb;width:40px;height:40px}.btn[_ngcontent-%COMP%]:disabled{border-color:#cbcbcb;background-color:#f3f8ff!important}.input-group[_ngcontent-%COMP%]{border:1px solid var(--Grises-Gris-claro, #CBCBCB);border-radius:8px}.input-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .input-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:none}.bi-calendar3[_ngcontent-%COMP%]{font-size:16px;margin:auto}"]})}}return Xe})()},4256:(on,bt,L)=>{L.d(bt,{f:()=>ht});var e=L(9417),N=L(8415),K=L(8701),et=L(9982),Ae=L(2331);let tt=(()=>{class ne{onClipboardAction(Ce){Ce.preventDefault()}onKeydown(Ce){(Ce.ctrlKey||Ce.metaKey)&&("c"===Ce.key||"v"===Ce.key||"x"===Ce.key)&&Ce.preventDefault()}static{this.\u0275fac=function(ye){return new(ye||ne)}}static{this.\u0275dir=Ae.\u0275\u0275defineDirective({type:ne,selectors:[["","libPreventCopyPaste",""]],hostBindings:function(ye,Qe){1&ye&&Ae.\u0275\u0275listener("copy",function(De){return Qe.onClipboardAction(De)})("cut",function(De){return Qe.onClipboardAction(De)})("paste",function(De){return Qe.onClipboardAction(De)})("keydown",function(De){return Qe.onKeydown(De)})},standalone:!0})}}return ne})();function Ue(ne,Xe){1&ne&&(Ae.\u0275\u0275elementStart(0,"span",6),Ae.\u0275\u0275text(1," *"),Ae.\u0275\u0275elementEnd())}function Ve(ne,Xe){if(1&ne){const Ce=Ae.\u0275\u0275getCurrentView();Ae.\u0275\u0275elementContainerStart(0),Ae.\u0275\u0275elementStart(1,"div")(2,"label",3),Ae.\u0275\u0275text(3),Ae.\u0275\u0275template(4,Ue,2,0,"span",4),Ae.\u0275\u0275elementEnd(),Ae.\u0275\u0275elementStart(5,"input",5),Ae.\u0275\u0275listener("input",function(Qe){Ae.\u0275\u0275restoreView(Ce);const le=Ae.\u0275\u0275nextContext();
1return Ae.\u0275\u0275resetView(le.onInputChange(Qe))})("blur",function(){Ae.\u0275\u0275restoreView(Ce);const Qe=Ae.\u0275\u0275nextContext();return Ae.\u0275\u0275resetView(Qe.onBlur())}),Ae.\u0275\u0275elementEnd()(),Ae.\u0275\u0275elementContainerEnd()}if(2&ne){const Ce=Ae.\u0275\u0275nextContext();Ae.\u0275\u0275advance(2),Ae.\u0275\u0275propertyInterpolate("for",Ce.controlDirective.name),Ae.\u0275\u0275advance(),Ae.\u0275\u0275textInterpolate(Ce.label),Ae.\u0275\u0275advance(),Ae.\u0275\u0275property("ngIf",Ce.required),Ae.\u0275\u0275advance(),Ae.\u0275\u0275classProp("is-invalid",Ce.isInvalid),Ae.\u0275\u0275propertyInterpolate("id",Ce.controlDirective.name),Ae.\u0275\u0275propertyInterpolate("name",Ce.controlDirective.name),Ae.\u0275\u0275property("placeholder",Ce.placeholder)("disabled",null==Ce.controlDirective.control?null:Ce.controlDirective.control.disabled)("readOnly",Ce.readOnly)("value",Ce.value)("appInputMask",Ce.mask),Ae.\u0275\u0275attribute("maxlength",Ce.maxlength)}}function Ke(ne,Xe){1&ne&&(Ae.\u0275\u0275elementStart(0,"span",6),Ae.\u0275\u0275text(1," *"),Ae.\u0275\u0275elementEnd())}function ft(ne,Xe){if(1&ne){const Ce=Ae.\u0275\u0275getCurrentView();Ae.\u0275\u0275elementContainerStart(0),Ae.\u0275\u0275elementStart(1,"div")(2,"label",3),Ae.\u0275\u0275text(3),Ae.\u0275\u0275template(4,Ke,2,0,"span",4),Ae.\u0275\u0275elementEnd(),Ae.\u0275\u0275elementStart(5,"input",7),Ae.\u0275\u0275listener("input",function(Qe){Ae.\u0275\u0275restoreView(Ce);const le=Ae.\u0275\u0275nextContext();return Ae.\u0275\u0275resetView(le.onInputChange(Qe))})("blur",function(){Ae.\u0275\u0275restoreView(Ce);const Qe=Ae.\u0275\u0275nextContext();return Ae.\u0275\u0275resetView(Qe.onBlur())}),Ae.\u0275\u0275elementEnd()(),Ae.\u0275\u0275elementContainerEnd()}if(2&ne){const Ce=Ae.\u0275\u0275nextContext();Ae.\u0275\u0275advance(2),Ae.\u0275\u0275propertyInterpolate("for",Ce.controlDirective.name),Ae.\u0275\u0275advance(),Ae.\u0275\u0275textInterpolate(Ce.label),Ae.\u0275\u0275advance(),Ae.\u0275\u0275property("ngIf",Ce.required),Ae.\u0275\u0275advance(),Ae.\u0275\u0275classProp("is-invalid",Ce.isInvalid),Ae.\u0275\u0275propertyInterpolate("id",Ce.controlDirective.name),Ae.\u0275\u0275propertyInterpolate("name",Ce.controlDirective.name),Ae.\u0275\u0275property("placeholder",Ce.placeholder)("disabled",null==Ce.controlDirective.control?null:Ce.controlDirective.control.disabled)("readOnly",Ce.readOnly)("value",Ce.value)("appInputMask",Ce.mask),Ae.\u0275\u0275attribute("maxlength",Ce.maxlength)}}function Oe(ne,Xe){if(1&ne&&Ae.\u0275\u0275element(0,"lib-validation-message",8),2&ne){const Ce=Ae.\u0275\u0275nextContext();Ae.\u0275\u0275property("control",Ce.controlDirective.control)}}function be(ne,Xe){if(1&ne&&Ae.\u0275\u0275element(0,"lib-validation-message",9),2&ne){const Ce=Ae.\u0275\u0275nextContext();Ae.\u0275\u0275property("control",Ce.controlDirective.control)("formGroup",null==Ce.controlDirective.control?null:Ce.controlDirective.control.parent)}}let ht=(()=>{class ne{constructor(Ce){this.controlDirective=Ce,this.placeholder="[email protected]",this.allowCopyPaste=!0,this.readOnly=!1,this.mask=".*",this.value="",this.isTouched=!1,this.onChange=()=>{},this.onTouched=()=>{},Ce.valueAccessor=this}writeValue(Ce){this.value=Ce||""}registerOnChange(Ce){this.onChange=Ce}registerOnTouched(Ce){this.onTouched=Ce}setDisabledState(Ce){}onInputChange(Ce){const ye=Ce.target.value;this.value=ye,this.onChange(ye)}onBlur(){this.isTouched=!0,this.onTouched()}get required(){return this.controlDirective.control?.hasValidator(e.k0.required)}get mustMatch(){return!!this.controlDirective.control?.parent?.errors?.mustMatch&&this.controlDirective.control?.parent?.errors?.mustMatch===this.controlDirective.name}get isInvalid(){return!!this.mustMatch||!(!this.controlDirective?.control?.invalid||!this.controlDirective?.control?.touched)}static{this.\u0275fac=function(ye){return new(ye||ne)(Ae.\u0275\u0275directiveInject(e.vO,2))}}static{this.\u0275cmp=Ae.\u0275\u0275defineComponent({type:ne,selectors:[["lib-input-base"]],inputs:{label:"label",placeholder:"placeholder",allowCopyPaste:"allowCopyPaste",readOnly:"readOnly",mask:"mask",maxlength:"maxlength"},standalone:!0,features:[Ae.\u0275\u0275StandaloneFeature],decls:4,vars:4,consts:[[4,"ngIf"],["fieldName","",3,"control",4,"ngIf"],["fieldName","",3,"control","formGroup",4,"ngIf"],[1,"form-label","mb-1",3,"for"],["class","req",4,"ngIf"],["type","text",1,"form-control",3,"input","blur","placeholder","id","disabled","readOnly","name","value","appInputMask"],[1,"req"],["type","text","libPreventCopyPaste","",1,"form-control",3,"input","blur","placeholder","id","disabled","readOnly","name","value","appInputMask"],["fieldName","",3,"control"],["fieldName","",3,"control","formGroup"]],template:function(ye,Qe){1&ye&&Ae.\u0275\u0275template(0,Ve,6,13,"ng-container",0)(1,ft,6,13,"ng-container",0)(2,Oe,1,1,"lib-validation-message",1)(3,be,1,2,"lib-validation-message",2),2&ye&&(Ae.\u0275\u0275property("ngIf",Qe.allowCopyPaste),Ae.\u0275\u0275advance(),Ae.\u0275\u0275property("ngIf",!Qe.allowCopyPaste),Ae.\u0275\u0275advance(),Ae.\u0275\u0275property("ngIf",!Qe.mustMatch),Ae.\u0275\u0275advance(),Ae.\u0275\u0275property("ngIf",Qe.mustMatch))},dependencies:[N.A,K.CommonModule,K.NgIf,et.E,tt]})}}return ne})()},3035:(on,bt,L)=>{L.d(bt,{g:()=>Ve});
1var e=L(9417),N=L(8415),K=L(9982),et=L(3268),Ae=L(2331),Ue=L(8018);let Ve=(()=>{class Ke{constructor(Oe){this.controlDirective=Oe,this.value="",this.isTouched=!1,this.onChange=()=>{},this.onTouched=()=>{},Oe.valueAccessor=this}writeValue(Oe){this.value=Oe||""}registerOnChange(Oe){this.onChange=Oe}registerOnTouched(Oe){this.onTouched=Oe}setDisabledState(Oe){const be=document.getElementById(this.controlDirective.name);be&&(be.disabled=Oe)}onInputChange(Oe){const be=Oe.target.value;this.value=be,this.onChange(be)}onBlur(){this.isTouched=!0,this.onTouched()}get isInvalid(){return!(!this.controlDirective?.control?.invalid||!this.controlDirective?.control?.touched)}get required(){return this.controlDirective.control?.hasValidator(e.k0.required)}static{this.\u0275fac=function(be){return new(be||Ke)(Ae.\u0275\u0275directiveInject(e.vO,2))}}static{this.\u0275cmp=Ae.\u0275\u0275defineComponent({type:Ke,selectors:[["lib-input-document-number"]],inputs:{placeholder:"placeholder"},standalone:!0,features:[Ae.\u0275\u0275StandaloneFeature],decls:7,vars:16,consts:[[3,"for"],["type","text","maxlength","250","appInputMask","^[a-zA-Z0-9\\-]+$",1,"form-control",3,"input","blur","placeholder","id","name","value","disabled"],["fieldName","",3,"control"]],template:function(be,ht){1&be&&(Ae.\u0275\u0275elementStart(0,"div")(1,"label",0),Ae.\u0275\u0275text(2),Ae.\u0275\u0275pipe(3,"translate"),Ae.\u0275\u0275elementEnd(),Ae.\u0275\u0275elementStart(4,"input",1),Ae.\u0275\u0275pipe(5,"translate"),Ae.\u0275\u0275listener("input",function(Xe){return ht.onInputChange(Xe)})("blur",function(){return ht.onBlur()}),Ae.\u0275\u0275elementEnd()(),Ae.\u0275\u0275element(6,"lib-validation-message",2)),2&be&&(Ae.\u0275\u0275advance(),Ae.\u0275\u0275classMap(ht.required?"form-label mb-1 form-label-req":"form-label mb-1"),Ae.\u0275\u0275propertyInterpolate("for",ht.controlDirective.name),Ae.\u0275\u0275advance(),Ae.\u0275\u0275textInterpolate1("",Ae.\u0275\u0275pipeBind1(3,12,"form.controls.Document.label")," "),Ae.\u0275\u0275advance(2),Ae.\u0275\u0275classProp("is-invalid",ht.isInvalid),Ae.\u0275\u0275propertyInterpolate("id",ht.controlDirective.name),Ae.\u0275\u0275propertyInterpolate("name",ht.controlDirective.name),Ae.\u0275\u0275property("placeholder",ht.placeholder||Ae.\u0275\u0275pipeBind1(5,14,"form.controls.Document.placeholder"))("value",ht.value)("disabled",null==ht.controlDirective.control?null:ht.controlDirective.control.disabled),Ae.\u0275\u0275advance(2),Ae.\u0275\u0275property("control",ht.controlDirective.control))},dependencies:[N.A,K.E,et.E,Ue.D9],encapsulation:2})}}return Ke})()},6283:(on,bt,L)=>{L.d(bt,{f:()=>le});var e=L(8701),K=L(2331),Ae=L(9417),tt=L(3835),Ue=L(8415),Ve=L(3268),Ke=L(7771),ft=L(2123),be=L(8018),ht=L(2110);const ne=(De,We)=>We.id;function Xe(De,We){1&De&&(K.\u0275\u0275elementStart(0,"span",6),K.\u0275\u0275text(1," *"),K.\u0275\u0275elementEnd())}function Ce(De,We){1&De&&(K.\u0275\u0275elementStart(0,"option",7),K.\u0275\u0275text(1),K.\u0275\u0275pipe(2,"translate"),K.\u0275\u0275elementEnd()),2&De&&(K.\u
10275\u0275property("value",""),K.\u0275\u0275advance(),K.\u0275\u0275textInterpolate1(" ",K.\u0275\u0275pipeBind1(2,2,"Address.City.selectedTitle")," "))}function ye(De,We){if(1&De&&(K.\u0275\u0275elementStart(0,"option",4),K.\u0275\u0275text(1),K.\u0275\u0275pipe(2,"camelCase"),K.\u0275\u0275elementEnd()),2&De){const it=We.$implicit;K.\u0275\u0275property("value",it.id),K.\u0275\u0275advance(),K.\u0275\u0275textInterpolate(K.\u0275\u0275pipeBind1(2,2,it.description))}}function Qe(De,We){if(1&De&&K.\u0275\u0275element(0,"lib-validation-message",8),2&De){const it=K.\u0275\u0275nextContext();K.\u0275\u0275property("control",it.controlDirective.control)}}let le=(()=>{class De{constructor(it){this.controlDirective=it,this.departmentId="",this.label="Address.City.label",this.selectedTitleData=!0,this.cityChange=new K.EventEmitter,this._masterService=(0,K.inject)(tt.m),this.spinnerService=(0,K.inject)(ft.NgxSpinnerService),this.cities=[],this.selectedValue=null,this.onChange=()=>{},this.onTouched=()=>{},it.valueAccessor=this}ngOnChanges(it){it.departmentId&&this.departmentId?this.fnLoadData():""==it.departmentId.currentValue&&(this.cities=[],this.controlDirective.control?.disable())}fnLoadData(){this.spinnerService.show(),this._masterService.getCiudadesPorDepartamento(this.departmentId).subscribe({next:it=>{it.success&&(this.cities=it.value),this.spinnerService.hide()}})}writeValue(it){this.selectedValue=it,this.onChange(it),this.onTouched()}registerOnChange(it){this.onChange=it}registerOnTouched(it){this.onTouched=it}setDisabledState(it){}onValueChange(it){const en=it.target.value;this.selectedValue=en,this.onChange(en),this.onTouched(),this.onCityChange(it)}onCityChange(it){const en=this.cities.find(zt=>zt.id===it.target.value);this.cityChange.emit(en)}get required(){return this.controlDirective.control?.hasValidator(Ae.k0.required)}get mustMatch(){return!!this.controlDirective.control?.parent?.errors?.mustMatch&&this.controlDirective.control?.parent?.errors?.mustMatch===this.controlDirective.name}get isInvalid(){return!(!this.controlDirective?.control?.invalid||!this.controlDirective?.control?.touched)}static{this.\u0275fac=function(en){return new(en||De)(K.\u0275\u0275directiveInject(Ae.vO,2))}}static{this.\u0275cmp=K.\u0275\u0275defineComponent({type:De,selectors:[["lib-select-city"]],inputs:{departmentId:"departmentId",label:"label",selectedTitleData:"selectedTitleData"},outputs:{cityChange:"cityChange"},standalone:!0,features:[K.\u0275\u0275NgOnChangesFeature,K.\u0275\u0275StandaloneFeature],decls:9,vars:10,consts:[["for","ciudad",1,"form-label"],["class","req",4,"ngIf"],["id","ciudad","name","ciudad","placeholder","Selecciona una ciudad","required","",1,"form-select",3,"change","ngModel","disabled"],["class","option","selected","",3,"value",4,"ngIf"],[1,"option",3,"value"],["fieldName","",3,"control",4,"ngIf"],[1,"req"],["selected","",1,"option",3,"value"],["fieldName","",3,"control"]],template:function(en,zt){1&en&&(K.\u0275\u0275elementStart(0,"label",0),K.\u0275\u0275text(1),K.\u0275\u0275pipe(2,"translate"),K.\u0275\u0275template(3,Xe,2,0,"span",1),K.\u0275\u0275elementEnd(),K.\u0275\u0275elementStart(4,"select",2),K.\u0275\u0275listener("change",function(ci){return zt.onValueChange(ci)}),K.\u0275\u0275template(5,Ce,3,4,"option",3),K.\u0275\u0275repeaterCreate(6,ye,3,4,"option",4,ne),K.\u0275\u0275elementEnd(),K.\u0275\u0275template(8,Qe,1,1,"lib-validation-message",5)),2&en&&(K.\u0275\u0275advance(),K.\u0275\u0275textInterpolate1(" ",K.\u0275\u0275pipeBind1(2,8,zt.label)," "),K.\u0275\u0275advance(2),K.\u0275\u0275property("ngIf",zt.required),K.\u0275\u0275advance(),K.\u0275\u0275classProp("is-invalid",zt.isInvalid),K.\u0275\u0275property("ngModel",zt.selectedValue)("disabled",zt.controlDirective.control.disabled),K.\u0275\u0275advance(),K.\u0275\u0275property("ngIf",zt.selectedTitleData),K.\u0275\u0275advance(),K.\u0275\u0275repeater(zt.cities),K.\u0275\u0275advance(2),K.\u0275\u0275property("ngIf",!zt.mustMatch))},dependencies:[e.CommonModule,e.NgIf,Ue.A,Ve.E,be.D9,Ae.YN,Ae.xH,Ae.y7,Ae.wz,Ae.BC,Ae.YS,Ae.vS,Ke.T,ht.Z]})}}return De})()},6707:(on,bt,L)=>{L.d(bt,{G:()=>le});var e=L(8701),K=L(2331),Ae=L(9417),tt=L(3835),Ue=L(8415),Ve=L(3268),Ke=L(7771),ft=L(2123),be=L(8018),ht=L(2110);const ne=(De,We)=>We.id;
1function Xe(De,We){1&De&&(K.\u0275\u0275elementStart(0,"span",6),K.\u0275\u0275text(1," *"),K.\u0275\u0275elementEnd())}function Ce(De,We){1&De&&(K.\u0275\u0275elementStart(0,"option",7),K.\u0275\u0275text(1),K.\u0275\u0275pipe(2,"translate"),K.\u0275\u0275elementEnd()),2&De&&(K.\u0275\u0275property("value",""),K.\u0275\u0275advance(),K.\u0275\u0275textInterpolate1(" ",K.\u0275\u0275pipeBind1(2,2,"Address.Department.selectedTitle")," "))}function ye(De,We){if(1&De&&(K.\u0275\u0275elementStart(0,"option",4),K.\u0275\u0275text(1),K.\u0275\u0275pipe(2,"camelCase"),K.\u0275\u0275elementEnd()),2&De){const it=We.$implicit;K.\u0275\u0275property("value",it.id),K.\u0275\u0275advance(),K.\u0275\u0275textInterpolate(K.\u0275\u0275pipeBind1(2,2,it.description))}}function Qe(De,We){if(1&De&&K.\u0275\u0275element(0,"lib-validation-message",8),2&De){const it=K.\u0275\u0275nextContext();K.\u0275\u0275property("control",it.controlDirective.control)}}let le=(()=>{class De{constructor(it){this.controlDirective=it,this.selectedTitleData=!0,this.label="Address.Department.label",this.departmentChange=new K.EventEmitter,this._masterService=(0,K.inject)(tt.m),this.spinnerService=(0,K.inject)(ft.NgxSpinnerService),this.departments=[],this.selectedValue=null,this.onChange=()=>{},this.onTouched=()=>{},this.fnLoadData(),it.valueAccessor=this}fnLoadData(){this.spinnerService.show(),this._masterService.getDepartamentos().subscribe({next:it=>{it.success&&(this.departments=it.value),this.spinnerService.hide()}})}onDepartmentChange(it){const en=this.departments.find(zt=>zt.id===it.target.value);this.departmentChange.emit(en)}writeValue(it){this.selectedValue=it,this.onChange(it),this.onTouched();const en=this.departments.find(zt=>zt.id===this.selectedValue);this.departmentChange.emit(en)}registerOnChange(it){this.onChange=it}registerOnTouched(it){this.onTouched=it}setDisabledState(it){}onValueChange(it){const en=it.target.value;this.selectedValue=en,this.onChange(en),this.onTouched(),this.onDepartmentChange(it)}get required(){return this.controlDirective.control?.hasValidator(Ae.k0.required)}get mustMatch(){return!!this.controlDirective.control?.parent?.errors?.mustMatch&&this.controlDirective.control?.parent?.errors?.mustMatch===this.controlDirective.name}get isInvalid(){return!(!this.controlDirective?.control?.invalid||!this.controlDirective?.control?.touched)}static{this.\u0275fac=function(en){return new(en||De)(K.\u0275\u0275directiveInject(Ae.vO,2))}}static{this.\u0275cmp=K.\u0275\u0275defineComponent({type:De,selectors:[["lib-select-department"]],inputs:{selectedTitleData:"selectedTitleData",label:"label"},outputs:{departmentChange:"departmentChange"},standalone:!0,features:[K.\u0275\u0275StandaloneFeature],decls:9,vars:10,consts:[["for","departamento",1,"form-label"],["class","req",4,"ngIf"],["id","departamento","name","departamento","required","",1,"form-select",3,"change","ngModel","disabled"],["selected","","class","option",3,"value",4,"ngIf"],[1,"option",3,"value"],["fieldName","",3,"control",4,"ngIf"],[1,"req"],["selected","",1,"option",3,"value"],["fieldName","",3,"control"]],template:function(en,zt){1&en&&(K.\u0275\u0275elementStart(0,"label",0),K.\u0275\u0275text(1),K.\u0275\u0275pipe(2,"translate"),K.\u0275\u0275template(3,Xe,2,0,"span",1),K.\u0275\u0275elementEnd(),K.\u0275\u0275elementStart(4,"select",2),K.\u0275\u0275listener("change",function(ci){return zt.onValueChange(ci)}),K.\u0275\u0275template(5,Ce,3,4,"option",3),K.\u0275\u0275repeaterCreate(6,ye,3,4,"option",4,ne),K.\u0275\u0275elementEnd(),K.\u0275\u0275template(8,Qe,1,1,"lib-validation-message",5)),2&en&&(K.\u0275\u0275advance(),K.\u0275\u0275textInterpolate1(" ",K.\u0275\u0275pipeBind1(2,8,zt.label)," "),K.\u0275\u0275advance(2),K.\u0275\u0275property("ngIf",zt.required),K.\u0275\u0275advance(),K.\u0275\u0275classProp("is-invalid",zt.isInvalid),K.\u0275\u0275property("ngModel",zt.selectedValue)("disabled",zt.controlDirective.control.disabled),K.\u0275\u0275advance(),K.\u0275\u0275property("ngIf",zt.selectedTitleData),K.\u0275\u0275advance(),K.\u0275\u0275repeater(zt.departments),K.\u0275\u0275advance(2),K.\u0275\u0275property("ngIf",!zt.mustMatch))},dependencies:[e.CommonModule,e.NgIf,Ue.A,Ve.E,be.D9,Ae.YN,Ae.xH,Ae.y7,Ae.wz,Ae.BC,Ae.YS,Ae.vS,Ke.T,ht.Z]})}}return De})()},1443:(on,bt,L)=>{L.d(bt,{D:()=>ye});var e=L(467),N=L(2331),et=L(9417),Ae=L(3835),tt=L(3890),Ue=L(8415),Ve=L(3268),Ke=L(8701),Oe=L(3207),be=L(8018);const ht=(Qe,le)=>le.tipide;
1function ne(Qe,le){1&Qe&&(N.\u0275\u0275elementStart(0,"span",6),N.\u0275\u0275text(1," *"),N.\u0275\u0275elementEnd())}function Xe(Qe,le){if(1&Qe&&(N.\u0275\u0275elementStart(0,"option",3),N.\u0275\u0275text(1),N.\u0275\u0275elementEnd()),2&Qe){const De=N.\u0275\u0275nextContext();N.\u0275\u0275property("value",""),N.\u0275\u0275advance(),N.\u0275\u0275textInterpolate1(" ",De.placeholder," ")}}function Ce(Qe,le){if(1&Qe&&(N.\u0275\u0275elementStart(0,"option",4),N.\u0275\u0275text(1),N.\u0275\u0275elementEnd()),2&Qe){const De=le.$implicit;N.\u0275\u0275property("value",De.tipide),N.\u0275\u0275advance(),N.\u0275\u0275textInterpolate(De.descrip)}}let ye=(()=>{class Qe{constructor(De){this.controlDirective=De,this._masterService=(0,N.inject)(Ae.m),this.documentTypesCatalog=[],this.listTipoDocumento=[],this.selectedValue=null,this.onChange=()=>{},this.onTouched=()=>{},De.valueAccessor=this}ngOnInit(){var De=this;return(0,e.A)(function*(){yield De.fnLoadData()})()}ngOnChanges(De){De.portal&&this.setDocumentTypes()}fnLoadData(){var De=this;return(0,e.A)(function*(){const We=(yield(0,Oe.s)(De._masterService.getDocumentType())).value;De.documentTypesCatalog=We.filter(it=>it.activo).sort((it,en)=>it.orden-en.orden),De.setDocumentTypes()})()}setDocumentTypes(){const De=[...this.documentTypesCatalog];this.portal===tt.Z.MedicalProviders&&!De.some(We=>"OV-"===We.tipide)&&De.push({tipide:"OV-",descrip:"Delegado",activo:!0,orden:Number.MAX_SAFE_INTEGER}),this.listTipoDocumento=De}writeValue(De){this.selectedValue=De,this.onChange(De),this.onTouched()}registerOnChange(De){this.onChange=De}registerOnTouched(De){this.onTouched=De}setDisabledState(De){}onValueChange(De){const We=De.target.value;this.selectedValue=We,this.onChange(We),this.onTouched()}get required(){return this.controlDirective.control?.hasValidator(et.k0.required)}get isInvalid(){return!(!this.controlDirective?.control?.invalid||!this.controlDirective?.control?.touched)}static{this.\u0275fac=function(We){return new(We||Qe)(N.\u0275\u0275directiveInject(et.vO,2))}}static{this.\u0275cmp=N.\u0275\u0275defineComponent({type:Qe,selectors:[["lib-select-document-type"]],inputs:{placeholder:"placeholder",portal:"portal"},standalone:!0,features:[N.\u0275\u0275NgOnChangesFeature,N.\u0275\u0275StandaloneFeature],decls:9,vars:10,consts:[["for","tipoDocumento",1,"form-label","mb-1"],["class","req",4,"ngIf"],["id","tipoDocumento","name","tipoDocumento",1,"form-select",3,"change","ngModel","disabled"],["selected","",1,"option",3,"value"],[1,"option",3,"value"],["fieldName","",3,"control"],[1,"req"]],template:function(We,it){1&We&&(N.\u0275\u0275elementStart(0,"label",0),N.\u0275\u0275text(1),N.\u0275\u0275pipe(2,"translate"),N.\u0275\u0275template(3,ne,2,0,"span",1),N.\u0275\u0275elementEnd(),N.\u0275\u0275elementStart(4,"select",2),N.\u0275\u0275listener("change",function(zt){return it.onValueChange(zt)}),N.\u0275\u0275template(5,Xe,2,2,"option",3),N.\u0275\u0275repeaterCreate(6,Ce,2,2,"option",4,ht),N.\u0275\u0275elementEnd(),N.\u0275\u0275element(8,"lib-validation-message",5)),2&We&&(N.\u0275\u0275advance(),N.\u0275\u0275textInterpolate1(" ",N.\u0275\u0275pipeBind1(2,8,"form.controls.DocumentType.label")," "),N.\u0275\u0275advance(2),N.\u0275\u0275property("ngIf",it.required),N.\u0275\u0275advance(),N.\u0275\u0275classProp("is-invalid",it.isInvalid),N.\u0275\u0275property("ngModel",it.selectedValue)("disabled",it.controlDirective.control.disabled),N.\u0275\u0275advance(),N.\u0275\u0275conditional(5,it.placeholder?5:-1),N.\u0275\u0275advance(),N.\u0275\u0275repeater(it.listTipoDocumento),N.\u0275\u0275advance(2),N.\u0275\u0275property("control",it.controlDirective.control))},dependencies:[Ke.CommonModule,Ke.NgIf,et.YN,et.xH,et.y7,et.wz,et.BC,et.vS,Ue.A,Ve.E,be.D9],encapsulation:2})}}return Qe})()},6481:(on,bt,L)=>{L.d(bt,{w:()=>Xe});var e=L(2331),K=L(9417),et=L(8701),tt=L(8415),Ue=L(3268),Ve=L(8018);function Ke(Ce,ye){return ye[this.value]}function ft(Ce,ye){1&Ce&&(e.\u0275\u0275elementStart(0,"span",4),e.\u0275\u0275text(1," *"),e.\u0275\u0275elementEnd())}function Oe(Ce,ye){if(1&Ce&&(e.\u0275\u0275elementStart(0,"label",0),e.\u0275\u0275text(1),e.\u0275\u0275template(2,ft,2,0,"span",3),e.\u0275\u0275elementEnd()),2&Ce){const Qe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Qe.label),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Qe.required)}}function be(Ce,ye){if(1&Ce&&(e.\u0275\u0275elementStart(0,"option",6),e.\u0275\u0275pipe(1,"json"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()),2&Ce){const Qe=ye.$implicit,le=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("value",le.value?Qe[le.value]:e.\u0275\u0275pipeBind1(1,2,Qe)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Qe[le.display])}}function ht(Ce,ye){if(1&Ce&&(e.\u0275\u0275elementStart(0,"option",5),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275repeaterCreate(3,be,3,4,"option",6,Ke,!0)),2&Ce){const Qe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",Qe.placeholder||e.\u0275\u0275pipeBind1(2,1,"General.Labels.SelectOption")," "),e.\u0275\u0275advance(2),e.\u0275\u0275repeater(Qe.data)}}function ne(Ce,ye){1&Ce&&(e.\u0275\u0275elementStart(0,"option",7),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementEnd()),2&Ce&&(e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(2,1,"General.Messages.NoDataFound")," "))}let Xe=(()=>{class Ce{constructor(Qe){this.controlDirective=Qe,this.label="",this.data=[],this.eventChange=new e.EventEmitter,this.selectedValue=null,this.onChange=()=>{},this.onTouched=()=>{},Qe.valueAccessor=this}
1onEventChange(Qe){if(this.value){const le=this.data?.find(De=>`${De[this.value]}`===Qe.target.value);this.eventChange.emit(le?le[this.value]:null)}else this.eventChange.emit(Qe.target.value?JSON.parse(Qe.target.value):null)}writeValue(Qe){this.selectedValue=this.value&&Qe&&"object"==typeof Qe?Qe[this.value]:!this.value&&Qe&&"object"==typeof Qe?JSON.stringify(Qe):Qe}registerOnChange(Qe){this.onChange=Qe}registerOnTouched(Qe){this.onTouched=Qe}setDisabledState(Qe){}onValueChange(Qe){const le=Qe.target.value;this.selectedValue=le,this.onEventChange(Qe),this.onTouched(),this.onChange(le&&!this.value?JSON.parse(le):le)}get required(){return this.controlDirective.control?.hasValidator(K.k0.required)}get mustMatch(){return!!this.controlDirective.control?.parent?.errors?.mustMatch&&this.controlDirective.control?.parent?.errors?.mustMatch===this.controlDirective.name}get isInvalid(){return!(!this.controlDirective?.control?.invalid||!this.controlDirective?.control?.touched&&!this.controlDirective?.control?.dirty)}static{this.\u0275fac=function(le){return new(le||Ce)(e.\u0275\u0275directiveInject(K.vO,2))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:Ce,selectors:[["lib-select"]],inputs:{label:"label",placeholder:"placeholder",data:"data",value:"value",display:"display"},outputs:{eventChange:"eventChange"},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],decls:5,vars:7,consts:[["for","data",1,"form-label","mb-1"],["id","data","name","data",1,"form-select",3,"change","ngModel","disabled"],["fieldName","",3,"control"],["class","req",4,"ngIf"],[1,"req"],["selected","","value","",1,"option","placeholder-text"],[1,"option",3,"value"],["value","","selected","","disabled",""]],template:function(le,De){if(1&le&&(e.\u0275\u0275template(0,Oe,3,2,"label",0),e.\u0275\u0275elementStart(1,"select",1),e.\u0275\u0275listener("change",function(it){return De.onValueChange(it)}),e.\u0275\u0275template(2,ht,5,3)(3,ne,3,3),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"lib-validation-message",2)),2&le){let We;e.\u0275\u0275conditional(0,De.label?0:-1),e.\u0275\u0275advance(),e.\u0275\u0275classProp("is-invalid",De.isInvalid),e.\u0275\u0275property("ngModel",De.selectedValue)("disabled",null!==(We=null==De.controlDirective.control?null:De.controlDirective.control.disabled)&&void 0!==We&&We),e.\u0275\u0275advance(),e.\u0275\u0275conditional(2,De.data&&De.data.length>0?2:3),e.\u0275\u0275advance(2),e.\u0275\u0275property("control",De.controlDirective.control)}},dependencies:[et.CommonModule,et.NgIf,et.JsonPipe,tt.A,K.YN,K.xH,K.y7,K.wz,K.BC,K.vS,Ue.E,Ve.D9],styles:[".placeholder-text[_ngcontent-%COMP%]{color:#8e8e8e}"]})}}return Ce})()},1470:(on,bt,L)=>{L.d(bt,{F:()=>ft});var e=L(8701),K=L(2331),Ae=L(2057);function Ue(Oe,be){return this.menu.id}const Ve=Oe=>[Oe];function Ke(Oe,be){if(1&Oe&&(K.\u0275\u0275elementStart(0,"div",2)(1,"button",3),K.\u0275\u0275element(2,"i",4),K.\u0275\u0275elementStart(3,"span",5),K.\u0275\u0275text(4),K.\u0275\u0275elementEnd()()()),2&Oe){const ht=be.$implicit;K.\u0275\u0275advance(),K.\u0275\u0275property("routerLink",K.\u0275\u0275pureFunction1(2,Ve,ht.url)),K.\u0275\u0275advance(3),K.\u0275\u0275textInterpolate(ht.description)}}let ft=(()=>{class Oe{constructor(){this.route=(0,K.inject)(Ae.ActivatedRoute)}ngOnInit(){this.loadMenuData()}loadMenuData(){this.menu=this.route.snapshot.data.menu.find(ht=>ht.id===this.idMenu)}static{this.\u0275fac=function(ne){return new(ne||Oe)}}static{this.\u0275cmp=K.\u0275\u0275defineComponent({type:Oe,selectors:[["lib-menu-options"]],inputs:{idMenu:"idMenu"},standalone:!0,features:[K.\u0275\u0275StandaloneFeature],decls:5,vars:1,consts:[[1,"fs-36","mb-4"],[1,"row","g-4"],[1,"col-12","col-md-6"],[1,"btn","btn-primary","w-100","d-flex","align-items-center","justify-content-start","px-3","py-3","rounded-3","shadow-sm",3,"routerLink"],[1,"bi","bi-file-earmark-text","me-3","fs-5"],[1,"fw-semibold"]],template:function(ne,Xe){1&ne&&(K.\u0275\u0275elementStart(0,"h1",0),K.\u0275\u0275text(1),K.\u0275\u0275elementEnd(),K.\u0275\u0275elementStart(2,"div",1),K.\u0275\u0275repeaterCreate(3,Ke,5,4,"div",2,Ue,!0),K.\u0275\u0275elementEnd()),2&ne&&(K.\u
10275\u0275advance(),K.\u0275\u0275textInterpolate(Xe.menu.description),K.\u0275\u0275advance(2),K.\u0275\u0275repeater(Xe.menu.subMenu))},dependencies:[e.CommonModule,Ae.RouterModule,Ae.RouterLink],styles:['@charset "UTF-8";.gap-24[_ngcontent-%COMP%]{gap:24px}.gap-40[_ngcontent-%COMP%]{gap:40px}.fs-36[_ngcontent-%COMP%]{font-size:36px}.custom-icon[_ngcontent-%COMP%]{font-size:20px}.radius-8[_ngcontent-%COMP%]{border-radius:8px}.p-custom[_ngcontent-%COMP%]{padding:10px 12px}']})}}return Oe})()},398:(on,bt,L)=>{L.d(bt,{z:()=>Ue});var e=L(8701),K=L(2331);const Ae=["*"];function tt(Ve,Ke){if(1&Ve){const ft=K.\u0275\u0275getCurrentView();K.\u0275\u0275elementStart(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),K.\u0275\u0275element(4,"img",5),K.\u0275\u0275elementEnd(),K.\u0275\u0275elementStart(5,"button",6),K.\u0275\u0275listener("click",function(){K.\u0275\u0275restoreView(ft);const be=K.\u0275\u0275nextContext();return K.\u0275\u0275resetView(be.close())}),K.\u0275\u0275text(6,"\u2716"),K.\u0275\u0275elementEnd()(),K.\u0275\u0275projection(7),K.\u0275\u0275elementEnd()()}}let Ue=(()=>{class Ve{constructor(){this.isOpen=!1,this.closeModal=new K.EventEmitter}close(){this.closeModal.emit(!1)}static{this.\u0275fac=function(Oe){return new(Oe||Ve)}}static{this.\u0275cmp=K.\u0275\u0275defineComponent({type:Ve,selectors:[["lib-modal"]],inputs:{isOpen:"isOpen"},outputs:{closeModal:"closeModal"},standalone:!0,features:[K.\u0275\u0275StandaloneFeature],ngContentSelectors:Ae,decls:1,vars:1,consts:[["class","modal-backdrop d-flex align-items-center justify-content-center",4,"ngIf"],[1,"modal-backdrop","d-flex","align-items-center","justify-content-center"],[1,"modal-content","p-4"],[1,"d-flex","justify-content-between","align-items-center"],[1,"icon-container","mx-auto"],["src","/assets/icons/temporales/pointCloud.svg","alt","Icono",1,"icon"],[1,"close-btn","ml-auto",3,"click"]],template:function(Oe,be){1&Oe&&(K.\u0275\u0275projectionDef(),K.\u0275\u0275template(0,tt,8,0,"div",0)),2&Oe&&K.\u0275\u0275property("ngIf",be.isOpen)},dependencies:[e.CommonModule,e.NgIf],styles:[".modal-backdrop[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1050}.modal-content[_ngcontent-%COMP%]{background:#fff;border-radius:10px;width:90%;max-width:35rem;box-shadow:0 4px 10px #0003}.close-btn[_ngcontent-%COMP%]{background:none;color:red;font-size:16px;cursor:pointer;border-radius:50%;border:2px solid;width:30px;height:30px;font-weight:800}.icon-container[_ngcontent-%COMP%]{display:flex;justify-content:center;background-color:#f0f7ff;border-radius:50%;width:50px;height:50px;align-items:center}.icon[_ngcontent-%COMP%]{width:30px;height:30px}"]})}}return Ve})()},6566:(on,bt,L)=>{L.d(bt,{e:()=>Ue});var e=L(2331),K=L(2283);function Ae(Ve,Ke){1&Ve&&(e.\u0275\u0275elementStart(0,"div",3)(1,"span"),e.\u0275\u0275text(2,"Siguiente"),e.\u0275\u0275elementEnd(),e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(3,"svg",4),e.\u0275\u0275element(4,"path",5),e.\u0275\u0275elementEnd()())}function tt(Ve,Ke){1&Ve&&(e.\u0275\u0275elementStart(0,"div",3)(1,"span"),e.\u0275\u0275text(2," \xdaltimo "),e.\u0275\u0275elementEnd(),e.\u0275\u0275namespaceSVG(),e.\u0275\u0275elementStart(3,"svg",4),e.\u0275\u0275element(4,"path",6)(5,"path",7),e.\u0275\u0275elementEnd()())}L(4073);let Ue=(()=>{class Ve{constructor(){this.page=1,this.pageSize=10,this.maxSize=10,this.ellipses=!1,this.rotate=!1,this.pageChange=new e.EventEmitter}ngOnChanges(ft){(ft.collectionSize||ft.pageSize)&&this.normalizePage()}normalizePage(){const be=Math.max(1,Math.ceil((this.collectionSize??0)/(this.pageSize>0?this.pageSize:1))),ht=Math.min(Math.max(this.page,1),be);ht!==this.page&&(this.page=ht,this.pageChange.emit(this.page))}static{this.\u0275fac=function(Oe){return new(Oe||Ve)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:Ve,selectors:[["lib-pagination"]],inputs:{page:"page",collectionSize:"collectionSize",pageSize:"pageSize",maxSize:"maxSize",ellipses:"ellipses",rotate:"rotate"},outputs:{pageChange:"pageChange"},standalone:!0,features:[e.\u0275\u0275NgOnChangesFeature,e.\u0275\u0275StandaloneFeature],decls:3,vars:7,consts:[[3,"pageChange","collectionSize","page","boundaryLinks","pageSize","maxSize","ellipses","rotate"],["ngbPaginationNext",""],["ngbPaginationLast",""],[1,"d-flex","gap-1","align-items-center"],["xmlns","http://www.w3.org/2000/svg","width","17","height","16","viewBox","0 0 17 16","fill","none"],["fill-rule","evenodd","clip-rule","evenodd","d","M5.14689 1.64592C5.19334 1.59935 5.24851 1.56241 5.30926 1.5372C5.37001 1.512 5.43513 1.49902 5.50089 1.49902C5.56666 1.49902 5.63178 1.512 5.69253 1.5372C5.75327 1.56241 5.80845 1.59935 5.85489 1.64592
1L11.8549 7.64592C11.9015 7.69236 11.9384 7.74754 11.9636 7.80828C11.9888 7.86903 12.0018 7.93415 12.0018 7.99992C12.0018 8.06568 11.9888 8.1308 11.9636 8.19155C11.9384 8.2523 11.9015 8.30747 11.8549 8.35392L5.85489 14.3539C5.76101 14.4478 5.63367 14.5005 5.50089 14.5005C5.36812 14.5005 5.24078 14.4478 5.14689 14.3539C5.05301 14.26 5.00026 14.1327 5.00026 13.9999C5.00026 13.8671 5.05301 13.7398 5.14689 13.6459L10.7939 7.99992L5.14689 2.35392C5.10033 2.30747 5.06339 2.2523 5.03818 2.19155C5.01297 2.13081 5 2.06568 5 1.99992C5 1.93415 5.01297 1.86903 5.03818 1.80828C5.06339 1.74754 5.10033 1.69236 5.14689 1.64592Z","fill","#222222"],["fill-rule","evenodd","clip-rule","evenodd","d","M4.14689 1.64592C4.19334 1.59935 4.24851 1.56241 4.30926 1.5372C4.37001 1.512 4.43513 1.49902 4.50089 1.49902C4.56666 1.49902 4.63178 1.512 4.69253 1.5372C4.75327 1.56241 4.80845 1.59935 4.85489 1.64592L10.8549 7.64592C10.9015 7.69236 10.9384 7.74754 10.9636 7.80828C10.9888 7.86903 11.0018 7.93415 11.0018 7.99992C11.0018 8.06568 10.9888 8.1308 10.9636 8.19155C10.9384 8.2523 10.9015 8.30747 10.8549 8.35392L4.85489 14.3539C4.76101 14.4478 4.63367 14.5005 4.50089 14.5005C4.36812 14.5005 4.24078 14.4478 4.14689 14.3539C4.05301 14.26 4.00026 14.1327 4.00026 13.9999C4.00026 13.8671 4.05301 13.7398 4.14689 13.6459L9.79389 7.99992L4.14689 2.35392C4.10033 2.30747 4.06339 2.2523 4.03818 2.19155C4.01297 2.13081 4 2.06568 4 1.99992C4 1.93415 4.01297 1.86903 4.03818 1.80828C4.06339 1.74754 4.10033 1.69236 4.14689 1.64592Z","fill","#222222"],["fill-rule","evenodd","clip-rule","evenodd","d","M8.14689 1.64592C8.19334 1.59935 8.24851 1.56241 8.30926 1.5372C8.37001 1.512 8.43513 1.49902 8.50089 1.49902C8.56666 1.49902 8.63178 1.512 8.69253 1.5372C8.75327 1.56241 8.80845 1.59935 8.85489 1.64592L14.8549 7.64592C14.9015 7.69236 14.9384 7.74754 14.9636 7.80828C14.9888 7.86903 15.0018 7.93415 15.0018 7.99992C15.0018 8.06568 14.9888 8.1308 14.9636 8.19155C14.9384 8.2523 14.9015 8.30747 14.8549 8.35392L8.85489 14.3539C8.76101 14.4478 8.63367 14.5005 8.50089 14.5005C8.36812 14.5005 8.24078 14.4478 8.14689 14.3539C8.05301 14.26 8.00026 14.1327 8.00026 13.9999C8.00026 13.8671 8.05301 13.7398 8.14689 13.6459L13.7939 7.99992L8.14689 2.35392C8.10033 2.30747 8.06339 2.2523 8.03818 2.19155C8.01297 2.13081 8 2.06568 8 1.99992C8 1.93415 8.01297 1.86903 8.03818 1.80828C8.06339 1.74754 8.10033 1.69236 8.14689 1.64592Z","fill","#222222"]],template:function(Oe,be){1&Oe&&(e.\u0275\u0275elementStart(0,"ngb-pagination",0),e.\u0275\u0275twoWayListener("pageChange",function(ne){return e.\u0275\u0275twoWayBindingSet(be.page,ne)||(be.page=ne),ne}),e.\u0275\u0275listener("pageChange",function(ne){return be.pageChange.emit(ne)}),e.\u0275\u0275template(1,Ae,5,0,"ng-template",1)(2,tt,6,0,"ng-template",2),e.\u0275\u0275elementEnd()),2&Oe&&(e.\u0275\u0275property("collectionSize",be.collectionSize),e.\u0275\u0275twoWayProperty("page",be.page),e.\u0275\u0275property("boundaryLinks",!0)("pageSize",be.pageSize)("maxSize",be.maxSize)("ellipses",be.ellipses)("rotate",!0))},dependencies:[K.c9,K.s5,K.ug,K.PB],styles:[".page-link{color:var(--color-texto-gris-1)} .page-link.active, .active>.page-link{background-color:var(--Color-primary);border-color:transparent} .page-link:focus{box-shadow:none} a[aria-label=Previous]{display:none!important} a[aria-label=First]{display:none!important} .pagination{margin:0} ngb-pagination ul.pagination{flex-wrap:wrap;justify-content:center;max-width:100%;overflow-x:auto}"]})}}return Ve})()},2126:(on,bt,L)=>{L.d(bt,{L:()=>vA});var e=L(8018),N=L(2331),K=L(6566),et=L(8701),Ae=function(yt){return yt.PAID="pagada",yt.PENDING="en revisi\xf3n",yt.REJECTED="rechazada",yt}(Ae||{}),Ue=function(yt){return yt.Active="success-color",yt.Inactive="orange-color",yt.Retired="red-color",yt.Other="grey-color",yt}(Ue||{}),Ve=L(3268);const Ke=(yt,ot)=>ot.key;function ft(yt,ot){return ot[this.tableHeaders[0].key]}function Oe(yt,ot){if(1&yt&&(N.\u0275\u0275elementStart(0,"div",3),N.\u0275\u0275text(1),N.\u0275\u0275elementEnd()),2&yt){const _e=ot.$implicit;N.\u0275\u0275advance(),N.\u0275\u0275textInterpolate(_e.title)}}function be(yt,ot){if(1&yt&&(N.\u0275\u0275elementStart(0,"div",7),N.\u0275\u0275element(1,"span",8),N.\u0275\u0275text(2),N.\u0275\u0275elementEnd()),2&yt){let _e;const _t=N.\u0275\u0275nextContext().$implicit,Gt=N.\u0275\u0275nextContext(2).$implicit,sn=N.\u0275\u0275nextContext(2);N.\u0275\u0275advance(),N.\u0275\u0275property("ngClass",sn.getStatusClass(null!==(_e=Gt[_t.key])&&void 0!==_e?_e:"")),N.\u0275\u0275advance(),N.\u0275\u0275textInterpolate1(" ",Gt[_t.key]," ")}}function ht(yt,ot){if(1&yt){const _e=N.\u0275\u0275getCurrentView();N.\u0275\u0275elementStart(0,"button",10),N.\u0275\u0275listener("click",function(){N.\u0275\u0275restoreView(_e);const Gt=N.\u0275\u0275nextContext(4).$implicit,sn=N.\u0275\u0275nextContext(2);
1return N.\u0275\u0275resetView(sn.action(Gt,"Consult"))}),N.\u0275\u0275element(1,"i",11),N.\u0275\u0275elementEnd()}}function ne(yt,ot){if(1&yt&&N.\u0275\u0275template(0,ht,2,0,"button",9),2&yt){const _e=N.\u0275\u0275nextContext().$implicit,_t=N.\u0275\u0275nextContext(2).$implicit;N.\u0275\u0275conditional(0,_t[_e.key]?0:-1)}}function Xe(yt,ot){if(1&yt){const _e=N.\u0275\u0275getCurrentView();N.\u0275\u0275elementStart(0,"button",12),N.\u0275\u0275listener("click",function(){N.\u0275\u0275restoreView(_e);const Gt=N.\u0275\u0275nextContext(3).$implicit,sn=N.\u0275\u0275nextContext(2);return N.\u0275\u0275resetView(sn.action(Gt,"GeneratePassword"))}),N.\u0275\u0275text(1),N.\u0275\u0275pipe(2,"translate"),N.\u0275\u0275elementEnd()}if(2&yt){const _e=N.\u0275\u0275nextContext().$implicit,_t=N.\u0275\u0275nextContext(2).$implicit;N.\u0275\u0275property("disabled",!_t[_e.key]),N.\u0275\u0275advance(),N.\u0275\u0275textInterpolate1(" ",N.\u0275\u0275pipeBind1(2,2,"Table.Buttons.GeneratePassword")," ")}}function Ce(yt,ot){if(1&yt){const _e=N.\u0275\u0275getCurrentView();N.\u0275\u0275elementStart(0,"button",13),N.\u0275\u0275listener("click",function(){N.\u0275\u0275restoreView(_e);const Gt=N.\u0275\u0275nextContext(3).$implicit,sn=N.\u0275\u0275nextContext(2);return N.\u0275\u0275resetView(sn.action(Gt,"UnlockUser"))}),N.\u0275\u0275element(1,"i",14),N.\u0275\u0275text(2),N.\u0275\u0275pipe(3,"translate"),N.\u0275\u0275elementEnd()}2&yt&&(N.\u0275\u0275advance(2),N.\u0275\u0275textInterpolate1(" ",N.\u0275\u0275pipeBind1(3,1,"Table.Buttons.UnlockUser")," "))}function ye(yt,ot){if(1&yt){const _e=N.\u0275\u0275getCurrentView();N.\u0275\u0275elementStart(0,"div",15)(1,"input",16),N.\u0275\u0275listener("change",function(Gt){N.\u0275\u0275restoreView(_e);const sn=N.\u0275\u0275nextContext(3).$implicit,qr=N.\u0275\u0275nextContext(2);return N.\u0275\u0275resetView(qr.changeStatus(sn,"ActionStatus",Gt))}),N.\u0275\u0275elementEnd()()}if(2&yt){const _e=N.\u0275\u0275nextContext().$implicit,_t=N.\u0275\u0275nextContext(2).$implicit;N.\u0275\u0275advance(),N.\u0275\u0275property("checked",_t[_e.key])}}function Qe(yt,ot){if(1&yt){const _e=N.\u0275\u0275getCurrentView();N.\u0275\u0275elementStart(0,"button",10),N.\u0275\u0275listener("click",function(){N.\u0275\u0275restoreView(_e);const Gt=N.\u0275\u0275nextContext(4).$implicit,sn=N.\u0275\u0275nextContext(2);return N.\u0275\u0275resetView(sn.action(Gt,"Update"))}),N.\u0275\u0275element(1,"i",17),N.\u0275\u0275elementEnd()}}function le(yt,ot){if(1&yt){const _e=N.\u0275\u0275getCurrentView();N.\u0275\u0275elementStart(0,"button",10),N.\u0275\u0275listener("click",function(){N.\u0275\u0275restoreView(_e);const Gt=N.\u0275\u0275nextContext(3).$implicit,sn=N.\u0275\u0275nextContext(2);return N.\u0275\u0275resetView(sn.action(Gt,"Consult"))}),N.\u0275\u0275element(1,"i",11),N.\u0275\u0275elementEnd(),N.\u0275\u0275template(2,Qe,2,0,"button",9)}if(2&yt){const _e=N.\u0275\u0275nextContext().$implicit,_t=N.\u0275\u0275nextContext(2).$implicit;N.\u0275\u0275advance(2),N.\u0275\u0275conditional(2,_t[_e.key]?2:-1)}}function De(yt,ot){if(1&yt){const _e=N.\u0275\u0275getCurrentView();N.\u0275\u0275elementStart(0,"button",10),N.\u0275\u0275listener("click",function(){N.\u0275\u0275restoreView(_e);const Gt=N.\u0275\u0275nextContext(3).$implicit,sn=N.\u0275\u0275nextContext(2);return N.\u0275\u0275resetView(sn.action(Gt,"Consult"))}),N.\u0275\u0275element(1,"i",11),N.\u0275\u0275elementEnd(),N.\u0275\u0275elementStart(2,"button",10),N.\u0275\u0275listener("click",function(){N.\u0275\u0275restoreView(_e);const Gt=N.\u0275\u0275nextContext(3).$implicit,sn=N.\u0275\u0275nextContext(2);return N.\u0275\u0275resetView(sn.action(Gt,"Update"))}),N.\u0275\u0275element(3,"i",17),N.\u0275\u0275elementEnd(),N.\u0275\u0275elementStart(4,"button",10),N.\u0275\u0275listener("click",function(){N.\u0275\u0275restoreView(_e);const Gt=N.\u0275\u0275nextContext(3).$implicit,sn=N.\u0275\u0275nextContext(2);return N.\u0275\u0275resetView(sn.action(Gt,"Delete"))}),N.\u0275\u0275element(5,"i",18),N.\u0275\u0275elementEnd()}}function We(yt,ot){if(1&yt&&(N.\u0275\u0275elementStart(0,"span"),N.\u0275\u0275text(1),N.\u0275\u0275elementEnd()),2&yt){const _e=N.\u0275\u0275nextContext().$implicit,_t=N.\u
10275\u0275nextContext(2).$implicit;N.\u0275\u0275advance(),N.\u0275\u0275textInterpolate(_t[_e.key])}}function it(yt,ot){if(1&yt&&(N.\u0275\u0275elementStart(0,"div",6),N.\u0275\u0275template(1,be,3,2)(2,ne,1,1)(3,Xe,3,4)(4,Ce,4,3)(5,ye,2,1)(6,le,3,1)(7,De,6,0)(8,We,2,1),N.\u0275\u0275elementEnd()),2&yt){let _e;const _t=ot.$implicit;N.\u0275\u0275property("ngClass",_t.class||""),N.\u0275\u0275attribute("data-label",_t.title),N.\u0275\u0275advance(),N.\u0275\u0275conditional(1,"invoiceStatus"===(_e=_t.key)?1:"detail"===_e?2:"generatePassword"===_e?3:"unlockUser"===_e?4:"actionStatus"===_e?5:"detailUpdate"===_e?6:"allAction"===_e?7:8)}}function en(yt,ot){if(1&yt&&(N.\u0275\u0275elementStart(0,"div",5),N.\u0275\u0275repeaterCreate(1,it,9,3,"div",6,Ke),N.\u0275\u0275elementEnd()),2&yt){const _e=N.\u0275\u0275nextContext(3);N.\u0275\u0275advance(),N.\u0275\u0275repeater(_e.tableHeaders)}}function zt(yt,ot){if(1&yt&&N.\u0275\u0275template(0,en,3,0,"div",5),2&yt){const _e=ot.$index,_t=N.\u0275\u0275nextContext(2);N.\u0275\u0275conditional(0,_e>=_t.startIndex&&_e<=_t.startIndex+_t.pageSize-1?0:-1)}}function Cn(yt,ot){if(1&yt){const _e=N.\u0275\u0275getCurrentView();N.\u0275\u0275elementStart(0,"div",4)(1,"lib-pagination",19),N.\u0275\u0275listener("pageChange",function(Gt){N.\u0275\u0275restoreView(_e);const sn=N.\u0275\u0275nextContext(2);return N.\u0275\u0275resetView(sn.pageChange(Gt))}),N.\u0275\u0275elementEnd()()}if(2&yt){const _e=N.\u0275\u0275nextContext(2);N.\u0275\u0275advance(),N.\u0275\u0275property("collectionSize",_e.tableBody.length)}}function ci(yt,ot){if(1&yt&&(N.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2),N.\u0275\u0275repeaterCreate(3,Oe,2,1,"div",3,Ke),N.\u0275\u0275elementEnd(),N.\u0275\u0275repeaterCreate(5,zt,1,1,null,null,ft,!0),N.\u0275\u0275elementEnd()(),N.\u0275\u0275template(7,Cn,2,1,"div",4)),2&yt){const _e=N.\u0275\u0275nextContext();N.\u0275\u0275advance(3),N.\u0275\u0275repeater(_e.tableHeaders),N.\u0275\u0275advance(2),N.\u0275\u0275repeater(_e.tableBody),N.\u0275\u0275advance(2),N.\u0275\u0275conditional(7,_e.tableBody.length>10?7:-1)}}let vA=(()=>{class yt{constructor(){this.detail=new N.EventEmitter,this.tableBody=[],this.tableHeaders=[],this.pageSize=10,this.startIndex=0}action(_e,_t){this.detail.emit({data:_e,action:_t})}changeStatus(_e,_t,Gt){this.detail.emit({data:_e,action:_t,checked:Gt.target.checked})}getStatusClass(_e){switch(_e.toLowerCase()){case Ae.PAID:return Ue.Active;case Ae.PENDING:return Ue.Inactive;case Ae.REJECTED:return Ue.Retired;default:return Ue.Other}}pageChange(_e){this.startIndex=(_e-1)*this.pageSize}static{this.\u0275fac=function(_t){return new(_t||yt)}}static{this.\u0275cmp=N.\u0275\u0275defineComponent({type:yt,selectors:[["lib-tables"]],inputs:{tableBody:"tableBody",tableHeaders:"tableHeaders"},outputs:{detail:"detail"},standalone:!0,features:[N.\u0275\u0275ProvidersFeature([e.c$]),N.\u0275\u0275StandaloneFeature],decls:1,vars:1,consts:[[1,"table-container"],[1,"custom-table"],[1,"row","header"],[1,"cell"],[1,"d-flex","align-items-center","justify-content-center","mt-4"],[1,"row"],[1,"cell",3,"ngClass"],[1,"status"],[1,"status-dot",3,"ngClass"],[1,"btn","btn-link"],[1,"btn","btn-link",3,"click"],[1,"bi","bi-search","fs-4","text-primary"],[1,"btn","btn-secondary","m-2",3,"click","disabled"],[1,"btn","btn-secondary","m-2",3,"click"],[1,"bi","bi-unlock","fs-6"],[1,"form-check","form-switch","d-flex","justify-content-center"],["type","checkbox",1,"form-check-input","chk-dimensions",3,"change","checked"],[1,"bi","bi-pencil-square","icon-lg"],[1,"bi","bi-trash","icon-lg","text-danger"],[3,"pageChange","collectionSize"]],template:function(_t,Gt){1&_t&&N.\u0275\u0275template(0,ci,8,1),2&_t&&N.\u0275\u0275conditional(0,Gt.tableHeaders.length?0:-1)},dependencies:[K.e,et.CommonModule,et.NgClass,Ve.E,e.D9],styles:[".table-container[_ngcontent-%COMP%]{width:100%;overflow-x:auto;box-sizing:border-box}.custom-table[_ngcontent-%COMP%]{display:table;width:100%;border-collapse:collapse;background-color:#f9f9f9;border-radius:8px;overflow:hidden}.row[_ngcontent-%COMP%]{display:table-row}.header[_ngcontent-%COMP%]{display:table-header-group}.cell[_ngcontent-%COMP%]{display:table-cell;border-bottom:1px solid #ddd;background:#fff;text-align:center;vertical-align:middle;white-space:pre-wrap;overflow:hidden;text-overflow:ellipsis;width:auto}.width-mini[_ngcontent-%COMP%]{width:15%;white-space:nowrap}.row[_ngcontent-%COMP%] > .cell[_ngcontent-%COMP%]:last-child{border-right:none}.header[_ngcontent-%COMP%] .cell[_ngcontent-%COMP%]{background-color:#023968;color:#fff;font-weight:700;border-right:1px solid #fff;white-space:break-spaces;padding:8px}.row[_ngcontent-%COMP%]:last-child .cell[_ngcontent-%COMP%]{border-bottom:none}.status[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px}.status-dot[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:50%}.chk-dimensions[_ngcontent-%COMP%]{width:40px;height:20px}@media (max-width: 1024px){.table-bang[_ngcontent-%COMP%]{width:auto}}@media (max-width: 768px){.custom-table[_ngcontent-%COMP%], .header[_ngcontent-%COMP%], .row[_ngcontent-%COMP%]{display:block}.row[_ngcontent-%COMP%]{margin:0 0 10px;border:1px solid #ccc;border-radius:16px;overflow:hidden}.table-container[_ngcontent-%COMP%]{border:none;overflow:inherit}.custom-table[_ngcontent-%COMP%]{background-color:#fff;overflow:inherit}.row[_ngcontent-%COMP%]:last-child .cell[_ngcontent-%COMP%]{border-bottom:1px solid #eee}.cell[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;border-bottom:1px solid #eee;position:relative;white-space:normal}.width-mini[_ngcontent-%COMP%]{width:auto;white-space:normal}.cell[_ngcontent-%COMP%]:last-child{border-bottom:none}.cell[_ngcontent-%COMP%]:before{content:attr(data-label);font-weight:700;color:#036;flex:1;text-align:left}.cell[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{flex:1;text-align:left}.header[_ngcontent-%COMP%]{display:none}.status-dot[_ngcontent-%COMP%]{margin-right:7px}.status[_ngcontent-%COMP%]{display:flex}}"]})}}return yt})()},7562:(on,bt,L)=>{L.d(bt,{d:()=>Ve});var e=L(8701),N=L(2331),K=function(Ke){return Ke.info='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">\n<g clip-path="url(#clip0_3550_8484)">\n<path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M12.0002 24C15.1828 24 18.2351 22.7357 20.4856 20.4853C22.7361 18.2348 24.0004 15.1826 24.0004 12C24.0004 8.8174 22.7361 5.76516 20.4856 3.51472C18.2351 1.26428 15.1828 0 12.0002 0C8.81754 0 5.76525 1.26428 3.51477 3.51472C1.2643 5.76516 0 8.8174 0 12C0 15.1826 1.2643 18.2348 3.51477 20.4853C5.76525 22.7357 8.81754 24 12.0002 24ZM13.3952 9.882L9.96016 10.3125L9.83716 10.8825L10.5122 11.007C10.9532 11.112 11.0402 11.271 10.9442 11.7105L9.83716 16.9125C9.54615 18.258 9.99466 18.891 11.0492 18.89
11C11.8667 18.891 12.8162 18.513 13.2467 17.994L13.3787 17.37C13.0787 17.634 12.6407 17.739 12.3497 17.739C11.9372 17.739 11.7872 17.4495 11.8937 16.9395L13.3952 9.882ZM12.0002 8.25C12.398 8.25 12.7796 8.09196 13.0609 7.81066C13.3422 7.52936 13.5002 7.14782 13.5002 6.75C13.5002 6.35218 13.3422 5.97064 13.0609 5.68934C12.7796 5.40804 12.398 5.25 12.0002 5.25C11.6024 5.25 11.2208 5.40804 10.9395 5.68934C10.6582 5.97064 10.5002 6.35218 10.5002 6.75C10.5002 7.14782 10.6582 7.52936 10.9395 7.81066C11.2208 8.09196 11.6024 8.25 12.0002 8.25Z" fill="#005CAC"/>\n</g>\n<defs>\n<clipPath id="clip0_3550_8484">\n<rect width="24.0004" height="24" fill="white"/>\n</clipPath>\n</defs>\n</svg>',Ke.success='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">\n<g clip-path="url(#clip0_3550_8511)">\n<path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M24.0004 12C24.0004 15.1826 22.7361 18.2348 20.4856 20.4853C18.2351 22.7357 15.1828 24 12.0002 24C8.81754 24 5.76525 22.7357 3.51477 20.4853C1.2643 18.2348 0 15.1826 0 12C0 8.8174 1.2643 5.76516 3.51477 3.51472C5.76525 1.26428 8.81754 0 12.0002 0C15.1828 0 18.2351 1.26428 20.4856 3.51472C22.7361 5.76516 24.0004 8.8174 24.0004 12ZM18.0453 7.455C17.9381 7.34823 17.8106 7.26416 17.6702 7.20782C17.5298 7.15149 17.3795 7.12404 17.2283 7.12712C17.077 7.1302 16.928 7.16375 16.79 7.22575C16.652 7.28776 16.528 7.37695 16.4253 7.488L11.2157 14.1255L8.07613 10.9845C7.86286 10.7858 7.58079 10.6776 7.28933 10.6827C6.99788 10.6879 6.71979 10.8059 6.51367 11.0121C6.30755 11.2182 6.18948 11.4963 6.18434 11.7877C6.17919 12.0792 6.28738 12.3612 6.4861 12.5745L10.4552 16.545C10.5621 16.6517 10.6894 16.7358 10.8295 16.7923C10.9697 16.8487 11.1197 16.8764 11.2708 16.8736C11.4218 16.8708 11.5708 16.8376 11.7087 16.776C11.8467 16.7144 11.9708 16.6256 12.0737 16.515L18.0618 9.03C18.2659 8.81775 18.3787 8.53391 18.3759 8.23944C18.3731 7.94496 18.2549 7.66332 18.0468 7.455H18.0453Z" fill="#249310"/>\n</g>\n<defs>\n<clipPath id="clip0_3550_8511">\n<rect width="24.0004" height="24" fill="white"/>\n</clipPath>\n</defs>\n</svg>',Ke.warning='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">\n<g opacity="0.6" clip-path="url(#clip0_3550_8535)">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M24.0004 12C24.0004 15.1826 22.7361 18.2348 20.4856 20.4853C18.2351 22.7357 15.1828 24 12.0002 24C8.81754 24 5.76525 22.7357 3.51477 20.4853C1.2643 18.2348 0 15.1826 0 12C0 8.8174 1.2643 5.76516 3.51477 3.51472C5.76525 1.26428 8.81754 0 12.0002 0C15.1828 0 18.2351 1.26428 20.4856 3.51472C22.7361 5.76516 24.0004 8.8174 24.0004 12ZM12.0002 6C11.8106 6.00011 11.6231 6.03993 11.4499 6.11689C11.2766 6.19386 11.1214 6.30626 10.9942 6.44687C10.867 6.58747 10.7707 6.75316 10.7114 6.93325C10.6522 7.11334 10.6313 7.30385 10.6502 7.4925L11.1752 12.753C11.1928 12.9597 11.2874 13.1522 11.4401 13.2925C11.5929 13.4327 11.7928 13.5106 12.0002 13.5106C12.2076 13.5106 12.4075 13.4327 12.5602 13.2925C12.713 13.1522 12.8076 12.9597 12.8252 12.753L13.3502 7.4925C13.3691 7.30385 13.3482 7.11334 13.2889 6.93325C13.2297 6.75316 13.1334 6.58747 13.0062 6.44687C12.879 6.30626 12.7238 6.19386 12.5505 6.11689C12.3773 6.03993 12.1898 6.00011 12.0002 6ZM12.0032 15C11.6054 15 11.2238 15.158 10.9425 15.4393C10.6612 15.7206 10.5032 16.1022 10.5032 16.5C10.5032 16.8978 10.6612 17.2794 10.9425 17.5607C11.2238 17.842 11.6054 18 12.0032 18C12.401 18 12.7826 17.842 13.0639 17.5607C13.3452 17.2794 13.5032 16.8978 13.5032 16.5C13.5032 16.1022 13.3452 15.7206 13.0639 15.4393C12.7826 15.158 12.401 15 12.0032 15Z" fill="#EC9D0A"/>\n</g>\n<defs>\n<clipPath id="clip0_3550_8535">\n<rect width="24.0004" height="24" fill="white"/>\n</clipPath>\n</defs>\n</svg>',Ke.error='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">\n<g opacity="0.6" clip-path="url(#clip0_3550_8523)">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M24.0004 12C24.0004 15.1826 22.7361 18.2348 20.4856 20.4853C18.2351 22.7357 15.1828 24 12.0002 24C8.81754 24 5.76525 22.7357 3.51477 20.4853C1.2643 18.2348 0 15.1826 0 12C0 8.8174 1.2643 5.76516 3.51477 3.51472C5.76525 1.26428 8.81754 0 12.0002 0C15.1828 0 18.2351 1.26428 20.4856 3.51472C22.7361 5.76516 24.0004 8.8174 24.0004 12ZM8.03113 6.969C7.8903 6.82817 7.69929 6.74905 7.50012 6.74905C7.30095 6.74905 7.10994 6.82817 6.96911 6.969C6.82828 7.10983 6.74916 7.30084 6.74916 7.5C6.74916 7.69916 6.82828 7.89017 6.96911 8.031L10.9397 12L6.96911 15.969C6.89938 16.0387 6.84406 16.1215 6.80632 16.2126C6.76858 16.3037 6.74916 16.4014 6.74916 16.5C6.74916 16.5986 6.76858 16.6963 6.80632 16.7874C6.84406 16.8785 6.89938 16.9613 6.96911 17.031C7.10994 17.1718 7.30095 17.2509 7.50012 17.2509C7.59874 17.2509 7.69639 17.2315 7.7875 17.1938C7.87861 17.156 7.96139 17.1007 8.03113 17.031L12.0002 13.0605L15.9693 17.031C16.039 17.1007 16.1218 17.156 16.2129 17.1938C16.304 17.2315 16.4016 17.2509 16.5003 17.2509C16.5989 17.2509 16.6965 17.2315 16.7876 17.1938C16.8788 17.156 16.9615 17.1007 17.0313 17.031C17.101 16.9613 17.1563 16.8785 17.1941 16.7874C17.2318 16.6963 17.2512 16.5986 17.2512 16.5C17.2512 16.4014 17.2318 16.3037 17.1941 16.2126C17.1563 16.1215 17.101 16.0387 17.0313 15.969L13.0607 12L17.0313 8.031C17.101 7.96127 17.1563 7.87848 17.1941 7.78738C1
17.2318 7.69627 17.2512 7.59862 17.2512 7.5C17.2512 7.40138 17.2318 7.30373 17.1941 7.21262C17.1563 7.12152 17.101 7.03873 17.0313 6.969C16.9615 6.89927 16.8788 6.84395 16.7876 6.80621C16.6965 6.76848 16.5989 6.74905 16.5003 6.74905C16.4016 6.74905 16.304 6.76848 16.2129 6.80621C16.1218 6.84395 16.039 6.89927 15.9693 6.969L12.0002 10.9395L8.03113 6.969Z" fill="#D90B0B"/>\n</g>\n<defs>\n<clipPath id="clip0_3550_8523">\n<rect width="24.0004" height="24" fill="white"/>\n</clipPath>\n</defs>\n</svg>',Ke.close='<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">\n<mask id="mask0_3550_8488" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="12" height="12">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M0.96967 0.969666C1.26256 0.676778 1.73744 0.676778 2.03033 0.969666L11.0303 9.96952C11.3232 10.2624 11.3232 10.7373 11.0303 11.0302C10.7374 11.3231 10.2626 11.3231 9.96967 11.0302L0.96967 2.03031C0.676777 1.73742 0.676777 1.26255 0.96967 0.969666Z" fill="#006FFD"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M11.0303 0.969666C10.7374 0.676778 10.2626 0.676778 9.96967 0.969666L0.96967 9.96952C0.676777 10.2624 0.676777 10.7373 0.96967 11.0302C1.26256 11.3231 1.73744 11.3231 2.03033 11.0302L11.0303 2.03031C11.3232 1.73742 11.3232 1.26255 11.0303 0.969666Z" fill="#006FFD"/>\n</mask>\n<g mask="url(#mask0_3550_8488)">\n<rect width="12" height="11.9998" fill="#222222"/>\n</g>\n</svg>',Ke.comment='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="23" viewBox="0 0 24 23" fill="none">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M24 11C24 16.799 18.627 21.5 12 21.5C10.8115 21.5016 9.62788 21.3473 8.4795 21.041C7.6035 21.485 5.592 22.337 2.208 22.892C1.908 22.94 1.68 22.628 1.7985 22.349C2.3295 21.095 2.8095 19.424 2.9535 17.9C1.116 16.055 0 13.64 0 11C0 5.201 5.373 0.5 12 0.5C18.627 0.5 24 5.201 24 11ZM10.791 9.149C10.9215 9.335 11.0355 9.539 11.1315 9.7505C11.7735 11.1725 11.721 13.316 9.7185 15.3095C9.59627 15.4286 9.43314 15.4965 9.26248 15.4993C9.09182 15.5021 8.92655 15.4396 8.8005 15.3245C8.73904 15.2688 8.68963 15.2012 8.65531 15.1257C8.62098 15.0502 8.60248 14.9685 8.60093 14.8856C8.59939 14.8027 8.61483 14.7203 8.64632 14.6436C8.6778 14.5669 8.72466 14.4974 8.784 14.4395C9.4125 13.8155 9.792 13.193 9.9975 12.6095C9.594 12.857 9.1155 12.9995 8.6025 12.9995C7.1625 12.9995 6 11.8805 6 10.5005C6 9.1205 7.164 8 8.601 8C9.0075 8 9.393 8.09 9.735 8.249L9.747 8.255C10.0005 8.36 10.2375 8.528 10.4505 8.741C10.578 8.8655 10.692 9.002 10.791 9.149ZM16.5 12.6095C16.0965 12.857 15.618 12.9995 15.105 12.9995C13.668 12.9995 12.5025 11.8805 12.5025 10.5005C12.5025 9.1205 13.668 8 15.1035 8C15.51 8 15.8955 8.09 16.2375 8.249L16.2495 8.255C16.5045 8.36 16.74 8.528 16.953 8.741C17.0805 8.8655 17.1945 9.002 17.2935 9.149C17.424 9.335 17.5395 9.539 17.6355 9.7505C18.2775 11.1725 18.2235 13.316 16.2225 15.3095C16.1002 15.4291 15.9367 15.4972 15.7657 15.5C15.5947 15.5028 15.4291 15.44 15.303 15.3245C15.2415 15.2688 15.1921 15.2012 15.1578 15.1257C15.1235 15.0502 15.105 14.9685 15.1034 14.8856C15.1019 14.8027 15.1173 14.7203 15.1488 14.6436C15.1803 14.5669 15.2272 14.4974 15.2865 14.4395C15.9165 13.8155 16.2945 13.193 16.5015 12.6095H16.5Z" fill="#005CAC"/>\n</svg>',Ke}(K||{}),et=function(Ke){return Ke.info="alert-info",Ke.success="alert-success",Ke.warning="alert-warning",Ke.error="alert-error",Ke.comment="alert-comment",Ke}(et||{}),Ae=L(345);function tt(Ke,ft){if(1&Ke){const Oe=N.\u0275\u0275getCurrentView();N.\u0275\u0275elementStart(0,"div")(1,"button",7),N.\u0275\u0275listener("click",function(){N.\u0275\u0275restoreView(Oe);const ht=N.\u0275\u0275nextContext(2);return N.\u0275\u0275resetView(ht.close())}),N.\u0275\u0275elementEnd()()}if(2&Ke){const Oe=N.\u0275\u0275nextContext(2);N.\u0275\u0275advance(),N.\u0275\u0275property("innerHTML",Oe.svgCloseIcon,N.\u0275\u0275sanitizeHtml)}}function Ue(Ke,ft){if(1&Ke&&(N.\u0275\u0275elementStart(0,"div",1),N.\u0275\u0275element(1,"div",2),N.\u0275\u0275elementStart(2,"div",3)(3,"h6",4),N.\u0275\u0275text(4),N.\u0275\u0275elementEnd(),N.\u0275\u0275element(5,"p",5),N.\u0275\u0275elementEnd(),N.\u0275\u0275template(6,tt,2,1,"div",6),N.\u0275\u0275elementEnd()),2&Ke){const Oe=N.\u0275\u0275nextContext();N.\u0275\u0275property("ngClass",Oe.type),N.\u0275\u0275advance(),N.\u0275\u0275property("innerHTML",Oe.svgToastIcon,N.\u0275\u0275sanitizeHtml),N.\u0275\u0275advance(3),N.\u0275\u0275textInterpolate(Oe.title),N.\u0275\u0275advance(),N.\u0275\u0275property("innerHTML",Oe.description,N.\u0275\u0275sanitizeHtml),N.\u0275\u0275advance(),N.\u0275\u0275property("ngIf",Oe.isVisibleClose)}}let Ve=(()=>{class Ke{constructor(Oe){this.sanitizer=Oe,this.type=et.success,this.isVisible=!1,this.isVisibleClose=!0,this.closed=new N.EventEmitter,this.svgCloseIcon=this.sanitizer.bypassSecurityTrustHtml(K.close)}
1ngOnInit(){this.getSvgToastIcon()}ngOnChanges(Oe){Oe.type&&this.getSvgToastIcon()}get displayStyle(){return this.isVisible?"block":"none"}close(){this.isVisible=!1,this.closed.emit()}getSvgToastIcon(){let Oe;switch(this.type){case et.info:Oe=K.info;break;case et.success:Oe=K.success;break;case et.warning:Oe=K.warning;break;case et.error:Oe=K.error;break;case et.comment:Oe=K.comment;break;default:Oe=K.warning}this.svgToastIcon=this.sanitizer.bypassSecurityTrustHtml(Oe)}static{this.\u0275fac=function(be){return new(be||Ke)(N.\u0275\u0275directiveInject(Ae.up))}}static{this.\u0275cmp=N.\u0275\u0275defineComponent({type:Ke,selectors:[["lib-toast"]],hostVars:2,hostBindings:function(be,ht){2&be&&N.\u0275\u0275styleProp("display",ht.displayStyle)},inputs:{type:"type",title:"title",description:"description",isVisible:"isVisible",isVisibleClose:"isVisibleClose"},outputs:{closed:"closed"},standalone:!0,features:[N.\u0275\u0275NgOnChangesFeature,N.\u0275\u0275StandaloneFeature],decls:1,vars:1,consts:[["class","alert",3,"ngClass",4,"ngIf"],[1,"alert",3,"ngClass"],[1,"icon",3,"innerHTML"],[1,"content-container"],[1,"title"],[3,"innerHTML"],[4,"ngIf"],[1,"btn-close",3,"click","innerHTML"]],template:function(be,ht){1&be&&N.\u0275\u0275template(0,Ue,7,5,"div",0),2&be&&N.\u0275\u0275property("ngIf",ht.isVisible)},dependencies:[e.CommonModule,e.NgClass,e.NgIf],styles:[".title[_ngcontent-%COMP%]{font-weight:700;line-height:22px;margin:0;color:#222}p[_ngcontent-%COMP%]{font-weight:400;line-height:22px;color:#222;margin:0}.alert[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:8px;margin:0;border:none}.alert.alert-info[_ngcontent-%COMP%], .alert.alert-comment[_ngcontent-%COMP%]{background-color:#e4f3ff}.alert.alert-comment[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{padding-left:10px}.alert.alert-success[_ngcontent-%COMP%]{background-color:#dbead8}.alert.alert-error[_ngcontent-%COMP%]{background-color:#ffe2e5}.alert.alert-warning[_ngcontent-%COMP%]{background-color:#faedc2}.content-container[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column;gap:4px}.btn-close[_ngcontent-%COMP%]{padding:0;background:transparent;border:none;opacity:1}"]})}}return Ke})()},8415:(on,bt,L)=>{L.d(bt,{A:()=>tt});var e=L(2331),N=L(6247);let K=(()=>{class Ue{getErrorMessage(Ke,ft){if(Ke.hasError("required"))return(ft?`El campo ${ft.toLowerCase()}`:"El campo")+" es requerido";if(Ke.hasError("minlength"))return`${ft||"El campo"} debe tener al menos ${Ke.getError("minlength").requiredLength} caracteres`;if(Ke.hasError("maxlength"))return`${ft||"El campo"} debe tener menos de ${Ke.getError("maxlength").requiredLength} caracteres`;if(Ke.hasError("email"))return`${ft||"El campo"} tiene un formato inv\xe1lido`;if(Ke.hasError("pattern")){const Oe=Ke.getError("pattern");let be=ft||"El campo";return{[N.z.LETTERS_ONLY.toString()]:`${be} solo puede contener letras`,[N.z.STARTS_WITH_3.toString()]:`${be} debe comenzar con 3`,[N.z.NUMBERS_ONLY.toString()]:`${be} solo puede contener n\xfameros`,[N.z.ALPHANUMERIC.toString()]:`${be} solo puede contener n\xfameros y letras`,[N.z.EMAIL.toString()]:`${be} tiene un formato inv\xe1lido`,[N.z.EXACTLY_10_CHARS.toString()]:`${be} debe tener 10 caracteres`,[N.z.EXACTLY_4_CHARS.toString()]:`${be} debe tener 4 caracteres`,[N.z.LETTERS_ONLY_WITH_SPACE.toString()]:`${be} solo puede contener letras`}[Oe.requiredPattern]||`${be} tiene un formato inv\xe1lido`}return""}static{this.\u0275fac=function(ft){return new(ft||Ue)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}}return Ue})();var et=L(8701);function Ae(Ue,Ve){if(1&Ue&&(e.\u0275\u0275elementStart(0,"div",1),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Ue){const Ke=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",Ke.getErrorMessage()," ")}}let tt=(()=>{class Ue{constructor(){this.fieldName="",this.formControlGroup="",this._validationService=(0,e.inject)(K)}shouldShowError(){return!!this.control&&(this.control.invalid&&this.control.touched||(this.formGroup?.errors?.mustMatch||this.formGroup?.controls[this.formControlGroup]?.errors?.mustMatch)&&this.control.value)}
1getErrorMessage(){return this.control?(this.formGroup?.errors?.mustMatch||this.formGroup?.controls[this.formControlGroup]?.errors?.mustMatch)&&this.control.value?"Los campos no coinciden":this._validationService.getErrorMessage(this.control,this.fieldName):""}static{this.\u0275fac=function(ft){return new(ft||Ue)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:Ue,selectors:[["lib-validation-message"]],inputs:{control:"control",fieldName:"fieldName",formGroup:"formGroup",formControlGroup:"formControlGroup"},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],decls:1,vars:1,consts:[["class","invalid-feedback","style","display: block;",4,"ngIf"],[1,"invalid-feedback",2,"display","block"]],template:function(ft,Oe){1&ft&&e.\u0275\u0275template(0,Ae,2,1,"div",0),2&ft&&e.\u0275\u0275property("ngIf",Oe.shouldShowError())},dependencies:[et.CommonModule,et.NgIf],encapsulation:2})}}return Ue})()},6247:(on,bt,L)=>{L.d(bt,{z:()=>N});var e=L(9417);const N={EMAIL:/^[a-zA-Z][a-zA-Z0-9._+-]*[a-zA-Z0-9]@[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)*\.[a-zA-Z]{2,10}$/,LETTERS_ONLY:/^[a-zA-Z]+$/,STARTS_WITH_3:/^3\d*$/,NUMBERS_ONLY:/^[0-9]+$/,LETTERS_ONLY_WITH_SPACE:/^[A-Za-z]+(?:\s[A-Za-z]+)*$/,ALPHANUMERIC:/^[a-zA-Z0-9]*$/,ALPHANUMERIC_WITH_DASH:/^[a-zA-Z0-9\-]*$/,EXACTLY_10_CHARS:/^.{10}$/,EXACTLY_4_CHARS:/^.{4}$/,SPECIAL_CHAR:/[^A-Za-z0-9]/,UPPERCASE:/[A-Z]/,LOWERCASE:/[a-z]/,NUMBERS:/[0-9]/,FIRST_NAME:"^[a-zA-Z\xe1\xe9\xed\xf3\xfa\xc1\xc9\xcd\xd3\xda\xf1\xd1.]+( [a-zA-Z\xe1\xe9\xed\xf3\xfa\xc1\xc9\xcd\xd3\xda\xf1\xd1.]+)*( )?$",LAST_NAME:"^[a-zA-Z\xe1\xe9\xed\xf3\xfa\xc1\xc9\xcd\xd3\xda\xf1\xd1]+( [a-zA-Z\xe1\xe9\xed\xf3\xfa\xc1\xc9\xcd\xd3\xda\xf1\xd1]+)*( )?$",NAMES_SURNAMES:"^[A-Za-z\xc1\xc9\xcd\xd3\xda\xe1\xe9\xed\xf3\xfa\xd1\xf1]+(?: [A-Za-z\xc1\xc9\xcd\xd3\xda\xe1\xe9\xed\xf3\xfa\xd1\xf1]+)*$",URL:/^(https?:\/\/)?([\w-]+\.)+[\w-]{2,}(\/[\w-./?%&=]*)?$/,ALPHANUMERIC_ACCENTS_ENE_SPACE:/^[A-Za-z0-9\xc1\xc9\xcd\xd3\xda\xe1\xe9\xed\xf3\xfa\xd1\xf1 ]+$/};e.k0.minLength(5),e.k0.pattern(N.ALPHANUMERIC),e.k0.maxLength(250)},3365:(on,bt,L)=>{L.d(bt,{a:()=>et,d:()=>K});var e=L(467),N=L(3207);const K=function(){var Ae=(0,e.A)(function*(tt){return[{key:"folioNumber",title:yield(0,N.s)(tt.get("MyInvoices.Table.FolioNumber"))},{key:"invoiceNumber",title:yield(0,N.s)(tt.get("MyInvoices.Table.InvoiceNumber"))},{key:"filingDate",title:yield(0,N.s)(tt.get("MyInvoices.Table.FilingDate"))},{key:"product",title:yield(0,N.s)(tt.get("MyInvoices.Table.Product"))},{key:"grossAmount",title:yield(0,N.s)(tt.get("MyInvoices.Table.GrossAmount"))},{key:"notes",title:yield(0,N.s)(tt.get("MyInvoices.Table.Notes"))},{key:"detail",title:yield(0,N.s)(tt.get("MyInvoices.Table.Detail"))}]});return function(Ue){return Ae.apply(this,arguments)}}(),et=function(){var Ae=(0,e.A)(function*(tt){return[{key:"code",title:yield(0,N.s)(tt.get("General.Labels.Code"))},{key:"description",title:yield(0,N.s)(tt.get("General.Labels.Description")),class:"text-start"}]});return function(Ue){return Ae.apply(this,arguments)}}()},9982:(on,bt,L)=>{L.d(bt,{E:()=>K});var e=L(2331);let K=(()=>{class et{constructor(tt){this.el=tt}ngOnInit(){this.regExpMask=new RegExp(this.inputMask)}onInput(tt){this.regExpMask.test(this.el.nativeElement.value)||(this.el.nativeElement.value=null)}onKeyPress(tt){this.el.nativeElement.selectionStart===this.el.nativeElement.selectionEnd&&!1===this.regExpMask.test(this.el.nativeElement.value?this.el.nativeElement.value+tt.key:tt.key)&&this.validateKeyPressInput(tt,["Shift","ArrowRight","ArrowLeft","Backspace","Tab"])}validateKeyPressInput(tt,Ue,Ve=!0){(Ve?-1===Ue.indexOf(tt.key):-1!==Ue.indexOf(tt.key))&&tt.preventDefault()}static{this.\u0275fac=function(Ue){return new(Ue||et)(e.\u0275\u0275directiveInject(e.ElementRef))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:et,selectors:[["","appInputMask",""]],hostBindings:function(Ue,Ve){1&Ue&&e.\u0275\u0275listener("input",function(ft){return Ve.onInput(ft)})("keypress",function(ft){return Ve.onKeyPress(ft)})},inputs:{inputMask:[e.\u0275\u0275InputFlags.None,"appInputMask","inputMask"]},standalone:!0})}}return et})()},7771:(on,bt,L)=>{L.d(bt,{T:()=>Ae});var e=L(8701),K=L(2331);let Ae=(()=>{class tt{static{this.\u0275fac=function(Ke){return new(Ke||tt)}}static{this.\u0275mod=K.\u0275\u0275defineNgModule({type:tt})}static{this.\u0275inj=K.\u0275\u0275defineInjector({imports:[e.CommonModule]})}}return tt})()},2110:(on,bt,L)=>{L.d(bt,{Z:()=>K});
1var e=L(2331);let K=(()=>{class et{transform(tt){return tt?tt.toLowerCase().split(" ").map(Ue=>Ue.charAt(0).toUpperCase()+Ue.slice(1)).join(" "):""}static{this.\u0275fac=function(Ue){return new(Ue||et)}}static{this.\u0275pipe=e.\u0275\u0275definePipe({name:"camelCase",type:et,pure:!0})}}return et})()},3835:(on,bt,L)=>{L.d(bt,{m:()=>Oe});var e=L(467),N=L(2331),et=L(4875),Ae=L(9464),tt=L(4255),Ue=L(6697),Ve=L(3207),Ke=L(8141),ft=L(2226);let Oe=(()=>{class be{constructor(){this.API_AUTH_URL=`${ft.T.API_URL_AUTH}/api/v1/`,this._http=(0,N.inject)(et.k),this.store="master",this.initializePublicKey()}initializePublicKey(){Ae.H.get(tt.h.PUBLIC_KEY_STORAGE)||this.getPublicKey().pipe((0,Ue.s)(1)).subscribe()}getCountries(){return this._http.getIndexedDbOrApi(this.store,"country",`${this.API_AUTH_URL}master/country`)}getDocumentType(){return this._http.getIndexedDbOrApi(this.store,"document-type",`${this.API_AUTH_URL}master/document_type`)}getDescriptionDocumentType(ne){var Xe=this;return(0,e.A)(function*(){return(yield(0,Ve.s)(Xe.getDocumentType())).value.find(ye=>ye.tipide===ne)?.descrip||""})()}validateRecaptcha(ne){return this._http.get(`${this.API_AUTH_URL}auth/validate_recaptcha?token=${ne}`)}getDepartamentos(){return this._http.getIndexedDbOrApi(this.store,"department",`${this.API_AUTH_URL}master/department`)}getDepartamento(ne){return this._http.get(`${this.API_AUTH_URL}master/department/${ne}`)}getCiudades(){return this._http.get(`${this.API_AUTH_URL}master/city`)}getCitiesByIps(){return this._http.get(`${this.API_AUTH_URL}master/city/filter_by_ips`)}getCiudadesPorDepartamento(ne){return this._http.get(`${this.API_AUTH_URL}master/city/${ne}`)}getCiudad(ne,Xe){return this._http.get(`${this.API_AUTH_URL}master/city/${ne}/${Xe}`)}getAccountType(){return this._http.get(`${this.API_AUTH_URL}master/account_type`)}getBank(){return this._http.get(`${this.API_AUTH_URL}master/bank`)}getIpsByCity(ne){return this._http.get(`${this.API_AUTH_URL}master/ips_by_city?IdCity=${ne}`)}getEps(){return this._http.get(`${this.API_AUTH_URL}master/eps`)}getParametersCalculatorPILA(ne){return this._http.get(`${this.API_AUTH_URL}parameters?NameParameter=${ne}`)}getDownloadFile(ne,Xe=!0){return this._http.get(`${this.API_AUTH_URL}master/file/download${ne}`,null,!0,Xe)}getDownloadFileWithFileName(ne,Xe,Ce=!0){return this._http.get(`${this.API_AUTH_URL}master/file/download/${ne}/${Xe}`,null,!0,Ce)}getDownloadFileByFileName(ne){return this._http.get(`${this.API_AUTH_URL}master/file/download${ne.fileName}`,null,!0,ne.openInNewTab)}getFileFeeSchedule(ne){return this._http.getBlob(`${this.API_AUTH_URL}master/file/download${ne}`,{observe:"response"})}getOptionsCustomerServiceMenu(){return this._http.get(`${this.API_AUTH_URL}master/customer_service_menu`)}getPublicKey(){return this._http.getText(`${this.API_AUTH_URL}master/public_key`).pipe((0,Ke.M)(Xe=>{Ae.H.save(tt.h.PUBLIC_KEY_STORAGE,Xe)}))}static{this.\u0275fac=function(Xe){return new(Xe||be)}}static{this.\u0275prov=N.\u0275\u0275defineInjectable({token:be,factory:be.\u0275fac,providedIn:"root"})}}return be})()},180:(on,bt,L)=>{L.r(bt),L.d(bt,{BillingAndPaymentsModule:()=>ou});var e=L(2331),N=L(8701),K=L(2057),et=L(2226),Ae=L(4875);let tt=(()=>{class a{constructor(A){this._http=A,this.API_URL=`${et.T.API_URL_PROVIDER}/api/v1/invoices`}setEnpoint(A){this.endpoint=A}getBillDetail(A,c,h){return this._http.get(`${this.API_URL}/get_invoice_details?DocumentType=${A}&Document=${c}&numInvoice=${h}`)}static{this.\u0275fac=function(c){return new(c||a)(e.\u0275\u0275inject(Ae.k))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var Ue=L(319),Ve=L(8018);function Ke(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",12),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td",12),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",12),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",12),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",12),e.\u0275\u0275text(11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"td",25),e.\u0275\u0275element(13,"i",26),e.\u0275\u0275elementEnd()()),2&a){const A=o.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",A.tipoNota," "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",A.concepto," "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind2(7,5,A.valor,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",A.causal," "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",A.observacion," ")}}let ft=(()=>{class a{constructor(A,c,h){this._billDetailService=A,this.route=c,this._authService=h,this.typeDocument="",this.document="",this.numInvoice="",this._router=(0,e.inject)(K.Router)}ngOnInit(){this.route.queryParams.subscribe(A=>{this.typeDocument=A.typeDocument,this.document=A.document,this.numInvoice=A.numInvoice,this.currentUser=this._authService.getDataUser(),this.getInvoiceDetail()})}getInvoiceDetail(){this._billDetailService.getBillDetail(this.typeDocument,this.document,this.numInvoice).subscribe(A=>{this.detailInvoice=A.value})}goBack(){this._router.navigate(["../"],{relativeTo:this.route})}static{this.\u0275fac=function(c){return new(c||a)(e.\u0275\u0275directiveInject(tt),e.\u0275\u0275directiveInject(K.ActivatedRoute),e.\u0275\u0275directiveInject(Ue.u))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-billing-detail"]],decls:161,vars:136,consts:[[1,"w-100"],[1,"primary-color"],[1,"primary-color","mt-2"],[1,"div-info","d-flex","align-items-center","justify-content-center","flex-column"],[1,"row","w-100","border-bottom-billing"],[1,"col-md-4","text-center"],[1,"w-100","row","mt-2"],[1,"col-md-6","text-center"],[1,"primary-color","text-uppercase"],[1,"mt-3","mb-3"],[1,"div-table-round-edge"],[1,"table","table-borderless","table-round-edge"],[1,"text-center"],["colspan","2"],[1,"background-color-billing"],["colspan","3"],[1,"div-secondary"],[1,"row"],[1,"col-md-6","mb-2"],[1,"col-md-6","text-end"],[1,"col-md-6","mb-2","primary-color"],[1,"col-md-6","text-end","primary-color"],[1,"row","mt-3"],[1,"col-md-12","text-center"],["type","button",1,"btn","btn-secondary",3,"click"],[1,"text-center","secondary-color"],[1,"bi","bi-eye"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"h1"),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementStart(4,"span",1),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"span")(7,"b"),e.\u0275\u0275text(8),e.\u0275\u0275pipe(9,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(10),e.\u0275\u0275pipe(11,"date"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"p",2)(13,"b"),e.\u0275\u0275text(14),e.\u0275\u0275pipe(15,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(16),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"div",3)(18,"div",4)(19,"div",5)(20,"p")(21,"b"),e.\u0275\u0275text(22),e.\u0275\u0275pipe(23,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(24),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"div",5)(26,"p")(27,"b"),e.\u0275\u0275text(28),e.\u0275\u0275pipe(29,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(30),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"div",5)(32,"p")(33,"b"),e.\u0275\u0275text(34),e.\u0275\u0275pipe(35,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(36),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"div",5)(38,"p")(39,"b"),e.\u0275\u0275text(40),e.\u0275\u0275pipe(41,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(42),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"div",5)(44,"p")(45,"b"),e.\u0275\u0275text(46),e.\u0275\u0275pipe(47,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(48),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"div",5)(50,"p")(51,"b"),e.\u0275\u0275text(52),e.\u0275\u0275pipe(53,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(54),e.\u0275\u0275pipe(55,"date"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(56,"div",6)(57,"div",7)(58,"p",8)(59,"b"),e.\u0275\u0275text(60),e.\u0275\u0275pipe(61,"translate"),e.\u0275\u0275pipe(62,"number"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(63,"div",7)(64,"p",8)(65,"b"),e.\u0275\u0275text(66),e.\u0275\u0275pipe(67,"translate"),e.\u0275\u0275pipe(68,"number"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(69,"p",9)(70,"b"),e.\u0275\u0275text(71),e.\u0275\u0275pipe(72,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(73,"div",10)(74,"table",11)(75,"thead")(76,"tr")(77,"th",12),e.\u0275\u0275text(78),e.\u0275\u0275pipe(79,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(80,"th",12),e.\u0275\u0275text(81),e.\u0275\u0275pipe(82,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(83,"th",12),e.\u0275\u0275text(84),e.\u0275\u0275pipe(85,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(86,"th",12),e.\u0275\u0275text(87),e.\u0275\u0275pipe(88,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(89,"th",12),e.\u0275\u0275text(90),e.\u0275\u0275pipe(91,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(92,"th",12),e.\u0275\u0275text(93),e.\u0275\u0275pipe(94,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(95,"tbody"),e.\u0275\u0275repeaterCreate(96,Ke,14,8,"tr",null,e.\u0275\u0275repeaterTrackByIndex),e.\u0275\u0275elementStart(98,"tr"),e.\u0275\u0275element(99,"td",13),e.\u0275\u0275elementStart(100,"td",14)(101,"b"),e.\u0275\u0275text(102),e.\u0275\u0275pipe(103,"number"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(104,"td",15),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(10
15,"p",9)(106,"b"),e.\u0275\u0275text(107),e.\u0275\u0275pipe(108,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(109,"div",16)(110,"div",17)(111,"div",18),e.\u0275\u0275text(112),e.\u0275\u0275pipe(113,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(114,"div",19),e.\u0275\u0275text(115),e.\u0275\u0275pipe(116,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(117,"div",18),e.\u0275\u0275text(118),e.\u0275\u0275pipe(119,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(120,"div",19),e.\u0275\u0275text(121),e.\u0275\u0275pipe(122,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(123,"div",18),e.\u0275\u0275text(124),e.\u0275\u0275pipe(125,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(126,"div",19),e.\u0275\u0275text(127),e.\u0275\u0275pipe(128,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(129,"div",18),e.\u0275\u0275text(130),e.\u0275\u0275pipe(131,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(132,"div",19),e.\u0275\u0275text(133),e.\u0275\u0275pipe(134,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(135,"div",18),e.\u0275\u0275text(136),e.\u0275\u0275pipe(137,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(138,"div",19),e.\u0275\u0275text(139),e.\u0275\u0275pipe(140,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(141,"div",18),e.\u0275\u0275text(142),e.\u0275\u0275pipe(143,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(144,"div",19),e.\u0275\u0275text(145),e.\u0275\u0275pipe(146,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(147,"hr"),e.\u0275\u0275elementStart(148,"div",20)(149,"b"),e.\u0275\u0275text(150),e.\u0275\u0275pipe(151,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(152,"div",21)(153,"b"),e.\u0275\u0275text(154),e.\u0275\u0275pipe(155,"number"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(156,"div",22)(157,"div",23)(158,"button",24),e.\u0275\u0275listener("click",function(){return h.goBack()}),e.\u0275\u0275text(159),e.\u0275\u0275pipe(160,"translate"),e.\u0275\u0275elementEnd()()()()),2&c&&(e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(3,46,"BillingDetail.Title")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1("#",h.numInvoice,""),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(9,48,"BillingDetail.DateInvoice"),":"),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind2(11,50,h.detailInvoice.invoiceHeader.fechaRadicacion,"dd/MM/yyyy")," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(15,53,"BillingDetail.Dr"),":"),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",h.currentUser.userName," "),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(23,55,"BillingDetail.NumberFiled"),": "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",h.detailInvoice.invoiceHeader.numeroRadicado," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(29,57,"BillingDetail.Branch"),": "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",h.detailInvoice.invoiceHeader.sucursal," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(35,59,"BillingDetail.Folio"),": "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",h.detailInvoice.invoiceHeader.folio," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(41,61,"BillingDetail.AccountType"),": "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",h.detailInvoice.invoiceHeader.tipoCuentaMedica," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(47,63,"BillingDetail.Product"),": "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",h.detailInvoice.invoiceHeader.producto," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(53,65,"BillingDetail.PaymentDate"),": "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind2(55,67,h.detailInvoice.invoiceHeader.fechaPago,"dd/MM/yyyy")," "),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate2("",e.\u0275\u0275pipeBind1(61,70,"BillingDetail.TotalInvoiceValue"),": $ ",e.\u0275\u0275pipeBind2(62,72,h.detailInvoice.invoiceSummary.valorFactura,"1.0-0"),""),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate2("",e.\u0275\u0275pipeBind1(67,75,"BillingDetail.ValuePaid"),": $ ",e.\u0275\u0275pipeBind2(68,77,h.detailInvoice.invoiceHeader.valorPagado,"1.0-0"),""),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(72,80,"BillingDetail.DetailNotesMade")),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(79,82,"General.Labels.typeNote")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(82,84,"General.Labels.concept")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(85,86,"General.Labels.valueNote")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(88,88,"General.Labels.cause")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(91,90,"General.Labels.observation")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(94,92,"General.Labels.solution")),e.\u0275\u0275advance(3),e.\u0275\u0275repeater(h.detailInvoice.invoiceObservation.invoiceObservationDetail
1s),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1("$ ",e.\u0275\u0275pipeBind2(103,94,h.detailInvoice.invoiceObservation.valorTotal,"1.0-0"),""),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(108,97,"BillingDetail.BillingSummary")),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(113,99,"BillingDetail.FiledInvoiceValue"),": "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(116,101,h.detailInvoice.invoiceSummary.valorFacturaRadicada,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(119,104,"BillingDetail.DebitNoteValue"),": "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(122,106,h.detailInvoice.invoiceSummary.valorNotasDebito,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(125,109,"BillingDetail.Discounts"),": "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(128,111,h.detailInvoice.invoiceSummary.valorDescuentos,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(131,114,"BillingDetail.ApprovedValueBeforeTaxes"),": "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(134,116,h.detailInvoice.invoiceSummary.valorAntesImpuestos,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(137,119,"BillingDetail.WithholdingTax"),": "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(140,121,h.detailInvoice.invoiceSummary.valorRetencionFuente,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(143,124,"BillingDetail.Ica"),": "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(146,126,h.detailInvoice.invoiceSummary.valorRetencionICA,"1.0-0")," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(151,129,"BillingDetail.ValueToPay"),": "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("$ ",e.\u0275\u0275pipeBind2(155,131,h.detailInvoice.invoiceSummary.valorPagar,"1.0-0"),""),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(160,134,"General.Buttons.Back")," "))},dependencies:[Ve.D9,N.DecimalPipe,N.DatePipe],encapsulation:2})}}return a})();var Oe=L(5095),be=L(1367);let ht=(()=>{class a{constructor(){this.API_URL=`${et.T.API_URL_PROVIDER}/api/v1`,this._http=(0,e.inject)(Ae.k)}getPaymentsProvider(A,c){return this._http.get(`${this.API_URL}/payments/get_payments?documentType=${A}&document=${c}`)}getMyPaymentDetail(A,c,h){return this._http.get(`${this.API_URL}/payments/get_payments_details?DocumentType=${A}&Document=${c}&PaymentDocument=${h}`)}getPDFPaymentsDetails(A){return this._http.post(`${this.API_URL}/payments/get_pdf_payments_details`,A,null,!0,!0)}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var ne=L(9417);const Xe=(a,o)=>o.paymentDocument;function Ce(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"option",11),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&a){const A=o.$implicit;e.\u0275\u0275property("value",A),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(A)}}function ye(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"option",11),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&a){const A=o.$implicit;e.\u0275\u0275property("value",A),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(A)}}function Qe(a,o){if(1&a){const A=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",5)(1,"div",7)(2,"label",8),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"select",9),e.\u0275\u0275twoWayListener("ngModelChange",function(h){e.\u0275\u0275restoreView(A);const f=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(f.yearSelect,h)||(f.yearSelect=h),e.\u0275\u0275resetVie
1w(h)}),e.\u0275\u0275elementStart(6,"option",10),e.\u0275\u0275text(7),e.\u0275\u0275pipe(8,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275repeaterCreate(9,Ce,2,2,"option",11,e.\u0275\u0275repeaterTrackByIdentity),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"div",7)(12,"label",12),e.\u0275\u0275text(13),e.\u0275\u0275pipe(14,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"select",13),e.\u0275\u0275twoWayListener("ngModelChange",function(h){e.\u0275\u0275restoreView(A);const f=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(f.monthSelect,h)||(f.monthSelect=h),e.\u0275\u0275resetView(h)}),e.\u0275\u0275elementStart(16,"option",10),e.\u0275\u0275text(17),e.\u0275\u0275pipe(18,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275repeaterCreate(19,ye,2,2,"option",11,e.\u0275\u0275repeaterTrackByIdentity),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(21,"div",14)(22,"button",15),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(A);const h=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(h.onOptionChange())}),e.\u0275\u0275text(23),e.\u0275\u0275pipe(24,"translate"),e.\u0275\u0275elementEnd()()()}if(2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,8,"General.Labels.Year")),e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("ngModel",A.yearSelect),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(8,10,"General.Placeholders.Year")),e.\u0275\u0275advance(2),e.\u0275\u0275repeater(A.yearArray),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(14,12,"General.Labels.Month")),e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("ngModel",A.monthSelect),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(18,14,"General.Placeholders.Month")),e.\u0275\u0275advance(2),e.\u0275\u0275repeater(A.monthArray),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!A.yearSelect||!A.monthSelect),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(24,16,"General.Buttons.Consult")," ")}}function le(a,o){if(1&a){const A=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275pipe(8,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td")(10,"button",17),e.\u0275\u0275listener("click",function(){const h=e.\u0275\u0275restoreView(A).$implicit,f=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(f.goPaymentDetail(h,f.getMonthName(h.filingDate)))}),e.\u0275\u0275element(11,"i",18),e.\u0275\u0275elementEnd()()()}if(2&a){const A=o.$implicit,c=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(c.getMonthName(A.filingDate)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("$ ",e.\u0275\u0275pipeBind2(5,3,A.billedAmount,"1.2-2"),""),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1("$ ",e.\u0275\u0275pipeBind2(8,6,A.paidAmount,"1.2-2"),"")}}function De(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"div",6)(1,"table",16)(2,"thead")(3,"tr")(4,"th"),e.\u0275\u0275text(5),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"th"),e.\u0275\u0275text(8),e.\u0275\u0275pipe(9,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"th"),e.\u0275\u0275text(11),e.\u0275\u0275pipe(12,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"th"),e.\u0275\u0275text(14),e.\u0275\u0275pipe(15,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(16,"tbody"),e.\u0275\u0275repeaterCreate(17,le,12,9,"tr",null,Xe),e.\u0275\u0275elementEnd()()()),2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(6,4,"MyPayments.Labels.MonthOfFiling")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(9,6,"MyPayments.Labels.InvoicedValue")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(12,8,"MyPayments.Labels.ValueToPaid")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(15,10,"General.Labels.SeeDetails")),e.\u0275\u0275advance(3),e.\u0275\u0275repeater(A.filterLstPayments)}}function We(a,o){1&a&&(e.\u0275\u0275elementStart(0,"div",19),e.\u0275\u0275element(1,"img",20),e.\u0275\u0275elementStart(2,"span")(3,"b"),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275elementEnd()()()),2&a&&(e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(5,1,"General.Messages.NoDataFoundPayment")))}let it=(()=>{class a{constructor(A,c,h,f,m){this._myPaymentsService=A,this._authService=c,this._translateService=h,this._router=f,this._activeRouter=m,this.selectedOption="lastFivePayments",this.isMonthOfFiling=!1,this.yearSelect="",this.monthSelect=""}ngOnInit(){this.currentUser=this._authService.getDocumentInfo(),this.getMyPayments()}onOptionChange(){"lastFivePayments"===this.selectedOption?(this.getLastFivePayments(),this.isMonthOfFiling=!1):"monthOfFiling"===this.selectedOption&&(this.isMonthOfFiling=!0,this.filterByFilingDate())}getMyPayments(){this._myPaymentsService.getPaymentsProvider(this.currentUser.documentType,this.currentUser.document).subscribe({next:A=>{this.lstPayments=A.value,this.getListYearsAndMonths(),this.getLastFivePayments()},error:()=>{const A=this._translateService.instant("General.Titles.Error"),c=this._translateService.instant("General.Messages.TryAgainLater");Oe.v.Error(A,c)}})}getLastFivePayments(){this.filterLstPayments=this.lstPayments.slice(0,5)}filterByFilingDate(){if(!this.yearSelect||!this.monthSelect)return;const A=this.lstPayments.filter(c=>{const h=new Date(c.filingDate),f=h.getFullYear(),m=h.toLocaleStr
1ing("es-ES",{month:"long"}).trim().toLowerCase();return f==this.yearSelect&&m===this.monthSelect.toLowerCase()});this.filterLstPayments=A}getMonthName(A){const h=new Date(A).toLocaleString("es-ES",{month:"long"});return h.charAt(0).toUpperCase()+h.slice(1)}getListYearsAndMonths(){const A=new Set,c=new Set,h=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"];this.lstPayments.forEach(f=>{const m=new Date(f.paymentDate);A.add(m.getFullYear()),c.add(m.toLocaleString("es-ES",{month:"long"}))}),this.yearArray=Array.from(A).sort((f,m)=>m-f),this.monthArray=Array.from(c).sort((f,m)=>h.indexOf(f)-h.indexOf(m))}goPaymentDetail(A,c){this._router.navigate([be.D.PAYMENT_DETAIL],{relativeTo:this._activeRouter,state:{payment:A,month:c}})}static{this.\u0275fac=function(c){return new(c||a)(e.\u0275\u0275directiveInject(ht),e.\u0275\u0275directiveInject(Ue.u),e.\u0275\u0275directiveInject(Ve.c$),e.\u0275\u0275directiveInject(K.Router),e.\u0275\u0275directiveInject(K.ActivatedRoute))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-my-payments"]],decls:24,vars:19,consts:[[1,"mb-2"],[1,"card","mb-4",2,"padding","24px"],[1,"d-flex",2,"gap","20px"],["type","radio","name","searchOption","value","lastFivePayments",3,"ngModelChange","change","ngModel"],["type","radio","name","searchOption","value","monthOfFiling",3,"ngModelChange","change","ngModel"],[1,"row","mt-3"],[1,"div-table-round-edge"],[1,"col-md-6","col-sm-12","col-12"],["for","yearSelect",1,"form-label-req"],["id","yearSelect",1,"form-control",3,"ngModelChange","ngModel"],["value","","selected",""],[3,"value"],["for","monthSelect",1,"form-label-req"],["id","monthSelect",1,"form-control",3,"ngModelChange","ngModel"],[1,"col-md-6","col-sm-12","col-12","d-flex","justify-content-end","align-items-center","mt-4"],["type","button",1,"btn","btn-primary",3,"click","disabled"],[1,"table","table-borderless","table-round-edge"],["type","button",1,"btn","btn-sm","btn-outline-primary",2,"border","none",3,"click"],[1,"bi","bi-search"],[1,"d-flex","flex-column","align-items-center","justify-content-center",2,"margin-top","45px","gap","20px"],["src","assets/icons/NoDataPayment.png","alt",""]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div")(1,"h1",0),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"p"),e.\u0275\u0275text(5),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"div",1)(8,"div",2)(9,"div")(10,"b"),e.\u0275\u0275text(11),e.\u0275\u0275pipe(12,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(13,"div")(14,"input",3),e.\u0275\u0275twoWayListener("ngModelChange",function(m){return e.\u0275\u0275twoWayBindingSet(h.selectedOption,m)||(h.selectedOption=m),m}),e.\u0275\u0275listener("change",function(){return h.onOptionChange()}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(15),e.\u0275\u0275pipe(16,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"div")(18,"input",4),e.\u0275\u0275twoWayListener("ngModelChange",function(m){return e.\u0275\u0275twoWayBindingSet(h.selectedOption,m)||(h.selectedOption=m),m}),e.\u0275\u0275listener("change",function(){return h.onOptionChange()}),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(19),e.\u0275\u0275pipe(20,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(21,Qe,25,18,"div",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(22,De,19,12,"div",6)(23,We,6,3),e.\u0275\u0275elementEnd()),2&c&&(e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(3,9,"MyPayments.Title")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(6,11,"MyPayments.Description")),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(12,13,"MyPayments.Labels.SearchBy"),":"),e.\u0275\u0275advance(3),e.\u0275\u0275twoWayProperty("ngModel",h.selectedOption),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(16,15,"MyPayments.Labels.LastFivePayments")," "),e.\u0275\u0275advance(3),e.\u0275\u0275twoWayProperty("ngModel",h.selectedOption),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(20,17,"MyPayments.Labels.MonthOfFiling")," "),e.\u0275\u0275advance(2),e.\u0275\u0275conditional(21,h.isMonthOfFiling?21:-1),e.\u0275\u0275advance(),e.\u0275\u0275conditional(22,h.filterLstPayments&&h.filterLstPayments.length>0?22:23))},dependencies:[ne.xH,ne.y7,ne.me,ne.wz,ne.Fm,ne.BC,ne.vS,Ve.D9,N.DecimalPipe],encapsulation:2})}}return a})();var en=L(1470);let zt=(()=>{class a{constructor(){this.route=(0,e.inject)(K.ActivatedRoute)}ngOnInit(){this.loadMenuData()}
1loadMenuData(){this.menu=this.route.snapshot.data.menu.find(A=>23===A.id)}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-billing-and-payments"]],decls:1,vars:1,consts:[[3,"idMenu"]],template:function(c,h){1&c&&e.\u0275\u0275element(0,"lib-menu-options",0),2&c&&e.\u0275\u0275property("idMenu",23)},dependencies:[en.F],styles:[".gap-24[_ngcontent-%COMP%]{gap:24px}.gap-40[_ngcontent-%COMP%]{gap:40px}.fs-36[_ngcontent-%COMP%]{font-size:36px}.custom-icon[_ngcontent-%COMP%]{font-size:20px}.radius-8[_ngcontent-%COMP%]{border-radius:8px}.p-custom[_ngcontent-%COMP%]{padding:10px 12px}"]})}}return a})();var Cn=L(8548),ci=L(467),vA=L(3365),yt=L(4255),ot=function(a){return a.LATEST="last",a.NUMBER="number",a.MONTH="month",a}(ot||{});let _e=(()=>{class a{constructor(){this.API_URL=`${et.T.API_URL_PROVIDER}/api/v1`,this._http=(0,e.inject)(Ae.k)}getInvoices(A){return this._http.get(`${this.API_URL}/invoices/my_invoices`,A)}downloadStatement(A,c,h){return this._http.get(`${this.API_URL}/certificates/invoices/${h}/denials/download?DocumentType=${A}&Document=${c}`,null,!0,!0)}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var _t=L(6354),Gt=L(2126);const sn=[{name:"Enero",id:"01"},{name:"Febrero",id:"02"},{name:"Marzo",id:"03"},{name:"Abril",id:"04"},{name:"Mayo",id:"05"},{name:"Junio",id:"06"},{name:"Julio",id:"07"},{name:"Agosto",id:"08"},{name:"Septiembre",id:"09"},{name:"Octubre",id:"10"},{name:"Noviembre",id:"11"},{name:"Diciembre",id:"12"}];var Mi=L(4256),Cr=L(6481);function ia(a,o){1&a&&(e.\u0275\u0275element(0,"lib-input-base",10),e.\u0275\u0275pipe(1,"translate"),e.\u0275\u0275pipe(2,"translate")),2&a&&e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(1,3,"MyInvoices.InvoiceNumber"))("placeholder",e.\u0275\u0275pipeBind1(2,5,"MyInvoices.InvoiceNumberPlaceholder"))("maxlength",250)}function Bo(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"div",11)(1,"div",13),e.\u0275\u0275element(2,"lib-select",14),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",13),e.\u0275\u0275element(6,"lib-select",15),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275pipe(8,"translate"),e.\u0275\u0275elementEnd()()),2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("label",e.\u0275\u0275pipeBind1(3,6,"Commission.LabelYear")),e.\u0275\u0275propertyInterpolate("placeholder",e.\u0275\u0275pipeBind1(4,8,"Commission.PlaceholderYear")),e.\u0275\u0275property("data",A.years),e.\u0275\u0275advance(4),e.\u0275\u0275propertyInterpolate("label",e.\u0275\u0275pipeBind1(7,10,"Commission.LabelMonth")),e.\u0275\u0275propertyInterpolate("placeholder",e.\u0275\u0275pipeBind1(8,12,"Commission.PlaceholderMonth")),e.\u0275\u0275property("data",A.months)}}function _A(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"div",12)(1,"button",16),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd()()),2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("disabled",!A.filterForm.valid),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(3,2,"MyInvoices.Consult"))}}let sA=(()=>{class a{getYears(A){const c=(new Date).getFullYear();return Array.from({length:A},(h,f)=>{const m=(c-f).toString();return{id:m,name:m}})}constructor(A,c,h){this._router=A,this._activeRouter=c,this.fb=h,this.selectedOption=(0,e.output)(),this.SearchOption=ot,this.searchOption="",this.years=this.getYears(10),this.months=sn}ngOnInit(){this.filterForm=this.fb.group({search:[ot.LATEST],invoiceNumber:[""],year:[""],month:[""]})}onOptionChange(A){this.searchOption=A.target.value,this.filterForm.get("invoiceNumber")?.clearValidators(),this.filterForm.get("year")?.clearValidators(),this.filterForm.get("month")?.clearValidators(),this.searchOption===ot.NUMBER?this.filterForm.get("invoiceNumber")?.setValidators([ne.k0.required]):this.searchOption===ot.MONTH&&(this.filterForm.get("year")?.setValidators([ne.k0.required]),this.filterForm.get("month")?.setValidators([ne.k0.required])),this.filterForm.get("invoiceNumber")?.updateValueAndValidity(),this.filterForm.get("year")?.updateValueAndValidity(),this.filterForm.get("month")?.updateValueAndValidity(),this.searchOption===ot.LATEST&&this.selectedOption.emit({searchOption:this.searchOption,filter:"6"})}search(){this.selectedOption.emit(this.filterForm.value.search===ot.NUMBER?{searchOption:this.searchOption,filter:this.filterForm.value.invoiceNumber}:{searchOption:this.searchOption,filter:`${this.filterForm.value.year}${this.filterForm.value.month}`})}static{this.\u0275fac=function(c){return new(c||a)(e.\u0275\u0275directiveInject(K.Router),e.\u0275\u0275directiveInject(K.ActivatedRoute),e.\u0275\u0275directiveInject(ne.ok))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-filters-billing"]],outputs:{selectedOption:"selectedOption"},decls:23,vars:16,consts:[[1,"card","d-flex","flex-column","gap-4","p-4",3,"ngSubmit","formGroup"],[1,"d-flex","flex-wrap","gap-3"],[1,"fs-base"],[1,"form-check"],["type","radio","formControlName","search","id","last","value","last",1,"form-check-input",3,"change"],["for","last",1,"form-check-label","fs-base"],["type","radio","formControlName","search","id","number","value","number",1,"form-check-input",3,"change"],["for","number",1,"form-check-label","fs-base"],["type","radio","formControlName","search","id","month","value","month",1,"form-check-input",3,"change"],["for","month",1,"form-check-label","fs-base"],["formControlName","invoiceNumber","mask","^[a-zA-Z0-9-]+$",1,"flex-1",3,"label","placeholder","maxlength"],[1,"row"],[1,"text-center"],[1,"col-md-6","mb-3"],["value","id","display","name","formControlName","year",3,"label","data","placeholder"],["value","id","display","name","formControlName","month",3,"label","data","placeholder"],["type","submit",1,"btn","btn-primary","px-5",3,"disabled"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"form",0),e.\u0275\u0275listener("ngSubmit",function(){return h.search()}),e.\u0275\u0275elementStart(1,"div",1)(2,"h5",2),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",3)(6,"input",4),e.\u0275\u0275listener("change",function(m){return h.onOptionChange(m)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"label",5),e.\u0275\u0275text(8),e.\u0275\u0275pipe(9,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"div",3)(11,"input",6),e.\u0275\u0275listener("change",function(m){return h.onOptionChange(m)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"label",7),e.\u0275\u0275text(13),e.\u0275\u0275pipe(14,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"div",3)(16,"input",8),e.\u0275\u0275listener("change",function(m){return h.onOptionChange(m)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"label",9),e.\u0275\u0275text(18),e.\u0275\u0275pipe(19,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(20,ia,3,7,"lib-input-base",10)(21,Bo,9,14,"div",11)(22,_A,4,4,"div",12),e.\u0275\u0275elementEnd()),2&c&&(e.\u0275\u0275property("formGroup",h.filterForm),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,8,"MyInvoices.SearchLabel")),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(9,10,"MyInvoices.LastSixInvoices")),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(14,12,"MyInvoices.InvoiceNumber")),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(19,14,"MyInvoices.FilingMonth")),e.\u0275\u0275advance(2),e.\u0275\u0275conditional(20,h.searchOption===h.SearchOption.NUMBER?20:-1),e.\u0275\u0275advance(),e.\u0275\u0275conditional(21,h.searchOption===h.SearchOption.MONTH?21:-1),e.\u0275\u0275advance(),e.\u0275\u0275conditional(22,h.searchOption===h.SearchOption.MONTH||h.searchOption===h.SearchOption.NUMBER?22:-1))}
1,dependencies:[Mi.f,ne.qT,ne.me,ne.Fm,ne.BC,ne.cb,ne.tU,ne.j4,ne.JD,Cr.w,Ve.D9],encapsulation:2})}}return a})();function HA(a,o){if(1&a){const A=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"h5"),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"lib-tables",4),e.\u0275\u0275listener("detail",function(h){e.\u0275\u0275restoreView(A);const f=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(f.action(h))}),e.\u0275\u0275elementEnd()}if(2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(2,3,"MyInvoices.ResultSearch")),e.\u0275\u0275advance(2),e.\u0275\u0275property("tableHeaders",A.headersBills)("tableBody",A.bills)}}function Pa(a,o){1&a&&(e.\u0275\u0275elementStart(0,"div",5),e.\u0275\u0275element(1,"img",6),e.\u0275\u0275elementStart(2,"span")(3,"b"),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275elementEnd()()()),2&a&&(e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(5,1,"General.Messages.NoDataFoundGeneral")))}let ui=(()=>{class a{constructor(){this._router=(0,e.inject)(K.Router),this._activeRoute=(0,e.inject)(K.ActivatedRoute),this._authService=(0,e.inject)(Ue.u),this.invoiceService=(0,e.inject)(_e),this._translate=(0,e.inject)(Ve.c$),this.datePipe=(0,e.inject)(N.DatePipe),this.headersBills=[],this.bills=[],this.user=this._authService.getDocumentInfo()}ngOnInit(){this.loadData()}loadData(){var A=this;return(0,ci.A)(function*(){A.headersBills=yield(0,vA.d)(A._translate),A.bills=A.formatInvoiceDates(A._activeRoute.snapshot.data.invoices)})()}formatInvoiceDates(A){return A.map(c=>({...c,filingDate:this.datePipe.transform(c.filingDate,"dd/MM/yyyy")||"",paymentDate:this.datePipe.transform(c.paymentDate,"dd/MM/yyyy")||"",grossAmount:new Intl.NumberFormat("es-CO",{style:"currency",currency:"COP",minimumFractionDigits:0,maximumFractionDigits:0}).format(Number(c.grossAmount)),invoiceStatus:c.invoiceStatus.charAt(0).toUpperCase()+c.invoiceStatus.slice(1).toLowerCase(),detail:c.invoiceStatus.toLowerCase()===yt.h.PAID}))}action({data:A}){this._router.navigate([be.D.INVOICE_DETAIL],{relativeTo:this._activeRoute,queryParams:{typeDocument:this.user.documentType,document:this.user.document,numInvoice:A.invoiceNumber}})}onSearch(A){const c={DocumentType:this.user.documentType,Document:this.user.document,...A.
1searchOption===ot.LATEST&&{CountInvoice:6},...A.searchOption===ot.NUMBER&&{NumInvoice:A.filter},...A.searchOption===ot.MONTH&&{Period:A.filter}};this.invoiceService.getInvoices(c).pipe((0,_t.T)(h=>h.value)).subscribe({next:h=>{this.bills=this.formatInvoiceDates(h)},error:h=>{h.code===yt.h.CODE_ERROR_BILLS&&(this.bills=[])}})}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-my-bills"]],features:[e.\u0275\u0275ProvidersFeature([Ve.c$,N.DatePipe])],decls:11,vars:7,consts:[[1,"d-flex","flex-column","gap-3"],[1,"d-flex","flex-column","gap-2"],[1,"m-0"],[3,"selectedOption"],[3,"detail","tableHeaders","tableBody"],[1,"d-flex","flex-column","align-items-center","justify-content-center",2,"margin-top","45px","gap","20px"],["src","assets/icons/NoDataPayment.png","alt",""]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"h1"),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"p",2),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"app-filters-billing",3),e.\u0275\u0275listener("selectedOption",function(m){return h.onSearch(m)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,HA,4,5)(10,Pa,6,3),e.\u0275\u0275elementEnd()),2&c&&(e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,3,"MyInvoices.Title")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(7,5,"MyInvoices.Subtitle")),e.\u0275\u0275advance(3),e.\u0275\u0275conditional(9,h.bills.length>0?9:10))},dependencies:[Gt.L,sA,Ve.D9],styles:[".noResult[_ngcontent-%COMP%]{text-align:center}"]})}}return a})();var we=L(8702);let Te=(()=>{class a{constructor(){this.title="",this._translate=(0,e.inject)(Ve.c$),this._route=(0,e.inject)(K.ActivatedRoute)}ngOnInit(){this.translateCards(),this.loadData()}loadData(){this.title=this._route.snapshot.title}translateCards(){this._translate.get(["RateCards.Title1","RateCards.Description1","RateCards.Title2","RateCards.Description2"]).subscribe(A=>{this.ratesCard={title:A["RateCards.Title1"],icon:"./assets/icons/rates.png",description:A["RateCards.Description1"],id:1,url:"tarifas"},this.cupsCard={title:A["RateCards.Title2"],icon:"./assets/icons/cups.png",description:A["RateCards.Description2"],id:2,url:"cups"}})}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-rates-and-cups"]],decls:6,vars:3,consts:[[1,"d-flex","flex-column","gap-4"],[1,"card-rates-cups","gap-5"],[3,"card"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"h1"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",1),e.\u0275\u0275element(4,"lib-card",2)(5,"lib-card",2),e.\u0275\u0275elementEnd()()),2&c&&(e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(h.title),e.\u0275\u0275advance(2),e.\u0275\u0275property("card",h.ratesCard),e.\u0275\u0275advance(),e.\u0275\u0275property("card",h.cupsCard))},dependencies:[we.i],styles:[".card-rates-cups[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:center;margin:0 auto;max-width:80%}"]})}}return a})();var ct=L(6247),pt=L(7239),Dt=L.n(pt);function mt(a){return(mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(a)}var jt=Uint8Array,bn=Uint16Array,Oi=Int32Array,Ar=new jt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Fi=new jt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Or=new jt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),bi=function(a,o){for(var A=new bn(31),c=0;c<31;++c)A[c]=o+=1<<a[c-1];var h=new Oi(A[30]);for(c=1;c<30;++c)for(var f=A[c];f<A[c+1];++f)h[f]=f-A[c]<<5|c;return{b:A,r:h}},Lr=bi(Ar,2),ii=Lr.b,vn=Lr.r;ii[28]=258,vn[258]=28;for(var kA=bi(Fi,0),VA=kA.b,lA=kA.r,Ei=new bn(32768),gn=0;gn<32768;++gn){var fr=(43690&gn)>>1|(21845&gn)<<1;Ei[gn]=((65280&(fr=(61680&(fr=(52428&fr)>>2|(13107&fr)<<2))>>4|(3855&fr)<<4))>>8|(255&fr)<<8)>>1}var Nn=function(a,o,A){for(var c=a.length,h=0,f=new bn(o);h<c;++h)a[h]&&++f[a[h]-1];var _,m=new bn(o);for(h=1;h<o;++h)m[h]=m[h-1]+f[h-1]<<1;if(A){_=new bn(1<<o);var y=15-o;for(h=0;h<c;++h)if(a[h])for(var E=h<<4|a[h],T=o-a[h],U=m[a[h]-1]++<<T,R=U|(1<<T)-1;U<=R;++U)_[Ei[U]>>y]=E}else for(_=new bn(c),h=0;h<c;++h)a[h]&&(_[h]=Ei[m[a[h]-1]++]>>15-a[h]);return _},$n=new jt(288);for(gn=0;gn<144;++gn)$n[gn]=8;for(gn=144;gn<256;++gn)$n[gn]=9;for(gn=256;gn<280;++gn)$n[gn]=7;for(gn=280;gn<288;++gn)$n[gn]=8;var Ji=new jt(32);for(gn=0;gn<32;++gn)Ji[gn]=5;var yi=Nn($n,9,0),BA=Nn($n,9,1),Fr=Nn(Ji,5,0),Yi=Nn(Ji,5,1),ar=function(a){for(var o=a[0],A=1;A<a.length;++A)a[A]>o&&(o=a[A]);return o},Li=function(a,o,A){var c=o/8|0;return(a[c]|a[c+1]<<8)>>(7&o)&A},jA=function(a,o){var A=o/8|0;return(a[A]|a[A+1]<<8|a[A+2]<<16)>>(7&o)},qi=function(a){return(a+7)/8|0},Xr=function(a,o,A){return(null==o||o<0)&&(o=0),(null==A||A>a.length)&&(A=a.length),new jt(a.subarray(o,A))}
vendor: 4,560 bytes, line 1
1,KA=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],fn=function(a,o,A){var c=new Error(o||KA[a]);if(c.code=a,Error.captureStackTrace&&Error.captureStackTrace(c,fn),!A)throw c;return c},or=function(a,o,A){var c=o/8|0;a[c]|=A<<=7&o,a[c+1]|=A>>8},Ra=function(a,o,A){var c=o/8|0;a[c]|=A<<=7&o,a[c+1]|=A>>8,a[c+2]|=A>>16},bo=function(a,o){for(var A=[],c=0;c<a.length;++c)a[c]&&A.push({s:c,f:a[c]});var h=A.length,f=A.slice();if(!h)return{t:sr,l:0};if(1==h){var m=new jt(A[0].s+1);return m[A[0].s]=1,{t:m,l:1}}A.sort(function(Re,At){return Re.f-At.f}),A.push({s:-1,f:25001});var _=A[0],y=A[1],E=0,T=1,U=2;for(A[0]={s:-1,f:_.f+y.f,l:_,r:y};T!=h-1;)_=A[A[E].f<A[U].f?E++:U++],y=A[E!=T&&A[E].f<A[U].f?E++:U++],A[T++]={s:-1,f:_.f+y.f,l:_,r:y};var R=f[0].s;for(c=1;c<h;++c)f[c].s>R&&(R=f[c].s);var x=new bn(R+1),q=dn(A[T-1],x,0);if(q>o){c=0;var z=0,ee=q-o,j=1<<ee;for(f.sort(function(At,Ee){return x[Ee.s]-x[At.s]||At.f-Ee.f});c<h;++c){var X=f[c].s;if(!(x[X]>o))break;z+=j-(1<<q-x[X]),x[X]=o}for(z>>=ee;z>0;){var de=f[c].s;x[de]<o?z-=1<<o-x[de]++-1:++c}for(;c>=0&&z;--c){var me=f[c].s;x[me]==o&&(--x[me],++z)}q=o}return{t:new jt(x),l:q}},dn=function(a,o,A){return-1==a.s?Math.max(dn(a.l,o,A+1),dn(a.r,o,A+1)):o[a.s]=A},WA=function(a){for(var o=a.length;o&&!a[--o];);for(var A=new bn(++o),c=0,h=a[0],f=1,m=function(y){A[c++]=y},_=1;_<=o;++_)if(a[_]==h&&_!=o)++f;else{if(!h&&f>2){for(;f>138;f-=138)m(32754);f>2&&(m(f>10?f-11<<5|28690:f-3<<5|12305),f=0)}else if(f>3){for(m(h),--f;f>6;f-=6)m(8304);f>2&&(m(f-3<<5|8208),f=0)}for(;f--;)m(h);f=1,h=a[_]}return{c:A.subarray(0,c),n:o}},zA=function(a,o){for(var A=0,c=0;c<o.length;++c)A+=a[c]*o[c];return A},Di=function(a,o,A){var c=A.length,h=qi(o+2);a[h]=255&c,a[h+1]=c>>8,a[h+2]=255^a[h],a[h+3]=255^a[h+1];for(var f=0;f<c;++f)a[h+f+4]=A[f];return 8*(h+4+c)},cA=function(a,o,A,c,h,f,m,_,y,E,T){or(o,T++,A),++h[256];for(var U=bo(h,15),R=U.t,x=U.l,q=bo(f,15),z=q.t,ee=q.l,j=WA(R),X=j.c,de=j.n,me=WA(z),Re=me.c,At=me.n,Ee=new bn(19),ae=0;ae<X.length;++ae)++Ee[31&X[ae]];for(ae=0;ae<Re.length;++ae)++Ee[31&Re[ae]];for(var Fe=bo(Ee,7),ze=Fe.t,W=Fe.l,$=19;$>4&&!ze[Or[$-1]];--$);var He,Je,xe,Ye,ue=E+5<<3,oe=zA(h,$n)+zA(f,Ji)+m,je=zA(h,R)+zA(f,z)+m+14+3*$+zA(Ee,ze)+2*Ee[16]+3*Ee[17]+7*Ee[18];if(y>=0&&ue<=oe&&ue<=je)return Di(o,T,a.subarray(y,y+E));if(or(o,T,1+(je<oe)),T+=2,je<oe){He=Nn(R,x,0),Je=R,xe=Nn(z,ee,0),Ye=z;var Ze=Nn(ze,W,0);for(or(o,T,de-257),or(o,T+5,At-1),or(o,T+10,$-4),T+=14,ae=0;ae<$;++ae)or(o,T+3*ae,ze[Or[ae]]);T+=3*$;for(var Ot=[X,Re],H=0;H<2;++H){var te=Ot[H];for(ae=0;ae<te.length;++ae)or(o,T,Ze[re=31&te[ae]]),T+=ze[re],re>15&&(or(o,T,te[ae]>>5&127),T+=te[ae]>>12)}}else He=yi,Je=$n,xe=Fr,Ye=Ji;for(ae=0;ae<_;++ae){var ce=c[ae];if(ce>255){var re;Ra(o,T,He[257+(re=ce>>18&31)]),T+=Je[re+257],re>7&&(or(o,T,ce>>23&31),T+=Ar[re]);var ve=31&ce;Ra(o,T,xe[ve]),T+=Ye[ve],ve>3&&(Ra(o,T,ce>>5&8191),T+=Fi[ve])}else Ra(o,T,He[ce]),T+=Je[ce]}return Ra(o,T,He[256]),T+Je[256]},xi=new Oi([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),sr=new jt(0),Rr=function(){var a=1,o=0;return{p:function(A){for(var c=a,h=o,f=0|A.length,m=0;m!=f;){for(var _=Math.min(m+2655,f);m<_;++m)h+=c+=A[m];c=(65535&c)+15*(c>>16),h=(65535&h)+15*(h>>16)}a=c,o=h},d:function(){return(255&(a%=65521))<<24|(65280&a)<<8|(255&(o%=65521))<<8|o>>8}}},Er=function(a,o,A,c,h){if(!h&&(h={l:1},o.dictionary)){var f=o.dictionary.subarray(-32768),m=new jt(f.length+a.length);m.set(f),m.set(a,f.length),a=m,h.w=f.length}return function(a,o,A,c,h,f){var m=f.z||a.length,_=new jt(c+m+5*(1+Math.ceil(m/7e3))+h),y=_.subarray(c,_.length-h),E=f.l,T=7&(f.r||0);if(o){T&&(y[0]=f.r>>3);for(var U=xi[o-1],R=U>>13,x=8191&U,q=(1<<A)-1,z=f.p||new bn(32768),ee=f.h||new bn(q+1),j=Math.ceil(A/3),X=2*j,de=function(Yt){return(a[Yt]^a[Yt+1]<<j^a[Yt+2]<<X)&q},me=new Oi(25e3),Re=new bn(288),At=new bn(32),Ee=0,ae=0,Fe=f.i||0,ze=0,W=f.w||0,$=0;Fe+2<m;++Fe){var ue=de(Fe),oe=32767&Fe,je=ee[ue];if(z[oe]=je,ee[ue]=oe,W<=Fe){var He=m-Fe;if((Ee>7e3||ze>24576)&&(He>423||!E)){T=cA(a,y,0,me,Re,At,ae,ze,$,Fe-$,T),ze=Ee=ae=0,$=Fe;for(var Je=0;Je<286;++Je)Re[Je]=0;for(Je=0;Je<30;++Je)At[Je]=0}var xe=2,Ye=0,Ze=x,Ot=oe-je&32767;if(He>2&&ue==de(Fe-Ot))for(var H=Math.min(R,He)-1,te=Math.min(32767,Fe),re=Math.min(258,He);Ot<=te&&--Ze&&oe!=je;){if(a[Fe+xe]==a[Fe+xe-Ot]){for(var ce=0;ce<re&&a[Fe+ce]==a[Fe+ce-Ot];++ce);if(ce>xe){if(xe=ce,Ye=Ot,ce>
1H)break;var ve=Math.min(Ot,ce-2),Ne=0;for(Je=0;Je<ve;++Je){var Me=Fe-Ot+Je&32767,Bt=Me-z[Me]&32767;Bt>Ne&&(Ne=Bt,je=Me)}}}Ot+=(oe=je)-(je=z[oe])&32767}if(Ye){me[ze++]=268435456|vn[xe]<<18|lA[Ye];var gt=31&vn[xe],Qt=31&lA[Ye];ae+=Ar[gt]+Fi[Qt],++Re[257+gt],++At[Qt],W=Fe+xe,++Ee}else me[ze++]=a[Fe],++Re[a[Fe]]}}for(Fe=Math.max(Fe,W);Fe<m;++Fe)me[ze++]=a[Fe],++Re[a[Fe]];T=cA(a,y,E,me,Re,At,ae,ze,$,Fe-$,T),E||(f.r=7&T|y[T/8|0]<<3,T-=7,f.h=ee,f.p=z,f.i=Fe,f.w=W)}else{for(Fe=f.w||0;Fe<m+E;Fe+=65535){var It=Fe+65535;It>=m&&(y[T/8|0]=E,It=m),T=Di(y,T+1,a.subarray(Fe,It))}f.i=m}return Xr(_,0,c+qi(T)+h)}(a,null==o.level?6:o.level,null==o.mem?h.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):20:12+o.mem,A,c,h)},Fn=function(a,o,A){for(;A;++o)a[o]=A,A>>>=8};function ca(a,o){o||(o={});var A=Rr();A.p(a);var c=Er(a,o,o.dictionary?6:2,4);return function(a,o){var A=o.level,c=0==A?0:A<6?1:9==A?3:2;if(a[0]=120,a[1]=c<<6|(o.dictionary&&32),a[1]|=31-(a[0]<<8|a[1])%31,o.dictionary){var h=Rr();h.p(o.dictionary),Fn(a,2,h.d())}}(c,o),Fn(c,c.length-4,A.d()),c}function Hi(a,o){return function(a,o,A,c){var h=a.length,f=c?c.length:0;if(!h||o.f&&!o.l)return A||new jt(0);var m=!A,_=m||2!=o.i,y=o.i;m&&(A=new jt(3*h));var E=function(gt){var Qt=A.length;if(gt>Qt){var It=new jt(Math.max(2*Qt,gt));It.set(A),A=It}},T=o.f||0,U=o.p||0,R=o.b||0,x=o.l,q=o.d,z=o.m,ee=o.n,j=8*h;do{if(!x){T=Li(a,U,1);var X=Li(a,U+1,3);if(U+=3,!X){var me=a[(de=qi(U)+4)-4]|a[de-3]<<8,Re=de+me;if(Re>h){y&&fn(0);break}_&&E(R+me),A.set(a.subarray(de,Re),R),o.b=R+=me,o.p=U=8*Re,o.f=T;continue}if(1==X)x=BA,q=Yi,z=9,ee=5;else if(2==X){var At=Li(a,U,31)+257,Ee=Li(a,U+10,15)+4,ae=At+Li(a,U+5,31)+1;U+=14;for(var Fe=new jt(ae),ze=new jt(19),W=0;W<Ee;++W)ze[Or[W]]=Li(a,U+3*W,7);U+=3*Ee;var $=ar(ze),ue=(1<<$)-1,oe=Nn(ze,$,1);for(W=0;W<ae;){var de,je=oe[Li(a,U,ue)];if(U+=15&je,(de=je>>4)<16)Fe[W++]=de;else{var He=0,Je=0;for(16==de?(Je=3+Li(a,U,3),U+=2,He=Fe[W-1]):17==de?(Je=3+Li(a,U,7),U+=3):18==de&&(Je=11+Li(a,U,127),U+=7);Je--;)Fe[W++]=He}}var xe=Fe.subarray(0,At),Ye=Fe.subarray(At);z=ar(xe),ee=ar(Ye),x=Nn(xe,z,1),q=Nn(Ye,ee,1)}else fn(1);if(U>j){y&&fn(0);break}}_&&E(R+131072);for(var Ze=(1<<z)-1,Ot=(1<<ee)-1,H=U;;H=U){var te=(He=x[jA(a,U)&Ze])>>4;if((U+=15&He)>j){y&&fn(0);break}if(He||fn(2),te<256)A[R++]=te;else{if(256==te){H=U,x=null;break}var re=te-254;te>264&&(re=Li(a,U,(1<<(ce=Ar[W=te-257]))-1)+ii[W],U+=ce);var ve=q[jA(a,U)&Ot],Ne=ve>>4;if(ve||fn(3),U+=15&ve,Ye=VA[Ne],Ne>3){var ce=Fi[Ne];Ye+=jA(a,U)&(1<<ce)-1,U+=ce}if(U>j){y&&fn(0);break}_&&E(R+131072);var Me=R+re;if(R<Ye){var Le=f-Ye,Bt=Math.min(Ye,Me);for(Le+R<0&&fn(3);R<Bt;++R)A[R]=c[Le+R]}for(;R<Me;++R)A[R]=A[R-Ye]}}o.l=x,o.p=H,o.b=R,o.f=T,x&&(T=1,o.m=z,o.d=q,o.n=ee)}while(!T);return R!=A.length&&m?Xr(A,0,R):A.subarray(0,R)}(a.subarray(function(a,o){return(8!=(15&a[0])||a[0]>>4>7||(a[0]<<8|a[1])%31)&&fn(6,"invalid zlib data"),(a[1]>>5&1)==+!o&&fn(6,"invalid zlib data: "+(32&a[1]?"need":"unexpected")+" dictionary"),2+(a[1]>>3&4)}(a,o&&o.dictionary),-4),{i:2},o&&o.out,o&&o.dictionary)}var EA=typeof TextDecoder<"u"&&new TextDecoder;try{EA.decode(sr,{stream:!0})}catch{}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout;var $t=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function Io(){$t.console&&"function"==typeof $t.console.log&&$t.console.log.apply($t.console,arguments)}var Rn={log:Io,warn:function(a){$t.console&&("function"==typeof $t.console.warn?$t.console.warn.apply($t.console,arguments):Io.call(null,arguments))},error:function(a){$t.console&&("function"==typeof $t.console.error?$t.console.error.apply($t.console,arguments):Io(a))}};function Ws(a,o,A){var c=new XMLHttpRequest;c.open("GET",a),c.responseType="blob",c.onload=function(){ha(c.response,o,A)},c.onerror=function(){Rn.error("could not download file")},c.send()}function So(a){var o=new XMLHttpRequest;o.open("HEAD",a,!1);try{o.send()}catch{}return o.status>=200&&o.status<=299}function Xa(a){try{a.dispatchEvent(new MouseEvent("click"))}catch{var o=document.createEvent("MouseEvents");
vendor: 3,216 bytes, line 1
1o.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(o)}}var da,zs,ha=$t.saveAs||("object"!==(typeof window>"u"?"undefined":mt(window))||window!==$t?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(a,o,A){var c=$t.URL||$t.webkitURL,h=document.createElement("a");h.download=o=o||a.name||"download",h.rel="noopener","string"==typeof a?(h.href=a,h.origin!==location.origin?So(h.href)?Ws(a,o,A):Xa(h,h.target="_blank"):Xa(h)):(h.href=c.createObjectURL(a),setTimeout(function(){c.revokeObjectURL(h.href)},4e4),setTimeout(function(){Xa(h)},0))}:"msSaveOrOpenBlob"in navigator?function(a,o,A){if(o=o||a.name||"download","string"==typeof a)if(So(a))Ws(a,o,A);else{var c=document.createElement("a");c.href=a,c.target="_blank",setTimeout(function(){Xa(c)})}else navigator.msSaveOrOpenBlob((h=a,void 0===(f=A)?f={autoBom:!1}:"object"!==mt(f)&&(Rn.warn("Deprecated: Expected third argument to be a object"),f={autoBom:!f}),f.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(h.type)?new Blob(["\ufeff",h],{type:h.type}):h),o);var h,f}:function(a,o,A,c){if((c=c||open("","_blank"))&&(c.document.title=c.document.body.innerText="downloading..."),"string"==typeof a)return Ws(a,o,A);var h="application/octet-stream"===a.type,f=/constructor/i.test($t.HTMLElement)||$t.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||h&&f)&&"object"===(typeof FileReader>"u"?"undefined":mt(FileReader))){var _=new FileReader;_.onloadend=function(){var T=_.result;T=m?T:T.replace(/^data:[^;]*;/,"data:attachment/file;"),c?c.location.href=T:location=T,c=null},_.readAsDataURL(a)}else{var y=$t.URL||$t.webkitURL,E=y.createObjectURL(a);c?c.location=E:location.href=E,c=null,setTimeout(function(){y.revokeObjectURL(E)},4e4)}});function As(a){var o;a=a||"",this.ok=!1,"#"==a.charAt(0)&&(a=a.substr(1,6)),a={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
10",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[a=(a=a.replace(/ /g,"")).toLowerCase()]||a;for(var A=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(_){return[parseInt(_[1]),parseInt(_[2]),parseInt(_[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(_){return[parseInt(_[1],16),parseInt(_[2],16),parseInt(_[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(_){return[parseInt(_[1]+_[1],16),parseInt(_[2]+_[2],16),parseInt(_[3]+_[3],16)]}}],c=0;c<A.length;c++){var f=A[c].process,m=A[c].re.exec(a);m&&(o=f(m),this.r=o[0],this.g=o[1],this.b=o[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var _=this.r.toString(16),y=this.g.toString(16),E=this.b.toString(16);return 1==_.length&&(_="0"+_),1==y.length&&(y="0"+y),1==E.length&&(E="0"+E),"#"+_+y+E}}function as(a,o){var A=a[0],c=a[1],h=a[2],f=a[3];A=Xi(A,c,h,f,o[0],7,-680876936),f=Xi(f,A,c,h,o[1],12,-389564586),h=Xi(h,f,A,c,o[2],17,606105819),c=Xi(c,h,f,A,o[3],22,-1044525330),A=Xi(A,c,h,f,o[4],7,-176418897),f=Xi(f,A,c,h,o[5],12,1200080426),h=Xi(h,f,A,c,o[6],17,-1473231341),c=Xi(c,h,f,A,o[7],22,-45705983),A=Xi(A,c,h,f,o[8],7,1770035416),f=Xi(f,A,c,h,o[9],12,-1958414417),h=Xi(h,f,A,c,o[10],17,-42063),c=Xi(c,h,f,A,o[11],22,-1990404162),A=Xi(A,c,h,f,o[12],7,1804603682),f=Xi(f,A,c,h,o[13],12,-40341101),h=Xi(h,f,A,c,o[14],17,-1502002290),A=Ii(A,c=Xi(c,h,f,A,o[15],22,1236535329),h,f,o[1],5,-165796510),f=Ii(f,A,c,h,o[6],9,-1069501632),h=Ii(h,f,A,c,o[11],14,643717713),c=Ii(c,h,f,A,o[0],20,-373897302),A=Ii(A,c,h,f,o[5],5,-701558691),f=Ii(f,A,c,h,o[10],9,38016083),h=Ii(h,f,A,c,o[15],14,-660478335),c=Ii(c,h,f,A,o[4],20,-405537848),A=Ii(A,c,h,f,o[9],5,568446438),f=Ii(f,A,c,h,o[14],9,-1019803690),h=Ii(h,f,A,c,o[3],14,-187363961),c=Ii(c,h,f,A,o[8],20,1163531501),A=Ii(A,c,h,f,o[13],5,-1444681467),f=Ii(f,A,c,h,o[2],9,-51403784),h=Ii(h,f,A,c,o[7],14,1735328473),A=Si(A,c=Ii(c,h,f,A,o[12],20,-1926607734),h,f,o[5],4,-378558),f=Si(f,A,c,h,o[8],11,-2022574463),h=Si(h,f,A,c,o[11],16,1839030562),c=Si(c,h,f,A,o[14],23,-35309556),A=Si(A,c,h,f,o[1],4,-1530992060),f=Si(f,A,c,h,o[4],11,1272893353),h=Si(h,f,A,c,o[7],16,-155497632),c=Si(c,h,f,A,o[10],23,-1094730640),A=Si(A,c,h,f,o[13],4,681279174),f=Si(f,A,c,h,o[0],11,-358537222),h=Si(h,f,A,c,o[3],16,-722521979),c=Si(c,h,f,A,o[6],23,76029189),A=Si(A,c,h,f,o[9],4,-640364487),f=Si(f,A,c,h,o[12],11,-421815835),h=Si(h,f,A,c,o[15],16,530742520),A=Ni(A,c=Si(c,h,f,A,o[2],23,-995338651),h,f,o[0],6,-198630844),f=Ni(f,A,c,h,o[7],10,1126891415),h=Ni(h,f,A,c,o[14],15,-1416354905),c=Ni(c,h,f,A,o[5],21,-57434055),A=Ni(A,c,h,f,o[12],6,1700485571),f=Ni(f,A,c,h,o[3],10,-1894986606),h=Ni(h,f,A,c,o[10],15,-1051523),c=Ni(c,h,f,A,o[1],21,-2054922799),A=Ni(A,c,h,f,o[8],6,1873313359),f=Ni(f,A,c,h,o[15],10,-30611744),h=Ni(h,f,A,c,o[6],15,-1560198380),c=Ni(c,h,f,A,o[13],21,1309151649),A=Ni(A,c,h,f,o[4],6,-145523070),f=Ni(f,A,c,h,o[11],10,-1120210379),h=Ni(h,f,A,c,o[2],15,718787259),c=Ni(c,h,f,A,o[9],21,-343485551),a[0]=Vn(A,a[0]),a[1]=Vn(c,a[1]),a[2]=Vn(h,a[2]),a[3]=Vn(f,a[3])}function os(a,o,A,c,h,f){return o=Vn(Vn(o,a),Vn(c,f)),Vn(o<<h|o>>>32-h,A)}function Xi(a,o,A,c,h,f,m){return os(o&A|~o&c,a,o,h,f,m)}function Ii(a,o,A,c,h,f,m){return os(o&c|A&~c,a,o,h,f,m)}function Si(a,o,A,c,h,f,m){return os(o^A^c,a,o,h,f,m)}function Ni(a,o,A,c,h,f,m){return os(A^(o|~c),a,o,h,f,m)}function I(a){var o,A=a.length,c=[1732584193,-271733879,-1732584194,271733878];for(o=64;o<=a.length;o+=64)as(c,S(a.substring(o-64,o)));a=a.substring(o-64);var h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(o=0;o<a.length;o++)h[o>>
vendor: 4,117 bytes, line 1
12]|=a.charCodeAt(o)<<(o%4<<3);if(h[o>>2]|=128<<(o%4<<3),o>55)for(as(c,h),o=0;o<16;o++)h[o]=0;return h[14]=8*A,as(c,h),c}function S(a){var o,A=[];for(o=0;o<64;o+=4)A[o>>2]=a.charCodeAt(o)+(a.charCodeAt(o+1)<<8)+(a.charCodeAt(o+2)<<16)+(a.charCodeAt(o+3)<<24);return A}da=$t.atob.bind($t),zs=$t.btoa.bind($t);var w="0123456789abcdef".split("");function k(a){for(var o="",A=0;A<4;A++)o+=w[a>>8*A+4&15]+w[a>>8*A&15];return o}function se(a){return String.fromCharCode(255&a,(65280&a)>>8,(16711680&a)>>16,(4278190080&a)>>24)}function Pt(a){return I(a).map(se).join("")}var tn="5d41402abc4b2a76b9719d911017c592"!=function(a){for(var o=0;o<a.length;o++)a[o]=k(a[o]);return a.join("")}(I("hello"));function Vn(a,o){if(tn){var A=(65535&a)+(65535&o);return(a>>16)+(o>>16)+(A>>16)<<16|65535&A}return a+o&4294967295}function fa(a,o){var A,c,h;if(a!==A){for(var m=(h=a,new Array(1+(256/a.length|0)+1).join(h)),_=[],y=0;y<256;y++)_[y]=y;var E=0;for(y=0;y<256;y++){var T=_[y];E=(E+T+m.charCodeAt(y))%256,_[y]=_[E],_[E]=T}A=a,c=_}else _=c;var U=o.length,R=0,x=0,q="";for(y=0;y<U;y++)x=(x+(T=_[R=(R+1)%256]))%256,_[R]=_[x],_[x]=T,m=_[(_[R]+_[x])%256],q+=String.fromCharCode(o.charCodeAt(y)^m);return q}var kr={print:4,modify:8,copy:16,"annot-forms":32};function Jn(a,o,A,c){this.v=1,this.r=2;var h=192;a.forEach(function(_){if(void 0!==kr.perm)throw new Error("Invalid permission: "+_);h+=kr[_]}),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var f=(o+this.padding).substr(0,32),m=(A+this.padding).substr(0,32);this.O=this.processOwnerPassword(f,m),this.P=-(1+(255^h)),this.encryptionKey=Pt(f+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(c)).substr(0,5),this.U=fa(this.encryptionKey,this.padding)}function Za(a){if(/[^\u0000-\u00ff]/.test(a))throw new Error("Invalid PDF Name Object: "+a+", Only accept ASCII characters.");for(var o="",A=a.length,c=0;c<A;c++){var h=a.charCodeAt(c);o+=h<33||35===h||37===h||40===h||41===h||47===h||60===h||62===h||91===h||93===h||123===h||125===h||h>126?"#"+("0"+h.toString(16)).slice(-2):a[c]}return o}function ki(a){if("object"!==mt(a))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var o={};this.subscribe=function(A,c,h){if(h=h||!1,"string"!=typeof A||"function"!=typeof c||"boolean"!=typeof h)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");o.hasOwnProperty(A)||(o[A]={});var f=Math.random().toString(35);return o[A][f]=[c,!!h],f},this.unsubscribe=function(A){for(var c in o)if(o[c][A])return delete o[c][A],0===Object.keys(o[c]).length&&delete o[c],!0;return!1},this.publish=function(A){if(o.hasOwnProperty(A)){var c=Array.prototype.slice.call(arguments,1),h=[];for(var f in o[A]){var m=o[A][f];try{m[0].apply(a,c)}catch(_){$t.console&&Rn.error("jsPDF PubSub Error",_.message,_)}m[1]&&h.push(f)}h.length&&h.forEach(this.unsubscribe)}},this.getTopics=function(){return o}}function No(a){if(!(this instanceof No))return new No(a);var o="opacity,stroke-opacity".split(",");for(var A in a)a.hasOwnProperty(A)&&o.indexOf(A)>=0&&(this[A]=a[A]);this.id="",this.objectNumber=-1}function JA(a,o){this.gState=a,this.matrix=o,this.id="",this.objectNumber=-1}function uA(a,o,A,c,h){if(!(this instanceof uA))return new uA(a,o,A,c,h);this.type="axial"===a?2:3,this.coords=o,this.colors=A,JA.call(this,c,h)}function Tn(a,o,A,c,h){if(!(this instanceof Tn))return new Tn(a,o,A,c,h);this.boundingBox=a,this.xStep=o,this.yStep=A,this.stream="",this.cloneIndex=0,JA.call(this,c,h)}function Jt(a){var o,A="string"==typeof arguments[0]?arguments[0]:"p",c=arguments[1],h=arguments[2],f=arguments[3],m=[],_=1,y=16,E="S",T=null;"object"===mt(a=a||{})&&(A=a.orientation,c=a.unit||c,h=a.format||h,f=a.compress||a.compressPdf||f,null!==(T=a.encryption||null)&&(T.userPassword=T.userPassword||"",T.ownerPassword=T.ownerPassword||"",T.userPermissions=T.userPermissions||[]),_="number"==typeof a.userUnit?Math.abs(a.userUnit):1,void 0!==a.precision&&(o=a.precision),void 0!==a.floatPrecision&&(y=a.floatPrecision),E=a.defaultPathOperation||"S"),m=a.filters||(!0===f?["FlateEncode"]:m),c=c||"mm",A=(""+(A||"P")).toLowerCase();
vendor: 8,499 bytes, line 1
1var U=a.putOnlyUsedFonts||!1,R={},x={internal:{},__private__:{}};x.__private__.PubSub=ki;var q="1.3",z=x.__private__.getPdfVersion=function(){return q};x.__private__.setPdfVersion=function(l){q=l};var ee={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};x.__private__.getPageFormats=function(){return ee};var j=x.__private__.getPageFormat=function(l){return ee[l]};h=h||"a4";var de="compat";function me(){this.saveGraphicsState(),ie(new Wt(Nt,0,0,-Nt,0,g()*Nt).toString()+" cm"),this.setFontSize(this.getFontSize()/Nt),E="n",de="advanced"}function Re(){this.restoreGraphicsState(),E="S",de="compat"}var At=x.__private__.combineFontStyleAndFontWeight=function(l,v){if("bold"==l&&"normal"==v||"bold"==l&&400==v||"normal"==l&&"italic"==v||"bold"==l&&"italic"==v)throw new Error("Invalid Combination of fontweight and fontstyle");return v&&(l=400==v||"normal"===v?"italic"===l?"italic":"normal":700!=v&&"bold"!==v||"normal"!==l?(700==v?"bold":v)+""+l:"bold"),l};x.advancedAPI=function(l){var v="compat"===de;return v&&me.call(this),"function"!=typeof l||(l(this),v&&Re.call(this)),this},x.compatAPI=function(l){var v="advanced"===de;return v&&Re.call(this),"function"!=typeof l||(l(this),v&&me.call(this)),this},x.isAdvancedAPI=function(){return"advanced"===de};var Ee,ae=function(l){if("advanced"!==de)throw new Error(l+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Fe=x.roundToPrecision=x.__private__.roundToPrecision=function(l,v){var C=o||v;if(isNaN(l)||isNaN(C))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return l.toFixed(C).replace(/0+$/,"")};Ee=x.hpf=x.__private__.hpf="number"==typeof y?function(l){if(isNaN(l))throw new Error("Invalid argument passed to jsPDF.hpf");return Fe(l,y)}:"smart"===y?function(l){if(isNaN(l))throw new Error("Invalid argument passed to jsPDF.hpf");return Fe(l,l>-1&&l<1?16:5)}:function(l){if(isNaN(l))throw new Error("Invalid argument passed to jsPDF.hpf");return Fe(l,16)};var ze=x.f2=x.__private__.f2=function(l){if(isNaN(l))throw new Error("Invalid argument passed to jsPDF.f2");return Fe(l,2)},W=x.__private__.f3=function(l){if(isNaN(l))throw new Error("Invalid argument passed to jsPDF.f3");return Fe(l,3)},$=x.scale=x.__private__.scale=function(l){if(isNaN(l))throw new Error("Invalid argument passed to jsPDF.scale");return"compat"===de?l*Nt:"advanced"===de?l:void 0},oe=function(l){return $(function(l){return"compat"===de?g()-l:"advanced"===de?l:void 0}(l))};x.__private__.setPrecision=x.setPrecision=function(l){"number"==typeof parseInt(l,10)&&(o=parseInt(l,10))};var je,He="00000000000000000000000000000000",Je=x.__private__.getFileId=function(){return He},xe=x.__private__.setFileId=function(l){return He=void 0!==l&&/^[a-fA-F0-9]{32}$/.test(l)?l.toUpperCase():He.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==T&&(br=new Jn(T.userPermissions,T.userPassword,T.ownerPassword,He)),He};x.setFileId=function(l){return xe(l),this},x.getFileId=function(){return Je()};var Ye=x.__private__.convertDateToPDFDate=function(l){var v=l.getTimezoneOffset(),C=v<0?"+":"-",D=Math.floor(Math.abs(v/60)),M=Math.abs(v%60),J=[C,re(D),"'",re(M),"'"].join("");return["D:",l.getFullYear(),re(l.getMonth()+1),re(l.getDate()),re(l.getHours()),re(l.getMinutes()),re(l.getSeconds()),J].join("")},Ze=x.__private__.convertPDFDateToDate=function(l){var v=parseInt(l.substr(2,4),10),C=parseInt(l.substr(6,2),10)-1,D=parseInt(l.substr(8,2),10),M=parseInt(l.substr(10,2),10),J=parseInt(l.substr(12,2),10),Z=parseInt(l.substr(14,2),10);return new Date(v,C,D,M,J,Z,0)},Ot=x.__private__.setCreationDate=function(l){var v;if(void 0===l&&(l=new Date),l instanceof Date)v=Ye(l);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(l))throw new Error("Invalid argument passed to jsPDF.setCreationDate");v=l}return je=v},H=x.__private__.getCreationDate=function(l){var v=je;return"jsDate"===l&&(v=Ze(je)),v};x.setCreationDate=function(l){return Ot(l),this},x.getCreationDate=function(l){return H(l)};var te,re=x.__private__.padd2=function(l){return("0"+parseInt(l)).slice(-2)},ce=x.__private__.padd2Hex=function(l){return("00"+(l=l.toString())).substr(l.length)},ve=0,Ne=[],Me=[],Le=0,Bt=[],gt=[],Qt=!1,It=Me;x.__private__.setCustomOutputDestination=function(l){Qt=!0,It=l};var qe=function(l){Qt||(It=l)};x.__private__.resetCustomOutputDestination=function(){Qt=!1,It=Me};var ie=x.__private__.out=function(l){return l=l.toString(),Le+=l.length+1,It.push(l),It},ln=x.__private__.write=function(l){return ie(1===arguments.length?l.toString():Array.prototype.join.call(arguments," "))},Vt=x.__private__.getArrayBuffer=function(l){for(var v=l.length,C=new ArrayBuffer(v),D=new Uint8Array(C);v--;)D[v]=l.charCodeAt(v);return C},vt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];x.__private__.getStandardFonts=function(){return vt};var Ft=a.fontSize||16;x.__private__.setFontSize=x.setFontSize=function(l){return Ft="advanced"===de?l/Nt:l,this};var Mt,Et=x.__private__.getFontSize=x.getFontSize=function(){return"compat"===de?Ft:Ft*Nt},Kt=a.R2L||!1;x.__private__.setR2L=x.setR2L=function(l){return Kt=l,this},x.__private__.getR2L=x.getR2L=function(){return Kt};var nn,hn=x.__private__.setZoomMode=function(l){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(l))Mt=l;else if(isNaN(l)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(l))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+l+'" is not recognized.');Mt=l}else Mt=parseInt(l,10)};x.__private__.getZoomMode=function(){return Mt};var _n,xn=x.__private__.setPageMode=function(l){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(l))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+l+'" is not recognized.');nn=l};x.__private__.getPageMode=function(){return nn};var Gn=x.__private__.setLayoutMode=function(l){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(l))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+l+'" is not recognized.');_n=l};x.__private__.getLayoutMode=function(){return _n},x.__private__.setDisplayMode=x.setDisplayMode=function(l,v,C){return hn(l),Gn(v),xn(C),this};var qt={title:"",subject:"",author:"",keywords:"",creator:""};x.__private__.getDocumentProperty=function(l){if(-1===Object.keys(qt).indexOf(l))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return qt[l]},x.__private__.getDocumentProperties=function(){return qt},x.__private__.setDocumentProperties=x.setProperties=x.setDocumentProperties=function(l){for(var v in qt)qt.hasOwnProperty(v)&&l[v]&&(qt[v]=l[v]);return this},x.__private__.setDocumentProperty=function(l,v){if(-1===Object.keys(qt).indexOf(l))throw new Error("Invalid arguments passed to
1jsPDF.setDocumentProperty");return qt[l]=v};var pn,Nt,er,yn,vr,Hn={},Wn={},nA=[],En={},wa={},On={},fA={},SA=null,oi=0,rn=[],Qn=new ki(x),iA=a.hotfixes||[],Gi={},Dn={},cr=[],Wt=function l(v,C,D,M,J,Z){if(!(this instanceof l))return new l(v,C,D,M,J,Z);isNaN(v)&&(v=1),isNaN(C)&&(C=0),isNaN(D)&&(D=0),isNaN(M)&&(M=1),isNaN(J)&&(J=0),isNaN(Z)&&(Z=0),this._matrix=[v,C,D,M,J,Z]};Object.defineProperty(Wt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(l){this._matrix[0]=l}}),Object.defineProperty(Wt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(l){this._matrix[1]=l}}),Object.defineProperty(Wt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(l){this._matrix[2]=l}}),Object.defineProperty(Wt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(l){this._matrix[3]=l}}),Object.defineProperty(Wt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(l){this._matrix[4]=l}}),Object.defineProperty(Wt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(l){this._matrix[5]=l}}),Object.defineProperty(Wt.prototype,"a",{get:function(){return this._matrix[0]},set:function(l){this._matrix[0]=l}}),Object.defineProperty(Wt.prototype,"b",{get:function(){return this._matrix[1]},set:function(l){this._matrix[1]=l}}),Object.defineProperty(Wt.prototype,"c",{get:function(){return this._matrix[2]},set:function(l){this._matrix[2]=l}}),Object.defineProperty(Wt.prototype,"d",{get:function(){return this._matrix[3]},set:function(l){this._matrix[3]=l}}),Object.defineProperty(Wt.prototype,"e",{get:function(){return this._matrix[4]},set:function(l){this._matrix[4]=l}}),Object.defineProperty(Wt.prototype,"f",{get:function(){return this._matrix[5]},set:function(l){this._matrix[5]=l}}),Object.defineProperty(Wt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Wt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Wt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Wt.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Wt.prototype.join=function(l){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Ee).join(l)},Wt.prototype.multiply=function(l){return new Wt(l.sx*this.sx+l.shy*this.shx,l.sx*this.shy+l.shy*this.sy,l.shx*this.sx+l.sy*this.shx,l.shx*this.shy+l.sy*this.sy,l.tx*this.sx+l.ty*this.shx+this.tx,l.tx*this.shy+l.ty*this.sy+this.ty)},Wt.prototype.decompose=function(){var l=this.sx,v=this.shy,C=this.shx,D=this.sy,M=this.tx,J=this.ty,Z=Math.sqrt(l*l+v*v),ge=(l/=Z)*C+(v/=Z)*D;C-=l*ge,D-=v*ge;var Pe=Math.sqrt(C*C+D*D);return ge/=Pe,l*(D/=Pe)<v*(C/=Pe)&&(l=-l,v=-v,ge=-ge,Z=-Z),{scale:new Wt(Z,0,0,Pe,0,0),translate:new Wt(1,0,0,1,M,J),rotate:new Wt(l,v,-v,l,0,0),skew:new Wt(1,0,ge,1,0,0)}},Wt.prototype.toString=function(l){return this.join(" ")},Wt.prototype.inversed=function(){var l=this.sx,v=this.shy,C=this.shx,D=this.sy,M=this.tx,J=this.ty,Z=1/(l*D-v*C),ge=D*Z,Pe=-v*Z,ke=-C*Z,Ge=l*Z;return new Wt(ge,Pe,ke,Ge,-ge*M-ke*J,-Pe*M-Ge*J)},Wt.prototype.applyToPoint=function(l){return new Ts(l.x*this.sx+l.y*this.shx+this.tx,l.x*this.shy+l.y*this.sy+this.ty)},Wt.prototype.applyToRectangle=function(l){var v=this.applyToPoint(l),C=this.applyToPoint(new Ts(l.x+l.w,l.y+l.h));return new _l(v.x,v.y,C.x-v.x,C.y-v.y)},Wt.prototype.clone=function(){return new Wt(this.sx,this.shy,this.shx,this.sy,this.tx,this.ty)},x.Matrix=Wt;var Ti=x.matrixMult=function(l,v){return v.multiply(l)},tr=new Wt(1,0,0,1,0,0);x.unitMatrix=x.identityMatrix=tr;var Ki=function(l,v){if(!wa[l]){var C=(v instanceof uA?"Sh":"P")+(Object.keys(En).length+1).toString(10);v.id=C,wa[l]=C,En[C]=v,Qn.publish("addPattern",v)}};x.ShadingPattern=uA,x.TilingPattern=Tn,x.addShadingPattern=function(l,v){return ae("addShadingPattern()"),Ki(l,v),this},x.beginTilingPattern=function(l){ae("beginTilingPattern()"),n(l.boundingBox[0],l.boundingBox[1],l.boundingBox[2]-l.boundingBox[0],l.boundingBox[3]-l.boundingBox[1],l.matrix)},x.endTilingPattern=function(l,v){ae("endTilingPattern()"),v.stream=gt[te].join("\n"),Ki(l,v),Qn.publish("endTilingPattern",v),cr.pop().restore(
vendor: 18,126 bytes, line 1
1)};var l,kn=x.__private__.newObject=function(){var l=wi();return _r(l,!0),l},wi=x.__private__.newObjectDeferred=function(){return ve++,Ne[ve]=function(){return Le},ve},_r=function(l,v){return v="boolean"==typeof v&&v,Ne[l]=Le,v&&ie(l+" 0 obj"),l},so=x.__private__.newAdditionalObject=function(){var l={objId:wi(),content:""};return Bt.push(l),l},Gr=wi(),Wi=wi(),Br=x.__private__.decodeColorString=function(l){var v=l.split(" ");if(2!==v.length||"g"!==v[1]&&"G"!==v[1])5===v.length&&("k"===v[4]||"K"===v[4])&&(v=[(1-v[0])*(1-v[3]),(1-v[1])*(1-v[3]),(1-v[2])*(1-v[3]),"r"]);else{var C=parseFloat(v[0]);v=[C,C,C,"r"]}for(var D="#",M=0;M<3;M++)D+=("0"+Math.floor(255*parseFloat(v[M])).toString(16)).slice(-2);return D},rA=x.__private__.encodeColorString=function(l){var v;"string"==typeof l&&(l={ch1:l});var C=l.ch1,D=l.ch2,M=l.ch3,J=l.ch4,Z="draw"===l.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof C&&"#"!==C.charAt(0)){var ge=new As(C);if(ge.ok)C=ge.toHex();else if(!/^\d*\.?\d*$/.test(C))throw new Error('Invalid color "'+C+'" passed to jsPDF.encodeColorString.')}if("string"==typeof C&&/^#[0-9A-Fa-f]{3}$/.test(C)&&(C="#"+C[1]+C[1]+C[2]+C[2]+C[3]+C[3]),"string"==typeof C&&/^#[0-9A-Fa-f]{6}$/.test(C)){var Pe=parseInt(C.substr(1),16);C=Pe>>16&255,D=Pe>>8&255,M=255&Pe}if(void 0===D||void 0===J&&C===D&&D===M)v="string"==typeof C?C+" "+Z[0]:2===l.precision?ze(C/255)+" "+Z[0]:W(C/255)+" "+Z[0];else if(void 0===J||"object"===mt(J)){if(J&&!isNaN(J.a)&&0===J.a)return["1.","1.","1.",Z[1]].join(" ");v="string"==typeof C?[C,D,M,Z[1]].join(" "):2===l.precision?[ze(C/255),ze(D/255),ze(M/255),Z[1]].join(" "):[W(C/255),W(D/255),W(M/255),Z[1]].join(" ")}else v="string"==typeof C?[C,D,M,J,Z[2]].join(" "):2===l.precision?[ze(C),ze(D),ze(M),ze(J),Z[2]].join(" "):[W(C),W(D),W(M),W(J),Z[2]].join(" ");return v},Kr=x.__private__.getFilters=function(){return m},AA=x.__private__.putStream=function(l){var v=(l=l||{}).data||"",C=l.filters||Kr(),D=l.alreadyAppliedFilters||[],M=l.addLength1||!1,J=v.length,Z=l.objectId,ge=function(xt){return xt};if(null!==T&&void 0===Z)throw new Error("ObjectId must be passed to putStream for file encryption");null!==T&&(ge=br.encryptor(Z,0));var Pe={};!0===C&&(C=["FlateEncode"]);var ke=l.additionalKeyValues||[],Ge=(Pe=void 0!==Jt.API.processDataByFilters?Jt.API.processDataByFilters(v,C):{data:v,reverseChain:[]}).reverseChain+(Array.isArray(D)?D.join(" "):D.toString());if(0!==Pe.data.length&&(ke.push({key:"Length",value:Pe.data.length}),!0===M&&ke.push({key:"Length1",value:J})),0!=Ge.length)if(Ge.split("/").length-1==1)ke.push({key:"Filter",value:Ge});else{ke.push({key:"Filter",value:"["+Ge+"]"});for(var dt=0;dt<ke.length;dt+=1)if("DecodeParms"===ke[dt].key){for(var wt=[],lt=0;lt<Pe.reverseChain.split("/").length-1;lt+=1)wt.push("null");wt.push(ke[dt].value),ke[dt].value="["+wt.join(" ")+"]"}}ie("<<");for(var nt=0;nt<ke.length;nt++)ie("/"+ke[nt].key+" "+ke[nt].value);ie(">>"),0!==Pe.data.length&&(ie("stream"),ie(ge(Pe.data)),ie("endstream"))},NA=x.__private__.putPage=function(l){var v=l.number,C=l.data,D=l.objId,M=l.contentsObjId;_r(D,!0),ie("<</Type /Page"),ie("/Parent "+l.rootDictionaryObjId+" 0 R"),ie("/Resources "+l.resourceDictionaryObjId+" 0 R"),ie("/MediaBox ["+parseFloat(Ee(l.mediaBox.bottomLeftX))+" "+parseFloat(Ee(l.mediaBox.bottomLeftY))+" "+Ee(l.mediaBox.topRightX)+" "+Ee(l.mediaBox.topRightY)+"]"),null!==l.cropBox&&ie("/CropBox ["+Ee(l.cropBox.bottomLeftX)+" "+Ee(l.cropBox.bottomLeftY)+" "+Ee(l.cropBox.topRightX)+" "+Ee(l.cropBox.topRightY)+"]"),null!==l.bleedBox&&ie("/BleedBox ["+Ee(l.bleedBox.bottomLeftX)+" "+Ee(l.bleedBox.bottomLeftY)+" "+Ee(l.bleedBox.topRightX)+" "+Ee(l.bleedBox.topRightY)+"]"),null!==l.trimBox&&ie("/TrimBox ["+Ee(l.trimBox.bottomLeftX)+" "+Ee(l.trimBox.bottomLeftY)+" "+Ee(l.trimBox.topRightX)+" "+Ee(l.trimBox.topRightY)+"]"),null!==l.artBox&&ie("/ArtBox ["+Ee(l.artBox.bottomLeftX)+" "+Ee(l.artBox.bottomLeftY)+" "+Ee(l.artBox.topRightX)+" "+Ee(l.artBox.topRightY)+"]"),"number"==typeof l.userUnit&&1!==l.userUnit&&ie("/UserUnit "+l.userUnit),Qn.publish("putPage",{objId:D,pageContext:rn[v],pageNumber:v,page:C}),ie("/Contents "+M+" 0 R"),ie(">>"),ie("endobj");var J=C.join("\n");return"advanced"===de&&(J+="\nQ"),_r(M,!0),AA({data:J,filters:Kr(),objectId:M}),ie("endobj"),D},ZA=x.__private__.putPages=function(){var l,v,C=[];for(l=1;l<=oi;l++)rn[l].objId=wi(),rn[l].contentsObjId=wi();for(l=1;l<=oi;l++)C.push(NA({number:l,data:gt[l],objId:rn[l].objId,contentsObjId:rn[l].contentsObjId,mediaBox:rn[l].mediaBox,cropBox:rn[l].cropBox,bleedBox:rn[l].bleedBox,trimBox:rn[l].trimBox,artBox:rn[l].artBox,userUnit:rn[l].userUnit,rootDictionaryObjId:Gr,resourceDictionaryObjId:Wi}));_r(Gr,!0),ie("<</Type /Pages");var D="/Kids [";for(v=0;v<oi;v++)D+=C[v]+" 0 R ";ie(D+"]"),ie("/Count "+oi),ie(">>"),ie("endobj"),Qn.publish("postPutPages")},Bs=function(l){Qn.publish("putFont",{font:l,out:ie,newObject:kn,putStream:AA}),!0!==l.isAlreadyPutted&&(l.objectNumber=kn(),ie("<<"),ie("/Type /Font"),ie("/BaseFont /"+Za(l.postScriptName)),ie("/Subtype /Type1"),"string"==typeof l.encoding&&ie("/Encoding /"+l.encoding),ie("/FirstChar 32"),ie("/LastChar 255"),ie(">>"),ie("endobj"))},Ca=function(l){l.objectNumber=kn();var v=[];v.push({key:"Type",value:"/XObject"}),v.push({key:"Subtype",value:"/Form"}),v.push({key:"BBox",value:"["+[Ee(l.x),Ee(l.y),Ee(l.x+l.width),Ee(l.y+l.height)].join(" ")+"]"}),v.push({key:"Matrix",value:"["+l.matrix.toString()+"]"});var C=l.pages[1].join("\n");AA({data:C,additionalKeyValues:v,objectId:l.objectNumber}),ie("endobj")},ll=function(l,v){v||(v=21);var C=kn(),D=function(l,v){var C,D=[],M=1/(v-1);for(C=0;C<1;C+=M)D.push(C);D.push(1),0!=l[0].offset&&l.unshift({offset:0,color:l[0].color}),1!=l[l.length-1].offset&&l.push({offset:1,color:l[l.length-1].color});for(var ge="",Pe=0,ke=0;ke<D.length;ke++){for(C=D[ke];C>l[Pe+1].offset;)Pe++;var Ge=l[Pe].offset,dt=(C-Ge)/(l[Pe+1].offset-Ge),wt=l[Pe].color,lt=l[Pe+1].color;ge+=ce(Math.round((1-dt)*wt[0]+dt*lt[0]).toString(16))+ce(Math.round((1-dt)*wt[1]+dt*lt[1]).toString(16))+ce(Math.round((1-dt)*wt[2]+dt*lt[2]).toString(16))}return ge.trim()}(l.colors,v),M=[];M.push({key:"FunctionType",value:"0"}),M.push({key:"Domain",value:"[0.0 1.0]"}),M.push({key:"Size",value:"["+v+"]"}),M.push({key:"BitsPerSample",value:"8"}),M.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),M.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),AA({data:D,additionalKeyValues:M,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:C}),ie("endobj"),l.objectNumber=kn(),ie("<< /ShadingType "+l.type),ie("/ColorSpace /DeviceRGB");var J="/Coords ["+Ee(parseFloat(l.coords[0]))+" "+Ee(parseFloat(l.coords[1]))+" ";J+=2===l.type?Ee(parseFloat(l.coords[2]))+" "+Ee(parseFloat(l.coords[3])):Ee(parseFloat(l.coords[2]))+" "+Ee(parseFloat(l.coords[3]))+" "+Ee(parseFloat(l.coords[4]))+" "+Ee(parseFloat(l.coords[5])),ie(J+="]"),l.matrix&&ie("/Matrix ["+l.matrix.toString()+"]"),ie("/Function "+C+" 0 R"),ie("/Extend [true true]"),ie(">>"),ie("endobj")},ws=function(l,v){var C=wi(),D=kn();v.push({resourcesOid:C,objectOid:D}),l.objectNumber=D;var M=[];M.push({key:"Type",value:"/Pattern"}),M.push({key:"PatternType",value:"1"}),M.push({key:"PaintType",value:"1"}),M.push({key:"TilingType",value:"1"}),M.push({key:"BBox",value:"["+l.boundingBox.map(Ee).join(" ")+"]"}),M.push({key:"XStep",value:Ee(l.xStep)}),M.push({key:"YStep",value:Ee(l.yStep)}),M.push({key:"Resources",value:C+" 0 R"}),l.matrix&&M.push({key:"Matrix",value:"["+l.matrix.toString()+"]"}),AA({data:l.stream,additionalKeyValues:M,objectId:l.objectNumber}),ie("endobj")},lo=function(l){for(var v in l.objectNumber=kn(),ie("<<"),l)switch(v){case"opacity":ie("/ca "+ze(l[v]));break;case"stroke-opacity":ie("/CA "+ze(l[v]))}ie(">>"),ie("endobj")},Ci=function(l){_r(l.resourcesOid,!0),ie("<<"),ie("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var l in ie("/Font <<"),Hn)Hn.hasOwnProperty(l)&&(!1===U||!0===U&&R.hasOwnProperty(l))&&ie("/"+l+" "+Hn[l].objectNumber+" 0 R");ie(">>")}(),function(){if(Object.keys(En).length>0){for(var l in ie("/Shading <<"),En)En.hasOwnProperty(l)&&En[l]instanceof uA&&En[l].objectNumber>=0&&ie("/"+l+" "+En[l].objectNumber+" 0 R");Qn.publish("putShadingPatternDict"),ie(">>")}}(),function(l){if(Object.keys(En).length>0){for(var v in ie("/Pattern <<"),En)En.hasOwnProperty(v)&&En[v]instanceof x.TilingPattern&&En[v].objectNumber>=0&&En[v].objectNumber<l&&ie("/"+v+" "+En[v].objectNumber+" 0 R");Qn.publish("putTilingPatternDict"),ie(">>")}}(l.objectOid),function(){if(Object.keys(On).length>0){var l;for(l in ie("/ExtGState <<"),On)On.hasOwnProperty(l)&&On[l].objectNumber>=0&&ie("/"+l+" "+On[l].objectNumber+" 0 R");Qn.publish("putGStateDict"),ie(">>")}}(),function(){for(var l in ie("/XObject <<"),Gi)Gi.hasOwnProperty(l)&&Gi[l].objectNumber>=0&&ie("/"+l+" "+Gi[l].objectNumber+" 0 R");Qn.publish("putXobjectDict"),ie(">>")}(),ie(">>"),ie("endobj")},Fs=function(l){Wn[l.fontName]=Wn[l.fontName]||{},Wn[l.fontName][l.fontStyle]=l.id},ul=function(l,v,C,D,M){var J={id:"F"+(Object.keys(Hn).length+1).toString(10),postScriptName:l,fontName:v,fontStyle:C,encoding:D,isStandardFont:M||!1,metadata:{}};return Qn.publish("addFont",{font:J,instance:this}),Hn[J.id]=J,Fs(J),J.id},zi=x.__private__.pdfEscape=x.pdfEscape=function(l,v){return function(l,v){var C,D,M,J,Z,ge,Pe,ke,Ge;if(M=(v=v||{}).sourceEncoding||"Unicode",Z=v.outputEncoding,(v.autoencode||Z)&&Hn[pn].metadata&&Hn[pn].metadata[M]&&Hn[pn].metadata[M].encoding&&(J=Hn[pn].metadata[M].encoding,!Z&&Hn[pn].encoding&&(Z=Hn[pn].encoding),!Z&&J.codePages&&(Z=J.codePages[0]),"string"==typeof Z&&(Z=J[Z]),Z)){for(Pe=!1,ge=[],C=0,D=l.length;C<D;C++)(ke=Z[l.charCodeAt(C)])?ge.push(String.fromCharCode(ke)):ge.push(l[C]),ge[C].charCodeAt(0)>>8&&(Pe=!0);l=ge.join("")}for(C=l.length;void 0===Pe&&0!==C;)l.charCodeAt(C-1)>>8&&(Pe=!0),C--;if(!Pe)return l;for(ge=v.noBOM?[]:[254,255],C=0,D=l.length;C<D;C++){if((Ge=(ke=l.charCodeAt(C))>>8)>>8)throw new Error("Character at position "+C+" of string '"+l+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ge.push(Ge),ge.push(ke-(Ge<<8))}return String.fromCharCode.apply(void 0,ge)}(l,v).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ea=x.__private__.beginPage=function(l){gt[++oi]=[],rn[oi]={objId:0,contentsObjId:0,userUnit:Number(_),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(l[0]),topRightY:Number(l[1])}},In(oi),qe(gt[te])},Nr=function(l,v){var C,D,M;switch(A=v||A,"string"==typeof l&&(C=j(l.toLowerCase()),Array.isArray(C)&&(D=C[0],M=C[1])),Array.isArray(l)&&(D=l[0]*Nt,M=l[1]*Nt),isNaN(D)&&(D=h[0],M=h[1]),(D>14400||M>14400)&&(Rn.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),D=Math.min(14400,D),M=Math.min(14400,M)),h=[D,M],A.substr(0,1)){case"l":M>D&&(h=[M,D]);break;case"p":D>M&&(h=[M,D])}Ea(h),fc(Ns),ie(pA),0!==ml&&ie(ml+" J"),0!==vl&&ie(vl+" j"),Qn.publish("addPage",{pageNumber:oi})},su=function(l){l>0&&l<=oi&&(gt.splice(l,1),rn.splice(l,1),oi--,te>oi&&(te=oi),this.setPage(te))},In=function(l){l>0&&l<=oi&&(te=l)},zn=x.__private__.getNumberOfPages=x.getNumberOfPages=function(){return gt.length-1},uo=function(l,v,C){var D,M=void 0;return C=C||{},v=void 0!==v?v:Hn[pn].fontStyle,D=(l=void 0!==l?l:Hn[pn].fontName).toLowerCase(),void 0!==Wn[D]&&void 0!==Wn[D][v]?M=Wn[D][v]:void 0!==Wn[l]&&void 0!==Wn[l][v]?M=Wn[l][v]:!1===C.disableWarning&&Rn.warn("Unable to look up font label for font '"+l+"', '"+v+"'. Refer to getFontList() for available fonts."),M||C.noFallback||null==(M=Wn.times[v])&&(M=Wn.times.normal),M},lu=x.__private__.putInfo=function(){var l=kn(),v=function(D){return D};for(var C in null!==T&&(v=br.encryptor(l,0)),ie("<<"),ie("/Producer ("+zi(v("jsPDF "+Jt.version))+")"),qt)qt.hasOwnProperty(C)&&qt[C]&&ie("/"+C.substr(0,1).toUpperCase()+C.substr(1)+" ("+zi(v(qt[C]))+")");ie("/CreationDate ("+zi(v(je))+")"),ie(">>"),ie("endobj")},ho=x.__private__.putCatalog=function(l){var v=(l=l||{}).rootDictionaryObjId||Gr;switch(kn(),ie("<<"),ie("/Type /Catalog"),ie("/Pages "+v+" 0 R"),Mt||(Mt="fullwidth"),Mt){case"fullwidth":ie("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ie("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ie("/OpenAction [3 0 R /Fit]");break;case"original":ie("/OpenAction [3 0 R /XYZ null null 1]");break;default:var C=""+Mt;"%"===C.substr(C.length-1)&&(Mt=parseInt(Mt)/100),"number"==typeof Mt&&ie("/OpenAction [3 0 R /XYZ null null "+ze(Mt)+"]")}switch(_n||(_n="continuous"),_n){case"continuous":ie("/PageLayout /OneColumn");break;case"single":ie("/PageLayout /SinglePage");break;case"two":case"twoleft":ie("/PageLayout /TwoColumnLeft");break;case"tworight":ie("/PageLayout /TwoColumnRight")}nn&&ie("/PageMode /"+nn),Qn.publish("putCatalog"),ie(">>"),ie("endobj")},cu=x.__private__.putTrailer=function(){ie("trailer"),ie("<<"),ie("/Size "+(ve+1)),ie("/Root "+ve+" 0 R"),ie("/Info "+(ve-1)+" 0 R"),null!==T&&ie("/Encrypt "+br.oid+" 0 R"),ie("/ID [ <"+He+"> <"+He+"> ]"),ie(">>")},xs=x.__private__.putHeader=function(){ie("%PDF-"+q),ie("%\xba\xdf\xac\xe0")},uu=x.__private__.putXRef=function(){var l="0000000000";ie("xref"),ie("0 "+(ve+1)),ie("0000000000 65535 f ");for(var v=1;v<=ve;v++)ie("function"==typeof Ne[v]?(l+Ne[v]()).slice(-10)+" 00000 n ":void 0!==Ne[v]?(l+Ne[v]).slice(-10)+" 00000 n ":"0000000000 00000 n ")},xa=x.__private__.buildDocument=function(){ve=0,Le=0,Me=[],Ne=[],Bt=[],Gr=wi(),Wi=wi(),qe(Me),Qn.publish("buildDocument"),xs(),ZA(),function(){Qn.publish("putAdditionalObjects");for(var l=0;l<Bt.length;l++){var v=Bt[l];_r(v.objId,!0),ie(v.content),ie("endobj")}Qn.publish("postPutAdditionalObjects")}(),function(){var l=[];(function(){for(var l in Hn)Hn.hasOwnProperty(l)&&(!1===U||!0===U&&R.hasOwnProperty(l))&&Bs(Hn[l])})(),function(){var l;for(l in On)On.hasOwnProperty(l)&&lo(On[l])}(),function(){for(var l in Gi)Gi.hasOwnProperty(l)&&Ca(Gi[l])}(),function(l){var v;for(v in En)En.hasOwnProperty(v)&&(En[v]instanceof uA?ll(En[v]):En[v]instanceof Tn&&ws(En[v],l))}(l),Qn.publish("putResources"),l.forEach(Ci),Ci({resourcesOid:Wi,objectOid:Number.MAX_SAFE_INTEGER}),Qn.publish("postPutResources")}(),null!==T&&(br.oid=kn(),ie("<<"),ie("/Filter /Standard"),ie("/V "+br.v),ie("/R "+br.r),ie("/U <"+br.toHexString(br.U)+">"),ie("/O <"+br.toHexString(br.O)+">"),ie("/P "+br.P),ie(">>"),ie("endobj")),lu(),ho();var l=Le;return uu(),cu(),ie("startxref"),ie(""+l),ie("%%EOF"),qe(gt[te]),Me.join("\n")},Ho=x.__private__.getBlob=function(l){return new Blob([Vt(l)],{type:"application/pdf"})},Ds=x.output=x.__private__.output=((l=function(l,v){switch("string"==typeof(v=v||{})?v={filename:v}:v.filename=v.filename||"generated.pdf",l){case void 0:return xa();case"save":x.save(v.filename);break;case"arraybuffer":return Vt(xa());case"blob":return Ho(xa());case"bloburi":case"bloburl":if(void 0!==$t.URL&&"function"==typeof $t.URL.createObjectURL)return $t.URL&&$t.URL.createObjectURL(Ho(xa()))||void 0;Rn.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var C="",D=xa();try{C=zs(D)}catch{C=zs(unescape(encodeURIComponent(D)))}return"data:application/pdf;filename="+v.filename+";base64,"+C;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call($t)){var M="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",J=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';v.pdfObjectUrl&&(M=v.pdfObjectUrl,J="");var Z='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+M+'"'+J+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(v)+");<\/script></body></html>",ge=$t.open();return null!==ge&&ge.document.write(Z),ge}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call($t)){var Pe='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(v.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+v.filename+'" width="500px" height="400px" /></body></html>',ke=$t.open();if(null!==ke){ke.document.write(Pe);var Ge=this;ke.document.documentElement.querySelector("#pdfViewer").onload=function(){ke.document.title=v.filename,ke.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Ge.output("bloburl"))}}return ke}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call($t))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var dt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",v)+'"></iframe></body></html>',wt=$t.open();if(null!==wt&&(wt.document.write(dt),wt.document.title=v.filename),wt||typeof safari>"u")return wt;break;case"datauri":case"dataurl":return $t.document.location.href=this.output("datauristring",v);default:return null}}).foo=function(){try{return l.apply(this,arguments)}catch(D){var v=D.stack||"";~v.indexOf(" at ")&&(v=v.split(" at ")[1]);var C="Error in function "+v.split("\n")[0].split("<")[0]+": "+D.message;if(!$t.console)throw new Error(C);$t.console.error(C,D),$t.alert&&alert(C)}},l.foo.bar=l,l.foo),Is=function(l){return!0===Array.isArray(iA)&&iA.indexOf(l)>-1};switch(c){case"pt":Nt=1;break;case"mm":Nt=72/25.4;break;case"cm":Nt=72/2.54;break;case"in":Nt=72;break;case"px":Nt=1==Is("px_scaling")?.75:96/72;break;case"pc":case"em":Nt=12;break;case"ex":Nt=6;break;default:if("number"!=typeof c)throw new Error("Invalid unit: "+c);Nt=c}var br=null;Ot(),xe();var dl=x.__private__.getPageInfo=x.getPageInfo=function(l){if(isNaN(l)||l%1!=0)throw new Error("Invalid argument passed to
1jsPDF.getPageInfo");return{objId:rn[l].objId,pageNumber:l,pageContext:rn[l]}},An=x.__private__.getPageInfoByObjId=function(l){if(isNaN(l)||l%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var v in rn)if(rn[v].objId===l)break;return dl(v)},hl=x.__private__.getCurrentPageInfo=x.getCurrentPageInfo=function(){return{objId:rn[te].objId,pageNumber:te,pageContext:rn[te]}};x.addPage=function(){return Nr.apply(this,arguments),this},x.setPage=function(){return In.apply(this,arguments),qe.call(this,gt[te]),this},x.insertPage=function(l){return this.addPage(),this.movePage(te,l),this},x.movePage=function(l,v){var C,D;if(l>v){C=gt[l],D=rn[l];for(var M=l;M>v;M--)gt[M]=gt[M-1],rn[M]=rn[M-1];gt[v]=C,rn[v]=D,this.setPage(v)}else if(l<v){C=gt[l],D=rn[l];for(var J=l;J<v;J++)gt[J]=gt[J+1],rn[J]=rn[J+1];gt[v]=C,rn[v]=D,this.setPage(v)}return this},x.deletePage=function(){return su.apply(this,arguments),this},x.__private__.text=x.text=function(l,v,C,D,M){var J,Z,ge,Pe,ke,Ge,dt,wt,lt,nt=(D=D||{}).scope||this;if("number"==typeof l&&"number"==typeof v&&("string"==typeof C||Array.isArray(C))){var xt=C;C=v,v=l,l=xt}if(arguments[3]instanceof Wt?(ae("The transform parameter of text() with a Matrix value"),lt=M):(ge=arguments[4],Pe=arguments[5],"object"===mt(dt=arguments[3])&&null!==dt||("string"==typeof ge&&(Pe=ge,ge=null),"string"==typeof dt&&(Pe=dt,dt=null),"number"==typeof dt&&(ge=dt,dt=null),D={flags:dt,angle:ge,align:Pe})),isNaN(v)||isNaN(C)||null==l)throw new Error("Invalid arguments passed to jsPDF.text");if(0===l.length)return nt;var Ct,Tt="",Xt="number"==typeof D.lineHeightFactor?D.lineHeightFactor:MA,un=nt.internal.scaleFactor;function Un(_i){return _i=_i.split("\t").join(Array(D.TabLen||9).join(" ")),zi(_i,dt)}function cn(_i){for(var Bi,rr=_i.concat(),wr=[],Qs=rr.length;Qs--;)"string"==typeof(Bi=rr.shift())?wr.push(Bi):Array.isArray(_i)&&(1===Bi.length||void 0===Bi[1]&&void 0===Bi[2])?wr.push(Bi[0]):wr.push([Bi[0],Bi[1],Bi[2]]);return wr}function wn(_i,Bi){var rr;if("string"==typeof _i)rr=Bi(_i)[0];else if(Array.isArray(_i)){for(var wr,Qs,vd=_i.concat(),vu=[],Md=vd.length;Md--;)"string"==typeof(wr=vd.shift())?vu.push(Bi(wr)[0]):Array.isArray(wr)&&"string"==typeof wr[0]&&(Qs=Bi(wr[0],wr[1],wr[2]),vu.push([Qs[0],Qs[1],Qs[2]]));rr=vu}return rr}var Ui=!1,ti=!0;if("string"==typeof l)Ui=!0;else if(Array.isArray(l)){var Mn=l.concat();Z=[];for(var vi,Ln=Mn.length;Ln--;)("string"!=typeof(vi=Mn.shift())||Array.isArray(vi)&&"string"!=typeof vi[0])&&(ti=!1);Ui=ti}if(!1===Ui)throw new Error('Type of text must be string or Array. "'+l+'" is not recognized.');"string"==typeof l&&(l=l.match(/[\r?\n]/)?l.split(/\r\n|\r|\n/g):[l]);var Qi=Ft/nt.internal.scaleFactor,yr=Qi*(Xt-1);switch(D.baseline){case"bottom":C-=yr;break;case"top":C+=Qi-yr;break;case"hanging":C+=Qi-2*yr;break;case"middle":C+=Qi/2-yr}if((Ge=D.maxWidth||0)>0&&("string"==typeof l?l=nt.splitTextToSize(l,Ge):"[object Array]"===Object.prototype.toString.call(l)&&(l=l.reduce(function(_i,Bi){return _i.concat(nt.splitTextToSize(Bi,Ge))},[]))),Qn.publish("preProcessText",J={text:l,x:v,y:C,options:D,mutex:{pdfEscape:zi,activeFontKey:pn,fonts:Hn,activeFontSize:Ft}}),l=J.text,ge=(D=J.options).angle,lt instanceof Wt||!ge||"number"!=typeof ge)ge&&ge instanceof Wt&&(lt=ge);else{ge*=Math.PI/180,0===D.rotationDirection&&(ge=-ge),"advanced"===de&&(ge=-ge);var Tr=Math.cos(ge),nr=Math.sin(ge);lt=new Wt(Tr,nr,-nr,Tr,0,0)}"advanced"!==de||lt||(lt=tr),void 0!==(ke=D.charSpace||jo)&&(Tt+=Ee($(ke))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(wt=D.horizontalScale)&&(Tt+=Ee(100*wt)+" Tz\n");var si=-1,ur=void 0!==D.renderingMode?D.renderingMode:D.stroke,ir=nt.internal.getCurrentPageInfo().pageContext;switch(ur){case 0:case!1:case"fill":si=0;break;case 1:case!0:case"stroke":si=1;break;case 2:case"fillThenStroke":si=2;break;case 3:case"invisible":si=3;break;case 4:case"fillAndAddForClipping":si=4;break;case 5:case"strokeAndAddPathForClipping":si=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":si=6;break;case 7:case"addToPathForClipping":si=7}-1!==si?Tt+=si+" Tr\n":-1!==(void 0!==ir.usedRenderingMode?ir.usedRenderingMode:-1)&&(Tt+="0 Tr\n"),-1!==si&&(ir.usedRenderingMode=si),Pe=
vendor: 4,933 bytes, line 1
1D.align||"left";var zr,LA=Ft*Xt,Bl=nt.internal.pageSize.getWidth(),gu=Hn[pn];ke=D.charSpace||jo,Ge=D.maxWidth||0,dt=Object.assign({autoencode:!0,noBOM:!0},D.flags);var Sa=[],Us=function(_i){return nt.getStringUnitWidth(_i,{font:gu,charSpace:ke,fontSize:Ft,doKerning:!1})*Ft/un};if("[object Array]"===Object.prototype.toString.call(l)){var $r;Z=cn(l),"left"!==Pe&&(zr=Z.map(Us));var Jr,Go=0;if("right"===Pe){v-=zr[0],l=[],Ln=Z.length;for(var Na=0;Na<Ln;Na++)0===Na?(Jr=OA(v),$r=Ia(C)):(Jr=$(Go-zr[Na]),$r=-LA),l.push([Z[Na],Jr,$r]),Go=zr[Na]}else if("center"===Pe){v-=zr[0]/2,l=[],Ln=Z.length;for(var Ta=0;Ta<Ln;Ta++)0===Ta?(Jr=OA(v),$r=Ia(C)):(Jr=$((Go-zr[Ta])/2),$r=-LA),l.push([Z[Ta],Jr,$r]),Go=zr[Ta]}else if("left"===Pe){l=[],Ln=Z.length;for(var bl=0;bl<Ln;bl++)l.push(Z[bl])}else if("justify"===Pe&&"Identity-H"===gu.encoding){l=[],Ln=Z.length,Ge=0!==Ge?Ge:Bl;for(var mo=0,Xn=0;Xn<Ln;Xn++)if($r=0===Xn?Ia(C):-LA,Jr=0===Xn?OA(v):mo,Xn<Ln-1){var Ko=$((Ge-zr[Xn])/(Z[Xn].split(" ").length-1)),Ur=Z[Xn].split(" ");l.push([Ur[0]+" ",Jr,$r]),mo=0;for(var gA=1;gA<Ur.length;gA++){var Wo=(Us(Ur[gA-1]+" "+Ur[gA])-Us(Ur[gA]))*un+Ko;l.push(gA==Ur.length-1?[Ur[gA],Wo,0]:[Ur[gA]+" ",Wo,0]),mo-=Wo}}else l.push([Z[Xn],Jr,$r]);l.push(["",mo,0])}else{if("justify"!==Pe)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(l=[],Ln=Z.length,Ge=0!==Ge?Ge:Bl,Xn=0;Xn<Ln;Xn++)$r=0===Xn?Ia(C):-LA,Jr=0===Xn?OA(v):0,Sa.push(Xn<Ln-1?Ee($((Ge-zr[Xn])/(Z[Xn].split(" ").length-1))):0),l.push([Z[Xn],Jr,$r])}}!0===("boolean"==typeof D.R2L?D.R2L:Kt)&&(l=wn(l,function(_i,Bi,rr){return[_i.split("").reverse().join(""),Bi,rr]})),Qn.publish("postProcessText",J={text:l,x:v,y:C,options:D,mutex:{pdfEscape:zi,activeFontKey:pn,fonts:Hn,activeFontSize:Ft}}),l=J.text,Ct=J.mutex.isHex||!1;var yl=Hn[pn].encoding;"WinAnsiEncoding"!==yl&&"StandardEncoding"!==yl||(l=wn(l,function(_i,Bi,rr){return[Un(_i),Bi,rr]})),Z=cn(l),l=[];for(var zo,$o,wl,Bc=Array.isArray(Z[0])?1:0,Cl="",md=function(_i,Bi,rr){var wr="";return rr instanceof Wt?(rr="number"==typeof D.angle?Ti(rr,new Wt(1,0,0,1,_i,Bi)):Ti(new Wt(1,0,0,1,_i,Bi),rr),"advanced"===de&&(rr=Ti(new Wt(1,0,0,-1,0,0),rr)),wr=rr.join(" ")+" Tm\n"):wr=Ee(_i)+" "+Ee(Bi)+" Td\n",wr},Ua=0;Ua<Z.length;Ua++){switch(Cl="",Bc){case 1:wl=(Ct?"<":"(")+Z[Ua][0]+(Ct?">":")"),zo=parseFloat(Z[Ua][1]),$o=parseFloat(Z[Ua][2]);break;case 0:wl=(Ct?"<":"(")+Z[Ua]+(Ct?">":")"),zo=OA(v),$o=Ia(C)}void 0!==Sa&&void 0!==Sa[Ua]&&(Cl=Sa[Ua]+" Tw\n"),0===Ua?l.push(Cl+md(zo,$o,lt)+wl):0===Bc?l.push(Cl+wl):1===Bc&&l.push(Cl+md(zo,$o,lt)+wl)}l=l.join(0===Bc?" Tj\nT* ":" Tj\n"),l+=" Tj\n";var Qa="BT\n/";return Qa+=pn+" "+Ft+" Tf\n",Qa+=Ee(Ft*Xt)+" TL\n",Qa+=Vo+"\n",Qa+=Tt,Qa+=l,ie(Qa+="ET"),R[pn]=!0,nt};var du=x.__private__.clip=x.clip=function(l){return ie("evenodd"===l?"W*":"W"),this};x.clipEvenOdd=function(){return du("evenodd")},x.__private__.discardPath=x.discardPath=function(){return ie("n"),this};var UA=x.__private__.isValidStyle=function(l){var v=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(l)&&(v=!0),v};x.__private__.setDefaultPathOperation=x.setDefaultPathOperation=function(l){return UA(l)&&(E=l),this};var uc=x.__private__.getStyle=x.getStyle=function(l){var v=E;switch(l){case"D":case"S":v="S";break;case"F":v="f";break;case"FD":case"DF":v="B";break;case"f":case"f*":case"B":case"B*":v=l}return v},dc=x.close=function(){return ie("h"),this};x.stroke=function(){return ie("S"),this},x.fill=function(l){return ko("f",l),this},x.fillEvenOdd=function(l){return ko("f*",l),this},x.fillStroke=function(l){return ko("B",l),this},x.fillStrokeEvenOdd=function(l){return ko("B*",l),this};var ko=function(l,v){"object"===mt(v)?hc(v,l):ie(l)},fo=function(l){null===l||"advanced"===de&&void 0===l||(l=uc(l),ie(l))};function Wr(l,v,C,D,M){var J=new Tn(v||this.boundingBox,C||this.xStep,D||this.yStep,this.gState,M||this.matrix);J.stream=this.stream;var Z=l+"$$"+this.cloneIndex+++"$$";return Ki(Z,J),J}var hc=function(l,v){var C=wa[l.key],D=En[C];if(D instanceof uA)ie("q"),ie(Ss(v)),D.gState&&x.setGState(D.gState),ie(l.matrix.toString()+" cm"),ie("/"+C+" sh"),ie("Q");else if(D instanceof Tn){var M=new Wt(1,0,0,-1,0,g());l.matrix&&(M=M.multiply(l.matrix||tr),C=Wr.call(D,l.key,l.boundingBox,l.xStep,l.yStep,M).id),ie("q"),ie("/Pattern cs"),ie("/"+C+" scn"),D.gState&&x.setGState(D.gState),ie(v),ie("Q")}},Ss=function(l){switch(l){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},fl=x.moveTo=function(l,v){return ie(Ee($(l))+" "+Ee(oe(v))+" m"),this},po=x.lineTo=function(l,v){return ie(Ee($(l))+" "+Ee(oe(v))+" l"),this},QA=x.curveTo=function(l,v,C,D,M,J){return ie([Ee($(l)),Ee(oe(v)),Ee($(C)),Ee(oe(D)),Ee($(M)),Ee(oe(J)),"c"].join(" ")),this};x.__private__.line=x.line=function(l,v,C,D,M){if(isNaN(l)||isNaN(v)||isNaN(C)||isNaN(D)||!UA(M))throw new Error("Invalid arguments passed to
1jsPDF.line");return"compat"===de?this.lines([[C-l,D-v]],l,v,[1,1],M||"S"):this.lines([[C-l,D-v]],l,v,[1,1]).stroke()},x.__private__.lines=x.lines=function(l,v,C,D,M,J){var Z,ge,Pe,ke,Ge,xt,Tt,Ct;if("number"==typeof l&&(Ct=C,C=v,v=l,l=Ct),D=D||[1,1],J=J||!1,isNaN(v)||isNaN(C)||!Array.isArray(l)||!Array.isArray(D)||!UA(M)||"boolean"!=typeof J)throw new Error("Invalid arguments passed to jsPDF.lines");for(fl(v,C),Z=D[0],ge=D[1],ke=l.length,xt=v,Tt=C,Pe=0;Pe<ke;Pe++)2===(Ge=l[Pe]).length?po(xt=Ge[0]*Z+xt,Tt=Ge[1]*ge+Tt):QA(Ge[0]*Z+xt,Ge[1]*ge+Tt,Ge[2]*Z+xt,Ge[3]*ge+Tt,xt=Ge[4]*Z+xt,Tt=Ge[5]*ge+Tt);return J&&dc(),fo(M),this},x.path=function(l){for(var v=0;v<l.length;v++){var C=l[v],D=C.c;switch(C.op){case"m":fl(D[0],D[1]);break;case"l":po(D[0],D[1]);break;case"c":QA.apply(this,D);break;case"h":dc()}}return this},x.__private__.rect=x.rect=function(l,v,C,D,M){if(isNaN(l)||isNaN(v)||isNaN(C)||isNaN(D)||!UA(M))throw new Error("Invalid arguments passed to jsPDF.rect");return"compat"===de&&(D=-D),ie([Ee($(l)),Ee(oe(v)),Ee($(C)),Ee($(D)),"re"].join(" ")),fo(M),this},x.__private__.triangle=x.triangle=function(l,v,C,D,M,J,Z){if(isNaN(l)||isNaN(v)||isNaN(C)||isNaN(D)||isNaN(M)||isNaN(J)||!UA(Z))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[C-l,D-v],[M-C,J-D],[l-M,v-J]],l,v,[1,1],Z,!0),this},x.__private__.roundedRect=x.roundedRect=function(l,v,C,D,M,J,Z){if(isNaN(l)||isNaN(v)||isNaN(C)||isNaN(D)||isNaN(M)||isNaN(J)||!UA(Z))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var ge=4/3*(Math.SQRT2-1);return M=Math.min(M,.5*C),J=Math.min(J,.5*D),this.lines([[C-2*M,0],[M*ge,0,M,J-J*ge,M,J],[0,D-2*J],[0,J*ge,-M*ge,J,-M,J],[2*M-C,0],[-M*ge,0,-M,-J*ge,-M,-J],[0,2*J-D],[0,-J*ge,M*ge,-J,M,-J]],l+M,v,[1,1],Z,!0),this},x.__private__.ellipse=x.ellipse=function(l,v,C,D,M){if(isNaN(l)||isNaN(v)||isNaN(C)||isNaN(D)||!UA(M))throw new Error("Invalid arguments passed to jsPDF.ellipse");var J=4/3*(Math.SQRT2-1)*C,Z=4/3*(Math.SQRT2-1)*D;return fl(l+C,v),QA(l+C,v-Z,l+J,v-D,l,v-D),QA(l-J,v-D,l-C,v-Z,l-C,v),QA(l-C,v+Z,l-J,v+D,l,v+D),QA(l+J,v+D,l+C,v+Z,l+C,v),fo(M),this},x.__private__.circle=x.circle=function(l,v,C,D){if(isNaN(l)||isNaN(v)||isNaN(C)||!UA(D))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(l,v,C,C,D)},x.setFont=function(l,v,C){return C&&(v=At(v,C)),pn=uo(l,v,{disableWarning:!1}),this};var Da=x.__private__.getFont=x.getFont=function(){return Hn[uo.apply(x,arguments)]};x.__private__.getFontList=x.getFontList=function(){var l,v,C={};for(l in Wn)if(Wn.hasOwnProperty(l))for(v in C[l]=[],Wn[l])Wn[l].hasOwnProperty(v)&&C[l].push(v);return C},x.addFont=function(l,v,C,D,M){var J=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==J.indexOf(arguments[3])?M=arguments[3]:arguments[3]&&-1==J.indexOf(arguments[3])&&(C=At(C,D)),ul.call(this,l,v,C,M=M||"Identity-H")};var MA,Ns=a.lineWidth||.200025,aA=x.__private__.getLineWidth=x.getLineWidth=function(){return Ns},fc=x.__private__.setLineWidth=x.setLineWidth=function(l){return Ns=l,ie(Ee($(l))+" w"),this};x.__private__.setLineDash=Jt.API.setLineDash=Jt.API.setLineDashPattern=function(l,v){if(l=l||[],v=v||0,isNaN(v)||!Array.isArray(l))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return l=l.map(function(C){return Ee($(C))}).join(" "),v=Ee($(v)),ie("["+l+"] "+v+" d"),this};var pc=x.__private__.getLineHeight=x.getLineHeight=function(){return Ft*MA};x.__private__.getLineHeight=x.getLineHeight=function(){return Ft*MA};var pl=x.__private__.setLineHeightFactor=x.setLineHeightFactor=function(l){return"number"==typeof(l=l||1.15)&&(MA=l),this},gc=x.__private__.getLineHeightFactor=x.getLineHeightFactor=function(){return MA};pl(a.lineHeight);var OA=x.__private__.getHorizontalCoordinate=function(l){return $(l)},Ia=x.__private__.getVerticalCoordinate=function(l){return"advanced"===de?l:rn[te].mediaBox.topRightY-rn[te].mediaBox.bottomLeftY-$(l)},hu=x.__private__.getHorizontalCoordinateString=x.getHorizontalCoordinateString=function(l){return Ee(OA(l))},go=x.__private__.getVerticalCoordinateString=x.getVerticalCoordinateString=function(l){return Ee(Ia(l))},pA=a.strokeColor||"0 G";x.__private__.getStrokeColor=x.getDrawColor=function(){return Br(pA)},x.__private__.setStrokeColor=x.setDrawColor=function(l,v,C,D){return pA=rA({ch1:l,ch2:v,ch3:C,ch4:D,pdfColorType:"draw",precision:2}),ie(pA),this};var gl=a.fillColor||"0 g";x.__private__.getFillColor=x.getFillColor=function(){return Br(gl)},x.__private__.setFillColor=x.setFillColor=function(l,v,C,D){return gl=rA({ch1:l,ch2:v,ch3:C,ch4:D,pdfColorType:"fill",precision:2}),ie(gl),this};var Vo=a.textColor||"0 g",fu=x.__private__.getTextColor=x.getTextColor=function(){return Br(Vo)};x.__private__.setTextColor=x.setTextColor=function(l,v,C,D){return Vo=rA({ch1:l,ch2:v,ch3:C,ch4:D,pdfColorType:"text",precision:3}),this};
vendor: 5,032 bytes, line 1
1var jo=a.charSpace,pu=x.__private__.getCharSpace=x.getCharSpace=function(){return parseFloat(jo||0)};x.__private__.setCharSpace=x.setCharSpace=function(l){if(isNaN(l))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return jo=l,this};var ml=0;x.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},x.__private__.setLineCap=x.setLineCap=function(l){var v=x.CapJoinStyles[l];if(void 0===v)throw new Error("Line cap style of '"+l+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return ml=v,ie(v+" J"),this};var vl=0;x.__private__.setLineJoin=x.setLineJoin=function(l){var v=x.CapJoinStyles[l];if(void 0===v)throw new Error("Line join style of '"+l+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return vl=v,ie(v+" j"),this},x.__private__.setLineMiterLimit=x.__private__.setMiterLimit=x.setLineMiterLimit=x.setMiterLimit=function(l){if(l=l||0,isNaN(l))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ie(Ee($(l))+" M"),this},x.GState=No,x.setGState=function(l){(l="string"==typeof l?On[fA[l]]:mc(null,l)).equals(SA)||(ie("/"+l.id+" gs"),SA=l)};var mc=function(l,v){if(!l||!fA[l]){var C=!1;for(var D in On)if(On.hasOwnProperty(D)&&On[D].equals(v)){C=!0;break}if(C)v=On[D];else{var M="GS"+(Object.keys(On).length+1).toString(10);On[M]=v,v.id=M}return l&&(fA[l]=v.id),Qn.publish("addGState",v),v}};x.addGState=function(l,v){return mc(l,v),this},x.saveGraphicsState=function(){return ie("q"),nA.push({key:pn,size:Ft,color:Vo}),this},x.restoreGraphicsState=function(){ie("Q");var l=nA.pop();return pn=l.key,Ft=l.size,Vo=l.color,SA=null,this},x.setCurrentTransformationMatrix=function(l){return ie(l.toString()+" cm"),this},x.comment=function(l){return ie("#"+l),this};var Ts=function(l,v){var C=l||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return C},set:function(J){isNaN(J)||(C=parseFloat(J))}});var D=v||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return D},set:function(J){isNaN(J)||(D=parseFloat(J))}});var M="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return M},set:function(J){M=J.toString()}}),this},_l=function(l,v,C,D){Ts.call(this,l,v),this.type="rect";var M=C||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return M},set:function(Z){isNaN(Z)||(M=parseFloat(Z))}});var J=D||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return J},set:function(Z){isNaN(Z)||(J=parseFloat(Z))}}),this},d=function(){this.page=oi,this.currentPage=te,this.pages=gt.slice(0),this.pagesContext=rn.slice(0),this.x=er,this.y=yn,this.matrix=vr,this.width=r(te),this.height=g(te),this.outputDestination=It,this.id="",this.objectNumber=-1};d.prototype.restore=function(){oi=this.page,rn=this.pagesContext,gt=this.pages,er=this.x,yn=this.y,vr=this.matrix,s(te=this.currentPage,this.width),b(te,this.height),It=this.outputDestination};var n=function(l,v,C,D,M){cr.push(new d),oi=te=0,gt=[],er=l,yn=v,vr=M,Ea([C,D])};for(var t in x.beginFormObject=function(l,v,C,D,M){return n(l,v,C,D,M),this},x.endFormObject=function(l){return function(l){if(Dn[l])cr.pop().restore();else{var v=new d,C="Xo"+(Object.keys(Gi).length+1).toString(10);v.id=C,Dn[l]=C,Gi[C]=v,Qn.publish("addFormObject",v),cr.pop().restore()}}(l),this},x.doFormObject=function(l,v){var C=Gi[Dn[l]];return ie("q"),ie(v.toString()+" cm"),ie("/"+C.id+" Do"),ie("Q"),this},x.getFormObject=function(l){var v=Gi[Dn[l]];return{x:v.x,y:v.y,width:v.width,height:v.height,matrix:v.matrix}},x.save=function(l,v){return l=l||"generated.pdf",(v=v||{}).returnPromise=v.returnPromise||!1,!1===v.returnPromise?(ha(Ho(xa()),l),"function"==typeof ha.unload&&$t.setTimeout&&setTimeout(ha.unload,911),this):new Promise(function(C,D){try{var M=ha(Ho(xa()),l);"function"==typeof ha.unload&&$t.setTimeout&&setTimeout(ha.unload,911),C(M)}catch(J){D(J.message)}})},Jt.API)Jt.API.hasOwnProperty(t)&&("events"===t&&Jt.API.events.length?function(l,v){var D,M;for(M=v.length-1;-1!==M;M--)l.subscribe.apply(l,[v[M][0]].concat("function"==typeof(D=v[M][1])?[D]:D))}(Qn,Jt.API.events):x[t]=Jt.API[t]);var r=x.getPageWidth=function(l){return(rn[l=l||te].mediaBox.topRightX-rn[l].mediaBox.bottomLeftX)/Nt},s=x.setPageWidth=function(l,v){rn[l].mediaBox.topRightX=v*Nt+rn[l].mediaBox.bottomLeftX},g=x.getPageHeight=function(l){return(rn[l=l||te].mediaBox.topRightY-rn[l].mediaBox.bottomLeftY)/Nt},b=x.setPageHeight=function(l,v){rn[l].mediaBox.topRightY=v*Nt+rn[l].mediaBox.bottomLeftY};return x.internal={pdfEscape:zi,getStyle:uc,getFont:Da,getFontSize:Et,getCharSpace:pu,getTextColor:fu,getLineHeight:pc,getLineHeightFactor:gc,getLineWidth:aA,write:ln,getHorizontalCoordinate:OA,getVerticalCoordinate:Ia,getCoordinateString:hu,getVerticalCoordinateString:go,collections:{},newObject:kn,newAdditionalObject:so,newObjectDeferred:wi,newObjectDeferredBegin:_r,getFilters:Kr,putStream:AA,events:Qn,scaleFactor:Nt,pageSize:{getWidth:function(){return r(te)}
vendor: 1,740 bytes, line 1
1,setWidth:function(l){s(te,l)},getHeight:function(){return g(te)},setHeight:function(l){b(te,l)}},encryptionOptions:T,encryption:br,getEncryptor:function(l){return null!==T?br.encryptor(l,0):function(v){return v}},output:Ds,getNumberOfPages:zn,pages:gt,out:ie,f2:ze,f3:W,getPageInfo:dl,getPageInfoByObjId:An,getCurrentPageInfo:hl,getPDFVersion:z,Point:Ts,Rectangle:_l,Matrix:Wt,hasHotfix:Is},Object.defineProperty(x.internal.pageSize,"width",{get:function(){return r(te)},set:function(l){s(te,l)},enumerable:!0,configurable:!0}),Object.defineProperty(x.internal.pageSize,"height",{get:function(){return g(te)},set:function(l){b(te,l)},enumerable:!0,configurable:!0}),function(l){for(var v=0,C=vt.length;v<C;v++){var D=ul.call(this,l[v][0],l[v][1],l[v][2],vt[v][3],!0);!1===U&&(R[D]=!0);var M=l[v][0].split("-");Fs({id:D,fontName:M[0],fontStyle:M[1]||""})}Qn.publish("addFonts",{fonts:Hn,dictionary:Wn})}.call(x,vt),pn="F1",Nr(h,A),Qn.publish("initialized"),x}Jn.prototype.lsbFirstWord=function(a){return String.fromCharCode(255&a,a>>8&255,a>>16&255,a>>24&255)},Jn.prototype.toHexString=function(a){return a.split("").map(function(o){return("0"+(255&o.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Jn.prototype.hexToBytes=function(a){for(var o=[],A=0;A<a.length;A+=2)o.push(String.fromCharCode(parseInt(a.substr(A,2),16)));return o.join("")},Jn.prototype.processOwnerPassword=function(a,o){return fa(Pt(o).substr(0,5),a)},Jn.prototype.encryptor=function(a,o){var A=Pt(this.encryptionKey+String.fromCharCode(255&a,a>>8&255,a>>16&255,255&o,o>>8&255)).substr(0,10);return function(c){return fa(A,c)}},No.prototype.equals=function(a){var o,A="id,objectNumber,equals";if(!a||mt(a)!==mt(this))return!1;var c=0;for(o in this)if(!(A.indexOf(o)>
vendor: 24,554 bytes, line 1
1=0)){if(this.hasOwnProperty(o)&&!a.hasOwnProperty(o)||this[o]!==a[o])return!1;c++}for(o in a)a.hasOwnProperty(o)&&A.indexOf(o)<0&&c--;return 0===c},Jt.API={events:[]},Jt.version="3.0.1";var Yn=Jt.API,$s=1,pa=function(a){return a.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},YA=function(a){return a.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},an=function(a){return a.toFixed(2)},qA=function(a){return a.toFixed(5)};Yn.__acroform__={};var qn=function(a,o){a.prototype=Object.create(o.prototype),a.prototype.constructor=a},XA=function(a){return a*$s},Zi=function(a){var o=new xu,A=kt.internal.getHeight(a)||0,c=kt.internal.getWidth(a)||0;return o.BBox=[0,0,Number(an(c)),Number(an(A))],o},Vi=Yn.__acroform__.setBit=function(a,o){if(a=a||0,o=o||0,isNaN(a)||isNaN(o))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return a|1<<o},ga=Yn.__acroform__.clearBit=function(a,o){if(a=a||0,o=o||0,isNaN(a)||isNaN(o))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return a&~(1<<o)},Qc=Yn.__acroform__.getBit=function(a,o){if(isNaN(a)||isNaN(o))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return a&1<<o?1:0},fi=Yn.__acroform__.getBitForPdf=function(a,o){if(isNaN(a)||isNaN(o))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Qc(a,o-1)},Ai=Yn.__acroform__.setBitForPdf=function(a,o){if(isNaN(a)||isNaN(o))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Vi(a,o-1)},pi=Yn.__acroform__.clearBitForPdf=function(a,o){if(isNaN(a)||isNaN(o))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return ga(a,o-1)},Cu=Yn.__acroform__.calculateCoordinates=function(a,o){var A=o.internal.getHorizontalCoordinate,c=o.internal.getVerticalCoordinate,h=a[0],f=a[1],m=a[2],_=a[3],y={};return y.lowerLeft_X=A(h)||0,y.lowerLeft_Y=c(f+_)||0,y.upperRight_X=A(h+m)||0,y.upperRight_Y=c(f)||0,[Number(an(y.lowerLeft_X)),Number(an(y.lowerLeft_Y)),Number(an(y.upperRight_X)),Number(an(y.upperRight_Y))]},ss=function(a){if(a.appearanceStreamContent)return a.appearanceStreamContent;if(a.V||a.DV){var o=[],c=dA(a,a._V||a.DV),h=a.scope.internal.getFont(a.fontName,a.fontStyle).id;o.push("/Tx BMC"),o.push("q"),o.push("BT"),o.push(a.scope.__private__.encodeColorString(a.color)),o.push("/"+h+" "+an(c.fontSize)+" Tf"),o.push("1 0 0 1 0 0 Tm"),o.push(c.text),o.push("ET"),o.push("Q"),o.push("EMC");var f=Zi(a);return f.scope=a.scope,f.stream=o.join("\n"),f}},dA=function(a,o){var A=0===a.fontSize?a.maxFontSize:a.fontSize,c={text:"",fontSize:""},h=(o=")"==(o="("==o.substr(0,1)?o.substr(1):o).substr(o.length-1)?o.substr(0,o.length-1):o).split(" ");h=h.map(a.multiline?function(W){return W.split("\n")}:function(W){return[W]});var f=A,m=kt.internal.getHeight(a)||0;m=m<0?-m:m;var W,_=kt.internal.getWidth(a)||0;_=_<0?-_:_,f++;e:for(;f>0;){o="",f--;var E,T,U=Js("3",a,f).height,R=a.multiline?m-f:(m-U)/2,x=R+=2,q=0,z=0,ee=0;if(f<=0){o="(...) Tj\n",o+="% Width of Text: "+Js(o,a,f=12).width+", FieldWidth:"+_+"\n";break}for(var j="",X=0,de=0;de<h.length;de++)if(h.hasOwnProperty(de)){var me=!1;if(1!==h[de].length&&ee!==h[de].length-1){if((U+2)*(X+2)+2>m)continue e;j+=h[de][ee],me=!0,z=de,de--}else{j=" "==(j+=h[de][ee]+" ").substr(j.length-1)?j.substr(0,j.length-1):j;var Re=parseInt(de),At=(W=Re)+1<h.length&&Js(j+" "+h[W+1][0],a,f).width<=_-4,Ee=de>=h.length-1;if(At&&!Ee){j+=" ",ee=0;continue}if(At||Ee){if(Ee)z=Re;else if(a.multiline&&(U+2)*(X+2)+2>m)continue e}else{if(!a.multiline||(U+2)*(X+2)+2>m)continue e;z=Re}}for(var ae="",Fe=q;Fe<=z;Fe++){var ze=h[Fe];if(a.multiline){if(Fe===z){ae+=ze[ee]+" ",ee=(ee+1)%ze.length;continue}if(Fe===q){ae+=ze[ze.length-1]+" ";continue}}ae+=ze[0]+" "}switch(ae=" "==ae.substr(ae.length-1)?ae.substr(0,ae.length-1):ae,T=Js(ae,a,f).width,a.textAlign){case"right":E=_-T-2;break;case"center":E=(_-T)/2;break;default:E=2}o+=an(E)+" "+an(x)+" Td\n",o+="("+pa(ae)+") Tj\n",o+=-an(E)+" 0 Td\n",x=-(f+2),T=0,q=me?z:z+1,X++,j=""}break}return c.text=o,c.fontSize=f,c},Js=function(a,o,A){var c=o.scope.internal.getFont(o.fontName,o.fontStyle),h=o.scope.getStringUnitWidth(a,{font:c,fontSize:parseFloat(A),charSpace:0})*parseFloat(A);return{height:o.scope.getStringUnitWidth("3",{font:c,fontSize:parseFloat(A),charSpace:0})*parseFloat(A)*1.5,width:h}},Fu={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Ys=function(a,o){var A={type:"reference",object:a};void 0===o.internal.getPageInfo(a.page).pageContext.annotations.find(function(c){return c.type===A.type&&c.object===A.object})&&o.internal.getPageInfo(a.page).pageContext.annotations.push(A)},Oc=Yn.__acroform__.arrayToPdfArray=function(a,o,A){var c=function(m){return m};if(Array.isArray(a)){for(var h="[",f=0;f<a.length;f++)switch(0!==f&&(h+=" "),mt(a[f])){case"boolean":case"number":case"object":h+=a[f].toString();break;case"string":"/"!==a[f].substr(0,1)?(void 0!==o&&A&&(c=A.internal.getEncryptor(o)),h+="("+pa(c(a[f].toString()))+")"):h+=a[f].toString()}return h+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Vr=function(a,o,A){var c=function(h){return h};return void 0!==o&&A&&(c=A.internal.getEncryptor(o)),(a=a||"").toString(),"("+pa(c(a))+")"},DA=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(a){this._objId=a}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};DA.prototype.toString=function(){return this.objId+" 0 R"},DA.prototype.putStream=function(){var a=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:a,objectId:this.objId}),this.scope.internal.out("endobj")},DA.prototype.getKeyValueListForStream=function(){var a=[],o=Object.getOwnPropertyNames(this).filter(function(f){return"content"!=f&&"appearanceStreamContent"!=f&&"scope"!=f&&"objId"!=f&&"_"!=f.substring(0,1)});for(var A in o)if(!1===Object.getOwnPropertyDescriptor(this,o[A]).configurable){var c=o[A],h=this[c];h&&(Array.isArray(h)?a.push({key:c,value:Oc(h,this.objId,this.scope)}):h instanceof DA?(h.scope=this.scope,a.push({key:c,value:h.objId+" 0 R"})):"function"!=typeof h&&a.push({key:c,value:h}))}return a};var xu=function(){DA.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var a,o=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return o},set:function(A){o=A}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(A){a=A.trim()},get:function(){return a||null}})};qn(xu,DA);var Du=function(){DA.call(this);var a,o=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return o.length>0?o:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return o}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(a){var A=function(c){return c};return this.scope&&(A=this.scope.internal.getEncryptor(this.objId)),"("+pa(A(a))+")"}},set:function(A){a=A}})};qn(Du,DA);var Ir=function a(){DA.call(this);var o=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return o},set:function(j){if(isNaN(j))throw new Error('Invalid value "'+j+'" for attribute F supplied.');o=j}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!fi(o,3)},set:function(j){this.F=j?Ai(o,3):pi(o,3)}});var A=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return A},set:function(j){if(isNaN(j))throw new Error('Invalid value "'+j+'" for attribute Ff supplied.');A=j}});var c=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==c.length)return c},set:function(j){c=void 0!==j?j:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!c||isNaN(c[0])?0:c[0]},set:function(j){c[0]=j}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!c||isNaN(c[1])?0:c[1]},set:function(j){c[1]=j}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!c||isNaN(c[2])?0:c[2]},set:function(j){c[2]=j}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!c||isNaN(c[3])?0:c[3]},set:function(j){c[3]=j}});var h="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return h},set:function(j){switch(j){case"/Btn":case"/Tx":case"/Ch":case"/Sig":h=j;break;default:throw new Error('Invalid value "'+j+'" for attribute FT supplied.')}}});var f=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!f||f.length<1){if(this instanceof Xs)return;f="FieldObject"+a.FieldNum++}var j=function(X){return X};return this.scope&&(j=this.scope.internal.getEncryptor(this.objId)),"("+pa(j(f))+")"},set:function(j){f=j.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return f},set:function(j){f=j}});var m="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return m},set:function(j){m=j}});var _="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return _},set:function(j){_=j}});var y=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return y},set:function(j){y=j}});var E=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===E?50/$s:E},set:function(j){E=j}});var T="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return T},set:function(j){T=j}});var U="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!U||this instanceof Xs||this instanceof to))return Vr(U,this.objId,this.scope)},set:function(j){j=j.toString(),U=j}});var R=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(R)return this instanceof ji?R:Vr(R,this.objId,this.scope)},set:function(j){j=j.toString(),R=this instanceof ji?j:"("===j.substr(0,1)?YA(j.substr(1,j.length-2)):YA(j)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ji?YA(R.substr(1,R.length-1)):R},set:function(j){j=j.toString(),R=this instanceof ji?"/"+j:j}});var x=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(x)return x},set:function(j){this.V=j}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(x)return this instanceof ji?x:Vr(x,this.objId,this.scope)},set:function(j){j=j.toString(),x=this instanceof ji?j:"("===j.substr(0,1)?YA(j.substr(1,j.length-2)):YA(j)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ji?YA(x.substr(1,x.length-1)):x},set:function(j){j=j.toString(),x=this instanceof ji?"/"+j:j}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var q,z=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return z},set:function(j){z=j=!!j}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(q)return q},set:function(j){q=j}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,1)},set:function(j){this.Ff=j?Ai(this.Ff,1):pi(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,2)},set:function(j){this.Ff=j?Ai(this.Ff,2):pi(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,3)},set:function(j){this.Ff=j?Ai(this.Ff,3):pi(this.Ff,3)}});var ee=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==ee)return ee},set:function(j){if(-1===[0,1,2].indexOf(j))throw new Error('Invalid value "'+j+'" for attribute Q supplied.');ee=j}}),Object.defineProperty(this,"textAlign",{get:function(){var j;switch(ee){case 0:default:j="left";break;case 1:j="center";break;case 2:j="right"}return j},configurable:!0,enumerable:!0,set:function(j){switch(j){case"right":case 2:ee=2;break;case"center":case 1:ee=1;break;default:ee=0}}})};qn(Ir,DA);var ls=function(){Ir.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var a=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return a},set:function(A){a=A}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return a},set:function(A){a=A}});var o=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Oc(o,this.objId,this.scope)},set:function(A){var c,h;h=[],"string"==typeof(c=A)&&(h=function(f,m,_){_||(_=1);for(var y,E=[];y=m.exec(f);)E.push(y[_]);return E}(c,/\((.*?)\)/g)),o=h}}),this.getOptions=function(){return o},this.setOptions=function(A){o=A,this.sort&&o.sort()},this.addOption=function(A){A=(A=A||"").toString(),o.push(A),this.sort&&o.sort()},this.removeOption=function(A,c){for(c=c||!1,A=(A=A||"").toString();-1!==o.indexOf(A)&&(o.splice(o.indexOf(A),1),!1!==c););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,18)},set:function(A){this.Ff=A?Ai(this.Ff,18):pi(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,19)},set:function(A){!0===this.combo&&(this.Ff=A?Ai(this.Ff,19):pi(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,20)},set:function(A){A?(this.Ff=Ai(this.Ff,20),o.sort()):this.Ff=pi(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,22)},set:function(A){this.Ff=A?Ai(this.Ff,22):pi(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,23)},set:function(A){this.Ff=A?Ai(this.Ff,23):pi(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,27)},set:function(A){this.Ff=A?Ai(this.Ff,27):pi(this.Ff,27)}}),this.hasAppearanceStream=!1};qn(ls,Ir);var To=function(){ls.call(this),this.fontName="helvetica",this.combo=!1};qn(To,ls);var Uo=function(){To.call(this),this.combo=!0};qn(Uo,To);var qs=function(){Uo.call(this),this.edit=!0};qn(qs,Uo);var ji=function(){Ir.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,15)},set:function(A){this.Ff=A?Ai(this.Ff,15):pi(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,16)},set:function(A){this.Ff=A?Ai(this.Ff,16):pi(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,17)},set:function(A){this.Ff=A?Ai(this.Ff,17):pi(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,26)},set:function(A){this.Ff=A?Ai(this.Ff,26):pi(this.Ff,26)}});var a,o={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var A=function(f){return f};if(this.scope&&(A=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(o).length){var c,h=[];for(c in h.push("<<"),o)h.push("/"+c+" ("+pa(A(o[c]))+")");return h.push(">>"),h.join("\n")}},set:function(A){"object"===mt(A)&&(o=A)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return o.CA||""},set:function(A){"string"==typeof A&&(o.CA=A)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return a},set:function(A){a=A}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return a.substr(1,a.length-1)},set:function(A){a="/"+A}})};qn(ji,Ir);var cs=function(){ji.call(this),this.pushButton=!0};qn(cs,ji);var eo=function(){ji.call(this),this.radio=!0,this.pushButton=!1;var a=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return a},set:function(o){a=void 0!==o?o:[]}})};qn(eo,ji);var Xs=function(){var a,o;Ir.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return a},set:function(h){a=h}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return o},set:function(h){o=h}});var A,c={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var h=function(_){return _};this.scope&&(h=this.scope.internal.getEncryptor(this.objId));var f,m=[];for(f in m.push("<<"),c)m.push("/"+f+" ("+pa(h(c[f]))+")");return m.push(">>"),m.join("\n")},set:function(h){"object"===mt(h)&&(c=h)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return c.CA||""},set:function(h){"string"==typeof h&&(c.CA=h)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return A},set:function(h){A=h}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return A.substr(1,A.length-1)},set:function(h){A="/"+h}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=kt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};qn(Xs,Ir),eo.prototype.setAppearance=function(a){if(!("createAppearanceStream"in a)||!("getCA"in a))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var o in this.Kids)if(this.Kids.hasOwnProperty(o)){var A=this.Kids[o];A.appearanceStreamContent=a.createAppearanceStream(A.optionName),A.caption=a.getCA()}},eo.prototype.createOption=function(a){var o=new Xs;return o.Parent=this,o.optionName=a,this.Kids.push(o),Iu.call(this.scope,o),o};var us=function(){ji.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=kt.CheckBox.createAppearanceStream()};qn(us,ji);var to=function(){Ir.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,13)},set:function(o){this.Ff=o?Ai(this.Ff,13):pi(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,21)},set:function(o){this.Ff=o?Ai(this.Ff,21):pi(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,23)},set:function(o){this.Ff=o?Ai(this.Ff,23):pi(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,24)},set:function(o){this.Ff=o?Ai(this.Ff,24):pi(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,25)},set:function(o){this.Ff=o?Ai(this.Ff,25):pi(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,26)},set:function(o){this.Ff=o?Ai(this.Ff,26):pi(this.Ff,26)}});var a=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return a},set:function(o){a=o}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return a},set:function(o){Number.isInteger(o)&&(a=o)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};qn(to,Ir);var Qo=function(){to.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!fi(this.Ff,14)},set:function(a){this.Ff=a?Ai(this.Ff,14):pi(this.Ff,14)}}),this.password=!0};qn(Qo,to);var kt={CheckBox:{createAppearanceStream:function(){return{N:{On:kt.CheckBox.YesNormal},D:{On:kt.CheckBox.YesPushDown,Off:kt.CheckBox.OffPushDown}}},YesPushDown:function(a){var o=Zi(a);o.scope=a.scope;var A=[],c=a.scope.internal.getFont(a.fontName,a.fontStyle).id,h=a.scope.__private__.encodeColorString(a.color),f=dA(a,a.caption);return A.push("0.749023 g"),A.push("0 0 "+an(kt.internal.getWidth(a))+" "+an(kt.internal.getHeight(a))+" re"),A.push("f"),A.push("BMC"),A.push("q"),A.push("0 0 1 rg"),A.push("/"+c+" "+an(f.fontSize)+" Tf "+h),A.push("BT"),A.push(f.text),A.push("ET"),A.push("Q"),A.push("EMC"),o.stream=A.join("\n"),o},YesNormal:function(a){var o=Zi(a);o.scope=a.scope;var A=a.scope.internal.getFont(a.fontName,a.fontStyle).id,c=a.scope.__private__.encodeColorString(a.color),h=[],f=kt.internal.getHeight(a),m=kt.internal.getWidth(a),_=dA(a,a.caption);return h.push("1 g"),h.push("0 0 "+an(m)+" "+an(f)+" re"),h.push("f"),h.push("q"),h.push("0 0 1 rg"),h.push("0 0 "+an(m-1)+" "+an(f-1)+" re"),h.push("W"),h.push("n"),h.push("0 g"),h.push("BT"),h.push("/"+A+" "+an(_.fontSize)+" Tf "+c),h.push(_.text),h.push("ET"),h.push("Q"),o.stream=h.join("\n"),o},OffPushDown:function(a){var o=Zi(a);o.scope=a.scope;var A=[];return A.push("0.749023 g"),A.push("0 0 "+an(kt.internal.getWidth(a))+" "+an(kt.internal.getHeight(a))+" re"),A.push("f"),o.stream=A.join("\n"),o}},RadioButton:{Circle:{createAppearanceStream:function(a){var o={D:{Off:kt.RadioButton.Circle.OffPushDown},N:{}};return o.N[a]=kt.RadioButton.Circle.YesNormal,o.D[a]=kt.RadioButton.Circle.YesPushDown,o},getCA:function(){return"l"},YesNormal:function(a){var o=Zi(a);o.scope=a.scope;var A=[],c=kt.internal.getWidth(a)<=kt.internal.getHeight(a)?kt.internal.getWidth(a)/4:kt.internal.getHeight(a)/4;c=Number((.9*c).toFixed(5));var f=Number((c*kt.internal.Bezier_C).toFixed(5));return A.push("q"),A.push("1 0 0 1 "+qA(kt.internal.getWidth(a)/2)+" "+qA(kt.internal.getHeight(a)/2)+" cm"),A.push(c+" 0 m"),A.push(c+" "+f+" "+f+" "+c+" 0 "+c+" c"),A.push("-"+f+" "+c+" -"+c+" "+f+" -"+c+" 0 c"),A.push("-"+c+" -"+f+" -"+f+" -"+c+" 0 -"+c+" c"),A.push(f+" -"+c+" "+c+" -"+f+" "+c+" 0 c"),A.push("f"),A.push("Q"),o.stream=A.join("\n"),o},YesPushDown:function(a){var o=Zi(a);o.scope=a.scope;var A=[],c=kt.internal.getWidth(a)<=kt.internal.getHeight(a)?kt.internal.getWidth(a)/4:kt.internal.getHeight(a)/4;c=Number((.9*c).toFixed(5));var h=Number((2*c).toFixed(5)),f=Number((h*kt.internal.Bezier_C).toFixed(5)),m=Number((c*kt.internal.Bezier_C).toFixed(5));return A.push("0.749023 g"),A.push("q"),A.push("1 0 0 1 "+qA(kt.internal.getWidth(a)/2)+" "+qA(kt.internal.getHeight(a)/2)+" cm"),A.push(h+" 0 m"),A.push(h+" "+f+" "+f+" "+h+" 0 "+h+" c"),A.push("-"+f+" "+h+" -"+h+" "+f+" -"+h+" 0 c"),A.push("-"+h+" -"+f+" -"+f+" -"+h+" 0 -"+h+" c"),A.push(f+" -"+h+" "+h+" -"+f+" "+h+" 0 c"),A.push("f"),A.push("Q"),A.push("0 g"),A.push("q"),A.push("1 0 0 1 "+qA(kt.internal.getWidth(a)/2)+" "+qA(kt.internal.getHeight(a)/2)+" cm"),A.push(c+" 0 m"),A.push(c+" "+m+" "+m+" "+c+" 0 "+c+" c"),A.push("-"+m+" "+c+" -"+c+" "+m+" -"+c+" 0 c"),A.push("-"+c+" -"+m+" -"+m+" -"+c+" 0 -"+c+" c"),A.push(m+" -"+c+" "+c+" -"+m+" "+c+" 0 c"),A.push("f"),A.push("Q"),o.stream=A.join("\n"),o},OffPushDown:function(a){var o=Zi(a);o.scope=a.scope;var A=[],c=kt.internal.getWidth(a)<=kt.internal.getHeight(a)?kt.internal.getWidth(a)/4:kt.internal.getHeight(a)/4;c=Number((.9*c).toFixed(5));var h=Number((2*c).toFixed(5)),f=Number((h*kt.internal.Bezier_C).toFixed(5));return A.push("0.749023 g"),A.push("q"),A.push("1 0 0 1 "+qA(kt.internal.getWidth(a)/2)+" "+qA(kt.internal.getHeight(a)/2)+" cm"),A.push(h+" 0 m"),A.push(h+" "+f+" "+f+" "+h+" 0 "+h+" c"),A.push("-"+f+" "+h+" -"+h+" "+f+" -"+h+" 0 c"),A.push("-"+h+" -"+f+" -"+f+" -"+h+" 0 -"+h+" c"),A.push(f+" -"+h+" "+h+" -"+f+" "+h+" 0 c"),A.push("f"),A.push("Q"),o.stream=A.join("\n"),o}},Cross:{createAppearanceStream:function(a){var o={D:{Off:kt.RadioButton.Cross.OffPushDown},N:{}}
vendor: 4,448 bytes, line 1
1;return o.N[a]=kt.RadioButton.Cross.YesNormal,o.D[a]=kt.RadioButton.Cross.YesPushDown,o},getCA:function(){return"8"},YesNormal:function(a){var o=Zi(a);o.scope=a.scope;var A=[],c=kt.internal.calculateCross(a);return A.push("q"),A.push("1 1 "+an(kt.internal.getWidth(a)-2)+" "+an(kt.internal.getHeight(a)-2)+" re"),A.push("W"),A.push("n"),A.push(an(c.x1.x)+" "+an(c.x1.y)+" m"),A.push(an(c.x2.x)+" "+an(c.x2.y)+" l"),A.push(an(c.x4.x)+" "+an(c.x4.y)+" m"),A.push(an(c.x3.x)+" "+an(c.x3.y)+" l"),A.push("s"),A.push("Q"),o.stream=A.join("\n"),o},YesPushDown:function(a){var o=Zi(a);o.scope=a.scope;var A=kt.internal.calculateCross(a),c=[];return c.push("0.749023 g"),c.push("0 0 "+an(kt.internal.getWidth(a))+" "+an(kt.internal.getHeight(a))+" re"),c.push("f"),c.push("q"),c.push("1 1 "+an(kt.internal.getWidth(a)-2)+" "+an(kt.internal.getHeight(a)-2)+" re"),c.push("W"),c.push("n"),c.push(an(A.x1.x)+" "+an(A.x1.y)+" m"),c.push(an(A.x2.x)+" "+an(A.x2.y)+" l"),c.push(an(A.x4.x)+" "+an(A.x4.y)+" m"),c.push(an(A.x3.x)+" "+an(A.x3.y)+" l"),c.push("s"),c.push("Q"),o.stream=c.join("\n"),o},OffPushDown:function(a){var o=Zi(a);o.scope=a.scope;var A=[];return A.push("0.749023 g"),A.push("0 0 "+an(kt.internal.getWidth(a))+" "+an(kt.internal.getHeight(a))+" re"),A.push("f"),o.stream=A.join("\n"),o}}},createDefaultAppearanceStream:function(a){var o=a.scope.internal.getFont(a.fontName,a.fontStyle).id,A=a.scope.__private__.encodeColorString(a.color);return"/"+o+" "+a.fontSize+" Tf "+A}};kt.internal={Bezier_C:.551915024494,calculateCross:function(a){var o=kt.internal.getWidth(a),A=kt.internal.getHeight(a),c=Math.min(o,A);return{x1:{x:(o-c)/2,y:(A-c)/2+c},x2:{x:(o-c)/2+c,y:(A-c)/2},x3:{x:(o-c)/2,y:(A-c)/2},x4:{x:(o-c)/2+c,y:(A-c)/2+c}}}},kt.internal.getWidth=function(a){var o=0;return"object"===mt(a)&&(o=XA(a.Rect[2])),o},kt.internal.getHeight=function(a){var o=0;return"object"===mt(a)&&(o=XA(a.Rect[3])),o};var a,o,Iu=Yn.addField=function(a){if(function(a,o){if(o.scope=a,void 0!==a.internal&&(void 0===a.internal.acroformPlugin||!1===a.internal.acroformPlugin.isInitialized)){if(Ir.FieldNum=0,a.internal.acroformPlugin=JSON.parse(JSON.stringify(Fu)),a.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");$s=a.internal.scaleFactor,a.internal.acroformPlugin.acroFormDictionaryRoot=new Du,a.internal.acroformPlugin.acroFormDictionaryRoot.scope=a,a.internal.acroformPlugin.acroFormDictionaryRoot._eventID=a.internal.events.subscribe("postPutResources",function(){var A;(A=a).internal.events.unsubscribe(A.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete A.internal.acroformPlugin.acroFormDictionaryRoot._eventID,A.internal.acroformPlugin.printedOut=!0}),a.internal.events.subscribe("buildDocument",function(){!function(A){A.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var c=A.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var h in c)if(c.hasOwnProperty(h)){var f=c[h];f.objId=void 0,f.hasAnnotation&&Ys(f,A)}}(a)}),a.internal.events.subscribe("putCatalog",function(){!function(A){if(void 0===A.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");A.internal.write("/AcroForm "+A.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(a)}),a.internal.events.subscribe("postPutPages",function(A){!function(c,h){var f=!c;for(var m in c||(h.internal.newObjectDeferredBegin(h.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),h.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),c=c||h.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(c.hasOwnProperty(m)){var _=c[m],y=[],E=_.Rect;if(_.Rect&&(_.Rect=Cu(_.Rect,h)),h.internal.newObjectDeferredBegin(_.objId,!0),_.DA=kt.createDefaultAppearanceStream(_),"object"===mt(_)&&"function"==typeof _.getKeyValueListForStream&&(y=_.getKeyValueListForStream()),_.Rect=E,_.hasAppearanceStream&&!_.appearanceStreamContent){var T=ss(_);y.push({key:"AP",value:"<</N "+T+">>"}),h.internal.acroformPlugin.xForms.push(T)}if(_.appearanceStreamContent){var U="";for(var R in _.appearanceStreamContent)if(_.appearanceStreamContent.hasOwnProperty(R)){var x=_.appearanceStreamContent[R];if(U+="/"+R+" ",U+="<<",Object.keys(x).length>=1||Array.isArray(x)){for(var m in x)if(x.hasOwnProperty(m)){var q=x[m];"function"==typeof q&&(q=q.call(h,_)),U+="/"+m+" "+q+" ",h.internal.acroformPlugin.xForms.indexOf(q)>=0||h.internal.acroformPlugin.xForms.push(q)}}
vendor: 22,988 bytes, lines 1-25
1else"function"==typeof(q=x)&&(q=q.call(h,_)),U+="/"+m+" "+q,h.internal.acroformPlugin.xForms.indexOf(q)>=0||h.internal.acroformPlugin.xForms.push(q);U+=">>"}y.push({key:"AP",value:"<<\n"+U+">>"})}h.internal.putStream({additionalKeyValues:y,objectId:_.objId}),h.internal.out("endobj")}f&&function(a,o){for(var A in a)if(a.hasOwnProperty(A)){var c=A,h=a[A];o.internal.newObjectDeferredBegin(h.objId,!0),"object"===mt(h)&&"function"==typeof h.putStream&&h.putStream(),delete a[c]}}(h.internal.acroformPlugin.xForms,h)}(A,a)}),a.internal.acroformPlugin.isInitialized=!0}}(this,a),!(a instanceof Ir))throw new Error("Invalid argument passed to jsPDF.addField.");var o;return(o=a).scope.internal.acroformPlugin.printedOut&&(o.scope.internal.acroformPlugin.printedOut=!1,o.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),o.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(o),a.page=a.scope.internal.getCurrentPageInfo().pageNumber,this};function Lc(a){return a.reduce(function(o,A,c){return o[A]=c,o},{})}Yn.AcroFormChoiceField=ls,Yn.AcroFormListBox=To,Yn.AcroFormComboBox=Uo,Yn.AcroFormEditBox=qs,Yn.AcroFormButton=ji,Yn.AcroFormPushButton=cs,Yn.AcroFormRadioButton=eo,Yn.AcroFormCheckBox=us,Yn.AcroFormTextField=to,Yn.AcroFormPasswordField=Qo,Yn.AcroFormAppearance=kt,Yn.AcroForm={ChoiceField:ls,ListBox:To,ComboBox:Uo,EditBox:qs,Button:ji,PushButton:cs,RadioButton:eo,CheckBox:us,TextField:to,PasswordField:Qo,Appearance:kt},Jt.AcroForm={ChoiceField:ls,ListBox:To,ComboBox:Uo,EditBox:qs,Button:ji,PushButton:cs,RadioButton:eo,CheckBox:us,TextField:to,PasswordField:Qo,Appearance:kt},function(a){a.__addimage__={};var o="UNKNOWN",A={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},c=a.__addimage__.getImageFileTypeByImageData=function(W,$){var ue,oe,je,He,Je,xe=o;if("RGBA"===($=$||o)||void 0!==W.data&&W.data instanceof Uint8ClampedArray&&"height"in W&&"width"in W)return"RGBA";if(At(W))for(Je in A)for(je=A[Je],ue=0;ue<je.length;ue+=1){for(He=!0,oe=0;oe<je[ue].length;oe+=1)if(void 0!==je[ue][oe]&&je[ue][oe]!==W[oe]){He=!1;break}if(!0===He){xe=Je;break}}else for(Je in A)for(je=A[Je],ue=0;ue<je.length;ue+=1){for(He=!0,oe=0;oe<je[ue].length;oe+=1)if(void 0!==je[ue][oe]&&je[ue][oe]!==W.charCodeAt(oe)){He=!1;break}if(!0===He){xe=Je;break}}return xe===o&&$!==o&&(xe=$),xe},h=function W($){for(var ue=this.internal.write,oe=this.internal.putStream,je=(0,this.internal.getFilters)();-1!==je.indexOf("FlateEncode");)je.splice(je.indexOf("FlateEncode"),1);$.objectId=this.internal.newObject();var He=[];if(He.push({key:"Type",value:"/XObject"}),He.push({key:"Subtype",value:"/Image"}),He.push({key:"Width",value:$.width}),He.push({key:"Height",value:$.height}),$.colorSpace===ee.INDEXED?He.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+($.palette.length/3-1)+" "+("sMask"in $&&void 0!==$.sMask?$.objectId+2:$.objectId+1)+" 0 R]"}):(He.push({key:"ColorSpace",value:"/"+$.colorSpace}),$.colorSpace===ee.DEVICE_CMYK&&He.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),He.push({key:"BitsPerComponent",value:$.bitsPerComponent}),"decodeParameters"in $&&void 0!==$.decodeParameters&&He.push({key:"DecodeParms",value:"<<"+$.decodeParameters+">>"}),"transparency"in $&&Array.isArray($.transparency)){for(var Je="",xe=0,Ye=$.transparency.length;xe<Ye;xe++)Je+=$.transparency[xe]+" "+$.transparency[xe]+" ";He.push({key:"Mask",value:"["+Je+"]"})}if(void 0!==$.sMask&&He.push({key:"SMask",value:$.objectId+1+" 0 R"}),oe({data:$.data,additionalKeyValues:He,alreadyAppliedFilters:void 0!==$.filter?["/"+$.filter]:void 0,objectId:$.objectId}),ue("endobj"),"sMask"in $&&void 0!==$.sMask){var H={width:$.width,height:$.height,colorSpace:"DeviceGray",bitsPerComponent:$.bitsPerComponent,decodeParameters:"/Predictor "+$.predictor+" /Colors 1 /BitsPerComponent "+$.bitsPerComponent+" /Columns "+$.width,data:$.sMask};"filter"in $&&(H.filter=$.filter),W.call(this,H)}if($.colorSpace===ee.INDEXED){var te=this.internal.newObject();oe({data:ae(new Uint8Array($.palette)),objectId:te}),ue("endobj")}},f=function(){var W=this.internal.collections.addImage_images;for(var $ in W)h.call(this,W[$])},m=function(){var W,$=this.internal.collections.addImage_images,ue=this.internal.write;for(var oe in $)ue("/I"+(W=$[oe]).index,W.objectId,"0","R")},_=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",f),this.internal.events.subscribe("putXobjectDict",m))},y=function(){var W=this.internal.collections.addImage_images;return _.call(this),W},E=function(){return Object.keys(this.internal.collections.addImage_images).length},T=function(W){return"function"==typeof a["process"+W.toUpperCase()]},U=function(W){return"object"===mt(W)&&1===W.nodeType},R=function(W,$){if("IMG"===W.nodeName&&W.hasAttribute("src")){var ue=""+W.getAttribute("src");if(0===ue.indexOf("data:image/"))return da(unescape(ue).split("base64,").pop());var oe=a.loadFile(ue,!0);if(void 0!==oe)return oe}if("CANVAS"===W.nodeName){if(0===W.width||0===W.height)throw new Error("Given canvas must have data. Canvas width: "+W.width+", height: "+W.height);var je;switch($){case"PNG":je="image/png";break;case"WEBP":je="image/webp";break;default:je="image/jpeg"}return da(W.toDataURL(je,1).split("base64,").pop())}},x=function(W){var $=this.internal.collections.addImage_images;if($)for(var ue in $)if(W===$[ue].alias)return $[ue]},q=function(W,$,ue){return W||$||(W=-96,$=-96),W<0&&(W=-1*ue.width*72/W/this.internal.scaleFactor),$<0&&($=-1*ue.height*72/$/this.internal.scaleFactor),0===W&&(W=$*ue.width/ue.height),0===$&&($=W*ue.height/ue.width),[W,$]},z=function(W,$,ue,oe,je,He){var Je=q.call(this,ue,oe,je),xe=this.internal.getCoordinateString,Ye=this.internal.getVerticalCoordinateString,Ze=y.call(this);if(ue=Je[0],oe=Je[1],Ze[je.index]=je,He){He*=Math.PI/180;var Ot=Math.cos(He),H=Math.sin(He),te=function(ce){return ce.toFixed(4)},re=[te(Ot),te(H),te(-1*H),te(Ot),0,0,"cm"]}this.internal.write("q"),He?(this.internal.write([1,"0","0",1,xe(W),Ye($+oe),"cm"].join(" ")),this.internal.write(re.join(" ")),this.internal.write([xe(ue),"0","0",xe(oe),"0","0","cm"].join(" "))):this.internal.write([xe(ue),"0","0",xe(oe),xe(W),Ye($+oe),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+je.index+" Do"),this.internal.write("Q")},ee=a.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};a.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var j=a.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},X=a.__addimage__.sHashCode=function(W){var $,ue,oe=0;if("string"==typeof W)for(ue=W.length,$=0;$<ue;$++)oe=(oe<<5)-oe+W.charCodeAt($),oe|=0;else if(At(W))for(ue=W.byteLength/2,$=0;$<ue;$++)oe=(oe<<5)-oe+W[$],oe|=0;return oe},de=a.__addimage__.validateStringAsBase64=function(W){(W=W||"").toString().trim();var $=!0;return 0===W.length&&($=!1),W.length%4!=0&&($=!1),!1===/^[A-Za-z0-9+/]+$/.test(W.substr(0,W.length-2))&&($=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(W.substr(-2))&&($=!1),$},me=a.__addimage__.extractImageFromDataUrl=function(W){if(null==W||!(W=W.trim()).startsWith("data:"))return null;var $=W.indexOf(",");return $<0?null:W.substring(0,$).trim().endsWith("base64")?W.substring($+1):null},Re=a.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"};a.__addimage__.isArrayBuffer=function(W){return Re()&&W instanceof ArrayBuffer};var At=a.__addimage__.isArrayBufferView=function(W){return Re()&&typeof Uint32Array<"u"&&(W instanceof Int8Array||W instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&W instanceof Uint8ClampedArray||W instanceof Int16Array||W instanceof Uint16Array||W instanceof Int32Array||W instanceof Uint32Array||W instanceof Float32Array||W instanceof Float64Array)},Ee=a.__addimage__.binaryStringToUint8Array=function(W){for(var $=W.length,ue=new Uint8Array($),oe=0;oe<$;oe++)ue[oe]=W.charCodeAt(oe);return ue},ae=a.__addimage__.arrayBufferToBinaryString=function(W){for(var $="",ue=At(W)?W:new Uint8Array(W),oe=0;oe<ue.length;oe+=8192)$+=String.fromCharCode.apply(null,ue.subarray(oe,oe+8192));return $};a.addImage=function(){var W,$,ue,oe,je,He,Je,xe,Ye;if("number"==typeof arguments[1]?($=o,ue=arguments[1],oe=arguments[2],je=arguments[3],He=arguments[4],Je=arguments[5],xe=arguments[6],Ye=arguments[7]):($=arguments[1],ue=arguments[2],oe=arguments[3],je=arguments[4],He=arguments[5],Je=arguments[6],xe=arguments[7],Ye=arguments[8]),"object"===mt(W=arguments[0])&&!U(W)&&"imageData"in W){var Ze=W;W=Ze.imageData,$=Ze.format||$||o,ue=Ze.x||ue||0,oe=Ze.y||oe||0,je=Ze.w||Ze.width||je,He=Ze.h||Ze.height||He,Je=Ze.alias||Je,xe=Ze.compression||xe,Ye=Ze.rotation||Ze.angle||Ye}var Ot=this.internal.getFilters();if(void 0===xe&&-1!==Ot.indexOf("FlateEncode")&&(xe="SLOW"),isNaN(ue)||isNaN(oe))throw new Error("Invalid coordinates passed to jsPDF.addImage");_.call(this);var H=Fe.call(this,W,$,Je,xe);return z.call(this,ue,oe,je,He,H,Ye),this};var Fe=function(W,$,ue,oe){var je,He,Je,Ye;if("string"==typeof W&&c(W)===o){W=unescape(W);var xe=ze(W,!1);(""!==xe||void 0!==(xe=a.loadFile(W,!0)))&&(W=xe)}if(U(W)&&(W=R(W,$)),$=c(W,$),!T($))throw new Error("addImage does not support files of type '"+$+"', please ensure that a plugin for '"+$+"' support is added.");if((null==(Je=ue)||0===Je.length)&&(ue="string"==typeof(Ye=W)||At(Ye)?X(Ye):At(Ye.data)?X(Ye.data):null),(je=x.call(this,ue))||(Re()&&(W instanceof Uint8Array||"RGBA"===$||(He=W,W=Ee(W))),je=this["process"+$.toUpperCase()](W,E.call(this),ue,function(Ye){return Ye&&"string"==typeof Ye&&(Ye=Ye.toUpperCase()),Ye in a.image_compression?Ye:j.NONE}(oe),He)),!je)throw new Error("An unknown error occurred whilst processing the image.");return je},ze=a.__addimage__.convertBase64ToBinaryString=function(W,$){$="boolean"!=typeof $||$;var ue,oe="";if("string"==typeof W){var je;ue=null!==(je=me(W))&&void 0!==je?je:W;try{oe=da(ue)}catch(He){if($)throw de(ue)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+He.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return oe};a.getImageProperties=function(W){var $,ue,oe="";if(U(W)&&(W=R(W)),"string"==typeof W&&c(W)===o&&(""===(oe=ze(W,!1))&&(oe=a.loadFile(W)||""),W=oe),ue=c(W),!T(ue))throw new Error("addImage does not support files of type '"+ue+"', please ensure that a plugin for '"+ue+"' support is added.");if(!Re()||W instanceof Uint8Array||(W=Ee(W)),!($=this["process"+ue.toUpperCase()](W)))throw new Error("An unknown error occurred whilst processing the image");return $.fileType=ue,$}}(Jt.API), 2/** 3 * @license 4 * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) [email protected] 5 * 6 * Licensed under the MIT License. 7 * http://opensource.org/licenses/mit-license 8 */ 9a=Jt.API,o=function(A){if(void 0!==A&&""!=A)return!0},Jt.API.events.push(["addPage",function(A){this.internal.getPageInfo(A.pageNumber).pageContext.annotations=[]}]),a.events.push(["putPage",function(A){for(var c,h,f,m=this.internal.getCoordinateString,_=this.internal.getVerticalCoordinateString,y=this.internal.getPageInfoByObjId(A.objId),E=A.pageContext.annotations,T=!1,U=0;U<E.length&&!T;U++)switch((c=E[U]).type){case"link":(o(c.options.url)||o(c.options.pageNumber))&&(T=!0);break;case"reference":case"text":case"freetext":T=!0}if(0!=T){this.internal.write("/Annots [");for(var R=0;R<E.length;R++){c=E[R];var x=this.internal.pdfEscape,q=this.internal.getEncryptor(A.objId);switch(c.type){case"reference":this.internal.write(" "+c.object.objId+" 0 R ");break;case"text":var z=this.internal.newAdditionalObject(),ee=this.internal.newAdditionalObject(),j=this.internal.getEncryptor(z.objId),X=c.title||"Note";f="<</Type /Annot /Subtype /Text "+(h="/Rect ["+m(c.bounds.x)+" "+_(c.bounds.y+c.bounds.h)+" "+m(c.bounds.x+c.bounds.w)+" "+_(c.bounds.y)+"] ")+"/Contents ("+x(j(c.contents))+")",f+=" /Popup "+ee.objId+" 0 R",f+=" /P "+y.objId+" 0 R",f+=" /T ("+x(j(X))+") >>",z.content=f;var de=z.objId+" 0 R";f="<</Type /Annot /Subtype /Popup "+(h="/Rect ["+m(c.bounds.x+30)+" "+_(c.bounds.y+c.bounds.h)+" "+m(c.bounds.x+c.bounds.w+30)+" "+_(c.bounds.y)+"] ")+" /Parent "+de,c.open&&(f+=" /Open true"),ee.content=f+=" >>",this.internal.write(z.objId,"0 R",ee.objId,"0 R");break;case"freetext":h="/Rect ["+m(c.bounds.x)+" "+_(c.bounds.y)+" "+m(c.bounds.x+c.bounds.w)+" "+_(c.bounds.y+c.bounds.h)+"] ";var me=c.color||"#000000";f="<</Type /Annot /Subtype /FreeText "+h+"/Contents ("+x(q(c.contents))+")",f+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+me+")",f+=" /Border [0 0 0]",this.internal.write(f+=" >>");break;case"link":if(c.options.name){var Re=this.annotations._nameMap[c.options.name];c.options.pageNumber=Re.page,c.options.top=Re.y}else c.options.top||(c.options.top=0);if(h="/Rect ["+c.finalBounds.x+" "+c.finalBounds.y+" "+c.finalBounds.w+" "+c.finalBounds.h+"] ",f="",c.options.url)f="<</Type /Annot /Subtype /Link "+h+"/Border [0 0 0] /A <</S /URI /URI ("+x(q(c.options.url))+") >>";else if(c.options.pageNumber)switch(f="<</Type /Annot /Subtype /Link "+h+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(c.options.pageNumber).objId+" 0 R",c.options.magFactor=c.options.magFactor||"XYZ",c.options.magFactor){case"Fit":f+=" /Fit]";break;case"FitH":f+=" /FitH "+c.options.top+"]";break;case"FitV":c.options.left=c.options.left||0,f+=" /FitV "+c.options.left+"]";break;default:var At=_(c.options.top);c.options.left=c.options.left||0,void 0===c.options.zoom&&(c.options.zoom=0),f+=" /XYZ "+c.options.left+" "+At+" "+c.options.zoom+"]"}""!=f&&this.internal.write(f+=" >>")}}this.internal.write("]")}}]),a.createAnnotation=function(A){var c=this.internal.getCurrentPageInfo();switch(A.type){case"link":this.link(A.bounds.x,A.bounds.y,A.bounds.w,A.bounds.h,A);break;case"text":case"freetext":c.pageContext.annotations.push(A)}},a.link=function(A,c,h,f,m){var _=this.internal.getCurrentPageInfo(),y=this.internal.getCoordinateString,E=this.internal.getVerticalCoordinateString;_.pageContext.annotations.push({finalBounds:{x:y(A),y:E(c),w:y(A+h),h:E(c+f)},options:m,type:"link"})},a.textWithLink=function(A,c,h,f){var m,_,y=this.getTextWidth(A),E=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==f.maxWidth){var T=this.splitTextToSize(A,_=f.maxWidth).length;m=Math.ceil(E*T)}else _=y,m=E;return this.text(A,c,h,f),"center"===f.align&&(c-=y/2),"right"===f.align&&(c-=y),this.link(c,(h+=.2*E)-E,_,m,f),y},a.getTextWidth=function(A){var c=this.internal.getFontSize();return this.getStringUnitWidth(A)*c/this.internal.scaleFactor}, 10/** 11 * @license 12 * Copyright (c) 2017 Aras Abbasi 13 * 14 * Licensed under the MIT License. 15 * http://opensource.org/licenses/mit-license 16 */ 17function(a){var o={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},A={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},c={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},h=[1570,1571,1573,1575];a.__arabicParser__={};var f=a.__arabicParser__.isInArabicSubstitutionA=function(z){return void 0!==o[z.charCodeAt(0)]},m=a.__arabicParser__.isArabicLetter=function(z){return"string"==typeof z&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(z)},_=a.__arabicParser__.isArabicEndLetter=function(z){return m(z)&&f(z)&&o[z.charCodeAt(0)].length<=2},y=a.__arabicParser__.isArabicAlfLetter=function(z){return m(z)&&h.indexOf(z.charCodeAt(0))>=0};a.__arabicParser__.arabicLetterHasIsolatedForm=function(z){return m(z)&&f(z)&&o[z.charCodeAt(0)].length>=1};var E=a.__arabicParser__.arabicLetterHasFinalForm=function(z){return m(z)&&f(z)&&o[z.charCodeAt(0)].length>=2};a.__arabicParser__.arabicLetterHasInitialForm=function(z){return m(z)&&f(z)&&o[z.charCodeAt(0)].length>=3};var T=a.__arabicParser__.arabicLetterHasMedialForm=function(z){return m(z)&&f(z)&&4==o[z.charCodeAt(0)].length},U=a.__arabicParser__.resolveLigatures=function(z){var ee=0,j=A,X="",de=0;for(ee=0;ee<z.length;ee+=1)void 0!==j[z.charCodeAt(ee)]?(de++,"number"==typeof(j=j[z.charCodeAt(ee)])&&(X+=String.fromCharCode(j),j=A,de=0),ee===z.length-1&&(j=A,X+=z.charAt(ee-(de-1)),ee-=de-1,de=0)):(j=A,X+=z.charAt(ee-de),ee-=de,de=0);return X};a.__arabicParser__.isArabicDiacritic=function(z){return void 0!==z&&void 0!==c[z.charCodeAt(0)]};var R=a.__arabicParser__.getCorrectForm=function(z,ee,j){return m(z)?!1===f(z)?-1:!E(z)||!m(ee)&&!m(j)||!m(j)&&_(ee)||_(z)&&!m(ee)||_(z)&&y(ee)||_(z)&&_(ee)?0:T(z)&&m(ee)&&!_(ee)&&m(j)&&E(j)?3:_(z)||!m(j)?1:2:-1},x=function(z){var ee=0,j=0,X=0,de="",me="",Re="",At=(z=z||"").split("\\s+"),Ee=[];for(ee=0;ee<At.length;ee+=1){for(Ee.push(""),j=0;j<At[ee].length;j+=1)me=At[ee][j-1],Re=At[ee][j+1],m(de=At[ee][j])?(X=R(de,me,Re),Ee[ee]+=-1!==X?String.fromCharCode(o[de.charCodeAt(0)][X]):de):Ee[ee]+=de;Ee[ee]=U(Ee[ee])}return Ee.join(" ")},q=a.__arabicParser__.processArabic=a.processArabic=function(){var z,ee="string"==typeof arguments[0]?arguments[0]:arguments[0].text,j=[];if(Array.isArray(ee)){var X=0;for(j=[],X=0;X<ee.length;X+=1)Array.isArray(ee[X])?j.push([x(ee[X][0]),ee[X][1],ee[X][2]]):j.push([x(ee[X])]);z=j}else z=x(ee);return"string"==typeof arguments[0]?z:(arguments[0].text=z,arguments[0])};a.events.push(["preProcessText",q])}(Jt.API),Jt.API.autoPrint=function(a){var o;return"javascript"===((a=a||{}).variant=a.variant||"non-conform",a.variant)?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){o=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+o+" 0 R")})),this}, 18/** 19 * @license 20 * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) [email protected] 21 * 22 * Licensed under the MIT License. 23 * http://opensource.org/licenses/mit-license 24 */ 25function(a){var o=function(){var A=void 0;Object.defineProperty(this,"pdf",{get:function(){return A},set:function(_){A=_}});var c=150;Object.defineProperty(this,"width",{get:function(){return c},set:function(_){c=isNaN(_)||!1===Number.isInteger(_)||_<0?150:_,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=c+1)}});var h=300;Object.defineProperty(this,"height",{get:function(){return h},set:function(_){h=isNaN(_)||!1===Number.isInteger(_)||_<0?300:_,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=h+1)}});var f=[];Object.defineProperty(this,"childNodes",{get:function(){return f},set:function(_){f=_}});var m={};Object.defineProperty(this,"style",{get:function(){return m},set:function(_){m=_}}),Object.defineProperty(this,"parentNode",{})};o.prototype.getContext=function(A,c){var h;if("2d"!==(A=A||"2d"))return null;for(h in c)this.pdf.context2d.hasOwnProperty(h)&&(this.pdf.context2d[h]=c[h]);return this.pdf.context2d._canvas=this,this.pdf.context2d},o.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},a.events.push(["initialized",function(){this.canvas=new o,this.canvas.pdf=this}])}(Jt.API),function(a){var o={left:0,top:0,bottom:0,right:0},A=!1,c=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},o),this.internal.__cell__.margins.width=this.getPageWidth(),h.call(this))},h=function(){this.internal.__cell__.lastCell=new f,this.internal.__cell__.pages=1},f=function(){var y=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return y},set:function(z){y=z}});var E=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return E},set:function(z){E=z}});var T=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return T},set:function(z){T=z}});var U=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return U},set:function(z){U=z}});var R=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return R}
vendor: 4,613 bytes, line 25
25,set:function(z){R=z}});var x=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return x},set:function(z){x=z}});var q=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return q},set:function(z){q=z}}),this};f.prototype.clone=function(){return new f(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},f.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},a.setHeaderFunction=function(y){return c.call(this),this.internal.__cell__.headerFunction="function"==typeof y?y:void 0,this},a.getTextDimensions=function(y,E){c.call(this);var T=(E=E||{}).fontSize||this.getFontSize(),U=E.font||this.getFont(),R=E.scaleFactor||this.internal.scaleFactor,x=0,q=0,z=0,ee=this;if(!Array.isArray(y)&&"string"!=typeof y){if("number"!=typeof y)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");y=String(y)}var j=E.maxWidth;j>0?"string"==typeof y?y=this.splitTextToSize(y,j):"[object Array]"===Object.prototype.toString.call(y)&&(y=y.reduce(function(de,me){return de.concat(ee.splitTextToSize(me,j))},[])):y=Array.isArray(y)?y:[y];for(var X=0;X<y.length;X++)x<(z=this.getStringUnitWidth(y[X],{font:U})*T)&&(x=z);return 0!==x&&(q=y.length),{w:x/=R,h:Math.max((q*T*this.getLineHeightFactor()-T*(this.getLineHeightFactor()-1))/R,0)}},a.cellAddPage=function(){c.call(this),this.addPage();var y=this.internal.__cell__.margins||o;return this.internal.__cell__.lastCell=new f(y.left,y.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var m=a.cell=function(){var y;y=arguments[0]instanceof f?arguments[0]:new f(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),c.call(this);var E=this.internal.__cell__.lastCell,T=this.internal.__cell__.padding,U=this.internal.__cell__.margins||o,R=this.internal.__cell__.tableHeaderRow,x=this.internal.__cell__.printHeaders;return void 0!==E.lineNumber&&(E.lineNumber===y.lineNumber?(y.x=(E.x||0)+(E.width||0),y.y=E.y||0):E.y+E.height+y.height+U.bottom>this.getPageHeight()?(this.cellAddPage(),y.y=U.top,x&&R&&(this.printHeaderRow(y.lineNumber,!0),y.y+=R[0].height)):y.y=E.y+E.height||y.y),void 0!==y.text[0]&&(this.rect(y.x,y.y,y.width,y.height,!0===A?"FD":void 0),"right"===y.align?this.text(y.text,y.x+y.width-T,y.y+T,{align:"right",baseline:"top"}):"center"===y.align?this.text(y.text,y.x+y.width/2,y.y+T,{align:"center",baseline:"top",maxWidth:y.width-T-T}):this.text(y.text,y.x+T,y.y+T,{align:"left",baseline:"top",maxWidth:y.width-T-T})),this.internal.__cell__.lastCell=y,this};a.table=function(y,E,T,U,R){if(c.call(this),!T)throw new Error("No data for PDF table.");var x,q,z,ee,j=[],X=[],de=[],me={},Re={},At=[],Ee=[],ae=(R=R||{}).autoSize||!1,Fe=!1!==R.printHeaders,ze=R.css&&void 0!==R.css["font-size"]?16*R.css["font-size"]:R.fontSize||12,W=R.margins||Object.assign({width:this.getPageWidth()},o),$="number"==typeof R.padding?R.padding:3,ue=R.headerBackgroundColor||"#c8c8c8",oe=R.headerTextColor||"#000";if(h.call(this),this.internal.__cell__.printHeaders=Fe,this.internal.__cell__.margins=W,this.internal.__cell__.table_font_size=ze,this.internal.__cell__.padding=$,this.internal.__cell__.headerBackgroundColor=ue,this.internal.__cell__.headerTextColor=oe,this.setFontSize(ze),null==U)X=j=Object.keys(T[0]),de=j.map(function(){return"left"});else if(Array.isArray(U)&&"object"===mt(U[0]))for(j=U.map(function(Ze){return Ze.name}),X=U.map(function(Ze){return Ze.prompt||Ze.name||""}),de=U.map(function(Ze){return Ze.align||"left"}),x=0;x<U.length;x+=1)Re[U[x].name]=U[x].width*(19.049976/25.4);else Array.isArray(U)&&"string"==typeof U[0]&&(X=j=U,de=j.map(function(){return"left"}));if(ae||Array.isArray(U)&&"string"==typeof U[0])for(x=0;x<j.length;x+=1){for(me[ee=j[x]]=T.map(function(Ze){return Ze[ee]}),this.setFont(void 0,"bold"),At.push(this.getTextDimensions(X[x],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),q=me[ee],this.setFont(void 0,"normal"),z=0;z<q.length;z+=1)At.push(this.getTextDimensions(q[z],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);Re[ee]=Math.max.apply(null,At)+$+$,At=[]}if(Fe){var je={};for(x=0;x<j.length;x+=1)je[j[x]]={},je[j[x]].text=X[x],je[j[x]].align=de[x];var He=_.call(this,je,Re);Ee=j.map(function(Ze){return new f(y,E,Re[Ze],He,je[Ze].text,void 0,je[Ze].align)}),this.setTableHeaderRow(Ee),this.printHeaderRow(1,!1)}var Je=U.reduce(function(Ze,Ot){return Ze[Ot.name]=Ot.align,Ze},{});for(x=0;x<T.length;
vendor: 13,601 bytes, line 25
25x+=1){"rowStart"in R&&R.rowStart instanceof Function&&R.rowStart({row:x,data:T[x]},this);var xe=_.call(this,T[x],Re);for(z=0;z<j.length;z+=1){var Ye=T[x][j[z]];"cellStart"in R&&R.cellStart instanceof Function&&R.cellStart({row:x,col:z,data:Ye},this),m.call(this,new f(y,E,Re[j[z]],xe,Ye,x+2,Je[j[z]]))}}return this.internal.__cell__.table_x=y,this.internal.__cell__.table_y=E,this};var _=function(y,E){var T=this.internal.__cell__.padding,U=this.internal.__cell__.table_font_size,R=this.internal.scaleFactor;return Object.keys(y).map(function(x){var q=y[x];return this.splitTextToSize(q.hasOwnProperty("text")?q.text:q,E[x]-T-T)},this).map(function(x){return this.getLineHeightFactor()*x.length*U/R+T+T},this).reduce(function(x,q){return Math.max(x,q)},0)};a.setTableHeaderRow=function(y){c.call(this),this.internal.__cell__.tableHeaderRow=y},a.printHeaderRow=function(y,E){if(c.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var T;if(A=!0,"function"==typeof this.internal.__cell__.headerFunction){var U=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new f(U[0],U[1],U[2],U[3],void 0,-1)}this.setFont(void 0,"bold");for(var R=[],x=0;x<this.internal.__cell__.tableHeaderRow.length;x+=1){T=this.internal.__cell__.tableHeaderRow[x].clone(),E&&(T.y=this.internal.__cell__.margins.top||0,R.push(T)),T.lineNumber=y;var q=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),m.call(this,T),this.setTextColor(q)}R.length>0&&this.setTableHeaderRow(R),this.setFont(void 0,"normal"),A=!1}}(Jt.API);var kl={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Nu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Vl=Lc(Nu),Tu=[100,200,300,400,500,600,700,800,900],Uu=Lc(Tu);function Pc(a){var f,o=a.family.replace(/"|'/g,"").toLowerCase(),A=kl[f=(f=a.style)||"normal"]?f:"normal",c=function(f){return f?"number"==typeof f?f>=100&&f<=900&&f%100==0?f:400:/^\d00$/.test(f)?parseInt(f):"bold"===f?700:400:400}(a.weight),h=function(f){return"number"==typeof Vl[f=f||"normal"]?f:"normal"}(a.stretch);return{family:o,style:A,weight:c,stretch:h,src:a.src||[],ref:a.ref||{name:o,style:[h,A,c].join(" ")}}}function no(a,o,A,c){var h;for(h=A;h>=0&&h<o.length;h+=c)if(a[o[h]])return a[o[h]];for(h=A;h>=0&&h<o.length;h-=c)if(a[o[h]])return a[o[h]]}var ds={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Rc={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function hs(a){return[a.stretch,a.style,a.weight,a.family].join(" ")}function Qu(a){return a.trimLeft()}function Mu(a,o){for(var A=0;A<a.length;){if(a.charAt(A)===o)return[a.substring(0,A),a.substring(A+1)];A+=1}return null}function io(a){var o=a.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===o?null:[o[0],a.substring(o[0].length)]}var ai,gr,ma,Zs=["times"];(function(a){var o,A,c,h,f,m,_,y,E,T=function(H){return this.isStrokeTransparent=(H=H||{}).isStrokeTransparent||!1,this.strokeOpacity=H.strokeOpacity||1,this.strokeStyle=H.strokeStyle||"#000000",this.fillStyle=H.fillStyle||"#000000",this.isFillTransparent=H.isFillTransparent||!1,this.fillOpacity=H.fillOpacity||1,this.font=H.font||"10px sans-serif",this.textBaseline=H.textBaseline||"alphabetic",this.textAlign=H.textAlign||"left",this.lineWidth=H.lineWidth||1,this.lineJoin=H.lineJoin||"miter",this.lineCap=H.lineCap||"butt",this.path=H.path||[],this.transform=void 0!==H.transform?H.transform.clone():new y,this.globalCompositeOperation=H.globalCompositeOperation||"normal",this.globalAlpha=H.globalAlpha||1,this.clip_path=H.clip_path||[],this.currentPoint=H.currentPoint||new m,this.miterLimit=H.miterLimit||10,this.lastPoint=H.lastPoint||new m,this.lineDashOffset=H.lineDashOffset||0,this.lineDash=H.lineDash||[],this.margin=H.margin||[0,0,0,0],this.prevPageLastElemOffset=H.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof H.ignoreClearRect||H.ignoreClearRect,this};a.events.push(["initialized",function(){this.context2d=new U(this),o=this.internal.f2,A=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,h=this.internal.getHorizontalCoordinate,f=this.internal.getVerticalCoordinate,m=this.internal.Point,_=this.internal.Rectangle,y=this.internal.Matrix,E=new T}]);var U=function(H){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var te=H;Object.defineProperty(this,"pdf",{get:function(){return te}});var re=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return re},set:function(qe){re=!!qe}});var ce=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return ce},set:function(qe){ce=!!qe}});var ve=0;Object.defineProperty(this,"posX",{get:function(){return ve},set:function(qe){isNaN(qe)||(ve=qe)}});var Ne=0;Object.defineProperty(this,"posY",{get:function(){return Ne},set:function(qe){isNaN(qe)||(Ne=qe)}}),Object.defineProperty(this,"margin",{get:function(){return E.margin},set:function(qe){var ie;"number"==typeof qe?ie=[qe,qe,qe,qe]:((ie=new Array(4))[0]=qe[0],ie[1]=qe.length>=2?qe[1]:ie[0],ie[2]=qe.length>=3?qe[2]:ie[0],ie[3]=qe.length>=4?qe[3]:ie[1]),E.margin=ie}});var Me=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Me},set:function(qe){Me=qe}});var Le=0;Object.defineProperty(this,"lastBreak",{get:function(){return Le},set:function(qe){Le=qe}});var Bt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Bt},set:function(qe){Bt=qe}}),Object.defineProperty(this,"ctx",{get:function(){return E},set:function(qe){qe instanceof T&&(E=qe)}}),Object.defineProperty(this,"path",{get:function(){return E.path},set:function(qe){E.path=qe}});var gt=[];Object.defineProperty(this,"ctxStack",{get:function(){return gt},set:function(qe){gt=qe}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(qe){var ie;ie=R(qe),this.ctx.fillStyle=ie.style,this.ctx.isFillTransparent=0===ie.a,this.ctx.fillOpacity=ie.a,this.pdf.setFillColor(ie.r,ie.g,ie.b,{a:ie.a}),this.pdf.setTextColor(ie.r,ie.g,ie.b,{a:ie.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(qe){var ie=R(qe);this.ctx.strokeStyle=ie.style,this.ctx.isStrokeTransparent=0===ie.a,this.ctx.strokeOpacity=ie.a,0===ie.a?this.pdf.setDrawColor(255,255,255):this.pdf.setDrawColor(ie.r,ie.g,ie.b)}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(qe){-1!==["butt","round","square"].indexOf(qe)&&(this.ctx.lineCap=qe,this.pdf.setLineCap(qe))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(qe){isNaN(qe)||(this.ctx.lineWidth=qe,this.pdf.setLineWidth(qe))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(qe){-1!==["bevel","round","miter"].indexOf(qe)&&(this.ctx.lineJoin=qe,this.pdf.setLineJoin(qe))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(qe){isNaN(qe)||(this.ctx.miterLimit=qe,this.pdf.setMiterLimit(qe))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(qe){this.ctx.textBaseline=qe}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(qe){-1!==["right","end","center","left","start"].indexOf(qe)&&(this.ctx.textAlign=qe)}});var Qt=null,Yt=null;Object.defineProperty(this,"fontFaces",{get:function(){return Yt},set:function(qe){Qt=null,Yt=qe}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(qe){var ie;if(this.ctx.font=qe,null!==(ie=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(qe))){var ln=ie[1],Vt=ie[3],vt=ie[4],Ft=ie[6],Mt=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(vt)[2];vt=Math.floor("px"===Mt?parseFloat(vt)*this.pdf.internal.scaleFactor:"em"===Mt?parseFloat(vt)*this.pdf.getFontSize():parseFloat(vt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(vt);var Et=function(qt){var pn,Nt,er=[],yn=qt.trim();if(""===yn)return Zs;if(yn in Rc)return[Rc[yn]];for(;""!==yn;){switch(Nt=null,pn=(yn=Qu(yn)).charAt(0)){case'"':case"'":Nt=Mu(yn.substring(1),pn);break;default:Nt=io(yn)}if(null===Nt||(er.push(Nt[0]),""!==(yn=Qu(Nt[1]))&&","!==yn.charAt(0)))return Zs;yn=yn.replace(/^,/,"")}return er}(Ft);if(this.fontFaces){var Kt=function Sr(a,o,A){for(var c=(A=A||{}).defaultFontFamily||"times",h=Object.assign({},ds,A.genericFontFamilies||{}),f=null,m=null,_=0;_<o.length;++_)if(h[(f=Pc(o[_])).family]&&(f.family=h[f.family]),a.hasOwnProperty(f.family)){m=a[f.family];break}if(!(m=m||a[c]))throw new Error("Could not find a font-family for the rule '"+hs(f)+"' and default family '"+c+"'.");if(m=function(y,E){if(E[y])return E[y];var T=Vl[y],R=no(E,Nu,T,T<=Vl.normal?-1:1);if(!R)throw new Error("Could not find a matching font-stretch value for "+y);return R}(f.stretch,m),m=function(y,E){if(E[y])return E[y];for(var T=kl[y],U=0;U<T.length;++U)if(E[T[U]])return E[T[U]];throw new Error("Could not find a matching font-style for "+y)}(f.style,m),!(m=function(y,E){if(E[y])return E[y];if(400===y&&E[500])return E[500];if(500===y&&E[400])return E[400];var U=no(E,Tu,Uu[y],y<400?-1:1);if(!U)throw new Error("Could not find a matching font-weight for value "+y);return U}(f.weight,m)))throw new Error("Failed to resolve a font for the rule '"+hs(f)+"'.");return m}(function It(qe,ie){if(null===Qt){var ln=(Vt=qe.getFontList(),vt=[],Object.keys(Vt).forEach(function(Ft){Vt[Ft].forEach(function(Mt){var Et=null;switch(Mt){case"bold":Et={family:Ft,weight:"bold"};break;case"italic":Et={family:Ft,style:"italic"};break;case"bolditalic":Et={family:Ft,weight:"bold",style:"italic"};break;case"":case"normal":Et={family:Ft}}null!==Et&&(Et.ref={name:Ft,style:Mt},vt.push(Et))})}),vt);Qt=function(Vt){for(var vt={},Ft=0;Ft<Vt.length;++Ft){var Mt=Pc(Vt[Ft]),Et=Mt.family,Kt=Mt.stretch,nn=Mt.style,hn=Mt.weight;vt[Et]=vt[Et]||{},vt[Et][Kt]=vt[Et][Kt]||{},vt[Et][Kt][nn]=vt[Et][Kt][nn]||{},vt[Et][Kt][nn][hn]=Mt}return vt}(ln.concat(ie))}var Vt,vt;return Qt}(this.pdf,this.fontFaces),Et.map(function(qt){return{family:qt,stretch:"normal",weight:Vt,style:ln}}));this.pdf.setFont(Kt.ref.name,Kt.ref.style)}else{var nn="";("bold"===Vt||parseInt(Vt,10)>=700||"bold"===ln)&&(nn="bold"),"italic"===ln&&(nn+="italic"),0===nn.length&&(nn="normal");for(var hn="",_n={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},xn=0;xn<Et.length;xn++){if(void 0!==this.pdf.internal.getFont(Et[xn],nn,{noFallback:!0,disableWarning:!0})){hn=Et[xn];break}if("bolditalic"===nn&&void 0!==this.pdf.internal.getFont(Et[xn],"bold",{noFallback:!0,disableWarning:!0}))hn=Et[xn],nn="bold";else if(void 0!==this.pdf.internal.getFont(Et[xn],"normal",{noFallback:!0,disableWarning:!0})){hn=Et[xn],nn="normal";break}}if(""===hn)for(var Gn=0;Gn<Et.length;Gn++)if(_n[Et[Gn]]){hn=_n[Et[Gn]];break}this.pdf.setFont(hn=""===hn?"Times":hn,nn)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(qe){this.ctx.globalCompositeOperation=qe}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(qe){this.ctx.globalAlpha=qe}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(qe){this.ctx.lineDashOffset=qe,Ot.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(qe){this.ctx.lineDash=qe,Ot.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(qe){this.ctx.ignoreClearRect=!!qe}})};U.prototype.setLineDash=function(H){this.lineDash=H},U.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},U.prototype.fill=function(){me.call(this,"fill",!1)},U.prototype.stroke=function(){me.call(this,"stroke",!1)},U.prototype.beginPath=function(){this.path=[{type:"begin"}]},U.prototype.moveTo=function(H,te){if(isNaN(H)||isNaN(te))throw Rn.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var re=this.ctx.transform.applyToPoint(new m(H,te));this.path.push({type:"mt",x:re.x,y:re.y}),this.ctx.lastPoint=new m(H,te)},U.prototype.closePath=function(){var H=new m(0,0),te=0;for(te=this.path.length-1;-1!==te;te--)if("begin"===this.path[te].type&&"object"===mt(this.path[te+1])&&"number"==typeof this.path[te+1].x){H=new m(this.path[te+1].x,this.path[te+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new m(H.x,H.y)},U.prototype.lineTo=function(H,te){if(isNaN(H)||isNaN(te))throw Rn.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to
25jsPDF.context2d.lineTo");var re=this.ctx.transform.applyToPoint(new m(H,te));this.path.push({type:"lt",x:re.x,y:re.y}),this.ctx.lastPoint=new m(re.x,re.y)},U.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),me.call(this,null,!0)},U.prototype.quadraticCurveTo=function(H,te,re,ce){if(isNaN(re)||isNaN(ce)||isNaN(H)||isNaN(te))throw Rn.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ve=this.ctx.transform.applyToPoint(new m(re,ce)),Ne=this.ctx.transform.applyToPoint(new m(H,te));this.path.push({type:"qct",x1:Ne.x,y1:Ne.y,x:ve.x,y:ve.y}),this.ctx.lastPoint=new m(ve.x,ve.y)},U.prototype.bezierCurveTo=function(H,te,re,ce,ve,Ne){if(isNaN(ve)||isNaN(Ne)||isNaN(H)||isNaN(te)||isNaN(re)||isNaN(ce))throw Rn.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var Me=this.ctx.transform.applyToPoint(new m(ve,Ne)),Le=this.ctx.transform.applyToPoint(new m(H,te)),Bt=this.ctx.transform.applyToPoint(new m(re,ce));this.path.push({type:"bct",x1:Le.x,y1:Le.y,x2:Bt.x,y2:Bt.y,x:Me.x,y:Me.y}),this.ctx.lastPoint=new m(Me.x,Me.y)},U.prototype.arc=function(H,te,re,ce,ve,Ne){if(isNaN(H)||isNaN(te)||isNaN(re)||isNaN(ce)||isNaN(ve))throw Rn.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Ne=!!Ne,!this.ctx.transform.isIdentity){var Me=this.ctx.transform.applyToPoint(new m(H,te));H=Me.x,te=Me.y;var Le=this.ctx.transform.applyToPoint(new m(0,re)),Bt=this.ctx.transform.applyToPoint(new m(0,0));re=Math.sqrt(Math.pow(Le.x-Bt.x,2)+Math.pow(Le.y-Bt.y,2))}Math.abs(ve-ce)>=2*Math.PI&&(ce=0,ve=2*Math.PI),this.path.push({type:"arc",x:H,y:te,radius:re,startAngle:ce,endAngle:ve,counterclockwise:Ne})},U.prototype.arcTo=function(H,te,re,ce,ve){throw new Error("arcTo not implemented.")},U.prototype.rect=function(H,te,re,ce){if(isNaN(H)||isNaN(te)||isNaN(re)||isNaN(ce))throw Rn.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(H,te),this.lineTo(H+re,te),this.lineTo(H+re,te+ce),this.lineTo(H,te+ce),this.lineTo(H,te),this.lineTo(H+re,te),this.lineTo(H,te)},U.prototype.fillRect=function(H,te,re,ce){if(isNaN(H)||isNaN(te)||isNaN(re)||isNaN(ce))throw Rn.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!x.call(this)){var ve={};"butt"!==this.lineCap&&(ve.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(ve.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(H,te,re,ce),this.fill(),ve.hasOwnProperty("lineCap")&&(this.lineCap=ve.lineCap),ve.hasOwnProperty("lineJoin")&&(this.lineJoin=ve.lineJoin)}},U.prototype.strokeRect=function(H,te,re,ce){if(isNaN(H)||isNaN(te)||isNaN(re)||isNaN(ce))throw Rn.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");q.call(this)||(this.beginPath(),this.rect(H,te,re,ce),this.stroke())},U.prototype.clearRect=function(H,te,re,ce){if(isNaN(H)||isNaN(te)||isNaN(re)||isNaN(ce))throw Rn.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(H,te,re,ce))},U.prototype.save=function(H){H="boolean"!=typeof H||H;for(var te=this.pdf.internal.getCurrentPageInfo().pageNumber,re=0;re<this.pdf.internal.getNumberOfPages();re++)this.pdf.setPage(re+1),this.pdf.internal.out("q");if(this.pdf.setPage(te),H){this.ctx.fontSize=this.pdf.internal.getFontSize();var ce=new T(this.ctx);this.ctxStack.push(this.ctx),this.ctx=ce}},U.prototype.restore=function(H){H="boolean"!=typeof H||H;for(var te=this.pdf.internal.getCurrentPageInfo().pageNumber,re=0;re<this.pdf.internal.getNumberOfPages();re++)this.pdf.setPage(re+1),this.pdf.internal.out("Q");this.pdf.setPage(te),H&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},U.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var R=function(H){var te,re,ce,ve;if(!0===H.isCanvasGradient&&(H=H.getColor()),!H)return{r:0,g:0,b:0,a:0,style:H};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(H))te=0,re=0,ce=0,ve=0;else{var Ne=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(H);if(null!==Ne)te=parseInt(Ne[1]),re=parseInt(Ne[2]),ce=parseInt(Ne[3]),ve=1;else if(null!==(Ne=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(H)))te=parseInt(Ne[1]),re=parseInt(Ne[2]),ce=parseInt(Ne[3]),ve=parseFloat(Ne[4]);else{if(ve=1,"string"==typeof H&&"#"!==H.charAt(0)){var Me=new As(H);H=Me.ok?Me.toHex():"#000000"}4===H.length?(te=H.substring(1,2),te+=te,re=H.substring(2,3),re+=re,ce=H.substring(3,4),ce+=ce):(te=H.substring(1,3),re=H.substring(3,5),ce=H.substring(5,7)),te=parseInt(te,16),re=parseInt(re,16),ce=parseInt(ce,16)}}return{r:te,g:re,b:ce,a:ve,style:H}},x=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},q=function(){return!(!this.ctx.isStrokeTransparent&&0!=this.globalAlpha)};U.prototype.fillText=function(H,te,re,ce){if(isNaN(te)||isNaN(re)||"string"!=typeof H)throw Rn.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to
25jsPDF.context2d.fillText");if(ce=isNaN(ce)?void 0:ce,!x.call(this)){var ve=xe(this.ctx.transform.rotation);$.call(this,{text:H,x:te,y:re,scale:this.ctx.transform.scaleX,angle:ve,align:this.textAlign,maxWidth:ce})}},U.prototype.strokeText=function(H,te,re,ce){if(isNaN(te)||isNaN(re)||"string"!=typeof H)throw Rn.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!q.call(this)){ce=isNaN(ce)?void 0:ce;var ve=xe(this.ctx.transform.rotation);$.call(this,{text:H,x:te,y:re,scale:this.ctx.transform.scaleX,renderingMode:"stroke",angle:ve,align:this.textAlign,maxWidth:ce})}},U.prototype.measureText=function(H){if("string"!=typeof H)throw Rn.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var te=this.pdf,re=this.pdf.internal.scaleFactor,ce=te.internal.getFontSize(),ve=te.getStringUnitWidth(H)*ce/te.internal.scaleFactor;return new function(Me){var Le=(Me=Me||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Le}}),this}({width:ve*=Math.round(96*re/72*1e4)/1e4})},U.prototype.scale=function(H,te){if(isNaN(H)||isNaN(te))throw Rn.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var re=new y(H,0,0,te,0,0);this.ctx.transform=this.ctx.transform.multiply(re)},U.prototype.rotate=function(H){if(isNaN(H))throw Rn.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var te=new y(Math.cos(H),Math.sin(H),-Math.sin(H),Math.cos(H),0,0);this.ctx.transform=this.ctx.transform.multiply(te)},U.prototype.translate=function(H,te){if(isNaN(H)||isNaN(te))throw Rn.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var re=new y(1,0,0,1,H,te);this.ctx.transform=this.ctx.transform.multiply(re)},U.prototype.transform=function(H,te,re,ce,ve,Ne){if(isNaN(H)||isNaN(te)||isNaN(re)||isNaN(ce)||isNaN(ve)||isNaN(Ne))throw Rn.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var Me=new y(H,te,re,ce,ve,Ne);this.ctx.transform=this.ctx.transform.multiply(Me)},U.prototype.setTransform=function(H,te,re,ce,ve,Ne){H=isNaN(H)?1:H,te=isNaN(te)?0:te,re=isNaN(re)?0:re,ce=isNaN(ce)?1:ce,ve=isNaN(ve)?0:ve,Ne=isNaN(Ne)?0:Ne,this.ctx.transform=new y(H,te,re,ce,ve,Ne)};var z=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};U.prototype.drawImage=function(H,te,re,ce,ve,Ne,Me,Le,Bt){var gt=this.pdf.getImageProperties(H),Qt=1,It=1,Yt=1,qe=1;void 0!==ce&&void 0!==Le&&(Yt=Le/ce,qe=Bt/ve,Qt=gt.width/ce*Le/ce,It=gt.height/ve*Bt/ve),void 0===Ne&&(Ne=te,Me=re,te=0,re=0),void 0!==ce&&void 0===Le&&(Le=ce,Bt=ve),void 0===ce&&void 0===Le&&(Le=gt.width,Bt=gt.height);for(var ie,ln=this.ctx.transform.decompose(),Vt=xe(ln.rotate.shx),vt=new y,Ft=(vt=(vt=(vt=vt.multiply(ln.translate)).multiply(ln.skew)).multiply(ln.scale)).applyToRectangle(new _(Ne-te*Yt,Me-re*qe,ce*Qt,ve*It)),Mt=ee.call(this,Ft),Et=[],Kt=0;Kt<Mt.length;Kt+=1)-1===Et.indexOf(Mt[Kt])&&Et.push(Mt[Kt]);if(de(Et),this.autoPaging)for(var nn=Et[0],hn=Et[Et.length-1],_n=nn;_n<hn+1;_n++){this.pdf.setPage(_n);var xn=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Gn=1===_n?this.posY+this.margin[0]:this.margin[0],pn=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Nt=1===_n?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(_n-2)*pn;if(0!==this.ctx.clip_path.length){var er=this.path;ie=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=X(ie,this.posX+this.margin[3],-Nt+Gn+this.ctx.prevPageLastElemOffset),Re.call(this,"fill",!0),this.path=er}var yn=JSON.parse(JSON.stringify(Ft));yn=X([yn],this.posX+this.margin[3],-Nt+Gn+this.ctx.prevPageLastElemOffset)[0];var vr=(_n>nn||_n<hn)&&z.call(this);vr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],xn,pn,null).clip().discardPath()),this.pdf.addImage(H,"JPEG",yn.x,yn.y,yn.w,yn.h,null,null,Vt),vr&&this.pdf.restoreGraphicsState()}
vendor: 13,157 bytes, lines 25-43
25else this.pdf.addImage(H,"JPEG",Ft.x,Ft.y,Ft.w,Ft.h,null,null,Vt)};var ee=function(H,te,re){var ce=[];te=te||this.pdf.internal.pageSize.width,re=re||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var ve=this.posY+this.ctx.prevPageLastElemOffset;switch(H.type){default:case"mt":case"lt":ce.push(Math.floor((H.y+ve)/re)+1);break;case"arc":ce.push(Math.floor((H.y+ve-H.radius)/re)+1),ce.push(Math.floor((H.y+ve+H.radius)/re)+1);break;case"qct":var Ne=Ye(this.ctx.lastPoint.x,this.ctx.lastPoint.y,H.x1,H.y1,H.x,H.y);ce.push(Math.floor((Ne.y+ve)/re)+1),ce.push(Math.floor((Ne.y+Ne.h+ve)/re)+1);break;case"bct":var Me=Ze(this.ctx.lastPoint.x,this.ctx.lastPoint.y,H.x1,H.y1,H.x2,H.y2,H.x,H.y);ce.push(Math.floor((Me.y+ve)/re)+1),ce.push(Math.floor((Me.y+Me.h+ve)/re)+1);break;case"rect":ce.push(Math.floor((H.y+ve)/re)+1),ce.push(Math.floor((H.y+H.h+ve)/re)+1)}for(var Le=0;Le<ce.length;Le+=1)for(;this.pdf.internal.getNumberOfPages()<ce[Le];)j.call(this);return ce},j=function(){var H=this.fillStyle,te=this.strokeStyle,re=this.font,ce=this.lineCap,ve=this.lineWidth,Ne=this.lineJoin;this.pdf.addPage(),this.fillStyle=H,this.strokeStyle=te,this.font=re,this.lineCap=ce,this.lineWidth=ve,this.lineJoin=Ne},X=function(H,te,re){for(var ce=0;ce<H.length;ce++)switch(H[ce].type){case"bct":H[ce].x2+=te,H[ce].y2+=re;case"qct":H[ce].x1+=te,H[ce].y1+=re;default:H[ce].x+=te,H[ce].y+=re}return H},de=function(H){return H.sort(function(te,re){return te-re})},me=function(H,te){for(var re,ce,ve=this.fillStyle,Ne=this.strokeStyle,Me=this.lineCap,Le=this.lineWidth,Bt=Math.abs(Le*this.ctx.transform.scaleX),gt=this.lineJoin,Qt=JSON.parse(JSON.stringify(this.path)),It=JSON.parse(JSON.stringify(this.path)),Yt=[],qe=0;qe<It.length;qe++)if(void 0!==It[qe].x)for(var ie=ee.call(this,It[qe]),ln=0;ln<ie.length;ln+=1)-1===Yt.indexOf(ie[ln])&&Yt.push(ie[ln]);for(var Vt=0;Vt<Yt.length;Vt++)for(;this.pdf.internal.getNumberOfPages()<Yt[Vt];)j.call(this);if(de(Yt),this.autoPaging)for(var vt=Yt[0],Ft=Yt[Yt.length-1],Mt=vt;Mt<Ft+1;Mt++){this.pdf.setPage(Mt),this.fillStyle=ve,this.strokeStyle=Ne,this.lineCap=Me,this.lineWidth=Bt,this.lineJoin=gt;var Et=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Kt=1===Mt?this.posY+this.margin[0]:this.margin[0],hn=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],_n=1===Mt?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(Mt-2)*hn;if(0!==this.ctx.clip_path.length){var xn=this.path;re=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=X(re,this.posX+this.margin[3],-_n+Kt+this.ctx.prevPageLastElemOffset),Re.call(this,H,!0),this.path=xn}if(ce=JSON.parse(JSON.stringify(Qt)),this.path=X(ce,this.posX+this.margin[3],-_n+Kt+this.ctx.prevPageLastElemOffset),!1===te||0===Mt){var Gn=(Mt>vt||Mt<Ft)&&z.call(this);Gn&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Et,hn,null).clip().discardPath()),Re.call(this,H,te),Gn&&this.pdf.restoreGraphicsState()}this.lineWidth=Le}else this.lineWidth=Bt,Re.call(this,H,te),this.lineWidth=Le;this.path=Qt},Re=function(H,te){if(("stroke"!==H||te||!q.call(this))&&("stroke"===H||te||!x.call(this))){for(var re,ce,ve=[],Ne=this.path,Me=0;Me<Ne.length;Me++){var Le=Ne[Me];switch(Le.type){case"begin":ve.push({begin:!0});break;case"close":ve.push({close:!0});break;case"mt":ve.push({start:Le,deltas:[],abs:[]});break;case"lt":var Bt=ve.length;if(Ne[Me-1]&&!isNaN(Ne[Me-1].x)&&(re=[Le.x-Ne[Me-1].x,Le.y-Ne[Me-1].y],Bt>0))for(;Bt>=0;Bt--)if(!0!==ve[Bt-1].close&&!0!==ve[Bt-1].begin){ve[Bt-1].deltas.push(re),ve[Bt-1].abs.push(Le);break}break;case"bct":ve[ve.length-1].deltas.push(re=[Le.x1-Ne[Me-1].x,Le.y1-Ne[Me-1].y,Le.x2-Ne[Me-1].x,Le.y2-Ne[Me-1].y,Le.x-Ne[Me-1].x,Le.y-Ne[Me-1].y]);break;case"qct":ve[ve.length-1].deltas.push(re=[Ne[Me-1].x+2/3*(Le.x1-Ne[Me-1].x)-Ne[Me-1].x,Ne[Me-1].y+2/3*(Le.y1-Ne[Me-1].y)-Ne[Me-1].y,Le.x+2/3*(Le.x1-Le.x)-Ne[Me-1].x,Le.y+2/3*(Le.y1-Le.y)-Ne[Me-1].y,Le.x-Ne[Me-1].x,Le.y-Ne[Me-1].y]);break;case"arc":ve.push({deltas:[],abs:[],arc:!0}),Array.isArray(ve[ve.length-1].abs)&&ve[ve.length-1].abs.push(Le)}}ce=te?null:"stroke"===H?"stroke":"fill";for(var ln=!1,Vt=0;Vt<ve.length;Vt++)if(ve[Vt].arc)for(var vt=ve[Vt].abs,Ft=0;Ft<vt.length;Ft++){var Mt=vt[Ft];"arc"===Mt.type?ae.call(this,Mt.x,Mt.y,Mt.radius,Mt.startAngle,Mt.endAngle,Mt.counterclockwise,void 0,te,!ln):ue.call(this,Mt.x,Mt.y),ln=!0}else!0===ve[Vt].close?(this.pdf.internal.out("h"),ln=!1):!0!==ve[Vt].begin&&(oe.call(this,ve[Vt].deltas,ve[Vt].start.x,ve[Vt].start.y),ln=!0);ce&&Fe.call(this,ce),te&&ze.call(this)}},At=function(H){var te=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,re=te*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return H-re;case"top":return H+te-re;case"hanging":return H+te-2*re;case"middle":return H+te/2-re;default:return H}},Ee=function(H){return H+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};U.prototype.createLinearGradient=function(){var H=function(){};return H.colorStops=[],H.addColorStop=function(te,re){this.colorStops.push([te,re])},H.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},H.isCanvasGradient=!0,H},U.prototype.createPattern=function(){return this.createLinearGradient()},U.prototype.createRadialGradient=function(){return this.createLinearGradient()};var ae=function(H,te,re,ce,ve,Ne,Me,Le,Bt){for(var gt=He.call(this,re,ce,ve,Ne),Qt=0;Qt<gt.length;Qt++){var It=gt[Qt];0===Qt&&(Bt?W.call(this,It.x1+H,It.y1+te):ue.call(this,It.x1+H,It.y1+te)),je.call(this,H,te,It.x2,It.y2,It.x3,It.y3,It.x4,It.y4)}Le?ze.call(this):Fe.call(this,Me)},Fe=function(H){switch(H){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},ze=function(){this.pdf.clip(),this.pdf.discardPath()},W=function(H,te){this.pdf.internal.out(A(H)+" "+c(te)+" m")},$=function(H){var te;switch(H.align){case"right":case"end":te="right";break;case"center":te="center";break;default:te="left"}var re=this.pdf.getTextDimensions(H.text),ce=At.call(this,H.y),ve=Ee.call(this,ce)-re.h,Ne=this.ctx.transform.applyToPoint(new m(H.x,ce)),Me=this.ctx.transform.decompose(),Le=new y;Le=(Le=(Le=Le.multiply(Me.translate)).multiply(Me.skew)).multiply(Me.scale);for(var Bt,gt,Qt,It=this.ctx.transform.applyToRectangle(new _(H.x,ce,re.w,re.h)),Yt=Le.applyToRectangle(new _(H.x,ve,re.w,re.h)),qe=ee.call(this,Yt),ie=[],ln=0;ln<qe.length;ln+=1)-1===ie.indexOf(qe[ln])&&ie.push(qe[ln]);if(de(ie),this.autoPaging)for(var Vt=ie[0],vt=ie[ie.length-1],Ft=Vt;Ft<vt+1;Ft++){this.pdf.setPage(Ft);var Mt=1===Ft?this.posY+this.margin[0]:this.margin[0],Kt=this.pdf.internal.pageSize.height-this.margin[2],nn=Kt-this.margin[0],hn=this.pdf.internal.pageSize.width-this.margin[1],_n=hn-this.margin[3],xn=1===Ft?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(Ft-2)*nn;if(0!==this.ctx.clip_path.length){var Gn=this.path;Bt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=X(Bt,this.posX+this.margin[3],-1*xn+Mt),Re.call(this,"fill",!0),this.path=Gn}var qt=X([JSON.parse(JSON.stringify(Yt))],this.posX+this.margin[3],-xn+Mt+this.ctx.prevPageLastElemOffset)[0];H.scale>=.01&&(gt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(gt*H.scale),this.lineWidth=(Qt=this.lineWidth)*H.scale);var pn="text"!==this.autoPaging;if(pn||qt.y+qt.h<=Kt){if(pn||qt.y>=Mt&&qt.x<=hn){var Nt=pn?H.text:this.pdf.splitTextToSize(H.text,H.maxWidth||hn-qt.x)[0],er=X([JSON.parse(JSON.stringify(It))],this.posX+this.margin[3],-xn+Mt+this.ctx.prevPageLastElemOffset)[0],yn=pn&&(Ft>Vt||Ft<vt)&&z.call(this);yn&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],_n,nn,null).clip().discardPath()),this.pdf.text(Nt,er.x,er.y,{angle:H.angle,align:te,renderingMode:H.renderingMode}),yn&&this.pdf.restoreGraphicsState()}}else qt.y<Kt&&(this.ctx.prevPageLastElemOffset+=Kt-qt.y);H.scale>=.01&&(this.pdf.setFontSize(gt),this.lineWidth=Qt)}else H.scale>=.01&&(gt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(gt*H.scale),this.lineWidth=(Qt=this.lineWidth)*H.scale),this.pdf.text(H.text,Ne.x+this.posX,Ne.y+this.posY,{angle:H.angle,align:te,renderingMode:H.renderingMode,maxWidth:H.maxWidth}),H.scale>=.01&&(this.pdf.setFontSize(gt),this.lineWidth=Qt)},ue=function(H,te,re,ce){ce=ce||0,this.pdf.internal.out(A(H+(re=re||0))+" "+c(te+ce)+" l")},oe=function(H,te,re){return this.pdf.lines(H,te,re,null,null)},je=function(H,te,re,ce,ve,Ne,Me,Le){this.pdf.internal.out([o(h(re+H)),o(f(ce+te)),o(h(ve+H)),o(f(Ne+te)),o(h(Me+H)),o(f(Le+te)),"c"].join(" "))},He=function(H,te,re,ce){for(var ve=2*Math.PI,Ne=Math.PI/2;te>re;)te-=ve;var Me=Math.abs(re-te);Me<ve&&ce&&(Me=ve-Me);for(var Le=[],Bt=ce?-1:1,gt=te;Me>1e-5;){var Qt=gt+Bt*Math.min(Me,Ne);Le.push(Je.call(this,H,gt,Qt)),Me-=Math.abs(Qt-gt),gt=Qt}return Le},Je=function(H,te,re){var ce=(re-te)/2,ve=H*Math.cos(ce),Ne=H*Math.sin(ce),Me=ve,Le=-Ne,Bt=Me*Me+Le*Le,gt=Bt+Me*ve+Le*Ne,Qt=4/3*(Math.sqrt(2*Bt*gt)-gt)/(Me*Ne-Le*ve),It=Me-Qt*Le,Yt=Le+Qt*Me,qe=It,ie=-Yt,ln=ce+te,Vt=Math.cos(ln),vt=Math.sin(ln);return{x1:H*Math.cos(te),y1:H*Math.sin(te),x2:It*Vt-Yt*vt,y2:It*vt+Yt*Vt,x3:qe*Vt-ie*vt,y3:qe*vt+ie*Vt,x4:H*Math.cos(re),y4:H*Math.sin(re)}},xe=function(H){return 180*H/Math.PI},Ye=function(H,te,re,ce,ve,Ne){var Me=H+.5*(re-H),Le=te+.5*(ce-te),Bt=ve+.5*(re-ve),gt=Ne+.5*(ce-Ne),Qt=Math.min(H,ve,Me,Bt),It=Math.max(H,ve,Me,Bt),Yt=Math.min(te,Ne,Le,gt),qe=Math.max(te,Ne,Le,gt);return new _(Qt,Yt,It-Qt,qe-Yt)},Ze=function(H,te,re,ce,ve,Ne,Me,Le){var Bt,gt,Qt,It,Yt,qe,ie,ln,Vt,vt,Ft,Mt,Et,Kt,nn=re-H,hn=ce-te,_n=ve-re,xn=Ne-ce,Gn=Me-ve,qt=Le-Ne;for(gt=0;gt<41;gt++)Vt=(ie=(Qt=H+(Bt=gt/40)*nn)+Bt*((Yt=re+Bt*_n)-Qt))+Bt*(Yt+Bt*(ve+Bt*Gn-Yt)-ie),vt=(ln=(It=te+Bt*hn)+Bt*((qe=ce+Bt*xn)-It))+Bt*(qe+Bt*(Ne+Bt*qt-qe)-ln),0==gt?(Ft=Vt,Mt=vt,Et=Vt,Kt=vt):(Ft=Math.min(Ft,Vt),Mt=Math.min(Mt,vt),Et=Math.max(Et,Vt),Kt=Math.max(Kt,vt));return new _(Math.round(Ft),Math.round(Mt),Math.round(Et-Ft),Math.round(Kt-Mt))},Ot=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var re=JSON.stringify({lineDash:this.ctx.lineDash,lineDashOffset:this.ctx.lineDashOffset});this.prevLineDash!==re&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=re)}}})(Jt.API), 26/** 27 * @license 28 * jsPDF filters PlugIn 29 * Copyright (c) 2014 Aras Abbasi 30 * 31 * Licensed under the MIT License. 32 * http://opensource.org/licenses/mit-license 33 */ 34function(a){var o=function(f){var m,_,y,E,T,U,R,x,q,z;for(/[^\x00-\xFF]/.test(f),_=[],y=0,E=(f+=m="\0\0\0\0".slice(f.length%4||4)).length;E>y;y+=4)0!==(T=(f.charCodeAt(y)<<24)+(f.charCodeAt(y+1)<<16)+(f.charCodeAt(y+2)<<8)+f.charCodeAt(y+3))?(U=(T=((T=((T=((T=(T-(z=T%85))/85)-(q=T%85))/85)-(x=T%85))/85)-(R=T%85))/85)%85,_.push(U+33,R+33,x+33,q+33,z+33)):_.push(122);return function(ee,j){for(var X=j;X>0;X--)ee.pop()}(_,m.length),String.fromCharCode.apply(String,_)+"~>"},A=function(f){var m,_,y,E,T,U=String,R="length",x=255,q="charCodeAt",z="slice",ee="replace";for(f[z](-2),f=f[z](0,-2)[ee](/\s/g,"")[ee]("z","!!!!!"),y=[],E=0,T=(f+=m="uuuuu"[z](f[R]%5||5))[R];T>E;E+=5)_=52200625*(f[q](E)-33)+614125*(f[q](E+1)-33)+7225*(f[q](E+2)-33)+85*(f[q](E+3)-33)+(f[q](E+4)-33),y.push(x&_>>24,x&_>>16,x&_>>8,x&_);return function(j,X){for(var de=X;de>0;de--)j.pop()}(y,m[R]),U.fromCharCode.apply(U,y)},c=function(f){var m=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(f=f.replace(/\s/g,"")).indexOf(">")&&(f=f.substr(0,f.indexOf(">"))),f.length%2&&(f+="0"),!1===m.test(f))return"";for(var _="",y=0;y<f.length;y+=2)_+=String.fromCharCode("0x"+(f[y]+f[y+1]));return _},h=function(f){for(var m=new Uint8Array(f.length),_=f.length;_--;)m[_]=f.charCodeAt(_);return(m=ca(m)).reduce(function(y,E){return y+String.fromCharCode(E)},"")};a.processDataByFilters=function(f,m){var _=0,y=f||"",E=[];for("string"==typeof(m=m||[])&&(m=[m]),_=0;_<m.length;_+=1)switch(m[_]){case"ASCII85Decode":case"/ASCII85Decode":y=A(y),E.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":y=o(y),E.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":y=c(y),E.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":y=y.split("").map(function(T){return("0"+T.charCodeAt().toString(16)).slice(-2)}).join("")+">",E.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":y=h(y),E.push("/FlateDecode");break;default:throw new Error('The filter: "'+m[_]+'" is not implemented')}return{data:y,reverseChain:E.reverse().join(" ")}}}(Jt.API), 35/** 36 * @license 37 * jsPDF fileloading PlugIn 38 * Copyright (c) 2018 Aras Abbasi ([email protected]) 39 * 40 * Licensed under the MIT License. 41 * http://opensource.org/licenses/mit-license 42 */ 43function(a){a.loadFile=function(o,A,c){return function(h,f,m){f=!1!==f,m="function"==typeof m?m:function(){};var _=void 0;try{_=function(y,E,T){var U=new XMLHttpRequest,R=0,x=function(q){var z=q.length,ee=[],j=String.fromCharCode;for(R=0;R<z;R+=1)ee.push(j(255&q.charCodeAt(R)));return ee.join("")};if(U.open("GET",y,!E),U.overrideMimeType("text/plain;
43 charset=x-user-defined"),!1===E&&(U.onload=function(){T(200===U.status?x(this.responseText):void 0)}),U.send(null),E&&200===U.status)return x(U.responseText)}(h,f,m)}catch{}return _}(o,A,c)},a.loadImageFile=a.loadFile}(Jt.API),function(a){function o(){return($t.html2canvas?Promise.resolve($t.html2canvas):Promise.resolve().then(L.t.bind(L,7239,23))).catch(function(m){return Promise.reject(new Error("Could not load html2canvas: "+m))}).then(function(m){return m.default?m.default:m})}function A(){return($t.DOMPurify?Promise.resolve($t.DOMPurify):Promise.resolve().then(L.bind(L,627))).catch(function(m){return Promise.reject(new Error("Could not load dompurify: "+m))}).then(function(m){return m.default?m.default:m})}var c=function(m){var _=mt(m);return"undefined"===_?"undefined":"string"===_||m instanceof String?"string":"number"===_||m instanceof Number?"number":"function"===_||m instanceof Function?"function":m&&m.constructor===Array?"array":m&&1===m.nodeType?"element":"object"===_?"object":"unknown"},h=function(m,_){var y=document.createElement(m);for(var E in _.className&&(y.className=_.className),_.innerHTML&&_.dompurify&&(y.innerHTML=_.dompurify.sanitize(_.innerHTML)),_.style)y.style[E]=_.style[E];return y},f=function m(_){var y=Object.assign(m.convert(Promise.resolve()),JSON.parse(JSON.stringify(m.template))),E=m.convert(Promise.resolve(),y);return(E=E.setProgress(1,m,1,[m])).set(_)};(f.prototype=Object.create(Promise.prototype)).constructor=f,f.convert=function(m,_){return m.__proto__=_||f.prototype,m},f.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},f.prototype.from=function(m,_){return this.then(function(){switch(_=_||function(y){switch(c(y)){case"string":return"string";case"element":return"canvas"===y.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(m)){case"string":return this.then(A).then(function(y){return this.set({src:h("div",{innerHTML:m,dompurify:y})})});case"element":return this.set({src:m});case"canvas":return this.set({canvas:m});case"img":return this.set({img:m});default:return this.error("Unknown source type.")}})},f.prototype.to=function(m){switch(m){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},f.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var m={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},_=function y(E,T){for(var U=3===E.nodeType?document.createTextNode(E.nodeValue):E.cloneNode(!1),R=E.firstChild;R;R=R.nextSibling)!0!==T&&1===R.nodeType&&"SCRIPT"===R.nodeName||U.appendChild(y(R,T));return 1===E.nodeType&&("CANVAS"===E.nodeName?(U.width=E.width,U.height=E.height,U.getContext("2d").drawImage(E,0,0)):"TEXTAREA"!==E.nodeName&&"SELECT"!==E.nodeName||(U.value=E.value),U.addEventListener("load",function(){U.scrollTop=E.scrollTop,U.scrollLeft=E.scrollLeft},!0)),U}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===_.tagName&&(m.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=h("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=h("div",{className:"html2pdf__container",style:m}),this.prop.container.appendChild(_),this.prop.container.firstChild.appendChild(h("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},f.prototype.toCanvas=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(o).then(function(_){var y=Object.assign({},this.opt.html2canvas);return delete y.onrendered,_(this.prop.container,y)}).then(function(_){(this.opt.html2canvas.onrendered||function(){})(_),this.prop.canvas=_,document.body.removeChild(this.prop.overlay)})},f.prototype.toContext2d=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(o).then(function(_){var y=this.opt.jsPDF,E=this.opt.fontFaces,T="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,U=Object.assign({async:!0,allowTaint:!0,scale:T,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete U.onrendered,y.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,y.context2d.posX=this.opt.x,y.context2d.posY=this.opt.y,y.context2d.margin=this.opt.margin,y.context2d.fontFaces=E,E)for(var R=0;R<E.length;++R){var x=E[R],q=x.src.find(function(z){return"truetype"===z.format});q&&y.addFont(q.url,x.ref.name,x.ref.style)}
vendor: 27,536 bytes, lines 43-58
43return U.windowHeight=U.windowHeight||0,U.windowHeight=0==U.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):U.windowHeight,y.context2d.save(!0),_(this.prop.container,U)}).then(function(_){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(_),this.prop.canvas=_,document.body.removeChild(this.prop.overlay)})},f.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var m=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=m})},f.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},f.prototype.output=function(m,_,y){return"img"===(y=y||"pdf").toLowerCase()||"image"===y.toLowerCase()?this.outputImg(m,_):this.outputPdf(m,_)},f.prototype.outputPdf=function(m,_){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(m,_)})},f.prototype.outputImg=function(m){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(m){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+m+'" is not supported.'}})},f.prototype.save=function(m){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(m?{filename:m}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},f.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},f.prototype.set=function(m){if("object"!==c(m))return this;var _=Object.keys(m||{}).map(function(y){if(y in f.template.prop)return function(){this.prop[y]=m[y]};switch(y){case"margin":return this.setMargin.bind(this,m.margin);case"jsPDF":return function(){return this.opt.jsPDF=m.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,m.pageSize);default:return function(){this.opt[y]=m[y]}}},this);return this.then(function(){return this.thenList(_)})},f.prototype.get=function(m,_){return this.then(function(){var y=m in f.template.prop?this.prop[m]:this.opt[m];return _?_(y):y})},f.prototype.setMargin=function(m){return this.then(function(){switch(c(m)){case"number":m=[m,m,m,m];case"array":if(2===m.length&&(m=[m[0],m[1],m[0],m[1]]),4===m.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=m}).then(this.setPageSize)},f.prototype.setPageSize=function(m){function _(y,E){return Math.floor(y*E/72*96)}return this.then(function(){(m=m||Jt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(m.inner={width:m.width-this.opt.margin[1]-this.opt.margin[3],height:m.height-this.opt.margin[0]-this.opt.margin[2]},m.inner.px={width:_(m.inner.width,m.k),height:_(m.inner.height,m.k)},m.inner.ratio=m.inner.height/m.inner.width),this.prop.pageSize=m})},f.prototype.setProgress=function(m,_,y,E){return null!=m&&(this.progress.val=m),null!=_&&(this.progress.state=_),null!=y&&(this.progress.n=y),null!=E&&(this.progress.stack=E),this.progress.ratio=this.progress.val/this.progress.state,this},f.prototype.updateProgress=function(m,_,y,E){return this.setProgress(m?this.progress.val+m:null,_||null,y?this.progress.n+y:null,E?this.progress.stack.concat(E):null)},f.prototype.then=function(m,_){var y=this;return this.thenCore(m,_,function(E,T){return y.updateProgress(null,null,1,[E]),Promise.prototype.then.call(this,function(U){return y.updateProgress(null,E),U}).then(E,T).then(function(U){return y.updateProgress(1),U})})},f.prototype.thenCore=function(m,_,y){y=y||Promise.prototype.then,m&&(m=m.bind(this)),_&&(_=_.bind(this));var E=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:f.convert(Object.assign({},this),Promise.prototype),T=y.call(E,m,_);return f.convert(T,this.__proto__)},f.prototype.thenExternal=function(m,_){return Promise.prototype.then.call(this,m,_)},f.prototype.thenList=function(m){var _=this;return m.forEach(function(y){_=_.thenCore(y)}),_},f.prototype.catch=function(m){m&&(m=m.bind(this));var _=Promise.prototype.catch.call(this,m);return f.convert(_,this)},f.prototype.catchExternal=function(m){return Promise.prototype.catch.call(this,m)},f.prototype.error=function(m){return this.then(function(){throw new Error(m)})},f.prototype.using=f.prototype.set,f.prototype.saveAs=f.prototype.save,f.prototype.export=f.prototype.output,f.prototype.run=f.prototype.then,Jt.getPageSize=function(m,_,y){if("object"===mt(m)){var E=m;m=E.orientation,_=E.unit||_,y=E.format||y}_=_||"mm",y=y||"a4",m=(""+(m||"P")).toLowerCase();var T,U=(""+y).toLowerCase(),R={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(_){case"pt":T=1;break;case"mm":T=72/25.4;break;case"cm":T=72/2.54;break;case"in":T=72;break;case"px":T=.75;break;case"pc":case"em":T=12;break;case"ex":T=6;break;default:throw"Invalid unit: "+_}var x,q=0,z=0;if(R.hasOwnProperty(U))q=R[U][1]/T,z=R[U][0]/T;else try{q=y[1],z=y[0]}catch{throw new Error("Invalid format: "+y)}if("p"===m||"portrait"===m)m="p",z>q&&(x=z,z=q,q=x);else{if("l"!==m&&"landscape"!==m)throw"Invalid orientation: "+m;m="l",q>z&&(x=z,z=q,q=x)}return{width:z,height:q,unit:_,k:T,orientation:m}},a.html=function(m,_){(_=_||{}).callback=_.callback||function(){},_.html2canvas=_.html2canvas||{},_.html2canvas.canvas=_.html2canvas.canvas||this.canvas,_.jsPDF=_.jsPDF||this,_.fontFaces=_.fontFaces?_.fontFaces.map(Pc):null;var y=new f(_);return _.worker?y:y.from(m).doCallback()}}(Jt.API),Jt.API.addJS=function(a){return ma=a,this.internal.events.subscribe("postPutResources",function(){ai=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ai+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),gr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+ma+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==ai&&void 0!==gr&&this.internal.out("/Names <</JavaScript "+ai+" 0 R>>")}),this}, 44/** 45 * @license 46 * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) [email protected] 47 * 48 * Licensed under the MIT License. 49 * http://opensource.org/licenses/mit-license 50 */ 51function(a){var o;a.events.push(["postPutResources",function(){var A=this,c=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var h=A.outline.render().split(/\r\n/),f=0;f<h.length;f++){var m=h[f],_=c.exec(m);null!=_&&A.internal.newObjectDeferredBegin(_[1],!1),A.internal.write(m)}if(this.outline.createNamedDestinations){var E=this.internal.pages.length,T=[];for(f=0;f<E;f++){var U=A.internal.newObject();T.push(U);var R=A.internal.getPageInfo(f+1);A.internal.write("<< /D["+R.objId+" 0 R /XYZ null null null]>> endobj")}var x=A.internal.newObject();for(A.internal.write("<< /Names [ "),f=0;f<T.length;f++)A.internal.write("(page_"+(f+1)+")"+T[f]+" 0 R");A.internal.write(" ] >>","endobj"),o=A.internal.newObject(),A.internal.write("<< /Dests "+x+" 0 R"),A.internal.write(">>","endobj")}}]),a.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+o+" 0 R"))}]),a.events.push(["initialized",function(){var A=this;A.outline={createNamedDestinations:!1,root:{children:[]}},A.outline.add=function(c,h,f){var m={title:h,options:f,children:[]};return null==c&&(c=this.root),c.children.push(m),m},A.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=A,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},A.outline.genIds_r=function(c){c.id=A.internal.newObjectDeferred();for(var h=0;h<c.children.length;h++)this.genIds_r(c.children[h])},A.outline.renderRoot=function(c){this.objStart(c),this.line("/Type /Outlines"),c.children.length>0&&(this.line("/First "+this.makeRef(c.children[0])),this.line("/Last "+this.makeRef(c.children[c.children.length-1]))),this.line("/Count "+this.count_r({count:0},c)),this.objEnd()},A.outline.renderItems=function(c){for(var h=this.ctx.pdf.internal.getVerticalCoordinateString,f=0;f<c.children.length;f++){var m=c.children[f];this.objStart(m),this.line("/Title "+this.makeString(m.title)),this.line("/Parent "+this.makeRef(c)),f>0&&this.line("/Prev "+this.makeRef(c.children[f-1])),f<c.children.length-1&&this.line("/Next "+this.makeRef(c.children[f+1])),m.children.length>0&&(this.line("/First "+this.makeRef(m.children[0])),this.line("/Last "+this.makeRef(m.children[m.children.length-1])));var _=this.count=this.count_r({count:0},m);if(_>0&&this.line("/Count "+_),m.options&&m.options.pageNumber){var y=A.internal.getPageInfo(m.options.pageNumber);this.line("/Dest ["+y.objId+" 0 R /XYZ 0 "+h(0)+" 0]")}this.objEnd()}for(var E=0;E<c.children.length;E++)this.renderItems(c.children[E])},A.outline.line=function(c){this.ctx.val+=c+"\r\n"},A.outline.makeRef=function(c){return c.id+" 0 R"},A.outline.makeString=function(c){return"("+A.internal.pdfEscape(c)+")"},A.outline.objStart=function(c){this.ctx.val+="\r\n"+c.id+" 0 obj\r\n<<\r\n"},A.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},A.outline.count_r=function(c,h){for(var f=0;f<h.children.length;f++)c.count++,this.count_r(c,h.children[f]);return c.count}}])}(Jt.API), 52/** 53 * @license 54 * 55 * Licensed under the MIT License. 56 * http://opensource.org/licenses/mit-license 57 */ 58function(a){var o=[192,193,194,195,196,197,198,199];a.processJPEG=function(A,c,h,f,m,_){var y,E=this.decode.DCT_DECODE,T=null;if("string"==typeof A||this.__addimage__.isArrayBuffer(A)||this.__addimage__.isArrayBufferView(A)){switch(A=this.__addimage__.isArrayBuffer(A=m||A)?new Uint8Array(A):A,(y=function(U){for(var R,x=256*U.charCodeAt(4)+U.charCodeAt(5),q=U.length,z={width:0,height:0,numcomponents:1},ee=4;ee<q;ee+=2){if(-1!==o.indexOf(U.charCodeAt((ee+=x)+1))){R=256*U.charCodeAt(ee+5)+U.charCodeAt(ee+6),z={width:256*U.charCodeAt(ee+7)+U.charCodeAt(ee+8),height:R,numcomponents:U.charCodeAt(ee+9)};break}x=256*U.charCodeAt(ee+2)+U.charCodeAt(ee+3)}return z}(A=this.__addimage__.isArrayBufferView(A)?this.__addimage__.arrayBufferToBinaryString(A):A)).numcomponents){case 1:_=this.color_spaces.DEVICE_GRAY;break;case 4:_=this.color_spaces.DEVICE_CMYK;break;case 3:_=this.color_spaces.DEVICE_RGB}T={data:A,width:y.width,height:y.height,colorSpace:_,bitsPerComponent:8,filter:E,index:c,alias:h}}return T}}(Jt.API);var ro,Mo,Hc,Ao,kc,Fd=function(){var a,o,A;function c(f){var m,y,E,T,U,R,x,q,z,ee,j,X,de;for(this.data=f,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},U=null;;){switch(m=this.readUInt32(),q=function(){var me,Re;for(Re=[],me=0;me<4;++me)Re.push(String.fromCharCode(this.data[this.pos++]));return Re}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(m);break;case"fcTL":U&&this.animation.frames.push(U),this.pos+=4,U={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},T=this.readUInt16(),E=this.readUInt16()||100,U.delay=1e3*T/E,U.disposeOp=this.data[this.pos++],U.blendOp=this.data[this.pos++],U.data=[];break;case"IDAT":case"fdAT":for("fdAT"===q&&(this.pos+=4,m-=4),f=U?.data||this.imgData,j=0;0<=m?j<m:j>m;0<=m?++j:--j)f.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(y=this.palette.length/3,this.transparency.indexed=this.read(m),this.transparency.indexed.length>y)throw new Error("More transparent colors than palette size");if((z=y-this.transparency.indexed.length)>0)for(X=0;0<=z?X<z:X>z;0<=z?++X:--X)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(m)[0];break;case 2:this.transparency.rgb=this.read(m)}break;case"tEXt":R=(ee=this.read(m)).indexOf(0),x=String.fromCharCode.apply(String,ee.slice(0,R)),this.text[x]=String.fromCharCode.apply(String,ee.slice(R+1));break;case"IEND":return U&&this.animation.frames.push(U),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(de=this.colorType)||6===de,this.pixelBitlength=this.bits*(this.colors+(this.hasAlphaChannel?1:0)),this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=m}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}c.prototype.read=function(f){var m,_;for(_=[],m=0;0<=f?m<f:m>f;0<=f?++m:--m)_.push(this.data[this.pos++]);return _},c.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},c.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},c.prototype.decodePixels=function(f){var m=this.pixelBitlength/8,_=new Uint8Array(this.width*this.height*m),y=0,E=this;if(null==f&&(f=this.imgData),0===f.length)return new Uint8Array(0);function T(U,R,x,q){var z,ee,j,X,de,me,Re,At,ae,Fe,ze,W,$,ue,oe,je,He,Je,xe,Ye,Ze=Math.ceil((E.width-U)/x),Ot=Math.ceil((E.height-R)/q),H=E.width==Ze&&E.height==Ot;for($=m*Ze,ze=H?_:new Uint8Array($*Ot),me=f.length,W=0,ee=0;W<Ot&&y<me;){switch(f[y++]){case 0:for(X=je=0;je<$;X=je+=1)ze[ee++]=f[y++];break;case 1:for(X=He=0;He<$;X=He+=1)z=f[y++],de=X<m?0:ze[ee-m],ze[ee++]=(z+de)%256;break;case 2:for(X=Je=0;Je<$;X=Je+=1)z=f[y++],j=(X-X%m)/m,ze[ee++]=((ue=W&&ze[(W-1)*$+j*m+X%m])+z)%256;break;case 3:for(X=xe=0;xe<$;X=xe+=1)z=f[y++],j=(X-X%m)/m,de=X<m?0:ze[ee-m],ue=W&&ze[(W-1)*$+j*m+X%m],ze[ee++]=(z+Math.floor((de+ue)/2))%256;break;case 4:for(X=Ye=0;Ye<$;X=Ye+=1)z=f[y++],j=(X-X%m)/m,0===W?ue=oe=0:(ue=ze[(W-1)*$+j*m+X%m],oe=j&&ze[(W-1)*$+(j-1)*m+X%m]),Re=(de=X<m?0:ze[ee-m])+ue-oe,At=Math.abs(Re-de),ae=Math.abs(Re-ue),Fe=Math.abs(Re-oe),ze[ee++]=(z+(At<=ae&&At<=Fe?de:ae<=Fe?ue:oe))%256;break;default:throw new Error("Invalid filter algorithm: "+f[y-1])}if(!H){var te=((R+W*q)*E.width+U)*m,re=W*$;for(X=0;X<Ze;X+=1){for(var ce=0;ce<m;ce+=1)_[te++]=ze[re++];te+=(x-1)*m}}W++}}return f=Hi(f),1==E.interlaceMethod?(T(0,0,8,8),T(4,0,8,8),T(0,4,4,8),T(2,0,4,4),T(0,2,2,4),T(1,0,2,2),T(0,1,1,2)):T(0,0,1,1),_},c.prototype.decodePalette=function(){var f,m,_,y,E,T,U,R,x;for(_=this.palette,T=this.transparency.indexed||[],E=new Uint8Array((T.length||0)+_.length),y=0,f=0,m=U=0,R=_.length;U<R;m=U+=3)E[y++]=_[m],E[y++]=_[m+1],E[y++]=_[m+2],E[y++]=null!=(x=T[f++])?x:255;return E},c.prototype.copyToImageData=function(f,m){var _,y,E,T,U,R,x,q,z,ee,j;if(y=this.colors,z=null,_=this.hasAlphaChannel,this.palette.length&&(z=null!=(j=this._decodedPalette)?j:this._decodedPalette=this.decodePalette(),y=4,_=!0),q=(E=f.data||f).length,U=z||m,T=R=0,1===y)for(;T<q;)x=z?4*m[T/4]:R,ee=U[x++],E[T++]=ee,E[T++]=ee,E[T++]=ee,E[T++]=_?U[x++]:255,R=x;else for(;T<q;)x=z?4*m[T/4]:R,E[T++]=U[x++],E[T++]=U[x++],E[T++]=U[x++],E[T++]=_?U[x++]:255,R=x},c.prototype.decode=function(){var f;return f=new Uint8Array(this.width*this.height*4),this.copyToImageData(f,this.decodePixels()),f};var h=function(){if("[object Window]"===Object.prototype.toString.call($t)){try{o=$t.document.createElement("canvas"),A=o.getContext("2d")}catch{return!1}return!0}return!1};return h(),a=function(f){var m;if(!0===h())return A.width=f.width,A.height=f.height,A.clearRect(0,0,f.width,f.height),A.putImageData(f,0,0),(m=new Image).src=o.toDataURL(),m;throw new Error("This method requires a Browser with Canvas-capability.")},c.prototype.decodeFrames=function(f){var m,_,y,E,T,U,R,x;if(this.animation){for(x=[],_=T=0,U=(R=this.animation.frames).length;T<U;_=++T)y=f.createImageData((m=R[_]).width,m.height),E=this.decodePixels(new Uint8Array(m.data)),this.copyToImageData(y,E),m.imageData=y,x.push(m.image=a(y));return x}},c.prototype.renderFrame=function(f,m){var _,y,E;return _=(y=this.animation.frames)[m],E=y[m-1],0===m&&f.clearRect(0,0,this.width,this.height),1===E?.disposeOp?f.clearRect(E.xOffset,E.yOffset,E.width,E.height):2===E?.disposeOp&&f.putImageData(E.imageData,E.xOffset,E.yOffset),0===_.blendOp&&f.clearRect(_.xOffset,_.yOffset,_.width,_.height),f.drawImage(_.image,_.xOffset,_.yOffset)},c.prototype.animate=function(f){var m,_,y,E,T,U,R=this;return _=0,E=(U=this.animation).numFrames,y=U.frames,T=U.numPlays,(m=function(){var x,q;if(x=_++%E,q=y[x],R.renderFrame(f,x),E>1&&_/E<T)return R.animation._timeout=setTimeout(m,q.delay)})()},c.prototype.stopAnimation=function(){var f;return clearTimeout(null!=(f=this.animation)?f._timeout:void 0)},c.prototype.render=function(f){var m,_;return f._png&&f._png.stopAnimation(),f._png=this,f.width=this.width,f.height=this.height,m=f.getContext("2d"),this.animation?(this.decodeFrames(m),this.animate(m)):(_=m.createImageData(this.width,this.height),this.copyToImageData(_,this.decodePixels()),m.putImageData(_,0,0))},c}();function fs(a){var o=0;if(71!==a[o++]||73!==a[o++]||70!==a[o++]||56!==a[o++]||56!=(a[o++]+1&253)||97!==a[o++])throw new Error("Invalid GIF 87a/89a header.");var A=a[o++]|a[o++]<<8,c=a[o++]|a[o++]<<8,h=a[o++],m=1<<1+(7&h);o++,o++;var _=null,y=null;h>>7&&(_=o,y=m,o+=3*m);var E=!0,T=[],U=0,R=null,x=0,q=null;for(this.width=A,this.height=c;E&&o<a.length;)switch(a[o++]){case 33:switch(a[o++]){case 255:if(11!==a[o]||78==a[o+1]&&69==a[o+2]&&84==a[o+3]&&83==a[o+4]&&67==a[o+5]&&65==a[o+6]&&80==a[o+7]&&69==a[o+8]&&50==a[o+9]&&46==a[o+10]&&48==a[o+11]&&3==a[o+12]&&1==a[o+13]&&0==a[o+16])o+=14,q=a[o++]|a[o++]<<8,o++;else for(o+=12;;){if(!((W=a[o++])>=0))throw Error("Invalid block size");if(0===W)break;o+=W}break;case 249:if(4!==a[o++]||0!==a[o+4])throw new Error("Invalid graphics extension block.");var z=a[o++];U=a[o++]|a[o++]<<8,R=a[o++],!(1&z)&&(R=null),x=z>>2&7,o++;break;case 254:for(;;){if(!((W=a[o++])>=0))throw Error("Invalid block size");if(0===W)break;o+=W}break;default:throw new Error("Unknown graphic control label: 0x"+a[o-1].toString(16))}break;case 44:var ee=a[o++]|a[o++]<<8,j=a[o++]|a[o++]<<8,X=a[o++]|a[o++]<<8,de=a[o++]|a[o++]<<8,me=a[o++],Re=me>>6&1,At=1<<1+(7&me),Ee=_,ae=y,Fe=!1;me>>7&&(Fe=!0,Ee=o,ae=At,o+=3*At);var ze=o;for(o++;;){var W;if(!((W=a[o++])>=0))throw Error("Invalid block size");if(0===W)break;o+=W}T.push({x:ee,y:j,width:X,height:de,has_local_palette:Fe,palette_offset:Ee,palette_size:ae,data_offset:ze,data_length:o-ze,transparent_index:R,interlaced:!!Re,delay:U,disposal:x});break;case 59:E=!1;break;default:throw new Error("Unknown gif block: 0x"+a[o-1].toString(16))}this.numFrames=function(){return T.length},this.loopCount=function(){return q},this.frameInfo=function($){if($<0||$>=T.length)throw new Error("Frame index out of range.");return T[$]},this.decodeAndBlitFrameBGRA=function($,ue){var oe=this.frameInfo($),je=oe.width*oe.height,He=new Uint8Array(je);Vc(a,oe.data_offset,He,je);var Je=oe.palette_offset,xe=oe.transparent_index;null===xe&&(xe=256);var Ye=oe.width,Ze=A-Ye,Ot=Ye,H=4*(oe.y*A+oe.x),te=4*((oe.y+oe.height)*A+oe.x),re=H,ce=4*Ze;!0===oe.interlaced&&(ce+=4*A*7);for(var ve=8,Ne=0,Me=He.length;Ne<Me;++Ne){var Le=He[Ne];if(0===Ot&&(Ot=Ye,(re+=ce)>=te&&(ce=4*Ze+4*A*(ve-1),re=H+(Ye+Ze)*(ve<<1),ve>>=1)),Le===xe)re+=4;else{var Bt=a[Je+3*Le],gt=a[Je+3*Le+1];ue[re++]=a[Je+3*Le+2],ue[re++]=gt,ue[re++]=Bt,ue[re++]=255}--Ot}},this.decodeAndBlitFrameRGBA=function($,ue){var oe=this.frameInfo($),je=oe.width*oe.height,He=new Uint8Array(je);Vc(a,oe.data_offset,He,je);var Je=oe.palette_offset,xe=oe.transparent_index;null===xe&&(xe=256);var Ye=oe.width,Ze=A-Ye,Ot=Ye,H=4*(oe.y*A+oe.x),te=4*((oe.y+oe.height)*A+oe.x),re=H,ce=4*Ze;!0===oe.interlaced&&(ce+=4*A*7);for(var ve=8,Ne=0,Me=He.length;Ne<Me;++Ne){var Le=He[Ne];if(0===Ot&&(Ot=Ye,(re+=ce)>=te&&(ce=4*Ze+4*A*(ve-1),re=H+(Ye+Ze)*(ve<<1),ve>>=1)),Le===xe)re+=4;else{var gt=a[Je+3*Le+1],Qt=a[Je+3*Le+2];ue[re++]=a[Je+3*Le],ue[re++]=gt,ue[re++]=Qt,ue[re++]=255}--Ot}}}function Vc(a,o,A,c){for(var h=a[o++],f=1<<h,m=f+1,_=m+1,y=h+1,E=(1<<y)-1,T=0,U=0,R=0,x=a[o++],q=new Int32Array(4096),z=null;;){for(;T<16&&0!==x;)U|=a[o++]<<T,T+=8,1===x?x=a[o++]:--x;if(T<y)break;var ee=U&E;if(U>>=y,T-=y,ee!==f){if(ee===m)break;for(var j=ee<_?ee:z,X=0,de=j;de>f;)de=q[de]>>8,++X;var me=de;if(R+X+(j!==ee?1:0)>c)return void Rn.log("Warning, gif stream longer than expected.");A[R++]=me;var Re=R+=X;for(j!==ee&&(A[R++]=me),de=j;X--;)A[--Re]=255&(de=q[de]),de>>=8;null!==z&&_<4096&&(q[_++]=z<<8|me,_>=E+1&&y<12&&(++y,E=E<<1|1)),z=ee}else _=m+1,E=(1<<(y=h+1))-1,z=null}return R!==c&&Rn.log("Warning, gif stream shorter than expected."),A}function jl(a){var o,A,c,h,f,m=Math.floor,_=new Array(64),y=new Array(64),E=new Array(64),T=new Array(64),U=new Array(65535),R=new Array(65535),x=new Array(64),q=new Array(64),z=[],ee=0,j=7,X=new Array(64),de=new Array(64),me=new Array(64),Re=new Array(256),At=new Array(2048),Ee=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],ae=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Fe=[0,1,2,3,4,5,6,7,8,9,10,11],ze=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],W=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],$=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],ue=[0,1,2,3,4,5,6,7,8,9,10,11],oe=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],je=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function He(H,te){for(var re=0,ce=0,ve=new Array,Ne=1;Ne<=16;Ne++){for(var Me=1;Me<=H[Ne];Me++)ve[te[ce]]=[],ve[te[ce]][0]=re,ve[te[ce]][1]=Ne,ce++,re++;re*=2}return ve}function Je(H){for(var te=H[0],re=H[1]-1;re>=0;)te&1<<re&&(ee|=1<<j),re--,--j<0&&(255==ee?(xe(255),xe(0)):xe(ee),j=7,ee=0)}function xe(H){z.push(H)}function Ye(H){xe(H>>8&255),xe(255&H)}function Ze(H,te,re,ce,ve){for(var Ne,Me=ve[0],Le=ve[240],Bt=function(vt,Ft){var Mt,Et,Kt,nn,hn,_n,xn,Gn,qt,pn,Nt=0;for(qt=0;qt<8;++qt){var er=(Mt=vt[Nt])+(Gn=vt[Nt+7]),yn=Mt-Gn,vr=(Et=vt[Nt+1])+(xn=vt[Nt+6]),Hn=Et-xn,Wn=(Kt=vt[Nt+2])+(_n=vt[Nt+5]),nA=Kt-_n,En=(nn=vt[Nt+3])+(hn=vt[Nt+4]),wa=nn-hn,On=er+En,fA=er-En,SA=vr+Wn,oi=vr-Wn;vt[Nt]=On+SA,vt[Nt+4]=On-SA;var rn=.707106781*(oi+fA);vt[Nt+2]=fA+rn,vt[Nt+6]=fA-rn;var Qn=.382683433*((On=wa+nA)-(oi=Hn+yn)),iA=.5411961*On+Qn,Gi=1.306562965*oi+Qn,Dn=.707106781*(SA=nA+Hn),cr=yn+Dn,Wt=yn-Dn;vt[Nt+5]=Wt+iA,vt[Nt+3]=Wt-iA,vt[Nt+1]=cr+Gi,vt[Nt+7]=cr-Gi,Nt+=8}for(Nt=0,qt=0;qt<8;++qt){var Ti=(Mt=vt[Nt])+(Gn=vt[Nt+56]),tr=Mt-Gn,Ki=(Et=vt[Nt+8])+(xn=vt[Nt+48]),kn=Et-xn,wi=(Kt=vt[Nt+16])+(_n=vt[Nt+40]),_r=Kt-_n,so=(nn=vt[Nt+24])+(hn=vt[Nt+32]),Gr=nn-hn,Wi=Ti+so,Br=Ti-so,rA=Ki+wi,Kr=Ki-wi;vt[Nt]=Wi+rA,vt[Nt+32]=Wi-rA;var AA=.707106781*(Kr+Br);vt[Nt+16]=Br+AA,vt[Nt+48]=Br-AA;var NA=.382683433*((Wi=Gr+_r)-(Kr=kn+tr)),ZA=.5411961*Wi+NA,Bs=1.306562965*Kr+NA,bs=.707106781*(rA=_r+kn),Ca=tr+bs,Lo=tr-bs;vt[Nt+40]=Lo+ZA,vt[Nt+24]=Lo-ZA,vt[Nt+8]=Ca+Bs,vt[Nt+56]=Ca-Bs,Nt++}for(qt=0;qt<64;++qt)x[qt]=(pn=vt[qt]*Ft[qt])>0?pn+.5|0:pn-.5|0;return x}(H,te),gt=0;gt<64;++gt)q[Ee[gt]]=Bt[gt];var Qt=q[0]-re;re=q[0],0==Qt?Je(ce[0]):(Je(ce[R[Ne=32767+Qt]]),Je(U[Ne]));for(var It=63;It>0&&0==q[It];)It--;if(0==It)return Je(Me),re;for(var Yt,qe=1;qe<=It;){for(var ie=qe;0==q[qe]&&qe<=It;)++qe;var ln=qe-ie;if(ln>=16){Yt=ln>>4;for(var Vt=1;Vt<=Yt;++Vt)Je(Le);ln&=15}Je(ve[(ln<<4)+R[Ne=32767+q[qe]]]),Je(U[Ne]),qe++}return 63!=It&&Je(Me),re}function Ot(H){H=Math.min(Math.max(H,1),100),f!=H&&(function(te){for(var re=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],ce=0;ce<64;ce++){var ve=m((re[ce]*te+50)/100);ve=Math.min(Math.max(ve,1),255),_[Ee[ce]]=ve}for(var Ne=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Me=0;Me<64;Me++){var Le=m((Ne[Me]*te+50)/100);Le=Math.min(Math.max(Le,1),255),y[Ee[Me]]=Le}for(var Bt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],gt=0,Qt=0;Qt<8;Qt++)for(var It=0;It<8;It++)E[gt]=1/(_[Ee[gt]]*Bt[Qt]*Bt[It]*8),T[gt]=1/(y[Ee[gt]]*Bt[Qt]*Bt[It]*8),gt++}(H<50?Math.floor(5e3/H):Math.floor(200-2*H)),f=H)}this.encode=function(H,te){var Et,Kt;te&&Ot(te),z=new Array,ee=0,j=7,Ye(65496),Ye(65504),Ye(16),xe(74),xe(70),xe(73),xe(70),xe(0),xe(1),xe(1),xe(0),Ye(1),Ye(1),xe(0),xe(0),function(){Ye(65499),Ye(132),xe(0);for(var Et=0;Et<64;Et++)xe(_[Et]);xe(1);for(var Kt=0;Kt<64;Kt++)xe(y[Kt])}(),Et=H.width,Kt=H.height,Ye(65472),Ye(17),xe(8),Ye(Kt),Ye(Et),xe(3),xe(1),xe(17),xe(0),xe(2),xe(17),xe(1),xe(3),xe(17),xe(1),function(){Ye(65476),Ye(418),xe(0);for(var Et=0;Et<16;Et++)xe(ae[Et+1]);for(var Kt=0;Kt<=11;Kt++)xe(Fe[Kt]);xe(16);for(var nn=0;nn<16;nn++)xe(ze[nn+1]);for(var hn=0;hn<=161;hn++)xe(W[hn]);xe(1);for(var _n=0;_n<16;_n++)xe($[_n+1]);for(var xn=0;xn<=11;xn++)xe(ue[xn]);xe(17);for(var Gn=0;Gn<16;Gn++)xe(oe[Gn+1]);for(var qt=0;qt<=161;qt++)xe(je[qt])}(),Ye(65498),Ye(12),xe(3),xe(1),xe(0),xe(2),xe(17),xe(3),xe(17),xe(0),xe(63),xe(0);var re=0,ce=0,ve=0;
vendor: 3,235 bytes, line 58
58ee=0,j=7,this.encode.displayName="_encode_";for(var Ne,Me,Le,Bt,gt,Qt,It,Yt,qe,ie=H.data,Vt=H.height,vt=4*H.width,Ft=0;Ft<Vt;){for(Ne=0;Ne<vt;){for(gt=vt*Ft+Ne,It=-1,Yt=0,qe=0;qe<64;qe++)Qt=gt+(Yt=qe>>3)*vt+(It=4*(7&qe)),Ft+Yt>=Vt&&(Qt-=vt*(Ft+1+Yt-Vt)),Ne+It>=vt&&(Qt-=Ne+It-vt+4),Me=ie[Qt++],Le=ie[Qt++],Bt=ie[Qt++],X[qe]=(At[Me]+At[Le+256|0]+At[Bt+512|0]>>16)-128,de[qe]=(At[Me+768|0]+At[Le+1024|0]+At[Bt+1280|0]>>16)-128,me[qe]=(At[Me+1280|0]+At[Le+1536|0]+At[Bt+1792|0]>>16)-128;re=Ze(X,E,re,o,c),ce=Ze(de,T,ce,A,h),ve=Ze(me,T,ve,A,h),Ne+=32}Ft+=8}if(j>=0){var Mt=[];Mt[1]=j+1,Mt[0]=(1<<j+1)-1,Je(Mt)}return Ye(65497),new Uint8Array(z)},a=a||50,function(){for(var H=String.fromCharCode,te=0;te<256;te++)Re[te]=H(te)}(),o=He(ae,Fe),A=He($,ue),c=He(ze,W),h=He(oe,je),function(){for(var H=1,te=2,re=1;re<=15;re++){for(var ce=H;ce<te;ce++)R[32767+ce]=re,U[32767+ce]=[],U[32767+ce][1]=re,U[32767+ce][0]=ce;for(var ve=-(te-1);ve<=-H;ve++)R[32767+ve]=re,U[32767+ve]=[],U[32767+ve][1]=re,U[32767+ve][0]=te-1+ve;H<<=1,te<<=1}}(),function(){for(var H=0;H<256;H++)At[H]=19595*H,At[H+256|0]=38470*H,At[H+512|0]=7471*H+32768,At[H+768|0]=-11059*H,At[H+1024|0]=-21709*H,At[H+1280|0]=32768*H+8421375,At[H+1536|0]=-27439*H,At[H+1792|0]=-5329*H}(),Ot(a)}function mr(a,o){if(this.pos=0,this.buffer=a,this.datav=new DataView(a.buffer),this.is_with_alpha=!!o,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function jr(a){function o(ae){if(!ae)throw Error("assert :P")}function A(ae,Fe,ze){for(var W=0;4>W;W++)if(ae[Fe+W]!=ze.charCodeAt(W))return!0;return!1}function c(ae,Fe,ze,W,$){for(var ue=0;ue<$;ue++)ae[Fe+ue]=ze[W+ue]}function h(ae,Fe,ze,W){for(var $=0;$<W;$++)ae[Fe+$]=ze}function f(ae){return new Int32Array(ae)}function m(ae,Fe){for(var ze=[],W=0;W<ae;W++)ze.push(new Fe);return ze}function _(ae,Fe){var ze=[];return function W($,ue,oe){for(var je=oe[ue],He=0;He<je&&($.push(oe.length>ue+1?[]:new Fe),!(oe.length<ue+1));He++)W($[He],ue+1,oe)}(ze,0,ae),ze}var y=function(){var ae=this;function Fe(u,p){for(var B=1<<p-1>>>0;u&B;)B>>>=1;return B?(u&B-1)+B:u}function ze(u,p,B,F,Q){o(!(F%B));do{u[p+(F-=B)]=Q}while(0<F)}function W(u,p,B,F,Q){if(o(2328>=Q),512>=Q)var O=f(512);else if(null==(O=f(Q)))return 0;return function(P,V,G,Y,he,Ie){var Se,Be,st=V,$e=1<<G,fe=f(16),pe=f(16);for(o(0!=he),o(null!=Y),o(null!=P),o(0<G),Be=0;Be<he;++Be){if(15<Y[Be])return 0;++fe[Y[Be]]}if(fe[0]==he)return 0;for(pe[1]=0,Se=1;15>Se;++Se){if(fe[Se]>1<<Se)return 0;pe[Se+1]=pe[Se]+fe[Se]}for(Be=0;Be<he;++Be)Se=Y[Be],0<Y[Be]&&(Ie[pe[Se]++]=Be);if(1==pe[15])return(Y=new $).g=0,Y.value=Ie[0],ze(P,st,1,$e,Y),$e;var rt,ut=-1,at=$e-1,Ht=0,Ut=1,Zt=1,Lt=1<<G;for(Be=0,Se=1,he=2;Se<=G;++Se,he<<=1){if(Ut+=Zt<<=1,0>(Zt-=fe[Se]))return 0;for(;0<fe[Se];--fe[Se])(Y=new $).g=Se,Y.value=Ie[Be++],ze(P,st+Ht,he,Lt,Y),Ht=Fe(Ht,Se)}for(Se=G+1,he=2;15>=Se;++Se,he<<=1){if(Ut+=Zt<<=1,0>(Zt-=fe[Se]))return 0;for(;0<fe[Se];--fe[Se]){if(Y=new $,(Ht&at)!=ut){for(st+=Lt,rt=1<<(ut=Se)-G;15>ut&&!(0>=(rt-=fe[ut]));)++ut,rt<<=1;$e+=Lt=1<<(rt=ut-G),P[V+(ut=Ht&at)].g=rt+G,P[V+ut].value=st-V-ut}
vendor: 40,880 bytes, line 58
58Y.g=Se-G,Y.value=Ie[Be++],ze(P,st+(Ht>>G),he,Lt,Y),Ht=Fe(Ht,Se)}}return Ut!=2*pe[15]-1?0:$e}(u,p,B,F,Q,O)}function $(){this.value=this.g=0}function ue(){this.value=this.g=0}function oe(){this.G=m(5,$),this.H=f(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=m(Ln,ue)}function je(u,p,B,F){o(null!=u),o(null!=p),o(2147483648>F),u.Ca=254,u.I=0,u.b=-8,u.Ka=0,u.oa=p,u.pa=B,u.Jd=p,u.Yc=B+F,u.Zc=4<=F?B+F-4+1:B,Ne(u)}function He(u,p){for(var B=0;0<p--;)B|=Le(u,128)<<p;return B}function Je(u,p){var B=He(u,p);return Me(u)?-B:B}function xe(u,p,B,F){var Q,O=0;for(o(null!=u),o(null!=p),o(4294967288>F),u.Sb=F,u.Ra=0,u.u=0,u.h=0,4<F&&(F=4),Q=0;Q<F;++Q)O+=p[B+Q]<<8*Q;u.Ra=O,u.bb=F,u.oa=p,u.pa=B}function Ye(u){for(;8<=u.u&&u.bb<u.Sb;)u.Ra>>>=8,u.Ra+=u.oa[u.pa+u.bb]<<Tr-8>>>0,++u.bb,u.u-=8;re(u)&&(u.h=1,u.u=0)}function Ze(u,p){if(o(0<=p),!u.h&&p<=yr){var B=te(u)&Qi[p];return u.u+=p,Ye(u),B}return u.h=1,u.u=0}function Ot(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function H(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function te(u){return u.Ra>>>(u.u&Tr-1)>>>0}function re(u){return o(u.bb<=u.Sb),u.h||u.bb==u.Sb&&u.u>Tr}function ce(u,p){u.u=p,u.h=re(u)}function ve(u){u.u>=nr&&(o(u.u>=nr),Ye(u))}function Ne(u){o(null!=u&&null!=u.oa),u.pa<u.Zc?(u.I=(u.oa[u.pa++]|u.I<<8)>>>0,u.b+=8):(o(null!=u&&null!=u.oa),u.pa<u.Yc?(u.b+=8,u.I=u.oa[u.pa++]|u.I<<8):u.Ka?u.b=0:(u.I<<=8,u.b+=8,u.Ka=1))}function Me(u){return He(u,1)}function Le(u,p){var B=u.Ca;0>u.b&&Ne(u);var F=u.b,Q=B*p>>>8,O=(u.I>>>F>Q)+0;for(O?(B-=Q,u.I-=Q+1<<F>>>0):B=Q+1,F=B,Q=0;256<=F;)Q+=8,F>>=8;return u.b-=F=7^Q+si[F],u.Ca=(B<<F)-1,O}function Bt(u,p,B){u[p+0]=B>>24&255,u[p+1]=B>>16&255,u[p+2]=B>>8&255,u[p+3]=255&B}function gt(u,p){return u[p+0]|u[p+1]<<8}function Qt(u,p){return gt(u,p)|u[p+2]<<16}function It(u,p){return gt(u,p)|gt(u,p+2)<<16}function Yt(u,p){var B=1<<p;return o(null!=u),o(0<p),u.X=f(B),null==u.X?0:(u.Mb=32-p,u.Xa=p,1)}function qe(u,p){o(null!=u),o(null!=p),o(u.Xa==p.Xa),c(p.X,0,u.X,0,1<<p.Xa)}function ie(){this.X=[],this.Xa=this.Mb=0}function ln(u,p,B,F){o(null!=B),o(null!=F);var Q=B[0],O=F[0];return 0==Q&&(Q=(u*O+p/2)/p),0==O&&(O=(p*Q+u/2)/u),0>=Q||0>=O?0:(B[0]=Q,F[0]=O,1)}function Vt(u,p){return u+(1<<p)-1>>>p}function vt(u,p){return((4278255360&u)+(4278255360&p)>>>0&4278255360)+((16711935&u)+(16711935&p)>>>0&16711935)>>>0}function Ft(u,p){ae[p]=function(B,F,Q,O,P,V,G){var Y;for(Y=0;Y<P;++Y){var he=ae[u](V[G+Y-1],Q,O+Y);V[G+Y]=vt(B[F+Y],he)}}}function Mt(){this.ud=this.hd=this.jd=0}function Et(u,p){return((4278124286&(u^p))>>>1)+(u&p)>>>0}function Kt(u){return 0<=u&&256>u?u:0>u?0:255<u?255:void 0}function nn(u,p){return Kt(u+(u-p+.5>>1))}function hn(u,p,B){return Math.abs(p-B)-Math.abs(u-B)}function _n(u,p,B,F,Q,O,P){for(F=O[P-1],B=0;B<Q;++B)O[P+B]=F=vt(u[p+B],F)}function xn(u,p,B,F,Q){var O;for(O=0;O<B;++O){var P=u[p+O],V=P>>8&255,G=16711935&(G=(G=16711935&P)+((V<<16)+V));F[Q+O]=(4278255360&P)+G>>>0}}function Gn(u,p){p.jd=255&u,p.hd=u>>8&255,p.ud=u>>16&255}function qt(u,p,B,F,Q,O){var P;for(P=0;P<F;++P){var V=p[B+P],G=V>>>8,Y=V,he=255&(he=(he=V>>>16)+((u.jd<<24>>24)*(G<<24>>24)>>>5));Y=255&(Y=(Y+=(u.hd<<24>>24)*(G<<24>>24)>>>5)+((u.ud<<24>>24)*(he<<24>>24)>>>5)),Q[O+P]=(4278255360&V)+(he<<16)+Y}}function pn(u,p,B,F,Q){ae[p]=function(O,P,V,G,Y,he,Ie,Se,Be){for(G=Ie;G<Se;++G)for(Ie=0;Ie<Be;++Ie)Y[he++]=Q(V[F(O[P++])])},ae[u]=function(O,P,V,G,Y,he,Ie){var Se=8>>O.b,Be=O.Ea,st=O.K[0],$e=O.w;if(8>Se)for(O=(1<<O.b)-1,$e=(1<<Se)-1;P<V;++P){var fe,pe=0;for(fe=0;fe<Be;++fe)fe&O||(pe=F(G[Y++])),he[Ie++]=Q(st[pe&$e]),pe>>=Se}else ae["VP8LMapColor"+B](G,Y,st,$e,he,Ie,P,V,Be)}}function Nt(u,p,B,F,Q){for(B=p+B;p<B;){var O=u[p++];F[Q++]=O>>16&255,F[Q++]=O>>8&255,F[Q++]=255&O}}function er(u,p,B,F,Q){for(B=p+B;p<B;){var O=u[p++];F[Q++]=O>>16&255,F[Q++]=O>>8&255,F[Q++]=255&O,F[Q++]=O>>24&255}}function yn(u,p,B,F,Q){for(B=p+B;p<B;){var O=(P=u[p++])>>16&240|P>>12&15,P=240&P|P>>28&15;F[Q++]=O,F[Q++]=P}}function vr(u,p,B,F,Q){for(B=p+B;p<B;){var O=(P=u[p++])>>16&248|P>>13&7,P=P>>5&224|P>>3&31;F[Q++]=O,F[Q++]=P}}function Hn(u,p,B,F,Q){for(B=p+B;p<B;){var O=u[p++];F[Q++]=255&O,F[Q++]=O>>8&255,F[Q++]=O>>16&255}}function Wn(u,p,B,F,Q,O){if(0==O)for(B=p+B;p<B;)Bt(F,((O=u[p++])[0]>>24|O[1]>>8&65280|O[2]<<8&16711680|O[3]<<24)>>>0),Q+=32;else c(F,Q,u,p,B)}function nA(u,p){ae[p][0]=ae[u+"0"],ae[p][1]=ae[u+"1"],ae[p][2]=ae[u+"2"],ae[p][3]=ae[u+"3"],ae[p][4]=ae[u+"4"],ae[p][5]=ae[u+"5"],ae[p][6]=ae[u+"6"],ae[p][7]=ae[u+"7"],ae[p][8]=ae[u+"8"],ae[p][9]=ae[u+"9"],ae[p][10]=ae[u+"10"],ae[p][11]=ae[u+"11"],ae[p][12]=ae[u+"12"],ae[p][13]=ae[u+"13"],ae[p][14]=ae[u+"0"],ae[p][15]=ae[u+"0"]}function En(u){return u==rh||u==Ah||u==kd||u==ah}function wa(){this.eb=[],this.size=this.A=this.fb=0}function On(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function fA(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new wa,this.f.kb=new On,this.sd=null}function SA(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function oi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function rn(u){return alert("todo:WebPSamplerProcessPlane"),u.T}function Qn(u,p){var B=u.T,F=p.ba.f.RGBA,Q=F.eb,O=F.fb+u.ka*F.A,P=Oa[p.ba.S],V=u.y,G=u.O,Y=u.f,he=u.N,Ie=u.ea,Se=u.W,Be=p.cc,st=p.dc,$e=p.Mc,fe=p.Nc,pe=u.ka,rt=u.ka+u.T,ut=u.U,at=ut+1>>1;for(0==pe?P(V,G,null,null,Y,he,Ie,Se,Y,he,Ie,Se,Q,O,null,null,ut):(P(p.ec,p.fc,V,G,Be,st,$e,fe,Y,he,Ie,Se,Q,O-F.A,Q,O,ut),++B);pe+2<rt;pe+=2)P(V,(G+=2*u.fa)-u.fa,V,G,Be=Y,st=he,$e=Ie,fe=Se,Y,he+=u.Rc,Ie,Se+=u.Rc,Q,(O+=2*F.A)-F.A,Q,O,ut);return G+=u.fa,u.j+rt<u.o?(c(p.ec,p.fc,V,G,ut),c(p.cc,p.dc,Y,he,at),c(p.Mc,p.Nc,Ie,Se,at),B--):1&rt||P(V,G,null,null,Y,he,Ie,Se,Y,he,Ie,Se,Q,O+F.A,null,null,ut),B}function iA(u,p,B){var F=u.F,Q=[u.J];if(null!=F){var O=u.U,P=p.ba.S,V=P==Hd||P==kd;p=p.ba.f.RGBA;var G=[0],Y=u.ka;G[0]=u.T,u.Kb&&(0==Y?--G[0]:(--Y,Q[0]-=u.width),u.j+u.ka+u.T==u.o&&(G[0]=u.o-u.j-Y));var he=p.eb;u=Bi(F,Q[0],u.width,O,G,he,(Y=p.fb+Y*p.A)+(V?0:3),p.A),o(B==G),u&&En(P)&&Qa(he,Y,V,O,G,p.A)}return 0}function Gi(u){var p=u.ma,B=p.ba.S,F=11>B,Q=B==Pd||B==Rd||B==Hd||B==ih||12==B||En(B);if(p.memory=null,p.Ib=null,p.Jb=null,p.Nd=null,!ti(p.Oa,u,Q?11:12))return 0;if(Q&&En(B)&&Z(),u.da)alert("todo:use_scaling");else{if(F){if(p.Ib=rn,u.Kb){if(p.memory=f(u.U+2*(B=u.U+1>>1)),null==p.memory)return 0;p.ec=p.memory,p.fc=0,p.cc=p.ec,p.dc=p.fc+u.U,p.Mc=p.cc,p.Nc=p.dc+B,p.Ib=Qn,Z()}}else alert("todo:EmitYUV");Q&&(p.Jb=iA,F&&M())}if(F&&!Ih){for(u=0;256>u;++u)hf[u]=89858*(u-128)+jd>>Vd,gf[u]=-22014*(u-128)+jd,pf[u]=-45773*(u-128),ff[u]=113618*(u-128)+jd>>Vd;for(u=Bd;u<lh;++u)mf[u-Bd]=Xt(p=76283*(u-16)+jd>>Vd,255),vf[u-Bd]=Xt(p+8>>4,15);Ih=1}return 1}function Dn(u){var p=u.ma,B=u.U,F=u.T;return o(!(1&u.ka)),0>=B||0>=F?0:(B=p.Ib(u,p),null!=p.Jb&&p.Jb(u,p,B),p.Dc+=B,1)}function cr(u){u.ma.memory=null}function Wt(u,p,B,F){return 47!=Ze(u,8)?0:(p[0]=Ze(u,14)+1,B[0]=Ze(u,14)+1,F[0]=Ze(u,1),0!=Ze(u,3)?0:!u.h)}function Ti(u,p){if(4>u)return u+1;var B=u-2>>1;return(2+(1&u)<<B)+Ze(p,B)+1}function tr(u,p){return 120<p?p-120:1<=(B=((B=qh[p-1])>>4)*u+(8-(15&B)))?B:1;var B}function Ki(u,p,B){var F=te(B),Q=u[p+=255&F].g-8;return 0<Q&&(ce(B,B.u+8),F=te(B),p+=u[p].value,p+=F&(1<<Q)-1),ce(B,B.u+u[p].g),u[p].value}function kn(u,p,B){return B.g+=u.g,B.value+=u.value<<p>>>0,o(8>=B.g),u.g}function wi(u,p,B){var F=u.xc;return o((p=0==F?0:u.vc[u.md*(B>>F)+(p>>F)])<u.Wb),u.Ya[p]}function _r(u,p,B,F){var Q=u.ab,O=u.c*p,P=u.C;p=P+p;var V=B,G=F;for(F=u.Ta,B=u.Ua;0<Q--;){var Y=u.gc[Q],he=P,Ie=p,Se=V,Be=G,st=(G=F,V=B,Y.Ea);switch(o(he<Ie),o(Ie<=Y.nc),Y.hc){case 2:oA(Se,Be,(Ie-he)*st,G,V);break;case 0:var $e=he,fe=Ie,pe=G,rt=V,ut=(Lt=Y).Ea;0==$e&&(ur(Se,Be,null,null,1,pe,rt),_n(Se,Be+1,0,0,ut-1,pe,rt+1),Be+=ut,rt+=ut,++$e);for(var at=1<<Lt.b,Ht=at-1,Ut=Vt(ut,Lt.b),Zt=Lt.K,Lt=Lt.w+($e>>Lt.b)*Ut;$e<fe;){var Kn=Zt,Zn=Lt,Pn=1;for(ir(Se,Be,pe,rt-ut,1,pe,rt);Pn<ut;){var Sn=(Pn&~Ht)+at;Sn>ut&&(Sn=ut),(0,Sa[Kn[Zn++]>>8&15])(Se,Be+ +Pn,pe,rt+Pn-ut,Sn-Pn,pe,rt+Pn),Pn=Sn}Be+=ut,rt+=ut,++$e&Ht||(Lt+=Ut)}Ie!=Y.nc&&c(G,V-st,G,V+(Ie-he-1)*st,st);break;case 1:for(st=Se,fe=Be,ut=(Se=Y.Ea)-(rt=Se&~(pe=(Be=1<<Y.b)-1)),$e=Vt(Se,Y.b),at=Y.K,Y=Y.w+(he>>Y.b)*$e;he<Ie;){for(Ht=at,Ut=Y,Zt=new Mt,Lt=fe+rt,Kn=fe+Se;fe<Lt;)Gn(Ht[Ut++],Zt),Us(Zt,st,fe,Be,G,V),fe+=Be,V+=Be;fe<Kn&&(Gn(Ht[Ut++],Zt),Us(Zt,st,fe,ut,G,V),fe+=ut,V+=ut),++he&pe||(Y+=$e)}break;case 3:if(Se==G&&Be==V&&0<Y.b){for(fe=G,Se=st=V+(Ie-he)*st-(rt=(Ie-he)*Vt(Y.Ea,Y.b)),Be=G,pe=V,$e=[],rt=(ut=rt)-1;0<=rt;--rt)$e[rt]=Be[pe+rt];for(rt=ut-1;0<=rt;--rt)fe[Se+rt]=$e[rt];zr(Y,he,Ie,G,st,G,V)}else zr(Y,he,Ie,Se,Be,G,V)}V=F,G=B}G!=B&&c(F,B,V,G,O)}function so(u,p){var B=u.V,F=u.Ba+u.c*u.C,Q=p-u.C;if(o(p<=u.l.o),o(16>=Q),0<Q){var O=u.l,P=u.Ta,V=u.Ua,G=O.width;if(_r(u,Q,B,F),Q=V=[V],o((B=u.C)<(F=p)),o(O.v<O.va),F>O.o&&(F=O.o),B<O.j){var Y=O.j-B;B=O.j,Q[0]+=Y*G}if(B>=F?B=0:(Q[0]+=4*O.v,O.ka=B-O.j,O.U=O.va-O.v,O.T=F-B,B=1),B){if(V=V[0],11>(B=u.ca).S){var he=B.f.RGBA,Ie=(F=B.S,Q=O.U,O=O.T,Y=he.eb,he.A),Se=O;for(he=he.fb+u.Ma*he.A;0<Se--;){var Be=P,st=V,$e=Q,fe=Y,pe=he;switch(F){case Ld:$r(Be,st,$e,fe,pe);break;case Pd:Jr(Be,st,$e,fe,pe);break;case rh:Jr(Be,st,$e,fe,pe),Qa(fe,pe,0,$e,1,0);break;case _h:Ta(Be,st,$e,fe,pe);break;case Rd:Wn(Be,st,$e,fe,pe,1);break;case Ah:Wn(Be,st,$e,fe,pe,1),Qa(fe,pe,0,$e,1,0);break;case Hd:Wn(Be,st,$e,fe,pe,0);break;case kd:Wn(Be,st,$e,fe,pe,0),Qa(fe,pe,1,$e,1,0);break;case ih:Go(Be,st,$e,fe,pe);break;case ah:Go(Be,st,$e,fe,pe),_i(fe,pe,$e,1,0);break;case Bh:Na(Be,st,$e,fe,pe);break;default:o(0)}V+=G,he+=Ie}u.Ma+=O}else alert("todo:EmitRescaledRowsYUVA");o(u.Ma<=B.height)}}u.C=p,o(u.C<=u.i)}function Gr(u){var p;if(0<u.ua)return 0;for(p=0;p<u.Wb;++p){var B=u.Ya[p].G,F=u.Ya[p].H;if(0<B[1][F[1]+0].g||0<B[2][F[2]+0].g||0<B[3][F[3]+0].g)return 0}return 1}function Wi(u,p,B,F,Q,O){if(0!=u.Z){var P=u.qd,V=u.rd;for(o(null!=El[u.Z]);p<B;++p)El[u.Z](P,V,F,Q,F,Q,O),P=F,V=Q,Q+=O;u.qd=P,u.rd=V}}function Br(u,p){var B=u.l.ma,F=0==B.Z||1==B.Z?u.l.j:u.C;if(F=u.C<F?F:u.C,o(p<=u.l.o),p>F){var Q=u.l.width,O=B.ca,P=B.tb+Q*F,V=u.V,G=u.Ba+u.c*F,Y=u.gc;o(1==u.ab),o(3==Y[0].hc),Bl(Y[0],F,p,V,G,O,P),Wi(B,F,p,O,P,Q)}u.C=u.Ma=p}function rA(u,p,B,F,Q,O,P){var V=u.$/F,G=u.$%F,Y=u.m,he=u.s,Ie=B+u.$,Se=Ie;Q=B+F*Q;var Be=B+F*O,st=280+he.ua,$e=u.Pb?V:16777216,fe=0<he.ua?he.Wa:null,pe=he.wc,rt=Ie<Be?wi(he,G,V):null;o(u.C<O),o(Be<=Q);var ut=!1;e:for(;;){for(;ut||Ie<Be;){var at=0;if(V>=$e){var Ht=Ie-B;o(($e=u).Pb),$e.wd=$e.m,$e.xd=Ht,0<$e.s.ua&&qe($e.s.Wa,$e.s.vb),$e=V+Zh}if(G&pe||(rt=wi(he,G,V)),o(null!=rt),rt.Qb&&(p[Ie]=rt.qb,ut=!0),!ut)if(ve(Y),rt.jc){Ht=p;var Ut=Ie,Zt=rt.pd[te(at=Y)&Ln-1];o(rt.jc),256>Zt.g?(ce(at,at.u+Zt.g),Ht[Ut]=Zt.value,at=0):(ce(at,at.u+Zt.g-256),o(256<=Zt.value),at=Zt.value),0==at&&(ut=!0)}else at=Ki(rt.G[0],rt.H[0],Y);if(Y.h)break;if(ut||256>at){if(!ut)if(rt.nd)p[Ie]=(rt.qb|at<<8)>>>0;else{if(ve(Y),ut=Ki(rt.G[1],rt.H[1],Y),ve(Y),Ht=Ki(rt.G[2],rt.H[2],Y),Ut=Ki(rt.G[3],rt.H[3],Y),Y.h)break;p[Ie]=(Ut<<24|ut<<16|at<<8|Ht)>>>0}if(ut=!1,++Ie,++G>=F&&(G=0,++V,null!=P&&V<=O&&!(V%16)&&P(u,V),null!=fe))for(;Se<Ie;)at=p[Se++],fe.X[(506832829*at&4294967295)>>>fe.Mb]=at}else if(280>at){if(at=Ti(at-256,Y),Ht=Ki(rt.G[4],rt.H[4],Y),ve(Y),Ht=tr(F,Ht=Ti(Ht,Y)),Y.h)break;if(Ie-B<Ht||Q-Ie<at)break e;for(Ut=0;Ut<at;++Ut)p[Ie+Ut]=p[Ie+Ut-Ht];for(Ie+=at,G+=at;G>=F;)G-=F,++V,null!=P&&V<=O&&!(V%16)&&P(u,V);if(o(Ie<=Q),G&pe&&(rt=wi(he,G,V)),null!=fe)for(;Se<Ie;)at=p[Se++],fe.X[(506832829*at&4294967295)>>>fe.Mb]=at}else{if(!(at<st))break e;for(ut=at-280,o(null!=fe);Se<Ie;)at=p[Se++],fe.X[(506832829*at&4294967295)>>>fe.Mb]=at;at=Ie,o(!(ut>>>(Ht=fe).Xa)),p[at]=Ht.X[ut],ut=!0}ut||o(Y.h==re(Y))}if(u.Pb&&Y.h&&Ie<Q)o(u.m.h),u.a=5,u.m=u.wd,u.$=u.xd,0<u.s.ua&&qe(u.s.vb,u.s.Wa);else{if(Y.h)break e;P?.(u,V>O?O:V),u.a=0,u.$=Ie-B}return 1}return u.a=3,0}function Kr(u){o(null!=u),u.vc=null,u.yc=null,u.Ya=null;var p=u.Wa;null!=p&&(p.X=null),u.vb=null,o(null!=u)}function AA(){var u=new i;return null==u?null:(u.a=0,u.xb=wh,nA("Predictor","VP8LPredictors"),nA("Predictor","VP8LPredictors_C"),nA("PredictorAdd","VP8LPredictorsAdd"),nA("PredictorAdd","VP8LPredictorsAdd_C"),oA=xn,Us=qt,$r=Nt,Jr=er,Go=yn,Na=vr,Ta=Hn,ae.VP8LMapColor32b=LA,ae.VP8LMapColor8b=gu,u)}function NA(u,p,B,F,Q){var O=1,P=[u],V=[p],G=F.m,Y=F.s,he=null,Ie=0;e:for(;;){if(B)for(;O&&Ze(G,1);){var Se=P,Be=V,st=F,$e=1,fe=st.m,pe=st.gc[st.ab],rt=Ze(fe,2);if(st.Oc&1<<rt)O=0;else{switch(st.Oc|=1<<rt,pe.hc=rt,pe.Ea=Se[0],pe.nc=Be[0],pe.K=[null],++st.ab,o(4>=st.ab),rt){case 0:case 1:pe.b=Ze(fe,3)+2,$e=NA(Vt(pe.Ea,pe.b),Vt(pe.nc,pe.b),0,st,pe.K),pe.K=pe.K[0];break;case 3:var ut,at=Ze(fe,8)+1,Ht=16<at?0:4<at?1:2<at?2:3;if(Se[0]=Vt(pe.Ea,Ht),pe.b=Ht,ut=$e=NA(at,1,0,st,pe.K)){var Ut,Zt=at,Lt=pe,Kn=1<<(8>>Lt.b),Zn=f(Kn);if(null==Zn)ut=0;else{var Pn=Lt.K[0],Sn=Lt.w;for(Zn[0]=Lt.K[0][0],Ut=1;Ut<1*Zt;++Ut)Zn[Ut]=vt(Pn[Sn+Ut],Zn[Ut-1]);for(;Ut<4*Kn;++Ut)Zn[Ut]=0;Lt.K[0]=null,Lt.K[0]=Zn,ut=1}}$e=ut;break;case 2:break;default:o(0)}O=$e}}if(P=P[0],V=V[0],O&&Ze(G,1)&&!(O=1<=(Ie=Ze(G,4))&&11>=Ie)){F.a=3;break e}var li;if(li=O)t:{var ni,mn,dr,PA=F,hr=P,RA=V,ei=Ie,ta=B,na=PA.m,Qr=PA.s,Yr=[null],mA=1,La=0,Jo=Xh[ei];n:for(;;){if(ta&&Ze(na,1)){var Mr=Ze(na,3)+2,Os=Vt(hr,Mr),bc=Vt(RA,Mr),_u=Os*bc;if(!NA(Os,bc,0,PA,Yr))break n;for(Yr=Yr[0],Qr.xc=Mr,ni=0;ni<_u;++ni){var xl=Yr[ni]>>8&65535;Yr[ni]=xl,xl>=mA&&(mA=xl+1)}}if(na.h)break n;for(mn=0;5>mn;++mn){var $i=bh[mn];!mn&&0<ei&&($i+=1<<ei),La<$i&&(La=$i)}var ch=m(mA*Jo,$),Th=mA,Uh=m(Th,oe);if(null==Uh)var Kd=null;else o(65536>=Th),Kd=Uh;var bd=f(La);if(null==Kd||null==bd||null==ch){PA.a=1;break n}var Wd=ch;for(ni=dr=0;ni<mA;++ni){var _o=Kd[ni],Bu=_o.G,bu=_o.H,Qh=0,zd=1,Mh=0;for(mn=0;5>mn;++mn){$i=bh[mn],Bu[mn]=Wd,bu[mn]=dr,!mn&&0<ei&&($i+=1<<ei);r:{var $d,uh=$i,Jd=PA,yd=bd,bf=Wd,yf=dr,dh=0,Dl=Jd.m,wf=Ze(Dl,1);if(h(yd,0,0,uh),wf){var Cf=Ze(Dl,1)+1,Ff=Ze(Dl,1),Oh=Ze(Dl,0==Ff?1:8);yd[Oh]=1,2==Cf&&(yd[Oh=Ze(Dl,8)]=1);var Yd=1}else{var Lh=f(19),Ph=Ze(Dl,4)+4;if(19<Ph){Jd.a=3;var qd=0;break r}for($d=0;$d<Ph;++$d)Lh[Yh[$d]]=Ze(Dl,3);var hh=void 0,wd=void 0,Rh=Jd,Ef=Lh,Xd=uh,Hh=yd,fh=0,Il=Rh.m,kh=8,Vh=m(128,$);i:for(;W(Vh,0,7,Ef,19);){if(Ze(Il,1)){var xf=2+2*Ze(Il,3);if((hh=2+Ze(Il,xf))>Xd)break i}else hh=Xd;for(wd=0;wd<Xd&&hh--;){ve(Il);var jh=Vh[0+(127&te(Il))];ce(Il,Il.u+jh.g);var yu=jh.value;if(16>yu)Hh[wd++]=yu,0!=yu&&(kh=yu);else{var Df=16==yu,Gh=yu-16,If=$h[Gh],Kh=Ze(Il,zh[Gh])+If;if(wd+Kh>Xd)break i;for(var Sf=Df?kh:0;0<Kh--;)Hh[wd++]=Sf}}fh=1;break i}fh||(Rh.a=3),Yd=fh}(Yd=Yd&&!Dl.h)&&(dh=W(bf,yf,8,yd,uh)),Yd&&0!=dh?qd=dh:(Jd.a=3,qd=0)}if(0==qd)break n;if(zd&&1==Jh[mn]&&(zd=0==Wd[dr].g),Qh+=Wd[dr].g,dr+=qd,3>=mn){var Cd,ph=bd[0];for(Cd=1;Cd<$i;++Cd)bd[Cd]>ph&&(ph=bd[Cd]);Mh+=ph}}if(_o.nd=zd,_o.Qb=0,zd&&(_o.qb=(Bu[3][bu[3]+0].value<<24|Bu[1][bu[1]+0].value<<16|Bu[2][bu[2]+0].value)>>>0,0==Qh&&256>Bu[0][bu[0]+0].value&&(_o.Qb=1,_o.qb+=Bu[0][bu[0]+0].value<<8)),_o.jc=!_o.Qb&&6>Mh,_o.jc){var Zd,Ls=_o;for(Zd=0;Zd<Ln;++Zd){var Sl=Zd,Nl=Ls.pd[Sl],eh=Ls.G[0][Ls.H[0]+Sl];256<=eh.value?(Nl.g=eh.g+256,Nl.value=eh.value):(Nl.g=0,Nl.value=0,Sl>>=kn(eh,8,Nl),Sl>>=kn(Ls.G[1][Ls.H[1]+Sl],16,Nl),Sl>>=kn(Ls.G[2][Ls.H[2]+Sl],0,Nl),kn(Ls.G[3][Ls.H[3]+Sl],24,Nl))}}}Qr.vc=Yr,Qr.Wb=mA,Qr.Ya=Kd,Qr.yc=ch,li=1;break t}li=0}if(!(O=li)){F.a=3;break e}if(0<Ie){if(Y.ua=1<<Ie,!Yt(Y.Wa,Ie)){F.a=1,O=0;break e}}else Y.ua=0;var gh=F,Wh=P,Nf=V,mh=gh.s,vh=mh.xc;if(gh.c=Wh,gh.i=Nf,mh.md=Vt(Wh,vh),mh.wc=0==vh?-1:(1<<vh)-1,B){F.xb=sf;break e}if(null==(he=f(P*V))){F.a=1,O=0;break e}O=(O=rA(F,he,0,P,V,V,null))&&!G.h;break e}return O?(null!=Q?Q[0]=he:(o(null==he),o(B)),F.$=0,B||Kr(Y)):Kr(Y),O}function ZA(u,p){var B=u.c*u.i,F=B+p+16*p;return o(u.c<=p),u.V=f(F),null==u.V?(u.Ta=null,u.Ua=0,u.a=1,0):(u.Ta=u.V,u.Ua=u.Ba+B+p,1)}function Bs(u,p){var B=u.C,F=p-B,Q=u.V,O=u.Ba+u.c*B;for(o(p<=u.l.o);0<F;){var P=16<F?16:F,V=u.l.ma,G=u.l.width,Y=G*P,he=V.ca,Ie=V.tb+G*B,Se=u.Ta,Be=u.Ua;_r(u,P,Q,O),rr(Se,Be,he,Ie,Y),Wi(V,B,B+P,he,Ie,G),F-=P,Q+=P*u.c,B+=P}o(B==p),u.C=u.Ma=p}function bs(){this.ub=this.yd=this.td=this.Rb=0}function Ca(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Lo(){this.Fb=this.Bb=this.Cb=0,this.Zb=f(4),this.Lb=f(4)}function ys(){var u;this.Yb=(function p(B,F,Q){for(var O=Q[F],P=0;P<O&&(B.push(Q.length>F+1?[]:0),!(Q.length<F+1));P++)p(B[P],F+1,Q)}(u=[],0,[3,11]),u)}function ll(){this.jb=f(3),this.Wc=_([4,8],ys),this.Xc=_([4,17],ys)}function ws(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new f(4),this.od=new f(4)}function Fa(){this.ld=this.La=this.dd=this.tc=0}function lo(){this.Na=this.la=0}function Po(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function co(){this.ad=f(384),this.Za=0,this.Ob=f(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function cl(){this.uc=this.M=this.Nb=0,this.wa=Array(new Fa),this.Y=0,this.ya=Array(new co),this.aa=0,this.l=new Ro}function ac(){this.y=f(16),this.f=f(8),this.ea=f(8)}function Cs(){this.cb=this.a=0,this.sc="",this.m=new Ot,this.Od=new bs,this.Kc=new Ca,this.ed=new ws,this.Qa=new Lo,this.Ic=this.$c=this.Aa=0,this.D=new cl,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=m(8,Ot),this.ia=0,this.pb=m(4,Po),this.Pa=new ll,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new ac),this.Hd=0,this.rb=Array(new lo),this.sb=0,this.wa=Array(new Fa),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new co),this.L=this.aa=0,this.gd=_([4,2],Fa),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Ro(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function oc(){var u=new Cs;return null!=u&&(u.a=0,u.sc="OK",u.cb=0,u.Xb=0,_d||(_d=Fs)),u}function Ci(u,p,B){return 0==u.a&&(u.a=p,u.sc=B,u.cb=0),0}function sc(u,p,B){return 3<=B&&157==u[p+0]&&1==u[p+1]&&42==u[p+2]}function lc(u,p){if(null==u)return 0;if(u.a=0,u.sc="OK",null==p)return Ci(u,2,"null VP8Io passed to VP8GetHeaders()");var B=p.data,F=p.w,Q=p.ha;if(4>Q)return Ci(u,7,"Truncated header.");var O=B[F+0]|B[F+1]<<8|B[F+2]<<16,P=u.Od;if(P.Rb=!(1&O),P.td=O>>1&7,P.yd=O>>4&1,P.ub=O>>5,3<P.td)return Ci(u,3,"Incorrect keyframe parameters.");if(!P.yd)return Ci(u,4,"Frame not displayable.");F+=3,Q-=3;var V=u.Kc;if(P.Rb){if(7>Q)return Ci(u,7,"cannot parse picture header");if(!sc(B,F,Q))return Ci(u,3,"Bad code word");V.c=16383&(B[F+4]<<8|B[F+3]),V.Td=B[F+4]>>6,V.i=16383&(B[F+6]<<8|B[F+5]),V.Ud=B[F+6]>>6,F+=7,Q-=7,u.za=V.c+15>>4,u.Ub=V.i+15>>4,p.width=V.c,p.height=V.i,p.Da=0,p.j=0,p.v=0,p.va=p.width,p.o=p.height,p.da=0,p.ib=p.width,p.hb=p.height,p.U=p.width,p.T=p.height,h((O=u.Pa).jb,0,255,O.jb.length),o(null!=(O=u.Qa)),O.Cb=0,O.Bb=0,O.Fb=1,h(O.Zb,0,0,O.Zb.length),h(O.Lb,0,0,O.Lb)}if(P.ub>Q)return Ci(u,7,"bad partition length");je(O=u.m,B,F,P.ub),F+=P.ub,Q-=P.ub,P.Rb&&(V.Ld=Me(O),V.Kd=Me(O)),V=u.Qa;var G,Y=u.Pa;if(o(null!=O),o(null!=V),V.Cb=Me(O),V.Cb){if(V.Bb=Me(O),Me(O)){for(V.Fb=Me(O),G=0;4>G;++G)V.Zb[G]=Me(O)?Je(O,7):0;for(G=0;4>G;++G)V.Lb[G]=Me(O)?Je(O,6):0}if(V.Bb)for(G=0;3>G;++G)Y.jb[G]=Me(O)?He(O,8):255}else V.Bb=0;if(O.Ka)return Ci(u,3,"cannot parse segment header");if((V=u.ed).zd=Me(O),V.Tb=He(O,6),V.wb=He(O,3),V.Pc=Me(O),V.Pc&&Me(O)){for(Y=0;4>Y;++Y)Me(O)&&(V.vd[Y]=Je(O,6));for(Y=0;4>Y;++Y)Me(O)&&(V.od[Y]=Je(O,6))}if(u.L=0==V.Tb?0:V.zd?1:2,O.Ka)return Ci(u,3,"cannot parse filter header");var he=Q;if(Q=G=F,F=G+he,V=he,u.Xb=(1<<He(u.m,2))-1,he<3*(Y=u.Xb))B=7;else{for(G+=3*Y,V-=3*Y,he=0;he<Y;++he){var Ie=B[Q+0]|B[Q+1]<<8|B[Q+2]<<16;Ie>V&&(Ie=V),je(u.Jc[+he],B,G,Ie),G+=Ie,V-=Ie,Q+=3}je(u.Jc[+Y],B,G,V),B=G<F?0:5}if(0!=B)return Ci(u,B,"cannot parse partitions");for(B=He(G=u.m,7),Q=Me(G)?Je(G,4):0,F=Me(G)?Je(G,4):0,V=Me(G)?Je(G,4):0,Y=Me(G)?Je(G,4):0,G=Me(G)?Je(G,4):0,he=u.Qa,Ie=0;4>Ie;++Ie){if(he.Cb){var Se=he.Zb[Ie];he.Fb||(Se+=B)}else{if(0<Ie){u.pb[Ie]=u.pb[0];continue}Se=B}var Be=u.pb[Ie];Be.Sc[0]=oh[Xt(Se+Q,127)],Be.Sc[1]=sh[Xt(Se+0,127)],Be.Eb[0]=2*oh[Xt(Se+F,127)],Be.Eb[1]=101581*sh[Xt(Se+V,127)]>>16,8>Be.Eb[1]&&(Be.Eb[1]=8),Be.Qc[0]=oh[Xt(Se+Y,117)],Be.Qc[1]=sh[Xt(Se+G,127)],Be.lc=Se+G}if(!P.Rb)return Ci(u,4,"Not a key frame.");for(Me(O),P=u.Pa,B=0;4>B;++B){for(Q=0;8>Q;++Q)for(F=0;3>F;++F)for(V=0;11>V;++V)Y=Le(O,Af[B][Q][F][V])?He(O,8):nf[B][Q][F][V],P.Wc[B][Q].Yb[F][V]=Y;for(Q=0;17>Q;++Q)P.Xc[B][Q]=P.Wc[B][af[Q]]}return u.kc=Me(O),u.kc&&(u.Bd=He(O,8)),u.cb=1}function Fs(u,p,B,F,Q,O,P){var V=p[Q].Yb[B];for(B=0;16>Q;++Q){if(!Le(u,V[B+0]))return Q;for(;!Le(u,V[B+1]);)if(V=p[++Q].Yb[0],B=0,16==Q)return 16;var G=p[Q+1].Yb;if(Le(u,V[B+2])){var Y=u,he=0;if(Le(Y,(Se=V)[(Ie=B)+3]))if(Le(Y,Se[Ie+6])){for(V=0,Ie=2*(he=Le(Y,Se[Ie+8]))+(Se=Le(Y,Se[Ie+9+he])),he=0,Se=ef[Ie];Se[V];++V)he+=he+Le(Y,Se[V]);he+=3+(8<<Ie)}else Le(Y,Se[Ie+7])?(he=7+2*Le(Y,165),he+=Le(Y,145)):he=5+Le(Y,159);else he=Le(Y,Se[Ie+4])?3+Le(Y,Se[Ie+5]):2;V=G[2]}else he=1,V=G[1];G=P+tf[Q],0>(Y=u).b&&Ne(Y);var Ie,Se=Y.b,Be=(Ie=Y.Ca>>1)-(Y.I>>Se)>>31;--Y.b,Y.Ca+=Be,Y.Ca|=1,Y.I-=(Ie+1&Be)<<Se,O[G]=((he^Be)-Be)*F[(0<Q)+0]}return 16}function ul(u){var p=u.rb[u.sb-1];p.la=0,p.Na=0,h(u.zc,0,0,u.zc.length),u.ja=0}function TA(u,p,B,F,Q){u[p+B+32*F]=-256&(Q=u[p+B+32*F]+(Q>>3))?0>Q?0:255:Q}function St(u,p,B,F,Q,O){TA(u,p,0,B,F+Q),TA(u,p,1,B,F+O),TA(u,p,2,B,F-O),TA(u,p,3,B,F-Q)}function zi(u){return(20091*u>>16)+u}function Ea(u,p,B,F){var Q,O=0,P=f(16);for(Q=0;4>Q;++Q){var V=u[p+0]+u[p+8],G=u[p+0]-u[p+8],Y=(35468*u[p+4]>>16)-zi(u[p+12]),he=zi(u[p+4])+(35468*u[p+12]>>16);P[O+0]=V+he,P[O+1]=G+Y,P[O+2]=G-Y,P[O+3]=V-he,O+=4,p++}for(Q=O=0;4>Q;++Q)V=(u=P[O+0]+4)+P[O+8],G=u-P[O+8],Y=(35468*P[O+4]>>16)-zi(P[O+12]),TA(B,F,0,0,V+(he=zi(P[O+4])+(35468*P[O+12]>>16))),TA(B,F,1,0,G+Y),TA(B,F,2,0,G-Y),TA(B,F,3,0,V-he),O++,F+=32}function Nr(u,p,B,F){var Q=u[p+0]+4,O=35468*u[p+4]>>16,P=zi(u[p+4]),V=35468*u[p+1]>>16;St(B,F,0,Q+P,u=zi(u[p+1]),V),St(B,F,1,Q+O,u,V),St(B,F,2,Q-O,u,V),St(B,F,3,Q-P,u,V)}function su(u,p,B,F,Q){Ea(u,p,B,F),Q&&Ea(u,p+16,B,F+4)}function In(u,p,B,F){mo(u,p+0,B,F,1),mo(u,p+32,B,F+128,1)}function zn(u,p,B,F){var Q;for(u=u[p+0]+4,Q=0;4>Q;++Q)for(p=0;4>p;++p)TA(B,F,p,Q,u)}function uo(u,p,B,F){u[p+0]&&Ur(u,p+0,B,F),u[p+16]&&Ur(u,p+16,B,F+4),u[p+32]&&Ur(u,p+32,B,F+128),u[p+48]&&Ur(u,p+48,B,F+128+4)}function lu(u,p,B,F){var Q,O=f(16);for(Q=0;4>Q;++Q){var P=u[p+0+Q]+u[p+12+Q],V=u[p+4+Q]+u[p+8+Q],G=u[p+4+Q]-u[p+8+Q],Y=u[p+0+Q]-u[p+12+Q];O[0+Q]=P+V,O[8+Q]=P-V,O[4+Q]=Y+G,O[12+Q]=Y-G}for(Q=0;4>Q;++Q)P=(u=O[0+4*Q]+3)+O[3+4*Q],G=O[1+4*Q]-O[2+4*Q],Y=u-O[3+4*Q],B[F+0]=P+(V=O[1+4*Q]+O[2+4*Q])>>3,B[F+16]=Y+G>>3,B[F+32]=P-V>>3,B[F+48]=Y-G>>3,F+=64}function ho(u,p,B){var F,Q=p-32,O=ea,P=255-u[Q-1];for(F=0;F<B;++F){var V,G=O,Y=P+u[p-1];for(V=0;V<B;++V)u[p+V]=G[Y+u[Q+V]];p+=32}}function cu(u,p){ho(u,p,4)}function xs(u,p){ho(u,p,8)}function uu(u,p){ho(u,p,16)}function xa(u,p){var B;for(B=0;16>B;++B)c(u,p+32*B,u,p-32,16)}function Ho(u,p){var B;for(B=16;0<B;--B)h(u,p,u[p-1],16),p+=32}function Ds(u,p,B){var F;for(F=0;16>F;++F)h(p,B+32*F,u,16)}function Is(u,p){var B,F=16;for(B=0;16>B;++B)F+=u[p-1+32*B]+u[p+B-32];Ds(F>>5,u,p)}function br(u,p){var B,F=8;for(B=0;16>B;++B)F+=u[p-1+32*B];Ds(F>>4,u,p)}function cc(u,p){var B,F=8;for(B=0;16>B;++B)F+=u[p+B-32];Ds(F>>4,u,p)}function dl(u,p){Ds(128,u,p)}function An(u,p,B){return u+2*p+B+2>>2}function hl(u,p){var B,F=p-32;for(F=new Uint8Array([An(u[F-1],u[F+0],u[F+1]),An(u[F+0],u[F+1],u[F+2]),An(u[F+1],u[F+2],u[F+3]),An(u[F+2],u[F+3],u[F+4])]),B=0;4>B;++B)c(u,p+32*B,F,0,F.length)}function du(u,p){var B=u[p-1],F=u[p-1+32],Q=u[p-1+64],O=u[p-1+96];Bt(u,p+0,16843009*An(u[p-1-32],B,F)),Bt(u,p+32,16843009*An(B,F,Q)),Bt(u,p+64,16843009*An(F,Q,O)),Bt(u,p+96,16843009*An(Q,O,O))}function UA(u,p){var B,F=4;for(B=0;4>B;++B)F+=u[p+B-32]+u[p-1+32*B];for(F>>=3,B=0;4>B;++B)h(u,p+32*B,F,4)}function uc(u,p){var B=u[p-1+0],F=u[p-1+32],Q=u[p-1+64],O=u[p-1-32],P=u[p+0-32],V=u[p+1-32],G=u[p+2-32],Y=u[p+3-32];u[p+0+96]=An(F,Q,u[p-1+96]),u[p+1+96]=u[p+0+64]=An(B,F,Q),u[p+2+96]=u[p+1+64]=u[p+0+32]=An(O,B,F),u[p+3+96]=u[p+2+64]=u[p+1+32]=u[p+0+0]=An(P,O,B),u[p+3+64]=u[p+2+32]=u[p+1+0]=An(V,P,O),u[p+3+32]=u[p+2+0]=An(G,V,P),u[p+3+0]=An(Y,G,V)}function dc(u,p){var B=u[p+1-32],F=u[p+2-32],Q=u[p+3-32],O=u[p+4-32],P=u[p+5-32],V=u[p+6-32],G=u[p+7-32];u[p+0+0]=An(u[p+0-32],B,F),u[p+1+0]=u[p+0+32]=An(B,F,Q),u[p+2+0]=u[p+1+32]=u[p+0+64]=An(F,Q,O),u[p+3+0]=u[p+2+32]=u[p+1+64]=u[p+0+96]=An(Q,O,P),u[p+3+32]=u[p+2+64]=u[p+1+96]=An(O,P,V),u[p+3+64]=u[p+2+96]=An(P,V,G),u[p+3+96]=An(V,G,G)}function ko(u,p){var B=u[p-1+0],F=u[p-1+32],Q=u[p-1+64],O=u[p-1-32],P=u[p+0-32],V=u[p+1-32],G=u[p+2-32],Y=u[p+3-32];u[p+0+0]=u[p+1+64]=O+P+1>>1,u[p+1+0]=u[p+2+64]=P+V+1>>1,u[p+2+0]=u[p+3+64]=V+G+1>>1,u[p+3+0]=G+Y+1>>1,u[p+0+96]=An(Q,F,B),u[p+0+64]=An(F,B,O),u[p+0+32]=u[p+1+96]=An(B,O,P),u[p+1+32]=u[p+2+96]=An(O,P,V),u[p+2+32]=u[p+3+96]=An(P,V,G),u[p+3+32]=An(V,G,Y)}function fo(u,p){var B=u[p+0-32],F=u[p+1-32],Q=u[p+2-32],O=u[p+3-32],P=u[p+4-32],V=u[p+5-32],G=u[p+6-32],Y=u[p+7-32];u[p+0+0]=B+F+1>>1,u[p+1+0]=u[p+0+64]=F+Q+1>>1,u[p+2+0]=u[p+1+64]=Q+O+1>>1,u[p+3+0]=u[p+2+64]=O+P+1>>1,u[p+0+32]=An(B,F,Q),u[p+1+32]=u[p+0+96]=An(F,Q,O),u[p+2+32]=u[p+1+96]=An(Q,O,P),u[p+3+32]=u[p+2+96]=An(O,P,V),u[p+3+64]=An(P,V,G),u[p+3+96]=An(V,G,Y)}function Wr(u,p){var B=u[p-1+0],F=u[p-1+32],Q=u[p-1+64],O=u[p-1+96];u[p+0+0]=B+F+1>>1,u[p+2+0]=u[p+0+32]=F+Q+1>>1,u[p+2+32]=u[p+0+64]=Q+O+1>>1,u[p+1+0]=An(B,F,Q),u[p+3+0]=u[p+1+32]=An(F,Q,O),u[p+3+32]=u[p+1+64]=An(Q,O,O),u[p+3+64]=u[p+2+64]=u[p+0+96]=u[p+1+96]=u[p+2+96]=u[p+3+96]=O}function hc(u,p){var B=u[p-1+0],F=u[p-1+32],Q=u[p-1+64],O=u[p-1+96],P=u[p-1-32],V=u[p+0-32],G=u[p+1-32],Y=u[p+2-32];u[p+0+0]=u[p+2+32]=B+P+1>>1,u[p+0+32]=u[p+2+64]=F+B+1>>1,u[p+0+64]=u[p+2+96]=Q+F+1>>1,u[p+0+96]=O+Q+1>>1,u[p+3+0]=An(V,G,Y),u[p+2+0]=An(P,V,G),u[p+1+0]=u[p+3+32]=An(B,P,V),u[p+1+32]=u[p+3+64]=An(F,B,P),u[p+1+64]=u[p+3+96]=An(Q,F,B),u[p+1+96]=An(O,Q,F)}function Ss(u,p){var B;for(B=0;8>B;++B)c(u,p+32*B,u,p-32,8)}function fl(u,p){var B;for(B=0;8>B;++B)h(u,p,u[p-1],8),p+=32}function po(u,p,B){var F;for(F=0;8>F;++F)h(p,B+32*F,u,8)}function QA(u,p){var B,F=8;for(B=0;8>B;++B)F+=u[p+B-32]+u[p-1+32*B];po(F>>4,u,p)}function Da(u,p){var B,F=4;for(B=0;8>B;++B)F+=u[p+B-32];po(F>>3,u,p)}function MA(u,p){var B,F=4;for(B=0;8>B;++B)F+=u[p-1+32*B];po(F>>3,u,p)}function Ns(u,p){po(128,u,p)}function aA(u,p,B){var F=u[p-B],Q=u[p+0],O=3*(Q-F)+nh[1020+u[p-2*B]-u[p+B]],P=Od[112+(O+4>>3)];u[p-B]=ea[255+F+Od[112+(O+3>>3)]],u[p+0]=ea[255+Q-P]}function fc(u,p,B,F){return Ma[255+u[p-2*B]-u[p-B]]>F||Ma[255+u[p+B]-u[p+0]]>F}function pc(u,p,B,F){return 4*Ma[255+u[p-B]-u[p+0]]+Ma[255+u[p-2*B]-u[p+B]]<=F}function pl(u,p,B,F,Q){var O=u[p-3*B],P=u[p-2*B],V=u[p-B],G=u[p+0],Y=u[p+B],he=u[p+2*B];return 4*Ma[255+V-G]+Ma[255+P-Y]>F?0:Ma[255+u[p-4*B]-O]<=Q&&Ma[255+O-P]<=Q&&Ma[255+P-V]<=Q&&Ma[255+u[p+3*B]-he]<=Q&&Ma[255+he-Y]<=Q&&Ma[255+Y-G]<=Q}function gc(u,p,B,F){var Q=2*F+1;for(F=0;16>F;++F)pc(u,p+F,B,Q)&&aA(u,p+F,B)}function OA(u,p,B,F){var Q=2*F+1;for(F=0;16>F;++F)pc(u,p+F*B,1,Q)&&aA(u,p+F*B,1)}function Ia(u,p,B,F){var Q;for(Q=3;0<Q;--Q)gc(u,p+=4*B,B,F)}function hu(u,p,B,F){var Q;for(Q=3;0<Q;--Q)OA(u,p+=4,B,F)}function go(u,p,B,F,Q,O,P,V){for(O=2*O+1;0<Q--;){if(pl(u,p,B,O,P))if(fc(u,p,B,V))aA(u,p,B);else{var G=u,Y=p,he=B,Ie=G[Y-2*he],Se=G[Y-he],Be=G[Y+0],st=G[Y+he],$e=G[Y+2*he],fe=27*(rt=nh[1020+3*(Be-Se)+nh[1020+Ie-st]])+63>>7,pe=18*rt+63>>7,rt=9*rt+63>>7;G[Y-3*he]=ea[255+G[Y-3*he]+rt],G[Y-2*he]=ea[255+Ie+pe],G[Y-he]=ea[255+Se+fe],G[Y+0]=ea[255+Be-fe],G[Y+he]=ea[255+st-pe],G[Y+2*he]=ea[255+$e-rt]}p+=F}}function pA(u,p,B,F,Q,O,P,V){for(O=2*O+1;0<Q--;){if(pl(u,p,B,O,P))if(fc(u,p,B,V))aA(u,p,B);else{var G=u,Y=p,he=B,Ie=G[Y-he],Se=G[Y+0],Be=G[Y+he],st=Od[112+(4+($e=3*(Se-Ie))>>3)],$e=Od[112+($e+3>>3)],fe=st+1>>1;G[Y-2*he]=ea[255+G[Y-2*he]+fe],G[Y-he]=ea[255+Ie+$e],G[Y+0]=ea[255+Se-st],G[Y+he]=ea[255+Be-fe]}p+=F}}function gl(u,p,B,F,Q,O){go(u,p,B,1,16,F,Q,O)}function Vo(u,p,B,F,Q,O){go(u,p,1,B,16,F,Q,O)}function fu(u,p,B,F,Q,O){var P;for(P=3;0<P;--P)pA(u,p+=4*B,B,1,16,F,Q,O)}function jo(u,p,B,F,Q,O){var P;for(P=3;0<P;--P)pA(u,p+=4,1,B,16,F,Q,O)}function pu(u,p,B,F,Q,O,P,V){go(u,p,Q,1,8,O,P,V),go(B,F,Q,1,8,O,P,V)}function ml(u,p,B,F,Q,O,P,V){go(u,p,1,Q,8,O,P,V),go(B,F,1,Q,8,O,P,V)}function vl(u,p,B,F,Q,O,P,V){pA(u,p+4*Q,Q,1,8,O,P,V),pA(B,F+4*Q,Q,1,8,O,P,V)}function mc(u,p,B,F,Q,O,P,V){pA(u,p+4,1,Q,8,O,P,V),pA(B,F+4,1,Q,8,O,P,V)}function Ts(){this.ba=new fA,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new oi,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function _l(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function d(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function n(){this.ua=0,this.Wa=new ie,this.vb=new ie,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new oe,this.yc=new $}function i(){this.xb=this.a=0,this.l=new Ro,this.ca=new fA,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new H,this.Pb=0,this.wd=new H,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new n,this.ab=0,this.gc=m(4,d),this.Oc=0}function t(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Ro,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function r(u,p,B,F,Q,O,P){for(u=null==u?0:u[p+0],p=0;p<P;++p)Q[O+p]=u+B[F+p]&255,u=Q[O+p]}function s(u,p,B,F,Q,O,P){var V;if(null==u)r(null,null,B,F,Q,O,P);else for(V=0;V<P;++V)Q[O+V]=u[p+V]+B[F+V]&255}function g(u,p,B,F,Q,O,P){if(null==u)r(null,null,B,F,Q,O,P);else{var V,G=u[p+0],Y=G,he=G;for(V=0;V<P;++V)Y=he+(G=u[p+V])-Y,he=B[F+V]+(-256&Y?0>Y?0:255:Y)&255,Y=G,Q[O+V]=he}}function b(u,p,B,F){var Q=p.width,O=p.o;if(o(null!=u&&null!=p),0>B||0>=F||B+F>O)return null;if(!u.Cc){if(null==u.ga){var P;if(u.ga=new t,(P=null==u.ga)||(P=p.width*p.o,o(0==u.Gb.length),u.Gb=f(P),u.Uc=0,null==u.Gb?P=0:(u.mb=u.Gb,u.nb=u.Uc,u.rc=null,P=1),P=!P),!P){var V=u.Fa,G=u.P,Y=u.qc,he=u.mb,Ie=u.nb,Se=G+1,Be=Y-1,st=(P=u.ga).l;if(o(null!=V&&null!=he&&null!=p),El[0]=null,El[1]=r,El[2]=s,El[3]=g,P.ca=he,P.tb=Ie,P.c=p.width,P.i=p.height,o(0<P.c&&0<P.i),1>=Y)p=0;else if(P.$a=3&V[G+0],P.Z=V[G+0]>>2&3,P.Lc=V[G+0]>>4&3,G=V[G+0]>>6&3,0>P.$a||1<P.$a||4<=P.Z||1<P.Lc||G)p=0;else if(st.put=Dn,st.ac=Gi,st.bc=cr,st.ma=P,st.width=p.width,st.height=p.height,st.Da=p.Da,st.v=p.v,st.va=p.va,st.j=p.j,st.o=p.o,P.$a)e:{o(1==P.$a),p=AA();t:for(;;){if(null==p){p=0;break e}if(o(null!=P),P.mc=p,p.c=P.c,p.i=P.i,p.l=P.l,p.l.ma=P,p.l.width=P.c,p.l.height=P.i,p.a=0,xe(p.m,V,Se,Be),!NA(P.c,P.i,1,p,null)||(1==p.ab&&3==p.gc[0].hc&&Gr(p.s)?(P.ic=1,V=p.c*p.i,p.Ta=null,p.Ua=0,p.V=f(V),p.Ba=0,null==p.V?(p.a=1,p=0):p=1):(P.ic=0,p=ZA(p,P.c)),!p))break t;p=1;break e}P.mc=null,p=0}else p=Be>=P.c*P.i;P=!p}if(P)return null;1!=u.ga.Lc?u.Ga=0:F=O-B}o(null!=u.ga),o(B+F<=O);e:{if(p=(V=u.ga).c,O=V.l.o,0==V.$a){if(Se=u.rc,Be=u.Vc,st=u.Fa,Y=u.mb,he=u.nb+B*p,o((G=u.P+1+B*p)<=u.P+u.qc),0!=V.Z)for(o(null!=El[V.Z]),P=0;P<F;++P)El[V.Z](Se,Be,st,G,Y,he,p),Se=Y,Be=he,he+=p,G+=p;else for(P=0;P<F;++P)c(Y,he,st,G,p),Se=Y,Be=he,he+=p,G+=p;u.rc=Se,u.Vc=Be}else{if(o(null!=V.mc),p=B+F,o(null!=(P=V.mc)),o(p<=P.i),P.C>=p)p=1;else if(V.ic||M(),V.ic){V=P.V,Se=P.Ba;var $e=P.i,fe=(st=1,G=P.$/(Be=P.c),Y=P.$%Be,he=P.m,Ie=P.s,P.$),pe=Be*$e,rt=Be*p,ut=Ie.wc,at=fe<rt?wi(Ie,Y,G):null;o(fe<=pe),o(p<=$e),o(Gr(Ie));t:for(;;){for(;!he.h&&fe<rt;){if(Y&ut||(at=wi(Ie,Y,G)),o(null!=at),ve(he),256>($e=Ki(at.G[0],at.H[0],he)))V[Se+fe]=$e,++fe,++Y>=Be&&(Y=0,++G<=p&&!(G%16)&&Br(P,G));else{if(!(280>$e)){st=0;break t}$e=Ti($e-256,he);var Ht,Ut=Ki(at.G[4],at.H[4],he);if(ve(he),!(fe>=(Ut=tr(Be,Ut=Ti(Ut,he)))&&pe-fe>=$e)){st=0;break t}for(Ht=0;Ht<$e;++Ht)V[Se+fe+Ht]=V[Se+fe+Ht-Ut];for(fe+=$e,Y+=$e;Y>=Be;)Y-=Be,++G<=p&&!(G%16)&&Br(P,G);fe<rt&&Y&ut&&(at=wi(Ie,Y,G))}o(he.h==re(he))}Br(P,G>p?p:G);break t}!st||he.h&&fe<pe?(st=0,P.a=he.h?5:3):P.$=fe,p=st}else p=rA(P,P.V,P.Ba,P.c,P.i,p,Bs);if(!p){F=0;break e}}B+F>=O&&(u.Cc=1),F=1}if(!F)return null;if(u.Cc&&(null!=(F=u.ga)&&(F.mc=null),u.ga=null,0<u.Ga))return alert("todo:WebPDequantizeLevels"),null}return u.nb+B*Q}function l(u,p,B,F,Q,O){for(;0<Q--;){var P,V=u,G=p+(B?1:0),Y=u,he=p+(B?0:3);for(P=0;P<F;++P){var Ie=Y[he+4*P];255!=Ie&&(V[G+4*P+0]=V[G+4*P+0]*(Ie*=32897)>>23,V[G+4*P+1]=V[G+4*P+1]*Ie>>23,V[G+4*P+2]=V[G+4*P+2]*Ie>>23)}p+=O}}function v(u,p,B,F,Q){for(;0<F--;){var O;for(O=0;O<B;++O){var P=u[p+2*O+0],V=15&(Y=u[p+2*O+1]),G=4369*V,Y=(240&Y|Y>>4)*G>>16;u[p+2*O+0]=(240&P|P>>4)*G>>16&240|(15&P|P<<4)*G>>16>>4&15,u[p+2*O+1]=240&Y|V}p+=Q}}function C(u,p,B,F,Q,O,P,V){var G,Y,he=255;for(Y=0;Y<Q;++Y){for(G=0;G<F;++G){var Ie=u[p+G];O[P+4*G]=Ie,he&=Ie}p+=B,P+=V}return 255!=he}function D(u,p,B,F,Q){var O;for(O=0;O<Q;++O)B[F+O]=u[p+O]>>8}function M(){Qa=l,_i=v,Bi=C,rr=D}function J(u,p,B){ae[u]=function(F,Q,O,P,V,G,Y,he,Ie,Se,Be,st,$e,fe,pe,rt,ut){var at,Ht=ut-1>>1,Ut=V[G+0]|Y[he+0]<<16,Zt=Ie[Se+0]|Be[st+0]<<16;o(null!=F);var Lt=3*Ut+Zt+131074>>2;for(p(F[Q+0],255&Lt,Lt>>16,$e,fe),null!=O&&p(O[P+0],255&(Lt=3*Zt+Ut+131074>>2),Lt>>16,pe,rt),at=1;at<=Ht;++at){var Kn=V[G+at]|Y[he+at]<<16,Zn=Ie[Se+at]|Be[st+at]<<16,Pn=Ut+Kn+Zt+Zn+524296,Sn=Pn+2*(Kn+Zt)>>3;Lt=Sn+Ut>>1,Ut=(Pn=Pn+2*(Ut+Zn)>>3)+Kn>>1,p(F[Q+2*at-1],255&Lt,Lt>>16,$e,fe+(2*at-1)*B),p(F[Q+2*at-0],255&Ut,Ut>>16,$e,fe+(2*at-0)*B),null!=O&&(Ut=Sn+Zn>>1,p(O[P+2*at-1],255&(Lt=Pn+Zt>>1),Lt>>16,pe,rt+(2*at-1)*B),p(O[P+2*at+0],255&Ut,Ut>>16,pe,rt+(2*at+0)*B)),Ut=Kn,Zt=Zn}1&ut||(p(F[Q+ut-1],255&(Lt=3*Ut+Zt+131074>>2),Lt>>16,$e,fe+(ut-1)*B),null!=O&&p(O[P+ut-1],255&(Lt=3*Zt+Ut+131074>>2),Lt>>16,pe,rt+(ut-1)*B))}}function Z(){Oa[Ld]=lf,Oa[Pd]=Ch,Oa[_h]=cf,Oa[Rd]=Fh,Oa[Hd]=Eh,Oa[ih]=xh,Oa[Bh]=uf,Oa[rh]=Ch,Oa[Ah]=Fh,Oa[kd]=Eh,Oa[ah]=xh}function ge(u){return u&~df?0>u?0:255:u>>Dh}function Pe(u,p){return ge((19077*u>>8)+(26149*p>>8)-14234)}function ke(u,p,B){return ge((19077*u>>8)-(6419*p>>8)-(13320*B>>8)+8708)}function Ge(u,p){return ge((19077*u>>8)+(33050*p>>8)-17685)}function dt(u,p,B,F,Q){F[Q+0]=Pe(u,B),F[Q+1]=ke(u,p,B),F[Q+2]=Ge(u,p)}function wt(u,p,B,F,Q){F[Q+0]=Ge(u,p),F[Q+1]=ke(u,p,B),F[Q+2]=Pe(u,B)}function lt(u,p,B,F,Q){var O=ke(u,p,B);p=O<<3&224|Ge(u,p)>>3,F[Q+0]=248&Pe(u,B)|O>>5,F[Q+1]=p}function nt(u,p,B,F,Q){var O=240&Ge(u,p)|15;F[Q+0]=240&Pe(u,B)|ke(u,p,B)>>4,F[Q+1]=O}function xt(u,p,B,F,Q){F[Q+0]=255,dt(u,p,B,F,Q+1)}function Tt(u,p,B,F,Q){wt(u,p,B,F,Q),F[Q+3]=255}function Ct(u,p,B,F,Q){dt(u,p,B,F,Q),F[Q+3]=255}function Xt(u,p){return 0>u?0:u>p?p:u}function un(u,p,B){ae[u]=function(F,Q,O,P,V,G,Y,he,Ie){for(var Se=he+(-2&Ie)*B;he!=Se;)p(F[Q+0],O[P+0],V[G+0],Y,he),p(F[Q+1],O[P+0],V[G+0],Y,he+B),Q+=2,++P,++G,he+=2*B;1&Ie&&p(F[Q+0],O[P+0],V[G+0],Y,he)}}function Un(u,p,B){return 0==B?0==u?0==p?6:5:0==p?4:0:B}function cn(u,p,B,F,Q){switch(u>>>30){case 3:mo(p,B,F,Q,0);break;case 2:Xn(p,B,F,Q);break;case 1:Ur(p,B,F,Q)}}function wn(u,p){var B,F,Q=p.M,O=p.Nb,P=u.oc,V=u.pc+40,G=u.oc,Y=u.pc+584,he=u.oc,Ie=u.pc+600;for(B=0;16>B;++B)P[V+32*B-1]=129;for(B=0;8>B;++B)G[Y+32*B-1]=129,he[Ie+32*B-1]=129;for(0<Q?P[V-1-32]=G[Y-1-32]=he[Ie-1-32]=129:(h(P,V-32-1,127,21),h(G,Y-32-1,127,9),h(he,Ie-32-1,127,9)),F=0;F<u.za;++F){var Se=p.ya[p.aa+F];if(0<F){for(B=-1;16>B;++B)c(P,V+32*B-4,P,V+32*B+12,4);for(B=-1;8>B;++B)c(G,Y+32*B-4,G,Y+32*B+4,4),c(he,Ie+32*B-4,he,Ie+32*B+4,4)}var Be=u.Gd,st=u.Hd+F,$e=Se.ad,fe=Se.Hc;if(0<Q&&(c(P,V-32,Be[st].y,0,16),c(G,Y-32,Be[st].f,0,8),c(he,Ie-32,Be[st].ea,0,8)),Se.Za){var pe=P,rt=V-32+16;for(0<Q&&(F>=u.za-1?h(pe,rt,Be[st].y[15],4):c(pe,rt,Be[st+1].y,0,4)),B=0;4>B;B++)pe[rt+128+B]=pe[rt+256+B]=pe[rt+384+B]=pe[rt+0+B];for(B=0;16>B;++B,fe<<=2)vo[Se.Ob[B]](pe=P,rt=V+Sh[B]),cn(fe,$e,16*+B,pe,rt)}else if(pe=Un(F,Q,Se.Ob[0]),Fl[pe](P,V),0!=fe)for(B=0;16>B;++B,fe<<=2)cn(fe,$e,16*+B,P,V+Sh[B]);for(B=Se.Gc,pe=Un(F,Q,Se.Dd),Ms[pe](G,Y),Ms[pe](he,Ie),fe=$e,pe=G,rt=Y,255&(Se=0|B)&&(170&Se?Ko(fe,256,pe,rt):gA(fe,256,pe,rt)),Se=he,fe=Ie,255&(B>>=8)&&(170&B?Ko($e,320,Se,fe):gA($e,320,Se,fe)),Q<u.Ub-1&&(c(Be[st].y,0,P,V+480,16),c(Be[st].f,0,G,Y+224,8),c(Be[st].ea,0,he,Ie+224,8)),Be=u.sa,st=u.ta+16*F+16*O*u.R,$e=u.qa,Se=u.ra+8*F+(B=8*O*u.B),fe=u.Ha,pe=u.Ia+8*F+B,B=0;16>B;++B)c(Be,st+B*u.R,P,V+32*B,16);for(B=0;8>B;++B)c($e,Se+B*u.B,G,Y+32*B,8),c(fe,pe+B*u.B,he,Ie+32*B,8)}}function Ui(u,p,B,F,Q,O,P,V,G){var Y=[0],he=[0],Ie=0,Se=null!=G?G.kd:0,Be=G??new _l;if(null==u||12>B)return 7;Be.data=u,Be.w=p,Be.ha=B,p=[p],B=[B],Be.gb=[Be.gb];e:{var st=p,$e=B,fe=Be.gb;if(o(null!=u),o(null!=$e),o(null!=fe),fe[0]=0,12<=$e[0]&&!A(u,st[0],"RIFF")){if(A(u,st[0]+8,"WEBP")){fe=3;break e}var pe=It(u,st[0]+4);if(12>pe||4294967286<pe){fe=3;break e}if(Se&&pe>$e[0]-8){fe=7;break e}fe[0]=pe,st[0]+=12,$e[0]-=12}fe=0}if(0!=fe)return fe;for(pe=0<Be.gb[0],B=B[0];;){e:{var rt=u;$e=p,fe=B;var ut=Y,at=he,Ht=st=[0];if((Lt=Ie=[Ie])[0]=0,8>fe[0])fe=7;else{if(!A(rt,$e[0],"VP8X")){if(10!=It(rt,$e[0]+4)){fe=3;break e}if(18>fe[0]){fe=7;break e}var Ut=It(rt,$e[0]+8),Zt=1+Qt(rt,$e[0]+12);if(2147483648<=Zt*(rt=1+Qt(rt,$e[0]+15))){fe=3;break e}null!=Ht&&(Ht[0]=Ut),null!=ut&&(ut[0]=Zt),null!=at&&(at[0]=rt),$e[0]+=18,fe[0]-=18,Lt[0]=1}fe=0}}if(Ie=Ie[0],0!=fe)return fe;if($e=!!(2&(st=st[0])),!pe&&Ie)return 3;if(null!=O&&(O[0]=!!(16&st)),null!=P&&(P[0]=$e),null!=V&&(V[0]=0),P=Y[0],st=he[0],Ie&&$e&&null==G){fe=0;break}if(4>B){fe=7;break}if(pe&&Ie||!pe&&!Ie&&!A(u,p[0],"ALPH")){B=[B],Be.na=[Be.na],Be.P=[Be.P],Be.Sa=[Be.Sa];e:{fe=p,pe=B;var Lt=Be.gb;ut=Be.na,at=Be.P,Ht=Be.Sa,Zt=22,o(null!=(Ut=u)),o(null!=pe),rt=fe[0];var Kn=pe[0];for(o(null!=ut),o(null!=Ht),ut[0]=null,at[0]=null,Ht[0]=0;;){if(fe[0]=rt,pe[0]=Kn,8>Kn){fe=7;break e}var Zn=It(Ut,rt+4);if(4294967286<Zn){fe=3;break e}var Pn=8+Zn+1&-2;if(Zt+=Pn,0<Lt&&Zt>Lt){fe=3;break e}if(!A(Ut,rt,"VP8 ")||!A(Ut,rt,"VP8L")){fe=0;break e}if(Kn[0]<Pn){fe=7;break e}A(Ut,rt,"ALPH")||(ut[0]=Ut,at[0]=rt+8,Ht[0]=Zn),rt+=Pn,Kn-=Pn}}if(B=B[0],Be.na=Be.na[0],Be.P=Be.P[0],Be.Sa=Be.Sa[0],0!=fe)break}B=[B],Be.Ja=[Be.Ja],Be.xa=[Be.xa];e:if(Lt=u,fe=p,pe=B,ut=Be.gb[0],at=Be.Ja,Ht=Be.xa,Ut=fe[0],rt=!A(Lt,Ut,"VP8 "),Zt=!A(Lt,Ut,"VP8L"),o(null!=Lt),o(null!=pe),o(null!=at),o(null!=Ht),8>pe[0])fe=7;else{if(rt||Zt){if(Lt=It(Lt,Ut+4),12<=ut&&Lt>ut-12){fe=3;break e}if(Se&&Lt>pe[0]-8){fe=7;break e}at[0]=Lt,fe[0]+=8,pe[0]-=8,Ht[0]=Zt}else Ht[0]=5<=pe[0]&&47==Lt[Ut+0]&&!(Lt[Ut+4]>>5),at[0]=pe[0];fe=0}if(B=B[0],Be.Ja=Be.Ja[0],Be.xa=Be.xa[0],p=p[0],0!=fe)break;if(4294967286<Be.Ja)return 3;if(null==V||$e||(V[0]=Be.xa?2:1),P=[P],st=[st],Be.xa){if(5>B){fe=7;break}V=P,Se=st,$e=O,null==u||5>B?u=0:5<=B&&47==u[p+0]&&!(u[p+4]>>5)?(pe=[0],Lt=[0],ut=[0],xe(at=new H,u,p,B),Wt(at,pe,Lt,ut)?(null!=V&&(V[0]=pe[0]),null!=Se&&(Se[0]=Lt[0]),null!=$e&&($e[0]=ut[0]),u=1):u=0):u=0}else{if(10>B){fe=7;break}V=st,null==u||10>B||!sc(u,p+3,B-3)?u=0:(Se=u[p+0]|u[p+1]<<8|u[p+2]<<16,$e=16383&(u[p+7]<<8|u[p+6]),u=16383&(u[p+9]<<8|u[p+8]),1&Se||3<(Se>>1&7)||!(Se>>4&1)||Se>>5>=Be.Ja||!$e||!u?u=0:(P&&(P[0]=$e),V&&(V[0]=u),u=1))}if(!u||(P=P[0],st=st[0],Ie&&(Y[0]!=P||he[0]!=st)))return 3;null!=G&&(G[0]=Be,G.offset=p-G.w,o(4294967286>p-G.w),o(G.offset==G.ha-B));break}return 0==fe||7==fe&&Ie&&null==G?(null!=O&&(O[0]|=null!=Be.na&&0<Be.na.length),null!=F&&(F[0]=P),null!=Q&&(Q[0]=st),0):fe}function ti(u,p,B){var F=p.width,Q=p.height,O=0,P=0,V=F,G=Q;if(p.Da=null!=u&&0<u.Da,p.Da&&(V=u.cd,G=u.bd,O=u.v,P=u.j,11>B||(O&=-2,P&=-2),0>O||0>P||0>=V||0>=G||O+V>F||P+G>Q))return 0;if(p.v=O,p.j=P,p.va=O+V,p.o=P+G,p.U=V,p.T=G,p.da=null!=u&&0<u.da,p.da){if(!ln(V,G,B=[u.ib],O=[u.hb]))return 0;p.ib=B[0],p.hb=O[0]}return p.ob=null!=u&&u.ob,p.Kb=null==u||!u.Sd,p.da&&(p.ob=p.ib<3*F/4&&p.hb<3*Q/4,p.Kb=0),1}function Mn(u){if(null==u)return 2;if(11>u.S){var p=u.f.RGBA;p.fb+=(u.height-1)*p.A,p.A=-p.A}else(p=u.f.kb).O+=((u=u.height)-1)*p.fa,p.fa=-p.fa,p.N+=(u-1>>1)*p.Ab,p.Ab=-p.Ab,p.W+=(u-1>>1)*p.Db,p.Db=-p.Db,null!=p.F&&(p.J+=(u-1)*p.lb,p.lb=-p.lb);return 0}function vi(u,p,B,F){if(null==F||0>=u||0>=p)return 2;if(null!=B){if(B.Da){var Q=B.cd,O=B.bd,P=-2&B.v,V=-2&B.j;if(0>P||0>V||0>=Q||0>=O||P+Q>u||V+O>p)return 2;u=Q,p=O}if(B.da){if(!ln(u,p,Q=[B.ib],O=[B.hb]))return 2;u=Q[0],p=O[0]}}F.width=u,F.height=p;e:{var G=F.width,Y=F.height;if(u=F.S,0>=G||0>=Y||!(u>=Ld&&13>u))u=2;else{if(0>=F.Rd&&null==F.sd){P=O=Q=p=0;var he=(V=G*Nh[u])*Y;if(11>u||(O=(Y+1)/2*(p=(G+1)/2),12==u&&(P=(Q=G)*Y)),null==(Y=f(he+2*O+P))){u=1;break e}F.sd=Y,11>u?((G=F.f.RGBA).eb=Y,G.fb=0,G.A=V,G.size=he):((G=F.f.kb).y=Y,G.O=0,G.fa=V,G.Fd=he,G.f=Y,G.N=0+he,G.Ab=p,G.Cd=O,G.ea=Y,G.W=0+he+O,G.Db=p,G.Ed=O,12==u&&(G.F=Y,G.J=0+he+2*O),G.Tc=P,G.lb=Q)}if(p=1,O=F.width,P=F.height,(Q=F.S)>=Ld&&13>Q)if(11>Q)u=F.f.RGBA,p&=(V=Math.abs(u.A))*(P-1)+O<=u.size,p&=V>=O*Nh[Q],p&=null!=u.eb;else{u=F.f.kb,V=(O+1)/2,he=(P+1)/2,G=Math.abs(u.fa),Y=Math.abs(u.Ab);var Ie=Math.abs(u.Db),Se=Math.abs(u.lb);p&=G*(P-1)+O<=u.Fd,p&=Y*(he-1)+V<=u.Cd,p=(p&=Ie*(he-1)+V<=u.Ed)&G>=O&Y>=V&Ie>
vendor: 5,225 bytes, line 58
58=V,p&=null!=u.y,p&=null!=u.f,p&=null!=u.ea,12==Q&&(p&=Se>=O,p&=Se*(P-1)+O<=u.Tc,p&=null!=u.F)}else p=0;u=p?0:2}}return 0!=u||null!=B&&B.fd&&(u=Mn(F)),u}var Ln=64,Qi=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],yr=24,Tr=32,nr=8,si=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Ft("Predictor0","PredictorAdd0"),ae.Predictor0=function(){return 4278190080},ae.Predictor1=function(u){return u},ae.Predictor2=function(u,p,B){return p[B+0]},ae.Predictor3=function(u,p,B){return p[B+1]},ae.Predictor4=function(u,p,B){return p[B-1]},ae.Predictor5=function(u,p,B){return Et(Et(u,p[B+1]),p[B+0])},ae.Predictor6=function(u,p,B){return Et(u,p[B-1])},ae.Predictor7=function(u,p,B){return Et(u,p[B+0])},ae.Predictor8=function(u,p,B){return Et(p[B-1],p[B+0])},ae.Predictor9=function(u,p,B){return Et(p[B+0],p[B+1])},ae.Predictor10=function(u,p,B){return Et(Et(u,p[B-1]),Et(p[B+0],p[B+1]))},ae.Predictor11=function(u,p,B){var F=p[B+0];return 0>=hn(F>>24&255,u>>24&255,(p=p[B-1])>>24&255)+hn(F>>16&255,u>>16&255,p>>16&255)+hn(F>>8&255,u>>8&255,p>>8&255)+hn(255&F,255&u,255&p)?F:u},ae.Predictor12=function(u,p,B){var F=p[B+0];return(Kt((u>>24&255)+(F>>24&255)-((p=p[B-1])>>24&255))<<24|Kt((u>>16&255)+(F>>16&255)-(p>>16&255))<<16|Kt((u>>8&255)+(F>>8&255)-(p>>8&255))<<8|Kt((255&u)+(255&F)-(255&p)))>>>0},ae.Predictor13=function(u,p,B){var F=p[B-1];return(nn((u=Et(u,p[B+0]))>>24&255,F>>24&255)<<24|nn(u>>16&255,F>>16&255)<<16|nn(u>>8&255,F>>8&255)<<8|nn(255&u,255&F))>>>0};var ur=ae.PredictorAdd0;ae.PredictorAdd1=_n,Ft("Predictor2","PredictorAdd2"),Ft("Predictor3","PredictorAdd3"),Ft("Predictor4","PredictorAdd4"),Ft("Predictor5","PredictorAdd5"),Ft("Predictor6","PredictorAdd6"),Ft("Predictor7","PredictorAdd7"),Ft("Predictor8","PredictorAdd8"),Ft("Predictor9","PredictorAdd9"),Ft("Predictor10","PredictorAdd10"),Ft("Predictor11","PredictorAdd11"),Ft("Predictor12","PredictorAdd12"),Ft("Predictor13","PredictorAdd13");var ir=ae.PredictorAdd2;pn("ColorIndexInverseTransform","MapARGB","32b",function(u){return u>>8&255},function(u){return u}),pn("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(u){return u},function(u){return u>>8&255});var oA,zr=ae.ColorIndexInverseTransform,LA=ae.MapARGB,Bl=ae.VP8LColorIndexInverseTransformAlpha,gu=ae.MapAlpha,Sa=ae.VP8LPredictorsAdd=[];Sa.length=16,(ae.VP8LPredictors=[]).length=16,(ae.VP8LPredictorsAdd_C=[]).length=16,(ae.VP8LPredictors_C=[]).length=16;var Us,$r,Jr,Go,Na,Ta,bl,mo,Xn,Ko,Ur,gA,Wo,vc,yl,zo,$o,wl,_c,mu,Bc,Cl,md,Ua,Qa,_i,Bi,rr,wr=f(511),Qs=f(2041),vd=f(225),vu=f(767),Md=0,nh=Qs,Od=vd,ea=vu,Ma=wr,Ld=0,Pd=1,_h=2,Rd=3,Hd=4,ih=5,Bh=6,rh=7,Ah=8,kd=9,ah=10,zh=[2,3,7],$h=[3,3,11],bh=[280,256,256,256,40],Jh=[0,1,1,1,0],Yh=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],qh=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Xh=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Zh=8,oh=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],sh=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],_d=null,ef=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],tf=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],yh=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],nf=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,25
585,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],rf=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,25
585,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Af=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,25
vendor: 23,824 bytes, lines 58-83
585,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],af=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Fl=[],vo=[],Ms=[],sf=1,wh=2,El=[],Oa=[];J("UpsampleRgbLinePair",dt,3),J("UpsampleBgrLinePair",wt,3),J("UpsampleRgbaLinePair",Ct,4),J("UpsampleBgraLinePair",Tt,4),J("UpsampleArgbLinePair",xt,4),J("UpsampleRgba4444LinePair",nt,2),J("UpsampleRgb565LinePair",lt,2);var lf=ae.UpsampleRgbLinePair,cf=ae.UpsampleBgrLinePair,Ch=ae.UpsampleRgbaLinePair,Fh=ae.UpsampleBgraLinePair,Eh=ae.UpsampleArgbLinePair,xh=ae.UpsampleRgba4444LinePair,uf=ae.UpsampleRgb565LinePair,Vd=16,jd=1<<Vd-1,Bd=-227,lh=482,Dh=6,df=(256<<Dh)-1,Ih=0,hf=f(256),ff=f(256),pf=f(256),gf=f(256),mf=f(lh-Bd),vf=f(lh-Bd);un("YuvToRgbRow",dt,3),un("YuvToBgrRow",wt,3),un("YuvToRgbaRow",Ct,4),un("YuvToBgraRow",Tt,4),un("YuvToArgbRow",xt,4),un("YuvToRgba4444Row",nt,2),un("YuvToRgb565Row",lt,2);var Sh=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Gd=[0,2,8],_f=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(u,p,B,F,Q){var O=Pd,P=new Ts,V=new fA;P.ba=V,V.S=O,V.width=[V.width],V.height=[V.height];var G=V.width,Y=V.height,he=new SA;if(null==he||null==u)var Ie=2;else o(null!=he),Ie=Ui(u,p,B,he.width,he.height,he.Pd,he.Qd,he.format,null);if(0!=Ie?G=0:(null!=G&&(G[0]=he.width[0]),null!=Y&&(Y[0]=he.height[0]),G=1),G){V.width=V.width[0],V.height=V.height[0],null!=F&&(F[0]=V.width),null!=Q&&(Q[0]=V.height);e:{if(F=new Ro,(Q=new _l).data=u,Q.w=p,Q.ha=B,Q.kd=1,p=[0],o(null!=Q),(0==(u=Ui(Q.data,Q.w,Q.ha,null,null,null,p,null,Q))||7==u)&&p[0]&&(u=4),0==(p=u)){if(o(null!=P),F.data=Q.data,F.w=Q.w+Q.offset,F.ha=Q.ha-Q.offset,F.put=Dn,F.ac=Gi,F.bc=cr,F.ma=P,Q.xa){if(null==(u=AA())){P=1;break e}if(function(Se,Be){var st=[0],$e=[0],fe=[0];t:for(;;){if(null==Se)return 0;if(null==Be)return Se.a=2,0;if(Se.l=Be,Se.a=0,xe(Se.m,Be.data,Be.w,Be.ha),!Wt(Se.m,st,$e,fe)){Se.a=3;break t}if(Se.xb=wh,Be.width=st[0],Be.height=$e[0],!NA(st[0],$e[0],1,Se,null))break t;return 1}return o(0!=Se.a),0}(u,F)){if(F=0==(p=vi(F.width,F.height,P.Oa,P.ba))){t:{F=u;n:for(;;){if(null==F){F=0;break t}if(o(null!=F.s.yc),o(null!=F.s.Ya),o(0<F.s.Wb),o(null!=(B=F.l)),o(null!=(Q=B.ma)),0!=F.xb){if(F.ca=Q.ba,F.tb=Q.tb,o(null!=F.ca),!ti(Q.Oa,B,Rd)){F.a=2;break n}if(!ZA(F,B.width)||B.da)break n;if((B.da||En(F.ca.S))&&M(),11>F.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=F.ca.f.kb.F&&M()),F.Pb&&0<F.s.ua&&null==F.s.vb.X&&!Yt(F.s.vb,F.s.Wa.Xa)){F.a=1;break n}F.xb=0}if(!rA(F,F.V,F.Ba,F.c,F.i,B.o,so))break n;Q.Dc=F.Ma,F=1;break t}o(0!=F.a),F=0}F=!F}F&&(p=u.a)}else p=u.a}else{if(null==(u=new oc)){P=1;break e}if(u.Fa=Q.na,u.P=Q.P,u.qc=Q.Sa,lc(u,F)){if(0==(p=vi(F.width,F.height,P.Oa,P.ba))){if(u.Aa=0,B=P.Oa,o(null!=(Q=u)),null!=B){if(0<(G=0>(G=B.Md)?0:100<G?255:255*G/100)){for(Y=he=0;4>Y;++Y)12>(Ie=Q.pb[Y]).lc&&(Ie.ia=G*_f[0>Ie.lc?0:Ie.lc]>>3),he|=Ie.ia;he&&(alert("todo:VP8InitRandom"),Q.ia=1)}Q.Ga=B.Id,100<Q.Ga?Q.Ga=100:0>Q.Ga&&(Q.Ga=0)}(function Es(u,p){if(null==u)return 0;if(null==p)return Ci(u,2,"NULL VP8Io parameter in VP8Decode().");if(!u.cb&&!lc(u,p))return 0;if(o(u.cb),null==p.ac||p.ac(p)){p.ob&&(u.L=0);var B=Gd[u.L];if(2==u.L?(u.yb=0,u.zb=0):(u.yb=p.v-B>>4,u.zb=p.j-B>>4,0>u.yb&&(u.yb=0),0>u.zb&&(u.zb=0)),u.Va=p.o+15+B>>4,u.Hb=p.va+15+B>>4,u.Hb>u.za&&(u.Hb=u.za),u.Va>u.Ub&&(u.Va=u.Ub),0<u.L){var F=u.ed;for(B=0;4>B;++B){var Q;if(u.Qa.Cb){var O=u.Qa.Lb[B];u.Qa.Fb||(O+=F.Tb)}else O=F.Tb;for(Q=0;1>=Q;++Q){var P=u.gd[B][Q],V=O;if(F.Pc&&(V+=F.vd[0],Q&&(V+=F.od[0])),0<(V=0>V?0:63<V?63:V)){var G=V;0<F.wb&&(G=4<F.wb?G>>2:G>>1)>9-F.wb&&(G=9-F.wb),1>G&&(G=1),P.dd=G,P.tc=2*V+G,P.ld=40<=V?2:15<=V?1:0}else P.tc=0;P.La=Q}}}B=0}else Ci(u,6,"Frame setup failed"),B=u.a;if(B=0==B){if(B){u.$c=0,0<u.Aa||(u.Ic=1);e:{F=4*(G=u.za);var Y=32*G,he=G+1,Ie=0<u.L?G*(0<u.Aa?2:1):0,Se=(2==u.Aa?2:1)*G;if((P=F+832+(Q=3*(16*(B=u.Ic)+Gd[u.L])/2*Y)+(O=null!=u.Fa&&0<u.Fa.length?u.Kc.c*u.Kc.i:0))!=P)B=0;else{if(P>u.Vb){if(u.Vb=0,u.Ec=f(P),u.Fc=0,null==u.Ec){B=Ci(u,1,"no memory during frame initialization.");break e}u.Vb=P}V=u.Fc,u.Ac=P=u.Ec,u.Bc=V,V+=F,u.Gd=m(Y,ac),u.Hd=0,u.rb=m(he+1,lo),u.sb=1,u.wa=Ie?m(Ie,Fa):null,u.Y=0,u.D.Nb=0,u.D.wa=u.wa,u.D.Y=u.Y,0<u.Aa&&(u.D.Y+=G),o(!0),u.oc=P,u.pc=V,V+=832,u.ya=m(Se,co),u.aa=0,u.D.ya=u.ya,u.D.aa=u.aa,2==u.Aa&&(u.D.aa+=G),u.R=16*G,u.B=8*G,G=(Y=Gd[u.L])*u.R,Y=Y/2*u.B,u.sa=P,u.ta=V+G,u.qa=u.sa,u.ra=u.ta+16*B*u.R+Y,u.Ha=u.qa,u.Ia=u.ra+8*B*u.B+Y,u.$c=0,V+=Q,u.mb=O?P:null,u.nb=O?V:null,o(V+O<=u.Fc+u.Vb),ul(u),h(u.Ac,u.Bc,0,F),B=1}}if(B){if(p.ka=0,p.y=u.sa,p.O=u.ta,p.f=u.qa,p.N=u.ra,p.ea=u.Ha,p.Vd=u.Ia,p.fa=u.R,p.Rc=u.B,p.F=null,p.J=0,!Md){for(B=-255;255>=B;++B)wr[255+B]=0>B?-B:B;for(B=-1020;1020>=B;++B)Qs[1020+B]=-128>B?-128:127<B?127:B;for(B=-112;112>=B;++B)vd[112+B]=-16>B?-16:15<B?15:B;for(B=-255;510>=B;++B)vu[255+B]=0>B?0:255<B?255:B;Md=1}bl=lu,mo=su,Ko=In,Ur=zn,gA=uo,Xn=Nr,Wo=gl,vc=Vo,yl=pu,zo=ml,$o=fu,wl=jo,_c=vl,mu=mc,Bc=gc,Cl=OA,md=Ia,Ua=hu,vo[0]=UA,vo[1]=cu,vo[2]=hl,vo[3]=du,vo[4]=uc,vo[5]=ko,vo[6]=dc,vo[7]=fo,vo[8]=hc,vo[9]=Wr,Fl[0]=Is,Fl[1]=uu,Fl[2]=xa,Fl[3]=Ho,Fl[4]=br,Fl[5]=cc,Fl[6]=dl,Ms[0]=QA,Ms[1]=xs,Ms[2]=Ss,Ms[3]=fl,Ms[4]=MA,Ms[5]=Da,Ms[6]=Ns,B=1}else B=0}B&&(B=function(Be,st){for(Be.M=0;Be.M<Be.Va;++Be.M){var $e,fe=Be.Jc[Be.M&Be.Xb],pe=Be.m,rt=Be;for($e=0;$e<rt.za;++$e){var ut=pe,at=rt,Ht=at.Ac,Ut=at.Bc+4*$e,Zt=at.zc,Lt=at.ya[at.aa+$e];if(Lt.$b=at.Qa.Bb?Le(ut,at.Pa.jb[0])?2+Le(ut,at.Pa.jb[2]):Le(ut,at.Pa.jb[1]):0,at.kc&&(Lt.Ad=Le(ut,at.Bd)),Lt.Za=!Le(ut,145)+0,Lt.Za){var Kn=Lt.Ob,Zn=0;for(at=0;4>at;++at){var Pn,Sn=Zt[0+at];for(Pn=0;4>Pn;++Pn){for(var li=yh[Le(ut,(Sn=rf[Ht[Ut+Pn]][Sn])[0])];0<li;)li=yh[2*li+Le(ut,Sn[li])];Ht[Ut+Pn]=Sn=-li}c(Kn,Zn,Ht,Ut,4),Zn+=4,Zt[0+at]=Sn}}else Sn=Le(ut,156)?Le(ut,128)?1:3:Le(ut,163)?2:0,Lt.Ob[0]=Sn,h(Ht,Ut,Sn,4),h(Zt,0,Sn,4);Lt.Dd=Le(ut,142)?Le(ut,114)?Le(ut,183)?1:3:2:0}if(rt.m.Ka)return Ci(Be,7,"Premature end-of-partition0 encountered.");for(;Be.ja<Be.za;++Be.ja){if(rt=fe,ut=(pe=Be).rb[pe.sb-1],Ht=pe.rb[pe.sb+pe.ja],$e=pe.ya[pe.aa+pe.ja],Ut=pe.kc?$e.Ad:0)ut.la=Ht.la=0,$e.Za||(ut.Na=Ht.Na=0),$e.Hc=0,$e.Gc=0,$e.ia=0;else{var ni,mn;if(ut=Ht,Ht=rt,Ut=pe.Pa.Xc,Lt=pe.pb[(Zt=pe.ya[pe.aa+pe.ja]).$b],Zn=pe.rb[pe.sb-1],Sn=Pn=0,h(at=Zt.ad,Kn=0,0,384),Zt.Za)var dr=0,PA=Ut[3];else{li=f(16);var hr=ut.Na+Zn.Na;if(hr=_d(Ht,Ut[1],hr,Lt.Eb,0,li,0),ut.Na=Zn.Na=(0<hr)+0,1<hr)bl(li,0,at,Kn);else{var RA=li[0]+3>>3;for(li=0;256>li;li+=16)at[Kn+li]=RA}dr=1,PA=Ut[0]}var ei=15&ut.la,ta=15&Zn.la;for(li=0;4>li;++li){var na=1&ta;for(RA=mn=0;4>RA;++RA)ei=ei>>1|(na=(hr=_d(Ht,PA,hr=na+(1&ei),Lt.Sc,dr,at,Kn))>dr)<<7,mn=mn<<2|(3<hr?3:1<hr?2:0!=at[Kn+0]),Kn+=16;ei>>=4,ta=ta>>1|na<<7,Pn=(Pn<<8|mn)>>>0}for(PA=ei,dr=ta>>4,ni=0;4>ni;ni+=2){for(mn=0,ei=ut.la>>4+ni,ta=Zn.la>>4+ni,li=0;2>li;++li){for(na=1&ta,RA=0;2>RA;++RA)ei=ei>>1|(na=0<(hr=_d(Ht,Ut[2],hr=na+(1&ei),Lt.Qc,0,at,Kn)))<<3,mn=mn<<2|(3<hr?3:1<hr?2:0!=at[Kn+0]),Kn+=16;ei>>=2,ta=ta>>1|na<<5}Sn|=mn<<4*ni,PA|=ei<<4<<ni,dr|=(240&ta)<<ni}ut.la=PA,Zn.la=dr,Zt.Hc=Pn,Zt.Gc=Sn,Zt.ia=43690&Sn?0:Lt.ia,Ut=!(Pn|Sn)}if(0<pe.L&&(pe.wa[pe.Y+pe.ja]=pe.gd[$e.$b][$e.Za],pe.wa[pe.Y+pe.ja].La|=!Ut),rt.Ka)return Ci(Be,7,"Premature end-of-file encountered.")}if(ul(Be),pe=st,rt=1,$e=(fe=Be).D,ut=0<fe.L&&fe.M>=fe.zb&&fe.M<=fe.Va,0==fe.Aa)e:{if($e.M=fe.M,$e.uc=ut,wn(fe,$e),rt=1,$e=(mn=fe.D).Nb,ut=(Sn=Gd[fe.L])*fe.R,Ut=fe.sa,Zt=fe.ta-ut+(li=16*$e*fe.R),Lt=fe.qa,at=fe.ra-(Ht=Sn/2*fe.B)+(RA=8*$e*fe.B),Kn=fe.Ha,Zn=fe.Ia-Ht+RA,ta=0==(ei=mn.M),Pn=ei>=fe.Va-1,2==fe.Aa&&wn(fe,mn),mn.uc)for(na=(hr=fe).D.M,o(hr.D.uc),mn=hr.yb;mn<hr.Hb;++mn){PA=na;var Qr=(Yr=($i=hr).D).Nb,Yr=Yr.wa[Yr.Y+(dr=mn)],mA=$i.sa,La=$i.ta+16*Qr*(ni=$i.R)+16*dr,Jo=Yr.dd,Mr=Yr.tc;if(0!=Mr)if(o(3<=Mr),1==$i.L)0<dr&&Cl(mA,La,ni,Mr+4),Yr.La&&Ua(mA,La,ni,Mr),0<PA&&Bc(mA,La,ni,Mr+4),Yr.La&&md(mA,La,ni,Mr);else{var Os=$i.B,bc=$i.qa,_u=$i.ra+8*Qr*Os+8*dr,xl=$i.Ha,$i=$i.Ia+8*Qr*Os+8*dr;Qr=Yr.ld,0<dr&&(vc(mA,La,ni,Mr+4,Jo,Qr),zo(bc,_u,xl,$i,Os,Mr+4,Jo,Qr)),Yr.La&&(wl(mA,La,ni,Mr,Jo,Qr),mu(bc,_u,xl,$i,Os,Mr,Jo,Qr)),0<PA&&(Wo(mA,La,ni,Mr+4,Jo,Qr),yl(bc,_u,xl,$i,Os,Mr+4,Jo,Qr)),Yr.La&&($o(mA,La,ni,Mr,Jo,Qr),_c(bc,_u,xl,$i,Os,Mr,Jo,Qr))}}if(fe.ia&&alert("todo:DitherRow"),null!=pe.put){if(mn=16*ei,ei=16*(ei+1),ta?(pe.y=fe.sa,pe.O=fe.ta+li,pe.f=fe.qa,pe.N=fe.ra+RA,pe.ea=fe.Ha,pe.W=fe.Ia+RA):(mn-=Sn,pe.y=Ut,pe.O=Zt,pe.f=Lt,pe.N=at,pe.ea=Kn,pe.W=Zn),Pn||(ei-=Sn),ei>pe.o&&(ei=pe.o),pe.F=null,pe.J=null,null!=fe.Fa&&0<fe.Fa.length&&mn<ei&&(pe.J=b(fe,pe,mn,ei-mn),pe.F=fe.mb,null==pe.F&&0==pe.F.length)){rt=Ci(fe,3,"Could not decode alpha data.");break e}mn<pe.j&&(Sn=pe.j-mn,mn=pe.j,o(!(1&Sn)),pe.O+=fe.R*Sn,pe.N+=fe.B*(Sn>>1),pe.W+=fe.B*(Sn>>1),null!=pe.F&&(pe.J+=pe.width*Sn)),mn<ei&&(pe.O+=pe.v,pe.N+=pe.v>>1,pe.W+=pe.v>>1,null!=pe.F&&(pe.J+=pe.v),pe.ka=mn-pe.j,pe.U=pe.va-pe.v,pe.T=ei-mn,rt=pe.put(pe))}$e+1!=fe.Ic||Pn||(c(fe.sa,fe.ta-ut,Ut,Zt+16*fe.R,ut),c(fe.qa,fe.ra-Ht,Lt,at+8*fe.B,Ht),c(fe.Ha,fe.Ia-Ht,Kn,Zn+8*fe.B,Ht))}if(!rt)return Ci(Be,6,"Output aborted.")}return 1}(u,p)),null!=p.bc&&p.bc(p),B&=1}return B?(u.cb=0,B):0})(u,F)||(p=u.a)}}else p=u.a}0==p&&null!=P.Oa&&P.Oa.fd&&(p=Mn(P.ba))}P=p}O=0!=P?null:11>O?V.f.RGBA.eb:V.f.kb.y}else O=null;return O};var Nh=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function E(ae,Fe){for(var ze="",W=0;W<4;W++)ze+=String.fromCharCode(ae[Fe++]);return ze}function T(ae,Fe){return(ae[Fe+0]|ae[Fe+1]<<8|ae[Fe+2]<<16)>>>0}function U(ae,Fe){return(ae[Fe+0]|ae[Fe+1]<<8|ae[Fe+2]<<16|ae[Fe+3]<<24)>>>0}new y;var R=[0],x=[0],q=[],z=new y,ee=a,j=function(ae,Fe){var ze={},W=0,$=!1,ue=0,oe=0;if(ze.frames=[],! 59/** @license 60 * Copyright (c) 2017 Dominik Homberger 61 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 62 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 63 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 64 https://webpjs.appspot.com 65 WebPRiffParser [email protected] 66 */ 67function(te,re,ce,ve){for(var Ne=0;Ne<4;Ne++)if(te[re+Ne]!="RIFF".charCodeAt(Ne))return!0;return!1}(ae,Fe)){for(U(ae,Fe+=4),Fe+=8;Fe<ae.length;){var je=E(ae,Fe),He=U(ae,Fe+=4);Fe+=4;var Je=He+(1&He);switch(je){case"VP8 ":case"VP8L":void 0===ze.frames[W]&&(ze.frames[W]={}),(Ze=ze.frames[W]).src_off=$?oe:Fe-8,Ze.src_size=ue+He+8,W++,$&&($=!1,ue=0,oe=0);break;case"VP8X":(Ze=ze.header={}).feature_flags=ae[Fe];var xe=Fe+4;Ze.canvas_width=1+T(ae,xe),Ze.canvas_height=1+T(ae,xe+=3),xe+=3;break;case"ALPH":$=!0,ue=Je+8,oe=Fe-8;break;case"ANIM":(Ze=ze.header).bgcolor=U(ae,Fe),Ze.loop_count=(Ot=ae)[(H=xe=Fe+4)+0]|Ot[H+1]<<8,xe+=2;break;case"ANMF":var Ye,Ze;(Ze=ze.frames[W]={}).offset_x=2*T(ae,Fe),Ze.offset_y=2*T(ae,Fe+=3),Ze.width=1+T(ae,Fe+=3),Ze.height=1+T(ae,Fe+=3),Ze.duration=T(ae,Fe+=3),Fe+=3,Ye=ae[Fe++],Ze.dispose=1&Ye,Ze.blend=Ye>>1&1}"ANMF"!=je&&(Fe+=Je)}var Ot,H;return ze}}(ee,0);j.response=ee,j.rgbaoutput=!0,j.dataurl=!1;var X=j.header?j.header:null,de=j.frames?j.frames:null;if(X){X.loop_counter=X.loop_count,R=[X.canvas_height],x=[X.canvas_width];for(var me=0;me<de.length&&0!=de[me].blend;me++);}var Re=de[0],At=z.WebPDecodeRGBA(ee,Re.src_off,Re.src_size,x,R);Re.rgba=At,Re.imgwidth=x[0],Re.imgheight=R[0];for(var Ee=0;Ee<x[0]*R[0]*4;Ee++)q[Ee]=At[Ee];return this.width=x,this.height=R,this.data=q,this}(function(a){var A=function(R,x,q,z){var ee=4,j=m;switch(z){case a.image_compression.FAST:ee=1,j=f;break;case a.image_compression.MEDIUM:ee=6,j=_;break;case a.image_compression.SLOW:ee=9,j=y}var X=ca(R=c(R,x,q,j),{level:ee});return a.__addimage__.arrayBufferToBinaryString(X)},c=function(R,x,q,z){for(var ee,j,X,de=R.length/x,me=new Uint8Array(R.length+de),Re=T(),At=0;At<de;At+=1){if(ee=R.subarray(X=At*x,X+x),z)me.set(z(ee,q,j),X+At);else{for(var Ee,ae=Re.length,Fe=[];Ee<ae;Ee+=1)Fe[Ee]=Re[Ee](ee,q,j);var ze=U(Fe.concat());me.set(Fe[ze],X+At)}j=ee}return me},h=function(R){var x=Array.apply([],R);return x.unshift(0),x},f=function(R,x){var z=[],ee=R.length;z[0]=1;for(var j=0;j<ee;j+=1)z[j+1]=R[j]-(R[j-x]||0)+256&255;return z},m=function(R,x,q){var ee=[],j=R.length;ee[0]=2;for(var X=0;X<j;X+=1)ee[X+1]=R[X]-(q&&q[X]||0)+256&255;return ee},_=function(R,x,q){var j=[],X=R.length;j[0]=3;for(var de=0;de<X;de+=1)j[de+1]=R[de]+256-((R[de-x]||0)+(q&&q[de]||0)>>>1)&255;return j},y=function(R,x,q){var X,de=[],me=R.length;de[0]=4;for(var Re=0;Re<me;Re+=1)X=E(R[Re-x]||0,q&&q[Re]||0,q&&q[Re-x]||0),de[Re+1]=R[Re]-X+256&255;return de},E=function(R,x,q){if(R===x&&x===q)return R;var z=Math.abs(x-q),ee=Math.abs(R-q),j=Math.abs(R+x-q-q);return z<=ee&&z<=j?R:ee<=j?x:q},T=function(){return[h,f,m,_,y]},U=function(R){var x=R.map(function(q){return q.reduce(function(z,ee){return z+Math.abs(ee)},0)});return x.indexOf(Math.min.apply(null,x))};a.processPNG=function(R,x,q,z){var ee,j,X,de,me,Re,At,Ee,ae,Fe,ze,W,$,ue,oe,je=this.decode.FLATE_DECODE,He="";if(this.__addimage__.isArrayBuffer(R)&&(R=new Uint8Array(R)),this.__addimage__.isArrayBufferView(R)){if(R=(X=new Fd(R)).imgData,j=X.bits,ee=X.colorSpace,me=X.colors,-1!==[4,6].indexOf(X.colorType)){if(8===X.bits){ae=(Ee=32==X.pixelBitlength?new Uint32Array(X.decodePixels().buffer):16==X.pixelBitlength?new Uint16Array(X.decodePixels().buffer):new Uint8Array(X.decodePixels().buffer)).length,ze=new Uint8Array(ae*X.colors),Fe=new Uint8Array(ae);var Je,xe=X.pixelBitlength-X.bits;for(ue=0,oe=0;ue<ae;ue++){for($=Ee[ue],Je=0;Je<xe;)ze[oe++]=$>>>Je&255,Je+=X.bits;Fe[ue]=$>>>Je&255}}if(16===X.bits){ae=(Ee=new Uint32Array(X.decodePixels().buffer)).length,ze=new Uint8Array(ae*(32/X.pixelBitlength)*X.colors),Fe=new Uint8Array(ae*(32/X.pixelBitlength)),W=X.colors>1,ue=0,oe=0;for(var Ye=0;ue<ae;)$=Ee[ue++],ze[oe++]=$>>>0&255,W&&(ze[oe++]=$>>>16&255,$=Ee[ue++],ze[oe++]=$>>>0&255),Fe[Ye++]=$>>>16&255;j=8}z!==a.image_compression.NONE?(R=A(ze,X.width*X.colors,X.colors,z),At=A(Fe,X.width,1,z)):(R=ze,At=Fe,je=void 0)}if(3===X.colorType&&(ee=this.color_spaces.INDEXED,Re=X.palette,X.transparency.indexed)){var Ze=X.transparency.indexed,Ot=0;for(ue=0,ae=Ze.length;ue<ae;++ue)Ot+=Ze[ue];if((Ot/=255)==ae-1&&-1!==Ze.indexOf(0))de=[Ze.indexOf(0)];else if(Ot!==ae){for(Ee=X.decodePixels(),Fe=new Uint8Array(Ee.length),ue=0,ae=Ee.length;ue<ae;ue++)Fe[ue]=Ze[Ee[ue]];At=A(Fe,X.width,1)}}var H=function(te){var re;switch(te){case a.image_compression.FAST:re=11;break;case a.image_compression.MEDIUM:re=13;break;case a.image_compression.SLOW:re=14;break;default:re=12}return re}(z);return je===this.decode.FLATE_DECODE&&(He="/Predictor "+H+" "),He+="/Colors "+me+" /BitsPerComponent "+j+" /Columns "+X.width,(this.__addimage__.isArrayBuffer(R)||this.__addimage__.isArrayBufferView(R))&&(R=this.__addimage__.arrayBufferToBinaryString(R)),(At&&this.__addimage__.isArrayBuffer(At)||this.__addimage__.isArrayBufferView(At))&&(At=this.__addimage__.arrayBufferToBinaryString(At)),{alias:q,data:R,index:x,filter:je,decodeParameters:He,transparency:de,palette:Re,sMask:At,predictor:H,width:X.width,height:X.height,bitsPerComponent:j,colorSpace:ee}}}})(Jt.API),function(a){a.processGIF89A=function(o,A,c,h){var f=new fs(o),m=f.width,_=f.height,y=[];f.decodeAndBlitFrameRGBA(0,y);var E={data:y,width:m,height:_},T=new jl(100).encode(E,100);return a.processJPEG.call(this,T,A,c,h)},a.processGIF87A=a.processGIF89A}(Jt.API),mr.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var a=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(a);for(var o=0;o<a;o++){var A=this.datav.getUint8(this.pos++,!0),c=this.datav.getUint8(this.pos++,!0),h=this.datav.getUint8(this.pos++,!0),f=this.datav.getUint8(this.pos++,!0);this.palette[o]={red:h,green:c,blue:A,quad:f}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},mr.prototype.parseBGR=function(){this.pos=this.offset;try{var a="bit"+this.bitPP;this.data=new Uint8Array(this.width*this.height*4),this[a]()}catch(A){Rn.log("bit decode error:"+A)}},mr.prototype.bit1=function(){var a,o=Math.ceil(this.width/8),A=o%4;for(a=this.height-1;a>=0;a--){for(var c=this.bottom_up?a:this.height-1-a,h=0;h<o;h++)for(var f=this.datav.getUint8(this.pos++,!0),m=c*this.width*4+8*h*4,_=0;_<8&&8*h+_<this.width;_++){var y=this.palette[f>>7-_&1];this.data[m+4*_]=y.blue,this.data[m+4*_+1]=y.green,this.data[m+4*_+2]=y.red,this.data[m+4*_+3]=255}0!==A&&(this.pos+=4-A)}},mr.prototype.bit4=function(){for(var a=Math.ceil(this.width/2),o=a%4,A=this.height-1;A>=0;A--){for(var c=this.bottom_up?A:this.height-1-A,h=0;h<a;h++){var f=this.datav.getUint8(this.pos++,!0),m=c*this.width*4+2*h*4,y=15&f,E=this.palette[f>>4];if(this.data[m]=E.blue,this.data[m+1]=E.green,this.data[m+2]=E.red,this.data[m+3]=255,2*h+1>=this.width)break;this.data[m+4]=(E=this.palette[y]).blue,this.data[m+4+1]=E.green,this.data[m+4+2]=E.red,this.data[m+4+3]=255}0!==o&&(this.pos+=4-o)}},mr.prototype.bit8=function(){for(var a=this.width%4,o=this.height-1;o>=0;o--){for(var A=this.bottom_up?o:this.height-1-o,c=0;c<this.width;c++){var h=this.datav.getUint8(this.pos++,!0),f=A*this.width*4+4*c;if(h<this.palette.length){var m=this.palette[h];this.data[f]=m.red,this.data[f+1]=m.green,this.data[f+2]=m.blue,this.data[f+3]=255}else this.data[f]=255,this.data[f+1]=255,this.data[f+2]=255,this.data[f+3]=255}0!==a&&(this.pos+=4-a)}},mr.prototype.bit15=function(){for(var a=this.width%3,o=parseInt("11111",2),A=this.height-1;A>=0;A--){for(var c=this.bottom_up?A:this.height-1-A,h=0;h<this.width;h++){var f=this.datav.getUint16(this.pos,!0);this.pos+=2;var m=(f&o)/o*255|0,_=(f>>5&o)/o*255|0,E=f>>15?255:0,T=c*this.width*4+4*h;this.data[T]=(f>>10&o)/o*255|0,this.data[T+1]=_,this.data[T+2]=m,this.data[T+3]=E}this.pos+=a}},mr.prototype.bit16=function(){for(var a=this.width%3,o=parseInt("11111",2),A=parseInt("111111",2),c=this.height-1;c>=0;c--){for(var h=this.bottom_up?c:this.height-1-c,f=0;f<this.width;f++){var m=this.datav.getUint16(this.pos,!0);this.pos+=2;var _=(m&o)/o*255|0,y=(m>>5&A)/A*255|0,T=h*this.width*4+4*f;this.data[T]=(m>>11)/o*255|0,this.data[T+1]=y,this.data[T+2]=_,this.data[T+3]=255}this.pos+=a}},mr.prototype.bit24=function(){for(var a=this.height-1;a>=0;a--){for(var o=this.bottom_up?a:this.height-1-a,A=0;A<this.width;A++){var c=this.datav.getUint8(this.pos++,!0),h=this.datav.getUint8(this.pos++,!0),f=this.datav.getUint8(this.pos++,!0),m=o*this.width*4+4*A;this.data[m]=f,this.data[m+1]=h,this.data[m+2]=c,this.data[m+3]=255}this.pos+=this.width%4}},mr.prototype.bit32=function(){for(var a=this.height-1;a>=0;a--)for(var o=this.bottom_up?a:this.height-1-a,A=0;A<this.width;A++){var c=this.datav.getUint8(this.pos++,!0),h=this.datav.getUint8(this.pos++,!0),f=this.datav.getUint8(this.pos++,!0),m=this.datav.getUint8(this.pos++,!0),_=o*this.width*4+4*A;this.data[_]=f,this.data[_+1]=h,this.data[_+2]=c,this.data[_+3]=m}},mr.prototype.getData=function(){return this.data}, 68/** 69 * @license 70 * Copyright (c) 2018 Aras Abbasi 71 * 72 * Licensed under the MIT License. 73 * http://opensource.org/licenses/mit-license 74 */ 75function(a){a.processBMP=function(o,A,c,h){var f=new mr(o,!1),m=f.width,_=f.height,y={data:f.getData(),width:m,height:_},E=new jl(100).encode(y,100);return a.processJPEG.call(this,E,A,c,h)}}(Jt.API),jr.prototype.getData=function(){return this.data}, 76/** 77 * @license 78 * Copyright (c) 2019 Aras Abbasi 79 * 80 * Licensed under the MIT License. 81 * http://opensource.org/licenses/mit-license 82 */ 83function(a){a.processWEBP=function(o,A,c,h){var f=new jr(o),m=f.width,_=f.height,y={data:f.getData(),width:m,height:_},E=new jl(100).encode(y,100);return a.processJPEG.call(this,E,A,c,h)}}(Jt.API),Jt.API.processRGBA=function(a,o,A){for(var c=a.data,h=c.length,f=new Uint8Array(h/4*3),m=new Uint8Array(h/4),_=0,y=0,E=0;E<h;E+=4){var U=c[E+1],R=c[E+2],x=c[E+3];f[_++]=c[E],f[_++]=U,f[_++]=R,m[y++]=x}var q=this.__addimage__.arrayBufferToBinaryString(f);return{alpha:this.__addimage__.arrayBufferToBinaryString(m),data:q,index:o,alias:A,colorSpace:"DeviceRGB",bitsPerComponent:8,width:a.width,height:a.height}},Jt.API.setLanguage=function(a){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canad
83a)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[a]&&(this.internal.languageSettings.languageCode=a,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Mo=(ro=Jt.API).getCharWidthsArray=function(a,o){var A,c,h=(o=o||{}).font||this.internal.getFont(),f=o.fontSize||this.internal.getFontSize(),m=o.charSpace||this.internal.getCharSpace(),_=o.widths?o.widths:h.metadata.Unicode.widths,y=_.fof?_.fof:1,E=o.kerning?o.kerning:h.metadata.Unicode.kerning,T=E.fof?E.fof:1,U=!1!==o.doKerning,R=0,x=a.length,q=0,z=_[0]||y,ee=[];for(A=0;A<x;A++)c=a.charCodeAt(A),"function"==typeof h.metadata.widthOfString?ee.push((h.metadata.widthOfGlyph(h.metadata.characterToGlyph(c))+m*(1e3/f)||0)/1e3):(R=U&&"object"===mt(E[c])&&!isNaN(parseInt(E[c][q],10))?E[c][q]/T:0,ee.push((_[c]||z)/y+R)),q=c;return ee},Hc=ro.getStringUnitWidth=function(a,o){var A=(o=o||{}).fontSize||this.internal.getFontSize(),c=o.font||this.internal.getFont(),h=o.charSpace||this.internal.getCharSpace();return ro.processArabic&&(a=ro.processArabic(a)),"function"==typeof c.metadata.widthOfString?c.metadata.widthOfString(a,A,h)/A:Mo.apply(this,arguments).reduce(function(f,m){return f+m},0)},Ao=function(a,o,A,c){for(var h=[],f=0,m=a.length,_=0;f!==m&&_+o[f]<A;)_+=o[f],f++;h.push(a.slice(0,f));var y=f;for(_=0;f!==m;)_+o[f]>c&&(h.push(a.slice(y,f)),_=0,y=f),_+=o[f],f++;return y!==f&&h.push(a.slice(y,f)),h},kc=function(a,o,A){A||(A={});var c,h,f,m,_,y,T=[],U=[T],R=A.textIndent||0,x=0,q=0,z=a.split(" "),ee=Mo.apply(this,[" ",A])[0];if(y=-1===A.lineIndent?z[0].length+2:A.lineIndent||0){var j=Array(y).join(" "),X=[];z.map(function(me){(me=me.split(/\s*\n/)).length>1?X=X.concat(me.map(function(Re,At){return(At&&Re.length?"\n":"")+Re})):X.push(me[0])}),z=X,y=Hc.apply(this,[j,A])}for(f=0,m=z.length;f<m;f++){var de=0;if(c=z[f],y&&"\n"==c[0]&&(c=c.substr(1),de=1),R+x+(q=(h=Mo.apply(this,[c,A])).reduce(function(me,Re){return me+Re},0))>o||de){if(q>o){for(_=Ao.apply(this,[c,h,o-(R+x),o]),T.push(_.shift()),T=[_.pop()];_.length;)U.push([_.shift()]);q=h.slice(c.length-(T[0]?T[0].length:0)).reduce(function(me,Re){return me+Re},0)}else T=[c];U.push(T),R=q+y,x=ee}else T.push(c),R+=x+q,x=ee}return U.map(y?function(me,Re){return(Re?j:"")+me.join(" ")}:function(me){return me.join(" ")})},ro.splitTextToSize=function(a,o,A){var c,h=(A=A||{}).fontSize||this.internal.getFontSize(),f=function(T){if(T.widths&&T.kerning)return{widths:T.widths,kerning:T.kerning};var U=this.internal.getFont(T.fontName,T.fontStyle);return U.metadata.Unicode?{widths:U.metadata.Unicode.widths||{0:1},kerning:U.metadata.Unicode.kerning||{}}:{font:U.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,A);c=Array.isArray(a)?a:String(a).split(/\r?\n/);var m=1*this.internal.scaleFactor*o/h;f.textIndent=A.textIndent?1*A.textIndent*this.internal.scaleFactor/h:0,f.lineIndent=A.lineIndent;var _,y,E=[];for(_=0,y=c.length;_<y;_++)E=E.concat(kc.apply(this,[c[_],m,f]));return E},function(a){a.__fontmetrics__=a.__fontmetrics__||{};for(var o="klmnopqrstuvwxyz",A={},c={},h=0;h<16;h++)A[o[h]]="0123456789abcdef"[h],c["0123456789abcdef"[h]]=o[h];var f=function(U){return"0x"+parseInt(U,10).toString(16)},m=a.__fontmetrics__.compress=function(U){var R,x,q,z,ee=["{"];for(var j in U){if(R=U[j],isNaN(parseInt(j,10))?x="'"+j+"'":(j=parseInt(j,10),x=(x=f(j).slice(2)).slice(0,-1)+c[x.slice(-1)]),"number"==typeof R)R<0?(q=f
vendor: 3,761 bytes, line 83
83(R).slice(3),z="-"):(q=f(R).slice(2),z=""),q=z+q.slice(0,-1)+c[q.slice(-1)];else{if("object"!==mt(R))throw new Error("Don't know what to do with value type "+mt(R)+".");q=m(R)}ee.push(x+q)}return ee.push("}"),ee.join("")},_=a.__fontmetrics__.uncompress=function(U){if("string"!=typeof U)throw new Error("Invalid argument passed to uncompress.");for(var R,x,q,z,ee={},j=1,X=ee,de=[],me="",Re="",At=U.length-1,Ee=1;Ee<At;Ee+=1)"'"==(z=U[Ee])?R?(q=R.join(""),R=void 0):R=[]:R?R.push(z):"{"==z?(de.push([X,q]),X={},q=void 0):"}"==z?((x=de.pop())[0][x[1]]=X,q=void 0,X=x[0]):"-"==z?j=-1:void 0===q?A.hasOwnProperty(z)?(me+=A[z],q=parseInt(me,16)*j,j=1,me=""):me+=z:A.hasOwnProperty(z)?(Re+=A[z],X[q]=parseInt(Re,16)*j,j=1,q=void 0,Re=""):Re+=z;return ee},y={codePages:["WinAnsiEncoding"],WinAnsiEncoding:_("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},E={Unicode:{Courier:y,"Courier-Bold":y,"Courier-BoldOblique":y,"Courier-Oblique":y,Helvetica:y,"Helvetica-Bold":y,"Helvetica-BoldOblique":y,"Helvetica-Oblique":y,"Times-Roman":y,"Times-Bold":y,"Times-BoldItalic":y,"Times-Italic":y}},T={Unicode:{"Courier-Oblique":_("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":_("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":_("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
83dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:_("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":_("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":_("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:_("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:_("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
83dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":_("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
83dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:_("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":_("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":_("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}
83fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":_("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":_("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
vendor: 53,175 bytes, lines 83-129
83dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};a.events.push(["addFont",function(U){var R=U.font,x=T.Unicode[R.postScriptName];x&&(R.metadata.Unicode={},R.metadata.Unicode.widths=x.widths,R.metadata.Unicode.kerning=x.kerning);var q=E.Unicode[R.postScriptName];q&&(R.metadata.Unicode.encoding=q,R.encoding=q.codePages[0])}])}(Jt.API), 84/** 85 * @license 86 * Licensed under the MIT License. 87 * http://opensource.org/licenses/mit-license 88 */ 89function(a){var o=function(A){for(var c=A.length,h=new Uint8Array(c),f=0;f<c;f++)h[f]=A.charCodeAt(f);return h};a.API.events.push(["addFont",function(A){var m,_,c=void 0,h=A.font,f=A.instance;if(!h.isStandardFont){if(void 0===f)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+h.postScriptName+"').");if("string"!=typeof(c=!1===f.existsFileInVFS(h.postScriptName)?f.loadFile(h.postScriptName):f.getFileFromVFS(h.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+h.postScriptName+"').");m=h,_=/^\x00\x01\x00\x00/.test(_=c)?o(_):o(da(_)),m.metadata=a.API.TTFFont.open(_),m.metadata.Unicode=m.metadata.Unicode||{encoding:{},kerning:{},widths:[]},m.metadata.glyIdsUsed=[0]}}])}(Jt),Jt.API.addSvgAsImage=function(A,c,h,f,m,_,y,E){if(isNaN(c)||isNaN(h))throw Rn.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(f)||isNaN(m))throw Rn.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var T=document.createElement("canvas");T.width=f,T.height=m;var U=T.getContext("2d");U.fillStyle="#fff",U.fillRect(0,0,T.width,T.height);var R={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},x=this;return function o(){return($t.canvg?Promise.resolve($t.canvg):L.e(842).then(L.bind(L,3842))).catch(function(A){return Promise.reject(new Error("Could not load canvg: "+A))}).then(function(A){return A.default?A.default:A})}().then(function(q){return q.fromString(U,A,R)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(q){return q.render(R)}).then(function(){x.addImage(T.toDataURL("image/jpeg",1),c,h,f,m,y,E)})},Jt.API.putTotalPages=function(a){var o,A=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(o=new RegExp(a,"g"),A=this.internal.getNumberOfPages()):(o=new RegExp(this.pdfEscape16(a,this.internal.getFont()),"g"),A=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var c=1;c<=this.internal.getNumberOfPages();c++)for(var h=0;h<this.internal.pages[c].length;h++)this.internal.pages[c][h]=this.internal.pages[c][h].replace(o,A);return this},Jt.API.viewerPreferences=function(a,o){var A;a=a||{},o=o||!1;var c,h,f,m={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},_=Object.keys(m),y=[],E=0,T=0,U=0;function R(q,z){var ee,j=!1;for(ee=0;ee<q.length;ee+=1)q[ee]===z&&(j=!0);return j}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(m)),this.internal.viewerpreferences.isSubscribed=!1),A=this.internal.viewerpreferences.configuration,"reset"===a||!0===o){var x=_.length;for(U=0;U<x;U+=1)A[_[U]].value=A[_[U]].defaultValue,A[_[U]].explicitSet=!1}if("object"===mt(a))for(h in a)if(f=a[h],R(_,h)&&void 0!==f){if("boolean"===A[h].type&&"boolean"==typeof f)A[h].value=f;else if("name"===A[h].type&&R(A[h].valueSet,f))A[h].value=f;else if("integer"===A[h].type&&Number.isInteger(f))A[h].value=f;else if("array"===A[h].type){for(E=0;E<f.length;E+=1)if(c=!0,1===f[E].length&&"number"==typeof f[E][0])y.push(String(f[E]-1));else if(f[E].length>1){for(T=0;T<f[E].length;T+=1)"number"!=typeof f[E][T]&&(c=!1);!0===c&&y.push([f[E][0]-1,f[E][1]-1].join(" "))}A[h].value="["+y.join(" ")+"]"}else A[h].value=A[h].defaultValue;A[h].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var q,z=[];for(q in A)!0===A[q].explicitSet&&z.push("name"===A[q].type?"/"+q+" /"+A[q].value:"/"+q+" "+A[q].value);0!==z.length&&this.internal.write("/ViewerPreferences\n<<\n"+z.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=A,this}, 90/** ==================================================================== 91 * @license 92 * jsPDF XMP metadata plugin 93 * Copyright (c) 2016 Jussi Utunen, [email protected] 94 * 95 * Permission is hereby granted, free of charge, to any person obtaining 96 * a copy of this software and associated documentation files (the 97 * "Software"), to deal in the Software without restriction, including 98 * without limitation the rights to use, copy, modify, merge, publish, 99 * distribute, sublicense, and/or sell copies of the Software, and to 100 * permit persons to whom the Software is furnished to do so, subject to 101 * the following conditions: 102 * 103 * The above copyright notice and this permission notice shall be 104 * included in all copies or substantial portions of the Software. 105 * 106 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 107 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 108 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 109 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 110 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 111 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 112 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 113 * ==================================================================== 114 */ 115function(a){var o=function(){var c='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',h=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),f=unescape(encodeURIComponent(c)),m=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),_=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),y=unescape(encodeURIComponent("</x:xmpmeta>")),E=f.length+m.length+_.length+h.length+y.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+E+" >>"),this.internal.write("stream"),this.internal.write(h+f+m+_+y),this.internal.write("endstream"),this.internal.write("endobj")},A=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};a.addMetadata=function(c,h){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:c,namespaceuri:h||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",A),this.internal.events.subscribe("postPutResources",o)),this}}(Jt.API),function(a){var o=a.API,A=o.pdfEscape16=function(f,m){for(var _,y=m.metadata.Unicode.widths,E=["","0","00","000","0000"],T=[""],U=0,R=f.length;U<R;++U){if(_=m.metadata.characterToGlyph(f.charCodeAt(U)),m.metadata.glyIdsUsed.push(_),m.metadata.toUnicode[_]=f.charCodeAt(U),-1==y.indexOf(_)&&(y.push(_),y.push([parseInt(m.metadata.widthOfGlyph(_),10)])),"0"==_)return T.join("");_=_.toString(16),T.push(E[4-_.length],_)}return T.join("")},c=function(f){var m,_,y,E,T,U,R;for(T="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",y=[],U=0,R=(_=Object.keys(f).sort(function(x,q){return x-q})).length;U<R;U++)m=_[U],y.length>=100&&(T+="\n"+y.length+" beginbfchar\n"+y.join("\n")+"\nendbfchar",y=[]),null!=f[m]&&"function"==typeof f[m].toString&&(E=("0000"+f[m].toString(16)).slice(-4),m=("0000"+(+m).toString(16)).slice(-4),y.push("<"+m+"><"+E+">"));return y.length&&(T+="\n"+y.length+" beginbfchar\n"+y.join("\n")+"\nendbfchar\n"),T+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};o.events.push(["putFont",function(f){!function(m){var _=m.font,y=m.out,E=m.newObject,T=m.putStream;if(_.metadata instanceof a.API.TTFFont&&"Identity-H"===_.encoding){for(var U=_.metadata.Unicode.widths,R=_.metadata.subset.encode(_.metadata.glyIdsUsed,1),x="",q=0;q<R.length;q++)x+=String.fromCharCode(R[q]);var z=E();T({data:x,addLength1:!0,objectId:z}),y("endobj");var ee=E();T({data:c(_.metadata.toUnicode),addLength1:!0,objectId:ee}),y("endobj");var j=E();y("<<"),y("/Type /FontDescriptor"),y("/FontName /"+Za(_.fontName)),y("/FontFile2 "+z+" 0 R"),y("/FontBBox "+a.API.PDFObject.convert(_.metadata.bbox)),y("/Flags "+_.metadata.flags),y("/StemV "+_.metadata.stemV),y("/ItalicAngle "+_.metadata.italicAngle),y("/Ascent "+_.metadata.ascender),y("/Descent "+_.metadata.decender),y("/CapHeight "+_.metadata.capHeight),y(">>"),y("endobj");var X=E();y("<<"),y("/Type /Font"),y("/BaseFont /"+Za(_.fontName)),y("/FontDescriptor "+j+" 0 R"),y("/W "+a.API.PDFObject.convert(U)),y("/CIDToGIDMap /Identity"),y("/DW 1000"),y("/Subtype /CIDFontType2"),y("/CIDSystemInfo"),y("<<"),y("/Supplement 0"),y("/Registry (Adobe)"),y("/Ordering ("+_.encoding+")"),y(">>"),y(">>"),y("endobj"),_.objectNumber=E(),y("<<"),y("/Type /Font"),y("/Subtype /Type0"),y("/ToUnicode "+ee+" 0 R"),y("/BaseFont /"+Za(_.fontName)),y("/Encoding /"+_.encoding),y("/DescendantFonts ["+X+" 0 R]"),y(">>"),y("endobj"),_.isAlreadyPutted=!0}}(f)}]),o.events.push(["putFont",function(f){!function(m){var _=m.font,y=m.out,E=m.newObject,T=m.putStream;if(_.metadata instanceof a.API.TTFFont&&"WinAnsiEncoding"===_.encoding){for(var U=_.metadata.rawData,R="",x=0;x<U.length;x++)R+=String.fromCharCode(U[x]);var q=E();T({data:R,addLength1:!0,objectId:q}),y("endobj");var z=E();T({data:c(_.metadata.toUnicode),addLength1:!0,objectId:z}),y("endobj");var ee=E();y("<<"),y("/Descent "+_.metadata.decender),y("/CapHeight "+_.metadata.capHeight),y("/StemV "+_.metadata.stemV),y("/Type /FontDescriptor"),y("/FontFile2 "+q+" 0 R"),y("/Flags 96"),y("/FontBBox "+a.API.PDFObject.convert(_.metadata.bbox)),y("/FontName /"+Za(_.fontName)),y("/ItalicAngle "+_.metadata.italicAngle),y("/Ascent "+_.metadata.ascender),y(">>"),y("endobj"),_.objectNumber=E();for(var j=0;j<_.metadata.hmtx.widths.length;j++)_.metadata.hmtx.widths[j]=parseInt(_.metadata.hmtx.widths[j]*(1e3/_.metadata.head.unitsPerEm));y("<</Subtype/TrueType/Type/Font/ToUnicode "+z+" 0 R/BaseFont/"+Za(_.fontName)+"/FontDescriptor "+ee+" 0 R/Encoding/"+_.encoding+" /FirstChar 29 /LastChar 255 /Widths "+a.API.PDFObject.convert(_.metadata.hmtx.widths)+">>"),y("endobj"),_.isAlreadyPutted=!0}}(f)}]);var h=function(f){var m,_=f.text||"",y=f.x,E=f.y,T=f.options||{},U=f.mutex||{},R=U.pdfEscape,x=U.activeFontKey,q=U.fonts,z=x,ee="",j=0,X="",de=q[z].encoding;if("Identity-H"!==q[z].encoding)return{text:_,x:y,y:E,options:T,mutex:U};for(X=_,z=x,Array.isArray(_)&&(X=_[0]),j=0;j<X.length;j+=1)q[z].metadata.hasOwnProperty("cmap")&&(m=q[z].metadata.cmap.unicode.codeMap[X[j].charCodeAt(0)]),m||X[j].charCodeAt(0)<256&&q[z].metadata.hasOwnProperty("Unicode")?ee+=X[j]:ee+="";var me="";return parseInt(z.slice(1))<14||"WinAnsiEncoding"===de?me=R(ee,z).split("").map(function(Re){return Re.charCodeAt(0).toString(16)}).join(""):"Identity-H"===de&&(me=A(ee,q[z])),U.isHex=!0,{text:me,x:y,y:E,options:T,mutex:U}};o.events.push(["postProcessText",function(f){var m=f.text||"",_=[],y={text:m,x:f.x,y:f.y,options:f.options,mutex:f.mutex};if(Array.isArray(m)){var E=0;for(E=0;E<m.length;E+=1)Array.isArray(m[E])&&3===m[E].length?_.push([h(Object.assign({},y,{text:m[E][0]})).text,m[E][1],m[E][2]]):_.push(h(Object.assign({},y,{text:m[E]})).text);f.text=_}else f.text=h(Object.assign({},y,{text:m})).text}])}(Jt), 116/** 117 * @license 118 * jsPDF virtual FileSystem functionality 119 * 120 * Licensed under the MIT License. 121 * http://opensource.org/licenses/mit-license 122 */ 123function(a){var o=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};a.existsFileInVFS=function(A){return o.call(this),void 0!==this.internal.vFS[A]},a.addFileToVFS=function(A,c){return o.call(this),this.internal.vFS[A]=c,this},a.getFileFromVFS=function(A){return o.call(this),void 0!==this.internal.vFS[A]?this.internal.vFS[A]:null}}(Jt.API), 124/** 125 * @license 126 * Unicode Bidi Engine based on the work of Alex Shensis (@asthensis) 127 * MIT License 128 */ 129function(a){a.__bidiEngine__=a.prototype.__bidiEngine__=function(c){var h,f,m,_,y,E,T,U=o,R=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],x=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],q={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},z={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},ee=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","\u2039","\u203a","\u2039","\u2045","\u2046","\u2045","\u207d","\u207e","\u207d","\u208d","\u208e","\u208d","\u2264","\u2265","\u2264","\u2329","\u232a","\u2329","\ufe59","\ufe5a","\ufe59","\ufe5b","\ufe5c","\ufe5b","\ufe5d","\ufe5e","\ufe5d","\ufe64","\ufe65","\ufe64"],j=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),X=!1,de=0;this.__bidiEngine__={};var me=function(W){var $=W.charCodeAt(),ue=$>>8,oe=z[ue];return void 0!==oe?U[256*oe+(255&$)]:252===ue||253===ue?"AL":j.test(ue)?"L":8===ue?"R":"N"},Re=function(W){for(var $,ue=0;ue<W.length;ue++){if("L"===($=me(W.charAt(ue))))return!1;if("R"===$)return!0}return!1},At=function(W,$,ue,oe){var je,He,Je,xe,Ye=$[oe];switch(Ye){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":X=!1;break;case"N":case"AN":break;case"EN":X&&(Ye="AN");break;case"AL":X=!0,Ye="R";break;case"WS":case"BN":Ye="N";break;case"CS":oe<1||oe+1>=$.length||"EN"!==(je=ue[oe-1])&&"AN"!==je||"EN"!==(He=$[oe+1])&&"AN"!==He?Ye="N":X&&(He="AN"),Ye=He===je?He:"N";break;case"ES":Ye="EN"===(je=oe>0?ue[oe-1]:"B")&&oe+1<$.length&&"EN"===$[oe+1]?"EN":"N";break;case"ET":if(oe>0&&"EN"===ue[oe-1]){Ye="EN";break}if(X){Ye="N";break}for(Je=oe+1,xe=$.length;Je<xe&&"ET"===$[Je];)Je++;Ye=Je<xe&&"EN"===$[Je]?"EN":"N";break;case"NSM":if(m&&!_){for(xe=$.length,Je=oe+1;Je<xe&&"NSM"===$[Je];)Je++;if(Je<xe){var Ze=W[oe];if(je=$[Je],(Ze>=1425&&Ze<=2303||64286===Ze)&&("R"===je||"AL"===je)){Ye="R";break}}}Ye=oe<1||"B"===(je=$[oe-1])?"N":ue[oe-1];break;case"B":X=!1,h=!0,Ye=de;break;case"S":f=!0,Ye="N"}return Ye},Ee=function(W,$,ue){var oe=W.split("");return ue&&ae(oe,ue,{hiLevel:de}),oe.reverse(),$&&$.reverse(),oe.join("")},ae=function(W,$,ue){var oe,je,He,Je,xe,Ye=-1,Ze=W.length,Ot=0,H=[],te=de?x:R,re=[];for(X=!1,h=!1,f=!1,je=0;je<Ze;je++)re[je]=me(W[je]);for(He=0;He<Ze;He++){if(xe=Ot,H[He]=At(W,re,H,He),oe=240&(Ot=te[xe][q[H[He]]]),$[He]=Je=te[Ot&=15][5],oe>0)if(16===oe){for(je=Ye;je<He;je++)$[je]=1;Ye=-1}else Ye=-1;if(te[Ot][6])-1===Ye&&(Ye=He);else if(Ye>-1){for(je=Ye;je<He;je++)$[je]=Je;Ye=-1}"B"===re[He]&&($[He]=0),ue.hiLevel|=Je}f&&function(ce,ve,Ne){for(var Me=0;Me<Ne;Me++)if("S"===ce[Me]){ve[Me]=de;for(var Le=Me-1;Le>=0&&"WS"===ce[Le];Le--)ve[Le]=de}}(re,$,Ze)},Fe=function(W,$,ue,oe,je){if(!(je.hiLevel<W)){if(1===W&&1===de&&!h)return $.reverse(),void(ue&&ue.reverse());for(var He,Je,xe,Ye,Ze=$.length,Ot=0;Ot<Ze;){if(oe[Ot]>=W){for(xe=Ot+1;xe<Ze&&oe[xe]>=W;)xe++;for(Ye=Ot,Je=xe-1;Ye<Je;Ye++,Je--)He=$[Ye],$[Ye]=$[Je],$[Je]=He,ue&&(He=ue[Ye],ue[Ye]=ue[Je],ue[Je]=He);Ot=xe}Ot++}}},ze=function(W,$,ue){var oe=W.split(""),je={hiLevel:de};return ue||(ue=[]),ae(oe,ue,je),function(He,Je,xe){if(0!==xe.hiLevel&&T)for(var Ye,Ze=0;Ze<He.length;Ze++)1===Je[Ze]&&(Ye=ee.indexOf(He[Ze]))>=0&&(He[Ze]=ee[Ye+1])}(oe,ue,je),Fe(2,oe,$,ue,je),Fe(1,oe,$,ue,je),oe.join("")};return this.__bidiEngine__.doBidiReorder=function(W,$,ue){if(function(je,He){if(He)for(var Je=0;Je<je.length;Je++)He[Je]=Je;void 0===_&&(_=Re(je)),void 0===E&&(E=Re(je))}(W,$),m||!y||E)if(m&&y&&_^E)de=_?1:0,W=Ee(W,$,ue);else if(!m&&y&&E)de=_?1:0,W=ze(W,$,ue),W=Ee(W,$);else if(!m||_||y||E){if(m&&!y&&_^E)W=Ee(W,$),_?(de=0,W=ze(W,$,ue)):(de=1,W=ze(W,$,ue),W=Ee(W,$));else if(m&&_&&!y&&E)de=1,W=ze(W,$,ue),W=Ee(W,$);else if(!m&&!y&&_^E){var oe=T;_?(de=1,W=ze(W,$,ue),de=0,T=!1,W=ze(W,$,ue),T=oe):(de=0,W=ze(W,$,ue),W=Ee(W,$),de=1,T=!1,W=ze(W,$,ue),T=oe,W=Ee(W,$))}}else de=0,W=ze(W,$,ue);else de=_?1:0,W=ze(W,$,ue);return W},this.__bidiEngine__.setOptions=function(W){W&&(m=W.isInputVisual,y=W.isOutputVisual,_=W.isInputRtl,E=W.isOutputRtl,T=W.isSymmetricSwapping)},this.__bidiEngine__.setOptions(c),this.__bidiEngine__};var o=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],A=new a.__bidiEngine__({isInputVisual:!0});a.API.events.push(["postProcessText",function(c){var h=c.text,f=c.options||{},m=[];if(f.isInputVisual="boolean"!=typeof f.isInputVisual||f.isInputVisual,A.setOptions(f),"[object Array]"===Object.prototype.toString.call(h)){var _=0;for(m=[],_=0;_<h.length;_+=1)"[object Array]"===Object.prototype.toString.call(h[_])?m.push([A.doBidiReorder(h[_][0]),h[_][1],h[_][2]]):m.push([A.doBidiReorder(h[_])]);c.text=m}else c.text=A.doBidiReorder(h);A.setOptions({isInputVisual:!0})}])}(Jt),Jt.API.TTFFont=function(){function a(o){var A;if(this.rawData=o,A=this.contents=new va(o),this.contents.pos=4,"ttcf"===A.readString(4))throw new Error("TTCF not supported.");A.pos=0,this.parse(),this.subset=new gs(this),this.registerTTF()}return a.open=function(o){return new a(o)},a.prototype.parse=function(){return this.directory=new Ou(this.contents),this.head=new Pu(this),this.name=new ps(this),this.cmap=new Gl(this),this.toUnicode={},this.hhea=new jc(this),this.maxp=new Kl(this),this.hmtx=new Hu(this),this.post=new Ru(this),this.os2=new Gc(this),this.loca=new Dd(this),this.glyf=new Ed(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},a.prototype.registerTTF=function(){var A,c,h,f;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var m,_,y,E;for(E=[],m=0,_=(y=this.bbox).length;m<_;m++)E.push(Math.round(y[m]*this.scaleFactor));return E}.call(this),this.stemV=0,this.post.exists?(c=255&(h=this.post.italic_angle),32768&(A=h>>16)&&(A=-(1+(65535^A))),this.italicAngle=+(A+"."+c)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(f=this.familyClass)||2===f||3===f||4===f||5===f||7===f,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},a.prototype.characterToGlyph=function(o){var A;return(null!=(A=this.cmap.unicode)?A.codeMap[o]:void 0)||0},a.prototype.widthOfGlyph=function(o){var A;return A=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(o).advance*A},a.prototype.widthOfString=function(o,A,c){var h,f,m,_;for(m=0,f=0,_=(o=""+o).length;0<=_?f<_:f>_;f=0<=_?++f:--f)h=o.charCodeAt(f),m+=this.widthOfGlyph(this.characterToGlyph(h))+c*(1e3/A)||0;return m*(A/1e3)},a.prototype.lineHeight=function(o,A){return null==A&&(A=!1),(this.ascender+(A?this.lineGap:0)-this.decender)/1e3*o},a}();var IA,va=function(){function a(o){this.data=o??[],this.pos=0,this.length=this.data.length}return a.prototype.readByte=function(){return this.data[this.pos++]},a.prototype.writeByte=function(o){return this.data[this.pos++]=o},a.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},a.prototype.writeUInt32=function(o){return this.writeByte(o>>>24&255),this.writeByte(o>>16&255),this.writeByte(o>>8&255),this.writeByte(255&o)},a.prototype.readInt32=function(){var o;return(o=this.readUInt32())>=2147483648?o-4294967296:o},a.prototype.writeInt32=function(o){return o<0&&(o+=4294967296),this.writeUInt32(o)},a.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},a.prototype.writeUInt16=function(o){return this.writeByte(o>>8&255),this.writeByte(255&o)},a.prototype.readInt16=function(){var o;return(o=this.readUInt16())>=32768?o-65536:o},a.prototype.writeInt16=function(o){return o<0&&(o+=65536),this.writeUInt16(o)},a.prototype.readString=function(o){var A,c;for(c=[],A=0;0<=o?A<o:A>o;A=0<=o?++A:--A)c[A]=String.fromCharCode(this.readByte());return c.join("")},a.prototype.writeString=function(o){var A,c,h;for(h=[],A=0,c=o.length;0<=c?A<c:A>c;A=0<=c?++A:--A)h.push(this.writeByte(o.charCodeAt(A)));return h},a.prototype.readShort=function(){return this.readInt16()},a.prototype.writeShort=function(o){return this.writeInt16(o)},a.prototype.readLongLong=function(){var o,A,c,h,f,m,_,y;return o=this.readByte(),A=this.readByte(),c=this.readByte(),h=this.readByte(),f=this.readByte(),m=this.readByte(),_=this.readByte(),y=this.readByte(),128&o?-1*(72057594037927940*(255^o)+281474976710656*(255^A)+1099511627776*(255^c)+4294967296*(255^h)+16777216*(255^f)+65536*(255^m)+256*(255^_)+(255^y)+1):72057594037927940*o+281474976710656*A+1099511627776*c+4294967296*h+16777216*f+65536*m+256*_+y},a.prototype.writeLongLong=function(o){var A,c;return A=Math.floor(o/4294967296),c=4294967295&o,this.writeByte(A>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A),this.writeByte(c>>24&255),this.writeByte(c>>16&255),this.writeByte(c>>8&255),this.writeByte(255&c)},a.prototype.readInt=function(){return this.readInt32()},a.prototype.writeInt=function(o){return this.writeInt32(o)},a.prototype.read=function(o){var A,c;for(A=[],c=0;0<=o?c<o:c>o;c=0<=o?++c:--c)A.push(this.readByte());return A},a.prototype.write=function(o){var c,h,f;for(f=[],c=0,h=o.length;c<h;c++)f.push(this.writeByte(o[c]));return f},a}(),Ou=function(){var a;function o(A){var c,h,f;for(this.scalarType=A.readInt(),this.tableCount=A.readShort(),this.searchRange=A.readShort(),this.entrySelector=A.readShort(),this.rangeShift=A.readShort(),this.tables={},h=0,f=this.tableCount;0<=f?h<f:h>f;h=0<=f?++h:--h)c={tag:A.readString(4),checksum:A.readInt(),offset:A.readInt(),length:A.readInt()},this.tables[c.tag]=c}return o.prototype.encode=function(A){var c,h,m,_,y,E,T,U,R,x,q,z;for(z in x=Object.keys(A).length,y=Math.log(2),U=16*Math.floor(Math.log(x)/y),m=Math.floor(U/y),T=16*x-U,(h=new va).writeInt(this.scalarType),h.writeShort(x),h.writeShort(U),h.writeShort(m),h.writeShort(T),E=h.pos+16*x,_=null,q=[],A)for(R=A[z],h.writeString(z),h.writeInt(a(R)),h.writeInt(E),h.writeInt(R.length),q=q.concat(R),"head"===z&&(_=E),E+=R.length;E%4;)q.push(0),E++;return h.write(q),c=2981146554-a(h.data),h.pos=_+8,h.writeUInt32(c),h.data},a=function(A){var c,h,f,m;for(A=ku.call(A);A.length%4;)A.push(0);for(f=new va(A),h=0,c=0,m=A.length;c<m;c=c+=4)h+=f.readUInt32();return 4294967295&h},o}(),Lu={}.hasOwnProperty,hA=function(a,o){for(var A in o)Lu.call(o,A)&&(a[A]=o[A]);function c(){this.constructor=a}return c.prototype=o.prototype,a.prototype=new c,a.__super__=o.prototype,a};IA=function(){function a(o){var A;this.file=o,this.exists=!!(A=this.file.directory.tables[this.tag]),A&&(this.offset=A.offset,this.length=A.length,this.parse(this.file.contents))}return a.prototype.parse=function(){},a.prototype.encode=function(){},a.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},a}();var Pu=function(a){function o(){return o.__super__.constructor.apply(this,arguments)}return hA(o,IA),o.prototype.tag="head",o.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.revision=A.readInt(),this.checkSumAdjustment=A.readInt(),this.magicNumber=A.readInt(),this.flags=A.readShort(),this.unitsPerEm=A.readShort(),this.created=A.readLongLong(),this.modified=A.readLongLong(),this.xMin=A.readShort(),this.yMin=A.readShort(),this.xMax=A.readShort(),this.yMax=A.readShort(),this.macStyle=A.readShort(),this.lowestRecPPEM=A.readShort(),this.fontDirectionHint=A.readShort(),this.indexToLocFormat=A.readShort(),this.glyphDataFormat=A.readShort()},o.prototype.encode=function(A){var c;return(c=new va).writeInt(this.version),c.writeInt(this.revision),c.writeInt(this.checkSumAdjustment),c.writeInt(this.magicNumber),c.writeShort(this.flags),c.writeShort(this.unitsPerEm),c.writeLongLong(this.created),c.writeLongLong(this.modified),c.writeShort(this.xMin),c.writeShort(this.yMin),c.writeShort(this.xMax),c.writeShort(this.yMax),c.writeShort(this.macStyle),c.writeShort(this.lowestRecPPEM),c.writeShort(this.fontDirectionHint),c.writeShort(A),c.writeShort(this.glyphDataFormat),c.data},o}(),el=function(){function a(o,A){var c,h,f,m,_,y,E,T,U,R,x,q,z,ee,j,X,de;switch(this.platformID=o.readUInt16(),this.encodingID=o.readShort(),this.offset=A+o.readInt(),U=o.pos,o.pos=this.offset,this.format=o.readUInt16(),this.length=o.readUInt16(),this.language=o.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(y=0;y<256;++y)this.codeMap[y]=o.readByte();break;case 4:for(x=o.readUInt16(),R=x/2,o.pos+=6,f=function(){var me,Re;for(Re=[],y=me=0;0<=R?me<R:me>R;y=0<=R?++me:--me)Re.push(o.readUInt16());return Re}(),o.pos+=2,z=function(){var me,Re;for(Re=[],y=me=0;0<=R?me<R:me>R;y=0<=R?++me:--me)Re.push(o.readUInt16());return Re}(),E=function(){var me,Re;for(Re=[],y=me=0;0<=R?me<R:me>R;y=0<=R?++me:--me)Re.push(o.readUInt16());return Re}(),T=function(){var me,Re;for(Re=[],y=me=0;0<=R?me<R:me>R;y=0<=R?++me:--me)Re.push(o.readUInt16());return Re}(),h=(this.length-o.pos+this.offset)/2,_=function(){var me,Re;for(Re=[],y=me=0;0<=h?me<h:me>h;y=0<=h?++me:--me)Re.push(o.readUInt16());return Re}(),y=j=0,de=f.length;j<de;y=++j)for(ee=f[y],c=X=q=z[y];q<=ee?X<=ee:X>=ee;c=q<=ee?++X:--X)0===T[y]?m=c+E[y]:0!==(m=_[T[y]/2+(c-q)-(R-y)]||0)&&(m+=E[y]),this.codeMap[c]=65535&m}o.pos=U}return a.encode=function(o,A){var c,h,f,m,_,y,E,T,U,R,x,q,z,ee,j,X,de,Re,At,Ee,ae,Fe,ze,W,$,ue,oe,je,He,Je,xe,Ye,Ze,Ot,H,te,re,ce,ve,Ne,Me,Le,Bt,gt,Qt;switch(oe=new va,m=Object.keys(o).sort(function(It,Yt){return It-Yt}),A){case"macroman":for(z=0,ee=function(){var It=[];for(q=0;q<256;++q)It.push(0);return It}(),X={0:0},f={},je=0,Ye=m.length;je<Ye;je++)null==X[Le=o[h=m[je]]]&&(X[Le]=++z),f[h]={old:o[h],new:X[o[h]]},ee[h]=X[o[h]];return oe.writeUInt16(1),oe.writeUInt16(0),oe.writeUInt32(12),oe.writeUInt16(0),oe.writeUInt16(262),oe.writeUInt16(0),oe.write(ee),{charMap:f,subtable:oe.data,maxGlyphID:z+1};case"unicode":for($=[],U=[],de=0,X={},c={},j=E=null,He=0,Ze=m.length;He<Ze;He++)null==X[Re=o[h=m[He]]]&&(X[Re]=++de),c[h]={old:Re,new:X[Re]},_=X[Re]-h,null!=j&&_===E||(j&&U.push(j),$.push(h),E=_),j=h;for(j&&U.push(j),U.push(65535),$.push(65535),ze=2*(Fe=$.length),ae=2*Math.pow(Math.log(Fe)/Math.LN2,2),R=Math.log(ae/2)/Math.LN2,Ee=2*Fe-ae,y=[],At=[],x=[],q=Je=0,Ot=$.length;Je<Ot;q=++Je){if(T=U[q],65535===(W=$[q])){y.push(0),At.push(0);break}if(W-(ue=c[W].new)>=32768)for(y.push(0),At.push(2*(x.length+Fe-q)),h=xe=W;W<=T?xe<=T:xe>=T;h=W<=T?++xe:--xe)x.push(c[h].new);else y.push(ue-W),At.push(0)}for(oe.writeUInt16(3),oe.writeUInt16(1),oe.writeUInt32(12),oe.writeUInt16(4),oe.writeUInt16(16+8*Fe+2*x.length),oe.writeUInt16(0),oe.writeUInt16(ze),oe.writeUInt16(ae),oe.writeUInt16(R),oe.writeUInt16(Ee),Ne=0,H=U.length;Ne<H;Ne++)oe.writeUInt16(h=U[Ne]);for(oe.writeUInt16(0),Me=0,te=$.length;Me<te;Me++)oe.writeUInt16(h=$[Me]);for(Bt=0,re=y.length;Bt<re;Bt++)oe.writeUInt16(_=y[Bt]);for(gt=0,ce=At.length;gt<ce;gt++)oe.writeUInt16(At[gt]);for(Qt=0,ve=x.length;Qt<ve;Qt++)oe.writeUInt16(z=x[Qt]);return{charMap:c,subtable:oe.data,maxGlyphID:de+1}}},a}(),Gl=function(a){function o(){return o.__super__.constructor.apply(this,arguments)}return hA(o,IA),o.prototype.tag="cmap",o.prototype.parse=function(A){var c,h,f;for(A.pos=this.offset,this.version=A.readUInt16(),f=A.readUInt16(),this.tables=[],this.unicode=null,h=0;0<=f?h<f:h>f;h=0<=f?++h:--h)c=new el(A,this.offset),this.tables.push(c),c.isUnicode&&null==this.unicode&&(this.unicode=c);return!0},o.encode=function(A,c){var h,f;return null==c&&(c="macroman"),h=el.encode(A,c),(f=new va).writeUInt16(0),f.writeUInt16(1),h.table=f.data.concat(h.subtable),h},o}(),jc=function(a){function o(){return o.__super__.constructor.apply(this,arguments)}return hA(o,IA),o.prototype.tag="hhea",o.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.ascender=A.readShort(),this.decender=A.readShort(),this.lineGap=A.readShort(),this.advanceWidthMax=A.readShort(),this.minLeftSideBearing=A.readShort(),this.minRightSideBearing=A.readShort(),this.xMaxExtent=A.readShort(),this.caretSlopeRise=A.readShort(),this.caretSlopeRun=A.readShort(),this.caretOffset=A.readShort(),A.pos+=8,this.metricDataFormat=A.readShort(),this.numberOfMetrics=A.readUInt16()},o}(),Gc=function(a){function o(){return o.__super__.constructor.apply(this,arguments)}return hA(o,IA),o.prototype.tag="OS/2",o.prototype.parse=function(A){if(A.pos=this.offset,this.version=A.readUInt16(),this.averageCharWidth=A.readShort(),this.weightClass=A.readUInt16(),this.widthClass=A.readUInt16(),this.type=A.readShort(),this.ySubscriptXSize=A.readShort(),this.ySubscriptYSize=A.readShort(),this.ySubscriptXOffset=A.readShort(),this.ySubscriptYOffset=A.readShort(),this.ySuperscriptXSize=A.readShort(),this.ySuperscriptYSize=A.readShort(),this.ySuperscriptXOffset=A.readShort(),this.ySuperscriptYOffset=A.readShort(),this.yStrikeoutSize=A.readShort(),this.yStrikeoutPosition=A.readShort(),this.familyClass=A.readShort(),this.panose=function(){var c,h;for(h=[],c=0;c<10;++c)h.push(A.readByte());return h}(),this.charRange=function(){var c,h;for(h=[],c=0;c<4;++c)h.push(A.readInt());return h}(),this.vendorID=A.readString(4),this.selection=A.readShort(),this.firstCharIndex=A.readShort(),this.lastCharIndex=A.readShort(),this.version>0&&(this.ascent=A.readShort(),this.descent=A.readShort(),this.lineGap=A.readShort(),this.winAscent=A.readShort(),this.winDescent=A.readShort(),this.codePageRange=function(){var c,h;for(h=[],c=0;c<2;c=++c)h.push(A.readInt());return h}(),this.version>1))return this.xHeight=A.readShort(),this.capHeight=A.readShort(),this.defaultChar=A.readShort(),this.breakChar=A.readShort(),this.maxContext=A.readShort()},o}(),Ru=function(a){function o(){return o.__super__.constructor.apply(this,arguments)}return hA(o,IA),o.prototype.tag="post",o.prototype.parse=function(A){var c,h,f;switch(A.pos=this.offset,this.format=A.readInt(),this.italicAngle=A.readInt(),this.underlinePosition=A.readShort(),this.underlineThickness=A.readShort(),this.isFixedPitch=A.readInt(),this.minMemType42=A.readInt(),this.maxMemType42=A.readInt(),this.minMemType1=A.readInt(),this.maxMemType1=A.readInt(),this.format){case 65536:case 196608:break;case 131072:var m;for(h=A.readUInt16(),this.glyphNameIndex=[],m=0;0<=h?m<h:m>h;m=0<=h?++m:--m)this.glyphNameIndex.push(A.readUInt16());for(this.names=[],f=[];A.pos<this.offset+this.length;)c=A.readByte(),f.push(this.names.push(A.readString(c)));return f;case 151552:return h=A.readUInt16(),this.offsets=A.read(h);case 262144:return this.map=function(){var _,y,E;for(E=[],m=_=0,y=this.file.maxp.numGlyphs;0<=y?_<y:_>y;m=0<=y?++_:--_)E.push(A.readUInt32());return E}.call(this)}},o}(),ao=function(a,o){this.raw=a,this.length=a.length,this.platformID=o.platformID,this.encodingID=o.encodingID,this.languageID=o.languageID},ps=function(a){function o(){return o.__super__.constructor.apply(this,arguments)}return hA(o,IA),o.prototype.tag="name",o.prototype.parse=function(A){var c,h,f,m,_,y,E,T,U,R,x;for(A.pos=this.offset,A.readShort(),c=A.readShort(),y=A.readShort(),h=[],m=0;0<=c?m<c:m>c;m=0<=c?++m:--m)h.push({platformID:A.readShort(),encodingID:A.readShort(),languageID:A.readShort(),nameID:A.readShort(),length:A.readShort(),offset:this.offset+y+A.readShort()});for(E={},m=U=0,R=h.length;U<R;m=++U)A.pos=(f=h[m]).offset,T=A.readString(f.length),_=new ao(T,f),null==E[x=f.nameID]&&(E[x]=[]),E[f.nameID].push(_);this.strings=E,this.copyright=E[0],this.fontFamily=E[1],this.fontSubfamily=E[2],this.uniqueSubfamily=E[3],this.fontName=E[4],this.version=E[5];try{this.postscriptName=E[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=E[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=E[7],this.manufacturer=E[8],this.designer=E[9],this.description=E[10],this.vendorUrl=E[11],this.designerUrl=E[12],this.license=E[13],this.licenseUrl=E[14],this.preferredFamily=E[15],this.preferredSubfamily=E[17],this.compatibleFull=E[18],this.sampleText=E[19]},o}(),Kl=function(a){function o(){return o.__super__.constructor.apply(this,arguments)}return hA(o,IA),o.prototype.tag="maxp",o.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.numGlyphs=A.readUInt16(),this.maxPoints=A.readUInt16(),this.maxContours=A.readUInt16(),this.maxCompositePoints=A.readUInt16(),this.maxComponentContours=A.readUInt16(),this.maxZones=A.readUInt16(),this.maxTwilightPoints=A.readUInt16(),this.maxStorage=A.readUInt16(),this.maxFunctionDefs=A.readUInt16(),this.maxInstructionDefs=A.readUInt16(),this.maxStackElements=A.readUInt16(),this.maxSizeOfInstructions=A.readUInt16(),this.maxComponentElements=A.readUInt16(),this.maxComponentDepth=A.readUInt16()},o}(),Hu=function(a){function o(){return o.__super__.constructor.apply(this,arguments)}return hA(o,IA),o.prototype.tag="hmtx",o.prototype.parse=function(A){var c,h,f,_,y,E;for(A.pos=this.offset,this.metrics=[],c=0,y=this.file.hhea.numberOfMetrics;0<=y?c<y:c>y;c=0<=y?++c:--c)this.metrics.push({advance:A.readUInt16(),lsb:A.readInt16()});for(f=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var T,U;for(U=[],c=T=0;0<=f?T<f:T>f;c=0<=f?++T:--T)U.push(A.readInt16());return U}(),this.widths=function(){var T,U,R,x;for(x=[],T=0,U=(R=this.metrics).length;T<U;T++)x.push(R[T].advance);return x}.call(this),h=this.widths[this.widths.length-1],E=[],c=_=0;0<=f?_<f:_>f;c=0<=f?++_:--_)E.push(this.widths.push(h));return E},o.prototype.forGlyph=function(A){return A in this.metrics?this.metrics[A]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[A-this.metrics.length]}},o}(),ku=[].slice,Ed=function(a){function o(){return o.__super__.constructor.apply(this,arguments)}return hA(o,IA),o.prototype.tag="glyf",o.prototype.parse=function(){return this.cache={}},o.prototype.glyphFor=function(A){var c,h,f,m,_,y,E,T,U,R;return A in this.cache?this.cache[A]:(c=this.file.contents,h=(m=this.file.loca).indexOf(A),0===(f=m.lengthOf(A))?this.cache[A]=null:(c.pos=this.offset+h,_=(y=new va(c.read(f))).readShort(),T=y.readShort(),R=y.readShort(),E=y.readShort(),U=y.readShort(),this.cache[A]=-1===_?new Vu(y,T,R,E,U):new xd(y,_,T,R,E,U),this.cache[A]))},o.prototype.encode=function(A,c,h){var f,m,_,y,E;for(_=[],m=[],y=0,E=c.length;y<E;y++)f=A[c[y]],m.push(_.length),f&&(_=_.concat(f.encode(h)));return m.push(_.length),{table:_,offsets:m}},o}(),xd=function(){function a(o,A,c,h,f,m){this.raw=o,this.numberOfContours=A,this.xMin=c,this.yMin=h,this.xMax=f,this.yMax=m,this.compound=!1}return a.prototype.encode=function(){return this.raw.data},a}(),Vu=function(){function a(o,A,c,h,f){var m,_;for(this.raw=o,this.xMin=A,this.yMin=c,this.xMax=h,this.yMax=f,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],m=this.raw;_=m.readShort(),this.glyphOffsets.push(m.pos),this.glyphIDs.push(m.readUInt16()),32&_;)m.pos+=1&_?4:2,128&_?m.pos+=8:64&_?m.pos+=4:8&_&&(m.pos+=2)}return a.prototype.encode=function(){var o,A,c;for(A=new va(ku.call(this.raw.data)),o=0,c=this.glyphIDs.length;o<c;++o)A.pos=this.glyphOffsets[o];return A.data},a}(),Dd=function(a){function o(){return o.__super__.constructor.apply(this,arguments)}return hA(o,IA),o.prototype.tag="loca",o.prototype.parse=function(A){var h;return A.pos=this.offset,this.offsets=0===this.file.head.indexToLocFormat?function(){var f,m;for(m=[],h=0,f=this.length;h<f;h+=2)m.push(2*A.readUInt16());return m}.call(this):function(){var f,m;for(m=[],h=0,f=this.length;h<f;h+=4)m.push(A.readUInt32());return m}.call(this)},o.prototype.indexOf=function(A){return this.offsets[A]},o.prototype.lengthOf=function(A){return this.offsets[A+1]-this.offsets[A]},o.prototype.encode=function(A,c){for(var h=new Uint32Array(this.offsets.length),f=0,m=0,_=0;_<h.length;++_)if(h[_]=f,m<c.length&&c[m]==_){++m,h[_]=f;var E=this.offsets[_+1]-this.offsets[_];E>0&&(f+=E)}for(var T=new Array(4*h.length),U=0;U<h.length;++U)T[4*U+3]=255&h[U],T[4*U+2]=(65280&h[U])>>8,T[4*U+1]=(16711680&h[U])>>16,T[4*U]=(4278190080&h[U])>>24;return T},o}(),gs=function(){function a(o){this.font=o,this.subset={},this.unicodes={},this.next=33}return a.prototype.generateCmap=function(){var o,A,h,f;for(A in h=this.font.cmap.tables[0].codeMap,o={},f=this.subset)o[A]=h[f[A]];return o},a.prototype.glyphsFor=function(o){var A,c,h,f,m,_,y;for(h={},m=0,_=o.length;m<_;m++)h[f=o[m]]=this.font.glyf.glyphFor(f);for(f in A=[],h)null!=(c=h[f])&&c.compound&&A.push.apply(A,c.glyphIDs);if(A.length>0)for(f in y=this.glyphsFor(A))h[f]=c=y[f];return h},a.prototype.encode=function(o,A){var c,h,f,m,y,E,T,U,R,x,q,z,ee,j;for(h in c=Gl.encode(this.generateCmap(),"unicode"),m=this.glyphsFor(o),x={0:0},j=c.charMap)x[(y=j[h]).old]=y.new;for(q in R=c.maxGlyphID,m)q in x||(x[q]=R++);return T=function(X){var de,me;for(de in me={},X)me[X[de]]=de;return me}(x),U=Object.keys(T).sort(function(X,de){return X-de}),z=function(){var X,de,me;for(me=[],X=0,de=U.length;X<de;X++)me.push(T[U[X]]);return me}(),f=this.font.glyf.encode(m,z,x),E=this.font.loca.encode(f.offsets,z),ee={cmap:this.font.cmap.raw(),glyf:f.table,loca:E,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(A)},this.font.os2.exists&&(ee["OS/2"]=this.font.os2.raw()),this.font.directory.encode(ee)},a}();Jt.API.PDFObject=function(){var a;function o(){}return a=function(A,c){return(Array(c+1).join("0")+A).slice(-c)},o.convert=function(A){var h,f;if(Array.isArray(A))return"["+function(){var _,y,E;for(E=[],_=0,y=A.length;_<y;_++)E.push(o.convert(A[_]));return E}().join(" ")+"]";if("string"==typeof A)return"/"+A;if(A?.isString)return"("+A+")";if(A instanceof Date)return"(D:"+a(A.getUTCFullYear(),4)+a(A.getUTCMonth(),2)+a(A.getUTCDate(),2)+a(A.getUTCHours(),2)+a(A.getUTCMinutes(),2)+a(A.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(A)){for(h in f=["<<"],A)f.push("/"+h+" "+o.convert(A[h]));return f.push(">>"),f.join("\n")}return""+A},o}();const Kc=[{label:"Si",id:1},{label:"No",id:0}];var zl=L(2283);let Id=(()=>{class a{constructor(A){this.activeModal=A}ngOnInit(){}closeModal(){this.activeModal.close()}static{this.\u0275fac=function(c){return new(c||a)(e.\u0275\u0275directiveInject(zl.Lw))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-modal-recomendation"]],decls:45,vars:33,consts:[[2,"padding","10px 24px 24px 24px"],[1,"wrapper-modal"],[1,"left"],[1,"div-icon-info"],[1,"bi","bi-chat-dots"],[1,"right"],[1,"close-btn","ml-auto",3,"click"],[1,"w-100","d-flex","align-items-center","flex-column","mt-2","mb-2","text-center"],[1,"mt-3"],[1,"w-100","d-flex","align-items-center","justify-content-center"],["type","button",1,"btn","btn-primary","mt-3",3,"click"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),e.\u0275\u0275element(4,"i",4),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",5)(6,"button",6),e.\u0275\u0275listener("click",function(){return h.closeModal()}),e.\u0275\u0275text(7,"\u2716"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(8,"div",7)(9,"h4"),e.\u0275\u0275text(10),e.\u0275\u0275pipe(11,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"p",8),e.\u0275\u0275text(13),e.\u0275\u0275pipe(14,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"div")(16,"ul")(17,"li"),e.\u0275\u0275text(18),e.\u0275\u0275pipe(19,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"li"),e.\u0275\u0275text(2
1291),e.\u0275\u0275pipe(22,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"li"),e.\u0275\u0275text(24),e.\u0275\u0275pipe(25,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"li"),e.\u0275\u0275text(27),e.\u0275\u0275pipe(28,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"li"),e.\u0275\u0275text(30),e.\u0275\u0275pipe(31,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"li"),e.\u0275\u0275text(33),e.\u0275\u0275pipe(34,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"li"),e.\u0275\u0275text(36),e.\u0275\u0275pipe(37,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"li"),e.\u0275\u0275text(39),e.\u0275\u0275pipe(40,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(41,"div",9)(42,"button",10),e.\u0275\u0275listener("click",function(){return h.closeModal()}),e.\u0275\u0275text(43),e.\u0275\u0275pipe(44,"translate"),e.\u0275\u0275elementEnd()()()),2&c&&(e.\u0275\u0275advance(10),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(11,11,"PilaRecomendations.Title")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(14,13,"PilaRecomendations.Description1")),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(19,15,"PilaRecomendations.Item1")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(22,17,"PilaRecomendations.Item2")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(25,19,"PilaRecomendations.Item3")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(28,21,"PilaRecomendations.Item4")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(31,23,"PilaRecomendations.Item5")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(34,25,"PilaRecomendations.Item6")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(37,27,"PilaRecomendations.Item7")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(40,29,"PilaRecomendations.Item8")),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(44,31,"General.Buttons.Understood")," "))},dependencies:[Ve.D9],encapsulation:2})}}return a})();var Sd=L(3835),Nd=L(8415);function Td(a,o){1&a&&(e.\u0275\u0275elementStart(0,"span",1),e.\u0275\u0275text(1," *"),e.\u0275\u0275elementEnd())}function ju(a,o){if(1&a&&e.\u0275\u0275element(0,"lib-validation-message",3),2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275property("control",A.controlDirective.control)}}function Gu(a,o){if(1&a&&e.\u0275\u0275element(0,"lib-validation-message",4),2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275property("control",A.controlDirective.control)("formGroup",null==A.controlDirective.control?null:A.controlDirective.control.parent)}}let Wc=(()=>{class a{constructor(A){this.controlDirective=A,this.label=(0,e.input)(),this.placeholder=(0,e.input)(),this.value="",this.isTouched=!1,this.onChange=()=>{},this.onTouched=()=>{},this.allowedKeys=["Shift","ArrowRight","ArrowLeft","Backspace","Tab","0","1","2","3","4","5","6","7","8","9"],A.valueAccessor=this}writeValue(A){this.value=A?this.formatCurrency(this.parseCurrency(A)):""}registerOnChange(A){this.onChange=A}registerOnTouched(A){this.onTouched=A}setDisabledState(A){}onInput(A){const h=this.parseCurrency(A.target.value);h>0?(this.value=this.formatCurrency(h),this.onChange(h)):(this.value="",this.onChange(""))}onKeyPress(A){-1===this.allowedKeys.indexOf(A.key)&&A.preventDefault()}formatCurrency(A){return"$"+A.toLocaleString("es-CO",{minimumFractionDigits:0,maximumFractionDigits:0})}parseCurrency(A){const c=A.replace(/[^\d-]/g,"");return parseInt(c,10)||0}onBlur(){this.isTouched=!0,this.onTouched()}get required(){return this.controlDirective.control?.hasValidator(ne.k0.required)}get mustMatch(){return!!this.controlDirective.control?.parent?.errors?.mustMatch&&this.controlDirective.control?.parent?.errors?.mustMatch===this.controlDirective.name}get isInvalid(){return!!this.mustMatch||!(!this.controlDirective?.control?.invali
129d||!this.controlDirective?.control?.touched)}static{this.\u0275fac=function(c){return new(c||a)(e.\u0275\u0275directiveInject(ne.vO,2))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["lib-currency-input"]],inputs:{label:[e.\u0275\u0275InputFlags.SignalBased,"label"],placeholder:[e.\u0275\u0275InputFlags.SignalBased,"placeholder"]},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],decls:7,vars:11,consts:[[1,"form-label","mb-1",3,"for"],[1,"req"],["type","text",1,"form-control",3,"input","keypress","blur","id","name","value","disabled","placeholder"],["fieldName","",3,"control"],["fieldName","",3,"control","formGroup"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div")(1,"label",0),e.\u0275\u0275text(2),e.\u0275\u0275template(3,Td,2,0,"span",1),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"input",2),e.\u0275\u0275listener("input",function(m){return h.onInput(m)})("keypress",function(m){return h.onKeyPress(m)})("blur",function(){return h.onBlur()}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(5,ju,1,1,"lib-validation-message",3)(6,Gu,1,2)),2&c&&(e.\u0275\u0275advance(),e.\u0275\u0275propertyInterpolate("for",h.controlDirective.name),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("",h.label()," "),e.\u0275\u0275advance(),e.\u0275\u0275conditional(3,h.required?3:-1),e.\u0275\u0275advance(),e.\u0275\u0275classProp("is-invalid",h.isInvalid),e.\u0275\u0275propertyInterpolate("id",h.controlDirective.name),e.\u0275\u0275propertyInterpolate("name",h.controlDirective.name),e.\u0275\u0275property("value",h.value)("disabled",null==h.controlDirective.control?null:h.controlDirective.control.disabled)("placeholder",h.placeholder()?h.placeholder():"Escribe tu "+h.label()),e.\u0275\u0275advance(),e.\u0275\u0275conditional(5,h.mustMatch?6:5))},dependencies:[N.CommonModule,Nd.A]})}}return a})();function gi(a,o){1&a&&(e.\u0275\u0275text(0),e.\u0275\u0275pipe(1,"translate")),2&a&&e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(1,1,"General.Labels.No")," ")}function zc(a,o){1&a&&(e.\u0275\u0275text(0),e.\u0275\u0275pipe(1,"translate")),2&a&&e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(1,1,"General.Labels.Yes")," ")}function nl(a,o){1&a&&(e.\u0275\u0275text(0),e.\u0275\u0275pipe(1,"translate")),2&a&&e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(1,1,"General.Labels.No")," ")}function Ku(a,o){1&a&&(e.\u0275\u0275text(0),e.\u0275\u0275pipe(1,"translate")),2&a&&e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(1,1,"General.Labels.Yes")," ")}function _a(a,o){1&a&&(e.\u0275\u0275text(0),e.\u0275\u0275pipe(1,"translate")),2&a&&e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(1,1,"General.Labels.No")," ")}function Wu(a,o){1&a&&(e.\u0275\u0275text(0),e.\u0275\u0275pipe(1,"translate")),2&a&&e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(1,1,"General.Labels.Yes")," ")}function Oo(a,o){1&a&&(e.\u0275\u0275text(0),e.\u0275\u0275pipe(1,"translate")),2&a&&e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(1,1,"General.Labels.No")," ")}function $l(a,o){1&a&&(e.\u0275\u0275text(0),e.\u0275\u0275pipe(1,"translate")),2&a&&e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(1,1,"General.Labels.Yes")," ")}function zu(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"P",2),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"div",3)(9,"div",4)(10,"div",5),e.\u0275\u0275text(11),e.\u0275\u0275pipe(12,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"div",6),e.\u0275\u0275template(14,gi,2,3)(15,zc,2,3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"div",5),e.\u0275\u0275text(17),e.\u0275\u0275pipe(18,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"div",6),e.\u0275\u0275template(20,nl,2,3)(21,Ku,2,3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"div",5),e.\u0275\u0275text(23),e.\u0275\u0275pipe(24,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(25,"div",6),e.\u0275\u0275template(26,_a,2,3)(27,Wu,2,3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"div",5),e.\u0275\u0275text(29),e.\u0275\u0275pipe(30,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(31,"div",6),e.\u0275\u0275template(32,Oo,2,3)(33,$l,2,3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(34,"div",5),e.\u0275\u0275text(35),e.\u0275\u0275pipe(36,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(37,"div",6),e.\u0275\u0275text(38),e.\u0275\u0275pipe(39,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(40,"div",5),e.\u0275\u0275text(41),e.\u0275\u0275pipe(42,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(43,"div",6),e.\u0275\u0275text(44),e.\u0275\u0275pipe(45,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(46,"div",5),e.\u0275\u0275text(47),e.\u0275\u0275pipe(48,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(49,"div",6),e.\u0275\u0275text(50),e.\u0275\u0275pipe(51,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(52,"div",5),e.\u0275\u0275text(53),e.\u0275\u0275pipe(54,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(55,"div",6),e.\u0275\u0275text(56),e.\u0275\u0275pipe(57,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(58,"div",7)(59,"b"),e.\u0275\u0275text(60),e.\u0275\u0275pipe(61,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(62,"div",6)(63,"b"),e.\u0275\u0275text(64),e.\u0275\u0275pipe(65,"number"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(66,"div",8)(67,"b"),e.\u0275\u0275text(68),e.\u0275\u0275pipe(69,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(70,"p"),e.\u0275\u0275text(71),e.\u0275\u0275pipe(72,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(73,"ul")(74,"li"),e.\u0275\u0275text(75),e.\u0275\u0275pipe(76,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(77,"li"),e.\u0275\u0275text(78),e.\u0275\u0275pipe(79,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(80,"li"),e.\u0275\u0275text(81),e.\u0275\u0275pipe(82,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(83,"li"),e.\u0275\u0275text(84),e.\u0275\u0275pipe(85,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(86,"li"),e.\u0275\u0275text(87),e.\u0275\u0275pipe(88,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(89,"p"),e.\u0275\u0275text(90),e.\u0275\u0275pipe(91,"translate"),e.\u0275\u0275elementEnd()()()),2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,28,"PilaCalculator.TemplatePDF.Title")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(7,30,"PilaCalculator.TemplatePDF.Description")," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(12,32,"PilaCalculator.Labels.Pensioner")," "),e.\u0275\u0275advance(3),e.\u0275\u0275conditional(14,0===A.data.pensioner?
12914:15),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(18,34,"PilaCalculator.Labels.ExemptFromAgePension")," "),e.\u0275\u0275advance(3),e.\u0275\u0275conditional(20,0===A.data.exemptFromAgePension?20:21),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(24,36,"PilaCalculator.Labels.BelongParticularRegime")," "),e.\u0275\u0275advance(3),e.\u0275\u0275conditional(26,0===A.data.belongParticularRegime?26:27),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(30,38,"PilaCalculator.Labels.ContributionAboveMaximumLimit")," "),e.\u0275\u0275advance(3),e.\u0275\u0275conditional(32,0===A.data.contributionAboveMaximumLimit?32:33),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(36,40,"PilaCalculator.Labels.GrossValue")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(39,42,A.data.grossValue,"1.2-2")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(42,45,"PilaCalculator.Labels.BaseIncomeToContribute")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(45,47,A.data.baseIncomeToContribute,"1.2-2")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(48,50,"PilaCalculator.Labels.HealthContribution")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(51,52,A.data.healthContribution,"1.2-2")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(54,55,"PilaCalculator.Labels.PensionContribution")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(57,57,A.data.pensionContribution,"1.2-2")," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(61,60,"PilaCalculator.Labels.TotalPaySGSSS")),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("$ ",e.\u0275\u0275pipeBind2(65,62,A.data.totalPaySGSSS,"1.2-2"),""),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(69,65,"PilaCalculator.TemplatePDF.SubTitle")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(72,67,"PilaCalculator.TemplatePDF.Observation")),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(76,69,"PilaCalculator.TemplatePDF.Item1")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(79,71,"PilaCalculator.TemplatePDF.Item2")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(82,73,"PilaCalculator.TemplatePDF.Item3")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(85,75,"PilaCalculator.TemplatePDF.Item4")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(88,77,"PilaCalculator.TemplatePDF.Item5")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(91,79,"PilaCalculator.TemplatePDF.Observation2")," ")}}let $u=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-template-pdf"]],inputs:{data:"data"},decls:1,vars:1,consts:[["id","pdf-container",1,"print-section"],[1,"w-100","text-center"],[2,"margin-top","20px"],[1,"w-100","div-data"],[1,"row"],[1,"col-md-5"],[1,"col-md-7"],[1,"col-md-5","text-uppercase"],[1,"w-100"]],template:function(c,h){1&c&&e.\u0275\u0275template(0,zu,92,81,"div",0),2&c&&e.\u0275\u0275conditional(0,h.data?0:-1)},dependencies:[Ve.D9,N.DecimalPipe],styles:["#pdf-container[_ngcontent-%COMP%]{display:none;padding:80px 150px}.div-data[_ngcontent-%COMP%]{margin:40px 0}"]})}}return a})();const il=["pdfTemplate"];function Jl(a,o){if(1&a){const A=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",22)(1,"p",23)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",24)(6,"div",11)(7,"div",25),e.\u0275\u0275text(8),e.\u0275\u0275pipe(9,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",26),e.\u0275\u0275text(11),e.\u0275\u0275pipe(12,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"div",25),e.\u0275\u0275text(14),e.\u0275\u0275pipe(15,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"div",26),e.\u0275\u0275text(17),e.\u0275\u0275pipe(18,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"div",25),e.\u0275\u0275text(20),e.\u0275\u0275pipe(21,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"div",26),e.\u0275\u0275text(23),e.\u0275\u0275pipe(24,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(25,"hr"),e.\u0275\u0275elementStart(26,"div",27)(27,"b"),e.\u0275\u0275text(28),e.\u0275\u0275pipe(29,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(30,"div",28)(31,"b"),e.\u0275\u0275text(32),e.\u0275\u0275pipe(33,"number"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(34,"div",29)(35,"button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(A);const h=e.\u0275\u0275nextContext();
129return e.\u0275\u0275resetView(h.printPDF())}),e.\u0275\u0275element(36,"i",31),e.\u0275\u0275text(37),e.\u0275\u0275pipe(38,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(39,"button",32),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(A);const h=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(h.downloadPDF())}),e.\u0275\u0275element(40,"i",33),e.\u0275\u0275text(41),e.\u0275\u0275pipe(42,"translate"),e.\u0275\u0275elementEnd()()}if(2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,11,"PilaCalculator.SubTitle2")),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(9,13,"PilaCalculator.Labels.BaseIncomeToContribute"),": "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(12,15,A.baseIncomeToContribute,"1.2-2")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(15,18,"PilaCalculator.Labels.HealthContribution"),": "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(18,20,A.healthContribution,"1.2-2")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(21,23,"PilaCalculator.Labels.PensionContribution"),": "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(24,25,A.pensionContribution,"1.2-2")," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(29,28,"PilaCalculator.Labels.TotalPaySGSSS"),": "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("$ ",e.\u0275\u0275pipeBind2(33,30,A.totalPaySGSSS,"1.2-2"),""),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(38,33,"General.Buttons.Print")," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(42,35,"General.Buttons.Download")," ")}}let Ju=(()=>{class a{constructor(A,c,h,f,m){this.formBuilder=A,this.masterService=c,this._modalService=h,this._translateService=f,this.parentInjector=m,this.lstOptions=Kc,this.isCalculatePila=!1,this.baseIncomeToContribute=0,this.healthContribution=0,this.pensionContribution=0,this.totalPaySGSSS=0}ngOnInit(){this.createForm(),this.getParametersCalculatorPILA()}createForm(){this.formCalculatorPila=this.formBuilder.group({pensioner:["",ne.k0.required],exemptFromAgePension:["",ne.k0.required],belongParticularRegime:["",ne.k0.required],contributionAboveMaximumLimit:["",ne.k0.required],grossValue:["",[ne.k0.required,ne.k0.pattern(ct.z.NUMBERS_ONLY)]]})}getParametersCalculatorPILA(){this.masterService.getParametersCalculatorPILA("CalculadoraPILA").subscribe({next:A=>{A.success&&(this.parametersCalculator=A.value[0].detailParameters)},error:()=>{const A=this._translateService.instant("General.Titles.Error"),c=this._translateService.instant("General.Messages.TryAgainLater");Oe.v.Error(A,c)}})}calculatePila(){if(this.formCalculatorPila.valid){this.baseIncomeToContribute=0,this.healthContribution=0,this.pensionContribution=0,this.totalPaySGSSS=0,this.isCalculatePila=!0;const A=Number(this.formCalculatorPila.get("pensioner")?.value),c=Number(this.formCalculatorPila.get("exemptFromAgePension")?.value),h=Number(this.formCalculatorPila.get("belongParticularRegime")?.value),f=Number(this.formCalculatorPila.get("contributionAboveMaximumLimit")?.value),m=Number(this.formCalculatorPila.get("grossValue")?.value),_=Number(this.parametersCalculator[7].value),y=Number(this.parametersCalculator[1].value),E=Number(this.parametersCalculator[0].value),T=Number(this.parametersCalculator[6].value),U=Number(this.parametersCalculator[5].value),R=Number(this.parametersCalculator[4].value),x=Number(this.parametersCalculator[3].value),q=Number(this.parametersCalculator[2].value);0===f&&(this.baseIncomeToContribute=m>_*q?_*R:m>_*x?m*T/100:_*U,this.healthContribution=this.baseIncomeToContribute*y/100,0===A&&0===c&&(this.pensionContribution=this.baseIncomeToContribute*E/100),this.totalPaySGSSS=this.healthContribution+this.pensionContribution,this.dataPdf={pensioner:A,exemptFromAgePension:c,belongParticularRegime:h,contributionAboveMaximumLimit:f,grossValue:m,baseIncomeToContribute:this.baseIncomeToContribute,healthContribution:this.healthContribution,pensionContribution:this.pensionContribution,totalPaySGSSS:this.totalPaySGSSS})}}showRecomendation(){this._modalService.open(Id,{backdrop:"static",centered:!0,size:"lg",injector:this.parentInjector})}downloadPDF(){const A=document.getElementById("pdf-container");A&&(A.style.display="block",setTimeout(()=>{Dt()(A).then(c=>{const h=c.toDataURL("image/png"),f=new Jt({orientation:"portrait",unit:"mm",format:"a4"}),m=f.getImageProperties(h),_=f.internal.pageSize.getWidth();
129f.addImage(h,"PNG",0,0,_,m.height*_/m.width),f.save("AportesPILA.pdf")}),A.style.display="none"},100))}printPDF(){const A=document.getElementById("pdf-container");A&&(A.style.display="block",setTimeout(()=>{window.print(),A.style.display="none"},100))}static{this.\u0275fac=function(c){return new(c||a)(e.\u0275\u0275directiveInject(ne.ok),e.\u0275\u0275directiveInject(Sd.m),e.\u0275\u0275directiveInject(zl.Bq),e.\u0275\u0275directiveInject(Ve.c$),e.\u0275\u0275directiveInject(e.Injector))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-pila-calculator"]],viewQuery:function(c,h){if(1&c&&e.\u0275\u0275viewQuery(il,5),2&c){let f;e.\u0275\u0275queryRefresh(f=e.\u0275\u0275loadQuery())&&(h.pdfTemplate=f.first)}},decls:52,vars:56,consts:[[1,"mb-2"],[1,"div-info","mt-4","mb-4"],[1,"d-flex"],[2,"width","450px","height","200px","border-radius","12px"],["src","assets/img/img-calculadora-pila.jpg","alt","","width","450","height","200",2,"border-radius","12px","object-fit","cover"],[1,"w-100","d-flex","align-items-center","ps-4"],[3,"innerHTML"],["type","button",1,"btn","btn-danger","mt-3",3,"click"],[1,"card"],[1,"card-body",2,"padding","40px"],[3,"formGroup"],[1,"row"],[1,"col-md-6","col-12","col-sm-12","mb-3"],["formControlName","pensioner","display","label","value","id",3,"label","placeholder","data"],["formControlName","exemptFromAgePension","display","label","value","id",3,"label","placeholder","data"],["formControlName","belongParticularRegime","display","label","value","id",3,"label","placeholder","data"],["formControlName","contributionAboveMaximumLimit","display","label","value","id",3,"label","placeholder","data"],[1,"col-md-12","col-12","col-sm-12","mb-4"],["formControlName","grossValue","appInputMask","^[0-9]{1,10}$",3,"label","placeholder"],[1,"col-md-12","col-12","col-sm-12","mb-3","d-flex","align-items-center","justify-content-center"],["type","button",1,"btn","btn-primary",3,"click","disabled"],["id","pdfTemplate",3,"data"],[1,"w-100","mt-4"],[1,"fs-18"],[1,"div-secondary"],[1,"col-md-10","mb-2"],[1,"col-md-2","text-end"],[1,"col-md-10","mb-2","primary-color"],[1,"col-md-2","text-end","primary-color"],[1,"w-100","mt-4","d-flex","justify-content-center","align-items-center",2,"gap","16px"],["type","button",1,"btn","btn-secondary",3,"click"],[1,"bi","bi-printer","me-2"],["type","button",1,"btn","btn-primary",3,"click"],[1,"bi","bi-download","me-2"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div")(1,"h1",0),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(7,"br"),e.\u0275\u0275elementStart(8,"span"),e.\u0275\u0275text(9),e.\u0275\u0275pipe(10,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",1)(12,"div",2)(13,"div",3),e.\u0275\u0275element(14,"img",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",5)(16,"div"),e.\u0275\u0275element(17,"h4",6),e.\u0275\u0275pipe(18,"translate"),e.\u0275\u0275elementStart(19,"button",7),e.\u0275\u0275listener("click",function(){return h.showRecomendation()}),e.\u0275\u0275text(20),e.\u0275\u0275pipe(21,"translate"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(22,"div",8)(23,"div",9)(24,"form",10)(25,"div",11)(26,"div",12),e.\u0275\u0275element(27,"lib-select",13),e.\u0275\u0275pipe(28,"translate"),e.\u0275\u0275pipe(29,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(30,"div",12),e.\u0275\u0275element(31,"lib-select",14),e.\u0275\u0275pipe(32,"translate"),e.\u0275\u0275pipe(33,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(34,"div",12),e.\u0275\u0275element(35,"lib-select",15),e.\u0275\u0275pipe(36,"translate"),e.\u0275\u0275pipe(37,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"div",12),e.\u0275\u0275element(39,"lib-select",16),e.\u0275\u0275pipe(40,"translate"),e.\u0275\u0275pipe(41,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(42,"div",17),e.\u0275\u0275element(43,"lib-currency-input",18),e.\u0275\u0275pipe(44,"translate"),e.\u0275\u0275pipe(45,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(46,"div",19)(47,"button",20),e.\u0275\u0275listener("click",function(){return h.calculatePila()}),e.\u0275\u0275text(48),e.\u0275\u0275pipe(49,"translate"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275template(50,Jl,43,37),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(51,"app-template-pdf",21)),2&c&&(e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(3,24,"PilaCalculator.Title")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(6,26,"PilaCalculator.Description1")),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(10,28,"PilaCalculator.Description2")),e.\u0275\u0275advance(8),e.\u0275\u0275property("innerHTML",e.\u0275\u0275pipeBind1(18,30,"PilaCalculator.SubTitle"),e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(21,32,"General.Buttons.KnowMore")," "),e.\u0275\u0275advance(4),e.\u0275\u0275property("formGroup",h.formCalculatorPila),e.\u0275\u0275advance(3),e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(28,34,"PilaCalculator.Labels.Pensioner"))("placeholder",e.\u0275\u0275pipeBind1(29,36,"General.Labels.SelectOption"))("data",h.lstOptions),e.\u0275\u0275advance(4),e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(32,38,"PilaCalculator.Labels.ExemptFromAgePension"))("placeholder",e.\u0275\u0275pipeBind1(33,40,"General.Labels.SelectOption"))("data",h.lstOptions),e.\u0275\u0275advance(4),e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(36,42,"PilaCalculator.Labels.BelongParticularRegime"))("placeholder",e.\u0275\u0275pipeBind1(37,44,"General.Labels.SelectOption"))("data",h.lstOptions),e.\u0275\u0275advance(4),e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(40,46,"PilaCalculator.Labels.ContributionAboveMaximumLimit"))("placeholder",e.\u0275\u0275pipeBind1(41,48,"General.Labels.SelectOption"))("data",h.lstOptions),e.\u0275\u0275advance(4),e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(44,50,"PilaCalculator.Labels.GrossValue"))("placeholder",e.\u0275\u0275pipeBind1(45,52,"PilaCalculator.Placeholders.GrossValue")),e.\u0275\u0275advance(4),e.\u0275\u0275property("disabled",!h.formCalculatorPila.valid),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(49,54,"General.Buttons.Calculate")," "),e.\u0275\u0275advance(2),e.\u0275\u0275conditional(50,h.isCalculatePila?50:-1),e.\u0275\u0275advance(),e.\u0275\u0275property("data",h.dataPdf))},dependencies:[ne.qT,ne.BC,ne.cb,ne.j4,ne.JD,Cr.w,Wc,$u,Ve.D9,N.DecimalPipe],encapsulation:2})}}return a})();var ms=L(4849),$c=L(3207);let Yu=(()=>{class a{constructor(){this._fb=(0,e.inject)(ne.ok),this.prepaidPlans=(0,e.input)(),this.onFilter=(0,e.output)()}ngOnInit(){this.createForm()}createForm(){this.filterForm=this._fb.group({plan:["",ne.k0.required],search:[""]})}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-rates-filter"]],inputs:{prepaidPlans:[e.\u0275\u0275InputFlags.SignalBased,"prepaidPlans"]},outputs:{onFilter:"onFilter"},decls:12,vars:18,consts:[[1,"d-flex","flex-column","card","gap-4","p-4"],[1,"d-flex","flex-column","flex-sm-row","gap-sm-5","gap-3",3,"formGroup"],["value","code","display","name","formControlName","plan",1,"flex-1",3,"label","placeholder","data"],["formControlName","search",1,"flex-1",3,"label","placeholder"],[1,"d-flex","align-items-center","justify-content-center"],[1,"btn","btn-primary",3,"click","disabled"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"form",1),e.\u0275\u0275element(2,"lib-select",2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275element(5,"lib-input-base",3),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"div",4)(9,"button",5),e.\u0275\u0275listener("click",function(){return h.onFilter.emit(h.filterForm.value)}),e.\u0275\u0275text(10),e.\u0275\u0275pipe(11,"translate"),e.\u0275\u0275elementEnd()()()),2&c&&(e.\u0275\u0275advance(),e.\u0275\u0275property("formGroup",h.filterForm),e.\u0275\u0275advance(),e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(3,8,"RatesAndCups.RateFilters.plan"))("placeholder",e.\u0275\u0275pipeBind1(4,10,"RatesAndCups.RateFilters.selectPlan"))("data",h.prepaidPlans()),e.\u0275\u0275advance(3),e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(6,12,"RatesAndCups.RateFilters.procedureOrkeyword"))("placeholder",e.\u0275\u0275pipeBind1(7,14,"RatesAndCups.RateFilters.procedureOrkeyword")),e.\u0275\u0275advance(4),e.\u0275\u0275property("disabled",h.filterForm.invali
129d),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(11,16,"General.Buttons.Consult")," "))},dependencies:[Mi.f,ne.qT,ne.BC,ne.cb,ne.j4,ne.JD,Cr.w,Ve.D9],encapsulation:2})}}return a})();var mi=L(6566);function qu(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"number"),e.\u0275\u0275elementEnd()()),2&a){const A=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(A.code),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(A.description),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("$ ",e.\u0275\u0275pipeBind2(7,3,A.value,"1.2-2"),"")}}function Xu(a,o){if(1&a&&e.\u0275\u0275template(0,qu,8,6,"tr"),2&a){const A=o.$index,c=e.\u0275\u0275nextContext();e.\u0275\u0275conditional(0,A>=c.startIndex&&A<=c.startIndex+c.pageSize-1?0:-1)}}function Ba(a,o){if(1&a){const A=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"lib-pagination",6),e.\u0275\u0275listener("pageChange",function(h){e.\u0275\u0275restoreView(A);const f=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(f.pageChamge(h))}),e.\u0275\u0275elementEnd()}if(2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275property("collectionSize",A.procedureRates().length)("maxSize",5)("ellipses",!0)("rotate",!0)}}let Zu=(()=>{class a{constructor(){this.procedureRates=(0,e.input)([]),this.pageSize=10,this.startIndex=0}pageChamge(A){this.startIndex=(A-1)*this.pageSize}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-rates-table"]],inputs:{procedureRates:[e.\u0275\u0275InputFlags.SignalBased,"procedureRates"]},decls:18,vars:10,consts:[[1,"d-flex","flex-column","gap-3"],[1,"table-responsive","table-container"],[1,"table"],[1,"w-25"],[1,"w-50"],[1,"align-self-center",3,"collectionSize","maxSize","ellipses","rotate"],[1,"align-self-center",3,"pageChange","collectionSize","maxSize","ellipses","rotate"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"table",2)(3,"thead")(4,"tr")(5,"th",3),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"th",4),e.\u0275\u0275text(9),e.\u0275\u0275pipe(10,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"th",3),e.\u0275\u0275text(12),e.\u0275\u0275pipe(13,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(14,"tbody"),e.\u0275\u0275repeaterCreate(15,Xu,1,1,null,null,e.\u0275\u0275repeaterTrackByIdentity),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(17,Ba,1,4,"lib-pagination",5),e.\u0275\u0275elementEnd()),2&c&&(e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(7,4,"RatesAndCups.RatesTable.procedureCode")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(10,6,"RatesAndCups.RatesTable.procedureDescription")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(13,8,"General.Labels.value")," "),e.\u0275\u0275advance(3),e.\u0275\u0275repeater(h.procedureRates()),e.\u0275\u0275advance(2),e.\u0275\u0275conditional(17,h.procedureRates().length>10?17:-1))},dependencies:[mi.e,Ve.D9,N.DecimalPipe],encapsulation:2})}}return a})();function Yl(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"h5"),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(3,"app-rates-table",6)),2&a){const A=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(2,2,"General.Labels.ResultSearch")),e.\u0275\u0275advance(2),e.\u0275\u0275property("procedureRates",A.proceduredRates)}}function vs(a,o){1&a&&(e.\u0275\u0275elementStart(0,"div",7),e.\u0275\u0275element(1,"img",8),e.\u0275\u0275elementStart(2,"h4"),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd()()),2&a&&(e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(4,1,"General.Messages.NoDataFoundGeneral")," "))}function ql(a,o){if(1&a&&e.\u0275\u0275template(0,Yl,4,4)(1,vs,5,3),2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275conditional(0,A.proceduredRates.length>0?0:1)}}let ed=(()=>{class a{constructor(){this._route=(0,e.inject)(K.ActivatedRoute),this._providerService=(0,e.inject)(ms.$),this.authService=(0,e.inject)(Ue.u),this.title=this._route.snapshot.title,this.prepaidPlans=[]}ngOnInit(){this.prepaidPlans=this._route.snapshot.data.prepaidPlans,this.user=this.authService.getDocumentInfo()}onFilter(A){var c=this;return(0,ci.A)(function*(){c.proceduredRates=yield c.getProceduredRates(A)})()}getProceduredRates(A){var c=this;return(0,ci.A)(function*(){return(yield(0,$c.s)(c._providerService.getProceduredRates(c.user.documentType,c.user.document,A.plan,A.search))).value})()}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-rates"]],decls:29,vars:24,consts:[[1,"d-flex","flex-column","gap-4"],[1,"d-flex","flex-column","gap-2"],[1,"m-0"],[3,"onFilter","prepaidPlans"],[1,"d-flex","flex-column","gap-2","py-3","px-sm-5","px-3","card","border-0","bg-white-smoke"],[1,"d-flex","flex-sm-row","flex-column","gap-2","gap-sm-5"],[3,"procedureRates"],[1,"d-flex","flex-column","align-items-center","gap-4","p-5"],["src","./assets/icons/not-found.png","alt",""]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"h1"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"p",2),e.\u0275\u0275text(5),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"app-rates-filter",3),e.\u0275\u0275listener("onFilter",function(m){return h.onFilter(m)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(8,ql,2,1),e.\u0275\u0275elementStart(9,"div",4)(10,"h5"),e.\u0275\u0275text(11),e.\u0275\u0275pipe(12,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"p",2),e.\u0275\u0275text(14),e.\u0275\u0275pipe(15,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"ul",5)(17,"li"),e.\u0275\u0275text(18),e.\u0275\u0275pipe(19,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"li"),e.\u0275\u0275text(2
1291),e.\u0275\u0275pipe(22,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"li"),e.\u0275\u0275text(24),e.\u0275\u0275pipe(25,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"li"),e.\u0275\u0275text(27),e.\u0275\u0275pipe(28,"translate"),e.\u0275\u0275elementEnd()()()()),2&c&&(e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(h.title),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(6,10,"RatesAndCups.DescripcionRates")," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("prepaidPlans",h.prepaidPlans),e.\u0275\u0275advance(),e.\u0275\u0275conditional(8,h.proceduredRates?8:-1),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(12,12,"RatesAndCups.Procedures.title")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(15,14,"RatesAndCups.Procedures.description")," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(19,16,"RatesAndCups.Procedures.firstProcedure")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(22,18,"RatesAndCups.Procedures.secondProcedure")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(25,20,"RatesAndCups.Procedures.thirdProcedure")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(28,22,"RatesAndCups.Procedures.fourthProcedure")," "))},dependencies:[Yu,Zu,Ve.D9],encapsulation:2})}}return a})(),rl=(()=>{class a{exportContractToExcel(A){if(!A)return;const c=this.createExcelXML(A),h=new Blob([c],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),f=document.createElement("a"),m=URL.createObjectURL(h);f.setAttribute("href",m),f.setAttribute("download",`contrato_${A.contract.contractNumber}_${(new Date).toISOString().split("T")[0]}.xls`),f.style.visibility="hidden",document.body.appendChild(f),f.click(),f.remove(),URL.revokeObjectURL(m)}exportCupsToExcel(A){if(!A?.length)return;const c=this.createCupsExcelXML(A),f=new Blob([c],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),m=document.createElement("a"),_=URL.createObjectURL(f);m.setAttribute("href",_),m.setAttribute("download","CUPS.xls"),m.style.visibility="hidden",document.body.appendChild(m),m.click(),m.remove(),URL.revokeObjectURL(_)}createExcelXML(A){const c=this.getValidity(A.contract),h=['<Row><Cell ss:StyleID="Bold"><Data ss:Type="String">INFORMACI\xd3N DEL CONTRATO</Data></Cell></Row>',`<Row><Cell ss:StyleID="Bold"><Data ss:Type="String">N\xfamero de Contrato</Data></Cell><Cell><Data ss:Type="String">${this.escapeXml(A.contract.contractNumber)}</Data></Cell></Row>`,`<Row><Cell ss:StyleID="Bold"><Data ss:Type="String">Plan</Data></Cell><Cell><Data ss:Type="String">${this.escapeXml(A.contract.contractPlan)}</Data></Cell></Row>`,`<Row><Cell ss:StyleID="Bold"><Data ss:Type="String">Estado del Contrato</Data></Cell><Cell><Data ss:Type="String">${this.escapeXml(A.contract.contractStatus)}</Data></Cell></Row>`,`<Row><Cell ss:StyleID="Bold"><Data ss:Type="String">Vigencia</Data></Cell><Cell><Data ss:Type="String">${this.escapeXml(c)}</Data></Cell></Row>`,"<Row></Row>",'<Row><Cell ss:StyleID="Bold"><Data ss:Type="String">BENEFICIARIOS</Data></Cell></Row>'],m=A.beneficiaries.map(_=>`\n <Row>\n <Cell><Data ss:Type="String">${this.escapeXml(this.getFullName(_))}</Data></Cell>\n <Cell><Data ss:Type="String">${this.escapeXml(_.documentType)}</Data></Cell>\n <Cell><Data ss:Type="String">${this.escapeXml(_.document)}</Data></Cell>\n <Cell><Data ss:Type="String">${this.escapeXml(_.relationship)}</Data></Cell>\n <Cell><Data ss:Type="String">${_.birthDate?new Date(_.birthDate).toLocaleDateString("es-ES"):""}</Data></Cell>\n <Cell><Data ss:Type="Number">${_.age}</Data></Cell>\n <Cell><Data ss:Type="String">${this.escapeXml(_.gender)}</Data></Cell>\n <Cell><Data ss:Type="String">${_.startDate?new Date(_.startDate).toLocaleDateString("es-ES"):""}</Data></Cell>\n <Cell><Data ss:Type="String">${_.endDate?new Date(_.endDate).toLocaleDateString("es-ES"):""}</Data></Cell>\n <Cell><Data ss:Type="String">${this.escapeXml(_.membershipStatus)}</Data></Cell>\n <Cell><Data ss:Type="String">${_.seniority?new Date(_.seniority).toLocaleDateString("es-ES"):""}</Data></Cell>\n <Cell><Data ss:Type="String">${this.escapeXml(_.eps)}</Data></Cell>\n <Cell><Data ss:Type="String">${this.escapeXml(_.city)}</Data></Cell>\n <Cell><Data ss:Type="String">${this.escapeXml(_.department)}</Data></Cell>\n <Cell><Data ss:Type="String">${this.escapeXml(_.address)}</Data></Cell>\n <Cell><Data ss:Type="String">${this.escapeXml(_.phone)}</Data></Cell>\n </Row>\n `).join("");return`<?xml version="1.0"?>\n <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\n xmlns:o="ur
129n:schemas-microsoft-com:office:office"\n xmlns:x="urn:schemas-microsoft-com:office:excel"\n xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\n xmlns:html="http://www.w3.org/TR/REC-html40">\n <Styles>\n <Style ss:ID="Bold">\n <Font ss:Bold="1"/>\n </Style>\n </Styles>\n <Worksheet ss:Name="Contratos Familiares">\n <Table>\n ${h.join("")}\n \n <Row>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Nombre Completo</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Tipo de Documento</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Documento</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Relaci\xf3n</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Fecha de Nacimiento</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Edad</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">G\xe9nero</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Fecha de Inicio</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Fecha de Fin</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Estado de Membres\xeda</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Fecha de Antig\xfcedad</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">EPS</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Ciudad</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Departamento</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Direcci\xf3n</Data></Cell>\n <Cell ss:StyleID="Bold"><Data ss:Type="String">Tel\xe9fono</Data></Cell>\n </Row>\n \n ${m}\n </Table>\n </Worksheet>\n </Workbook>`}createCupsExcelXML(A){return`<?xml version="1.0"?>\n <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\n xmlns:o="urn:schemas-microsoft-com:office:office"\n xmlns:x="urn:schemas-microsoft-com:office:excel"\n xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\n xmlns:html="http://www.w3.org/TR/REC-html40">\n <Styles>\n <Style ss:ID="Bold">\n <Font ss:Bold="1"/>\n </Style>\n <Style ss:ID="HeaderBorder">\n <Font ss:Bold="1"/>\n <Alignment ss:Horizontal="Center" ss:Vertical="Center"/>\n <Interior ss:Color="#E8EEF7" ss:Pattern="Solid"/>\n <Borders>\n <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>\n <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>\n <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>\n <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>\n </Borders>\n </Style>\n <Style ss:ID="CellBorder">\n <Alignment ss:Vertical="Center" ss:WrapText="1"/>\n <Borders>\n <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>\n <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>\n <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>\n <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>\n </Borders>\n </Style>\n <Style ss:ID="CellBorderCenter">\n <Alignment ss:Horizontal="Center" ss:Vertical="Center"/>\n <Borders>\n <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>\n <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>\n <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>\n <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>\n </Borders>\n </Style>\n </Styles>\n <Worksheet ss:Name="CUPS">\n <Table>\n <Column ss:AutoFitWidth="0" ss:Width="180"/>\n <Column ss:AutoFitWidth="0" ss:Width="110"/>\n <Column ss:AutoFitWidth="0" ss:Width="500"/>\n <Column ss:AutoFitWidth="0" ss:Width="80"/>\n \n <Row>\n <Cell ss:StyleID="HeaderBorder"><Data ss:Type="String">Especialidad</Data></Cell>\n <Cell ss:StyleID="HeaderBorder"><Data ss:Type="String">C\xf3digo CUPS</Data></Cell>\n <Cell ss:StyleID="HeaderBorder"><Data ss:Type="String">Descripci\xf3n CUPS</Data></Cell>\n <Cell ss:StyleID="HeaderBorder"><Data ss:Type="String">Puntos</Data></Cell>\n </Row>\n \n ${A.map(f=>{const m=f.points?.toString()??"",_=""!==m&&!Number.isNaN(Number(m));return`\n <Row>\n <Cell ss:StyleID="CellBorder"><Data ss:Type="String">${this.escapeXml(f.specialtyName)}</Data></Cell>\n <Cell ss:StyleID="CellBorder"><Data ss:Type="String">${this.escapeXml(f.code)}</Data></Cell>\n <Cell ss:StyleID="CellBorder"><Data ss:Type="String">${this.escapeXml(f.description)}</Data></Cell>\n <Cell ss:StyleID="CellBorderCenter"><Data ss:Type="${_?"Number":"String"}">${this.escapeXml(m)}</Data></Cell>\n </Row>\n `}).join("")}\n </Table>\n </Worksheet>\n </Workbook>`}getValidity(A){return A?.startDate&&A?.endDate?`Del ${new Date(A.startDate).toLocaleDateString("es-ES")} al ${new Date(A.endDate).toLocaleDateString("es-ES")}`:""}getFullName(A){return`${A.names} ${A.firstLastName} ${A.secondLastName}`.trim()}escapeXml(A){return A?A.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):""}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var td=L(9350),jn=L(7707);let Yc=(()=>{class a{constructor(){this.specialtiesByProvider=(0,e.input)(),this.selectSpecialtyByProvider=(0,e.output)(),this.providerCode=this.specialtiesByProvider()?.providerCode,this.providerName=this.specialtiesByProvider()?.providerName,this._fb=(0,e.inject)(ne.ok)}ngOnInit(){this.createForm()}createForm(){let A=this.specialtiesByProvider().specialties.length>1;this.filterForm=this._fb.group({providerCode:[{value:this.specialtiesByProvider()?.providerCode,disabled:!0}],providerName:[{value:this.specialtiesByProvider()?.providerName,disabled:!0}],specialty:[{value:A?"":this.specialtiesByProvider()?.specialties[0].c
129ode,disabled:!A}]}),A&&this.filterForm.get("specialty")?.addValidators(ne.k0.required),""!==this.filterForm.get("specialty").value&&this.selectSpecialtyByProvider.emit({providerCode:this.specialtiesByProvider().providerCode,specialtyCode:this.filterForm.get("specialty").value}),this.filterForm.get("specialty")?.valueChanges.subscribe(c=>{this.selectSpecialtyByProvider.emit(c?{providerCode:this.specialtiesByProvider().providerCode,specialtyCode:c}:null)})}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-cups-filter"]],inputs:{specialtiesByProvider:[e.\u0275\u0275InputFlags.SignalBased,"specialtiesByProvider"]},outputs:{selectSpecialtyByProvider:"selectSpecialtyByProvider"},decls:4,vars:2,consts:[[1,"d-flex","flex-column","flex-sm-row","gap-3","p-4","card",3,"formGroup"],["label","C\xf3digo del prestador","placeholder","Escribe c\xf3digo del prestador","formControlName","providerCode",1,"flex-1"],["label","Prestador","placeholder","Escribe nombre del prestador","formControlName","providerName",1,"flex-1"],["display","name","value","code","label","Especialidad","placeholder","Seleciona una opci\xf3n","formControlName","specialty",1,"flex-1",3,"data"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"form",0),e.\u0275\u0275element(1,"lib-input-base",1)(2,"lib-input-base",2)(3,"lib-select",3),e.\u0275\u0275elementEnd()),2&c&&(e.\u0275\u0275property("formGroup",h.filterForm),e.\u0275\u0275advance(3),e.\u0275\u0275property("data",h.specialtiesByProvider().specialties))},dependencies:[Mi.f,ne.qT,ne.BC,ne.cb,ne.j4,ne.JD,Cr.w],encapsulation:2})}}return a})();function Rt(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()),2&a){const A=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(A.specialtyName),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(A.code),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(A.description),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(A.points)}}function nd(a,o){if(1&a&&e.\u0275\u0275template(0,Rt,9,4,"tr"),2&a){const A=o.$index,c=e.\u0275\u0275nextContext(2);e.\u0275\u0275conditional(0,A>=c.startIndex&&A<=c.startIndex+c.pageSize-1?0:-1)}}function qc(a,o){if(1&a&&e.\u0275\u0275repeaterCreate(0,nd,1,1,null,null,e.\u0275\u0275repeaterTrackByIdentity),2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275repeater(A.cups())}}function Al(a,o){1&a&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",4),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd()()),2&a&&(e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(3,1,"General.Messages.NoDataFoundGeneral")))}function tA(a,o){if(1&a){const A=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"lib-pagination",5),e.\u0275\u0275listener("pageChange",function(h){e.\u0275\u0275restoreView(A);const f=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(f.pageChamge(h))}),e.\u0275\u0275elementEnd()}if(2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275property("collectionSize",A.cups().length)("maxSize",5)("ellipses",!0)("rotate",!0)}}let al=(()=>{class a{constructor(){this.pageSize=10,this.startIndex=0,this.cups=(0,e.input)()}pageChamge(A){this.startIndex=(A-1)*this.pageSize}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-cups-table"]],inputs:{cups:[e.\u0275\u0275InputFlags.SignalBased,"cups"]},decls:21,vars:14,consts:[[1,"d-flex","flex-column","gap-3"],[1,"table-responsive","table-container"],[1,"table"],[1,"align-self-center",3,"collectionSize","maxSize","ellipses","rotate"],["colspan","4",1,"text-center"],[1,"align-self-center",3,"pageChange","collectionSize","maxSize","ellipses","rotate"]],template:function(c,h){if(1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"table",2)(3,"thead")(4,"tr")(
1295,"th"),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"th"),e.\u0275\u0275text(9),e.\u0275\u0275pipe(10,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"th"),e.\u0275\u0275text(12),e.\u0275\u0275pipe(13,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"th"),e.\u0275\u0275text(15),e.\u0275\u0275pipe(16,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(17,"tbody"),e.\u0275\u0275template(18,qc,2,0)(19,Al,4,3),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(20,tA,1,4,"lib-pagination",3),e.\u0275\u0275elementEnd()),2&c){let f;e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(7,6,"General.Labels.Specialty")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(10,8,"RatesAndCups.CupsTable.cupsCode")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(13,10,"RatesAndCups.CupsTable.cupsDescription")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(16,12,"RatesAndCups.CupsTable.points")),e.\u0275\u0275advance(3),e.\u0275\u0275conditional(18,null!=(f=h.cups())&&f.length?18:19),e.\u0275\u0275advance(2),e.\u0275\u0275conditional(20,h.cups().length>10?20:-1)}},dependencies:[mi.e,Ve.D9],encapsulation:2})}}return a})();function Xl(a,o){if(1&a){const A=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",5)(1,"button",6),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(A);const h=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(h.exportExcel())}),e.\u0275\u0275element(2,"i",7),e.\u0275\u0275elementStart(3,"span"),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275elementEnd()()()}2&a&&(e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(5,1,"General.Buttons.ExportExcel")))}let _s=(()=>{class a{constructor(){this._route=(0,e.inject)(K.ActivatedRoute),this._providerService=(0,e.inject)(ms.$),this._excelExportService=(0,e.inject)(rl),this.title=this._route.snapshot.title,this.cups=[]}ngOnInit(){this.loadData()}loadData(){this.specialtiesByProvider=this._route.snapshot.data.specialtiesByProvider}selectSpecialtyByProvider(A){var c=this;return(0,ci.A)(function*(){A&&(c.cups=yield c.getCupsByPorviderAndSpeciality(A))})()}getCupsByPorviderAndSpeciality(A){let{providerCode:c,specialtyCode:h}=A;return function Jc(a,o){const A="object"==typeof o;return new Promise((c,h)=>{const f=new jn.Ms({next:m=>{c(m),f.unsubscribe()},error:h,complete:()=>{A?c(o.defaultValue):h(new td.G)}});a.subscribe(f)})}("all"===h?this._providerService.getCupsByProvider(c).pipe((0,_t.T)(f=>f.value)):this._providerService.getCupsByProviderAndSpecialty(A.providerCode,A.specialtyCode).pipe((0,_t.T)(f=>f.value)))}exportCSV(){if(0===this.cups.length)return;const f=[["Especialidad","C\xf3digo CUPS","Descripci\xf3n CUPS","Puntos"].join(","),...this.cups.map(T=>Object.values(T).map(U=>`"${(U??"").toString().replace(/"/g,'""')}"`).join(","))].join("\r\n"),_=new Blob(["\ufeff"+f],{type:"text/csv;charset=utf-8;"}),y=window.URL.createObjectURL(_),E=document.createElement("a");E.href=y,E.download="Codigos CUPS.csv",E.click(),window.URL.revokeObjectURL(y)}exportExcel(){0!==this.cups.length&&this._excelExportService.exportCupsToExcel(this.cups)}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-cups"]],decls:10,vars:7,consts:[[1,"d-flex","flex-column","gap-3"],[1,"d-flex","flex-column","gap-2"],[1,"m-0"],[3,"selectSpecialtyByProvider","specialtiesByProvider"],[3,"cups"],[1,"d-flex","align-items-center","justify-content-center"],[1,"d-flex","gap","align-items-center","justify-content-center","btn","btn-primary","px-4","py-3",3,"click"],[1,"bi","bi-download","custom-icon"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"h1"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"p",2),e.\u0275\u0275text(5),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"app-cups-filter",3),e.\u0275\u0275listener("selectSpecialtyByProvider",function(m){return h.selectSpecialtyByProvider(m)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(8,"app-cups-table",4),e.\u0275\u0275template(9,Xl,6,3,"div",5),e.\u0275\u0275elementEnd()),2&c&&(e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(h.title),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(6,5,"RatesAndCups.DescriptionCups")," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("specialtiesByProvider",h.specialtiesByProvider),e.\u0275\u0275advance(),e.\u0275\u0275property("cups",h.cups),e.\u0275\u0275advance(),e.\u0275\u0275conditional(9,h.cups.length>0?9:-1))},dependencies:[Yc,al,Ve.D9],encapsulation:2})}}return a})();
129var Zl=L(9437),Xc=L(7673),oo=L(8993);function ec(a,o){1&a&&(e.\u0275\u0275element(0,"lib-input-base",10),e.\u0275\u0275pipe(1,"translate"),e.\u0275\u0275pipe(2,"translate")),2&a&&e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(1,2,"General.Labels.InvoiceNumber"))("placeholder",e.\u0275\u0275pipeBind1(2,4,"Denials.Filters.placeholder"))}function id(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"div",11),e.\u0275\u0275element(1,"lib-select",13),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275element(4,"lib-select",14),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd()),2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(2,6,"General.Labels.Year"))("placeholder",e.\u0275\u0275pipeBind1(3,8,"General.Placeholders.Year"))("data",A.years),e.\u0275\u0275advance(3),e.\u0275\u0275property("label",e.\u0275\u0275pipeBind1(5,10,"General.Labels.Month"))("placeholder",e.\u0275\u0275pipeBind1(6,12,"General.Placeholders.Month"))("data",A.months)}}function eu(a,o){if(1&a){const A=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",12)(1,"button",15),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(A);const h=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(h.onfilter.emit(h.filterForm.value))}),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd()()}if(2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("disabled",A.filterForm.invali
129d),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(3,2,"General.Buttons.Consult")," ")}}let rd=(()=>{class a{constructor(){this._fb=(0,e.inject)(ne.ok),this.onfilter=(0,e.output)(),this.onChangeFilter=(0,e.output)(),this.years=Array.from({length:(new Date).getFullYear()-1900+1},(A,c)=>{const h=((new Date).getFullYear()-c).toString();return{value:h,display:h}}),this.months=sn.map(A=>({value:A.id,display:A.name}))}ngOnInit(){this.createForm()}createForm(){this.filterForm=this._fb.group({searchBy:[oo.G.LASST_INVOICE],invoiceNumber:[{value:"",disabled:!0},ne.k0.required],filingMonth:this._fb.group({year:["",ne.k0.required],month:["",ne.k0.required]})}),this.filterForm.get("filingMonth")?.disable(),this.filterForm.get("searchBy")?.valueChanges.subscribe(A=>{switch(A){case oo.G.LASST_INVOICE:this.filterForm.get("invoiceNumber")?.disable(),this.filterForm.get("filingMonth")?.disable(),this.onfilter.emit(this.filterForm.value);break;case oo.G.NUMBER_INVOICE:this.filterForm.get("invoiceNumber")?.enable(),this.filterForm.get("filingMonth")?.disable(),this.onChangeFilter.emit();break;case oo.G.MONTH:this.filterForm.get("invoiceNumber")?.disable(),this.filterForm.get("filingMonth")?.enable(),this.onChangeFilter.emit()}})}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-denials-filters"]],outputs:{onfilter:"onfilter",onChangeFilter:"onChangeFilter"},decls:24,vars:19,consts:[[1,"d-flex","flex-column","gap-4","p-4","card"],[1,"d-flex","flex-column","gap-3",3,"formGroup"],[1,"d-flex","flex-column","flex-sm-row","gap-2","gap-sm-4"],[1,"form-check"],["type","radio","name","searchBy","id","last-invoice-denials","formControlName","searchBy",1,"form-check-input",3,"value"],["for","last-invoice-denials",1,"form-check-label"],["type","radio","name","searchBy","id","number-invoice-denials","formControlName","searchBy",1,"form-check-input",3,"value"],["for","number-invoice-denials",1,"form-check-label"],["type","radio","name","searchBy","id","Month-denials","formControlName","searchBy",1,"form-check-input",3,"value"],["for","Month-denials",1,"form-check-label"],["formControlName","invoiceNumber",3,"label","placeholder"],["formGroupName","filingMonth",1,"d-flex","flex-column","flex-sm-row","gap-2","gap-sm-4"],[1,"d-flex","flex-column","flex-sm-row","justify-content-center"],["formControlName","year","value","value","display","display",1,"flex-1",3,"label","placeholder","data"],["formControlName","month","value","value","display","display",1,"flex-1",3,"label","placeholder","data"],[1,"btn","btn-primary",3,"click","disabled"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"form",1)(2,"div",2)(3,"h6"),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",3),e.\u0275\u0275element(7,"input",4),e.\u0275\u0275elementStart(8,"label",5),e.\u0275\u0275text(9),e.\u0275\u0275pipe(10,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"div",3),e.\u0275\u0275element(12,"input",6),e.\u0275\u0275elementStart(13,"label",7),e.\u0275\u0275text(14),e.\u0275\u0275pipe(15,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"div",3),e.\u0275\u0275element(17,"input",8),e.\u0275\u0275elementStart(18,"label",9),e.\u0275\u0275text(19),e.\u0275\u0275pipe(20,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(21,ec,3,6,"lib-input-base",10)(22,id,7,14,"div",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(23,eu,4,4,"div",12),e.\u0275\u0275elementEnd()),2&c&&(e.\u0275\u0275advance(),e.\u0275\u0275property("formGroup",h.filterForm),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(5,11,"General.Labels.SearchBy"),": "),e.\u0275\u0275advance(3),e.\u0275\u0275property("value",0),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(10,13,"Denials.Filters.lastInvoice")),e.\u0275\u0275advance(3),e.\u0275\u0275property("value",1),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(15,15,"General.Labels.InvoiceNumber")),e.\u0275\u0275advance(3),e.\u0275\u0275property("value",2),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(20,17,"General.Labels.FilingMonth")),e.\u0275\u0275advance(2),e.\u0275\u0275conditional(21,h.filterForm.get("invoiceNumber").enabled?21:-1),e.\u0275\u0275advance(),e.\u0275\u0275conditional(22,h.filterForm.get("filingMonth").enabled?22:-1),e.\u0275\u0275advance(),e.\u0275\u0275conditional(23,h.filterForm.get("invoiceNumber").enabled||h.filterForm.get("filingMonth").enabled?23:-1))}
129,dependencies:[Mi.f,ne.qT,ne.me,ne.Fm,ne.BC,ne.cb,ne.j4,ne.JD,ne.$R,Cr.w,Ve.D9],encapsulation:2})}}return a})();function tc(a,o){if(1&a){const A=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"date"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275pipe(8,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td"),e.\u0275\u0275text(12),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td")(14,"button",4),e.\u0275\u0275element(15,"i",5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"button",6),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(A);const h=e.\u0275\u0275nextContext().$implicit,f=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(f.downloadStatement(h.invoiceNumber))}),e.\u0275\u0275element(18,"i",7),e.\u0275\u0275elementEnd()()()}if(2&a){const A=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(A.invoiceNumber),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind2(5,6,A.filingDate,"dd/MM/yyyy")),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1("$",e.\u0275\u0275pipeBind2(8,9,A.glosaAmount,"1.0-0"),""),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(A.cause),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(A.observation),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngbTooltip",""!==A.solution&&A.solution?A.solution:"Sin registro")}}function Ad(a,o){if(1&a&&e.\u0275\u0275template(0,tc,19,12,"tr"),2&a){const A=o.$index,c=e.\u0275\u0275nextContext();e.\u0275\u0275conditional(0,A>=c.startIndex&&A<=c.startIndex+c.pageSize-1?0:-1)}}function ad(a,o){if(1&a){const A=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"lib-pagination",8),e.\u0275\u0275listener("pageChange",function(h){e.\u0275\u0275restoreView(A);const f=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(f.pageChamge(h))}),e.\u0275\u0275elementEnd()}if(2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275property("collectionSize",A.invoicesWithDenials().length)("maxSize",5)("ellipses",!0)("rotate",!0)}}let od=(()=>{class a{constructor(){this._invoiceService=(0,e.inject)(_e),this.authService=(0,e.inject)(Ue.u),this.pageSize=10,this.startIndex=0,this.invoicesWithDenials=(0,e.input)()}ngOnInit(){this.user=this.authService.getDocumentInfo()}pageChamge(A){this.startIndex=(A-1)*this.pageSize}downloadStatement(A){this._invoiceService.downloadStatement(this.user.documentType,this.user.document,A).subscribe(c=>console.log(c))}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-denials-table"]],inputs:{invoicesWithDenials:[e.\u0275\u0275InputFlags.SignalBased,"invoicesWithDenials"]},decls:30,vars:22,consts:[[1,"d-flex","flex-column","gap-3"],[1,"table-responsive","table-container"],[1,"table","table-hover"],[1,"align-self-center",3,"collectionSize","maxSize","ellipses","rotate"],["placement","bottom",1,"btn",3,"ngbTooltip"],[1,"bi","bi-eye","text-primary","fs-4"],[1,"btn",3,"click"],[1,"bi","bi-download","text-primary","fs-4"],[1,"align-self-center",3,"pageChange","collectionSize","maxSize","ellipses","rotate"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"table",2)(3,"thead")(4,"tr")(5,"th"),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"th"),e.\u0275\u0275text(9),e.\u0275\u0275pipe(10,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"th"),e.\u0275\u0275text(12),e.\u0275\u0275pipe(13,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"th"),e.\u0275\u0275text(15),e.\u0275\u0275pipe(16,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"th"),e.\u0275\u0275text(18),e.\u0275\u0275pipe(19,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"th"),e.\u0275\u0275text(2
1291),e.\u0275\u0275pipe(22,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"th"),e.\u0275\u0275text(24),e.\u0275\u0275pipe(25,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(26,"tbody"),e.\u0275\u0275repeaterCreate(27,Ad,1,1,null,null,e.\u0275\u0275repeaterTrackByIdentity),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(29,ad,1,4,"lib-pagination",3),e.\u0275\u0275elementEnd()),2&c&&(e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(7,8,"General.Labels.InvoiceNumber")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(10,10,"General.Labels.FilingDate")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(13,12,"General.Labels.valueDenial")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(16,14,"General.Labels.Causal")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(19,16,"General.Labels.observation")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(22,18,"General.Labels.solution")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(25,20,"General.Buttons.DownloadExtract")," "),e.\u0275\u0275advance(3),e.\u0275\u0275repeater(h.invoicesWithDenials()),e.\u0275\u0275advance(2),e.\u0275\u0275conditional(29,h.invoicesWithDenials().length>10?29:-1))},dependencies:[mi.e,zl.md,Ve.D9,N.DecimalPipe,N.DatePipe],encapsulation:2})}}return a})();function sd(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"h5"),e.\u0275\u0275text(1),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(3,"app-denials-table",4)),2&a){const A=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(2,2,"General.Labels.ResultSearch")),e.\u0275\u0275advance(2),e.\u0275\u0275property("invoicesWithDenials",A.invoicesWithDenials)}}function tu(a,o){1&a&&(e.\u0275\u0275elementStart(0,"div",5),e.\u0275\u0275element(1,"img",6),e.\u0275\u0275elementStart(2,"h4"),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd()()),2&a&&(e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(4,1,"General.Messages.NoDataFoundGeneral")," "))}function nu(a,o){if(1&a&&e.\u0275\u0275template(0,sd,4,4)(1,tu,5,3),2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275conditional(0,A.invoicesWithDenials.length>0?0:1)}}let nc=(()=>{class a{constructor(){this.providerService=(0,e.inject)(ms.$),this.authService=(0,e.inject)(Ue.u)}ngOnInit(){this.user=this.authService.getDocumentInfo(),this.getInvoiceWithDenials({searchBy:oo.G.LASST_INVOICE})}onFilter(A){this.getInvoiceWithDenials(A)}getInvoiceWithDenials(A){var c=this;return(0,ci.A)(function*(){let h=yield(0,$c.s)(c.providerService.getInvoicesWitDenials(c.user.documentType,c.user.document,A));c.invoicesWithDenials=h.value})()}onChangeFilter(){this.invoicesWithDenials=void 0}static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-denials"]],decls:10,vars:7,consts:[[1,"d-flex","flex-column","gap-3"],[1,"d-flex","flex-column","gap-2"],[1,"m-0"],[3,"onfilter","onChangeFilter"],[3,"invoicesWithDenials"],[1,"d-flex","flex-column","align-items-center","gap-4","p-5"],["src","./assets/icons/not-found.png","alt",""]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"h1"),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"p",2),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"app-denials-filters",3),e.\u0275\u0275listener("onfilter",function(m){return h.onFilter(m)})("onChangeFilter",function(){return h.onChangeFilter()}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,nu,2,1),e.\u0275\u0275elementEnd()),2&c&&(e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(4,3,"Denials.Title")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(7,5,"Denials.Description")," "),e.\u0275\u0275advance(3),e.\u0275\u0275conditional(9,h.invoicesWithDenials?9:-1))},dependencies:[rd,od,Ve.D9],encapsulation:2})}}return a})();function ld(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"div",3)(1,"div",4)(2,"span"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"div",4)(5,"span"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"div",4)(8,"span"),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd()()()),2&a){const A=o.$implicit,c=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(A.invoice),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(c.payment.bank),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(c.payment.accountNumber)}}function sl(a,o){if(1&a&&(e.\u0275\u0275elementStart(0,"div",6)(1,"div",3)(2,"div",11),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",12),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"div",11),e.\u0275\u0275text(9),e.\u0275\u0275pipe(10,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",13),e.\u0275\u0275text(12),e.\u0275\u0275pipe(13,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"div",11),e.\u0275\u0275text(15),e.\u0275\u0275pipe(16,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"div",13),e.\u0275\u0275text(18),e.\u0275\u0275pipe(19,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"div",11),e.\u0275\u0275text(2
1291),e.\u0275\u0275pipe(22,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"div",13),e.\u0275\u0275text(24),e.\u0275\u0275pipe(25,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"div",11),e.\u0275\u0275text(27),e.\u0275\u0275pipe(28,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"div",13),e.\u0275\u0275text(30),e.\u0275\u0275pipe(31,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"div",11),e.\u0275\u0275text(33),e.\u0275\u0275pipe(34,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"div",13),e.\u0275\u0275text(36),e.\u0275\u0275pipe(37,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"div",11),e.\u0275\u0275text(39),e.\u0275\u0275pipe(40,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"div",13),e.\u0275\u0275text(42),e.\u0275\u0275pipe(43,"number"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(44,"hr"),e.\u0275\u0275elementStart(45,"div",11)(46,"b",1),e.\u0275\u0275text(47),e.\u0275\u0275pipe(48,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"div",13)(50,"b",1),e.\u0275\u0275text(51),e.\u0275\u0275pipe(52,"number"),e.\u0275\u0275elementEnd()()()()),2&a){const A=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(4,16,"PaymentDetail.InvoiceValue")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(7,18,A.payment.billedAmount,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(10,21,"PaymentDetail.DebitNoteValue")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(13,23,A.paymentDetail.debitNote,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(16,26,"PaymentDetail.CreditNoteValue")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(19,28,A.paymentDetail.creditNote,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(22,31,"PaymentDetail.ApprovedValueBeforeTax")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(25,33,A.paymentDetail.amountWithoutTax,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(28,36,"PaymentDetail.WithholdingTax")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(31,38,A.paymentDetail.sourceWithholding,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(34,41,"PaymentDetail.Ica")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(37,43,A.paymentDetail.icaWithholding,"1.0-0")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(40,46,"PaymentDetail.Upd")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(43,48,A.paymentDetail.updCollection,"1.0-0")," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(48,51,"PaymentDetail.AmountDue")),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" $ ",e.\u0275\u0275pipeBind2(52,53,A.paymentDetail.amountPaid,"1.0-0")," ")}}let cd=(()=>{class a{constructor(A,c,h,f,m){this._router=A,this._route=c,this._authService=h,this._translateService=f,this._paymentsService=m,this.totalPayment=0}ngOnInit(){this.currentUser=this._authService.getDocumentInfo(),this.payment=history.state.payment,this.month=history.state.month,this.getDetailPayment()}getDetailPayment(){this._paymentsService.getMyPaymentDetail(this.currentUser.documentType,this.currentUser.document,this.payment.paymentDocument).subscribe({next:A=>{this.paymentDetail=A.value},error:()=>{const A=this._translateService.instant("General.Titles.Error"),c=this._translateService.instant("General.Messages.TryAgainLater");Oe.v.Error(A,c)}})}goBack(){this._router.navigate(["../"],{relativeTo:this._route})}downloadExtract(){this._paymentsService.getPDFPaymentsDetails({documentType:this.currentUser.documentType,document:this.currentUser.document,paymentDocument:this.payment.paymentDocument}).subscribe()}static{this.\u0275fac=function(c){return new(c||a)(e.\u0275\u0275directiveInject(K.Router),e.\u0275\u0275directiveInject(K.ActivatedRoute),e.\u0275\u0275directiveInject(Ue.u),e.\u0275\u0275directiveInject(Ve.c$),e.\u0275\u0275directiveInject(ht))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-my-payment-detail"]],decls:34,vars:23,consts:[[1,"mb-2"],[1,"primary-color"],[1,"div-info","mt-4","mb-4"],[1,"row"],[1,"col-md-4","col-12","col-sm-12","text-center"],[1,"fs-18"],[1,"div-secondary","mt-4","mb-4"],[1,"col-md-12","d-flex","align-items-center","justify-content-center"],["type","button",1,"btn","btn-secondary","me-3",3,"click"],["type","button",1,"btn","btn-primary",3,"click"],[1,"bi","bi-download","me-2"],[1,"col-md-6","col-12","col-sm-12","mb-3"],[1,"col-md-6","col-12","col-sm-12","mb-3","text-end","text-end"],[1,"col-md-6","col-12","col-sm-12","mb-3","text-end"]],template:function(c,h){1&c&&(e.\u0275\u0275elementStart(0,"div")(1,"h1",0),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementStart(4,"span",1),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"div",2)(7,"div",3)(8,"div",4)(9,"b"),e.\u0275\u0275text(10),e.\u0275\u0275pipe(11,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"div",4)(13,"b"),e.\u0275\u0275text(14),e.\u0275\u0275pipe(15,"translate"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"div",4)(17,"b"),e.\u0275\u0275text(18),e.\u0275\u0275pipe(19,"translate"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275repeaterCreate(20,ld,10,3,"div",3,e.\u0275\u0275repeaterTrackByIndex),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"b",5),e.\u0275\u0275text(23),e.\u0275\u0275pipe(24,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(25,sl,53,56,"div",6),e.\u0275\u0275elementStart(26,"div",7)(27,"button",8),e.\u0275\u0275listener("click",function(){return h.goBack()}),e.\u0275\u0275text(28),e.\u0275\u0275pipe(29,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(30,"button",9),e.\u0275\u0275listener("click",function(){return h.downloadExtract()}),e.\u0275\u0275element(31,"i",10),e.\u0275\u0275text(32),e.\u0275\u0275pipe(33,"translate"),e.\u0275\u0275elementEnd()()()),2&c&&(e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(3,9,"PaymentDetail.Title")," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(h.month),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(11,11,"PaymentDetail.RelatedInvoices"),":"),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(15,13,"PaymentDetail.RegisteredBank"),":"),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("",e.\u0275\u0275pipeBind1(19,15,"PaymentDetail.RegisteredAccount"),":"),e.\u0275\u0275advance(2),e.\u0275\u0275repeater(h.paymentDetail.paymentInvoicesHeader),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(24,17,"PaymentDetail.SubTitle")),e.\u0275\u0275advance(2),e.\u0275\u0275conditional(25,h.paymentDetail?25:-1),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(29,19,"General.Buttons.Back")," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",e.\u0275\u0275pipeBind1(33,21,"General.Buttons.DownloadExtract")," "))},dependencies:[Ve.D9,N.DecimalPipe],encapsulation:2})}}return a})();var ya=L(8050);const ic=[{path:"",children:[{path:"",component:zt},{path:be.D.MY_BILLS,title:Cn.n.MY_BILLS,canActivate:[ya.R],children:[{path:"",component:ui,resolve:{invoices:(a,o)=>{let A=(0,e.inject)(_e);const h=(0,e.inject)(Ue.u).getDocumentInfo();return A.getInvoices({DocumentType:h.documentType,Document:h.document,CountInvoice:6}).pipe((0,_t.T)(m=>m.value),(0,Zl.W)(()=>(0,Xc.of)([])))}}},{path:be.D.INVOICE_DETAIL,component:ft,title:Cn.n.DETAIL,canActivate:[ya.R]}]},{path:be.D.RATES_AND_CUPS,title:Cn.n.RATES_AND_CUPS,canActivate:[ya.R],children:[{path:"",component:Te},{path:be.D.OUR_RATES,component:ed,title:Cn.n.RATES,resolve:{prepaidPlans:(a,o)=>{let A=(0,e.inject)(Ue.u),c=(0,e.inject)(ms.$);const h=A.getDocumentInfo();return c.getPrepaidPlans(h.documentType,h.document).pipe((0,_t.T)(f=>f.value))}}},{path:be.D.CUPS,component:_s,title:Cn.n.CUPS,resolve:{specialtiesByProvider:(a,o)=>{let A=(0,e.inject)(ms.$),c=(0,e.inject)(Ue.u),h=(0,e.inject)(Ve.c$);const f=c.getDocumentInfo();return A.getSpecialtiesByProvider(f.documentType,f.document).pipe((0,_t.T)(m=>{let{specialties:_}=m.value;return _=_.length>1?[..._,{code:yt.h.ALL,name:h.instant("SpecialtiesAll")}]:_,{...m.value,specialties:_}}))}}}]},{path:be.D.GROSSES,component:nc,title:Cn.n.GROSSES,canActivate:[ya.R]},{path:be.D.MY_PAYMENTS,title:Cn.n.MY_PAYMENTS,canActivate:[ya.R],children:[{path:"",component:it},{path:be.D.PAYMENT_DETAIL,component:cd,title:Cn.n.DETAIL,canActivate:[ya.R]}]}
129,{path:be.D.PILA_CALCULATOR,component:Ju,title:Cn.n.PILA_CALCULATOR,canActivate:[ya.R]}]}];let rc=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:a})}static{this.\u0275inj=e.\u0275\u0275defineInjector({imports:[K.RouterModule.forChild(ic),K.RouterModule]})}}return a})();var ud=L(3268),Ac=L(7522),Ud=L(6941),iu=L(7579),ru=L(2075),dd=L(7714),hd=L(6782),Qd=L(3035),fd=L(398),Au=L(1443),au=L(6283),pd=L(6707),gd=L(7562);(0,N.registerLocaleData)(Ac.A,"es");let ou=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:a})}static{this.\u0275inj=e.\u0275\u0275defineInjector({providers:[{provide:e.LOCALE_ID,useValue:"es"}],imports:[Ud.D,iu.D,we.i,ru.G,dd.O,hd.$,Mi.f,Qd.g,en.F,fd.z,mi.e,ne.X1,ne.YN,Cr.w,Au.D,au.f,pd.G,gd.d,ud.E,Gt.L,N.CommonModule,rc,ne.YN,ud.E,ne.X1,en.F,zl.n8,Gt.L,Wc]})}}return a})()},8993:(on,bt,L)=>{L.d(bt,{G:()=>e});var e=function(N){return N[N.LASST_INVOICE=0]="LASST_INVOICE",N[N.NUMBER_INVOICE=1]="NUMBER_INVOICE",N[N.MONTH=2]="MONTH",N}(e||{})},4849:(on,bt,L)=>{L.d(bt,{$:()=>Ve});var e=L(2331),K=L(4875),et=L(319),Ae=L(7726),tt=L(2226),Ue=L(8993);let Ve=(()=>{class Ke{constructor(){this.API_URL=`${tt.T.API_URL_PROVIDER}/api/v1`,this._http=(0,e.inject)(K.k),this._authService=(0,e.inject)(et.u)}getSpecialtiesByProvider(Oe,be){return this._http.get(`${this.API_URL}/providers/specialties?documentType=${Oe}&document=${be}`)}getCupsByProviderAndSpecialty(Oe,be){return this._http.get(`${this.API_URL}/providers/${Oe}/specialties/${be}/cups`)}getCupsByProvider(Oe){return this._http.get(`${this.API_URL}/providers/${Oe}/cups`)}getPrepaidPlans(Oe,be){return this._http.get(`${this.API_URL}/providers/${Oe}-${be}/prepaid-plans`)}getWithholdingCertificate(Oe){let be=this._authService.getDocumentInfo();return this._http.get(`${this.API_URL}/certificates/withholding_certificate/${Oe}`,{documentType:be.documentType,document:be.document})}downloadWithholdingCertificate(Oe,be){let ht=this._authService.getDocumentInfo();return be.document=ht.document,this._http.get(`${this.API_URL}/certificates/withholding_certificate/${Oe}/download`,be,!0)}validateServiceProvisionCertificate(Oe){let be=this._authService.getDocumentInfo();return this._http.get(`${this.API_URL}/certificates/service_provision/${Oe}/validate`,{documentType:be.documentType,document:be.document})}downloadServiceProvisionCertificate(Oe){let be=this._authService.getDocumentInfo();return this._http.get(`${this.API_URL}/certificates/service_provision/${Oe}/download`,{documentType:be.documentType,document:be.document},!0,!0)}getProceduredRates(Oe,be,ht,ne){let Xe=`${this.API_URL}/providers/${Oe}-${be}/prepaid-plans/${ht}/procedures-rates`;return ne&&""!==ne&&(Xe=`${Xe}?search=${ne}`),this._http.get(Xe)}getInvoicesWitDenials(Oe,be,ht){let ne=`${this.API_URL}/invoices/glosas?documentType=${Oe}&document=${be}`;switch(ht.searchBy){case Ue.G.LASST_INVOICE:break;case Ue.G.NUMBER_INVOICE:ne=`${ne}&invoiceNumber=${ht.invoiceNumber}`;break;case Ue.G.MONTH:ne=`${ne}&monthNumber=${ht.filingMonth?.year}${ht.filingMonth?.month}`}return this._http.get(ne)}getCardPass(){return this._http.get(`${this.API_URL}/cardpass`)}getCardPassDownload(Oe){return this._http.get(`${this.API_URL}/cardpass/download/${Oe}`,null,!0,!0)}getNovelties(Oe,be){let ht=Ae.K.encryptData(be);return this._http.get(`${this.API_URL}/novelties/get_requests`,{documentType:Oe,document:ht})}getDataProvider(Oe,be){let ht=Ae.K.encryptData(be);return this._http.get(`${this.API_URL}/providers/data_provider`,{documentType:Oe,document:ht})}addNoveltyRequest(Oe){return this._http.postFormData(`${this.API_URL}/novelties/add_request`,Oe)}getListCie(Oe,be){let ht=`${this.API_URL}/listcie`;return Oe&&(ht=`${ht}?Code=${Oe}`),be&&(ht=`${ht}?Description=${be}`),this._http.get(ht)}createProviderDocumentManager(Oe){return this._http.postFormData(`${this.API_URL}/providers/create_provider_document_manager`,Oe)}getTokenKey(Oe,be){return this._http.get(`${this.API_URL}/professionalservice/get_link_settle_of_medical_bills?documentType=${Oe}&document=${be}`)}static{this.\u0275fac=function(be){return new(be||Ke)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}}return Ke})()},7239:function(on){on.exports=function(){"use strict";var bt=function(d,n){return(bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(i[r]=t[r])})(d,n)};function L(d,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=d}bt(d,n),d.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var e=function(){return e=Object.assign||function(n){for(var i,t=1,r=arguments.length;t<r;t++)for(var s in i=arguments[t])Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s]);return n},e.apply(this,arguments)};
vendor: 4,492 bytes, line 129
129function N(d,n,i,t){return new(i||(i=Promise))(function(s,g){function b(C){try{v(t.next(C))}catch(D){g(D)}}function l(C){try{v(t.throw(C))}catch(D){g(D)}}function v(C){C.done?s(C.value):function r(s){return s instanceof i?s:new i(function(g){g(s)})}(C.value).then(b,l)}v((t=t.apply(d,n||[])).next())})}function K(d,n){var t,r,s,g,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return g={next:b(0),throw:b(1),return:b(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function b(v){return function(C){return function l(v){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,r&&(s=2&v[0]?r.return:v[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,v[1])).done)return s;switch(r=0,s&&(v=[2&v[0],s.value]),v[0]){case 0:case 1:s=v;break;case 4:return i.label++,{value:v[1],done:!1};case 5:i.label++,r=v[1],v=[0];continue;case 7:v=i.ops.pop(),i.trys.pop();continue;default:if(!(s=(s=i.trys).length>0&&s[s.length-1])&&(6===v[0]||2===v[0])){i=0;continue}if(3===v[0]&&(!s||v[1]>s[0]&&v[1]<s[3])){i.label=v[1];break}if(6===v[0]&&i.label<s[1]){i.label=s[1],s=v;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(v);break}s[2]&&i.ops.pop(),i.trys.pop();continue}v=n.call(d,i)}catch(C){v=[6,C],r=0}finally{t=s=0}if(5&v[0])throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}([v,C])}}}function et(d,n,i){if(i||2===arguments.length)for(var s,t=0,r=n.length;t<r;t++)(s||!(t in n))&&(s||(s=Array.prototype.slice.call(n,0,t)),s[t]=n[t]);return d.concat(s||n)}for(var Ae=function(){function d(n,i,t,r){this.left=n,this.top=i,this.width=t,this.height=r}return d.prototype.add=function(n,i,t,r){return new d(this.left+n,this.top+i,this.width+t,this.height+r)},d.fromClientRect=function(n,i){return new d(i.left+n.windowBounds.left,i.top+n.windowBounds.top,i.width,i.height)},d.fromDOMRectList=function(n,i){var t=Array.from(i).find(function(r){return 0!==r.width});return t?new d(t.left+n.windowBounds.left,t.top+n.windowBounds.top,t.width,t.height):d.EMPTY},d.EMPTY=new d(0,0,0,0),d}(),tt=function(d,n){return Ae.fromClientRect(d,n.getBoundingClientRect())},Ve=function(d){for(var n=[],i=0,t=d.length;i<t;){var r=d.charCodeAt(i++);if(r>=55296&&r<=56319&&i<t){var s=d.charCodeAt(i++);56320==(64512&s)?n.push(((1023&r)<<10)+(1023&s)+65536):(n.push(r),i--)}else n.push(r)}return n},Ke=function(){for(var d=[],n=0;n<arguments.length;n++)d[n]=arguments[n];if(String.fromCodePoint)return String.fromCodePoint.apply(String,d);var i=d.length;if(!i)return"";for(var t=[],r=-1,s="";++r<i;){var g=d[r];g<=65535?t.push(g):t.push(55296+((g-=65536)>>10),g%1024+56320),(r+1===i||t.length>16384)&&(s+=String.fromCharCode.apply(String,t),t.length=0)}return s},ft="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oe=typeof Uint8Array>"u"?[]:new Uint8Array(256),be=0;be<64;be++)Oe[ft.charCodeAt(be)]=be;for(var ht="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ne=typeof Uint8Array>"u"?[]:new Uint8Array(256),Xe=0;Xe<64;Xe++)ne[ht.charCodeAt(Xe)]=Xe;for(var qr=function(d,n,i){return d.slice?d.slice(n,i):new Uint16Array(Array.prototype.slice.call(d,n,i))},ia=function(){function d(n,i,t,r,s,g){this.initialValue=n,this.errorValue=i,this.highStart=t,this.highValueIndex=r,this.index=s,this.data=g}return d.prototype.get=function(n){var i;if(n>=0){if(n<55296||n>56319&&n<=65535)return this.data[i=((i=this.index[n>>5])<<2)+(31&n)];if(n<=65535)return this.data[i=((i=this.index[2048+(n-55296>>5)])<<2)+(31&n)];if(n<this.highStart)return i=this.index[i=2080+(n>>11)],this.data[i=((i=this.index[i+=n>>5&63])<<2)+(31&n)];if(n<=1114111)return this.data[this.highValueIndex]}return this.errorValue},d}(),Bo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_A=typeof Uint8Array>"u"?[]:new Uint8Array(256),sA=0;sA<64;sA++)_A[Bo.charCodeAt(sA)]=sA;var i,t,r,g,b,Bn=10,Oi=13,Fi=15,bi=17,Lr=18,ii=19,vn=20,kA=21,VA=22,Ei=24,gn=25,fr=26,Nn=27,$n=28,yi=30,Fr=32,Yi=33,ar=34,Li=35,qi=37,Xr=38,GA=39,KA=40,bA=42,Ra=[9001,65288],dn="\xd7",zA=(i=function(d){var t,s,g,b,l,n=.75*d.length,i=d.length,r=0;"="===d[d.length-1]&&(n--,"="===d[d.length-2]&&n--);var v=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(n):new Array(n),C=Array.isArray(v)?v:new Uint8Array(v);for(t=0;t<i;t+=4)s=ne[d.charCodeAt(t)],g=ne[d.charCodeAt(t+1)],b=ne[d.charCodeAt(t+2)],l=ne[d.charCodeAt(t+3)],C[r++]=s<<2|g>>4,C[r++]=(15&g)<<4|b>>2,C[r++]=(3&b)<<6|63&l;return v}("
vendor: 5,502 bytes, line 129
129KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCI
vendor: 47,387 bytes, line 129
129IIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="
vendor: 37,827 bytes, line 129
129),t=Array.isArray(i)?function(d){for(var n=d.length,i=[],t=0;t<n;t+=4)i.push(d[t+3]<<24|d[t+2]<<16|d[t+1]<<8|d[t]);return i}(i):new Uint32Array(i),r=Array.isArray(i)?function(d){for(var n=d.length,i=[],t=0;t<n;t+=2)i.push(d[t+1]<<8|d[t]);return i}(i):new Uint16Array(i),g=qr(r,12,t[4]/2),b=2===t[5]?qr(r,(24+t[4])/2):function(d,n,i){return d.slice?d.slice(n,i):new Uint32Array(Array.prototype.slice.call(d,n,i))}(t,Math.ceil((24+t[4])/4)),new ia(t[0],t[1],t[2],t[3],g,b)),Di=[yi,36],cA=[1,2,3,5],xi=[Bn,8],sr=[Nn,fr],Pi=cA.concat(xi),yA=[Xr,GA,KA,ar,Li],Pr=[Fi,Oi],Er=function(d,n,i,t){var r=t[i];if(Array.isArray(d)?-1!==d.indexOf(r):d===r)for(var s=i;s<=t.length;){if((g=t[++s])===n)return!0;if(g!==Bn)break}if(r===Bn)for(s=i;s>0;){var b=t[--s];if(Array.isArray(d)?-1!==d.indexOf(b):d===b)for(var l=i;l<=t.length;){var g;if((g=t[++l])===n)return!0;if(g!==Bn)break}if(b!==Bn)break}return!1},Zr=function(d,n){for(var i=d;i>=0;){var t=n[i];if(t!==Bn)return t;i--}return 0},yo=function(d,n,i,t,r){if(0===i[t])return dn;var s=t-1;if(Array.isArray(r)&&!0===r[s])return dn;var g=s-1,b=s+1,l=n[s],v=g>=0?n[g]:0,C=n[b];if(2===l&&3===C)return dn;if(-1!==cA.indexOf(l))return"!";if(-1!==cA.indexOf(C)||-1!==xi.indexOf(C))return dn;if(8===Zr(s,n))return"\xf7";if(11===zA.get(d[s])||(l===Fr||l===Yi)&&11===zA.get(d[b])||7===l||7===C||9===l||-1===[Bn,Oi,Fi].indexOf(l)&&9===C||-1!==[bi,Lr,ii,Ei,$n].indexOf(C)||Zr(s,n)===VA||Er(23,VA,s,n)||Er([bi,Lr],kA,s,n)||Er(12,12,s,n))return dn;if(l===Bn)return"\xf7";if(23===l||23===C)return dn;if(16===C||16===l)return"\xf7";if(-1!==[Oi,Fi,kA].indexOf(C)||14===l||36===v&&-1!==Pr.indexOf(l)||l===$n&&36===C||C===vn||-1!==Di.indexOf(C)&&l===gn||-1!==Di.indexOf(l)&&C===gn||l===Nn&&-1!==[qi,Fr,Yi].indexOf(C)||-1!==[qi,Fr,Yi].indexOf(l)&&C===fr||-1!==Di.indexOf(l)&&-1!==sr.indexOf(C)||-1!==sr.indexOf(l)&&-1!==Di.indexOf(C)||-1!==[Nn,fr].indexOf(l)&&(C===gn||-1!==[VA,Fi].indexOf(C)&&n[b+1]===gn)||-1!==[VA,Fi].indexOf(l)&&C===gn||l===gn&&-1!==[gn,$n,Ei].indexOf(C))return dn;if(-1!==[gn,$n,Ei,bi,Lr].indexOf(C))for(var D=s;D>=0;){if((M=n[D])===gn)return dn;if(-1===[$n,Ei].indexOf(M))break;D--}if(-1!==[Nn,fr].indexOf(C))for(D=-1!==[bi,Lr].indexOf(l)?g:s;D>=0;){var M;if((M=n[D])===gn)return dn;if(-1===[$n,Ei].indexOf(M))break;D--}if(Xr===l&&-1!==[Xr,GA,ar,Li].indexOf(C)||-1!==[GA,ar].indexOf(l)&&-1!==[GA,KA].indexOf(C)||-1!==[KA,Li].indexOf(l)&&C===KA||-1!==yA.indexOf(l)&&-1!==[vn,fr].indexOf(C)||-1!==yA.indexOf(C)&&l===Nn||-1!==Di.indexOf(l)&&-1!==Di.indexOf(C)||l===Ei&&-1!==Di.indexOf(C)||-1!==Di.concat(gn).indexOf(l)&&C===VA&&-1===Ra.indexOf(d[b])||-1!==Di.concat(gn).indexOf(C)&&l===Lr)return dn;if(41===l&&41===C){for(var J=i[s],Z=1;J>0&&41===n[--J];)Z++;if(Z%2!=0)return dn}return l===Fr&&C===Yi?dn:"\xf7"},ra=function(d,n){n||(n={lineBreak:"normal",wordBreak:"normal"});var i=function(d,n){void 0===n&&(n="strict");var i=[],t=[],r=[];return d.forEach(function(s,g){var b=zA.get(s);if(b>50?(r.push(!0),b-=50):r.push(!1),-1!==["normal","auto","loose"].indexOf(n)&&-1!==[8208,8211,12316,12448].indexOf(s))return t.push(g),i.push(16);if(4===b||11===b){if(0===g)return t.push(g),i.push(yi);var l=i[g-1];return-1===Pi.indexOf(l)?(t.push(t[g-1]),i.push(l)):(t.push(g),i.push(yi))}return t.push(g),31===b?i.push("strict"===n?kA:qi):b===bA||29===b?i.push(yi):43===b?i.push(s>=131072&&s<=196605||s>=196608&&s<=262141?qi:yi):void i.push(b)}),[t,i,r]}(d,n.lineBreak),t=i[0],r=i[1],s=i[2];return("break-all"===n.wordBreak||"break-word"===n.wordBreak)&&(r=r.map(function(b){return-1!==[gn,yi,bA].indexOf(b)?qi:b})),[t,r,"keep-all"===n.wordBreak?s.map(function(b,l){return b&&d[l]>=19968&&d[l]<=40959}):void 0]},Aa=function(){function d(n,i,t,r){this.codePoints=n,this.required="!"===i,this.start=t,this.end=r}return d.prototype.slice=function(){return Ke.apply(void 0,this.codePoints.slice(this.start,this.end))},d}(),hi=function(d){return d>=48&&d<=57},Ja=function(d){return hi(d)||d>=65&&d<=70||d>=97&&d<=102},Dr=function(d){return 10===d||9===d||32===d},Ya=function(d){return function(d){return function(d){return d>=97&&d<=122}(d)||function(d){return d>=65&&d<=90}(d)}(d)||function(d){return d>=128}(d)||95===d},js=function(d){return Ya(d)||hi(d)||45===d},Ic=function(d){return d>=0&&d<=8||11===d||d>=14&&d<=31||127===d},xA=function(d,n){return 92===d&&10!==n},is=function(d,n,i){return 45===d?Ya(n)||xA(n,i):!!Ya(d)||!(92!==d||!xA(d,n))},rs=function(d,n,i){return 43===d||45===d?!!hi(n)||46===n&&hi(i):hi(46===d?n:d)},Gs=function(d){var n=0,i=1;(43===d[n]||45===d[n])&&(45===d[n]&&(i=-1),n++);for(var t=[];hi(d[n]);)t.push(d[n++]);var r=t.length?parseInt(Ke.apply(void 0,t),10):0;46===d[n]&&n++;for(var s=[];hi(d[n]);)s.push(d[n++]);var g=s.length,b=g?parseInt(Ke.apply(void 0,s),10):0;(69===d[n]||101===d[n])&&n++;var l=1;(43===d[n]||45===d[n])&&(45===d[n]&&(l=-1),n++);for(var v=[];hi(d[n]);)v.push(d[n++]);var C=v.length?parseInt(Ke.apply(void 0,v),10):0;return i*(r+b*Math.pow(10,-g))*Math.pow(10,l*C)},Sc={type:2},Nc={type:3},Tc={type:4},wu={type:13},qa={type:8},Uc={type:21},Ks={type:9},$t={type:10},Io={type:11},Rn={type:12},Ws={type:14},So={type:23},Xa={type:1},da={type:25},zs={type:24},ha={type:26},As={type:27},as={type:28},os={type:29},Xi={type:31},Ii={type:32},Si=function(){function d(){this._value=[]}return d.prototype.write=function(n){this._value=this._value.concat(Ve(n))},d.prototype.read=function(){for(var n=[],i=this.consumeToken();i!==Ii;)n.push(i),i=this.consumeToken();return n},d.prototype.consumeToken=function(){var n=this.consumeCodePoint();switch(n){case 34:return this.consumeStringToken(34);case 35:var i=this.peekCodePoint(0),t=this.peekCodePoint(1),r=this.peekCodePoint(2);if(js(i)||xA(t,r)){var s=is(i,t,r)?2:1;return{type:5,value:this.consumeName(),flags:s}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),wu;break;case 39:return this.consumeStringToken(39);case 40:return Sc;case 41:return Nc;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ws;break;case 43:if(rs(n,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(n),this.consumeNumericToken();break;case 44:return Tc;case 45:var b=n,l=this.peekCodePoint(0),v=this.peekCodePoint(1);if(rs(b,l,v))return this.reconsumeCodePoint(n),this.consumeNumericToken();if(is(b,l,v))return this.reconsumeCodePoint(n),this.consumeIdentLikeToken();if(45===l&&62===v)return this.consumeCodePoint(),this.consumeCodePoint(),zs;break;case 46:if(rs(n,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(n),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var C=this.consumeCodePoint();if(42===C&&47===(C=this.consumeCodePoint()))return this.consumeToken();if(-1===C)return this.consumeToken()}break;case 58:return ha;case 59:return As;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),da;break;case 64:var D=this.peekCodePoint(0),M=this.peekCodePoint(1),J=this.peekCodePoint(2);if(is(D,M,J))return{type:7,value:this.consumeName()};break;case 91:return as;case 92:if(xA(n,this.peekCodePoint(0)))return this.reconsumeCodePoint(n),this.consumeIdentLikeToken();break;case 93:return os;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),qa;break;case 123:return Io;case 125:return Rn;case 117:case 85:var Z=this.peekCodePoint(0),ge=this.peekCodePoint(1);return 43===Z&&(Ja(ge)||63===ge)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(n),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ks;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),Uc;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),$t;break;case-1:return Ii}return Dr(n)?(this.consumeWhiteSpace(),Xi):hi(n)?(this.reconsumeCodePoint(n),this.consumeNumericToken()):Ya(n)?(this.reconsumeCodePoint(n),this.consumeIdentLikeToken()):{type:6,value:Ke(n)}},d.prototype.consumeCodePoint=function(){var n=this._value.shift();return typeof n>"u"?-1:n},d.prototype.reconsumeCodePoint=function(n){this._value.unshift(n)},d.prototype.peekCodePoint=function(n){return n>=this._value.length?-1:this._value[n]},d.prototype.consumeUnicodeRangeToken=function(){for(var n=[],i=this.consumeCodePoint();Ja(i)&&n.length<6;)n.push(i),i=this.consumeCodePoint();for(var t=!1;63===i&&n.length<6;)n.push(i),i=this.consumeCodePoint(),t=!0;if(t)return{type:30,start:parseInt(Ke.apply(void 0,n.map(function(l){return 63===l?48:l})),16),end:parseInt(Ke.apply(void 0,n.map(function(l){return 63===l?70:l})),16)};var g=parseInt(Ke.apply(void 0,n),16);if(45===this.peekCodePoint(0)&&Ja(this.peekCodePoint(1))){this.consumeCodePoint(),i=this.consumeCodePoint();for(var b=[];Ja(i)&&b.length<6;)b.push(i),i=this.consumeCodePoint();return{type:30,start:g,end:parseInt(Ke.apply(void 0,b),16)}}return{type:30,start:g,end:g}},d.prototype.consumeIdentLikeToken=function(){var n=this.consumeName();return"url"===n.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:n}):{type:20,value:n}},d.prototype.consumeUrlToken=function(){var n=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};var i=this.peekCodePoint(0);if(39===i||34===i){var t=this.consumeStringToken(this.consumeCodePoint());return 0===t.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),So)}for(;;){var r=this.consumeCodePoint();if(-1===r||41===r)return{type:22,value:Ke.apply(void 0,n)};if(Dr(r))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:Ke.apply(void 0,n)}):(this.consumeBadUrlRemnants(),So);if(34===r||39===r||40===r||Ic(r))return this.consumeBadUrlRemnants(),So;if(92===r){if(!xA(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),So;n.push(this.consumeEscapedCodePoint())}else n.push(r)}},d.prototype.consumeWhiteSpace=function(){for(;Dr(this.peekCodePoint(0));)this.consumeCodePoint()},d.prototype.consumeBadUrlRemnants=function(){for(;;){var n=this.consumeCodePoint();if(41===n||-1===n)return;xA(n,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},d.prototype.consumeStringSlice=function(n){for(var t="";n>0;){var r=Math.min(5e4,n);t+=Ke.apply(void 0,this._value.splice(0,r)),n-=r}return this._value.shift(),t},d.prototype.consumeStringToken=function(n){for(var i="",t=0;;){var r=this._value[t];if(-1===r||void 0===r||r===n)return{type:0,value:i+=this.consumeStringSlice(t)};if(10===r)return this._value.splice(0,t),Xa;if(92===r){var s=this._value[t+1];-1!==s&&void 0!==s&&(10===s?(i+=this.consumeStringSlice(t),t=-1,this._value.shift()):xA(r,s)&&(i+=this.consumeStringSlice(t),i+=Ke(this.consumeEscapedCodePoint()),t=-1))}t++}},d.prototype.consumeNumber=function(){var n=[],i=4,t=this.peekCodePoint(0);for((43===t||45===t)&&n.push(this.consumeCodePoint());hi(this.peekCodePoint(0));)n.push(this.consumeCodePoint());t=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===t&&hi(r))for(n.push(this.consumeCodePoint(),this.consumeCodePoint()),i=8;hi(this.peekCodePoint(0));)n.push(this.consumeCodePoint());t=this.peekCodePoint(0),r=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((69===t||101===t)&&((43===r||45===r)&&hi(s)||hi(r)))for(n.push(this.consumeCodePoint(),this.consumeCodePoint()),i=8;hi(this.peekCodePoint(0));)n.push(this.consumeCodePoint());return[Gs(n),i]},d.prototype.consumeNumericToken=function(){var n=this.consumeNumber(),i=n[0],t=n[1],r=this.peekCodePoint(0),s=this.peekCodePoint(1),g=this.peekCodePoint(2);return is(r,s,g)?{type:15,number:i,flags:t,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:i,flags:t}):{type:17,number:i,flags:t}},d.prototype.consumeEscapedCodePoint=function(){var n=this.consumeCodePoint();if(Ja(n)){for(var i=Ke(n);Ja(this.peekCodePoint(0))&&i.length<6;)i+=Ke(this.consumeCodePoint());Dr(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(i,16);return 0===t||function(d){return d>=55296&&d<=57343}(t)||t>1114111?65533:t}return-1===n?65533:n},d.prototype.consumeName=function(){for(var n="";;){var i=this.consumeCodePoint();if(js(i))n+=Ke(i);else{if(!xA(i,this.peekCodePoint(0)))return this.reconsumeCodePoint(i),n;n+=Ke(this.consumeEscapedCodePoint())}}},d}(),Ni=function(){function d(n){this._tokens=n}return d.create=function(n){var i=new Si;return i.write(n),new d(i.read())},d.parseValue=function(n){return d.create(n).parseComponentValue()},d.parseValues=function(n){return d.create(n).parseComponentValues()},d.prototype.parseComponentValue=function(){for(var n=this.consumeToken();31===n.type;)n=this.consumeToken();if(32===n.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(n);var i=this.consumeComponentValue();do{n=this.consumeToken()}while(31===n.type);if(32===n.type)return i;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},d.prototype.parseComponentValues=function(){for(var n=[];;){var i=this.consumeComponentValue();if(32===i.type)return n;n.push(i),n.push()}},d.prototype.consumeComponentValue=function(){var n=this.consumeToken();switch(n.type){case 11:case 28:case 2:return this.consumeSimpleBlock(n.type);case 19:return this.consumeFunction(n)}return n},d.prototype.consumeSimpleBlock=function(n){for(var i={type:n,values:[]},t=this.consumeToken();;){if(32===t.type||fa(t,n))return i;this.reconsumeToken(t),i.values.push(this.consumeComponentValue()),t=this.consumeToken()}},d.prototype.consumeFunction=function(n){for(var i={name:n.value,values:[],type:18};;){var t=this.consumeToken();if(32===t.type||3===t.type)return i;this.reconsumeToken(t),i.values.push(this.consumeComponentValue())}},d.prototype.consumeToken=function(){var n=this._tokens.shift();return typeof n>"u"?Ii:n},d.prototype.reconsumeToken=function(n){this._tokens.unshift(n)},d}(),I=function(d){return 15===d.type},S=function(d){return 17===d.type},w=function(d){return 20===d.type},k=function(d){return 0===d.type},se=function(d,n){return w(d)&&d.value===n},Pt=function(d){return 31!==d.type},tn=function(d){return 31!==d.type&&4!==d.type},Vn=function(d){var n=[],i=[];return d.forEach(function(t){if(4===t.type){if(0===i.length)throw new Error("Error parsing function args, zero tokens for arg");return n.push(i),void(i=[])}31!==t.type&&i.push(t)}),i.length&&n.push(i),n},fa=function(d,n){return 11===n&&12===d.type||28===n&&29===d.type||2===n&&3===d.type},kr=function(d){return 17===d.type||15===d.type},Jn=function(d){return 16===d.type||kr(d)},Za=function(d){return d.length>1?[d[0],d[1]]:[d[0]]},ki={type:17,number:0,flags:4},No={type:16,number:50,flags:4},JA={type:16,number:100,flags:4},uA=function(d,n,i){var t=d[0],r=d[1];return[Tn(t,n),Tn(typeof r<"u"?r:t,i)]},Tn=function(d,n){if(16===d.type)return d.number/100*n;if(I(d))switch(d.unit){case"rem":case"em":return 16*d.number;default:return d.number}return d.number},YA_parse=function(d,n){if(15===n.type)switch(n.unit){case"deg":return Math.PI*n.number/180;case"grad":return Math.PI/200*n.number;case"rad":return n.number;case"turn":return 2*Math.PI*n.number}throw new Error("Unsupported angle type")},an=function(d){return 15===d.type&&("deg"===d.unit||"grad"===d.unit||"rad"===d.unit||"turn"===d.unit)},qA=function(d){switch(d.filter(w).map(function(i){return i.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ki,ki];case"to top":case"bottom":return qn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ki,JA];case"to right":case"left":return qn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[JA,JA];case"to bottom":case"top":return qn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[JA,ki];case"to left":case"right":return qn(270)}return 0},qn=function(d){return Math.PI*d/180},XA_parse=function(d,n){if(18===n.type){var i=Cu[n.name];if(typeof i>"u")throw new Error('Attempting to parse an unsupported color function "'+n.name+'"');return i(d,n.values)}if(5===n.type){if(3===n.value.length){var t=n.value.substring(0,1),r=n.value.substring(1,2),s=n.value.substring(2,3);return ga(parseInt(t+t,16),parseInt(r+r,16),parseInt(s+s,16),1)}if(4===n.value.length){t=n.value.substring(0,1),r=n.value.substring(1,2),s=n.value.substring(2,3);var g=n.value.substring(3,4);return ga(parseInt(t+t,16),parseInt(r+r,16),parseInt(s+s,16),parseInt(g+g,16)/255)}if(6===n.value.length)return t=n.value.substring(0,2),r=n.value.substring(2,4),s=n.value.substring(4,6),ga(parseInt(t,16),parseInt(r,16),parseInt(s,16),1);if(8===n.value.length)return t=n.value.substring(0,2),r=n.value.substring(2,4),s=n.value.substring(4,6),g=n.value.substring(6,8),ga(parseInt(t,16),parseInt(r,16),parseInt(s,16),parseInt(g,16)/255)}if(20===n.type){var b=dA[n.value.toUpperCase()];if(typeof b<"u")return b}return dA.TRANSPARENT},Zi=function(d){return!(255&d)},Vi=function(d){var n=255&d,i=255&d>>8,t=255&d>>16,r=255&d>>24;return n<255?"rgba("+r+","+t+","+i+","+n/255+")":"rgb("+r+","+t+","+i+")"},ga=function(d,n,i,t){return(d<<24|n<<16|i<<8|Math.round(255*t))>>>0},Qc=function(d,n){if(17===d.type)return d.number;if(16===d.type){var i=3===n?1:255;return 3===n?d.number/100*i:Math.round(d.number/100*i)}return 0},fi=function(d,n){var i=n.filter(tn);if(3===i.length){var t=i.map(Qc);return ga(t[0],t[1],t[2],1)}if(4===i.length){var b=i.map(Qc);return ga(b[0],b[1],b[2],b[3])}return 0};function Ai(d,n,i){return i<0&&(i+=1),i>=1&&(i-=1),i<1/6?(n-d)*i*6+d:i<.5?n:i<2/3?6*(n-d)*(2/3-i)+d:d}var pi=function(d,n){var i=n.filter(tn),t=i[0],r=i[1],s=i[2],g=i[3],b=(17===t.type?qn(t.number):YA_parse(d,t))/(2*Math.PI),l=Jn(r)?r.number/100:0,v=Jn(s)?s.number/100:0,C=typeof g<"u"&&Jn(g)?Tn(g,1):1;if(0===l)return ga(255*v,255*v,255*v,1);var D=v<=.5?v*(l+1):v+l-v*l,M=2*v-D,J=Ai(M,D,b+1/3),Z=Ai(M,D,b),ge=Ai(M,D,b-1/3);return ga(255*J,255*Z,255*ge,C)},Cu={hsl:pi,hsla:pi,rgb:fi,rgba:fi},ss=function(d,n){return XA_parse(d,Ni.create(n).parseComponentValue())},dA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Js={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(d,n){return n.map(function(i){if(w(i))switch(i.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Fu={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ys=function(d,n){var i=XA_parse(d,n[0]),t=n[1];return t&&Jn(t)?{color:i,stop:t}:{color:i,stop:null}},Mc=function(d,n){var i=d[0],t=d[d.length-1];null===i.stop&&(i.stop=ki),null===t.stop&&(t.stop=JA);for(var r=[],s=0,g=0;g<d.length;g++){var b=d[g].stop;if(null!==b){var l=Tn(b,n);r.push(l>s?l:s),s=l}else r.push(null)}var v=null;for(g=0;g<r.length;g++){var C=r[g];if(null===C)null===v&&(v=g);else if(null!==v){for(var D=g-v,J=(C-r[v-1])/(D+1),Z=1;Z<=D;Z++)r[v+Z-1]=J*Z;v=null}}return d.map(function(ge,Pe){return{color:ge.color,stop:Math.max(Math.min(1,r[Pe]/n),0)}})},Oc=function(d,n,i){var t="number"==typeof d?d:function(d,n,i){var t=n/2,r=i/2,s=Tn(d[0],n)-t,g=r-Tn(d[1],i);return(Math.atan2(g,s)+2*Math.PI)%(2*Math.PI)}(d,n,i),r=Math.abs(n*Math.sin(t))+Math.abs(i*Math.cos(t)),s=n/2,g=i/2,b=r/2,l=Math.sin(t-Math.PI/2)*b,v=Math.cos(t-Math.PI/2)*b;return[r,s-v,s+v,g-l,g+l]},Vr=function(d,n){return Math.sqrt(d*d+n*n)},DA=function(d,n,i,t,r){return[[0,0],[0,n],[d,0],[d,n]].reduce(function(g,b){var C=Vr(i-b[0],t-b[1]);return(r?C<g.optimumDistance:C>g.optimumDistance)?{optimumCorner:b,optimumDistance:C}:g},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},Ir=function(d,n){var i=qn(180),t=[];return Vn(n).forEach(function(r,s){if(0===s){var g=r[0];if(20===g.type&&-1!==["top","left","right","bottom"].indexOf(g.value))return void(i=qA(r));if(an(g))return void(i=(YA_parse(d,g)+qn(270))%qn(360))}var b=Ys(d,r);t.push(b)}),{angle:i,stops:t,type:1}},To="closest-side",Uo="farthest-side",qs="closest-corner",ji="farthest-corner",eo="ellipse",us="contain",Qo=function(d,n){var i=0,t=3,r=[],s=[];return Vn(n).forEach(function(g,b){var l=!0;if(0===b?l=g.reduce(function(C,D){if(w(D))switch(D.value){case"center":return s.push(No),!1;case"top":case"left":return s.push(ki),!1;case"right":case"bottom":return s.push(JA),!1}else if(Jn(D)||kr(D))return s.push(D),!1;return C},l):1===b&&(l=g.reduce(function(C,D){if(w(D))switch(D.value){case"circle":return i=0,!1;case eo:return i=1,!1;case us:case To:return t=0,!1;case Uo:return t=1,!1;case qs:return t=2,!1;case"cover":case ji:return t=3,!1}else if(kr(D)||Jn(D))return Array.isArray(t)||(t=[]),t.push(D),!1;return C},l)),l){var v=Ys(d,g);r.push(v)}}),{size:t,shape:i,stops:r,position:s,type:2}},Su_parse=function(d,n){if(22===n.type){var i={url:n.value,type:0};return d.cache.addImage(n.value),i}if(18===n.type){var t=kl[n.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported image function "'+n.name+'"');return t(d,n.values)}throw new Error("Unsupported image type "+n.type)};for(var kl={"linear-gradient":function(d,n){var i=qn(180),t=[];return Vn(n).forEach(function(r,s){if(0===s){var g=r[0];if(20===g.type&&"to"===g.value)return void(i=qA(r));if(an(g))return void(i=YA_parse(d,g))}var b=Ys(d,r);t.push(b)}),{angle:i,stops:t,type:1}},"-moz-linear-gradient":Ir,"-ms-linear-gradient":Ir,"-o-linear-gradient":Ir,"-webkit-linear-gradient":Ir,"radial-gradient":function(d,n){var i=0,t=3,r=[],s=[];return Vn(n).forEach(function(g,b){var l=!0;if(0===b){var v=!1;l=g.reduce(function(D,M){if(v)if(w(M))switch(M.value){case"center":return s.push(No),D;case"top":case"left":return s.push(ki),D;case"right":case"bottom":return s.push(JA),D}else(Jn(M)||kr(M))&&s.push(M);else if(w(M))switch(M.value){case"circle":return i=0,!1;case eo:return i=1,!1;case"at":return v=!0,!1;case To:return t=0,!1;case"cover":case Uo:return t=1,!1;case us:case qs:return t=2,!1;case ji:return t=3,!1}else if(kr(M)||Jn(M))return Array.isArray(t)||(t=[]),t.push(M),!1;return D},l)}if(l){var C=Ys(d,g);r.push(C)}}),{size:t,shape:i,stops:r,position:s,type:2}},"-moz-radial-gradient":Qo,"-ms-radial-gradient":Qo,"-o-radial-gradient":Qo,"-webkit-radial-gradient":Qo,"-webkit-gradient":function(d,n){var i=qn(180),t=[],r=1;return Vn(n).forEach(function(l,v){var C=l[0];if(0===v){if(w(C)&&"linear"===C.value)return void(r=1);if(w(C)&&"radial"===C.value)return void(r=2)}if(18===C.type)if("from"===C.name){var D=XA_parse(d,C.values[0]);t.push({stop:ki,color:D})}else if("to"===C.name)D=XA_parse(d,C.values[0]),t.push({stop:JA,color:D});else if("color-stop"===C.name){var M=C.values.filter(tn);if(2===M.length){D=XA_parse(d,M[1]);var J=M[0];S(J)&&t.push({stop:{type:16,number:100*J.number,flags:J.flags},color:D})}}}),1===r?{angle:(i+qn(180))%qn(360),stops:t,type:r}:{size:3,shape:0,stops:t,position:[],type:r}}},Nu={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(d,n){if(0===n.length)return[];var i=n[0];return 20===i.type&&"none"===i.value?[]:n.filter(function(t){return tn(t)&&function Lc(d){return!(20===d.type&&"none"===d.value||18===d.type&&!kl[d.name])}(t)}).map(function(t){return Su_parse(d,t)})}},Vl={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(d,n){return n.map(function(i){if(w(i))switch(i.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Tu={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(d,n){return Vn(n).map(function(i){return i.filter(Jn)}).map(Za)}},Uu={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(d,n){return Vn(n).map(function(i){return i.filter(w).map(function(t){return t.value}).join(" ")}).map(Pc)}},Pc=function(d){switch(d){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},no=function(d){return d.AUTO="auto",d.CONTAIN="contain",d.COVER="cover",d}(no||{}),ds={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(d,n){return Vn(n).map(function(i){return i.filter(Rc)})}},Rc=function(d){return w(d)||Jn(d)},hs=function(d){return{name:"border-"+d+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Sr=hs("top"),Qu=hs("right"),Mu=hs("bottom"),io=hs("left"),ai=function(d){return{name:"border-radius-"+d,initialValue:"0 0",prefix:!1,type:1,parse:function(n,i){return Za(i.filter(Jn))}}},gr=ai("top-left"),ma=ai("top-right"),Zs=ai("bottom-right"),ro=ai("bottom-left"),Mo=function(d){return{name:"border-"+d+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(n,i){switch(i){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Hc=Mo("top"),Ao=Mo("right"),kc=Mo("bottom"),Fd=Mo("left"),fs=function(d){return{name:"border-"+d+"-width",initialValue:"0",type:0,prefix:!1,parse:function(n,i){return I(i)?i.number:0}}},Vc=fs("top"),jl=fs("right"),mr=fs("bottom"),jr=fs("left"),IA={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},va={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(d,n){return"rtl"===n?1:0}},Ou={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(d,n){return n.filter(w).reduce(function(i,t){return i|Lu(t.value)},0)}},Lu=function(d){switch(d){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},hA={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(d,n){switch(n){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Pu={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(d,n){return 20===n.type&&"normal"===n.value?0:17===n.type||15===n.type?n.number:0}},el=function(d){return d.NORMAL="normal",d.STRICT="strict",d}(el||{}),Gl={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(d,n){return"strict"===n?el.STRICT:el.NORMAL}},jc={name:"line-height",initialValue:"normal",prefix:!1,type:4},Gc=function(d,n){return w(d)&&"normal"===d.value?1.2*n:17===d.type?n*d.number:Jn(d)?Tn(d,n):n},Ru={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(d,n){return 20===n.type&&"none"===n.value?null:Su_parse(d,n)}},ao={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(d,n){return"inside"===n?0:1}},ps={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(d,n){switch(n){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Kl=function(d){return{name:"margin-"+d,initialValue:"0",prefix:!1,type:4}},Hu=Kl("top"),ku=Kl("right"),Ed=Kl("bottom"),xd=Kl("left"),Vu={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(d,n){return n.filter(w).map(function(i){switch(i.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},Dd={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(d,n){return"break-word"===n?"break-word":"normal"}},gs=function(d){return{name:"padding-"+d,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Kc=gs("top"),tl=gs("right"),Wl=gs("bottom"),th=gs("left"),zl={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(d,n){switch(n){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Id={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(d,n){switch(n){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Sd={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(d,n){return 1===n.length&&se(n[0],"none")?[]:Vn(n).map(function(i){for(var t={color:dA.TRANSPARENT,offsetX:ki,offsetY:ki,blur:ki},r=0,s=0;s<i.length;s++){var g=i[s];kr(g)?(0===r?t.offsetX=g:1===r?t.offsetY=g:t.blur=g,r++):t.color=XA_parse(d,g)}return t})}},Nd={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(d,n){switch(n){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Td={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(d,n){if(20===n.type&&"none"===n.value)return null;if(18===n.type){var i=Wc[n.name];if(typeof i>"u")throw new Error('Attempting to parse an unsupported transform function "'+n.name+'"');return i(n.values)}return null}},Wc={matrix:function(d){var n=d.filter(function(i){return 17===i.type}).map(function(i){return i.number});return 6===n.length?n:null},matrix3d:function(d){var n=d.filter(function(l){return 17===l.type}).map(function(l){return l.number});return 16===n.length?[n[0],n[1],n[4],n[5],n[12],n[13]]:null}},gi={type:16,number:50,flags:4},zc=[gi,gi],nl={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(d,n){var i=n.filter(Jn);return 2!==i.length?zc:[i[0],i[1]]}},Ku={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(d,n){switch(n){case"hidden":return 1;case"collapse":return 2;default:return 0}}},_a=function(d){return d.NORMAL="normal",d.BREAK_ALL="break-all",d.KEEP_ALL="keep-all",d}(_a||{}),Wu={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(d,n){switch(n){case"break-all":return _a.BREAK_ALL;case"keep-all":return _a.KEEP_ALL;default:return _a.NORMAL}}},Oo={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(d,n){if(20===n.type)return{auto:!0,order:0};if(S(n))return{auto:!1,order:n.number};throw new Error("Invalid z-index number parsed")}},$l={name:"time",parse:function(d,n){if(15===n.type)switch(n.unit.toLowerCase()){case"s":return 1e3*n.number;case"ms":return n.number}throw new Error("Unsupported time type")}},zu={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(d,n){return S(n)?n.number:1}},$u={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},il={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(d,n){return n.filter(w).map(function(i){switch(i.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(i){return 0!==i})}},Jl={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(d,n){var i=[],t=[];return n.forEach(function(r){switch(r.type){case 20:case 0:i.push(r.value);break;case 17:i.push(r.number.toString());break;case 4:t.push(i.join(" ")),i.length=0}}),i.length&&t.push(i.join(" ")),t.map(function(r){return-1===r.indexOf(" ")?r:"'"+r+"'"})}},Ju={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ms={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(d,n){return S(n)?n.number:w(n)&&"bold"===n.value?700:400}},$c={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(d,n){return n.filter(w).map(function(i){return i.value})}},Yu={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(d,n){switch(n){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},mi=function(d,n){return!!(d&n)},qu={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(d,n){if(0===n.length)return[];var i=n[0];return 20===i.type&&"none"===i.value?[]:n}},Xu={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(d,n){if(0===n.length)return null;var i=n[0];if(20===i.type&&"none"===i.value)return null;for(var t=[],r=n.filter(Pt),s=0;s<r.length;s++){var g=r[s],b=r[s+1];if(20===g.type){var l=b&&S(b)?b.number:1;t.push({counter:g.value,increment:l})}}return t}},Ba={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(d,n){if(0===n.length)return[];for(var i=[],t=n.filter(Pt),r=0;r<t.length;r++){var s=t[r],g=t[r+1];if(w(s)&&"none"!==s.value){var b=g&&S(g)?g.number:0;i.push({counter:s.value,reset:b})}}return i}},Zu={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(d,n){return n.filter(I).map(function(i){return $l.parse(d,i)})}},Yl={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(d,n){if(0===n.length)return null;var i=n[0];if(20===i.type&&"none"===i.value)return null;var t=[],r=n.filter(k);if(r.length%2!=0)return null;for(var s=0;s<r.length;s+=2)t.push({open:r[s].value,close:r[s+1].value});return t}},vs=function(d,n,i){if(!d)return"";var t=d[Math.min(n,d.length-1)];return t?i?t.open:t.close:""},ql={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(d,n){return 1===n.length&&se(n[0],"n
129one")?[]:Vn(n).map(function(i){for(var t={color:255,offsetX:ki,offsetY:ki,blur:ki,spread:ki,inset:!1},r=0,s=0;s<i.length;s++){var g=i[s];se(g,"inset")?t.inset=!0:kr(g)?(0===r?t.offsetX=g:1===r?t.offsetY=g:2===r?t.blur=g:t.spread=g,r++):t.color=XA_parse(d,g)}return t})}},ed={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(d,n){var t=[];return n.filter(w).forEach(function(r){switch(r.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2)}}),[0,1,2].forEach(function(r){-1===t.indexOf(r)&&t.push(r)}),t}},rl={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},td={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(d,n){return I(n)?n.number:0}},jn=function(){function d(n,i){var t,r;this.animationDuration=Rt(n,Zu,i.animationDuration),this.backgroundClip=Rt(n,Js,i.backgroundClip),this.backgroundColor=Rt(n,Fu,i.backgroundColor),this.backgroundImage=Rt(n,Nu,i.backgroundImage),this.backgroundOrigin=Rt(n,Vl,i.backgroundOrigin),this.backgroundPosition=Rt(n,Tu,i.backgroundPosition),this.backgroundRepeat=Rt(n,Uu,i.backgroundRepeat),this.backgroundSize=Rt(n,ds,i.backgroundSize),this.borderTopColor=Rt(n,Sr,i.borderTopColor),this.borderRightColor=Rt(n,Qu,i.borderRightColor),this.borderBottomColor=Rt(n,Mu,i.borderBottomColor),this.borderLeftColor=Rt(n,io,i.borderLeftColor),this.borderTopLeftRadius=Rt(n,gr,i.borderTopLeftRadius),this.borderTopRightRadius=Rt(n,ma,i.borderTopRightRadius),this.borderBottomRightRadius=Rt(n,Zs,i.borderBottomRightRadius),this.borderBottomLeftRadius=Rt(n,ro,i.borderBottomLeftRadius),this.borderTopStyle=Rt(n,Hc,i.borderTopStyle),this.borderRightStyle=Rt(n,Ao,i.borderRightStyle),this.borderBottomStyle=Rt(n,kc,i.borderBottomStyle),this.borderLeftStyle=Rt(n,Fd,i.borderLeftStyle),this.borderTopWidth=Rt(n,Vc,i.borderTopWidth),this.borderRightWidth=Rt(n,jl,i.borderRightWidth),this.borderBottomWidth=Rt(n,mr,i.borderBottomWidth),this.borderLeftWidth=Rt(n,jr,i.borderLeftWidth),this.boxShadow=Rt(n,ql,i.boxShadow),this.color=Rt(n,IA,i.color),this.direction=Rt(n,va,i.direction),this.display=Rt(n,Ou,i.display),this.float=Rt(n,hA,i.cssFloat),this.fontFamily=Rt(n,Jl,i.fontFamily),this.fontSize=Rt(n,Ju,i.fontSize),this.fontStyle=Rt(n,Yu,i.fontStyle),this.fontVariant=Rt(n,$c,i.fontVariant),this.fontWeight=Rt(n,ms,i.fontWeight),this.letterSpacing=Rt(n,Pu,i.letterSpacing),this.lineBreak=Rt(n,Gl,i.lineBreak),this.lineHeight=Rt(n,jc,i.lineHeight),this.listStyleImage=Rt(n,Ru,i.listStyleImage),this.listStylePosition=Rt(n,ao,i.listStylePosition),this.listStyleType=Rt(n,ps,i.listStyleType),this.marginTop=Rt(n,Hu,i.marginTop),this.marginRight=Rt(n,ku,i.marginRight),this.marginBottom=Rt(n,Ed,i.marginBottom),this.marginLeft=Rt(n,xd,i.marginLeft),this.opacity=Rt(n,zu,i.opacity);var s=Rt(n,Vu,i.overflow);this.overflowX=s[0],this.overflowY=s[s.length>1?1:0],this.overflowWrap=Rt(n,Dd,i.overflowWrap),this.paddingTop=Rt(n,Kc,i.paddingTop),this.paddingRight=Rt(n,tl,i.paddingRight),this.paddingBottom=Rt(n,Wl,i.paddingBottom),this.paddingLeft=Rt(n,th,i.paddingLeft),this.paintOrder=Rt(n,ed,i.paintOrder),this.position=Rt(n,Id,i.position),this.textAlign=Rt(n,zl,i.textAlign),this.textDecorationColor=Rt(n,$u,null!==(t=i.textDecorationColor)&&void 0!==t?t:i.color),this.textDecorationLine=Rt(n,il,null!==(r=i.textDecorationLine)&&void 0!==r?r:i.textDecoration),this.textShadow=Rt(n,Sd,i.textShadow),this.textTransform=Rt(n,Nd,i.textTransform),this.transform=Rt(n,Td,i.transform),this.transformOrigin=Rt(n,nl,i.transformOrigin),this.visibility=Rt(n,Ku,i.visibility),this.webkitTextStrokeColor=Rt(n,rl,i.webkitTextStrokeColor),this.webkitTextStrokeWidth=Rt(n,td,i.webkitTextStrokeWidth),this.wordBreak=Rt(n,Wu,i.wordBreak),this.zIndex=Rt(n,Oo,i.zIndex)}return d.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},d.prototype.isTransparent=function(){return Zi(this.backgroundColor)},d.prototype.isTransformed=function(){return null!==this.transform},d.prototype.isPositioned=function(){return 0!==this.position},d.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},d.prototype.isFloating=function(){return 0!==this.float},d.prototype.isInlineLevel=function(){return mi(this.display,4)||mi(this.display,33554432)||mi(this.display,268435456)||mi(this.display,536870912)||mi(this.display,67108864)||mi(this.display,134217728)},d}(),Jc=function(){return function d(n,i){this.content=Rt(n,qu,i.content),this.quotes=Rt(n,Yl,i.quotes)}}(),Yc=function(){return function d(n,i){this.counterIncrement=Rt(n,Xu,i.counterIncrement),this.counterReset=Rt(n,Ba,i.counterReset)}}(),Rt=function(d,n,i){var t=new Si,r=null!==i&&typeof i<"u"?i.toString():n.initialValue;t.write(r);var s=new Ni(t.read());switch(n.type){case 2:var g=s.parseComponentValue();return n.parse(d,w(g)?g.value:n.initialValue);case 0:return n.parse(d,s.parseComponentValue());case 1:return n.parse(d,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(n.format){case"angle":return YA_parse(d,s.parseComponentValue());case"color":return XA_parse(d,s.parseComponentValue());case"image":return Su_parse(d,s.parseComponentValue());case"length":var b=s.parseComponentValue();return kr(b)?b:ki;case"length-percentage":var l=s.parseComponentValue();return Jn(l)?l:ki;case"time":return $l.parse(d,s.parseComponentValue())}}},Al=function(d,n){var i=function(d){switch(d.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(d);return 1===i||n===i},tA=function(){return function d(n,i){this.context=n,this.textNodes=[],this.elements=[],this.flags=0,Al(i,3),this.styles=new jn(n,window.getComputedStyle(i,null)),Kt(i)&&(this.styles.animationDuration.some(function(t){return t>0})&&(i.style.animationDuration="0s"),null!==this.styles.transform&&(i.style.transform="none")),this.bounds=tt(this.context,i),Al(i,4)&&(this.flags|=16)}}(),Xl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
129+/",_s=typeof Uint8Array>"u"?[]:new Uint8Array(256),ol=0;ol<64;ol++)_s[Xl.charCodeAt(ol)]=ol;for(var sl=function(d,n,i){return d.slice?d.slice(n,i):new Uint16Array(Array.prototype.slice.call(d,n,i))},ic=function(){function d(n,i,t,r,s,g){this.initialValue=n,this.errorValue=i,this.highStart=t,this.highValueIndex=r,this.index=s,this.data=g}return d.prototype.get=function(n){var i;if(n>=0){if(n<55296||n>56319&&n<=65535)return this.data[i=((i=this.index[n>>5])<<2)+(31&n)];if(n<=65535)return this.data[i=((i=this.index[2048+(n-55296>>5)])<<2)+(31&n)];if(n<this.highStart)return i=this.index[i=2080+(n>>11)],this.data[i=((i=this.index[i+=n>>5&63])<<2)+(31&n)];if(n<=1114111)return this.data[this.highValueIndex]}return this.errorValue},d}(),rc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ud=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ac=0;Ac<64;Ac++)ud[rc.charCodeAt(Ac)]=Ac;var fd=8,Au=9,pd=11,gd=12,c=function(){for(var d=[],n=0;n<arguments.length;n++)d[n]=arguments[n];if(String.fromCodePoint)return String.fromCodePoint.apply(String,d);var i=d.length;if(!i)return"";for(var t=[],r=-1,s="";++r<i;){var g=d[r];g<=65535?t.push(g):t.push(55296+((g-=65536)>>10),g%1024+56320),(r+1===i||t.length>16384)&&(s+=String.fromCharCode.apply(String,t),t.length=0)}return s},h=function(d,n){var i=function(d){var t,s,g,b,l,n=.75*d.length,i=d.length,r=0;"="===d[d.length-1]&&(n--,"="===d[d.length-2]&&n--);var v=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(n):new Array(n),C=Array.isArray(v)?v:new Uint8Array(v);for(t=0;t<i;t+=4)s=_s[d.charCodeAt(t)],g=_s[d.charCodeAt(t+1)],b=_s[d.charCodeAt(t+2)],l=_s[d.charCodeAt(t+3)],C[r++]=s<<2|g>>4,C[r++]=(15&g)<<4|b>>2,C[r++]=(3&b)<<6|63&l;return v}(d),t=Array.isArray(i)?function(d){for(var n=d.length,i=[],t=0;t<n;t+=4)i.push(d[t+3]<<24|d[t+2]<<16|d[t+1]<<8|d[t]);return i}(i):new Uint32Array(i),r=Array.isArray(i)?function(d){for(var n=d.length,i=[],t=0;t<n;t+=2)i.push(d[t+1]<<8|d[t]);return i}(i):new Uint16Array(i),g=sl(r,12,t[4]/2),b=2===t[5]?sl(r,(24+t[4])/2):function(d,n,i){return d.slice?d.slice(n,i):new Uint32Array(Array.prototype.slice.call(d,n,i))}(t,Math.ceil((24+t[4])/4));return new ic(t[0],t[1],t[2],t[3],g,b)}(
vendor: 26,158 bytes, line 129
129"AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="
129),f="\xd7",_=function(d){return h.get(d)},y=function(d,n,i){var t=i-2,r=n[t],s=n[i-1],g=n[i];if(2===s&&3===g)return f;if(2===s||3===s||4===s||2===g||3===g||4===g)return"\xf7";if(s===fd&&-1!==[fd,Au,pd,gd].indexOf(g)||(s===pd||s===Au)&&(g===Au||10===g)||(s===gd||10===s)&&10===g||13===g||5===g||7===g||1===s)return f;if(13===s&&14===g){for(;5===r;)r=n[--t];if(14===r)return f}if(15===s&&15===g){for(var b=0;15===r;)b++,r=n[--t];if(b%2==0)return f}return"\xf7"},E=function(d){var n=function(d){for(var n=[],i=0,t=d.length;i<t;
vendor: 29,704 bytes, line 129
129){var r=d.charCodeAt(i++);if(r>=55296&&r<=56319&&i<t){var s=d.charCodeAt(i++);56320==(64512&s)?n.push(((1023&r)<<10)+(1023&s)+65536):(n.push(r),i--)}else n.push(r)}return n}(d),i=n.length,t=0,r=0,s=n.map(_);return{next:function(){if(t>=i)return{done:!0,value:null};for(var g=f;t<i&&(g=y(0,s,++t))===f;);if(g!==f||t===i){var b=c.apply(null,n.slice(r,t));return r=t,{value:b,done:!1}}return{done:!0,value:null}}}},ee=function(d){return 0===d[0]&&255===d[1]&&0===d[2]&&255===d[3]},X=function(d,n,i,t,r){var s="http://www.w3.org/2000/svg",g=document.createElementNS(s,"svg"),b=document.createElementNS(s,"foreignObject");return g.setAttributeNS(null,"width",d.toString()),g.setAttributeNS(null,"height",n.toString()),b.setAttributeNS(null,"width","100%"),b.setAttributeNS(null,"height","100%"),b.setAttributeNS(null,"x",i.toString()),b.setAttributeNS(null,"y",t.toString()),b.setAttributeNS(null,"externalResourcesRequired","true"),g.appendChild(b),b.appendChild(r),g},de=function(d){return new Promise(function(n,i){var t=new Image;t.onload=function(){return n(t)},t.onerror=i,t.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(d))})},me={get SUPPORT_RANGE_BOUNDS(){var d=function(d){if(d.createRange){var i=d.createRange();if(i.getBoundingClientRect){var t=d.createElement("boundtest");t.style.height="123px",t.style.display="block",d.body.appendChild(t),i.selectNode(t);var r=i.getBoundingClientRect(),s=Math.round(r.height);if(d.body.removeChild(t),123===s)return!0}}return!1}(document);return Object.defineProperty(me,"SUPPORT_RANGE_BOUNDS",{value:d}),d},get SUPPORT_WORD_BREAKING(){var d=me.SUPPORT_RANGE_BOUNDS&&function(d){var n=d.createElement("boundtest");n.style.width="50px",n.style.display="block",n.style.fontSize="12px",n.style.letterSpacing="0px",n.style.wordSpacing="0px",d.body.appendChild(n);var i=d.createRange();n.innerHTML="function"==typeof"".repeat?"👨".repeat(10):"";var t=n.firstChild,r=Ve(t.data).map(function(l){return Ke(l)}),s=0,g={},b=r.every(function(l,v){i.setStart(t,s),i.setEnd(t,s+l.length);var C=i.getBoundingClientRect();s+=l.length;var D=C.x>g.x||C.y>g.y;return g=C,0===v||D});return d.body.removeChild(n),b}(document);return Object.defineProperty(me,"SUPPORT_WORD_BREAKING",{value:d}),d},get SUPPORT_SVG_DRAWING(){var d=function(d){var n=new Image,i=d.createElement("canvas"),t=i.getContext("2d");if(!t)return!1;n.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{t.drawImage(n,0,0),i.toDataURL()}catch{return!1}return!0}(document);return Object.defineProperty(me,"SUPPORT_SVG_DRAWING",{value:d}),d},get SUPPORT_FOREIGNOBJECT_DRAWING(){var d="function"==typeof Array.from&&"function"==typeof window.fetch?function(d){var n=d.createElement("canvas"),i=100;n.width=i,n.height=i;var t=n.getContext("2d");if(!t)return Promise.reject(!1);t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,i,i);var r=new Image,s=n.toDataURL();r.src=s;var g=X(i,i,0,0,r);return t.fillStyle="red",t.fillRect(0,0,i,i),de(g).then(function(b){t.drawImage(b,0,0);var l=t.getImageData(0,0,i,i).data;t.fillStyle="red",t.fillRect(0,0,i,i);var v=d.createElement("div");return v.style.backgroundImage="url("+s+")",v.style.height=i+"px",ee(l)?de(X(i,i,0,0,v)):Promise.reject(!1)}).then(function(b){return t.drawImage(b,0,0),ee(t.getImageData(0,0,i,i).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(me,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:d}),d},get SUPPORT_CORS_IMAGES(){var d=typeof(new Image).crossOrigin<"u";return Object.defineProperty(me,"SUPPORT_CORS_IMAGES",{value:d}),d},get SUPPORT_RESPONSE_TYPE(){var d="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(me,"SUPPORT_RESPONSE_TYPE",{value:d}),d},get SUPPORT_CORS_XHR(){var d="withCredentials"in new XMLHttpRequest;return Object.defineProperty(me,"SUPPORT_CORS_XHR",{value:d}),d},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var d=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(me,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:d}),d}},Re=function(){return function d(n,i){this.text=n,this.bounds=i}}(),Ee=function(d,n){var i=n.ownerDocument;if(i){var t=i.createElement("html2canvaswrapper");t.appendChild(n.cloneNode(!0));var r=n.parentNode;if(r){r.replaceChild(t,n);var s=tt(d,t);return t.firstChild&&r.replaceChild(t.firstChild,t),s}}return Ae.EMPTY},ae=function(d,n,i){var t=d.ownerDocument;if(!t)throw new Error("Node has no owner document");var r=t.createRange();return r.setStart(d,n),r.setEnd(d,n+i),r},Fe=function(d){if(me.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(n.segment(d)).map(function(i){return i.segment})}return function(d){for(var t,n=E(d),i=[];!(t=n.next()).done;)t.value&&i.push(t.value.slice());return i}(d)},W=function(d,n){return 0!==n.letterSpacing?Fe(d):function(d,n){if(me.SUPPORT_NATIVE_TEXT_SEGMENTATION){var i=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(i.segment(d)).map(function(t){return t.segment})}return ue(d,n)}(d,n)},$=[32,160,4961,65792,65793,4153,4241],ue=function(d,n){for(var r,i=function(d,n){var i=Ve(d),t=ra(i,n),r=t[0],s=t[1],g=t[2],b=i.length,l=0,v=0;return{next:function(){if(v>=b)return{done:!0,value:null};for(var C=dn;v<b&&(C=yo(i,s,r,++v,g))===dn;);if(C!==dn||v===b){var D=new Aa(i,C,l,v);return l=v,{value:D,done:!1}}return{done:!0,value:null}}}}(d,{lineBreak:n.lineBreak,wordBreak:"break-word"===n.overflowWrap?"break-word":n.wordBreak}),t=[],s=function(){if(r.value){var g=r.value.slice(),b=Ve(g),l="";b.forEach(function(v){-1===$.indexOf(v)?l+=Ke(v):(l.length&&t.push(l),t.push(Ke(v)),l="")}),l.length&&t.push(l)}};!(r=i.next()).done;)s();return t},oe=function(){return function d(n,i,t){this.text=je(i.data,t.textTransform),this.textBounds=function(d,n,i,t){var r=W(n,i),s=[],g=0;return r.forEach(function(b){if(i.textDecorationLine.length||b.trim().length>0)if(me.SUPPORT_RANGE_BOUNDS){var l=ae(t,g,b.length).getClientRects();if(l.length>1){var v=Fe(b),C=0;v.forEach(function(M){s.push(new Re(M,Ae.fromDOMRectList(d,ae(t,C+g,M.length).getClientRects()))),C+=M.length})}else s.push(new Re(b,Ae.fromDOMRectList(d,l)))}else{var D=t.splitText(b.length);s.push(new Re(b,Ee(d,t))),t=D}else me.SUPPORT_RANGE_BOUNDS||(t=t.splitText(b.length));g+=b.length}),s}(n,this.text,t,i)}}(),je=function(d,n){switch(n){case 1:return d.toLowerCase();case 3:return d.replace(He,Je);case 2:return d.toUpperCase();default:return d}},He=/(^|\s|:|-|\(|\))([a-z])/g,Je=function(d,n,i){return d.length>0?n+i.toUpperCase():d},xe=function(d){function n(i,t){var r=d.call(this,i,t)||this;return r.src=t.currentSrc||t.src,r.intrinsicWidth=t.naturalWidth,r.intrinsicHeight=t.naturalHeight,r.context.cache.addImage(r.src),r}return L(n,d),n}(tA),Ye=function(d){function n(i,t){var r=d.call(this,i,t)||this;return r.canvas=t,r.intrinsicWidth=t.width,r.intrinsicHeight=t.height,r}return L(n,d),n}(tA),Ze=function(d){function n(i,t){var r=d.call(this,i,t)||this,s=new XMLSerializer,g=tt(i,t);return t.setAttribute("width",g.width+"px"),t.setAttribute("height",g.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(t)),r.intrinsicWidth=t.width.baseVal.value,r.intrinsicHeight=t.height.baseVal.value,r.context.cache.addImage(r.svg),r}return L(n,d),n}(tA),Ot=function(d){function n(i,t){var r=d.call(this,i,t)||this;return r.value=t.value,r}return L(n,d),n}(tA),H=function(d){function n(i,t){var r=d.call(this,i,t)||this;return r.start=t.start,r.reversed="boolean"==typeof t.reversed&&!0===t.reversed,r}return L(n,d),n}(tA),te=[{type:15,flags:0,unit:"px",number:3}],re=[{type:16,flags:0,number:50}],Ne="checkbox",Me="radio",Le="password",Bt=707406591,gt=function(d){function n(i,t){var r=d.call(this,i,t)||this;switch(r.type=t.type.toLowerCase(),r.checked=t.checked,r.value=function(d){var n=d.type===Le?new Array(d.value.length+1).join("\u2022"):d.value;return 0===n.length?d.placeholder||"":n}(t),(r.type===Ne||r.type===Me)&&(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=function(d){return d.width>d.height?new Ae(d.left+(d.width-d.height)/2,d.top,d.height,d.height):d.width<d.height?new Ae(d.left,d.top+(d.height-d.width)/2,d.width,d.width):d}(r.bounds)),r.type){case Ne:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=te;break;case Me:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=re}return r}return L(n,d),n}(tA),Qt=function(d){function n(i,t){var r=d.call(this,i,t)||this,s=t.options[t.selectedIndex||0];return r.value=s&&s.text||"",r}return L(n,d),n}(tA),It=function(d){function n(i,t){var r=d.call(this,i,t)||this;return r.value=t.value,r}return L(n,d),n}(tA),Yt=function(d){function n(i,t){var r=d.call(this,i,t)||this;r.src=t.src,r.width=parseInt(t.width,10)||0,r.height=parseInt(t.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){r.tree=Vt(i,t.contentWindow.document.documentElement);var s=t.contentWindow.document.documentElement?ss(i,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):dA.TRANSPARENT,g=t.contentWindow.document.body?ss(i,getComputedStyle(t.contentWindow.document.body).backgroundColor):dA.TRANSPARENT;r.backgroundColor=Zi(s)?Zi(g)?r.styles.backgroundColor:g:s}}catch{}return r}return L(n,d),n}(tA),qe=["OL","UL","MENU"],ie=function(d,n,i,t){for(var r=n.firstChild,s=void 0;r;r=s)if(s=r.nextSibling,Mt(r)&&r.data.trim().length>0)i.textNodes.push(new oe(d,r,i.styles));else if(Et(r))if(wa(r)&&r.assignedNodes)r.assignedNodes().forEach(function(b){return ie(d,b,i,t)});else{var g=ln(d,r);g.styles.isVisible()&&(vt(r,g,t)?g.flags|=4:Ft(g.styles)&&(g.flags|=2),-1!==qe.indexOf(r.tagName)&&(g.flags|=8),i.elements.push(g),r.shadowRoot?ie(d,r.shadowRoot,g,t):!nA(r)&&!qt(r)&&!En(r)&&ie(d,r,g,t))}},ln=function(d,n){return yn(n)?new xe(d,n):Nt(n)?new Ye(d,n):qt(n)?new Ze(d,n):hn(n)?new Ot(d,n):_n(n)?new H(d,n):xn(n)?new gt(d,n):En(n)?new Qt(d,n):nA(n)?new It(d,n):vr(n)?new Yt(d,n):new tA(d,n)},Vt=function(d,n){var i=ln(d,n);return i.flags|=4,ie(d,n,i,i),i},vt=function(d,n,i){return n.styles.isPositionedWithZIndex()||n.styles.opacity<1||n.styles.isTransformed()||pn(d)&&i.styles.isTransparent()},Ft=function(d){return d.isPositioned()||d.isFloating()},Mt=function(d){return d.nodeType===Node.TEXT_NODE},Et=function(d){return d.nodeType===Node.ELEMENT_NODE},Kt=function(d){return Et(d)&&typeof d.style<"u"&&!nn(d)},nn=function(d){return"object"==typeof d.className},hn=function(d){return"LI"===d.tagName},_n=function(d){return"OL"===d.tagName},xn=function(d){return"INPUT"===d.tagName},qt=function(d){return"svg"===d.tagName},pn=function(d){return"BODY"===d.tagName},Nt=function(d){return"CANVAS"===d.tagName},er=function(d){return"VIDEO"===d.tagName},yn=function(d){return"IMG"===d.tagName},vr=function(d){return"IFRAME"===d.tagName},Hn=function(d){return"STYLE"===d.tagName},nA=function(d){return"TEXTAREA"===d.tagName},En=function(d){return"SELECT"===d.tagName},wa=function(d){return"SLOT"===d.tagName},On=function(d){return d.tagName.indexOf("-")>0},fA=function(){function d(){this.counters={}}return d.prototype.getCounterValue=function(n){var i=this.counters[n];return i&&i.length?i[i.length-1]:1},d.prototype.getCounterValues=function(n){return this.counters[n]||[]},d.prototype.pop=function(n){var i=this;n.forEach(function(t){return i.counters[t].pop()})},d.prototype.parse=function(n){var i=this,t=n.counterIncrement,r=n.counterReset,s=!0;null!==t&&t.forEach(function(b){var l=i.counters[b.counter];l&&0!==b.increment&&(s=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=b.increment)});var g=[];return s&&r.forEach(function(b){var l=i.counters[b.counter];g.push(b.counter),l||(l=i.counters[b.counter]=[]),l.push(b.reset)}),g},d}(),SA={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},oi={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},rn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},Qn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},iA=function(d,n,i,t,r,s){return d<n||d>i?Wi(d,r,s.length>0):t.integers.reduce(function(g,b,l){for(;d>=b;)d-=b,g+=t.values[l];return g},"")+s},Gi=function(d,n,i,t){var r="";do{i||d--,r=t(d)+r,d/=n}while(d*n>=n);return r},Dn=function(d,n,i,t,r){var s=i-n+1;return(d<0?"-":"")+(Gi(Math.abs(d),s,t,function(g){return Ke(Math.floor(g%s)+n)})+r)},cr=function(d,n,i){void 0===i&&(i=". ");var t=n.length;return Gi(Math.abs(d),t,!1,function(r){return n[Math.floor(r%t)]})+i},kn=function(d,n,i,t,r,s){if(d<-9999||d>9999)return Wi(d,4,r.length>0);var g=Math.abs(d),b=r;if(0===g)return n[0]+b;for(var l=0;g>0&&l<=4;l++){var v=g%10;0===v&&mi(s,1)&&""!==b?b=n[v]+b:v>1||1===v&&0===l||1===v&&1===l&&mi(s,2)||1===v&&1===l&&mi(s,4)&&d>100||1===v&&l>1&&mi(s,8)?b=n[v]+(l>0?i[l-1]:"")+b:1===v&&l>0&&(b=i[l-1]+b),g=Math.floor(g/10)}return(d<0?t:"")+b},Gr="\ub9c8\uc774\ub108\uc2a4",Wi=function(d,n,i){var t=i?". ":"",r=i?"\u3001":"",s=i?", ":"",g=i?" ":"";switch(n){case 0:return"\u2022"+g;case 1:return"\u25e6"+g;case 2:return"\u25fe"+g;case 5:var b=Dn(d,48,57,!0,t);return b.length<4?"0"+b:b;case 4:return cr(d,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",r);case 6:return iA(d,1,3999,SA,3,t).toLowerCase();case 7:return iA(d,1,3999,SA,3,t);case 8:return Dn(d,945,969,!1,t);case 9:return Dn(d,97,122,!1,t);case 10:return Dn(d,65,90,!1,t);case 11:return Dn(d,1632,1641,!0,t);case 12:case 49:return iA(d,1,9999,oi,3,t);case 35:return iA(d,1,9999,oi,3,t).toLowerCase();case 13:return Dn(d,2534,2543,!0,t);case 14:case 30:return Dn(d,6112,6121,!0,t);case 15:return cr(d,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",r);case 16:return cr(d,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",r);case 17:case 48:return kn(d,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8ca0",r,14);case 47:return kn(d,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8ca0",r,15);case 42:return kn(d,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8d1f",r,14);case 41:return kn(d,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8d1f",r,15);case 26:return kn(d,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",r,0);case 25:return kn(d,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",r,7);case 31:return kn(d,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",Gr,s,7);case 33:return kn(d,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",Gr,s,0);case 32:return kn(d,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",Gr,s,7);case 18:return Dn(d,2406,2415,!0,t);case 20:return iA(d,1,19999,Qn,3,t);case 21:return Dn(d,2790,2799,!0,t);case 22:return Dn(d,2662,2671,!0,t);case 22:return iA(d,1,10999,rn,3,t);case 23:return cr(d,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case 24:return cr(d,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case 27:return Dn(d,3302,3311,!0,t);case 28:return cr(d,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",r);case 29:return cr(d,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",r);case 34:return Dn(d,3792,3801,!0,t);case 37:return Dn(d,6160,6169,!0,t);case 38:return Dn(d,4160,4169,!0,t);case 39:return Dn(d,2918,2927,!0,t);case 40:return Dn(d,1776,1785,!0,t);case 43:return Dn(d,3046,3055,!0,t);case 44:return Dn(d,3174,3183,!0,t);case 45:return Dn(d,3664,3673,!0,t);case 46:return Dn(d,3872,3881,!0,t);default:return Dn(d,48,57,!0,t)}},Br="data-html2canvas-ignore",rA=function(){function d(n,i,t){if(this.context=n,this.options=t,this.scrolledElements=[],this.referenceElement=i,this.counters=new fA,this.quoteDepth=0,!i.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(i.ownerDocument.documentElement,!1)}return d.prototype.toIFrame=function(n,i){var t=this,r=AA(n,i);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var s=n.defaultView.pageXOffset,g=n.defaultView.pageYOffset,b=r.contentWindow,l=b.document,v=Bs(r).then(function(){return N(t,void 0,void 0,function(){var C,D;return K(this,function(M){switch(M.label){case 0:return this.scrolledElements.forEach(ll),b&&(b.scrollTo(i.left,i.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(b.scrollY!==i.top||b.scrollX!==i.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(b.scrollX-i.left,b.scrollY-i.top,0,0))),C=this.options.onclone,typeof(D=this.clonedReferenceElement)>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:M.sent(),M.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,ZA(l)]:[3,4];case 3:M.sent(),M.label=4;case 4:return"function"==typeof C?[2,Promise.resolve().then(function(){return C(l,D)}).then(function(){return r})]:[2,r]}})})});return l.open(),l.write(Lo(document.doctype)+"<html></html>"),ys(this.referenceElement.ownerDocument,s,g),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),v},d.prototype.createElementClone=function(n){if(Al(n,2),Nt(n))return this.createCanvasClone(n);if(er(n))return this.createVideoClone(n);if(Hn(n))return this.createStyleClone(n);var i=n.cloneNode(!1);return yn(i)&&(yn(n)&&n.currentSrc&&n.currentSrc!==n.src&&(i.src=n.currentSrc,i.srcset=""),"lazy"===i.loading&&(i.loading="eager")),On(i)?this.createCustomElementClone(i):i},d.prototype.createCustomElementClone=function(n){var i=document.createElement("html2canvascustomelement");return Ca(n.style,i),i},d.prototype.createStyleClone=function(n){try{var i=n.sheet;if(i&&i.cssRules){var t=[].slice.call(i.cssRules,0).reduce(function(s,g){return g&&"string"==typeof g.cssText?s+g.cssText:s},""),r=n.cloneNode(!1);return r.textContent=t,r}}catch(s){if(this.context.logger.error("Unable to access cssRules property",s),"SecurityError"!==s.name)throw s}return n.cloneNode(!1)},d.prototype.createCanvasClone=function(n){var i;if(this.options.inlineImages&&n.ownerDocument){var t=n.ownerDocument.createElement("img");try{return t.src=n.toDataURL(),t}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",n)}}var r=n.cloneNode(!1);try{r.width=n.width,r.height=n.height;var s=n.getContext("2d"),g=r.getContext("2d");if(g)if(!this.options.allowTaint&&s)g.putImageData(s.getImageData(0,0,n.width,n.height),0,0);else{var b=null!==(i=n.getContext("webgl2"))&&void 0!==i?i:n.getContext("webgl");if(b){var l=b.getContextAttributes();!1===l?.preserveDrawingBuffer&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",n)}g.drawImage(n,0,0)}return r}catch{this.context.logger.info("Unable to clone canvas as it is tainted",n)}return r},d.prototype.createVideoClone=function(n){var i=n.ownerDocument.createElement("canvas");i.width=n.offsetWidth,i.height=n.offsetHeight;var t=i.getContext("2d");try{return t&&(t.drawImage(n,0,0,i.width,i.height),this.options.allowTaint||t.getImageData(0,0,i.width,i.height)),i}catch{this.context.logger.info("Unable to clone video as it is tainted",n)}var r=n.ownerDocument.createElement("canvas");return r.width=n.offsetWidth,r.height=n.offsetHeight,r},d.prototype.appendChildNode=function(n,i,t){(!Et(i)||!function(d){return"SCRIPT"===d.tagName}(i)&&!i.hasAttribute(Br)&&("function"!=typeof this.options.ignoreElements||!this.options.ignoreElements(i)))&&(!this.options.copyStyles||!Et(i)||!Hn(i))&&n.appendChild(this.cloneNode(i,t))},d.prototype.cloneChildNodes=function(n,i,t){for(var r=this,s=n.shadowRoot?n.shadowRoot.firstChild:n.firstChild;s;s=s.nextSibling)if(Et(s)&&wa(s)&&"function"==typeof s.assignedNodes){var g=s.assignedNodes();g.length&&g.forEach(function(b){return r.appendChildNode(i,b,t)})}else this.appendChildNode(i,s,t)},d.prototype.cloneNode=function(n,i){if(Mt(n))return document.createTextNode(n.data);if(!n.ownerDocument)return n.cloneNode(!1);var t=n.ownerDocument.defaultView;if(t&&Et(n)&&(Kt(n)||nn(n))){var r=this.createElementClone(n);r.style.transitionProperty="none";var s=t.getComputedStyle(n),g=t.getComputedStyle(n,":before"),b=t.getComputedStyle(n,":after");this.referenceElement===n&&Kt(r)&&(this.clonedReferenceElement=r),pn(r)&&cl(r);var l=this.counters.parse(new Yc(this.context,s)),v=this.resolvePseudoContent(n,r,g,Kr.BEFORE);On(n)&&(i=!0),er(n)||this.cloneChildNodes(n,r,i),v&&r.insertBefore(v,r.firstChild);var C=this.resolvePseudoContent(n,r,b,Kr.AFTER);return C&&r.appendChild(C),this.counters.pop(l),(s&&(this.options.copyStyles||nn(n))&&!vr(n)||i)&&Ca(s,r),(0!==n.scrollTop||0!==n.scrollLeft)&&this.scrolledElements.push([r,n.scrollLeft,n.scrollTop]),(nA(n)||En(n))&&(nA(r)||En(r))&&(r.value=n.value),r}return n.cloneNode(!1)},d.prototype.resolvePseudoContent=function(n,i,t,r){var s=this;if(t){var g=t.content,b=i.ownerDocument;if(b&&g&&"none"!==g&&"-moz-alt-content"!==g&&"none"!==t.display){this.counters.parse(new Yc(this.context,t));var l=new Jc(this.context,t),v=b.createElement("html2canvaspseudoelement");Ca(t,v),l.content.forEach(function(D){if(0===D.type)v.appendChild(b.createTextNode(D.value));else if(22===D.type){var M=b.createElement("img");M.src=D.value,M.style.opacity="1",v.appendChild(M)}else if(18===D.type){if("attr"===D.name){var J=D.values.filter(w);J.length&&v.appendChild(b.createTextNode(n.getAttribute(J[0].value)||""))}else if("counter"===D.name){var Z=D.values.filter(tn),Pe=Z[1];if((ge=Z[0])&&w(ge)){var ke=s.counters.getCounterValue(ge.value),Ge=Pe&&w(Pe)?ps.parse(s.context,Pe.value):3;v.appendChild(b.createTextNode(Wi(ke,Ge,!1)))}}else if("counters"===D.name){var ge,dt=D.values.filter(tn),wt=dt[1];if(Pe=dt[2],(ge=dt[0])&&w(ge)){var lt=s.counters.getCounterValues(ge.value),nt=Pe&&w(Pe)?ps.parse(s.context,Pe.value):3,xt=wt&&0===wt.type?wt.value:"",Tt=lt.map(function(un){return Wi(un,nt,!1)}).join(xt);v.appendChild(b.createTextNode(Tt))}}}else if(20===D.type)switch(D.value){case"open-quote":v.appendChild(b.createTextNode(vs(l.quotes,s.quoteDepth++,!0)));break;case"close-quote":v.appendChild(b.createTextNode(vs(l.quotes,--s.quoteDepth,!1)));break;default:v.appendChild(b.createTextNode(D.value))}}),v.className=lo+" "+Po;var C=r===Kr.BEFORE?" "+lo:" "+Po;return nn(i)?i.className.baseValue+=C:i.className+=C,v}}},d.destroy=function(n){return!!n.parentNode&&(n.parentNode.removeChild(n),!0)},d}(),Kr=function(d){return d[d.BEFORE=0]="BEFORE",d[d.AFTER=1]="AFTER",d}(Kr||{}),AA=function(d,n){var i=d.createElement("iframe");return i.className="html2canvas-container",i.style.visibility="hidden",i.style.position="fixed",i.style.left="-10000px",i.style.top="0px",i.style.border="0",i.width=n.width.toString(),i.height=n.height.toString(),i.scrolling="no",i.setAttribute(Br,"true"),d.body.appendChild(i),i},NA=function(d){return new Promise(function(n){d.complete?n():d.src?(d.onload=n,d.onerror=n):n()})},ZA=function(d){return Promise.all([].slice.call(d.images,0).map(NA))},Bs=function(d){return new Promise(function(n,i){var t=d.contentWindow;if(!t)return i("No window assigned for iframe");var r=t.document;t.onload=d.onload=function(){t.onload=d.onload=null;var s=setInterval(function(){r.body.childNodes.length>0&&"complete"===r.readyState&&(clearInterval(s),n(d))},50)}})},bs=["all","d","content"],Ca=function(d,n){for(var i=d.length-1;i>=0;i--){var t=d.item(i);-1===bs.indexOf(t)&&n.style.setProperty(t,d.getPropertyValue(t))}return n},Lo=function(d){var n="";return d&&(n+="<!DOCTYPE ",d.name&&(n+=d.name),d.internalSubset&&(n+=d.internalSubset),d.publicId&&(n+='"'+d.publicId+'"'),d.systemId&&(n+='"'+d.systemId+'"'),n+=">"),n},ys=function(d,n,i){d&&d.defaultView&&(n!==d.defaultView.pageXOffset||i!==d.defaultView.pageYOffset)&&d.defaultView.scrollTo(n,i)},ll=function(d){var n=d[0],t=d[2];n.scrollLeft=d[1],n.scrollTop=t},lo="___html2canvas___pseudoelement_before",Po="___html2canvas___pseudoelement_after",co='{\n content: "" !important;\n display: none !important;\n}',cl=function(d){ac(d,"."+lo+":before"+co+"\n ."+Po+":after"+co)},ac=function(d,n){var i=d.ownerDocument;if(i){var t=i.createElement("style");t.textContent=n,d.appendChild(t)}},Cs=function(){function d(){}return d.getOrigin=function(n){var i=d._link;return i?(i.href=n,i.href=i.href,i.protocol+i.hostname+i.port):"about:blank"},d.isSameOrigin=function(n){return d.getOrigin(n)===d._origin},d.setContext=function(n){d._link=n.document.createElement("a"),d._origin=d.getOrigin(n.location.href)},d._origin="about:blank",d}(),Ro=function(){function d(n,i){this.context=n,this._options=i,this._cache={}}return d.prototype.addImage=function(n){var i=Promise.resolve();return this.has(n)||(Es(n)||lc(n))&&(this._cache[n]=this.loadImage(n)).catch(function(){}),i},d.prototype.match=function(n){return this._cache[n]},d.prototype.loadImage=function(n){return N(this,void 0,void 0,function(){var i,t,r,s,g=this;return K(this,function(b){switch(b.label){case 0:return i=Cs.isSameOrigin(n),t=!Fs(n)&&!0===this._options.useCORS&&me.SUPPORT_CORS_IMAGES&&!i,r=!Fs(n)&&!i&&!Es(n)&&"string"==typeof this._options.proxy&&me.SUPPORT_CORS_XHR&&!t,i||!1!==this._options.allowTaint||Fs(n)||Es(n)||r||t?(s=n,r?[4,this.proxy(s)]:[3,2]):[2];case 1:s=b.sent(),b.label=2;case 2:return this.context.logger.debug("Added image "+n.substring(0,256)),[4,new Promise(function(l,v){var C=new Image;C.onload=function(){return l(C)},C.onerror=v,(ul(s)||t)&&(C.crossOrigin="anonymous"),C.src=s,!0===C.complete&&setTimeout(function(){return l(C)},500),g._options.imageTimeout>0&&setTimeout(function(){return v("Timed out ("+g._options.imageTimeout+"ms) loading image")},g._options.imageTimeout)})];case 3:return[2,b.sent()]}})})},d.prototype.has=function(n){return typeof this._cache[n]<"u"},d.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},d.prototype.proxy=function(n){var i=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var r=n.substring(0,256);return new Promise(function(s,g){var b=me.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(200===l.status)if("text"===b)s(l.response);else{var D=new FileReader;D.addEventListener("load",function(){return s(D.result)},!1),D.addEventListener("error",function(M){return g(M)},!1),D.readAsDataURL(l.response)}else g("Failed to proxy resource "+r+" with status code "+l.status)},l.onerror=g;var v=t.indexOf("?")>-1?"&":"?";if(l.open("GET",""+t+v+"url="+encodeURIComponent(n)+"&responseType="+b),"text"!==b&&l instanceof XMLHttpRequest&&(l.responseType=b),i._options.imageTimeout){var
vendor: 1,953 bytes, line 129
129C=i._options.imageTimeout;l.timeout=C,l.ontimeout=function(){return g("Timed out ("+C+"ms) proxying "+r)}}l.send()})},d}(),oc=/^data:image\/svg\+xml/i,Ci=/^data:image\/.*;base64,/i,sc=/^data:image\/.*/i,lc=function(d){return me.SUPPORT_SVG_DRAWING||!TA(d)},Fs=function(d){return sc.test(d)},ul=function(d){return Ci.test(d)},Es=function(d){return"blob"===d.substr(0,4)},TA=function(d){return"svg"===d.substr(-3).toLowerCase()||oc.test(d)},St=function(){function d(n,i){this.type=0,this.x=n,this.y=i}return d.prototype.add=function(n,i){return new d(this.x+n,this.y+i)},d}(),zi=function(d,n,i){return new St(d.x+(n.x-d.x)*i,d.y+(n.y-d.y)*i)},Ea=function(){function d(n,i,t,r){this.type=1,this.start=n,this.startControl=i,this.endControl=t,this.end=r}return d.prototype.subdivide=function(n,i){var t=zi(this.start,this.startControl,n),r=zi(this.startControl,this.endControl,n),s=zi(this.endControl,this.end,n),g=zi(t,r,n),b=zi(r,s,n),l=zi(g,b,n);return i?new d(this.start,t,g,l):new d(l,b,s,this.end)},d.prototype.add=function(n,i){return new d(this.start.add(n,i),this.startControl.add(n,i),this.endControl.add(n,i),this.end.add(n,i))},d.prototype.reverse=function(){return new d(this.end,this.endControl,this.startControl,this.start)},d}(),Nr=function(d){return 1===d.type},su=function(){return function d(n){var i=n.styles,t=n.bounds,r=uA(i.borderTopLeftRadius,t.width,t.height),s=r[0],g=r[1],b=uA(i.borderTopRightRadius,t.width,t.height),l=b[0],v=b[1],C=uA(i.borderBottomRightRadius,t.width,t.height),D=C[0],M=C[1],J=uA(i.borderBottomLeftRadius,t.width,t.height),Z=J[0],ge=J[1],Pe=[];Pe.push((s+l)/t.width),Pe.push((Z+D)/t.width),Pe.push((g+ge)/t.height),Pe.push((v+M)/t.height);var ke=Math.max.apply(Math,Pe);ke>1&&(s/=ke,g/=ke,l/=ke,v/=ke,D/=ke,M/=ke,Z/=ke,ge/=ke);var Ge=t.width-l,dt=t.height-M,wt=t.width-D,lt=t.height-ge,nt=i.borderTopWidth,xt=i.borderRightWidth,Tt=i.borderBottomWidth,Ct=i.borderLeftWidth,Xt=Tn(i.paddingTop,n.bounds.width),un=T
vendor: 35,024 bytes, line 129
129n(i.paddingRight,n.bounds.width),Un=Tn(i.paddingBottom,n.bounds.width),cn=Tn(i.paddingLeft,n.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||g>0?zn(t.left+Ct/3,t.top+nt/3,s-Ct/3,g-nt/3,In.TOP_LEFT):new St(t.left+Ct/3,t.top+nt/3),this.topRightBorderDoubleOuterBox=s>0||g>0?zn(t.left+Ge,t.top+nt/3,l-xt/3,v-nt/3,In.TOP_RIGHT):new St(t.left+t.width-xt/3,t.top+nt/3),this.bottomRightBorderDoubleOuterBox=D>0||M>0?zn(t.left+wt,t.top+dt,D-xt/3,M-Tt/3,In.BOTTOM_RIGHT):new St(t.left+t.width-xt/3,t.top+t.height-Tt/3),this.bottomLeftBorderDoubleOuterBox=Z>0||ge>0?zn(t.left+Ct/3,t.top+lt,Z-Ct/3,ge-Tt/3,In.BOTTOM_LEFT):new St(t.left+Ct/3,t.top+t.height-Tt/3),this.topLeftBorderDoubleInnerBox=s>0||g>0?zn(t.left+2*Ct/3,t.top+2*nt/3,s-2*Ct/3,g-2*nt/3,In.TOP_LEFT):new St(t.left+2*Ct/3,t.top+2*nt/3),this.topRightBorderDoubleInnerBox=s>0||g>0?zn(t.left+Ge,t.top+2*nt/3,l-2*xt/3,v-2*nt/3,In.TOP_RIGHT):new St(t.left+t.width-2*xt/3,t.top+2*nt/3),this.bottomRightBorderDoubleInnerBox=D>0||M>0?zn(t.left+wt,t.top+dt,D-2*xt/3,M-2*Tt/3,In.BOTTOM_RIGHT):new St(t.left+t.width-2*xt/3,t.top+t.height-2*Tt/3),this.bottomLeftBorderDoubleInnerBox=Z>0||ge>0?zn(t.left+2*Ct/3,t.top+lt,Z-2*Ct/3,ge-2*Tt/3,In.BOTTOM_LEFT):new St(t.left+2*Ct/3,t.top+t.height-2*Tt/3),this.topLeftBorderStroke=s>0||g>0?zn(t.left+Ct/2,t.top+nt/2,s-Ct/2,g-nt/2,In.TOP_LEFT):new St(t.left+Ct/2,t.top+nt/2),this.topRightBorderStroke=s>0||g>0?zn(t.left+Ge,t.top+nt/2,l-xt/2,v-nt/2,In.TOP_RIGHT):new St(t.left+t.width-xt/2,t.top+nt/2),this.bottomRightBorderStroke=D>0||M>0?zn(t.left+wt,t.top+dt,D-xt/2,M-Tt/2,In.BOTTOM_RIGHT):new St(t.left+t.width-xt/2,t.top+t.height-Tt/2),this.bottomLeftBorderStroke=Z>0||ge>0?zn(t.left+Ct/2,t.top+lt,Z-Ct/2,ge-Tt/2,In.BOTTOM_LEFT):new St(t.left+Ct/2,t.top+t.height-Tt/2),this.topLeftBorderBox=s>0||g>0?zn(t.left,t.top,s,g,In.TOP_LEFT):new St(t.left,t.top),this.topRightBorderBox=l>0||v>0?zn(t.left+Ge,t.top,l,v,In.TOP_RIGHT):new St(t.left+t.width,t.top),this.bottomRightBorderBox=D>0||M>0?zn(t.left+wt,t.top+dt,D,M,In.BOTTOM_RIGHT):new St(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=Z>0||ge>0?zn(t.left,t.top+lt,Z,ge,In.BOTTOM_LEFT):new St(t.left,t.top+t.height),this.topLeftPaddingBox=s>0||g>0?zn(t.left+Ct,t.top+nt,Math.max(0,s-Ct),Math.max(0,g-nt),In.TOP_LEFT):new St(t.left+Ct,t.top+nt),this.topRightPaddingBox=l>0||v>0?zn(t.left+Math.min(Ge,t.width-xt),t.top+nt,Ge>t.width+xt?0:Math.max(0,l-xt),Math.max(0,v-nt),In.TOP_RIGHT):new St(t.left+t.width-xt,t.top+nt),this.bottomRightPaddingBox=D>0||M>0?zn(t.left+Math.min(wt,t.width-Ct),t.top+Math.min(dt,t.height-Tt),Math.max(0,D-xt),Math.max(0,M-Tt),In.BOTTOM_RIGHT):new St(t.left+t.width-xt,t.top+t.height-Tt),this.bottomLeftPaddingBox=Z>0||ge>0?zn(t.left+Ct,t.top+Math.min(lt,t.height-Tt),Math.max(0,Z-Ct),Math.max(0,ge-Tt),In.BOTTOM_LEFT):new St(t.left+Ct,t.top+t.height-Tt),this.topLeftContentBox=s>0||g>0?zn(t.left+Ct+cn,t.top+nt+Xt,Math.max(0,s-(Ct+cn)),Math.max(0,g-(nt+Xt)),In.TOP_LEFT):new St(t.left+Ct+cn,t.top+nt+Xt),this.topRightContentBox=l>0||v>0?zn(t.left+Math.min(Ge,t.width+Ct+cn),t.top+nt+Xt,Ge>t.width+Ct+cn?0:l-Ct+cn,v-(nt+Xt),In.TOP_RIGHT):new St(t.left+t.width-(xt+un),t.top+nt+Xt),this.bottomRightContentBox=D>0||M>0?zn(t.left+Math.min(wt,t.width-(Ct+cn)),t.top+Math.min(dt,t.height+nt+Xt),Math.max(0,D-(xt+un)),M-(Tt+Un),In.BOTTOM_RIGHT):new St(t.left+t.width-(xt+un),t.top+t.height-(Tt+Un)),this.bottomLeftContentBox=Z>0||ge>0?zn(t.left+Ct+cn,t.top+lt,Math.max(0,Z-(Ct+cn)),ge-(Tt+Un),In.BOTTOM_LEFT):new St(t.left+Ct+cn,t.top+t.height-(Tt+Un))}}(),In=function(d){return d[d.TOP_LEFT=0]="TOP_LEFT",d[d.TOP_RIGHT=1]="TOP_RIGHT",d[d.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",d[d.BOTTOM_LEFT=3]="BOTTOM_LEFT",d}(In||{}),zn=function(d,n,i,t,r){var s=(Math.sqrt(2)-1)/3*4,g=i*s,b=t*s,l=d+i,v=n+t;switch(r){case In.TOP_LEFT:return new Ea(new St(d,v),new St(d,v-b),new St(l-g,n),new St(l,n));case In.TOP_RIGHT:return new Ea(new St(d,n),new St(d+g,n),new St(l,v-b),new St(l,v));case In.BOTTOM_RIGHT:return new Ea(new St(l,n),new St(l,n+b),new St(d+g,v),new St(d,v));default:return new Ea(new St(l,v),new St(l-g,v),new St(d,n+b),new St(d,n))}},uo=function(d){return[d.topLeftBorderBox,d.topRightBorderBox,d.bottomRightBorderBox,d.bottomLeftBorderBox]},ho=function(d){return[d.topLeftPaddingBox,d.topRightPaddingBox,d.bottomRightPaddingBox,d.bottomLeftPaddingBox]},cu=function(){return function d(n,i,t){this.offsetX=n,this.offsetY=i,this.matrix=t,this.type=0,this.target=6}}(),xs=function(){return function d(n,i){this.path=n,this.target=i,this.type=1}}(),uu=function(){return function d(n){this.opacity=n,this.type=2,this.target=6}}(),Ho=function(d){return 1===d.type},Is=function(d,n){return d.length===n.length&&d.some(function(i,t){return i===n[t]})},cc=function(){return function d(n){this.element=n,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}(),dl=function(){function d(n,i){if(this.container=n,this.parent=i,this.effects=[],this.curves=new su(this.container),this.container.styles.opacity<1&&this.effects.push(new uu(this.container.styles.opacity)),null!==this.container.styles.transform&&this.effects.push(new cu(this.container.bounds.left+this.container.styles.transformOrigin[0].number,this.container.bounds.top+this.container.styles.transformOrigin[1].number,this.container.styles.transform)),0!==this.container.styles.overflowX){var g=uo(this.curves),b=ho(this.curves);Is(g,b)?this.effects.push(new xs(g,6)):(this.effects.push(new xs(g,2)),this.effects.push(new xs(b,4)))}}return d.prototype.getEffects=function(n){for(var i=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,r=this.effects.slice(0);t;){var s=t.effects.filter(function(l){return!Ho(l)});if(i||0!==t.container.styles.position||!t.parent){if(r.unshift.apply(r,s),i=-1===[2,3].indexOf(t.container.styles.position),0!==t.container.styles.overflowX){var g=uo(t.curves),b=ho(t.curves);Is(g,b)||r.unshift(new xs(b,6))}}else r.unshift.apply(r,s);t=t.parent}return r.filter(function(l){return mi(l.target,n)})},d}(),An=function(d,n,i,t){d.container.elements.forEach(function(r){var s=mi(r.flags,4),g=mi(r.flags,2),b=new dl(r,d);mi(r.styles.display,2048)&&t.push(b);var l=mi(r.flags,8)?[]:t;if(s||g){var v=s||r.styles.isPositioned()?i:n,C=new cc(b);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var D=r.styles.zIndex.order;if(D<0){var M=0;v.negativeZIndex.some(function(Z,ge){return D>Z.element.container.styles.zIndex.order?(M=ge,!1):M>0}),v.negativeZIndex.splice(M,0,C)}else if(D>0){var J=0;v.positiveZIndex.some(function(Z,ge){return D>=Z.element.container.styles.zIndex.order?(J=ge+1,!1):J>0}),v.positiveZIndex.splice(J,0,C)}else v.zeroOrAutoZIndexOrTransformedOrOpacity.push(C)}else r.styles.isFloating()?v.nonPositionedFloats.push(C):v.nonPositionedInlineLevel.push(C);An(b,C,s?C:i,l)}else r.styles.isInlineLevel()?n.inlineLevel.push(b):n.nonInlineLevel.push(b),An(b,n,i,l);mi(r.flags,8)&&hl(r,l)})},hl=function(d,n){for(var i=d instanceof H?d.start:1,t=d instanceof H&&d.reversed,r=0;r<n.length;r++){var s=n[r];s.container instanceof Ot&&"number"==typeof s.container.value&&0!==s.container.value&&(i=s.container.value),s.listValue=Wi(i,s.container.styles.listStyleType,!0),i+=t?-1:1}},UA=function(d,n){switch(n){case 0:return Wr(d.topLeftBorderBox,d.topLeftPaddingBox,d.topRightBorderBox,d.topRightPaddingBox);case 1:return Wr(d.topRightBorderBox,d.topRightPaddingBox,d.bottomRightBorderBox,d.bottomRightPaddingBox);case 2:return Wr(d.bottomRightBorderBox,d.bottomRightPaddingBox,d.bottomLeftBorderBox,d.bottomLeftPaddingBox);default:return Wr(d.bottomLeftBorderBox,d.bottomLeftPaddingBox,d.topLeftBorderBox,d.topLeftPaddingBox)}},fo=function(d,n){var i=[];return Nr(d)?i.push(d.subdivide(.5,!1)):i.push(d),Nr(n)?i.push(n.subdivide(.5,!0)):i.push(n),i},Wr=function(d,n,i,t){var r=[];return Nr(d)?r.push(d.subdivide(.5,!1)):r.push(d),Nr(i)?r.push(i.subdivide(.5,!0)):r.push(i),Nr(t)?r.push(t.subdivide(.5,!0).reverse()):r.push(t),Nr(n)?r.push(n.subdivide(.5,!1).reverse()):r.push(n),r},hc=function(d){var i=d.styles;return d.bounds.add(i.borderLeftWidth,i.borderTopWidth,-(i.borderRightWidth+i.borderLeftWidth),-(i.borderTopWidth+i.borderBottomWidth))},Ss=function(d){var n=d.styles,i=d.bounds,t=Tn(n.paddingLeft,i.width),r=Tn(n.paddingRight,i.width),s=Tn(n.paddingTop,i.width),g=Tn(n.paddingBottom,i.width);return i.add(t+n.borderLeftWidth,s+n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth+t+r),-(n.borderTopWidth+n.borderBottomWidth+s+g))},QA=function(d,n,i){var t=function(d,n){return 0===d?n.bounds:2===d?Ss(n):hc(n)}(aA(d.styles.backgroundOrigin,n),d),r=function(d,n){return 0===d?n.bounds:2===d?Ss(n):hc(n)}(aA(d.styles.backgroundClip,n),d),s=Ns(aA(d.styles.backgroundSize,n),i,t),g=s[0],b=s[1],l=uA(aA(d.styles.backgroundPosition,n),t.width-g,t.height-b);return[fc(aA(d.styles.backgroundRepeat,n),l,s,t,r),Math.round(t.left+l[0]),Math.round(t.top+l[1]),g,b]},Da=function(d){return w(d)&&d.value===no.AUTO},MA=function(d){return"number"==typeof d},Ns=function(d,n,i){var t=n[0],r=n[1],s=n[2],g=d[0],b=d[1];if(!g)return[0,0];if(Jn(g)&&b&&Jn(b))return[Tn(g,i.width),Tn(b,i.height)];var l=MA(s);if(w(g)&&(g.value===no.CONTAIN||g.value===no.COVER))return MA(s)?i.width/i.height<s!=(g.value===no.COVER)?[i.width,i.width/s]:[i.height*s,i.height]:[i.width,i.height];var C=MA(t),D=MA(r),M=C||D;if(Da(g)&&(!b||Da(b)))return C&&D?[t,r]:l||M?M&&l?[C?t:r*s,D?r:t/s]:[C?t:i.width,D?r:i.height]:[i.width,i.height];if(l){var ke=0,Ge=0;return Jn(g)?ke=Tn(g,i.width):Jn(b)&&(Ge=Tn(b,i.height)),Da(g)?ke=Ge*s:(!b||Da(b))&&(Ge=ke/s),[ke,Ge]}var dt=null,wt=null;if(Jn(g)?dt=Tn(g,i.width):b&&Jn(b)&&(wt=Tn(b,i.height)),null!==dt&&(!b||Da(b))&&(wt=C&&D?dt/t*r:i.height),null!==wt&&Da(g)&&(dt=C&&D?wt/r*t:i.width),null!==dt&&null!==wt)return[dt,wt];throw new Error("Unable to calculate background-size for element")},aA=function(d,n){var i=d[n];return typeof i>"u"?d[0]:i},fc=function(d,n,i,t,r){var s=n[0],g=n[1],b=i[0],l=i[1];switch(d){case 2:return[new St(Math.round(t.left),Math.round(t.top+g)),new St(Math.round(t.left+t.width),Math.round(t.top+g)),new St(Math.round(t.left+t.width),Math.round(l+t.top+g)),new St(Math.round(t.left),Math.round(l+t.top+g))];case 3:return[new St(Math.round(t.left+s),Math.round(t.top)),new St(Math.round(t.left+s+b),Math.round(t.top)),new St(Math.round(t.left+s+b),Math.round(t.height+t.top)),new St(Math.round(t.left+s),Math.round(t.height+t.top))];case 1:return[new St(Math.round(t.left+s),Math.round(t.top+g)),new St(Math.round(t.left+s+b),Math.round(t.top+g)),new St(Math.round(t.left+s+b),Math.round(t.top+g+l)),new St(Math.round(t.left+s),Math.round(t.top+g+l))];default:return[new St(Math.round(r.left),Math.round(r.top)),new St(Math.round(r.left+r.width),Math.round(r.top)),new St(Math.round(r.left+r.width),Math.round(r.height+r.top)),new St(Math.round(r.left),Math.round(r.height+r.top))]}},pl="Hidden Text",gc=function(){function d(n){this._data={},this._document=n}return d.prototype.parseMetrics=function(n,i){var t=this._document.createElement("div"),r=this._document.createElement("img"),s=this._document.createElement("span"),g=this._document.body;t.style.visibility="hidden",t.style.fontFamily=n,t.style.fontSize=i,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",g.appendChild(t),r.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",s.style.fontFamily=n,s.style.fontSize=i,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode(pl)),t.appendChild(s),t.appendChild(r);var b=r.offsetTop-s.offsetTop+2;t.removeChild(s),t.appendChild(this._document.createTextNode(pl)),t.style.lineHeight="normal",r.style.verticalAlign="super";var l=r.offsetTop-t.offsetTop+2;return g.removeChild(t),{baseline:b,middle:l}},d.prototype.getMetrics=function(n,i){var t=n+" "+i;return typeof this._data[t]>"u"&&(this._data[t]=this.parseMetrics(n,i)),this._data[t]},d}(),OA=function(){return function d(n,i){this.context=n,this.options=i}}(),hu=function(d){function n(i,t){var r=d.call(this,i,t)||this;return r._activeEffects=[],r.canvas=t.canvas?t.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),t.canvas||(r.canvas.width=Math.floor(t.width*t.scale),r.canvas.height=Math.floor(t.height*t.scale),r.canvas.style.width=t.width+"px",r.canvas.style.height=t.height+"px"),r.fontMetrics=new gc(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-t.x,-t.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),r}return L(n,d),n.prototype.applyEffects=function(i){for(var t=this;this._activeEffects.length;)this.popEffect();i.forEach(function(r){return t.applyEffect(r)})},n.prototype.applyEffect=function(i){this.ctx.save(),function(d){return 2===d.type}(i)&&(this.ctx.globalAlpha=i.opacity),function(d){return 0===d.type}(i)&&(this.ctx.translate(i.offsetX,i.offsetY),this.ctx.transform(i.matrix[0],i.matrix[1],i.matrix[2],i.matrix[3],i.matrix[4],i.matrix[5]),this.ctx.translate(-i.offsetX,-i.offsetY)),Ho(i)&&(this.path(i.path),this.ctx.clip()),this._activeEffects.push(i)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(i){return N(this,void 0,void 0,function(){return K(this,function(r){switch(r.label){case 0:return i.element.container.styles.isVisible()?[4,this.renderStackContent(i)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}})})},n.prototype.renderNode=function(i){return N(this,void 0,void 0,function(){return K(this,function(t){switch(t.label){case 0:return mi(i.container.flags,16),i.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(i)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(i)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},n.prototype.renderTextWithLetterSpacing=function(i,t,r){var s=this;0===t?this.ctx.fillText(i.text,i.bounds.left,i.bounds.top+r):Fe(i.text).reduce(function(b,l){return s.ctx.fillText(l,b,i.bounds.top+r),b+s.ctx.measureText(l).width},i.bounds.left)},n.prototype.createFontStyle=function(i){var t=i.fontVariant.filter(function(g){return"normal"===g||"small-caps"===g}).join(""),r=fu(i.fontFamily).join(", "),s=I(i.fontSize)?""+i.fontSize.number+i.fontSize.unit:i.fontSize.number+"px";return[[i.fontStyle,t,i.fontWeight,s,r].join(" "),r,s]},n.prototype.renderTextNode=function(i,t){return N(this,void 0,void 0,function(){var r,g,b,l,v,C,D,M=this;return K(this,function(J){return r=this.createFontStyle(t),g=r[1],b=r[2],this.ctx.font=r[0],this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(g,b),v=l.baseline,C=l.middle,D=t.paintOrder,i.textBounds.forEach(function(Z){D.forEach(function(ge){switch(ge){case 0:M.ctx.fillStyle=Vi(t.color),M.renderTextWithLetterSpacing(Z,t.letterSpacing,v);var Pe=t.textShadow;Pe.length&&Z.text.trim().length&&(Pe.slice(0).reverse().forEach(function(ke){M.ctx.shadowColor=Vi(ke.color),M.ctx.shadowOffsetX=ke.offsetX.number*M.options.scale,M.ctx.shadowOffsetY=ke.offsetY.number*M.options.scale,M.ctx.shadowBlur=ke.blur.number,M.renderTextWithLetterSpacing(Z,t.letterSpacing,v)}),M.ctx.shadowColor="",M.ctx.shadowOffsetX=0,M.ctx.shadowOffsetY=0,M.ctx.shadowBlur=0),t.textDecorationLine.length&&(M.ctx.fillStyle=Vi(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(ke){switch(ke){case 1:M.ctx.fillRect(Z.bounds.left,Math.round(Z.bounds.top+v),Z.bounds.width,1);break;case 2:M.ctx.fillRect(Z.bounds.left,Math.round(Z.bounds.top),Z.bounds.width,1);break;case 3:M.ctx.fillRect(Z.bounds.left,Math.ceil(Z.bounds.top+C),Z.bounds.width,1)}}));break;case 1:t.webkitTextStrokeWidth&&Z.text.trim().length&&(M.ctx.strokeStyle=Vi(t.webkitTextStrokeColor),M.ctx.lineWidth=t.webkitTextStrokeWidth,M.ctx.lineJoin=window.chrome?"miter":"round",M.ctx.strokeText(Z.text,Z.bounds.left,Z.bounds.top+v)),M.ctx.strokeStyle="",M.ctx.lineWidth=0,M.ctx.lineJoin="miter"}})}),[2]})})},n.prototype.renderReplacedElement=function(i,t,r){if(r&&i.intrinsicWidth>0&&i.intrinsicHeight>0){var s=Ss(i),g=ho(t);this.path(g),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,i.intrinsicWidth,i.intrinsicHeight,s.left,s.top,s.width,s.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(i){return N(this,void 0,void 0,function(){var t,r,s,g,b,C,D,M,Z,ge,Pe,ke,Ge,dt,wt,lt;return K(this,function(nt){switch(nt.label){case 0:this.applyEffects(i.getEffects(4)),r=i.curves,s=(t=i.container).styles,g=0,b=t.textNodes,nt.label=1;case 1:return g<b.length?[4,this.renderTextNode(b[g],s)]:[3,4];case 2:nt.sent(),nt.label=3;case 3:return g++,[3,1];case 4:if(!(t instanceof xe))return[3,8];nt.label=5;case 5:return nt.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return Ge=nt.sent(),this.renderReplacedElement(t,r,Ge),[3,8];case 7:return nt.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof Ye&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof Ze))return[3,12];nt.label=9;case 9:return nt.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return Ge=nt.sent(),this.renderReplacedElement(t,r,Ge),[3,12];case 11:return nt.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof Yt&&t.tree?[4,new n(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:C=nt.sent(),t.width&&t.height&&this.ctx.drawImage(C,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),nt.label=14;case 14:if(t instanceof gt&&(D=Math.min(t.bounds.width,t.bounds.height),t.type===Ne?t.checked&&(this.ctx.save(),this.path([new St(t.bounds.left+.39363*D,t.bounds.top+.79*D),new St(t.bounds.left+.16*D,t.bounds.top+.5549*D),new St(t.bounds.left+.27347*D,t.bounds.top+.44071*D),new St(t.bounds.left+.39694*D,t.bounds.top+.5649*D),new St(t.bounds.left+.72983*D,t.bounds.top+.23*D),new St(t.bounds.left+.84*D,t.bounds.top+.34085*D),new St(t.bounds.left+.39363*D,t.bounds.top+.79*D)]),this.ctx.fillStyle=Vi(Bt),this.ctx.fill(),this.ctx.restore()):t.type===Me&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+D/2,t.bounds.top+D/2,D/4,0,2*Math.PI,!0),this.ctx.fillStyle=Vi(Bt),this.ctx.fill(),this.ctx.restore())),go(t)&&t.value.length){switch(M=this.createFontStyle(s),Z=this.fontMetrics.getMetrics(wt=M[0],M[1]).baseline,this.ctx.font=wt,this.ctx.fillStyle=Vi(s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=gl(t.styles.textAlign),lt=Ss(t),ge=0,t.styles.textAlign){case 1:ge+=lt.width/2;break;case 2:ge+=lt.width}Pe=lt.add(ge,0,0,-lt.height/2+1),this.ctx.save(),this.path([new St(lt.left,lt.top),new St(lt.left+lt.width,lt.top),new St(lt.left+lt.width,lt.top+lt.height),new St(lt.left,lt.top+lt.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Re(t.value,Pe),s.letterSpacing,Z),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!mi(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(ke=t.styles.listStyleImage).type)return[3,18];Ge=void 0,dt=ke.url,nt.label=15;case 15:return nt.trys.push([15,17,,18]),[4,this.context.cache.match(dt)];case 16:return Ge=nt.sent(),this.ctx.drawImage(Ge,t.bounds.left-(Ge.width+10),t.bounds.top),[3,18];case 17:return nt.sent(),this.context.logger.error("Error loading list-style-image "+dt),[3,18];case 18:return[3,20];case 19:i.listValue&&-1!==t.styles.listStyleType&&(wt=this.createFontStyle(s)[0],this.ctx.font=wt,this.ctx.fillStyle=Vi(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",lt=new Ae(t.bounds.left,t.bounds.top+Tn(t.styles.paddingTop,t.bounds.width),t.bounds.width,Gc(s.lineHeight,s.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Re(i.listValue,lt),s.letterSpacing,Gc(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),nt.label=20;case 20:return[2]}})})},n.prototype.renderStackContent=function(i){return N(this,void 0,void 0,function(){var t,r,s,g,b,l,v,C,D,M,J,Z,ge,Pe;return K(this,function(Ge){switch(Ge.label){case 0:return mi(i.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(i.element)];case 1:Ge.sent(),t=0,r=i.negativeZIndex,Ge.label=2;case 2:return t<r.length?[4,this.renderStack(r[t])]:[3,5];case 3:Ge.sent(),Ge.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(i.element)];case 6:Ge.sent(),s=0,g=i.nonInlineLevel,Ge.label=7;case 7:return s<g.length?[4,this.renderNode(g[s])]:[3,10];case 8:Ge.sent(),Ge.label=9;case 9:return s++,[3,7];case 10:b=0,l=i.nonPositionedFloats,Ge.label=11;case 11:return b<l.length?[4,this.renderStack(l[b])]:[3,14];case 12:Ge.sent(),Ge.label=13;case 13:return b++,[3,11];case 14:v=0,C=i.nonPositionedInlineLevel,Ge.label=15;case 15:return v<C.length?[4,this.renderStack(C[v])]:[3,18];case 16:Ge.sent(),Ge.label=17;case 17:return v++,[3,15];case 18:D=0,M=i.inlineLevel,Ge.label=19;case 19:return D<M.length?[4,this.renderNode(M[D])]:[3,22];case 20:Ge.sent(),Ge.label=21;case 21:return D++,[3,19];case 22:J=0,Z=i.zeroOrAutoZIndexOrTransformedOrOpacity,Ge.label=23;case 23:return J<Z.length?[4,this.renderStack(Z[J])]:[3,26];case 24:Ge.sent(),Ge.label=25;case 25:return J++,[3,23];case 26:ge=0,Pe=i.positiveZIndex,Ge.label=27;case 27:return ge<Pe.length?[4,this.renderStack(Pe[ge])]:[3,30];case 28:Ge.sent(),Ge.label=29;case 29:return ge++,[3,27];case 30:return[2]}})})},n.prototype.mask=function(i){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(i.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(i){this.ctx.beginPath(),this.formatPath(i),this.ctx.closePath()},n.prototype.formatPath=function(i){var t=this;i.forEach(function(r,s){var g=Nr(r)?r.start:r;0===s?t.ctx.moveTo(g.x,g.y):t.ctx.lineTo(g.x,g.y),Nr(r)&&t.ctx.bezierCurveTo(r.startControl.x,r.startControl.y,r.endControl.x,r.endControl.y,r.end.x,r.end.y)})},n.prototype.renderRepeat=function(i,t,r,s){this.path(i),this.ctx.fillStyle=t,this.ctx.translate(r,s),this.ctx.fill(),this.ctx.translate(-r,-s)},n.prototype.resizeImage=function(i,t,r){var s;if(i.width===t&&i.height===r)return i;var b=(null!==(s=this.canvas.ownerDocument)&&void 0!==s?s:document).createElement("canvas");return b.width=Math.max(1,t),b.height=Math.max(1,r),b.getContext("2d").drawImage(i,0,0,i.width,i.height,0,0,t,r),b},n.prototype.renderBackgroundImage=function(i){return N(this,void 0,void 0,function(){var t,r,s,g,b;return K(this,function(v){switch(v.label){case 0:t=i.styles.backgroundImage.length-1,r=function(C){var D,M,J,Z,ge,Pe,ke,Ge,dt,wt,lt,nt,xt,Tt,Ct,Xt,un,Un,cn,wn,Ui,ti,Mn,vi,Ln,Qi,yr,Tr,nr,si,ur;return K(this,function(ir){switch(ir.label){case 0:if(0!==C.type)return[3,5];D=void 0,M=C.url,ir.label=1;case 1:return ir.trys.push([1,3,,4]),[4,s.context.cache.match(M)];case 2:return D=ir.sent(),[3,4];case 3:return ir.sent(),s.context.logger.error("Error loading background-image "+M),[3,4];case 4:return D&&(J=QA(i,t,[D.width,D.height,D.width/D.height]),Xt=J[0],ti=J[1],Mn=J[2],Tt=s.ctx.createPattern(s.resizeImage(D,cn=J[3],wn=J[4]),"repeat"),s.renderRepeat(Xt,Tt,ti,Mn)),[3,6];case 5:!function(d){return 1===d.type}(C)?function(d){return 2===d.type}(C)&&(Ct=QA(i,t,[null,null,null]),Xt=Ct[0],un=Ct[1],Un=Ct[2],wn=Ct[4],ti=Tn((Ui=0===C.position.length?[No]:C.position)[0],cn=Ct[3]),Mn=Tn(Ui[Ui.length-1],wn),vi=function(d,n,i,t,r){var s=0,g=0;switch(d.size){case 0:0===d.shape?s=g=Math.min(Math.abs(n),Math.abs(n-t),Math.abs(i),Math.abs(i-r)):1===d.shape&&(s=Math.min(Math.abs(n),Math.abs(n-t)),g=Math.min(Math.abs(i),Math.abs(i-r)));break;case 2:if(0===d.shape)s=g=Math.min(Vr(n,i),Vr(n,i-r),Vr(n-t,i),Vr(n-t,i-r));else if(1===d.shape){var b=Math.min(Math.abs(i),Math.abs(i-r))/Math.min(Math.abs(n),Math.abs(n-t)),l=DA(t,r,n,i,!0);g=b*(s=Vr(l[0]-n,(l[1]-i)/b))}break;case 1:0===d.shape?s=g=Math.max(Math.abs(n),Math.abs(n-t),Math.abs(i),Math.abs(i-r)):1===d.shape&&(s=Math.max(Math.abs(n),Math.abs(n-t)),g=Math.max(Math.abs(i),Math.abs(i-r)));break;case 3:if(0===d.shape)s=g=Math.max(Vr(n,i),Vr(n,i-r),Vr(n-t,i),Vr(n-t,i-r));else if(1===d.shape){b=Math.max(Math.abs(i),Math.abs(i-r))/Math.max(Math.abs(n),Math.abs(n-t));var D=DA(t,r,n,i,!1);g=b*(s=Vr(D[0]-n,(D[1]-i)/b))}}return Array.isArray(d.size)&&(s=Tn(d.size[0],t),g=2===d.size.length?Tn(d.size[1],r):s),[s,g]}(C,ti,Mn,cn,wn),Qi=vi[1],(Ln=vi[0])>0&&Qi>0&&(yr=s.ctx.createRadialGradient(un+ti,Un+Mn,0,un+ti,Un+Mn,Ln),Mc(C.stops,2*Ln).forEach(function(oA){return yr.addColorStop(oA.stop,Vi(oA.color))}),s.path(Xt),s.ctx.fillStyle=yr,Ln!==Qi?(Tr=i.bounds.left+.5*i.bounds.width,nr=i.bounds.top+.5*i.bounds.height,ur=1/(si=Qi/Ln),s.ctx.save(),s.ctx.translate(Tr,nr),s.ctx.transform(1,0,0,si,0,0),s.ctx.translate(-Tr,-nr),s.ctx.fillRect(un,ur*(Un-nr)+nr,cn,wn*ur),s.ctx.restore()):s.ctx.fill())):(Z=QA(i,t,[null,null,null]),Xt=Z[0],ti=Z[1],Mn=Z[2],ge=Oc(C.angle,cn=Z[3],wn=Z[4]),Pe=ge[0],ke=ge[1],Ge=ge[2],dt=ge[3],wt=ge[4],(lt=document.createElement("canvas")).width=cn,lt.height=wn,nt=lt.getContext("2d"),xt=nt.createLinearGradient(ke,dt,Ge,wt),Mc(C.stops,Pe).forEach(function(oA){return xt.addColorStop(oA.stop,Vi(oA.color))}),nt.fillStyle=xt,nt.fillRect(0,0,cn,wn),cn>0&&wn>0&&(Tt=s.ctx.createPattern(lt,"repeat"),s.renderRepeat(Xt,Tt,ti,Mn))),ir.label=6;case 6:return t--,[2]}})},s=this,g=0,b=i.styles.backgroundImage.slice(0).reverse(),v.label=1;case 1:return g<b.length?[5,r(b[g])]:[3,4];case 2:v.sent(),v.label=3;case 3:return g++,[3,1];case 4:return[2]}})})},n.prototype.renderSolidBorder=function(i,t,r){return N(this,void 0,void 0,function(){return K(this,function(s){return this.path(UA(r,t)),this.ctx.fillStyle=Vi(i),this.ctx.fill(),[2]})})},n.prototype.renderDoubleBorder=function(i,t,r,s){return N(this,void 0,void 0,function(){var g,b;return K(this,function(l){switch(l.label){case 0:return t<3?[4,this.renderSolidBorder(i,r,s)]:[3,2];case 1:return l.sent(),[2];case 2:return g=function(d,n){switch(n){case 0:return Wr(d.topLeftBorderBox,d.topLeftBorderDoubleOuterBox,d.topRightBorderBox,d.topRightBorderDoubleOuterBox);case 1:return Wr(d.topRightBorderBox,d.topRightBorderDoubleOuterBox,d.bottomRightBorderBox,d.bottomRightBorderDoubleOuterBox);case 2:return Wr(d.bottomRightBorderBox,d.bottomRightBorderDoubleOuterBox,d.bottomLeftBorderBox,d.bottomLeftBorderDoubleOuterBox);default:return Wr(d.bottomLeftBorderBox,d.bottomLeftBorderDoubleOuterBox,d.topLeftBorderBox,d.topLeftBorderDoubleOuterBox)}}(s,r),this.path(g),this.ctx.fillStyle=Vi(i),this.ctx.fill(),b=function(d,n){switch(n){case 0:return Wr(d.topLeftBorderDoubleInnerBox,d.topLeftPaddingBox,d.topRightBorderDoubleInnerBox,d.topRightPaddingBox);case 1:return Wr(d.topRightBorderDoubleInnerBox,d.topRightPaddingBox,d.bottomRightBorderDoubleInnerBox,d.bottomRightPaddingBox);case 2:return Wr(d.bottomRightBorderDoubleInnerBox,d.bottomRightPaddingBox,d.bottomLeftBorderDoubleInnerBox,d.bottomLeftPaddingBox);default:return Wr(d.bottomLeftBorderDoubleInnerBox,d.bottomLeftPaddingBox,d.topLeftBorderDoubleInnerBox,d.topLeftPaddingBox)}}(s,r),this.path(b),this.ctx.fill(),[2]}})})},n.prototype.renderNodeBackgroundAndBorders=function(i){return N(this,void 0,void 0,function(){var t,r,s,g,b,l,v,C,D=this;return K(this,function(M){switch(M.label){case 0:return this.applyEffects(i.getEffects(2)),r=!Zi((t=i.container.styles).backgroundColor)||t.backgroundImage.length,s=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],g=pA(aA(t.backgroundClip,0),i.curves),r||t.boxShadow.length?(this.ctx.save(),this.path(g),this.ctx.clip(),Zi(t.backgroundColor)||(this.ctx.fillStyle=Vi(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(i.container)]):[3,2];case 1:M.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(J){D.ctx.save();var Z=uo(i.curves),ge=J.inset?0:1e4,Pe=function(d,n,i,t,r){return d.map(function(s,g){switch(g){case 0:return s.add(n,i);case 1:return s.add(n+t,i);case 2:return s.add(n+t,i+r);case 3:return s.add(n,i+r)}return s})}(Z,(J.inset?1:-1)*J.spread.number-ge,(J.inset?1:-1)*J.spread.number,J.spread.number*(J.inset?-2:2),J.spread.number*(J.inset?-2:2));J.inset?(D.path(Z),D.ctx.clip(),D.mask(Pe)):(D.mask(Z),D.ctx.clip(),D.path(Pe)),D.ctx.shadowOffsetX=J.offsetX.number+ge,D.ctx.shadowOffsetY=J.offsetY.number,D.ctx.shadowColor=Vi(J.color),D.ctx.shadowBlur=J.blur.number,D.ctx.fillStyle=J.inset?Vi(J.color):"rgba(0,0,0,1)",D.ctx.fill(),D.ctx.restore()}),M.label=2;case 2:b=0,l=0,v=s,M.label=3;case 3:return l<v.length?0!==(C=v[l]).style&&!Zi(C.color)&&C.width>0?2!==C.style?[3,5]:[4,this.renderDashedDottedBorder(C.color,C.width,b,i.curves,2)]:[3,11]:[3,13];case 4:return M.sent(),[3,11];case 5:return 3!==C.style?[3,7]:[4,this.renderDashedDottedBorder(C.color,C.width,b,i.curves,3)];case 6:return M.sent(),[3,11];case 7:return 4!==C.style?[3,9]:[4,this.renderDoubleBorder(C.color,C.width,b,i.curves)];case 8:return M.sent(),[3,11];case 9:return[4,this.renderSolidBorder(C.color,b,i.curves)];case 10:M.sent(),M.label=11;case 11:b++,M.label=12;case 12:return l++,[3,3];case 13:return[2]}})})},n.prototype.renderDashedDottedBorder=function(i,t,r,s,g){return N(this,void 0,void 0,function(){var b,l,v,C,D,M,J,Z,ge,Pe,ke,Ge,dt,wt,lt,nt;return K(this,function(xt){return this.ctx.save(),b=function(d,n){switch(n){case 0:return fo(d.topLeftBorderStroke,d.topRightBorderStroke);case 1:return fo(d.topRightBorderStroke,d.bottomRightBorderStroke);case 2:return fo(d.bottomRightBorderStroke,d.bottomLeftBorderStroke);default:return fo(d.bottomLeftBorderStroke,d.topLeftBorderStroke)}}(s,r),l=UA(s,r),2===g&&(this.path(l),this.ctx.clip()),Nr(l[0])?(v=l[0].start.x,C=l[0].start.y):(v=l[0].x,C=l[0].y),Nr(l[1])?(D=l[1].end.x,M=l[1].end.y):(D=l[1].x,M=l[1].y),J=0===r||2===r?Math.abs(v-D):Math.abs(C-M),this.ctx.beginPath(),this.formatPath(3===g?b:l.slice(0,2)),Z=t<3?3*t:2*t,ge=t<3?2*t:t,3===g&&(Z=t,ge=t),Pe=!0,J<=2*Z?Pe=!1:J<=2*Z+ge?(Z*=ke=J/(2*Z+ge),ge*=ke):(Ge=Math.floor((J+ge)/(Z+ge)),dt=(J-Ge*Z)/(Ge-1),ge=(wt=(J-(Ge+1)*Z)/Ge)<=0||Math.abs(ge-dt)<Math.abs(ge-wt)?dt:wt),Pe&&this.ctx.setLineDash(3===g?[0,Z+ge]:[Z,ge]),3===g?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=Vi(i),this.ctx.stroke(),this.ctx.setLineDash([]),2===g&&(Nr(l[0])&&(lt=l[3],nt=l[0],this.ctx.beginPath(),this.formatPath([new St(lt.end.x,lt.end.y),new St(nt.start.x,nt.start.y)]),this.ctx.stroke()),Nr(l[1])&&(lt=l[1],nt=l[2],this.ctx.beginPath(),this.formatPath([new St(lt.end.x,lt.end.y),new St(nt.start.x,nt.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},n.prototype.render=function(i){return N(this,void 0,void 0,function(){var t;return K(this,function(r){switch(r.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Vi(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=function(d){var n=new dl(d,null),i=new cc(n),t=[];return An(n,i,i,t),hl(n.container,t),i}(i),[4,this.renderStack(t)];case 1:return r.sent(),this.applyEffects([]),[2,this.canvas]}})})},n}(OA),go=function(d){return d instanceof It||d instanceof Qt||d instanceof gt&&d.type!==Me&&d.type!==Ne},pA=function(d,n){switch(d){case 0:return uo(n);case 2:return function(d){return[d.topLeftContentBox,d.topRightContentBox,d.bottomRightContentBox,d.bottomLeftContentBox]}(n);default:return ho(n)}},gl=function(d){switch(d){case 1:return"center";case 2:return"right";default:return"left"}},Vo=["-apple-system","system-ui"],fu=function(d){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?d.filter(function(n){return-1===Vo.indexOf(n)}):d},jo=function(d){function n(i,t){var r=d.call(this,i,t)||this;return r.canvas=t.canvas?t.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=t,r.canvas.width=Math.floor(t.width*t.scale),r.canvas.height=Math.floor(t.height*t.scale),r.canvas.style.width=t.width+"px",r.canvas.style.height=t.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-t.x,-t.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale),r}return L(n,d),n.prototype.render=function(i){return N(this,void 0,void 0,function(){var t,r;return K(this,function(s){switch(s.label){case 0:return t=X(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,i),[4,pu(t)];case 1:return r=s.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Vi(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},n}(OA),pu=function(d){return new Promise(function(n,i){var t=new Image;t.onload=function(){n(t)},t.onerror=i,t.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(d))})},ml=function(){function d(n){var t=n.enabled;this.id=n.id,this.enabled=t,this.start=Date.now()}return d.prototype.debug=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.debug?console.debug.apply(console,et([this.id,this.getTime()+"ms"],n)):this.info.apply(this,n))},d.prototype.getTime=function(){return Date.now()-this.start},d.prototype.info=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];this.enabled&&typeof window<"u"&&window.console&&"function"==typeof console.info&&console.info.apply(console,et([this.id,this.getTime()+"ms"],n))},d.prototype.warn=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.warn?console.warn.apply(console,et([this.id,this.getTime()+"ms"],n)):this.info.apply(this,n))},d.prototype.error=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.error?console.error.apply(console,et([this.id,this.getTime()+"ms"],n)):this.info.apply(this,n))},d.instances={},d}(),vl=function(){function d(n,i){var t;this.windowBounds=i,this.instanceName="#"+d.instanceCount++,this.logger=new ml({id:this.instanceName,enabled:n.logging}),this.cache=null!==(t=n.cache)&&void 0!==t?t:new Ro(this,n)}return d.instanceCount=1,d}
129();typeof window<"u"&&Cs.setContext(window);var Ts=function(d,n){return N(void 0,void 0,void 0,function(){var i,t,r,s,g,b,l,v,C,D,M,J,Z,ge,Pe,ke,Ge,dt,wt,lt,nt,Tt,Ct,Xt,un,Un,cn,wn,Ui,ti,Mn,vi,Ln,Qi,yr,Tr,nr,si;return K(this,function(ur){switch(ur.label){case 0:if(!d||"object"!=typeof d)return[2,Promise.reject("Invalid element provided as first argument")];if(!(i=d.ownerDocument))throw new Error("Element is not attached to a Document");if(!(t=i.defaultView))throw new Error("Document is not attached to a Window");return r={allowTaint:null!==(Tt=n.allowTaint)&&void 0!==Tt&&Tt,imageTimeout:null!==(Ct=n.imageTimeout)&&void 0!==Ct?Ct:15e3,proxy:n.proxy,useCORS:null!==(Xt=n.useCORS)&&void 0!==Xt&&Xt},s=e({logging:null===(un=n.logging)||void 0===un||un,cache:n.cache},r),g={windowWidth:null!==(Un=n.windowWidth)&&void 0!==Un?Un:t.innerWidth,windowHeight:null!==(cn=n.windowHeight)&&void 0!==cn?cn:t.innerHeight,scrollX:null!==(wn=n.scrollX)&&void 0!==wn?wn:t.pageXOffset,scrollY:null!==(Ui=n.scrollY)&&void 0!==Ui?Ui:t.pageYOffset},b=new Ae(g.scrollX,g.scrollY,g.windowWidth,g.windowHeight),l=new vl(s,b),v=null!==(ti=n.foreignObjectRendering)&&void 0!==ti&&ti,C={allowTaint:null!==(Mn=n.allowTaint)&&void 0!==Mn&&Mn,onclone:n.onclone,ignoreElements:n.ignoreElements,inlineImages:v,copyStyles:v},l.logger.debug("Starting document clone with size "+b.width+"x"+b.height+" scrolled to "+-b.left+","+-b.top),D=new rA(l,d,C),(M=D.clonedReferenceElement)?[4,D.toIFrame(i,b)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return J=ur.sent(),Z=pn(M)||function(d){return"HTML"===d.tagName}(M)?function(d){var n=d.body,i=d.documentElement;if(!n||!i)throw new Error("Unable to get document size");var t=Math.max(Math.max(n.scrollWidth,i.scrollWidth),Math.max(n.offsetWidth,i.offsetWidth),Math.max(n.clientWidth,i.clientWidth)),r=Math.max(Math.max(n.scrollHeight,i.scrollHeight),Math.max(n.offsetHeight,i.offsetHeight),Math.max(n.clientHeight,i.clientHeight));return new Ae(0,0,t,r)}(M.ownerDocument):tt(l,M),ge=Z.width,Pe=Z.height,ke=Z.left,Ge=Z.top,dt=_l(l,M,n.backgroundColor),wt={canvas:n.canvas,backgroundColor:dt,scale:null!==(Ln=null!==(vi=n.scale)&&void 0!==vi?vi:t.devicePixelRatio)&&void 0!==Ln?Ln:1,x:(null!==(Qi=n.x)&&void 0!==Qi?Qi:0)+ke,y:(null!==(yr=n.y)&&void 0!==yr?yr:0)+Ge,width:null!==(Tr=n.width)&&void 0!==Tr?Tr:Math.ceil(ge),height:null!==(nr=n.height)&&void 0!==nr?nr:Math.ceil(Pe)},v?(l.logger.debug("Document cloned, using foreign object rendering"),[4,new jo(l,wt).render(M)]):[3,3];case 2:return lt=ur.sent(),[3,5];case 3:return l.logger.debug("Document cloned, element located at "+ke+","+Ge+" with size "+ge+"x"+Pe+" using computed rendering"),l.logger.debug("Starting DOM parsing"),nt=Vt(l,M),dt===nt.styles.backgroundColor&&(nt.styles.backgroundColor=dA.TRANSPARENT),l.logger.debug("Starting renderer for element at "+wt.x+","+wt.y+" with size "+wt.width+"x"+wt.height),[4,new hu(l,wt).render(nt)];case 4:lt=ur.sent(),ur.label=5;case 5:return(!(null!==(si=n.removeContainer)&&void 0!==si)||si)&&(rA.destroy(J)||l.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),l.logger.debug("Finished rendering"),[2,lt]}})})},_l=function(d,n,i){var t=n.ownerDocument,r=t.documentElement?ss(d,getComputedStyle(t.documentElement).backgroundColor):dA.TRANSPARENT,s=t.body?ss(d,getComputedStyle(t.body).backgroundColor):dA.TRANSPARENT,g="string"==typeof i?ss(d,i):null===i?dA.TRANSPARENT:4294967295;return n===t.documentElement?Zi(r)?Zi(s)?g:s:r:g};return function(d,n){return void 0===n&&(n={}),Ts(d,n)}}()},4412:(on,bt,L)=>{L.d(bt,{t:()=>N});var e=L(1413);class N extends e.B{constructor(et){super(),this._value=et}get value(){return this.getValue()}_subscribe(et){const Ae=super._subscribe(et);return!Ae.closed&&et.next(this._value),Ae}getValue(){const{hasError:et,thrownError:Ae,_value:tt}=this;if(et)throw Ae;return this._throwIfClosed(),tt}next(et){super.next(this._value=et)}}},3207:(on,bt,L)=>{L.d(bt,{s:()=>N});var e=L(9350);function N(K,et){const Ae="object"==typeof et;return new Promise((tt,Ue)=>{let Ke,Ve=!1;K.subscribe({next:ft=>{Ke=ft,Ve=!0},error:Ue,complete:()=>{Ve?tt(Ke):Ae?tt(et.defaultValue):Ue(new e.G)}})})}},1033:(on,bt,L)=>{L.d(bt,{O:()=>Ae});var e=L(1985),N=L(8750),K=L(2326),et=L(4360);function Ae(...Ue){return 1===(Ue=(0,K.K)(Ue)).length?(0,N.Tg)(Ue[0]):new e.c(function tt(Ue){return Ve=>{let Ke=[];for(let ft=0;Ke&&!Ve.closed&&ft<Ue.length;ft++)Ke.push((0,N.Tg)(Ue[ft]).subscribe((0,et._)(Ve,Oe=>
129{if(Ke){for(let be=0;be<Ke.length;be++)be!==ft&&Ke[be].unsubscribe();Ke=null}Ve.next(Oe)})))}}(Ue))}},5964:(on,bt,L)=>{L.d(bt,{p:()=>K});var e=L(9974),N=L(4360);function K(et,Ae){return(0,e.N)((tt,Ue)=>{let Ve=0;tt.subscribe((0,N._)(Ue,Ke=>et.call(Ae,Ke,Ve++)&&Ue.next(Ke)))})}},3703:(on,bt,L)=>{L.d(bt,{u:()=>N});var e=L(6354);function N(K){return(0,e.T)(()=>K)}},9172:(on,bt,L)=>{L.d(bt,{Z:()=>et});var e=L(8793),N=L(9326),K=L(9974);function et(...Ae){const tt=(0,N.lI)(Ae);return(0,K.N)((Ue,Ve)=>{(tt?(0,e.x)(Ae,Ue,tt):(0,e.x)(Ae,Ue)).subscribe(Ve)})}},6977:(on,bt,L)=>{L.d(bt,{Q:()=>Ae});var e=L(9974),N=L(4360),K=L(8750),et=L(5343);function Ae(tt){return(0,e.N)((Ue,Ve)=>{(0,K.Tg)(tt).subscribe((0,N._)(Ve,()=>Ve.complete(),et.l)),!Ve.closed&&Ue.subscribe(Ve)})}},9350:(on,bt,L)=>{L.d(bt,{G:()=>N});const N=(0,L(1853).L)(K=>function(){K(this),this.name="EmptyError",this.message="no elements in sequence"})},2326:(on,bt,L)=>{L.d(bt,{K:()=>N});const{isArray:e}=Array;function N(K){return 1===K.length&&e(K[0])?K[0]:K}},9969:(on,bt,L)=>{L.d(bt,{FX:()=>yt,If:()=>K,K2:()=>Ve,hZ:()=>Ae,i0:()=>tt,iF:()=>Ke,kY:()=>be,kp:()=>et,sf:()=>ci,ui:()=>vA,wk:()=>ft}),L(8701),L(2331);var K=function(ot){return ot[ot.State=0]="State",ot[ot.Transition=1]="Transition",ot[ot.Sequence=2]="Sequence",ot[ot.Group=3]="Group",ot[ot.Animate=4]="Animate",ot[ot.Keyframes=5]="Keyframes",ot[ot.Style=6]="Style",ot[ot.Trigger=7]="Trigger",ot[ot.Reference=8]="Reference",ot[ot.AnimateChild=9]="AnimateChild",ot[ot.AnimateRef=10]="AnimateRef",ot[ot.Query=11]="Query",ot[ot.Stagger=12]="Stagger",ot}(K||{});const et="*";function Ae(ot,_e){return{type:K.Trigger,name:ot,definitions:_e,options:{}}}function tt(ot,_e=null){return{type:K.Animate,styles:_e,timings:ot}}function Ve(ot,_e=null){return{type:K.Sequence,steps:ot,options:_e}}function Ke(ot){return{type:K.Style,styles:ot,offset:null}}function ft(ot,_e,_t){return{type:K.State,name:ot,styles:_e,options:_t}}function be(ot,_e,_t=null){return{type:K.Transition,expr:ot,animation:_e,options:_t}}class ci{constructor(_e=0,_t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=_e+_t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(_e=>_e()),this._onDoneFns=[])}onStart(_e){this._originalOnStartFns.push(_e),this._onStartFns.push(_e)}onDone(_e){this._originalOnDoneFns.push(_e),this._onDoneFns.push(_e)}onDestroy(_e){this._onDestroyFns.push(_e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(_e=>_e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(_e=>_e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(_e){this._position=this.totalTime?_e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(_e){const _t="start"==_e?this._onStartFns:this._onDoneFns;_t.forEach(Gt=>Gt()),_t.length=0}}class vA{constructor(_e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=_e;let _t=0,Gt=0,sn=0;const qr=this.players.length;0==qr?queueMicrotask(()=>this._onFinish()):this.players.forEach(Mi=>{Mi.onDone(()=>{++_t==qr&&this._onFinish()}),Mi.onDestroy(()=>{++Gt==qr&&this._onDestroy()}),Mi.onStart(()=>{++sn==qr&&this._onStart()})}),this.totalTime=this.players.reduce((Mi,Cr)=>Math.max(Mi,Cr.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(_e=>_e()),this._onDoneFns=[])}init(){this.players.forEach(_e=>_e.init())}onStart(_e){this._onStartFns.push(_e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(_e=>_e()),this._onStartFns=[])}onDone(_e){this._onDoneFns.push(_e)}onDestroy(_e){this._onDestroyFns.push(_e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEac
129h(_e=>_e.play())}pause(){this.players.forEach(_e=>_e.pause())}restart(){this.players.forEach(_e=>_e.restart())}finish(){this._onFinish(),this.players.forEach(_e=>_e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(_e=>_e.destroy()),this._onDestroyFns.forEach(_e=>_e()),this._onDestroyFns=[])}reset(){this.players.forEach(_e=>_e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(_e){const _t=_e*this.totalTime;this.players.forEach(Gt=>{const sn=Gt.totalTime?Math.min(1,_t/Gt.totalTime):1;Gt.setPosition(sn)})}getPosition(){const _e=this.players.reduce((_t,Gt)=>null===_t||Gt.totalTime>_t.totalTime?Gt:_t,null);return null!=_e?_e.getPosition():0}beforeDestroy(){this.players.forEach(_e=>{_e.beforeDestroy&&_e.beforeDestroy()})}triggerCallback(_e){const _t="start"==_e?this._onStartFns:this._onDoneFns;_t.forEach(Gt=>Gt()),_t.length=0}}const yt="!"},7522:(on,bt,L)=>{L.d(bt,{A:()=>K});const e=void 0,K=["es",[["a.\xa0m.","p.\xa0m."],e,e],e,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],e,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],e,[["a. C.","d. C."],e,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1}, {0}",e,e,e],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[e,"$"],BRL:[e,"R$"],BYN:[e,"\u0440."],CAD:[e,"$"],CNY:[e,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[e,"\xa3"],HKD:[e,"$"],ILS:[e,"\u20aa"],INR:[e,"\u20b9"],JPY:[e,"\xa5"],KRW:[e,"\u20a9"],MXN:[e,"$"],NZD:[e,"$"],PHP:[e,"\u20b1"],RON:[e,"L"],THB:["\u0e3f"],TWD:[e,"NT$"],USD:["US$","$"],XAF:[],XCD:[e,"$"],XOF:[]},"ltr",function N(et){const Ae=et,tt=Math.floor(Math.abs(et)),Ue=et.toString().replace(/^[^.]*\.?/,"").length,Ve=parseInt(et.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===Ae?1:0===Ve&&0!==tt&&tt%1e6==0&&0===Ue||!(Ve>=0&&Ve<=5)?4:5}]},9417:(on,bt,L)=>{L.d(bt,{$R:()=>Hi,BC:()=>bn,Fm:()=>Xo,JD:()=>za,X1:()=>Ni,YN:()=>Si,YS:()=>Gs,Zm:()=>ft,cb:()=>Oi,cz:()=>ye,j4:()=>es,k0:()=>De,kq:()=>Ve,me:()=>ne,ok:()=>as,qT:()=>Ql,tU:()=>Ks,v8:()=>xo,vO:()=>mt,vS:()=>FA,wz:()=>$a,xH:()=>Rl,y7:()=>ns});var e=L(2331),N=L(8701),K=L(6648),et=L(7468),Ae=L(6354);let tt=(()=>{class I{constructor(w,k){this._renderer=w,this._elementRef=k,this.onChange=se=>{},this.onTouched=()=>{}}setProperty(w,k){this._renderer.setProperty(this._elementRef.nativeElement,w,k)}registerOnTouched(w){this.onTouched=w}registerOnChange(w){this.onChange=w}setDisabledState(w){this.setProperty("disabled",w)}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(e.Renderer2),e.\u0275\u0275directiveInject(e.ElementRef))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I})}}return I})(),Ue=(()=>{class I extends tt{static{this.\u0275fac=(()=>{let w;return function(se){return(w||(w=e.\u0275\u0275getInheritedFactory(I)))(se||I)}})()}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,features:[e.\u0275\u0275InheritDefinitionFeature]})}}return I})();const Ve=new e.InjectionToken(""),Ke={provide:Ve,useExisting:(0,e.forwardRef)(()=>ft),multi:!0};let ft=(()=>{class I extends Ue{writeValue(w){this.setProperty("checked",w)}static{this.\u0275fac=(()=>{let w;return function(se){return(w||(w=e.\u0275\u0275getInheritedFactory(I)))(se||I)}})()}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(k,se){1&k&&e.\u0275\u0275listener("change",function(tn){return se.onChange(tn.target.checked)})("blur",function(){return se.onTouched()})},features:[e.\u0275\u0275ProvidersFeature([Ke]),e.\u0275\u0275InheritDefinitionFeature]})}}return I})();const Oe={provide:Ve,useExisting:(0,e.forwardRef)(()=>ne),multi:!0},ht=new e.InjectionToken("");let ne=(()=>{class I extends tt{constructor(w,k,se){super(w,k),this._compositionMode=se,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function be(){const I=(0,N.\u0275getDOM)()?(0,N.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(I.toLowerCase())}())}writeValue(w){this.setProperty("value",w??"")}_handleInput(w){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(w)}_compositionStart(){this._composing=!0}_compositionEnd(w){this._composing=!1,this._compositionMode&&this.onChange(w)}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(e.Renderer2),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(ht,8))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(k,se){1&k&&e.\u0275\u0275listener("input",function(tn){return se._handleInput(tn.target.value)})("blur",function(){return se.onTouched()})("compositionstart",function(){return se._compositionStart()})("compositionend",function(tn){return se._compositionEnd(tn.target.value)})},features:[e.\u0275\u0275ProvidersFeature([Oe]),e.\u0275\u0275InheritDefinitionFeature]})}}return I})();function Xe(I){return null==I||("string"==typeof I||Array.isArray(I))&&0===I.length}function Ce(I){return null!=I&&"number"==typeof I.length}const ye=new e.InjectionToken(""),Qe=new e.InjectionToken(""),le=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class De{static min(S){return function We(I){return S=>{if(Xe(S.value)||Xe(I))return null;const w=parseFloat(S.value);return!isNaN(w)&&w<I?{min:{min:I,actual:S.value}}:null}}(S)}static max(S){return function it(I){return S=>{if(Xe(S.value)||Xe(I))return null;const w=parseFloat(S.value);return!isNaN(w)&&w>I?{max:{max:I,actual:S.value}}:null}}(S)}static required(S){return en(S)}static requiredTrue(S){return function zt(I){return!0===I.value?null:{required:!0}}(S)}static email(S){return function Cn(I){return Xe(I.value)||le.test(I.value)?null:{email:!0}}(S)}static minLength(S){return function ci(I){return S=>Xe(S.value)||!Ce(S.value)?null:S.value.length<I?{minlength:{requiredLength:I,actualLength:S.value.length}}:null}(S)}static maxLength(S){return vA(S)}static pattern(S){return function yt(I){if(!I)return ot;let S,w;return"string"==typeof I?(w="","^"!==I.charAt(0)&&(w+="^"),w+=I,"$"!==I.charAt(I.length-1)&&(w+="$"),S=new RegExp(w)):(w=I.toString(),S=I),k=>{if(Xe(k.value))return null;const se=k.value;return S.test(se)?null:{pattern:{requiredPattern:w,actualValue:se}}}}(S)}static nullValidator(S){return null}static compose(S){return Cr(S)}static composeAsync(S){return Bo(S)}}function en(I){return Xe(I.value)?{required:!0}:null}function vA(I){return S=>Ce(S.value)&&S.value.length>I?{maxlength:{requiredLength:I,actualLength:S.value.length}}:null}function ot(I){return null}function _e(I){return null!=I}
129function _t(I){return(0,e.\u0275isPromise)(I)?(0,K.H)(I):I}function Gt(I){let S={};return I.forEach(w=>{S=null!=w?{...S,...w}:S}),0===Object.keys(S).length?null:S}function sn(I,S){return S.map(w=>w(I))}function Mi(I){return I.map(S=>function qr(I){return!I.validate}(S)?S:w=>S.validate(w))}function Cr(I){if(!I)return null;const S=I.filter(_e);return 0==S.length?null:function(w){return Gt(sn(w,S))}}function ia(I){return null!=I?Cr(Mi(I)):null}function Bo(I){if(!I)return null;const S=I.filter(_e);return 0==S.length?null:function(w){const k=sn(w,S).map(_t);return(0,et.p)(k).pipe((0,Ae.T)(Gt))}}function _A(I){return null!=I?Bo(Mi(I)):null}function sA(I,S){return null===I?[S]:Array.isArray(I)?[...I,S]:[I,S]}function HA(I){return I._rawValidators}function Pa(I){return I._rawAsyncValidators}function ui(I){return I?Array.isArray(I)?I:[I]:[]}function we(I,S){return Array.isArray(I)?I.includes(S):I===S}function Te(I,S){const w=ui(S);return ui(I).forEach(se=>{we(w,se)||w.push(se)}),w}function ct(I,S){return ui(S).filter(w=>!we(I,w))}class pt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(S){this._rawValidators=S||[],this._composedValidatorFn=ia(this._rawValidators)}_setAsyncValidators(S){this._rawAsyncValidators=S||[],this._composedAsyncValidatorFn=_A(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(S){this._onDestroyCallbacks.push(S)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(S=>S()),this._onDestroyCallbacks=[]}reset(S=void 0){this.control&&this.control.reset(S)}hasError(S,w){return!!this.control&&this.control.hasError(S,w)}getError(S,w){return this.control?this.control.getError(S,w):null}}class Dt extends pt{get formDirective(){return null}get path(){return null}}class mt extends pt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class di{constructor(S){this._cd=S}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let bn=(()=>{class I extends di{constructor(w){super(w)}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(mt,2))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(k,se){2&k&&e.\u0275\u0275classProp("ng-untouched",se.isUntouched)("ng-touched",se.isTouched)("ng-pristine",se.isPristine)("ng-dirty",se.isDirty)("ng-valid",se.isValid)("ng-invalid",se.isInvalid)("ng-pending",se.isPending)},features:[e.\u0275\u0275InheritDefinitionFeature]})}}return I})(),Oi=(()=>{class I extends di{constructor(w){super(w)}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(Dt,10))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(k,se){2&k&&e.\u0275\u0275classProp("ng-untouched",se.isUntouched)("ng-touched",se.isTouched)("ng-pristine",se.isPristine)("ng-dirty",se.isDirty)("ng-valid",se.isValid)("ng-invalid",se.isInvalid)("ng-pending",se.isPending)("ng-submitted",se.isSubmitted)},features:[e.\u0275\u0275InheritDefinitionFeature]})}}return I})();const BA="VALID",Fr="INVALID",Yi="PENDING",ar="DISABLED";function Li(I){return(GA(I)?I.validators:I)||null}function qi(I,S){return(GA(S)?S.asyncValidators:I)||null}function GA(I){return null!=I&&!Array.isArray(I)&&"object"==typeof I}function KA(I,S,w){const k=I.controls;if(!(S?Object.keys(k):k).length)throw new e.\u0275RuntimeError(1e3,"");if(!k[w])throw new e.\u0275RuntimeError(1001,"")}
vendor: 5,822 bytes, line 129
129function fn(I,S,w){I._forEachChild((k,se)=>{if(void 0===w[se])throw new e.\u0275RuntimeError(1002,"")})}class bA{constructor(S,w){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(S),this._assignAsyncValidators(w)}get validator(){return this._composedValidatorFn}set validator(S){this._rawValidators=this._composedValidatorFn=S}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(S){this._rawAsyncValidators=this._composedAsyncValidatorFn=S}get parent(){return this._parent}get valid(){return this.status===BA}get invalid(){return this.status===Fr}get pending(){return this.status==Yi}get disabled(){return this.status===ar}get enabled(){return this.status!==ar}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(S){this._assignValidators(S)}setAsyncValidators(S){this._assignAsyncValidators(S)}addValidators(S){this.setValidators(Te(S,this._rawValidators))}addAsyncValidators(S){this.setAsyncValidators(Te(S,this._rawAsyncValidators))}removeValidators(S){this.setValidators(ct(S,this._rawValidators))}removeAsyncValidators(S){this.setAsyncValidators(ct(S,this._rawAsyncValidators))}hasValidator(S){return we(this._rawValidators,S)}hasAsyncValidator(S){return we(this._rawAsyncValidators,S)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(S={}){this.touched=!0,this._parent&&!S.onlySelf&&this._parent.markAsTouched(S)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(S=>S.markAllAsTouched())}markAsUntouched(S={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(w=>{w.markAsUntouched({onlySelf:!0})}),this._parent&&!S.onlySelf&&this._parent._updateTouched(S)}markAsDirty(S={}){this.pristine=!1,this._parent&&!S.onlySelf&&this._parent.markAsDirty(S)}markAsPristine(S={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(w=>{w.markAsPristine({onlySelf:!0})}),this._parent&&!S.onlySelf&&this._parent._updatePristine(S)}markAsPending(S={}){this.status=Yi,!1!==S.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!S.onlySelf&&this._parent.markAsPending(S)}disable(S={}){const w=this._parentMarkedDirty(S.onlySelf);this.status=ar,this.errors=null,this._forEachChild(k=>{k.disable({...S,onlySelf:!0})}),this._updateValue(),!1!==S.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...S,skipPristineCheck:w}),this._onDisabledChange.forEach(k=>k(!0))}enable(S={}){const w=this._parentMarkedDirty(S.onlySelf);this.status=BA,this._forEachChild(k=>{k.enable({...S,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:S.emitEvent}),this._updateAncestors({...S,skipPristineCheck:w}),this._onDisabledChange.forEach(k=>k(!1))}_updateAncestors(S){this._parent&&!S.onlySelf&&(this._parent.updateValueAndValidity(S),S.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(S){this._parent=S}getRawValue(){return this.value}updateValueAndValidity(S={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===BA||this.status===Yi)&&this._runAsyncValidator(S.emitEvent)),!1!==S.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!S.onlySelf&&this._parent.updateValueAndValidity(S)}_updateTreeValidity(S={emitEvent:!0}){this._forEachChild(w=>w._updateTreeValidity(S)),this.updateValueAndValidity({onlySelf:!0,emitEvent:S.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ar:BA}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(S){if(this.asyncValidator){this.status=Yi,this._hasOwnPendingAsyncValidator=!0;const w=_t(this.asyncValidator(this));this._asyncValidationSubscription=w.subscribe(k=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(k,{emitEvent:S})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(S,w={}){this.errors=S,this._updateControlsErrors(!1!==w.emitEvent)}get(S){let w=S;return null==w||(Array.isArray(w)||(w=w.split(".")),0===w.length)?null:w.reduce((k,se)=>k&&k._find(se),this)}getError(S,w){const k=w?this.get(w):this;return k&&k.errors?k.errors[S]:null}hasError(S,w){return!!this.getError(S,w)}get root(){let S=this;for(;S._parent;)S=S._parent;return S}_updateControlsErrors(S){this.status=this._calculateStatus(),S&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(S)}_initObservables(){this.valueChanges=new e.EventEmitter,this.statusChanges=new e.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?ar:this.errors?Fr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Yi)?Yi:this._anyControlsHaveStatus(Fr)?Fr:BA}_anyControlsHaveStatus(S){return this._anyControls(w=>w.status===S)}_anyControlsDirty(){return this._anyControls(S=>S.dirty)}_anyControlsTouched(){return this._anyControls(S=>S.touched)}_updatePristine(S={}){this.pristine=!this._anyControlsDirty(),this._parent&&!S.onlySelf&&this._parent._updatePristine(S)}_updateTouched(S={}){this.touched=this._anyControlsTouched(),this._parent&&!S.onlySelf&&this._parent._updateTouched(S)}_registerOnCollectionChange(S){this._onCollectionChange=S}_setUpdateStrategy(S){GA(S)&&null!=S.updateOn&&(this._updateOn=S.updateOn)}_parentMarkedDirty(S){return!S&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
129_find(S){return null}_assignValidators(S){this._rawValidators=Array.isArray(S)?S.slice():S,this._composedValidatorFn=function jA(I){return Array.isArray(I)?ia(I):I||null}(this._rawValidators)}_assignAsyncValidators(S){this._rawAsyncValidators=Array.isArray(S)?S.slice():S,this._composedAsyncValidatorFn=function Xr(I){return Array.isArray(I)?_A(I):I||null}(this._rawAsyncValidators)}}class or extends bA{constructor(S,w,k){super(Li(w),qi(k,w)),this.controls=S,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(S,w){return this.controls[S]?this.controls[S]:(this.controls[S]=w,w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange),w)}addControl(S,w,k={}){this.registerControl(S,w),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}removeControl(S,w={}){this.controls[S]&&this.controls[S]._registerOnCollectionChange(()=>{}),delete this.controls[S],this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}setControl(S,w,k={}){this.controls[S]&&this.controls[S]._registerOnCollectionChange(()=>{}),delete this.controls[S],w&&this.registerControl(S,w),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}contains(S){return this.controls.hasOwnProperty(S)&&this.controls[S].enabled}setValue(S,w={}){fn(this,0,S),Object.keys(S).forEach(k=>{KA(this,!0,k),this.controls[k].setValue(S[k],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(S,w={}){null!=S&&(Object.keys(S).forEach(k=>{const se=this.controls[k];se&&se.patchValue(S[k],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(S={},w={}){this._forEachChild((k,se)=>{k.reset(S?S[se]:null,{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this._reduceChildren({},(S,w,k)=>(S[k]=w.getRawValue(),S))}_syncPendingControls(){let S=this._reduceChildren(!1,(w,k)=>!!k._syncPendingControls()||w);return S&&this.updateValueAndValidity({onlySelf:!0}),S}_forEachChild(S){Object.keys(this.controls).forEach(w=>{const k=this.controls[w];k&&S(k,w)})}_setUpControls(){this._forEachChild(S=>{S.setParent(this),S._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(S){for(const[w,k]of Object.entries(this.controls))if(this.contains(w)&&S(k))return!0;return!1}_reduceValue(){return this._reduceChildren({},(w,k,se)=>((k.enabled||this.disabled)&&(w[se]=k.value),w))}_reduceChildren(S,w){let k=S;return this._forEachChild((se,Pt)=>{k=w(k,se,Pt)}),k}_allControlsDisabled(){for(const S of Object.keys(this.controls))if(this.controls[S].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(S){return this.controls.hasOwnProperty(S)?this.controls[S]:null}}class WA extends or{}const Di=new e.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>cA}),cA="always";function xi(I,S){return[...S.path,I]}function sr(I,S,w=cA){Rr(I,S),S.valueAccessor.writeValue(I.value),(I.disabled||"always"===w)&&S.valueAccessor.setDisabledState?.(I.disabled),function Zr(I,S){S.valueAccessor.registerOnChange(w=>{I._pendingValue=w,I._pendingChange=!0,I._pendingDirty=!0,"change"===I.updateOn&&ra(I,S)})}(I,S),function Aa(I,S){const w=(k,se)=>{S.valueAccessor.writeValue(k),se&&S.viewToModelUpdate(k)};I.registerOnChange(w),S._registerOnDestroy(()=>{I._unregisterOnChange(w)})}(I,S),function yo(I,S){S.valueAccessor.registerOnTouched(()=>{I._pendingTouched=!0,"blur"===I.updateOn&&I._pendingChange&&ra(I,S),"submit"!==I.updateOn&&I.markAsTouched()})}(I,S),function Pr(I,S){if(S.valueAccessor.setDisabledState){const w=k=>{S.valueAccessor.setDisabledState(k)};I.registerOnDisabledChange(w),S._registerOnDestroy(()=>{I._unregisterOnDisabledChange(w)})}}(I,S)}function Pi(I,S,w=!0){const k=()=>{};S.valueAccessor&&(S.valueAccessor.registerOnChange(k),S.valueAccessor.registerOnTouched(k)),Er(I,S),I&&(S._invokeOnDestroyCallbacks(),I._registerOnCollectionChange(()=>{}))}function yA(I,S){I.forEach(w=>{w.registerOnValidatorChange&&w.registerOnValidatorChange(S)})}function Rr(I,S){const w=HA(I);null!==S.validator?I.setValidators(sA(w,S.validator)):"function"==typeof w&&I.setValidators([w]);const k=Pa(I);null!==S.asyncValidator?I.setAsyncValidators(sA(k,S.asyncValidator)):"function"==typeof k&&I.setAsyncValidators([k]);const se=()=>
129I.updateValueAndValidity();yA(S._rawValidators,se),yA(S._rawAsyncValidators,se)}function Er(I,S){let w=!1;if(null!==I){if(null!==S.validator){const se=HA(I);if(Array.isArray(se)&&se.length>0){const Pt=se.filter(tn=>tn!==S.validator);Pt.length!==se.length&&(w=!0,I.setValidators(Pt))}}if(null!==S.asyncValidator){const se=Pa(I);if(Array.isArray(se)&&se.length>0){const Pt=se.filter(tn=>tn!==S.asyncValidator);Pt.length!==se.length&&(w=!0,I.setAsyncValidators(Pt))}}}const k=()=>{};return yA(S._rawValidators,k),yA(S._rawAsyncValidators,k),w}function ra(I,S){I._pendingDirty&&I.markAsDirty(),I.setValue(I._pendingValue,{emitModelToViewChange:!1}),S.viewToModelUpdate(I._pendingValue),I._pendingChange=!1}function Ri(I,S){if(!I.hasOwnProperty("model"))return!1;const w=I.model;return!!w.isFirstChange()||!Object.is(S,w.currentValue)}function Va(I,S){if(!S)return null;let w,k,se;return Array.isArray(S),S.forEach(Pt=>{Pt.constructor===ne?w=Pt:function Fo(I){return Object.getPrototypeOf(I.constructor)===Ue}(Pt)?k=Pt:se=Pt}),se||k||w||null}function aa(I,S){const w=I.indexOf(S);w>-1&&I.splice(w,1)}function CA(I){return"object"==typeof I&&null!==I&&2===Object.keys(I).length&&"value"in I&&"disabled"in I}Promise.resolve();const oa=class extends bA{constructor(S=null,w,k){super(Li(w),qi(k,w)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(S),this._setUpdateStrategy(w),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),GA(w)&&(w.nonNullable||w.initialValueIsDefault)&&(this.defaultValue=CA(S)?S.value:S)}setValue(S,w={}){this.value=this._pendingValue=S,this._onChange.length&&!1!==w.emitModelToViewChange&&this._onChange.forEach(k=>k(this.value,!1!==w.emitViewToModelChange)),this.updateValueAndValidity(w)}patchValue(S,w={}){this.setValue(S,w)}reset(S=this.defaultValue,w={}){this._applyFormState(S),this.markAsPristine(w),this.markAsUntouched(w),this.setValue(this.value,w),this._pendingChange=!1}_updateValue(){}_anyControls(S){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(S){this._onChange.push(S)}_unregisterOnChange(S){aa(this._onChange,S)}registerOnDisabledChange(S){this._onDisabledChange.push(S)}_unregisterOnDisabledChange(S){aa(this._onDisabledChange,S)}_forEachChild(S){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(S){CA(S)?(this.value=this._pendingValue=S.value,S.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=S}};let Ga=(()=>{class I extends Dt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return xi(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.\u0275fac=(()=>{let w;return function(se){return(w||(w=e.\u0275\u0275getInheritedFactory(I)))(se||I)}})()}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,features:[e.\u0275\u0275InheritDefinitionFeature]})}}return I})();const Yo={provide:mt,useExisting:(0,e.forwardRef)(()=>FA)},qo=Promise.resolve();let FA=(()=>{class I extends mt{constructor(w,k,se,Pt,tn,Vn){super(),this._changeDetectorRef=tn,this.callSetDisabledState=Vn,this.control=new oa,this._registered=!1,this.name="",this.update=new e.EventEmitter,this._parent=w,this._setValidators(k),this._setAsyncValidators(se),this.valueAccessor=Va(0,Pt)}ngOnChanges(w){if(this._checkForErrors(),!this._registered||"name"in w){if(this._registered&&(this._checkName(),this.formDirective)){const k=w.name.previousValue;this.formDirective.removeControl({name:k,path:this._getPath(k)})}this._setUpControl()}"isDisabled"in w&&this._updateDisabled(w),Ri(w,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){sr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(w){qo.then(()=>{this.control.setValue(w,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(w){const k=w.isDisabled.currentValue,se=0!==k&&(0,e.booleanAttribute)(k);qo.then(()=>{se&&!this.control.disabled?this.control.disable():!se&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(w){return this._parent?xi(w,this._parent):[w]}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(Dt,9),e.\u0275\u0275directiveInject(ye,10),e.\u0275\u0275directiveInject(Qe,10),e.\u0275\u0275directiveInject(Ve,10),e.\u0275\u0275directiveInject(e.ChangeDetectorRef,8),e.\u0275\u0275directiveInject(Di,8))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[e.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[e.\u0275\u0275InputFlags.None,"ngModel","model"],options:[e.\u0275\u0275InputFlags.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e.\u0275\u0275ProvidersFeature([Yo]),e.\u0275\u0275InheritDefinitionFeature,e.\u0275\u0275NgOnChangesFeature]})}}return I})(),Ql=(()=>{class I{static{this.\u0275fac=function(k){return new(k||I)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return I})();const la={provide:Ve,useExisting:(0,e.forwardRef)(()=>Xo),multi:!0};let Fc=(()=>{class I{constructor(){this._accessors=[]}add(w,k){this._accessors.push([w,k])}remove(w){for(let k=this._accessors.length-1;k>=0;--k)if(this._accessors[k][1]===w)return void this._accessors.splice(k,1)}
129select(w){this._accessors.forEach(k=>{this._isSameGroup(k,w)&&k[1]!==w&&k[1].fireUncheck(w.value)})}_isSameGroup(w,k){return!!w[0].control&&w[0]._parent===k._control._parent&&w[1].name===k.name}static{this.\u0275fac=function(k){return new(k||I)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})(),Xo=(()=>{class I extends Ue{constructor(w,k,se,Pt){super(w,k),this._registry=se,this._injector=Pt,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,e.inject)(Di,{optional:!0})??cA}ngOnInit(){this._control=this._injector.get(mt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(w){this._state=w===this.value,this.setProperty("checked",this._state)}registerOnChange(w){this._fn=w,this.onChange=()=>{w(this.value),this._registry.select(this)}}setDisabledState(w){(this.setDisabledStateFired||w||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",w),this.setDisabledStateFired=!0}fireUncheck(w){this.writeValue(w)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(e.Renderer2),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(Fc),e.\u0275\u0275directiveInject(e.Injector))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(k,se){1&k&&e.\u0275\u0275listener("change",function(){return se.onChange()})("blur",function(){return se.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[e.\u0275\u0275ProvidersFeature([la]),e.\u0275\u0275InheritDefinitionFeature]})}}return I})();const Hs=new e.InjectionToken(""),xc={provide:Dt,useExisting:(0,e.forwardRef)(()=>es)};let es=(()=>{class I extends Dt{constructor(w,k,se){super(),this.callSetDisabledState=se,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.EventEmitter,this._setValidators(w),this._setAsyncValidators(k)}ngOnChanges(w){this._checkFormPresent(),w.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Er(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(w){const k=this.form.get(w.path);return sr(k,w,this.callSetDisabledState),k.updateValueAndValidity({emitEvent:!1}),this.directives.push(w),k}getControl(w){return this.form.get(w.path)}
129removeControl(w){Pi(w.control||null,w,!1),function ja(I,S){const w=I.indexOf(S);w>-1&&I.splice(w,1)}(this.directives,w)}addFormGroup(w){this._setUpFormContainer(w)}removeFormGroup(w){this._cleanUpFormContainer(w)}getFormGroup(w){return this.form.get(w.path)}addFormArray(w){this._setUpFormContainer(w)}removeFormArray(w){this._cleanUpFormContainer(w)}getFormArray(w){return this.form.get(w.path)}updateModel(w,k){this.form.get(w.path).setValue(k)}onSubmit(w){return this.submitted=!0,function Hr(I,S){I._syncPendingControls(),S.forEach(w=>{const k=w.control;"submit"===k.updateOn&&k._pendingChange&&(w.viewToModelUpdate(k._pendingValue),k._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(w),"dialog"===w?.target?.method}onReset(){this.resetForm()}resetForm(w=void 0){this.form.reset(w),this.submitted=!1}_updateDomValue(){this.directives.forEach(w=>{const k=w.control,se=this.form.get(w.path);k!==se&&(Pi(k||null,w),(I=>I instanceof oa)(se)&&(sr(se,w,this.callSetDisabledState),w.control=se))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(w){const k=this.form.get(w.path);(function Ha(I,S){Rr(I,S)}
129)(k,w),k.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(w){if(this.form){const k=this.form.get(w.path);k&&function ka(I,S){return Er(I,S)}(k,w)&&k.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Rr(this.form,this),this._oldForm&&Er(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(ye,10),e.\u0275\u0275directiveInject(Qe,10),e.\u0275\u0275directiveInject(Di,8))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["","formGroup",""]],hostBindings:function(k,se){1&k&&e.\u0275\u0275listener("submit",function(tn){return se.onSubmit(tn)})("reset",function(){return se.onReset()})},inputs:{form:[e.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.\u0275\u0275ProvidersFeature([xc]),e.\u0275\u0275InheritDefinitionFeature,e.\u0275\u0275NgOnChangesFeature]})}}return I})();const Ml={provide:Dt,useExisting:(0,e.forwardRef)(()=>Hi)};let Hi=(()=>{class I extends Ga{constructor(w,k,se){super(),this.name=null,this._parent=w,this._setValidators(k),this._setAsyncValidators(se)}_checkParentType(){ts(this._parent)}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(Dt,13),e.\u0275\u0275directiveInject(ye,10),e.\u0275\u0275directiveInject(Qe,10))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["","formGroupName",""]],inputs:{name:[e.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[e.\u0275\u0275ProvidersFeature([Ml]),e.\u0275\u0275InheritDefinitionFeature]})}}return I})();const Ol={provide:Dt,useExisting:(0,e.forwardRef)(()=>xo)};let xo=(()=>{class I extends Dt{constructor(w,k,se){super(),this.name=null,this._parent=w,this._setValidators(k),this._setAsyncValidators(se)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return xi(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){ts(this._parent)}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(Dt,13),e.\u0275\u0275directiveInject(ye,10),e.\u0275\u0275directiveInject(Qe,10))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["","formArrayName",""]],inputs:{name:[e.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[e.\u0275\u0275ProvidersFeature([Ol]),e.\u0275\u0275InheritDefinitionFeature]})}}return I})();function ts(I){return!(I instanceof Hi||I instanceof es||I instanceof xo)}const Ll={provide:mt,useExisting:(0,e.forwardRef)(()=>za)};let za=(()=>{class I extends mt{set isDisabled(w){}static{this._ngModelWarningSentOnce=!1}constructor(w,k,se,Pt,tn){super(),this._ngModelWarningConfig=tn,this._added=!1,this.name=null,this.update=new e.EventEmitter,this._ngModelWarningSent=!1,this._parent=w,this._setValidators(k),this._setAsyncValidators(se),this.valueAccessor=Va(0,Pt)}ngOnChanges(w){this._added||this._setUpControl(),Ri(w,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}get path(){return xi(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(Dt,13),e.\u0275\u0275directiveInject(ye,10),e.\u0275\u0275directiveInject(Qe,10),e.\u0275\u0275directiveInject(Ve,10),e.\u0275\u0275directiveInject(Hs,8))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["","formControlName",""]],inputs:{name:[e.\u0275\u0275InputFlags.None,"formControlName","name"],isDisabled:[e.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[e.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[e.\u0275\u0275ProvidersFeature([Ll]),e.\u0275\u0275InheritDefinitionFeature,e.\u0275\u0275NgOnChangesFeature]})}}return I})();const Pl={provide:Ve,useExisting:(0,e.forwardRef)(()=>$a),multi:!0};function EA(I,S){return null==I?`${S}`:(S&&"object"==typeof S&&(S="Object"),`${I}: ${S}`.slice(0,50))}let $a=(()=>{class I extends Ue{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(w){this._compareWith=w}writeValue(w){this.value=w;const se=EA(this._getOptionId(w),w);this.setProperty("value",se)}registerOnChange(w){this.onChange=k=>{this.value=this._getOptionValue(k),w(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(w){for(const k of this._optionMap.keys())if(this._compareWith(this._optionMap.get(k),w))return k;return null}_getOptionValue(w){const k=function ks(I){return I.split(":")[0]}(w);return this._optionMap.has(k)?this._optionMap.get(k):w}static{this.\u0275fac=(()=>{let w;
129return function(se){return(w||(w=e.\u0275\u0275getInheritedFactory(I)))(se||I)}})()}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(k,se){1&k&&e.\u0275\u0275listener("change",function(tn){return se.onChange(tn.target.value)})("blur",function(){return se.onTouched()})},inputs:{compareWith:"compareWith"},features:[e.\u0275\u0275ProvidersFeature([Pl]),e.\u0275\u0275InheritDefinitionFeature]})}}return I})(),Rl=(()=>{class I{constructor(w,k,se){this._element=w,this._renderer=k,this._select=se,this._select&&(this.id=this._select._registerOption())}set ngValue(w){null!=this._select&&(this._select._optionMap.set(this.id,w),this._setElementValue(EA(this.id,w)),this._select.writeValue(this._select.value))}set value(w){this._setElementValue(w),this._select&&this._select.writeValue(this._select.value)}_setElementValue(w){this._renderer.setProperty(this._element.nativeElement,"value",w)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.Renderer2),e.\u0275\u0275directiveInject($a,9))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return I})();const Dc={provide:Ve,useExisting:(0,e.forwardRef)(()=>Do),multi:!0};function hi(I,S){return null==I?`${S}`:("string"==typeof S&&(S=`'${S}'`),S&&"object"==typeof S&&(S="Object"),`${I}: ${S}`.slice(0,50))}let Do=(()=>{class I extends Ue{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(w){this._compareWith=w}writeValue(w){let k;if(this.value=w,Array.isArray(w)){const se=w.map(Pt=>this._getOptionId(Pt));k=(Pt,tn)=>{Pt._setSelected(se.indexOf(tn.toString())>-1)}}else k=(se,Pt)=>{se._setSelected(!1)};this._optionMap.forEach(k)}registerOnChange(w){this.onChange=k=>{const se=[],Pt=k.selectedOptions;if(void 0!==Pt){const tn=Pt;for(let Vn=0;Vn<tn.length;Vn++){const kr=this._getOptionValue(tn[Vn].value);se.push(kr)}}else{const tn=k.options;for(let Vn=0;Vn<tn.length;Vn++){const fa=tn[Vn];if(fa.selected){const kr=this._getOptionValue(fa.value);se.push(kr)}}}this.value=se,w(se)}}_registerOption(w){const k=(this._idCounter++).toString();return this._optionMap.set(k,w),k}_getOptionId(w){for(const k of this._optionMap.keys())if(this._compareWith(this._optionMap.get(k)._value,w))return k;return null}_getOptionValue(w){const k=function Hl(I){return I.split(":")[0]}(w);return this._optionMap.has(k)?this._optionMap.get(k)._value:w}static{this.\u0275fac=(()=>{let w;return function(se){return(w||(w=e.\u0275\u0275getInheritedFactory(I)))(se||I)}})()}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(k,se){1&k&&e.\u0275\u0275listener("change",function(tn){return se.onChange(tn.target)})("blur",function(){return se.onTouched()})},inputs:{compareWith:"compareWith"},features:[e.\u0275\u0275ProvidersFeature([Dc]),e.\u0275\u0275InheritDefinitionFeature]})}}return I})(),ns=(()=>{class I{constructor(w,k,se){this._element=w,this._renderer=k,this._select=se,this._select&&(this.id=this._select._registerOption(this))}set ngValue(w){null!=this._select&&(this._value=w,this._setElementValue(hi(this.id,w)),this._select.writeValue(this._select.value))}set value(w){this._select?(this._value=w,this._setElementValue(hi(this.id,w)),this._select.writeValue(this._select.value)):this._setElementValue(w)}_setElementValue(w){this._renderer.setProperty(this._element.nativeElement,"value",w)}_setSelected(w){this._renderer.setProperty(this._element.nativeElement,"selected",w)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(k){return new(k||I)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.Renderer2),e.\u0275\u0275directiveInject(Do,9))}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return I})();let Dr=(()=>
129{class I{constructor(){this._validator=ot}ngOnChanges(w){if(this.inputName in w){const k=this.normalizeInput(w[this.inputName].currentValue);this._enabled=this.enabled(k),this._validator=this._enabled?this.createValidator(k):ot,this._onChange&&this._onChange()}}validate(w){return this._validator(w)}registerOnValidatorChange(w){this._onChange=w}enabled(w){return null!=w}static{this.\u0275fac=function(k){return new(k||I)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,features:[e.\u0275\u0275NgOnChangesFeature]})}}return I})();const is={provide:ye,useExisting:(0,e.forwardRef)(()=>Gs),multi:!0};let Gs=(()=>{class I extends Dr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.booleanAttribute,this.createValidator=w=>en}enabled(w){return w}static{this.\u0275fac=(()=>{let w;return function(se){return(w||(w=e.\u0275\u0275getInheritedFactory(I)))(se||I)}})()}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(k,se){2&k&&e.\u0275\u0275attribute("required",se._enabled?"":null)},inputs:{required:"required"},features:[e.\u0275\u0275ProvidersFeature([is]),e.\u0275\u0275InheritDefinitionFeature]})}}return I})();const Uc={provide:ye,useExisting:(0,e.forwardRef)(()=>Ks),multi:!0};let Ks=(()=>{class I extends Dr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=w=>function Vs(I){return"number"==typeof I?I:parseInt(I,10)}(w),this.createValidator=w=>vA(w)}static{this.\u0275fac=(()=>{let w;return function(se){return(w||(w=e.\u0275\u0275getInheritedFactory(I)))(se||I)}})()}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:I,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(k,se){2&k&&e.\u0275\u0275attribute("maxlength",se._enabled?se.maxlength:null)},inputs:{maxlength:"maxlength"},features:[e.\u0275\u0275ProvidersFeature([Uc]),e.\u0275\u0275InheritDefinitionFeature]})}}return I})(),Xa=(()=>{class I{static{this.\u0275fac=function(k){return new(k||I)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:I})}static{this.\u0275inj=e.\u0275\u0275defineInjector({})}}return I})();class da extends bA{constructor(S,w,k){super(Li(w),qi(k,w)),this.controls=S,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(S){return this.controls[this._adjustIndex(S)]}push(S,w={}){this.controls.push(S),this._registerControl(S),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}insert(S,w,k={}){this.controls.splice(S,0,w),this._registerControl(w),this.updateValueAndValidity({emitEvent:k.emitEvent})}removeAt(S,w={}){let k=this._adjustIndex(S);k<0&&(k=0),this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),this.controls.splice(k,1),this.updateValueAndValidity({emitEvent:w.emitEvent})}setControl(S,w,k={}){let se=this._adjustIndex(S);se<0&&(se=0),this.controls[se]&&this.controls[se]._registerOnCollectionChange(()=>{}),this.controls.splice(se,1),w&&(this.controls.splice(se,0,w),this._registerControl(w)),this.updateValueAndValidity({emitEvent:k.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(S,w={}){fn(this,0,S),S.forEach((k,se)=>{KA(this,!1,se),this.at(se).setValue(k,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(S,w={}){null!=S&&(S.forEach((k,se)=>{this.at(se)&&this.at(se).patchValue(k,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(S=[],w={}){this._forEachChild((k,se)=>{k.reset(S[se],{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this.controls.map(S=>S.getRawValue())}clear(S={}){this.controls.length<1||(this._forEachChild(w=>w._registerOnCollectionChange(()=>{}
129)),this.controls.splice(0),this.updateValueAndValidity({emitEvent:S.emitEvent}))}_adjustIndex(S){return S<0?S+this.length:S}_syncPendingControls(){let S=this.controls.reduce((w,k)=>!!k._syncPendingControls()||w,!1);return S&&this.updateValueAndValidity({onlySelf:!0}),S}_forEachChild(S){this.controls.forEach((w,k)=>{S(w,k)})}_updateValue(){this.value=this.controls.filter(S=>S.enabled||this.disabled).map(S=>S.value)}_anyControls(S){return this.controls.some(w=>w.enabled&&S(w))}_setUpControls(){this._forEachChild(S=>this._registerControl(S))}_allControlsDisabled(){for(const S of this.controls)if(S.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(S){S.setParent(this),S._registerOnCollectionChange(this._onCollectionChange)}_find(S){return this.at(S)??null}}function As(I){return!!I&&(void 0!==I.asyncValidators||void 0!==I.validators||void 0!==I.updateOn)}let as=(()=>{class I{constructor(){this.useNonNullable=!1}get nonNullable(){const w=new I;return w.useNonNullable=!0,w}group(w,k=null){const se=this._reduceControls(w);let Pt={};return As(k)?Pt=k:null!==k&&(Pt.validators=k.validator,Pt.asyncValidators=k.asyncValidator),new or(se,Pt)}record(w,k=null){const se=this._reduceControls(w);return new WA(se,k)}control(w,k,se){let Pt={};return this.useNonNullable?(As(k)?Pt=k:(Pt.validators=k,Pt.asyncValidators=se),new oa(w,{...Pt,nonNullable:!0})):new oa(w,k,se)}array(w,k,se){const Pt=w.map(tn=>this._createControl(tn));return new da(Pt,k,se)}_reduceControls(w){const k={};
129return Object.keys(w).forEach(se=>{k[se]=this._createControl(w[se])}),k}_createControl(w){return w instanceof oa||w instanceof bA?w:Array.isArray(w)?this.control(w[0],w.length>1?w[1]:null,w.length>2?w[2]:null):this.control(w)}static{this.\u0275fac=function(k){return new(k||I)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})(),Si=(()=>{class I{static withConfig(w){return{ngModule:I,providers:[{provide:Di,useValue:w.callSetDisabledState??cA}]}}static{this.\u0275fac=function(k){return new(k||I)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:I})}static{this.\u0275inj=e.\u0275\u0275defineInjector({imports:[Xa]})}}return I})(),Ni=(()=>{class I{static withConfig(w){return{ngModule:I,providers:[{provide:Hs,useValue:w.warnOnNgModelWithFormControl??"always"},{provide:Di,useValue:w.callSetDisabledState??cA}]}}static{this.\u0275fac=function(k){return new(k||I)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:I})}static{this.\u0275inj=e.\u0275\u0275defineInjector({imports:[Xa]})}}return I})()},4073:()=>{const on=":";Error;const HA=function(we,...Te){if(HA.translate){const pt=HA.translate(we,Te);
129we=pt[0],Te=pt[1]}let ct=ui(we[0],we.raw[0]);for(let pt=1;pt<we.length;pt++)ct+=Te[pt-1]+ui(we[pt],we.raw[pt]);return ct},Pa=":";function ui(we,Te){return Te.charAt(0)===Pa?we.substring(function _e(we,Te){for(let ct=1,pt=1;ct<we.length;ct++,pt++)if("\\"===Te[pt])pt++;else if(we[ct]===on)return ct;throw new Error(`Unterminated $localize metadata block in "${Te}".`)}(we,Te)+1):we}globalThis.$localize=HA},2283:(on,bt,L)=>{L.d(bt,{Lw:()=>rn,iF:()=>_a,gj:()=>gi,dn:()=>rl,tN:()=>sl,G7:()=>Ba,IQ:()=>qt,cw:()=>rc,Bq:()=>Ti,s5:()=>cl,ug:()=>ws,c9:()=>Cs,PB:()=>Fa,md:()=>Ns,n8:()=>aA});var e=L(2331),N=L(4279),K=L(1985),et=L(983),Ae=L(7673),tt=L(1413),Ue=L(8750),Ve=L(1397),Ke=L(7441),ft=L(8071),Oe=L(6450);const be=["addListener","removeListener"],ht=["addEventListener","removeEventListener"],ne=["on","off"];function Xe(n,i,t,r){if((0,ft.T)(t)&&(r=t,t=void 0),r)return Xe(n,i,t).pipe((0,Oe.I)(r));const[s,g]=function le(n){return(0,ft.T)(n.addEventListener)&&(0,ft.T)(n.removeEventListener)}(n)?ht.map(b=>l=>n[b](i,l,t)):function ye(n){return(0,ft.T)(n.addListener)&&(0,ft.T)(n.removeListener)}(n)?be.map(Ce(n,i)):function Qe(n){return(0,ft.T)(n.on)&&(0,ft.T)(n.off)}(n)?ne.map(Ce(n,i)):[];if(!s&&(0,Ke.X)(n))return(0,Ve.Z)(b=>Xe(b,i,t))((0,Ue.Tg)(n));if(!s)throw new TypeError("Invalid event target");return new K.c(b=>{const l=(...v)=>b.next(1<v.length?v:v[0]);return s(l),()=>g(l)})}function Ce(n,i){return t=>r=>n[t](i,r)}var De=L(8359);class We extends De.yU{constructor(i,t){super()}schedule(i,t=0){return this}}const it={setInterval(n,i,...t){const{delegate:r}=it;return r?.setInterval?r.setInterval(n,i,...t):setInterval(n,i,...t)},clearInterval(n){const{delegate:i}=it;return(i?.clearInterval||clearInterval)(n)},delegate:void 0};var en=L(7908),Cn=L(6129);class ci{constructor(i,t=ci.now){this.schedulerActionCtor=i,this.now=t}schedule(i,t=0,r){return new this.schedulerActionCtor(this,i).schedule(r,t)}}ci.now=Cn.U.now;const yt=new class vA extends ci{constructor(i,t=ci.now){super(i,t),this.actions=[],this._active=!1}flush(i){const{actions:t}=this;if(this._active)return void t.push(i);let r;this._active=!0;do{if(r=i.execute(i.state,i.delay))break}while(i=t.shift());if(this._active=!1,r){for(;i=t.shift();)i.unsubscribe();throw r}}}(class zt extends We{constructor(i,t){super(i,t),this.scheduler=i,this.work=t,this.pending=!1}schedule(i,t=0){var r;if(this.closed)return this;this.state=i;const s=this.id,g=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(g,s,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(g,this.id,t),this}requestAsyncId(i,t,r=0){return it.setInterval(i.flush.bind(i,this),r)}recycleAsyncId(i,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&it.clearInterval(t)}execute(i,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(i,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(i,t){let s,r=!1;try{this.work(i)}catch(g){r=!0,s=g||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),s}unsubscribe(){if(!this.closed){const{id:i,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,(0,en.o)(r,this),null!=i&&(this.id=this.recycleAsyncId(t,i,null)),this.delay=null,super.unsubscribe()}}}),ot=yt;var _e=L(9470);function Gt(n=0,i,t=ot){let r=-1;return null!=i&&((0,_e.m)(i)?t=i:r=i),new K.c(s=>{let g=function _t(n){return n instanceof Date&&!isNaN(n)}(n)?+n-t.now():n;g<0&&(g=0);let b=0;return t.schedule(function(){s.closed||(s.next(b++),0<=r?this.schedule(void 0,r):s.complete())},g)})}var sn=L(1033),qr=L(6365),Mi=L(9326),Cr=L(6648),Bo=L(2326),_A=L(4360);function sA(...n){const i=(0,Mi.ms)(n),t=(0,Bo.K)(n);return t.length?new K.c(r=>{let s=t.map(()=>[]),g=t.map(()=>!1);r.add(()=>{s=g=null});for(let b=0;!r.closed&&b<t.length;b++)(0,Ue.Tg)(t[b]).subscribe((0,_A._)(r,l=>{if(s[b].push(l),s.every(v=>v.length)){const v=s.map(C=>C.shift());r.next(i?i(...v):v),s.some((C,D)=>!C.length&&g[D])&&r.complete()}},()=>{g[b]=!0,!s[b].length&&r.complete()}
129));return()=>{s=g=null}}):et.w}var HA=L(8793),ui=L(6977),we=L(5964),Te=L(6697),ct=L(8141),pt=L(6354),Dt=L(9974),mt=L(3669),di=L(5343);function Bn(...n){const i=(0,Mi.ms)(n);return(0,Dt.N)((t,r)=>{const s=n.length,g=new Array(s);let b=n.map(()=>!1),l=!1;for(let v=0;v<s;v++)(0,Ue.Tg)(n[v]).subscribe((0,_A._)(r,C=>{g[v]=C,!l&&!b[v]&&(b[v]=!0,(l=b.every(mt.D))&&(b=null))},di.l));t.subscribe((0,_A._)(r,v=>{if(l){const C=[v,...g];r.next(i?i(...C):C)}}))})}var bn=L(3703);function Oi(n,i){return i?t=>(0,HA.x)(i.pipe((0,Te.s)(1),function jt(){return(0,Dt.N)((n,i)=>{n.subscribe((0,_A._)(i,di.l))})}()),t.pipe(Oi(n))):(0,Ve.Z)((t,r)=>(0,Ue.Tg)(n(t,r)).pipe((0,Te.s)(1),(0,bn.u)(t)))}var Fi=L(5558);L(9172);var vn=L(8701),kA=L(9417),VA={left:"right",right:"left",bottom:"top",top:"bottom"};function lA(n){return n.replace(/left|right|bottom|top/g,function(i){return VA[i]})}function Ei(n){return n.split("-")[0]}var gn={start:"end",end:"start"};function fr(n){return n.replace(/start|end/g,function(i){return gn[i]})}var Nn="top",$n="bottom",Ji="right",yi="left",BA="auto",Fr=[Nn,$n,Ji,yi],Yi="start",ar="end",jA="viewport",qi="popper",GA=Fr.reduce(function(n,i){return n.concat([i+"-"+Yi,i+"-"+ar])},[]),KA=[].concat(Fr,[BA]).reduce(function(n,i){return n.concat([i,i+"-"+Yi,i+"-"+ar])},[]),cA=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function xi(n){if(null==n)return window;if("[object Window]"!==n.toString()){var i=n.ownerDocument;return i&&i.defaultView||window}return n}function sr(n){return n instanceof xi(n).Element||n instanceof Element}function Pi(n){return n instanceof xi(n).HTMLElement||n instanceof HTMLElement}function yA(n){return!(typeof ShadowRoot>"u")&&(n instanceof xi(n).ShadowRoot||n instanceof ShadowRoot)}function Pr(n){return((sr(n)?n.ownerDocument:n.document)||window.document).documentElement}var Rr=Math.max,Er=Math.min,Zr=Math.round;function yo(){var n=navigator.userAgentData;return null!=n&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function ra(){return!/^((?!chrome|android).)*safari/i.test(yo())}function Aa(n,i,t){void 0===i&&(i=!1),void 0===t&&(t=!1);var r=n.getBoundingClientRect(),s=1,g=1;i&&Pi(n)&&(s=n.offsetWidth>0&&Zr(r.width)/n.offsetWidth||1,g=n.offsetHeight>0&&Zr(r.height)/n.offsetHeight||1);var l=(sr(n)?xi(n):window).visualViewport,v=!ra()&&t,C=(r.left+(v&&l?l.offsetLeft:0))/s,D=(r.top+(v&&l?l.offsetTop:0))/g,M=r.width/s,J=r.height/g;return{width:M,height:J,top:D,right:C+M,bottom:D+J,left:C,x:C,y:D}}function Ha(n){var i=xi(n);return{scrollLeft:i.pageXOffset,scrollTop:i.pageYOffset}}function ka(n){return Aa(Pr(n)).left+Ha(n).scrollLeft}function pr(n){return xi(n).getComputedStyle(n)}function xr(n){return n?(n.nodeName||"").toLowerCase():null}function Co(n){return"html"===xr(n)?n:n.assignedSlot||n.parentNode||(yA(n)?n.host:null)||Pr(n)}function Ri(n){var i=pr(n);return/auto|scroll|overlay|hidden/.test(i.overflow+i.overflowY+i.overflowX)}function Fo(n){return["html","body","#document"].indexOf(xr(n))>=0?n.ownerDocument.body:Pi(n)&&Ri(n)?n:Fo(Co(n))}function Hr(n,i){var t;void 0===i&&(i=[]);var r=Fo(n),s=r===(null==(t=n.ownerDocument)?void 0:t.body),g=xi(r),b=s?[g].concat(g.visualViewport||[],Ri(r)?r:[]):r,l=i.concat(b);return s?l:l.concat(Hr(Co(b)))}function Va(n){return["table","td","th"].indexOf(xr(n))>=0}function ja(n){return Pi(n)&&"fixed"!==pr(n).position?n.offsetParent:null}function ri(n){for(var i=xi(n),t=ja(n);t&&Va(t)&&"static"===pr(t).position;)t=ja(t);return t&&("html"===xr(t)||"body"===xr(t)&&"static"===pr(t).position)?i:t||function eA(n){var i=/firefox/i.test(yo());if(/Trident/i.test(yo())&&Pi(n)&&"fixed"===pr(n).position)return null;var s=Co(n);for(yA(s)&&(s=s.host);Pi(s)&&["html","body"].indexOf(xr(s))<0;){var g=pr(s);if("none"!==g.transform||"none"!==g.perspective||"paint"===g.contain||-1!==["transform","perspective"].indexOf(g.willChange)||i&&"filter"===g.willChange||i&&g.filter&&"none"!==g.filter)return s;s=s.parentNode}return null}(n)||i}function wA(n,i){var t=i.getRootNode&&i.getRootNode();if(n.contains(i))return!0;
129if(t&&yA(t)){var r=i;do{if(r&&n.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Fn(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function CA(n,i,t){return i===jA?Fn(function Ps(n,i){var t=xi(n),r=Pr(n),s=t.visualViewport,g=r.clientWidth,b=r.clientHeight,l=0,v=0;if(s){g=s.width,b=s.height;var C=ra();(C||!C&&"fixed"===i)&&(l=s.offsetLeft,v=s.offsetTop)}return{width:g,height:b,x:l+ka(n),y:v}}(n,t)):sr(i)?function aa(n,i){var t=Aa(n,!1,"fixed"===i);return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}(i,t):Fn(function wo(n){var i,t=Pr(n),r=Ha(n),s=null==(i=n.ownerDocument)?void 0:i.body,g=Rr(t.scrollWidth,t.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),b=Rr(t.scrollHeight,t.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),l=-r.scrollLeft+ka(n),v=-r.scrollTop;return"rtl"===pr(s||t).direction&&(l+=Rr(t.clientWidth,s?s.clientWidth:0)-g),{width:g,height:b,x:l,y:v}}(Pr(n)))}function $A(n){return n.split("-")[1]}function Ga(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function yc(n){var v,i=n.reference,t=n.element,r=n.placement,s=r?Ei(r):null,g=r?$A(r):null,b=i.x+i.width/2-t.width/2,l=i.y+i.height/2-t.height/2;switch(s){case Nn:v={x:b,y:i.y-t.height};break;case $n:v={x:b,y:i.y+i.height};break;case Ji:v={x:i.x+i.width,y:l};break;case yi:v={x:i.x-t.width,y:l};break;default:v={x:i.x,y:i.y}}var C=s?Ga(s):null;if(null!=C){var D="y"===C?"height":"width";switch(g){case Yi:v[C]=v[C]-(i[D]/2-t[D]/2);break;case ar:v[C]=v[C]+(i[D]/2-t[D]/2)}}return v}function Cc(n){return Object.assign({},{top:0,right:0,bottom:0,left:0},n)}function Tl(n,i){return i.reduce(function(t,r){return t[r]=n,t},{})}function sa(n,i){void 0===i&&(i={});var r=i.placement,s=void 0===r?n.placement:r,g=i.strategy,b=void 0===g?n.strategy:g,l=i.boundary,v=void 0===l?"clippingParents":l,C=i.rootBoundary,D=void 0===C?jA:C,M=i.elementContext,J=void 0===M?qi:M,Z=i.altBoundary,ge=void 0!==Z&&Z,Pe=i.padding,ke=void 0===Pe?0:Pe,Ge=Cc("number"!=typeof ke?ke:Tl(ke,Fr)),wt=n.rects.popper,lt=n.elements[ge?J===qi?"reference":qi:J],nt=function lr(n,i,t,r){var s="clippingParents"===i?function oa(n){var i=Hr(Co(n)),r=["absolute","fixed"].indexOf(pr(n).position)>=0&&Pi(n)?ri(n):n;return sr(r)?i.filter(function(s){return sr(s)&&wA(s,r)&&"body"!==xr(s)}):[]}(n):[].concat(i),g=[].concat(s,[t]),l=g.reduce(function(v,C){var D=CA(n,C,r);return v.top=Rr(D.top,v.top),v.right=Er(D.right,v.right),v.bottom=Er(D.bottom,v.bottom),v.left=Rr(D.left,v.left),v},CA(n,g[0],r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(sr(lt)?lt:lt.contextElement||Pr(n.elements.popper),v,D,b),xt=Aa(n.elements.reference),Tt=yc({reference:xt,element:wt,strategy:"absolute",placement:s}),Ct=Fn(Object.assign({},wt,Tt)),Xt=J===qi?Ct:xt,un={top:nt.top-Xt.top+Ge.top,bottom:Xt.bottom-nt.bottom+Ge.bottom,left:nt.left-Xt.left+Ge.left,right:Xt.right-nt.right+Ge.right},Un=n.modifiersData.offset;if(J===qi&&Un){var cn=Un[s];Object.keys(un).forEach(function(wn){var Ui=[Ji,$n].indexOf(wn)>=0?1:-1,ti=[Nn,$n].indexOf(wn)>=0?"y":"x";un[wn]+=cn[ti]*Ui})}return un}const FA={name:"flip",enabled:!0,phase:"main",fn:function qo(n){var i=n.state,t=n.options,r=n.name;if(!i.modifiersData[r]._skip){for(var s=t.mainAxis,g=void 0===s||s,b=t.altAxis,l=void 0===b||b,v=t.fallbackPlacements,C=t.padding,D=t.boundary,M=t.rootBoundary,J=t.altBoundary,Z=t.flipVariations,ge=void 0===Z||Z,Pe=t.allowedAutoPlacements,ke=i.options.placement,Ge=Ei(ke),wt=v||(Ge!==ke&&ge?function Yo(n){if(Ei(n)===BA)return[];var i=lA(n);return[fr(n),i,fr(i)]}(ke):[lA(ke)]),lt=[ke].concat(wt).reduce(function(ur,ir){return ur.concat(Ei(ir)===BA?function Ul(n,i){void 0===i&&(i={});var s=i.boundary,g=i.rootBoundary,b=i.padding,l=i.flipVariations,v=i.allowedAutoPlacements,C=void 0===v?KA:v,D=$A(i.placement),M=D?l?GA:GA.filter(function(ge){return $A(ge)===D}):Fr,J=M.filter(function(ge){return C.indexOf(ge)>=0});0===J.length&&(J=M);var Z=J.reduce(function(ge,Pe){return ge[Pe]=sa(n,{placement:Pe,boundary:s,rootBoundary:g,padding:b})[Ei(Pe)],ge},{});return Object.keys(Z).sort(function(ge,Pe){return Z[ge]-Z[Pe]})}(i,{placement:ir,boundary:D,rootBoundary:M,padding:C,flipVariations:ge,allowedAutoPlacements:Pe}):ir)},[]),nt=i.rects.reference,xt=i.rects.popper,Tt=new Map,Ct=!0,Xt=lt[0],un=0;un<lt.length;un++){var Un=lt[un],cn=Ei(Un),wn=$A(Un)===Yi,Ui=[Nn,$n].indexOf(cn)>=0,ti=Ui?"width":"height",Mn=sa(i,{placement:Un,boundary:D,rootBoundary:M,altBoundary:J,padding:C}),vi=Ui?wn?Ji:yi:wn?$n:Nn;nt[ti]>xt[ti]&&(vi=lA(vi));var Ln=lA(vi),Qi=[];if(g&&Qi.push(Mn[cn]<=0),l&&Qi.push(Mn[vi]<=0,Mn[Ln]<=0),Qi.every(function(ur){return ur})){Xt=Un,Ct=!1;break}Tt.set(Un,Qi)}if(Ct)for(var Tr=function(ir){var oA=lt.find(function(zr){var LA=Tt.get(zr);if(LA)return LA.slice(0,ir).every(function(Bl){return Bl})});if(oA)return Xt=oA,"break"},nr=ge?3:1;nr>0&&"break"!==Tr(nr);nr--);i.placement!==Xt&&(i.modifiersData[r]._skip=!0,i.placement=Xt,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Eo(n,i,t){return Rr(n,Er(i,t))}function la(n){var i=Aa(n),t=n.offsetWidth,r=n.offsetHeight;return Math.abs(i.width-t)<=1&&(t=i.width),Math.abs(i.height-r)<=1&&(r=i.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:r}}const Fc={name:"preventOverflow",enabled:!0,phase:"main",fn:function Ka(n){var i=n.state,t=n.options,r=n.name,s=t.mainAxis,g=void 0===s||s,b=t.altAxis,l=void 0!==b&&b,J=t.tether,Z=void 0===J||J,ge=t.tetherOffset,Pe=void 0===ge?0:ge,ke=sa(i,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),Ge=Ei(i.placement),dt=$A(i.placement),wt=!dt,lt=Ga(Ge),nt=function Ql(n){return"x"===n?"y":"x"}(lt),xt=i.modifiersData.popperOffsets,Tt=i.rects.reference,Ct=i.rects.popper,Xt="function"==typeof Pe?Pe(Object.assign({},i.rects,{placement:i.placement})):Pe,un="number"==typeof Xt?{mainAxis:Xt,altAxis:Xt}:Object.assign({mainAxis:0,altAxis:0},Xt),Un=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,cn={x:0,y:0};if(xt){if(g){var wn,Ui="y"===lt?Nn:yi,ti="y"===lt?$n:Ji,Mn="y"===lt?"height":"width",vi=xt[lt],Ln=vi+ke[Ui],Qi=vi-ke[ti],yr=Z?-Ct[Mn]/2:0,Tr=dt===Yi?Tt[Mn]:Ct[Mn],nr=dt===Yi?-Ct[Mn]:-Tt[Mn],si=i.elements.arrow,ur=Z&&si?la(si):{width:0,height:0},ir=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},oA=ir[Ui],zr=ir[ti],LA=Eo(0,Tt[Mn],ur[Mn]),Bl=wt?Tt[Mn]/2-yr-LA-oA-un.mainAxis:Tr-LA-oA-un.mainAxis,gu=wt?-Tt[Mn]/2+yr+LA+zr+un.mainAxis:nr+LA+zr+un.mainAxis,Sa=i.elements.arrow&&ri(i.elements.arrow),Us=Sa?"y"===lt?Sa.clientTop||0:Sa.clientLeft||0:0,$r=null!=(wn=Un?.[lt])?wn:0,Go=vi+gu-$r,Na=Eo(Z?Er(Ln,vi+Bl-$r-Us):Ln,vi,Z?Rr(Qi,Go):Qi);xt[lt]=Na,cn[lt]=Na-vi}if(l){var Ta,Xn=xt[nt],Ko="y"===nt?"height":"width",Ur=Xn+ke["x"===lt?Nn:yi],gA=Xn-ke["x"===lt?$n:Ji],Wo=-1!==[Nn,yi].indexOf(Ge),vc=null!=(Ta=Un?.[nt])?Ta:0,yl=Wo?Ur:Xn-Tt[Ko]-Ct[Ko]-vc+un.altAxis,zo=Wo?Xn+Tt[Ko]+Ct[Ko]-vc-un.altAxis:gA,$o=Z&&Wo?function Rs(n,i,t){var r=Eo(n,i,t);return r>t?t:r}(yl,Xn,zo):Eo(Z?yl:Ur,Xn,Z?zo:gA);xt[nt]=$o,cn[nt]=$o-Xn}i.modifiersData[r]=cn}},requiresIfExists:["offset"]},Hs={name:"arrow",enabled:!0,phase:"main",fn:function Zo(n){var i,t=n.state,r=n.name,s=n.options,g=t.elements.arrow,b=t.modifiersData.popperOffsets,l=Ei(t.placement),v=Ga(l),D=[yi,Ji].indexOf(l)>=0?"height":"width";if(g&&b){var M=function(i,t){return Cc("number"!=typeof(i="function"==typeof i?i(Object.assign({},t.rects,{placement:t.placement})):i)?i:Tl(i,Fr))}(s.padding,t),J=la(g),Z="y"===v?Nn:yi,ge="y"===v?$n:Ji,Pe=t.rects.reference[D]+t.rects.reference[v]-b[v]-t.rects.popper[D],ke=b[v]-t.rects.reference[v],Ge=ri(g),dt=Ge?"y"===v?Ge.clientHeight||0:Ge.clientWidth||0:0,xt=dt/2-J[D]/2+(Pe/2-ke/2),Tt=Eo(M[Z],xt,dt-J[D]-M[ge]);t.modifiersData[r]=((i={})[v]=Tt,i.centerOffset=Tt-xt,i)}},effect:function Wa(n){var i=n.state,r=n.options.element,s=void 0===r?"[data-
129popper-arrow]":r;null!=s&&("string"==typeof s&&!(s=i.elements.popper.querySelector(s))||wA(i.elements.popper,s)&&(i.elements.arrow=s))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function es(n,i,t){void 0===t&&(t=!1);var r=Pi(i),s=Pi(i)&&function xc(n){var i=n.getBoundingClientRect(),t=Zr(i.width)/n.offsetWidth||1,r=Zr(i.height)/n.offsetHeight||1;return 1!==t||1!==r}(i),g=Pr(i),b=Aa(n,s,t),l={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(r||!r&&!t)&&(("body"!==xr(i)||Ri(g))&&(l=function ca(n){return n!==xi(n)&&Pi(n)?function Ec(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}(n):Ha(n)}(i)),Pi(i)?((v=Aa(i,!0)).x+=i.clientLeft,v.y+=i.clientTop):g&&(v.x=ka(g))),{x:b.left+l.scrollLeft-v.x,y:b.top+l.scrollTop-v.y,width:b.width,height:b.height}}function Ml(n){var i=new Map,t=new Set,r=[];function s(g){t.add(g.name),[].concat(g.requires||[],g.requiresIfExists||[]).forEach(function(l){if(!t.has(l)){var v=i.get(l);v&&s(v)}}),r.push(g)}return n.forEach(function(g){i.set(g.name,g)}),n.forEach(function(g){t.has(g.name)||s(g)}),r}function Ol(n){var i;return function(){return i||(i=new Promise(function(t){Promise.resolve().then(function(){i=void 0,t(n())})})),i}}var ts={placement:"bottom",modifiers:[],strategy:"absolute"};function Ll(){for(var n=arguments.length,i=new Array(n),t=0;t<n;t++)i[t]=arguments[t];return!i.some(function(r){return!(r&&"function"==typeof r.getBoundingClientRect)})}function za(n){void 0===n&&(n={});var t=n.defaultModifiers,r=void 0===t?[]:t,s=n.defaultOptions,g=void 0===s?ts:s;return function(l,v,C){void 0===C&&(C=g);var D={placement:"bottom",orderedModifiers:[],options:Object.assign({},ts,g),modifiersData:{},elements:{reference:l,popper:v},attributes:{},styles:{}},M=[],J=!1,Z={state:D,setOptions:function(Ge){var dt="function"==typeof Ge?Ge(D.options):Ge;Pe(),D.options=Object.assign({},g,D.options,dt),D.scrollParents={reference:sr(l)?Hr(l):l.contextElement?Hr(l.contextElement):[],popper:Hr(v)};var wt=function Hi(n){var i=Ml(n);return cA.reduce(function(t,r){return t.concat(i.filter(function(s){return s.phase===r}))},[])}(function xo(n){var i=n.reduce(function(t,r){var s=t[r.name];return t[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,t},{});return Object.keys(i).map(function(t){return i[t]})}([].concat(r,D.options.modifiers)));return D.orderedModifiers=wt.filter(function(lt){return lt.enabled}),function ge(){D.orderedModifiers.forEach(function(ke){var dt=ke.options,lt=ke.effect;if("function"==typeof lt){var nt=lt({state:D,name:ke.name,instance:Z,options:void 0===dt?{}:dt});M.push(nt||function(){})}})}(),Z.update()},forceUpdate:function(){if(!J){var Ge=D.elements,dt=Ge.reference,wt=Ge.popper;if(Ll(dt,wt)){D.rects={reference:es(dt,ri(wt),"fixed"===D.options.strategy),popper:la(wt)},D.reset=!1,D.placement=D.options.placement,D.orderedModifiers.forEach(function(un){return D.modifiersData[un.name]=Object.assign({},un.data)});for(var lt=0;lt<D.orderedModifiers.length;lt++)if(!0!==D.reset){var nt=D.orderedModifiers[lt],xt=nt.fn,Tt=nt.options;"function"==typeof xt&&(D=xt({state:D,options:void 0===Tt?{}:Tt,name:nt.name,instance:Z})||D)}else D.reset=!1,lt=-1}}},update:Ol(function(){return new Promise(function(ke){Z.forceUpdate(),ke(D)})}),destroy:function(){Pe(),J=!0}};if(!Ll(l,v))return Z;function Pe(){M.forEach(function(ke){return ke()}),M=[]}return Z.setOptions(C).then(function(ke){!J&&C.onFirstUpdate&&C.onFirstUpdate(ke)}),Z}}var EA={passive:!0},hi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ja(n){var i,t=n.popper,r=n.popperRect,s=n.placement,g=n.variation,b=n.offsets,l=n.position,v=n.gpuAcceleration,C=n.adaptive,D=n.roundOffsets,M=n.isFixed,J=b.x,Z=void 0===J?0:J,ge=b.y,Pe=void 0===ge?0:ge,ke="function"==typeof D?D({x:Z,y:Pe}):{x:Z,y:Pe};Z=ke.x,Pe=ke.y;var Ge=b.hasOwnProperty("x"),dt=b.hasOwnProperty("y"),wt=yi,lt=Nn,nt=window;if(C){var xt=ri(t),Tt="clientHeight",Ct="clientWidth";xt===xi(t)&&"static"!==pr(xt=Pr(t)).position&&"absolute"===l&&(Tt="scrollHeight",Ct="scrollWidth"),(s===Nn||(s===yi||s===Ji)&&g===ar)&&(lt=$n,Pe-=(M&&xt===nt&&nt.visualVie
129wport?nt.visualViewport.height:xt[Tt])-r.height,Pe*=v?1:-1),s!==yi&&(s!==Nn&&s!==$n||g!==ar)||(wt=Ji,Z-=(M&&xt===nt&&nt.visualViewport?nt.visualViewport.width:xt[Ct])-r.width,Z*=v?1:-1)}var wn,Un=Object.assign({position:l},C&&hi),cn=!0===D?function Hl(n,i){var r=n.y,s=i.devicePixelRatio||1;return{x:Zr(n.x*s)/s||0,y:Zr(r*s)/s||0}}({x:Z,y:Pe},xi(t)):{x:Z,y:Pe};return Z=cn.x,Pe=cn.y,Object.assign({},Un,v?((wn={})[lt]=dt?"0":"",wn[wt]=Ge?"0":"",wn.transform=(nt.devicePixelRatio||1)<=1?"translate("+Z+"px, "+Pe+"px)":"translate3d("+Z+"px, "+Pe+"px, 0)",wn):((i={})[lt]=dt?Pe+"px":"",i[wt]=Ge?Z+"px":"",i.transform="",i))}var js=za({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function ks(n){var i=n.state,t=n.instance,r=n.options,s=r.scroll,g=void 0===s||s,b=r.resize,l=void 0===b||b,v=xi(i.elements.popper),C=[].concat(i.scrollParents.reference,i.scrollParents.popper);return g&&C.forEach(function(D){D.addEventListener("scroll",t.update,EA)}),l&&v.addEventListener("resize",t.update,EA),function(){g&&C.forEach(function(D){D.removeEventListener("scroll",t.update,EA)}),l&&v.removeEventListener("resize",t.update,EA)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function Rl(n){var i=n.state;i.modifiersData[n.name]=yc({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function Do(n){var i=n.state,t=n.options,r=t.gpuAcceleration,s=void 0===r||r,g=t.adaptive,b=void 0===g||g,l=t.roundOffsets,v=void 0===l||l,C={placement:Ei(i.placement),variation:$A(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:s,isFixed:"fixed"===i.options.strategy};null!=i.modifiersData.popperOffsets&&(i.styles.popper=Object.assign({},i.styles.popper,Ja(Object.assign({},C,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:b,roundOffsets:v})))),null!=i.modifiersData.arrow&&(i.styles.arrow=Object.assign({},i.styles.arrow,Ja(Object.assign({},C,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:v})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function Vs(n){var i=n.state;Object.keys(i.elements).forEach(function(t){var r=i.styles[t]||{},s=i.attributes[t]||{},g=i.elements[t];!Pi(g)||!xr(g)||(Object.assign(g.style,r),Object.keys(s).forEach(function(b){var l=s[b];!1===l?g.removeAttribute(b):g.setAttribute(b,!0===l?"":l)}))})},effect:function ua(n){var i=n.state,t={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,t.popper),i.styles=t,i.elements.arrow&&Object.assign(i.elements.arrow.style,t.arrow),function(){Object.keys(i.elements).forEach(function(r){var s=i.elements[r],g=i.attributes[r]||{},l=Object.keys(i.styles.hasOwnProperty(r)?i.styles[r]:t[r]).reduce(function(v,C){return v[C]="",v},{});!Pi(s)||!xr(s)||(Object.assign(s.style,l),Object.keys(g).forEach(function(v){s.removeAttribute(v)}))})}},requires:["computeStyles"]}]});const is={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function xA(n){var i=n.state,r=n.name,s=n.options.offset,g=void 0===s?[0,0]:s,b=KA.reduce(function(D,M){return D[M]=function Ic(n,i,t){var r=Ei(n),s=[yi,Nn].indexOf(r)>=0?-1:1,g="function"==typeof t?t(Object.assign({},i,{placement:n})):t,b=g[0],l=g[1];return b=b||0,l=(l||0)*s,[yi,Ji].indexOf(r)>=0?{x:l,y:b}:{x:b,y:l}}(M,i.rects,g),D},{}),l=b[i.placement],C=l.y;null!=i.modifiersData.popperOffsets&&(i.modifiersData.popperOffsets.x+=l.x,i.modifiersData.popperOffsets.y+=C),i.modifiersData[r]=b}},rs=["*"],qa=["ngbDatepickerDayView",""],Uc=["month"],Ks=["year"];function $t(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"option",3),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=i.$implicit,r=e.\u0275\u0275nextContext();e.\u0275\u0275property("value",t),e.\u0275\u0275attribute("aria-label",r.i18n.getMonthFullName(t,r.date.year)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(r.i18n.getMonthShortName(t,r.date.year))}}
129function Io(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"option",3),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=i.$implicit,r=e.\u0275\u0275nextContext();e.\u0275\u0275property("value",t),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(r.i18n.getYearNumerals(t))}}function Rn(n,i){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ngb-datepicker-navigation-select",6),e.\u0275\u0275listener("select",function(s){e.\u0275\u0275restoreView(t);const g=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(g.select.emit(s))}),e.\u0275\u0275elementEnd()}if(2&n){const t=e.\u0275\u0275nextContext();e.\u0275\u0275property("date",t.date)("disabled",t.disabled)("months",t.selectBoxes.months)("years",t.selectBoxes.years)}}function Ws(n,i){1&n&&e.\u0275\u0275element(0,"div",7)}function So(n,i){1&n&&e.\u0275\u0275element(0,"div",7)}function Xa(n,i){if(1&n&&(e.\u0275\u0275template(0,Ws,1,0,"div",7),e.\u0275\u0275elementStart(1,"div",8),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,So,1,0,"div",7)),2&n){const t=i.$implicit,r=i.$index,s=e.\u0275\u0275nextContext(2);e.\u0275\u0275conditional(0,r>0?0:-1),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",s.i18n.getMonthLabel(t.firstDate)," "),e.\u0275\u0275advance(),e.\u0275\u0275conditional(3,r!==s.months.length-1?3:-1)}}function da(n,i){if(1&n&&e.\u0275\u0275repeaterCreate(0,Xa,4,3,null,null,e.\u0275\u0275repeaterTrackByIdentity),2&n){const t=e.\u0275\u0275nextContext();e.\u0275\u0275repeater(t.months)}}function zs(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",1),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(t.i18n.getWeekLabel())}}function ha(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",2),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=i.$implicit;e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(t)}}function As(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275template(1,zs,2,1,"div",1),e.\u0275\u0275repeaterCreate(2,ha,2,1,"div",2,e.\u0275\u0275repeaterTrackByIdentity),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275conditional(1,t.datepicker.showWeekNumbers?1:-1),e.\u0275\u0275advance(),e.\u0275\u0275repeater(t.viewModel.weekdays)}}function as(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",4),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext(2).$implicit,r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(r.i18n.getWeekNumerals(t.number))}}function os(n,i){}function Xi(n,i){if(1&n&&e.\u0275\u0275template(0,os,0,0,"ng-template",7),2&n){const t=e.\u0275\u0275nextContext().$implicit,r=e.\u0275\u0275nextContext(3);e.\u0275\u0275property("ngTemplateOutlet",r.datepicker.dayTemplate)("ngTemplateOutletContext",t.context)}}function Ii(n,i){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",6),e.\u0275\u0275listener("click",function(s){const g=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275nextContext(3).doSelect(g),e.\u0275\u0275resetView(s.preventDefault())}),e.\u0275\u0275template(1,Xi,1,2,null,7),e.\u0275\u0275elementEnd()}if(2&n){const t=i.$implicit;e.\u0275\u0275classProp("disabled",t.context.disabled)("hidden",t.hidden)("ngb-dp-today",t.context.today),e.\u0275\u0275property("tabindex",t.tabindex),e.\u0275\u0275attribute("aria-label",t.ariaLabel),e.\u0275\u0275advance(),e.\u0275\u0275conditional(1,t.hidden?-1:1)}}function Si(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",3),e.\u0275\u0275template(1,as,2,1,"div",4),e.\u0275\u0275repeaterCreate(2,Ii,2,9,"div",5,e.\u0275\u0275repeaterTrackByIdentity),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext().$implicit,r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275conditional(1,r.datepicker.showWeekNumbers?1:-1),e.\u0275\u0275advance(),e.\u0275\u0275repeater(t.days)}}function Ni(n,i){1&n&&e.\u0275\u0275template(0,Si,4,1,"div",3),2&n&&e.\u0275\u0275conditional(0,i.$implicit.collapsed?-1:0)}const I=["defaultDayTemplate"],S=["content"],w=n=>({$implicit:n});
129function k(n,i){if(1&n&&e.\u0275\u0275element(0,"div",8),2&n){const r=i.currentMonth,s=i.selected,g=i.disabled,b=i.focused;e.\u0275\u0275property("date",i.date)("currentMonth",r)("selected",s)("disabled",g)("focused",b)}}function se(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",10),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext().$implicit,r=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",r.i18n.getMonthLabel(t.firstDate)," ")}}function Pt(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",9),e.\u0275\u0275template(1,se,2,1,"div",10),e.\u0275\u0275element(2,"ngb-datepicker-month",11),e.\u0275\u0275elementEnd()),2&n){const t=i.$implicit,r=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275conditional(1,"none"===r.navigation||r.displayMonths>1&&"select"===r.navigation?1:-1),e.\u0275\u0275advance(),e.\u0275\u0275property("month",t.firstDate)}}function tn(n,i){if(1&n&&e.\u0275\u0275repeaterCreate(0,Pt,3,2,"div",9,e.\u0275\u0275repeaterTrackByIdentity),2&n){const t=e.\u0275\u0275nextContext();e.\u0275\u0275repeater(t.model.months)}}function Vn(n,i){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ngb-datepicker-navigation",12),e.\u0275\u0275listener("navigate",function(s){e.\u0275\u0275restoreView(t);const g=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(g.onNavigateEvent(s))})("select",function(s){e.\u0275\u0275restoreView(t);const g=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(g.onNavigateDateSelect(s))}),e.\u0275\u0275elementEnd()}if(2&n){const t=e.\u0275\u0275nextContext();e.\u0275\u0275property("date",t.model.firstDate)("months",t.model.months)("disabled",t.model.disabled)("showSelect","select"===t.model.navigation)("prevDisabled",t.model.prevDisabled)("nextDisabled",t.model.nextDisabled)("selectBoxes",t.model.selectBoxes)}}function fa(n,i){}function kr(n,i){}const Jn=["dialog"],uA=(n,i,t)=>({$implicit:n,pages:i,disabled:t}),Tn=n=>({disabled:!0,currentPage:n}),Jt=(n,i,t)=>({disabled:n,$implicit:i,currentPage:t}),Yn=(n,i)=>({disabled:n,currentPage:i}),$s=n=>({disabled:n});function pa(n,i){1&n&&(e.\u0275\u0275elementStart(0,"span",13),e.\u0275\u0275i18n(1,7),e.\u0275\u0275elementEnd())}function YA(n,i){1&n&&(e.\u0275\u0275elementStart(0,"span",13),e.\u0275\u0275i18n(1,8),e.\u0275\u0275elementEnd())}function an(n,i){1&n&&(e.\u0275\u0275elementStart(0,"span",13),e.\u0275\u0275i18n(1,9),e.\u0275\u0275elementEnd())}function qA(n,i){1&n&&(e.\u0275\u0275elementStart(0,"span",13),e.\u0275\u0275i18n(1,10),e.\u0275\u0275elementEnd())}function qn(n,i){1&n&&e.\u0275\u0275text(0,"...")}function XA(n,i){1&n&&e.\u0275\u0275text(0),2&n&&e.\u0275\u0275textInterpolate(i.$implicit)}function Zi(n,i){}function Vi(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"a",16),e.\u0275\u0275template(1,Zi,0,0,"ng-template",12),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext(2).$implicit,r=e.\u0275\u0275nextContext(),s=e.\u0275\u0275reference(9);e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",(null==r.tplEllipsis?null:r.tplEllipsis.templateRef)||s)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(2,Tn,t))}}function ga(n,i){}function Qc(n,i){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"a",17),e.\u0275\u0275listener("click",function(s){e.\u0275\u0275restoreView(t);const g=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275nextContext(2).selectPage(g),e.\u0275\u0275resetView(s.preventDefault())}),e.\u0275\u0275template(1,ga,0,0,"ng-template",12),e.\u0275\u0275elementEnd()}if(2&n){const t=e.\u0275\u0275nextContext().$implicit,r=e.\u0275\u0275nextContext(),s=r.$implicit,g=r.disabled,b=e.\u0275\u0275nextContext(),l=e.\u0275\u0275reference(11);e.\u0275\u0275attribute("tabindex",g?"-1":null)("aria-disabled",g?"true":null),e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",(null==b.tplNumber?null:b.tplNumber.templateRef)||l)("ngTemplateOutletContext",e.\u0275\u0275pureFunction3(4,Jt,g,t,s))}}function fi(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"li",15),e.\u0275\u0275template(1,Vi,2,4,"a",16)(2,Qc,2,8),e.\u0275\u0275elementEnd()),2&n){const t=i.$implicit,r=e.\u0275\u0275nextContext(),s=r.$implicit,g=r.disabled,b=e.\u0275\u0275nextContext();e.\u0275\u0275classProp("active",t===s)("disabled",b.isEllipsis(t)||g),e.\u0275\u0275attribute("aria-current",t===s?"page":null),e.\u0275\u0275advance(),e.\u0275\u0275conditional(1,b.isEllipsis(t)?1:2)}}function Ai(n,i){1&n&&e.\u0275\u0275repeaterCreate(0,fi,3,6,"li",14,e.\u0275\u0275repeaterTrackByIdentity),2&n&&e.\u0275\u0275repeater(i.pages)}function pi(n,i){}function Cu(n,i){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"li",15)(1,"a",18),e.\u0275\u0275listener("click",function(s){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().selectPage(1),e.\u0275\u0275resetVie
129w(s.preventDefault())}),e.\u0275\u0275template(2,pi,0,0,"ng-template",12),e.\u0275\u0275elementEnd()()}if(2&n){const t=e.\u0275\u0275nextContext(),r=e.\u0275\u0275reference(1);e.\u0275\u0275classProp("disabled",t.previousDisabled()),e.\u0275\u0275advance(),e.\u0275\u0275attribute("tabindex",t.previousDisabled()?"-1":null)("aria-disabled",t.previousDisabled()?"true":null),e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",(null==t.tplFirst?null:t.tplFirst.templateRef)||r)("ngTemplateOutletContext",e.\u0275\u0275pureFunction2(6,Yn,t.previousDisabled(),t.page))}}function ss(n,i){}function dA(n,i){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"li",15)(1,"a",19),e.\u0275\u0275listener("click",function(s){e.\u0275\u0275restoreView(t);const g=e.\u0275\u0275nextContext();return g.selectPage(g.page-1),e.\u0275\u0275resetView(s.preventDefault())}),e.\u0275\u0275template(2,ss,0,0,"ng-template",12),e.\u0275\u0275elementEnd()()}if(2&n){const t=e.\u0275\u0275nextContext(),r=e.\u0275\u0275reference(3);e.\u0275\u0275classProp("disabled",t.previousDisabled()),e.\u0275\u0275advance(),e.\u0275\u0275attribute("tabindex",t.previousDisabled()?"-1":null)("aria-disabled",t.previousDisabled()?"true":null),e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",(null==t.tplPrevious?null:t.tplPrevious.templateRef)||r)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(6,$s,t.previousDisabled()))}}function Js(n,i){}function Fu(n,i){}function Ys(n,i){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"li",15)(1,"a",20),e.\u0275\u0275listener("click",function(s){e.\u0275\u0275restoreView(t);const g=e.\u0275\u0275nextContext();return g.selectPage(g.page+1),e.\u0275\u0275resetView(s.preventDefault())}),e.\u0275\u0275template(2,Fu,0,0,"ng-template",12),e.\u0275\u0275elementEnd()()}if(2&n){const t=e.\u0275\u0275nextContext(),r=e.\u0275\u0275reference(5);e.\u0275\u0275classProp("disabled",t.nextDisabled()),e.\u0275\u0275advance(),e.\u0275\u0275attribute("tabindex",t.nextDisabled()?"-1":null)("aria-disabled",t.nextDisabled()?"true":null),e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",(null==t.tplNext?null:t.tplNext.templateRef)||r)("ngTemplateOutletContext",e.\u0275\u0275pureFunction2(6,Yn,t.nextDisabled(),t.page))}}function Mc(n,i){}function Eu(n,i){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"li",15)(1,"a",21),e.\u0275\u0275listener("click",function(s){e.\u0275\u0275restoreView(t);const g=e.\u0275\u0275nextContext();return g.selectPage(g.pageCount),e.\u0275\u0275resetView(s.preventDefault())}),e.\u0275\u0275template(2,Mc,0,0,"ng-template",12),e.\u0275\u0275elementEnd()()}if(2&n){const t=e.\u0275\u0275nextContext(),r=e.\u0275\u0275reference(7);e.\u0275\u0275classProp("disabled",t.nextDisabled()),e.\u0275\u0275advance(),e.\u0275\u0275attribute("tabindex",t.nextDisabled()?"-1":null)("aria-disabled",t.nextDisabled()?"true":null),e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",(null==t.tplLast?null:t.tplLast.templateRef)||r)("ngTemplateOutletContext",e.\u0275\u0275pureFunction2(6,Yn,t.nextDisabled(),t.page))}}const no={animation:!0,transitionTimerDelayMs:5};let ds=(()=>{class n{constructor(){this.animation=no.animation}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Sr(n){return parseInt(`${n}`,10)}function io(n){return"string"==typeof n}function ai(n){return!isNaN(Sr(n))}function gr(n){return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n}function ma(n){return null!=n}function ro(n){return ai(n)?`0${n}`.slice(-2):""}function Ao(n){return(n||document.body).getBoundingClientRect()}const Vc=()=>{},{transitionTimerDelayMs:jl}=no,mr=new Map,jr=(n,i,t,r)=>{let s=r.context||{};const g=mr.get(i);if(g)switch(r.runningTransition){case"continue":return et.w;case"stop":n.run(()=>g.transition$.complete()),s=Object.assign(g.context,s),mr.delete(i)}const b=t(i,r.animation,s)||Vc;if(!r.animation||"none"===window.getComputedStyle(i).transitionProperty)return n.run(()=>b()),(0,Ae.of)(void 0).pipe(function kc(n){return i=>new K.c(t=>i.subscribe({next:b=>n.run(()=>t.next(b)),error:b=>n.run(()=>t.error(b)),complete:()=>n.run(()=>t.complete())}))}(n));const l=new tt.B,v=new tt.B,C=l.pipe(function Pa(...n){return i=>(0,HA.x)(i,(0,Ae.of)(...n))}(!0));mr.set(i,{transition$:l,complete:()=>{v.next(),v.complete()},context:s});const D=function hs(n){const{transitionDelay:i,transitionDuration:t}=window.getComputedStyle(n);return 1e3*(parseFloat(i)+parseFloat(t))}(i);return n.runOutsideAngular(()=>{const M=Xe(i,"transitionend").pipe((0,ui.Q)(C),(0,we.p)(({target:Z})=>Z===i)),J=Gt(D+jl).pipe((0,ui.Q)(C));(0,sn.O)(J,M,v).pipe((0,ui.Q)(C)).subscribe(()=>{mr.delete(i),n.run(()=>{b(),l.next(),l.complete()})})}),l.asObservable()};class gi{static from(i){return i instanceof gi?i:i?new gi(i.year,i.month,i.day):null}constructor(i,t,r){this.year=gr(i)?i:null,this.month=gr(t)?t:null,this.day=gr(r)?r:null}equals(i){return null!=i&&this.year===i.year&&this.month===i.month&&this.day===i.day}before(i){return!!i&&(this.year===i.year?this.month===i.month?this.day!==i.day&&this.day<i.day:this.month<i.month:this.year<i.year)}after(i){return!!i&&(this.year===i.year?this.month===i.month?this.day!==i.day&&this.day>i.day:this.month>i.month:this.year>i.year)}}function zc(n){return new gi(n.getFullYear(),n.getMonth()+1,n.getDate())}function nl(n){const i=new Date(n.year,n.month-1,n.day,12);return isNaN(i.getTime())||i.setFullYear(n.year),i}let _a=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:()=>function Ku(){return new Wu}(),providedIn:"root"})}}return n})(),Wu=(()=>{class n extends _a{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(t,r="d",s=1){let g=nl(t),b=!0,l=g.getMonth();switch(r){case"y":g.setFullYear(g.getFullYear()+s);break;case"m":l+=s,g.setMonth(l),l%=12,l<0&&(l+=12);break;case"d":g.setDate(g.getDate()+s),b=!1;break;default:return t}return b&&g.getMonth()!==l&&g.setDate(0),zc(g)}getPrev(t,r="d",s=1){return this.getNext(t,r,-s)}getWeekday(t){let s=nl(t).getDay();return 0===s?7:s}getWeekNumber(t,r){7===r&&(r=0);const b=nl(t[(11-r)%7]);b.setDate(b.getDate()+4-(b.getDay()||7));const l=b.getTime();return b.setMonth(0),b.setDate(1),Math.floor(Math.round((l-b.getTime())/864e5)/7)+1}getToday(){return zc(new Date)}isValid(t){if(!(t&&gr(t.year)&&gr(t.month)&&gr(t.day)&&0!==t.year))return!1;const r=nl(t);return!isNaN(r.getTime())&&r.getFullYear()===t.year&&r.getMonth()+1===t.month&&r.getDate()===t.day}static{this.\u0275fac=(()=>{let t;
129return function(s){return(t||(t=e.\u0275\u0275getInheritedFactory(n)))(s||n)}})()}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac})}}return n})();function Oo(n,i){return!function zu(n,i){return!n&&!i||!!n&&!!i&&n.equals(i)}(n,i)}function $l(n,i){return!(!n&&!i||n&&i&&n.year===i.year&&n.month===i.month)}function il(n,i,t){return n&&i&&n.before(i)?i:n&&t&&n.after(t)?t:n||null}function Jl(n,i){const{minDate:t,maxDate:r,disabled:s,markDisabled:g}=i;return!(null==n||s||g&&g(n,{year:n.year,month:n.month})||t&&n.before(t)||r&&n.after(r))}let Ba=(()=>{class n{getMonthLabel(t){return`${this.getMonthFullName(t.month,t.year)} ${this.getYearNumerals(t.year)}`}getDayNumerals(t){return`${t.day}`}getWeekNumerals(t){return`${t}`}getYearNumerals(t){return`${t}`}getWeekLabel(){return""}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:()=>new Zu,providedIn:"root"})}}return n})(),Zu=(()=>{class n extends Ba{constructor(){super(...arguments),this._locale=(0,e.inject)(e.LOCALE_ID),this._monthsShort=(0,vn.getLocaleMonthNames)(this._locale,vn.FormStyle.Standalone,vn.TranslationWidth.Abbreviated),this._monthsFull=(0,vn.getLocaleMonthNames)(this._locale,vn.FormStyle.Standalone,vn.TranslationWidth.Wide)}getWeekdayLabel(t,r){const s=(0,vn.getLocaleDayNames)(this._locale,vn.FormStyle.Standalone,void 0===r?vn.TranslationWidth.Short:r);return s.map((b,l)=>s[(l+1)%7])[t-1]||""}getMonthShortName(t){return this._monthsShort[t-1]||""}getMonthFullName(t){return this._monthsFull[t-1]||""}getDayAriaLabel(t){const r=new Date(t.year,t.month-1,t.day);return(0,vn.formatDate)(r,"fullDate",this._locale)}static{this.\u0275fac=(()=>{let t;return function(s){return(t||(t=e.\u0275\u0275getInheritedFactory(n)))(s||n)}})()}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac})}}return n})(),Yl=(()=>{class n{constructor(){this._VALIDATORS={dayTemplateData:t=>{if(this._state.dayTemplateData!==t)return{dayTemplateData:t}},displayMonths:t=>{if(gr(t=Sr(t))&&t>0&&this._state.displayMonths!==t)return{displayMonths:t}},disabled:t=>{if(this._state.disabled!==t)return{disabled:t}},firstDayOfWeek:t=>{if(gr(t=Sr(t))&&t>=0&&this._state.firstDayOfWeek!==t)return{firstDayOfWeek:t}},focusVisible:t=>{if(this._state.focusVisible!==t&&!this._state.disabled)return{focusVisible:t}},markDisabled:t=>{if(this._state.markDisabled!==t)return{markDisabled:t}},maxDate:t=>{const r=this.toValidDate(t,null);if(Oo(this._state.maxDate,r))return{maxDate:r}},minDate:t=>{const r=this.toValidDate(t,null);if(Oo(this._state.minDate,r))return{minDate:r}},navigation:t=>{if(this._state.navigation!==t)return{navigation:t}},outsideDays:t=>{if(this._state.outsideDays!==t)return{outsideDays:t}},weekdays:t=>{const r=!0===t||!1===t?vn.TranslationWidth.Short:t,s=!0!==t&&!1!==t||t;if(this._state.weekdayWidth!==r||this._state.weekdaysVisible!==s)return{weekdayWidth:r,weekdaysVisible:s}}},this._calendar=(0,e.inject)(_a),this._i18n=(0,e.inject)(Ba),this._model$=new tt.B,this._dateSelect$=new tt.B,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:vn.TranslationWidth.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe((0,we.p)(t=>t.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe((0,we.p)(t=>null!==t))}set(t){let r=Object.keys(t).map(s=>this._VALIDATORS[s](t[s])).reduce((s,g)=>({...s,...g}),{});Object.keys(r).length>0&&this._nextState(r)}focus(t){const r=this.toValidDate(t,null);null!=r&&!this._state.disabled&&Oo(this._state.focusDate,r)&&this._nextState({focusDate:t})}focusSelect(){Jl(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(t){const r=this.toValidDate(t,this._calendar.getToday());null!=r&&!this._state.disabled&&(!this._state.firstDate||$l(this._state.firstDate,r))&&this._nextState({firstDate:r})}select(t,r={}){const s=this.toValidDate(t,null);null!=s&&!this._state.disabled&&(Oo(this._state.selectedDate,s)&&this._nextState({selectedDate:s}),r.emitEvent&&Jl(s,this._state)&&this._dateSelect$.next(s))}toValidDate(t,r){const s=gi.from(t);return void 0===r&&(r=this._calendar.getToday()),this._calendar.isValid(s)?s:r}getMonth(t){for(let r of this._state.months)if(t.month===r.number&&t.year===r.year)return r;throw new Error(`month ${t.month} of year ${t.year} not found`)}_nextState(t){const r=this._updateState(t);this._patchContexts(r),this._state=r,this._model$.next(this._state)}_patchContexts(t){const{months:r,displayMonths:s,selectedDate:g,focusDate:b,focusVisible:l,disabled:v,outsideDays:C}=t;t.months.forEach(D=>{D.weeks.forEach(M=>{M.days.forEach(J=>{b&&(J.context.focused=b.equals(J.date)&&l),J.tabindex=!v&&b&&J.date.equals(b)&&b.month===D.number?0:-1,!0===v&&(J.context.disabled=!0),void 0!==g&&(J.context.selected=null!==g&&g.equals(J.date)),D.number!==J.date.month&&(J.hidden="hidden"===C||"collapsed"===C||s>1&&J.date.after(r[0].firstDate)&&J.date.before(r[s-1].lastDate))})})})}_updateState(t){const r=Object.assign({},this._state,t);let s=r.firstDate;if(("minDate"in t||"maxDate"in t)&&(function $u(n,i){if(i&&n&&i.before(n))throw new Error(`'maxDate' ${i} should be greater than 'minDate' ${n}`)}(r.minDate,r.maxDate),r.focusDate=il(r.focusDate,r.minDate,r.maxDate),r.firstDate=il(r.firstDate,r.minDate,r.maxDate),s=r.focusDate),"disabled"in t&&(r.focusVisible=!1),"selectedDate"in t&&0===this._state.months.length&&(s=r.selectedDate),"focu
129sVisible"in t||"focusDate"in t&&(r.focusDate=il(r.focusDate,r.minDate,r.maxDate),s=r.focusDate,0!==r.months.length&&r.focusDate&&!r.focusDate.before(r.firstDate)&&!r.focusDate.after(r.lastDate)))return r;if("firstDate"in t&&(r.firstDate=il(r.firstDate,r.minDate,r.maxDate),s=r.firstDate),s){const b=function mi(n,i,t,r,s){const{displayMonths:g,months:b}=t,l=b.splice(0,b.length);return Array.from({length:g},(C,D)=>{const M=Object.assign(n.getNext(i,"m",D),{day:1});if(b[D]=null,!s){const J=l.findIndex(Z=>Z.firstDate.equals(M));-1!==J&&(b[D]=l.splice(J,1)[0])}return M}).forEach((C,D)=>{null===b[D]&&(b[D]=function qu(n,i,t,r,s={}){const{dayTemplateData:g,minDate:b,maxDate:l,firstDayOfWeek:v,markDisabled:C,outsideDays:D,weekdayWidth:M,weekdaysVisible:J}=t,Z=n.getToday();s.firstDate=null,s.lastDate=null,s.number=i.month,s.year=i.year,s.weeks=s.weeks||[],s.weekdays=s.weekdays||[],i=function Xu(n,i,t){const r=n.getDaysPerWeek(),s=new gi(i.year,i.month,1),g=n.getWeekday(s)%r;return n.getPrev(s,"d",(r+g-t)%r)}(n,i,v),J||(s.weekdays.length=0);for(let ge=0;ge<n.getWeeksPerMonth();ge++){let Pe=s.weeks[ge];Pe||(Pe=s.weeks[ge]={number:0,days:[],collapsed:!0});const ke=Pe.days;for(let Ge=0;Ge<n.getDaysPerWeek();Ge++){0===ge&&J&&(s.weekdays[Ge]=r.getWeekdayLabel(n.getWeekday(i),M));const dt=new gi(i.year,i.month,i.day),wt=n.getNext(dt),lt=r.getDayAriaLabel(dt);let nt=!!(b&&dt.before(b)||l&&dt.after(l));!nt&&C&&(nt=C(dt,{month:s.number,year:s.year}));let xt=dt.equals(Z),Tt=g?g(dt,{month:s.number,year:s.year}):void 0;null===s.firstDate&&dt.month===s.number&&(s.firstDate=dt),dt.month===s.number&&wt.month!==s.number&&(s.lastDate=dt);let Ct=ke[Ge];Ct||(Ct=ke[Ge]={}),Ct.date=dt,Ct.context=Object.assign(Ct.context||{},{$implicit:dt,date:dt,data:Tt,currentMonth:s.number,currentYear:s.year,disabled:nt,focused:!1,selected:!1,today:xt}),Ct.tabindex=-1,Ct.ariaLabel=lt,Ct.hidden=!1,i=wt}Pe.number=n.getWeekNumber(ke.map(Ge=>Ge.date),v),Pe.collapsed="collapsed"===D&&ke[0].date.month!==s.number&&ke[ke.length-1].date.month!==s.number}return s}(n,C,t,r,l.shift()||{}))}),b}(this._calendar,s,r,this._i18n,"dayTemplateData"in t||"firstDayOfWeek"in t||"markDisabled"in t||"minDate"in t||"maxDate"in t||"disabled"in t||"outsideDays"in t||"weekdaysVisible"in t);r.months=b,r.firstDate=b[0].firstDate,r.lastDate=b[b.length-1].lastDate,"selectedDate"in t&&!Jl(r.selectedDate,r)&&(r.selectedDate=null),"firstDate"in t&&(!r.focusDate||r.focusDate.before(r.firstDate)||r.focusDate.after(r.lastDate))&&(r.focusDate=s);const l=!this._state.firstDate||this._state.firstDate.year!==r.firstDate.year,v=!this._state.firstDate||this._state.firstDate.month!==r.firstDate.month;"select"===r.navigation?(("minDate"in t||"maxDate"in t||0===r.selectBoxes.years.length||l)&&(r.selectBoxes.years=function ms(n,i,t){if(!n)return[];const r=i?Math.max(i.year,n.year-500):n.year-10,g=(t?Math.min(t.year,n.year+500):n.year+10)-r+1,b=Array(g);for(let l=0;l<g;l++)b[l]=r+l;return b}(r.firstDate,r.minDate,r.maxDate)),("minDate"in t||"maxDate"in t||0===r.selectBoxes.months.length||l)&&(r.selectBoxes.months=function Ju(n,i,t,r){if(!i)return[];let s=n.getMonths(i.year);if(t&&i.year===t.year){const g=s.findIndex(b=>b===t.month);s=s.slice(g)}if(r&&i.year===r.year){const g=s.findIndex(b=>b===r.month);s=s.slice(0,g+1)}return s}(this._calendar,r.firstDate,r.minDate,r.maxDate))):r.selectBoxes={years:[],months:[]},("arrows"===r.navigation||"select"===r.navigation)&&(v||l||"minDate"in t||"maxDate"in t||"disabled"in t)&&(r.prevDisabled=r.disabled||function Yu(n,i,t){const r=Object.assign(n.getPrev(i,"m"),{day:1});return null!=t&&(r.year===t.year&&r.month<t.month||r.year<t.year&&1===t.month)}(this._calendar,r.firstDate,r.minDate),r.nextDisabled=r.disabled||function $c(n,i,t){const r=Object.assign(n.getNext(i,"m"),{day:1});return null!=t&&r.after(t)}(this._calendar,r.lastDate,r.maxDate))}return r}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac})}}return n})();var vs=function(n){return n[n.PREV=0]="PREV",n[n.NEXT=1]="NEXT",n}(vs||{});let ql=(()=>{class n{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=vn.TranslationWidth.Short}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),rl=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:()=>function ed(){return new td}(),providedIn:"root"})}}return n})(),td=(()=>{class n extends rl{fromModel(t){return t&&gr(t.year)&&gr(t.month)&&gr(t.day)?{year:t.year,month:t.month,day:t.day}
129:null}toModel(t){return t&&gr(t.year)&&gr(t.month)&&gr(t.day)?{year:t.year,month:t.month,day:t.day}:null}static{this.\u0275fac=(()=>{let t;return function(s){return(t||(t=e.\u0275\u0275getInheritedFactory(n)))(s||n)}})()}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac})}}return n})();var jn=function(n){return n[n.Tab=9]="Tab",n[n.Enter=13]="Enter",n[n.Escape=27]="Escape",n[n.Space=32]="Space",n[n.PageUp=33]="PageUp",n[n.PageDown=34]="PageDown",n[n.End=35]="End",n[n.Home=36]="Home",n[n.ArrowLeft=37]="ArrowLeft",n[n.ArrowUp=38]="ArrowUp",n[n.ArrowRight=39]="ArrowRight",n[n.ArrowDown=40]="ArrowDown",n}(jn||{});let Jc=(()=>{class n{processKey(t,r){const{state:s,calendar:g}=r;switch(t.which){case jn.PageUp:r.focusDate(g.getPrev(s.focusedDate,t.shiftKey?"y":"m",1));break;case jn.PageDown:r.focusDate(g.getNext(s.focusedDate,t.shiftKey?"y":"m",1));break;case jn.End:r.focusDate(t.shiftKey?s.maxDate:s.lastDate);break;case jn.Home:r.focusDate(t.shiftKey?s.minDate:s.firstDate);break;case jn.ArrowLeft:r.focusDate(g.getPrev(s.focusedDate,"d",1));break;case jn.ArrowUp:r.focusDate(g.getPrev(s.focusedDate,"d",g.getDaysPerWeek()));break;case jn.ArrowRight:r.focusDate(g.getNext(s.focusedDate,"d",1));break;case jn.ArrowDown:r.focusDate(g.getNext(s.focusedDate,"d",g.getDaysPerWeek()));break;case jn.Enter:case jn.Space:r.focusSelect();break;default:return}t.preventDefault(),t.stopPropagation()}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Yc=(()=>{class n{constructor(){this.i18n=(0,e.inject)(Ba)}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(r,s){2&r&&e.\u0275\u0275classProp("bg-primary",s.selected)("text-white",s.selected)("text-muted",s.isMuted())("outside",s.isMuted())("active",s.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],attrs:qa,decls:1,vars:1,template:function(r,s){1&r&&e.\u0275\u0275text(0),2&r&&e.\u0275\u0275textInterpolate(s.i18n.getDayNumerals(s.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-tertiary-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0})}}return n})(),Rt=(()=>{class n{constructor(){this._month=-1,this._year=-1,this.i18n=(0,e.inject)(Ba),this.select=new e.EventEmitter}changeMonth(t){this.select.emit(new gi(this.date.year,Sr(t),1))}changeYear(t){this.select.emit(new gi(Sr(t),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this.monthSelect.nativeElement.value=`${this._month}`),this.date.year!==this._year&&(this._year=this.date.year,this.yearSelect.nativeElement.value=`${this._year}`))}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(r,s){if(1&r&&(e.\u0275\u0275viewQuery(Uc,7,e.ElementRef),e.\u0275\u0275viewQuery(Ks,7,e.ElementRef)),2&r){let g;e.\u0275\u0275queryRefresh(g=e.\u0275\u0275loadQuery())&&(s.monthSelect=g.first),e.\u0275\u0275queryRefresh(g=e.\u0275\u0275loadQuery())&&(s.yearSelect=g.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],decls:8,vars:2,consts:()=>{let t,r,s,g;return t=$localize`:@@ngb.datepicker.select-month:Select month`,r=$localize`:@@ngb.datepicker.select-month:Select month`,s=$localize`:@@ngb.datepicker.select-year:Select year`,g=$localize`:@@ngb.datepicker.select-year:Select year`,[["month",""],["year",""],["aria-label",t,"title",r,1,"form-select",3,"change","disabled"],[3,"value"],["aria-label",s,"title",g,1,"form-select",3,"change","disabled"]]},template:function(r,s){if(1&r){const g=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"select",2,0),e.\u0275\u0275listener("change",function(l){return e.\u0275\u0275restoreView(g),e.\u0275\u0275resetVie
129w(s.changeMonth(l.target.value))}),e.\u0275\u0275repeaterCreate(2,$t,2,3,"option",3,e.\u0275\u0275repeaterTrackByIdentity),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"select",4,1),e.\u0275\u0275listener("change",function(l){return e.\u0275\u0275restoreView(g),e.\u0275\u0275resetView(s.changeYear(l.target.value))}),e.\u0275\u0275repeaterCreate(6,Io,2,2,"option",3,e.\u0275\u0275repeaterTrackByIdentity),e.\u0275\u0275elementEnd()}2&r&&(e.\u0275\u0275property("disabled",s.disabled),e.\u0275\u0275advance(2),e.\u0275\u0275repeater(s.months),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",s.disabled),e.\u0275\u0275advance(2),e.\u0275\u0275repeater(s.years))},styles:["ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0})}}return n})(),nd=(()=>{class n{constructor(){this.navigation=vs,this.i18n=(0,e.inject)(Ba),this.months=[],this.navigate=new e.EventEmitter,this.select=new e.EventEmitter}onClickPrev(t){t.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(t){t.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],decls:8,vars:4,consts:()=>{let t,r,s,g;return t=$localize`:@@ngb.datepicker.previous-month:Previous month`,r=$localize`:@@ngb.datepicker.previous-month:Previous month`,s=$localize`:@@ngb.datepicker.next-month:Next month`,g=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow","ngb-dp-arrow-prev"],["type","button","aria-label",t,"title",r,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-chevron"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years"],[1,"ngb-dp-arrow","ngb-dp-arrow-next"],["type","button","aria-label",s,"title",g,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-select",3,"select","date","disabled","months","years"],[1,"ngb-dp-arrow"],[1,"ngb-dp-month-name"]]},template:function(r,s){1&r&&(e.\u0275\u0275elementStart(0,"div",0)(1,"button",1),e.\u0275\u0275listener("click",function(b){return s.onClickPrev(b)}),e.\u0275\u0275element(2,"span",2),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(3,Rn,1,4,"ngb-datepicker-navigation-select",3)(4,da,2,0),e.\u0275\u0275elementStart(5,"div",4)(6,"button",5),e.\u0275\u0275listener("click",function(b){return s.onClickNext(b)}),e.\u0275\u0275element(7,"span",2),e.\u0275\u0275elementEnd()()),2&r&&(e.\u0275\u0275advance(),e.\u0275\u0275property("disabled",s.prevDisabled),e.\u0275\u0275advance(2),e.\u0275\u0275conditional(3,s.showSelect?3:-1),e.\u0275\u0275advance(),e.\u0275\u0275conditional(4,s.showSelect?-1:4),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",s.nextDisabled))},dependencies:[Rt],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow-next{justify-content:flex-end}.ngb-dp-arrow-next .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0})}}return n})(),qc=(()=>{class n{constructor(){this.templateRef=(0,e.inject)(e.TemplateRef)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["ng-template","ngbDatepickerContent",""]],standalone:!0})}}return n})(),Al=(()=>{class n{constructor(){this._keyboardService=(0,e.inject)(Jc),this._service=(0,e.inject)(Yl),this.i18n=(0,e.inject)(Ba),this.datepicker=(0,e.inject)(tA)}set month(t){this.viewModel=this._service.getMonth(t)}onKeyDown(t){this._keyboardService.processKey(t,this.datepicker)}doSelect(t){!t.context.disabled&&!t.hidden&&this.datepicker.onDateSelect(t.date)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(r,s){1&r&&e.\u0275\u0275listener("keydown",function(b){return s.onKeyDown(b)})},inputs:{month:"month"},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],decls:3,vars:1,consts:[["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["role","row",1,"ngb-dp-week"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"disabled","tabindex","hidden","ngb-dp-today"],["role","gridcell",1,"ngb-dp-day",3,"click","tabindex"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(r,s){1&r&&(e.\u0275\u0275template(0,As,4,1,"div",0),e.\u0275\u0275repeaterCreate(1,Ni,
1291,1,null,null,e.\u0275\u0275repeaterTrackByIdentity)),2&r&&(e.\u0275\u0275conditional(0,s.viewModel.weekdays.length>0?0:-1),e.\u0275\u0275advance(),e.\u0275\u0275repeater(s.viewModel.weeks))},dependencies:[vn.NgTemplateOutlet],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-tertiary-bg)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2})}}return n})(),tA=(()=>{class n{constructor(){this.injector=(0,e.inject)(e.Injector),this._service=(0,e.inject)(Yl),this._calendar=(0,e.inject)(_a),this._i18n=(0,e.inject)(Ba),this._config=(0,e.inject)(ql),this._nativeElement=(0,e.inject)(e.ElementRef).nativeElement,this._ngbDateAdapter=(0,e.inject)(rl),this._ngZone=(0,e.inject)(e.NgZone),this._destroyRef=(0,e.inject)(e.DestroyRef),this._controlValue=null,this._publicState={},this.dayTemplate=this._config.dayTemplate,this.dayTemplateData=this._config.dayTemplateData,this.displayMonths=this._config.displayMonths,this.firstDayOfWeek=this._config.firstDayOfWeek,this.footerTemplate=this._config.footerTemplate,this.markDisabled=this._config.markDisabled,this.maxDate=this._config.maxDate,this.minDate=this._config.minDate,this.navigation=this._config.navigation,this.outsideDays=this._config.outsideDays,this.showWeekNumbers=this._config.showWeekNumbers,this.startDate=this._config.startDate,this.weekdays=this._config.weekdays,this.navigate=new e.EventEmitter,this.dateSelect=new e.EventEmitter,this.onChange=r=>{},this.onTouched=()=>{};const t=(0,e.inject)(e.ChangeDetectorRef);this._service.dateSelect$.pipe((0,N.takeUntilDestroyed)()).subscribe(r=>{this.dateSelect.emit(r)}),this._service.model$.pipe((0,N.takeUntilDestroyed)()).subscribe(r=>{const s=r.firstDate,g=this.model?this.model.firstDate:null;this._publicState={maxDate:r.maxDate,minDate:r.minDate,firstDate:r.firstDate,lastDate:r.lastDate,focusedDate:r.focusDate,months:r.months.map(D=>D.firstDate)};let b=!1;if(!s.equals(g)&&(this.navigate.emit({current:g?{year:g.year,month:g.month}:null,next:{year:s.year,month:s.month},preventDefault:()=>b=!0}),b&&null!==g))return void this._service.open(g);const l=r.selectedDate,v=r.focusDate,C=this.model?this.model.focusDate:null;this.model=r,Oo(l,this._controlValue)&&(this._controlValue=l,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(l))),Oo(v,C)&&C&&r.focusVisible&&this.focus(),t.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}get i18n(){return this._i18n}focusDate(t){this._service.focus(gi.from(t))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe((0,Te.s)(1)).subscribe(()=>this._nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]')?.focus())}navigateTo(t){this._service.open(gi.from(t?t.day?t:{...t,day:1}:null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{(function ia(...n){const i=(0,Mi.lI)(n),t=(0,Mi.R0)(n,1/0),r=n;return r.length?1===r.length?(0,Ue.Tg)(r[0]):(0,qr.U)(t)((0,Cr.H)(r,i)):et.w})(Xe(this._contentEl.nativeElement,"focusin"),Xe(this._contentEl.nativeElement,"focusout")).pipe((0,we.p)(s=>{const g=s.target,b=s.relatedTarget;return!(g?.classList.contains("ngb-dp-day")&&b?.classList.contains("ngb-dp-day")&&this._nativeElement.contains(g)&&this._nativeElement.contains(b))}),(0,N.takeUntilDestroyed)(this._destroyRef)).subscribe(({type:s})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===s})))})}ngOnInit(){if(void 0===this.model){const t={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(r=>t[r]=this[r]),this._service.set(t),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(t){const r={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(s=>s in t).forEach(s=>r[s]=this[s]),this._service.set(r),"startDate"in t){const{currentValue:s,previousValue:g}=t.startDate;$l(g,s)&&this.navigateTo(this.startDate)}}onDateSelect(t){this._service.focus(t),this._service.select(t,{emitEvent:!0})}onNavigateDateSelect(t){this._service.open(t)}onNavigateEvent(t){switch(t){case vs.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case vs.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._service.set({disabled:t})}writeValue(t){this._controlValue=gi.from(this._ngbDateAdapter.fromModel(t)),this._service.select(this._controlValue)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["ngb-datepicker"]],contentQueries:function(r,s,g){if(1&r&&e.\u0275\u0275contentQuery(g,qc,7),2&r){let b;e.\u0275\u0275queryRefresh(b=e.\u0275\u0275loadQuery())&&(s.contentTemplateFromContent=b.first)}},viewQuery:function(r,s){if(1&r&&(e.\u0275\u0275viewQuery(I,7),e.\u0275\u0275viewQuery(S,7)),2&r){let g;e.\u0275\u0275queryRefresh(g=e.\u0275\u0275loadQuery())&&(s._defaultDayTemplate=g.first),e.\u0275\u0275queryRefresh(g=e.\u0275\u0275loadQuery())&&(s._contentEl=g.first)}},hostVars:2,hostBindings:function(r,s){2&r&&e.\u0275\u0275classProp("disabled",s.model.disabled)},inputs:{contentTemplate:"contentTemplate",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],standalone:!0,features:[e.\u0275\u0275ProvidersFeature([{provide:kA.kq,useExisting:(0,e.forwardRef)(()=>n),multi:!0},Yl]),e.\u0275\u0275NgOnChangesFeature,e.\u0275\u0275StandaloneFeature],decls:10,vars:9,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],["content",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"],[1,"ngb-dp-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext","ngTemplateOutletInjector"],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],[1,"ngb-dp-month"],[1,"ngb-dp-month-name"],[3,"month"],[3,"navigate","select","date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"]
129],template:function(r,s){if(1&r&&(e.\u0275\u0275template(0,k,1,5,"ng-template",null,0,e.\u0275\u0275templateRefExtractor)(2,tn,2,0,"ng-template",null,1,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementStart(4,"div",3),e.\u0275\u0275template(5,Vn,1,7,"ngb-datepicker-navigation",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",5,2),e.\u0275\u0275template(8,fa,0,0,"ng-template",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,kr,0,0,"ng-template",7)),2&r){const g=e.\u0275\u0275reference(3);e.\u0275\u0275advance(5),e.\u0275\u0275conditional(5,"none"!==s.navigation?5:-1),e.\u0275\u0275advance(),e.\u0275\u0275classProp("ngb-dp-months",!s.contentTemplate),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",s.contentTemplate||(null==s.contentTemplateFromContent?null:s.contentTemplateFromContent.templateRef)||g)("ngTemplateOutletContext",e.\u0275\u0275pureFunction1(7,w,s))("ngTemplateOutletInjector",s.injector),e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",s.footerTemplate)}},dependencies:[vn.NgTemplateOutlet,Yc,Al,nd],styles:["ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-tertiary-bg)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-tertiary-bg)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0})}}return n})();const al=(n,i)=>!!i&&i.some(t=>t.contains(n)),Xl=(n,i)=>!i||null!=function Hc(n,i){return!i||typeof n.closest>"u"?null:n.closest(i)}(n,i),_s=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function Zl(n,i,t,r,s,g,b,l){t&&n.runOutsideAngular((n=>_s?()=>setTimeout(()=>n(),100):n)(()=>{const C=Xe(i,"keydown").pipe((0,ui.Q)(s),(0,we.p)(J=>J.which===jn.Escape),(0,ct.M)(J=>J.preventDefault())),D=Xe(i,"mousedown").pipe((0,pt.T)(J=>{const Z=J.target;return 2!==J.button&&!al(Z,b)&&("inside"===t?al(Z,g)&&Xl(Z,l):"outside"===t?!al(Z,g):Xl(Z,l)||!al(Z,g))}),(0,ui.Q)(s)),M=Xe(i,"mouseup").pipe(Bn(D),(0,we.p)(([J,Z])=>Z),function Ar(n,i=yt){const t=Gt(n,i);return Oi(()=>t)}(0),(0,ui.Q)(s));(0,sn.O)([C.pipe((0,pt.T)(J=>0)),M.pipe((0,pt.T)(J=>1))]).subscribe(J=>n.run(()=>r(J)))}))}const Xc=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Zc(n){const i=Array.from(n.querySelectorAll(Xc)).filter(t=>-1!==t.tabIndex);return[i[0],i[i.length-1]]}const ba=(n,i,t,r=!1)=>{n.runOutsideAngular(()=>{const s=Xe(i,"focusin").pipe((0,ui.Q)(t),(0,pt.T)(g=>g.target));Xe(i,"keydown").pipe((0,ui.Q)(t),(0,we.p)(g=>g.which===jn.Tab),Bn(s)).subscribe(([g,b])=>{const[l,v]=Zc(i);(b===l||b===i)&&g.shiftKey&&(v.focus(),g.preventDefault()),b===v&&!g.shiftKey&&(l.focus(),g.preventDefault())}),r&&Xe(i,"click").pipe((0,ui.Q)(t),Bn(s),(0,pt.T)(g=>g[1])).subscribe(g=>g.focus())})};let oo=(()=>{class n{constructor(){this._element=(0,e.inject)(vn.DOCUMENT).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const ec=/\s+/,id=/ +/gi,eu={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","to
129p-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},tc=/^left/,Ad=/^right/,ad=/^start/,od=/^end/;function tu({placement:n,baseClass:i},t){let r=Array.isArray(n)?n:n.split(ec),g=r.findIndex(C=>"auto"===C);g>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(C){null==r.find(D=>-1!==D.search("^"+C))&&r.splice(g++,1,C)});const b=r.map(C=>function rd(n,i){const[t,r]=eu[n];return i&&r||t}(C,t.isRTL()));return{placement:b.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!i,phase:"write",fn({state:C}){const D=new RegExp(i+"(-[a-z]+)*","gi"),M=C.elements.popper,J=C.placement;let Z=M.className;Z=Z.replace(D,""),Z+=` ${function sd(n,i){let[t,r]=i.split("-");const s=t.replace(tc,"start").replace(Ad,"end");let g=[s];if(r){let b=r;("left"===t||"right"===t)&&(b=b.replace(ad,"top").replace(od,"bottom")),g.push(`${s}-${b}`)}return n&&(g=g.map(b=>`${n}-${b}`)),g.join(" ")}(i,J)}`,Z=Z.trim().replace(id," "),M.className=Z}},FA,Fc,Hs,{enabled:!0,name:"flip",options:{fallbackPlacements:b}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function nu(n){return n}function nc(){const n=(0,e.inject)(oo);let i=null;return{createPopper(t){if(!i){let s=(t.updatePopperOptions||nu)(tu(t,n));i=js(t.hostElement,t.targetElement,s)}},update(){i&&i.update()},setOptions(t){if(i){let s=(t.updatePopperOptions||nu)(tu(t,n));i.setOptions(s)}},destroy(){i&&(i.destroy(),i=null)}}}let sl=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:()=>function ld(){return new cd}(),providedIn:"root"})}}return n})(),cd=(()=>{class n extends sl{parse(t){if(null!=t){const r=t.trim().split("-");if(1===r.length&&ai(r[0]))return{year:Sr(r[0]),month:null,day:null};if(2===r.length&&ai(r[0])&&ai(r[1]))return{year:Sr(r[0]),month:Sr(r[1]),day:null};if(3===r.length&&ai(r[0])&&ai(r[1])&&ai(r[2]))return{year:Sr(r[0]),month:Sr(r[1]),day:Sr(r[2])}}return null}format(t){return t?`${t.year}-${ai(t.month)?ro(t.month):""}-${ai(t.day)?ro(t.day):""}`:""}static{this.\u0275fac=(()=>{let t;return function(s){return(t||(t=e.\u0275\u0275getInheritedFactory(n)))(s||n)}})()}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac})}}return n})(),ya=(()=>{class n extends ql{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=t=>t,this.restoreFocus=!0}static{this.\u0275fac=(()=>{let t;return function(s){return(t||(t=e.\u0275\u0275getInheritedFactory(n)))(s||n)}})()}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function ic(n){return i=>(i.modifiers.push(is,{name:"offset",options:{offset:()=>n}}),i)}let rc=(()=>{class n{constructor(){this._parserFormatter=(0,e.inject)(sl),this._elRef=(0,e.inject)(e.ElementRef),this._vcRef=(0,e.inject)(e.ViewContainerRef),this._ngZone=(0,e.inject)(e.NgZone),this._calendar=(0,e.inject)(_a),this._dateAdapter=(0,e.inject)(rl),this._document=(0,e.inject)(vn.DOCUMENT),this._changeDetector=(0,e.inject)(e.ChangeDetectorRef),this._config=(0,e.inject)(ya),this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this._positioning=nc(),this._destroyCloseHandlers$=new tt.B,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.positionTarget=this._config.positionTarget,this.dateSelect=new e.EventEmitter,this.navigate=new e.EventEmitter,this.closed=new e.EventEmitter,this._onChange=t=>{},this._onTouched=()=>{}
129,this._validatorChange=()=>{}}get disabled(){return this._disabled}set disabled(t){this._disabled=""===t||t&&"false"!==t,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}registerOnValidatorChange(t){this._validatorChange=t}setDisabledState(t){this.disabled=t}validate(t){const{value:r}=t;if(null!=r){const s=this._fromDateStruct(this._dateAdapter.fromModel(r));if(!s)return{ngbDate:{invalid:r}};if(this.minDate&&s.before(gi.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:r}}};if(this.maxDate&&s.after(gi.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:r}}}}return null}writeValue(t){this._model=this._fromDateStruct(this._dateAdapter.fromModel(t)),this._writeModelValue(this._model)}manualDateChange(t,r=!1){const s=t!==this._inputValue;s&&(this._inputValue=t,this._model=this._fromDateStruct(this._parserFormatter.parse(t))),(s||!r)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):""===t?null:t),r&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){let t;if(this._cRef=this._vcRef.createComponent(tA),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(r=>{this.writeValue(r),this._onChange(r),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container)?.appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,ba(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),setTimeout(()=>this._cRef?.instance.focus()),t=io(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this.positionTarget&&!t)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");this._ngZone.runOutsideAngular(()=>{this._cRef&&t&&(this._positioning.createPopper({hostElement:t,targetElement:this._cRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:r=>this.popperOptions(ic([0,2])(r))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),this._setCloseHandlers()}}close(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.closed.emit(),this._changeDetector.markForCheck();let t=this._elWithFocus;io(this.restoreFocus)?t=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(t=this.restoreFocus),t&&t.focus?t.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(t){this.isOpen()&&this._cRef.instance.navigateTo(t)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(t){if((t.minDate||t.maxDate)&&(this._validatorChange(),this.isOpen()&&(t.minDate&&this._cRef.setInput("minDate",this.minDate),t.maxDate&&this._cRef.setInput("maxDate",this.maxDate))),t.datepickerClass){const{currentValue:r,previousValue:s}=t.datepickerClass;this._applyPopupClass(r,s)}t.autoClose&&this.isOpen()&&this._setCloseHandlers()}ngOnDestroy(){this.close()}_applyDatepickerInputs(t){["contentTemplate","dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach(r=>{void 0!==this[r]&&t.setInput(r,this[r])}),t.setInput("startDate",this.startDate||this._model)}_applyPopupClass(t,r){const s=this._cRef?.location.nativeElement;s&&(t&&s.classList.add(t),r&&s.classList.remove(r))}_applyPopupStyling(t){t.classList.add("dropdown-menu","show"),"body"===this.container&&t.classList.add("ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(t){t.navigate.subscribe(r=>this.navigate.emit(r)),t.dateSelect.subscribe(r=>{this.dateSelect.emit(r),(!0===this.autoClose||"inside"===this.autoClose)&&this.close()})}_writeModelValue(t){const r=this._parserFormatter.format(t);this._inputValue=r,this._elRef.nativeElement.value=r,this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(t)),this._onTouched())}_fromDateStruct(t){const r=t?new gi(t.year,t.month,t.day):null;return this._calendar.isValid(r)?r:null}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Zl(this._ngZone,this._document,this.autoClose,()=>this.close(),this._destroyCloseHandlers$,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(r,s){1&r&&e.\u0275\u0275listener("input",function(b){return s.manualDateChange(b.target.value)})("change",function(b){return s.manualDateChange(b.target.value,!0)})("focus",function(){return s.onFocus()})("blur",function(){return s.onBlur()}),2&r&&e.\u0275\u0275hostProperty("disabled",s.disabled)},inputs:{autoClose:"autoClose",contentTemplate:"contentTemplate",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",popperOptions:"popperOptions",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget",weekdays:"weekdays",disabled:"disabled"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],standalone:!0,features:[e.\u0275\u0275ProvidersFeature([{provide:kA.kq,useExisting:(0,e.forwardRef)(()=>n),multi:!0},{provide:kA.cz,useExisting:(0,e.forwardRef)(()=>n),multi:!0},{provide:ql,useExisting:ya}]),e.\u0275\u0275NgOnChangesFeature]})}}return n})();new Date(1882,10,12),new Date(2174,10,25);let qt=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:n})}static{this.\u0275inj=e.\u0275\u0275defineInjector({})}}return n})(),wa=(()=>{class n{constructor(){this._ngbConfig=(0,e.inject)(ds),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();class On{constructor(i,t,r){this.nodes=i,this.viewRef=t,this.componentRef=r}}class fA{constructor(i){this._componentType=i,this._windowRef=null,this._contentRef=null,this._document=(0,e.inject)(vn.DOCUMENT),this._applicationRef=(0,e.inject)(e.ApplicationRef),this._injector=(0,e.inject)(e.Injector),this._viewContainerRef
129=(0,e.inject)(e.ViewContainerRef),this._ngZone=(0,e.inject)(e.NgZone)}open(i,t,r=!1){this._windowRef||(this._contentRef=this._getContentRef(i,t),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:s}=this._windowRef.location,g=this._ngZone.onStable.pipe((0,Te.s)(1),(0,Ve.Z)(()=>jr(this._ngZone,s,({classList:b})=>b.add("show"),{animation:r,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:g}}close(i=!1){return this._windowRef?jr(this._ngZone,this._windowRef.location.nativeElement,({classList:t})=>t.remove("show"),{animation:i,runningTransition:"stop"}).pipe((0,ct.M)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,Ae.of)(void 0)}_getContentRef(i,t){if(i){if(i instanceof e.TemplateRef){const r=i.createEmbeddedView(t);return this._applicationRef.attachView(r),new On([r.rootNodes],r)}return new On([[this._document.createTextNode(`${i}`)]])}return new On([])}}let SA=(()=>{class n{constructor(){this._document=(0,e.inject)(vn.DOCUMENT)}hide(){const t=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),r=this._document.body,s=r.style,{overflow:g,paddingRight:b}=s;if(t>0){const l=parseFloat(window.getComputedStyle(r).paddingRight);s.paddingRight=`${l+t}px`}return s.overflow="hidden",()=>{t>0&&(s.paddingRight=b),s.overflow=g}}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),oi=(()=>{class n{constructor(){this._nativeElement=(0,e.inject)(e.ElementRef).nativeElement,this._zone=(0,e.inject)(e.NgZone)}ngOnInit(){this._zone.onStable.asObservable().pipe((0,Te.s)(1)).subscribe(()=>{jr(this._zone,this._nativeElement,(t,r)=>{r&&Ao(t),t.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return jr(this._zone,this._nativeElement,({classList:t})=>t.remove("show"),{animation:this.animation,runningTransition:"stop"})}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(r,s){2&r&&(e.\u0275\u0275classMap("modal-backdrop"+(s.backdropClass?" "+s.backdropClass:"")),e.\u0275\u0275classProp("show",!s.animation)("fade",s.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(r,s){},encapsulation:2})}}return n})();class rn{update(i){}close(i){}dismiss(i){}}const Qn=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],iA=["animation","backdropClass"];class Gi{_applyWindowOptions(i,t){Qn.forEach(r=>{ma(t[r])&&(i[r]=t[r])})}_applyBackdropOptions(i,t){iA.forEach(r=>{ma(t[r])&&(i[r]=t[r])})}update(i){this._applyWindowOptions(this._windowCmptRef.instance,i),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,i)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,ui.Q)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,ui.Q)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(i,t,r,s){this._windowCmptRef=i,this._contentRef=t,this._backdropCmptRef=r,this._beforeDismiss=s,this._closed=new tt.B,this._dismissed=new tt.B,this._hidden=new tt.B,i.instance.dismissEvent.subscribe(g=>{this.dismiss(g)}),this.result=new Promise((g,b)=>{this._resolve=g,this._reject=b}),this.result.then(null,()=>{})}close(i){this._windowCmptRef&&(this._closed.next(i),this._resolve(i),this._removeModalElements())}_dismiss(i){this._dismissed.next(i),this._reject(i),this._removeModalElements()}dismiss(i){if(this._windowCmptRef)if(this._beforeDismiss){const t=this._beforeDismiss();!function Zs(n){return n&&n.then}(t)?!1!==t&&this._dismiss(i):t.then(r=>{!1!==r&&this._dismiss(i)},()=>{})}else this._dismiss(i)}_removeModalElements(){const i=this._windowCmptRef.instance.hide(),t=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,Ae.of)(void 0);i.subscribe(()=>{const{nativeElement:r}=this._windowCmptRef.location;r.parentNode.removeChild(r),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),t.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:r}=this._backdropCmptRef.location;r.parentNode.removeChild(r),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),sA(i,t).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Dn=function(n){return n[n.BACKDROP_CLICK=0]="BACKDROP_CLICK",n[n.ESC=1]="ESC",
129n}(Dn||{});let cr=(()=>{class n{constructor(){this._document=(0,e.inject)(vn.DOCUMENT),this._elRef=(0,e.inject)(e.ElementRef),this._zone=(0,e.inject)(e.NgZone),this._closed$=new tt.B,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new e.EventEmitter,this.shown=new tt.B,this.hidden=new tt.B}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":io(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,Te.s)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:t}=this._elRef,r={animation:this.animation,runningTransition:"stop"},b=sA(jr(this._zone,t,()=>t.classList.remove("show"),r),jr(this._zone,this._dialogEl.nativeElement,()=>{},r));return b.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),b}_show(){const t={animation:this.animation,runningTransition:"continue"};sA(jr(this._zone,this._elRef.nativeElement,(g,b)=>{b&&Ao(g),g.classList.add("show")},t),jr(this._zone,this._dialogEl.nativeElement,()=>{},t)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:t}=this._elRef;this._zone.runOutsideAngular(()=>{Xe(t,"keydown").pipe((0,ui.Q)(this._closed$),(0,we.p)(s=>s.which===jn.Escape)).subscribe(s=>{this.keyboard?requestAnimationFrame(()=>{s.defaultPrevented||this._zone.run(()=>this.dismiss(Dn.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let r=!1;Xe(this._dialogEl.nativeElement,"mousedown").pipe((0,ui.Q)(this._closed$),(0,ct.M)(()=>r=!1),(0,Fi.n)(()=>Xe(t,"mouseup").pipe((0,ui.Q)(this._closed$),(0,Te.s)(1))),(0,we.p)(({target:s})=>t===s)).subscribe(()=>{r=!0}),Xe(t,"click").pipe((0,ui.Q)(this._closed$)).subscribe(({target:s})=>{t===s&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!r&&this._zone.run(()=>this.dismiss(Dn.BACKDROP_CLICK))),r=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:t}=this._elRef;if(!t.contains(document.activeElement)){const r=t.querySelector("[ngbAutofocus]"),s=Zc(t)[0];(r||s||t).focus()}}_restoreFocus(){const t=this._document.body,r=this._elWithFocus;let s;s=r&&r.focus&&t.contains(r)?r:t,this._zone.runOutsideAngular(()=>{setTimeout(()=>s.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&jr(this._zone,this._elRef.nativeElement,({classList:t})=>(t.add("modal-static"),()=>t.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["ngb-modal-window"]],viewQuery:function(r,s){if(1&r&&e.\u0275\u0275viewQuery(Jn,7),2&r){let g;e.\u0275\u0275queryRefresh(g=e.\u0275\u0275loadQuery())&&(s._dialogEl=g.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(r,s){2&r&&(e.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",s.ariaLabelledBy)("aria-describedby",s.ariaDescribedBy),e.\u0275\u0275classMap("modal d-block"+(s.windowClass?" "+s.windowClass:"")),e.\u0275\u0275classProp("fade",s.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],ngContentSelectors:rs,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(r,s){1&r&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275elementStart(0,"div",1,0)(2,"div",2),e.\u0275\u0275projection(3),e.\u0275\u0275elementEnd()()),2&r&&e.\u0275\u0275classMap("modal-dialog"+(s.size?" modal-"+s.size:"")+(s.centered?" modal-dialog-centered":"")+s.fullscreenClass+(s.scrollable?" modal-dialog-scrollable":"")+(s.modalDialogClass?" "+s.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2})}}return n})(),Wt=(()=>{class n{constructor(){this._applicationRef=(0,e.inject)(e.ApplicationRef),this._injector=(0,e.inject)(e.Injector),this._environmentInjector=(0,e.inject)(e.EnvironmentInjector),this._document=(0,e.inject)(vn.DOCUMENT),this._scrollBar=(0,e.inject)(SA),this._activeWindowCmptHasChanged=new tt.B,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRef
129s=[],this._windowCmpts=[],this._activeInstances=new e.EventEmitter;const t=(0,e.inject)(e.NgZone);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const r=this._windowCmpts[this._windowCmpts.length-1];ba(t,r.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(r.location.nativeElement)}})}_restoreScrollBar(){const t=this._scrollBarRestoreFn;t&&(this._scrollBarRestoreFn=null,t())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(t,r,s){const g=s.container instanceof HTMLElement?s.container:ma(s.container)?this._document.querySelector(s.container):this._document.body;if(!g)throw new Error(`The specified modal container "${s.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const b=new rn,l=(t=s.injector||t).get(e.EnvironmentInjector,null)||this._environmentInjector,v=this._getContentRef(t,l,r,b,s);let C=!1!==s.backdrop?this._attachBackdrop(g):void 0,D=this._attachWindowComponent(g,v.nodes),M=new Gi(D,v,C,s.beforeDismiss);return this._registerModalRef(M),this._registerWindowCmpt(D),M.hidden.pipe((0,Te.s)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),b.close=J=>{M.close(J)},b.dismiss=J=>{M.dismiss(J)},b.update=J=>{M.update(J)},M.update(s),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),C&&C.instance&&C.changeDetectorRef.detectChanges(),D.changeDetectorRef.detectChanges(),M}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(r=>r.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t){let r=(0,e.createComponent)(oi,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(r.hostView),t.appendChild(r.location.nativeElement),r}_attachWindowComponent(t,r){let s=(0,e.createComponent)(cr,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:r});return this._applicationRef.attachView(s.hostView),t.appendChild(s.location.nativeElement),s}_getContentRef(t,r,s,g,b){return s?s instanceof e.TemplateRef?this._createFromTemplateRef(s,g):io(s)?this._createFromString(s):this._createFromComponent(t,r,s,g,b):new On([])}_createFromTemplateRef(t,r){const g=t.createEmbeddedView({$implicit:r,close(b){r.close(b)},dismiss(b){r.dismiss(b)}});return this._applicationRef.attachView(g),new On([g.rootNodes],g)}_createFromString(t){const r=this._document.createTextNode(`${t}`);return new On([[r]])}_createFromComponent(t,r,s,g,b){const l=e.Injector.create({providers:[{provide:rn,useValue:g}],parent:t}),v=(0,e.createComponent)(s,{environmentInjector:r,elementInjector:l}),C=v.location.nativeElement;return b.scrollable&&C.classList.add("component-host-scrollable"),this._applicationRef.attachView(v.hostView),new On([[C]],v.hostView,v)}_setAriaHidden(t){const r=t.parentElement;r&&t!==this._document.body&&(Array.from(r.children).forEach(s=>{s!==t&&"SCRIPT"!==s.nodeName&&(this._ariaHiddenValues.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}),this._setAriaHidden(r))}_revertAriaHidden(){this._ariaHiddenValues.forEach((t,r)=>{t?r.setAttribute("aria-hidden",t):r.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){const r=()=>{const s=this._modalRefs.indexOf(t);s>-1&&(this._modalRefs.splice(s,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(r,r)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{const r=this._windowCmpts.indexOf(t);r>-1&&(this._windowCmpts.splice(r,1),this._activeWindowCmptHasChanged.next())})}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Ti=(()=>{class n{constructor(){this._injector=(0,e.inject)(e.Injector),this._modalStack=(0,e.inject)(Wt),this._config=(0,e.inject)(wa)}open(t,r={}){const s={...this._config,animation:this._config.animation,...r};return this._modalStack.open(this._injector,t,s)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Lo=(()=>{class n{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),ys=(()=>{class n{constructor(){this.templateRef=(0,e.inject)(e.TemplateRef)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["ng-template","ngbPaginationEllipsis",""]],standalone:!0})}}return n})(),ll=(()=>{class n{constructor(){this.templateRef=(0,e.inject)(e.TemplateRef)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["ng-template","ngbPaginationFirst",""]],standalone:!0})}}return n})(),ws=(()=>{class n{constructor(){this.templateRef=(0,e.inject)(e.TemplateRef)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["ng-template","ngbPaginationLast",""]],standalone:!0})}}return n})(),Fa=(()=>{class n{constructor(){this.templateRef=(0,e.inject)(e.TemplateRef)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["ng-template","ngbPaginationNext",""]],standalone:!0})}}return n})(),lo=(()=>{class n{constructor(){this.templateRef=(0,e.inject)(e.TemplateRef)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["ng-template","ngbPaginationNumber",""]],standalone:!0})}}return n})(),Po=(()=>{class n{constructor(){this.templateRef=(0,e.inject)(e.TemplateRef)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["ng-template","ngbPaginationPrevious",""]],standalone:!0})}}return n})(),co=(()=>{class n{constructor(){this.templateRef=(0,e.inject)(e.TemplateRef)}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["ng-template","ngbPaginationPages",""]],standalone:!0})}}return n})(),cl=(()=>{class n{constructor(){this._config=(0,e.inject)(Lo),this.pageCount=0,this.pages=[],this.disabled=this._config.disabled,this.boundaryLinks=this._config.boun
129daryLinks,this.directionLinks=this._config.directionLinks,this.ellipses=this._config.ellipses,this.rotate=this._config.rotate,this.maxSize=this._config.maxSize,this.page=1,this.pageSize=this._config.pageSize,this.pageChange=new e.EventEmitter(!0),this.size=this._config.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(t){this._updatePages(t)}ngOnChanges(t){this._updatePages(this.page)}isEllipsis(t){return-1===t}_applyEllipses(t,r){this.ellipses&&(t>0&&(t>2?this.pages.unshift(-1):2===t&&this.pages.unshift(2),this.pages.unshift(1)),r<this.pageCount&&(r<this.pageCount-2?this.pages.push(-1):r===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let t=0,r=this.pageCount,s=Math.floor(this.maxSize/2);return this.page<=s?r=this.maxSize:this.pageCount-this.page<s?t=this.pageCount-this.maxSize:(t=this.page-s-1,r=this.page+(this.maxSize%2==0?s-1:s)),[t,r]}_applyPagination(){let r=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[r,r+this.maxSize]}_setPageInRange(t){const r=this.page;this.page=function Mu(n,i,t=0){return Math.max(Math.min(n,i),t)}(t,this.pageCount,1),this.page!==r&&ai(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),ai(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let r=1;r<=this.pageCount;r++)this.pages.push(r);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){let r=0,s=this.pageCount;[r,s]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(r,s),this._applyEllipses(r,s)}}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["ngb-pagination"]],contentQueries:function(r,s,g){if(1&r&&(e.\u0275\u0275contentQuery(g,ys,5),e.\u0275\u0275contentQuery(g,ll,5),e.\u0275\u0275contentQuery(g,ws,5),e.\u0275\u0275contentQuery(g,Fa,5),e.\u0275\u0275contentQuery(g,lo,5),e.\u0275\u0275contentQuery(g,Po,5),e.\u0275\u0275contentQuery(g,co,5)),2&r){let b;e.\u0275\u0275queryRefresh(b=e.\u0275\u0275loadQuery())&&(s.tplEllipsis=b.first),e.\u0275\u0275queryRefresh(b=e.\u0275\u0275loadQuery())&&(s.tplFirst=b.first),e.\u0275\u0275queryRefresh(b=e.\u0275\u0275loadQuery())&&(s.tplLast=b.first),e.\u0275\u0275queryRefresh(b=e.\u0275\u0275loadQuery())&&(s.tplNext=b.first),e.\u0275\u0275queryRefresh(b=e.\u0275\u0275loadQuery())&&(s.tplNumber=b.first),e.\u0275\u0275queryRefresh(b=e.\u0275\u0275loadQuery())&&(s.tplPrevious=b.first),e.\u0275\u0275queryRefresh(b=e.\u0275\u0275loadQuery())&&(s.tplPages=b.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},standalone:!0,features:[e.\u0275\u0275NgOnChangesFeature,e.\u0275\u0275StandaloneFeature],decls:20,vars:12,consts:()=>{let t,r,s,g,b,l,v,C;return t=$localize`:@@ngb.pagination.first:««`,r=$localize`:@@ngb.pagination.previous:«`,s=$localize`:@@ngb.pagination.next:»`,g=$localize`:@@ngb.pagination.last:»»`,b=$localize`:@@ngb.pagination.first-aria:First`,l=$localize`:@@ngb.pagination.previous-aria:Previous`,v=$localize`:@@ngb.pagination.next-aria:Next`,C=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],t,r,s,g,[1,"page-item",3,"disabled"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],[1,"page-item",3,"active","disabled"],[1,"page-item"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",b,"href","",1,"page-link",3,"click"],["aria-label",l,"href","",1,"page-link",3,"click"],["aria-label",v,"href","",1,"page-link",3,"click"],["aria-label",C,"href","",1,"page-link",3,"click"]]},template:function(r,s){if(1&r&&(e.\u0275\u0275template(0,pa,2,0,"ng-template",null,0,e.\u0275\u0275templateRefExtractor)(2,YA,2,0,"ng-template",null,1,e.\u0275\u0275templateRefExtractor)(4,an,2,0,"ng-template",null,2,e.\u0275\u0275templateRefExtractor)(6,qA,2,0,"ng-template",null,3,e.\u0275\u0275templateRefExtractor)(8,qn,1,0,"ng-template",null,4,e.\u0275\u0275templateRefExtractor)(10,XA,1,1,"ng-template",null,5,e.\u0275\u0275templateRefExtractor)(12,Ai,2,0,"ng-template",null,6,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementStart(14,"ul"),e.\u0275\u0275template(15,Cu,3,9,"li",11)(16,dA,3,8,"li",11)(17,Js,0,0,"ng-template",12)(18,Ys,3,9,"li",11)(19,Eu,3,9,"li",11),e.\u0275\u0275elementEnd()),2&r){const g=e.\u0275\u0275reference(13);e.\u0275\u0275advance(14),e.\u0275\u0275classMap("pagination"+(s.size?" pagination-"+s.size:"")),e.\u0275\u0275advance(),e.\u0275\u0275conditional(15,s.boundaryLinks?15:-1),e.\u0275\u0275advance(),e.\u0275\u0275conditional(16,s.directionLinks?16:-1),e.\u0275\u0275advance(),e.\u0275\u0275property("ngTemplateOutlet",(null==s.tplPages?null:s.tplPages.templateRef)||g)("ngTemplateOutletContext",e.\u0275\u0275pureFunction3(8,uA,s.page,s.pages,s.disabled)),e.\u0275\u0275advance(),e.\u0275\u0275conditional(18,s.directionLinks?18:-1),e.\u0275\u0275advance(),e.\u0275\u0275conditional(19,s.boundaryLinks?19:-1)}},dependencies:[vn.NgTemplateOutlet],encapsulation:2,changeDetection:0})}}return n})(),Cs=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:n})}static{this.\u0275inj=e.\u0275\u0275defineInjector({})}}return n})();const Ro={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};let QA=(()=>{class n{constructor(){this._ngbConfig=(0,e.inject)(ds),this.autoClose=!0,this.placement="auto",this.popperOptions=t=>t,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Da=0,MA=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(r,s){2&r&&(e.\u0275\u0275hostProperty("id",s.id),e.\u0275\u0275classMap("tooltip"+(s.tooltipClass?" "+s.tooltipClass:"")),e.\u0275\u0275classProp("fade",s.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[e.\u0275\u0275StandaloneFeature],ngContentSelectors:rs,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(r,s){1&r&&(e.\u0275\u0275projectionDef(),e.\u0275\u0275element(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275projection(2),e.\u0275\u0275elementEnd())},styles:["ngb-tooltip-window{pointer-events:none;position:absolute}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top,ngb-tooltip-window.bs-tooltip-bottom{padding-left:0;padding-right:0}ngb-tooltip-window.bs-tooltip-start,ngb-tooltip-window.bs-tooltip-en
129d{padding-top:0;padding-bottom:0}\n"],encapsulation:2,changeDetection:0})}}return n})(),Ns=(()=>{class n{constructor(){this._config=(0,e.inject)(QA),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disableTooltip=this._config.disableTooltip,this.tooltipClass=this._config.tooltipClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new e.EventEmitter,this.hidden=new e.EventEmitter,this._nativeElement=(0,e.inject)(e.ElementRef).nativeElement,this._ngZone=(0,e.inject)(e.NgZone),this._document=(0,e.inject)(vn.DOCUMENT),this._changeDetector=(0,e.inject)(e.ChangeDetectorRef),this._ngbTooltipWindowId="ngb-tooltip-"+Da++,this._popupService=new fA(MA),this._windowRef=null,this._positioning=nc()}set ngbTooltip(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(t){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:r,transition$:s}=this._popupService.open(this._ngbTooltip,t??this.tooltipContext,this.animation);this._windowRef=r,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip",updatePopperOptions:g=>this.popperOptions(ic([0,6])(g))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),Zl(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),s.subscribe(()=>this.shown.emit())}}close(t=this.animation){null!=this._windowRef&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(t).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function Ci(n,i,t,r,s,g=0,b=0){const l=function oc(n){const i=(n||"").trim();if(0===i.length)return[];const t=i.split(/\s+/).map(s=>s.split(":")).map(s=>Ro[s[0]]||s),r=t.filter(s=>s.includes("manual"));if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===r.length&&t.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return r.length?[]:t}(i);if(0===l.length)return()=>{};const v=new Set,C=[];let D;function M(Z,ge){n.addEventListener(Z,ge),C.push(()=>n.removeEventListener(Z,ge))}function J(Z,ge){clearTimeout(D),ge>0?D=setTimeout(Z,ge):Z()}for(const[Z,ge]of l)ge?(M(Z,()=>{v.add(Z),J(()=>v.size>0&&r(),g)}),M(ge,()=>{v.delete(Z),J(()=>0===v.size&&s(),b)})):M(Z,()=>t()?J(s,b):J(r,g));return()=>C.forEach(Z=>Z())}(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:t}){t&&this.isOpen()&&this._windowRef.setInput("tooltipClass",t.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(io(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275dir=e.\u0275\u0275defineDirective({type:n,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],standalone:!0,features:[e.\u0275\u0275NgOnChangesFeature]})}}return n})(),aA=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:n})}static{this.\u0275inj=e.\u0275\u0275defineInjector({})}}return n})();new e.InjectionToken("live announcer delay",{providedIn:"root",factory:()=>100})}}]);
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.