1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1818],{21818:(yt,C,a)=>{a.r(C),a.d(C,{RmaFormWidgetModule:()=>vt});var u=a(32881),O=a(25207),p=a(35933),M=a(88834),l=a(89417),v=a(16563),y=a(96149),k=a(10467),m=a(53750),g=a(67066),w=a(86377),x=a(9213),E=a(97586),j=a.n(E),R=a(87),S=a(46418),N=a(80529),I=a(16764),D=a(96354),A=a(94623),T=a(88707),$=a(24873),h=a(35546),t=a(41360),G=a(59640),Y=a(77339),b=a(3069),f=a(22928),W=a(99213),H=a(59042),V=a(67949),z=a(16053);const F=o=>({color:o});function L(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please enter your name "),t.k0s())}function B(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please enter your email "),t.k0s())}function X(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please enter your name "),t.k0s())}function Z(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please enter your email "),t.k0s())}function U(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please enter your contact "),t.k0s())}function q(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please enter your contact "),t.k0s())}function J(o,r){if(1&o){const e=t.RV6();t.j41(0,"button",66),t.bIt("click",function(){t.eBV(e);const n=t.XpG(2);return t.Njj(n.toggleAddressSelection())}),t.nrm(1,"ion-icon",67),t.j41(2,"span"),t.EFF(3),t.k0s()()}if(2&o){const e=t.XpG(2);t.AVh("active",e.showAddressSelection),t.R7$(3),t.JRh(e.showAddressSelection?"Manual":"Select")}}function Q(o,r){if(1&o){const e=t.RV6();t.j41(0,"div",68),t.nrm(1,"ion-icon",69),t.j41(2,"span"),t.EFF(3,"Default Address: "),t.j41(4,"strong"),t.EFF(5),t.k0s(),t.EFF(6),t.k0s(),t.j41(7,"button",70),t.bIt("click",function(){t.eBV(e);const n=t.XpG(2);return t.Njj(n.toggleAddressSelection())}),t.nrm(8,"ion-icon",71),t.EFF(9," Change "),t.k0s()()}if(2&o){const e=t.XpG(2);t.R7$(5),t.JRh(e.selectedAddressDisplay.addressName),t.R7$(),t.SpI(" (",e.getAddressTypeLabel(e.selectedAddressDisplay.code),")")}}function K(o,r){if(1&o&&(t.j41(0,"div",75)(1,"div",76),t.nrm(2,"ion-icon",69),t.j41(3,"span"),t.EFF(4,"Selected Address:"),t.k0s()(),t.j41(5,"div",77)(6,"div",78)(7,"strong"),t.EFF(8),t.k0s(),t.j41(9,"ion-badge",79),t.EFF(10),t.k0s()(),t.j41(11,"div",80)(12,"p"),t.nrm(13,"ion-icon",81),t.EFF(14),t.k0s(),t.j41(15,"p"),t.nrm(16,"ion-icon",82),t.EFF(17),t.k0s(),t.j41(18,"p"),t.nrm(19,"ion-icon",67),t.EFF(20),t.k0s()()()()),2&o){const e=t.XpG(3);t.R7$(8),t.JRh(e.selectedAddressDisplay.addressName),t.R7$(2),t.JRh(e.getAddressTypeLabel(e.selectedAddressDisplay.code)),t.R7$(4),t.SpI(" ",e.selectedAddressDisplay.receiverName,""),t.R7$(3),t.SpI(" ",e.selectedAddressDisplay.phone,""),t.R7$(3),t.SpI(" ",e.getFullAddress(e.selectedAddressDisplay),"")}}function tt(o,r){if(1&o&&(t.j41(0,"div",72)(1,"ion-row",57)(2,"ion-col",9)(3,"div",73)(4,"h4"),t.EFF(5,"Choose from your saved addresses:"),t.k0s()(),t.nrm(6,"ui-drop-down-input",29),t.nI1(7,"async"),t.k0s()(),t.DNE(8,K,21,5,"div",74),t.k0s()),2&o){const e=t.XpG(2);t.R7$(6),t.Y8G("selectedFormCtrl",e.applicationForm.get("selectedSavedAddress"))("options",t.bMT(7,9,e.savedAddresses$))("placeholder","Select a saved address")("showSearchbar",!0)("searchPlaceholder","Search addresses")("noDataFoundLabel","No addresses found")("optionValueSelector",e.getAddressOptionValue)("optionLabelSelector",e.getAddressOptionLabel),t.R7$(2),t.Y8G("ngIf",e.selectedAddressDisplay)}}function et(o,r){1&o&&(t.j41(0,"ion-row",15)(1,"ion-col",27)(2,"mat-form-field",23)(3,"mat-label"),t.EFF(4,"PostCode"),t.k0s(),t.nrm(5,"input",83),t.j41(6,"mat-icon",19),t.EFF(7,"mail"),t.k0s()()(),t.j41(8,"ion-col",27)(9,"mat-form-field",23)(10,"mat-label"),t.EFF(11,"City"),t.k0s(),t.nrm(12,"input",84),t.j41(13,"mat-icon",19),t.EFF(14,"business"),t.k0s()()()())}function nt(o,r){1&o&&(t.j41(0,"ion-row",22)(1,"ion-col",9)(2,"mat-form-field",23)(3,"mat-label"),t.EFF(4,"PostCode"),t.k0s(),t.nrm(5,"input",83),t.j41(6,"mat-icon",19),t.EFF(7,"mail"),t.k0s()()()())}function ot(o,r){1&o&&(t.j41(0,"ion-row",22)(1,"ion-col",9)(2,"mat-form-field",23)(3,"mat-label"),t.EFF(4,"City"),t.k0s(),t.nrm(5,"input",84),t.j41(6,"mat-icon",19),t.EFF(7,"business"),t.k0s()()()())}function it(o,r){1&o&&(t.j41(0,"ion-row",15)(1,"ion-col",27)(2,"mat-form-field",23)(3,"mat-label"),t.EFF(4,"Country"),t.k0s(),t.nrm(5,"input",85),t.j41(6,"mat-icon",19),t.EFF(7,"public"),t.k0s()()(),t.j41(8,"ion-col",27)(9,"mat-form-field",23)(10,"mat-label"),t.EFF(11,"State"),t.k0s(),t.nrm(12,"input",86),t.j41(13,"mat-icon",19),t.EFF(14,"location"),t.k0s()()()())}function at(o,r){1&o&&(t.j41(0,"ion-row",22)(1,"ion-col",9)(2,"mat-form-field",23)(3,"mat-label"),t.EFF(4,"Country"),t.k0s(),t.nrm(5,"input",85),t.j41(6,"mat-icon",19),t.EFF(7,"public"),t.k0s()()()())}function rt(o,r){1&o&&(t.j41(0,"ion-row",22)(1,"ion-col",9)(2,"mat-form-field",23)(3,"mat-label"),t.EFF(4,"State"),t.k0s(),t.nrm(5,"input",86),t.j41(6,"mat-icon",19),t.EFF(7,"location"),t.k0s()()()())}function st(o,r){if(1&o&&(t.j41(0,"div",55)(1,"div",12),t.nrm(2,"ion-icon",56),t.EFF(3," Address Information "),t.k0s(),t.j41(4,"div",14),t.nrm(5,"ion-icon",56),t.EFF(6," Address Information "),t.k0s(),t.j41(7,"ion-row",57)(8,"ion-col",9)(9,"div",58)(10,"mat-form-field",59)(11,"mat-label"),t.EFF(12,"Address"),t.k0s(),t.nrm(13,"input",60),t.j41(14,"mat-icon",19),t.EFF(15,"home"),t.k0s()(),t.DNE(16,J,4,3,"button",61),t.nI1(17,"async"),t.k0s(),t.DNE(18,Q,10,2,"div",62),t.k0s()(),t.DNE(19,tt,9,11,"div",63),t.nI1(20,"async"),t.DNE(21,et,15,0,"ion-row",64)(22,nt,8,0,"ion-row",65)(23,ot,8,0,"ion-row",65)(24,it,15,0,"ion-row",64)(25,at,8,0,"ion-row",65)(26,rt,8,0,"ion-row",65),t.k0s()),2&o){let e,i;const n=t.XpG();t.R7$(13),t.Y8G("readonly","select"===n.addressInputMode),t.R7$(3),t.Y8G("ngIf",(null==(e=t.bMT(17,10,n.savedAddresses$))?null:e.length)>0),t.R7$(2),t.Y8G("ngIf",n.selectedAddressDisplay&&!n.showAddressSelection),t.R7$(),t.Y8G("ngIf",n.showAddressSelection&&(null==(i=t.bMT(20,12,n.savedAddresses$))?null:i.length)>0),t.R7$(2),t.Y8G("ngIf",!n.defaultFieldsToHide.postCode&&!n.defaultFieldsToHide.city),t.R7$(),t.Y8G("ngIf",!n.defaultFieldsToHide.postCode),t.R7$(),t.Y8G("ngIf",!n.defaultFieldsToHide.city),t.R7$(),t.Y8G("ngIf",!n.defaultFieldsToHide.country&&!n.defaultFieldsToHide.state),t.R7$(),t.Y8G("ngIf",!n.defaultFieldsToHide.country),t.R7$(),t.Y8G("ngIf",!n.defaultFieldsToHide.state)}}function lt(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please enter quantity "),t.k0s())}function dt(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Quantity must be at least 1 "),t.k0s())}function ct(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please enter your serial number "),t.k0s())}function mt(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please enter quantity "),t.k0s())}function pt(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Quantity must be at least 1 "),t.k0s())}function ft(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please enter your serial number "),t.k0s())}function ut(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please choose your date of purchase "),t.k0s())}function gt(o,r){1&o&&(t.j41(0,"mat-hint",54),t.EFF(1," Please enter your reason "),t.k0s())}
1function ht(o,r){1&o&&(t.j41(0,"div",87)(1,"ion-row")(2,"ion-col")(3,"ion-label"),t.EFF(4,"Proof of Purchase"),t.k0s(),t.j41(5,"div",88)(6,"ui-file-upload-button",89),t.nrm(7,"ion-icon",90),t.EFF(8," Upload File "),t.k0s()()()()())}function bt(o,r){if(1&o&&(t.qex(0),t.nrm(1,"ion-icon",96),t.j41(2,"span",97),t.EFF(3,"File name:"),t.k0s(),t.j41(4,"span",98),t.EFF(5),t.k0s(),t.bVm()),2&o){const e=t.XpG(2);t.R7$(4),t.Y8G("ngStyle",t.eq3(2,F,e.defaultFormContentStyle.color)),t.R7$(),t.JRh(e.applicationForm.controls.proofOfFaultAttachment.value.name)}}function Ft(o,r){if(1&o&&(t.nrm(0,"ion-icon",96),t.j41(1,"span",99),t.EFF(2,"No File Chosen"),t.k0s()),2&o){const e=t.XpG(2);t.R7$(),t.Y8G("ngStyle",t.eq3(1,F,e.defaultFormContentStyle.color))}}function Ct(o,r){if(1&o){const e=t.RV6();t.j41(0,"div",87)(1,"ion-row")(2,"ion-col")(3,"ion-label"),t.EFF(4),t.j41(5,"ion-text",91),t.EFF(6,"*"),t.k0s()(),t.j41(7,"div",88)(8,"input",92,1),t.bIt("change",function(n){t.eBV(e);const d=t.XpG();return t.Njj(d.onUploadFile(n))}),t.k0s(),t.j41(10,"button",93),t.bIt("click",function(){t.eBV(e);const n=t.sdS(9);return t.Njj(n.click())}),t.nrm(11,"ion-icon",90),t.EFF(12," Choose File "),t.k0s(),t.j41(13,"div",94),t.DNE(14,bt,6,4,"ng-container",95)(15,Ft,3,3,"ng-template",null,2,t.C5r),t.k0s()()()()()}if(2&o){const e=t.sdS(16),i=t.XpG();t.R7$(4),t.JRh(i.attachmentLabel),t.R7$(10),t.Y8G("ngIf",i.applicationForm.controls.proofOfFaultAttachment.value)("ngIfElse",e)}}let Pt=(()=>{class o{constructor(e,i,n,d,c){this.store=e,this.actions$=i,this.formBuilder=n,this.modalController=d,this.cd=c,this.defaultFormContentStyle={color:"black",background:"white"},this.defaultButtonStyle={background:"black",color:"white"},this.submitButtonStyle={background:"linear-gradient(135deg, #3498db, #2980b9)",color:"white",padding:"1rem 2.5rem",fontSize:"16px",fontWeight:"600",borderRadius:"12px",boxShadow:"0 4px 6px rgba(52, 152, 219, 0.2)",border:"none",transition:"all 0.3s ease",display:"flex",alignItems:"center",gap:"0.75rem"},this.defaultFieldsToHide={address:!1,country:!1,state:!1,postCode:!1,city:!1,proofOfPurchase:!1,proofOfFault:!1},this.profileName=null,this.profileEmail=null,this.profilePhoneNumber=null,this.attachmentLabel="Proof of Fault (image/video)",this.entityGuid=null,this.addressInputMode="manual",this.showAddressSelection=!1,this.selectedAddressDisplay=null,this.profileName$=this.store.select(g.o.selectFullName).subscribe(s=>this.profileName=s),this.profileEmail$=this.store.select(g.o.selectEmail).subscribe(s=>this.profileEmail=s),this.profilePhoneNumber$=this.store.select(g.o.selectPhoneNumber).subscribe(s=>this.profilePhoneNumber=s),this.applicationForm=this.formBuilder.group({profileName:[this.profileName,[l.k0.required]],profileEmail:[this.profileEmail,[l.k0.required]],profilePhoneNo:[this.profilePhoneNumber,[l.k0.required]],address:[null],country:[null],state:[null],postCode:[null],city:[null],selectedSavedAddress:[null],dropDownSelected:[null,[l.k0.required]],quantity:[1,[l.k0.required,l.k0.min(1)]],date:["",[l.k0.required]],serialNumber:[null],reasonDesc:[null,[l.k0.required]],proofOfPurchaseAttachment:[null],proofOfFaultAttachment:[null]}),this.formValueChanges=this.applicationForm.valueChanges.subscribe(s=>this.cd.detectChanges()),this.getOptionValue=s=>s,this.getOptionKey=s=>s.itemName,this.getAddressOptionValue=s=>s,this.getAddressOptionLabel=s=>s?`${s.addressName} - ${s.receiverName} (${this.getAddressTypeLabel(s.code)})`:""}openModal(e,i){var n=this;return(0,k.A)(function*(){const d=yield n.modalController.create({component:x.g,componentProps:{identifier:e,patch:i,backgroundColor:"white",color:"black"},cssClass:"centered-modal-class"});yield d.present(),d.onDidDismiss().then(c=>{(0,m.uJ)(c.data)||"Choose Date of Purchase"!==c.data.identifier||n.applicationForm.patchValue({date:j()(c.data.value).format(w.cg.STANDARD_YYYY_MM_DD)})})})()}ngOnInit(){this.initWidget(),this.initAddressSystem()}initAddressSystem(){this.store.select($.D.Z5).subscribe(e=>{e&&(this.entityGuid=e,this.store.dispatch(T.y.loadAddressInit({entityGuid:e})))}),this.savedAddresses$=this.store.select(A.v.Ub),this.savedAddresses$.subscribe(e=>{if(console.log("Available addresses:",e),e&&e.length>0&&!this.selectedAddressDisplay){const i=this.findDefaultAddress(e);i&&(console.log("Auto-selecting default address:",i),this.autoSelectDefaultAddress(i))}}),this.applicationForm.get("selectedSavedAddress")?.valueChanges.subscribe(e=>{console.log("Address selection changed:",e),e&&this.showAddressSelection&&this.onAddressSelected(e)})}findDefaultAddress(e){let i=e.find(n=>n.defaultAddressStatus&&n.code===h.iY.SHIPPING_ADDRESS);
1return i||(i=e.find(n=>n.defaultAddressStatus)),i||(i=e.find(n=>n.code===h.iY.SHIPPING_ADDRESS)),!i&&e.length>0&&(i=e[0]),i||null}autoSelectDefaultAddress(e){const i=this.getFullAddress(e);this.applicationForm.patchValue({address:i,country:e.country,state:e.state,postCode:e.postalCode,city:e.city,selectedSavedAddress:e}),this.selectedAddressDisplay=e,this.addressInputMode="manual",this.showAddressSelection=!1,console.log("Default address auto-populated:",i),this.cd.detectChanges()}initWidget(){this.widgetPlaceHolderConfig?.param&&(this.widgetPlaceHolderConfigParams=this.widgetPlaceHolderConfig.param,this.attachmentLabel=this.widgetPlaceHolderConfigParams.attachmentLabel??this.attachmentLabel,this.setFormContentStyle(this.widgetPlaceHolderConfigParams?.formContentStyle),this.setButtonStyle(this.widgetPlaceHolderConfigParams?.buttonStyle),this.setFieldsToHide(this.widgetPlaceHolderConfigParams?.fieldsToHide),this.widgetPlaceHolderConfigParams.labelHdrGuids&&(this.store.dispatch(I.RK.loadProductDetailsByLabelHdrInit({labelHdrGuids:this.widgetPlaceHolderConfigParams.labelHdrGuids})),this.ecomsyncItemProductStream$=this.store.select(N.Y3.selectEcomsyncProductBylabelHdr(this.widgetPlaceHolderConfigParams.labelHdrGuids)).pipe((0,D.T)(e=>e.map(i=>({itemGuid:i.getGuid(),itemCode:i.getCode(),itemName:i.getName()}))))))}onUploadFile(e){0!=e.target.files.length&&this.applicationForm.patchValue({proofOfFaultAttachment:e.target.files[0]})}onAddressInputModeChange(){"manual"===this.addressInputMode?(this.applicationForm.patchValue({selectedSavedAddress:null}),this.selectedAddressDisplay=null):"select"===this.addressInputMode&&this.applicationForm.patchValue({address:null,country:null,state:null,postCode:null,city:null}),this.cd.detectChanges()}toggleAddressSelection(){this.showAddressSelection=!this.showAddressSelection,this.showAddressSelection?this.addressInputMode="select":(this.addressInputMode="manual",this.selectedAddressDisplay||this.applicationForm.patchValue({selectedSavedAddress:null})),this.cd.detectChanges()}onAddressSelected(e){if(e){this.selectedAddressDisplay=e;const i=this.getFullAddress(e);this.applicationForm.patchValue({address:i,country:e.country,state:e.state,postCode:e.postalCode,city:e.city}),console.log("Address selected:",e),console.log("Form updated with:",i),this.cd.detectChanges()}}getAddressTypeLabel(e){const i=h.RX.find(n=>n.value===e);return i?i.viewValue:e}getFullAddress(e){return e?`${[e.address_line_1,e.address_line_2,e.address_line_3,e.address_line_4,e.address_line_5].filter(n=>n&&n.trim()).join(" ")}, ${e.postalCode} ${e.city}, ${e.state}, ${e.country}`.trim():""}submitForm(){if(this.formValid()){let e={};e="select"===this.addressInputMode&&this.selectedAddressDisplay?{address:this.getFullAddress(this.selectedAddressDisplay),country:this.selectedAddressDisplay.country,state:this.selectedAddressDisplay.state,postCode:this.selectedAddressDisplay.postalCode,city:this.selectedAddressDisplay.city}:{address:this.applicationForm.value?.address,country:this.applicationForm.value?.country,state:this.applicationForm.value?.state,postCode:this.applicationForm.value?.postCode,city:this.applicationForm.value?.city};const i={profileName:this.applicationForm.value.profileName,profileEmail:this.applicationForm.value.profileEmail,profilePhoneNo:this.applicationForm.value.profilePhoneNo,...e,productName:this.applicationForm.value.dropDownSelected?.itemName,productCode:this.applicationForm.value.dropDownSelected?.itemCode,productGuid:this.applicationForm.value.dropDownSelected?.itemGuid,quantity:this.applicationForm.value.quantity,purchaseDate:new Date(this.applicationForm.value.date),serialNumber:this.applicationForm.value.serialNumber,reasonDesc:this.applicationForm.value.reasonDesc},n=this.applicationForm.value?.proofOfPurchaseAttachment?.file,d=this.applicationForm.value?.proofOfFaultAttachment;let c={form:i};return(0,m.kZ)(n)||(c={...c,proofOfPurchase:n}),(0,m.kZ)(d)||(c={...c,proofOfFault:d}),this.store.dispatch(S.k.rmaFormSubmitInit(c)),this.applicationForm.reset()}this.store.dispatch(R.$b.showWebsiteMessage({message:"Please fill up all the fields"}))}proofOfFaultValid(){let e;return!this.defaultFieldsToHide.proofOfFault&&!(0,m.kZ)(this.applicationForm.value.proofOfFaultAttachment)&&(e=!0),this.defaultFieldsToHide.proofOfFault&&(0,m.kZ)(this.applicationForm.value.proofOfFaultAttachment)&&(e=!0),e}formValid(){return this.applicationForm.valid&&this.proofOfFaultValid()}
1setFormContentStyle(e){const i=e?.color,n=e?.background;(0,m.kZ)(i)||(this.defaultFormContentStyle.color=i),(0,m.kZ)(n)||(this.defaultFormContentStyle.background=n)}setButtonStyle(e){const i=e?.color,n=e?.background;(0,m.kZ)(i)||(this.defaultButtonStyle.color=i),(0,m.kZ)(n)||(this.defaultButtonStyle.background=n)}setFieldsToHide(e){const i=e?.address,n=e?.city,d=e?.country,c=e?.state,s=e?.postCode,P=e?.proofOfFault,_=e?.proofOfPurchase;(0,m.kZ)(i)||(this.defaultFieldsToHide.address=i),(0,m.kZ)(n)||(this.defaultFieldsToHide.city=n),(0,m.kZ)(d)||(this.defaultFieldsToHide.country=d),(0,m.kZ)(c)||(this.defaultFieldsToHide.state=c),(0,m.kZ)(s)||(this.defaultFieldsToHide.postCode=s),(0,m.kZ)(P)||(this.defaultFieldsToHide.proofOfFault=P),(0,m.kZ)(_)||(this.defaultFieldsToHide.proofOfPurchase=_)}ngOnDestroy(){this.formValueChanges?.unsubscribe(),this.profileName$?.unsubscribe(),this.profileEmail$?.unsubscribe(),this.profilePhoneNumber$?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||o)(t.rXU(G.il),t.rXU(Y.En),t.rXU(l.ze),t.rXU(p.W3),t.rXU(t.gRc))}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["app-rma-form-widget"]],inputs:{widgetPlaceHolderConfig:"widgetPlaceHolderConfig"},standalone:!1,decls:187,vars:46,consts:[["snPicker",""],["fileInput",""],["hasNoValue",""],[1,"contentSection"],[1,"content-section"],[1,"grid"],[1,"bottom-border"],[1,"main-header",3,"ngStyle"],[1,"pt-2","input-container"],["size","12"],[1,"full-width",3,"formGroup"],[1,"info-section"],[1,"section-title","web-display"],["name","person-outline"],[1,"section-title","mobile-display"],[1,"web-display"],["size","6",1,"p-3"],["appearance","outline"],["formControlName","profileName","required","","matInput","",1,"full-width"],["matSuffix",""],["class","text-danger font-14",4,"ngIf"],["formControlName","profileEmail","required","","matInput","",1,"full-width"],[1,"mobile-display"],["appearance","outline",1,"ml-2"],["formControlName","profilePhoneNo","required","","matInput","",1,"full-width"],["class","address-section",4,"ngIf"],["name","cube-outline"],["size","6"],[1,"pt-1"],[3,"selectedFormCtrl","options","placeholder","showSearchbar","searchPlaceholder","noDataFoundLabel","optionValueSelector","optionLabelSelector"],[1,"pt-1","ml-2"],["appearance","outline",1,"full-width"],["formControlName","quantity","matInput","","type","number","min","1","placeholder","Quantity *"],["fxFlex.gt-sm","50","fxFlex.gt-xs","50","fxFlex","100","appearance","outline",1,"p-10"],["matInput","","autocomplete","off","readonly","",3,"click","matDatepicker","formControl"],["matSuffix","",3,"for"],["touchUi","true"],["formControlName","serialNumber","matInput","","placeholder","Serial Number *"],[1,"custom-sizing","ml-2"],[1,"uiDropDown",3,"selectedFormCtrl","options","placeholder","showSearchbar","searchPlaceholder","noDataFoundLabel","optionValueSelector","optionLabelSelector"],["formControlName","serialNumber","matInput","",1,"full-width"],["formControlName","date","matInput","","required","","type","date","min","1910-01-01","max","2020-01-31",1,"full-width",3,"click"],[1,"reason-section"],["name","alert-circle-outline"],["formControlName","reasonDesc","required","","matInput","","rows","4",1,"full-width"],[1,"attachments-section"],["name","document-attach-outline"],["class","attachment-item",4,"ngIf"],[1,"submit-container"],["size","9",1,"web-display"],["size","12","size-md","3"],[1,"custom-sizing"],[1,"submit-button",3,"click","disabled","ngStyle"],["name","send-outline"],[1,"text-danger","font-14"],[1,"address-section"],["name","location-outline"],[1,"mb-2"],[1,"address-input-container"],["appearance","outline",1,"ml-2","address-field"],["formControlName","address","matInput","",1,"full-width",3,"readonly"],["type","button","class","select-address-btn",3,"active","click",4,"ngIf"],["class","default-address-indicator",4,"ngIf"],["class","address-selection-
1panel",4,"ngIf"],["class","web-display",4,"ngIf"],["class","mobile-display",4,"ngIf"],["type","button",1,"select-address-btn",3,"click"],["name","location"],[1,"default-address-indicator"],["name","checkmark-circle","color","success"],["type","button",1,"change-address-btn",3,"click"],["name","swap-horizontal"],[1,"address-selection-panel"],[1,"selection-header"],["class","selected-address-preview",4,"ngIf"],[1,"selected-address-preview"],[1,"preview-header"],[1,"preview-card"],[1,"preview-title"],["color","primary"],[1,"preview-details"],["name","person"],["name","call"],["formControlName","postCode","matInput","",1,"full-width"],["formControlName","city","matInput","",1,"full-width"],["formControlName","country","matInput","",1,"full-width"],["formControlName","state","matInput","",1,"full-width"],[1,"attachment-item"],[1,"file-upload-container"],["formControlName","proofOfPurchaseAttachment"],["name","cloud-upload-outline"],["color","danger"],["hidden","","accept","video/mp4,video/x-m4v,video/*,image/*","type","file",3,"change"],["type","button",1,"file-upload-btn",3,"click"],[1,"file-info"],[4,"ngIf","ngIfElse"],["name","document-outline"],[1,"file-label"],[1,"file-name",3,"ngStyle"],[1,"no-file",3,"ngStyle"]],template:function(i,n){if(1&i){const d=t.RV6();t.j41(0,"div",3)(1,"div",4)(2,"ion-grid",5)(3,"ion-row",6)(4,"ion-col")(5,"h1",7),t.EFF(6,"RMA Request Application"),t.k0s()()(),t.j41(7,"ion-row",8)(8,"ion-col",9)(9,"form",10)(10,"div",11)(11,"div",12),t.nrm(12,"ion-icon",13),t.EFF(13," Personal Information "),t.k0s(),t.j41(14,"div",14),t.nrm(15,"ion-icon",13),t.EFF(16," Personal Information "),t.k0s(),t.j41(17,"div",15)(18,"ion-row")(19,"ion-col",16)(20,"mat-form-field",17)(21,"mat-label"),t.EFF(22,"Name"),t.k0s(),t.nrm(23,"input",18),t.j41(24,"mat-icon",19),t.EFF(25,"person"),t.k0s(),t.DNE(26,L,2,0,"mat-hint",20),t.k0s()(),t.j41(27,"ion-col",16)(28,"mat-form-field",17)(29,"mat-label"),t.EFF(30,"Email"),t.k0s(),t.nrm(31,"input",21),t.j41(32,"mat-icon",19),t.EFF(33,"mail"),t.k0s(),t.DNE(34,B,2,0,"mat-hint",20),t.k0s()()()(),t.j41(35,"div",22)(36,"ion-row")(37,"ion-col",9)(38,"mat-form-field",23)(39,"mat-label"),t.EFF(40,"Name"),t.k0s(),t.nrm(41,"input",18),t.j41(42,"mat-icon",19),t.EFF(43,"person"),t.k0s(),t.DNE(44,X,2,0,"mat-hint",20),t.k0s()()()(),t.j41(45,"div",22)(46,"ion-row")(47,"ion-col",9)(48,"mat-form-field",23)(49,"mat-label"),t.EFF(50,"Email"),t.k0s(),t.nrm(51,"input",21),t.DNE(52,Z,2,0,"mat-hint",20),t.k0s()()()(),t.j41(53,"div",15)(54,"ion-row")(55,"ion-col",16)(56,"mat-form-field",17)(57,"mat-label"),t.EFF(58,"Phone Number"),t.k0s(),t.nrm(59,"input",24),t.j41(60,"mat-icon",19),t.EFF(61,"call"),t.k0s(),t.DNE(62,U,2,0,"mat-hint",20),t.k0s()()()(),t.j41(63,"div",22)(64,"ion-row")(65,"ion-col",9)(66,"mat-form-field",23)(67,"mat-label"),t.EFF(68,"Phone Number"),t.k0s(),t.nrm(69,"input",24),t.j41(70,"mat-icon",19),t.EFF(71,"call"),t.k0s(),t.DNE(72,q,2,0,"mat-hint",20),t.k0s()()()()(),t.DNE(73,st,27,14,"div",25),t.j41(74,"div",11)(75,"div",12),t.nrm(76,"ion-icon",26),t.EFF(77," Product Information "),t.k0s(),t.j41(78,"div",14),t.nrm(79,"ion-icon",26),t.EFF(80," Product Information "),t.k0s(),t.j41(81,"div",15)(82,"ion-row")(83,"ion-col",27)(84,"div",28),t.nrm(85,"ui-drop-down-input",29),t.nI1(86,"async"),t.k0s()(),t.j41(87,"ion-col",27)(88,"div",30)(89,"mat-form-field",31)(90,"mat-label"),t.EFF(91,"Quantity"),t.k0s(),t.nrm(92,"input",32),t.j41(93,"mat-icon",19),t.EFF(94,"inventory_2"),t.k0s(),t.DNE(95,lt,2,0,"mat-hint",20)(96,dt,2,0,"mat-hint",20),t.k0s()()()(),t.j41(97,"ion-row")(98,"ion-col",27)(99,"div",28)(100,"mat-form-field",33)(101,"mat-label"),t.EFF(102,"Purchase Date"),t.k0s(),t.j41(103,"input",34),t.bIt("click",function(){t.eBV(d);const s=t.sdS(110);return t.Njj(s.open())}),t.k0s(),t.j41(104,"mat-error"),t.EFF(105,"Purchase Date is "),t.j41(106,"strong"),t.EFF(107,"not valid"),t.k0s()(),t.nrm(108,"mat-datepicker-toggle",35)(109,"mat-datepicker",36,0),t.k0s()()(),t.j41(111,"ion-col",27)(112,"div",30)(113,"mat-form-field",31)(114,"mat-label"),t.EFF(115,"Serial Number"),t.k0s(),t.nrm(116,"input",37),t.j41(117,"mat-icon",19),t.EFF(118,"barcode"),t.k0s(),t.DNE(119,ct,2,0,"mat-hint",20),t.k0s()()()()(),t.j41(120,"div",22)(121,"ion-row")(122,"ion-col",9)(123,"div",38),t.nrm(124,"ui-drop-down-input",39),t.nI1(125,"async"),t.k0s()()(),t.j41(126,"ion-row")(127,"ion-col",9)(128,"div",30)(129,"mat-form-field",31)(130,"mat-label"),t.EFF(131,"Quantity"),t.k0s(),t.nrm(132,"input",32),t.j41(133,"mat-icon",19),t.EFF(134,"inventory_2"),t.k0s(),t.DNE(135,mt,2,0,"mat-hint",20)(136,pt,2,0,"mat-hint",20),t.k0s()()()()(),t.j41(137,"div",22)(138,"ion-row")(139,"ion-col",9)(140,"mat-form-field",23)(141,"mat-label"),t.EFF(142,"Serial Number"),t.k0s(),t.nrm(143,"input",40),t.j41(144,"mat-icon",19),t.EFF(145,"barcode"),t.k0s(),t.DNE(146,ft,2,0,"mat-hint",20),t.k0s()()()(),t.j41(147,"div",22)(148,"ion-row")(149,"ion-col",9)(150,"mat-form-field",23)(151,"mat-label"),t.EFF(152,"Purchase Date"),t.k0s(),t.j41(153,"input",41),t.bIt("click",function(){return t.eBV(d),t.Njj(n.openModal("Choose Date of Purchase",n.applicationForm.controls.date.value))}),t.k0s(),t.j41(154,"mat-icon",19),t.EFF(155,"calendar"),t.k0s(),t.DNE(156,ut,2,0,"mat-hint",20),t.k0s()()()()(),t.j41(157,"div",42)(158,"div",12),t.nrm(159,"ion-icon",43),t.EFF(160," Reason for Return "),t.k0s(),t.j41(161,"div",14),t.nrm(162,"ion-icon",43),t.EFF(163," Reason for Return "),t.k0s(),t.j41(164,"ion-row")(165,"ion-col")(166,"mat-form-field",17)(167,"mat-label"),t.EFF(168,"Reason"),t.k0s(),t.nrm(169,"textarea",44),t.DNE(170,gt,2,0,"mat-hint",20),t.k0s()()()(),t.j41(171,"div",45)(172,"div",12),t.nrm(173,"ion-icon",46),t.EFF(174," Supporting Documents "),t.k0s(),t.j41(175,"div",14),t.nrm(176,"ion-icon",46),t.EFF(177," Supporting Documents "),t.k0s(),t.DNE(178,ht,9,0,"div",47)(179,Ct,17,3,"div",47),t.k0s(),t.j41(180,"ion-row",48),t.nrm(181,"ion-col",49),t.j41(182,"ion-col",50)(183,"div",51)(184,"button",52),t.bIt("click",function(){return t.eBV(d),t.Njj(n.submitForm(
1))}),t.nrm(185,"ion-icon",53),t.EFF(186," Submit Request "),t.k0s()()()()()()()()()()}if(2&i){const d=t.sdS(110);t.R7$(5),t.Y8G("ngStyle",t.eq3(44,F,n.defaultFormContentStyle.color)),t.R7$(4),t.Y8G("formGroup",n.applicationForm),t.R7$(17),t.Y8G("ngIf",n.applicationForm.controls.profileName.hasError("required")&&n.applicationForm.controls.profileName.touched),t.R7$(8),t.Y8G("ngIf",n.applicationForm.controls.profileEmail.hasError("required")&&n.applicationForm.controls.profileEmail.touched),t.R7$(10),t.Y8G("ngIf",n.applicationForm.controls.profileName.hasError("required")&&n.applicationForm.controls.profileName.touched),t.R7$(8),t.Y8G("ngIf",n.applicationForm.controls.profileEmail.hasError("required")&&n.applicationForm.controls.profileEmail.touched),t.R7$(10),t.Y8G("ngIf",n.applicationForm.controls.profilePhoneNo.hasError("required")&&n.applicationForm.controls.profilePhoneNo.touched),t.R7$(10),t.Y8G("ngIf",n.applicationForm.controls.profilePhoneNo.hasError("required")&&n.applicationForm.controls.profilePhoneNo.touched),t.R7$(),t.Y8G("ngIf",!n.defaultFieldsToHide.address),t.R7$(12),t.Y8G("selectedFormCtrl",n.applicationForm.get("dropDownSelected"))("options",t.bMT(86,40,n.ecomsyncItemProductStream$))("placeholder","Choose a product *")("showSearchbar",!0)("searchPlaceholder","Search item")("noDataFoundLabel","No item found")("optionValueSelector",n.getOptionValue)("optionLabelSelector",n.getOptionKey),t.R7$(10),t.Y8G("ngIf",n.applicationForm.controls.quantity.hasError("required")&&n.applicationForm.controls.quantity.touched),t.R7$(),t.Y8G("ngIf",n.applicationForm.controls.quantity.hasError("min")&&n.applicationForm.controls.quantity.touched),t.R7$(7),t.Y8G("matDatepicker",d)("formControl",n.applicationForm.controls.date),t.R7$(5),t.Y8G("for",d),t.R7$(11),t.Y8G("ngIf",n.applicationForm.controls.serialNumber.hasError("required")&&n.applicationForm.controls.serialNumber.touched),t.R7$(5),t.Y8G("selectedFormCtrl",n.applicationForm.get("dropDownSelected"))("options",t.bMT(125,42,n.ecomsyncItemProductStream$))("placeholder","Select a product..")("showSearchbar",!0)("searchPlaceholder","Search item")("noDataFoundLabel","No item found")("optionValueSelector",n.getOptionValue)("optionLabelSelector",n.getOptionKey),t.R7$(11),t.Y8G("ngIf",n.applicationForm.controls.quantity.hasError("required")&&n.applicationForm.controls.quantity.touched),t.R7$(),t.Y8G("ngIf",n.applicationForm.controls.quantity.hasError("min")&&n.applicationForm.controls.quantity.touched),t.R7$(10),t.Y8G("ngIf",n.applicationForm.controls.serialNumber.hasError("required")&&n.applicationForm.controls.serialNumber.touched),t.R7$(10),t.Y8G("ngIf",n.applicationForm.controls.date.hasError("required")&&n.applicationForm.controls.date.touched),t.R7$(14),t.Y8G("ngIf",n.applicationForm.controls.reasonDesc.hasError("required")&&n.applicationForm.controls.reasonDesc.touched),t.R7$(8),t.Y8G("ngIf",!n.defaultFieldsToHide.proofOfPurchase),t.R7$(),t.Y8G("ngIf",!n.defaultFieldsToHide.proofOfFault),t.R7$(5),t.Y8G("disabled",!n.formValid())("ngStyle",n.submitButtonStyle)}},dependencies:[p.In,p.hU,p.lO,p.iq,p.he,p.ln,p.IO,u.bT,u.B3,b.Vh,b.bZ,b.bU,f.j,f.M,f.c,f.b,f.g,W.An,H.fg,l.qT,l.me,l.Q0,l.BC,l.cb,l.YS,l.VZ,l.l_,l.j4,l.JD,V.v,z.d,u.Jj],styles:['.contentSection[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;width:100%;padding:2rem 0;font-family:Poppins,sans-serif;color:#2c3e50}.content-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%!important;margin:0!important}form[_ngcontent-%COMP%]{background-color:#fff;border-radius:16px;padding:2.5rem;box-shadow:0 10px 30px #0000000d;transition:all .3s ease}form[_ngcontent-%COMP%]:hover{box-shadow:0 15px 35px #0000001a}.main-header[_ngcontent-%COMP%]{font-size:32px;font-weight:700;margin-bottom:1.5rem;color:#fff;letter-spacing:-.5px}.input-container[_ngcontent-%COMP%]{font-size:16px}.input-container[_ngcontent-%COMP%] .input-label[_ngcontent-%COMP%]{margin-top:1.5rem;font-weight:500}.input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:1rem}.input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{margin:0}.input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-outline{background:#f8f9fa}.input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-flex{padding:.75em 1em}.input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-icon{color:#95a5a6;margin-right:.5rem}.input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] input, .input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] textarea{font-weight:400;font-size:15px}.input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-label{color:#7f8c8d}.input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-outline-thick{color:#3498db}.input-container[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{font-weight:500;margin-bottom:.75rem;display:block;color:#2c3e50}.full-width[_ngcontent-%COMP%], .custom-sizing[_ngcontent-%COMP%]{width:100%}.bottom-border[_ngcontent-%COMP%]{border-bottom-style:solid;border-width:1px;border-color:#e0e0e0;margin-bottom:1.5rem}.text-danger[_ngcontent-%COMP%]{color:#f44336}.font-14[_ngcontent-%COMP%]{font-size:14px}.mt-3[_ngcontent-%COMP%]{margin-top:1rem}.mt-4[_ngcontent-%COMP%]{margin-top:1.5rem}.mb-2[_ngcontent-%COMP%]{margin-bottom:.75rem}.pt-1[_ngcontent-%COMP%]{padding-top:.25rem}.pt-2[_ngcontent-%COMP%]{padding-top:.5rem}.ml-1[_ngcontent-%COMP%]{margin-left:.25rem}.ml-2[_ngcontent-%COMP%]{margin-left:.5rem}ui-file-upload-button[_ngcontent-%COMP%], button[mat-raised-button][_ngcontent-%COMP%]{display:inline-block;transition:all .3s ease;border-radius:4px}ui-file-upload-button[_ngcontent-%COMP%]:hover, button[mat-raised-button][_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}ui-drop-down-input[_ngcontent-%COMP%]{width:100%;margin-bottom:1rem}.section-title[_ngcontent-%COMP%]{font-size:20px;font-weight:600;color:#2c3e50;margin:2rem 0 1.5rem;padding-bottom:.75rem;border-bottom:2px solid #e9ecef;letter-spacing:-.3px;display:flex;align-items:center;gap:.75rem}.section-title[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:24px;color:#3498db;margin-right:.5rem;vertical-align:middle}.info-section[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:1.5rem;padding:2rem;background:#f8f9fa;border-radius:12px;transition:all .3s ease;box-shadow:0 2px 8px #0000000d}.info-section[_ngcontent-%COMP%]:hover{background:#f1f3f5;box-shadow:0 4px 12px #00000014}.info-section[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin-bottom:1.5rem}.info-section[_ngcontent-%COMP%] ion-row[_ngcontent-%COMP%]{margin-bottom:.5rem}.info-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2rem}.info-section[_ngcontent-%COMP%] ui-drop-down-input[_ngcontent-%COMP%]{margin-bottom:1.5rem}
1.info-section[_ngcontent-%COMP%]:has(.address-selection-panel){margin-bottom:2.5rem}.address-section[_ngcontent-%COMP%], .reason-section[_ngcontent-%COMP%], .attachments-section[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:2.5rem;padding:2rem;background:#f8f9fa;border-radius:12px;transition:all .3s ease;box-shadow:0 2px 8px #0000000d}.address-section[_ngcontent-%COMP%]:hover, .reason-section[_ngcontent-%COMP%]:hover, .attachments-section[_ngcontent-%COMP%]:hover{background:#f1f3f5;box-shadow:0 4px 12px #00000014}.address-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%], .reason-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%], .attachments-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{margin-top:0;margin-bottom:2rem}.address-input-container[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.75rem;position:relative}.address-input-container[_ngcontent-%COMP%] .address-field[_ngcontent-%COMP%]{flex:1;margin-bottom:0}.address-input-container[_ngcontent-%COMP%] .select-address-btn[_ngcontent-%COMP%]{padding:.75rem 1rem;background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#6b7280;font-size:.875rem;font-weight:500;display:flex;align-items:center;gap:.5rem;cursor:pointer;transition:all .2s ease;white-space:nowrap;margin-top:.25rem;height:-moz-fit-content;height:fit-content}.address-input-container[_ngcontent-%COMP%] .select-address-btn[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:1rem}.address-input-container[_ngcontent-%COMP%] .select-address-btn[_ngcontent-%COMP%]:hover{border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.address-input-container[_ngcontent-%COMP%] .select-address-btn.active[_ngcontent-%COMP%]{background:#3b82f6;border-color:#3b82f6;color:#fff}.address-input-container[_ngcontent-%COMP%] .select-address-btn.active[_ngcontent-%COMP%]:hover{background:#2563eb;border-color:#2563eb;color:#fff}.default-address-indicator[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;margin-bottom:1.5rem;padding:.75rem 1rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;font-size:.875rem;box-shadow:0 1px 3px #0000000d}.default-address-indicator[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:1rem;color:#059669;flex-shrink:0}.default-address-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex:1;color:#047857;line-height:1.4}.default-address-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#065f46;font-weight:600}.default-address-indicator[_ngcontent-%COMP%] .change-address-btn[_ngcontent-%COMP%]{padding:.375rem .75rem;background:#fff;border:1px solid #bbf7d0;border-radius:6px;color:#047857;font-size:.75rem;font-weight:500;display:flex;align-items:center;gap:.25rem;cursor:pointer;transition:all .2s ease;flex-shrink:0}.default-address-indicator[_ngcontent-%COMP%] .change-address-btn[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:.875rem;color:#047857}.default-address-indicator[_ngcontent-%COMP%] .change-address-btn[_ngcontent-%COMP%]:hover{background:#dcfce7;border-color:#86efac;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.default-address-indicator[_ngcontent-%COMP%] .change-address-btn[_ngcontent-%COMP%]:active{transform:translateY(0);box-shadow:0 1px 2px #0000001a}
1.address-selection-panel[_ngcontent-%COMP%]{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem;margin-top:1rem;margin-bottom:1.5rem;box-shadow:0 1px 3px #0000001a;animation:_ngcontent-%COMP%_slideDown .3s ease-out}.address-selection-panel[_ngcontent-%COMP%] .selection-header[_ngcontent-%COMP%]{margin-bottom:1rem}.address-selection-panel[_ngcontent-%COMP%] .selection-header[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;font-size:.95rem;font-weight:600;color:#374151}.address-selection-panel[_ngcontent-%COMP%] ui-drop-down-input[_ngcontent-%COMP%]{margin-bottom:1rem}@keyframes _ngcontent-%COMP%_slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.selected-address-preview[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:2rem}.selected-address-preview[_ngcontent-%COMP%] .preview-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.selected-address-preview[_ngcontent-%COMP%] .preview-header[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:1.125rem}.selected-address-preview[_ngcontent-%COMP%] .preview-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.875rem;font-weight:600;color:#059669}.selected-address-preview[_ngcontent-%COMP%] .preview-card[_ngcontent-%COMP%]{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:1rem;margin-bottom:1rem}.selected-address-preview[_ngcontent-%COMP%] .preview-card[_ngcontent-%COMP%] .preview-title[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.selected-address-preview[_ngcontent-%COMP%] .preview-card[_ngcontent-%COMP%] .preview-title[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#065f46;font-size:.95rem}.selected-address-preview[_ngcontent-%COMP%] .preview-card[_ngcontent-%COMP%] .preview-title[_ngcontent-%COMP%] ion-badge[_ngcontent-%COMP%]{font-size:.75rem}.selected-address-preview[_ngcontent-%COMP%] .preview-card[_ngcontent-%COMP%] .preview-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:.25rem 0;font-size:.875rem;color:#047857;display:flex;align-items:center;gap:.5rem}.selected-address-preview[_ngcontent-%COMP%] .preview-card[_ngcontent-%COMP%] .preview-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:.875rem;color:#059669}.attachment-item[_ngcontent-%COMP%]{margin-bottom:1.5rem}.file-upload-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:.75rem;background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px #0000000d;transition:all .3s ease}.file-upload-container[_ngcontent-%COMP%]:hover{box-shadow:0 4px 12px #0000001a}.file-upload-btn[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%;padding:1rem 2.5rem;font-size:16px;font-weight:600;border-radius:12px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.75rem;transition:all .3s ease;background:linear-gradient(135deg,#3498db,#2980b9);color:#fff}.file-upload-btn[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#ffffff1a,#fff0);transition:all .3s ease}.file-upload-btn[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:20px;transition:all .3s ease}.file-upload-btn[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 6px 12px #3498db4d}.file-upload-btn[_ngcontent-%COMP%]:hover:before{background:linear-gradient(135deg,#fff3,#fff0)}.file-upload-btn[_ngcontent-%COMP%]:hover ion-icon[_ngcontent-%COMP%]{transform:translate(4px)}.file-upload-btn[_ngcontent-%COMP%]:active{transform:translateY(0);box-shadow:0 4px 6px #3498db33}.file-upload-btn[_ngcontent-%COMP%]:disabled{background:#bdc3c7!important;cursor:not-allowed;transform:none;box-shadow:none}.file-upload-btn[_ngcontent-%COMP%]:disabled:before{display:none}.file-upload-btn[_ngcontent-%COMP%]:disabled ion-icon[_ngcontent-%COMP%]{transform:none}.file-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#f8f9fa;border-radius:8px;font-size:14px;display:flex;align-items:center;gap:.5rem}.file-info[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{color:#3498db;font-size:18px}.file-label[_ngcontent-%COMP%]{font-weight:500;margin-right:.5rem}
1.file-name[_ngcontent-%COMP%]{font-weight:600}.no-file[_ngcontent-%COMP%]{font-style:italic;opacity:.7}.submit-container[_ngcontent-%COMP%]{margin-top:3rem;margin-bottom:2rem;display:flex;justify-content:flex-end}.submit-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%;padding:1rem 2.5rem;font-size:16px;font-weight:600;border-radius:12px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.75rem;transition:all .3s ease}.submit-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#ffffff1a,#fff0);transition:all .3s ease}.submit-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:20px;transition:all .3s ease}.submit-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 6px 12px #3498db4d}.submit-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]:hover:before{background:linear-gradient(135deg,#fff3,#fff0)}.submit-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]:hover ion-icon[_ngcontent-%COMP%]{transform:translate(4px)}.submit-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]:active{transform:translateY(0);box-shadow:0 4px 6px #3498db33}.submit-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]:disabled{background:#bdc3c7!important;cursor:not-allowed;transform:none;box-shadow:none}.submit-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]:disabled:before{display:none}.submit-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]:disabled ion-icon[_ngcontent-%COMP%]{transform:none}@media screen and (min-width: 769px){.grid[_ngcontent-%COMP%]{width:90%;max-width:1200px;margin:0 auto}.mobile-display[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 768px){.grid[_ngcontent-%COMP%]{width:100%;padding:0 1rem}form[_ngcontent-%COMP%]{padding:1.5rem;border-radius:12px}.main-header[_ngcontent-%COMP%]{font-size:26px;text-align:center;margin-bottom:1.5rem}.section-title[_ngcontent-%COMP%]{font-size:18px;margin:1.5rem 0 1rem}.info-section[_ngcontent-%COMP%]{padding:1.5rem;margin-top:1.5rem;margin-bottom:2rem}.info-section[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin-bottom:1rem}.info-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{margin-bottom:1.5rem}.info-section[_ngcontent-%COMP%] ui-drop-down-input[_ngcontent-%COMP%]{margin-bottom:1rem}.address-section[_ngcontent-%COMP%], .reason-section[_ngcontent-%COMP%], .attachments-section[_ngcontent-%COMP%]{padding:1.5rem;margin-top:1.5rem}.address-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%], .reason-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%], .attachments-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{margin-bottom:1.5rem}.submit-container[_ngcontent-%COMP%]{margin-top:2rem}.submit-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]{width:100%;padding:.875rem 1.5rem;border-radius:8px}.address-section[_ngcontent-%COMP%]{padding:1.5rem;margin-top:1.5rem}.address-section[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin-bottom:1rem}.address-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{margin-bottom:1.5rem}.file-upload-btn[_ngcontent-%COMP%]{width:100%;padding:.875rem 1.5rem;border-radius:8px}.address-input-container[_ngcontent-%COMP%]{flex-direction:column;gap:.75rem}.address-input-container[_ngcontent-%COMP%] .select-address-btn[_ngcontent-%COMP%]{align-self:flex-end;margin-top:0}.default-address-indicator[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;gap:.75rem;margin-bottom:2rem}.default-address-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:100%;padding-right:0}.default-address-indicator[_ngcontent-%COMP%] .change-address-btn[_ngcontent-%COMP%]{align-self:flex-end;margin-top:.25rem}
1.address-selection-panel[_ngcontent-%COMP%]{padding:1rem;margin-bottom:1.5rem}.address-selection-panel[_ngcontent-%COMP%] .selection-header[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:.875rem}.selected-address-preview[_ngcontent-%COMP%]{margin-bottom:2rem}.selected-address-preview[_ngcontent-%COMP%] .preview-card[_ngcontent-%COMP%]{padding:.875rem;margin-bottom:1.5rem}.selected-address-preview[_ngcontent-%COMP%] .preview-card[_ngcontent-%COMP%] .preview-title[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;gap:.5rem}}'],changeDetection:0})}}return o})();var _t=a(81665),Ot=a(56959),Mt=a(21843);let vt=(()=>{class o{static{this.rootComponent=Pt}static{this.\u0275fac=function(i){return new(i||o)}}static{this.\u0275mod=t.$C({type:o})}static{this.\u0275inj=t.G2t({imports:[p.bv,u.MD,O.iI,y.P,_t.L,v.G,M.Hl,l.YN,l.X1,Ot.L,Mt._]})}}return o})()}}]);
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.