{"version":3,"file":"js/RequiredWhenValidation.min.js","mappings":"QAAAA,EAAEC,UAAUC,UAAU,gBAAgB,SAAUC,EAAOC,EAASC,GAC5D,IAAIC,EAAcN,EAAEI,GAASG,KAAK,aAClC,OAAID,IACgBN,EAAEM,GAAa,GAAGE,SAEtBJ,EAA6BD,MAAMM,OAAS,CAIhE,IACAT,EAAEC,UAAUS,YAAYC,SAASC,QAAQ,iB","sources":["webpack://Wlt/./wwwroot/src/scripts/RequiredWhenValidation.ts"],"sourcesContent":["$.validator.addMethod(\"requiredwhen\", function (value, element, param) {\r\n var otherPropId = $(element).data('val-other');\r\n if (otherPropId) {\r\n var otherProp = $(otherPropId)[0].checked;\r\n if (otherProp) {\r\n return (element as HTMLInputElement).value.length > 0;\r\n }\r\n }\r\n return true;\r\n});\r\n$.validator.unobtrusive.adapters.addBool(\"requiredwhen\");"],"names":["$","validator","addMethod","value","element","param","otherPropId","data","checked","length","unobtrusive","adapters","addBool"],"sourceRoot":""}