PageSourceSearch

https://midlandsoccerclub.com/chunk-BN3RM47R.js

js midlandsoccerclub.com collected 2026-10-09 22:39:41 UTC 20,086 bytes, 68 lines download raw bytes

1import{a as U,c as xe,d as ge}from"./chunk-5D7LV4AS.js";import{a as P}from"./chunk-4CVZBQNN.js";import"./chunk-FUY7HSJY.js";import{a as pe,b as ce,e as p,f as E}from"./chunk-JTYXZXFU.js";import{b as Q}from"./chunk-4D5SN44G.js";import"./chunk-6Q5DDO7R.js";import"./chunk-U22BTVEZ.js";import{$b as ye,Cc as he,Gb as fe,Hd as ue,Wc as _e,d as Y,k as X,kd as be,kh as Ie,ve as Ce}from"./chunk-X5J6QTCG.js";import{$ as w,$a as u,Ad as q,Af as te,Bf as re,Df as ne,E as j,Ef as oe,Fa as l,Ib as r,Jf as ae,Ka as x,Kf as le,Ma as v,Mf as se,Na as D,Qb as A,Rb as M,Sa as W,Sb as k,U as g,ad as J,bb as C,bi as de,d as $,fa as f,ga as y,gb as m,hb as h,ib as _,jb as d,k as L,pj as me,q as H,qb as F,qc as K,sb as b,tb as s,u as z,vd as O,wd as Z,xb as G,xd as ee,yb as N,zb as V,zf as ie}from"./chunk-SMW7PHYX.js";import{a as I,b as S}from"./chunk-BMIYOSOG.js";var Fe=(()=>{let a=class a{};a.\u0275fac=function(e){return new(e||a)},a.\u0275cmp=v({type:a,selectors:[["ng-component"]],standalone:!1,decls:1,vars:0,template:function(e,t){e&1&&d(0,"router-outlet")},dependencies:[Z],encapsulation:2});let o=a;return o}
1)();var Le=["fileUploadField"],we=["videoUploadField"],De=["form"];function Ne(o,a){o&1&&(r(0,`
2        `),d(1,"app-admin-header",7),r(2,`
3    `)),o&2&&(l(),m("showBackButton",!0))}function Ve(o,a){if(o&1&&(r(0,`
4        `),d(1,"app-admin-header",8),r(2,`
5    `)),o&2){let n=s();l(),m("pageTitle",n.isStockAdmin?"New Stock Image":"New Asset")("showBackButton",!0)}}function Ae(o,a){o&1&&r(0,`
6                                            Link/File
7                                        `)}function Me(o,a){o&1&&r(0,`
8                                            Asset/Video
9                                        `)}function ke(o,a){if(o&1){let n=F();r(0,`
10                                        `),h(1,"p-selectButton",28),k("ngModelChange",function(e){f(n);let t=s(4);return M(t.checked,e)||(t.checked=e),y(e)}),b("onChange",function(e){f(n);let t=s(4);return y(t.linkCheckChanged(e.value))}),_(),r(2,`
11                                    `)}if(o&2){let n=s(4);l(),m("options",n.linkFileOptions),A("ngModel",n.checked),m("allowEmpty",!1)}}function Oe(o,a){if(o&1){let n=F();r(0,`
12                                        `),h(1,"p-selectButton",28),k("ngModelChange",function(e){f(n);let t=s(4);return M(t.videoChecked,e)||(t.videoChecked=e),y(e)}),b("onChange",function(e){f(n);let t=s(4);return y(t.videoCheckChanged(e.value))}),_(),r(2,`
13                                    `)}if(o&2){let n=s(4);l(),m("options",n.assetVideoOptions),A("ngModel",n.videoChecked),m("allowEmpty",!1)}}function Ue(o,a){if(o&1&&(r(0,`
14                            `),h(1,"div",24),r(2,`
15                                `),h(3,"label",25),r(4,`
16                                    `),h(5,"span",26),r(6,`
17                                        `),u(7,Ae,1,0)(8,Me,1,0),_(),r(9,`
18                                `),_(),r(10,`
19                                `),h(11,"div",27),r(12,`
20                                    `),u(13,ke,3,3)(14,Oe,3,3),_(),r(15,`
21                            `),_(),r(16,`
22                        `)),o&2){let n=s(3);l(7),C(n.libraryItem.libraryItemType===n.LibraryItemType.DOCUMENT||n.libraryItem.libraryItemType===n.LibraryItemType.LINK?7:8),l(6),C(n.libraryItem.libraryItemType===n.LibraryItemType.DOCUMENT||n.libraryItem.libraryItemType===n.LibraryItemType.LINK?13:14)}}function Be(o,a){o&1&&(r(0,`
23                        `),d(1,"app-dynamic-form-field",29),r(2,`
24                    `))}function Re(o,a){o&1&&(r(0,`
25                        `),d(1,"app-dynamic-form-field",30),r(2,`
26                    `))}function ze(o,a){o&1&&(r(0,`
27                        `),d(1,"app-dynamic-form-field",31),r(2,`
28                    `))}function je(o,a){if(o&1){let n=F();r(0,`
29                `),h(1,"app-dynamic-form",9,1),b("onCancel",function(){f(n);let e=s(2);return y(e.cancel())})("onSubmit",function(e){f(n);let t=s(2);return y(t.save(e))})("onDelete",function(){f(n);let e=s(2);return y(e.delete())}),r(3,`
30                    `),d(4,"app-dynamic-form-field",10),r(5,`
31                    `),h(6,"app-dynamic-form-field",11,2),b("onChange",function(e){f(n);let t=s(2);return y(t.fileChanged(e))}),r(8,`
32                        `),W(9,Ue,17,2,"ng-template",null,3,K),r(11,`
33                    `),_(),r(12,`
34                    `),h(13,"app-dynamic-form-field",12,4),b("onChange",function(e){f(n);let t=s(2);return y(t.video=e.target.files[0])}),_(),r(15,`
35                    `),u(16,Be,3,0),u(17,Re,3,0),u(18,ze,3,0),d(19,"app-dynamic-form-field",13),r(20,`
36                    `),d(21,"app-dynamic-form-field",14),r(22,`
37                    `),d(23,"app-dynamic-form-field",15),r(24,`
38                    `),h(25,"app-dynamic-form-field",16),b("onChange",function(e){f(n);let t=s(2);return y(t.categoryChanged(e))}),_(),r(26,`
39                    `),h(27,"app-dynamic-form-field",17),b("onAddOption",function(){f(n);let e=s(2);return y(e.addFolder())})("onChange",function(e){f(n);let t=s(2);return y(t.folderChanged(e))}),_(),r(28,`
40                    `),h(29,"app-dynamic-form-field",18),b("onChange",function(e){f(n);let t=s(2);return y(t.programChanged(e))}),_(),r(30,`
41                    `),h(31,"app-dynamic-form-field",19),b("onChange",function(e){f(n);let t=s(2);return y(t.teamsChanged(e))}),_(),r(32,`
42                    `),d(33,"app-dynamic-form-field",20),r(34,`
43                    `),d(35,"app-dynamic-form-field",21),r(36,`
44                    `),d(37,"app-dynamic-form-field",22),r(38,`
45                    `),d(39,"app-dynamic-form-field",23),r(40,`
46                `),_(),r(41,`
47            `)}if(o&2){let n=s(2);
47l(),m("fields",n.activeFields)("entity",n.libraryItem)("horizontalForm",!0)("contentFieldsMode",!0)("showCancelButton",!0),l(5),m("acceptType",n.acceptedTypes)("acceptedFileExtensions",n.acceptedFileExtensions)("selectedFileName",n.libraryItem&&n.libraryItem.file?n.libraryItem.file:null)("enableCropper",n.libraryItem.libraryItemType!==n.LibraryItemType.DOCUMENT)("icMaintainAspectRatio",!1),l(7),m("acceptType",n.accpetedVideoTypes)("maxFileSizeBytes",n.maxVideoUploadSizeBytes)("acceptedFileExtensions",n.acceptedVideoExtensions)("selectedFileName",n.libraryItem&&n.libraryItem.video?n.libraryItem.video:null),l(3),C((n.libraryItem==null?null:n.libraryItem.libraryItemType)!==n.LibraryItemType.DOCUMENT?16:-1),l(),C(n.isStockAdmin?17:-1),l(),C(n.isStockAdmin?-1:18),l(5),m("enableFilter",!0),l(2),m("enableFilter",!0),l(2),m("enableFilter",!0),l(2),m("enableFilter",!0),l(2),m("enableFilter",!0),l(2),m("enableFilter",!0),l(2),m("enableFilter",!0),l(2),m("enableFilter",!0)}}function We(o,a){if(o&1&&(r(0,`
48            `),u(1,je,42,25)),o&2){let n=s();l(),C(n.activeFields?1:-1)}}function Ke(o,a){o&1&&(r(0,`
49            `),d(1,"app-skeleton-template",32),r(2,`
50        `))}function qe(o,a){if(o&1){let n=F();r(0,`
51        `),h(1,"app-dynamic-form",9),b("onCancel",function(){f(n);let e=s();return y(e.openFolderDialog=!1)})("onSubmit",function(e){f(n);let t=s();return y(t.saveFolder(e))})("onDelete",function(){f(n);let e=s();return y(e.delete())}),r(2,`
52            `),d(3,"app-dynamic-form-field",33),r(4,`
53            `),d(5,"app-dynamic-form-field",14),r(6,`
54            `),d(7,"app-dynamic-form-field",34),r(8,`
55        `),_(),r(9,`
56    `)}if(o&2){let n=s();l(),m("fields",n.folderFields)("entity",n.folder)("horizontalForm",!0)("contentFieldsMode",!0)("showCancelButton",!0),l(6),m("enableFilter",!0)}}function Pe(o,a){o&1&&(r(0,`
57        `),d(1,"app-skeleton-template",32),r(2,`
58    `))}function Qe(o,a){o&1&&(r(0,`
59        `),d(1,"app-skeleton-template",32),r(2,`
60    `))}var Te=(()=>{let a=class a{constructor(i,e,t,c,T){this.route=i,this.router=e,this.siteDataService=t,this.libraryService=c,this.formService=T,this.unsubscribe$=new $,this.isStockAdmin=!1,this.acceptedVideoExtensions=te,this.accpetedVideoTypes=ie,this.loading=!0,this.LibraryItemType=p,this.videoChecked=!1,this.checked=!0,this.linkFileOptions=[{label:"Link",value:!1},{label:"File",value:!0}],this.assetVideoOptions=[{label:"Asset",value:!1},{label:"Video",value:!0}],this.maxVideoUploadSizeBytes=se,this.maxFileUploadSizeMB=le,this.openFolderDialog=!1,this.folderLoading=!0}ngOnInit(){this.route.parent.params.pipe(j(i=>(this.libraryItemType=+i.libraryItemType,this.libraryItemType===p.DOCUMENT?(this.acceptedFileExtensions=ne,this.acceptedTypes=oe):(this.acceptedFileExtensions=re,this.acceptedTypes=ae),this.route.params))).subscribe(i=>{i.id&&(i.id==="new"||i.id==="new-stock"?(i.id==="new-stock"&&(this.isStockAdmin=!0),this.libraryService.getLibraryMetadata().pipe(g(this.unsubscribe$)).subscribe(e=>{this.fields=e.metadata.fields,this.programs=e.programs,this.libraryItem=new pe,this.libraryItem.isActive=!0,this.libraryItemType===p.DOCUMENT?this.setFields(this.checked):this.setVideoFields(this.videoChecked),this.loading=!1})):z([this.libraryService.getLibraryMetadata(i.id),this.libraryService.getLibraryItem(i.id)]).pipe(g(this.unsubscribe$)).subscribe(e=>{this.fields=e[0].metadata.fields,this.programs=e[0].programs,this.libraryItem=e[1],this.libraryItem.libraryItemType===p.DOCUMENT?(this.libraryItemType=p.DOCUMENT,this.setFields(!0)):this.libraryItem.libraryItemType===p.LINK?(this.libraryItemType=p.LINK,this.setFields(!1)):this.libraryItem.libraryItemType===p.VIDEO?(this.libraryItemType=p.VIDEO,this.setVideoFields(!0)):this.activeFields=Array.from(this.fields),this.libraryItem.libraryItemCategory&&this.categoryChanged(this.libraryItem.libraryItemCategory,this.libraryItem.libraryItemFolderID),this.loading=!1}))}),this.siteDataService.hideSiteLoader()}fileChanged(i){console.log(i),i.target?.files[0]?this.file=i.target.files[0]:this.file=i}linkCheckChanged(i){this.setFields(i)}
60videoCheckChanged(i){this.libraryItem.video="",this.setVideoFields(i)}setVideoFields(i){this.videoChecked=i,this.fields.find(e=>e.controlName==="video").hidden=!i,this.fields.find(e=>e.controlName==="video").required=i,this.fields.find(e=>e.controlName==="isFeatured").hidden=i,this.hidePermissionAssignments(!i),i?(this.fields.find(e=>e.controlName==="file").label="Thumbnail",this.libraryItem.isFeatured=!1,this.libraryItem.libraryItemType=p.VIDEO):(this.fields.find(e=>e.controlName==="file").label="Asset",this.libraryItem.libraryItemType=p.ASSET),this.activeFields=Array.from(this.fields)}hidePermissionAssignments(i){this.fields.find(e=>e.controlName==="libraryItemClubAssign").hidden=i}setFields(i){this.checked=i,this.hidePermissionAssignments(!1),i?(this.fields.find(e=>e.controlName==="file").dynamicFormFieldTypeID=4,this.fields.find(e=>e.controlName==="file").label="File",this.fields.find(e=>e.controlName==="file").tooltipText="File must be less than 10MB in size",this.libraryItem.libraryItemType=p.DOCUMENT):(this.fields.find(e=>e.controlName==="file").dynamicFormFieldTypeID=1,this.fields.find(e=>e.controlName==="file").label="Link",this.fields.find(e=>e.controlName==="file").tooltipText=null,this.libraryItem.libraryItemType=p.LINK),this.activeFields=Array.from(this.fields)}categoryChanged(i,e){this.libraryItem.libraryItemCategory=i,this.libraryItem.libraryItemFolderID=e,i===E.COACH_RESOURCES||i===E.TEAM_RESOURCES?(this.fields.find(t=>t.controlName==="libraryItemFolderID").hidden=!1,i===E.TEAM_RESOURCES?this.fields.find(t=>t.controlName==="programID").hidden=!1:(this.fields.find(t=>t.controlName==="programID").hidden=!0,this.libraryItem.programID=null),this.libraryService.getLibraryItemFoldersDropdown(i).pipe(g(this.unsubscribe$)).subscribe(t=>{this.fields.find(c=>c.controlName==="libraryItemFolderID").options=t,this.libraryItem=S(I(I({},this.libraryItem),this.form?.value),{libraryItemFolderID:e}),!this.libraryItem?.id&&i===E.COACH_RESOURCES&&(this.libraryItem.libraryItemRole=[de.COACH_ID]),this.activeFields=Array.from(this.fields)})):(this.fields.find(t=>t.controlName==="libraryItemFolderID").hidden=!0,this.fields.find(t=>t.controlName==="programID").hidden=!0,this.libraryItem.programID=null,this.libraryItem=S(I(I({},this.libraryItem),this.form?.value),{libraryItemFolderID:null}),this.activeFields=Array.from(this.fields))}folderChanged(i){this.libraryItem.libraryItemFolderID=i}programChanged(i){this.libraryItem.programID=i,this.libraryItem.libraryItemTeam=[],console.log("program change",this.form.value,this.libraryItem),this.libraryItem=S(I(I({},this.libraryItem),this.form?.value),{libraryItemTeam:[]}),this.fields.find(e=>e.controlName==="libraryItemTeam").options=this.programs?.find(e=>e.programID===i)?.teams?.map(e=>({label:e.name,value:e.teamID})),this.activeFields=Array.from(this.fields)}teamsChanged(i){this.libraryItem.libraryItemTeam=i.value}addFolder(){this.openFolderDialog=!0,this.folderLoading=!(this.folderFields?.length>0),(this.folderFields?.length>0?L(this.folderFields):this.libraryService.getLibraryItemFolderMetadata().pipe(H(e=>e.fields))).pipe(g(this.unsubscribe$)).subscribe(e=>{this.folderFields=e,this.folder=new ce,this.folderLoading=!1})}saveFolder(i){i.libraryItemCategory=this.libraryItem.libraryItemCategory,this.libraryService.createLibraryItemFolder(i).pipe(g(this.unsubscribe$)).subscribe({next:e=>{if(e){this.libraryItem.libraryItemFolderID=e.id;let t={label:e.folderName,value:e.id};this.fields.find(c=>c.controlName==="libraryItemFolderID").options.push(t),this.fields.find(c=>c.controlName==="libraryItemFolderID").options.sort((c,T)=>c.isAddOption?1e3:T.isAddOption?-1e3:c.label.toLowerCase()<T.label.toLowerCase()?-1:1),this.libraryItem=S(I(I({},this.libraryItem),this.form?.value),{libraryItemFolderID:e.id}),this.activeFields=Array.from(this.fields),this.openFolderDialog=!1,this.formService.hideFormLoader(),this.siteDataService.showSiteSuccessAlert("Folder saved successfully")}},error:()=>{this.formService.hideFormLoader(),this.siteDataService.showSiteErrorAlert("There was a problem saving the folder")}})}
60showAdminFilters(){let i=this.libraryItem.libraryItemType===p.DOCUMENT||this.libraryItem.libraryItemType===p.LINK||this.libraryItem.libraryItemType===p.VIDEO;return console.log(this.libraryItem.libraryItemType),console.log("show admin filters? ",i),i}save(i){if(i.id=this.libraryItem.id,this.isStockAdmin?i.libraryItemType=p.STOCK:i.libraryItemType=this.libraryItem.libraryItemType,i.video=this.libraryItem.video,this.libraryItem.libraryItemType!==p.LINK&&!i.file&&(i.file=this.libraryItem.file),!i.title)if(this.libraryItem.libraryItemType===p.LINK)i.title=this.libraryItem.file;else if(this.libraryItem.libraryItemType===p.VIDEO)if(this.video?.name)i.title=this.video.name.split(".")[0];else{this.formService.showFormErrorMessage("Video is required."),this.formService.hideFormLoader();return}else if(this.file?.name)i.title=this.file.name.split(".")[0];else{this.formService.showFormErrorMessage("File is required."),this.formService.hideFormLoader();return}let e=[L(void 0),L(void 0)];this.fileUploadField.hasFileChanged&&this.file&&(e[0]=this.libraryService.saveLibraryFile(this.libraryItem.id,this.file)),this.videoUploadField.hasFileChanged&&this.video&&(this.libraryItem.isFeatured=!1,e[1]=this.libraryService.saveLibraryFile(this.libraryItem.id,this.video,!0)),z(e).pipe(j(t=>(t[0]&&(i.file=t[0].location),t[1]&&(i.video=t[1].location),this.libraryService.createLibraryItem(i)))).subscribe({next:t=>{t&&(this.libraryItem.id=t.id),this.siteDataService.showSiteSuccessAlert("Content saved successfully"),this.formService.hideFormLoader(),this.router.navigate(["../.."],{relativeTo:this.route})},error:()=>{this.formService.hideFormLoader(),this.siteDataService.showSiteErrorAlert("There was a problem saving the content")}})}delete(){this.libraryService.deleteLibraryItem(this.libraryItem.id).subscribe(i=>{this.siteDataService.showSiteSuccessAlert("Content removed successfully"),this.formService.hideFormLoader(),this.router.navigate([".."],{relativeTo:this.route})},i=>{this.formService.hideFormLoader(),i.customMessage?this.siteDataService.showSiteErrorAlert(i.customMessage):this.siteDataService.showSiteErrorAlert("There was a problem removing the content")})}cancel(){this.router.navigate(["../.."],{relativeTo:this.route})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}};a.\u0275fac=function(e){return new(e||a)(x(O),x(ee),x(me),x(U),x(ye))},a.\u0275cmp=v({type:a,selectors:[["ng-component"]],viewQuery:function(e,t){if(e&1&&G(Le,5)(we,5)(De,5),e&2){let c;N(c=V())&&(t.fileUploadField=c.first),N(c=V())&&(t.videoUploadField=c.first),N(c=V())&&(t.form=c.first)}},standalone:!1,decls:18,vars:7,consts:[["skeleton_2",""],["form",""],["fileUploadField",""],["beforeFieldContent",""],["videoUploadField",""],["role","main"],["header","Add Folder","styleClass","standardWidthDialog",3,"visibleChange","visible","modal","closable","draggable"],["pageTitle","New Document","parentLinkUrl","../../","parentLinkText","Document Library",3,"showBackButton"],["parentLinkUrl","../../","parentLinkText","Asset Library",3,"pageTitle","showBackButton"],["formID","library-form","submitButtonText","Save","buttonsPosition","left",3,"onCancel","onSubmit","onDelete","fields","entity","horizontalForm","contentFieldsMode","showCancelButton"],["fieldName","title"],["fieldName","file",3,"onChange","acceptType","acceptedFileExtensions","selectedFileName","enableCropper","icMaintainAspectRatio"],["fieldName","video",3,"onChange","acceptType","maxFileSizeBytes","acceptedFileExtensions","selectedFileName"],["fieldName","isActive"],["fieldName","isAutoAssign"],["fieldName","libraryItemClubAssign",3,"enableFilter"],["fieldName","libraryItemCategory",3,"onChange","enableFilter"],["fieldName","libraryItemFolderID",3,"onAddOption","onChange","enableFilter"],["fieldName","programID",3,"onChange","enableFilter"],["fieldName","libraryItemTeam",3,"onChange","enableFilter"],["fieldName","libraryItemRole",3,"enableFilter"],["fieldName","libraryItemGender",3,"enableFilter"],["fieldName","libraryItemBirthYear",3,"enableFilter"],["fieldName","sortOrder"],[1,"form-group"],["for","library-link-file"],[1,"sr-only"],[1,"form-dropdown","text-center"],["optionLabel","label","optionValue","value","size","small",3,"ngModelChange","onChange","options","ngModel","allowEmpty"],["fieldName","altText"],["fieldName","sportID"],["fieldName","isFeatured"],["skeletonType","form"],["fieldName","folderName"],["fieldName","libraryItemFolderClubAssign",3,"enableFilter"]],template:function(e,t){if(e&1){let c=F();h(0,"main",5),r(1,`
61    `),u(2,Ne,3,1)(3,Ve,3,2),h(4,"section"),r(5,`
62        `),u(6,We,2,1)(7,Ke,3,0),_(),r(8,`
63`),_(),r(9,`
64
65`),h(10,"p-dialog",6),k("visibleChange",function(R){return f(c),M(t.openFolderDialog,R)||(t.openFolderDialog=R),y(R)}),r(11,`
66    `),u(12,qe,10,6)(13,Pe,3,0),W(14,Qe,3,0,"ng-template",null,0,K),r(16,`
67`),_(),r(17,`
68`)}e&2&&(l(2),C((t.libraryItem==null?null:t.libraryItem.libraryItemType)===t.LibraryItemType.DOCUMENT?2:3),l(4),C(!t.loading&&t.libraryItem?6:7),l(4),A("visible",t.openFolderDialog),m("modal",!0)("closable",!1)("draggable",!1),l(2),C(t.folderFields&&!t.folderLoading?12:13))},dependencies:[ue,be,Y,X,_e,Ce,fe,he],encapsulation:2});let o=a;return o}
68)();var Se=(()=>{let a=class a{constructor(i){this.route=i,this.activeTab=p.ASSET}ngOnInit(){this.route.params.subscribe(i=>{this.activeTab=+i.libraryItemType})}};a.\u0275fac=function(e){return new(e||a)(x(O))},a.\u0275cmp=v({type:a,selectors:[["ng-component"]],standalone:!1,decls:1,vars:2,consts:[[3,"isAdmin","activeTab"]],template:function(e,t){e&1&&d(0,"app-library-search",0),e&2&&m("isAdmin",!0)("activeTab",t.activeTab)},dependencies:[xe],encapsulation:2});let o=a;return o})();var Ee=(()=>{let a=class a{};a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=D({type:a}),a.\u0275inj=w({imports:[q.forChild([{path:":libraryItemType",component:Fe,children:[{path:"edit/:id",canActivate:[P,Q],component:Te,data:{metaTitle:"Library Item"}},{path:"",canActivate:[P,Q],component:Se,data:{metaTitle:"Library"}}]}]),q]});let o=a;return o})();var Wi=(()=>{let a=class a{};a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=D({type:a}),a.\u0275inj=w({providers:[U],imports:[J,Ee,Ie,ge]});let o=a;return o})();export{Wi as LibraryModule};

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.