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IAAI,CAAC,UAAU,CAAC;YACd,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE;gBAC7C,SAAS,EAAE,IAAI,CAAC,OAAO;gBACvB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,KAAK,EAAE,IAAI,CAAC,SAAS,GAAG,SAAS,GAAG,QAAQ;aAC7C,CAAC,CAAC;SACJ,CAAC,CAAC;KACJ;IAED,MAAM;QACJ,OAAO,4DAAK,KAAK,EAAC,eAAe,EAAC,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,SAAS,GAAG,EAAiB,CAAC,GAAQ,CAAC;KAC3F;;;;;;","names":[],"sources":["src/components/core/features/presto-action-bar/ui/presto-action-bar-ui.scss?tag=presto-action-bar-ui&encapsulation=shadow","src/components/core/features/presto-action-bar/ui/presto-action-bar-ui.tsx","src/components/ui/presto-youtube-subscribe-button/presto-youtube-subscribe-button.css?tag=presto-youtube-subscribe-button","src/components/ui/presto-youtube-subscribe-button/presto-youtube-subscribe-button.tsx"],"sourcesContent":[":host {\n display: block;\n overflow: hidden;\n}\n\n.bar {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n background: var(--presto-action-bar-background, #1d1d1d);\n color: #fff;\n padding: 0 var(--presto-action-bar-padding, 6px);\n line-height: 1em;\n font-size: 16px;\n margin-top: -100%;\n transition: margin var(--presto-action-bar-animation-speed, 0.5s) ease-in-out;\n transform: translate3d(0);\n border-radius: 0px 0px var(--presto-player-border-radius) var(--presto-player-border-radius);\n &.bar--open {\n margin-top: 0;\n }\n}\n\n.bar__button {\n margin: var(--presto-action-bar-padding, 6px);\n display: flex;\n align-items: center;\n}\n\n.bar__content {\n margin: var(--presto-action-bar-padding, 6px);\n width: 100%;\n text-align: center;\n\n @media screen and (min-width: 480px) {\n width: auto;\n }\n}\n","import { Component, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'presto-action-bar-ui',\n styleUrl: 'presto-action-bar-ui.scss',\n shadow: true,\n})\nexport class PrestoActionBarUi {\n @Prop() open?: boolean;\n\n render() {\n return (\n <div\n class={{\n 'bar': true,\n 'bar--open': this.open,\n }}\n >\n <span part=\"content\" class=\"bar__content\">\n <slot />\n </span>\n <span part=\"button\" class=\"bar__button\">\n <slot name=\"button\" />\n </span>\n </div>\n );\n }\n}\n",":host {\n display: block;\n}\n","import { Component, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'presto-youtube-subscribe-button',\n styleUrl: 'presto-youtube-subscribe-button.css',\n shadow: false,\n})\nexport class PrestoYoutubeSubscribeButton {\n private textInput?: HTMLElement;\n\n @Prop() channel: string;\n @Prop() layout: string = 'default';\n @Prop() showCount: boolean;\n\n waitForApi(callback) {\n var interval = setInterval(function () {\n if (window?.gapi?.ytsubscribe) {\n clearInterval(interval);\n callback();\n }\n }, 50);\n }\n\n componentDidLoad() {\n const po = document.createElement('script');\n po.type = 'text/javascript';\n po.async = false;\n po.src = 'https://apis.google.com/js/platform.js';\n const s = document.getElementsByTagName('script')[0];\n s && s.parentNode.insertBefore(po, s);\n\n this.waitForApi(() => {\n window.gapi.ytsubscribe.render(this.textInput, {\n channelId: this.channel,\n layout: this.layout,\n count: this.showCount ? 'default' : 'hidden',\n });\n });\n }\n\n render() {\n return <div class=\"g-ytsubscribe\" ref={el => (this.textInput = el as HTMLElement)}></div>;\n }\n}\n"],"version":3}