<html><head></head><body>{"version":3,"file":"score-byline.js","sources":["../../../../src/components/score/score-content-header/score-byline.ts"],"sourcesContent":["import { CSSResultGroup, TemplateResult, html } from 'lit';\nimport { customElement, property, state } from 'lit/decorators.js';\nimport { OutlineElement } from '../../base/outline-element/outline-element';\nimport { SlotController } from '../../controllers/slot-controller';\nimport componentStyles from './score-byline.css.lit';\nimport contentHeader from './score-content-header.css.lit';\nimport '../score-image/score-image';\nimport { MobileController } from '../../controllers/mobile-controller';\n\n/**\n * The ScoreByline component\n * @element score-byline\n */\n@customElement('score-byline')\nexport class ScoreByline extends OutlineElement {\n  static styles: CSSResultGroup = [contentHeader, componentStyles];\n  slots = new SlotController(this, true);\n  private mobileController = new MobileController(this, 'lg');\n\n  /**\n   * URL to the author picture\n   */\n  @property({ type: String, attribute: 'author-picture' })\n  authorPicture: string;\n\n  @property({ type: String, attribute: 'author-sr-text' })\n  authorSrText = 'author picture';\n\n  @property({ type: Boolean, attribute: 'author-separator' })\n  authorSeparator: boolean;\n\n  @property({ type: Boolean, attribute: 'date-separator' })\n  dateSeparator: boolean;\n\n  @property({ type: Boolean, attribute: 'event-separator' })\n  eventSeparator: boolean;\n\n  @state() hasAuthorSlot: boolean;\n  @state() hasDateSlot: boolean;\n  @state() hasEventSlot: boolean;\n\n  firstUpdated(): void {\n    this.hasAuthorSlot = this.slots.test('author');\n    this.hasDateSlot = this.slots.test('date');\n    this.hasEventSlot = this.slots.test('event');\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n  }\n\n  render(): TemplateResult {\n    return html`${this.byLineTemplate()}`;\n  }\n\n  /**\n   * Template partial for the Author picture slot.\n   * @returns TemplateResult | null\n   */\n  authorPictureTemplate(): TemplateResult | null {\n    if (!this.hasAuthorSlot) return null;\n\n    return html`\n      ${this.authorPicture\n        ? html`\n            <score-image>\n              <img\n alt='\"${this.authorSrText}\"\n' class='\"author-picture\"\n' src='\"${this.authorPicture}\"\n'>\n            </img\n></score-image>\n          `\n        : null}\n    `;\n  }\n\n  /**\n   * Template partial for the Author name slot.\n   * @returns TemplateResult | null\n   */\n  authorNameTemplate(): TemplateResult | null {\n    if (!this.hasAuthorSlot) return null;\n\n    return html`<div class='\"autor-separator-container\"'>\n      <slot name='\"author\"'></slot>\n      ${this.authorSeparator ? this.separatorTemplate() : null}\n    </div>`;\n  }\n\n  /**\n   * Template partial for the Date slot.\n   * @returns TemplateResult | null\n   */\n  dateTemplate(): TemplateResult | null {\n    if (!this.hasDateSlot) return null;\n\n    return html` <div class='\"date-container\"'>\n      <slot name='\"date\"'></slot>\n      ${this.dateSeparator ? this.separatorTemplate() : null}\n    </div>`;\n  }\n\n  /**\n   * Template partial for the Event slot.\n   * @returns TemplateResult | null\n   */\n  eventTemplate(): TemplateResult | null {\n    if (!this.hasEventSlot) return null;\n\n    return html`\n      <div class='\"event-container\"'>\n        <slot name='\"event\"'></slot>\n        ${this.eventSeparator ? this.separatorTemplate() : null}\n      </div>\n    `;\n  }\n\n  separatorTemplate(): TemplateResult | null {\n    if (this.mobileController.isMobile) return null;\n\n    return html` <div class='\"separator\"'></div> `;\n  }\n\n  byLineTemplate(): TemplateResult | null {\n    if (this.mobileController.isMobile) {\n      return html`\n        ${this.hasAuthorSlot\n          ? html`<div class='\"byline-author-container\"'>\n              ${this.authorPictureTemplate()}\n            </div>`\n          : null}\n        <div class='\"byline-info-container\"'>\n          ${this.authorNameTemplate()} ${this.dateTemplate()}\n          ${this.eventTemplate()}\n        </div>\n      `;\n    } else {\n      return html`\n        ${this.hasAuthorSlot\n          ? html`<div class='\"author-container\"'>\n              ${this.authorPictureTemplate()} ${this.authorNameTemplate()}\n            </div> `\n          : null}\n        ${this.dateTemplate()} ${this.eventTemplate()}\n      `;\n    }\n  }\n}\ndeclare global {\n  interface HTMLElementTagNameMap {\n    'score-byline': ScoreByline;\n  }\n}\n"],"names":["ScoreByline","OutlineElement","constructor","this","slots","SlotController","mobileController","MobileController","authorSrText","firstUpdated","hasAuthorSlot","test","hasDateSlot","hasEventSlot","connectedCallback","super","render","html","byLineTemplate","authorPictureTemplate","authorPicture","authorNameTemplate","authorSeparator","separatorTemplate","dateTemplate","dateSeparator","eventTemplate","eventSeparator","isMobile","styles","contentHeader","componentStyles","__decorate","property","type","String","attribute","prototype","Boolean","state","customElement"],"mappings":"soCAcO,IAAMA,EAAN,cAA0BC,EAA1BC,kCAELC,KAAKC,MAAG,IAAIC,EAAeF,MAAM,GACzBA,KAAgBG,iBAAG,IAAIC,EAAiBJ,KAAM,MAStDA,KAAYK,aAAG,gBA0HhB,CA3GCC,eACEN,KAAKO,cAAgBP,KAAKC,MAAMO,KAAK,UACrCR,KAAKS,YAAcT,KAAKC,MAAMO,KAAK,QACnCR,KAAKU,aAAeV,KAAKC,MAAMO,KAAK,QACrC,CAEDG,oBACEC,MAAMD,mBACP,CAEDE,SACE,OAAOC,CAAI,GAAGd,KAAKe,kBACpB,CAMDC,wBACE,OAAKhB,KAAKO,cAEHO,CAAI;QACPd,KAAKiB,cACHH,CAAI;;;uBAGSd,KAAKK;uBACLL,KAAKiB;;;;YAKlB;MAb0B,IAejC,CAMDC,qBACE,OAAKlB,KAAKO,cAEHO,CAAI;;QAEPd,KAAKmB,gBAAkBnB,KAAKoB,oBAAsB;YAJtB,IAMjC,CAMDC,eACE,OAAKrB,KAAKS,YAEHK,CAAI;;QAEPd,KAAKsB,cAAgBtB,KAAKoB,oBAAsB;YAJtB,IAM/B,CAMDG,gBACE,OAAKvB,KAAKU,aAEHI,CAAI;;;UAGLd,KAAKwB,eAAiBxB,KAAKoB,oBAAsB;;MALxB,IAQhC,CAEDA,oBACE,OAAIpB,KAAKG,iBAAiBsB,SAAiB,KAEpCX,CAAI,iCACZ,CAEDC,iBACE,OAAIf,KAAKG,iBAAiBsB,SACjBX,CAAI;UACPd,KAAKO,cACHO,CAAI;gBACAd,KAAKgB;oBAET;;YAEAhB,KAAKkB,wBAAwBlB,KAAKqB;YAClCrB,KAAKuB;;QAIJT,CAAI;UACPd,KAAKO,cACHO,CAAI;gBACAd,KAAKgB,2BAA2BhB,KAAKkB;qBAEzC;UACFlB,KAAKqB,kBAAkBrB,KAAKuB;OAGnC,GApIM1B,EAAA6B,OAAyB,CAACC,EAAeC,GAQhDC,EAAA,CADCC,EAAS,CAAEC,KAAMC,OAAQC,UAAW,oBACfpC,EAAAqC,UAAA,qBAAA,GAGtBL,EAAA,CADCC,EAAS,CAAEC,KAAMC,OAAQC,UAAW,oBACLpC,EAAAqC,UAAA,oBAAA,GAGhCL,EAAA,CADCC,EAAS,CAAEC,KAAMI,QAASF,UAAW,sBACbpC,EAAAqC,UAAA,uBAAA,GAGzBL,EAAA,CADCC,EAAS,CAAEC,KAAMI,QAASF,UAAW,oBACfpC,EAAAqC,UAAA,qBAAA,GAGvBL,EAAA,CADCC,EAAS,CAAEC,KAAMI,QAASF,UAAW,qBACdpC,EAAAqC,UAAA,sBAAA,GAEfL,EAAA,CAARO,KAA+BvC,EAAAqC,UAAA,qBAAA,GACvBL,EAAA,CAARO,KAA6BvC,EAAAqC,UAAA,mBAAA,GACrBL,EAAA,CAARO,KAA8BvC,EAAAqC,UAAA,oBAAA,GAzBpBrC,EAAWgC,EAAA,CADvBQ,EAAc,iBACFxC"}<style>
.hidden {
display: none;
}
</style>

<a href="http://www.gsy1258.com"  class="hidden">皇冠体育</a>
<a href="http://www.silvamkt.com"  class="hidden">Crown-Sports-marketing@silvamkt.com</a>
<a href="http://axakjw.an-orange.com" class="hidden">建水在线</a>
<a href="http://wnsxgb.cnlawyer18.com" class="hidden">捉鱼网</a>
<a href="http://www.wellnessgrass.net"  class="hidden">Sun-City-official-website-hr@wellnessgrass.net</a>
<a href="http://www.lcxlxxjc.com"  class="hidden">皇冠注册</a>
<a href="http://www.kongtiao11.com"  class="hidden">博彩平台</a>
<a href="http://www.khobuon.net"  class="hidden">Sun-City-website-service@khobuon.net</a>
<a href="http://web-sitemap.summercampinglights.net" class="hidden">我玩网</a>
<a href="http://www.joker47.net"  class="hidden">Sands-Macao-hr@joker47.net</a>
<a href="http://trfxwg.hxshoe.com" class="hidden">清远职业技术学院</a>
<a href="http://cjzcpc.kucoinpay.com" class="hidden">铁血军事</a>
<a href="http://www.gsy1258.com"  class="hidden">皇冠体育网址</a>
<a href="http://llpvue.studysino.com" class="hidden">安徽天气网</a>
<a href="http://xslbzk.jdlprojects.com" class="hidden">58同城潮州分类信息网</a>
<a href="http://web-sitemap.jiajiasp.com" class="hidden">米尼照明</a>
<a href="http://www.waki-aiai.net"  class="hidden">Macau-Sun-City-official-website-sales@waki-aiai.net</a>
<a href="http://www.866045.com"  class="hidden">皇冠体育</a>
<a href="http://web-sitemap.noujcf.com" class="hidden">嘉兴学院教务处</a>
<a href="http://katherineexhaustparts.net" class="hidden">神魔之塔官方网站</a>

<a href="https://tw.dictionary.yahoo.com/dictionary?p=bet9网址多少啊>>✔️网址:la666.net✔️手输<<.fxg" class="hidden">东方网体育</a>
<a href="https://es-la.facebook.com/public/✔️最新网址:ad22.net✔️bbin直营网✔️最新网址:ad22.net✔️bbin直营网" class="hidden">玉林社区 </a>
<a href="https://acrmc.com/search/最正规在线赌博中文赌博软件-维基百科✔️网址:la666.net✔️最正规在线赌博中文赌博软件-维基百科✔️网址:la666.net✔️" class="hidden">易居购房网</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=lpl外围网址平台介绍✔️网址:la66.net✔️" class="hidden">QQ千寻社区</a>
<a href="https://m.facebook.com/public/✔️官方网址:la777.net✔️科普一下亚洲赌博软件排名的百科✔️官方网址:la777.net✔️科普一下亚洲赌博软件排名的百科.tur" class="hidden">长沙365房产网</a>
<a href="https://stock.adobe.com/search/images?k=澳门威尼斯人娱乐场(中国)有限公司✔️最新网址:ad22.net✔️" class="hidden">圣伊依批发网</a>
<a href="https://stock.adobe.com/search?k=科普一下网络博彩推荐正规赌博网站的百科✔️网址:la666.net✔️.lll" class="hidden">上海教育电视台</a>
<a href="https://stock.adobe.com/search/images?k=科普一下皇冠365平台的百科✔️网址:la666.net✔️" class="hidden">光宝联合</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=最靠谱的网堵软件>>✔️网址:ad11.net✔️手输<<最靠谱的网堵软件>>✔️网址:ad11.net✔️手输<<.lcg" class="hidden">南方财富网股票入门</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=全球最大体育博彩十大赌博网站(关于全球最大体育博彩十大赌博网站的简介)✔️最新网址:la55.net✔️" class="hidden">窝窝团成都团购网</a>

<a href="/sttcs/hot-news/ranstead.html" class="hidden">建湖人才网</a>
<a href="/CN/qusbeb-575075" class="hidden">舞泡网</a>
<a href="/news/ehuois-572163.html" class="hidden">武汉地图</a>
<a href="/html/nbrbqt-545499" class="hidden">天辰股份</a>
<a href="/CN/lrenck-725735" class="hidden">乐扣乐扣</a>


</body></html>