{"version":3,"sources":["../../src/js/front/atc-button-front.js"],"names":["$","add_minus_plus_if_missing","rawQuantityBox","hasClass","addClass","bc_uatc_settings","hideQtyInputArrows","console","log","siblings","length","displayAddMinus","wrap","insertBefore","insertAfter","parent","css","document","body","on","off","e","this","quantityInput","closest","find","first","quantity","parseInt","attr","enableAjaxProductPage","preventDefault","product_id","id_in_value","isNaN","id_in_hidden_input","val","another_id_in_hidden_input","id_in_data_product","submit","button","data_post","action","ajaxurl","post","response","removeClass","trigger","setTimeout","evt","stopPropagation","quantityBox","newQuantity","currentQuantity","max","Number","isInteger","jQuery"],"mappings":"CACA,SAAUA,GAGN,SAASC,IAKL,IAAIC,EAAiBF,EAAE,gDAClBE,EAAeC,SAAS,eAAkBD,EAAeC,SAAS,sBAEnED,EAAeE,SAAS,+BAEQ,oBAArBC,kBAA4E,SAAxCA,iBAAiBC,qBAE5DC,QAAQC,IAAI,mBACZN,EAAeE,SAAS,uBAIhCG,QAAQC,IAAIN,EAAeO,SAAS,eAAeC,QAEV,SAArCL,iBAAiBM,iBAA+E,GAAjDT,EAAeO,SAAS,eAAeC,SAEtFR,EAAeU,KAAK,wFAEpBL,QAAQC,IAAI,yBACZR,EAAE,4EAA4Ea,aAAaX,GAC3FF,EAAE,4EAA4Ec,YAAYZ,IAK9FA,EAAea,SAASC,IAAI,UAAW,QAI3ChB,EAAE,WAIEC,IAIAD,EAAEiB,SAASC,MAAMC,GAAG,sBAAuB,WAEvClB,MAMJD,EAAE,4HAA4HoB,IAAI,SAASD,GAAG,QAAS,SAASE,GAC5Jd,QAAQC,IAAI,6CAA8CR,EAAEsB,OAG5D,IAAIC,EAAgBvB,EAAEsB,MAAME,QAAQ,QAAQC,KAAK,uBAEpB,IAAzBF,EAAcb,SACdH,QAAQC,IAAI,sCACZe,EAAgBvB,EAAEsB,MAAMP,SAASU,KAAK,qBAAqBC,SAG/D,IAAIC,EAAW,EAYf,GAT4B,GAAxBJ,EAAcb,QACdH,QAAQC,IAAI,sDACZmB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