{"version":3,"sources":["Global.js"],"names":["DropzoneLabel","$","fn","serializeFormJSON","o","a","this","serializeArray","each","name","push","value","jQuery","validator","setDefaults","errorElement","errorClass","errorPlacement","error","element","parent","length","insertAfter"],"mappings":"AAqCA,SAASA,gBACL,MAAO,4iBApCX,SAAWC,GACPA,EAAEC,GAAGC,kBAAoB,WAErB,IAAIC,EAAI,GACJC,EAAIC,KAAKC,iBAWb,OAVAN,EAAEO,KAAKH,GAAG,WACFD,EAAEE,KAAKG,OACFL,EAAEE,KAAKG,MAAMC,OACdN,EAAEE,KAAKG,MAAQ,CAACL,EAAEE,KAAKG,QAE3BL,EAAEE,KAAKG,MAAMC,KAAKJ,KAAKK,OAAS,KAEhCP,EAAEE,KAAKG,MAAQH,KAAKK,OAAS,MAG9BP,GAff,CAkBGQ,QAGHX,EAAEY,UAAUC,YAAY,CACpBC,aAAc,OACdC,WAAY,aACZC,eAAgB,SAASC,EAAOC,GACzBA,EAAQC,OAAO,gBAAgBC,OAC9BH,EAAMI,YAAYH,EAAQC,UAE1BF,EAAMI,YAAYH","file":"Global.js","sourcesContent":["\n\n(function ($) {\n $.fn.serializeFormJSON = function () {\n\n var o = {};\n var a = this.serializeArray();\n $.each(a, function () {\n if (o[this.name]) {\n if (!o[this.name].push) {\n o[this.name] = [o[this.name]];\n }\n o[this.name].push(this.value || '');\n } else {\n o[this.name] = this.value || '';\n }\n });\n return o;\n };\n\n})(jQuery);\n\n\n$.validator.setDefaults({\n errorElement: 'span',\n errorClass: 'is-invalid', \n errorPlacement: function(error, element) {\n if(element.parent('.input-group').length) {\n error.insertAfter(element.parent());\n } else {\n error.insertAfter(element);\n }\n }\n});\n\n\n\nfunction DropzoneLabel(){\n return `
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n
`;\n}\n"]}