1"use strict";(self.webpackChunkDigitalServicesHub=self.webpackChunkDigitalServicesHub||[]).push([[1994],{21994:(jt,C,i)=>{i.r(C),i.d(C,{ImportAnimalSamplesModule:()=>Bt});var p=i(69808),h=i(63151),F=i(93390),J=i(2571),Q=i(75856),D=i(63288),L=i(66893),N=i(5088),t=i(5e3),U=i(40520);let b=(()=>{class n extends N.J{constructor(o){super(o),this.basePath="ImportAnimalSamples"}}return n.\u0275fac=function(o){return new(o||n)(t.LFG(U.eN))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();var x=i(95125),w=i(42909),G=i(57518),c=i(70655),a=i(93075),q=i(89832),z=i(16167),Y=i(73198),T=i(591),R=i(48440),B=i(99147),j=i(96441);class M extends j.f{}var P=i(6579),V=i(76543),E=i(7534),$=i(64383),W=i(14565),d=i(42466);let I=(()=>{class n extends z.H{constructor(o,e,r,l,g,m,u,f,v,_,k){super(m,e,o,r,g,l,v,!0,f,u,_,k),this.apiService=f,this.mapper=_,this.metadataService=k,this.initializeObservables()}initializeObservables(){this.subscribeToImportListOptions(),this.subscribeToImportListChange(),this.subscribeToServiceDetails(),this.subscribeToFieldsOptionsChanges(),this.subscribeToServiceConfiguration(),this.subscribeToMetadata()}getServiceUrlKeyWord(){return"ImportAnimalSamples"}initializeServiceDetailForm(){const o=new M;return o.url=`/services/${this.getServiceUrlKeyWord()}/requestDetails`,o.form=new a.cw({sourceCountry:new a.NI(null,a.kI.required),expectedArrivalDate:new a.NI(null,[(0,Y.uI)(new Date)]),shippingMethod:new a.NI(null,a.kI.required),class:new a.NI(null,a.kI.required),entryPort:new a.NI(null,a.kI.required)}),o.formConsignment=new a.cw({type:new a.NI(null,a.kI.required),countryOfOrigin:new a.NI(null,a.kI.required),measurementUnit:new a.NI(null,a.kI.required),quantity:new a.NI(null,[a.kI.required,a.kI.min(1),a.kI.max(this.maximumQuantity)]),scientificName:new a.N
1I(null),species:new a.NI(null,a.kI.required),breedId:new a.NI(null),testPurpose:new a.NI(null,a.kI.required),testType:new a.NI(null,a.kI.required),description:new a.NI(null),notes:new a.NI(null)}),o.formConsignmentStatus={mode:w.h.NEW},o.flowButtons=this.buildServiceConfigurationFlowButtons(),o.formView=this.createFormView(),o}loadServiceRequest(){return(0,c.mG)(this,void 0,void 0,function*(){const o=this.store.id.toString(),e=yield this.apiService.getRequest(o).toPromise();this.setApplicant(e.Data),this.globalObject.AttachmentsConfiguration.attachments=this.mapper.mapAttachmentsInstances(e.Data.AttachmentDetails),this.store.serviceDetails$.next(this.mapper.mapUltimate(e.Data))})}bindMainFormTransaction(){this.assignForm(this.store.form,this.store.serviceDetails.serviceTransaction),super.loadClassesBySourceCountry({CountryId:this.store.serviceDetails.serviceTransaction.sourceCountry.id,ProcedureId:this.store.serviceConfig.procedureId}),super.loadTypesByClassId({ClassId:this.store.serviceDetails.serviceTransaction.class.id,CountryId:this.store.serviceDetails.serviceTransaction.sourceCountry.id,ProcedureId:this.store.serviceConfig.procedureId}),super.loadPorts({CountryId:this.store.serviceDetails.serviceTransaction.sourceCountry.id,ShipmentMethodId:this.store.serviceDetails.serviceTransaction.shippingMethod.id,CountriesTypes:this.mapper.mapConsignmentItemToCountryTypeDto(this.store.serviceDetails.serviceTransaction.class.id,this.store.serviceDetails.serviceTransaction.importItems)})}createRequestData(){let e=this.fromFormGroup(this.store.form);const r=this.mapper.toDto(e,this.store.serviceDetails.serviceTransaction.importItems);return r.ProcedureInstanceId=this.store.id,r}subscribeToServiceDetails(){const o=this.store,e=new P.s;e.serviceTransaction={},e.serviceTransaction.importItems=[],o.originCountryBanDisclaimers$=new T.X([]),o.serviceDetails$=new T.X(e),o.serviceDetails$.subscribe(r=>this.onServiceDetailsLoad(r))}onServiceDetailsLoad(o){return(0,c.mG)(this,void 0,void 0,function*(){this.isNotInitialized()||(this.store.serviceDetails=o,this.store.importListOptions$.next(this.buildImportListOptions()))})}resetConsignmentForm(){super.resetConsignmentForm(),this.store.originCountryBanDisclaimers$.next([])}startConsignmentEditing(o){super.startConsignmentEditing(o),this.onTypeChange()}onImportListChange(){var o,e,r,l;return(0,c.mG)(this,void 0,void 0,function*(){this.store.form.controls.entryPort.reset();const g=null===(o=this.store.form.controls.sourceCountry.value)||void 0===o?void 0:o.id,m=null===(e=this.store.form.controls.class.value)||void 0===e?void 0:e.id,u=null===(r=this.store.form.controls.shippingMethod.value)||void 0===r?void 0:r.id,f=(null===(l=this.store.serviceDetails)||void 0===l?void 0:l.serviceTransaction)?this.mapper.mapConsignmentItemToCountryTypeDto(m,this.store.serviceDetails.serviceTransaction.importItems):[];m&&u&&f&&f.length>0&&this.loadPorts({CountryId:g,ShipmentMethodId:u,CountriesTypes:f})})}onConsignmentItemsFormChange(o){return(0,c.mG)(this,void 0,void 0,function*(){o.isCountryOfOriginChanged?this.onOriginCountryChange(null,o.countryOfOriginId):o.isTypeChanged&&this.onTypeChange(o.typeId)})}onTypeChange(o){var e,r;return(0,c.mG)(this,void 0,void 0,function*(){const l=null===(e=this.store.formConsignment.controls.type.value)||void 0===e?void 0:e.id,g=null===(r=this.store.formConsignment.controls.measurementUnit.value)||void 0===r?void 0:r.id,m=this.store.serviceConfig.mainLookups.types.find(u=>u.id==l);if(m){if(this.store.formConsignment.controls.quantity.setValidators(m.validateMaxQuantity?[a.kI.required,a.kI.min(1),a.kI.max(m.maxQuantity)]:[a.kI.required,a.kI.min(1),a.kI.max(this.maximumQuantity)]),this.store.formConsignment.controls.quantity.updateValueAndValidity(),null==g&&m.unitId){const u=this.store.serviceConfig.mainLookups.measurementUnits.find(f=>f.id==m.unitId);this.store.formConsignment.controls.measurementUnit.setValue(u)}this.store.formConsignment.controls.scientificName.setValue(m.scientificName)}yield this.onOriginCountryChange(o,null)})}onOriginCountryChange(o,e){var r,l,g,m;return(0,c.mG)(this,void 0,void 0,function*(){e=null!=e?e:null===(r=this.store.formConsignment.controls.countryOfOrigin.value)||void 0===r?void 0:r.id,o=null!=o?o:null===(l=this.store.formConsignment.controls.type.value)||void 0===l?void 0:l.id;const u=null===(g=this.store.form.controls.class.value)||void 0===g?void 0:g.id,f=null===(m=this.store.form.controls.sourceCountry.value)||void 0===m?void 0:m.id;if(f&&u&&e&&o){const v={procedureID:this.store.serviceConfig.procedureId,classID:u,typeID:o,countries:[f,e]};yield this.loadOriginCountryBanDisclaimer(v)}})}loadOriginCountryBanDisclaimer(o){return(0,c.mG)(this,void 0,void 0,function*(){const e=yield this.commonApiService.getImportReleaseBanDisclaimers(o).toPromise();this.store.originCountryBanDisclaimers$.next(this.mapper.mapAlertFromLookup(e.Data))})}onClassChange(o){const e=Object.create(null,{onClassChange:{get:()=>super.onClassChange}});return(0,c.mG)(this,void 0,void 0,function*(){e.onClassChange.call(this,o),this.store.formConsignment.controls.scientificName.setValidators(this.store.form.controls.class.value.code==V.E.NonWildAnimalsSamples?a.kI.required:[])})}validateConsignmentItems(){const o=Object.create(null,{validateConsignmentItems:{get:()=>super.validateConsignmentItems}});return(0,c.mG)(this,void 0,void 0,function*(){const e=yield o.validateConsignmentItems.call(this);if(e){const r=this.store.serviceDetails.serviceTransaction.importItems,l=this.store.formConsignment;for(let g of r){if(this.startConsignmentEditing({item:g,action:E.P.Edit}),!l.valid)return l.markAllAsTouched(),this.scrollToFirstError(),this.showConsignmentItemsValidationError(),console.log(l),!1;
1this.resetConsignmentForm()}}return e})}}return n.\u0275fac=function(o){return new(o||n)(t.LFG(h.F0),t.LFG(h.gz),t.LFG($._W),t.LFG(W.t4),t.LFG(q.f),t.LFG(d.sK),t.LFG(B.G),t.LFG(b),t.LFG(p.K0),t.LFG(x.i),t.LFG(R.o))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac}),n})();var K=i(89047),S=i(96184),X=i(47352),H=i(91805),tt=i(5257),et=i(38611);function ot(n,s){if(1&n){const o=t.EpF();t.TgZ(0,"div",2)(1,"div",3)(2,"div",4),t._UZ(3,"app-breadcrumbs",5),t.ALo(4,"async"),t.ALo(5,"async"),t.qZA(),t.TgZ(6,"div",4),t._UZ(7,"app-progress-bar",6),t.qZA()(),t.TgZ(8,"div",7)(9,"app-steps-flow",8),t.NdJ("move",function(r){return t.CHM(o),t.oxw().moveFlow(r)}),t.ALo(10,"async"),t.qZA()(),t.TgZ(11,"div",9),t._UZ(12,"es-service-title",10),t.qZA(),t.TgZ(13,"div",7)(14,"router-outlet",11),t.NdJ("activate",function(r){return t.CHM(o),t.oxw().onActivate(r)}),t.qZA()()()}if(2&n){const o=s.ngIf,e=t.oxw();t.xp6(2),t.Q6J("colOptions",e.breadcrumbsColumnOptions),t.xp6(1),t.Q6J("breadcrumbsDetails",t.lcZ(4,13,e.breadcrumbsDetails$))("serviceMetaData",t.lcZ(5,15,e.serviceMetaData$))("serviceKey",e.serviceKey),t.xp6(3),t.Q6J("colOptions",e.progressBarColumnOptions),t.xp6(1),t.Q6J("currentStep",e.workflowService.currentStep)("steps",e.workflowService.steps),t.xp6(1),t.Q6J("colOptions",e.mainColOptions),t.xp6(1),t.Q6J("flow",t.lcZ(10,17,e.flow$))("showBackArrow",!0),t.xp6(2),t.Q6J("colOptions",e.mainColOptions),t.xp6(1),t.Q6J("metadata",o),t.xp6(1),t.Q6J("colOptions",e.mainColOptions)}}function nt(n,s){1&n&&(t._UZ(0,"p",12),t.ALo(1,"translate")),2&n&&t.Q6J("innerText",t.lcZ(1,1,"trLoading"))}let it=(()=>{class n extends G.e{constructor(o,e,r){super(o,r,e),this.workflowService=o}get formMode(){return w.h.EDITING}ngOnInit(){this.subscribeToSizeSettings()}}return n.\u0275fac=function(o){return new(o||n)(t.Y36("WorkflowService"),t.Y36(d.sK),t.Y36(h.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-import-animal-samples"]],features:[t._Bn([{provide:"WorkflowService",useClass:I}]),t.qOj],decls:5,vars:3,consts:[["class","container mb-4 scroll-to arabic-styling next-design",4,"ngIf"],["loading",""],[1,"container","mb-4","scroll-to","arabic-styling","next-design"],[1,"row","justify-content-center"],["dsCol","",3,"colOptions"],[3,"breadcrumbsDetails","serviceMetaData","serviceKey"],[3,"currentStep","steps"],["dsCol","",1,"row","justify-content-center",3,"colOptions"],[3,"flow","showBackArrow","move"],["dsCol","",1,"row","justify-content-center","title-container",3,"colOptions"],[3,"metadata"],[3,"activate"],[3,"innerText"]],template:function(o,e){1&o&&(t._UZ(0,"app-loader"),t.YNc(1,ot,15,19,"div",0),t.ALo(2,"async"),t.YNc(3,nt,2,3,"ng-template",null,1,t.W1O)),2&o&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,e.serviceMetaData$)))},directives:[K.R,p.O5,S.JY,X.n,H.R,tt.t,et.o,h.lC],pipes:[p.Ov,d.X$],styles:['div#containerDivId{width:auto;padding:0}.using-bootstrap legend{border:none;color:var(--golden-primary);margin-bottom:15px}.form-group.form-group-required:after{content:"*";color:var(--danger)}.form-group label{font-weight:inherit}html{overflow-anchor:none;scroll-behavior:smooth}.scroll-to{scroll-margin-top:110px}#progressbar{gap:5%;align-items:center;margin-bottom:0;width:100%;justify-content:space-between}#progressbar li{z-index:10;max-width:60px}#progressbar li:first-child{width:20%!important}#progressbar li:before{z-index:10;padding:8px!important;line-height:1em;margin:0 auto}#progressbar li:after{content:unset}#progressbar li.ds-step.ds-step-line:after{content:""}html[lang=ar] #progressbar{text-align:right;float:right}html[lang=ar] #progressbar li{float:right}html[lang=ar] #progressbar li:after{right:78%;left:0}#progressbar li:last-of-type:after{content:none}#progressbar li#ReviewConfiguration:after{content:none}.back-arrow{transform:rotateY(180deg)}html[lang=ar] .back-arrow{transform:rotateY(0)}html[lang=ar] .back-arrow a{float:left}html[lang=ar] .next-arrow{transform:rotateY(180deg)}.using-bootstrap .btn.btn-primary{background-color:var(--golden-primary);border-color:var(--golden-primary)}.using-bootstrap .btn.btn-rounded{border-radius:20px}.breadcrumbs-link,a.breadcrumbs-link{color:var(--gray)}.breadcrumbs-link:after{content:"\\e933";color:var(--dark);font-family:fi-icons!important;font-size:.7em;margin:0 16px}html[lang=ar] .breadcrumbs-link:after{content:"\\e932"}.breadcrumbs-link:nth-last-of-type(1){content:"";color:var(--golden-dark)}.breadcrumbs-link:nth-last-of-type(1):after{content:""}html[lang=ar] .breadcrumbs-link:nth-last-of-type(1):after{content:"\\e932"}html[lang=ar] .breadcrumbs-link:nth-last-of-type(1):after{content:""}html[lang=ar] .col-form-label{text-align:right}.forms-container{box-shadow:1px 1px 5px 3px var(--light-shadow);border-radius:10px}.form-section{padding:1.2em;border:solid 1px var(--light-shadow);margin-bottom:-1px;position:relative;overflow:hidden;max-height:99999px;transition:ease 2.5s;transition-property:max-height,height}.form-section.form-section-collapsed{max-height:70px;transition:ease .5s}.form-section.form-section-collapsible .form-section-collapsing{cursor:pointer}.form-section.form-section-collapsible .form-section-collapsing:hover{color:var(--golden-primary)}.form-section legend{color:var(--dark);font-size:1.5em}.title-container{margin-top:1em;margin-bottom:1em}html[lang=ar] .title-container,html[lang=ar] .forms-container form{text-align:right;direction:rtl}.form-section-valid-indicator{position:absolute;font-size:1.4rem;color:var(--gray);right:15px}html[lang=ar] .form-section-valid-indicator{right:initial;left:15px}.form-section-invalid{color:var(--danger)}.form-section-valid{color:var(--success)}.form-section-divider{display:block;margin:10px -19px;border:solid 1px var(--light-shadow)}html[lang=ar] .alignmet_left{text-align:right!important}.align-right{text-align:right}html[lang=ar] .align-right{text-align:left}html[lang=ar] .align-left{text-align:right}html[lang=ar] .float-left{float:right!important}html[lang=ar] .float-right{float:left!important}html[lang=ar] .en_text_right{text-align:left}html[lang=ar] .bred_crumb .breadcrumbs-link{float:right}.actions-container{width:100%;display:flex;justify-content:space-between}.licence-attachment-view label{color:var(--gray)}app-bs-map-display .form-group label{color:var(--gray)}.ng-invalid.highlight .ng-select-container,.is-invalid.highlight{animation:highlight .5s cubic-bezier(.68,-.55,.27,1.55)}.form-section-valid-indicator.highlight{animation:highlight-scale .5s cubic-bezier(.68,-.55,.27,1.55)}@keyframes highlight{0%{border-color:var(--danger);transform:scale(105%)}}@keyframes highlight-scale{0%{transform:scale(105%)}}ng-select{position:initial!important}app-progress-bar svg{max-width:100px;max-height:100px}app-progress-bar{float:right}html[lang=ar] app-progress-bar{float:left}.progress-bar-container{text-align:right}html[lang=ar] .progress-bar-container{text-align:left}.breadcrumb-content{display:flex;align-items:flex-start;flex-direction:column;gap:15px}.view_info{margin:0}.view_info:nth-of-type(1){margin:0}html[lang=en] .btn+.btn{margin-left:.25rem!important}html[lang=ar] .btn+.btn{margin-right:.25rem!important}.input-group>.form-control,.input-group>.form-control-plaintext,.input-group>.custom-select,.input-group>.custom-file{width:1%}html[lang=ar] .input-group:not(.has-validation)>.form-control:not(:last-child),html[lang=ar] .input-group:not(.has-validation)>.custom-select:not(:last-child),html[lang=ar] .input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label:after{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-left:0}html[lang=ar] .input-group>.input-group-append>.btn,html[lang=ar] .input-group>.input-group-append>.input-group-text,html[lang=ar] .input-group>.input-group-prepend:not(:first-child)>.btn,html[lang=ar] .input-group>.input-group-prepend:not(:first-child)>.input-group-text,html[lang=ar] .input-group>.input-group-prepend:first-child>.btn:not(:first-child),html[lang=ar] .input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child){border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.input-group-text{height:34px}.sections-indexer{background-color:transparent;width:100%;position:sticky;border-top-right-radius:10px;border-bottom-right-radius:10px;z-index:1;padding:0}.indexer-item{cursor:pointer;width:100%;padding:1em 0 1em .5em;transition:.5s border,box-shadow,color}html[lang=ar] .indexer-item{padding:1em .5em 1em 0}.indexer-item:hover{color:var(--golden-primary)}html[lang=ar] .indexer-item{text-align:right}.indexer-item-active{color:var(--golden-dark);box-shadow:-4px 0 4px 1px var(--light-shadow);border-left:5px solid var(--golden-primary);border-right:initial}html[lang=ar] .indexer-item-active{box-shadow:4px 0 4px 1px var(--light-shadow);border-right:5px solid var(--golden-primary);border-left:initial}.sections-indexer.sticky-sections-indexer{position:fixed;top:50px;width:10%;max-width:125px}.help-bar{display:flex;justify-content:flex-start;gap:1em;width:100%}.help-item .tooltip{left:5px!important}.help-item .tooltip .arrow:before{left:37px}.help-item a{width:30px;display:flex;border:1px solid;border-radius:50%;padding:6px;height:30px;justify-content:center;align-items:center;color:var(--golden-primary)}.help-item a img{width:100%}.pt-2.pb-1.button_container.mb-2.flex_flow.flex_between{flex-flow:initial}.width-2.applicant_info_comp{width:100%!important}.uplaoded_file{margin:auto}.dash-bor{text-align:center}.custom-checkbox-required-start{padding:0 .2em;color:var(--danger)}.custom-control{padding-right:0;padding-left:1.5rem}html[lang=ar] .custom-control{padding-right:1.5rem;padding-left:0}html[lang=ar] .custom-control-input{right:0}.custom-control-label:before{left:-1.5rem;right:unset}html[lang=ar] .custom-control-label:before{left:unset;right:-1.5rem}.custom-control-label:after{left:-1.5rem;right:unset}html[lang=ar] .custom-control-label:after{left:unset;right:-1.5rem}.custom-control.custom-radio input[type=radio],.custom-control.custom-radio .custom-control-label,.custom-control.custom-radio .custom-control-label *{cursor:pointer;margin-bottom:10px}.custom-control.custom-checkbox,.custom-control.custom-checkbox *{curs
1or:pointer}.text-decoration-underline{text-decoration:underline}.attachment-section .ngx-file-drop__drop-zone{border:none!important}.attachment-section .attachment-upload{display:flex;justify-content:space-between;padding:20px 30px;background-color:var(--height-light);border-radius:10px}.attachment-section .attachment-group{margin-top:20px}.attachment-group .attachment-uploaded{width:80px;height:80px;background:#f1f1f1;padding:10px;border-radius:6px;position:relative;display:flex;justify-content:center;align-items:center;border:1px solid #f1f2f4;margin-bottom:15px}.attachment-group .attachment-uploaded a{position:absolute;right:10px;top:3px;width:10px}.attachment-group .attachment-uploaded a img{width:100%}.attachment-group .attachment-uploaded span{font-size:40px;color:var(--golden-primary)}.attachment-instance{display:flex;flex-flow:column;justify-content:center;align-items:center}.commenting .form-group{margin:0;height:100%}.commenting .ngx-file-drop__drop-zone{border:none!important;margin:0!important;height:unset!important;min-height:100px!important}.commenting .ngx-file-drop__content{display:block!important;height:unset!important;min-height:100px!important}.container.scroll-to{margin-bottom:8rem!important}.mt-30-px{margin-top:30px}.ng-dropdown-panel.breakSpaces .ng-dropdown-panel-items .ng-option{white-space:break-spaces}input[type=date]{display:block;-webkit-appearance:textfield;-moz-appearance:textfield;min-height:1.2em}@media (max-width: 480px){.progress-bar-container{text-align:center}}@media (max-width: 480px){.attachment-section .attachment-upload{flex-direction:column}}@media (min-width: 768px){html[lang=ar] .offset-md-3{margin-right:25%;margin-left:initial}html[lang=ar] .offset-md-2{margin-right:16.666667%;margin-left:initial}.col-12 #progressbar li:after,.col-sm-12 #progressbar li:after,.col-md-12 #progressbar li:after{width:300%}.col-md-8 #progressbar li:after{width:200%}}.attachment-required{border:1px solid red}\n'],encapsulation:2}),n})();var rt=i(57271),A=i(61247),at=i(80301),st=i(62078),lt=i(76410),mt=i(34187),pt=i(96086),ct=i(99302),dt=i(67468),gt=i(61799),ut=i(90135);function ft(n,s){if(1&n&&(t.TgZ(0,"div",1)(1,"div",2),t._UZ(2,"app-es-service-disclaimers",17),t.qZA()()),2&n){const o=t.oxw();t.xp6(1),t.Q6J("colOptions",o.fo.fullCol),t.xp6(1),t.Q6J("alerts",o.disclaimers)}}let ht=(()=>{class n extends st.d{constructor(o,e){super(o),this.fb=e,this.itemFormChange=new t.vpe}onTypeChange(o){var e;this.itemFormChange.emit({isTypeChanged:!0,typeId:null===(e=o.new)||void 0===e?void 0:e.id})}onCountryOfOriginChange(o){var e;this.itemFormChange.emit({isCountryOfOriginChanged:!0,countryOfOriginId:null===(e=o.new)||void 0===e?void 0:e.id})}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(d.sK),t.Y36(a.qu))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-import-animal-samples-item-form"]],inputs:{disclaimers:"disclaimers"},outputs:{itemFormChange:"itemFormChange"},features:[t.qOj],decls:38,vars:46,consts:[["appInputComponentsInvalidScroller","",3,"formGroup","ngSubmit"],[1,"row"],["dsCol","",3,"colOptions"],[1,"col-form-label",3,"innerText"],["formControlName","type","identifier","type","key","trImportItemTypeFld","name","type","appendTo","body","dropdownPosition","bottom",3,"items","bindLabel","searchable","breakSpaces","templateOptions","change"],["formControlName","countryOfOrigin","identifier","countryOfOrigin","key","trImportItemCountryOfOriginFld","name","countryOfOrigin","appendTo","body","dropdownPosition","bottom",3,"items","bindLabel","searchable","breakSpaces","templateOptions","change"],["class","row",4,"ngIf"],["formControlName","measurementUnit","identifier","measurementUnit","key","trImportItemMeasurementUnitFld","name","measurementUnit","appendTo","body","dropdownPosition","bottom",3,"items","bindLabel","searchable","breakSpaces","templateOptions"],["formControlName","quantity","identifier","quantity","key","trImportItemQuantityFld","name","quantity","onlyPositive","",3,"templateOptions"],["formControlName","scientificName","identifier","scientificName","key","trImportItemScientificNameFld","name","scientificName","maxLength","45",3,"templateOptions"],["formControlName","species","identifier","species","key","trImportItemSpeciesFld","name","species","maxLength","255",3,"templateOptions"],["formControlName","testPurpose","identifier","testPurpose","key","trImportItemTestPurposeFld","name","testPurpose","appendTo","body","dropdownPosition","bottom",3,"items","bindLabel","searchable","breakSpaces","templateOptions"],["formControlName","testType","identifier","testType","key","trImportItemTestTypeFld","name","testType","maxLength","255",3,"templateOptions"],["formControlName","breedId","identifier","breedId","key","trImportItemBreedIdFld","name","breedId","maxLength","255",3,"templateOptions"],["formControlName","description","identifier","description","key","trImportItemDescriptionFld","name","description","maxLength","500",3,"templateOptions"],["formControlName","notes","identifier","notes","key","trImportItemNotesFld","name","notes","maxLength","500",3,"templateOptions"],[3,"mode","action"],[3,"alerts"]],template:function(o,e){1&o&&(t.TgZ(0,"form",0),t.NdJ("ngSubmit",function(){return e.submit()}),t.TgZ(1,"div",1)(2,"div",2),t._UZ(3,"legend",3),t.ALo(4,"translate"),t.qZA()(),t.TgZ(5,"div",1)(6,"div",2)(7,"bs-ng-dropdown",4),t.NdJ("change",function(l){return e.onTypeChange(l)}),t.qZA()(),t.TgZ(8,"div",2)(9,"bs-ng-dropdown",5),t.NdJ("change",function(l){return e.onCountryOfOriginChange(l)}),t.qZA()()(),t.YNc(10,ft,3,2,"div",6),t.TgZ(11,"div",1)(12,"div",2),t._UZ(13,"bs-ng-dropdown",7),t.qZA(),t.TgZ(14,"div",2),t._UZ(15,"bs-ng-number",8),t.qZA()(),t.TgZ(16,"div",1)(17,"div",2),t._UZ(18,"bs-ng-text",9),t.qZA(),t.TgZ(19,"div",2),t._UZ(20,"bs-ng-text",10),t.qZA()(),t.TgZ(21,"div",1)(22,"div",2),t._UZ(23,"bs-ng-dropdown",11),t.qZA()(),t.TgZ(24,"div",1)(25,"div",2),t._UZ(26,"bs-ng-text",12),t.qZA(),t.TgZ(27,"div",2),t._UZ(28,"bs-ng-text",13),t.qZA()(),t.TgZ(29,"div",1)(30,"div",2),t._UZ(31,"bs-ng-textarea",14),t.qZA()(),t.TgZ(32,"div",1)(33,"div",2),t._UZ(34,"bs-ng-textarea",15),t.qZA()(),t.TgZ(35,"div",1)(36,"div",2)(37,"app-es-main-item-form-buttons",16),t.NdJ("action",function(l){return e.handleItemFormAction(l)}),t.qZA()()()()),2&o&&(t.Q6J("formGroup",e.formGroup),t.xp6(2),t.Q6J("colOptions",e.fo.fullCol),t.xp6(1),t.Q6J("innerText",t.lcZ(4,44,"The Consignment Data")),t.xp6(3),t.Q6J("colOptions",e.fo.halfCol),t.xp6(1),t.Q6J("items",e.lookups.types)("bindLabel",e.defaultLookupDisplayProperty)("searchable",!0)("breakSpaces",!0)("templateOptions",e.fo.inputsTemplateOptions),t.xp6(1),t.Q6J("colOptions",e.fo.halfCol),t.xp6(1),t.Q6J("items",e.lookups.countries)("bindLabel",e.defaultLookupDisplayProperty)("searchable",!0)("breakSpaces",!0)("templateOptions",e.fo.inputsTemplateOptions),t.xp6(1),t.Q6J("ngIf",e.disclaimers&&e.disclaimers.length>0),t.xp6(2),t.Q6J("colOptions",e.fo.halfCol),t.xp6(1),t.Q6J("items",e.lookups.measurementUnits)("bindLabel",e.defaultLookupDisplayProperty)("searchable",!0)("breakSpaces",!0)("templateOptions",e.fo.inputsTemplateOptions),t.xp6(1),t.Q6J("colOptions",e.fo.halfCol),t.xp6(1),t.Q6J("templateOptions",e.fo.inputsTemplateOptions),t.xp6(2),t.Q6J("colOptions",e.fo.halfCol),t.xp6(1),t.Q6J("templateOptions",e.fo.inputsTemplateOptions),t.xp6(1),t.Q6J("colOptions",e.fo.halfCol),t.xp6(1),t.Q6J("templateOptions",e.fo.inputsTemplateOptions),t.xp6(2),t.Q6J("colOptions",e.fo.fullCol),t.xp6(1),t.Q6J("items",e.lookups.testPurposes)("bindLabel",e.defaultLookupDisplayProperty)("searchable",!0)("breakSpaces",!0)("templateOptions",e.fo.inputsTemplateOptions),t.xp6(2),t.Q6J("colOptions",e.fo.halfCol),t.xp6(1),t.Q6J("templateOptions",e.fo.inputsTemplateOptions),t.xp6(1),t.Q6J("colOptions",e.fo.halfCol),t.xp6(1),t.Q6J("templateOptions",e.fo.inputsTemplateOptions),t.xp6(2),t.Q6J("colOptions",e.fo.fullCol),t.xp6(1),t.Q6J("templateOptions",e.fo.inputsTemplateOptions),t.xp6(2),t.Q6J("colOptions",e.fo.fullCol),t.xp6(1),t.Q6J("templateOptions",e.fo.inputsTemplateOptions),t.xp6(2),t.Q6J("colOptions",e.fo.fullCol),t.xp6(1),t.Q6J("mode",e.mode))},directives:[a._Y,a.JL,lt.O,a.sg,S.JY,mt.z,a.JJ,a.u,p.O5,pt.w,ct.n,dt.e,gt.T,ut.U],pipes:[d.X$],encapsulation:2}),n})();var vt=i(19473),bt=i(88052),xt=i(85266),It=i(27233),yt=i(99594),Ct=i(17876);let wt=(()=>{class n extends It.F{constructor(o){super(o)}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(d.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-import-animal-samples-item-view"]],features:[t.qOj],decls:25,vars:15,consts:[[1,"row","px-2"],[1,"col-md-6","col-sm-12"],["key","trConsignmentItemMeasurementUnit",3,"value"],["key","trConsignmentItemQuantity",3,"value"],["key","trImportItemScientificNameFld",3,"value"],["key","trImportItemSpeciesFld",3,"value"],["key","trImportItemTestPurposeFld",3,"value"],["key","trImportItemTestTypeFld",3,"value"],["key","trImportItemBreedIdFld",3,"value"],["key","trConsignmentItemDescription",3,"value"],[1,"col-md-12","col-sm-12"],["key","trImportItemNotesFld",3,"value"]],template:function(o,e){1&o&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"app-detail-display",2),t.ALo(3,"lookup"),t.qZA(),t.TgZ(4,"div",1),t._UZ(5,"app-detail-display",3),t.qZA()(),t.TgZ(6,"div",0)(7,"div",1),t._UZ(8,"a
1pp-detail-display",4),t.qZA(),t.TgZ(9,"div",1),t._UZ(10,"app-detail-display",5),t.qZA()(),t.TgZ(11,"div",0)(12,"div",1),t._UZ(13,"app-detail-display",6),t.ALo(14,"lookup"),t.qZA(),t.TgZ(15,"div",1),t._UZ(16,"app-detail-display",7),t.qZA()(),t.TgZ(17,"div",0)(18,"div",1),t._UZ(19,"app-detail-display",8),t.qZA(),t.TgZ(20,"div",1),t._UZ(21,"app-detail-display",9),t.qZA()(),t.TgZ(22,"div",0)(23,"div",10),t._UZ(24,"app-detail-display",11),t.qZA()()),2&o&&(t.xp6(2),t.Q6J("value",t.xi3(3,9,e.item.measurementUnit,e.lang)),t.xp6(3),t.Q6J("value",e.item.quantity),t.xp6(3),t.Q6J("value",e.item.scientificName),t.xp6(2),t.Q6J("value",e.item.species),t.xp6(3),t.Q6J("value",t.xi3(14,12,e.item.testPurpose,e.lang)),t.xp6(3),t.Q6J("value",e.item.testType),t.xp6(3),t.Q6J("value",e.item.breedId),t.xp6(2),t.Q6J("value",e.item.description),t.xp6(3),t.Q6J("value",e.item.notes))},directives:[yt.j],pipes:[Ct.t],encapsulation:2}),n})();function Tt(n,s){if(1&n&&(t.TgZ(0,"td",5),t._UZ(1,"app-import-animal-samples-item-view",6),t.qZA()),2&n){const o=s.$implicit;t.xp6(1),t.Q6J("item",o)}}let y=(()=>{class n extends vt.D{constructor(o){super(o)}get ImportAnimalSamplesConsignmentItem(){return bt.O}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(d.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-import-animal-samples-item-list"]],inputs:{formGroup:"formGroup"},features:[t.qOj],decls:7,vars:7,consts:[[1,"row"],[1,"col-12"],[1,"col-form-label","mt-3",3,"innerText"],[3,"items","modelType","options","enableEditing","edit","delete"],["detailsTemplate",""],["colspan","3"],[3,"item"]],template:function(o,e){1&o&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"legend",2),t.ALo(3,"translate"),t.qZA()(),t.TgZ(4,"ds-table",3),t.NdJ("edit",function(l){return e.emitEdit(l)})("delete",function(l){return e.emitDelete(l)}),t.YNc(5,Tt,2,1,"ng-template",null,4,t.W1O),t.qZA()),2&o&&(t.xp6(2),t.Q6J("innerText",t.lcZ(3,5,"Consignment Items")),t.xp6(2),t.Q6J("items",e.importItems)("modelType",e.ImportAnimalSamplesConsignmentItem)("options",e.options)("enableEditing",e.enableEditing))},directives:[xt.R,wt],pipes:[d.X$],encapsulation:2}),n})();var St=i(64020);function At(n,s){if(1&n){const o=t.EpF();t.ynx(0),t.TgZ(1,"div",1),t._UZ(2,"app-form-validation-indicator",2),t.TgZ(3,"app-import-main-form",3),t.NdJ("change",function(r){return t.CHM(o),t.oxw().mainFormChange(r)}),t.ALo(4,"async"),t.qZA()(),t.TgZ(5,"div",4),t._UZ(6,"app-form-validation-indicator",2),t.TgZ(7,"app-import-animal-samples-item-form",5,6),t.NdJ("push",function(r){return t.CHM(o),t.oxw().pushConsignmentItem(r)})("itemFormChange",function(r){return t.CHM(o),t.oxw().itemsFormChange(r)}),t.ALo(9,"async"),t.qZA(),t.TgZ(10,"app-import-animal-samples-item-list",7),t.NdJ("edit",function(r){return t.CHM(o),t.oxw().edit(r)})("delete",function(r){return t.CHM(o),t.oxw().deleteConsignmentItem(r)}),t.qZA()(),t.TgZ(11,"div",8),t._UZ(12,"app-form-validation-indicator",2)(13,"app-import-main-footer-form",9),t.qZA(),t.BQk()}if(2&n){const o=s.ngIf,e=t.oxw();
1t.xp6(2),t.Q6J("formGroup",e.form),t.xp6(1),t.Q6J("lookups",o.config.mainLookups)("formGroup",e.form)("fields",t.lcZ(4,18,e.fields$))("formOptions",e.formOptions),t.xp6(3),t.Q6J("formGroup",e.formConsignment),t.xp6(1),t.Q6J("lookups",o.config.mainLookups)("formGroup",e.formConsignment)("options",t.lcZ(9,20,e.importListOptions$))("mode",e.formConsignmentStatus.mode)("disclaimers",e.originCountryDisclaimer)("formOptions",e.formOptions),t.xp6(3),t.Q6J("formGroup",e.form)("importItems",o.transaction.serviceTransaction.importItems),t.xp6(2),t.Q6J("formGroup",e.form),t.xp6(1),t.Q6J("lookups",o.config.mainLookups)("formGroup",e.form)("formOptions",e.formOptions)}}const Ot=function(n,s){return{transaction:n,config:s}};let Zt=(()=>{class n extends rt.i{constructor(o,e,r){super(o,e,r),this.workflowService=o,this.importItems=[],this.originCountryDisclaimer=[],this.importItems=this.workflowService.globalObject.ServiceDetailsConfiguration.serviceDetails.serviceTransaction.importItems,this.workflowService.globalObject.ServiceDetailsConfiguration.originCountryBanDisclaimers$.subscribe(l=>{this.originCountryDisclaimer=l})}ngOnInit(){this.subscribeToFormsTemplatesSettings()}isAllowedToChangeClass(){return this.importItems&&this.importItems.length>0}}return n.\u0275fac=function(o){return new(o||n)(t.Y36("WorkflowService"),t.Y36(h.F0),t.Y36(d.sK))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-import-animal-samples-request"]],features:[t.qOj],decls:3,vars:8,consts:[[4,"ngIf"],[1,"form-section","main-form"],[3,"formGroup"],[3,"lookups","formGroup","fields","formOptions","change"],[1,"form-section","consignment-item-form"],[3,"lookups","formGroup","options","mode","disclaimers","formOptions","push","itemFormChange"],["formDir","ngForm"],[3,"formGroup","importItems","edit","delete"],[1,"form-section"],[3,"lookups","formGroup","formOptions"]],template:function(o,e){1&o&&(t.YNc(0,At,14,22,"ng-container",0),t.ALo(1,"async"),t.ALo(2,"async")),2&o&&t.Q6J("ngIf",t.WLB(5,Ot,t.lcZ(1,1,e.transaction$),t.lcZ(2,3,e.serviceConfig$)))},directives:[p.O5,A.$,a.JL,a.sg,at.S,ht,y,St.h],pipes:[p.Ov],encapsulation:2}),n})();var _t=i(17652),O=i(27418),Z=i(23513);
1function kt(n,s){if(1&n&&(t.TgZ(0,"div",3),t._UZ(1,"app-import-main-review",4),t.qZA()),2&n){const o=t.oxw().ngIf;t.xp6(1),t.Q6J("transaction",o)}}function Ft(n,s){if(1&n&&(t.TgZ(0,"div",3),t._UZ(1,"app-import-animal-samples-item-list",5),t.qZA()),2&n){const o=t.oxw().ngIf;t.xp6(1),t.Q6J("importItems",o.serviceTransaction.importItems)("enableEditing",!1)}}function Jt(n,s){if(1&n&&(t.ynx(0),t.YNc(1,kt,2,1,"div",1),t.YNc(2,Ft,2,2,"div",2),t.BQk()),2&n){const o=s.ngIf,e=t.oxw();t.xp6(1),t.Q6J("appFormSection",e.requestDetailsFormSection),t.xp6(1),t.Q6J("ngIf",o.serviceTransaction.importItems&&o.serviceTransaction.importItems.length>0)}}let Qt=(()=>{class n extends _t.E{constructor(o,e,r){super(o,r,e)}ngOnInit(){return(0,c.mG)(this,void 0,void 0,function*(){})}ngAfterViewInit(){return(0,c.mG)(this,void 0,void 0,function*(){})}}return n.\u0275fac=function(o){return new(o||n)(t.Y36("WorkflowService"),t.Y36(d.sK),t.Y36(h.F0))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-import-animal-samples-request-review"]],features:[t.qOj],decls:2,vars:3,consts:[[4,"ngIf"],["class","form-section",4,"appFormSection"],["class","form-section",4,"ngIf"],[1,"form-section"],[3,"transaction"],[3,"importItems","enableEditing"]],template:function(o,e){1&o&&(t.YNc(0,Jt,3,2,"ng-container",0),t.ALo(1,"async")),2&o&&t.Q6J("ngIf",t.lcZ(1,1,e.transaction$))},directives:[p.O5,O.A,Z.R,y],pipes:[p.Ov],encapsulation:2}),n})();var Dt=i(59674),Lt=i(53119);function Nt(n,s){if(1&n){const o=t.EpF();t.TgZ(0,"div",1),t._UZ(1,"app-form-validation-indicator",5),t.TgZ(2,"app-import-view-page-form",6),t.NdJ("submit",function(){return t.CHM(o),t.oxw(2).submitArrivalUpdate()}),t.qZA()()}if(2&n){const o=t.oxw(2);t.xp6(1),t.Q6J("formGroup",o.formView),t.xp6(1),t.Q6J("lookups",o.mainLookups)("formGroup",o.formView)("alerts",o.viewFormAlerts)("formOptions",o.formOptions)}}function Ut(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,"div",1),t._UZ(2,"app-import-main-review",2),t.qZA(),t.YNc(3,Nt,3,5,"div",3),t.TgZ(4,"div",1),t._UZ(5,"app-import-animal-samples-item-list",4),t.qZA(),t.BQk()),2&n){const o=s.ngIf,e=t.oxw();
1t.xp6(2),t.Q6J("transaction",o),t.xp6(1),t.Q6J("appFormSection",e.viewFormSection),t.xp6(2),t.Q6J("importItems",o.serviceTransaction.importItems)("enableEditing",!1)}}let Gt=(()=>{class n extends Dt.Z{constructor(o,e,r){super(o,e,r)}ngOnInit(){this.subscribeToSizeSettings()}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(d.sK),t.Y36(h.gz),t.Y36("WorkflowService"))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-import-animal-samples-request-view"]],features:[t.qOj],decls:2,vars:3,consts:[[4,"ngIf"],[1,"form-section"],[3,"transaction"],["class","form-section",4,"appFormSection"],[3,"importItems","enableEditing"],[3,"formGroup"],[3,"lookups","formGroup","alerts","formOptions","submit"]],template:function(o,e){1&o&&(t.YNc(0,Ut,6,4,"ng-container",0),t.ALo(1,"async")),2&o&&t.Q6J("ngIf",t.lcZ(1,1,e.transaction$))},directives:[p.O5,Z.R,O.A,A.$,a.JL,a.sg,Lt.k,y],pipes:[p.Ov],styles:['div#containerDivId{width:auto;padding:0}.using-bootstrap legend{border:none;color:var(--golden-primary);margin-bottom:15px}.form-group.form-group-required:after{content:"*";color:var(--danger)}.form-group label{font-weight:inherit}html{overflow-anchor:none;scroll-behavior:smooth}.scroll-to{scroll-margin-top:110px}#progressbar{gap:5%;align-items:center;margin-bottom:0;width:100%;justify-content:space-between}#progressbar li{z-index:10;max-width:60px}#progressbar li:first-child{width:20%!important}#progressbar li:before{z-index:10;padding:8px!important;line-height:1em;margin:0 auto}#progressbar li:after{content:unset}#progressbar li.ds-step.ds-step-line:after{content:""}html[lang=ar] #progressbar{text-align:right;float:right}html[lang=ar] #progressbar li{float:right}html[lang=ar] #progressbar li:after{right:78%;left:0}#progressbar li:last-of-type:after{content:none}#progressbar li#ReviewConfiguration:after{content:none}.back-arrow{transform:rotateY(180deg)}html[lang=ar] .back-arrow{transform:rotateY(0)}html[lang=ar] .back-arrow a{float:left}html[lang=ar] .next-arrow{transform:rotateY(180deg)}.using-bootstrap .btn.btn-primary{background-color:var(--golden-primary);border-color:var(--golden-primary)}.using-bootstrap .btn.btn-rounded{border-radius:20px}.breadcrumbs-link,a.breadcrumbs-link{color:var(--gray)}.breadcrumbs-link:after{content:"\\e933";color:var(--dark);font-family:fi-icons!important;font-size:.7em;margin:0 16px}html[lang=ar] .breadcrumbs-link:after{content:"\\e932"}.breadcrumbs-link:nth-last-of-type(1){content:"";color:var(--golden-dark)}.breadcrumbs-link:nth-last-of-type(1):after{content:""}html[lang=ar] .breadcrumbs-link:nth-last-of-type(1):after{content:"\\e932"}html[lang=ar] .breadcrumbs-link:nth-last-of-type(1):after{content:""}html[lang=ar] .col-form-label{text-align:right}.forms-container{box-shadow:1px 1px 5px 3px var(--light-shadow);border-radius:10px}.form-section{padding:1.2em;border:solid 1px var(--light-shadow);margin-bottom:-1px;position:relative;overflow:hidden;max-height:99999px;transition:ease 2.5s;transition-property:max-height,height}.form-section.form-section-collapsed{max-height:70px;transition:ease .5s}.form-section.form-section-collapsible .form-section-collapsing{cursor:pointer}.form-section.form-section-collapsible .form-section-collapsing:hover{color:var(--golden-primary)}.form-section legend{color:var(--dark);font-size:1.5em}.title-container{margin-top:1em;margin-bottom:1em}html[lang=ar] .title-container,html[lang=ar] .forms-container form{text-align:right;direction:rtl}.form-section-valid-indicator{position:absolute;font-size:1.4rem;color:var(--gray);right:15px}html[lang=ar] .form-section-valid-indicator{right:initial;left:15px}.form-section-invalid{color:var(--danger)}.form-section-valid{color:var(--success)}.form-section-divider{display:block;margin:10px -19px;border:solid 1px var(--light-shadow)}html[lang=ar] .alignmet_left{text-align:right!important}.align-right{text-align:right}html[lang=ar] .align-right{text-align:left}html[lang=ar] .align-left{text-align:right}html[lang=ar] .float-left{float:right!important}html[lang=ar] .float-right{float:left!important}html[lang=ar] .en_text_right{text-align:left}html[lang=ar] .bred_crumb .breadcrumbs-link{float:right}.actions-container{width:100%;display:flex;justify-content:space-between}.licence-attachment-view label{color:var(--gray)}app-bs-map-display .form-group label{color:var(--gray)}.ng-invalid.highlight .ng-select-container,.is-invalid.highlight{animation:highlight .5s cubic-bezier(.68,-.55,.27,1.55)}.form-section-valid-indicator.highlight{animation:highlight-scale .5s cubic-bezier(.68,-.55,.27,1.55)}@keyframes highlight{0%{border-color:var(--danger);transform:scale(105%)}}@keyframes highlight-scale{0%{transform:scale(105%)}}ng-select{position:initial!important}app-progress-bar svg{max-width:100px;max-height:100px}app-progress-bar{float:right}html[lang=ar] app-progress-bar{float:left}.progress-bar-container{text-align:right}html[lang=ar] .progress-bar-container{text-align:left}.breadcrumb-content{display:flex;align-items:flex-start;flex-direction:column;gap:15px}.view_info{margin:0}.view_info:nth-of-type(1){margin:0}html[lang=en] .btn+.btn{margin-left:.25rem!important}html[lang=ar] .btn+.btn{margin-right:.25rem!important}.input-group>.form-control,.input-group>.form-control-plaintext,.input-group>.custom-select,.input-group>.custom-file{width:1%}html[lang=ar] .input-group:not(.has-validation)>.form-control:not(:last-child),html[lang=ar] .input-group:not(.has-validation)>.custom-select:not(:last-child),html[lang=ar] .input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label:after{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-left:0}html[lang=ar] .input-group>.input-group-append>.btn,html[lang=ar] .input-group>.input-group-append>.input-group-text,html[lang=ar] .input-group>.input-group-prepend:not(:first-child)>.btn,html[lang=ar] .input-group>.input-group-prepend:not(:first-child)>.input-group-text,html[lang=ar] .input-group>.input-group-prepend:first-child>.btn:not(:first-child),html[lang=ar] .input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child){border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.input-group-text{height:34px}.sections-indexer{background-color:transparent;width:100%;position:sticky;border-top-right-radius:10px;border-bottom-right-radius:10px;z-index:1;padding:0}.indexer-item{cursor:pointer;width:100%;padding:1em 0 1em .5em;transition:.5s border,box-shadow,color}html[lang=ar] .indexer-item{padding:1em .5em 1em 0}.indexer-item:hover{color:var(--golden-primary)}html[lang=ar] .indexer-item{text-align:right}.indexer-item-active{color:var(--golden-dark);box-shadow:-4px 0 4px 1px var(--light-shadow);border-left:5px solid var(--golden-primary);border-right:initial}html[lang=ar] .indexer-item-active{box-shadow:4px 0 4px 1px var(--light-shadow);border-right:5px solid var(--golden-primary);border-left:initial}.sections-indexer.sticky-sections-indexer{position:fixed;top:50px;width:10%;max-width:125px}.help-bar{display:flex;justify-content:flex-start;gap:1em;width:100%}.help-item .tooltip{left:5px!important}.help-item .tooltip .arrow:before{left:37px}.help-item a{width:30px;display:flex;border:1px solid;border-radius:50%;padding:6px;height:30px;justify-content:center;align-items:center;color:var(--golden-primary)}.help-item a img{width:100%}.pt-2.pb-1.button_container.mb-2.flex_flow.flex_between{flex-flow:initial}.width-2.applicant_info_comp{width:100%!important}.uplaoded_file{margin:auto}.dash-bor{text-align:center}.custom-checkbox-required-start{padding:0 .2em;color:var(--danger)}.custom-control{padding-right:0;padding-left:1.5rem}html[lang=ar] .custom-control{padding-right:1.5rem;padding-left:0}html[lang=ar] .custom-control-input{right:0}.custom-control-label:before{left:-1.5rem;right:unset}html[lang=ar] .custom-control-label:before{left:unset;right:-1.5rem}.custom-control-label:after{left:-1.5rem;right:unset}html[lang=ar] .custom-control-label:after{left:unset;right:-1.5rem}.custom-control.custom-radio input[type=radio],.custom-control.custom-radio .custom-control-label,.custom-control.custom-radio .custom-control-label *{cursor:pointer;margin-bottom:10px}.custom-control.custom-checkbox,.custom-control.custom-checkbox *{curs
1or:pointer}.text-decoration-underline{text-decoration:underline}.attachment-section .ngx-file-drop__drop-zone{border:none!important}.attachment-section .attachment-upload{display:flex;justify-content:space-between;padding:20px 30px;background-color:var(--height-light);border-radius:10px}.attachment-section .attachment-group{margin-top:20px}.attachment-group .attachment-uploaded{width:80px;height:80px;background:#f1f1f1;padding:10px;border-radius:6px;position:relative;display:flex;justify-content:center;align-items:center;border:1px solid #f1f2f4;margin-bottom:15px}.attachment-group .attachment-uploaded a{position:absolute;right:10px;top:3px;width:10px}.attachment-group .attachment-uploaded a img{width:100%}.attachment-group .attachment-uploaded span{font-size:40px;color:var(--golden-primary)}.attachment-instance{display:flex;flex-flow:column;justify-content:center;align-items:center}.commenting .form-group{margin:0;height:100%}.commenting .ngx-file-drop__drop-zone{border:none!important;margin:0!important;height:unset!important;min-height:100px!important}.commenting .ngx-file-drop__content{display:block!important;height:unset!important;min-height:100px!important}.container.scroll-to{margin-bottom:8rem!important}.mt-30-px{margin-top:30px}.ng-dropdown-panel.breakSpaces .ng-dropdown-panel-items .ng-option{white-space:break-spaces}input[type=date]{display:block;-webkit-appearance:textfield;-moz-appearance:textfield;min-height:1.2em}@media (max-width: 480px){.progress-bar-container{text-align:center}}@media (max-width: 480px){.attachment-section .attachment-upload{flex-direction:column}}@media (min-width: 768px){html[lang=ar] .offset-md-3{margin-right:25%;margin-left:initial}html[lang=ar] .offset-md-2{margin-right:16.666667%;margin-left:initial}.col-12 #progressbar li:after,.col-sm-12 #progressbar li:after,.col-md-12 #progressbar li:after{width:300%}.col-md-8 #progressbar li:after{width:200%}}.attachment-required{border:1px solid red}\n'],encapsulation:2}),n})();var qt=i(42565),zt=i(71946),Yt=i(69461);const Rt=[{path:"",component:it,children:[{path:"applicantinformation",component:J.W,data:{breadcrumb:{useBreadcrumbKey:"serviceName"}}},{path:"requestDetails",component:Yt.c,children:[{path:"",component:Zt}],data:{breadcrumb:{useBreadcrumbKey:"serviceName"}}},{path:"attachments",component:Q.D,data:{breadcrumb:{useBreadcrumbKey:"serviceName"}}},{path:"review",component:zt.D,children:[{path:"",component:Qt}]},{path:"payment",component:L.p},{path:"congrats",component:D.v}]},{path:"view",component:qt.Z,children:[{path:"",component:Gt}]}];let Bt=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({providers:[{provide:"WorkflowService",useExisting:I},{provide:"apiService",useExisting:b},{provide:"mapperService",useExisting:x.i},I,b,x.i],imports:[[p.ez,h.Bz.forChild(Rt),F.V]]}),n})()}}]);
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.