

(function(globals) {

  var django = globals.django || (globals.django = {});

  
  django.pluralidx = function(n) {
    var v=(n != 1);
    if (typeof(v) == 'boolean') {
      return v ? 1 : 0;
    } else {
      return v;
    }
  };
  

  /* gettext library */

  django.catalog = django.catalog || {};
  
  var newcatalog = {
    "Add to cart": "Add to cart",
    "Address": "Address",
    "All": "All",
    "Audio captcha: please listen and type the letters you hear": "Audio captcha: please listen and type the letters you hear",
    "Back to top": "Back to top",
    "Bill to": "Bill to",
    "Buffered": "Buffered",
    "Cancel": "Cancel",
    "Captions": "Captions",
    "Card type": "Card type",
    "City": "City",
    "Close": "Close",
    "Confirm order": "Confirm order",
    "Continue": "Continue",
    "Copied!": "Copied!",
    "Country": "Country",
    "Credit card": "Credit card",
    "Credit card details": "Credit card details",
    "Credit card number": "Credit card number",
    "Current time": "Current time",
    "Disable captions": "Disable captions",
    "Disabled": "Disabled",
    "Discount": "Discount",
    "Download audio captcha": "Download audio captcha",
    "Duration": "Duration",
    "Email address": "Email address",
    "Enable captions": "Enable captions",
    "Enabled": "Enabled",
    "End": "End",
    "Enter fullscreen": "Enter fullscreen",
    "Enter the letters and numbers you see in the image": "Enter the letters and numbers you see in the image",
    "Error processing order": "Error processing order",
    "Execute search\u0004Go": "Go",
    "Exit fullscreen": "Exit fullscreen",
    "Expiry date": "Expiry date",
    "First name": "First name",
    "Forward {seektime}s": "Forward {seektime}s",
    "Full name of organization is required. Incomplete information will result in order delay.": "Full name of organization is required. Incomplete information will result in order delay.",
    "Go back to previous menu": "Go back to previous menu",
    "I signify that I have read and agree to the": "I signify that I have read and agree to the",
    "If this message persists, please call us at 1-800 532-9135 and we will be happy to assist in you placing an order.": "If this message persists, please call us at 1-800 532-9135 and we will be happy to assist in you placing an order.",
    "Incorrect? Go to billing information": "Incorrect? Go to billing information",
    "Incorrect? Go to shipping information": "Incorrect? Go to shipping information",
    "Invoice my organization": "Invoice my organization",
    "Is this address a school?": "Is this address a school?",
    "Is this address a school? No\u0004No": "No",
    "Is this address a school? Yes\u0004Yes": "Yes",
    "Last name": "Last name",
    "Loading\u2026": "Loading\u2026",
    "Loop": "Loop",
    "Mute": "Mute",
    "My sector is (please complete so we can tailor the messages we send):": "My sector is (please complete so we can tailor the messages we send):",
    "Navigate to next checkout tab\u0004Next": "Next",
    "Navigate to previous checkout tab\u0004Previous": "Previous",
    "No, I do not agree": "No, I do not agree",
    "No, I would like to enter separate billing information": "No, I would like to enter separate billing information",
    "No. I am not interested in signing-up at this time.": "No. I am not interested in signing-up at this time.",
    "Normal": "Normal",
    "Note that this invoice is an estimate only. The costs for materials and shipping may be adjusted on your official invoice to be received following the shipment of your order.": "Note that this invoice is an estimate only. The costs for materials and shipping may be adjusted on your official invoice to be received following the shipment of your order.",
    "Order successfully placed": "Order successfully placed",
    "Out of Stock": "Out of Stock",
    "PO number": "PO number",
    "Pause": "Pause",
    "Phone number": "Phone number",
    "Play": "Play",
    "Played": "Played",
    "Player for {title}": "Player for {title}",
    "Please call us at 1-800 532-9135 and we will be happy to assist in you placing an order.": "Please call us at 1-800 532-9135 and we will be happy to assist in you placing an order.",
    "Please check for errors in your": "Please check for errors in your",
    "Please enter a valid credit card number using only numbers and spaces": "Please enter a valid credit card number using only numbers and spaces",
    "Please enter a valid email address": "Please enter a valid email address",
    "Please enter a valid postal code in A0A 0A0 format": "Please enter a valid postal code in A0A 0A0 format",
    "Please enter at least 5 characters": "Please enter at least 5 characters",
    "Please select at least one": "Please select at least one",
    "Please wait while your order is processed": "Please wait while your order is processed",
    "Postal code": "Postal code",
    "Price": "Price",
    "Product Name": "Product Name",
    "Product Total": "Product Total",
    "Product added to cart": "Product added to cart",
    "Province/Territory": "Province/Territory",
    "Purchase order": "Purchase order",
    "Purchase order details": "Purchase order details",
    "Quality": "Quality",
    "Quantity": "Quantity",
    "Reset": "Reset",
    "Restart": "Restart",
    "Rewind {seektime}s": "Rewind {seektime}s",
    "School/Organization": "School/Organization",
    "Search assistive label\u0004Search": "Search",
    "Search materials": "Search materials",
    "Seek": "Seek",
    "Set postal code": "Set postal code",
    "Settings": "Settings",
    "Ship to": "Ship to",
    "Ship to postal code:": "Ship to postal code:",
    "Shipping Total": "Shipping Total",
    "Sorry, an error occurred processing your request.": "Sorry, an error occurred processing your request.",
    "Special instructions": "Special instructions",
    "Speed": "Speed",
    "Start": "Start",
    "Submit": "Submit",
    "Subtotal": "Subtotal",
    "Tax": "Tax",
    "Terms and Conditions": "Terms and Conditions",
    "There was an error processing this order.": "There was an error processing this order.",
    "There was an error processing this order. Please double check you have entered your payment information correctly.": "There was an error processing this order. Please double check you have entered your payment information correctly.",
    "This field is required": "This field is required",
    "Total": "Total",
    "Total (before tax)": "Total (before tax)",
    "Unmute": "Unmute",
    "Volume": "Volume",
    "Yes! I would like to receive emails about special promotions and sales, new or updated resources, and engagement opportunities for select sectors (e.g., education, parents, etc.) from the Canadian Centre for Child Protection.": "Yes! I would like to receive emails about special promotions and sales, new or updated resources, and engagement opportunities for select sectors (e.g., education, parents, etc.) from the Canadian Centre for Child Protection.",
    "Yes, I agree": "Yes, I agree",
    "Yes, I would like to use my shipping information for billing purposes": "Yes, I would like to use my shipping information for billing purposes",
    "You are now leaving the Canadian Centre for Child Protection website to go to CanadaHelps.org, a third-party website that processes donations for Canadian charities. The terms of service and privacy policy posted on CanadaHelps.org will apply in respect to any information you provide.": "You are now leaving the Canadian Centre for Child Protection website to go to CanadaHelps.org, a third-party website that processes donations for Canadian charities. The terms of service and privacy policy posted on CanadaHelps.org will apply in respect to any information you provide.",
    "You can download a copy of your invoice here\u0004You can": "You can",
    "You can download a copy of your invoice here\u0004download a copy of your invoice here": "download a copy of your invoice here",
    "You must agree to our Terms and Conditions to continue with your order.": "You must agree to our Terms and Conditions to continue with your order.",
    "You must verify your address": "You must verify your address",
    "Your cart is currently empty": "Your cart is currently empty",
    "Your order has been processed successfully. Your reference number is: ": "Your order has been processed successfully. Your reference number is: ",
    "agreement to our Terms and Conditions": "agreement to our Terms and Conditions",
    "billing information": "billing information",
    "payment information": "payment information",
    "shipping information": "shipping information",
    "signup information": "signup information",
    "{currentTime} of {duration}": "{currentTime} of {duration}"
  };
  for (var key in newcatalog) {
    django.catalog[key] = newcatalog[key];
  }
  

  if (!django.jsi18n_initialized) {
    django.gettext = function(msgid) {
      var value = django.catalog[msgid];
      if (typeof(value) == 'undefined') {
        return msgid;
      } else {
        return (typeof(value) == 'string') ? value : value[0];
      }
    };

    django.ngettext = function(singular, plural, count) {
      var value = django.catalog[singular];
      if (typeof(value) == 'undefined') {
        return (count == 1) ? singular : plural;
      } else {
        return value[django.pluralidx(count)];
      }
    };

    django.gettext_noop = function(msgid) { return msgid; };

    django.pgettext = function(context, msgid) {
      var value = django.gettext(context + '\x04' + msgid);
      if (value.indexOf('\x04') != -1) {
        value = msgid;
      }
      return value;
    };

    django.npgettext = function(context, singular, plural, count) {
      var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
      if (value.indexOf('\x04') != -1) {
        value = django.ngettext(singular, plural, count);
      }
      return value;
    };

    django.interpolate = function(fmt, obj, named) {
      if (named) {
        return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
      } else {
        return fmt.replace(/%s/g, function(match){return String(obj.shift())});
      }
    };


    /* formatting library */

    django.formats = {
    "DATETIME_FORMAT": "N j, Y, P",
    "DATETIME_INPUT_FORMATS": [
      "%Y-%m-%d %H:%M:%S",
      "%Y-%m-%d %H:%M:%S.%f",
      "%Y-%m-%d %H:%M",
      "%Y-%m-%d",
      "%m/%d/%Y %H:%M:%S",
      "%m/%d/%Y %H:%M:%S.%f",
      "%m/%d/%Y %H:%M",
      "%m/%d/%Y",
      "%m/%d/%y %H:%M:%S",
      "%m/%d/%y %H:%M:%S.%f",
      "%m/%d/%y %H:%M",
      "%m/%d/%y"
    ],
    "DATE_FORMAT": "N j, Y",
    "DATE_INPUT_FORMATS": [
      "%Y-%m-%d",
      "%m/%d/%Y",
      "%m/%d/%y"
    ],
    "DECIMAL_SEPARATOR": ".",
    "FIRST_DAY_OF_WEEK": 0,
    "MONTH_DAY_FORMAT": "F j",
    "NUMBER_GROUPING": 3,
    "SHORT_DATETIME_FORMAT": "m/d/Y P",
    "SHORT_DATE_FORMAT": "m/d/Y",
    "THOUSAND_SEPARATOR": ",",
    "TIME_FORMAT": "P",
    "TIME_INPUT_FORMATS": [
      "%H:%M:%S",
      "%H:%M:%S.%f",
      "%H:%M"
    ],
    "YEAR_MONTH_FORMAT": "F Y"
  };

    django.get_format = function(format_type) {
      var value = django.formats[format_type];
      if (typeof(value) == 'undefined') {
        return format_type;
      } else {
        return value;
      }
    };

    /* add to global namespace */
    globals.pluralidx = django.pluralidx;
    globals.gettext = django.gettext;
    globals.ngettext = django.ngettext;
    globals.gettext_noop = django.gettext_noop;
    globals.pgettext = django.pgettext;
    globals.npgettext = django.npgettext;
    globals.interpolate = django.interpolate;
    globals.get_format = django.get_format;

    django.jsi18n_initialized = true;
  }

}(this));

