<html><head></head><body>{"version":3,"file":"score-footer.js","sources":["../../../../src/components/score/score-footer/score-footer.ts"],"sourcesContent":["import { html, TemplateResult } from 'lit';\nimport { customElement, query, state } from 'lit/decorators.js';\nimport componentStyles from './score-footer.css.lit';\nimport { SlotController } from '../../controllers/slot-controller';\nimport { OutlineElement } from '../../base/outline-element/outline-element';\nimport '../score-container/score-container';\n\n@customElement('score-footer')\nexport class ScoreFooter extends OutlineElement {\n slots = new SlotController(\n this, // This, the host element.\n true // To shift or not to shift LightDom nodes to ShadowDOM.\n );\n static styles = [componentStyles];\n\n @query('.socials-and-newsletter-container')\n socialsNewsletterContainer: HTMLElement;\n\n @query('.compliance-container')\n complianceContainer: HTMLElement;\n\n @state() hasChapterSlot: boolean;\n @state() hasPhoneSlot: boolean;\n @state() hasEmailSlot: boolean;\n @state() hasAddressSlot: boolean;\n\n firstUpdated(): void {\n this.hasChapterSlot = this.slots.test('chapter');\n this.hasPhoneSlot = this.slots.test('phone');\n this.hasEmailSlot = this.slots.test('email');\n this.hasAddressSlot = this.slots.test('street-address');\n this.hasAddressSlot = this.slots.test('city-state-zip-address');\n }\n\n updated() {\n // set max width of compliance container so it is in-line (vertically) with the container above it\n setTimeout(() => {\n this.complianceContainer.style.maxWidth =\n this.socialsNewsletterContainer.offsetWidth + 'px';\n }, 400);\n }\n\n render() {\n return html`\n <footer>\n <score-container container-width='\"full\"'>\n <div class='\"cta-links-container\"'>\n <slot name='\"cta-links\"'></slot>\n </div>\n </score-container>\n <score-container>\n <div class='\"footer-container\"'>\n <div class='\"upper-container\"'>\n <div\n ${this.haschapterslot\n="" ''}\"\n="" 'is-chapter'\n="" :="" ?="" class='\"logo-and-info-container'>\n <slot name='\"score-logo\"'></slot>\n ${this.chapterTemplate()}\n <div class='\"address-and-contact-container\"'>\n ${this.addressTemplate()} ${this.dividerTemplate()}\n ${this.contactTemplate()}\n </div>\n </div\n></div>\n <div class='\"socials-and-newsletter-container\"'>\n <slot name='\"socials\"'></slot>\n <slot name='\"newsletter\"'></slot>\n </div>\n </div>\n <div class='\"lower-container\"'>\n <div class='\"copyright-and-disclaimer-container\"'>\n <slot name='\"copyright\"'></slot>\n <slot name='\"disclaimer\"'></slot>\n <slot name='\"footer-links\"'></slot>\n </div>\n <div class='\"compliance-container\"'>\n <slot name='\"compliance-title\"'></slot>\n <slot name='\"compliance-logos\"'></slot>\n </div>\n </div>\n \n </score-container>\n </footer>\n `;\n }\n chapterTemplate(): TemplateResult | null {\n if (!this.hasChapterSlot) return null;\n\n return html` <slot name='\"chapter\"'></slot> `;\n }\n\n addressTemplate(): TemplateResult | null {\n return html` <div class='\"address-container\"'>\n <slot name='\"street-address\"'></slot>\n <slot name='\"city-state-zip-address\"'></slot>\n </div>`;\n }\n\n dividerTemplate(): TemplateResult | null {\n if ((!this.hasPhoneSlot && !this.hasEmailSlot) || !this.hasAddressSlot)\n return null;\n\n return html` <div class='\"divider\"'></div> `;\n }\n\n contactTemplate(): TemplateResult | null {\n if (!this.hasPhoneSlot && !this.hasEmailSlot) return null;\n\n return html`\n <div class='\"contact-wrapper\"'>\n ${!this.hasPhoneSlot\n ? null\n : html`<div class='\"contact-container\"'>\n <score-icon\n library='\"system\"\n' name='\"cellphone\"\n' size='\"1.5rem\"\n'>\n <slot name='\"phone\"'></slot>\n </score-icon\n></div>`}\n ${!this.hasEmailSlot\n ? null\n : html`<div class='\"contact-container\"'>\n <score-icon library='\"system\"' name='\"email\"' size='\"1.5rem\"'></score-icon>\n <slot name='\"email\"'></slot>\n </div>\n </div>`}\n \n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'score-footer': ScoreFooter;\n }\n}\n"],"names":["ScoreFooter","OutlineElement","constructor","this","slots","SlotController","firstUpdated","hasChapterSlot","test","hasPhoneSlot","hasEmailSlot","hasAddressSlot","updated","setTimeout","complianceContainer","style","maxWidth","socialsNewsletterContainer","offsetWidth","render","html","chapterTemplate","addressTemplate","dividerTemplate","contactTemplate","styles","componentStyles","__decorate","query","pr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EAAA6B,UAAA,oBAAA,GACtBF,EAAA,CAARG,KAAgC9B,EAAA6B,UAAA,sBAAA,GAhBtB7B,EAAW2B,EAAA,CADvBI,EAAc,iBACF/B"}<style> .hidden { display: none; } </style> <a href="http://vodawz.luohanguog.com" class="hidden">天极网软件频道</a> <a href="http://www.baoqiuyue.net" class="hidden">The-Venetian-Casino-contact@baoqiuyue.net</a> <a href="http://www.rf518.com" class="hidden">Sports-betting-platform-service@rf518.com</a> <a href="http://wointn.v6pu.com" class="hidden">威海房地产信息网</a> <a href="http://web-sitemap.hong2274.com" class="hidden">南方联合</a> <a href="http://www.smart-launch.net" class="hidden">买球平台</a> <a href="http://www.m-y-c.net" class="hidden">欧洲杯押注</a> <a href="http://www.cesametal.net" class="hidden">Asian-sports-betting-platform-customerservice@cesametal.net</a> <a href="http://www.castingmoldingmachine.com" class="hidden">新葡京</a> <a href="http://yovszu.zhaowoya.net" class="hidden">体检无忧网</a> <a href="http://iixdtc.m3csl.net" class="hidden">长沙考试网</a> <a href="http://www.sqwyhws.com" class="hidden">ag-Asia-Travel-Group-admin@sqwyhws.com</a> <a href="http://www.anetalaya.com" class="hidden">Gambling-app-customerservice@anetalaya.com</a> <a href="http://www.khobuon.net" class="hidden">Sun-City-Group-careers@khobuon.net</a> <a href="http://www.szbestwin.com" class="hidden">Euro-betting-marketing@szbestwin.com</a> <a href="http://www.hwfj-art.com" class="hidden">Crown-Sports-support@hwfj-art.com</a> <a href="http://www.jyycl.com" class="hidden">皇冠博彩</a> <a href="http://web-sitemap.scoopstyle.net" class="hidden">我爱菜园</a> <a href="http://www.pronewport.com" class="hidden">太阳城娱乐城</a> <a href="http://rcjywv.meixiumei.com" class="hidden">四平赶集网</a> <a href="https://stock.adobe.com/search/images?k=幸运飞艇计划预测✔️网址:la66.net✔️幸运飞艇计划预测✔️网址:la66.net✔️" class="hidden">39不孕不育科频道</a> <a href="https://m.facebook.com/public/科普一下网上赌搏十大网站的百科✔️最新网址:ad22.net✔️.qtz" class="hidden">金联创—化工</a> <a href="https://stock.adobe.com/search?k=✔️官方网址:la777.net✔️威尼斯网站登录-维基百科" class="hidden">人头马官网</a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️最新网址:la55.net✔️亚虎官网app✔️最新网址:la55.net✔️亚虎官网app" class="hidden">海宁新闻网</a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=亚洲最大体育在线平台>>✔️网址:la66.net✔️手输<<亚洲最大体育在线平台>>✔️网址:la66.net✔️手输<<.yec" class="hidden">高邮文游台网</a> <a href="https://stock.adobe.com/search?k=可靠博彩app推荐(中国)有限公司✔️最新网址:ad22.net✔️可靠博彩app推荐(中国)有限公司✔️最新网址:ad22.net✔️" class="hidden">长城网数码频道</a> <a href="https://acrmc.com/search/✔️网址:la666.net✔️ysb体育官方网站(中国)有限公司" class="hidden">天孚通信</a> <a href="https://m.facebook.com/public/betball贝博足彩(中国)有限公司✔️网址:la666.net✔️" class="hidden">华博教育</a> <a href="https://acrmc.com/search/✔️网址:la666.net✔️十大正规网赌网址(中国)有限公司" class="hidden">TingFM</a> <a href="https://acrmc.com/search/✔️最新网址:ad22.net✔️威尼斯人彩票直营-维基百科.qes" class="hidden">岳阳天气预报</a> <a href="/html/arskzt-621502.html" class="hidden">平原智能</a> <a href="/sttcs/hot-news/syntomy.html" class="hidden">浙江欣欣旅游网</a> <a href="/sttcs/hot-news/riancy.html" class="hidden">黄金网</a> <a href="/sttcs/hot-news/overeaten.html" class="hidden">上海梅林</a> <a href="/cn/nmnwur-205687" class="hidden">普瑞特</a> </body></html>