PageSourceSearch

https://lk.life-pay.ru/4433.4168f0197747929f.js

js life-pay.ru collected 2026-09-24 09:21:19 UTC 17,676 bytes, 4 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="51c932ca-67af-53a0-bb0b-e431cef00b51")}catch(e){}}();
3(self.webpackChunklp_web_app=self.webpackChunklp_web_app||[]).push([[4433],{4433(ht,b,s){s.r(b),s.d(b,{default:()=>mt});var P=s(9204),y=s(3683),x=s(3855),a=s(5240),D=s(7580),u=s(9074),g=s(4456),O=s(1913),v=s(9282),E=s(2696),h=s(2591),j=s(3366),k=s(6740),r=s(6905);let w=(()=>{var n;class l{constructor(){this.api=(0,a.WQX)(j.G),this.orgService=(0,a.WQX)(k.Q),this.storage=(0,a.WQX)(r.n$i)}getList(i){return this.api.get(`${this.api.lifePayApi}/lifepos/documents?org_guid=${this.orgService.currentOrgGuid}`,{headers:{"X-LP-Lifepos-Auth-Token":this.storage.get("token")},params:i})}getDocument(i){return this.api.get(`${this.api.lifePayApi}/lifepos/documents/file?org_guid=${this.orgService.currentOrgGuid}&id=${i}`,{headers:{"X-LP-Lifepos-Auth-Token":this.storage.get("token")}})}static#t=n=()=>(this.\u0275fac=function(o){return new(o||l)},this.\u0275prov=a.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}))}return n(),l})();var p=s(6843),G=s(5447),f=s(5889),L=s(3087),X=s(6635),_=s(5797),I=s(9999),S=s(3037),C=s(8764),M=s(2575),H=s(6647),$=s(1318),T=s(9400),Q=s(8537),R=s(9475),Y=s(1567),V=s(1903),W=s(271),t=s(2481);const z=(n,l)=>l.id;function A(n,l){if(1&n){const c=t.RV6();t.j41(0,"div",1)(1,"button",20),t.bIt("click",function(){a.eBV(c);const o=t.XpG();return a.Njj(o.onWarningClose())}),t.nrm(2,"lui-icon",21),t.k0s(),t.nrm(3,"lui-icon",22),t.j41(4,"p",23),t.EFF(5),t.nI1(6,"transloco"),t.k0s()()}2&n&&(t.R7$(5),t.SpI(" ",t.bMT(6,1,"settings.closing-documents.warning-description")," "))}function B(n,l){if(1&n&&(t.j41(0,"lui-custom-item",5)(1,"span",24),t.EFF(2),t.k0s()()),2&n){const c=l.$implicit;t.XpG();const i=t.sdS(7);t.Y8G("isChecked",i.isItemChecked(c))("item",c),t.R7$(2),t.JRh(c.name)}}function N(n,l){1&n&&(t.j41(0,"th",25)(1,"span",26),t.EFF(2),t.nI1(3,"transloco"),t.k0s()()),2&n&&(t.Y8G("sorter",null),t.R7$(2),t.JRh(t.bMT(3,2,"settings.closing-documents.legal-entity-inn")))}function J(n,l){1&n&&(t.j41(0,"th",25)(1,"span",26),t.EFF(2),t.nI1(3,"transloco"),t.k0s()()),2&n&&(t.Y8G("sorter",null),t.R7$(2),t.JRh(t.bMT(3,2,"settings.closing-documents.legal-entity-filter")))}function Z(n,l){1&n&&(t.j41(0,"th",25)(1,"span",26),t.EFF(2),t.nI1(3,"transloco"),t.k0s()()),2&n&&(t.Y8G("sorter",null),t.R7$(2),t.JRh(t.bMT(3,2,"settings.closing-documents.number")))}function K(n,l){if(1&n){const c=t.RV6();t.j41(0,"th",27),t.bIt("click",function(){a.eBV(c);const o=t.XpG();return a.Njj(o.onSort())}),t.j41(1,"span",26),t.EFF(2),t.nI1(3,"transloco"),t.k0s(),t.nrm(4,"lui-icon",28),t.k0s()}2&n&&(t.R7$(2),t.JRh(t.bMT(3,1,"settings.closing-documents.document-date")))}function U(n,l){1&n&&t.nrm(0,"th",29),2&n&&t.Y8G("sorter",null)}function q(n,l){if(1&n&&(t.j41(0,"td",32)(1,"p",33),t.EFF(2),t.k0s()()),2&n){const c=t.XpG().$implicit;t.R7$(2),t.JRh(c.legal_entity_inn)}}function tt(n,l){if(1&n&&(t.j41(0,"td",32)(1,"p",33),t.EFF(2),t.k0s()()),2&n){let c;const i=t.XpG().$implicit,o=t.XpG();t.R7$(2),t.JRh(null==(c=o.legalEntityNameMap.get(i.legal_entity_inn))?null:c.name)}}function nt(n,l){if(1&n&&(t.j41(0,"td",32)(1,"p",33),t.EFF(2),t.k0s()()),2&n){const c=t.XpG().$implicit;t.R7$(2),t.JRh(c.number)}}function et(n,l){if(1&n&&(t.j41(0,"td",32)(1,"p",33),t.EFF(2),t.nI1(3,"date"),t.k0s()()),2&n){const c=t.XpG().$implicit;t.R7$(2),t.JRh(t.i5U(3,1,c.document_date,"dd.MM.yyyy"))}}function it(n,l){1&n&&t.nrm(0,"lui-icon",19)}function ot(n,l){if(1&n){const c=t.RV6();t.j41(0,"lui-icon",36),t.nI1(1,"transloco"),t.bIt("click",function(){a.eBV(c);const o=t.XpG(2).$implicit,e=t.XpG();return a.Njj(e.download(o))}),t.k0s()}2&n&&t.Y8G("luiHint",t.bMT(1,3,"settings.closing-documents.download"))("luiHintAppearance","short-text")("luiHintDirection","top")}function st(n,l){if(1&n&&(t.j41(0,"td",34),t.nVh(1,it,1,0,"lui-icon",19)(2,ot,2,5,"lui-icon",35),t.k0s()),2&n){const c=t.XpG().$implicit,i=t.XpG();t.R7$(),t.vxM(i.loadingDocs.get(c.id)?1:2)}}function lt(n,l){1&n&&(t.j41(0,"tr",15),t.DNE(1,q,3,1,"td",30)(2,tt,3,1,"td",30)(3,nt,3,1,"td",30)(4,et,4,4,"td",30)(5,st,3,1,"td",31),t.k0s()),2&n&&(t.R7$(),t.Y8G("luiCell","legal_entity_inn"),t.R7$(),t.Y8G("luiCell","legal_entity_name"),t.R7$(),t.Y8G("luiCell","number"),t.R7$(),t.Y8G("luiCell","document_date"),t.R7$(),t.Y8G("luiCell","menu"))}function at(n,l){1&n&&t.nrm(0,"lui-icon",19)}function rt(n,l){if(1&n){const c=t.RV6();t.j41(0,"p"),t.EFF(1),t.nI1(2,"transloco"),t.k0s(),t.j41(3,"button",37),t.bIt("click",function(){a.eBV(c);const o=t.XpG(2);return a.Njj(o.resetFilters())}),t.EFF(4),t.nI1(5,"transloco"),t.k0s()}2&n&&(t.R7$(),t.JRh(t.bMT(2,2,"settings.closing-documents.nothing-found")),t.R7$(3),t.SpI(" ",t.bMT(5,4,"settings.closing-documents.reset-filters")," "))}function ct(n,l){1&n&&(t.j41(0,"p"),t.EFF(1),t.nI1(2,"transloco"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"settings.closing-documents.no-documents")))}function dt(n,l){if(1&n&&t.nVh(0,rt,6,6)(1,ct,3,3,"p"),2&n){const c=t.XpG();t.vxM(c.hasActiveFilters?0:1)}}const F="hideCloseDocumentWarning";let mt=(()=>{var n;class l{constructor(){this.columns=["document_date","number","legal_entity_name","legal_entity_inn","menu"],this.documents=[],this.isLoading=!0,this.isLoadingEntities=!0,this.legalEntitiesList=[],this.legalEntityNameMap=new Map,this.loadingDocs=new Map,this.filtersForm=new g.gE({dateRange:new g.MJ(null),legalEntityInn:new g.MJ(null),search:new g.MJ("",{nonNullable:!0,validators:[g.k0.minLength(1),g.k0.maxLength(64)]})}),this.isWarningVisible$=new _.t(!1),this.orderBy$=new _.t("document_date_desc"),this.displayedMonths=(0,a.vPA)(2),this.tags$=new _.t([]),this.nextPage="",this.loadThreshold=.1,this.alertService=(0,a.WQX)(r.uES),this.cd=(0,a.WQX)(D.gRc),this.closingDocumentsService=(0,a.WQX)(w),this.destroyRef=(0,a.WQX)(a.abz),this.downloadService=(0,a.WQX)(h.sX),this.legalEntitiesService=(0,a.WQX)(h.gP),this.notification=new X.lS(O.zP,(0,a.WQX)(a.duS)),this.orgService=(0,a.WQX)(h.Q9),this.storage=(0,a.WQX)(r.n$i),this.transloco=(0,a.WQX)(f.JO),this.unselected={inn:"not-selected",name:this.transloco.translate("settings.closing-documents.not-selected")},this.window=(0,a.WQX)(L.Qc),this.valueChanges$=(0,I.z)([this.filtersForm.valueChanges.pipe((0,S.Z)({})),this.orderBy$]).pipe((0,Y.p)(()=>this.filtersForm.valid),(0,C.M)(()=>{this.isLoading=!0,this.documents=[],this.cd.markForCheck()}),(0,M.B)(700),(0,H.n)(([i,o])=>{let e=`order_by=${o}`;
3return Object.entries(i).forEach(([d,m])=>{if(m){if("dateRange"===d&&Array.isArray(m)&&m.length){const gt=(0,p.fm)(m[0],"yyyy-MM-dd"),ut=(0,p.fm)(m[1],"yyyy-MM-dd");e+=`&document_date_from=${gt}&document_date_to=${ut}`}"legalEntityInn"===d&&"not-selected"!==m.inn&&(e+=`&legal_entity_inn=${m.inn}`),"search"===d&&"string"==typeof m&&m.length&&(e+=`&number_contains=${m.replace(/%(?![0-9][0-9a-fA-F]+)/g,"%25")}`)}}),this.currentParams=new x.Nl({fromString:e}),this.closingDocumentsService.getList(this.currentParams).pipe((0,$.W)(()=>(this.isLoading=!1,this.cd.markForCheck(),T.w)))}))}get hasActiveFilters(){const i=this.filtersForm.getRawValue();return!!i.dateRange?.length||"not-selected"!==i.legalEntityInn?.inn||!!i.search}ngOnInit(){this.isWarningVisible$.next(!this.storage.get(`${this.orgService.currentOrgGuid}.${F}`)),this.filtersForm.controls.legalEntityInn.patchValue(this.unselected),this.loadTags(),this.loadLegalEntities(),this.syncDisplayedMonths(),(0,Q.R)(this.window,"resize").pipe((0,M.B)(200),(0,u.pQ)(this.destroyRef)).subscribe(()=>this.syncDisplayedMonths()),this.valueChanges$.pipe((0,u.pQ)(this.destroyRef)).subscribe(i=>{this.isLoading=!1,this.documents=i.items,this.nextPage=i.next_page??"",this.cd.markForCheck()})}ngAfterViewInit(){this.loadThreshold=this.scrollbar.browserScrollRef.nativeElement.clientHeight}onSidebarScroll(){if(this.isLoading||!this.nextPage)return;const{clientHeight:i,scrollHeight:o,scrollTop:e}=this.scrollbar.browserScrollRef.nativeElement;Math.abs(o-e-i)<this.loadThreshold&&(this.isLoading=!0,this.closingDocumentsService.getList(this.currentParams.set("page",this.nextPage)).pipe((0,u.pQ)(this.destroyRef)).subscribe({next:d=>{this.isLoading=!1,this.documents=this.documents.concat(d.items??[]),this.nextPage=d.next_page??"",this.cd.markForCheck()},error:()=>{this.isLoading=!1,this.cd.markForCheck()}}))}onSort(){this.orderBy$.next("document_date_desc"===this.orderBy$.value?"document_date_asc":"document_date_desc")}download(i){this.loadingDocs.set(i.id,!0),this.cd.markForCheck(),this.closingDocumentsService.getDocument(i.id).pipe((0,V.H)(function(){var o=(0,P.A)(function*({file_name:e,content:d}){return{blob:yield(0,p.zV)(d,e),file_name:e}});return function(e){return o.apply(this,arguments)}}()),(0,$.W)(()=>(this.alertService.open(this.notification,{data:{content:"settings.closing-documents.load-error",purpose:"error"}}).subscribe(),T.w)),(0,R.j)(()=>{this.loadingDocs.set(i.id,!1),this.cd.markForCheck()}),(0,u.pQ)(this.destroyRef)).subscribe(({blob:o,file_name:e})=>{this.downloadService.download(o,e)})}resetFilters(){this.filtersForm.reset({dateRange:null,legalEntityInn:this.unselected,search:""})}onWarningClose(){this.isWarningVisible$.next(!1),this.storage.add(`${this.orgService.currentOrgGuid}.${F}`,!0)}loadLegalEntities(){this.isLoadingEntities=!0,this.legalEntitiesService.getList().pipe((0,C.M)(i=>{this.legalEntityNameMap=i.reduce((o,e)=>{const d=o.get(e.inn);return(!d||e.created_at>d.createdAt)&&o.set(e.inn,{name:e.juridical_name,createdAt:e.created_at}),o},new Map)}),(0,W.T)(i=>i.map(({inn:o,juridical_name:e})=>({inn:o,name:e}))),(0,C.M)(i=>{this.legalEntitiesList=[this.unselected,...(0,G.H)(i,"name","asc")],i.length||this.filtersForm.controls.legalEntityInn.disable()}),(0,R.j)(()=>{this.isLoadingEntities=!1,this.cd.markForCheck()}),(0,u.pQ)(this.destroyRef)).subscribe()}loadTags(){const i=r.DpQ.map((o,e)=>({...o,alias:this.transloco.translate(`tags.${o.id}`),description:{...o.description,value:1===e?this.transloco.translate("tags.before"):""}}));this.tags$.next(i)}syncDisplayedMonths(){const i=this.window.document.body.classList.contains(v.L63);this.displayedMonths.set(i&&this.window.innerWidth<v.Pau?1:2)}static#t=n=()=>(this.\u0275fac=function(o){return new(o||l)},this.\u0275cmp=t.VBU({type:l,selectors:[["app-closing-documents"]],viewQuery:function(o,e){if(1&o&&t.GBs(r.Xb$,5),2&o){let d;t.mGM(d=t.lsd())&&(e.scrollbar=d.first)}},decls:31,vars:38,consts:[["innSelect",""],[1,"warning"],[1,"table-control-menu"],["dateFormat","DD-MM-YYYY",3,"displayedMonths","formControl","label","size","tags"],[3,"formControl","items","key","showLoader","label"],[3,"isChecked","item"],["data-testid","settings.closing_documents.search",1,"_flex-grow-1",3,"formControl","label","labelHide","maxLength"],["name","m_search",1,"l-icon-left"],["luiExpandHeight","","appResizeDetect","",1,"table-border","table-border--full-height",3,"scroll"],["luiTable","","data-testid","settings.closing_documents.table",1,"table","_width-100",3,"columns"],["luiThGroup",""],["luiTh","","class","_sticky",3,"sorter",4,"luiHead"],["luiTh","","class","_sticky",3,"click",4,"luiHead"],["luiTh","","class","_sticky _row-menu",3,"sorter",4,"luiHead"],["luiTbody","",1,"_vertical-align-top",3,"data"],["luiTr",""],[1,"_height-100"],[1,"l-text_monospace_middle","table-addon"],[1,"_height-100","_flex-column-center","_adaptive-table-status"],["name","m_loader_main","size","m"],["data-testid","settings.closing_documents.warning_close_button",1,"_l-close-button",3,"click"],["name","s_x_xmark_cross","size","s"],["data-testid","settings.closing_documents.icon_warning","name","m_info_circle"],["data-testid","settings.closing_documents.warning_description",1,"l-text_body_small"],[1,"l-text_body_middle"],["luiTh","",1,"_sticky",3,"sorter"],[1,"l-sort-text"],["luiTh","",1,"_sticky",3,"click"],["name","s_sort_up_down","size","s"],["luiTh","",1,"_sticky","_row-menu",3,"sorter"],["luiTd","",4,"luiCell"],["luiTd","","class","actions _sticky _row-menu",4,"luiCell"],["luiTd",""],[1,"l-text_monospace_middle"],["luiTd","",1,"actions","_sticky","_row-menu"],["data-testid","settings.closing_documents.download","name","m_download","size","m",3,"luiHint","luiHintAppearance","luiHintDirection"],["data-testid","settings.closing_documents.download","name","m_download","size","m",3,"click","luiHint","luiHintAppearance","luiHintDirection"],["luiButton","","appearance","secondary","size","m",3,"click"]],template:function(o,e){if(1&o){const d=t.RV6();t.nVh(0,A,7,3,"div",1),t.nI1(1,"async"),t.j41(2,"div",2),t.nrm(3,"lui-input-date-range",3),t.nI1(4,"transloco"),t.nI1(5,"async"),t.j41(6,"lui-select",4,0),t.nI1(8,"transloco"),t.Z7z(9,B,3,3,"lui-custom-item",5,t.fX1),t.k0s(),t.j41(11,"lui-input",6),t.nI1(12,"transloco"),t.nrm(13,"lui-icon",7),t.k0s()(),t.j41(14,"lui-scrollbar",8),t.bIt("scroll",function(){return a.eBV(d),a.Njj(e.onSidebarScroll())}),t.j41(15,"table",9)(16,"thead")(17,"tr",10),t.DNE(18,N,4,4,"th",11)(19,J,4,4,"th",11)(20,Z,4,4,"th",11)(21,K,5,3,"th",12)(22,U,1,1,"th",13),t.k0s()(),t.j41(23,"tbody",14),t.Z7z(24,lt,6,5,"tr",15,z),t.j41(26,"tr",16)(27,"td",17)(28,"div",18),t.nVh(29,at,1,0,"lui-icon",19)(30,dt,2,1),t.k0s()()()()()()}2&o&&(t.vxM(t.bMT(1,28,e.isWarningVisible$)?0:-1),t.R7$(3),t.Y8G("displayedMonths",e.displayedMonths())("formControl",e.filtersForm.controls.dateRange)("label",t.bMT(4,30,"settings.closing-documents.date-range-filter"))("size","m")("tags",t.bMT(5,32,e.tags$)),t.R7$(3),t.Y8G("formControl",e.filtersForm.controls.legalEntityInn)("items",e.legalEntitiesList)("key","name")("showLoader",e.isLoadingEntities)("label",t.bMT(8,34,"settings.closing-documents.legal-entity-filter")),t.R7$(3),t.Dyx(e.legalEntitiesList),t.R7$(2),t.Y8G("formControl",e.filtersForm.controls.search)("label",t.bMT(12,36,"settings.closing-documents.search-label"))("labelHide",!0)("maxLength",64),t.R7$(4),t.Y8G("columns",e.columns),t.R7$(3),t.Y8G("luiHead","legal_entity_inn"),t.R7$(),t.Y8G("luiHead","legal_entity_name"),t.R7$(),t.Y8G("luiHead","number"),t.R7$(),t.Y8G("luiHead","document_date"),t.R7$(),t.Y8G("luiHead","menu"),t.R7$(),t.Y8G("data",e.documents),t.R7$(),t.Dyx(e.documents),t.R7$(3),t.AVh("_table-loading",e.isLoading||e.isLoadingEntities)("_no-data",!e.isLoading&&!e.isLoadingEntities&&!e.documents.length),t.BMQ("colspan",5),t.R7$(2),t.vxM(e.isLoading||e.isLoadingEntities?29:e.documents.length?-1:30))},dependencies:[r.QPN,g.X1,g.BC,g.l_,r.zbO,r.I3S,r.Xb$,r.xjz,r.Vk2,r.HXw,r.qYb,r.HIo,r.nA6,r.sZU,r.ndF,r.j$X,r.LjC,r.VnX,r.DhG,r.wY9,E.fs,y.vh,f.Kj,y.Jj],styles:["@keyframes _ngcontent-%COMP%_loading-spinner{to{transform:rotate(360deg)}}[_nghost-%COMP%]{width:calc(100% - 20.25rem)}.table-addon[_ngcontent-%COMP%]{height:3rem;padding:4rem 0;text-align:center;vertical-align:middle;padding:0;height:fit-content}.table-addon._next-page[_ngcontent-%COMP%]{padding:0}.table-addon._no-data[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{min-width:0;width:auto;max-width:min(100%,20rem);height:auto;min-height:0;margin-bottom:1rem}.table-addon._no-data[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;color:var(--lui-table-text-secondary)}.table-addon._no-data[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:1rem}.table-addon._table-loading[_ngcontent-%COMP%]{padding:4rem 0}.table-border[_ngcontent-%COMP%]{flex-shrink:2;margin-top:1rem;margin-bottom:1rem;height:fit-content;box-sizing:border-box;width:100%;max-height:inherit;border:.0625rem solid var(--lui-table-border-color);border-radius:.5rem}.table-border[_ngcontent-%COMP%]   table[luiTable][_ngcontent-%COMP%]{width:inherit}.table-border[_ngcontent-%COMP%]   tr[luiTr][_ngcontent-%COMP%]{cursor:default}.table-border[_ngcontent-%COMP%]   td[luiTd][_ngcontent-%COMP%]{white-space:nowrap}.table-border--full-height[_ngcontent-%COMP%] >   div.l-content{height:100%}.table-border--full-height[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{height:100%}.table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{height:2.5rem;box-sizing:border-box;align-content:center}lui-icon[name=m_download][_ngcontent-%COMP%], lui-icon[name=m_credit_card][_ngcontent-%COMP%]{cursor:pointer;color:var(--lui-table-icon-active);opacity:1}lui-icon[name=m_download][_ngcontent-%COMP%]:hover, lui-icon[name=m_credit_card][_ngcontent-%COMP%]:hover{opacity:.5}.actions[_ngcontent-%COMP%]{width:1rem;border-left:.0625rem solid var(--lui-table-separator);right:0;cursor:pointer}.table-control-menu[_ngcontent-%COMP%]{display:flex;column-gap:1rem}.warning[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;padding:1rem 2rem 1rem 1rem;margin-bottom:1rem;column-gap:.5rem;border-radius:1rem;background-color:var(--lui-pin-bg-info-pastel)}.warning[_ngcontent-%COMP%] > lui-icon[_ngcontent-%COMP%]{color:var(--lui-pin-bg-info)}.warning[_ngcontent-%COMP%]   ._l-close-button[_ngcontent-%COMP%]{all:unset;position:absolute;top:.5rem;right:.5rem;color:var(--lui-pin-icon-main);z-index:1;line-height:0;outline:revert;cursor:pointer}@media only screen and (max-width:1023.99px){.layout--responsive   [_nghost-%COMP%]{display:block;width:100%;min-width:0;margin-bottom:1.5rem}.layout--responsive[_nghost-%COMP%]   .table-control-menu[_ngcontent-%COMP%], .layout--responsive   [_nghost-%COMP%]   .table-control-menu[_ngcontent-%COMP%]{flex-direction:column;gap:.75rem}.layout--responsive[_nghost-%COMP%]   .warning[_ngcontent-%COMP%], .layout--responsive   [_nghost-%COMP%]   .warning[_ngcontent-%COMP%]{align-items:flex-start;padding:1rem 2.5rem 1rem 1rem}}"],changeDetection:0}))}return n(),l})()}}]);
4//# debugId=51c932ca-67af-53a0-bb0b-e431cef00b51

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.