{"version":3,"sources":["webpack:///./src/components/pmicom/widgets/sec-filing/controller.js","webpack:///./src/components/pmicom/widgets/sec-filing/downloads.hbs","webpack:///./src/components/pmicom/widgets/sec-filing/mobile.hbs","webpack:///./src/components/pmicom/widgets/sec-filing/table.hbs","webpack:///./src/components/pmicom/widgets/sec-filing/xbrlModal.hbs"],"names":["default","breakMedium","breakMediumSmall","slowDelay","pagePadding","require","mediaQueryMin","getNumber","onControllerReady","awaitEventOn","awaitNextFrame","getFocusablesFrom","trackDownload","trackGtm4","disableStaticURL","DELAY_DEBOUNCE","MAIN_EASING","onWidthResize","stuttering","asyncImport","renderTable","renderMobileTable","renderXbrlModal","outClickSubscribe","outClickUnSubscribe","scrollDuration","LABELS_KEYS","YEARS_VALUES_API","GROUP_VALUES_API","CURRENT_YEAR","CURRENT_FORM_GROUP","DROPS_API","DROPS_FIELD","CLASS_DEACTIVATED","CLASS_UP_MODAL","CLASS_MODAL","SELECTOR_TITLE","SELECTOR_CONTENT","SELECTOR_DROP_DOWN","SELECTOR_INPUT","SELECTOR_SEARCH","SELECTOR_NAV","SELECTOR_LIST","SELECTOR_MAIN_BUTTON","SELECTOR_MODAL_CONTENT","SELECTOR_MODAL_BUTTON","SELECTOR_XBRL","SELECTOR_DESCRIPTION","SELECTOR_PAGES","SELECTOR_PAGE_FIRST","SELECTOR_PAGE_LAST","FILE_CLASSES","getTypeFrom","element","classList","find","elClassName","className","split","toUpperCase","module","exports","init","currentSearchTerm","currentPage","defineIfMobile","initNavAndFetches","initElements","initEvents","initGtm","initLabels","resize","bind","DEBOUNCE","activate","root","remove","deactivate","add","isMobile","title","querySelector","innerText","container","dropDowns","querySelectorAll","input","searchButton","addEventListener","search","document","forEach","drop","__controller","close","key","target","getAttribute","href","type","descriptionElement","contains","slice","closest","event","file_name","widget_name","widget_title","link_url","link_text","labels","dataset","initFetches","fetchesLeft","apiKey","window","fetch","method","then","answer","json","onInitializationFetchDone","catch","error","console","fetchContent","navController","value","setTimeout","gtmTracking","search_term","search_location","search_filter","yearsLabel","formsLabel","gtm4Tracking","category","filterName","trim","filter_category_name","filter_name","render","fillDropDowns","index","dropDown","allLabel","content","reverse","list","row","i","rowElement","createElement","button","setTitle","filterCategory","appendChild","initialising","contentApi","currentData","SecFilings","map","filing","DateFilled","year","month","day","updatePagination","PagingDataValues","scrollToTop","top","getBoundingClientRect","nav","padding","offsetHeight","animation","anime","targets","scrollingElement","scrollTop","pageYOffset","easing","duration","CurrentPage","PagingNumber","setDynamicPagination","page","navLinks","navLinkFirst","navLinkLast","navLink","setAttribute","innerHTML","navLinkText","widget_type","interaction_type","e","stopImmediatePropagation","navigationArrowTrackingGa4","mainItem","interactionType","modalOpen","xbrlContainer","XbrlLinks","modal","focus","left","height","center","isUp","innerHeight","style","bottom","removeChild","contentBlock","xbrlButtons","xbrl"],"mappings":";;;;;;;;;AAAA,MAAM;EACLA,OAAO,EAAE;IAAEC,WAAF;IAAeC,gBAAf;IAAiCC,SAAjC;IAA4CC;EAA5C;AADJ,IAEFC,mBAAO,CAAC,uDAAD,CAFX;;AAGA,MAAM;EACLC,aADK;EAELC,SAFK;EAGLC,iBAHK;EAILC,YAJK;EAKLC,cALK;EAMLC,iBANK;EAOLC,aAPK;EAQLC,SARK;EASLC;AATK,IAUFT,mBAAO,CAAC,6CAAD,CAVX;;AAWA,MAAM;EAAEU,cAAF;EAAkBC;AAAlB,IAAkCX,mBAAO,CAAC,uCAAD,CAA/C;;AACA,MAAM;EAAEL,OAAO,EAAEiB,aAAX;EAA0BC;AAA1B,IAAyCb,mBAAO,CAAC,qDAAD,CAAtD;;AACA,MAAMc,WAAW,GAAGd,mBAAO,CAAC,iDAAD,CAAP,CAA4BL,OAAhD;;AAEA,MAAMoB,WAAW,GAAGf,mBAAO,CAAC,yEAAD,CAA3B;;AACA,MAAMgB,iBAAiB,GAAGhB,mBAAO,CAAC,2EAAD,CAAjC;;AACA,MAAMiB,eAAe,GAAGjB,mBAAO,CAAC,iFAAD,CAA/B;;AACA,MA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iEAAiE;AACjE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,mBAAO,CAAC,iFAAiB,UAAU,6BAA6B,uYAAuY,yGAAyG;AACzlB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2GAA2G,mEAAmE,uBAAuB,qGAAqG,SAAS,qBAAqB,QAAQ,wBAAwB;AACxW;AACA,CAAC,mDAAmD,E;;;;;;;;;;;AC5CpD,iBAAiB,mBAAO,CAAC,+FAAmD;AAC5E,yBAAyB,uDAAuD;AAChF,iEAAiE;AACjE,6EAA6E;AAC7E;AACA;AACA;AACA;AACA;;AAEA;AACA,wMAAwM,sBAAsB,oBAAoB,SAAS,qBAAqB,QAAQ,uBAAuB;AAC/S;AACA,0MAA0M,uBAAuB,oBAAoB,SAAS,qBAAqB,QAAQ,uBAAuB;AAClT;AACA,CAAC;AACD,qFAAqF;AACrF;AACA;AACA;AACA;AACA;;AAEA;AACA,6QAA6Q,iCAAiC,oBAAoB,SAAS,qBAAqB,QAAQ,uBAAuB;AAC/X;AACA,4HAA4H,uBAAuB,gFAAgF,SAAS,oBAAoB,QAAQ,uBAAuB;AAC/R;AACA,CAAC,gBAAgB,E","file":"components--sec-filing299af21d05a0f2fe6759.js","sourcesContent":["const {\n\tdefault: { breakMedium, breakMediumSmall, slowDelay, pagePadding },\n} = require('util/sass-variables');\nconst {\n\tmediaQueryMin,\n\tgetNumber,\n\tonControllerReady,\n\tawaitEventOn,\n\tawaitNextFrame,\n\tgetFocusablesFrom,\n\ttrackDownload,\n\ttrackGtm4,\n\tdisableStaticURL,\n} = require('util/functions');\nconst { DELAY_DEBOUNCE, MAIN_EASING } = require('util/consts');\nconst { default: onWidthResize, stuttering } = require('util/onWidthResize');\nconst asyncImport = require('util/asyncImport').default;\n\nconst renderTable = require('./table.hbs');\nconst renderMobileTable = require('./mobile.hbs');\nconst renderXbrlModal = require('./xbrlModal.hbs');\nconst {\n\toutClickSubscribe,\n\toutClickUnSubscribe,\n} = require('util/outClickSubscriber');\n\nconst scrollDuration = getNumber(slowDelay) * 1000;\n\nconst LABELS_KEYS = [\n\t'filingDateLabel',\n\t'formLabel',\n\t'descriptionLabel',\n\t'filingGroupLabel',\n\t'downloadsLabel',\n\t'xbrlFilesLabel',\n\t'docLabel',\n\t'pdfLabel',\n\t'xlsLabel',\n\t'xbrlLabel',\n];\n\nconst YEARS_VALUES_API = 'yearsValuesApi';\nconst GROUP_VALUES_API = 'groupValuesApi';\n\nconst CURRENT_YEAR = 'currentYear';\nconst CURRENT_FORM_GROUP = 'currentFormGroup';\n\nconst DROPS_API = [YEARS_VALUES_API, GROUP_VALUES_API];\nconst DROPS_FIELD = {\n\t[YEARS_VALUES_API]: CURRENT_YEAR,\n\t[GROUP_VALUES_API]: CURRENT_FORM_GROUP,\n};\n\nconst CLASS_DEACTIVATED = 'deactivated';\nconst CLASS_UP_MODAL = 'up-modal';\nconst CLASS_MODAL = 'xbrl--modal';\n\nconst SELECTOR_TITLE = '.sec-filing--title';\nconst SELECTOR_CONTENT = '.sec-filing--content';\nconst SELECTOR_DROP_DOWN = '.check-drop-down';\nconst SELECTOR_INPUT = '.sec-filing--input';\nconst SELECTOR_SEARCH = '.sec-filing--search';\nconst SELECTOR_NAV = '.pages-nav';\nconst SELECTOR_LIST = '.check-drop-down--list';\nconst SELECTOR_MAIN_BUTTON = '.check-drop-down--main-button';\nconst SELECTOR_MODAL_CONTENT = '.xbrl--content';\nconst SELECTOR_MODAL_BUTTON = '.xbrl-file';\nconst SELECTOR_XBRL = '.xbrl';\nconst SELECTOR_DESCRIPTION = '.description';\nconst SELECTOR_PAGES = '.pages-nav--number';\nconst SELECTOR_PAGE_FIRST = '.pages-nav--first';\nconst SELECTOR_PAGE_LAST = '.pages-nav--last';\n\nconst FILE_CLASSES = ['xbrl--file', 'doc', 'pdf', 'xls'];\n\nconst getTypeFrom = element =>\n\t[...element.classList]\n\t\t.find(elClassName =>\n\t\t\tFILE_CLASSES.find(className => className === elClassName),\n\t\t)\n\t\t.split('--')[0]\n\t\t.toUpperCase();\n\nmodule.exports = {\n\tasync init() {\n\t\tthis.currentSearchTerm = '';\n\t\tthis.currentPage = 0;\n\n\t\tthis[CURRENT_YEAR] = '';\n\t\tthis[CURRENT_FORM_GROUP] = '';\n\n\t\tawait asyncImport(this, 'anime');\n\n\t\tthis.defineIfMobile();\n\t\tthis.initNavAndFetches();\n\t\tthis.initElements();\n\t\tthis.initEvents();\n\t\tthis.initGtm();\n\t\tthis.initLabels();\n\n\t\tonWidthResize(this.resize.bind(this), stuttering.DEBOUNCE, DELAY_DEBOUNCE);\n\t\tthis.activate();\n\t},\n\tactivate() {\n\t\tthis.root.classList.remove(CLASS_DEACTIVATED);\n\t},\n\tdeactivate() {\n\t\tthis.root.classList.add(CLASS_DEACTIVATED);\n\t},\n\tdefineIfMobile() {\n\t\tthis.isMobile = !mediaQueryMin(breakMedium);\n\t},\n\tinitElements() {\n\t\tthis.title = this.root.querySelector(SELECTOR_TITLE).innerText;\n\t\tthis.container = this.root.querySelector(SELECTOR_CONTENT);\n\t\tthis.dropDowns = this.root.querySelectorAll(SELECTOR_DROP_DOWN);\n\t\tthis.input = this.root.querySelector(SELECTOR_INPUT);\n\t\tthis.searchButton = this.root.querySelector(SELECTOR_SEARCH);\n\t},\n\tinitEvents() {\n\t\tthis.searchButton.addEventListener('click', this.search.bind(this));\n\t\tdocument.addEventListener('click', () => {\n\t\t\tthis.dropDowns.forEach(drop => {\n\t\t\t\tdrop.__controller.close();\n\t\t\t});\n\t\t});\n\t\tthis.input.addEventListener('keydown', ({ key }) => {\n\t\t\tif (key === 'Enter') this.search();\n\t\t});\n\t},\n\tinitGtm() {\n\t\tthis.root.addEventListener('click', ({ target }) => {\n\t\t\tif (target.getAttribute('download') == null) return;\n\t\t\tconst { href } = target;\n\t\t\tconst type = getTypeFrom(target);\n\t\t\tconst descriptionElement = target.classList.contains(\n\t\t\t\tSELECTOR_MODAL_BUTTON.slice(1),\n\t\t\t)\n\t\t\t\t? target\n\t\t\t\t: target.closest('tr').querySelector(SELECTOR_DESCRIPTION);\n\t\t\tconst { innerText } = descriptionElement;\n\t\t\ttrackGtm4({\n\t\t\t\tevent: 'GA4_event_c_file_download',\n\t\t\t\tfile_name: `Document ${type}`,\n\t\t\t\twidget_name: 'V3-Sec Fillings widget',\n\t\t\t\twidget_title: this.root.querySelector(SELECTOR_TITLE).innerText,\n\t\t\t\tlink_url: target.href,\n\t\t\t\tlink_text: target.title,\n\t\t\t\ttitle: `${innerText}`,\n\t\t\t});\n\t\t\ttrackDownload(`${innerText} - ${type}`, href);\n\t\t\tdisableStaticURL(target, 'download-disabled');\n\t\t});\n\t},\n\tinitLabels() {\n\t\tthis.labels = {};\n\t\tLABELS_KEYS.forEach(key => {\n\t\t\tthis.labels[key] = this.root.dataset[key];\n\t\t});\n\t},\n\tinitFetches() {\n\t\tthis.fetchesLeft = 3;\n\t\tDROPS_API.forEach(apiKey => {\n\t\t\twindow\n\t\t\t\t.fetch(this.root.dataset[apiKey], {\n\t\t\t\t\tmethod: 'GET',\n\t\t\t\t})\n\t\t\t\t.then(async answer => {\n\t\t\t\t\tthis[apiKey] = await answer.json();\n\t\t\t\t\tthis.onInitializationFetchDone();\n\t\t\t\t})\n\t\t\t\t.catch(error => console.error(error));\n\t\t});\n\t\tthis.fetchContent(true);\n\t},\n\tasync initNavAndFetches() {\n\t\tthis.navController = await onControllerReady(\n\t\t\tthis.root.querySelector(SELECTOR_NAV),\n\t\t);\n\t\tthis.initFetches();\n\t},\n\tsearch() {\n\t\tthis.currentSearchTerm = this.input.value;\n\t\tthis.currentPage = 0;\n\t\tthis.fetchContent();\n\n\t\tsetTimeout(() => {\n\t\t\tthis.gtmTracking();\n\t\t}, '1000');\n\t},\n\tgtmTracking() {\n\t\ttrackGtm4({\n\t\t\tevent: 'GA4_event_c_search',\n\t\t\tsearch_term: this.input.value ? this.input.value : 'none',\n\t\t\tsearch_location: 'page',\n\t\t\tsearch_filter: `${this[CURRENT_YEAR] || this.root.dataset.yearsLabel}|${\n\t\t\t\tthis[CURRENT_FORM_GROUP] || this.root.dataset.formsLabel\n\t\t\t}`,\n\t\t\twidget_name: 'V3-Sec-fillings',\n\t\t});\n\t},\n\tgtm4Tracking(category) {\n\t\tlet filterName;\n\t\tif (category === 'years') {\n\t\t\tfilterName = this[CURRENT_YEAR] || this.root.dataset.yearsLabel.trim();\n\t\t} else if (category === 'forms') {\n\t\t\tfilterName =\n\t\t\t\tthis[CURRENT_FORM_GROUP] || this.root.dataset.formsLabel.trim();\n\t\t}\n\t\ttrackGtm4({\n\t\t\tevent: 'GA4_event_c_filters',\n\t\t\twidget_name: 'V3-Sec-fillings',\n\t\t\tfilter_category_name: category ? category : 'no category',\n\t\t\tfilter_name: filterName ? filterName : 'no name',\n\t\t});\n\t},\n\tresize() {\n\t\tthis.defineIfMobile();\n\t\tthis.render();\n\t},\n\tfillDropDowns() {\n\t\tDROPS_API.forEach((key, index) => {\n\t\t\tconst dropDown = this.dropDowns[index];\n\t\t\tconst element = dropDown.querySelector(SELECTOR_LIST);\n\t\t\tconst allLabel = dropDown.querySelector(SELECTOR_MAIN_BUTTON).innerText;\n\t\t\tconst content =\n\t\t\t\tkey === YEARS_VALUES_API ? this[key].reverse() : this[key];\n\t\t\tconst list = [allLabel, ...content];\n\t\t\tlist.forEach((row, i) => {\n\t\t\t\tconst rowElement = document.createElement('li');\n\t\t\t\tconst button = document.createElement('button');\n\t\t\t\tbutton.innerText = row;\n\t\t\t\tbutton.addEventListener('click', () => {\n\t\t\t\t\t// if first index equal 0 and it has the all label\n\t\t\t\t\tconst value = !i ? '' : row;\n\t\t\t\t\tthis[DROPS_FIELD[key]] = value;\n\t\t\t\t\tdropDown.__controller.setTitle(value);\n\t\t\t\t\tthis.currentPage = 0;\n\t\t\t\t\tthis.gtmTracking();\n\t\t\t\t\tthis.fetchContent();\n\t\t\t\t\tconst filterCategory = dropDown.getAttribute('data-category');\n\t\t\t\t\tthis.gtm4Tracking(filterCategory);\n\t\t\t\t});\n\t\t\t\trowElement.appendChild(button);\n\t\t\t\telement.appendChild(rowElement);\n\t\t\t});\n\t\t});\n\t},\n\tfetchContent(initialising) {\n\t\tthis.deactivate();\n\t\twindow\n\t\t\t.fetch(\n\t\t\t\t`${this.root.dataset.contentApi}?searchTerm=${this.currentSearchTerm}&year=${this[CURRENT_YEAR]}&formGroup=${this[CURRENT_FORM_GROUP]}&page=${this.currentPage}`,\n\t\t\t\t{\n\t\t\t\t\tmethod: 'GET',\n\t\t\t\t},\n\t\t\t)\n\t\t\t.then(async answer => {\n\t\t\t\tconst content = await answer.json();\n\t\t\t\t// feed currentData with the updated date format\n\t\t\t\tthis.currentData = {\n\t\t\t\t\t...content,\n\t\t\t\t\tSecFilings: content.SecFilings.map(filing => {\n\t\t\t\t\t\tconst { DateFilled } = filing;\n\t\t\t\t\t\tconst year = DateFilled.slice(0, 4);\n\t\t\t\t\t\tconst month = DateFilled.slice(4, 6);\n\t\t\t\t\t\tconst day = DateFilled.slice(6, 8);\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t...filing,\n\t\t\t\t\t\t\tDateFilled: `${month}/${day}/${year}`,\n\t\t\t\t\t\t};\n\t\t\t\t\t}),\n\t\t\t\t};\n\t\t\t\tif (initialising) this.onInitializationFetchDone();\n\t\t\t\telse this.render();\n\t\t\t\tthis.updatePagination(this.currentData.PagingDataValues);\n\t\t\t})\n\t\t\t.catch(error => console.error(error));\n\t},\n\tscrollToTop(element) {\n\t\tconst { top } = (element || this.root).getBoundingClientRect();\n\t\tconst nav = document.querySelector('.nav-layout');\n\t\tconst padding = nav ? nav.offsetHeight : 0;\n\t\tthis.animation = this.anime({\n\t\t\ttargets: document.scrollingElement,\n\t\t\tscrollTop: top + window.pageYOffset - padding,\n\t\t\teasing: MAIN_EASING,\n\t\t\tduration: scrollDuration,\n\t\t});\n\t},\n\tonInitializationFetchDone() {\n\t\tthis.fetchesLeft--;\n\t\tif (this.fetchesLeft === 0) {\n\t\t\tthis.fillDropDowns();\n\t\t\tthis.render();\n\t\t}\n\t},\n\tupdatePagination({ CurrentPage, PagingNumber }) {\n\t\tif (this.navController) {\n\t\t\tthis.navController.setDynamicPagination(\n\t\t\t\tCurrentPage,\n\t\t\t\tPagingNumber,\n\t\t\t\tpage => {\n\t\t\t\t\tthis.currentPage = page;\n\t\t\t\t\tif (this.isMobile) this.scrollToTop();\n\t\t\t\t\tthis.fetchContent();\n\t\t\t\t},\n\t\t\t);\n\t\t\tthis.activate();\n\n\t\t\t/** Pagination tracking - important to initiate here because of pagination render **/\n\n\t\t\tconst navLinks = this.root.querySelectorAll(SELECTOR_PAGES);\n\t\t\tconst navLinkFirst = this.root.querySelector(SELECTOR_PAGE_FIRST);\n\t\t\tconst navLinkLast = this.root.querySelector(SELECTOR_PAGE_LAST);\n\t\t\tconst title = this.root.querySelector(SELECTOR_TITLE);\n\n\t\t\tnavLinks.forEach(navLink => {\n\t\t\t\tnavLink.setAttribute(\n\t\t\t\t\t'aria-label',\n\t\t\t\t\t'Pagination ' + navLink.innerHTML.trim(),\n\t\t\t\t);\n\t\t\t\tnavLink.addEventListener('click', () => {\n\t\t\t\t\tconst navLinkText = navLink ? navLink.innerHTML.trim() : 'No text';\n\t\t\t\t\ttrackGtm4({\n\t\t\t\t\t\tevent: 'GA4_event_c_content_navigation_click',\n\t\t\t\t\t\twidget_name: 'V3-Sec-filings',\n\t\t\t\t\t\twidget_title: title ? title.innerHTML.trim() : 'No title',\n\t\t\t\t\t\twidget_type: 'search',\n\t\t\t\t\t\tlink_text: navLinkText,\n\t\t\t\t\t\tlink_url: navLink.href ? navLink.href : 'No url',\n\t\t\t\t\t\tinteraction_type: `page ${navLinkText}`,\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t});\n\n\t\t\tnavLinkFirst.addEventListener('click', e => {\n\t\t\t\te.stopImmediatePropagation();\n\t\t\t\tthis.navigationArrowTrackingGa4(navLinkFirst, title, 'first');\n\t\t\t});\n\n\t\t\tnavLinkLast.addEventListener('click', e => {\n\t\t\t\te.stopImmediatePropagation();\n\t\t\t\tthis.navigationArrowTrackingGa4(navLinkLast, title, 'last');\n\t\t\t});\n\t\t}\n\t},\n\tnavigationArrowTrackingGa4(mainItem, title, interactionType) {\n\t\ttrackGtm4({\n\t\t\tevent: 'GA4_event_c_content_navigation_click',\n\t\t\twidget_name: 'V3-Sec-filings',\n\t\t\twidget_title: title ? title.innerHTML.trim() : 'No title',\n\t\t\twidget_type: 'search',\n\t\t\tlink_text: mainItem ? mainItem.innerHTML.trim() : 'No text',\n\t\t\tlink_url: mainItem.href ? mainItem.href : 'No url',\n\t\t\tinteraction_type: interactionType,\n\t\t});\n\t},\n\tasync modalOpen(index, xbrlContainer, button) {\n\t\t//render modal\n\t\tconst content = renderXbrlModal({\n\t\t\t...this.labels,\n\t\t\tXbrlLinks: this.currentData.SecFilings[index].XbrlLinks,\n\t\t});\n\t\tconst modal = document.createElement('div');\n\t\tmodal.classList.add(CLASS_MODAL);\n\t\tmodal.innerHTML = content;\n\t\txbrlContainer.appendChild(modal);\n\t\tawait awaitNextFrame();\n\t\tgetFocusablesFrom(modal)[0].focus();\n\n\t\tconst { top, left, height } = xbrlContainer.getBoundingClientRect();\n\t\tif (mediaQueryMin(breakMediumSmall)) {\n\t\t\t// desktop check the vertical position to see if we should drop down or up\n\t\t\tconst center = top + height / 2;\n\t\t\tconst isUp = center > window.innerHeight / 2;\n\t\t\txbrlContainer.classList[isUp ? 'add' : 'remove'](CLASS_UP_MODAL);\n\t\t} else {\n\t\t\t// positionning mobile style\n\t\t\tmodal.style.left = -left + getNumber(pagePadding) + 'px';\n\t\t\tmodal.style.top = height + 20 + 'px';\n\t\t\tmodal.style.bottom = '';\n\t\t\tthis.scrollToTop(button);\n\t\t}\n\t\toutClickSubscribe(modal, async () => {\n\t\t\toutClickUnSubscribe(modal);\n\t\t\t// close animation then clear\n\t\t\tmodal.style.height = 0;\n\t\t\tawait awaitEventOn(modal, 'transitionend');\n\t\t\tif (modal && xbrlContainer.contains(modal))\n\t\t\t\txbrlContainer.removeChild(modal);\n\t\t});\n\t\tawait awaitNextFrame();\n\t\t// animate modal opening\n\t\tconst contentBlock = modal.querySelector(SELECTOR_MODAL_CONTENT);\n\t\tmodal.style.height = contentBlock.offsetHeight + 'px';\n\t},\n\trender() {\n\t\tthis.container.innerHTML = (\n\t\t\tthis.isMobile ? renderMobileTable : renderTable\n\t\t)({\n\t\t\ttitle: this.title,\n\t\t\t...this.labels,\n\t\t\t...this.currentData,\n\t\t});\n\t\tconst xbrlButtons = this.container.querySelectorAll(SELECTOR_XBRL);\n\t\txbrlButtons.forEach(xbrl => {\n\t\t\tconst { index } = xbrl.dataset;\n\t\t\tconst button = xbrl.querySelector(SELECTOR_MODAL_BUTTON);\n\t\t\tbutton.addEventListener('click', () =>\n\t\t\t\tthis.modalOpen(index, xbrl, button),\n\t\t\t);\n\t\t});\n\t\tthis.activate();\n\t},\n};\n","var Handlebars = require(\"../../../../../node_modules/handlebars/runtime.js\");\nfunction __default(obj) { return obj && (obj.__esModule ? obj[\"default\"] : obj); }\nmodule.exports = (Handlebars[\"default\"] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=\"function\", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=\"function\", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=\"function\", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"\";\n},\"7\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=\"function\", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"\\r\\n\t\\r\\n\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return ((stack1 = lookupProperty(helpers,\"if\").call(alias1,(depth0 != null ? lookupProperty(depth0,\"DocLink\") : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":2,\"column\":78}}})) != null ? stack1 : \"\")\n + \"\\r\\n\"\n + ((stack1 = lookupProperty(helpers,\"if\").call(alias1,(depth0 != null ? lookupProperty(depth0,\"PdfLink\") : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":3,\"column\":0},\"end\":{\"line\":4,\"column\":78}}})) != null ? stack1 : \"\")\n + \"\\r\\n\"\n + ((stack1 = lookupProperty(helpers,\"if\").call(alias1,(depth0 != null ? lookupProperty(depth0,\"XlsLink\") : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":5,\"column\":0},\"end\":{\"line\":6,\"column\":78}}})) != null ? stack1 : \"\")\n + \"\\r\\n\"\n + ((stack1 = lookupProperty(helpers,\"if\").call(alias1,(depth0 != null ? lookupProperty(depth0,\"XbrlLinks\") : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(7, data, 0),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":7,\"column\":0},\"end\":{\"line\":11,\"column\":7}}})) != null ? stack1 : \"\");\n},\"useData\":true});","var Handlebars = require(\"../../../../../node_modules/handlebars/runtime.js\");\nfunction __default(obj) { return obj && (obj.__esModule ? obj[\"default\"] : obj); }\nmodule.exports = (Handlebars[\"default\"] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"
\\r\\n\t
\\r\\n\t\t

\"\n + alias2(alias1((depths[1] != null ? lookupProperty(depths[1],\"filingDateLabel\") : depths[1]), depth0))\n + \"

\\r\\n\t\t

\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"DateFilled\") : depth0), depth0))\n + \"

\\r\\n\t
\\r\\n\t

\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"FormDescription\") : depth0), depth0))\n + \"

\\r\\n\t
\\r\\n\t\t

\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"Form\") : depth0), depth0))\n + \"

\\r\\n\t\t

\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"FormGroup\") : depth0), depth0))\n + \"

\\r\\n\t
\\r\\n\t
\\r\\n\t\t

\"\n + alias2(alias1((depths[1] != null ? lookupProperty(depths[1],\"downloadsLabel\") : depths[1]), depth0))\n + \"

\\r\\n\"\n + ((stack1 = container.invokePartial(require(\"./downloads.hbs\"),depth0,{\"name\":\"./downloads\",\"hash\":{\"xbrlLabel\":(depths[1] != null ? lookupProperty(depths[1],\"xbrlLabel\") : depths[1]),\"xlsLabel\":(depths[1] != null ? lookupProperty(depths[1],\"xlsLabel\") : depths[1]),\"pdfLabel\":(depths[1] != null ? lookupProperty(depths[1],\"pdfLabel\") : depths[1]),\"docLabel\":(depths[1] != null ? lookupProperty(depths[1],\"docLabel\") : depths[1]),\"index\":(data && lookupProperty(data,\"index\")),\"this\":depth0},\"data\":data,\"indent\":\"\\t\\t\",\"helpers\":helpers,\"partials\":partials,\"decorators\":container.decorators})) != null ? stack1 : \"\")\n + \"\t
\\r\\n
\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return ((stack1 = lookupProperty(helpers,\"each\").call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,\"SecFilings\") : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0, blockParams, depths),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":23,\"column\":9}}})) != null ? stack1 : \"\");\n},\"usePartial\":true,\"useData\":true,\"useDepths\":true});","var Handlebars = require(\"../../../../../node_modules/handlebars/runtime.js\");\nfunction __default(obj) { return obj && (obj.__esModule ? obj[\"default\"] : obj); }\nmodule.exports = (Handlebars[\"default\"] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"\t\t\\r\\n\t\t\t\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"DateFilled\") : depth0), depth0))\n + \"\\r\\n\t\t\t\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"Form\") : depth0), depth0))\n + \"\\r\\n\t\t\t\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"FormDescription\") : depth0), depth0))\n + \"\\r\\n\t\t\t\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"FormGroup\") : depth0), depth0))\n + \"\\r\\n\t\t\t\\r\\n\"\n + ((stack1 = container.invokePartial(require(\"./downloads.hbs\"),depth0,{\"name\":\"./downloads\",\"hash\":{\"xbrlLabel\":(depths[1] != null ? lookupProperty(depths[1],\"xbrlLabel\") : depths[1]),\"xlsLabel\":(depths[1] != null ? lookupProperty(depths[1],\"xlsLabel\") : depths[1]),\"pdfLabel\":(depths[1] != null ? lookupProperty(depths[1],\"pdfLabel\") : depths[1]),\"docLabel\":(depths[1] != null ? lookupProperty(depths[1],\"docLabel\") : depths[1]),\"index\":(data && lookupProperty(data,\"index\")),\"this\":depth0},\"data\":data,\"indent\":\"\\t\\t\\t\\t\",\"helpers\":helpers,\"partials\":partials,\"decorators\":container.decorators})) != null ? stack1 : \"\")\n + \"\t\t\t\\r\\n\t\t\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data,blockParams,depths) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"\\r\\n\t\\r\\n\t\\r\\n\t\t\\r\\n\t\t\t\\r\\n\t\t\t\\r\\n\t\t\t\\r\\n\t\t\t\\r\\n\t\t\t\\r\\n\t\t\\r\\n\t\\r\\n\t\\r\\n\"\n + ((stack1 = lookupProperty(helpers,\"each\").call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,\"SecFilings\") : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0, blockParams, depths),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":13,\"column\":2},\"end\":{\"line\":29,\"column\":11}}})) != null ? stack1 : \"\")\n + \"\t\\r\\n
\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"title\") : depth0), depth0))\n + \"
\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"filingDateLabel\") : depth0), depth0))\n + \"\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"formLabel\") : depth0), depth0))\n + \"\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"descriptionLabel\") : depth0), depth0))\n + \"\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"filingGroupLabel\") : depth0), depth0))\n + \"\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"downloadsLabel\") : depth0), depth0))\n + \"
\";\n},\"usePartial\":true,\"useData\":true,\"useDepths\":true});","var Handlebars = require(\"../../../../../node_modules/handlebars/runtime.js\");\nfunction __default(obj) { return obj && (obj.__esModule ? obj[\"default\"] : obj); }\nmodule.exports = (Handlebars[\"default\"] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=\"function\", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"\t\"\n + alias4(((helper = (helper = lookupProperty(helpers,\"name\") || (depth0 != null ? lookupProperty(depth0,\"name\") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"name\",\"hash\":{},\"data\":data,\"loc\":{\"start\":{\"line\":4,\"column\":78},\"end\":{\"line\":4,\"column\":86}}}) : helper)))\n + \"\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"
\\r\\n\t

\"\n + container.escapeExpression(((helper = (helper = lookupProperty(helpers,\"xbrlFilesLabel\") || (depth0 != null ? lookupProperty(depth0,\"xbrlFilesLabel\") : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(alias1,{\"name\":\"xbrlFilesLabel\",\"hash\":{},\"data\":data,\"loc\":{\"start\":{\"line\":2,\"column\":25},\"end\":{\"line\":2,\"column\":43}}}) : helper)))\n + \"

\\r\\n\"\n + ((stack1 = lookupProperty(helpers,\"each\").call(alias1,(depth0 != null ? lookupProperty(depth0,\"XbrlLinks\") : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":3,\"column\":1},\"end\":{\"line\":5,\"column\":10}}})) != null ? stack1 : \"\")\n + \"
\";\n},\"useData\":true});"],"sourceRoot":""}