## mako <%page expression_filter="h"/> <%namespace name='static' file='../static_content.html'/> <%! from openedx.core.djangolib.js_utils import ( dump_js_escaped_json, js_escaped_string ) %> % if mobile_only:
% else:
% endif <%block name="js_extra"> <%static:webpack entry="ProgramListFactory"> ProgramListFactory({ marketingUrl: '${marketing_url | n, js_escaped_string}', programsData: ${programs | n, dump_js_escaped_json}, userProgress: ${progress | n, dump_js_escaped_json}, userPreferences: ${user_preferences | n, dump_js_escaped_json}, mobileOnly: ${mobile_only | n, dump_js_escaped_json} });