1import{U as Be,s as Ae,E as oe,f as w,g as A,i as E,j as P,d as u,k as j,l as V,m as N,a as d,a0 as ie,p as le,C as He,e as W,t as Y,q as G,u as Q,n as be,o as ve,D as _e,B as Xe,h as Ye}from"../chunks/paths.DnA-rHvu.js";import{S as je,i as Ve,h as se,b as J,d as K,m as Z,t as M,a as X,e as x,g as ke,c as we}from"../chunks/index.BawVqnzr.js";import{l as Ge,t as qe}from"../chunks/index.Dj4bitkr.js";import{e as re}from"../chunks/each.Dunmqpca.js";import{P as de,a as me,c as pe}from"../chunks/public.CXjeQAMU.js";import{P as Qe}from"../chunks/index.K8qaR97e.js";import{L as ge}from"../chunks/Loader.DlgEcEkJ.js";import{j as Ee,s as he}from"../chunks/index.Bf7kHuAX.js";import"../chunks/DateInput.svelte_svelte_type_style_lang.3Sshvl4s.js";import{f as Fe}from"../chunks/ops.Bp0GqwFD.js";import{D as We}from"../chunks/DynamicPaginator.CUx-lg2y.js";import{S as Me}from"../chunks/SelectInput.BRL9lu67.js";import{B as ze}from"../chunks/Banner.BEU6vuEt.js";import{B as Je}from"../chunks/Breadcrumb.COrddaMD.js";import{p as Ke}from"../chunks/stores.DdmwF1K3.js";const Ze=async(r=new URLSearchParams)=>{const t=new URL(Ee(me,de,"us/sec_filings/get_unique_years")),n=new URLSearchParams({limit:pe.toString(),...Object.fromEntries(t.searchParams),...Object.fromEntries(r||new URLSearchParams)});return t.search=n.toString(),await(await he(t,void 0)).json()},xe=async()=>{const r=`${me}/${de}/us/sec_filing_categories?`,t=await he(r,{headers:{"Content-Type":"application/json"}}).then(async n=>await n.json());if(t)return t;throw new Error(t["hydra:description"]||t.detail)},et=async(r=new URLSearchParams)=>{const t=new URL(Ee(me,de,"us/sec_filings_search")),n=new URLSearchParams({limit:pe.toString()});if(r)for(const[l,o]of r.entries())l==="categories[]"||l==="year[]"||l==="ticker[]"?n.append(l,o):n.set(l,o);return t.search=n.toString(),await(await he(t,{headers:{"Content-Type":"application/json"}})).json()},tt=async r=>{const t=new URL(Ee(me,de,"us/sec_filings",r.id,r.format)),n=await he(t,{headers:{"Content-Type":"application/json"}});await nt(n,r.shortDesc)},nt=async(r,t,n)=>{const e=r.headers.get("content-type"),l=window.URL.createObjectURL(await r.blob()),o=document.createElement("a");o.href=l,(e==null?void 0:e.indexOf("text/html"))!==-1&&(o.target="_blank"),(e==null?void 0:e.indexOf("text/plain"))!==-1&&(o.download=t),(e==null?void 0:e.indexOf("application/msword"))!==-1&&(o.download=t),(e==null?void 0:e.indexOf("application/pdf"))!==-1&&(o.target="_blank"),(e==null?void 0:e.indexOf("application/xls"))!==-1&&(o.download=t+".xls"),(e==null?void 0:e.indexOf("application/xml"))!==-1&&(o.target="_blank"),(e==null?void 0:e.indexOf("application/octet-stream"))!==-1&&(o.download=t),document.body.append(o),o.click(),document.body.removeChild(o)},lt=async({itemsPerPage:r=pe,years:t,categories:n,tickers:e,page:l}={})=>{const o=new URLSearchParams;l&&o.append("page",l.toString()),r&&o.append("limit",r),t&&t.split(/[;,|]/).forEach(i=>{o.append("year[]",i.toString())}),n&&n.split(/[;,|]/).forEach(i=>{o.append("categories[]",i)}),e&&e.split(/[;,|]/).forEach(i=>{o.append("ticker[]",i)});const a=await et(o);return{filingsList:a["hydra:member"],totalItems:a["hydra:totalItems"]}},Pe=Be(""),Le=Be(""),ue={ORIG:"ORIG",HTML:"HTML",RTF:"RTF",CONVPDF:"CONVPDF",CONVTEXT:"CONVTEXT",XBRL:"XBRL",REDLINE:"REDLINE",XLS:"XLS",PDF:"PDF"};function De(r,t,n){const e=r.slice();return e[33]=t[n],e}function Te(r,t,n){const e=r.slice();return e[36]=t[n],e}function Ie(r,t,n){const e=r.slice();return e[39]=t[n],e}function ye(r){let t,n,e;function l(a){r[18](a)}let o={placeholder:r[13]("secFiling.please_choose"),label:"",options:r[8],id:"years",cssClass:"form-control"};return r[5]!==void 0&&(o.value=r[5]),t=new Me({props:o}),oe.push(()=>se(t,"value",l)),{c(){J(t.$$.fragment)},l(a){K(t.$$.fragment,a)},m(a,i){Z(t,a,i),e=!0},p(a,i){const s={};i[0]&8192&&(s.placeholder=a[13]("secFiling.please_choose")),i[0]&256&&(s.options=a[8]),!n&&i[0]&32&&(n=!0,s.value=a[5],ie(()=>n=!1)),t.$set(s)},i(a){e||(M(t.$$.fragment,a),e=!0)},o(a){X(t.$$.fragment,a),e=!1},d(a){x(t,a)}}}function rt(r){let t,n,e=r[8]&&r[8].length>0&&ye(r);return{c(){e&&e.c(),t=W()},l(l){e&&e.l(l),t=W()},m(l,o){e&&e.m(l,o),N(l,t,o),n=!0},p(l,o){l[8]&&l[8].length>0?e?(e.p(l,o),o[0]&256&&M(e,1)):(e=ye(l),e.c(),M(e,1),e.m(t.parentNode,t)):e&&(ke(),X(e,1,1,()=>{e=null}),we())},i(l){n||(M(e),n=!0)},o(l){X(e),n=!1},d(l){l&&u(t),e&&e.d(l)}}}function Se(r){let t,n,e;function l(a){r[20](a)}let o={placeholder:r[13]("secFiling.please_choose_category"),label:"",options:r[9],id:"years",cssClass:"form-control"};return r[4]!==void 0&&(o.value=r[4]),t=new Me({props:o}),oe.push(()=>se(t,"value",l)),{c(){J(t.$$.fragment)},l(a){K(t.$$.fragment,a)},m(a,i){Z(t,a,i),e=!0},p(a,i){const s={};i[0]&8192&&(s.placeholder=a[13]("secFiling.please_choose_category")),i[0]&512&&(s.options=a[9]),!n&&i[0]&16&&(n=!0,s.value=a[4],ie(()=>n=!1)),t.$set(s)},i(a){e||(M(t.$$.fragment,a),e=!0)},o(a){X(t.$$.fragment,a),e=!1},d(a){x(t,a)}}}function at(r){let t,n,e=r[9]&&r[9].length>0&&Se(r);return{c(){e&&e.c(),t=W()},l(l){e&&e.l(l),t=W()},m(l,o){e&&e.m(l,o),N(l,t,o),n=!0},p(l,o){l[9]&&l[9].length>0?e?(e.p(l,o),o[0]&512&&M(e,1)):(e=Se(l),e.c(),M(e,1),e.m(t.parentNode,t)):e&&(ke(),X(e,1,1,()=>{e=null}),we())},i(l){n||(M(e),n=!0)},o(l){X(e),n=!1},d(l){l&&u(t),e&&e.d(l)}}}function ot(r){let t;return{c(){t=Y(r[2])},l(n){t=G(n,r[2])},m(n,e){N(n,t,e)},p(n,e){e[0]&4&&Q(t,n[2])},i:be,o:be,d(n){n&&u(t)}}}function it(r){let t,n,e,l,o=r[13]("secFiling.form")+"",a,i,s,m=r[13]("secFiling.description")+"",c,_,g,L=r[13]("secFiling.filed_date")+"",D,O,p,b=r[13]("secFiling.download")+"",I,y,h,S,T,$,k,F,C,z=re(r[6]),U=[];for(let v=0;v<z.length;v+=1)U[v]=Ne(De(r,z,v));function te(v){r[26](v)}let ce={paginatorType:r[3],totalItems:r[7],itemsPerPage:r[1]};return r[0]!==void 0&&(ce.currentPage=r[0]),k=new We({props:ce}),oe.push(()=>se(k,"currentPage",te)),{c(){t=w("table"),n=w("thead"),e=w("tr"),l=w("th"),a=Y(o),i=A(),s=w("th"),c=Y(m),_=A(),g=w("th"),D=Y(L),O=A(),p=w("th"),I=Y(b),y=A(),h=w("th"),S=A(),T=w("tbody");for(let v=0;v<U.length;v+=1)U[v].c();$=A(),J(k.$$.fragment),this.h()},l(v){t=E(v,"TABLE",{class:!0,role:!0});var B=P(t);n=E(B,"THEAD",{});var H=P(n);e=E(H,"TR",{});var R=P(e);l=E(R,"TH",{class:!0});var ee=P(l);a=G(ee,o),ee.forEach(u),i=j(R),s=E(R,"TH",{class:!0});var f=P(s);c=G(f,m),f.forEach(u),_=j(R),g=E(R,"TH",{class:!0});var q=P(g);D=G(q,L),q.forEach(u),O=j(R),p=E(R,"TH",{class:!0});var ne=P(p);I=G(ne,b),ne.forEach(u),y=j(R),h=E(R,"TH",{}
1),P(h).forEach(u),R.forEach(u),H.forEach(u),S=j(B),T=E(B,"TBODY",{});var fe=P(T);for(let ae=0;ae<U.length;ae+=1)U[ae].l(fe);fe.forEach(u),B.forEach(u),$=j(v),K(k.$$.fragment,v),this.h()},h(){V(l,"class","documents__head"),V(s,"class","documents__head"),V(g,"class","documents__head"),V(p,"class","documents__head"),V(t,"class","sec-filing-wrapper table table-hover"),V(t,"role","presentation")},m(v,B){N(v,t,B),d(t,n),d(n,e),d(e,l),d(l,a),d(e,i),d(e,s),d(s,c),d(e,_),d(e,g),d(g,D),d(e,O),d(e,p),d(p,I),d(e,y),d(e,h),d(t,S),d(t,T);for(let H=0;H<U.length;H+=1)U[H]&&U[H].m(T,null);N(v,$,B),Z(k,v,B),C=!0},p(v,B){if((!C||B[0]&8192)&&o!==(o=v[13]("secFiling.form")+"")&&Q(a,o),(!C||B[0]&8192)&&m!==(m=v[13]("secFiling.description")+"")&&Q(c,m),(!C||B[0]&8192)&&L!==(L=v[13]("secFiling.filed_date")+"")&&Q(D,L),(!C||B[0]&8192)&&b!==(b=v[13]("secFiling.download")+"")&&Q(I,b),B[0]&16448){z=re(v[6]);let R;for(R=0;R<z.length;R+=1){const ee=De(v,z,R);U[R]?U[R].p(ee,B):(U[R]=Ne(ee),U[R].c(),U[R].m(T,null))}for(;R<U.length;R+=1)U[R].d(1);U.length=z.length}const H={};B[0]&8&&(H.paginatorType=v[3]),B[0]&128&&(H.totalItems=v[7]),B[0]&2&&(H.itemsPerPage=v[1]),!F&&B[0]&1&&(F=!0,H.currentPage=v[0],ie(()=>F=!1)),k.$set(H)},i(v){C||(M(k.$$.fragment,v),C=!0)},o(v){X(k.$$.fragment,v),C=!1},d(v){v&&(u(t),u($)),ve(U,v),x(k,v)}}}function st(r){let t,n,e=ue[r[33].avaialbeFormats]+"",l,o,a;function i(){return r[23](r[33])}return{c(){t=w("button"),n=w("span"),l=Y(e)},l(s){t=E(s,"BUTTON",{});var m=P(t);n=E(m,"SPAN",{});var c=P(n);l=G(c,e),c.forEach(u),m.forEach(u)},m(s,m){N(s,t,m),d(t,n),d(n,l),o||(a=_e(t,"click",i),o=!0)},p(s,m){r=s,m[0]&64&&e!==(e=ue[r[33].avaialbeFormats]+"")&&Q(l,e)},d(s){s&&u(t),o=!1,a()}}}function ct(r){let t,n=re(r[33].avaialbeFormats),e=[];for(let l=0;l<n.length;l+=1)e[l]=$e(Ie(r,n,l));return{c(){for(let l=0;l<e.length;l+=1)e[l].c();t=W()},l(l){for(let o=0;o<e.length;o+=1)e[o].l(l);t=W()},m(l,o){for(let a=0;a<e.length;a+=1)e[a]&&e[a].m(l,o);N(l,t,o)},p(l,o){if(o[0]&16448){n=re(l[33].avaialbeFormats);let a;for(a=0;a<n.length;a+=1){const i=Ie(l,n,a);e[a]?e[a].p(i,o):(e[a]=$e(i),e[a].c(),e[a].m(t.parentNode,t))}for(;a<e.length;a+=1)e[a].d(1);e.length=n.length}},d(l){l&&u(t),ve(e,l)}}}function $e(r){let t,n,e=ue[r[39]]+"",l,o,a,i,s;function m(){return r[22](r[33],r[39])}return{c(){t=w("button"),n=w("span"),l=Y(e),o=A(),a=w("br")},l(c){t=E(c,"BUTTON",{});var _=P(t);n=E(_,"SPAN",{});var g=P(n);l=G(g,e),g.forEach(u),_.forEach(u),o=j(c),a=E(c,"BR",{})},m(c,_){N(c,t,_),d(t,n),d(n,l),N(c,o,_),N(c,a,_),i||(s=_e(t,"click",m),i=!0)},p(c,_){r=c,_[0]&64&&e!==(e=ue[r[39]]+"")&&Q(l,e)},d(c){c&&(u(t),u(o),u(a)),i=!1,s()}}}function ft(r){let t;return{c(){t=w("td")},l(n){t=E(n,"TD",{}),P(t).forEach(u)},m(n,e){N(n,t,e)},p:be,d(n){n&&u(t)}}}function ut(r){var e,l;let t,n=((l=(e=r[33])==null?void 0:e.xbrlInfo)==null?void 0:l.viewer)&&Re(r);return{c(){n&&n.c(),t=W()},l(o){n&&n.l(o),t=W()},m(o,a){n&&n.m(o,a),N(o,t,a)},p(o,a){var i,s;(s=(i=o[33])==null?void 0:i.xbrlInfo)!=null&&s.viewer?n?n.p(o,a):(n=Re(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&u(t),n&&n.d(o)}}}function Re(r){var a,i,s,m;let t,n,e,l=((i=(a=r[33])==null?void 0:a.xbrlInfo)==null?void 0:i.viewer)&&Oe(r),o=((m=(s=r[33])==null?void 0:s.xbrlInfo)==null?void 0:m.sequence)&&Ce(r);return{c(){t=w("td"),n=w("ul"),l&&l.c(),e=A(),o&&o.c()},l(c){t=E(c,"TD",{});var _=P(t);n=E(_,"UL",{});var g=P(n);l&&l.l(g),e=j(g),o&&o.l(g),g.forEach(u),_.forEach(u)},m(c,_){N(c,t,_),d(t,n),l&&l.m(n,null),d(n,e),o&&o.m(n,null)},p(c,_){var g,L,D,O;(L=(g=c[33])==null?void 0:g.xbrlInfo)!=null&&L.viewer?l?l.p(c,_):(l=Oe(c),l.c(),l.m(n,e)):l&&(l.d(1),l=null),(O=(D=c[33])==null?void 0:D.xbrlInfo)!=null&&O.sequence?o?o.p(c,_):(o=Ce(c),o.c(),o.m(n,null)):o&&(o.d(1),o=null)},d(c){c&&u(t),l&&l.d(),o&&o.d()}}}function Oe(r){let t,n,e="XBRL Viewer",l,o;function a(){return r[24](r[33])}return{c(){t=w("li"),n=w("button"),n.textContent=e},l(i){t=E(i,"LI",{});var s=P(t);n=E(s,"BUTTON",{"data-svelte-h":!0}),Xe(n)!=="svelte-1q3hdwe"&&(n.textContent=e),s.forEach(u)},m(i,s){N(i,t,s),d(t,n),l||(o=_e(n,"click",a),l=!0)},p(i,s){r=i},d(i){i&&u(t),l=!1,o()}}}function Ce(r){var l,o;let t,n=re((o=(l=r[33])==null?void 0:l.xbrlInfo)==null?void 0:o.sequence),e=[];for(let a=0;a<n.length;a+=1)e[a]=Ue(Te(r,n,a));return{c(){for(let a=0;a<e.length;a+=1)e[a].c();t=W()},l(a){for(let i=0;i<e.length;i+=1)e[i].l(a);t=W()},m(a,i){for(let s=0;s<e.length;s+=1)e[s]&&e[s].m(a,i);N(a,t,i)},p(a,i){var s,m;if(i[0]&16448){n=re((m=(s=a[33])==null?void 0:s.xbrlInfo)==null?void 0:m.sequence);let c;for(c=0;c<n.length;c+=1){const _=Te(a,n,c);e[c]?e[c].p(_,i):(e[c]=Ue(_),e[c].c(),e[c].m(t.parentNode,t))}for(;c<e.length;c+=1)e[c].d(1);e.length=n.length}},d(a){a&&u(t),ve(e,a)}}}function Ue(r){let t,n,e=r[36].description+"",l,o,a,i,s,m;function c(){return r[25](r[33],r[36])}return{c(){t=w("li"),n=w("button"),l=Y(e),o=A(),a=w("br"),i=A()},l(_){t=E(_,"LI",{});var g=P(t);n=E(g,"BUTTON",{});var L=P(n);
1l=G(L,e),L.forEach(u),o=j(g),a=E(g,"BR",{}),i=j(g),g.forEach(u)},m(_,g){N(_,t,g),d(t,n),d(n,l),d(t,o),d(t,a),d(t,i),s||(m=_e(n,"click",c),s=!0)},p(_,g){r=_,g[0]&64&&e!==(e=r[36].description+"")&&Q(l,e)},d(_){_&&u(t),s=!1,m()}}}function Ne(r){let t,n,e=r[33].formType.mnemonic+"",l,o,a,i=r[33].formType.shortDesc+"",s,m,c,_=Fe(new Date(r[33].filedDate))+"",g,L,D,O,p,b;function I(k,F){return F[0]&64&&(O=null),O==null&&(O=!!Array.isArray(k[33].avaialbeFormats)),O?ct:st}let y=I(r,[-1,-1]),h=y(r);function S(k,F){var C;return(C=k[33])!=null&&C.xbrlInfo?ut:ft}let T=S(r),$=T(r);return{c(){t=w("tr"),n=w("td"),l=Y(e),o=A(),a=w("td"),s=Y(i),m=A(),c=w("td"),g=Y(_),L=A(),D=w("td"),h.c(),p=A(),$.c(),b=A()},l(k){t=E(k,"TR",{});var F=P(t);n=E(F,"TD",{});var C=P(n);l=G(C,e),C.forEach(u),o=j(F),a=E(F,"TD",{});var z=P(a);s=G(z,i),z.forEach(u),m=j(F),c=E(F,"TD",{});var U=P(c);g=G(U,_),U.forEach(u),L=j(F),D=E(F,"TD",{});var te=P(D);h.l(te),te.forEach(u),p=j(F),$.l(F),b=j(F),F.forEach(u)},m(k,F){N(k,t,F),d(t,n),d(n,l),d(t,o),d(t,a),d(a,s),d(t,m),d(t,c),d(c,g),d(t,L),d(t,D),h.m(D,null),d(t,p),$.m(t,null),d(t,b)},p(k,F){F[0]&64&&e!==(e=k[33].formType.mnemonic+"")&&Q(l,e),F[0]&64&&i!==(i=k[33].formType.shortDesc+"")&&Q(s,i),F[0]&64&&_!==(_=Fe(new Date(k[33].filedDate))+"")&&Q(g,_),y===(y=I(k,F))&&h?h.p(k,F):(h.d(1),h=y(k),h&&(h.c(),h.m(D,null))),T===(T=S(k))&&$?$.p(k,F):($.d(1),$=T(k),$&&($.c(),$.m(t,b)))},d(k){k&&u(t),h.d(),$.d()}}}function _t(r){let t,n,e,l;const o=[it,ot],a=[];function i(s,m){return s[7]>0?0:1}return t=i(r),n=a[t]=o[t](r),{c(){n.c(),e=W()},l(s){n.l(s),e=W()},m(s,m){a[t].m(s,m),N(s,e,m),l=!0},p(s,m){let c=t;t=i(s),t===c?a[t].p(s,m):(ke(),X(a[c],1,1,()=>{a[c]=null}),we(),n=a[t],n?n.p(s,m):(n=a[t]=o[t](s),n.c()),M(n,1),n.m(e.parentNode,e))},i(s){l||(M(n),l=!0)},o(s){X(n),l=!1},d(s){s&&u(e),a[t].d(s)}}}function dt(r){let t,n,e,l,o,a,i,s,m,c,_;function g(p){r[19](p)}let L={align:"center",animation:!0,$$slots:{default:[rt]},$$scope:{ctx:r}};r[11]!==void 0&&(L.loader=r[11]),e=new ge({props:L}),oe.push(()=>se(e,"loader",g));function D(p){r[21](p)}let O={align:"center",animation:!0,$$slots:{default:[at]},$$scope:{ctx:r}};return r[12]!==void 0&&(O.loader=r[12]),i=new ge({props:O}),oe.push(()=>se(i,"loader",D)),c=new ge({props:{align:"center",animation:!0,loader:r[10],$$slots:{default:[_t]},$$scope:{ctx:r}}}),{c(){t=w("div"),n=w("div"),J(e.$$.fragment),o=A(),a=w("div"),J(i.$$.fragment),m=A(),J(c.$$.fragment),this.h()},l(p){t=E(p,"DIV",{class:!0});var b=P(t);n=E(b,"DIV",{class:!0});var I=P(n);K(e.$$.fragment,I),I.forEach(u),o=j(b),a=E(b,"DIV",{class:!0});var y=P(a);K(i.$$.fragment,y),y.forEach(u),b.forEach(u),m=j(p),K(c.$$.fragment,p),this.h()},h(){V(n,"class","col-md-6"),V(a,"class","col-md-6"),V(t,"class","row")},m(p,b){N(p,t,b),d(t,n),Z(e,n,null),d(t,o),d(t,a),Z(i,a,null),N(p,m,b),Z(c,p,b),_=!0},p(p,b){const I={};b[0]&8480|b[1]&2048&&(I.$$scope={dirty:b,ctx:p}),!l&&b[0]&2048&&(l=!0,I.loader=p[11],ie(()=>l=!1)),e.$set(I);const y={};b[0]&8720|b[1]&2048&&(y.$$scope={dirty:b,ctx:p}),!s&&b[0]&4096&&(s=!0,y.loader=p[12],ie(()=>s=!1)),i.$set(y);const h={};b[0]&1024&&(h.loader=p[10]),b[0]&8399|b[1]&2048&&(h.$$scope={dirty:b,ctx:p}),c.$set(h)},i(p){_||(M(e.$$.fragment,p),M(i.$$.fragment,p),M(c.$$.fragment,p),_=!0)},o(p){X(e.$$.fragment,p),X(i.$$.fragment,p),X(c.$$.fragment,p),_=!1},d(p){p&&(u(t),u(m)),x(e),x(i),x(c,p)}}}function mt(r,t,n){let e,l,o,a;le(r,Ge,f=>n(17,e=f)),le(r,Pe,f=>n(4,l=f)),le(r,Le,f=>n(5,o=f)),le(r,qe,f=>n(13,a=f));let{itemsPerPage:i=pe}=t,{notFound:s=null}=t,{tickers:m=null}=t,{paginatorType:c="pagination"}=t,{currentPage:_=1}=t,g=e,L=[],D=[],O=0,p=[],b=[],I=null,y=null,h=!0,S=!0,T=!0;const $=async()=>{n(10,h=!0);try{const f=await lt({itemsPerPage:i,years:o.toString(),categories:l.toString(),tickers:m,page:_});L=f==null?void 0:f.filingsList,n(7,O=f.totalItems),c==Qe.LoadMore?n(6,D=[...D,...L.filter(q=>!D.some(ne=>ne.id===q.id))]):n(6,D=L)}catch(f){console.error("Error fetching Documents:",f)}finally{n(10,h=!1)}},k=async()=>{n(11,S=!0);try{I=(await Ze())["hydra:member"],n(8,p=I.map(q=>({name:q.year,value:q.year})))}
1catch(f){console.error("Error fetching sec filing years:",f)}finally{n(11,S=!1)}},F=async()=>{n(12,T=!0);try{y=(await xe())["hydra:member"],n(9,b=y.map(q=>({name:q.categoryName,value:q.id})))}catch(f){console.error("Error fetching sec filing categories:",f)}finally{n(12,T=!1)}},C=async(f,q,ne)=>{const fe={id:f,shortDesc:q,format:ne};try{await tt(fe)}catch(ae){console.error("Error fetching sec filing downloads:",ae)}};He(async()=>{await k(),await F()});function z(f){o=f,Le.set(o)}function U(f){S=f,n(11,S)}function te(f){l=f,Pe.set(l)}function ce(f){T=f,n(12,T)}const v=(f,q)=>C(f.id,f.formType.shortDesc,q),B=f=>C(f.id,f.formType.shortDesc,f.avaialbeFormats.toString()),H=f=>C(f.id,f.id+"-xbrl-viewer.html","xbrl-viewer"),R=(f,q)=>C(f.id,f.id+"-"+q.name,q.type);function ee(f){_=f,n(0,_)}return r.$$set=f=>{"itemsPerPage"in f&&n(1,i=f.itemsPerPage),"notFound"in f&&n(2,s=f.notFound),"tickers"in f&&n(15,m=f.tickers),"paginatorType"in f&&n(3,c=f.paginatorType),"currentPage"in f&&n(0,_=f.currentPage)},r.$$.update=()=>{r.$$.dirty[0]&49&&(o||_||l)&&$(),r.$$.dirty[0]&196608&&e!==g&&($(),k(),F(),n(16,g=e))},[_,i,s,c,l,o,D,O,p,b,h,S,T,a,C,m,g,e,z,U,te,ce,v,B,H,R,ee]}class pt extends je{constructor(t){super(),Ve(this,t,mt,dt,Ae,{itemsPerPage:1,notFound:2,tickers:15,paginatorType:3,currentPage:0},null,[-1,-1])}}function ht(r){let t,n,e,l,o,a,i,s,m,c,_,g,L,D,O=r[0]("secFiling.title")+"",p,b,I,y;return document.title=t=r[0]("head.secFiling.title"),i=new ze({props:{title:r[0]("head.secFiling.title")}}),m=new Je({props:{path:r[1].url.pathname}}),I=new pt({props:{itemsPerPage:"20",notFound:r[0]("secFiling.no_item_found"),tickers:""}}),{c(){n=w("meta"),l=w("meta"),o=A(),a=w("div"),J(i.$$.fragment),s=A(),J(m.$$.fragment),c=A(),_=w("div"),g=w("div"),L=w("div"),D=w("h1"),p=Y(O),b=A(),J(I.$$.fragment),this.h()},l(h){const S=Ye("svelte-1a2h5l4",document.head);n=E(S,"META",{name:!0,content:!0}),l=E(S,"META",{name:!0,content:!0}),S.forEach(u),o=j(h),a=E(h,"DIV",{class:!0});var T=P(a);K(i.$$.fragment,T),s=j(T),K(m.$$.fragment,T),c=j(T),_=E(T,"DIV",{class:!0});var $=P(_);g=E($,"DIV",{class:!0});var k=P(g);L=E(k,"DIV",{class:!0});var F=P(L);D=E(F,"H1",{});var C=P(D);p=G(C,O),C.forEach(u),b=j(F),K(I.$$.fragment,F),F.forEach(u),k.forEach(u),$.forEach(u),T.forEach(u),this.h()},h(){V(n,"name","description"),V(n,"content",e=r[0]("head.secFiling.meta.description")),V(l,"name","robots"),V(l,"content","index, follow"),V(L,"class","sec-filing-wrapper"),V(g,"class","container"),V(_,"class","page__content"),V(a,"class","page news")},m(h,S){d(document.head,n),d(document.head,l),N(h,o,S),N(h,a,S),Z(i,a,null),d(a,s),Z(m,a,null),d(a,c),d(a,_),d(_,g),d(g,L),d(L,D),d(D,p),d(L,b),Z(I,L,null),y=!0},p(h,[S]){(!y||S&1)&&t!==(t=h[0]("head.secFiling.title"))&&(document.title=t),(!y||S&1&&e!==(e=h[0]("head.secFiling.meta.description")))&&V(n,"content",e);const T={};S&1&&(T.title=h[0]("head.secFiling.title")),i.$set(T);const $={};S&2&&($.path=h[1].url.pathname),m.$set($),(!y||S&1)&&O!==(O=h[0]("secFiling.title")+"")&&Q(p,O);const k={};S&1&&(k.notFound=h[0]("secFiling.no_item_found")),I.$set(k)},i(h){y||(M(i.$$.fragment,h),M(m.$$.fragment,h),M(I.$$.fragment,h),y=!0)},o(h){X(i.$$.fragment,h),X(m.$$.fragment,h),X(I.$$.fragment,h),y=!1},d(h){h&&(u(o),u(a)),u(n),u(l),x(i),x(m),x(I)}}}function gt(r,t,n){let e,l;return le(r,qe,o=>n(0,e=o)),le(r,Ke,o=>n(1,l=o)),[e,l]}class Ot extends je{constructor(t){super(),Ve(this,t,gt,ht,Ae,{})}}export{Ot as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.