1import{J as ge,a as se,d as me,y as ue,z as Se}from"./chunk-Q6H3L72M.js";import"./chunk-RGX4V25P.js";import{Fg as ce,Jd as de,Ra as pe,kh as _e}from"./chunk-QRVLGQKK.js";import{Ae as ne,Ba as ee,De as ve,Ee as oe,Fe as Ae,Xa as te,Za as ie,oa as J,ta as Z}from"./chunk-JIWAKM2T.js";import"./chunk-WKDVIJXK.js";import{$b as C,Aa as g,Ba as T,Cb as u,Eb as N,Ee as ae,Fd as G,Fe as re,He as le,Id as X,Kb as F,Mb as W,Mc as p,Nb as b,Nc as s,Ob as I,Pb as r,Qa as A,Qb as a,Rb as x,Vb as y,Vd as K,Zd as Ee,ad as R,bc as c,dd as L,gb as o,ka as he,le as $,me as Fe,nc as l,oa as Q,oc as m,pa as k,pc as h,qc as V,r as O,rb as j,sa as w,sb as Y,w as M,xb as v}from"./chunk-MYMWKJG6.js";import"./chunk-C6VQXCV6.js";import"./chunk-EHBGTBDH.js";import"./chunk-ZLSUGC56.js";import{a as S,b as f,f as H,l as U}from"./chunk-RUSNHN4F.js";X();Fe();le();L();X();ie();Ee();L();he();L();var Te=(()=>{class t{constructor(){this.http=w(K)}get(e={}){return e.useFixture?O(this.fixture()):this.http.get("/api/v1/ats/settings/apply").pipe(M(({applyForm:i,customFields:n})=>({applyForm:i,customFields:n})))}save(e,i={}){return i.useFixture?O({applyForm:S(S({},this.fixture().applyForm),e)}):this.http.patch("/api/v1/ats/settings/apply",e).pipe(M(n=>({applyForm:n.applyForm})))}createCustomField(e,i={}){return i.useFixture?O({customField:e}):this.http.post("/api/v1/ats/settings/apply/custom-fields",e).pipe(M(n=>({customField:n.customField})))}updateCustomField(e,i,n={}){return n.useFixture?O({customField:f(S({},i),{id:e})}):this.http.patch(`/api/v1/ats/settings/apply/custom-fields/${encodeURIComponent(e)}`,i).pipe(M(d=>({customField:d.customField})))}archiveCustomField(e,i={}){return i.useFixture?O({id:e}):this.http.delete(`/api/v1/ats/settings/apply/custom-fields/${encodeURIComponent(e)}`).pipe(M(n=>({id:n.id})))}reorderCustomFields(e,i={}){return i.useFixture?O({reordered:e.length}):this.http.post("/api/v1/ats/settings/apply/custom-fields/reorder",{ids:e}).pipe(M(n=>({reordered:n.reordered})))}fixture(){return{applyForm:{standardFields:{name:{shown:!0,required:!0},email:{shown:!0,required:!0},phone:{shown:!0,required:!0},location:{shown:!0,required:!1},resume:{shown:!0,required:!0},coverLetter:{shown:!0,required:!1},portfolio:{shown:!0,required:!1},linkedin:{shown:!0,required:!1},github:{shown:!0,required:!1},source:{shown:!0,required:!1}},screening:{sectionTitle:"A few quick questions",questions:[{id:"q_auth",label:"Are you legally authorised to work in this location?",type:"yes_no"},{id:"q_visa",label:"Do you require visa sponsorship?",type:"yes_no"}]},gdpr:{enabled:!0,consentText:"I consent to Acme Inc. storing my application data for the purposes of recruitment and contact. I understand I can request export or deletion at any time by emailing [email protected].",privacyUrl:"https://acme.com/privacy"},eeoc:{enabled:!0,dimensions:["Gender","Race / ethnicity","Veteran status","Disability"]}},customFields:[{id:"cf-1",label:"Years of relevant experience",type:"number",help:"Round to the nearest year",options:[],required:!0,publicVisible:!0,order:0},{id:"cf-2",label:"Earliest start date",type:"date",help:"Used to flag candidates available within 30 days",options:[],required:!1,publicVisible:!0,order:1},{id:"cf-3",label:"Preferred work arrangement",type:"dropdown",help:"",options:["Remote","Hybrid","On-site"],required:!0,publicVisible:!0,order:2}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();L();ie();Ae();ve();le();var Ce=(t,_)=>_.key,q=(t,_)=>_.id;function ye(t,_){t&1&&x(0,"span",4)}function Pe(t,_){t&1&&x(0,"app-ats-skeleton",5)}function be(t,_){if(t&1){let e=y();r(0,"div",6)(1,"p",8),l(2),p(3,"translate"),a(),r(4,"button",9),C("click",function(){g(e);let n=c();return T(n.load())}),l(5),p(6,"translate"),a()()}t&2&&(o(2),m(s(3,2,"ATS.SETTINGS.APPLY_FORM.LOAD_FAILED")),o(3),m(s(6,4,"ATS.REPORTS.RETRY")))}function Ie(t,_){t&1&&(r(0,"span",42),l(1),p(2,"translate"),a()),t&2&&(o(),m(s(2,1,"ATS.SETTINGS.APPLY_FORM.ALWAYS")))}function Oe(t,_){if(t&1){let e=y();r(0,"div",28),C("click",function(){g(e);let n=c().$implicit,d=c(2);return T(d.toggleRequired(n.key))}),a()}if(t&2){let e=c().$implicit,i=c(2);N("on",i.applyForm().standardFields[e.key].required)}}function Me(t,_){if(t&1){let e=y();r(0,"tr")(1,"td"),l(2),a(),r(3,"td")(4,"div",28),C("click",function(){let n=g(e).$implicit,d=c(2);return T(d.toggleShown(n.key))}),a()(),r(5,"td"),v(6,Ie,3,3,"span",42)(7,Oe,1,2,"div",43),a()()}if(t&2){let e=_.$implicit,i=c(2);o(2),m(e.label),o(2),N("on",i.applyForm().standardFields[e.key].shown)("is-disabled",e.alwaysRequired),o(2),F(e.alwaysRequired?6:7)}}function we(t,_){if(t&1&&(r(0,"div",14),l(1),a()),t&2){let e=c().$implicit;o(),m(e.help)}}function Ne(t,_){if(t&1&&(r(0,"div",14),l(1),p(2,"translate"),a()),t&2){let e=c().$implicit;o(),V("",s(2,2,"ATS.SETTINGS.APPLY_FORM.OPTIONS_LABEL")," ",e.options.join(" \xB7 "),"")}}function Le(t,_){if(t&1){let e=y();r(0,"app-card",17)(1,"div",44)(2,"div",45)(3,"button",46),p(4,"translate"),C("click",function(){let n=g(e).$implicit,d=c(2);return T(d.moveCustomField(n,-1))}),x(5,"app-svg-image",47),a(),r(6,"button",46),p(7,"translate"),C("click",function(){let n=g(e).$implicit,d=c(2);return T(d.moveCustomField(n,1))}),x(8,"app-svg-image",48),a()(),r(9,"div",49)(10,"div",27),l(11),a(),v(12,we,2,1,"div",14)(13,Ne,3,4,"div",14),a(),r(14,"span",42),l(15),a(),r(16,"label",50)(17,"span",14),l(18),p(19,"translate"),a(),r(20,"div",28),C("click",function(){let n=g(e).$implicit,d=c(2);return T(d.toggleCustomRequired(n))}),a()(),r(21,"button",51),p(22,"translate"),C("click",function(){let n=g(e).$implicit,d=c(2);return T(d.openEditEditor(n))}),x(23,"app-svg-image",52),a(),r(24,"button",53),p(25,"translate"),C("click",function(){let n=g(e).$implicit,d=c(2);return T(d.deleteCustomField(n))}),x(26,"app-svg-image",54),a()()()}if(t&2){let e=_.$implicit,i=_.$index,n=c(2);u("flat",!0),o(3),u("disabled",i===0)("nzTooltipTitle",s(4,22,"ATS.SETTINGS.DOCUMENTS.MOVE_UP")),o(2),u("height",14)("width",14),o(),u("disabled",i===n.customFields().length-1)("nzTooltipTitle",s(7,24,"ATS.SETTINGS.DOCUMENTS.MOVE_DOWN")),o(2),u("height",14)("width",14)("rotate",180),o(3),m(e.label),o(),F(e.help?12:e.type==="dropdown"&&e.options.length?13:-1),o(3),m(n.typeLabel()[e.type]),o(3),m(s(19,26,"ATS.SETTINGS.APPLY_FORM.REQ")),o(2),N("on",e.required),o(),u("nzTooltipTitle",s(22,28,"ATS.SETTINGS.APPLY_FORM.EDIT_FIELD")),o(2),u("height",16)("width",16),o(),u("nzTooltipTitle",s(25,30,"ATS.SETTINGS.APPLY_FORM.DELETE_FIELD")),o(2),u("height",16)("width",16)}}function Re(t,_){t&1&&(r(0,"div",18),l(1),p(2,"translate"),a()),t&2&&(o(),m(s(2,1,"ATS.SETTINGS.APPLY_FORM.NO_CUSTOM_FIELDS")))}function De(t,_){if(t&1){let e=y();r(0,"div",21)(1,"label",22),l(2),p(3,"translate"),r(4,"span",8),l(5),p(6,"translate"),a()(),r(7,"textarea",68),p(8,"translate"),C("ngModelChange",function(n){g(e);let d=c(3);return T(d.setEditorOptions(n))}),a()()}if(t&2){let e=c(3);o(2),h("",s(3,4,"ATS.SETTINGS.APPLY_FORM.OPTIONS_FIELD")," "),o(3),m(s(6,6,"ATS.SETTINGS.APPLY_FORM.ONE_PER_LINE")),o(2),u("ngModel",e.editorOptionsText())("placeholder",s(8,8,"ATS.SETTINGS.APPLY_FORM.OPTIONS_PH"))}}function ke(t,_){if(t&1){let e=y();r(0,"app-card",19)(1,"div",55)(2,"h4",56),l(3),p(4,"translate"),a(),r(5,"button",51),p(6,"translate"),C("click",function(){g(e);let n=c(2);return T(n.closeEditor())}),x(7,"app-svg-image",57),a()(),r(8,"div",58)(9,"div",21)(10,"label",22),l(11),p(12,"translate"),a(),r(13,"input",59),p(14,"translate"),C("ngModelChange",function(n){g(e);let d=c(2);return T(d.setEditorField("label",n))}),a()(),r(15,"div",21)(16,"label",22),l(17),p(18,"translate"),a(),r(19,"ng-dropdown",60),C("change",function(n){g(e);let d=c(2);return T(d.setEditorField("type",n))}),a()()(),r(20,"div",21)(21,"label",22),l(22),p(23,"translate"),r(24,"span",8),l(25),p(26,"translate"),a()(),r(27,"input",59),p(28,"translate"),C("ngModelChange",function(n){g(e);let d=c(2);return T(d.setEditorField("help",n))}),a()(),v(29,De,9,10,"div",21),r(30,"div",61)(31,"label",62)(32,"input",63),C("change",function(){g(e);let n=c(2);return T(n.setEditorField("required",!n.editorDraft().required))}),a(),l(33),p(34,"translate"),a(),r(35,"label",62)(36,"input",63),C("change",function(){g(e);let n=c(2);return T(n.setEditorField("publicVisible",!n.editorDraft().publicVisible))}),a(),l(37),p(38,"translate"),a()(),x(39,"div",64),r(40,"div",65)(41,"button",66),C("click",function(){g(e);let n=c(2);return T(n.closeEditor())}),l(42),p(43,"translate"),a(),r(44,"button",67),C("click",function(){g(e);let n=c(2);return T(n.saveEditorField())}),l(45),p(46,"translate"),a()()()}if(t&2){let e=c(2);o(3),m(s(4,21,e.editorIsNew()?"ATS.SETTINGS.APPLY_FORM.NEW_FIELD":"ATS.SETTINGS.APPLY_FORM.EDIT_FIELD_TITLE")),o(2),u("nzTooltipTitle",s(6,23,"COMMON.CANCEL")),o(2),u("width",12)("height",12),o(4),h("",s(12,25,"ATS.SETTINGS.APPLY_FORM.FIELD_LABEL")," *"),o(2),u("ngModel",e.editorDraft().label)("placeholder",s(14,27,"ATS.SETTINGS.APPLY_FORM.FIELD_LABEL_PH")),o(4),h("",s(18,29,"ATS.SETTINGS.APPLY_FORM.FIELD_TYPE")," *"),o(2),u("items",e.ddOpts1())("value",e.editorDraft().type),o(3),h("",s(23,31,"ATS.SETTINGS.APPLY_FORM.HELP_TEXT")," "),o(3),m(s(26,33,"ATS.SETTINGS.APPLY_FORM.OPTIONAL_SUFFIX")),o(2),u("ngModel",e.editorDraft().help)("placeholder",s(28,35,"ATS.SETTINGS.APPLY_FORM.HELP_TEXT_PH")),o(2),F(e.editorHasOptions()?29:-1),o(3),u("checked",e.editorDraft().required),o(),h(" ",s(34,37,"ATS.SETTINGS.APPLY_FORM.REQUIRED")," "),o(3),u("checked",e.editorDraft().publicVisible),o(),h(" ",s(38,39,"ATS.SETTINGS.APPLY_FORM.PUBLIC_VISIBLE")," "),o(5),m(s(43,41,"COMMON.CANCEL")),o(3),h(" ",s(46,43,e.editorIsNew()?"ATS.SETTINGS.APPLY_FORM.ADD_FIELD":"ATS.SETTINGS.APPLY_FORM.UPDATE_FIELD")," ")}}function Ye(t,_){if(t&1){let e=y();r(0,"button",69),C("click",function(){g(e);let n=c(2);return T(n.openAddEditor())}),l(1),p(2,"translate"),a()}t&2&&(o(),h(" ",s(2,1,"ATS.SETTINGS.APPLY_FORM.ADD_CUSTOM_FIELD")," "))}function Ve(t,_){if(t&1){let e=y();r(0,"app-card",24)(1,"div",70)(2,"input",71),C("ngModelChange",function(n){let d=g(e).$implicit,E=c(2);return T(E.updateScreeningQuestion(d.id,{label:n}))}),a(),r(3,"ng-dropdown",60),C("change",function(n){let d=g(e).$implicit,E=c(2);return T(E.updateScreeningQuestion(d.id,{type:n}))}),a(),r(4,"button",53),p(5,"translate"),C("click",function(){let n=g(e).$implicit,d=c(2);return T(d.removeScreeningQuestion(n.id))}),x(6,"app-svg-image",54),a()()()}if(t&2){let e=_.$implicit,i=c(2);u("flat",!0),o(2),u("ngModel",e.label),o(),u("items",i.ddOpts2())("value",e.type),o(),u("nzTooltipTitle",s(5,7,"ATS.SETTINGS.SCORECARDS.REMOVE_QUESTION")),o(2),u("height",16)("width",16)}}function Ge(t,_){if(t&1){let e=y();r(0,"span",33),l(1),r(2,"button",72),p(3,"translate"),C("click",function(){let n=g(e).$implicit,d=c(2);return T(d.removeEeocDimension(n))}),x(4,"app-svg-image",57),a()()}if(t&2){let e=_.$implicit;o(),h(" ",e," "),o(),u("nzTooltipTitle",s(3,4,"ATS.SETTINGS.APPLY_FORM.REMOVE_DIMENSION")),o(2),u("width",12)("height",12)}}function qe(t,_){if(t&1){let e=y();r(0,"span",34)(1,"input",73),p(2,"translate"),C("ngModelChange",function(n){g(e);let d=c(2);return T(d.eeocDimDraft.set(n))})("keyup.enter",function(){g(e);let n=c(2);return T(n.confirmEeocAdd())})("keyup.escape",function(){g(e);let n=c(2);return T(n.cancelEeocAdd())}),a(),r(3,"button",67),C("click",function(){g(e);let n=c(2);return T(n.confirmEeocAdd())}),l(4),p(5,"translate"),a(),r(6,"button",66),C("click",function(){g(e);let n=c(2);return T(n.cancelEeocAdd())}),l(7),p(8,"translate"),a()()}if(t&2){let e=c(2);o(),u("ngModel",e.eeocDimDraft())("placeholder",s(2,4,"ATS.SETTINGS.APPLY_FORM.DIMENSION_PH")),o(3),m(s(5,6,"COMMON.ADD")),o(3),m(s(8,8,"COMMON.CANCEL"))}}function Be(t,_){if(t&1){let e=y();r(0,"button",66),C("click",function(){g(e);let n=c(2);return T(n.openEeocAdd())}),l(1),p(2,"translate"),a()}t&2&&(o(),m(s(2,1,"ATS.SETTINGS.APPLY_FORM.ADD_DIMENSION")))}function Ue(t,_){t&1&&(r(0,"div",75),x(1,"app-svg-image",78),l(2),p(3,"translate"),a()),t&2&&(o(),u("height",14)("width",14),o(),h(" ",s(3,3,"ATS.SETTINGS.APPLY_FORM.DROP_FILE"),""))}function $e(t,_){t&1&&(r(0,"div",76),l(1,"\u2014"),a())}function ze(t,_){t&1&&(r(0,"div",77),l(1,"\u2014"),a())}function He(t,_){if(t&1&&(r(0,"div",21)(1,"label",74),l(2),a(),v(3,Ue,4,5,"div",75)(4,$e,2,0,"div",76)(5,ze,2,0,"div",77),a()),t&2){let e=c().$implicit,i=c(2);o(2),V(" ",e.label,"",i.applyForm().standardFields[e.key].required?" *":""," "),o(),F(e.key==="resume"?3:e.key==="coverLetter"?4:5)}}function Qe(t,_){if(t&1&&v(0,He,6,3,"div",21),t&2){let e=_.$implicit,i=c(2);F(i.applyForm().standardFields[e.key].shown?0:-1)}}function je(t,_){t&1&&(r(0,"div",76),l(1,"\u2014"),a())}function We(t,_){t&1&&(r(0,"div",77),x(1,"app-svg-image",81),l(2," yyyy-mm-dd"),a()),t&2&&(o(),u("height",14)("width",14))}function Xe(t,_){if(t&1&&(r(0,"div",79),x(1,"app-svg-image",82),l(2),p(3,"translate"),a()),t&2){let e=c(2).$implicit;o(),u("height",6)("width",9),o(),h(" ",e.options[0]||s(3,3,"ATS.SETTINGS.APPLY_FORM.SELECT_PH"),"")}}function Ke(t,_){if(t&1&&(r(0,"div",79),x(1,"app-svg-image",83),l(2),p(3,"translate"),a()),t&2){let e=c(2).$implicit;o(),u("height",13)("width",13),o(),h(" ",e.options[0]||s(3,3,"ATS.SETTINGS.APPLY_FORM.PICK_MULTI_PH"),"")}}function Je(t,_){if(t&1&&(r(0,"label",62),x(1,"input",84),l(2),a()),t&2){let e=c(2).$implicit;o(2),h(" ",e.label,"")}}function Ze(t,_){t&1&&(r(0,"div",75),x(1,"app-svg-image",78),l(2),p(3,"translate"),a()),t&2&&(o(),u("height",14)("width",14),o(),h(" ",s(3,3,"ATS.SETTINGS.APPLY_FORM.DROP_FILE"),""))}function et(t,_){t&1&&(r(0,"div",77),l(1,"123"),a())}function tt(t,_){t&1&&(r(0,"div",77),l(1,"https://\u2026"),a())}function it(t,_){t&1&&(r(0,"div",77),l(1,"\u2014"),a())}function nt(t,_){if(t&1&&(r(0,"div",80),l(1),a()),t&2){let e=c(2).$implicit;o(),m(e.help)}}function ot(t,_){if(t&1&&(r(0,"div",21)(1,"label",74),l(2),a(),v(3,je,2,0,"div",76)(4,We,3,2,"div",77)(5,Xe,4,5,"div",79)(6,Ke,4,5,"div",79)(7,Je,3,1,"label",62)(8,Ze,4,5,"div",75)(9,et,2,0,"div",77)(10,tt,2,0,"div",77)(11,it,2,0,"div",77)(12,nt,2,1,"div",80),a()),t&2){let e,i=c().$implicit;o(2),V(" ",i.label,"",i.required?" *":""," "),o(),F((e=i.type)==="textarea"?3:e==="date"?4:e==="dropdown"?5:e==="multi"?6:e==="checkbox"?7:e==="file"?8:e==="number"?9:e==="url"?10:11),o(9),F(i.help?12:-1)}}function at(t,_){if(t&1&&v(0,ot,13,4,"div",21),t&2){let e=_.$implicit;F(e.publicVisible?0:-1)}}function rt(t,_){if(t&1&&(r(0,"div",85)(1,"label",86),x(2,"input",87),l(3),p(4,"translate"),a(),r(5,"label",86),x(6,"input",87),l(7),p(8,"translate"),a()()),t&2){let e=c().$implicit;o(2),u("name","q-"+e.id),o(),h(" ",s(4,4,"COMMON.YES"),""),o(3),u("name","q-"+e.id),o(),h(" ",s(8,6,"COMMON.NO"),"")}}function lt(t,_){t&1&&(r(0,"div",77),l(1,"\u2014"),a())}function pt(t,_){t&1&&(r(0,"div",77),l(1,"0"),a())}function st(t,_){t&1&&(r(0,"div",79),x(1,"app-svg-image",82),l(2),p(3,"translate"),a()),t&2&&(o(),u("height",6)("width",9),o(),h(" ",s(3,3,"ATS.SETTINGS.APPLY_FORM.PICK_ONE"),""))}function dt(t,_){if(t&1&&(r(0,"div",21)(1,"label",74),l(2),a(),v(3,rt,9,8,"div",85)(4,lt,2,0,"div",77)(5,pt,2,0,"div",77)(6,st,4,5,"div",79),a()),t&2){let e,i=_.$implicit;o(2),m(i.label),o(),F((e=i.type)==="yes_no"?3:e==="text"?4:e==="number"?5:e==="multiple_choice"?6:-1)}}function ct(t,_){if(t&1&&(x(0,"div",64),r(1,"div",31),l(2),a(),b(3,dt,7,2,"div",21,q)),t&2){let e=c(2);o(2),m(e.applyForm().screening.sectionTitle),o(),I(e.applyForm().screening.questions)}}function _t(t,_){if(t&1&&(x(0,"div",64),r(1,"label",88),x(2,"input",84),r(3,"span",89),l(4),a()()),t&2){let e=c(2);o(4),m(e.applyForm().gdpr.consentText)}}function mt(t,_){if(t&1){let e=y();r(0,"div",7)(1,"div",10)(2,"app-card",11)(3,"div",12)(4,"h3"),l(5),p(6,"translate"),a()(),r(7,"table",13)(8,"thead")(9,"tr")(10,"th"),l(11),p(12,"translate"),a(),r(13,"th"),l(14),p(15,"translate"),a(),r(16,"th"),l(1
17),p(18,"translate"),a()()(),r(19,"tbody"),b(20,Me,8,6,"tr",null,Ce),a()()(),r(22,"app-card")(23,"div",12)(24,"h3"),l(25),p(26,"translate"),a(),r(27,"span",14),l(28),p(29,"translate"),a()(),r(30,"div",15),l(31),p(32,"translate"),a(),r(33,"div",16),b(34,Le,27,32,"app-card",17,q,!1,Re,3,3,"div",18),a(),v(37,ke,47,45,"app-card",19)(38,Ye,3,3,"button",20),a(),r(39,"app-card")(40,"div",12)(41,"h3"),l(42),p(43,"translate"),a()(),r(44,"div",21)(45,"label",22),l(46),p(47,"translate"),a(),r(48,"input",23),C("ngModelChange",function(n){g(e);let d=c();return T(d.setScreeningTitle(n))}),a()(),r(49,"div",15),l(50),p(51,"translate"),a(),r(52,"div",16),b(53,Ve,7,9,"app-card",24,q),r(55,"button",25),C("click",function(){g(e);let n=c();return T(n.addScreeningQuestion())}),l(56),p(57,"translate"),a()()(),r(58,"app-card")(59,"div",12)(60,"h3"),l(61),p(62,"translate"),a()(),r(63,"div",26)(64,"div")(65,"div",27),l(66),p(67,"translate"),a(),r(68,"div",14),l(69),p(70,"translate"),a()(),r(71,"div",28),C("click",function(){g(e);let n=c();return T(n.toggleGdpr())}),a()(),r(72,"div",21)(73,"label",22),l(74),p(75,"translate"),a(),r(76,"textarea",29),C("ngModelChange",function(n){g(e);let d=c();return T(d.setConsentText(n))}),a()(),r(77,"div",21)(78,"label",22),l(79),p(80,"translate"),a(),r(81,"input",30),C("ngModelChange",function(n){g(e);let d=c();return T(d.setPrivacyUrl(n))}),a()()(),r(82,"app-card")(83,"div",12)(84,"h3"),l(85),p(86,"translate"),a(),r(87,"span",14),l(88),p(89,"translate"),a()(),r(90,"div",26)(91,"div")(92,"div",27),l(93),p(94,"translate"),a(),r(95,"div",14),l(96),p(97,"translate"),a()(),r(98,"div",28),C("click",function(){g(e);let n=c();return T(n.toggleEeoc())}),a()(),r(99,"div",31),l(100),p(101,"translate"),a(),r(102,"div",32),b(103,Ge,5,6,"span",33,W),v(105,qe,9,10,"span",34)(106,Be,3,3,"button",35),a()()(),r(107,"aside",36)(108,"app-card")(109,"div",12)(110,"h3"),l(111),p(112,"translate"),a(),r(113,"span",37),l(114),p(115,"translate"),a()(),r(116,"div",38)(117,"div",39)(118,"h4",40),l(119),p(120,"translate"),a(),b(121,Qe,1,1,null,null,Ce),b(123,at,1,1,null,null,q),v(125,ct,5,1)(126,_t,5,1),r(127,"button",41),l(128),p(129,"translate"),a()()()()()()}if(t&2){let e=c();o(2),u("noPad",!0),o(3),m(s(6,38,"ATS.SETTINGS.APPLY_FORM.STANDARD_FIELDS")),o(6),m(s(12,40,"ATS.SETTINGS.APPLY_FORM.COL_FIELD")),o(3),m(s(15,42,"ATS.SETTINGS.APPLY_FORM.COL_SHOWN")),o(3),m(s(18,44,"ATS.SETTINGS.APPLY_FORM.COL_REQUIRED")),o(3),I(e.STANDARD_FIELDS),o(5),m(s(26,46,"ATS.OFFERS.CUSTOM_FIELDS")),o(3),m(s(29,48,"ATS.SETTINGS.APPLY_FORM.CUSTOM_SUB")),o(3),h(" ",s(32,50,"ATS.SETTINGS.APPLY_FORM.CUSTOM_HELP")," "),o(3),I(e.customFields()),o(3),F(e.editorOpen()?37:38),o(5),m(s(43,52,"ATS.SETTINGS.APPLY_FORM.SCREENING_SECTION")),o(4),m(s(47,54,"ATS.SETTINGS.APPLY_FORM.SECTION_TITLE")),o(2),u("ngModel",e.applyForm().screening.sectionTitle),o(2),m(s(51,56,"ATS.SETTINGS.APPLY_FORM.SCREENING_HELP")),o(3),I(e.applyForm().screening.questions),o(3),m(s(57,58,"ATS.SETTINGS.APPLY_FORM.ADD_DEFAULT_QUESTION")),o(5),m(s(62,60,"ATS.SETTINGS.APPLY_FORM.GDPR_CONSENT")),o(5),m(s(67,62,"ATS.SETTINGS.APPLY_FORM.COLLECT_CONSENT")),o(3),m(s(70,64,"ATS.SETTINGS.APPLY_FORM.COLLECT_CONSENT_SUB")),o(2),N("on",e.applyForm().gdpr.enabled),o(3),m(s(75,66,"ATS.SETTINGS.APPLY_FORM.CONSENT_TEXT")),o(2),u("ngModel",e.applyForm().gdpr.consentText),o(3),m(s(80,68,"ATS.SETTINGS.APPLY_FORM.PRIVACY_URL")),o(2),u("ngModel",e.applyForm().gdpr.privacyUrl),o(4),m(s(86,70,"ATS.SETTINGS.APPLY_FORM.EEOC_DISCLOSURE")),o(3),m(s(89,72,"ATS.SETTINGS.APPLY_FORM.US_ONLY")),o(5),m(s(94,74,"ATS.SETTINGS.APPLY_FORM.SHOW_EEOC")),o(3),m(s(97,76,"ATS.SETTINGS.APPLY_FORM.SHOW_EEOC_SUB")),o(2),N("on",e.applyForm().eeoc.enabled),o(2),m(s(101,78,"ATS.SETTINGS.APPLY_FORM.DIMENSIONS")),o(3),I(e.applyForm().eeoc.dimensions),o(2),F(e.eeocAddOpen()?105:106),o(6),m(s(112,80,"ATS.SETTINGS.APPLY_FORM.CANDIDATE_PREVIEW")),o(3),m(s(115,82,"ATS.SETTINGS.APPLY_FORM.APPLY_FORM_BADGE")),o(5),m(s(120,84,"ATS.SETTINGS.APPLY_FORM.PREVIEW_TITLE")),o(2),I(e.STANDARD_FIELDS),o(2),I(e.customFields()),o(2),F(e.applyForm().screening.questions.length?125:-1),o(),F(e.applyForm().gdpr.enabled&&e.applyForm().gdpr.consentText?126:-1),o(2),m(s(129,86,"ATS.SETTINGS.APPLY_FORM.SUBMIT_APPLICATION"))}}var B=(()=>{class t{get FIELD_TYPES(){return[{value:"text",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.TYPE_SHORT_TEXT")},{value:"textarea",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.TYPE_LONG_TEXT")},{value:"number",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.TYPE_
1NUMBER")},{value:"date",label:this.translate.instant("COMMON.DATE")},{value:"dropdown",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.TYPE_DROPDOWN")},{value:"multi",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.TYPE_MULTI")},{value:"checkbox",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.TYPE_CHECKBOX")},{value:"url",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.TYPE_URL")},{value:"file",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.TYPE_FILE")}]}constructor(){this.ddOpts1=R(()=>[...this.FIELD_TYPES.map(e=>({value:e.value,label:`${e.label}`}))]),this.ddOpts2=R(()=>[...this.QUESTION_TYPES.map(e=>({value:e.value,label:`${e.label}`}))]),this.svc=w(Te),this.confirmDlg=w(Se),this.toast=w(ue),this.translate=w(ae),this.loading=A(!0),this.error=A(!1),this.saving=A(!1),this.dirty=A(!1),this.applyForm=A(this.blankApplyForm()),this.customFields=A([]),this.workspaceName=A("Acme Inc."),this.editorOpen=A(!1),this.editorDraft=A(this.blankCustomField()),this.editorIsNew=A(!0),this.STANDARD_FIELDS=[{key:"name",label:this.translate.instant("COMMON.NAME"),alwaysRequired:!0},{key:"email",label:this.translate.instant("COMMON.EMAIL"),alwaysRequired:!0},{key:"phone",label:this.translate.instant("ATS.MODALS.QUICK_ADD.PHONE"),alwaysRequired:!1},{key:"location",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.FIELD_LOCATION"),alwaysRequired:!1},{key:"resume",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.FIELD_RESUME"),alwaysRequired:!1},{key:"coverLetter",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.FIELD_COVER_LETTER"),alwaysRequired:!1},{key:"portfolio",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.FIELD_PORTFOLIO"),alwaysRequired:!1},{key:"linkedin",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.FIELD_LINKEDIN_URL"),alwaysRequired:!1},{key:"github",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.FIELD_GITHUB_URL"),alwaysRequired:!1},{key:"source",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.FIELD_SOURCE"),alwaysRequired:!1}],this.QUESTION_TYPES=[{value:"text",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.QTYPE_TEXT")},{value:"number",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.QTYPE_NUMBER")},{value:"yes_no",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.QTYPE_YES_NO")},{value:"multiple_choice",label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.QTYPE_MULTI")}],this.typeLabel=R(()=>{let e={};for(let i of this.FIELD_TYPES)e[i.value]=i.label;return e}),this.editorHasOptions=R(()=>this.editorDraft().type==="dropdown"||this.editorDraft().type==="multi"),this.eeocAddOpen=A(!1),this.eeocDimDraft=A(""),this.load()}blankApplyForm(){return{standardFields:{name:{shown:!0,required:!0},email:{shown:!0,required:!0},phone:{shown:!0,required:!0},location:{shown:!0,required:!1},resume:{shown:!0,required:!0},coverLetter:{shown:!0,required:!1},portfolio:{shown:!0,required:!1},linkedin:{shown:!0,required:!1},github:{shown:!0,required:!1},source:{shown:!0,required:!1}},screening:{sectionTitle:this.translate.instant("ATS.SETTINGS.APPLY_FORM.DEFAULT_SCREENING_TITLE"),questions:[]},gdpr:{enabled:!0,consentText:"",privacyUrl:""},eeoc:{enabled:!1,dimensions:[]}}}blankCustomField(){return{id:`cf-${Date.now()}`,label:"",type:"text",help:"",options:[],required:!1,publicVisible:!0,order:0}}load(){this.loading.set(!0),this.error.set(!1),this.svc.get().subscribe({next:({applyForm:e,customFields:i})=>{this.applyForm.set(e),this.customFields.set(i),this.dirty.set(!1),this.loading.set(!1)},error:()=>{this.error.set(!0),this.loading.set(!1)}})}toggleShown(e){e==="name"||e==="email"||(this.applyForm.update(i=>f(S({},i),{standardFields:f(S({},i.standardFields),{[e]:f(S({},i.standardFields[e]),{shown:!i.standardFields[e].shown})})})),this.dirty.set(!0))}toggleRequired(e){e==="name"||e==="email"||(this.applyForm.update(i=>f(S({},i),{standardFields:f(S({},i.standardFields),{[e]:f(S({},i.standardFields[e]),{required:!i.standardFields[e].required})})})),this.dirty.set(!0))}setScreeningTitle(e){this.applyForm.update(i=>f(S({},i),{screening:f(S({},i.screening),{sectionTitle:e})})),this.dirty.set(!0)}
1addScreeningQuestion(){let e={id:`q_${Date.now().toString(36)}`,label:this.translate.instant("ATS.SETTINGS.APPLY_FORM.NEW_QUESTION_DEFAULT_LABEL"),type:"yes_no"};this.applyForm.update(i=>f(S({},i),{screening:f(S({},i.screening),{questions:[...i.screening.questions,e]})})),this.dirty.set(!0)}updateScreeningQuestion(e,i){this.applyForm.update(n=>f(S({},n),{screening:f(S({},n.screening),{questions:n.screening.questions.map(d=>d.id===e?S(S({},d),i):d)})})),this.dirty.set(!0)}removeScreeningQuestion(e){this.applyForm.update(i=>f(S({},i),{screening:f(S({},i.screening),{questions:i.screening.questions.filter(n=>n.id!==e)})})),this.dirty.set(!0)}toggleGdpr(){this.applyForm.update(e=>f(S({},e),{gdpr:f(S({},e.gdpr),{enabled:!e.gdpr.enabled})})),this.dirty.set(!0)}setConsentText(e){this.applyForm.update(i=>f(S({},i),{gdpr:f(S({},i.gdpr),{consentText:e})})),this.dirty.set(!0)}setPrivacyUrl(e){this.applyForm.update(i=>f(S({},i),{gdpr:f(S({},i.gdpr),{privacyUrl:e})})),this.dirty.set(!0)}toggleEeoc(){this.applyForm.update(e=>f(S({},e),{eeoc:f(S({},e.eeoc),{enabled:!e.eeoc.enabled})})),this.dirty.set(!0)}removeEeocDimension(e){this.applyForm.update(i=>f(S({},i),{eeoc:f(S({},i.eeoc),{dimensions:i.eeoc.dimensions.filter(n=>n!==e)})})),this.dirty.set(!0)}openEeocAdd(){this.eeocDimDraft.set(""),this.eeocAddOpen.set(!0)}cancelEeocAdd(){this.eeocAddOpen.set(!1),this.eeocDimDraft.set("")}confirmEeocAdd(){let e=this.eeocDimDraft().trim();if(!e){this.toast.warn(this.translate.instant("ATS.SETTINGS.APPLY_FORM.ENTER_DIMENSION"));return}if(this.applyForm().eeoc.dimensions.some(i=>i.toLowerCase()===e.toLowerCase())){this.toast.warn(this.translate.instant("ATS.SETTINGS.APPLY_FORM.DIMENSION_EXISTS",{name:e}));return}this.applyForm.update(i=>f(S({},i),{eeoc:f(S({},i.eeoc),{dimensions:[...i.eeoc.dimensions,e]})})),this.dirty.set(!0),this.cancelEeocAdd()}saveChanges(){this.saving()||!this.dirty()||(this.saving.set(!0),this.svc.save(this.applyForm()).subscribe({next:({applyForm:e})=>{this.applyForm.set(e),this.dirty.set(!1),this.saving.set(!1)},error:e=>{console.error("Failed to save apply-form",e),this.toast.error(e?.error?.message||this.translate.instant("ATS.SETTINGS.COMPLIANCE.SAVE_FAILED")),this.saving.set(!1)}}))}discard(){return U(this,null,function*(){this.dirty()&&(yield this.confirmDlg.ask({title:this.translate.instant("ATS.SETTINGS.APPLY_FORM.DISCARD_CONFIRM")}))&&this.load()})}openAddEditor(){this.editorDraft.set(this.blankCustomField()),this.editorIsNew.set(!0),this.editorOpen.set(!0)}openEditEditor(e){this.editorDraft.set(S({},e)),this.editorIsNew.set(!1),this.editorOpen.set(!0)}closeEditor(){this.editorOpen.set(!1)}setEditorField(e,i){this.editorDraft.update(n=>f(S({},n),{[e]:i}))}setEditorOptions(e){let i=e.split(` 2`).map(n=>n.trim()).filter(Boolean);this.setEditorField("options",i)}editorOptionsText(){return this.editorDraft().options.join(` 3`)}saveEditorField(){let e=this.editorDraft();if(!e.label.trim()){this.toast.warn(this.translate.instant("ATS.SETTINGS.APPLY_FORM.LABEL_REQUIRED"));return}if(this.editorIsNew())this.svc.createCustomField(e).subscribe({next:({customField:n})=>{this.customFields.update(d=>[...d,n]),this.closeEditor()},error:n=>{console.error("Failed to create custom field",n),this.toast.error(this.translate.instant("ATS.SETTINGS.DOCUMENTS.CREATE_FAILED",{error:n?.error?.message||this.translate.instant("ATS.MODALS.UNKNOWN_ERROR")}))}});else{let i=e,{id:n}=i,d=H(i,["id"]);this.svc.updateCustomField(n,d).subscribe({next:({customField:E})=>{this.customFields.update(D=>D.map(P=>P.id===n?E:P)),this.closeEditor()},error:E=>{console.error("Failed to update custom field",E),this.toast.error(this.translate.instant("ATS.SETTINGS.DOCUMENTS.UPDATE_FAILED",{error:E?.error?.message||this.translate.instant("ATS.MODALS.UNKNOWN_ERROR")}))}})}}toggleCustomRequired(e){let i=f(S({},e),{required:!e.required});this.customFields.update(n=>n.map(d=>d.id===e.id?i:d)),this.svc.updateCustomField(e.id,{required:i.required}).subscribe({error:n=>{console.error("Failed to update required flag",n),this.customFields.update(d=>d.map(E=>E.id===e.id?e:E))}})}deleteCustomField(e){return U(this,null,function*(){if(!(yield this.confirmDlg.ask({title:this.translate.instant("ATS.SETTINGS.APPLY_FORM.DELETE_FIELD_CONFIRM",{label:e.label})})))return;let i=this.customFields();this.customFields.update(n=>n.filter(d=>
3d.id!==e.id)),this.svc.archiveCustomField(e.id).subscribe({error:n=>{console.error("Failed to delete custom field",n),this.toast.error(this.translate.instant("ATS.SETTINGS.DOCUMENTS.DELETE_FAILED")),this.customFields.set(i)}})})}moveCustomField(e,i){let n=[...this.customFields()],d=n.findIndex(P=>P.id===e.id);if(d<0)return;let E=d+i;if(E<0||E>=n.length)return;[n[d],n[E]]=[n[E],n[d]];let D=n.map((P,xe)=>f(S({},P),{order:xe}));this.customFields.set(D),this.svc.reorderCustomFields(D.map(P=>P.id)).subscribe({error:P=>{console.error("Failed to reorder",P)}})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=j({type:t,selectors:[["app-ats-apply-form-settings"]],decls:14,vars:17,consts:[["active","apply-form","label","ATS.SETTINGS.NAV.APPLY_FORM",3,"workspaceName"],[3,"title","subtitle"],[1,"btn","btn-outline","btn-sm",3,"click","disabled"],[1,"btn","btn-accent","btn-sm",3,"click","disabled"],["aria-hidden","true",1,"ats-btn-spinner"],["variant","form"],[1,"af-error"],[1,"g-12-8"],[1,"text-muted"],[1,"btn","btn-outline","btn-sm",3,"click"],[1,"flex","flex-col","gap-4"],[3,"noPad"],["card-header","",1,"card-header"],[1,"table","af-std-table","no-th-radius"],[1,"text-xs","text-muted"],[1,"field-help","mb-3"],[1,"flex","flex-col","gap-2"],[1,"af-cf-card",3,"flat"],[1,"text-xs","text-muted","af-cf-empty"],[1,"af-cf-editor","mt-3"],[1,"btn","btn-outline","btn-sm","mt-3","af-add-btn"],[1,"field"],[1,"field-label"],[1,"input",3,"ngModelChange","ngModel"],[1,"af-q-card",3,"flat"],[1,"btn","btn-outline","btn-sm","af-add-btn",3,"click"],[1,"af-row","mb-3"],[1,"text-sm","fw-semibold"],[1,"toggle",3,"click"],["rows","3",1,"input",3,"ngModelChange","ngModel"],["placeholder","https://workspace.example.com/privacy",1,"input",3,"ngModelChange","ngModel"],[1,"text-label","mb-2"],[1,"flex","flex-wrap","items-center","gap-2"],[1,"badge","badge-accent","af-dim"],[1,"af-dim-add"],[1,"btn","btn-ghost","btn-sm"],[1,"af-preview-wrap"],[1,"badge","badge-accent"],[1,"af-preview-bg"],[1,"af-preview-card"],[1,"mb-3"],[1,"btn","btn-accent","btn-block","mt-3"],[1,"badge","badge-muted"],[1,"toggle",3,"on"],[1,"af-cf-row"],[1,"af-cf-grip"],["nz-tooltip","","nzTooltipPlacement","top",1,"btn-icon",3,"click","disabled","nzTooltipTitle"],["value","ic-arrow-up-symbol","stroke","#333333","fill","none","className","svg-stroke",3,"height","width"],["value","ic-arrow-up-symbol","stroke","#333333","fill","none","className","svg-stroke",3,"height","width","rotate"],[1,"flex-1"],[1,"af-req-row"],["nz-tooltip","","nzTooltipPlacement","top",1,"btn-icon",3,"click","nzTooltipTitle"],["value","ic-text-edit","className","svg-stroke",3,"height","width"],["nz-tooltip","","nzTooltipPlacement","top",1,"btn-icon","af-danger",3,"click","nzTooltipTitle"],["value","ic-time-trash","stroke","#DC2626","fill","none","className","svg-stroke",3,"height","width"],[1,"flex","items-center","justify-between","mb-3"],[1,"af-editor-title"],["value","ic-ats-cross-small","stroke","currentColor",3,"width","height"],[1,"grid-2"],[1,"input",3,"ngModelChange","ngModel","placeholder"],["classes","w-100","bindLabel","label","bindValue","value",3,"change","items","value"],[1,"af-checks","mt-2"],[1,"af-check"],["type","checkbox",3,"change","checked"],[1,"af-divider","mt-3","mb-3"],[1,"flex","justify-end","gap-2"],[1,"btn","btn-ghost","btn-sm",3,"click"],[1,"btn","btn-accent","btn-sm",3,"click"],["rows","3",1,"input",3,"ngModelChange","ngModel","placeholder"],[1,"btn","btn-outline","btn-sm","mt-3","af-add-btn",3,"click"],[1,"af-q-row"],[1,"input","af-q-input",3,"ngModelChange","ngModel"],["nz-tooltip","","nzTooltipPlacement","top",1,"af-dim-x",3,"click","nzTooltipTitle"],[1,"input","input-sm","af-dim-input",3,"ngModelChange","keyup.enter","keyup.escape","ngModel","placeholder"],[1,"field-label","af-preview-label"],[1,"input","af-drop","ats-btn-ic"],[1,"input","af-textarea-stub"],[1,"input"],["value","ic-ats-upload",3,"height","width"],[1,"input","ats-btn-ic"],[1,"field-help"],["value","ic-date-symbol","stroke","#333333","fill","none","className","svg-stroke",3,"height","width"],["value","arrowdown",3,"height","width"],["value","ic-ats-check-square",3,"height","width"],["type","checkbox"],[1,"flex","gap-2"],[1,"af-radio"],["type","radio",3,"name"],[1,"af-consent-row"],[1,"text-xs"]],template:function(i,n){i&1&&(r(0,"app-settings-shell",0)(1,"app-page-header",1),p(2,"translate"),p(3,"translate"),r(4,"button",2),C("click",function(){return n.discard()}),l(5),p(6,"translate"),a(),r(7,"button",3),C("click",function(){return n.saveChanges()}),v(8,ye,1,0,"span",4),l(9),p(10,"translate"),a()(),v(11,Pe,1,0,"app-ats-skeleton",5)(12,be,7,6,"div",6)(13,mt,130,88,"div",7),a()),i&2&&(u("workspaceName",n.workspaceName()),o(),u("title",s(2,9,"ATS.SETTINGS.APPLY_FORM.TITLE"))("subtitle",s(3,11,"ATS.SETTINGS.APPLY_FORM.SUBTITLE")),o(3),u("disabled",!n.dirty()||n.saving()),o(),m(s(6,13,"ATS.MODALS.SEND_EMAIL.DISCARD")),o(2),u("disabled",!n.dirty()||n.saving()),o(),F(n.saving()?8:-1),o(),h(" ",s(10,15,n.dirty()?"ATS.COMMON.SAVE_CHANGES":"ATS.COMMON.SAVED")," "),o(2),F(n.loading()?11:n.error()?12:13))},dependencies:[G,te,J,Z,ee,ge,se,me,de,_e,oe,pe,ne,ce,re],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block}.af-topbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem;border-bottom:1px solid var(--border);background:var(--surface);gap:1rem;flex-shrink:0}.af-topbar-left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0}.af-topbar-actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.af-error[_ngcontent-%COMP%]{padding:2rem 1rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.75rem}.af-loading[_ngcontent-%COMP%]{padding:3rem 1rem;text-align:center;color:var(--ink-muted);font-size:.875rem}.af-std-table[_ngcontent-%COMP%]{width:100%;border:none}.af-std-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .af-std-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{vertical-align:middle}.af-std-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(2), .af-std-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(3), .af-std-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2), .af-std-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){width:100px}.af-cf-card[_ngcontent-%COMP%]{display:block}.af-cf-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;padding:.25rem .5rem}.af-cf-grip[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:0}.af-cf-grip[_ngcontent-%COMP%] .btn-icon[_ngcontent-%COMP%]{padding:0;line-height:1;font-size:.75rem;color:var(--ink-muted)}.af-req-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.35rem;font-size:.75rem;margin-left:.5rem}.af-danger[_ngcontent-%COMP%]{color:var(--danger)}.af-cf-empty[_ngcontent-%COMP%]{padding:1rem .5rem;text-align:center}.af-add-btn[_ngcontent-%COMP%]{align-self:flex-start}
3.af-cf-editor[_ngcontent-%COMP%]{background:var(--accent-light, var(--surface-alt));border:1px dashed var(--accent);display:block}.af-editor-title[_ngcontent-%COMP%]{margin:0}.af-checks[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.af-check[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;font-size:.875rem;cursor:pointer}.af-divider[_ngcontent-%COMP%]{height:1px;background:var(--border)}.af-q-card[_ngcontent-%COMP%]{display:block}.af-q-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;align-items:center;gap:.75rem;padding:.25rem .5rem}.af-q-input[_ngcontent-%COMP%]{min-width:0;font-weight:600}.af-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem}.af-dim[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem}.af-dim-x[_ngcontent-%COMP%]{background:transparent;border:none;color:inherit;font-size:.9rem;cursor:pointer;padding:0 .15rem;line-height:1}.af-dim-add[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.375rem}.af-dim-input[_ngcontent-%COMP%]{width:180px}.af-preview-wrap[_ngcontent-%COMP%]{position:sticky;top:0;align-self:start;height:fit-content}.af-preview-bg[_ngcontent-%COMP%]{background:var(--surface-alt);margin:-1rem;padding:1.25rem;border-radius:0 0 var(--radius-xs, 4px) var(--radius-xs, 4px)}.af-preview-card[_ngcontent-%COMP%]{padding:1.5rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xs, 6px)}.af-preview-label[_ngcontent-%COMP%]{text-transform:none;letter-spacing:0}.af-drop[_ngcontent-%COMP%]{padding:1rem;text-align:center;color:var(--ink-muted);border-style:dashed}.af-textarea-stub[_ngcontent-%COMP%]{min-height:60px}.af-radio[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.375rem;font-size:.8125rem}.af-radio[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin:0;flex-shrink:0}.af-consent-row[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;margin-bottom:.5rem;cursor:pointer}.toggle.is-disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.6}.mb-3[_ngcontent-%COMP%]{margin-bottom:.75rem}.mt-3[_ngcontent-%COMP%]{margin-top:.75rem}.mt-2[_ngcontent-%COMP%]{margin-top:.5rem}.mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child, .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:first-child{padding:1rem .75rem!important}'],changeDetection:0})}}return t})();L();var ut=[{path:"",component:B,pathMatch:"full"}],fe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Y({type:t})}static{this.\u0275inj=k({imports:[$.forChild(ut),$]})}}return t})();L();var zt=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Y({type:t})}static{this.\u0275inj=k({imports:[G,fe,B]})}}return t})();export{zt as ApplyFormSettingsModule};
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.