PageSourceSearch

https://www.grantforward.com/jsi18n

js grantforward.com collected 2026-10-02 04:28:54 UTC 6,819 bytes, 164 lines download raw bytes

1
2
3'use strict';
4{
5  const globals = this;
6  const django = globals.django || (globals.django = {});
7
8  
9  django.pluralidx = function(n) {
10    const v = (n != 1);
11    if (typeof v === 'boolean') {
12      return v ? 1 : 0;
13    } else {
14      return v;
15    }
16  };
17  
18
19  /* gettext library */
20
21  django.catalog = django.catalog || {};
22  
23  const newcatalog = {
24    "about_database_image": "/public/img/home/sponsor-list.png",
25    "about_database_message": "GrantForward uses specialized data-crawling technology to constantly update our extensive database of sponsors and funding opportunities, allowing thousands of grant opportunities to be gathered from over 30,000 Sponsors. Every grant opportunity is thoroughly analyzed and then verified by our team of specialists to ensure accuracy.",
26    "about_message_customer_say": "What Our Customers Say",
27    "about_message_customer_say_header": "What Our <br> Customers Say",
28    "about_message_customer_say_redirect": "customer-testimonials",
29    "about_message_customer_say_subheader": "GrantForward makes it easy for anyone to start moving their research forward",
30    "about_page_html": "<ul class='promo-item'>\n    <li class='clearfix'>\n        <span class='icon icon-accurate'></span>\n        <div class='promo-item-content'>\n            GrantForward\u2019s specialized search algorithm and team of specialists allows us to constantly update new and accurate funding opportunities.\n        </div>\n    </li>\n    <li class='clearfix'>\n        <span class='icon icon-filters'></span>\n        <div class='promo-item-content'>\n            GrantForward\u2019s advanced search capabilities and personalized grant recommendations make it quick and easy to find the perfect grant opportunities to start moving your research forward.\n        </div>\n    </li>\n    <li class='clearfix'>\n        <span class='icon icon-incorporate'></span>\n        <div class='promo-item-content'>\n            GrantForward\u2019s intuitive dissemination tools help administrators save time and efficiently communicate important funding opportunities across their institution.\n        </div>\n    </li>\n</ul>",
31    "about_recomendataion_1": "GrantForward allows you to do more than just search for grants. With a researcher profile, you can easily find collaborators who have the same interests to start your project.",
32    "about_recomendataion_2": "GrantForward uses your research interests, publications, and other profile information to recommend the best-fitting grant opportunities to you. With GrantForward's recommendation service, you can save tremendous time to keep your grant awareness and understand the funding trend in your field.",
33    "about_search_engine_message": "GrantForward seamlessly combines ease-of-use with powerful search features to enable you to easily narrow down thousands of options to the opportunities that provide an exact fit for your research. Our search algorithm and adaptive search filters prevent you from wasting time sifting through grants that aren\u2019t relevant to your research, while our powerful search features help you stay up to date and keep track of new funding opportunities that match your interests.",
34    "date_format_place_holder": "MM/DD/YYYY",
35    "python_date_formatter": "%m/%d/%Y",
36    "query_tag_sponsored": "Sponsored",
37    "sponsor_countries": "Sponsor's Countries",
38    "sponsor_country": "Sponsor's Country",
39    "sponsor_item_title": "Sponsor",
40    "sponsor_item_title_lowercase": "sponsor",
41    "sponsor_subsponsors": "Sub-Sponsors",
42    "sponsor_type": "Federal",
43    "sponsors_title": "Sponsors",
44    "sponsors_title_lowercase": "sponsors"
45  };
46  for (const key in newcatalog) {
47    django.catalog[key] = newcatalog[key];
48  }
49  
50
51  if (!django.jsi18n_initialized) {
52    django.gettext = function(msgid) {
53      const value = django.catalog[msgid];
54      if (typeof value === 'undefined') {
55        return msgid;
56      } else {
57        return (typeof value === 'string') ? value : value[0];
58      }
59    };
60
61    django.ngettext = function(singular, plural, count) {
62      const value = django.catalog[singular];
63      if (typeof value === 'undefined') {
64        return (count == 1) ? singular : plural;
65      } else {
66        return value.constructor === Array ? value[django.pluralidx(count)] : value;
67      }
68    };
69
70    django.gettext_noop = function(msgid) { return msgid; };
71
72    django.pgettext = function(context, msgid) {
73      let value = django.gettext(context + '\x04' + msgid);
74      if (value.includes('\x04')) {
75        value = msgid;
76      }
77      return value;
78    };
79
80    django.npgettext = function(context, singular, plural, count) {
81      let value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
82      if (value.includes('\x04')) {
83        value = django.ngettext(singular, plural, count);
84      }
85      return value;
86    };
87
88    django.interpolate = function(fmt, obj, named) {
89      if (named) {
90        return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
91      } else {
92        return fmt.replace(/%s/g, function(match){return String(obj.shift())});
93      }
94    };
95
96
97    /* formatting library */
98
99    django.formats = {
100    "DATETIME_FORMAT": "N j, Y, P",
101    "DATETIME_INPUT_FORMATS": [
102      "%Y-%m-%d %H:%M:%S",
103      "%Y-%m-%d %H:%M:%S.%f",
104      "%Y-%m-%d %H:%M",
105      "%m/%d/%Y %H:%M:%S",
106      "%m/%d/%Y %H:%M:%S.%f",
107      "%m/%d/%Y %H:%M",
108      "%m/%d/%y %H:%M:%S",
109      "%m/%d/%y %H:%M:%S.%f",
110      "%m/%d/%y %H:%M"
111    ],
112    "DATE_FORMAT": "N j, Y",
113    "DATE_INPUT_FORMATS": [
114      "%Y-%m-%d",
115      "%m/%d/%Y",
116      "%m/%d/%y",
117      "%b %d %Y",
118      "%b %d, %Y",
119      "%d %b %Y",
120      "%d %b, %Y",
121      "%B %d %Y",
122      "%B %d, %Y",
123      "%d %B %Y",
124      "%d %B, %Y"
125    ],
126    "DECIMAL_SEPARATOR": ".",
127    "FIRST_DAY_OF_WEEK": 0,
128    "MONTH_DAY_FORMAT": "F j",
129    "NUMBER_GROUPING": 0,
130    "SHORT_DATETIME_FORMAT": "m/d/Y P",
131    "SHORT_DATE_FORMAT": "m/d/Y",
132    "THOUSAND_SEPARATOR": ",",
133    "TIME_FORMAT": "P",
134    "TIME_INPUT_FORMATS": [
135      "%H:%M:%S",
136      "%H:%M:%S.%f",
137      "%H:%M"
138    ],
139    "YEAR_MONTH_FORMAT": "F Y"
140  };
141
142    django.get_format = function(format_type) {
143      const value = django.formats[format_type];
144      if (typeof value === 'undefined') {
145        return format_type;
146      } else {
147        return value;
148      }
149    };
150
151    /* add to global namespace */
152    globals.pluralidx = django.pluralidx;
153    globals.gettext = django.gettext;
154    globals.ngettext = django.ngettext;
155    globals.gettext_noop = django.gettext_noop;
156    globals.pgettext = django.pgettext;
157    globals.npgettext = django.npgettext;
158    globals.interpolate = django.interpolate;
159    globals.get_format = django.get_format;
160
161    django.jsi18n_initialized = true;
162  }
163};
164

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.