PageSourceSearch

https://static.lightxeditor.com/web/9973.f3d5814668b0d7ea.js

js lightxeditor.com collected 2026-09-24 09:24:40 UTC 18,942 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklightx=self.webpackChunklightx||[]).push([[9973],{80962:(I,_,r)=>{r.d(_,{H:()=>u});var u=function(e){return e.AI_DESIGN_BANNER_HEADER="ai-design-banner-header",e}(u||{})},77616:(I,_,r)=>{r.d(_,{m:()=>e});var u=r(54438);let e=(()=>{var h;class l{transform(m){return m?this.getFileName(m):""}getFileName(m){let d=m.replace("adminTemplate","templates-webp");return d=d.replace(".jpg",".webp"),d=d.replace(".png",".webp"),d}}return(h=l).\u0275fac=function(m){return new(m||h)},h.\u0275pipe=u.EJ8({name:"imgwebp",type:h,pure:!0}),l})()},90660:(I,_,r)=>{r.d(_,{v:()=>Z});var u=r(10467),e=r(54438),h=r(16478),l=r(24886),p=r(60177),m=r(50230),d=r(68287),v=r(62261),x=r(94223),T=r(74983),E=r(630),M=r(80006),D=r(55756),y=r(79301),S=r(32764),O=r(57167),P=r(74710),R=r(88704),A=r(77616);const U=["masonry"],b=n=>({"pl-13 pr-13":n});function k(n,a){if(1&n&&(e.j41(0,"div",13),e.EFF(1),e.k0s()),2&n){const s=e.XpG(2);e.R7$(),e.JRh(s.area.title)}}function B(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",18)(1,"button",19),e.bIt("click",function(){e.eBV(s);const i=e.XpG().$implicit,o=e.XpG(3);return e.Njj(o.openInsprrationsEditDialog(i))}),e.EFF(2,"Change with AI"),e.k0s()()}}function N(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",18)(1,"button",19),e.bIt("click",function(){e.eBV(s);const i=e.XpG().$implicit,o=e.XpG(3),c=e.sdS(6);return e.Njj(o.selectImage(i,c))}),e.EFF(2,"Use Preset"),e.k0s()()}}function j(n,a){if(1&n&&(e.j41(0,"div",15)(1,"picture"),e.nrm(2,"source",16),e.nI1(3,"imgwebp"),e.nrm(4,"img",17),e.k0s(),e.DNE(5,B,3,0,"div",18)(6,N,3,0,"div",18),e.k0s()),2&n){const s=a.$implicit,t=a.index,i=e.XpG(3);e.xc7("width",i.imageWidth,"px")("height",i.calculateHeight(s),"px")("left",null==i.imagePositions[t]?null:i.imagePositions[t].left,"px")("top",null==i.imagePositions[t]?null:i.imagePositions[t].top,"px"),e.R7$(2),e.FS9("srcset",e.bMT(3,13,s.hrThumbUrl||s.imgUrl)),e.R7$(2),e.FS9("srcset",s.hrThumbUrl||s.imgUrl),e.BMQ("width",i.imageWidth)("height",i.calculateHeight(s)),e.R7$(),e.vxM("ai-design-templates"==i.type||"design"==(null==i.params?null:i.params.toolName)?5:"ai-mockup-generator"==i.type?6:-1)}}function W(n,a){if(1&n&&(e.qex(0),e.DNE(1,j,7,15,"div",14),e.bVm()),2&n){const s=e.XpG(2);e.R7$(),e.Y8G("ngForOf",s.productImages)}}function w(n,a){1&n&&e.eu8(0)}function G(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",22)(1,"button",23),e.bIt("click",function(){e.eBV(s);const i=e.XpG(3);return e.Njj(i.loadMore())}),e.EFF(2,"Load More "),e.k0s()()}}function $(n,a){if(1&n&&(e.j41(0,"div",20),e.DNE(1,G,3,0,"div",21),e.k0s()),2&n){const s=e.XpG(2);e.R7$(),e.Y8G("ngIf",!s.isProductsEnd&&s.productImages&&0!=(null==s.productImages?null:s.productImages.length))}}function F(n,a){if(1&n&&(e.j41(0,"div",6)(1,"div",7),e.DNE(2,k,2,1,"div",8),e.j41(3,"div",9,2),e.DNE(5,W,2,1,"ng-container",10)(6,w,1,0,"ng-container",11),e.k0s(),e.DNE(7,$,2,1,"div",12),e.k0s()()),2&n){const s=e.XpG(),t=e.sdS(4);e.R7$(),e.Y8G("ngClass",e.eq3(5,b,!s.env.isMobileView)),e.R7$(),e.Y8G("ngIf",s.area),e.R7$(3),e.Y8G("ngIf",!s.isScully&&(null==s.productImages?null:s.productImages.length)),e.R7$(),e.Y8G("ngTemplateOutlet",t),e.R7$(),e.Y8G("ngIf",!s.isLoadMoreHide)}}function X(n,a){if(1&n&&(e.j41(0,"div",26),e.EFF(1),e.k0s()),2&n){const s=e.XpG(2);e.R7$(),e.JRh(s.area.title)}}function V(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",27),e.bIt("click",function(){const i=e.eBV(s).$implicit,o=e.XpG(2),c=e.sdS(6);return e.Njj(o.selectImage(i,c))}),e.j41(1,"picture",28),e.nrm(2,"source",16),e.nI1(3,"imgwebp"),e.nrm(4,"img",17),e.k0s()()}if(2&n){const s=a.$implicit,t=a.index,i=e.XpG(2);e.xc7("width",i.imageWidth,"px")("height",i.calculateHeight(s),"px")("left",null==i.imagePositions[t]?null:i.imagePositions[t].left,"px")("top",null==i.imagePositions[t]?null:i.imagePositions[t].top,"px"),e.R7$(2),e.FS9("srcset",e.bMT(3,10,s.hrThumbUrl||s.imgUrl)),e.R7$(2),e.FS9("srcset",s.hrThumbUrl||s.imgUrl)}}function L(n,a){1&n&&e.eu8(0)}function K(n,a){if(1&n){const s=e.RV6();e.j41(0,"div",22)(1,"button",29),e.bIt("click",function(){e.eBV(s);const i=e.XpG(3);return e.Njj(i.loadMore())}
1),e.EFF(2,"Load More"),e.k0s()()}if(2&n){const s=e.XpG(3);e.R7$(),e.Y8G("disabled",s.inProgress)}}function H(n,a){if(1&n&&(e.j41(0,"div",20),e.DNE(1,K,3,1,"div",21),e.k0s()),2&n){const s=e.XpG(2);e.R7$(),e.Y8G("ngIf",!s.isProductsEnd)}}function Y(n,a){if(1&n&&(e.j41(0,"div",6)(1,"div",7),e.DNE(2,X,2,1,"div",24),e.j41(3,"div",9,2),e.DNE(5,V,5,12,"div",25)(6,L,1,0,"ng-container",11),e.k0s(),e.DNE(7,H,2,1,"div",12),e.k0s()()),2&n){const s=e.XpG(),t=e.sdS(4);e.R7$(),e.Y8G("ngClass",e.eq3(5,b,!s.env.isMobileView)),e.R7$(),e.Y8G("ngIf",s.area),e.R7$(3),e.Y8G("ngForOf",s.productImages),e.R7$(),e.Y8G("ngTemplateOutlet",t),e.R7$(),e.Y8G("ngIf",!s.isLoadMoreHide)}}function Q(n,a){1&n&&(e.qex(0),e.nrm(1,"div",32)(2,"div",33)(3,"div",34)(4,"div",35)(5,"div",33)(6,"div",32)(7,"div",34)(8,"div",35),e.bVm())}function z(n,a){1&n&&(e.qex(0),e.nrm(1,"div",34)(2,"div",34)(3,"div",34)(4,"div",34),e.bVm())}function q(n,a){if(1&n&&(e.j41(0,"div",31),e.DNE(1,Q,9,0,"ng-container",10)(2,z,5,0,"ng-container",10),e.k0s()),2&n){const s=e.XpG(2);e.R7$(),e.Y8G("ngIf",!s.env.isMobileView),e.R7$(),e.Y8G("ngIf",s.env.isMobileView)}}function J(n,a){if(1&n&&e.DNE(0,q,3,2,"div",30),2&n){const s=e.XpG();e.Y8G("ngIf",s.isScully||s.inProgress)}}let Z=(()=>{var n;class a{constructor(t,i,o,c,g,f,ee,te,ie,se,ne,oe,re,ae,ce){this.env=t,this.mediaContentService=i,this.aiPhotoService=o,this.toasterService=c,this.createPopupService=g,this.aiUploadImageService=f,this.gtmService=ee,this.commonService=te,this.templateService=ie,this.ngZone=se,this.aiDesignThumbViewService=ne,this.route=oe,this.router=re,this.storyImageProgress=ae,this.document=ce,this.isExplore=!1,this.type="",this.metadata=null,this.slug="",this.containerWidth=null,this.isLoadMoreHide=!1,this.searchText="",this.pageSize=20,this.productId=0,this.productImages=[],this.isStoryarea=!0,this.inProgress=!1,this.pageNumber=0,this.isProductsEnd=!1,this.trackByIndex=(C,de)=>C,this.updatMsg=new e.bkB,this.imagePositions=[],this.imageWidth=360,this.gap=8,this.columnCount=4,this.columnHeights=[],this.qualityReso={1:1,2:.75,3:1.3333,7:.6641,8:1.5059,9:.5625,10:1.7778,11:1,12:.7556,13:.6667,14:.5333,15:1.3213,16:1.5,17:1.875,18:.5647,19:1.7708,20:.7534,21:1.3273,22:1.5,23:.6667},this.isScully=m.isScullyRunning(),this.selectedProductId=0,this.loadRequestId=0,this.pendingRequestKey="",this.productImageId=0,this.screenChangedSubscription=this.env.screenChanged.subscribe(C=>{setTimeout(()=>{this.updateColumnCount(),this.layoutImages()},800)})}updateColumnCount(){const t=this.containerWidth?this.containerWidth:window.outerWidth-40;if(this.columnCount=t<=480?2:t<=768?3:t<=1024?4:t<=1280||t<=1600?5:7,this.columnHeights=Array(this.columnCount).fill(0),this.imageWidth=(t-(this.columnCount-1)*this.gap)/this.columnCount,t<=480){const i=window.outerWidth-40;this.imageWidth=i/this.columnCount}}
1calculateHeight(t){return 1/this.qualityReso[Number(t.quality||t.aspect)]*this.imageWidth}layoutImages(){if(!this.masonryRef||!this.masonryRef.nativeElement)return;this.columnHeights=Array(this.columnCount).fill(0),this.imagePositions=[],this.productImages.forEach(i=>{const o=this.calculateHeight(i),c=this.columnHeights.indexOf(Math.min(...this.columnHeights));this.imagePositions.push({left:c*(this.imageWidth+this.gap),top:this.columnHeights[c]}),this.columnHeights[c]+=o+this.gap});const t=Math.max(...this.columnHeights);t>0&&(this.masonryRef.nativeElement.style.height=`${t}px`)}ngOnInit(){this.updateColumnCount(),this.aiPhotoService.inProgress=!1,this.syncProductFromMetadata();const t=this.route.snapshot.queryParamMap.get("search");this.isStoryarea&&this.productId>0&&!t&&this.getTemplateByProductId(),this.serviceSubscription=this.aiDesignThumbViewService.getEventStream().subscribe(i=>{i&&this.handleServiceEvent(i)})}ngOnChanges(t){if(t.selectedProductId&&!t.selectedProductId.firstChange){const i=Number(t.selectedProductId.currentValue||0);if(i>0&&i!==this.productId)return this.pageNumber=0,this.isProductsEnd=!1,this.productImages=[],this.imagePositions=[],this.productId=i,this.updateColumnCount(),void this.getTemplateByProductId()}t.metadata&&!t.metadata.firstChange&&this.reloadTemplatesForCurrentProduct()}syncProductFromMetadata(){this.params=this.commonService.getQueryParams(this.metadata?.queryString),this.productId=Number(this.selectedProductId||this.params?.productId||0)}reloadTemplatesForCurrentProduct(){const t=this.productId;this.syncProductFromMetadata(),this.productId&&!(this.productId<=0)&&t!==this.productId&&(this.pageNumber=0,this.isProductsEnd=!1,this.productImages=[],this.imagePositions=[],this.updateColumnCount(),this.getTemplateByProductId())}ngOnDestroy(){this.serviceSubscription&&this.serviceSubscription.unsubscribe(),this.screenChangedSubscription&&this.screenChangedSubscription.unsubscribe()}handleServiceEvent(t){switch(t.type){case"refresh":this.refreshTemplates();break;case"search":t.data?.searchText&&(this.pageNumber=0,this.isProductsEnd=!1,this.productImages=[],this.productId=0,void 0!==t.data.containerWidth&&(this.containerWidth=t.data.containerWidth),this.params=this.commonService.getQueryParams(this.metadata.queryString),this.searchTemplateImages(t.data.searchText));break;case"loadMore":this.loadMore();break;case"reset":this.resetComponent();break;case"updateProductId":t.data?.productId&&(this.params=this.commonService.getQueryParams(this.metadata.queryString),this.resetComponent(),this.updateProductId(t.data.productId,t.data.tagId))}}refreshTemplates(){this.pageNumber=0,this.isProductsEnd=!1,this.productImages=[],this.isStoryarea&&this.productId>0&&this.getTemplateByProductId()}resetComponent(){this.pageNumber=0,this.isProductsEnd=!1,this.productImages=[],this.updateColumnCount(),this.layoutImages()}updateProductId(t,i){this.productId=t,this.selectedProductId=t,void 0!==i&&(this.params||(this.params={}),this.params.tagId=i),this.refreshTemplates()}searchTemplateImages(t){t&&("string"==typeof t||t instanceof String)&&this.templateService.searchTemplateImages(t,{pageNumber:this.pageNumber,rows:30,templateType:l.If.SEARCHAIDESIGN},o=>{this.inProgress=!0,this.ngZone.run(()=>{this.inProgress=!1,this.aiPhotoService.inProgress=!1;let c=o.body&&o.body.storeProductImages?o.body.storeProductImages:[];c&&c.length>0?(this.productImages=this.productImages.concat(c),c.length<this.pageSize&&(this.isProductsEnd=!0)):this.isProductsEnd=!1,this.aiPhotoService.inProgress=!1,this.updateColumnCount(),setTimeout(()=>{this.layoutImages(),this.inProgress=!1},200),this.updatMsg.emit(!(this.productImages.length>0))},c=>{this.inProgress=!1})},o=>{this.updatMsg.emit(!0),this.inProgress=!1})}getTemplateByProductId(){if(!this.productId||this.productId<=0)return this.toasterService.showError("Product ID is not configured."),void(this.isProductsEnd=!0);const t=`${this.productId}|${this.pageNumber}|${this.params?.tagId||0}`;if(this.inProgress&&this.pendingRequestKey===t)return;this.pendingRequestKey=t;const i=++this.loadRequestId;this.inProgress=!0,this.mediaContentService.getTemplateByProductV2Id(this.productId,this.pageNumber,o=>{if(i!==this.loadRequestId)return;let c=o.storeProductImages;c&&c.length>0?(this.productImages=0===this.pageNumber?c:this.productImages.concat(c),this.isProductsEnd=c.length<this.pageSize):this.isProductsEnd=!0,this.updateColumnCount(),this.layoutImages(),setTimeout(()=>
1{this.inProgress=!1,this.pendingRequestKey=""},300)},o=>{i===this.loadRequestId&&(this.inProgress=!1,this.pendingRequestKey="")},this.params?.tagId)}loadMore(){this.inProgress||(this.pageNumber=this.pageNumber+1,this.getTemplateByProductId())}openInsprrationsEditDialog(t){var i=this;if(this.env.isMobileView){if(this.env.isiOS)return void this.env.openPlayStoreUrl();sessionStorage.getItem("isBack")&&sessionStorage.removeItem("isBack"),this.params.isEd=!0,this.params.from="story",this.aiPhotoService.mobileImageObj=t,this.aiUploadImageService.loadInputTextToAiEditor(this.params)}else{t.productId=t.productId?t.productId:this.productId;let o={eventName:h.b.gtm.eventname.aiRemixClick,itemName:"Story Page - "+this.slug,itemType:t?.displayName};sessionStorage.getItem("isBack")&&sessionStorage.removeItem("isBack"),this.gtmService.pushTag(o),this.params.from="story",this.aiUploadImageService.loadInputTextToAiEditor(this.params,(0,u.A)(function*(){(yield i.createPopupService.openInsprrationsEditDialog(t,i.aiPhotoService)).result.then(f=>{})}))}}selectImage(t,i=null){if(this.env.isMobileView&&this.env.isiOS)this.env.openPlayStoreUrl();else if("ai-mockup-generator"==this.type){const o={...this.metadata};o.productId=this.selectedProductId?this.selectedProductId:this.productId,o.prodImageId=t.productImageId,this.productImageId=t.productImageId,i&&this.env.isMobileView?i.click():this.aiUploadImageService.loadInputTextToAiEditor(o)}else("ai-design-templates"==this.type||this.router.url.includes("ai-design"))&&this.openInsprrationsEditDialog(t)}onFileUploaded(t){const i=t[0];if(i){const o={...this.metadata};o.productId=this.selectedProductId?this.selectedProductId:this.productId,o.prodImageId=this.productImageId,o.storyProgressController=this.storyImageProgress,this.aiUploadImageService.aiUploadImage(i,o).then(()=>{})}}}return(n=a).\u0275fac=function(t){return new(t||n)(e.rXU(d.L),e.rXU(v.Z),e.rXU(x.s),e.rXU(T.f),e.rXU(E.A),e.rXU(M.M),e.rXU(D.y),e.rXU(y.h),e.rXU(S.I),e.rXU(e.SKi),e.rXU(O.v),e.rXU(P.nX),e.rXU(P.Ix),e.rXU(R.l),e.rXU(p.qQ))},n.\u0275cmp=e.VBU({type:n,selectors:[["ai-design-templates"]],viewQuery:function(t,i){if(1&t&&e.GBs(U,5),2&t){let o;e.mGM(o=e.lsd())&&(i.masonryRef=o.first)}},inputs:{isExplore:"isExplore",type:"type",area:"area",metadata:"metadata",slug:"slug",containerWidth:"containerWidth",isLoadMoreHide:"isLoadMoreHide",searchText:"searchText",productImages:"productImages",isStoryarea:"isStoryarea",selectedProductId:"selectedProductId"},outputs:{updatMsg:"updatMsg"},features:[e.OA$],decls:7,vars:3,consts:[["loadingPlaceholder",""],["file",""],["masonry",""],["class","container-fluid p-0",4,"ngIf"],["id","thumb-design-container",2,"height","1px","background-color","transparent","width","100%"],["type","file","multiple","false",1,"custom-file-input","d-none",3,"click","change","accept"],[1,"container-fluid","p-0"],[1,"container-fluid","pad-md","mt-14","mb-10","exploreDesign",2,"max-width","100%",3,"ngClass"],["class","text-32 text-bold text-dark text-center mb-14",4,"ngIf"],[1,"masonry"],[4,"ngIf"],[4,"ngTemplateOutlet"],["class","text-center mt-11",4,"ngIf"],[1,"text-32","text-bold","text-dark","text-center","mb-14"],["class","item pointer d-flex border-radius-lg",3,"width","height","left","top",4,"ngFor","ngForOf"],[1,"item","pointer","d-flex","border-radius-lg"],["type","image/webp",3,"srcset"],["alt","Thumbnail","onerror","errImage(this)",1,"border-radius-lg",3,"srcset"],[1,"position-absolute","remixBtnDiv","d-flex","align-items-center","justify-content-center","w-100","h-100"],[1,"btn","btn-white","btn-h40","text-13",2,"color","#272B34 !important",3,"click"],[1,"text-center","mt-11"],["class","text-center",4,"ngIf"],[1,"text-center"],[1,"btn-all","btn-outline-primary","btn-h48","text-lg","ps-4","pe-4",3,"click"],["class","text-32 text-bold text-dark text-center mb-14 lh-125",4,"ngIf"],["class","item pointer d-flex border-radius-lg",3,"width","height","left","top","click",4,"ngFor","ngForOf"],[1,"text-32","text-bold","text-dark","text-center","mb-14","lh-125"],[1,"item","pointer","d-flex","border-radius-lg",3,"click"],["loading","lazy"],[1,"btn-all","btn-outline-primary","btn-h48","text-lg","ps-4","pe-4",3,"click","disabled"],["class","staggered-placeholder",4,"ngIf"],[1,"staggered-placeholder"],[1,"placeholder-box","tall"],[1,"placeholder-box","medium"],[1,"placeholder-box","short"],[1,"placeholder-box","portrait"]],template:function(t,i){if(1&t){const o=e.RV6();e.DNE(0,F,8,7,"div",3),e.nrm(1,"div",4),e.DNE(2,Y,8,7,"div",3)(3,J,1,1,"ng-template",null,0,e.C5r),e.j41(5,"input",5,1),e.bIt("click",function(){e.eBV(o);const g=e.sdS(6);return e.Njj(g.value="")}
1)("change",function(g){return e.eBV(o),e.Njj(i.onFileUploaded(g.srcElement.files))}),e.k0s()}2&t&&(e.Y8G("ngIf",!i.env.isMobileView),e.R7$(2),e.Y8G("ngIf",i.env.isMobileView),e.R7$(3),e.Y8G("accept",null==i.aiUploadImageService?null:i.aiUploadImageService.fileImageAccept))},dependencies:[p.YU,p.Sq,p.bT,p.T3,A.m],styles:[".masonry[_ngcontent-%COMP%]{width:100%;margin:0 auto;position:relative;padding:0;box-sizing:border-box;min-height:100px}.item[_ngcontent-%COMP%]{position:absolute;overflow:hidden}.item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto;display:block;object-fit:cover}.remixBtnDiv[_ngcontent-%COMP%]{opacity:0;transition:opacity .3s ease;background:#00000080}.item[_ngcontent-%COMP%]:hover   .remixBtnDiv[_ngcontent-%COMP%]{opacity:1}@media (max-width: 1024px){.masonry[_ngcontent-%COMP%]{width:750px}}@media (max-width: 768px){.masonry[_ngcontent-%COMP%]{width:500px}}@media (max-width: 480px){.masonry[_ngcontent-%COMP%]{width:100%;overflow:hidden}.staggered-placeholder[_ngcontent-%COMP%]{column-count:1!important}}.staggered-placeholder[_ngcontent-%COMP%]{column-count:4;column-gap:16px}.staggered-placeholder[_ngcontent-%COMP%]   .placeholder-box[_ngcontent-%COMP%]{display:inline-block;width:100%;margin:0 0 16px;border-radius:12px;background:linear-gradient(90deg,#e0e0e0 25%,#f0f0f0,#e0e0e0 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_shimmer 1.5s infinite}.staggered-placeholder[_ngcontent-%COMP%]   .placeholder-box.short[_ngcontent-%COMP%]{height:120px}.staggered-placeholder[_ngcontent-%COMP%]   .placeholder-box.medium[_ngcontent-%COMP%]{height:180px}.staggered-placeholder[_ngcontent-%COMP%]   .placeholder-box.tall[_ngcontent-%COMP%]{height:250px}.staggered-placeholder[_ngcontent-%COMP%]   .placeholder-box.portrait[_ngcontent-%COMP%]{height:350px}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.video-template-listing[_nghost-%COMP%]   .exploreDesign[_ngcontent-%COMP%], .video-template-listing   [_nghost-%COMP%]   .exploreDesign[_ngcontent-%COMP%]{padding:0!important;margin-top:16px!important}"]}),a})()},57167:(I,_,r)=>{r.d(_,{v:()=>h});var u=r(84412),e=r(54438);let h=(()=>{var l;class p{constructor(){this.eventSubject=new u.t(null),this.event$=this.eventSubject.asObservable()}triggerRefresh(){this.eventSubject.next({type:"refresh"})}triggerSearch(d,v){this.eventSubject.next({type:"search",data:{searchText:d,containerWidth:v}})}triggerLoadMore(){this.eventSubject.next({type:"loadMore"})}triggerReset(){this.eventSubject.next({type:"reset"})}triggerUpdateProductId(d,v){this.eventSubject.next({type:"updateProductId",data:{productId:d,tagId:v}})}getEventStream(){return this.event$}clearEvent(){this.eventSubject.next(null)}}return(l=p).\u0275fac=function(d){return new(d||l)},l.\u0275prov=e.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}),p})()}}]);

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.