{"version":3,"file":"/scripts/post.js","mappings":"AAsBA,IAtBA,WACE,aACEA,KAAKC,qBAkBT,OAfE,YAAAA,mBAAA,WACEC,SAASC,iBAAiB,WAAWC,SAAQ,SAACC,GAC5CA,EAAIC,iBAAiB,SAAS,SAACC,GAC7B,IAAMF,EAAME,EAAEC,OACRC,EAASJ,EAAIK,cACnBL,EAAIM,UAAUC,IAAI,UAElBH,EAAON,iBAAiB,0BAA0BC,SAAQ,SAAAS,GACxDA,EAAIF,UAAUG,OAAO,UACrBD,EAAIF,UAAUC,IAAI,iBAM5B,EApBA","sources":["webpack://evolve-boilerplate/./src/scripts/components/post.ts"],"sourcesContent":["class Post {\r\n constructor() {\r\n this.showPaymentMethods()\r\n }\r\n\r\n showPaymentMethods() {\r\n document.querySelectorAll('.pm-btn').forEach((btn) => {\r\n btn.addEventListener('click', (e) => {\r\n const btn = e.target as HTMLButtonElement;\r\n const parent = btn.parentElement;\r\n btn.classList.add('hidden');\r\n\r\n parent.querySelectorAll('.casino__payments--fig').forEach(fig => {\r\n fig.classList.remove('hidden')\r\n fig.classList.add('foc')\r\n })\r\n })\r\n })\r\n }\r\n\r\n}\r\n\r\nnew Post"],"names":["this","showPaymentMethods","document","querySelectorAll","forEach","btn","addEventListener","e","target","parent","parentElement","classList","add","fig","remove"],"sourceRoot":""}