PageSourceSearch

https://es.chamber.org.sa/chunk-L7UBGQPD.js

js chamber.org.sa collected 2026-10-02 17:35:21 UTC 10,960 bytes, 1 lines download raw bytes

1import{b as K,c as Q}from"./chunk-7L25RWYQ.js";import{a as J}from"./chunk-LJ3Q3JX4.js";import{c as Z}from"./chunk-L2VOY6QZ.js";import{E as B,F as I,c as D,e as j,h as R,i as q,j as G,l as P,n as H,r as N,u as z}from"./chunk-AIBSOWPC.js";import{j as _}from"./chunk-A5H52R3A.js";import{a as y}from"./chunk-4WJRJSYJ.js";import{$b as T,Ab as n,Bb as r,Cb as s,Ea as O,Jb as A,Pa as d,Pb as c,Rb as E,Ya as S,db as x,dc as m,fb as U,gb as L,ha as a,na as u,oa as f,pa as C,q as M,qa as k,sb as g,ub as h,vd as F,zb as v,zd as V}from"./chunk-Z56H5HD5.js";import{a as w}from"./chunk-M5NEQLGQ.js";var ne=(()=>{class t{transform(i){return i.toLowerCase().split(".").pop()}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275pipe=L({name:"fileType",type:t,pure:!0})}}return t})();var ue=(()=>{class t{onClick(i){i.stopPropagation(),this.openLinkUrl(this.appLinksUrl)}constructor(){this.el=a(O),this.renderer=a(S),this.http=a(F),this.sanitizer=a(V),this.helperService=a(_),this.renderer.setStyle(this.el.nativeElement,"cursor","pointer")}openLinkUrl(i,l){i=this.helperService.encodeUrl(i),setTimeout(()=>{this.http.get((l?y.signatureUrl:y.assetUrl)+i,{responseType:"blob"}).pipe(M(e=>URL.createObjectURL(e)),M(e=>this.sanitizer.bypassSecurityTrustUrl(e))).subscribe(e=>{this.finalLink=e.changingThisBreaksApplicationSecurity;let o=this.renderer.createElement("a");o.href=this.finalLink,o.id="newLinkItem",o.setAttribute("target","_blank"),this.renderer.appendChild(document.body,o),o.click(),setTimeout(()=>{this.renderer.removeChild(document.body,o)},500)})},0)}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275dir=U({type:t,selectors:[["","appLinksUrl",""]],hostBindings:function(l,e){l&1&&c("click",function(p){return e.onClick(p)})},inputs:{appLinksUrl:"appLinksUrl"}})}}return t})();function Y(t,b){t&1&&(n(0,"span",26),C(),n(1,"svg",19),s(2,"path",35),r()())}function $(t,b){t&1&&(n(0,"p",36),m(1,"\u0627\u0644\u0645\u0644\u0641 \u0645\u0637\u0644\u0648\u0628"),r())}function ee(t,b){t&1&&(n(0,"p",36),m(1,"\u0627\u0644\u0645\u0644\u0641 \u063A\u064A\u0631 \u0645\u062F\u0639\u0648\u0645 \u0628\u0631\u062C\u0627\u0621 \u0627\u062E\u062A\u064A\u0627\u0631 \u0645\u0644\u0641 PDF"),r())}function te(t,b){if(t&1&&(n(0,"div",28),g(1,$,2,0,"p",36),g(2,ee,2,0,"p",36),r()),t&2){let i=E();d(),h(!(i.form.controls.fileUrl==null||i.form.controls.fileUrl.errors==null)&&i.form.controls.fileUrl.errors.required?1:-1),d(),h(i.fileTypeError?2:-1)}}var Pe=(()=>{class t{constructor(){this.dialogRef=a(K),this.data=a(Q),this.sharedService=a(Z),this.helperService=a(_),this._CrudRequestsService=a(J),this.form=new G({fileUrl:new P(null,[j.required]),notes:new P}),this.fileName="\u0631\u0641\u0639 \u0627\u0644\u0645\u0644\u0641"}selectFile(i){let l=i.target.files[0],e=new FormData;if(e.append("File",l),this.startUploadLogo=!0,this.fileName=l.name,!["application/pdf","image/png","image/jpg","image/jpeg"].includes(l.type)){this.fileTypeError=!1;return}this.sharedService.uploadFile(e).subscribe({next:o=>{this.startUploadLogo=!1,this.helperService.handleSuccess(o),this.form.controls.fileUrl.setValue(o.data.result)},error:o=>{this.startUploadLogo=!1,this.helperService.handleError(o)}})}submit(){if(this.form.invalid)return;let i=w({requestId:this.data.reqId},this.form.value);this._CrudRequestsService.post("ContestRequests/Attachment/Create",i).subscribe(l=>{this.helperService.handleSuccess(l),this.dialogRef.close("success")})}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-upload-competition-attachments"]],decls:44,vars:4,consts:[["formTemp","ngForm"],[1,"modal-header","pb-3","position-relative"],[1,"modal-title","text-primary","m-0"],["type","button","aria-label","Close",1,"close"],["width","24","height","24","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",3,"click"],["clip-path","url(#clip0_1331_3399)"],["d","M12 23.25C18.2132 23.25 23.25 18.2132 23.25 12C23.25 5.7868 18.2132 0.75 12 0.75C5.7868 0.75 0.75 5.7868 0.75 12C0.75 18.2132 5.7868 23.25 12 23.25Z","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["d","M7.5 16.5L16.5 7.5","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["d","M16.5 16.5L7.5 7.5","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["id","clip0_1331_3399"],["width","24","height","24"],[1,"m-0"],[1,"modal-body"],[3,"ngSubmit","formGroup"],[1,"form-group","has-inner-btn","select-box"],[1,"label","required"],[1,"position-relative"],["readonly","","type","text","placeholder","\u0631\u0641\u0639 \u0627\u0644\u0645\u0644\u0641",1,"form-control",3,"value"],[1,"inner-btn"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#tab1_4)"],["d","M8.00028 15.1431C11.9452 15.1431 15.1431 11.9452 15.1431 8.00028C15.1431 4.05539 11.9452 0.857422 8.00028 0.857422C4.05539 0.857422 0.857422 4.05539 0.857422 8.00028C0.857422 11.9452 4.05539 15.1431 8.00028 15.1431Z","stroke","#86898C","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["d","M8 11.2174V4.7832","stroke","#86898C","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["d","M10.6911 7.09307C9.87331 6.05981 9.31631 5.57897 8.48623 4.95009C8.19251 4.72757 7.80719 4.72757 7.51346 4.95009C6.68338 5.57897 6.12638 6.05981 5.30859 7.09308","stroke","#86898C","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["id","tab1_4"],["width","16","height","16","fill","white"],[1,"loading","mx-1"],["type","file","accept","application/pdf,image/png,image/jpeg,","title","",3,"change"],[1,"errors"],[1,"form-group"],["for","notes",1,"form-label"],["name","notes","id","notes","rows","3","formControlName","notes",1,"form-control"],[1,"actions-btns"],["type","reset",1,"btn","btn-trans
1parent","fs-16","text-gray",3,"click"],["type","submit",1,"btn","btn-block","btn-primary"],["d","M8.00167 1.00781V3.86495M2.28739 3.86495L4.39025 5.79638M1.14453 10.1507L3.91025 9.1221M5.01869 14.9964L6.28726 12.4364M13.7158 3.86495L11.613 5.79638M14.8589 10.1507L12.0932 9.1221M10.9845 14.9964L9.71596 12.4364","stroke","#7A7D85","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],[1,"error-message"]],template:function(l,e){if(l&1){let o=A();n(0,"div",1)(1,"h5",2),m(2,"\u0627\u0636\u0627\u0641\u0629 \u0645\u0631\u0641\u0642 \u062C\u062F\u064A\u062F"),r(),n(3,"button",3),C(),n(4,"svg",4),c("click",function(){return u(o),f(e.dialogRef.close())}),n(5,"g",5),s(6,"path",6)(7,"path",7)(8,"path",8),r(),n(9,"defs")(10,"clipPath",9),s(11,"rect",10),r()()()()(),k(),s(12,"hr",11),n(13,"div",12)(14,"form",13,0),c("ngSubmit",function(){return u(o),f(e.submit())}),n(16,"div",14)(17,"label",15),m(18," \u0631\u0641\u0639 \u0627\u0644\u0645\u0644\u0641 "),r(),n(19,"div",16),s(20,"input",17),n(21,"span",18),C(),n(22,"svg",19)(23,"g",20),s(24,"path",21)(25,"path",22)(26,"path",23),r(),n(27,"defs")(28,"clipPath",24),s(29,"rect",25),r()()(),k(),n(30,"small"),m(31,"\u0631\u0641\u0639 \u0627\u0644\u0645\u0644\u0641"),r(),g(32,Y,3,0,"span",26),r(),n(33,"input",27),c("change",function(X){return u(o),f(e.selectFile(X))}),r()(),g(34,te,3,2,"div",28),r(),n(35,"div",29)(36,"label",30),m(37,"\u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0627\u062A"),r(),s(38,"textarea",31),r(),n(39,"div",32)(40,"button",33),c("click",function(){return u(o),f(e.dialogRef.close())}),m(41," \u0625\u0644\u063A\u0627\u0621 "),r(),n(42,"button",34),m(43,"\u0625\u0636\u0627\u0641\u0629"),r()()()()}if(l&2){let o=T(15);d(14),v("formGroup",e.form),d(6),v("value",e.fileName),d(12),h(e.startUploadLogo?32:-1),d(2),h(e.form.controls.fileUrl!=null&&e.form.controls.fileUrl.errors&&(e.form.controls.fileUrl!=null&&e.form.controls.fileUrl.dirty||e.form.controls.fileUrl!=null&&e.form.controls.fileUrl.touched||o.submitted)?34:-1)}},dependencies:[B,H,D,R,q,I,N,z],styles:["[_nghost-%COMP%]{display:block;background:#fff;border-radius:1rem}.modal-header[_ngcontent-%COMP%]{padding:1.5rem;display:flex;justify-content:space-between;align-items:center;border:0}.modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{color:#272b2e;font-size:2rem;font-weight:700;margin-bottom:.8rem;max-width:90%}.modal-header[_ngcontent-%COMP%]   .title-hint[_ngcontent-%COMP%]{color:#939ca5;font-size:1.6rem;font-weight:500;margin-bottom:0}.modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{padding:0;margin:0;border:0;background-color:transparent}[dir=ltr][_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{left:auto;right:2.4rem}.modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{stroke:#d8d9dc;fill:#fff}.modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{stroke:#e76666}.modal-header.custom-style[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;background-color:#3f5fa014}.modal-header.custom-style[_ngcontent-%COMP%]   .header-icon[_ngcontent-%COMP%]{background-color:#fff;padding:1.9rem;margin-inline-end:1.6rem;border-radius:2.4rem}.modal-header.custom-style[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{color:#111}.modal-header.custom-style[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{stroke:#86888c;fill:transparent}.modal-body[_ngcontent-%COMP%]{padding:2.4rem}.modal-body.bod_top[_ngcontent-%COMP%]{border-top:1px solid #e7e7e7}.modal-body[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:700;font-size:16px;line-height:22px;color:#0f1721}.modal-body[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-size:1.8rem;color:#000;font-weight:500}.modal-body[_ngcontent-%COMP%]   .otp-modal[_ngcontent-%COMP%]{text-align:center}.modal-body[_ngcontent-%COMP%]   .otp-modal[_ngcontent-%COMP%]   .verfy-icon[_ngcontent-%COMP%]{border:1px solid #e0e5f0;padding:1.6rem;border-radius:1.6rem;width:102px;height:102px;border-radius:2.4rem;margin:0 auto 2.4rem}.modal-body[_ngcontent-%COMP%]   .otp-modal[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-bottom:1.6rem}.modal-body[_ngcontent-%COMP%]   .otp-modal[_ngcontent-%COMP%]   .otp-text[_ngcontent-%COMP%]{max-width:320px;margin:0 auto 3rem}.modal-body[_ngcontent-%COMP%]   .otp-modal[_ngcontent-%COMP%]   .form-links[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;max-width:470px;margin:0 auto 24px}.actions-btns[_ngcontent-%COMP%]{display:flex;padding-top:2.4rem;border-top:1px solid #e9eaec}.actions-btns[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{border-radius:10px;font-weight:700}.actions-btns[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:first-child{min-width:120px;margin-inline-end:15px;border-color:#d3d4d7}.bg-gray[_ngcontent-%COMP%]{color:#fff;background-color:#5e6269;padding:5px;border-radius:3px;margin-inline-end:2px}.form-group[_ngcontent-%COMP%]{margin-bottom:2rem}"]})}}return t})();export{ne as a,ue as b,Pe as c};

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.