text: {"version":3,"sources":["base_form.js"],"names":["BX","namespace","append","Landing","Utils","clone","remove","UI","Form","BaseForm","data","this","type","isPlainObject","id","random","selector","title","label","code","descriptionText","description","headerCheckbox","layout","createLayout","fields","Collection","BaseCollection","cards","createDescription","header","createHeader","body","createBody","footer","createFooter","innerHTML","appendChild","sources","Main","getInstance","options","isArray","length","adjustHeaderCheckbox","create","props","className","prototype","form","headerLayout","children","text","innerText","attrs","state","checked","events","change","isFunction","onChange","for","help","click","top","open","bind","undefined","isDynamicEnabled","checkbox","querySelector","addField","field","add","getNode","addCard","card","push","forEach","replaceCard","oldCard","newCard","removeCard","instance","constructor","Field","Date","newFieldData","serialize","result","getValue"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,sBAEb,IAAIC,EAASF,GAAGG,QAAQC,MAAMF,OAC9B,IAAIG,EAAQL,GAAGG,QAAQC,MAAMC,MAC7B,IAAIC,EAASN,GAAGG,QAAQC,MAAME,OAmB9BN,GAAGG,QAAQI,GAAGC,KAAKC,SAAW,SAASC,GAEtCC,KAAKD,KAAOV,GAAGY,KAAKC,cAAcH,GAAQA,KAC1CC,KAAKG,GAAK,OAAQH,KAAKD,KAAOC,KAAKD,KAAKI,GAAKd,GAAGG,QAAQC,MAAMW,SAC9DJ,KAAKK,SAAW,aAAcL,KAAKD,KAAOC,KAAKD,KAAKM,SAAW,GAC/DL,KAAKM,MAAQ,UAAWN,KAAKD,KAAOC,KAAKD,KAAKO,MAAQ,GACtDN,KAAKO,MAAQ,UAAWP,KAAKD,KAAOC,KAAKD,KAAKQ,MAAQ,GACtDP,KAAKC,KAAO,SAAUD,KAAKD,KAAOC,KAAKD,KAAKE,KAAO,UACnDD,KAAKQ,KAAO,SAAUR,KAAKD,KAAOC,KAAKD,KAAKS,KAAO,GACnDR,KAAKS,gBAAkB,gBAAiBT,KAAKD,KAAOC,KAAKD,KAAKW,YAAc,GAC5EV,KAAKW,eAAiBX,KAAKD,KAAKY,eAChCX,KAAKY,OAASvB,GA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