PageSourceSearch

https://static.lightxeditor.com/web/5697.6274e9dee6e05bbc.js

js lightxeditor.com collected 2026-10-01 11:34:14 UTC 28,139 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklightx=self.webpackChunklightx||[]).push([[5697],{55697:(x,v,r)=>{r.d(v,{g:()=>ie});var o=r(10467),d=r(16471),f=r(97410),I=r(16478),u=r(54321),e=r(54438),b=r(53428),P=r(55756),p=r(33391),_=r(60177),h=r(60004),g=r(33645),c=r(68064),C=r(31079),k=r(23486);const y=["thumb-preview-dialog",""],w=i=>({"btn-hide":i}),j=i=>({isMyProject:i}),T=(i,l)=>({"h-100":i,"w-100":l}),E=i=>({"d-none":i}),M=i=>({"btn-disabled":i});function O(i,l){if(1&i&&(e.qex(0),e.nrm(1,"img",31),e.bVm()),2&i){const t=e.XpG();e.R7$(),e.Y8G("src",t.url,e.B4B)("ngClass",e.l_i(2,T,t.aiImages[t.index].width<=t.aiImages[t.index].height,t.aiImages[t.index].width>t.aiImages[t.index].height))}}function R(i,l){if(1&i&&(e.j41(0,"div",37)(1,"video",38),e.nrm(2,"source",39),e.k0s()()),2&i){const t=e.XpG(2);e.R7$(),e.FS9("id",t.activeImage.assetId),e.R7$(),e.Y8G("src",t.activeImage.url,e.B4B)}}function F(i,l){if(1&i){const t=e.RV6();e.j41(0,"a",40),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.playVideo())}),e.nrm(1,"pi",41),e.k0s()}}function U(i,l){if(1&i){const t=e.RV6();e.j41(0,"a",40),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.playVideo())}),e.nrm(1,"pi",42),e.k0s()}}function G(i,l){if(1&i&&(e.qex(0),e.nrm(1,"img",31),e.DNE(2,R,3,2,"div",32),e.j41(3,"div",33)(4,"div",34),e.DNE(5,F,2,0,"a",35)(6,U,2,0,"a",35),e.k0s(),e.j41(7,"span",36),e.EFF(8),e.k0s()(),e.bVm()),2&i){const t=e.XpG();e.R7$(),e.Y8G("src",null==t.activeImage?null:t.activeImage.thumbUrl,e.B4B)("ngClass",e.l_i(6,T,t.aiImages[t.index].width<=t.aiImages[t.index].height,t.aiImages[t.index].width>t.aiImages[t.index].height)),e.R7$(),e.Y8G("ngIf",t.isPlay),e.R7$(3),e.Y8G("ngIf",!t.isPlay),e.R7$(),e.Y8G("ngIf",t.isPlay),e.R7$(2),e.SpI("",null==t.activeImage?null:t.activeImage.duration,"s")}}function B(i,l){1&i&&(e.j41(0,"div",27),e.EFF(1,"Prompt "),e.k0s())}function D(i,l){if(1&i&&(e.j41(0,"div",43),e.EFF(1),e.k0s()),2&i){const t=e.XpG();e.R7$(),e.JRh((null==t.activeImage?null:t.activeImage.prompt)||(null==t.activeImage?null:t.activeImage.toolPrompt))}}function S(i,l){if(1&i){const t=e.RV6();e.j41(0,"div",44)(1,"button",45),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return n.copyTextToClipboard((null==n.activeImage?null:n.activeImage.prompt)||(null==n.activeImage?null:n.activeImage.toolPrompt)),e.Njj(n.iscopy=!0)}),e.j41(2,"span",46),e.nrm(3,"pi",47),e.EFF(4,"Copy Prompt "),e.k0s(),e.j41(5,"span",48),e.nrm(6,"pi",49),e.EFF(7,"Prompt copied to clipboard "),e.k0s()()()}if(2&i){const t=e.XpG();e.R7$(),e.Y8G("ngClass",t.iscopy?"popupBtn-active":"")}}function V(i,l){1&i&&e.nrm(0,"hr",50)}function N(i,l){if(1&i){const t=e.RV6();e.j41(0,"button",51),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.closemodel(1))}),e.nrm(1,"pi",63),e.EFF(2,"Use as Input Image "),e.k0s()}if(2&i){const t=e.XpG(2);e.Y8G("ngClass",e.eq3(1,M,("text2image"==(null==t.aiPhotoService?null:t.aiPhotoService.selectedTool)||"text2video"==(null==t.aiPhotoService?null:t.aiPhotoService.selectedTool))&&("text"==(null==t.aiPhotoService?null:t.aiPhotoService.selectedSubTab)||"sketch"==(null==t.aiPhotoService?null:t.aiPhotoService.selectedSubTab))||"sticker"==(null==t.aiPhotoService?null:t.aiPhotoService.selectedTool)||"aidesign"==(null==t.aiPhotoService?null:t.aiPhotoService.selectedTool)||"design"==(null==t.aiPhotoService?null:t.aiPhotoService.selectedTool)))}}function $(i,l){if(1&i){const t=e.RV6();e.j41(0,"button",55),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.closemodel(3))}),e.nrm(1,"pi",64),e.EFF(2,"Save to Uploads "),e.k0s()}}function A(i,l){if(1&i){const t=e.RV6();e.j41(0,"button",55),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.closemodel(2))}),e.nrm(1,"pi",65),e.EFF(2,"Edit Photo "),e.k0s()}}function Y(i,l){if(1&i){const t=e.RV6();e.qex(0),e.j41(1,"button",51),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.openInsprrationsEditDialog(n.activeImage))}),e.nrm(2,"pi",52),e.EFF(3,"Change with AI "),e.k0s(),e.DNE(4,N,3,3,"button",53)(5,$,3,0,"button",54)(6,A,3,0,"button",54),e.j41(7,"button",55),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.closemodel(7))}),e.nrm(8,"pi",56),e.EFF(9,"Add Text "),e.k0s(),e.j41(10,"button",55),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.closemodel(8))}),e.nrm(11,"pi",57),e.EFF(12,"Cleanup Picture "),e.k0s(),e.j41(13,"button",55),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.closemodel(9))}),e.nrm(14,"pi",58),e.EFF(15,"AI Expand "),e.k0s(),e.j41(16,"button",59),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.closemodel(10))}),e.nrm(17,"pi",60),e.EFF(18,"Animate "),e.k0s(),e.j41(19,"button",59),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.closemodel(11))}),e.nrm(20,"ei",61),e.EFF(21,"Change Camera "),e.k0s(),e.j41(22,"button",59),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.closemodel(12))}),e.nrm(23,"ei",62),e.EFF(24,"Change Lighting "),e.k0s(),e.bVm()}if(2&i){const t=e.XpG();e.R7$(),e.Y8G("ngClass",e.eq3(4,E,t.activeImage&&t.activeImage.upscale||"Upscale"==(null==t.activeImage?null:t.activeImage.toolName))),e.R7$(3),e.Y8G("ngIf",!t.isMyProject),e.R7$(),e.Y8G("ngIf",!t.isMyProject),e.R7$(),e.Y8G("ngIf",!(null!=t.activeImage&&t.activeImage.isVideo))}}function X(i,l){if(1&i){const t=e.RV6();e.j41(0,"button",55),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.closemodel(6))}
1),e.nrm(1,"pi",66),e.EFF(2,"Open in Video Editor "),e.k0s()}}function K(i,l){if(1&i){const t=e.RV6();e.j41(0,"button",55),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.closemodel(3))}),e.nrm(1,"pi",64),e.EFF(2,"Save to Uploads "),e.k0s()}}function L(i,l){if(1&i&&(e.qex(0),e.DNE(1,X,3,0,"button",54)(2,K,3,0,"button",54),e.bVm()),2&i){const t=e.XpG();e.R7$(),e.Y8G("ngIf",null==t.activeImage?null:t.activeImage.isVideo),e.R7$(),e.Y8G("ngIf",!t.isMyProject)}}function W(i,l){if(1&i&&(e.j41(0,"div")(1,"div",27),e.EFF(2,"Style"),e.k0s(),e.j41(3,"div",28),e.EFF(4),e.k0s()()),2&i){const t=e.XpG();e.R7$(4),e.JRh(null==t.activeImage?null:t.activeImage.selectedStyle)}}function J(i,l){if(1&i&&(e.j41(0,"div")(1,"div",27),e.EFF(2,"Style"),e.k0s(),e.j41(3,"div",28),e.EFF(4),e.k0s()()),2&i){const t=e.XpG();e.R7$(4),e.JRh(null==t.activeImage?null:t.activeImage.styleName)}}function z(i,l){if(1&i&&(e.j41(0,"div")(1,"div",27),e.EFF(2,"AI Model"),e.k0s(),e.j41(3,"div",28),e.EFF(4),e.k0s()()),2&i){const t=e.XpG();e.R7$(4),e.JRh(null==t.activeImage?null:t.activeImage.modelDisplayName)}}function H(i,l){if(1&i&&(e.j41(0,"div")(1,"div",27),e.EFF(2,"Resolution"),e.k0s(),e.j41(3,"div",67),e.EFF(4),e.k0s()()),2&i){const t=e.XpG();e.R7$(4),e.SpI("",null==t.activeImage?null:t.activeImage.resolution," ")}}function Z(i,l){if(1&i&&e.nrm(0,"pi",70),2&i){const t=e.XpG(2);e.Mz_("ngbTooltip","Image upscaled to ",t.activeImage.upscale,"X")}}function Q(i,l){if(1&i&&(e.j41(0,"button",71,1),e.nrm(2,"pi",72),e.EFF(3,"Upscale Image "),e.k0s()),2&i){e.XpG(2);const t=e.sdS(48);e.Y8G("ngbPopover",t)("autoClose","outside")}}function q(i,l){if(1&i&&(e.j41(0,"div")(1,"div",27),e.EFF(2,"Resolution (px)"),e.k0s(),e.j41(3,"div",67),e.EFF(4),e.DNE(5,Z,1,2,"pi",68)(6,Q,4,2,"button",69),e.k0s()()),2&i){const t=e.XpG();e.R7$(4),e.SpI("",(null==t.activeImage?null:t.activeImage.width)+" x "+(null==t.activeImage?null:t.activeImage.height)," "),e.R7$(),e.Y8G("ngIf",(null==t.activeImage?null:t.activeImage.upscale)&&t.activeImage.upscale>1),e.R7$(),e.Y8G("ngIf",!(null!=t.activeImage&&t.activeImage.isVideo||t.isMyProject||"sticker"==(null==t.activeImage?null:t.activeImage.featureType)))}}function ee(i,l){if(1&i&&(e.j41(0,"div")(1,"div",27),e.EFF(2,"Aspect Ratio"),e.k0s(),e.j41(3,"div",67),e.EFF(4),e.k0s()()),2&i){const t=e.XpG();e.R7$(4),e.JRh(null==t.activeImage?null:t.activeImage.aspectRatio)}}function te(i,l){if(1&i){const t=e.RV6();e.j41(0,"div",73),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return n.copyTextToClipboard(null==n.activeImage?null:n.activeImage.seed),e.Njj(n.isSeedCopy=!0)}),e.j41(1,"span",27),e.EFF(2,"Seed Number"),e.k0s(),e.j41(3,"span",74),e.EFF(4),e.nrm(5,"pi",75)(6,"pi",76),e.k0s()()}if(2&i){const t=e.XpG();e.Y8G("ngClass",t.isSeedCopy?"btnSeedActive":""),e.R7$(4),e.SpI("",null==t.activeImage?null:t.activeImage.seed," "),e.R7$(),e.Y8G("ngClass",t.isSeedCopy?"d-none":""),e.R7$(),e.Y8G("ngClass",t.isSeedCopy?"d-flex":"d-none")}}function ne(i,l){if(1&i){const t=e.RV6();e.j41(0,"ai-upscale-image",77),e.bIt("UpscaleImage",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.selectUpscaleImage(n))}),e.k0s()}if(2&i){const t=e.XpG();e.Y8G("activeUpcaleImage",t.activeImage)}}let ie=(()=>{var i;class l{constructor(a,n,s,m){this.projectsService=a,this.gtmService=n,this.activeModal=s,this.modalService=m,this.featureType="",this.isMyProject=!1,this.iscopy=!1,this.isSeedCopy=!1,this.isPlay=!1,this.disableInteraction=!1}ngOnInit(){this.aiImages=JSON.parse(JSON.stringify(this.aiImages1)),this.width=this.aiImages[this.index].width,this.height=this.aiImages[this.index].height,this.activeImage=this.aiImages[this.index],this.activeImage.duration=this.getDuration(),this.isPlay=!0,this.activeImage?.isVideo&&setTimeout(()=>{})}next(){this.index=this.index+1,this.index<=this.aiImages.length?this.url=this.aiImages[this.index].url:this.index=this.aiImages.length,this.width=this.aiImages[this.index].width,this.height=this.aiImages[this.index].height,this.activeImage=this.aiImages[this.index],this.activeImage.duration=this.getDuration(),this.iscopy=!1,this.isPlay=!1,this.isSeedCopy=!1,this.activeImage?.isVideo&&setTimeout(()=>{this.isPlay=!0})}prev(){this.index=this.index-1,this.index>=0?this.url=this.aiImages[this.index].url:this.index=0,this.width=this.aiImages[this.index].width,this.height=this.aiImages[this.index].height,this.activeImage=this.aiImages[this.index],this.activeImage.duration=this.getDuration(),this.iscopy=!1,this.isPlay=!1,this.isSeedCopy=!1,this.activeImage?.isVideo&&setTimeout(()=>{this.isPlay=!0})}delete(){this.index>-1&&(this.isMyProject&&this.aiImages.length>0&&this.deleteAIMarkedProjects(this.aiImages[this.index]),this.aiImages.splice(this.index,1),this.aiImages1.splice(this.index,1),this.aiImages.length>this.index?this.url=this.aiImages[this.index].url:this.aiImages.length>0&&(this.index=this.index-1>0?this.index-1:0,this.url=this.aiImages[this.index].url)),this.activeImage=this.aiImages[this.index],this.activeImage.duration=this.isPlay=!1,this.activeImage?.isVideo&&setTimeout(()=>{this.isPlay=!0}),0==this.aiImages.length&&(this.aiPhotoService.isDirty=!1,this.activeModal.close())}deleteAIMarkedProjects(a){this.projectsService.deleteAIAssets([a.assetId],s=>{},s=>{})}download(){let a=this.aiImages[this.index];a.featureType==d.Fs.TextToVideo||a.featureType==d.Fs.ImageToVideo||a.featureType==d.Fs.FaceAnimate||a.height||a.width?this.aiPhotoService.download(a):this.loadAndDownloadImage(a)}loadAndDownloadImage(a){var n=this;return(0,o.A)(function*(){const s=new Image;yield new Promise(m=>{s.onload=m,s.src=a.url}).then(()=>{let ae=s.height;a.width=s.width,a.height=ae,n.aiPhotoService.download(a)})})()}close(){this.activeModal&&this.activeModal.close("close")}handleKeyboardEventDown(a){const n=a.target;"INPUT"===n.tagName||"TEXTAREA"===n.tagName||n.isContentEditable||("arrowright"==a.key.toLowerCase()?(this.next(),a.preventDefault()):"arrowleft"==a.key.toLowerCase()&&(this.prev(),a.preventDefault()))}closemodel(a){this.activeModal&&this.activeModal.close({value:a,img:this.activeImage})}copyTextToClipboard(a){const n=document.createRange(),s=window.getSelection(),m=document.createElement("span");m.textContent=a,document.body.appendChild(m),n.selectNode(m),s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(m),s?.removeAllRanges(),setTimeout(()=>{this.iscopy=!1,this.isSeedCopy=!1},3e3)}handleKeyboardEvent(a){("Escape"===a.key||"Esc"===a.key)&&this.close()}playVideo(){this.isPlay=!this.isPlay}endVideo(a){}selectUpscaleImage(a){this.activeModal&&this.activeModal.close({index:this.index,activeImage:this.activeImage,scaleValue:a})}openInsprrationsEditDialog(a){this.gtmService.pushTag({eventName:I.b.gtm.eventname.aiRemixClick,itemName:"Thumb Preview",itemType:a?.toolName});const s=this.modalService.open(f.h,{centered:!0,size:"xxl",backdrop:"static",windowClass:"ai-design-editor-dialog"});this.aiPhotoService.isCompareEnable=!1,this.aiPhotoService.inspirationImgUrl=a.imgUrl,this.aiPhotoService.compareImageUrl=a.imgUrl,s.componentInstance.activeImgObj=a,s.componentInstance.aiPhotoService=this.aiPhotoService,s.result.then(m=>{})}getDuration(){return"aifaceanimate"===this.activeImage.featureType?4:parseInt(this.activeImage?.videoDuration||this.activeImage?.duration)}getDisplayToolName(a){return a&&((0,u.w7)(a.featureType)||(0,u.w7)(a.toolName)||(0,u.w7)(a?.metadata?.subTool)||a.toolName)||""}}return(i=l).\u0275fac=function(a){return new(a||i)(e.rXU(b.i),e.rXU(P.y),e.rXU(p.Lw),e.rXU(p.Bq))},i.\u0275cmp=e.VBU({type:i,selectors:[["","thumb-preview-dialog",""]],hostBindings:function(a,n){1&a&&e.bIt("keydown",function(m){return n.handleKeyboardEventDown(m)},!1,e.tSv)("keydown",function(m){return n.handleKeyboardEvent(m)},!1,e.EBC)},inputs:{featureType:"featureType",url:"url",index:"index",aiImages1:"aiImages1",aiPhotoService:"aiPhotoService",isMyProject:"isMyProject",disableInteraction:"disableInteraction"},attrs:y,decls:49,vars:31,consts:[["popContentUpscaleImage",""],["popOver","ngbPopover"],["id","ai-thumb-preview",1,"container-fluid","modal-inner-content","p-0"],[1,"d-flex","align-items-center","justify-content-center"],[1,"d-flex","align-items-center","justify-content-between","w-100"],[1,"hw-48","position-fixed",2,"left","24px"],[1,"modal-btn","d-flex","align-items-center","justify-content-center",3,"click","ngClass"],["name","arrowwhite",1,"f-32"],[1,"hw-48","position-fixed",2,"right","24px"],["name","arrowwhite",1,"f-32","prev"],[1,"d-flex","center-preview","position-relative"],[1,"d-flex","preview-left","position-relative","align-items-center","justify-content-center",3,"ngClass"],[4,"ngIf"],[1,"cta-action"],[1,"btn-icon-white","me-2"],["name","deletecommon",1,"f-24",3,"click"],["id","ai-gtm-dw",1,"btn-icon-white",3,"click"],["name","downloadblack",1,"f-24"],[1,"d-flex","flex-column","preview-right","pt-3","pb-3"],["customScrollDir","",1,"drawer-scroll","scroll-container","is-popover-tb-n",2,"padding-right","38px","padding-left","40px"],["class","f-12 grey-300 text-semi all-hed",4,"ngIf"],["class","f-13 text-dark title-des prompt-text-scroll align-items-start",4,"ngIf"],["class","mt-2",4,"ngIf"],["class","mb-2 mt-2",4,"ngIf"],[1,"f-12","grey-300","text-semi","mb-1","all-hed"],[1,"d-flex","align-items-center","justify-content-between","flex-wrap"],[1,"mt-1","mb-2"],[1,"f-12","grey-300","text-semi","all-hed"],[1,"f-13","text-dark","mt-1","mb-9","title-des"],["class","seed-wrapper",3,"ngClass","click",4,"ngIf"],[1,"f-13","text-dark","mt-1","title-des"],[1,"",3,"src","ngClass"],["style","position: absolute;width: 100%;height: 100%; top: 0;",4,"ngIf"],[1,"meta","justify-content-center","align-items-center","v-thumb-ico","position-absolute",2,"bottom","16px","left","12px"],[1,"d-inline-flex","hw-32","me-2",2,"cursor","pointer"],["class","d-flex hw-32",3,"click",4,"ngIf"],[1,"duration-text","f-13"],[2,"position","absolute","width","100%","height","100%","top","0"],["width","100%","height","100%","autoplay","","loop","","playsinline","","disableRC","",1,"video-box","p-0",3,"id"],[3,"src"],[1,"d-flex","hw-32",3,"click"],["name","play32white"],["name","pause32white"],[1,"f-13","text-dark","title-des","prompt-text-scroll","align-items-start"],[1,"mt-2"],[1,"btn","btn-h36","popupBtn","pl-9","pr-9","d-inline-flex","align-items-center","justify-content-start",2,"min-width","auto",3,"click","ngClass"],[1,"span-1","align-items-center","justify-content-center"],["name","copyprompt",1,"f-16","me-2"],[1,"span-2","align-items-center","justify-content-center"],["name","bluetick",1,"f-16","me-2"],[1,"mb-2","mt-2"],[1,"btn","btn-h36","popupBtn","mb-2","d-inline-flex","align-items-center","justify-content-start",3,"click","ngClass"],["name","remix16",1,"me-2","f-16"],["class","btn btn-h36 popupBtn  mb-2 d-inline-flex align-items-center justify-content-start",3,"ngClass","click",4,"ngIf"],["class","btn btn-h36 popupBtn  mb-2 d-inline-flex align-items-center justify-content-start",3,"click",4,"ngIf"],[1,"btn","btn-h36","popupBtn","mb-2","d-inline-flex","align-items-center","justify-content-start",3,"click"],["name","texteditnew",1,"me-2","f-16"],["name","cleanuppicture",1,"me-2","f-16"],["name","aiexpand",1,"me-2","f-16"],[1,"btn","btn-h36","popupBtn","mb-2","d-inline-flex","align-items-center","justify-content-start","new_item",3,"click"],["name","animate",1,"me-2","f-16"],["name","changecamera",1,"me-2","f-16"],["name","changelighting",1,"me-2","f-16"],["name","imageshuffle",1,"me-2","f-16"],["name","uploads",1,"me-2","f-16"],["name","openphotoeditor",1,"me-2","f-16"],["name","videoedit",1,"f-16","me-2"],[1,"f-13","text-dark","mt-1","mb-9","title-des","cta-action-top"],["name","infoiconnew","class","ms-1 pointer info-grey f-24","placement","top",3,"ngbTooltip",4,"ngIf"],["class","btn btn-h36 popupBtn ms-2 d-inline-flex align-items-center justify-content-start position-relative","style","min-width: auto;","placement","top","popoverClass","pt-2 upsacle-popover",3,"ngbPopover","autoClose",4,"ngIf"],["name","infoiconnew","placement","top",1,"ms-1","pointer","info-grey","f-24",3,"ngbTooltip"],["placement","top","popoverClass","pt-2 upsacle-popover",1,"btn","btn-h36","popupBtn","ms-2","d-inline-flex","align-items-center","justify-content-start","position-relative",2,"min-width","auto",3,"ngbPopover","autoClose"],["name","upscale",1,"me-2","f-16"],[1,"seed-wrapper",3,"click","ngClass"],[1,"btnSeed","f-13","text-dark","mt-1","mb-9","title-des",2,"min-height","16px"],["name","copyprompt",1,"f-16","ms-2","copyIcon","grey-500",3,"ngClass"],["name","bluetick",1,"ms-2","f-16",3,"ngClass"],[3,"UpscaleImage","activeUpcaleImage"]],template:function(a,n){if(1&a){const s=e.RV6();e.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"span",6),e.bIt("click",function(){return e.eBV(s),e.Njj(n.prev())}),e.nrm(5,"pi",7),e.k0s()(),e.j41(6,"div",8)(7,"span",6),e.bIt("click",function(){return e.eBV(s),e.Njj(n.next())}),e.nrm(8,"pi",9),e.k0s()(),e.j41(9,"div",10)(10,"div",11),e.DNE(11,O,2,5,"ng-container",12)(12,G,9,9,"ng-container",12),e.j41(13,"div",13)(14,"button",14)(15,"pi",15),e.bIt("click",function(){return e.eBV(s),e.Njj(n.delete())}),e.k0s()(),e.j41(16,"button",16),e.bIt("click",function(){return e.eBV(s),e.Njj(n.download())}),e.nrm(17,"pi",17),e.k0s()()(),e.j41(18,"div",18)(19,"div",19),e.DNE(20,B,2,0,"div",20)(21,D,2,1,"div",21)(22,S,8,1,"div",22)(23,V,1,0,"hr",23),e.j41(24,"div",24),e.EFF(25,"Actions"),e.k0s(),e.j41(26,"div",25),e.DNE(27,Y,25,6,"ng-container",12)(28,L,3,2,"ng-container",12),e.k0s(),e.nrm(29,"hr",26),e.j41(30,"div")(31,"div",27),e.EFF(32,"Module"),e.k0s(),e.j41(33,"div",28),e.EFF(34),e.k0s()(),e.DNE(35,W,5,1,"div",12)(36,J,5,1,"div",12)(37,z,5,1,"div",12)(38,H,5,1,"div",12)(39,q,7,3,"div",12)(40,ee,5,1,"div",12)(41,te,7,4,"div",29),e.j41(42,"div",27),e.EFF(43,"Created On"),e.k0s(),e.j41(44,"div",30),e.EFF(45),e.nI1(46,"date"),e.k0s()()()()()()(),e.DNE(47,ne,1,1,"ng-template",null,0,e.C5r)}2&a&&(e.AVh("disabled",n.disableInteraction),e.R7$(4),e.Y8G("ngClass",e.eq3(25,w,n.index<=0||1==n.aiImages.length)),e.R7$(3),e.Y8G("ngClass",e.eq3(27,w,n.index>=n.aiImages.length-1)),e.R7$(3),e.Y8G("ngClass",e.eq3(29,j,n.isMyProject)),e.R7$(),e.Y8G("ngIf",!(null!=n.activeImage&&n.activeImage.isVideo)),e.R7$(),e.Y8G("ngIf",null==n.activeImage?null:n.activeImage.isVideo),e.R7$(8),e.Y8G("ngIf",(null==n.activeImage?null:n.activeImage.toolPrompt)||(null==n.activeImage?null:n.activeImage.prompt)),e.R7$(),e.Y8G("ngIf",(null==n.activeImage?null:n.activeImage.toolPrompt)||(null==n.activeImage?null:n.activeImage.prompt)),e.R7$(),e.Y8G("ngIf",(null==n.activeImage?null:n.activeImage.toolPrompt)||(null==n.activeImage?null:n.activeImage.prompt)),e.R7$(),e.Y8G("ngIf",(null==n.activeImage?null:n.activeImage.toolPrompt)||(null==n.activeImage?null:n.activeImage.prompt)),e.R7$(4),e.Y8G("ngIf",!(null!=n.activeImage&&n.activeImage.isVideo)),e.R7$(),e.Y8G("ngIf",null==n.activeImage?null:n.activeImage.isVideo),e.R7$(6),e.JRh(n.getDisplayToolName(n.activeImage)),e.R7$(),e.Y8G("ngIf",!n.isMyProject&&n.activeImage&&(null==n.activeImage?null:n.activeImage.selectedStyle)),e.R7$(),e.Y8G("ngIf",n.activeImage&&!(null!=n.activeImage&&n.activeImage.selectedStyle)&&(null==n.activeImage?null:n.activeImage.styleName)),e.R7$(),e.Y8G("ngIf",n.activeImage&&(null==n.activeImage?null:n.activeImage.modelDisplayName)),e.R7$(),e.Y8G("ngIf",n.activeImage&&(null==n.activeImage?null:n.activeImage.isVideo)),e.R7$(),e.Y8G("ngIf",n.activeImage&&(null==n.activeImage?null:n.activeImage.
1width)&&!(null!=n.activeImage&&n.activeImage.isVideo)),e.R7$(),e.Y8G("ngIf",(null==n.activeImage?null:n.activeImage.isVideo)&&(null==n.activeImage?null:n.activeImage.aspectRatio)),e.R7$(),e.Y8G("ngIf",null==n.activeImage?null:n.activeImage.seed),e.R7$(4),e.SpI(" ",n.activeImage.createdDate?e.i5U(46,22,n.activeImage.createdDate,"MMMM d, y"):""," "))},dependencies:[_.YU,_.bT,h.G,g.q,p.ZM,p.md,c.b,C.E,k.KK,_.vh],styles:[".center-preview[_ngcontent-%COMP%]{user-select:none;-webkit-user-select:none}.center-preview[_ngcontent-%COMP%]   .preview-left[_ngcontent-%COMP%]{border-radius:12px 0 0 12px;background:#181a20;width:663px;min-height:663px;overflow:hidden}.center-preview[_ngcontent-%COMP%]   .preview-left[_ngcontent-%COMP%]   .cta-action[_ngcontent-%COMP%]{display:block;position:absolute;bottom:12px;right:12px;transition:bottom .2s ease-out}.center-preview[_ngcontent-%COMP%]   .preview-left[_ngcontent-%COMP%]   .cta-action[_ngcontent-%COMP%]   .btn-icon-white[_ngcontent-%COMP%]{height:40px;width:40px;border-radius:12px;border:0px;background:#4a4f5e66;color:#fff;outline:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.center-preview[_ngcontent-%COMP%]   .preview-left[_ngcontent-%COMP%]   .cta-action[_ngcontent-%COMP%]   .btn-icon-white[_ngcontent-%COMP%]:hover{background:#959aa766}.center-preview[_ngcontent-%COMP%]   .preview-left[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .center-preview[_ngcontent-%COMP%]   .isMyProject[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%;object-fit:contain;width:100%}.center-preview[_ngcontent-%COMP%]   .preview-right[_ngcontent-%COMP%]{border-radius:0 12px 12px 0;background:#fff;width:447px}.center-preview[_ngcontent-%COMP%]   .preview-right[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{border-top:none!important;border:1px solid #E2E3E9;margin-bottom:20px 0!important}.center-preview[_ngcontent-%COMP%]   .f-12[_ngcontent-%COMP%]{font-size:12px;line-height:normal}.center-preview[_ngcontent-%COMP%]   .f-13[_ngcontent-%COMP%]{font-size:13px;line-height:normal}.center-preview[_ngcontent-%COMP%]   .title-des[_ngcontent-%COMP%]{display:flex;align-items:center}.center-preview[_ngcontent-%COMP%]   .all-hed[_ngcontent-%COMP%]{min-height:18px;display:flex;align-items:center}.popupBtn[_ngcontent-%COMP%]{border-radius:12px;border:0px solid #E2E3E9;font-size:12px;background:#626adf0d;color:#4a4f5e;min-width:178px;padding:0 12px}.popupBtn[_ngcontent-%COMP%]   .span-2[_ngcontent-%COMP%]{display:none}.popupBtn[_ngcontent-%COMP%]   .span-1[_ngcontent-%COMP%]{display:flex}.popupBtn[_ngcontent-%COMP%]   pi[_ngcontent-%COMP%]{color:#606576}.popupBtn[_ngcontent-%COMP%]:hover, .popupBtn[_ngcontent-%COMP%]:focus{border:0px solid #E2E3E9;background:#626adf1a}.popupBtn[_ngcontent-%COMP%]:focus{border:0px solid #E2E3E9;background:#626adf1a}.btn-disabled[_ngcontent-%COMP%]{pointer-events:none!important;color:#c0bfc4}.btn-disabled[_ngcontent-%COMP%]   pi[_ngcontent-%COMP%]{color:#c0bfc4!important}.popupBtn-active[_ngcontent-%COMP%]   .span-1[_ngcontent-%COMP%]{display:none}.popupBtn-active[_ngcontent-%COMP%]   .span-2[_ngcontent-%COMP%]{color:#626adf}.popupBtn-active[_ngcontent-%COMP%]   .span-2[_ngcontent-%COMP%]{display:flex}.seed-wrapper[_ngcontent-%COMP%]{cursor:pointer}.seed-wrapper[_ngcontent-%COMP%]   .copyIcon[_ngcontent-%COMP%]{display:none}.seed-wrapper[_ngcontent-%COMP%]   .btnSeed[_ngcontent-%COMP%]{cursor:pointer}.seed-wrapper[_ngcontent-%COMP%]:hover   .copyIcon[_ngcontent-%COMP%]{display:flex}.meta[_ngcontent-%COMP%]   .duration-text[_ngcontent-%COMP%]{border-radius:6px;background:#ffffffb3;padding:2px 6px;color:#272b34}.info-grey[_ngcontent-%COMP%]{color:#dcdbe6}.info-grey[_ngcontent-%COMP%]:hover{color:#494b5e}.prompt-text-scroll[_ngcontent-%COMP%]{line-height:20.8px!important;max-height:80px;overflow:auto;height:auto;word-break:break-all}.prompt-text-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px;height:4px}.prompt-text-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent;border-radius:4px;opacity:.6;-webkit-transition:width .2s linear,opacity .2s linear,background-color .2s linear;transition:width .2s linear,opacity .2s linear,background-color .2s linear;box-shadow:none}.prompt-text-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#b0b3bfbf;border-radius:4px}.prompt-text-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#b0b3bfbf}"],data:{animation:[]}}),l})()},31079:(x,v,r)=>{r.d(v,{E:()=>P});var o=r(54438),d=r(60177),f=r(68064);function I(p,_){1&p&&(o.j41(0,"div"),o.nrm(1,"pi",8),o.j41(2,"span",9),o.EFF(3,"Upscale to 2X"),o.k0s()())}function u(p,_){1&p&&(o.j41(0,"span",10),o.EFF(1,"Upscale to 2X"),o.k0s())}function e(p,_){1&p&&(o.j41(0,"div"),o.nrm(1,"pi",8),o.j41(2,"span",9),o.EFF(3,"Upscale to 4X"),o.k0s()())}function b(p,_){1&p&&(o.j41(0,"span",10),o.EFF(1,"Upscale to 4X"),o.k0s())}let P=(()=>{var p;class _{constructor(){this.isIcon=!1,this.UpscaleImage=new o.bkB}ngOnInit(){}selectUpscaleImage(g){this.UpscaleImage.emit(g)}}return(p=_).\u0275fac=function(g){return new(g||p)},p.\u0275cmp=o.VBU({type:p,selectors:[["ai-upscale-image"]],inputs:{activeUpcaleImage:"activeUpcaleImage",isIcon:"isIcon"},outputs:{UpscaleImage:"UpscaleImage"},decls:17,vars:6,consts:[[1,"d-flex","align-items-center","justify-content-start","flex-column"],[1,"btn-all","btn-upscale","pl-9","pr-9","d-flex","align-items-center","justify-content-between","ps-3","pe-2","w-100",3,"click","ngClass"],[4,"ngIf"],["class","grey-600 scale-text",4,"ngIf"],[1,"coin-box","d-inline-flex"],[1,"coin-item","text-semi","d-flex","align-items-center","justify-content-center"],["height","20px","width","20px","src","https://static.lightxeditor.com/assets/images/coin-new.png",1,"coin-active"],["height","20px","width","20px","src","https://static.lightxeditor.com/assets/images/coin-new-disabled.png",1,"coin-disable"],["name","upscale",1,"f-16","mr-9","scale-text"],[1,"grey-600","text-semi","scale-text",2,"font-size","13px !important"],[1,"grey-600","scale-text"]],template:function(g,c){1&g&&(o.j41(0,"div",0)(1,"button",1),o.bIt("click",function(){return c.selectUpscaleImage(2)}),o.DNE(2,I,4,0,"div",2)(3,u,2,0,"span",3),o.j41(4,"div",4)(5,"span",5),o.nrm(6,"img",6)(7,"img",7),o.EFF(8," 1 "),o.k0s()()(),o.j41(9,"button",1),o.bIt("click",function(){return c.selectUpscaleImage(4)}),o.DNE(10,e,4,0,"div",2)(11,b,2,0,"span",3),o.j41(12,"div",4)(13,"span",5),o.nrm(14,"img",6)(15,"img",7),o.EFF(16," 2 "),o.k0s()()()()),2&g&&(o.R7$(),o.Y8G("ngClass",c.activeUpcaleImage&&(null==c.activeUpcaleImage?null:c.activeUpcaleImage.upscale)>
1=4||(null==c.activeUpcaleImage?null:c.activeUpcaleImage.width)>2048||(null==c.activeUpcaleImage?null:c.activeUpcaleImage.height)>2048?"scale-disable":""),o.R7$(),o.Y8G("ngIf",c.isIcon),o.R7$(),o.Y8G("ngIf",!c.isIcon),o.R7$(6),o.Y8G("ngClass",c.activeUpcaleImage&&(null==c.activeUpcaleImage?null:c.activeUpcaleImage.upscale)>=2||(null==c.activeUpcaleImage?null:c.activeUpcaleImage.width)>1024||(null==c.activeUpcaleImage?null:c.activeUpcaleImage.height)>1024?"scale-disable":""),o.R7$(),o.Y8G("ngIf",c.isIcon),o.R7$(),o.Y8G("ngIf",!c.isIcon))},dependencies:[d.YU,d.bT,f.b]}),_})()}}]);

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.