{"version":3,"file":"index.js","sources":["../../FrontEnd/PDP-FE/node_modules/.pnpm/youtube-iframe@1.0.3/node_modules/youtube-iframe/index.js"],"sourcesContent":["(function(window) {\n\tvar YouTubeIframeLoader = {\n\t\tsrc: 'https://www.youtube.com/iframe_api',\n\t\tloading: false,\n\t\tloaded: false,\n\t\tlisteners: [],\n\n\t\tload: function(callback) {\n\t\t\tvar _this = this;\n\t\t\tthis.listeners.push(callback);\n\n\t\t\tif(this.loaded) {\n\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t_this.done();\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif(this.loading) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.loading = true;\n\n\t\t\twindow.onYouTubeIframeAPIReady = function() {\n\t\t\t\t_this.loaded = true;\n\t\t\t\t_this.done();\n\t\t\t};\n\n\t\t\tvar script = document.createElement('script');\n\t\t\tscript.type = 'text/javascript';\n\t\t\tscript.src = this.src;\n\t\t\tdocument.body.appendChild(script);\n\t\t},\n\n\t\tdone: function() {\n\t\t\tdelete window.onYouTubeIframeAPIReady;\n\n\t\t\twhile(this.listeners.length) {\n\t\t\t\tthis.listeners.pop()(window.YT);\n\t\t\t}\n\t\t}\n\t};\n\n\tif(typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = YouTubeIframeLoader;\n\t} else {\n\t\twindow.YouTubeIframeLoader = YouTubeIframeLoader;\n\t}\n}(window));\n"],"names":["window","YouTubeIframeLoader","callback","_this","script","module"],"mappings":"iEAAC,SAASA,EAAQ,CACjB,IAAIC,EAAsB,CACzB,IAAK,qCACL,QAAS,GACT,OAAQ,GACR,UAAW,CAAE,EAEb,KAAM,SAASC,EAAU,CACxB,IAAIC,EAAQ,KAGZ,GAFA,KAAK,UAAU,KAAKD,CAAQ,EAEzB,KAAK,OAAQ,CACf,WAAW,UAAW,CACrBC,EAAM,KAAI,CACf,CAAK,EACD,MACA,CAED,GAAG,MAAK,QAIR,MAAK,QAAU,GAEfH,EAAO,wBAA0B,UAAW,CAC3CG,EAAM,OAAS,GACfA,EAAM,KAAI,CACd,EAEG,IAAIC,EAAS,SAAS,cAAc,QAAQ,EAC5CA,EAAO,KAAO,kBACdA,EAAO,IAAM,KAAK,IAClB,SAAS,KAAK,YAAYA,CAAM,EAChC,EAED,KAAM,UAAW,CAGhB,IAFA,OAAOJ,EAAO,wBAER,KAAK,UAAU,QACpB,KAAK,UAAU,IAAK,EAACA,EAAO,EAAE,CAE/B,CACH,EAEqCK,EAAO,QAC1CA,EAAA,QAAiBJ,EAEjBD,EAAO,oBAAsBC,CAE9B,GAAC,MAAM","x_google_ignoreList":[0]}