{"version":3,"file":"830.bundle.js","mappings":"yQAWO,SAASA,KAAwB,OAAQ,qBAAsB,CAE/D,SAASC,IACd,IAAIC,GAAY,OAAQ,mBAGpBC,SAASC,KAAKC,UAAUC,SAAS,iBACnCJ,EAAUK,GAAG,QAAQ,KAuBvBJ,SAASK,eAAe,2BAA2BH,UAAUI,IAAI,iBACjEN,SAASK,eAAe,4BAA4BH,UAAUI,IAAI,gBAvB3C,GAIzB,CAEO,SAASC,KAAqB,OAAQ,cAAe,CAErD,SAASC,EAAkBC,EAASC,GACvC,IAAIF,GAAoB,OAAQ,eAChCA,EAAkBG,IAAI,CACpB,CAAEA,IAAKF,KAETD,EAAkBI,OAAOF,EAC7B,CAEO,SAASG,KACU,OAAQ,eACdC,OACpB,C","sources":["webpack://narconon-us-site/./node_modules/@able-sbcadmin/narconon-npm/dist/playerInit.js"],"sourcesContent":["/*******************************************************************************************************************\n * File: /assets/js/videoimport.js\n * Imports videojs and prepares the player for use.\n * \n * Vid player code and various disclaimer work - ABLE DEV\n * \n * Author: Matt Hawk\n *\n *******************************************************************************************************************/\n import videojs from 'video.js';\n\nexport function globalSuccessPlayer () {videojs('vid-global-success');}\n\nexport function heroVidPlayer () {\n let vidHeader = videojs('hero-vid-header');\n\n // Disclaimer pop-up padding\n if (document.body.classList.contains(\"testimonials\")) {\n vidHeader.on(\"play\", () => {\n disclaimerPadding();\n }\n );\n }\n}\n\nexport function vidSuccessPlayer () {videojs('vid-success');} \n\nexport function lightBoxVidPlayer(dataSrc, dataPoster) {\n let lightBoxVidPlayer = videojs('vid-success');\n lightBoxVidPlayer.src([ \n { src: dataSrc }\n ]);\n lightBoxVidPlayer.poster(dataPoster);\n}\n\nexport function lightBoxVidPause() {\n let lightBoxVidPlayer = videojs('vid-success');\n lightBoxVidPlayer.pause();\n}\n\nfunction disclaimerPadding() {\n document.getElementById('mobile-hero-nav-wrapper').classList.add('disclaimer-on');\n document.getElementById('desktop-hero-nav-wrapper').classList.add('disclaimer-on');\n}\n\n\n\n"],"names":["globalSuccessPlayer","heroVidPlayer","vidHeader","document","body","classList","contains","on","getElementById","add","vidSuccessPlayer","lightBoxVidPlayer","dataSrc","dataPoster","src","poster","lightBoxVidPause","pause"],"sourceRoot":""}