1import{a as Me,b as Ie}from"./chunk-MT7DBJLA.js";import{a as Fe}from"./chunk-ID6NRHAM.js";import"./chunk-Q5A5LVVH.js";import{a as Oe}from"./chunk-RCEA52E5.js";import"./chunk-2EI6IAVE.js";import{b as xe}from"./chunk-WV7OFWDQ.js";import"./chunk-XI5DGGJG.js";import{a as be,d as we,i as ve,j as K}from"./chunk-LJY5RTMB.js";import{a as T,b as ee}from"./chunk-NYIAP4V5.js";import"./chunk-WHU4XXSE.js";import"./chunk-T24IL6KT.js";import"./chunk-WLKXPJJQ.js";import{a as ye}from"./chunk-3PRPTJWC.js";import"./chunk-VKYJ6PDM.js";import"./chunk-A2MKP65J.js";import"./chunk-IKAWFEGQ.js";import"./chunk-LOYHO3JD.js";import{a as W}from"./chunk-WPHMTRGD.js";import"./chunk-CLFCPDRQ.js";import"./chunk-II5GPNB3.js";import"./chunk-6XFVBTKO.js";import"./chunk-KYQEO6VJ.js";import"./chunk-44OM7VNA.js";import{a as _e}from"./chunk-RIDV7OZG.js";import"./chunk-N6B7OEUW.js";import"./chunk-AI2H4MTZ.js";import"./chunk-RZWUF2WE.js";import{a as Pe}from"./chunk-7WMAZ4BZ.js";import"./chunk-PN5AYVQ6.js";import"./chunk-5BDXO5V3.js";import"./chunk-KCEJCXJZ.js";import{d as Se}from"./chunk-5BVZXLFA.js";import"./chunk-RTGIJOJ3.js";import{a as v}from"./chunk-N4VJFAAV.js";import"./chunk-7LORS5UB.js";import"./chunk-OCRPHCVN.js";import"./chunk-WXLVEQ4T.js";import{e as N,g as Q,h as Ce}from"./chunk-I335Z6VX.js";import"./chunk-YYKWFEMG.js";import"./chunk-D2N3WVHQ.js";import"./chunk-OP5LXOJA.js";import"./chunk-ARD6OICO.js";import{e as ke}from"./chunk-BBHJ2D5U.js";import"./chunk-RH7YKMCI.js";import"./chunk-2P2IIG2U.js";import"./chunk-J3TYBNDU.js";import"./chunk-4QCSDQDN.js";import"./chunk-W3MH5BOT.js";import{D as B,G as fe,m as $}from"./chunk-GUQT3FOM.js";import{Aa as E,Ba as X,Ea as j,Eb as r,Jc as k,Lb as _,O as J,Oa as se,Qc as x,Sc as c,Ub as L,V as re,Wc as pe,Xc as ue,Yc as me,bd as ge,cd as he,de as z,fd as p,gd as O,hd as I,mc as le,pc as h,ra as V,rb as ae,rc as f,sb as Z,sc as ce,tc as de,uc as F,vc as M,vd as q,wc as m,wd as A,xc as s,xd as G,ya as S,yc as a,za as P,zc as w}from"./chunk-H5RMQNTW.js";import"./chunk-EU2KAMEK.js";import{a as D,b as oe}from"./chunk-YNC7RVHT.js";var Ae=i=>({active:i}),Ue=i=>({"filled-btn":i}),U=()=>[],He=(i,l)=>({to:i,from:l});function je(i,l){i&1&&w(0,"img",4)}function Le(i,l){if(i&1){let e=k();s(0,"div",13),x("click",function(){S(e);let t=c();return P(t.accessControlService.accessDenied())}),w(1,"i",14),p(2," Unlock All "),a()}}function Ge(i,l){if(i&1&&(s(0,"div",6),p(1," Active Filters "),s(2,"span",15),p(3),a()()),i&2){let e=c();m("ngClass",A(2,Ae,e.filterCounts.categories[e.filterCategory]>0)),r(3),O(e.filterCounts.categories[e.filterCategory])}}function ze(i,l){if(i&1){let e=k();s(0,"button",16),x("click",function(){S(e);let t=c();return P(t.resetFilters())}),p(1," Reset "),a()}}function $e(i,l){if(i&1){let e=k();s(0,"button",17),x("click",function(){S(e);let t=c();return P(t.toggleFiltersInputsVisibility())}),s(1,"span"),p(2),a(),E(),s(3,"svg",18),w(4,"path",19),a()()}if(i&2){let e=c();r(2),O(e.areFiltersInputsVisible?"Show Less":"Show More"),r(),m("ngClass",e.areFiltersInputsVisible?"rotate":"")}}function Be(i,l){if(i&1&&(s(0,"span",15),p(1),a()),i&2){let e=c().$implicit,n=c();r(),O(n.filterCounts.groups[e.name])}}function Ne(i,l){if(i&1){let e=k();s(0,"li",11)(1,"button",20),x("click",function(){let t=S(e).$implicit,o=c();return P(o.setFilterActive(t.name))}),p(2),h(3,Be,2,1,"span",15),a()()}if(i&2){let e=l.$implicit,n=c();r(),m("ngClass",A(3,Ue,n.selectedGroupName===e.name)),r(),I(" ",e.label," "),r(),f(n.filterCounts.groups[e.name]>0?3:-1)}}function Qe(i,l){if(i&1){let e=k();s(0,"app-select-input",23),x("valueChange",function(t){S(e);let o=c(3);return P(o.onDropdownChange(t))}),a()}if(i&2){let e=c().$implicit,n=c(2);m("items",e.options??q(10,U))("label",e.label)("description",e==null?null:e.description)("name",e.name)("multiple",e.multiple??!1)("clearable",!0)("disabled",n.checkDisabled(e))("selectedItems",n.filterSelectedItems[e.name]??q(11,U))("requiredRole",n.getRequiredRole(e))("hidePlanIcon",e.hidePlanIcon)}}function We(i,l){if(i&1){let e=k();s(0,"app-range-select-input",24),x("rangeChange",function(t){S(e);let o=c(3);return P(o.onRangeChange(t))}),a()}if(i&2){let e=c().$implicit,n=c(2);m("requiredRole",n.getRequiredRole(e))("items",e.rangeOptions??G(12,He,q(10,U),q(11,U)))("label",e.label)("name",e.name)("description",e==null?null:e.description)("placeholderFrom","From")("placeholderTo","To")("disabled",n.checkDisabled(e))("selectedItems",n.filterSelectedItems[e.name]??q(15,U))("hidePlanIcon",e.hidePlanIcon)}}function Ke(i,l){if(i&1&&(s(0,"div"),h(1,Qe,1,12,"app-select-input",21),h(2,We,1,16,"app-range-select-input",22),a()),i&2){let e=l.$implicit;r(),f(e.type==="dropdown"?1:-1),r(),f(e.type==="dropdown_range"?2:-1)}}function Ye(i,l){if(i&1&&(s(0,"div",12),F(1,Ke,3,2,"div",null,de),a()),i&2){let e=c();r(),M(e.filters)}}var te=(()=>{class i{constructor(e,n,t,o,d){this.filterService=e,this.route=n,this.accessControlService=t,this.countryService=o,this.cdr=d,this.filtersHeading="",this.filterCategory="",this.filtersGroups=[],this.showMore=!1,this.hideUnlock=!1,this.hidePlanIcon=!1,this.showPremiumIcon=!1,this.filterCounts={categories:{},groups:{},filters:{},total:0},this.filters=[],this.filterSelectedItems={},this.areFiltersVisible=!0,this.areFiltersInputsVisible=!1,this.role="",this.destroyRef=V(j),this.roleSequence=we,this.appliedFilters=[],this.optionsData
1FilterParams={},this.conditionalFields={}}ngOnInit(){Se.subscriptionData.pipe(v(this.destroyRef)).subscribe(e=>{this.role=e.newRole??"free",this.cdr.markForCheck()}),this.filterService.appliedFilters$.pipe(v(this.destroyRef)).subscribe(e=>{this.appliedFilters=e;let n=new Set(e.map(t=>t.name));Object.keys(this.filterSelectedItems).forEach(t=>{n.has(t)||delete this.filterSelectedItems[t]});for(let t of this.appliedFilters)this.filterSelectedItems[t.name]=this.presetAppliedFilters(t.value);this.cdr.markForCheck()}),this.filterService.counts$.pipe(v(this.destroyRef)).subscribe(e=>{this.filterCounts=e,this.cdr.markForCheck()}),this.route.queryParams.pipe(v(this.destroyRef)).subscribe(e=>{this.checkAndSetOptionsDataFilterParams(e),this.checkAndSetConditionalFields(e),this.cdr.markForCheck()}),this.countryService.selectedCountry$.pipe(v(this.destroyRef)).subscribe(()=>{this.getOptionsDataFilterItems()})}resetFilters(){this.filterService.clearAppliedFilters(this.filterCategory),this.filterService.updateFiltersQueryParams(this.filterService.appliedFilters$.value,{resetPage:!0})}checkAndSetOptionsDataFilterParams(e){Object.keys(this.optionsDataFilterParams).some(t=>this.optionsDataFilterParams[t].fields.some(u=>e[u]!==void 0))&&this.getOptionsDataFilterItems()}checkAndSetConditionalFields(e){Object.keys(this.conditionalFields).some(t=>{let o=this.conditionalFields[t].fields,d=o.some(C=>e[`filters[${C}]`]!==void 0),u=!1,y=this.filters.find(C=>C.name===t);return y?.isDisabled||(u=o.some(C=>{let b=e[`filters[${C}]`];if(b){let R=y?.conditions?.find(g=>g.field===C);if(R?.value)return!Array.isArray(b)&&b.startsWith("[")&&b.endsWith("]")&&(b=b.slice(1,-1).split(",")),Array.isArray(b)?!b.some(g=>R.value?.includes(g)):!R.value.includes(b)}return!1}),u&&(this.filterService.removeFilter(t),this.filterService.updateFiltersQueryParams(this.filterService.appliedFilters$.value,{resetPage:!0}))),d||u})&&this.setConditionalFieldsAccessiblity()}storeConditionalFields(){this.filters.forEach(e=>{e.conditions&&(this.conditionalFields[e.name]={fields:e.conditions.map(n=>n.field),isSet:!1})})}setConditionalFieldsAccessiblity(){this.filters.filter(e=>!!e.conditions).forEach(e=>{e.isDisabled=e?.conditions?.every(n=>{let t=this.appliedFilters.find(o=>o.name===n.field&&o?.value?.length>0);return t?(this.conditionalFields[e.name].isSet=!0,!Array.isArray(t.value)&&t.value.startsWith("[")&&t.value.endsWith("]")&&(t.value=t.value.slice(1,-1).split(",")),n.value?Array.isArray(t.value)?!t.value.some(o=>n?.value?.includes(o)):!n.value.includes(t.value):!1):(this.conditionalFields[e.name].isSet=!1,!0)})})}storeOptionsDataFilterParams(){this.filters.forEach(e=>{e.optionsFunction&&(this.optionsDataFilterParams[e.name]={fields:e.optionsFunctionParams??[],isSet:!1})})}async getOptionsDataFilterItems(){this.filters.filter(e=>e.optionsFunction).forEach(async e=>{let n=[];for(let t in this.route.snapshot.queryParams)if(this.optionsDataFilterParams[e.name]?.fields.includes(t)){let o=this.route.snapshot.queryParams[t].replace(/[\[\]]/g,"");n.push(...o.split(","))}if(n.length===0&&this.optionsDataFilterParams[e.name]?.fields.includes("country")){let t=this.countryService.getSelectedCountry()?.countryCode;if(t)n.push(t);else{let o=this.route.snapshot.paramMap.get("countrySlug");o&&n.push(o.toUpperCase())}}if(e?.optionsFunction){let t=await this.filterService.getOptionsData(e?.optionsFunction,n);e.options=t,this.cdr.markForCheck()}})}trackByFn(e,n){return n}async setFilterActive(e){if(e===this.selectedGroupName){this.selectedGroupName="",this.areFiltersInputsVisible=!1;return}this.selectedGroupName=e,this.filters=this.filterService.getFilters(e),this.storeOptionsDataFilterParams(),this.storeConditionalFields(),this.getOptionsDataFilterItems(),this.setConditionalFieldsAccessiblity(),this.areFiltersInputsVisible=!0}presetAppliedFilters(e){return Array.isArray(e)?e:e?e.replace(/[\[\]]/g,"").split(","):[]}addAppliedFilter(e){let n={name:e.name,value:e.value,category:this.filterCategory};this.filterService.saveAppliedFilter(n),this.filterService.updateFiltersQueryParams(this.filterService.appliedFilters$.value,{resetPage:!0})}hasAccess(e){return this.roleSequence.indexOf(this.role)>=this.roleSequence.indexOf(e)}checkDisabled(e){return e.isDisabled?!0:!this.hasAccess(e.role)}getRequiredRole(e){if(!this.hasAccess(e.role))return e.role}onDropdownChange(e){let n=e.value,t=e.name;Array.isArray(n)&&n.length>0?this.addAppliedFilter({name:t,value:`[${n.join(",")}]`}):this.addAppliedFilter({name:t,value:n})}onRangeChange(e){let n=e.name,t=e.from,o=e.to;!t&&!o?this.addAppliedFilter({name:n,value:null}):this.addAppliedFilter({name:n,value:`${t??"*"}:${o??"*"}`})}toggleFiltersVisibility(){this.areFiltersVisible=!this.areFiltersVisible}toggleFiltersInputsVisibility(){this.areFiltersInputsVisible=!this.areFiltersInputsVisible}static{this.\u0275fac=function(n){return new(n||i)(_(K),_(N),_(_e),_(W),_(z))}}static{this.\u0275cmp=L({type:i,selectors:[["app-stock-screener-filters"]],inputs:{filtersHeading:"filtersHeading",filterCategory:"filterCategory",filtersGroups:"filtersGroups",showMore:"showMore",hideUnlock:"hideUnlock",hidePlanIcon:"hidePlanIcon",showPremiumIcon:"showPremiumIcon"},decls:15,vars:8,consts:[[1,"container","filters-section"],[1,"d-flex","align-items-center","justify-content-between","px-3","px-lg-0","mb-2"],[1,"section_title_row"],[1,"filter-section-h6","fw-600","mb-0","d-flex","align-items-center","gap-2"],["src","/assets/images/role-icons/gold-crown.svg","ngbTooltip","Available in Premium Plan",1,"yellow_gradient_word"],["placement","top","ngbTooltip","Unlock the full potential of Musaffa",1,"block","fw-400","label__green","cursor-pointer"],[1,"filter_active_badge",3,"ngClass"],["type","button",1,"text-nowrap","btn_reset"],[1,"btn","d-flex","fw-500","px-0","align-items-center","shadow-none","gap-2","moreless-btn","hideshow-btn"],[1,"d-flex","align-items-start","gap-1"],["role","list",1,"d-flex","align-items-center","filter-tabs","px-3","px-lg-0",3,"ngClass"],[1,"flex-shrink-0"],[1,"filters-gri
1d","px-3","px-lg-0"],["placement","top","ngbTooltip","Unlock the full potential of Musaffa",1,"block","fw-400","label__green","cursor-pointer",3,"click"],[1,"icon-lock"],[1,"filter__badge"],["type","button",1,"text-nowrap","btn_reset",3,"click"],[1,"btn","d-flex","fw-500","px-0","align-items-center","shadow-none","gap-2","moreless-btn","hideshow-btn",3,"click"],["viewBox","0 0 512 512","xmlns","http://www.w3.org/2000/svg",1,"inline-block","chevron-svg","flex-shrink-0",3,"ngClass"],["fill","currentColor","d","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"],[1,"btn","rounded-pill","border-0","fw-500","shadow-none","lh-base","text-capitalize","d-flex","align-items-center","gap-2",3,"click","ngClass"],[3,"items","label","description","name","multiple","clearable","disabled","selectedItems","requiredRole","hidePlanIcon"],[3,"requiredRole","items","label","name","description","placeholderFrom","placeholderTo","disabled","selectedItems","hidePlanIcon"],[3,"valueChange","items","label","description","name","multiple","clearable","disabled","selectedItems","requiredRole","hidePlanIcon"],[3,"rangeChange","requiredRole","items","label","name","description","placeholderFrom","placeholderTo","disabled","selectedItems","hidePlanIcon"]],template:function(n,t){n&1&&(s(0,"section",0)(1,"div",1)(2,"div",2)(3,"h6",3),p(4),h(5,je,1,0,"img",4),h(6,Le,3,0,"div",5),a(),h(7,Ge,4,4,"div",6),h(8,ze,2,0,"button",7),a(),h(9,$e,5,2,"button",8),a(),s(10,"div",9)(11,"ul",10),F(12,Ne,4,5,"li",11,t.trackByFn,!0),a()(),h(14,Ye,3,0,"div",12),a()),n&2&&(r(4),I(" ",t.filtersHeading," "),r(),f(!t.hideUnlock&&!t.hasAccess("starter")?5:-1),r(),f(!t.hideUnlock&&!t.hasAccess("starter")?6:-1),r(),f(t.filterCounts.categories[t.filterCategory]>0?7:-1),r(),f(t.filterCounts.categories[t.filterCategory]>0?8:-1),r(),f(t.areFiltersInputsVisible||t.selectedGroupName?9:-1),r(2),m("ngClass",t.areFiltersVisible?"flex-wrap":"flex-nowrap overflow-auto hide-scroll-bar"),r(),M(t.filtersGroups),r(2),f(t.areFiltersInputsVisible?14:-1))},dependencies:[ye,$,Me,Ie],styles:[".filters-section[_ngcontent-%COMP%]{margin-bottom:2.5rem}.filters-section[_ngcontent-%COMP%] .filter-section-h6[_ngcontent-%COMP%]{font-size:.875rem;color:#545859;display:flex;align-items:center;gap:4px}@media(min-width:992px){.filters-section[_ngcontent-%COMP%] .filter-section-h6[_ngcontent-%COMP%]{font-size:1rem}}.label__green[_ngcontent-%COMP%]{color:#009000!important;font-size:.875rem}.hide-scroll-bar[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.hide-scroll-bar[_ngcontent-%COMP%]{-ms-overflow-style:none;scrollbar-width:none}.section_title_row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:20px}.btn_reset[_ngcontent-%COMP%]{background:none;border:0;color:#009000;font-size:15px;font-style:normal;font-weight:400;line-height:normal;letter-spacing:.15px}.filter_active_badge[_ngcontent-%COMP%]{display:flex;padding:4px 4px 5px 12px;justify-content:center;align-items:center;gap:8px;border-radius:100px;background:#f0f0f0;color:#676767;font-size:.8rem;font-style:normal;font-weight:500;line-height:normal;letter-spacing:.15px;border:1px solid transparent}.filter_active_badge.active[_ngcontent-%COMP%]{background:#f4fff8;color:#009000;border:1px solid #009000}.filter__badge[_ngcontent-%COMP%]{display:flex;height:20px;padding:2px 6px;justify-content:center;align-items:center;gap:10px;border-radius:100px;background:#fff;color:#2f312f}.filters-section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .filter__badge[_ngcontent-%COMP%]{background:#009000;color:#fff}.filters-section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] button.filled-btn[_ngcontent-%COMP%] .filter__badge[_ngcontent-%COMP%]{background:#fff;color:#009000}.filter_active_badge.active[_ngcontent-%COMP%] .filter__badge[_ngcontent-%COMP%]{background:#009000;color:#fff}button[_ngcontent-%COMP%]{font-size:.75rem}@media(min-width:992px){button[_ngcontent-%COMP%]{font-size:.875rem}}button.hideshow-btn[_ngcontent-%COMP%]{text-underline-offset:2px;text-decoration-thickness:2px}button.moreless-btn[_ngcontent-%COMP%]{color:#009000}button[_ngcontent-%COMP%] .chevron-svg[_ngcontent-%COMP%]{aspect-ratio:1;width:.75rem}@media(min-width:992px){button[_ngcontent-%COMP%] .chevron-svg[_ngcontent-%COMP%]{width:.875rem}}button[_ngcontent-%COMP%] .chevron-svg.rotate[_ngcontent-%COMP%]{transform:rotate(180deg)}.filter-tabs[_ngcontent-%COMP%]{gap:.5rem;margin-top:12px}@media(min-width:992px){.filter-tabs[_ngcontent-%COMP%]{gap:.625rem}}.filter-tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:.325rem 1rem;color:#494949;background-color:#efefef}@media(min-width:992px){.filter-tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:.5rem 1.5rem}}.filter-tabs[_ngcontent-%COMP%] button.filled-btn[_ngcontent-%COMP%]{color:#fff;background-color:#009000}
1.filters-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:1rem;padding-top:1.5rem}@media(min-width:768px){.filters-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);gap:1rem 1.5rem}}@media(min-width:992px){.filters-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr);gap:1rem 2.5rem;padding-top:2rem}}@media(min-width:1200px){.filters-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}}.filters-grid[_ngcontent-%COMP%] .filter-span-2[_ngcontent-%COMP%]{grid-column:span 2}@media(max-width:640px){.halal_etf__header[_ngcontent-%COMP%]{justify-content:flex-start!important}.hideshow-btn[_ngcontent-%COMP%]{margin-left:0!important}}"]})}}return i})();var Je=()=>({"shadow-none btn border-0 rounded-0 ms-auto fw-500 hideshow-btn d-inline-flex px-0 align-items-center gap-2":!0}),Xe=i=>({"underlined-btn":i}),Ze=(i,l)=>["/halal-collection",i,l],et=(i,l)=>l.code,tt=(i,l)=>l.name,nt=(i,l)=>l.id;function it(i,l){if(i&1){let e=k();s(0,"button",21),x("click",function(){S(e);let t=c();return P(t.openCountriesPopup())}),w(1,"img",22),s(2,"span",23),p(3),a(),E(),s(4,"svg",24),w(5,"path",8),a()()}if(i&2){let e=c();r(),m("src","/assets/flags/1x1/"+e.selectedCountryCode.toLowerCase()+".svg",Z),r(2),O(e.selectedCountryCode)}}function ot(i,l){if(i&1&&w(0,"app-stock-screener-filters",25),i&2){let e=l.$implicit,n=c(2);m("filtersHeading",e.label)("showMore",e.showMore)("hideUnlock",e?.hideUnlock??!1)("hidePlanIcon",e?.hidePlanIcon??!1)("filterCategory",e.name)("filtersGroups",n.filterGroupsByCategory[e.name])}}function rt(i,l){if(i&1&&(s(0,"div",9),F(1,ot,1,6,"app-stock-screener-filters",25,tt),a()),i&2){let e=c();m("hidden",!e.areFiltersVisible),r(),M(e.filterCategories)}}function st(i,l){if(i&1){let e=k();s(0,"li",12)(1,"button",26),x("click",function(){let t=S(e).$implicit,o=c();return P(o.setActiveScreenerView(t))}),p(2),a()()}if(i&2){let e=l.$implicit,n=c();r(),m("ngClass",A(2,Xe,n.selectedScreenerView===e)),r(),I(" ",e," ")}}function at(i,l){i&1&&(s(0,"section",15)(1,"div",27)(2,"h2",28),p(3,"How Can Musaffa Help You Find Shariah-Compl
1iant Stocks?"),a(),s(4,"p",29),p(5," Finding Shariah-compliant stocks can be a complex and time-consuming process, especially when you need to evaluate both business activities and financial ratios in line with Islamic principles. Musaffa simplifies this journey by offering a powerful halal stock screener that automatically filters stocks based on established Shariah standards. Instead of manually reviewing company reports, investors can instantly identify compliant stocks that avoid prohibited sectors such as alcohol, gambling, and conventional finance. The platform applies strict screening methodologies, ensuring that every stock listed meets the necessary criteria for halal investing. "),a(),s(6,"p",30),p(7," Beyond basic screening, Musaffa provides a seamless experience for discovering halal stocks across global markets. With access to thousands of Shariah-compliant stocks, users can apply filters such as country, sector, and compliance status to refine their search and uncover relevant opportunities. This allows investors to build a diversified portfolio while staying aligned with their ethical and religious values. Whether you are just starting out or actively managing investments, Musaffa helps you make informed decisions faster by combining accuracy, convenience, and transparency in one place. "),a()()())}function lt(i,l){if(i&1&&w(0,"div",40),i&2){let e=c().$implicit;m("innerHTML",e.answerHtml,ae)}}function ct(i,l){if(i&1&&(s(0,"div"),p(1),a()),i&2){let e=c().$implicit;r(),O(e.answer)}}function dt(i,l){if(i&1){let e=k();s(0,"li",34)(1,"button",35),x("click",function(){let t=S(e).$index,o=c(2);return P(o.toggleFaq(t))}),s(2,"h3",36),p(3),a(),E(),s(4,"svg",37),w(5,"path",38),a()(),X(),s(6,"div",39),h(7,lt,1,1,"div",40),h(8,ct,2,1,"div"),a()()}if(i&2){let e=l.$implicit,n=l.$index,t=c(2);he("active",t.isOpen(n)),m("id","faq-"+n),r(),le("aria-expanded",t.isOpen(n))("aria-controls","faq-content-"+n),r(2),O(e.question),r(3),ge("display",t.isOpen(n)?null:"none"),m("id","faq-content-"+n),r(),f(e.answerHtml?7:-1),r(),f(e.answerHtml?-1:8)}}function pt(i,l){if(i&1&&(s(0,"section",16)(1,"h2",31),p(2,"Frequently Asked Questions"),a(),s(3,"ul",32),F(4,dt,9,11,"li",33,ce),a()()),i&2){let e=c();r(4),M(e.pageConfig.faqSchema)}}function ut(i,l){if(i&1&&(s(0,"div",41)(1,"div",42),w(2,"img",43),a(),s(3,"div",44)(4,"a",45),p(5),a()()()),i&2){let e=l.$implicit,n=c(2);r(2),m("ngSrc",e.logo)("alt",e.label),r(2),m("routerLink",G(4,Ze,n.halalCollectionCountrySlug,e.slug)),r(),I(" ",e.label," ")}}function mt(i,l){if(i&1&&(s(0,"section",17)(1,"h2",19),p(2),a(),s(3,"div",20),F(4,ut,6,7,"div",41,nt),a()()),i&2){let e=c();r(2),I(" ",e.countryCollectionLinksHeading," "),r(2),M(e.countryCollectionLinks)}}function gt(i,l){if(i&1&&(s(0,"div",46)(1,"div",47),w(2,"img",48),a(),s(3,"div",44)(4,"a",49),p(5),a()()()),i&2){let e=c().$implicit;r(2),m("src","/assets/flags/1x1/"+e.flagCode+".svg",Z)("alt",e.name+" flag"),r(2),m("routerLink","/stock-screener/"+e.code),r(),I(" ",e.label," ")}}function ht(i,l){if(i&1&&h(0,gt,6,4,"div",46),i&2){let e=l.$implicit,n=c();f(e.code!==n.selectedCountrySlug?0:-1)}}var ne=(()=>{class i{constructor(e,n,t,o,d,u,y,C,b){this.stockFilterService=e,this.filterService=n,this.route=t,this.router=o,this.cdr=d,this.authService=u,this.countryService=y,this.seoService=C,this.platformId=b,this.explorerCountries=[{code:"in",flagCode:"in",label:"Halal Stocks in India",name:"India"},{code:"us",flagCode:"us",label:"Halal Stocks in US",name:"US"},{code:"uk",flagCode:"gb",label:"Halal Stocks in UK",name:"UK"},{code:"ae",flagCode:"ae",label:"Halal Stocks in UAE",name:"UAE"},{code:"ca",flagCode:"ca",label:"Halal Stocks in Canada",name:"Canada"},{code:"fr",flagCode:"fr",label:"Halal Stocks in France",name:"France"},{code:"sa",flagCode:"sa",label:"Halal Stocks in Saudi Arabia",name:"Saudi Arabia"},{code:"au",flagCode:"au",label:"Halal Stocks in Australia",name:"Australia"},{code:"bh",flagCode:"bh",label:"Halal Stocks in Bahrain",name:"Bahrain"},{code:"bd",flagCode:"bd",label:"Halal Stocks in Bangladesh",name:"Bangladesh"},{code:"eg",flagCode:"eg",label:"Halal Stocks in Egypt",name:"Egypt"}
1,{code:"de",flagCode:"de",label:"Halal Stocks in Germany",name:"Germany"},{code:"my",flagCode:"my",label:"Halal Stocks in Malaysia",name:"Malaysia"},{code:"id",flagCode:"id",label:"Halal Stocks in Indonesia",name:"Indonesia"},{code:"nl",flagCode:"nl",label:"Halal Stocks in Netherlands",name:"Netherlands"},{code:"qa",flagCode:"qa",label:"Halal Stocks in Qatar",name:"Qatar"},{code:"sg",flagCode:"sg",label:"Halal Stocks in Singapore",name:"Singapore"},{code:"es",flagCode:"es",label:"Halal Stocks in Spain",name:"Spain"},{code:"tr",flagCode:"tr",label:"Halal Stocks in Turkey",name:"Turkey"}],this.destroyRef=V(j),this.hasProcessedRouteParams=!1,this.isSyncingCountryFromUrl=!1,this.filterCategories=this.filterService.getFilterCategories(),this.filterGroups=this.filterService.getFilterGroups(),this.filterGroupsByCategory={},this.sortColumn="usdMarketCap",this.sortOrder="desc",this.screenerViews=["Overview","Compliance","Price","Valuation","Performance","Ratios","Growth"],this.selectedScreenerView=this.screenerViews[0],this.selectedScreenerViewColumns=[],this.stocks=[],this.totalStocksCount=0,this.areFiltersVisible=!1,this.hasRenderedFilters=!1,this.page=1,this.isLoading=!1,this.selectedCountryCode="US",this.selectedCountrySlug="us",this.selectedCountryName="United States",this.dataType="stock",this.isLoggedIn=!1,this.currentRequestId=0,this.isCountryPage=!1,this.countryCollectionLinks=[],this.openFaqId=null,this.isBrowser=B(this.platformId),this.updateFilterGroupsByCategory(),this.updateSelectedScreenerViewColumns()}async ngOnInit(){this.isLoggedIn=this.authService.isLoggedIn(),this.route.paramMap.pipe(v(this.destroyRef)).subscribe(n=>{let t=n.get("countrySlug"),o=t&&T[t.toLowerCase()]?T[t.toLowerCase()]:ee;this.pageConfig=o,this.countryPageConfig=o,this.isCountryPage=!!t&&!!T[t.toLowerCase()],this.areFiltersVisible=!this.isCountryPage,this.hasRenderedFilters||=this.areFiltersVisible,this.seoService.updateTitle(o.pageTitle),this.seoService.updateDescription(o.metaDescription),this.seoService.updateCanonicalUrl(o.canonicalUrl),o.metaKeywords?this.seoService.updateKeywords(o.metaKeywords):this.seoService.updateKeywords(""),this.seoService.updateJsonLd(o.jsonLdSchema);let d=this.hasProcessedRouteParams&&this.isCountryPage;this.isCountryPage?(this.selectedCountryCode=o.countryCode,this.selectedCountrySlug=o.slug,this.selectedCountryName=o.countryName,this.filterService.skipQueryParamUpdates=!0,this.countryCollectionLinks=Oe(o.slug),this.countryService.getCountries().pipe(J(1),v(this.destroyRef)).subscribe(u=>{let y=u.find(C=>C.countryCode===o.countryCode);y&&this.countryService.setSelectedCountry(y)}),this.loadedCountryCode&&(this.loadedCountryCode!==o.countryCode||!this.wasCountryPage)&&this.loadCountryPageData(1),d&&this.scrollToTop()):(this.selectedCountrySlug=this.getCountrySlugFromCountryCode(this.selectedCountryCode),this.filterService.skipQueryParamUpdates=!1,this.countryCollectionLinks=[]),this.wasCountryPage=this.isCountryPage,this.hasProcessedRouteParams=!0});let e=this.route.snapshot.paramMap.get("countrySlug");if(e&&T[e.toLowerCase()]){this.filterService.loadAppliedFilters("stock"),this.setFilterOptions(),this.filterService.appliedFilters$.pipe(v(this.destroyRef)).subscribe(()=>{this.loadCountryPageData(1)}),this.scrollToTop();return}this.pageConfig=ee,this.route.queryParamMap.pipe(v(this.destroyRef)).subscribe(n=>{if(this.isCountryPage)return;let t=n.get("country");if(this.seoService.updateDescription(this.pageConfig.metaDescription),t){let o=t.toUpperCase();this.selectedCountryCode=o,this.selectedCountrySlug=this.getCountrySlugFromCountryCode(this.selectedCountryCode),this.lastUrlCountryCode!==o&&(this.lastUrlCountryCode=o,this.isSyncingCountryFromUrl=!0,this.countryService.getCountries().pipe(J(1),v(this.destroyRef),re(()=>{this.isSyncingCountryFromUrl=!1})).subscribe(d=>{let u=d.find(y=>y.countryCode.toUpperCase()===o);u&&(this.selectedCountryName=u.country,this.countryService.getSelectedCountry().countryCode!==u.countryCode&&this.countryService.setSelectedCountry(u))}))}else{let o=this.countryService.getSelectedCountry();this.selectedCountryCode=o.countryCode,this.selectedCountrySlug=this.getCountrySlugFromCountryCode(this.selectedCountryCode),this.selectedCountryName=o.country,B(this.platformId)&&this.router.navigate([],{relativeTo:this.route,queryParams:{country:this.selectedCountryCode},queryParamsHandling:"merge",replaceUrl:!0})}}),this.countryService.selectedCountry$.pipe(v(this.destroyRef)).subscribe(n=>
1{this.isCountryPage||this.isSyncingCountryFromUrl||this.route.snapshot.queryParamMap.get("country")?.toUpperCase()===n.countryCode.toUpperCase()||(this.selectedCountryCode=n.countryCode,this.selectedCountrySlug=this.getCountrySlugFromCountryCode(this.selectedCountryCode),this.selectedCountryName=n.country,B(this.platformId)&&this.router.navigate([],{relativeTo:this.route,queryParams:{country:this.selectedCountryCode},queryParamsHandling:"merge"}))}),this.filterService.loadAppliedFilters("stock"),this.setFilterOptions(),this.route.queryParams.pipe(v(this.destroyRef)).subscribe(n=>{if(this.isCountryPage)return;this.setFilterOptions(),this.updateSelectedScreenerViewColumns();let t=n.page??1;this.filterDataWithCurrentCountry(t)}),this.scrollToTop()}scrollToTop(){this.isBrowser&&setTimeout(()=>{window.scrollTo({top:0,left:0,behavior:"instant"})},100)}getCountrySlugFromCountryCode(e){let n=e?.toLowerCase();return Object.values(T).find(o=>o.countryCode.toLowerCase()===n)?.slug??n??""}filterDataWithCurrentCountry(e=1){let n=this.filterService.getFilterParams(this.route.snapshot.queryParams),o=(this.route.snapshot.queryParams.country??this.selectedCountryCode)?.toUpperCase();o&&this.selectedCountryCode!==o&&(this.selectedCountryCode=o),this.selectedCountrySlug=this.getCountrySlugFromCountryCode(o),n.push({field:"country",value:o}),this.loadedCountryCode=o;let d=this.route.snapshot.queryParams.sortBy??"usdMarketCap",u=this.route.snapshot.queryParams.sortOrder??"desc";(this.sortColumn!==d||this.sortOrder!==u)&&(this.sortColumn=d,this.sortOrder=u),this.filterData(n,e,!0)}openCountriesPopup(){this.stockFilterService.openCountriesPopup()}setFilterOptions(){this.filterCategories=this.filterService.getFilterCategories(),this.filterGroups=this.filterService.getFilterGroups(),this.updateFilterGroupsByCategory()}async filterData(e,n,t=!0){return await this.getData(n,15,e,this.sortColumn,this.sortOrder,t)}updateFilterGroupsByCategory(){this.filterGroupsByCategory=this.filterCategories.reduce((e,n)=>(e[n.name]=this.filterGroups.filter(t=>t.category.includes(n.name)),e),{})}toggleFiltersVisibility(){this.areFiltersVisible||(this.hasRenderedFilters=!0),this.areFiltersVisible=!this.areFiltersVisible}handleHeaderFilterClick(e){if(e==="sharia_compliance"||e==="ranking_v2"){if(!this.authService.isLoggedIn()){this.authService.openAuthPopup(null,null,"signUp","waitlist");return}let n=()=>{let t=this.filterComponents.find(o=>o.filterCategory==="musaffa_filtering");if(t){t.selectedGroupName!=="compliance"&&(t.setFilterActive("compliance"),this.cdr.detectChanges());let o=document.getElementById("filters-section");o&&o.scrollIntoView({behavior:"smooth",block:"start"})}};this.areFiltersVisible?n():(this.areFiltersVisible=!0,this.cdr.detectChanges(),setTimeout(()=>n(),100))}}ngOnDestroy(){this.isCountryPage&&(this.filterService.skipQueryParamUpdates=!1)}toggleFaq(e){this.isOpen(e)?this.openFaqId=null:this.openFaqId=e}isOpen(e){return this.openFaqId===e}loadCountryPageData(e=1){let n=this.filterService.appliedFilters$.value.filter(t=>t.value).map(t=>({field:t.name,value:t.value}));n.push({field:"country",value:this.countryPageConfig.countryCode}),this.loadedCountryCode=this.countryPageConfig.countryCode,this.filterData(n,e,!0)}get countryCollectionLinksHeading(){return`All Halal Collections in ${this.selectedCountryName}`}get halalCollectionCountrySlug(){return this.selectedCountryCode.toLowerCase()}onCountryPagePageChange(e){this.loadCountryPageData(e)}onCountryPageSortChange(e){this.sortColumn=e.column,this.sortOrder=e.sortOrder,this.loadCountryPageData(this.page)}trackByFn(e,n){return n}setActiveScreenerView(e){this.selectedScreenerView=e,this.updateSelectedScreenerViewColumns()}updateSelectedScreenerViewColumns(){this.selectedScreenerViewColumns=this.getSelectedScreenerViewColumns()}getSelectedScreenerViewColumns(){let e=this.route.snapshot.queryParams,n=Object.keys(e).filter(g=>g.startsWith("filters[")),t=this.findSelectedScreenerViewColumns(),o=new Map(t.map(g=>[g.key,g])),d=new Map([["dividendPerShareTTM","amount"],["dividendYieldTTM","amount"],["open","amount"],["inventoryTurnoverAnnual","number"],["quickRatioAnnual","number"],["currentRatioAnnual","number"],["totalDebt_totalEquityAnnual","number"],["netInterestCoverageAnnual","number"],["volume","number"],["gross_margin_annual","amount"],["close","amount"]]),u=[];n.length>0&&(u=n.map(g=>{let Y=g.match(/\[(.*?)\]/)?.[1]??"",H=be.find(Te=>Te.name===Y);
1if(!H)return null;let ie=o.get(Y),qe=ie?.type||d.get(Y)||H?.valueType;return D({header:H.label,key:H.name,type:qe},ie||{})}).filter(Boolean));let y=u.map(g=>g.key),C=[D({header:"Compliance",key:"sharia_compliance",sortable:!1,type:o.get("sharia_compliance")?.type,hasFilterIcon:!0},o.get("sharia_compliance")||{}),D({header:"Halal Rating",key:"ranking_v2",type:o.get("ranking_v2")?.type,hasFilterIcon:!0},o.get("ranking_v2")||{})],b=u.filter(g=>!["sharia_compliance","ranking_v2"].includes(g.key)),R=t.filter(g=>!y.includes(g.key)).map(g=>oe(D({},g),{type:g.type||d.get(g.key)}));return[...C,...b,...R]}findSelectedScreenerViewColumns(){switch(this.selectedScreenerView){case"Overview":return this.stockFilterService.getOverviewColumns();case"Compliance":return this.stockFilterService.getComplianceColumns();case"Price":return this.stockFilterService.getPriceColumns();case"Valuation":return this.stockFilterService.getValuationColumns();case"Performance":return this.stockFilterService.getPerformanceColumns();case"Ratios":return this.stockFilterService.getRatiosColumns();case"Growth":return this.stockFilterService.getGrowthColumns();default:return[]}}async getData(e,n,t,o,d,u=!0){let y=++this.currentRequestId;try{this.isLoading=u;let C=await this.stockFilterService.getStocksData(e,n,t,o,d);if(this.currentRequestId!==y)return;Object.keys(C?.items??{}).length>0?this.stocks=Object.values(C?.items??{}):this.stocks=[],this.totalStocksCount=C?.totalCount??0,this.page=e}catch(C){this.currentRequestId===y&&(this.stocks=[],this.totalStocksCount=0,this.page=e),console.error("Error loading stock screener data:",C)}finally{this.currentRequestId===y&&(this.isLoading=!1,this.cdr.markForCheck())}}static{this.\u0275fac=function(n){return new(n||i)(_(ve),_(K),_(N),_(Q),_(z),_(ke),_(W),_(Pe),_(se))}}static{this.\u0275cmp=L({type:i,selectors:[["app-screener"]],viewQuery:function(n,t){if(n&1&&pe(te,5),n&2){let o;ue(o=me())&&(t.filterComponents=o)}},decls:28,vars:22,consts:[[3,"complianceAfterTicker"],[1,"py-4","py-lg-5"],[1,"container","d-flex","justify-content-between","align-items-center","flex-wrap","mb-3","mb-lg-4"],[1,"d-flex","justify-content-start","align-items-center","gap-3"],[1,"main-heading","mb-0"],["type","button",1,"btn","border","d-flex","align-items-center","shadow-none","gap-1","gap-lg-2","rounded-pill","country-filter-btn"],["type","button",3,"click","ngClass"],["viewBox","0 0 512 512","xmlns","http://www.w3.org/2000/svg",1,"inline-block","chevron-svg","flex-shrink-0",3,"ngClass"],["fill","currentColor","d","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"],["id","filters-section",3,"hidden"],[1,"container"],["role","list",1,"overflowing-list","screener-views-list","mb-3","mb-lg-4","px-3","px-md-0"],[1,"flex-shrink-0"],[1,"min-width-zero"],[3,"pageChanged","sortChanged","filterIconClicked","columns","data","page","dataCount","isDataLoading","showResetButton","isSortingEnabled","sortColumn","sortOrder","type","useQueryParams"],[1,"text-section"],["id","faq",1,"faq-section"],[1,"tw-mt-8","lg:tw-mt-12","tw-w-full","tw-max-w-[62.5rem]"],[1,"tw-mt-8","lg:tw-mt-12","tw-pb-8","tw-w-full","tw-max-w-[62.5rem]"],[1,"mb-4","h2-lg","text-start","tw-tracking-tight","tw-font-medium"],[1,"tw-grid","tw-grid-cols-2","lg:tw-grid-cols-3","xl:tw-grid-cols-4","tw-gap-1.5","md:tw-gap-2.5"],["type","button",1,"btn","border","d-flex","align-items-center","shadow-none","gap-1","gap-lg-2","rounded-pill","country-filter-btn",3,"click"],["alt","","width","20px","height","20px",1,"bg-light","border","rounded-circle",3,"src"],[1,"fw-500"],["height","10px","width","10px","viewBox","0 0 512 512","xmlns","http://www.w3.org/2000/svg",1,"chevron-svg","flex-shrink-0"],[3,"filtersHeading","showMore","hideUnlock","hidePlanIcon","filterCategory","filtersGroups"],[1,"btn","rounded-0","fw-500","shadow-none","lh-base","text-capitalize",3,"click","ngClass"],[1,"text-section-inner","text-start"],[1,"mb-3","h2-lg","tw-tracking-tight","text-start"],[1,"mb-3"],[1,"mb-0"],[1,"mb-3","h2-lg","text-start","tw-tracking-tight","tw-text-lg","tw-font-medium"],["role","list",1,"faq-list","mb-0","d-grid","list-unstyled"],[1,"faq-item",3,"active","id"],[1,"faq-item",3,"id"],["type","button",1,"d-flex","w-100","border-0","bg-transparent","align-items-center","justify-content-between","gap-3","faq-header",3,"click"],[1,"mb-0","text-start","tw-text-base"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24",1,"flex-shrink-0"],["fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M18 9s-4.419 6-6 6-6-6-6-6"],[1,"faq-content","text-start","tw-text-sm",3,"id"],[3,"innerHTML"],["data-testid","country-collection-card",1,"tw-relative","tw-flex","tw-items-center","tw-gap-2","md:tw-gap-3","tw-p-2.5","md:tw-p-3","tw-bg-white","tw-rounded-xl","tw-border","t
1w-border-solid","tw-border-gray-200","hover:tw-shadow","tw-transition-all","tw-duration-200","group"],["data-testid","country-collection-icon",1,"tw-w-6","tw-h-6","lg:tw-w-8","lg:tw-h-8","tw-rounded-full","tw-overflow-hidden","tw-bg-transparent","tw-flex","tw-items-center","tw-justify-center","tw-flex-shrink-0"],["width","40","height","40","data-testid","country-collection-logo",1,"tw-w-full","tw-h-full","tw-object-cover",3,"ngSrc","alt"],[1,"tw-min-w-0","tw-flex-grow"],["data-testid","country-collection-link",1,"tw-block","tw-text-sm","tw-font-normal","!tw-text-brand-blue","tw-truncate","tw-transition-colors","tw-no-underline","after:tw-absolute","after:tw-inset-0","after:tw-content-['']",3,"routerLink"],[1,"tw-relative","tw-flex","tw-items-center","tw-gap-2","md:tw-gap-3","tw-p-2.5","md:tw-p-3","tw-bg-white","tw-rounded-xl","tw-border","tw-border-solid","tw-border-gray-200","hover:tw-shadow","tw-transition-all","tw-duration-200","group"],[1,"tw-w-6","tw-h-6","lg:tw-w-8","lg:tw-h-8","tw-rounded-full","tw-overflow-hidden","tw-bg-gray-50","tw-flex","tw-items-center","tw-justify-center","tw-flex-shrink-0","tw-border","tw-border-solid","tw-border-gray-100","group-hover:tw-border-brand-green/10","tw-transition-colors"],["width","32","height","32",1,"tw-w-full","tw-h-full","tw-object-cover",3,"src","alt"],[1,"tw-block","tw-text-sm","tw-font-normal","!tw-text-brand-blue","tw-truncate","tw-transition-colors","tw-no-underline","after:tw-absolute","after:tw-inset-0","after:tw-content-['']",3,"routerLink"]],template:function(n,t){n&1&&(w(0,"app-stock-ticker-marquee",0),s(1,"div",1)(2,"header",2)(3,"div",3)(4,"h1",4),p(5),a(),h(6,it,6,2,"button",5),a(),s(7,"button",6),x("click",function(){return t.toggleFiltersVisibility()}),s(8,"span"),p(9),a(),E(),s(10,"svg",7),w(11,"path",8),a()()(),h(12,rt,3,1,"div",9),X(),s(13,"div",10)(14,"ul",11),F(15,st,3,4,"li",12,t.trackByFn,!0),a(),s(17,"div",13)(18,"app-dynamic-table",14),x("pageChanged",function(d){return t.onCountryPagePageChange(d)})("sortChanged",function(d){return t.onCountryPageSortChange(d)})("filterIconClicked",function(d){return t.handleHeaderFilterClick(d)}),a()(),h(19,at,8,0,"section",15),h(20,pt,6,0,"section",16),h(21,mt,6,1,"section",17),s(22,"section",18)(23,"h2",19),p(24," Explore Halal Stocks by Country "),a(),s(25,"div",20),F(26,ht,1,1,null,null,et),a()()()()),n&2&&(m("complianceAfterTicker",!0),r(5),O(t.pageConfig.heading||"Halal Stock Screener"),r(),f(t.selectedCountryCode?6:-1),r(),m("ngClass",q(21,Je)),r(2),O(t.areFiltersVisible?"Hide All Filters":"Show All Filters"),r(),m("ngClass",t.areFiltersVisible?"rotate":""),r(2),f(t.hasRenderedFilters?12:-1),r(3),M(t.screenerViews),r(3),m("columns",t.selectedScreenerViewColumns)("data",t.stocks)("page",t.page)("dataCount",t.totalStocksCount)("isDataLoading",t.isLoading)("showResetButton",!0)("isSortingEnabled",!0)("sortColumn",t.sortColumn)("sortOrder",t.sortOrder)("type",t.dataType)("useQueryParams",!t.isCountryPage),r(),f(t.isCountryPage?-1:19),r(),f(t.pageConfig.faqSchema.length?20:-1),r(),f(t.isCountryPage&&t.countryCollectionLinks.length?21:-1),r(5),M(t.explorerCountries))},dependencies:[Fe,$,fe,te,xe,Ce],styles:[".overflowing-list[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.overflowing-list[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.overflowing-list[_ngcontent-%COMP%] > .tab-list-item[_ngcontent-%COMP%]{flex-shrink:0}.section_mt_4[_ngcontent-%COMP%]{margin-top:40px}.section_mb_4[_ngcontent-%COMP%]{margin-bottom:40px}.searchfield_col[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;border-radius:3px;border:1px solid #CED0D2;background:#fff;height:36px;padding:8px 16px;max-width:550px;color:#828282;font-size:14px;font-style:normal;font-weight:400;line-height:normal}.searchfield_col[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:none;border:0;padding:0;color:#949292;font-size:16px}.searchfield_col[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .searchfield_col[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:0;height:28px;width:100%;box-shadow:none;outline:none}.search_suggedtion[_ngcontent-%COMP%]{border-radius:5px;border:1px solid #E9E9E9;background:#fff;box-shadow:0 4px 10px #0000001a;padding:5px 0;position:absolute;width:100%;z-index:10;top:40px;left:0;z-index:100}.search_textfield[_ngcontent-%COMP%]{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:4px}.searchfield_col[_ngcontent-%COMP%]{position:relative}.search_suggedtion[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;list-style-type:none}.recent_search_row[_ngcontent-%COMP%], .all_filter_search_row[_ngcontent-%COMP%]{padding:12px 18px}.recent_search_row[_ngcontent-%COMP%]{padding-bottom:6px}.recent_search_row[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{overflow-y:auto;max-height:150px}.recent_search_row[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.1);border-radius:100px;background-color:#fff}.recent_search_row[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]::-webkit-scrollbar{width:3px;max-height:100px;background-color:#fff}.recent_search_row[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:100px;-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.1);background-color:#009000}.all_filter_search_row[_ngcontent-%COMP%]{border-top:1px solid #DFDFDF;padding-top:20px}.all_filter_search_row[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{overflow-y:auto;max-height:200px}.all_filter_search_row[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.1);border-radius:100px;background-color:#fff}.all_filter_search_row[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]::-webkit-scrollbar{width:3px;max-height:100px;background-color:#fff}.all_filter_search_row[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:100px;-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.1);background-color:#009000}.search_suggedtion[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:#757576;font-size:15px;font-style:normal;font-weight:400;line-height:normal}.search_suggedtion[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#0e1c36;font-size:16px;font-style:normal;font-weight:400;line-height:normal;padding:6px 0;cursor:pointer}.btn_with_edit[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.btn_tab_edit[_ngcontent-%COMP%]{display:flex;padding:5px 10px;justify-content:center;align-items:center;gap:4px;border-radius:3px;background:#e9f5e9;color:#000}.btn_with_edit[_ngcontent-%COMP%] .btn_tab_edit[_ngcontent-%COMP%]{display:none}.btn_with_edit.underlined-btn[_ngcontent-%COMP%] .btn_tab_edit[_ngcontent-%COMP%]{display:flex}.filter_click_row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.filter_click_row[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:#545859;font-size:16px;font-style:normal;font-weight:500;line-height:normal;letter-spacing:.16px;display:flex;align-items:center;gap:4px}.filter-section-h6[_ngcontent-%COMP%]{color:#545859;display:flex;align-items:center;gap:4px}button[_ngcontent-%COMP%]{font-size:.75rem}@media(min-width:992px){button[_ngcontent-%COMP%]{font-size:.875rem}}button.country-filter-btn[_ngcontent-%COMP%]{padding:.25rem 1rem .25rem .325rem}@media(min-width:992px){button.country-filter-btn[_ngcontent-%COMP%]{padding:.325rem 1rem .325rem .5rem}}button.hideshow-btn[_ngcontent-%COMP%]{color:#009000!important}button.moreless-btn[_ngcontent-%COMP%]{color:#009000}button[_ngcontent-%COMP%] .chevron-svg[_ngcontent-%COMP%]{aspect-ratio:1;width:.75rem}@media(min-width:992px){button[_ngcontent-%COMP%] .chevron-svg[_ngcontent-%COMP%]{width:.875rem}}button[_ngcontent-%COMP%] .chevron-svg.rotate[_ngcontent-%COMP%]{transform:rotate(180deg)}.font_semibold[_ngcontent-%COMP%]{font-weight:600!important}.screener-views-list[_ngcontent-%COMP%]{position:sticky;top:64px;z-index:50;background-color:#fff;border-bottom:1px solid #D1E1F1}.screener-views-list[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#000;padding:.75rem .875rem;border:0;border-bottom:2px solid transparent;font-size:.75rem}@media(min-width:992px){.screener-views-list[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:.875rem 1rem;font-size:.875rem}}.screener-views-list[_ngcontent-%COMP%] button.underlined-btn[_ngcontent-%COMP%]{color:#009000;border-color:#009000}.text-section[_ngcontent-%COMP%]{padding-block-start:2rem}@media(min-width:992px){.text-section[_ngcontent-%COMP%]{padding-block-start:3rem}}.text-section[_ngcontent-%COMP%] .text-section-inner[_ngcontent-%COMP%]{max-width:62.5rem;font-size:clamp(.875rem,.831rem + .1878vw,1rem);color:#1e1d1d}.text-section[_ngcontent-%COMP%] .text-section-inner.active[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transform:rotate(180deg)}.text-section[_ngcontent-%COMP%] .text-section-inner[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding-block:.75rem}@media(min-width:992px){.text-section[_ngcontent-%COMP%] .text-section-inner[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding-block:1rem}}.text-section[_ngcontent-%COMP%] .text-section-inner[_ngcontent-%COMP%] button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transition:transform .3s ease}.text-section[_ngcontent-%COMP%] .h2-lg[_ngcontent-%COMP%]{font-size:clamp(1.25rem,1.0739rem + .7512vw,1.75rem);transition:color .3s ease}.text-section[_ngcontent-%COMP%] .h2-md[_ngcontent-%COMP%]{font-size:clamp(1rem,.912rem + .3756vw,1.25rem)}.text-section[_ngcontent-%COMP%] .stock-info-collapsed-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#0db47d;font-size:clamp(.75rem,.706rem + .1878vw,.875rem);text-underline-position:2px}.h2-lg[_ngcontent-%COMP%]{font-size:clamp(1.25rem,1.0739rem + .7512vw,1.75rem);transition:color .3s ease}.faq-section[_ngcontent-%COMP%]{padding-block-start:3rem}@media(min-width:992px){.faq-section[_ngcontent-%COMP%]{padding-block-start:4rem}}.faq-section[_ngcontent-%COMP%] .faq-h2[_ngcontent-%COMP%]{font-size:clamp(1.375rem,1.1549rem + .939vw,2rem);margin-bottom:1rem}@media(min-width:992px){.faq-section[_ngcontent-%COMP%] .faq-h2[_ngcontent-%COMP%]{margin-bottom:1.5rem}}.faq-section[_ngcontent-%COMP%] .faq-list[_ngcontent-%COMP%]{width:100%;max-width:62.5rem}.faq-section[_ngcontent-%COMP%] .faq-item[_ngcontent-%COMP%]{background-color:#fff}.faq-section[_ngcontent-%COMP%] .faq-item[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid rgb(224,224,224)}.faq-section[_ngcontent-%COMP%] .faq-item.active[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#0db47d}.faq-section[_ngcontent-%COMP%] .faq-item.active[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{color:#0db47d;transform:rotate(180deg)}.faq-section[_ngcontent-%COMP%] .faq-item[_ngcontent-%COMP%] .faq-header[_ngcontent-%COMP%]{padding-block:.875rem}@media(min-width:992px){.faq-section[_ngcontent-%COMP%] .faq-item[_ngcontent-%COMP%] .faq-header[_ngcontent-%COMP%]{padding-block:1rem}}.faq-section[_ngcontent-%COMP%] .faq-item[_ngcontent-%COMP%] .faq-header[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transition:transform .3s ease}.faq-section[_ngcontent-%COMP%] .faq-item[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#040e26}.faq-section[_ngcontent-%COMP%] .faq-item[_ngcontent-%COMP%] .faq-content[_ngcontent-%COMP%]{color:#2a3e5a;padding-block:0 1rem}@media(min-width:992px){.faq-section[_ngcontent-%COMP%] .faq-item[_ngcontent-%COMP%] .faq-content[_ngcontent-%COMP%]{padding-block:0 1.25rem}}.faq-section[_ngcontent-%COMP%] .faq-item[_ngcontent-%COMP%] .faq-content[_ngcontent-%COMP%] a{color:#0db47d;text-decoration:underline;text-underline-offset:2px}"]})}}return i})();var ft=(i,l)=>{let e=l[0]?.path.toLowerCase();return e&&T[e]?!0:V(Q).createUrlTree(["/stock-screener"])},en=[{path:"",component:ne},{path:":countrySlug",component:ne,canMatch:[ft],data:{isCountryPage:!0}}];export{en as STOCK_SCREENER_ROUTES,ft as validCountryScreenerRoute};
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.